@zeniai/web-cockpit-ui 1.15.39-qa → 1.15.40-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 (332) hide show
  1. package/dist/assets/ACHDetailsPage-DpLTXUS2-D0c1tGuw.js +21 -0
  2. package/dist/assets/{AIPerformancePage-DlTdGosv-BAgeiPmO.js → AIPerformancePage-ByRPO3mW-3EbdmQ_-.js} +104 -104
  3. package/dist/assets/AccountInfoPage-BfVVOaTL-D3vk9TdW.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BS2TBUSE-vsGLXorb.js → AccountInfoPageContent-BAzd-LkX-BjwkJSBP.js} +15 -15
  5. package/dist/assets/AccountLockedInfoModal-BI8dkiAz-CEREcr8f.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-kQJld6_N-CLh6hMw4.js → AccountReconDetailsDrawerPage-Cu_UrL9J-Bn-PtQx2.js} +18 -18
  7. package/dist/assets/AccountRow-nSloLUTN-C7-a59B1.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-DBQnDPXQ-BQ85fNBD.js → AccountsPromoCardStack-Z8O9Tv5P-BHHWsVbt.js} +32 -32
  9. package/dist/assets/AddAddressForCardDrawer-GDXK5rJA-DyijyVI8.js +6 -0
  10. package/dist/assets/{AddToWalletPage-C4EwdLZJ-B_zG1g-k.js → AddToWalletPage-CKOnAq6_-CqcvkHGd.js} +22 -22
  11. package/dist/assets/{AgingReportsPage-vAvkUfOS-DI-FeGoC.js → AgingReportsPage-CUcu_cHV-Do94-_mv.js} +5 -5
  12. package/dist/assets/{AllUserItems-qrYg6Gdx-UTjuVZZB.js → AllUserItems-BbhDuv3Y-CPWfHpie.js} +10 -10
  13. package/dist/assets/ApAgingDetailPage-DLvP7G6Q-DhXBARgG.js +46 -0
  14. package/dist/assets/{AppBasePage-DrE-W6d7-uRp1s1KV.js → AppBasePage-Cc3o50Ar-BZVIdQ2o.js} +12 -12
  15. package/dist/assets/{AppDrawerContent-ATbZG_cu-B6DLMEZB.js → AppDrawerContent-moxx3tLo-DWEBLXQy.js} +5 -5
  16. package/dist/assets/ApprovalRulesSettingsPage-BiL2dANi-BvGx2tm4.js +47 -0
  17. package/dist/assets/{ArAgingChart-CuzG9AZY-8eWrWtAO.js → ArAgingChart-DuwEWasX-B7DcyKyM.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-DwRkcLEu-1obcA6lF.js → ArAgingDetailPage-DGETibBB-BtDKR53R.js} +6 -6
  19. package/dist/assets/{AttachmentView-BrQRChzc-ZayiRyZC.js → AttachmentView-Q7kiwPOS-BNETSDSC.js} +5 -5
  20. package/dist/assets/{BankAccountSection-hcKEMs80-wZlh5GSi.js → BankAccountSection-Ct31GOKt-CADjKttV.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-CpxVDMSZ-CPKRaP1s.js → BankAccountWarningSection-ko9DqAKK-BfybEzCK.js} +10 -10
  22. package/dist/assets/{BankConnectionsSettingsPage-Bdw1K00m-DENiRulM.js → BankConnectionsSettingsPage-Ds9FSEMV-B2mXxuP2.js} +14 -14
  23. package/dist/assets/{BillDetailPage-D0NLFZXA-idtsM4af.js → BillDetailPage-DKDNgnqK-2cg0C7-c.js} +13 -13
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DkpCvYvo-BAPQ2OnN.js → BillPayApprovalRuleDetailPage-DUprxSDP-B3qYmqgn.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-BEqZD0GU-s1-j5O2T.js → BillPayApprovalRulesPage-DuRefUEE-B2lK8SV2.js} +12 -12
  26. package/dist/assets/BillPayPromoPage-CszEgRZk-BTqdbqxQ.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-WdEdbf16-BhfuePfW.js → BillPaySetUpPage-UfS3JsLW-Zxv-DayC.js} +2 -2
  28. package/dist/assets/BillingSettingsPage-9uV4vEJB-CnXv1V73.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DAUoo9pq-BX-KKXKs.js → BillsBulkReviewDrawerPage-DKGmWv9w-CuPH1foN.js} +1 -1
  30. package/dist/assets/{BoxItem-CACRFWG2-Ren223Wk.js → BoxItem-Qhw9iPt9-CzMCE4d7.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-9gZbBDL6-CkTxaZm4.js → BusinessVerificationPage-CVZrCy-t-DHZcdzsr.js} +9 -9
  32. package/dist/assets/{CardNumberSubText-C-oVdziK-DKs-Skfh.js → CardNumberSubText-r5Tf-P5n-CPkrSmch.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-BhFKSl4p-B-Ntsd90.js → CashbackDetailPage-Bo_ZMMG7-O_F3xD1y.js} +20 -20
  34. package/dist/assets/{ChargeCardDetailPage-D8J6HINu-BdjOzswd.js → ChargeCardDetailPage-BlQdk9jC-CEJAXstZ.js} +39 -39
  35. package/dist/assets/{ChargeCardListPage-tdUKyHdz-DiHyKK7l.js → ChargeCardListPage-CsFYpoaM-guNcti1f.js} +30 -30
  36. package/dist/assets/{ChargeCardListTable-CByk3iqX-De61_zRL.js → ChargeCardListTable-D8exMgXq-BTYKr9bX.js} +39 -39
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-B8zRcrjo-CN9h02wy.js → ChargeCardPaymentHistoryPage-DBc981J5-C_KsK_Zd.js} +39 -39
  38. package/dist/assets/ChargeCardPromoPage-Dk1xNNTk-Cya5z3jm.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-DtwiTNKA-DgpLxIiq.js → ChargeCardSetupPage-Bco5-BZh-DmUwzBF1.js} +4 -4
  40. package/dist/assets/{ChargeCardStatementsPage-B0KPw52e-Do0awbvY.js → ChargeCardStatementsPage-uEDAQkC5-Ca3X6gkv.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-DKNAXI77-DL5qh7cC.js → CheckDepositDrawerPage-CNRKyz3v-gmMux-Qd.js} +15 -15
  42. package/dist/assets/{CollapsableReportTable-Cq8bhaYC-CZx2j0pM.js → CollapsableReportTable-CoDaSHJN-BeRkup1e.js} +272 -272
  43. package/dist/assets/{CompanyOfficerDetailsSection-Rk0B5cB5-BxDFACQl.js → CompanyOfficerDetailsSection-DzleqDta-BzbJLAhM.js} +28 -28
  44. package/dist/assets/{CompanyPassportCard-CHaKk74P-BrRUuhAj.js → CompanyPassportCard-CG5saSQ3-DNwsmEMg.js} +5 -5
  45. package/dist/assets/{CompanyPassportPage-DXWXFFKM-YRrsW7zl.js → CompanyPassportPage-ZCNGHjZ9-KZyi_Mzu.js} +21 -21
  46. package/dist/assets/{CompleteProfile-ChaWsK6t-DR5LLsbx.js → CompleteProfile-BqPvCgUX-A6-sj2cx.js} +1 -1
  47. package/dist/assets/ConfettiBurst-B2xVyUMV-0H5gfw7o.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DS_SX5Rc.js → ConstrainedInnerElement-BeIpAPjB-BthMTEWM.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-C_8Jqubo-CW-u-9AN.js → CreateOrEditVendorPage-CfFzrga_-BPUVECKH.js} +17 -17
  50. package/dist/assets/{CreditCardPaymentDrawerPage-lOjOtk28-rxUCJ2nm.js → CreditCardPaymentDrawerPage-Cjnbhvmv-eb3LqJz4.js} +11 -11
  51. package/dist/assets/CurrencySelectField-DDmu3bja-D1d_Ut_Z.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-DO6NCakm-BjlfLwhf.js → CustomerOnboardingActivationPage-hnf-eIo--C4K5Zxpz.js} +29 -29
  53. package/dist/assets/CustomerOnboardingContainerPage-7zQwgryW-C6hmKSZu.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DxQXlI51.js → CustomerOnboardingDetailPageSkeleton-DUBpQ8ln-C4F_bhLR.js} +9 -9
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CbG5WshV-B7jFIamI.js → CustomerOnboardingNoStepsPage-CA0h5UTQ-BjW3LXd6.js} +6 -6
  56. package/dist/assets/{CustomerOnboardingPage-DyVyf8oK-CjCxpyH5.js → CustomerOnboardingPage-rvO0Stsl-D7f95vft.js} +7 -7
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-1F3JfCRp-DVc7TctC.js → CustomerOnboardingProductSuitePage-BIgNTp2U-BwO9ehCm.js} +10 -10
  58. package/dist/assets/{Dashboard-Csggwob0-BO3QbyVw.js → Dashboard-BFesVYJk-BNAlL83k.js} +33 -33
  59. package/dist/assets/{DashboardReportPage-DFIdi_I0-D7EM2nxK.js → DashboardReportPage-CdNJfWUo-DOYF0wYK.js} +23 -23
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-CJDhi61--XjtCq4Xk.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-CZ7v1T4S-BwbeKyPH.js → DepositAccTransactionItem-DJ_V8Mx7-CDK8mXzb.js} +5 -5
  62. package/dist/assets/{DepositAccTransactionListPage-FldPGX6K-DAmQEIBE.js → DepositAccTransactionListPage-DBsJOm1m-nTfqP2ee.js} +5 -5
  63. package/dist/assets/{DomesticWireDetailsPage-C--eZ-UG-1dw1FF3E.js → DomesticWireDetailsPage-B1_C38p0-CovZ6vni.js} +2 -2
  64. package/dist/assets/{DownloadOverlay-4f9deyJS-DZFtNi4N.js → DownloadOverlay-DYUlDQr8-qBFIPpKK.js} +26 -26
  65. package/dist/assets/{DrawerPage-roO3xvRT-6os6qo37.js → DrawerPage-jU38Lq6Q-AHgBQfC_.js} +13 -13
  66. package/dist/assets/EditPeoplePage-Dw9mMyyp-DPDs2n-w.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-CIUcImns-BDU5lh2j.js → EditReimbursementDetailPage-PRaUQsZj-DqTgKZsB.js} +82 -82
  68. package/dist/assets/EntityDetailPage-C2Ix5fwl-gSVT_FTR.js +18 -0
  69. package/dist/assets/{EntitySummarySection-fBL4TZpT-TkV0Oz1a.js → EntitySummarySection-BzzwWXw2-D_F7Rlzp.js} +14 -14
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CnhNINCc-Dr9hWqJP.js → ExpenseAutomationOverviewPage-CMzFQB6V-DM_yh2Rl.js} +47 -47
  71. package/dist/assets/ExpenseAutomationPage-BOOA30kB-BufH1Btg.js +3001 -0
  72. package/dist/assets/{ExpressPayPage-c8oTCnBR-CwUvXlgh.js → ExpressPayPage-B8_m64s9-wdqPmdTX.js} +17 -17
  73. package/dist/assets/{FeaturePreviewPage-DkiAajs2-C3ytwSVb.js → FeaturePreviewPage-BLWGNRVo-C92AU0mn.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-GaWu1kt9-lgNwy5h-.js → FollowStepsSection-CBVDfZ38-nmHmpAVz.js} +57 -57
  75. package/dist/assets/GlobalReviewListPage-DlBZ4OnM-xT4_H-8W.js +291 -0
  76. package/dist/assets/{InformationCardStack-dMFbHUWM-CKh2M5k7.js → InformationCardStack-D8hkkUkN-B1MHqZTM.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-BlXkyuyz-DMBEm68j.js → InsightsCardStack-T3ZL19C0-BBaRu6Cu.js} +9 -9
  78. package/dist/assets/InsightsSection-CVioRrr2-CEMLw-o0.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-D-hfghuq-CY_OuXB5.js → IntegrationsSettingsPage-DKqNc7bF-BOmO6Qyo.js} +6 -6
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DxdKE300-Bp-YhTPe.js → InternationalWireSwiftDetailsPage-qzmJ8_r9-C6omI1qL.js} +19 -19
  81. package/dist/assets/InternationalWireVerificationPage-8XEibbVK-cjj-JWJ4.js +65 -0
  82. package/dist/assets/{InviteFormPage-BCdalqtP-DEmhTBcW.js → InviteFormPage-Dw-l-O7n-B74WmVBo.js} +16 -16
  83. package/dist/assets/{InvitePageListView-B88FW48q-CJJQfk5m.js → InvitePageListView-CGjk-eOP-ClDlh7fM.js} +48 -48
  84. package/dist/assets/InvitePeoplePage-DSg5Quam-VrkZhbUi.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-D_uWzQW4-Bxkjza2M.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-B6wmvbEr-B2zhxp3c.js → IssueChargeCardPage-BASDviuN-Der3X_t9.js} +34 -34
  87. package/dist/assets/{LabeledAddressValue-CQrDCgNs-CqrzxeUV.js → LabeledAddressValue-IPGwjeYh-CkaMLxji.js} +2 -2
  88. package/dist/assets/{LabeledAddressValueField-BoHS44YO-C0d1SGUs.js → LabeledAddressValueField-DYjUauc7-DIfkXNuQ.js} +4 -4
  89. package/dist/assets/LabeledControlledCheckBoxField-DVf8zpcv-CnTD9x1u.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-D1fVDYR_-DwXn17zh.js → LabeledCountryMultiSelectField-CekqwoGI-FfKjwgoC.js} +3 -3
  91. package/dist/assets/{LabeledCreatableSingleSelectField-Bhka-Faj-Bf_H2WLZ.js → LabeledCreatableSingleSelectField-By3V1BNi-3t8vaX2e.js} +8 -8
  92. package/dist/assets/LabeledDocumentField-CN-BH7Gq-D_XxeGxN.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-ChgtJqPr-DYysX-lx.js → LabeledDropDownFormattedTextField-CQkl7AeY-DLVKw4TX.js} +4 -4
  94. package/dist/assets/{LabeledText-2EDpuXZ4-ZljRY_j7.js → LabeledText-D1RmgOs9-q82PtDVl.js} +5 -5
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-BRHOan2E.js → LabeledUserSingleSelectWithSubtitlesField-Bw1TjzCA-0XX6kAaj.js} +15 -15
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CpH0eDWO-CvLZx4pY.js → LabeledZeniRolesDropDownField-BiVOlFVe-DAdgSY4x.js} +26 -26
  97. package/dist/assets/LinkJETransactionPage-DbA8sdwa-BFuJnTLq.js +98 -0
  98. package/dist/assets/{LockCardPage-CHv1xi2J-mXPWUl04.js → LockCardPage-BVpW2BeO-aNMVewaJ.js} +42 -42
  99. package/dist/assets/{LowBalancePopup-Cb55PGLc-C16_RtCi.js → LowBalancePopup-DTUaytjD-DS1CDgAE.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-k34ybVrp-BxWmvoNw.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9sI0Na-DYhrOrMG.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-DI9_mzqN-g6BD3Bf4.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-RG1qZ5Kj-CBdchHNz.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-BA-i6vzA-ByGqXE4C.js → MagicLinkTitleSection-BeTuROc4-BqJ6KNUx.js} +4 -4
  105. package/dist/assets/{MailingDetailsSection-EwtoQ2TZ-Cbz2IXfC.js → MailingDetailsSection-q49nDsf9-CpQRrqml.js} +6 -6
  106. package/dist/assets/{MyBankConnectionsSettingsPage-Aer6AWxY-nJ31HAIY.js → MyBankConnectionsSettingsPage-B9kH0sVB-CBACGGM8.js} +12 -12
  107. package/dist/assets/MyPendingActivationChargeCardListPage-SRoiz1Qu-CXlkfrZl.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-D40mm3Me-BP-31NhD.js +85 -0
  109. package/dist/assets/NavBarWithPicker-DuTo0ZPb-C_jShNIM.js +30 -0
  110. package/dist/assets/{NavigationArrow-kQWS5Pzb-BnLTYFqA.js → NavigationArrow-BvkBQmTR-Df9u1P7d.js} +7 -7
  111. package/dist/assets/{NavigationDots-BQb_Fodq-DPmycbJO.js → NavigationDots-DyeJVxnu-BWgE-kd3.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-z86XZorn-D_P0X2rA.js → NewGlobalMerchantPage-D15HmpS7-7O1eYItX.js} +34 -34
  113. package/dist/assets/NoDataChart-j3LPkJML-DH_2yb3S.js +26 -0
  114. package/dist/assets/{NoDataTable-DVe7sQhD-BBvSxmca.js → NoDataTable-BnwGiTCu-DdjmD7IA.js} +1 -1
  115. package/dist/assets/{NotFoundPage-B1XCmhSe-Bswe3x_k.js → NotFoundPage-Ds5RxwiG-CAZIdfn2.js} +8 -8
  116. package/dist/assets/{NotificationSettingsPage-BaN20EGV-Jcu5M-rf.js → NotificationSettingsPage-CeWmIGY8-DtH4x4Zr.js} +30 -30
  117. package/dist/assets/NotificationsListConfig-_L5Loigk-C2rXa9XH.js +1 -0
  118. package/dist/assets/{NotificationsPage-C9efAgjo-AlTPK97H.js → NotificationsPage-DYE-ZefG-CQb2VS6_.js} +40 -40
  119. package/dist/assets/OpExByVendorPage-Br2UmBAk-C4xtYWdA.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-DvH5zFFZ.js → OverlayContainerPage-D4QU0p4o-C2DruCao.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-CXtJhnA_-iJiggxC0.js → PandLWithForecastPage-vAvSbwIq-D4RAUyzB.js} +13 -13
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Deb_ngk6-uyk9ZZRm.js → PaymentAccountSetupBillingAddressSection-2cz94sYW-D8fR2crL.js} +14 -14
  123. package/dist/assets/PeoplePage-DSSY4CbY-CUJyHd04.js +727 -0
  124. package/dist/assets/{Preview-CoirdzrN.js → Preview-DH9wlYN4.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-ufZlh7Rx-STTMhn6O.js → ProductsCarousel-JcjsFk4w-xghMAqt2.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-D2UbhBhT-B3nRp3gI.js → PromoBaseCards-D8xPcjkz-DtK0GWHd.js} +4 -4
  127. package/dist/assets/{QBOConnectionDialog-BrQ71F06-EpGzmSYw.js → QBOConnectionDialog-KDwylUf5-DEEWOQtl.js} +6 -6
  128. package/dist/assets/QBOSetupSection-Dts3QjOd-CSmveDbb.js +79 -0
  129. package/dist/assets/ReimbursementApprovalRuleDetailPage-Dz5HZk-8--6Vs9cIS.js +32 -0
  130. package/dist/assets/{ReimbursementApprovalRulesPage-CMpYn5y_-NbE0JcCj.js → ReimbursementApprovalRulesPage-BcmW2ws5-Che0m033.js} +11 -11
  131. package/dist/assets/ReimbursementDetailPage-BdJYqqCn-CYh1sneh.js +314 -0
  132. package/dist/assets/ReimbursementPromoPage-B7nNFf49-09B6QAJH.js +84 -0
  133. package/dist/assets/{ReimbursementSetUpPage-KrGPXTCb-dqwxz6WG.js → ReimbursementSetUpPage-B6l3L19G-D3utfB62.js} +13 -13
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DyrixQpU.js → ReimbursementsBulkReviewDrawerPage-BjiqrxQ2-DWSGEIbO.js} +1 -1
  135. package/dist/assets/{ReloadCard-vAhL7B8U-Byu7tcBj.js → ReloadCard-pCquFw6w-C5Nq3bfI.js} +8 -8
  136. package/dist/assets/{ReportTableViewSelector-Y97ney3W-ChUmdWxl.js → ReportTableViewSelector-BOA9cxem-D95Rl8Pv.js} +28 -28
  137. package/dist/assets/{ReportsPage-DKM0gVzR-CJveAb23.js → ReportsPage-BOsLdYhx-DZO6PKlQ.js} +4 -4
  138. package/dist/assets/{RevenueChart-BEjDS1u4-BbPYev-x.js → RevenueChart-DPse5Wdo-AFfFtyYx.js} +14 -14
  139. package/dist/assets/{ReviewDetailsPage-BlQLrN9z-eEn9iGLz.js → ReviewDetailsPage-DTCm09MF-BtzB7MPB.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-Bn3TFqfi-O6NbaoDZ.js → ReviewOverlay-B2XV0Wf1-9HOJu6NK.js} +25 -25
  141. package/dist/assets/RoleWithToolTip-DpaXFRka-BbRU76xe.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMkFjf9Y-HZszSQpF.js → ScheduleDetailsFixedAssetsPage-DLpikyWD-kK0JFjhN.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-BP0wdtoP-CVCxLNNn.js → ScheduleDetailsPage-DIvnRAi6-CXakgTSA.js} +8 -8
  144. package/dist/assets/{ScheduleSequenceTable-D-rZ4ftr-CrLLNfgO.js → ScheduleSequenceTable-O93ZenyD-DnPGdohK.js} +44 -44
  145. package/dist/assets/{ScreenRoutes-BI5VdJ1u.js → ScreenRoutes-uNOGWUGZ.js} +33 -33
  146. package/dist/assets/{SetUpAccountSection-CoVrSSYL-Cz_V0ppu.js → SetUpAccountSection-Dl68db5l-B4jqgZUp.js} +5 -5
  147. package/dist/assets/SignIn-D6twztsA-CW5yhgyV.js +491 -0
  148. package/dist/assets/SignInScreen-CxdUYlBE.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-D3eISFuA-A-aeBT_y.js → SpendManagementListViewPage-DsTTqmEx-yOHixb_V.js} +21 -21
  150. package/dist/assets/{SpendManagementPerTabPage-BWDjZyLp-jknB6oUt.js → SpendManagementPerTabPage-Dt9HEmXn-CJK-wCrp.js} +13 -13
  151. package/dist/assets/{SpendManagementSection-D8rBpC-y-C-1Tmmxs.js → SpendManagementSection-DbsdVrJv-B_c96ZIs.js} +23 -23
  152. package/dist/assets/StatementItem-D1vvnzNl-lXFrHXXQ.js +31 -0
  153. package/dist/assets/StatementsPage-XAVpAiKL-Ch4pndMa.js +58 -0
  154. package/dist/assets/{StatusSwitcher-B9MARTyR-uN5xb-gX.js → StatusSwitcher-B4EYXc0F-D3lCfolE.js} +5 -5
  155. package/dist/assets/{SubTabSwitcher-C3rtSwro-Ck4vI9j3.js → SubTabSwitcher-CM9v4rRl-lIA1fOJE.js} +3 -3
  156. package/dist/assets/{SummaryCard-CShVbqhj-C0mR12Rj.js → SummaryCard-CF9Nbk_i-CKrtYMiz.js} +1 -1
  157. package/dist/assets/TaskManagementPage-ChTC8Nzf-c9kZ-1iP.js +508 -0
  158. package/dist/assets/{TimeRangeSwitcher-DFnX6_WT-8rb8PRgV.js → TimeRangeSwitcher-37ytEy0X-BPg3_wjC.js} +2 -2
  159. package/dist/assets/TimeframeSwitcher-Ca28fZEt-4kauNdEu.js +31 -0
  160. package/dist/assets/TimeframeSwitcherWithToggle-BSWY0nMa-u1tKN6th.js +31 -0
  161. package/dist/assets/{TopExCard-dI_WEGWb-CkfKmcqH.js → TopExCard-DHDNaLww-Cp9pW08N.js} +11 -11
  162. package/dist/assets/{TopExDetailPage-BWy5E8Lp-DoEOTa6r.js → TopExDetailPage-DFzrCiVG-BvTfiPwy.js} +14 -14
  163. package/dist/assets/{TransactionActivityLogPage-DjhEIUYm-CVk9j3q-.js → TransactionActivityLogPage-DcbQgckT-BCk9nFR3.js} +23 -23
  164. package/dist/assets/TransactionDetailPage-BCTtqHfm-n6NqpKTK.js +903 -0
  165. package/dist/assets/{TransactionList-80KjM8Kg-DZ_flqbd.js → TransactionList-DVFUdewa-8p0Xausj.js} +20 -20
  166. package/dist/assets/{TransactionListBig-DWQXH4ID-BE0-yEmC.js → TransactionListBig-Daypmugt-AiYr5uVw.js} +20 -20
  167. package/dist/assets/TransactionListPage-CzwkHzb_-Dnj7c_uL.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-CzfJ5b_3-DE1VmPu5.js → TransactionVendorDetailPage-BsKafcmj-QLBH3pzt.js} +16 -16
  169. package/dist/assets/{TransferDrawerPage-6z-MoZZP-mZshzkdg.js → TransferDrawerPage-DyFcSYZt-7PU8dYYK.js} +35 -35
  170. package/dist/assets/{TreasuryOverviewPage-CF_ter0o-BmiahUtt.js → TreasuryOverviewPage-BPkFbqCZ-BGWLrsqk.js} +28 -28
  171. package/dist/assets/{TreasuryPromoPage-Do-PTcjI-T5HTleFc.js → TreasuryPromoPage-pEVzLiB4-CckQ4gPa.js} +19 -19
  172. package/dist/assets/{TreasuryStatementsPage-l_HC4zsb-lW4e98bP.js → TreasuryStatementsPage-izaxVrJg-BOmcBurT.js} +1 -1
  173. package/dist/assets/TreasuryTaxLetterPage-DIa79RKC-BaoTF3DV.js +58 -0
  174. package/dist/assets/{TrendChart-C6B61CAm-ccvYw3Dl.js → TrendChart--F9P_tcq-CTI_f8th.js} +3 -3
  175. package/dist/assets/{TrendWithTransactions-Bp3vhaPa-DKvam-cU.js → TrendWithTransactions-B0R1TMMK-BIx_Ucxw.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-cbFqKAv4-V_1ur7kN.js → UncategorizedAccountsMappingPage-CToVvQYm-DSBjQ-vG.js} +10 -10
  177. package/dist/assets/{UnitIntegrationPage-DZ0ZpE5p-B3EZbw6Q.js → UnitIntegrationPage-DGmrRY2v-CpdFvEi5.js} +11 -11
  178. package/dist/assets/UploadAdditionalDocumentOverlay-B3JZwTBb-DawOCnY-.js +38 -0
  179. package/dist/assets/Vendor2FAPopup-BRMPwclY-C7lmw7U-.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-FgtLHn1A-BN5W-Bsc.js +1 -0
  181. package/dist/assets/{VendorDetailPage-C4g_Gfsl-DfxhJWr1.js → VendorDetailPage-DTQ-KiJz-BjFrWJYo.js} +90 -90
  182. package/dist/assets/VendorDomesticWireDetailsPage-yy6bXxb9-D2ssuNks.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-Ckt2MiVN-C82dbC0z.js → VendorFiling1099EditablePage-z9q_fohc-ld-WK3qa.js} +32 -32
  184. package/dist/assets/VendorFirstReviewPage-DTOwONia-CpI3YCe1.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-Dz8mMD8d-BmpQ62rU.js → VendorInternationalWireDetailsPage-DR-BKbDb-DaH2MsUT.js} +15 -15
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DK94_VqZ-DJpWsPVZ.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-BT-RADSV-CZeFwZz5.js → VendorsAccountsSection-CWyBBs2G-BHKKM3ME.js} +3 -3
  188. package/dist/assets/{VerifyDevice-Cxc9CVMi-BL8Egn6k.js → VerifyDevice-CG1Qj4Lm-DigRc0-f.js} +4 -4
  189. package/dist/assets/{VideoPlayer-9UkKMhGy-C8Jc8YBV.js → VideoPlayer-BdIPlzSd-DYXLi2NY.js} +2 -2
  190. package/dist/assets/{VideoPopup-rfiYmtio-B4L2ZckC.js → VideoPopup-W2U47mhU-BbkemVhS.js} +4 -4
  191. package/dist/assets/{WarningsDrawerPage-DrUA4asI-BBme1los.js → WarningsDrawerPage-D0aOjGDf-CAbcgcID.js} +7 -7
  192. package/dist/assets/{ZeniAccountDetailPage-K016HgQt-D8aykdnG.js → ZeniAccountDetailPage-DJyYOR4V-DHVbCPEu.js} +13 -13
  193. package/dist/assets/{ZeniAccountListViewPage-1oZZynB1-ZWNmYkTh.js → ZeniAccountListViewPage-BTOIvLCF-mMpckNBs.js} +21 -21
  194. package/dist/assets/ZeniAccountNavBarPieces-vGgpCYIn-BMTL2XMu.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-BCgys-YM-D6O2YpV6.js → ZeniAccountPromoPage-DYxM2WNa-jQgPA6gu.js} +23 -23
  196. package/dist/assets/{ZeniAccountSetupPage-BubBgkoa-BpRQpJq9.js → ZeniAccountSetupPage-DUq-PiMf-DWgEim6l.js} +3 -3
  197. package/dist/assets/{ZeniCopyright-BxIwmms--C95f1QNY.js → ZeniCopyright-Chrw_zb6-BKj6eUA-.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-DVJ0puXA-C0zCo5eT.js → ZeniTransferAmountSlider-CuZPJv1--DR9FZtFU.js} +11 -11
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DHGXNW7A.js → add-to-wallet-DgdBD8_G-B2IvxXWv.js} +1 -1
  200. package/dist/assets/{analytics-DRAIIXch.js → analytics-DtwjxHiX.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CT5zOInj-DuapFtcv.js → analyticsHelper-BqOb8jb5-CGkPFK_O.js} +1 -1
  202. package/dist/assets/analyticsHelper-j8OuskUt.js +1 -0
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-CWU-GbXg.js → arrow-south-east-round-PEovUgvH-BA8Ep9QS.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-CbUcm6tD.js → auto-transfer-rule-mbafm5D3-HGlxBiye.js} +1 -1
  205. package/dist/assets/{chartTypes-Ddw_3-6f-OViFz2fj.js → chartTypes-kba3vib6-DZ27Jj39.js} +1 -1
  206. package/dist/assets/commonDimensions-D0kIxeo5-RDa02x_3.js +1 -0
  207. package/dist/assets/{commonTypes-B-foaEwJ-B7UyHR11.js → commonTypes-0d0JMX8y-CalDLikD.js} +1 -1
  208. package/dist/assets/{constants-ov1sZD-8.js → constants-CE9jAcY0.js} +1 -1
  209. package/dist/assets/{core-DTkIP9TV.js → core-XvwDdaId.js} +1 -1
  210. package/dist/assets/{dash.all.min-Bt5zmw-k.js → dash.all.min-CrBcFpeF.js} +1 -1
  211. package/dist/assets/{detailCommon-Cpgf9GLg-1WCjE92a.js → detailCommon-ttGeF18U-BSDu3BLp.js} +4 -4
  212. package/dist/assets/downloadPdf-DX8GL4Ja-x4buR44L.js +1 -0
  213. package/dist/assets/{empty-_n93FfZv.js → empty-Bl-Hsev3.js} +1 -1
  214. package/dist/assets/{empty-CeGcB9xa.js → empty-y-VvSSjQ.js} +1 -1
  215. package/dist/assets/epic-BbATrl1e.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-D96tOflH.js → gift-box-Cmt9OgIZ-D1YJhnVt.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-2POgqjOa.js → graphic-no-data-l-DU4J8fDt-DPnV1HVO.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-PUK4CMqN.js → graphic-no-data-net-burn-l-CzmycA0m-eKmdez3u.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-bjRX7vgu.js → handshake-BPg58FML-CaQoUCG-.js} +1 -1
  220. package/dist/assets/{helper-DP3YY99s-BW2j4jJ8.js → helper-YFgDgQKT-BC5Bdlf5.js} +2 -2
  221. package/dist/assets/{index-BhMHzjtQ.js → index-BqGj3wsF.js} +1 -1
  222. package/dist/assets/{index-CK3umv0l.js → index-DAtPGjek.js} +1 -1
  223. package/dist/assets/{index-Dkuq8pxE.js → index-DQrFoID0.js} +1 -1
  224. package/dist/assets/{index-BZzvu_l6.js → index-DfiMoEY6.js} +1 -1
  225. package/dist/assets/{index-Dn4fsqrg.js → index-Dfs8yBxm.js} +3775 -3751
  226. package/dist/assets/{index-DDju9VB3.js → index-P3m51nfg.js} +1 -1
  227. package/dist/assets/{index-Dt5nJuRT.js → index-vpntWUJx.js} +1 -1
  228. package/dist/assets/{lexical-BiXOi-Hk.js → lexical-Huj_vwAQ.js} +1 -1
  229. package/dist/assets/{liveblocks-CN1Pe_iM.js → liveblocks-DO6Nvzzd.js} +1 -1
  230. package/dist/assets/{lottie-D0Yki-KW.js → lottie-Brfg_siY.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-DuIK129X-C7sz-zfO.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-QJI_OYzu-uH_Ogwdr.js → mapSectionWithAcOnlyToTreeNode-Co-aYc3j-BzIgtJky.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-COaFWgJv-CpUvCKfW.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-330OiGav-D2arADsc.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-J3b1nb_T-CzCSY_0J.js → mapTimeframeBalancesToTreeNode-CATud2li-D_4USxAl.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-75iAo6WN.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CpFBbrhT-D6BhbnL-.js} +1 -1
  237. package/dist/assets/{mui-t9zesPMq.js → mui-BoUXdMXW.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-CnQe9dJ6.js → page-detail-CWX5S47F-slNOFFuo.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-Cddsb26L-CXz-zqFv.js +3 -0
  240. package/dist/assets/{radio-default-CiSgisfh-D_KNQBWB.js → radio-default-CiSgisfh-8S_K4aeU.js} +1 -1
  241. package/dist/assets/{react-D5jt5O9g.js → react-B6Zv-pk5.js} +1 -1
  242. package/dist/assets/{react-Chk4J137.js → react-BEh8f-x0.js} +1 -1
  243. package/dist/assets/{react-DHDdhtnS.js → react-BM1bLfCE.js} +1 -1
  244. package/dist/assets/{react-HlghPMEn.js → react-CGUy3-Ee.js} +1 -1
  245. package/dist/assets/{react-CSiX3uCa.js → react-ClpUcFhc.js} +3 -3
  246. package/dist/assets/{react-B7247BHH.js → react-D2vJQnJN.js} +1 -1
  247. package/dist/assets/{react-CZ_HQvRg.js → react-D4fY6Hdc.js} +1 -1
  248. package/dist/assets/{react-6mE6xEOR.js → react-eG3wjELA.js} +2 -2
  249. package/dist/assets/{recharts-Cg59vN3o.js → recharts-Dx_NgewX.js} +1 -1
  250. package/dist/assets/{sentry-BKz9JNP2.js → sentry-Dje-_Mky.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-CcQ6zo-4.js → shield-DOlUxcFf-DsKmOO4l.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-iCDy3BRW-D-QioPYy.js +1 -0
  253. package/dist/assets/{toChartData-BEjMhb7--hljEyiCG.js → toChartData-CLrjl2HT-B5rnppiY.js} +1 -1
  254. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-CkewT8By.js +1 -0
  255. package/dist/assets/{uploadAttachment-DUpHzqMe-BJrE9eqG.js → uploadAttachment-_EPHKVvJ-BI-TRaFx.js} +22 -22
  256. package/dist/assets/uploadReceipts-Dge0cNF1-dznVP6mr.js +1 -0
  257. package/dist/assets/{url-D2VKambj.js → url-C9Sf7nFb.js} +1 -1
  258. package/dist/assets/{url-Bp3DApux.js → url-qAerZ0OB.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-DtC1Ioqh.js → useLongPress-GCK2COYQ-Dg3J9wpe.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-BblEFC3h.js → usp-line-BBd1wKwW-19qrO-Ih.js} +1 -1
  261. package/dist/assets/{utils-BjuPsonu.js → utils-CyvMfhu-.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-D4InWuWM.js → zeni-epic-state-DjuGgMVt.js} +34 -34
  263. package/dist/index.html +1 -1
  264. package/package.json +4 -4
  265. package/dist/assets/ACHDetailsPage-D2Xav-UW-is9JM5m9.js +0 -21
  266. package/dist/assets/AccountInfoPage-B8-8kUGD-B2Z0UV7R.js +0 -18
  267. package/dist/assets/AccountLockedInfoModal-aukulrV7-CdYEAqiv.js +0 -59
  268. package/dist/assets/AccountRow-BiEYR4Y1-hWgp6D7v.js +0 -298
  269. package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-FEHxMu-0.js +0 -6
  270. package/dist/assets/ApAgingDetailPage-BRYQMwo2-BhXpwRj9.js +0 -46
  271. package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-BkvXbvGU.js +0 -47
  272. package/dist/assets/BillPayPromoPage-BMcP4EU5-Be0hFWHi.js +0 -84
  273. package/dist/assets/BillingSettingsPage-GtRUqSZm-uYwUUCLC.js +0 -44
  274. package/dist/assets/ChargeCardPromoPage-C4cgx2gm-C0uZqtCo.js +0 -222
  275. package/dist/assets/ConfettiBurst-CdB5fRMt-Bh6yJ_JE.js +0 -1
  276. package/dist/assets/CurrencySelectField-BDqU4HVy-8fNMSxy8.js +0 -139
  277. package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-D3uhIFOz.js +0 -1
  278. package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-CXIflV0T.js +0 -12
  279. package/dist/assets/EditPeoplePage-pi5RclAj-Xf9KGbVz.js +0 -55
  280. package/dist/assets/EntityDetailPage-OTKTVNMD-wQz23B_S.js +0 -18
  281. package/dist/assets/ExpenseAutomationPage-BDLCJbFw-BtN-CwTS.js +0 -1703
  282. package/dist/assets/GlobalReviewListPage-DEzj0RVG-CSD-6H67.js +0 -291
  283. package/dist/assets/InsightsSection-D-oCmrir-DMVggX2r.js +0 -27
  284. package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-BKi6QeHP.js +0 -65
  285. package/dist/assets/InvitePeoplePage-Z-2L7lWc-BmOpdSP1.js +0 -12
  286. package/dist/assets/InvoiceUploadSection-C8hytmay-Q3VhOkPv.js +0 -140
  287. package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-4XGB8sMk.js +0 -16
  288. package/dist/assets/LabeledDocumentField-CnRk5aKZ-obiM30eu.js +0 -41
  289. package/dist/assets/LinkJETransactionPage-BhV2MnCY-D_XP8_tQ.js +0 -98
  290. package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-6ODQvSli.js +0 -1
  291. package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-v0nk__55.js +0 -1
  292. package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-Crch1oAl.js +0 -1
  293. package/dist/assets/MagicLinkSuccessPage-09NLbjFG-HiPw3lTM.js +0 -31
  294. package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-D1brM7Kg.js +0 -6
  295. package/dist/assets/MyProfileSettingsPage-DMz-6h9F-C6nrIT8O.js +0 -85
  296. package/dist/assets/NavBarWithPicker-D8WNahg--DvxXKLde.js +0 -30
  297. package/dist/assets/NoDataChart-CyYJ6icu-2mAZGTKF.js +0 -26
  298. package/dist/assets/NotificationsListConfig-BOW_TmPC-CVA0OePe.js +0 -1
  299. package/dist/assets/OpExByVendorPage-DXeBU3-z-BAHAWgTa.js +0 -100
  300. package/dist/assets/PeoplePage-DXC2CtOt-mv-o3ADV.js +0 -675
  301. package/dist/assets/QBOSetupSection-EOFscEW--Bv7YFpyw.js +0 -79
  302. package/dist/assets/ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BZg3FS4x.js +0 -32
  303. package/dist/assets/ReimbursementDetailPage-CfmICHZb-BNHQvvJm.js +0 -314
  304. package/dist/assets/ReimbursementPromoPage-DXTAY8c7-CKYJHwk8.js +0 -84
  305. package/dist/assets/RoleWithToolTip-DhBFvJea-CE-fnoX1.js +0 -22
  306. package/dist/assets/SignIn-BoAejo7r-B94hTR-u.js +0 -491
  307. package/dist/assets/SignInScreen-Buf8ytnC.js +0 -1
  308. package/dist/assets/StatementItem-Cu6dlAsl-CDLaPyDW.js +0 -31
  309. package/dist/assets/StatementsPage-DiY2BOcu-B6GmkSJH.js +0 -58
  310. package/dist/assets/TaskManagementPage-RVS8nv0n-COSQr7oX.js +0 -508
  311. package/dist/assets/TimeframeSwitcher-CW08yYgo-DItR-hmf.js +0 -31
  312. package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-BNxNq2Fx.js +0 -31
  313. package/dist/assets/TransactionDetailPage-CuxqQd8U-DudRnP0L.js +0 -903
  314. package/dist/assets/TransactionListPage-DC08rCC9-BH2tNBEd.js +0 -35
  315. package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-BocC7iP6.js +0 -58
  316. package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51--wE36xQn.js +0 -38
  317. package/dist/assets/Vendor2FAPopup-DezpDfp8-DYoXoZ-w.js +0 -1
  318. package/dist/assets/VendorACHDetailsPage-C8TWKYfc-DCuFNH9E.js +0 -1
  319. package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-C9y2vQ83.js +0 -1
  320. package/dist/assets/VendorFirstReviewPage-CIKRaTax-BFYB3Xlk.js +0 -730
  321. package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-Bh98y6ga.js +0 -1
  322. package/dist/assets/ZeniAccountNavBarPieces-C6Oicpue-LquZb6Na.js +0 -14
  323. package/dist/assets/analyticsHelper-phLK40GK.js +0 -1
  324. package/dist/assets/commonDimensions-ClmbdehE-Dimgn1GD.js +0 -1
  325. package/dist/assets/downloadPdf-DfRYmfsd-BPDfRxDH.js +0 -1
  326. package/dist/assets/epic-DsVPiFFV.js +0 -2
  327. package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-DTMOlF67.js +0 -1
  328. package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-Dgoksvb9.js +0 -1
  329. package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-CI9abIWE.js +0 -1
  330. package/dist/assets/panelSelectedMixin-CzfD5-Zs-gaxwl0V_.js +0 -4
  331. package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-B1iz_AL6.js +0 -1
  332. package/dist/assets/uploadReceipts-Dge0cNF1-0LNQ1d67.js +0 -1
@@ -1,8 +1,8 @@
1
- import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,aa as ye,F as P,h6 as ti,y as R,i9 as ii,b as Ne,T as oi,ay as tt,cn as it,b4 as ot,dp as st,cu as at,k6 as rt,u as w,i as si,k7 as ai,dm as he,a_ as ri,H as ni,a as nt,p as S,ai as li,bQ as _,cK as ue,ga as pe,k8 as fe,aw as lt,a8 as dt,dw as E,fv as ct,gk as di,al as ee,ip as ci,am as H,fJ as hi,aW as $e,bb as me,k9 as ui,bN as ht,ka as Re,bw as pi}from"./index-Dn4fsqrg.js";import{a as g}from"./sentry-BKz9JNP2.js";import{n as r,c as O}from"./mui-t9zesPMq.js";import{Gl as fi,Gm as mi,bL as X,bh as $,Eb as ut}from"./zeni-epic-state-D4InWuWM.js";import{k as gi}from"./SubTabSwitcher-C3rtSwro-Ck4vI9j3.js";import{d as pt}from"./useLongPress-GCK2COYQ-DtC1Ioqh.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-BOW_TmPC-CVA0OePe.js";import"./liveblocks-CN1Pe_iM.js";import"./core-DTkIP9TV.js";import"./recharts-Cg59vN3o.js";import"./lottie-D0Yki-KW.js";import"./analytics-DRAIIXch.js";import"./lexical-BiXOi-Hk.js";import"./utils-BjuPsonu.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]="f05f18f9-bea0-4b80-b0ad-cd6980fc5fdb",e._sentryDebugIdIdentifier="sentry-dbid-f05f18f9-bea0-4b80-b0ad-cd6980fc5fdb")}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=Z(),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{y as X,J as v,a9 as qt,cH as Kt,V as t,bD as Zt,ad as Xt,aS as ei,o as i,aa as ye,F as P,h7 as ti,x as R,i9 as ii,w as Ne,T as oi,az as tt,cn as it,b4 as ot,dq as st,cv as at,k6 as rt,u as w,r as si,k7 as ai,dn as ue,a_ as ri,z as ni,M as nt,p as S,aj as li,bQ as z,cL as he,gb as pe,k8 as fe,ax as lt,a8 as dt,dw as E,fw as ct,gl as di,am as ee,ip as ci,an as H,fK as ui,aW as $e,bb as me,k9 as hi,bN as ut,ka as Re,bw as pi}from"./index-Dfs8yBxm.js";import{a as g}from"./sentry-Dje-_Mky.js";import{n as r,c as O}from"./mui-BoUXdMXW.js";import{H2 as fi,H3 as mi,bL as Z,bh as $,EU as ht}from"./zeni-epic-state-DjuGgMVt.js";import{k as gi}from"./SubTabSwitcher-CM9v4rRl-lIA1fOJE.js";import{d as pt}from"./useLongPress-GCK2COYQ-Dg3J9wpe.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-_L5Loigk-C2rXa9XH.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.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]="84b72475-eda8-4474-8399-33532f1ba90c",e._sentryDebugIdIdentifier="sentry-dbid-84b72475-eda8-4474-8399-33532f1ba90c")}catch{}})();function xi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const h=v(),p=X(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{u(x.id)},[u]);return e.length===0?null:t.jsxs(bi,{windowSize:h,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%;
5
- `,{common:{timeStrings:yt,strings:wi},dateFormat:Ie,timeFormat:yi}=P.getLocalizedStrings(),$t=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],le=e=>e.type.concat(wi.underscore).concat(e.start.format(Ie.visual.DdashMMdashYYYYFormat)),ge=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return yt[e.type];case"earlier_that_month":return e.start.format(Ie.visual.MMMYYYYFormat)}},jt=e=>{const o=X(e.toUTCString()),s=$(),a=s.diff(o,"minutes"),n=s.diff(o,"seconds"),l=60,c=24*60;return n<=l?yt.justNow:a<c&&ui(o,0)?o.format(yi.hhmmAFormat):o.format(Ie.visual.MMMDFormat)},_e=e=>{switch(e.code){case"todo":return S.important;case"in_progress":return S.info;case"on_hold":return S.alert;case"done":return S.championLight;case"resolved":return S.successDark;default:return S.neutralGrey2Light}},{commentsAndNotifications:{notifications:{actionStrings:{comments:$i}}}}=P.getLocalizedStrings(),kt=e=>{e.sort((n,l)=>X(n.inboxNotification.notifiedAt.toUTCString()).isAfter(X(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=oe(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},oe=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,X(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>X(l.inboxNotification.notifiedAt.toUTCString()).isAfter(X(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:n}},ji=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=$i;return o.comments.length===1?a:s},St=new R(3,2,1,1,1),vt=new R(w[8],w[6],35,35,w[6]),de={lineClamp:St,sectionWidth:vt},{common:{texts:ze,timeStrings:ki,strings:te},commentsAndNotifications:{notifications:{strings:{newMessage:Si},actionStrings:{comments:{newCommentAdded:vi}}}}}=P.getLocalizedStrings(),Ci=({notificationData:e,users:o,isHighlighted:s=!1,style:a,onNotificationTileClick:n})=>{const l=lt(),c=dt().analytics,{inboxNotification:{id:d,readAt:h,notifiedAt:u},thread:p}=e,{setRequestToOpenThread:m}=g.useContext(di),f=h!=null?"read":"unread",{metadata:{url:x,companyId:k,entityType:B},id:z}=p;return t.jsxs(zi,{readStatus:f,isClickable:!!x,isHighlighted:s,style:a,onClick:()=>{x&&(n(d,ut(x),f),(p.metadata.tab==="bill"||p.metadata.tab==="reimbursement")&&m({threadId:z,companyId:k,entityType:B})),p.metadata.application!=="cockpit"&&c.trackCommentActivity("notification","clicked",p.metadata.companyName,l.controllersList.controllers.map(N=>E(N)),p.resolved?"resolved":"open",{name:ct(l.loggedInUser),email:l.loggedInUser?.userEmail??""},"db notification")},children:[t.jsx(Ti,{notificationData:e,users:o}),t.jsx(Ii,{...e}),t.jsx(Li,{timestamp:u,readStatus:f})]})},Ct=({notificationData:e,users:o})=>{const{thread:s}=e,{comments:a}=s,n=a[0];return a.length===0||n.body==null?t.jsx(je,{children:Si}):t.jsx(je,{children:n.body.content.map(l=>{switch(l.type){case"paragraph":return l.children.map((c,d)=>{if(Ri(c)){const u=o.find(p=>p.userId===c.id);return c.id?t.jsx(Ni,{notificationData:e,user:u},`${c.id}${te.underscore}${d}`):null}if(_i(c)){const u=ci(c.url)??c.url;return t.jsx(Fi,{href:u,target:"_blank",rel:"noopener noreferrer nofollow",children:c.text??c.url},d)}let h=c.text;return c.bold===!0&&(h=t.jsx(Ai,{children:h},d)),c.italic===!0&&(h=t.jsx(Pi,{children:h},d)),c.strikethrough===!0&&(h=t.jsx(Bi,{children:h},d)),c.code===!0&&(h=t.jsx(Oi,{children:h},d)),t.jsx(Gi,{children:h},d)});default:return t.jsx(je,{children:vi})}})})},Ti=({notificationData:e,users:o})=>{const s=v();return t.jsx(Ui,{windowSize:s,children:t.jsx(Ct,{notificationData:e,users:o})})},Ni=({notificationData:e,user:o})=>{const{inboxNotification:{readAt:s}}=e,a=s!=null?"read":"unread";let n=t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,ze.zeniAI,te.space]});if(o!=null){const l=E(o,!1);n=t.jsx(t.Fragment,{children:t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,l||ze.zeniAI,te.space]})})}return n},Tt=e=>{const o=ji(e);return t.jsx(t.Fragment,{children:o})},Ii=e=>{const o=v();return t.jsx(Mi,{windowSize:o,children:t.jsx(Tt,{...e})})},Nt=e=>{const{timestamp:o,readStatus:s}=e,a=jt(o);return t.jsxs(t.Fragment,{children:[t.jsx(Ei,{isNewNotification:a===ki.justNow,children:a}),t.jsx(Hi,{readStatus:s})]})},Li=e=>{const o=v();return t.jsx(Di,{windowSize:o,children:t.jsx(Nt,{...e})})};function Ri(e){return"type"in e&&e.type==="mention"}function _i(e){return"type"in e&&e.type==="link"}const zi=r.div`
5
+ `,{common:{timeStrings:yt,strings:wi},dateFormat:Ie,timeFormat:yi}=P.getLocalizedStrings(),$t=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],le=e=>e.type.concat(wi.underscore).concat(e.start.format(Ie.visual.DdashMMdashYYYYFormat)),ge=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return yt[e.type];case"earlier_that_month":return e.start.format(Ie.visual.MMMYYYYFormat)}},jt=e=>{const o=Z(e.toUTCString()),s=$(),a=s.diff(o,"minutes"),n=s.diff(o,"seconds"),l=60,c=24*60;return n<=l?yt.justNow:a<c&&hi(o,0)?o.format(yi.hhmmAFormat):o.format(Ie.visual.MMMDFormat)},ze=e=>{switch(e.code){case"todo":return S.important;case"in_progress":return S.info;case"on_hold":return S.alert;case"done":return S.championLight;case"resolved":return S.successDark;default:return S.neutralGrey2Light}},{commentsAndNotifications:{notifications:{actionStrings:{comments:$i}}}}=P.getLocalizedStrings(),kt=e=>{e.sort((n,l)=>Z(n.inboxNotification.notifiedAt.toUTCString()).isAfter(Z(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),h=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),u=$().subtract(2,"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),u=$().subtract(9,"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(h,"month").startOf("M").startOf("d"),m=$().subtract(h,"month").endOf("M").endOf("d");h++,a=oe(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},oe=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,Z(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>Z(l.inboxNotification.notifiedAt.toUTCString()).isAfter(Z(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:n}},ji=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=$i;return o.comments.length===1?a:s},St=new R(3,2,1,1,1),vt=new R(w[8],w[6],35,35,w[6]),de={lineClamp:St,sectionWidth:vt},{common:{texts:_e,timeStrings:ki,strings:te},commentsAndNotifications:{notifications:{strings:{newMessage:Si},actionStrings:{comments:{newCommentAdded:vi}}}}}=P.getLocalizedStrings(),Ci=({notificationData:e,users:o,isHighlighted:s=!1,style:a,onNotificationTileClick:n})=>{const l=lt(),c=dt().analytics,{inboxNotification:{id:d,readAt:u,notifiedAt:h},thread:p}=e,{setRequestToOpenThread:m}=g.useContext(di),f=u!=null?"read":"unread",{metadata:{url:x,companyId:k,entityType:B},id:_}=p;return t.jsxs(_i,{readStatus:f,isClickable:!!x,isHighlighted:s,style:a,onClick:()=>{x&&(n(d,ht(x),f),(p.metadata.tab==="bill"||p.metadata.tab==="reimbursement")&&m({threadId:_,companyId:k,entityType:B})),p.metadata.application!=="cockpit"&&c.trackCommentActivity("notification","clicked",p.metadata.companyName,l.controllersList.controllers.map(N=>E(N)),p.resolved?"resolved":"open",{name:ct(l.loggedInUser),email:l.loggedInUser?.userEmail??""},"db notification")},children:[t.jsx(Ti,{notificationData:e,users:o}),t.jsx(Ii,{...e}),t.jsx(Li,{timestamp:h,readStatus:f})]})},Ct=({notificationData:e,users:o})=>{const{thread:s}=e,{comments:a}=s,n=a[0];return a.length===0||n.body==null?t.jsx(je,{children:Si}):t.jsx(je,{children:n.body.content.map(l=>{switch(l.type){case"paragraph":return l.children.map((c,d)=>{if(Ri(c)){const h=o.find(p=>p.userId===c.id);return c.id?t.jsx(Ni,{notificationData:e,user:h},`${c.id}${te.underscore}${d}`):null}if(zi(c)){const h=ci(c.url)??c.url;return t.jsx(Gi,{href:h,target:"_blank",rel:"noopener noreferrer nofollow",children:c.text??c.url},d)}let u=c.text;return c.bold===!0&&(u=t.jsx(Ai,{children:u},d)),c.italic===!0&&(u=t.jsx(Pi,{children:u},d)),c.strikethrough===!0&&(u=t.jsx(Bi,{children:u},d)),c.code===!0&&(u=t.jsx(Oi,{children:u},d)),t.jsx(Fi,{children:u},d)});default:return t.jsx(je,{children:vi})}})})},Ti=({notificationData:e,users:o})=>{const s=v();return t.jsx(Ui,{windowSize:s,children:t.jsx(Ct,{notificationData:e,users:o})})},Ni=({notificationData:e,user:o})=>{const{inboxNotification:{readAt:s}}=e,a=s!=null?"read":"unread";let n=t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,_e.zeniAI,te.space]});if(o!=null){const l=E(o,!1);n=t.jsx(t.Fragment,{children:t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,l||_e.zeniAI,te.space]})})}return n},Tt=e=>{const o=ji(e);return t.jsx(t.Fragment,{children:o})},Ii=e=>{const o=v();return t.jsx(Mi,{windowSize:o,children:t.jsx(Tt,{...e})})},Nt=e=>{const{timestamp:o,readStatus:s}=e,a=jt(o);return t.jsxs(t.Fragment,{children:[t.jsx(Ei,{isNewNotification:a===ki.justNow,children:a}),t.jsx(Hi,{readStatus:s})]})},Li=e=>{const o=v();return t.jsx(Di,{windowSize:o,children:t.jsx(Nt,{...e})})};function Ri(e){return"type"in e&&e.type==="mention"}function zi(e){return"type"in e&&e.type==="link"}const _i=r.div`
6
6
  display: flex;
7
7
  flex-direction: row;
8
8
  align-items: center;
@@ -68,7 +68,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
68
68
  -webkit-line-clamp: ${e=>de.lineClamp.value(e.windowSize)};
69
69
  -webkit-box-orient: vertical;
70
70
  width: ${e=>de.sectionWidth.valuePercentage(e.windowSize)};
71
- `,Ai=r.strong``,Oi=r.code``,Pi=r.em``,Bi=r.s``,Gi=r.span``,Fi=r.a``,Ui=r(ee)`
71
+ `,Ai=r.strong``,Oi=r.code``,Pi=r.em``,Bi=r.s``,Fi=r.span``,Gi=r.a``,Ui=r(ee)`
72
72
  color: inherit;
73
73
  display: -webkit-box;
74
74
  overflow: hidden;
@@ -79,7 +79,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
79
79
  color: ${e=>e.readStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
80
80
  `,je=r(me)`
81
81
  color: inherit;
82
- `,Ei=r(ht)`
82
+ `,Ei=r(ut)`
83
83
  flex-shrink: 0;
84
84
  color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
85
85
  `,Hi=r.div`
@@ -89,7 +89,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
89
89
  border-radius: ${i.sp2};
90
90
  flex-shrink: 0;
91
91
  background-color: ${e=>e.readStatus==="unread"?S.info:"transparent"};
92
- `,ke={emptyRowItemSectionWidth:new R(120,200,250,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Vi=()=>{const e=v();return t.jsxs(Wi,{windowSize:e,children:[t.jsx(Se,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ke.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(Se,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ke.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(Se,{windowSize:e,isLastItem:!0,children:t.jsx(_,{width:ke.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Wi=r.div`
92
+ `,ke={emptyRowItemSectionWidth:new R(120,200,250,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Vi=()=>{const e=v();return t.jsxs(Yi,{windowSize:e,children:[t.jsx(Se,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:ke.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(Se,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:ke.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(Se,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:ke.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Yi=r.div`
93
93
  display: flex;
94
94
  align-items: center;
95
95
  justify-content: space-between;
@@ -120,7 +120,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
120
120
  flex: 1 1 auto;
121
121
  justify-content: ${e=>e.isLastItem?"flex-end":"start"};
122
122
  width: ${e=>e.isLastItem?"10%":vt.valuePercentage(e.windowSize)};
123
- `,Yi=()=>{const e=v();return t.jsxs(Ji,{windowSize:e,children:[t.jsxs(Ki,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:180,height:w[4]})]}),t.jsx(Qi,{children:t.jsx(_,{width:60,height:18})})]})},Ji=r.div`
123
+ `,Wi=()=>{const e=v();return t.jsxs(Ji,{windowSize:e,children:[t.jsxs(Qi,{children:[t.jsx(z,{width:180,height:w[4]}),t.jsx(z,{width:180,height:w[4]})]}),t.jsx(qi,{children:t.jsx(z,{width:60,height:18})})]})},Ji=r.div`
124
124
  display: flex;
125
125
  align-items: baseline;
126
126
  justify-content: space-between;
@@ -146,19 +146,19 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
146
146
  border-bottom-left-radius: ${i.sp2};
147
147
  border-bottom-right-radius: ${i.sp2};
148
148
  }
149
- `,Ki=r.div`
149
+ `,Qi=r.div`
150
150
  display: flex;
151
151
  align-items: start;
152
152
  flex-direction: column;
153
153
  gap: ${i.sp2};
154
154
  flex: 1 1 auto;
155
155
  justify-content: start;
156
- `,Qi=r.div`
156
+ `,qi=r.div`
157
157
  display: flex;
158
158
  align-items: baseline;
159
159
  flex-direction: row;
160
160
  justify-content: end;
161
- `,qi=()=>v()==="small"?t.jsx(Yi,{}):t.jsx(Vi,{}),Xi={marginLeft:new R(w[2],w[5],w[7])},Zi=()=>t.jsxs(eo,{children:[t.jsx(ve,{numberOfRows:5}),t.jsx(ve,{numberOfRows:3})]}),ve=({numberOfRows:e})=>{const o=v();return t.jsxs(to,{windowSize:o,children:[t.jsx(oo,{children:t.jsx(_,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(io,{children:[...Array(e)].map(s=>t.jsx(qi,{},he()))})]})},eo=r.div`
161
+ `,Ki=()=>v()==="small"?t.jsx(Wi,{}):t.jsx(Vi,{}),Zi={marginLeft:new R(w[2],w[5],w[7])},Xi=()=>t.jsxs(eo,{children:[t.jsx(ve,{numberOfRows:5}),t.jsx(ve,{numberOfRows:3})]}),ve=({numberOfRows:e})=>{const o=v();return t.jsxs(to,{windowSize:o,children:[t.jsx(oo,{children:t.jsx(z,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(io,{children:[...Array(e)].map(s=>t.jsx(Ki,{},ue()))})]})},eo=r.div`
162
162
  display: block;
163
163
  min-height: 100%;
164
164
  flex-direction: column;
@@ -167,7 +167,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
167
167
  display: flex;
168
168
  flex-direction: column;
169
169
  margin-bottom: ${i.sp5};
170
- margin-left: ${e=>Xi.marginLeft.valuePx(e.windowSize)};
170
+ margin-left: ${e=>Zi.marginLeft.valuePx(e.windowSize)};
171
171
  `,io=r.div`
172
172
  display: flex;
173
173
  flex-direction: column;
@@ -175,7 +175,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
175
175
  `,oo=r.div`
176
176
  display: flex;
177
177
  padding: ${i.sp3} ${i.sp0};
178
- `,so=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=lt(),h=dt().analytics,{inboxNotification:{id:u,readAt:p,notifiedAt:m},thread:f}=e,x=p!=null?"read":"unread",k=f.metadata.url,B=g.useCallback(()=>{c?.()},[c]),z=g.useCallback(b=>{b.stopPropagation(),b.cancelable&&b.preventDefault(),s?c?.():k!=null&&(l(u,ut(f.metadata.url),x),f.metadata.application!=="cockpit"&&h.trackCommentActivity("notification","clicked",f.metadata.companyName,d.controllersList.controllers.map(I=>E(I)),f.resolved?"resolved":"open",{name:ct(d.loggedInUser),email:d.loggedInUser?.userEmail??""},"db notification"))},[s,k,c,l,u,f.metadata.url,f.metadata.application,x,d.controllersList,d.loggedInUser,h,f.metadata.companyName,f.resolved]),N=pt({onLongPress:B},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(lo,{readStatus:x,isClickable:k!=null,isHighlighted:a,style:n,...N,onClick:z,children:[t.jsxs(ho,{children:[t.jsx(ao,{notificationData:e,users:o}),t.jsx(ro,{...e})]}),t.jsx(no,{timestamp:m,readStatus:x})]})},ao=({notificationData:e,users:o})=>t.jsx(It,{children:t.jsx(Ct,{notificationData:e,users:o})}),ro=e=>t.jsx(It,{children:t.jsx(Tt,{...e})}),no=e=>t.jsx(co,{children:t.jsx(Nt,{...e})}),lo=r.div`
178
+ `,so=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=lt(),u=dt().analytics,{inboxNotification:{id:h,readAt:p,notifiedAt:m},thread:f}=e,x=p!=null?"read":"unread",k=f.metadata.url,B=g.useCallback(()=>{c?.()},[c]),_=g.useCallback(b=>{b.stopPropagation(),b.cancelable&&b.preventDefault(),s?c?.():k!=null&&(l(h,ht(f.metadata.url),x),f.metadata.application!=="cockpit"&&u.trackCommentActivity("notification","clicked",f.metadata.companyName,d.controllersList.controllers.map(I=>E(I)),f.resolved?"resolved":"open",{name:ct(d.loggedInUser),email:d.loggedInUser?.userEmail??""},"db notification"))},[s,k,c,l,h,f.metadata.url,f.metadata.application,x,d.controllersList,d.loggedInUser,u,f.metadata.companyName,f.resolved]),N=pt({onLongPress:B},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(lo,{readStatus:x,isClickable:k!=null,isHighlighted:a,style:n,...N,onClick:_,children:[t.jsxs(uo,{children:[t.jsx(ao,{notificationData:e,users:o}),t.jsx(ro,{...e})]}),t.jsx(no,{timestamp:m,readStatus:x})]})},ao=({notificationData:e,users:o})=>t.jsx(It,{children:t.jsx(Ct,{notificationData:e,users:o})}),ro=e=>t.jsx(It,{children:t.jsx(Tt,{...e})}),no=e=>t.jsx(co,{children:t.jsx(Nt,{...e})}),lo=r.div`
179
179
  display: flex;
180
180
  flex-direction: row;
181
181
  align-items: baseline;
@@ -235,7 +235,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
235
235
  align-items: center;
236
236
  flex-shrink: 0;
237
237
  justify-content: end;
238
- `,ho=r.div`
238
+ `,uo=r.div`
239
239
  display: flex;
240
240
  flex-direction: column;
241
241
  gap: ${i.sp2};
@@ -244,7 +244,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
244
244
  display: -webkit-box;
245
245
  overflow: hidden;
246
246
  -webkit-box-orient: vertical;
247
- `,Lt=e=>v()==="small"?t.jsx(so,{...e}):t.jsx(Ci,{...e}),{common:{all:Me}}=P.getLocalizedStrings(),uo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=Z(),{getValues:h}=ue(),u=h(s);return t.jsx(po,{style:n,children:t.jsx(pe,{mode:a,checkBoxes:[{label:t.jsx(fo,{htmlFor:`${s}.${Me.toLocaleLowerCase()}`,style:{color:d.colors.primary},children:ge(e)}),value:Me.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((p,m)=>{const f=m===0,x=e.notifications.length-1===m;return{label:t.jsx(Lt,{notificationData:p,users:o,style:{borderTopLeftRadius:f?i.sp2:void 0,borderTopRightRadius:f?i.sp2:void 0,borderBottomLeftRadius:x?i.sp2:void 0,borderBottomRightRadius:x?i.sp2:void 0},isHighlighted:u?.includes(p.inboxNotification.id)===!0,onNotificationTileClick:c}),value:p.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},po=r.div`
247
+ `,Lt=e=>v()==="small"?t.jsx(so,{...e}):t.jsx(Ci,{...e}),{common:{all:Me}}=P.getLocalizedStrings(),ho=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=X(),{getValues:u}=he(),h=u(s);return t.jsx(po,{style:n,children:t.jsx(pe,{mode:a,checkBoxes:[{label:t.jsx(fo,{htmlFor:`${s}.${Me.toLocaleLowerCase()}`,style:{color:d.colors.primary},children:ge(e)}),value:Me.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((p,m)=>{const f=m===0,x=e.notifications.length-1===m;return{label:t.jsx(Lt,{notificationData:p,users:o,style:{borderTopLeftRadius:f?i.sp2:void 0,borderTopRightRadius:f?i.sp2:void 0,borderBottomLeftRadius:x?i.sp2:void 0,borderBottomRightRadius:x?i.sp2:void 0},isHighlighted:h?.includes(p.inboxNotification.id)===!0,onNotificationTileClick:c}),value:p.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},po=r.div`
248
248
  display: flex;
249
249
  align-items: center;
250
250
  width: 100%;
@@ -253,7 +253,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
253
253
  align-items: flex-start;
254
254
  width: 100%;
255
255
  padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
256
- `,{common:{all:Ae}}=P.getLocalizedStrings(),mo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=Z(),{getValues:h}=ue(),u=h(s),p=g.useRef([]);return g.useEffect(()=>{p.current=p.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(go,{style:n,children:t.jsx(pe,{mode:a,checkBoxes:[{label:t.jsx(Oe,{htmlFor:`${s}.${Ae.toLocaleLowerCase()}`,style:{color:d.colors.primary,marginLeft:i.sp2},children:ge(e)}),value:Ae.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((m,f)=>{const x=f===0,k=e.notifications.length-1===f;return{label:t.jsx(Oe,{ref:B=>p.current[f]=B,htmlFor:`${s}.${m.inboxNotification.id}`,style:{padding:i.sp0},children:t.jsx(xo,{notificationData:m,users:o,style:{borderTopLeftRadius:x?i.sp2:void 0,borderTopRightRadius:x?i.sp2:void 0,borderBottomLeftRadius:k?i.sp2:void 0,borderBottomRightRadius:k?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:u?.includes(m.inboxNotification.id)===!0,isSelectionMode:a==="always_on",onNotificationTileClick:c,onNotificationTileLongPress:()=>{p.current[f]?.click()}})}),value:m.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%",position:"relative"},checkBoxStyle:{padding:i.sp1,zIndex:2,left:`-${i.sp1}`,position:"absolute"},checkBoxIconStyle:{backgroundColor:d.colors.grey5}})})},go=r.div`
256
+ `,{common:{all:Ae}}=P.getLocalizedStrings(),mo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=X(),{getValues:u}=he(),h=u(s),p=g.useRef([]);return g.useEffect(()=>{p.current=p.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(go,{style:n,children:t.jsx(pe,{mode:a,checkBoxes:[{label:t.jsx(Oe,{htmlFor:`${s}.${Ae.toLocaleLowerCase()}`,style:{color:d.colors.primary,marginLeft:i.sp2},children:ge(e)}),value:Ae.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((m,f)=>{const x=f===0,k=e.notifications.length-1===f;return{label:t.jsx(Oe,{ref:B=>p.current[f]=B,htmlFor:`${s}.${m.inboxNotification.id}`,style:{padding:i.sp0},children:t.jsx(xo,{notificationData:m,users:o,style:{borderTopLeftRadius:x?i.sp2:void 0,borderTopRightRadius:x?i.sp2:void 0,borderBottomLeftRadius:k?i.sp2:void 0,borderBottomRightRadius:k?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:h?.includes(m.inboxNotification.id)===!0,isSelectionMode:a==="always_on",onNotificationTileClick:c,onNotificationTileLongPress:()=>{p.current[f]?.click()}})}),value:m.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%",position:"relative"},checkBoxStyle:{padding:i.sp1,zIndex:2,left:`-${i.sp1}`,position:"absolute"},checkBoxIconStyle:{backgroundColor:d.colors.grey5}})})},go=r.div`
257
257
  display: flex;
258
258
  align-items: center;
259
259
  width: 100%;
@@ -262,7 +262,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
262
262
  align-items: flex-start;
263
263
  width: 100%;
264
264
  padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
265
- `,xo=r(Lt)``,bo=e=>v()==="small"?t.jsx(mo,{...e}):t.jsx(uo,{...e}),{commentsAndNotifications:{notifications:{message:wo}}}=P.getLocalizedStrings(),Pe={rowGap:new R(w[0],w[5],w[5])},yo=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:n,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:h,onUpdateScrollYOffset:u,onFetchNotificationGroups:p,onNotificationClick:m})=>{const f=v(),x=g.useRef(null),k=g.useRef({});g.useEffect(()=>{x.current?.resetAfterIndex(0,!0)},[f,x,e]),g.useEffect(()=>{x.current?.scrollTo(c)},[d]);const B=g.useCallback(C=>{if(k.current?.[C]!=null){const F=f==="small"&&a===!1&&C===e.length-1?Pe.rowGap.value("medium-regular"):Pe.rowGap.value(f);return k.current[C]+F}return(ft*St.value(f)+mt)*3+gt+xt},[f,k,e]),z=g.useCallback((C,F)=>{k.current={...k.current,[C]:F},x.current?.resetAfterIndex(0,!0)},[f,x,e]),N=g.useCallback(()=>{p()},[p]),b=g.useCallback(()=>{},[]),I=tt(C=>u(C),1e3,{trailing:!0}),j=C=>!a||C<e.length,V=g.useCallback(()=>a&&!s?N():b(),[a,s,N,b]),L=a?e.length+1:e.length;return t.jsx(jo,{children:t.jsx(ko,{windowSize:f,children:s&&e.length===0?t.jsx(Zi,{}):s===!1&&e.length===0?t.jsx(it,{message:wo.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(So,{windowSize:f,children:t.jsx(ot,{children:({height:C,width:F})=>t.jsx(st,{isItemLoaded:j,itemCount:bt,loadMoreItems:V,children:({onItemsRendered:W,ref:U})=>t.jsx(at,{ref:Y=>{U(Y),x.current=Y},height:C,itemCount:L,itemData:{notificationGroups:e,users:o,sectionId:n,checkBoxMode:l,isDisabled:h,isItemLoaded:j,setRowHeight:z,onNotificationClick:m},onItemsRendered:W,itemSize:B,width:F,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:Y})=>{I(Y)},initialScrollOffset:c,children:$o})})})})})})},$o=({index:e,style:o,data:s})=>{const{notificationGroups:a,users:n,sectionId:l,checkBoxMode:c,isItemLoaded:d,isDisabled:h,setRowHeight:u,onNotificationClick:p}=s,m=g.useRef(null),f=v();if(g.useEffect(()=>{m.current?.firstElementChild!=null&&u(e,m.current.firstElementChild.clientHeight)},[e,m,f,a[e]?.notifications]),d(e)===!0){const x=a[e],k=le(x);return t.jsx(Be,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:m,children:t.jsx(bo,{notificationGroup:x,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:h,users:n,onNotificationTileClick:p})},k)}return t.jsx(Be,{ref:m,style:{...o,paddingBottom:i.sp0},children:t.jsx(ve,{numberOfRows:3})},he())},jo=r.div`
265
+ `,xo=r(Lt)``,bo=e=>v()==="small"?t.jsx(mo,{...e}):t.jsx(ho,{...e}),{commentsAndNotifications:{notifications:{message:wo}}}=P.getLocalizedStrings(),Pe={rowGap:new R(w[0],w[5],w[5])},yo=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:n,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:u,onUpdateScrollYOffset:h,onFetchNotificationGroups:p,onNotificationClick:m})=>{const f=v(),x=g.useRef(null),k=g.useRef({});g.useEffect(()=>{x.current?.resetAfterIndex(0,!0)},[f,x,e]),g.useEffect(()=>{x.current?.scrollTo(c)},[d]);const B=g.useCallback(C=>{if(k.current?.[C]!=null){const G=f==="small"&&a===!1&&C===e.length-1?Pe.rowGap.value("medium-regular"):Pe.rowGap.value(f);return k.current[C]+G}return(ft*St.value(f)+mt)*3+gt+xt},[f,k,e]),_=g.useCallback((C,G)=>{k.current={...k.current,[C]:G},x.current?.resetAfterIndex(0,!0)},[f,x,e]),N=g.useCallback(()=>{p()},[p]),b=g.useCallback(()=>{},[]),I=tt(C=>h(C),1e3,{trailing:!0}),j=C=>!a||C<e.length,V=g.useCallback(()=>a&&!s?N():b(),[a,s,N,b]),L=a?e.length+1:e.length;return t.jsx(jo,{children:t.jsx(ko,{windowSize:f,children:s&&e.length===0?t.jsx(Xi,{}):s===!1&&e.length===0?t.jsx(it,{message:wo.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(So,{windowSize:f,children:t.jsx(ot,{children:({height:C,width:G})=>t.jsx(st,{isItemLoaded:j,itemCount:bt,loadMoreItems:V,children:({onItemsRendered:Y,ref:U})=>t.jsx(at,{ref:W=>{U(W),x.current=W},height:C,itemCount:L,itemData:{notificationGroups:e,users:o,sectionId:n,checkBoxMode:l,isDisabled:u,isItemLoaded:j,setRowHeight:_,onNotificationClick:m},onItemsRendered:Y,itemSize:B,width:G,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:W})=>{I(W)},initialScrollOffset:c,children:$o})})})})})})},$o=({index:e,style:o,data:s})=>{const{notificationGroups:a,users:n,sectionId:l,checkBoxMode:c,isItemLoaded:d,isDisabled:u,setRowHeight:h,onNotificationClick:p}=s,m=g.useRef(null),f=v();if(g.useEffect(()=>{m.current?.firstElementChild!=null&&h(e,m.current.firstElementChild.clientHeight)},[e,m,f,a[e]?.notifications]),d(e)===!0){const x=a[e],k=le(x);return t.jsx(Be,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:m,children:t.jsx(bo,{notificationGroup:x,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:u,users:n,onNotificationTileClick:p})},k)}return t.jsx(Be,{ref:m,style:{...o,paddingBottom:i.sp0},children:t.jsx(ve,{numberOfRows:3})},ue())},jo=r.div`
266
266
  display: block;
267
267
  background-color: ${e=>e.theme.colors.grey4};
268
268
  height: 100%;
@@ -279,7 +279,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
279
279
  top: ${i.sp0};
280
280
  left: ${i.sp0};
281
281
  box-sizing: border-box;
282
- `,{common:{in:vo,strings:Rt},dateFormat:Co,commentsAndNotifications:{notifications:{actionStrings:{notifications:A}}}}=P.getLocalizedStrings(),_t=e=>{e.sort((n,l)=>n.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=se(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},se=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,l.createTime)?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>l.createTime.isAfter(c.createTime)===!0?-1:1),{singleGroup:a,remainingData:n}},To=e=>{let o=A.newActivity;return e.code==="in_progress"?o=A.due.replace("__task_status__",Re(e.name.toLocaleLowerCase())):o=A.due.replace("__task_status__",vo.toLocaleLowerCase().concat(Rt.space,Re(e.name.toLocaleLowerCase()))),o},No=e=>{const{eventData:{activities:o}}=e;let s=A.newActivity;if(o.length>0){const a=o[0].activityType,n=o[0].metadata.eventStatus;switch(a){case"task_archived":s=A.archive;break;case"task_deleted":s=A.delete;break;case"task_activities":s=A.activities;break;case"task_assigned":s=A.assign;break;case"task_created":s=A.create;break;case"task_due":s=n!=null?To(n):A.dueTomorrow;break;case"task_overdue":s=A.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Co.visual.MMMDFormat)??Rt.empty);break;case"task_status_updated":s=A.statusUpdate;break}}return s},zt=new R(3,2,1,1,1),Dt=new R(w[8],33,33,33,35),ce={lineClamp:zt,sectionWidth:Dt},{common:{and:Ge,other:Io,others:Lo,texts:Ro,timeStrings:_o,strings:M,tags:zo}}=P.getLocalizedStrings(),Do=({notificationData:e,isHighlighted:o=!1,style:s,onNotificationTileClick:a})=>{const{status:n,notificationId:l,eventData:{entitiyId:c,activities:d},createTime:h}=e;return t.jsxs(Fo,{notificationStatus:n,isHighlighted:o,style:s,onClick:()=>{a(l,c,n,d.length>0?d[0].activityType:void 0)},children:[t.jsx(Mo,{...e}),t.jsx(Po,{...e}),t.jsx(Go,{...e}),t.jsx(Bo,{createTime:h,notificationStatus:n})]})},Mt=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(Wo,{notificationStatus:o,children:s||M.hyphen})},Mo=e=>{const o=v();return t.jsx(Vo,{windowSize:o,children:t.jsx(Mt,{...e})})},Ao=e=>{const{eventData:{activities:o}}=e;if(o.length>0&&o[0].activityType==="task_status_updated"){const s=o[0].metadata.updates.find(a=>a.type==="code_name_pair"&&a.field==="status");if(s?.oldValue.codeNamePair!=null&&s.newValue.codeNamePair!=null)return t.jsxs(Jo,{children:[t.jsx(Fe,{backgroundColor:_e(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(Ko,{}),t.jsx(Fe,{backgroundColor:_e(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Oo=e=>{const{status:o,eventData:{authors:s,activities:a}}=e,n=s.length;if(a[0].activityType==="task_due"||a[0].activityType==="task_overdue"||a[0].activityType==="task_status_updated")return null;let l=t.jsxs(K,{className:"userText",notificationStatus:o,children:[M.atTheRate,Ro.zeniAI,M.space]});return n>0&&(n>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(K,{className:"userText",notificationStatus:o,children:[M.atTheRate,E(s[0],!1),M.space]}),Ge,t.jsxs(K,{className:"userText",notificationStatus:o,children:[M.space,n-1,M.space,Lo,M.space]})]}):n===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(K,{className:"userText",notificationStatus:o,children:[M.atTheRate,E(s[0],!1),M.space]}),Ge,t.jsxs(K,{className:"userText",notificationStatus:o,children:[M.space,s.length===2?M.atTheRate+E(s[1],!1):Io,M.space]})]}):l=t.jsxs(K,{className:"userText",notificationStatus:o,children:[M.atTheRate,E(s[0],!1),M.space]})),l},At=e=>t.jsxs(t.Fragment,{children:[t.jsx(Oo,{...e}),No(e),t.jsx(Ao,{...e})]}),Po=e=>{const o=v(),{eventData:{activities:s}}=e;return t.jsx(Ho,{windowSize:o,statusUpdate:s.length>0&&s[0].activityType==="task_status_updated"&&s[0].metadata.updates.find(a=>a.field==="status")!=null,children:t.jsx(At,{...e})})},Ot=e=>{const{createTime:o,notificationStatus:s}=e,a=jt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Yo,{isNewNotification:a===_o.justNow,children:a}),t.jsx(qo,{notificationStatus:s})]})},Bo=e=>{const o=v();return t.jsx(Uo,{windowSize:o,children:t.jsx(Ot,{...e})})},Pt=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(hi,{tagTitle:zo.overdue,textColor:{color:new $e(S.alert),backgroundColor:new $e("transparent"),borderColor:new $e(S.alert)},showLoader:!1}):t.jsx(Qo,{})},Go=e=>{const o=v();return t.jsx(Eo,{windowSize:o,children:t.jsx(Pt,{...e})})},Fo=r.div`
282
+ `,{common:{in:vo,strings:Rt},dateFormat:Co,commentsAndNotifications:{notifications:{actionStrings:{notifications:A}}}}=P.getLocalizedStrings(),zt=e=>{e.sort((n,l)=>n.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),h=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),u=$().subtract(2,"d").endOf("d"),a=se(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),u=$().subtract(9,"d").endOf("d"),a=se(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(h,"month").startOf("M").startOf("d"),m=$().subtract(h,"month").endOf("M").endOf("d");h++,a=se(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},se=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,l.createTime)?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>l.createTime.isAfter(c.createTime)===!0?-1:1),{singleGroup:a,remainingData:n}},To=e=>{let o=A.newActivity;return e.code==="in_progress"?o=A.due.replace("__task_status__",Re(e.name.toLocaleLowerCase())):o=A.due.replace("__task_status__",vo.toLocaleLowerCase().concat(Rt.space,Re(e.name.toLocaleLowerCase()))),o},No=e=>{const{eventData:{activities:o}}=e;let s=A.newActivity;if(o.length>0){const a=o[0].activityType,n=o[0].metadata.eventStatus;switch(a){case"task_archived":s=A.archive;break;case"task_deleted":s=A.delete;break;case"task_activities":s=A.activities;break;case"task_assigned":s=A.assign;break;case"task_created":s=A.create;break;case"task_due":s=n!=null?To(n):A.dueTomorrow;break;case"task_overdue":s=A.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Co.visual.MMMDFormat)??Rt.empty);break;case"task_status_updated":s=A.statusUpdate;break}}return s},_t=new R(3,2,1,1,1),Dt=new R(w[8],33,33,33,35),ce={lineClamp:_t,sectionWidth:Dt},{common:{and:Fe,other:Io,others:Lo,texts:Ro,timeStrings:zo,strings:M,tags:_o}}=P.getLocalizedStrings(),Do=({notificationData:e,isHighlighted:o=!1,style:s,onNotificationTileClick:a})=>{const{status:n,notificationId:l,eventData:{entitiyId:c,activities:d},createTime:u}=e;return t.jsxs(Go,{notificationStatus:n,isHighlighted:o,style:s,onClick:()=>{a(l,c,n,d.length>0?d[0].activityType:void 0)},children:[t.jsx(Mo,{...e}),t.jsx(Po,{...e}),t.jsx(Fo,{...e}),t.jsx(Bo,{createTime:u,notificationStatus:n})]})},Mt=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(Yo,{notificationStatus:o,children:s||M.hyphen})},Mo=e=>{const o=v();return t.jsx(Vo,{windowSize:o,children:t.jsx(Mt,{...e})})},Ao=e=>{const{eventData:{activities:o}}=e;if(o.length>0&&o[0].activityType==="task_status_updated"){const s=o[0].metadata.updates.find(a=>a.type==="code_name_pair"&&a.field==="status");if(s?.oldValue.codeNamePair!=null&&s.newValue.codeNamePair!=null)return t.jsxs(Jo,{children:[t.jsx(Ge,{backgroundColor:ze(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(Qo,{}),t.jsx(Ge,{backgroundColor:ze(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Oo=e=>{const{status:o,eventData:{authors:s,activities:a}}=e,n=s.length;if(a[0].activityType==="task_due"||a[0].activityType==="task_overdue"||a[0].activityType==="task_status_updated")return null;let l=t.jsxs(Q,{className:"userText",notificationStatus:o,children:[M.atTheRate,Ro.zeniAI,M.space]});return n>0&&(n>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(Q,{className:"userText",notificationStatus:o,children:[M.atTheRate,E(s[0],!1),M.space]}),Fe,t.jsxs(Q,{className:"userText",notificationStatus:o,children:[M.space,n-1,M.space,Lo,M.space]})]}):n===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(Q,{className:"userText",notificationStatus:o,children:[M.atTheRate,E(s[0],!1),M.space]}),Fe,t.jsxs(Q,{className:"userText",notificationStatus:o,children:[M.space,s.length===2?M.atTheRate+E(s[1],!1):Io,M.space]})]}):l=t.jsxs(Q,{className:"userText",notificationStatus:o,children:[M.atTheRate,E(s[0],!1),M.space]})),l},At=e=>t.jsxs(t.Fragment,{children:[t.jsx(Oo,{...e}),No(e),t.jsx(Ao,{...e})]}),Po=e=>{const o=v(),{eventData:{activities:s}}=e;return t.jsx(Ho,{windowSize:o,statusUpdate:s.length>0&&s[0].activityType==="task_status_updated"&&s[0].metadata.updates.find(a=>a.field==="status")!=null,children:t.jsx(At,{...e})})},Ot=e=>{const{createTime:o,notificationStatus:s}=e,a=jt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Wo,{isNewNotification:a===zo.justNow,children:a}),t.jsx(Ko,{notificationStatus:s})]})},Bo=e=>{const o=v();return t.jsx(Uo,{windowSize:o,children:t.jsx(Ot,{...e})})},Pt=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(ui,{tagTitle:_o.overdue,textColor:{color:new $e(S.alert),backgroundColor:new $e("transparent"),borderColor:new $e(S.alert)},showLoader:!1}):t.jsx(qo,{})},Fo=e=>{const o=v();return t.jsx(Eo,{windowSize:o,children:t.jsx(Pt,{...e})})},Go=r.div`
283
283
  display: flex;
284
284
  flex-direction: row;
285
285
  align-items: center;
@@ -364,11 +364,11 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
364
364
  -webkit-line-clamp: ${e=>ce.lineClamp.value(e.windowSize)};
365
365
  -webkit-box-orient: vertical;
366
366
  width: ${e=>ce.sectionWidth.valuePercentage(e.windowSize)};
367
- `,K=r(me)`
367
+ `,Q=r(me)`
368
368
  color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
369
- `,Wo=r(me)`
369
+ `,Yo=r(me)`
370
370
  color: inherit;
371
- `,Yo=r(ht)`
371
+ `,Wo=r(ut)`
372
372
  flex-shrink: 0;
373
373
  color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
374
374
  `,Jo=r.div`
@@ -377,27 +377,27 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
377
377
  flex-direction: row;
378
378
  gap: ${i.sp2};
379
379
  flex-wrap: wrap;
380
- `,Fe=r(H)`
380
+ `,Ge=r(H)`
381
381
  color: ${S.neutralGrey5Light};
382
382
  background: ${e=>e.backgroundColor};
383
383
  border: 1px solid ${e=>e.backgroundColor};
384
384
  padding: ${i.sp0} 6px;
385
385
  border-radius: ${i.sp1};
386
- `,Ko=r(pi)`
386
+ `,Qo=r(pi)`
387
387
  width: ${i.sp3};
388
388
  height: ${i.sp3};
389
389
  color: ${e=>e.theme.colors.hero};
390
- `,Qo=r.div`
390
+ `,qo=r.div`
391
391
  display: flex;
392
392
  flex: 1 1 auto;
393
- `,qo=r.div`
393
+ `,Ko=r.div`
394
394
  display: flex;
395
395
  height: ${i.sp2};
396
396
  width: ${i.sp2};
397
397
  border-radius: ${i.sp2};
398
398
  flex-shrink: 0;
399
399
  background-color: ${e=>e.notificationStatus==="unread"?S.info:"transparent"};
400
- `,ae={emptyRowItemSectionWidth:new R(120,200,280,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Xo=()=>{const e=v();return t.jsxs(Zo,{windowSize:e,children:[t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(_,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(_,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Zo=r.div`
400
+ `,ae={emptyRowItemSectionWidth:new R(120,200,280,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Zo=()=>{const e=v();return t.jsxs(Xo,{windowSize:e,children:[t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Xo=r.div`
401
401
  display: flex;
402
402
  align-items: center;
403
403
  justify-content: space-between;
@@ -428,7 +428,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
428
428
  flex: 1 1 auto;
429
429
  justify-content: ${e=>e.isLastItem?"flex-end":"start"};
430
430
  width: ${e=>e.isLastItem?"10%":Dt.valuePercentage(e.windowSize)};
431
- `,es=()=>{const e=v();return t.jsxs(ts,{windowSize:e,children:[t.jsxs(Ue,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:60,height:18})]}),t.jsxs(Ue,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:60,height:18})]})]})},ts=r.div`
431
+ `,es=()=>{const e=v();return t.jsxs(ts,{windowSize:e,children:[t.jsxs(Ue,{children:[t.jsx(z,{width:180,height:w[4]}),t.jsx(z,{width:60,height:18})]}),t.jsxs(Ue,{children:[t.jsx(z,{width:180,height:w[4]}),t.jsx(z,{width:60,height:18})]})]})},ts=r.div`
432
432
  display: flex;
433
433
  flex-direction: column;
434
434
  align-items: baseline;
@@ -462,7 +462,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
462
462
  gap: ${i.sp2};
463
463
  flex: 1 1 auto;
464
464
  width: 100%;
465
- `,is=()=>v()==="small"?t.jsx(es,{}):t.jsx(Xo,{}),os={marginLeft:new R(w[2],w[5],w[7])},ss=()=>t.jsxs(as,{children:[t.jsx(Ce,{numberOfRows:5}),t.jsx(Ce,{numberOfRows:3})]}),Ce=({numberOfRows:e})=>{const o=v();return t.jsxs(rs,{windowSize:o,children:[t.jsx(ls,{children:t.jsx(_,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(ns,{children:[...Array(e)].map(s=>t.jsx(is,{},he()))})]})},as=r.div`
465
+ `,is=()=>v()==="small"?t.jsx(es,{}):t.jsx(Zo,{}),os={marginLeft:new R(w[2],w[5],w[7])},ss=()=>t.jsxs(as,{children:[t.jsx(Ce,{numberOfRows:5}),t.jsx(Ce,{numberOfRows:3})]}),Ce=({numberOfRows:e})=>{const o=v();return t.jsxs(rs,{windowSize:o,children:[t.jsx(ls,{children:t.jsx(z,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(ns,{children:[...Array(e)].map(s=>t.jsx(is,{},ue()))})]})},as=r.div`
466
466
  display: block;
467
467
  min-height: 100%;
468
468
  flex-direction: column;
@@ -479,7 +479,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
479
479
  `,ls=r.div`
480
480
  display: flex;
481
481
  padding: ${i.sp3} ${i.sp0};
482
- `,ds=({notificationData:e,isSelectionMode:o=!1,isHighlighted:s=!1,style:a,onNotificationTileClick:n,onNotificationTileLongPress:l})=>{const{status:c,createTime:d,eventData:{entitiyId:h,activities:u},notificationId:p}=e,m=g.useCallback(()=>{l?.()},[l]),f=g.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),o?l?.():n(p,h,c,u.length>0?u[0].activityType:void 0)},[p,h,c,u,o,l,n]),x=pt({onLongPress:m},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(fs,{notificationStatus:c,isHighlighted:s,style:a,...x,onClick:f,children:[t.jsxs(Ee,{children:[t.jsx(cs,{...e}),t.jsx(us,{createTime:d,notificationStatus:c})]}),t.jsxs(Ee,{children:[t.jsx(hs,{...e}),u.length>0&&u[0].activityType==="task_status_updated"?null:t.jsx(ps,{...e})]})]})},cs=e=>t.jsx(Bt,{statusUpdate:!1,children:t.jsx(Mt,{...e})}),hs=e=>{const{eventData:{activities:o}}=e;return t.jsx(Bt,{statusUpdate:o.length>0&&o[0].activityType==="task_status_updated"&&o[0].metadata.updates.find(s=>s.field==="status")!=null,children:t.jsx(At,{...e})})},us=e=>t.jsx(ms,{children:t.jsx(Ot,{...e})}),ps=e=>t.jsx(gs,{children:t.jsx(Pt,{...e})}),fs=r.div`
482
+ `,ds=({notificationData:e,isSelectionMode:o=!1,isHighlighted:s=!1,style:a,onNotificationTileClick:n,onNotificationTileLongPress:l})=>{const{status:c,createTime:d,eventData:{entitiyId:u,activities:h},notificationId:p}=e,m=g.useCallback(()=>{l?.()},[l]),f=g.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),o?l?.():n(p,u,c,h.length>0?h[0].activityType:void 0)},[p,u,c,h,o,l,n]),x=pt({onLongPress:m},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(fs,{notificationStatus:c,isHighlighted:s,style:a,...x,onClick:f,children:[t.jsxs(Ee,{children:[t.jsx(cs,{...e}),t.jsx(hs,{createTime:d,notificationStatus:c})]}),t.jsxs(Ee,{children:[t.jsx(us,{...e}),h.length>0&&h[0].activityType==="task_status_updated"?null:t.jsx(ps,{...e})]})]})},cs=e=>t.jsx(Bt,{statusUpdate:!1,children:t.jsx(Mt,{...e})}),us=e=>{const{eventData:{activities:o}}=e;return t.jsx(Bt,{statusUpdate:o.length>0&&o[0].activityType==="task_status_updated"&&o[0].metadata.updates.find(s=>s.field==="status")!=null,children:t.jsx(At,{...e})})},hs=e=>t.jsx(ms,{children:t.jsx(Ot,{...e})}),ps=e=>t.jsx(gs,{children:t.jsx(Pt,{...e})}),fs=r.div`
483
483
  display: flex;
484
484
  flex-direction: column;
485
485
  align-items: baseline;
@@ -561,7 +561,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
561
561
  -webkit-box-orient: horizontal;
562
562
  gap: ${i.sp1};
563
563
  `};
564
- `,Gt=e=>v()==="small"?t.jsx(ds,{...e}):t.jsx(Do,{...e}),{common:{all:He}}=P.getLocalizedStrings(),xs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=Z(),{getValues:d}=ue(),h=d(o);return t.jsx(bs,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(ws,{htmlFor:`${o}.${He.toLocaleLowerCase()}`,style:{color:c.colors.primary},children:ge(e)}),value:He.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((u,p)=>{const m=p===0,f=e.notifications.length-1===p;return{label:t.jsx(Gt,{notificationData:u,style:{borderTopLeftRadius:m?i.sp2:void 0,borderTopRightRadius:m?i.sp2:void 0,borderBottomLeftRadius:f?i.sp2:void 0,borderBottomRightRadius:f?i.sp2:void 0},isHighlighted:h?.includes(u.notificationId)===!0,onNotificationTileClick:l}),value:u.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:n,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},bs=r.div`
564
+ `,Ft=e=>v()==="small"?t.jsx(ds,{...e}):t.jsx(Do,{...e}),{common:{all:He}}=P.getLocalizedStrings(),xs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=X(),{getValues:d}=he(),u=d(o);return t.jsx(bs,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(ws,{htmlFor:`${o}.${He.toLocaleLowerCase()}`,style:{color:c.colors.primary},children:ge(e)}),value:He.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((h,p)=>{const m=p===0,f=e.notifications.length-1===p;return{label:t.jsx(Ft,{notificationData:h,style:{borderTopLeftRadius:m?i.sp2:void 0,borderTopRightRadius:m?i.sp2:void 0,borderBottomLeftRadius:f?i.sp2:void 0,borderBottomRightRadius:f?i.sp2:void 0},isHighlighted:u?.includes(h.notificationId)===!0,onNotificationTileClick:l}),value:h.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:n,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},bs=r.div`
565
565
  display: flex;
566
566
  align-items: center;
567
567
  width: 100%;
@@ -570,16 +570,16 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
570
570
  align-items: flex-start;
571
571
  width: 100%;
572
572
  padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
573
- `,{common:{all:Ve}}=P.getLocalizedStrings(),ys=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=Z(),{getValues:d}=ue(),h=d(o),u=g.useRef([]);return g.useEffect(()=>{u.current=u.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx($s,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(We,{htmlFor:`${o}.${Ve.toLocaleLowerCase()}`,style:{color:c.colors.primary,marginLeft:i.sp2},children:ge(e)}),value:Ve.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((p,m)=>{const f=m===0,x=e.notifications.length-1===m;return{label:t.jsx(We,{ref:k=>u.current[m]=k,htmlFor:`${o}.${p.notificationId}`,style:{padding:i.sp0},children:t.jsx(js,{notificationData:p,style:{borderTopLeftRadius:f?i.sp2:void 0,borderTopRightRadius:f?i.sp2:void 0,borderBottomLeftRadius:x?i.sp2:void 0,borderBottomRightRadius:x?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:h?.includes(p.notificationId)===!0,isSelectionMode:s==="always_on",onNotificationTileClick:l,onNotificationTileLongPress:()=>{u.current[m]?.click()}})}),value:p.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:n,style:{width:"100%",position:"relative"},checkBoxStyle:{padding:i.sp1,zIndex:2,left:`-${i.sp1}`,position:"absolute"},checkBoxIconStyle:{backgroundColor:c.colors.grey5}})})},$s=r.div`
573
+ `,{common:{all:Ve}}=P.getLocalizedStrings(),ys=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=X(),{getValues:d}=he(),u=d(o),h=g.useRef([]);return g.useEffect(()=>{h.current=h.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx($s,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(Ye,{htmlFor:`${o}.${Ve.toLocaleLowerCase()}`,style:{color:c.colors.primary,marginLeft:i.sp2},children:ge(e)}),value:Ve.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((p,m)=>{const f=m===0,x=e.notifications.length-1===m;return{label:t.jsx(Ye,{ref:k=>h.current[m]=k,htmlFor:`${o}.${p.notificationId}`,style:{padding:i.sp0},children:t.jsx(js,{notificationData:p,style:{borderTopLeftRadius:f?i.sp2:void 0,borderTopRightRadius:f?i.sp2:void 0,borderBottomLeftRadius:x?i.sp2:void 0,borderBottomRightRadius:x?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:u?.includes(p.notificationId)===!0,isSelectionMode:s==="always_on",onNotificationTileClick:l,onNotificationTileLongPress:()=>{h.current[m]?.click()}})}),value:p.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:n,style:{width:"100%",position:"relative"},checkBoxStyle:{padding:i.sp1,zIndex:2,left:`-${i.sp1}`,position:"absolute"},checkBoxIconStyle:{backgroundColor:c.colors.grey5}})})},$s=r.div`
574
574
  display: flex;
575
575
  align-items: center;
576
576
  width: 100%;
577
- `,We=r(fe)`
577
+ `,Ye=r(fe)`
578
578
  display: flex;
579
579
  align-items: flex-start;
580
580
  width: 100%;
581
581
  padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
582
- `,js=r(Gt)``,ks=e=>v()==="small"?t.jsx(ys,{...e}):t.jsx(xs,{...e}),{commentsAndNotifications:{notifications:{message:Ss}}}=P.getLocalizedStrings(),Ye={rowGap:new R(w[0],w[5],w[5])},vs=({notificationGroups:e,isFetching:o,hasMore:s,sectionId:a,checkBoxMode:n,scrollYOffset:l,currentSubTab:c,isDisabled:d,onUpdateScrollYOffset:h,onFetchNotificationGroups:u,onNotificationClick:p})=>{const m=v(),f=g.useRef(null),x=g.useRef({});g.useEffect(()=>{f.current?.resetAfterIndex(0,!0)},[m,f,e]),g.useEffect(()=>{f.current?.scrollTo(l)},[c]);const k=g.useCallback(L=>{if(x.current?.[L]!=null){const C=m==="small"&&s===!1&&L===e.length-1?Ye.rowGap.value("medium-regular"):Ye.rowGap.value(m);return x.current[L]+C}return(ft*zt.value(m)+mt)*3+gt+xt},[m,x,e]),B=g.useCallback((L,C)=>{x.current={...x.current,[L]:C},f.current?.resetAfterIndex(0,!0)},[m,f,e]),z=g.useCallback(()=>{u()},[u]),N=g.useCallback(()=>{},[]),b=tt(L=>h(L),1e3,{trailing:!0}),I=L=>!s||L<e.length,j=g.useCallback(()=>s&&!o?z():N(),[s,o,z,N]),V=s?e.length+1:e.length;return t.jsx(Ts,{children:t.jsx(Ns,{windowSize:m,children:o&&e.length===0?t.jsx(ss,{}):o===!1&&e.length===0?t.jsx(it,{message:Ss.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(Is,{windowSize:m,children:t.jsx(ot,{children:({height:L,width:C})=>t.jsx(st,{isItemLoaded:I,itemCount:bt,loadMoreItems:j,children:({onItemsRendered:F,ref:W})=>t.jsx(at,{ref:U=>{W(U),f.current=U},height:L,itemCount:V,itemData:{notificationGroups:e,sectionId:a,checkBoxMode:n,isDisabled:d,isItemLoaded:I,setRowHeight:B,onNotificationClick:p},onItemsRendered:F,itemSize:k,width:C,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:U})=>{b(U)},initialScrollOffset:l,children:Cs})})})})})})},Cs=({index:e,style:o,data:s})=>{const{notificationGroups:a,sectionId:n,checkBoxMode:l,isItemLoaded:c,isDisabled:d,setRowHeight:h,onNotificationClick:u}=s,p=g.useRef(null),m=v();if(g.useEffect(()=>{p.current?.firstElementChild!=null&&h(e,p.current.firstElementChild.clientHeight)},[e,p,m,a[e]?.notifications]),c(e)===!0){const f=a[e],x=le(f);return t.jsx(Je,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:p,children:t.jsx(ks,{notificationGroup:f,sectionId:`${n}.${x}`,checkBoxMode:l,isDisabled:d,onNotificationTileClick:u})},x)}return t.jsx(Je,{ref:p,style:{...o,paddingBottom:i.sp0},children:t.jsx(Ce,{numberOfRows:3})},he())},Ts=r.div`
582
+ `,js=r(Ft)``,ks=e=>v()==="small"?t.jsx(ys,{...e}):t.jsx(xs,{...e}),{commentsAndNotifications:{notifications:{message:Ss}}}=P.getLocalizedStrings(),We={rowGap:new R(w[0],w[5],w[5])},vs=({notificationGroups:e,isFetching:o,hasMore:s,sectionId:a,checkBoxMode:n,scrollYOffset:l,currentSubTab:c,isDisabled:d,onUpdateScrollYOffset:u,onFetchNotificationGroups:h,onNotificationClick:p})=>{const m=v(),f=g.useRef(null),x=g.useRef({});g.useEffect(()=>{f.current?.resetAfterIndex(0,!0)},[m,f,e]),g.useEffect(()=>{f.current?.scrollTo(l)},[c]);const k=g.useCallback(L=>{if(x.current?.[L]!=null){const C=m==="small"&&s===!1&&L===e.length-1?We.rowGap.value("medium-regular"):We.rowGap.value(m);return x.current[L]+C}return(ft*_t.value(m)+mt)*3+gt+xt},[m,x,e]),B=g.useCallback((L,C)=>{x.current={...x.current,[L]:C},f.current?.resetAfterIndex(0,!0)},[m,f,e]),_=g.useCallback(()=>{h()},[h]),N=g.useCallback(()=>{},[]),b=tt(L=>u(L),1e3,{trailing:!0}),I=L=>!s||L<e.length,j=g.useCallback(()=>s&&!o?_():N(),[s,o,_,N]),V=s?e.length+1:e.length;return t.jsx(Ts,{children:t.jsx(Ns,{windowSize:m,children:o&&e.length===0?t.jsx(ss,{}):o===!1&&e.length===0?t.jsx(it,{message:Ss.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(Is,{windowSize:m,children:t.jsx(ot,{children:({height:L,width:C})=>t.jsx(st,{isItemLoaded:I,itemCount:bt,loadMoreItems:j,children:({onItemsRendered:G,ref:Y})=>t.jsx(at,{ref:U=>{Y(U),f.current=U},height:L,itemCount:V,itemData:{notificationGroups:e,sectionId:a,checkBoxMode:n,isDisabled:d,isItemLoaded:I,setRowHeight:B,onNotificationClick:p},onItemsRendered:G,itemSize:k,width:C,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:U})=>{b(U)},initialScrollOffset:l,children:Cs})})})})})})},Cs=({index:e,style:o,data:s})=>{const{notificationGroups:a,sectionId:n,checkBoxMode:l,isItemLoaded:c,isDisabled:d,setRowHeight:u,onNotificationClick:h}=s,p=g.useRef(null),m=v();if(g.useEffect(()=>{p.current?.firstElementChild!=null&&u(e,p.current.firstElementChild.clientHeight)},[e,p,m,a[e]?.notifications]),c(e)===!0){const f=a[e],x=le(f);return t.jsx(Je,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:p,children:t.jsx(ks,{notificationGroup:f,sectionId:`${n}.${x}`,checkBoxMode:l,isDisabled:d,onNotificationTileClick:h})},x)}return t.jsx(Je,{ref:p,style:{...o,paddingBottom:i.sp0},children:t.jsx(Ce,{numberOfRows:3})},ue())},Ts=r.div`
583
583
  display: block;
584
584
  background-color: ${e=>e.theme.colors.grey4};
585
585
  height: 100%;
@@ -596,7 +596,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
596
596
  top: ${i.sp0};
597
597
  left: ${i.sp0};
598
598
  box-sizing: border-box;
599
- `,{common:{all:Te,texts:ne,footer:Ls,strings:{plus:Rs},numbers:{maximumCount:Ke}},commentsAndNotifications:{notifications:{title:_s,texts:Ft,strings:Qe}}}=P.getLocalizedStrings(),ie={tableContainerLeftPadding:new R(w[2],w[2],w[2]),tableContainerRightPadding:new R(w[3],w[6],w[8]),tabsContainerLeftRightPadding:new R(w[3],w[6],w[8]),selectedNotificationsTextMarginLeft:new R(w[0],w[6],w[6])},zs={selectedNotificationsText:new ni("smallRegular","standardRegular")},qe="notificationsPage",Q="commentsNotificationsTable",q="notificationsTable",Ut=20,ha=({notificationView:e,users:o,isNotificationSettingsVisible:s,isDisabled:a,onNotificationClick:n,onCommentNotificationClick:l,onUpdateNotificationViewUIState:c,onUpdateNotificationTabState:d,onUpdateNotificationViewCurrentTabAndSubTab:h,onUpdateNotificationViewSubTab:u,onFetchMoreNotifications:p,onUpdateNotificationStatus:m,onSettingsClick:f,onBackClick:x,onMarkAllNotificationsAsRead:k})=>{const B=Z(),z=v(),N=Qt({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>et(e),[e]),values:g.useMemo(()=>et(e),[e])}),{currentTab:b,currentSubTab:I,notificationDetailsByTab:j,allSubTabs:V,allNotifications:L,allExternalNotifications:C,notificationsForCurrentTabAndSubTab:F,externalNotificationsForCurrentTabAndSubTab:W}=e,U=g.useMemo(()=>Object.keys(j).map(y=>({label:ne[y],id:ne[y].toLocaleLowerCase(),countDetails:{count:j[y].uiState.unreadCount,isFetching:j[y].fetchCountState.fetchState==="In-Progress"}})),[j]),Y=g.useMemo(()=>V.map(y=>({label:y==="all"?Te:ne[y],id:y})),[V]),Et=g.useMemo(()=>kt(W).filter(y=>y.notifications.length>0),[W]),Ht=g.useMemo(()=>_t(F).filter(y=>y.notifications.length>0),[F]),Vt=async(y,T)=>{const G=y.split(".")[0],J=[];G!=null&&(G===Q||G===q)&&(Object.values(T[G]).forEach(D=>{J.push(...D.filter(Kt=>Kt.includes(Te.toLowerCase())===!1))}),d({selectedNotificationIds:J},b))};g.useEffect(()=>{const y=N.watch((T,{name:G})=>{G!=null&&T!=null&&qt(()=>Vt(G,T))});return()=>{y.unsubscribe()}});const xe=g.useCallback(()=>{const y=[],T=j[b].selectedNotificationIdsForSubTab,G="read";if(b==="comments"){const J=C.filter(D=>D.inboxNotification.readAt==null).map(D=>D.inboxNotification.id);T.forEach(D=>{J.includes(D)&&y.push(D)})}else{const J=L.filter(D=>D.status!==G).map(D=>D.notificationId);T.forEach(D=>{J.includes(D)&&y.push(D)})}return y},[C,L,b,j]),Wt=xe().length>Ut?"disabled":a,be=N.watch(Q),we=N.watch(q),Le=g.useCallback(()=>{p(b,I)},[p,b,I]),Yt=g.useCallback(()=>{if(b==="comments"){const y={};Object.keys(be).forEach(T=>{y[T]=[]}),N.reset({[Q]:y,[q]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const y={};Object.keys(we).forEach(T=>{y[T]=[]}),N.reset({[q]:y,[Q]:be},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}d({selectedNotificationIds:[]},b)},[we,be]),Jt=g.useCallback(()=>{const y=j[b].selectedNotificationIdsForSubTab,T="read",G=xe();m(b,y,T,G)},[b,j,xe,m]);return t.jsxs(Ms,{children:[t.jsx(Xt,{source:"NotificationsPage",title:_s.notifications,backgroundColor:B.colors.grey4,onBackClick:x,rightSideComponent:s===!0?t.jsx(Qs,{onClick:f}):t.jsx(Ks,{})}),t.jsx(Ps,{}),t.jsx(Os,{windowSize:z,children:t.jsx(xi,{tabs:U,selectedTab:b,onTabChange:y=>{const T=mi(y);T!=null&&h(T)},subTabs:Y,selectedSubTab:I,onSubTabChange:y=>{const T=fi(y);T!=null&&u(T)},subTabRightComponent:t.jsx(Ds,{notificationCount:j[b].uiState.unreadCount,markAsAllReadUpdateState:j[b].markAsAllReadState.fetchState,markAsReadUpdateState:j[b].markAsReadState.fetchState,onMarkAsAllReadClick:()=>{k(b)}})})}),t.jsx(As,{windowSize:z,children:t.jsx(Zt,{...N,children:t.jsx("form",{id:Ze(qe),onSubmit:N.handleSubmit(Jt),style:{width:"100%"},children:b==="comments"?t.jsx(yo,{users:o,hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[I],currentSubTab:I,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Et,sectionId:Q,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:l}):t.jsx(vs,{hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[I],currentSubTab:I,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Ht,sectionId:q,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:n})})})}),j[b].selectedNotificationIdsForSubTab.length?t.jsx(ei,{formId:Ze(qe),primaryBtn:{label:Ft.markAsRead,isLoading:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:Wt!=null},cancelBtn:{label:Ls.cancel,isDisabled:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:Yt},helperContainerStyle:z==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx(ye,{controller:z!=="small",children:t.jsx(Xe,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(ye,{controller:z==="small",children:t.jsx(Xe,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx(ye,{controller:z!=="small",children:t.jsx(Fs,{})})}):null]})},Ds=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const n=s===0,l=g.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!n&&a()},[e,o,n,a]);return t.jsx(Bs,{variant:"tertiary",size:"small",label:Ft.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(oi,{size:"Small",start:!0}):t.jsx(Gs,{className:"mark-as-read"}),disabled:n,textStyle:{fontWeight:Ne.smallRegular.fontWeight},style:{borderRadius:i.sp1,border:"none",backgroundColor:"transparent",flexShrink:0,padding:i.sp0,cursor:o==="In-Progress"||e==="In-Progress"||n?"default":"pointer"}})},Xe=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Us,{windowSize:o,children:[t.jsx(Hs,{children:t.jsx(Es,{isCircular:e<10,children:t.jsx(Vs,{children:e>Ke?`${Ke}${Rs}`:e})})}),t.jsxs(Js,{windowSize:o,children:[t.jsx(Ws,{children:e>1?Qe.notificationsSelected:Qe.notificationSelected}),e>Ut?t.jsx(Ys,{children:ne.maxLimit}):null]})]})},Ms=r.div`
599
+ `,{common:{all:Te,texts:ne,footer:Ls,strings:{plus:Rs},numbers:{maximumCount:Qe}},commentsAndNotifications:{notifications:{title:zs,texts:Gt,strings:qe}}}=P.getLocalizedStrings(),ie={tableContainerLeftPadding:new R(w[2],w[2],w[2]),tableContainerRightPadding:new R(w[3],w[6],w[8]),tabsContainerLeftRightPadding:new R(w[3],w[6],w[8]),selectedNotificationsTextMarginLeft:new R(w[0],w[6],w[6])},_s={selectedNotificationsText:new ni("smallRegular","standardRegular")},Ke="notificationsPage",q="commentsNotificationsTable",K="notificationsTable",Ut=20,ua=({notificationView:e,users:o,isNotificationSettingsVisible:s,isDisabled:a,onNotificationClick:n,onCommentNotificationClick:l,onUpdateNotificationViewUIState:c,onUpdateNotificationTabState:d,onUpdateNotificationViewCurrentTabAndSubTab:u,onUpdateNotificationViewSubTab:h,onFetchMoreNotifications:p,onUpdateNotificationStatus:m,onSettingsClick:f,onBackClick:x,onMarkAllNotificationsAsRead:k})=>{const B=X(),_=v(),N=qt({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>et(e),[e]),values:g.useMemo(()=>et(e),[e])}),{currentTab:b,currentSubTab:I,notificationDetailsByTab:j,allSubTabs:V,allNotifications:L,allExternalNotifications:C,notificationsForCurrentTabAndSubTab:G,externalNotificationsForCurrentTabAndSubTab:Y}=e,U=g.useMemo(()=>Object.keys(j).map(y=>({label:ne[y],id:ne[y].toLocaleLowerCase(),countDetails:{count:j[y].uiState.unreadCount,isFetching:j[y].fetchCountState.fetchState==="In-Progress"}})),[j]),W=g.useMemo(()=>V.map(y=>({label:y==="all"?Te:ne[y],id:y})),[V]),Et=g.useMemo(()=>kt(Y).filter(y=>y.notifications.length>0),[Y]),Ht=g.useMemo(()=>zt(G).filter(y=>y.notifications.length>0),[G]),Vt=async(y,T)=>{const F=y.split(".")[0],J=[];F!=null&&(F===q||F===K)&&(Object.values(T[F]).forEach(D=>{J.push(...D.filter(Qt=>Qt.includes(Te.toLowerCase())===!1))}),d({selectedNotificationIds:J},b))};g.useEffect(()=>{const y=N.watch((T,{name:F})=>{F!=null&&T!=null&&Kt(()=>Vt(F,T))});return()=>{y.unsubscribe()}});const xe=g.useCallback(()=>{const y=[],T=j[b].selectedNotificationIdsForSubTab,F="read";if(b==="comments"){const J=C.filter(D=>D.inboxNotification.readAt==null).map(D=>D.inboxNotification.id);T.forEach(D=>{J.includes(D)&&y.push(D)})}else{const J=L.filter(D=>D.status!==F).map(D=>D.notificationId);T.forEach(D=>{J.includes(D)&&y.push(D)})}return y},[C,L,b,j]),Yt=xe().length>Ut?"disabled":a,be=N.watch(q),we=N.watch(K),Le=g.useCallback(()=>{p(b,I)},[p,b,I]),Wt=g.useCallback(()=>{if(b==="comments"){const y={};Object.keys(be).forEach(T=>{y[T]=[]}),N.reset({[q]:y,[K]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const y={};Object.keys(we).forEach(T=>{y[T]=[]}),N.reset({[K]:y,[q]:be},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}d({selectedNotificationIds:[]},b)},[we,be]),Jt=g.useCallback(()=>{const y=j[b].selectedNotificationIdsForSubTab,T="read",F=xe();m(b,y,T,F)},[b,j,xe,m]);return t.jsxs(Ms,{children:[t.jsx(Zt,{source:"NotificationsPage",title:zs.notifications,backgroundColor:B.colors.grey4,onBackClick:x,rightSideComponent:s===!0?t.jsx(qs,{onClick:f}):t.jsx(Qs,{})}),t.jsx(Ps,{}),t.jsx(Os,{windowSize:_,children:t.jsx(xi,{tabs:U,selectedTab:b,onTabChange:y=>{const T=mi(y);T!=null&&u(T)},subTabs:W,selectedSubTab:I,onSubTabChange:y=>{const T=fi(y);T!=null&&h(T)},subTabRightComponent:t.jsx(Ds,{notificationCount:j[b].uiState.unreadCount,markAsAllReadUpdateState:j[b].markAsAllReadState.fetchState,markAsReadUpdateState:j[b].markAsReadState.fetchState,onMarkAsAllReadClick:()=>{k(b)}})})}),t.jsx(As,{windowSize:_,children:t.jsx(Xt,{...N,children:t.jsx("form",{id:Xe(Ke),onSubmit:N.handleSubmit(Jt),style:{width:"100%"},children:b==="comments"?t.jsx(yo,{users:o,hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[I],currentSubTab:I,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Et,sectionId:q,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:l}):t.jsx(vs,{hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[I],currentSubTab:I,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Ht,sectionId:K,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:n})})})}),j[b].selectedNotificationIdsForSubTab.length?t.jsx(ei,{formId:Xe(Ke),primaryBtn:{label:Gt.markAsRead,isLoading:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:Yt!=null},cancelBtn:{label:Ls.cancel,isDisabled:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:Wt},helperContainerStyle:_==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx(ye,{controller:_!=="small",children:t.jsx(Ze,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(ye,{controller:_==="small",children:t.jsx(Ze,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx(ye,{controller:_!=="small",children:t.jsx(Gs,{})})}):null]})},Ds=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const n=s===0,l=g.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!n&&a()},[e,o,n,a]);return t.jsx(Bs,{variant:"tertiary",size:"small",label:Gt.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(oi,{size:"Small",start:!0}):t.jsx(Fs,{className:"mark-as-read"}),disabled:n,textStyle:{fontWeight:Ne.smallRegular.fontWeight},style:{borderRadius:i.sp1,border:"none",backgroundColor:"transparent",flexShrink:0,padding:i.sp0,cursor:o==="In-Progress"||e==="In-Progress"||n?"default":"pointer"}})},Ze=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Us,{windowSize:o,children:[t.jsx(Hs,{children:t.jsx(Es,{isCircular:e<10,children:t.jsx(Vs,{children:e>Qe?`${Qe}${Rs}`:e})})}),t.jsxs(Js,{windowSize:o,children:[t.jsx(Ys,{children:e>1?qe.notificationsSelected:qe.notificationSelected}),e>Ut?t.jsx(Ws,{children:ne.maxLimit}):null]})]})},Ms=r.div`
600
600
  display: flex;
601
601
  height: 100vh;
602
602
  width: 100%;
@@ -627,10 +627,10 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
627
627
  color: ${e=>e.disabled===!0?e.theme.colors.grey2:e.theme.colors.primary};
628
628
  }
629
629
  }
630
- `,Gs=r(ai)`
630
+ `,Fs=r(ai)`
631
631
  width: ${i.sp3};
632
632
  height: ${i.sp3};
633
- `,Fs=r.div``,Us=r.div`
633
+ `,Gs=r.div``,Us=r.div`
634
634
  display: flex;
635
635
  align-items: center;
636
636
  flex-direction: row;
@@ -659,22 +659,22 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
659
659
  align-items: center;
660
660
  justify-content: center;
661
661
  color: ${e=>e.theme.colors.hero};
662
- `,Ws=r(nt)`
662
+ `,Ys=r(nt)`
663
663
  display: flex;
664
- `,Ys=r(li)`
664
+ `,Ws=r(li)`
665
665
  display: flex;
666
666
  color: ${S.important};
667
667
  margin-left: ${i.sp1};
668
668
  `,Js=r(nt)`
669
- ${e=>`${zs.selectedNotificationsText.style(e.windowSize)}`};
669
+ ${e=>`${_s.selectedNotificationsText.style(e.windowSize)}`};
670
670
  color: ${e=>e.theme.colors.primary};
671
671
  display: flex;
672
672
  align-items: center;
673
673
  flex-wrap: wrap;
674
- `,Ks=r.div`
674
+ `,Qs=r.div`
675
675
  width: ${i.sp4};
676
676
  height: ${i.sp4};
677
- `,Qs=r(ti)`
677
+ `,qs=r(ti)`
678
678
  color: ${e=>e.theme.colors.hero};
679
679
  width: ${i.sp4};
680
680
  height: ${i.sp4};
@@ -682,4 +682,4 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
682
682
  &:hover {
683
683
  color: ${e=>e.theme.colors.primary};
684
684
  }
685
- `,Ze=e=>`${e}_form`,et=e=>{const{allNotifications:o,allExternalNotifications:s,notificationDetailsByTab:{tasks:{selectedNotificationIds:a},comments:{selectedNotificationIds:n}}}=e,l={};_t(o).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.notificationId);l[le(d)]=a.filter(u=>h.includes(u))});const c={};return kt(s).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.inboxNotification.id);c[le(d)]=n.filter(u=>h.includes(u))}),{[Q]:c,[q]:l}},ua=(e,o)=>{const s=[];return Object.values(e).forEach(a=>{a.forEach(n=>{n.includes(Te.toLocaleLowerCase())===!1&&o.includes(n)&&s.push(n)})}),s};export{ha as default,ua as getSelectedNotificationIds,Ze as uniqueFormName};
685
+ `,Xe=e=>`${e}_form`,et=e=>{const{allNotifications:o,allExternalNotifications:s,notificationDetailsByTab:{tasks:{selectedNotificationIds:a},comments:{selectedNotificationIds:n}}}=e,l={};zt(o).filter(d=>d.notifications.length>0).forEach(d=>{const u=d.notifications.map(h=>h.notificationId);l[le(d)]=a.filter(h=>u.includes(h))});const c={};return kt(s).filter(d=>d.notifications.length>0).forEach(d=>{const u=d.notifications.map(h=>h.inboxNotification.id);c[le(d)]=n.filter(h=>u.includes(h))}),{[q]:c,[K]:l}},ha=(e,o)=>{const s=[];return Object.values(e).forEach(a=>{a.forEach(n=>{n.includes(Te.toLocaleLowerCase())===!1&&o.includes(n)&&s.push(n)})}),s};export{ua as default,ha as getSelectedNotificationIds,Xe as uniqueFormName};
@@ -0,0 +1,100 @@
1
+ import{J,i8 as Ce,F as B,y as q,ce as _e,az as Se,V as t,bP as we,ab as E,i7 as ve,bE as ke,bD as Be,i9 as Te,ia as Pe,o as f,aU as $e,T as je,x as V,b4 as le,aF as ce,aW as Oe,u as T,cg as De,ch as Ie,ci as Ne,bM as Ee,p as a,am as de,w as ee,aZ as Ae}from"./index-Dfs8yBxm.js";import{a as C,P as Me}from"./sentry-Dje-_Mky.js";import{n as u}from"./mui-BoUXdMXW.js";import{GO as Le}from"./zeni-epic-state-DjuGgMVt.js";import{p as Fe,d as Ve,y as H,b as pe,u as oe}from"./chartTypes-kba3vib6-DZ27Jj39.js";import{V as Re}from"./toChartData-CLrjl2HT-B5rnppiY.js";import{m as R}from"./analyticsHelper-BqOb8jb5-CGkPFK_O.js";import{p as ze}from"./TimeRangeSwitcher-37ytEy0X-BPg3_wjC.js";import{I as We}from"./TimeframeSwitcherWithToggle-BSWY0nMa-u1tKN6th.js";import{C as Ke}from"./NoDataChart-j3LPkJML-DH_2yb3S.js";import{d as Ye}from"./NoDataTable-BnwGiTCu-DdjmD7IA.js";import{H as Ge,k as re}from"./detailCommon-ttGeF18U-BSDu3BLp.js";import{n as z}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{I as He,R as U}from"./CollapsableReportTable-CoDaSHJN-BeRkup1e.js";import{o as me}from"./mapTimeframeBalancesToTreeNode-330OiGav-D2arADsc.js";import{d as ae}from"./mapLoadingInProgressToTreeNode-DuIK129X-C7sz-zfO.js";import{l as Je}from"./mapSpacerToTreeNode-COaFWgJv-CpUvCKfW.js";import{N as qe,I as Ue,X as Xe,Y as Ze,J as Qe,K as eo}from"./recharts-Dx_NgewX.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./TimeframeSwitcher-Ca28fZEt-4kauNdEu.js";import"./graphic-no-data-l-DU4J8fDt-DPnV1HVO.js";import"./AccountRow-nSloLUTN-C7-a59B1.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]="bc2aaff4-89e0-4eb4-8e34-89b04f9267f4",e._sentryDebugIdIdentifier="sentry-dbid-bc2aaff4-89e0-4eb4-8e34-89b04f9267f4")}catch{}})();const oo=u.div`
2
+ display: flex;
3
+ `,ro=u.div`
4
+ flex: display;
5
+ opacity: 0.85;
6
+ width: 320px;
7
+ border-radius: ${f.sp1};
8
+ flex-direction: column;
9
+ padding: ${f.sp3};
10
+ background-color: ${e=>e.theme.colors.black};
11
+ `,te=u.div`
12
+ display: flex;
13
+ justify-content: space-between;
14
+ `,ne=u(de)`
15
+ color: ${e=>e.color??a.neutralGrey2Light};
16
+ text-align: left;
17
+ `,se=u(de)`
18
+ color: ${e=>e.color??a.neutralGrey2Light};
19
+ text-align: right;
20
+ `,ao=u.div`
21
+ margin: ${f.sp2} ${f.sp0} ${f.sp2} ${f.sp0};
22
+ width: 100%;
23
+ height: 1px;
24
+ background-color: ${a.neutralGrey3Dark};
25
+ `,to=({active:e,payload:r,barName:o})=>{const n=[];if(r!==void 0&&e===!0){const i=r.filter(y=>y.name==o)[0],l=i.payload,m=i.color,s={amount:l.record[o].amount?.amount??0,currencyCode:l.record[o].amount?.currencyCode??"",currencySymbol:l.record[o].amount?.currencySymbol??""},d={amount:0,currencyCode:"",currencySymbol:""};let h=0,p;for(p in l.record)p.endsWith("_actual")&&(h+=l.record[p].amount?.amount??0);d.amount=h,d.currencyCode=s.currencyCode,d.currencySymbol=s.currencySymbol,n.push({barName:pe(o),actual:s,color:m,total:d,timeframeTick:l.timeLabel})}return n},no=({barLabelsWithValues:e,getVendorName:r})=>t.jsx(oo,{children:t.jsxs(ro,{children:[t.jsxs(te,{children:[t.jsx(ne,{color:e[0].color,children:`${r(e[0].timeframeTick,e[0].barName)}`}),t.jsx(se,{color:e[0].color,children:`${oe(e[0].actual)}`})]}),t.jsx(ao,{}),t.jsxs(te,{children:[t.jsx(ne,{color:a.primaryDark,children:`${B.getLocalizedStrings().chartCard.total}`}),t.jsx(se,{children:`${oe(e[0].total)}`})]})]})}),so=e=>{const r=to({...e});return r.length===0?null:t.jsx(no,{barLabelsWithValues:r,getVendorName:e.getVendorName})},io=Me.memo(so),ie=[a.graphColor34,a.graphColor05,a.graphColor08,a.graphColor11,a.graphColor13,a.graphColor19,a.graphColor29,a.graphColor28,a.graphColor20,a.graphColor21,a.graphColor22,a.graphColor14,a.graphColor35,a.graphColor31,a.graphColor33,a.graphColor32,a.graphColor36,a.graphColor02,a.graphColor06,a.graphColor04,a.graphColor10,a.graphColor12,a.graphColor15,a.graphColor18,a.graphColor17,a.graphColor07,a.graphColor34Dark,a.graphColor05Dark,a.graphColor08Dark,a.graphColor11Dark,a.graphColor13Dark,a.graphColor19Dark,a.graphColor29Dark,a.graphColor28Dark,a.graphColor20Dark,a.graphColor21Dark,a.graphColor22Dark,a.graphColor14Dark,a.graphColor35Dark,a.graphColor31Dark,a.graphColor33Dark,a.graphColor32Dark,a.graphColor36Dark,a.graphColor02Dark,a.graphColor06Dark,a.graphColor04Dark,a.graphColor10Dark,a.graphColor12Dark,a.graphColor15Dark,a.graphColor18Dark,a.graphColor17Dark,a.graphColor07Dark];class I{_barColors;_barColorsKeyWise;_defaultColor;constructor(){this._defaultColor=a.graphColor34,this._barColors=ie.slice(),this._barColorsKeyWise=new Map}static#e=new I;getBarColor(r){const o=I.instance();return o._barColorsKeyWise.has(r)||(o._barColors.length===0&&(o._barColors=ie.slice()),o._barColorsKeyWise.set(r,o._barColors.shift()??o._defaultColor)),o._barColorsKeyWise.get(r)}shouldUpdate(r){const o=I.instance(),n=Array.from(o._barColorsKeyWise.keys()).sort();return!ce(n,r)}static init(){return this.#e=new I,this.#e}static instance(){return this.#e}}const lo=I.instance(),co=(e,r)=>{const o=new Set,n={};let i;const l=r.top4VendorsAndOthers;return Object.keys(l).length>0&&Object.keys(l).forEach(m=>{l[m].forEach((s,d)=>{const h=`vendor_${d}`,p=Fe(h,"actual");o.add(p),i==null&&s.balance!=null&&(i=p),n[p]!=null?n[p].push({key:p,balance:s.balance}):n[p]=[{key:p,balance:s.balance}]})}),i!=null?Re(e,[...o],i,n):void 0},po=u.div`
26
+ width: ${e=>e.width}px;
27
+ height: ${e=>e.height}px;
28
+ `;function mo({selectedRangeReport:e,width:r,height:o,showBarHoverBackground:n=!1,isDetailPage:i=!1}){const l=C.useRef(!1),m=lo,[s,d]=C.useState(void 0);C.useEffect(()=>{l.current=!0},[]);const h=co(e.firstMonthOfFY,e),p=()=>{const c=[];return h?.orderedKeys.forEach(_=>{const S=i===!0&&!l.current;c.push(y(_,S))}),c},y=(c,_)=>t.jsx(eo,{name:c,animationDuration:_?500:void 0,style:{cursor:"pointer"},dataKey:S=>{const k=S.record;return(k[c]?.amount!=null?k[c].amount:void 0)?.amount??0},stackId:"chartByTimeSeries",fill:m.getBarColor(pe(c)),onMouseEnter:()=>{s!==c&&d(c)},onMouseLeave:()=>{s!=null&&d(void 0)}},c),g=({active:c,payload:_})=>_?.find(S=>S.name===s)!=null&&s!=null&&c===!0?t.jsx(io,{active:c,payload:_,barName:s,getVendorName:b}):null,b=(c,_)=>{const S=Le(c);try{const k=_.split("_")[1];return e.top4VendorsAndOthers[S][parseInt(k)].vendor.name}catch(k){return console.warn("Was not able to parse vendor index for tooltip ",k),""}};return h==null?null:t.jsx(ho,{chartData:h,showBarHoverBackground:n,barElements:p(),customToolTipContent:t.jsx(g,{}),width:r,height:o,isDetailPage:i===!0})}const ho=({chartData:e,barElements:r,customToolTipContent:o,width:n,height:i,showBarHoverBackground:l=!1,isDetailPage:m})=>{const s=q(),d=Ve(e),h=l!==!1,p=m?(n-60)/H.operating_expenses_by_vendor*(H.operating_expenses_by_vendor-e.timeseries.length):20;return t.jsx(po,{width:n,height:i,children:t.jsx(le,{children:({height:y,width:g})=>t.jsxs(qe,{width:g,height:y,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:m?T[5]:30,margin:{top:5,right:p,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[t.jsx(Ue,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:s.colors.grey3}),t.jsx(Xe,{dataKey:b=>b.timeLabel.label,type:"category",axisLine:{stroke:s.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:s.colors.hero,...ee.extraSmallRegular.cssObject}}),t.jsx(Ze,{type:"number",axisLine:!1,tickLine:!1,tick:{color:s.colors.hero,...ee.extraSmallRegular.cssObject},tickFormatter:b=>Ae("0,0.[00]a",b,d)}),t.jsx(Qe,{wrapperStyle:{zIndex:2},cursor:h?{stroke:s.colors.background,strokeWidth:(g-120)/H.operating_expenses_by_vendor,fill:s.colors.background}:!1,content:o,allowEscapeViewBox:{x:!1,y:!0}}),r]})})})};function go(e){return{locale_id:e.localeId,show_negative_amount_in_parenthesis:e.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:e.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:e.filterAccountGroupsWithNilBalances,company_name:e.companyName,statement_file_type:e.statementFileType,timeframe:e.timeframe,timezone:e.timezone,additional_balances:e.additionalBalances,format:e.format,sort_key:e.sortKey,sort_order:e.sortOrder,is_compare_mode_on:e.isCompareModeOn,search_string:e.searchString}}function uo(e){const{isCompareModeOn:r,report:o,currentTenantCompanyName:n}=e,i=[];if(r&&(i.push("this_period_vs_last_period_percent"),i.push("this_period_vs_last_period")),o.dataAvailable!=null)return{localeId:B.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",companyName:n,statementFileType:"excel",timeframe:e.timeframe,timezone:e.timezone,additionalBalances:i,format:e.reportType,sortKey:e.sortKey,sortOrder:e.sortOrder,isCompareModeOn:e.isCompareModeOn,searchString:e.searchString}}function fo(e){const r=uo(e);if(r!=null)return yo(e.statementEndPoint,e.authParams,r)}async function yo(e,r,o){const n=B.getLocalizedStrings().downloadReport,i=`${e}?query=${encodeURIComponent(JSON.stringify(go(o)))}`;try{const l=await De({urlEndPoint:i,authParams:r,fileType:o.statementFileType});if(l.ok){const m=Ie(l.headers,n.defaultFileName),s=await l.arrayBuffer();Ne(s,m)}else console.error(`${n.reportErrorMessage} ${l.statusText}`)}catch(l){console.error(`${n.reportErrorMessage} ${JSON.stringify(l)}`)}}function bo({title:e,balances:r,config:o,nodeId:n}){return{children:[],id:n??U("title_string_only",[]),isLastNode:!1,reportElementData:{element:{kind:"title_string_only",title:e,data:r,numOfBalances:r.length},config:o}}}function xo({config:e,isLastNode:r,numOfBalances:o,opExByVendor:n,title:i,vendorRowIndex:l}){const m=n.account?.accountName??"-",s=n.classBase?.className??"-",d=U("vendor_row",[],i+m+s);return{children:[],id:d,isLastNode:r,reportElementData:{element:{kind:"vendor_row",title:i,data:n,numOfBalances:o,index:l},config:e}}}function Co({title:e,balances:r,config:o,numOfBalances:n,nodeId:i}){return{children:[],id:i??U("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:r,numOfBalances:n},config:o}}}const _o=(e,r,o,n=!0)=>{const i=o.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+1:e.filter.balancesRange.numberOfPeriods,l=e.totalBalances!=null?[...e.totalBalances.balances,...e.totalBalances.additionalBalances]:[];e.totalBalances?.totalBalance!=null&&l.push(e.totalBalances.totalBalance);const m=me({balances:l,config:o}),s=[];s.push(m);const d=B.getLocalizedStrings().vendors.opExByVendor,h=o.opexByVendorConfig?.sortOrSearchInProgress??!1,p=o.opexByVendorConfig?.pageFetchInProgress??!1;if(h===!0)[...Array(10)].forEach((y,g)=>{s.push(ae({title:`${g}+${d.loading}`,balances:l,config:o}))});else if(e.opexBalances.length>0){if(!r.searchString){const b=Co({title:B.getLocalizedStrings().chartCard.total,balances:e.totalBalances,config:o,numOfBalances:i});s.push(b)}const y=r.pageToken[r.timeframe],g=e.opexBalances.map((b,c)=>xo({config:o,isLastNode:c===e.opexBalances.length-1&&y==null,numOfBalances:i,opExByVendor:b,title:b.vendor.name,vendorRowIndex:c}));s.push(...g),p===!0&&[...Array(1)].forEach((b,c)=>{s.push(ae({title:`${c}+${d.loading}`,balances:l,config:o}))}),[...Array(1)].forEach((b,c)=>{s.push(Je({title:`${c}+${d.loading}`,balances:[],config:o}))})}return e.opexBalances.length===0&&h!==!0&&s.push(bo({title:B.getLocalizedStrings().vendors.opExByVendor.noResultsFound,balances:l,config:o})),{config:o,headerNodes:n?[m]:[],contentNodes:s}};function So(e,r,o,n=!0){Object.assign(e.config,r);const i=wo(o),l=me({balances:i,config:r});return{config:r,headerNodes:n?[l]:[],contentNodes:[l,...e.contentNodes.slice(1)]}}const wo=e=>e.totalBalances!=null?[...e.totalBalances.balances,...e.totalBalances.additionalBalances]:[],N={chartHeight:new V(288,360),wrapperPadding:new V(T[3],T[3],T[8]),contentPaddingLeft:new V(T[0],T[0],T[0]),contentPaddingRight:new V(T[3],T[3],T[8])},vo=u.div`
29
+ display: flex;
30
+ flex: 1 1 auto;
31
+ min-height: 100%;
32
+ flex-direction: column;
33
+ width: 100%;
34
+ background-color: ${e=>e.theme.colors.grey5};
35
+ padding: ${f.sp0};
36
+ gap: 2px;
37
+ `,ko=u.div`
38
+ position: relative;
39
+ box-shadow: ${e=>`2px 2px ${f.sp1} ${e.theme.colors.dropShadowNormal}`};
40
+ background-color: ${e=>e.theme.colors.grey5};
41
+ padding-left: ${e=>N.wrapperPadding.valuePx(e.windowSize)};
42
+ padding-right: ${e=>N.wrapperPadding.valuePx(e.windowSize)};
43
+ `,Bo=u.div`
44
+ display: flex;
45
+ width: 100%;
46
+ height: 100vh;
47
+ flex-direction: row;
48
+ justify-content: center;
49
+ align-items: center;
50
+ background-color: ${e=>e.theme.colors.grey5};
51
+ `,To=u.div`
52
+ display: flex;
53
+ width: 100%;
54
+ height: 100vh;
55
+ flex-direction: column;
56
+ justify-content: center;
57
+ align-items: center;
58
+ `,Po=u.div`
59
+ height: 96px;
60
+ width: 96px;
61
+ background: ${e=>e.theme.colors.background};
62
+ border-radius: 50%;
63
+ cursor: pointer;
64
+ & svg {
65
+ margin: ${f.sp5};
66
+ color: ${e=>e.theme.colors.grey1};
67
+ }
68
+ &:hover {
69
+ & svg {
70
+ color: ${e=>e.theme.colors.primary};
71
+ }
72
+ }
73
+ `,$o=u($e)`
74
+ margin-top: ${f.sp3};
75
+ color: ${e=>e.theme.colors.hero};
76
+ `,jo=u.div`
77
+ display: flex;
78
+ padding: ${f.sp2} ${f.sp0} ${f.sp4} ${f.sp0};
79
+ `,Oo=u.div``,Do=u.div``,Io=u.div`
80
+ display: flex;
81
+ flex: 1 1 auto;
82
+ flex-direction: column;
83
+ height: ${e=>N.chartHeight.valuePx(e.windowSize)};
84
+ padding-bottom: ${f.sp6};
85
+ `,No=u.div`
86
+ display: flex;
87
+ `,Eo=u.div`
88
+ margin-top: ${f.sp5};
89
+ margin-bottom: ${f.sp6};
90
+ `,Ao=u.div`
91
+ display: flex;
92
+ position: sticky;
93
+ justify-content: center;
94
+ padding-top: ${f.sp8};
95
+ padding-left: ${e=>N.wrapperPadding.valuePx(e.windowSize)};
96
+ background-color: ${e=>e.theme.colors.grey4};
97
+ `,Mo=u.div`
98
+ width: 100%;
99
+ height: calc(100vh - ${f.sp11});
100
+ `,Lo=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?t.jsx(Bo,{children:t.jsx(je,{size:"ExtraLarge",start:!0})}):null,fr=({report:e,vendorTabsToShow:r,uiState:o,downloadParams:n,onVendorTabSelectionChanged:i,onReloadReport:l,onBackClick:m,onFetchOpExByVendors:s,onAdditionalBalanceSelectionChanged:d,onTimeframeSelectionChanged:h,onSortOrderChanged:p,onSortOrSearchStarted:y,onVendorNameAndBalanceClicked:g,onPageFetchStarted:b,previousTabPosition:c,setPreviousTabPosition:_,updateDownloadStateHandler:S,onClearSearch:k,analytics:P,onClickMenuIcon:W})=>{const[j,A]=C.useState(o.searchString[o.timeframe]),[M,L]=C.useState(!1),w=J(),O=C.useRef(null),K=Ce(r),he=K.length>1,ge=B.getLocalizedStrings().reports.common,X=B.getLocalizedStrings().vendors,Z=q(),ue=["month","quarter"],fe=e.availableNumberOfPeriods!=null&&e.availableNumberOfPeriods<2,F=o.mode==="compare_mode"&&!fe,Y=e.allTimeframeTicks.length===0,{timeframe:$}=o,D=o.searchString[$];_e({componentName:"vendors.opex_by_vendor.list"});const ye=C.useCallback(v=>{s($,D,v)},[$,D,s]),be=C.useCallback((v,x)=>{window.scrollTo({top:O.current?.offsetTop,behavior:"smooth"}),v.length>0?(y(!0),s(x,v,!1)):(y(!1),k(x))},[k,s,y]),Q=C.useRef(Se((v,x)=>be(v,x),500,{trailing:!0})).current,xe=(v,x)=>{p(v,x,$),y(!0),s($,D,!1)};if(C.useEffect(()=>{async function v(){await fo({report:e,isCompareModeOn:F,downloadState:o.downloadState,reportType:"more_detailed",timeframe:o.timeframe,sortKey:o.sortKey[o.timeframe],sortOrder:o.sortOrder[o.timeframe],searchString:o.searchString[$],...n}),P?.trackDownload(z("operating_expenses_by_vendor"),R(o.timeframe),"excel",F),S("Completed")}M&&o.downloadState!=="In-Progress"&&(L(!1),S("In-Progress"),v())},[e,o,F,n,o.downloadState,M]),C.useEffect(()=>{A(D)},[D]),e.fetchState==="Error")return t.jsxs(To,{children:[t.jsx(Po,{"data-testid":E("op-ex-by-vendor-reload-page"),onClick:l,children:t.jsx(we,{})}),t.jsx($o,{children:ge.failed})]});const G=e.totalBalances?.totalBalance;if(o.sortOrSearchInProgress===!1&&o.pageFetchInProgress===!1&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"))return t.jsx(Lo,{fetchState:e.fetchState});if((e.fetchState==="Completed"||o.sortOrSearchInProgress===!0||o.pageFetchInProgress===!0)&&e.isReportGenerated===!0){const v=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(D?.length??0)>0,searchBarDataTestId:E("op-ex-by-vendor-search-bar"),searchPlaceHolder:X.common.searchPlaceholder,searchText:j??"",onSearchTextChanged:x=>{A(x),x.trim().length>=2?Q(x,$):x.trim().length==0&&Q("",$)},downloadPresent:!0}),t.jsx(ke,{downloadButtonDataTestId:E("op-ex-by-vendor-download"),downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:Y,isDownloading:o.downloadState==="In-Progress"}],onDownloadClick:async x=>{if(x==="excel")if(o.downloadState==="In-Progress"){console.log("Download is already in progress!");return}else L(!0)}}}})]});return t.jsxs(vo,{windowSize:w,children:[t.jsx(Be,{title:X.common.navBarTitle,subTitle:e.lastRefreshSuccessTime!=null?e.lastRefreshSuccessTime.utc(!0).fromNow():"",backgroundColor:Z.colors.grey5,onBackClick:m,rightSideComponent:v,showMenuIcon:w==="medium-compact"||w==="small",downloadPresent:!0,onClickMenuIcon:W,source:"OpExByVendorPage"}),t.jsxs(ko,{windowSize:w,children:[he?t.jsx(Te,{allTabs:K,selectedTab:K[1].id,containerStyle:{borderBottom:`2px solid ${Z.colors.grey3}`},onTabChange:x=>i(Pe(x.id)),previousTabPosition:c,setPreviousTabPosition:_}):null,t.jsx(Fo,{allTimeframeTicks:e.allTimeframeTicks,analytics:P,compareToggleDataTestId:E("op-ex-by-vendor-compare-toggle"),firstMonthOfFY:e.firstMonthOfFY,isCompareModeOn:F,mode:o.mode,onAdditionalBalanceSelectionChanged:d,onTimeframeSelectionChanged:h,selectedCOABalancesRange:e.filter.balancesRange,selectedTimeframe:o.timeframe,timeframes:ue,timeframeSwitcherDataTestId:E("op-ex-by-vendor-month-quarter-switcher")}),G!=null?t.jsx(Eo,{children:t.jsx(Ge,{balance:G,dateText:zo(G)})}):null,t.jsx(Vo,{report:e,isEmptyPeriod:Y})]}),t.jsx(Ro,{reference:O,report:e,uiState:o,isEmptyPeriod:Y,onAdditionalBalanceSelectionChanged:d,onVendorNameAndBalanceClicked:g,onSortOrderChanged:xe,handleFetchOpExByVendor:ye,onPageFetchStarted:b,analytics:P})]})}return t.jsx(t.Fragment,{})},Fo=({allTimeframeTicks:e,analytics:r,compareToggleDataTestId:o,firstMonthOfFY:n,isCompareModeOn:i,mode:l,onAdditionalBalanceSelectionChanged:m,onTimeframeSelectionChanged:s,selectedCOABalancesRange:d,selectedTimeframe:h,timeframes:p,timeframeSwitcherDataTestId:y})=>t.jsx(Do,{children:t.jsxs(Oo,{children:[t.jsx(jo,{children:t.jsx(We,{compareToggleDataTestId:o,timeframe:{allowedTimeframes:p,selectedTimeframe:h,onTimeframeSelectionChanged:g=>{r?.trackTimeframeSwitch(R(g),z("operating_expenses_by_vendor")),(g==="month"||g==="quarter")&&s(g),l==="compare_mode"&&!i&&m(i,i?["this_period_vs_last_period_percent"]:[])}},timeframeSwitcherDataTestId:y,toggle:{label:B.getLocalizedStrings().compareSwitchLabel,isOn:i,isToggleDisabled:!1,onValueChanged:g=>{r?.trackCompareMode(g,z("operating_expenses_by_vendor"),R(h)),m(g,g?["this_period_vs_last_period_percent"]:[])}}})}),t.jsx(ze,{firstMonthOfFY:n,timeframe:h,timeframeTicks:e,selection:{selectedTicks:re(e,d),highlightedOfSelectedTicks:re(e,d)}})]})}),Vo=({isEmptyPeriod:e,report:r})=>{const o=J();return e?t.jsx(No,{children:t.jsx(Ke,{title:B.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(Io,{windowSize:o,children:t.jsx(le,{children:({height:n,width:i})=>t.jsx(mo,{selectedRangeReport:r,width:i,height:n,isDetailPage:!0,showBarHoverBackground:!1})})})},Ro=({report:e,uiState:r,isEmptyPeriod:o,reference:n,onAdditionalBalanceSelectionChanged:i,onTableScroll:l,onSortOrderChanged:m,onVendorNameAndBalanceClicked:s,handleFetchOpExByVendor:d,onPageFetchStarted:h,analytics:p})=>{const y=r.mode==="compare_mode",g=w=>{p?.trackCompareFilterChange(w==="compare_mode_percent"?"percentage":"amount",z("operating_expenses_by_vendor"),R(r.timeframe),"dropdown"),i(y,[w==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period"])},b=r.selectedAdditionalBalances.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",[c,_]=C.useState(void 0),[S,k]=C.useState(void 0),P=J(),W=q(),j=!(P==="small"||P==="medium-compact");C.useEffect(()=>{const w={reportId:e.reportId,mode:r.mode==="compare_mode"?"this_period_vs_period_before":"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:Ee(),dataAvailable:e.dataAvailable,opexByVendorConfig:{sortKey:r.sortKey[r.timeframe],sortOrder:r.sortOrder[r.timeframe],isCompareModeOn:r.mode==="compare_mode",isAccountColumnShown:!0,isClassColumnShown:!0,onSortOrderChanged:m,sortOrSearchInProgress:r.sortOrSearchInProgress,pageFetchInProgress:r.pageFetchInProgress,onVendorNameAndBalanceClicked:s}};if(c==null||!ce(S,e)){const O=_o(e,r,w,j);k(e),_(O)}else{const O=So(c,w,e,j);_(O)}},[r.mode,e]);const A=w=>w<e.opexBalances.length,M=()=>{r.pageToken[r.timeframe]!=null&&e.fetchState==="Completed"&&(h(),d(!0))},L=e.opexBalances.length;return t.jsx(Ao,{windowSize:P,ref:n,children:o?t.jsx(Ye,{}):c!=null?t.jsx(Mo,{children:t.jsx(He,{backgroundColor:new Oe(W.colors.grey4),rootNodes:c,type:"name+balances_actual",compareMode:b,isSticky:{isStickyHeader:j,isStickyName:j},treeNodePadding:{left:N.contentPaddingLeft.value(P),right:N.contentPaddingRight.value(P)},nodeOpenStatus:{},scrollPosition:r.scrollPosition,onCompareModeChanged:g,onScroll:l,infiniteLoadingProps:{isItemLoaded:A,itemCount:L,loadMoreItems:M}})}):null})},zo=e=>{const r=e.startDate,o=e.endDate,{vendors:n,dateFormat:i}=B.getLocalizedStrings();return`${n.opExByVendor.in} ${r.format(i.visual.MMMYYFormat)} - ${o.format(i.visual.MMMYYFormat)}`};export{fr as default};
@@ -1,4 +1,4 @@
1
- import{d as i,V as n}from"./index-Dn4fsqrg.js";import{n as r}from"./mui-t9zesPMq.js";import"./sentry-BKz9JNP2.js";import"./liveblocks-CN1Pe_iM.js";import"./core-DTkIP9TV.js";import"./recharts-Cg59vN3o.js";import"./zeni-epic-state-D4InWuWM.js";import"./lottie-D0Yki-KW.js";import"./analytics-DRAIIXch.js";import"./lexical-BiXOi-Hk.js";import"./utils-BjuPsonu.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{y as i,V as n}from"./index-Dfs8yBxm.js";import{n as r}from"./mui-BoUXdMXW.js";import"./sentry-Dje-_Mky.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./zeni-epic-state-DjuGgMVt.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.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]="03bb0ffd-0bcb-4ee9-b17f-a16356e3bb01",e._sentryDebugIdIdentifier="sentry-dbid-03bb0ffd-0bcb-4ee9-b17f-a16356e3bb01")}catch{}})();const d=r.div`
2
2
  display: ${({isOpen:e})=>e?"block":"none"};
3
3
  position: fixed;
4
4
  top: 0;