@zeniai/web-cockpit-ui 1.14.97-qa → 1.14.98-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 (329) hide show
  1. package/dist/assets/ACHDetailsPage-DSdNOxQ9-Cve45-FP.js +21 -0
  2. package/dist/assets/{AIPerformancePage-4v4Fkm9f-CpEaAXB6.js → AIPerformancePage-TtdFArUl-j0kjTnVR.js} +108 -108
  3. package/dist/assets/AccountInfoPage-BVK7wWF2-D6Zwr__G.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Dv1IPcdF-DzX4-2vb.js → AccountInfoPageContent-BXX4TyeS-SAgRb0Wy.js} +19 -19
  5. package/dist/assets/AccountLockedInfoModal-CiHVEVZY-D75r_EpP.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DYKjrPwN-WMmhBBTN.js → AccountReconDetailsDrawerPage-BZsVhDyw-NNurOrkC.js} +54 -54
  7. package/dist/assets/{AccountRow-BM3xLbeh-CkaHX5cA.js → AccountRow-COxNWv3J-Dkf6Savq.js} +30 -30
  8. package/dist/assets/{AccountsPromoCardStack-CTkwARBJ-CweVbsOn.js → AccountsPromoCardStack-BW7r2R96-BzoEoVWx.js} +30 -30
  9. package/dist/assets/AddAddressForCardDrawer-BB7h_VuN-BW-_Qu7Y.js +6 -0
  10. package/dist/assets/{AddToWalletPage-OJBvAKUj-C4_vhGK0.js → AddToWalletPage-CXhBOHda-b2nCfyTx.js} +13 -13
  11. package/dist/assets/{AgingReportsPage-n-UKn3Ei-CUIQ2hVl.js → AgingReportsPage-CX3Te0mD-BjuuVeMz.js} +10 -10
  12. package/dist/assets/{AllUserItems-BsvKEVcx-lWN_YCkV.js → AllUserItems-Cd2jEIM9-DycIVbwH.js} +13 -13
  13. package/dist/assets/{ApAgingDetailPage-Duu2uAEr-C_ltQoSn.js → ApAgingDetailPage-BCBhgQDY-m3orWzJK.js} +5 -5
  14. package/dist/assets/{AppBasePage-DoCF494Z-Da8oOnmR.js → AppBasePage-BRcQ7IPJ-DssY-F_Q.js} +16 -16
  15. package/dist/assets/{AppDrawerContent-DM1t0oLS-DcvMiTTX.js → AppDrawerContent-DQlHQEcs-DrKgTlSj.js} +2 -2
  16. package/dist/assets/{ApprovalRulesSettingsPage-GZCo6_i2-DalFgYOv.js → ApprovalRulesSettingsPage-Cqt8FvLJ-CEOV0Ixl.js} +6 -6
  17. package/dist/assets/{ArAgingChart-CsFDVdeO-Dxvbr92R.js → ArAgingChart-BvAQf_dB-CCF75Uiv.js} +4 -4
  18. package/dist/assets/ArAgingDetailPage-BjvQEK0m-N2ygiYcL.js +46 -0
  19. package/dist/assets/{AttachmentView-B0d42oAf-DLojBuaF.js → AttachmentView-e6OZT5St-CRHdzPSa.js} +6 -6
  20. package/dist/assets/{BankAccountSection-Bgdk93V0-OiEcgwUp.js → BankAccountSection-DWKYMZid-XH_pxLOm.js} +7 -7
  21. package/dist/assets/BankAccountWarningSection-neFg-P9--B7Ex5Gby.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-BpwKq93l-Diplm4EJ.js → BankConnectionsSettingsPage-DLnQeHtD-CQ9CrcQ2.js} +16 -16
  23. package/dist/assets/BillDetailPage-Caang31I-CV8BSbsx.js +266 -0
  24. package/dist/assets/BillPayApprovalRuleDetailPage-4n9jmsl3-C-Id93Y1.js +27 -0
  25. package/dist/assets/BillPayApprovalRulesPage-BPX-ygl8-NB7YIybj.js +241 -0
  26. package/dist/assets/BillPayPromoPage-KojRs3th-CbM1NPfP.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-DRCjyEfB-BwNvkIBF.js → BillPaySetUpPage-CneIMbul-lrmOziwC.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-CdYb74V7-Hvn0Zx0R.js → BillingSettingsPage-35KDGxi0-Ct237R_x.js} +8 -8
  29. package/dist/assets/{BillsBulkReviewDrawerPage-D8EGfY5P-JLRt5jBO.js → BillsBulkReviewDrawerPage-B2SeSM_K-CBWl1wuN.js} +1 -1
  30. package/dist/assets/{BoxItem-WOrvBzns-C2HR99if.js → BoxItem-BGDuiQll-BzndiGjI.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CbqJIVpz-DDL3zyKh.js → BusinessVerificationPage-GZnJ9G9I-Crwn_TZB.js} +10 -10
  32. package/dist/assets/{CardNumberSubText-DBOH0_yP-RteuDDE7.js → CardNumberSubText-COHmqgEx-BK8P_Xt5.js} +8 -8
  33. package/dist/assets/{CashbackDetailPage-D-kXy6LW-DQIhS9dG.js → CashbackDetailPage-DvA_0POP-D_6kuYkj.js} +26 -26
  34. package/dist/assets/{ChargeCardDetailPage-BQnJsfn5-BwxXeP8t.js → ChargeCardDetailPage-DF69jsTG-COjz_Wle.js} +244 -244
  35. package/dist/assets/ChargeCardListPage-BaxxkyMM-Tr5RRdcf.js +412 -0
  36. package/dist/assets/{ChargeCardListTable-EGkwcy7i-BslVZQTH.js → ChargeCardListTable-BEYWfP5G-1q8VKxw1.js} +67 -67
  37. package/dist/assets/ChargeCardPaymentHistoryPage-5dwl-3gt-Cg-FZFeP.js +534 -0
  38. package/dist/assets/ChargeCardPromoPage-DXHFY90F-COAtEu6_.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-DRzB7Rt4-B94MoxdV.js → ChargeCardSetupPage-BsTAJGSf-BVABxQAh.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-C3NxKjmB-CdwuqWvx.js → ChargeCardStatementsPage-BwuOooT4-Ds9c5zWv.js} +8 -8
  41. package/dist/assets/{CheckDepositDrawerPage-ClxKj2js-BHYT0eg1.js → CheckDepositDrawerPage-CC3EUXpO-Fr7mH3zN.js} +17 -17
  42. package/dist/assets/{CollapsableReportTable-xkNXkjfh-C4fPtgFw.js → CollapsableReportTable-Bju2JSCg-BqWf1iHn.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BtUBatbQ-Dqym6ecM.js → CompanyOfficerDetailsSection-CtHtINKb-ChsViTKu.js} +30 -30
  44. package/dist/assets/{CompanyPassportCard-BOxM716U-BuYpv_IQ.js → CompanyPassportCard-ClihOV6I-659ckUvl.js} +7 -7
  45. package/dist/assets/{CompanyPassportPage-DzE7sm8S-B6uOWYjR.js → CompanyPassportPage-Bzbp9vtj-DZ2qH-RA.js} +40 -40
  46. package/dist/assets/{CompleteProfile-BjGSPASa-C-SekPbe.js → CompleteProfile-C88rpvIR-CPwa_ZcH.js} +3 -3
  47. package/dist/assets/ConfettiBurst-fYnxwqdQ-9H12a4VU.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-WQeDCj-E-Dh8vXIxB.js → CreateOrEditVendorPage-DJWcJCPR-VpXOBLk1.js} +20 -20
  49. package/dist/assets/CreditCardPaymentDrawerPage-nshXhNlE-CfhRwqnV.js +227 -0
  50. package/dist/assets/{CurrencySelectField-AjAWhg6e-Eqrjeqk5.js → CurrencySelectField-9MMlAXHh-7T5GvQvy.js} +4 -4
  51. package/dist/assets/CustomerOnboardingActivationPage-J6mQ99Q--BiV07KZX.js +88 -0
  52. package/dist/assets/CustomerOnboardingContainerPage-DHYXaV1V-BTZJkTlt.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B0WzN1Sx-aWM2Ir-Z.js → CustomerOnboardingDetailPageSkeleton-EBEAYH3x-DVqWwomd.js} +15 -15
  54. package/dist/assets/CustomerOnboardingNoStepsPage-_P1XRJy7-BBpsfMtj.js +66 -0
  55. package/dist/assets/{CustomerOnboardingPage-CvN9Jrdy-DuDNyyOP.js → CustomerOnboardingPage-BWvGF8wk-Gc8v-oNy.js} +4 -4
  56. package/dist/assets/CustomerOnboardingProductSuitePage-BWN72Maw-CVrAAnDn.js +202 -0
  57. package/dist/assets/{Dashboard-_o0Ftdv8-C8xZMg4n.js → Dashboard-Zq5BpBhF-C6unAaBQ.js} +55 -55
  58. package/dist/assets/{DashboardReportPage-Cu5wqWkj-CbPCJVeu.js → DashboardReportPage-Pie-FQ1e-CpPHLX-r.js} +20 -20
  59. package/dist/assets/DashboardSidebarBackgroundAnimation-BCWBgFUn-C6Sp2Ncg.js +12 -0
  60. package/dist/assets/{DepositAccTransactionItem-BOPK7-7P-MpTXf9zM.js → DepositAccTransactionItem-C6o7UraM-ERw30shi.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-oj9tntbI-fKCleTPc.js → DepositAccTransactionListPage-DWIzj9EC-C4ETOwPX.js} +4 -4
  62. package/dist/assets/{DomesticWireDetailsPage-FGdEilUB-B-HhXSdH.js → DomesticWireDetailsPage-BbuaFhlm-B7VB8oiV.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-c57lEf_V-s3fTRYjJ.js → DownloadOverlay-smXqu_-_-DbNqWY1P.js} +39 -39
  64. package/dist/assets/{DrawerPage-inbhWwND-BXcay5_9.js → DrawerPage-C-NGhaFc-Bdiyy2BL.js} +18 -18
  65. package/dist/assets/EditPeoplePage-Ck6tbODS-2oTO0N4I.js +55 -0
  66. package/dist/assets/EditReimbursementDetailPage-CYCB7XUZ-Bkc4_Xh-.js +865 -0
  67. package/dist/assets/EntityDetailPage-DEzsWzSU-C1IWQ2YR.js +18 -0
  68. package/dist/assets/{EntitySummarySection-CHgrPo86-CzG-_BY7.js → EntitySummarySection-D7ui3VxW-BWyvfwWL.js} +9 -9
  69. package/dist/assets/{ExpenseAutomationOverviewPage-QZT_UFXf-1st1eoKk.js → ExpenseAutomationOverviewPage-Cci1pEY4-BQvp8jPr.js} +27 -27
  70. package/dist/assets/{ExpenseAutomationPage-Y7V_Z8rd-THbf8Vnw.js → ExpenseAutomationPage-DsPGEQpL-CcB9eHac.js} +63 -63
  71. package/dist/assets/{ExpressPayPage-CIp_R6ZQ-cs4dOpKa.js → ExpressPayPage-ddPMg7wE-Tlo0T7f7.js} +10 -10
  72. package/dist/assets/{FeaturePreviewPage-qsUO3mUu-DF4yFb7P.js → FeaturePreviewPage-B7rx89MJ-NE6QqmUF.js} +3 -3
  73. package/dist/assets/{FollowStepsSection-ebmR-eLP-DjjyPWl7.js → FollowStepsSection-WUNvyjJh-Bpyevbi9.js} +49 -49
  74. package/dist/assets/{GlobalReviewListPage-9V-xoqvs-Dr_0Sl1U.js → GlobalReviewListPage-CrEL8cxP-BVjE_r1i.js} +14 -14
  75. package/dist/assets/{InformationCardStack-DnB7TmOk-DUfCbiw0.js → InformationCardStack-cYN7bwE3-B7UR3-b4.js} +8 -8
  76. package/dist/assets/{InsightsCardStack-BBczCYEz-C7aeJZwT.js → InsightsCardStack-CAuhoPST-MWY5O8lc.js} +12 -12
  77. package/dist/assets/InsightsSection-9xZ9BN4e-D22swiZq.js +27 -0
  78. package/dist/assets/{IntegrationsSettingsPage-CByj2tO4-B4RJ2uIA.js → IntegrationsSettingsPage-CBqEJpyq-Bl--bqo-.js} +10 -10
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-4-pl1ozv-BOfMVpiR.js → InternationalWireSwiftDetailsPage-Bg2_G0O4-DwQXwZkY.js} +17 -17
  80. package/dist/assets/{InternationalWireVerificationPage-kIajgPZt-D61ceEqI.js → InternationalWireVerificationPage-BdaKAePs-BIYMiNd6.js} +26 -26
  81. package/dist/assets/{InviteFormPage-XsnZcAvb-BvtcZ_89.js → InviteFormPage-a7CtHDQi-gCSqizmu.js} +24 -24
  82. package/dist/assets/{InvitePageListView-HfsehyxK-D8xsgZY9.js → InvitePageListView-D0flsJMi-CW5tcQ7p.js} +78 -78
  83. package/dist/assets/InvitePeoplePage-xJZ4CmaB-D0fUyZVv.js +12 -0
  84. package/dist/assets/{InvoiceUploadSection-DPd4VmqZ-DUrq1x_3.js → InvoiceUploadSection-D6gMuygS-CT-0_4kq.js} +4 -4
  85. package/dist/assets/{IssueChargeCardPage-xbfFhV0O-Cj6BbItj.js → IssueChargeCardPage-_zy-SJN0-qq3fKGX-.js} +34 -34
  86. package/dist/assets/{LabeledAddressValue-CB_KH7v5-DxYlmu7D.js → LabeledAddressValue-CXqpyfBQ-40JlhWdQ.js} +2 -2
  87. package/dist/assets/{LabeledAddressValueField-Bt41wdNQ-CTr4nBdf.js → LabeledAddressValueField-D-0wb98p-CSTw9NrL.js} +4 -4
  88. package/dist/assets/LabeledControlledCheckBoxField-CcPruRSO-BooOk31f.js +16 -0
  89. package/dist/assets/{LabeledCreatableSingleSelectField-fycRE7PX-BIzidcju.js → LabeledCreatableSingleSelectField-B-OgiRpS-D789AeMD.js} +4 -4
  90. package/dist/assets/LabeledDocumentField-Bo6fnkUs-BetKwcOR.js +41 -0
  91. package/dist/assets/{LabeledDropDownFormattedTextField-DGb_bDyp-mUPdI7Ad.js → LabeledDropDownFormattedTextField-D54g8qxW-Cnlp1a42.js} +7 -7
  92. package/dist/assets/{LabeledText-yhm8qxrA-vCsbkcLE.js → LabeledText-BJi28Cmu-KVGobttz.js} +3 -3
  93. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CgA4UPJh-BJTUh2FG.js → LabeledUserSingleSelectWithSubtitlesField-Dgn_WK0p-B4rGn1v8.js} +23 -23
  94. package/dist/assets/{LabeledZeniRolesDropDownField-DGkU72cd-Dgxm7I9J.js → LabeledZeniRolesDropDownField--9AjGtEh-1hSD4x8B.js} +25 -25
  95. package/dist/assets/LinkJETransactionPage-CejrEmB0-M4S6E6Jj.js +98 -0
  96. package/dist/assets/{LockCardPage-DaVzuRMw-CnTFUbry.js → LockCardPage-4ihNCAhG-Zb-UDpxz.js} +21 -21
  97. package/dist/assets/{LowBalancePopup-Dd9HLWlh-gcMfj24v.js → LowBalancePopup-YdUL24Wb-PfAaWR1_.js} +4 -4
  98. package/dist/assets/MagicLinkACHDetailsPage-BNATDZtB-DsiI-0KM.js +1 -0
  99. package/dist/assets/MagicLinkDomesticWireDetailsPage-ZGyx0g5t-8Tuy5QId.js +1 -0
  100. package/dist/assets/MagicLinkInternationalWireDetailsPage-CP5KtUSE-HiNxzZ5H.js +1 -0
  101. package/dist/assets/{MagicLinkSuccessPage-DbhdGmhh-q-iiCtPe.js → MagicLinkSuccessPage-B-YTZWYj-DKWdsZyd.js} +5 -5
  102. package/dist/assets/{MagicLinkTitleSection-Bx92291D-CyS-tk36.js → MagicLinkTitleSection-RHv_GuEq-c-uPcRfj.js} +4 -4
  103. package/dist/assets/MailingDetailsSection-DAryNhi6-DIXrN7jG.js +21 -0
  104. package/dist/assets/Menu-IHf_FfRX-LPFIlYqd.js +17 -0
  105. package/dist/assets/{MyBankConnectionsSettingsPage-Dn9AT8p1-BLkHFwVd.js → MyBankConnectionsSettingsPage-CryrCaA2-C1O3R525.js} +4 -4
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-DrQu6s7j-B0h6C04K.js → MyPendingActivationChargeCardListPage-DmmwfwjV-Dzs7maAE.js} +1 -1
  107. package/dist/assets/{MyProfileSettingsPage-CBvjEd7r-CkA2RGi3.js → MyProfileSettingsPage-BspAqqsh-B3zEQ3j1.js} +10 -10
  108. package/dist/assets/{NavBarWithPicker-aXn2QYh1-D_CWGVEz.js → NavBarWithPicker-C7xr7tTs-CsJWjiOL.js} +5 -5
  109. package/dist/assets/{NavigationArrow-JLUXaIrz-B7EVHrI2.js → NavigationArrow-rBOsZ92g-CvJ7c17R.js} +8 -8
  110. package/dist/assets/{NavigationDots-B0_dDbgu-CFZagPOV.js → NavigationDots-CautbD-g-AEb3JA6J.js} +4 -4
  111. package/dist/assets/{NewGlobalMerchantPage-B_019EtP-CsFXTgsg.js → NewGlobalMerchantPage-DD4raaWT-0NjfCgam.js} +12 -12
  112. package/dist/assets/NoDataChart-58kSyixy-CZ5Rv3U9.js +26 -0
  113. package/dist/assets/NoDataTable-aDUu8tCI-CN9poHgG.js +8 -0
  114. package/dist/assets/{NotFoundPage-BEya4LS2-BJjPiPIQ.js → NotFoundPage-D-nIKeoL-DS39BiNV.js} +7 -7
  115. package/dist/assets/{NotificationSettingsPage-C9SjRKCu-DGlHcshq.js → NotificationSettingsPage-DP3xTLvr-C8krffT3.js} +23 -23
  116. package/dist/assets/NotificationsListConfig-CAW8P9gG-CmdQuS9n.js +1 -0
  117. package/dist/assets/{NotificationsPage-FJHx_WBG-DgLTiy0T.js → NotificationsPage-DkDGBzhT-B-IU27Zt.js} +49 -49
  118. package/dist/assets/{OpExByVendorPage-Dxk68R6U-DdpbGAZs.js → OpExByVendorPage-CtcdC3f9-DjyRt_lN.js} +12 -12
  119. package/dist/assets/{OverlayContainerPage-Daz3A7cI-BmuFuX61.js → OverlayContainerPage-Daz3A7cI-D0iblwqz.js} +1 -1
  120. package/dist/assets/PandLWithForecastPage-CpCiLOIl-DtQtxcyB.js +107 -0
  121. package/dist/assets/{PaymentAccountSetupBillingAddressSection-s9EEHxoG-B1Y9jQbA.js → PaymentAccountSetupBillingAddressSection-BjcqKBLG-BtuRZNcH.js} +8 -8
  122. package/dist/assets/{PeoplePage-DN5VtG7Q-1M0QHDlz.js → PeoplePage-DCI7v6ru-BQGxB0UL.js} +29 -29
  123. package/dist/assets/Preview-D56XCw0A.js +1 -0
  124. package/dist/assets/{ProductsCarousel-6gthLCkf-BWrWrJUL.js → ProductsCarousel-Dqm1bC2_-C9nhPtyf.js} +8 -8
  125. package/dist/assets/{PromoBaseCards-CzPzj69A-C1q5ihB2.js → PromoBaseCards-dqE7GIJ6-CjPZd9YZ.js} +6 -6
  126. package/dist/assets/{QBOConnectionDialog-BFy0lMZd-BkWnfDHf.js → QBOConnectionDialog-CGPNOde4-iJ0HQZcD.js} +6 -6
  127. package/dist/assets/{QBOSetupSection-DcLYyQ5m-B5Os9bOC.js → QBOSetupSection-HhIe91hw-09HBN8uJ.js} +16 -16
  128. package/dist/assets/ReimbursementApprovalRuleDetailPage-Cx24E4je-CUe9BrFq.js +32 -0
  129. package/dist/assets/ReimbursementApprovalRulesPage-DRAkofwN-Cw1wl-sh.js +243 -0
  130. package/dist/assets/ReimbursementDetailPage-DToZctqy-CIF8fvzJ.js +314 -0
  131. package/dist/assets/{ReimbursementPromoPage-MweW-4DO-CMYyia2y.js → ReimbursementPromoPage-BZoZAydM-_dTEqW97.js} +10 -10
  132. package/dist/assets/{ReimbursementSetUpPage-BD2LWlbW-CtOsTEWl.js → ReimbursementSetUpPage-C8Oat8g_-oUMPzcZW.js} +10 -10
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DV_PLm_g-27f2MmSl.js → ReimbursementsBulkReviewDrawerPage-BSXV7fzi-DApiFQ6Z.js} +1 -1
  134. package/dist/assets/{ReloadCard-9KpQCrce-DN4r5hT-.js → ReloadCard-BMn_7fNI-DobUmKfH.js} +5 -5
  135. package/dist/assets/{ReportTableViewSelector-BPliEsuo-CmKeZZbG.js → ReportTableViewSelector-BE2BuEqj-Cv65zIMR.js} +8 -8
  136. package/dist/assets/{ReportsPage-h2DAaQfK-CbE6jqoD.js → ReportsPage-C4HDLBDq-nmW__s9z.js} +14 -14
  137. package/dist/assets/{RevenueChart-DY2s_upY-WoF2sAvI.js → RevenueChart-q15U89i8-DTxTOafZ.js} +2 -2
  138. package/dist/assets/{ReviewDetailsPage-BiYxRnvA-CBiHyEqk.js → ReviewDetailsPage-4mhC2jOb-D75AxfOq.js} +20 -20
  139. package/dist/assets/{ReviewOverlay-BvPN7IKD-D3oRKOju.js → ReviewOverlay-Co22Cju1-u5iV88jr.js} +12 -12
  140. package/dist/assets/RoleWithToolTip-DUEwWP4s-ChXNLhUR.js +22 -0
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DlXqz1QQ-Bo3K9iaU.js → ScheduleDetailsFixedAssetsPage-DkKSZ0sJ-zAFG0_v4.js} +13 -13
  142. package/dist/assets/{ScheduleDetailsPage-DebosLND-CZ8MFP_N.js → ScheduleDetailsPage-B98XJtoQ-DL_QucDj.js} +3 -3
  143. package/dist/assets/{ScheduleSequenceTable-Dd4Ep_c0-6ceLm8iU.js → ScheduleSequenceTable-DXLxjeWw-DWriUjIB.js} +36 -36
  144. package/dist/assets/ScreenRoutes-BRmamOlw.js +201 -0
  145. package/dist/assets/{SetUpAccountSection-Dhb8A0Oe-Bi3VI7hN.js → SetUpAccountSection-AZk8_IC3-BgRTrYL7.js} +8 -8
  146. package/dist/assets/SignIn-C5PcCpLW-Da05HaL3.js +480 -0
  147. package/dist/assets/{SignInScreen-xSTOtEpZ.js → SignInScreen-DJh1xRdL.js} +1 -1
  148. package/dist/assets/SpendManagementListViewPage-BmZeAl5K-BgHQbDY0.js +134 -0
  149. package/dist/assets/SpendManagementPerTabPage-BfJ_icLF-CGfN-F05.js +785 -0
  150. package/dist/assets/SpendManagementSection-DoJcpweo-BSx0Jax5.js +246 -0
  151. package/dist/assets/StatementItem-Bw66NYeY-DcIvhMqc.js +31 -0
  152. package/dist/assets/{StatementsPage-DVR5LhTi-DSGHS9Ki.js → StatementsPage-CBIa00EK-BjIWTE3I.js} +3 -3
  153. package/dist/assets/{StatusSwitcher-Cy5ITFgi-0cTJJtF0.js → StatusSwitcher-Blc3-MDg-B12KNYTc.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-DhsES2OW-m-ce65D6.js → SubTabSwitcher-3oir5lzq-Cmzice7W.js} +4 -4
  155. package/dist/assets/{SummaryCard-Byv4Hw8Q-Bwkpu24g.js → SummaryCard-DO09QLUp-DPmkfJxO.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-CVXMOPf2-Dj56mspp.js → TaskManagementPage-C_EZJRtM-P8DErI3a.js} +42 -42
  157. package/dist/assets/TimeRangeSwitcher-mYZQR43P-BLWBlyWb.js +64 -0
  158. package/dist/assets/{TimeframeSwitcher-BK-qliOX-ClICCmUP.js → TimeframeSwitcher-BsGp8KOv-CTY5_Ouk.js} +6 -6
  159. package/dist/assets/TimeframeSwitcherWithToggle-wwIX-Q6T-DmtPgL2u.js +31 -0
  160. package/dist/assets/{TopExCard-o4Q3ze1b-DtPXCUdp.js → TopExCard-Cn8iW3fO-DMUR1qBk.js} +12 -12
  161. package/dist/assets/{TopExDetailPage-BsCwwwDi-wFH0rcwn.js → TopExDetailPage-BS8qCkLq-Cq17vLoi.js} +12 -12
  162. package/dist/assets/{TransactionDetailPage-rpCG65yC-CSnR3Ukp.js → TransactionDetailPage-CUeVImfA-D9txujQI.js} +36 -36
  163. package/dist/assets/{TransactionList-YI4oZaim-BNe9KuEQ.js → TransactionList-CnjoEn7K-D2hvg7ek.js} +15 -15
  164. package/dist/assets/{TransactionListBig-D_Jw9Ip2-B9g4IUd7.js → TransactionListBig-xVKV1MCm-GtEvft_N.js} +12 -12
  165. package/dist/assets/TransactionListPage-DDNtUv3t-Dwe7tcE5.js +35 -0
  166. package/dist/assets/TransactionVendorDetailPage-BTufZurh-CGfPDjZ_.js +80 -0
  167. package/dist/assets/{TransferDrawerPage-BnEVH7Mc-DX9bFdaO.js → TransferDrawerPage-uBmvyc-P-CFJl7D9L.js} +34 -34
  168. package/dist/assets/{TreasuryOverviewPage-C927Rdkg-BnjOV5zI.js → TreasuryOverviewPage-DJcUyLa4-Cd3rdx_U.js} +47 -47
  169. package/dist/assets/{TreasuryPromoPage-C6D3bF2f-Ci0jhUVu.js → TreasuryPromoPage-DymCO6nN-Dc1dLp52.js} +14 -14
  170. package/dist/assets/{TreasuryStatementsPage-BE54gWl6-CI8n3B5p.js → TreasuryStatementsPage-YEgI38zU-DOHp07qg.js} +4 -4
  171. package/dist/assets/{TreasuryTaxLetterPage-BaHut8Wc-Draz_l3Z.js → TreasuryTaxLetterPage-CYO6JXCO-fy_exAGm.js} +3 -3
  172. package/dist/assets/{TrendChart-BI4Tz813-BAnL14wu.js → TrendChart-Dzc9yPKs-Blv6Qzrf.js} +4 -4
  173. package/dist/assets/{TrendWithTransactions-BicIDSlC-C7MC_PA1.js → TrendWithTransactions-C2HIrxbU-BSlQs2Tq.js} +7 -7
  174. package/dist/assets/{UncategorizedAccountsMappingPage-sbn4Sdr2-DCMB0DYi.js → UncategorizedAccountsMappingPage-CN3CI6bw-zjOv8nCW.js} +13 -13
  175. package/dist/assets/{UnitIntegrationPage-CZUyjeh5-BXjLciPL.js → UnitIntegrationPage-EaVWz4pX-CbKtqluY.js} +11 -11
  176. package/dist/assets/UploadAdditionalDocumentOverlay-DIL6E7Sd-BEDKH1e3.js +38 -0
  177. package/dist/assets/Vendor2FAPopup-BxAm0k92-Dk5tVOzX.js +1 -0
  178. package/dist/assets/VendorACHDetailsPage-DF0jHzqw-CNLQ8AnP.js +1 -0
  179. package/dist/assets/{VendorDetailPage-CLFKkF8I-Bp6iAqiQ.js → VendorDetailPage-C_B_CmoV-DZeP35Np.js} +87 -87
  180. package/dist/assets/VendorDomesticWireDetailsPage-a52VbRia-DcoKPqJx.js +1 -0
  181. package/dist/assets/{VendorFiling1099EditablePage-CrWrhHZl-CtI8BHQ6.js → VendorFiling1099EditablePage-Dzgzl_4E-VsmZ5Vuv.js} +17 -17
  182. package/dist/assets/{VendorFirstReviewPage-C6MnbIan-BivIxmzp.js → VendorFirstReviewPage-mfIvCyFK-ApwBXjUo.js} +60 -60
  183. package/dist/assets/{VendorInternationalWireDetailsPage-CzPRK4E2-Cze5LPGB.js → VendorInternationalWireDetailsPage-CNs1VqUa-DbFJLYLp.js} +17 -17
  184. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BoEZ09xC-egxnMP7A.js +1 -0
  185. package/dist/assets/{VendorsAccountsSection-CVh1n81R-KpYWigij.js → VendorsAccountsSection-B6DkSP2a-Ct-pliYw.js} +5 -5
  186. package/dist/assets/{VerifyDevice-BHocExfO-CwHem-So.js → VerifyDevice-Cu9P83rS-BlGa7yZF.js} +7 -7
  187. package/dist/assets/{VideoPlayer-9rYRtSLf-DQLpaLZE.js → VideoPlayer-Dml6r7Q7-CtFMcnbA.js} +2 -2
  188. package/dist/assets/{VideoPopup-D1o92dj6-pqLJzdXX.js → VideoPopup-B7E5ZfFp-BvZy2q4i.js} +4 -4
  189. package/dist/assets/{WarningsDrawerPage-CzufXgaN-C2dHRi6W.js → WarningsDrawerPage-BZU8XDHH-Djgf6BN0.js} +3 -3
  190. package/dist/assets/{ZeniAccountDetailPage-ZZ3Ra-Jf-DYyI3UYD.js → ZeniAccountDetailPage-Do5LJYN4-DOVBM5Q5.js} +31 -31
  191. package/dist/assets/{ZeniAccountListViewPage-Cxid0mfh-DcMdPWox.js → ZeniAccountListViewPage-Be5rl4e6-BE0wkZ9j.js} +10 -10
  192. package/dist/assets/ZeniAccountNavBarPieces-0h-vfuVY-BqB9OPYl.js +14 -0
  193. package/dist/assets/{ZeniAccountPromoPage-YIYFkPIB-Dotnyt9B.js → ZeniAccountPromoPage-BMULic13-C4Ac4YqS.js} +22 -22
  194. package/dist/assets/{ZeniAccountSetupPage-BJ9UJ0dP-D2niJExq.js → ZeniAccountSetupPage-D_doc0Sf-BchKN68c.js} +1 -1
  195. package/dist/assets/{ZeniCopyright-CztmWsFm-H9omyc8d.js → ZeniCopyright-CDfvakjf-8KnokS3w.js} +1 -1
  196. package/dist/assets/{ZeniTransferAmountSlider-g9qU5Lsq-DxB3ARKz.js → ZeniTransferAmountSlider-BdZ5l3Hh-C3Uey-AS.js} +7 -7
  197. package/dist/assets/{add-to-wallet-DgdBD8_G-C6YdFVXu.js → add-to-wallet-DgdBD8_G-Bp_adk0W.js} +1 -1
  198. package/dist/assets/{analytics-DP4t3Pvl.js → analytics-GoB8GGlk.js} +1 -1
  199. package/dist/assets/{analyticsHelper-D4lKCWjQ-B-wZ4oH3.js → analyticsHelper-C164AjRf-tG0aq5YR.js} +1 -1
  200. package/dist/assets/analyticsHelper-OMYXGOV0.js +1 -0
  201. package/dist/assets/{arrow-south-east-round-PEovUgvH-B0Djnnq_.js → arrow-south-east-round-PEovUgvH-BlptIYjS.js} +1 -1
  202. package/dist/assets/{auto-transfer-rule-mbafm5D3-D68LcCX2.js → auto-transfer-rule-mbafm5D3-DNmdc0t7.js} +1 -1
  203. package/dist/assets/{chartTypes-BPPSjkhb-BtU1dRiX.js → chartTypes-DQ1OffIu-Bo_aesHa.js} +1 -1
  204. package/dist/assets/{commonDimensions-Ds75pRzR-CtGrNWAH.js → commonDimensions-j5_IHOmP-jvW6K-um.js} +1 -1
  205. package/dist/assets/{constants-kbx9whap.js → constants-DTxI1rHn.js} +1 -1
  206. package/dist/assets/{core-CBymMU6x.js → core-cG0U1y2d.js} +2 -2
  207. package/dist/assets/{dash.all.min-BALkicwi.js → dash.all.min-CKz_ZRDI.js} +1 -1
  208. package/dist/assets/{detailCommon-DdZdfmYT-BRAdodjU.js → detailCommon-BdYIBs8o-CJ5ceH6M.js} +6 -6
  209. package/dist/assets/downloadPdf-BduTAGPj-DUom1tyc.js +1 -0
  210. package/dist/assets/{empty-DSFatrf0.js → empty-DAIP1XxB.js} +1 -1
  211. package/dist/assets/empty-D_oWKko5.js +1 -0
  212. package/dist/assets/epic-4bGyY7Fz.js +2 -0
  213. package/dist/assets/{gift-box-Cmt9OgIZ-CcnP1Mgt.js → gift-box-Cmt9OgIZ-CTtI5cXz.js} +1 -1
  214. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CUWIryFn.js → graphic-no-data-l-DU4J8fDt-PUQeicgl.js} +1 -1
  215. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BJnsDnCG.js → graphic-no-data-net-burn-l-CzmycA0m-BwRajxvj.js} +1 -1
  216. package/dist/assets/{handshake-BPg58FML-knekKUs7.js → handshake-BPg58FML-BXfsCAUf.js} +1 -1
  217. package/dist/assets/{empty-CvBQFZBN.js → index-BMQnSjFr.js} +1 -1
  218. package/dist/assets/{index-D9zkGC9B.js → index-BqrFe7eC.js} +1 -1
  219. package/dist/assets/{index-uZV8M_AO.js → index-CO_Updpp.js} +4424 -4416
  220. package/dist/assets/{index-frek1-on.js → index-CpulHfxu.js} +1 -1
  221. package/dist/assets/index-D4nV_3XK.js +1 -0
  222. package/dist/assets/{index-BxjA4a5B.js → index-DVGnYxP0.js} +1 -1
  223. package/dist/assets/{index-t4orGi4S.js → index-uRSEmDsl.js} +1 -1
  224. package/dist/assets/{lexical-CmdNRU7n.js → lexical-CUq6kk0g.js} +1 -1
  225. package/dist/assets/{liveblocks-GlEiSPeI.js → liveblocks-BOlC_Koo.js} +1 -1
  226. package/dist/assets/{lottie-CBgZHwli.js → lottie-DQ5EyuJ6.js} +2 -2
  227. package/dist/assets/mapLoadingInProgressToTreeNode-kWMAzMb3-CMOJHu7q.js +1 -0
  228. package/dist/assets/mapSectionWithAcOnlyToTreeNode-CSuXPDoO-BSS8TRaL.js +1 -0
  229. package/dist/assets/mapSpacerToTreeNode-BjnjpyM6-BNLh9WdA.js +1 -0
  230. package/dist/assets/mapTimeframeBalancesToTreeNode-CaRKUf6w-8AEXCCet.js +1 -0
  231. package/dist/assets/mapTimeframeBalancesToTreeNode-XslT-q64-Q3w1WkcY.js +1 -0
  232. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-ByvQizpc-BItBTBN2.js +1 -0
  233. package/dist/assets/{mui-0an3sj0x.js → mui-ByF8ZmHV.js} +1 -1
  234. package/dist/assets/{page-detail-CWX5S47F-BBk9EC3A.js → page-detail-CWX5S47F-C2KjOx45.js} +1 -1
  235. package/dist/assets/{radio-default-CiSgisfh-C5Myz-XF.js → radio-default-CiSgisfh-B7-vB3nP.js} +1 -1
  236. package/dist/assets/{react-BBz2ZJU4.js → react-B1eYDq6e.js} +3 -3
  237. package/dist/assets/{react-DFeWd6RH.js → react-B20ZDkLv.js} +2 -2
  238. package/dist/assets/{react-HGxWu6DA.js → react-B3-oq61_.js} +2 -2
  239. package/dist/assets/{react-B5nMiO6o.js → react-BU_tzuye.js} +1 -1
  240. package/dist/assets/{react-CzdhBOak.js → react-CeCukAHo.js} +1 -1
  241. package/dist/assets/{react-D4nAWD3E.js → react-D74rpLXu.js} +1 -1
  242. package/dist/assets/{react-BoXueK1O.js → react-iY_JqSpg.js} +2 -2
  243. package/dist/assets/{react-D9E37yvm.js → react-osFWCkxJ.js} +2 -2
  244. package/dist/assets/{recharts-YmjXe7Hc.js → recharts-C9z9JCsM.js} +1 -1
  245. package/dist/assets/{sentry-DBL0vpYV.js → sentry-DdXOXL3j.js} +2 -2
  246. package/dist/assets/{shield-DOlUxcFf-BTDJ5sGc.js → shield-DOlUxcFf-hMFlex27.js} +1 -1
  247. package/dist/assets/toCOABalancesWithID-BA4WkU1y-CDNy4Vu0.js +1 -0
  248. package/dist/assets/toChartData-DrvhJgTD-N2b3lY8k.js +1 -0
  249. package/dist/assets/{uploadAttachment-B4ddYCCL-CAA2Hylg.js → uploadAttachment-DiJJciQx-DORmL_G6.js} +27 -27
  250. package/dist/assets/{uploadReceipts-CPw64UYa-CqYUQW_x.js → uploadReceipts-CPw64UYa-CIYZXcqS.js} +1 -1
  251. package/dist/assets/{url-Cu1N4ZsY.js → url-DnfeNFje.js} +1 -1
  252. package/dist/assets/{url-BhkSeX_h.js → url-PLN9h9fH.js} +1 -1
  253. package/dist/assets/{useLongPress-GCK2COYQ-BDVexwt4.js → useLongPress-GCK2COYQ-aie8BHVS.js} +1 -1
  254. package/dist/assets/{usp-line-BBd1wKwW-BMT__nj-.js → usp-line-BBd1wKwW-nbZRH-xL.js} +1 -1
  255. package/dist/assets/{utils-C6VMCny4.js → utils-BMrfBn9K.js} +1 -1
  256. package/dist/assets/{zeni-epic-state-EnVSjANH.js → zeni-epic-state-BiQIJCwr.js} +32 -32
  257. package/dist/index.html +1 -1
  258. package/package.json +4 -4
  259. package/dist/assets/ACHDetailsPage-BRWOdhMx-CHW4Y4oA.js +0 -21
  260. package/dist/assets/AccountInfoPage-Ca_vKG58-Ck55n_mz.js +0 -18
  261. package/dist/assets/AccountLockedInfoModal-CEk5d9hq-uvZlRTJb.js +0 -59
  262. package/dist/assets/AddAddressForCardDrawer-DfOyebHX-njcuq535.js +0 -6
  263. package/dist/assets/ArAgingDetailPage-CaOr6vAU-BxYWpi7f.js +0 -46
  264. package/dist/assets/BankAccountWarningSection-DMRmF2yM-B4qHDBYu.js +0 -51
  265. package/dist/assets/BillDetailPage-BG7FhHEq-CfxlpdIE.js +0 -266
  266. package/dist/assets/BillPayApprovalRuleDetailPage-BAK1Gfko-BXzjYi7t.js +0 -27
  267. package/dist/assets/BillPayApprovalRulesPage-DiCNUU-G-l7GsIqqs.js +0 -235
  268. package/dist/assets/BillPayPromoPage-aGKOv8Ur-BRhKMOSj.js +0 -84
  269. package/dist/assets/ChargeCardListPage-130ILwkr-CpoDSUvy.js +0 -412
  270. package/dist/assets/ChargeCardPromoPage-BwqrXrY--CRkcpsfe.js +0 -222
  271. package/dist/assets/ConfettiBurst-1rYKpbAj-Bd_yylF7.js +0 -1
  272. package/dist/assets/CreditCardPaymentDrawerPage-Q12y6HMX-BGJkHg58.js +0 -224
  273. package/dist/assets/CustomerOnboardingActivationPage-BJhw-PvI-xIXhat36.js +0 -88
  274. package/dist/assets/CustomerOnboardingContainerPage-C9radmIS-CXZImNkS.js +0 -1
  275. package/dist/assets/CustomerOnboardingNoStepsPage-CNni6chX-DC1N045b.js +0 -66
  276. package/dist/assets/CustomerOnboardingProductSuitePage-CZkX9ur7-BRK0kxfQ.js +0 -202
  277. package/dist/assets/DashboardSidebarBackgroundAnimation-Bl8Ss6Gf-DRAJtWei.js +0 -12
  278. package/dist/assets/EditPeoplePage-DJthuIP4-CYsD3t6G.js +0 -55
  279. package/dist/assets/EditReimbursementDetailPage-Bt7XKq5h-Dq3ebm9k.js +0 -865
  280. package/dist/assets/EntityDetailPage-DbTiF9Hs-Dc_lF-AM.js +0 -18
  281. package/dist/assets/InsightsSection-BTXj5WUe-DRPj9Z-N.js +0 -27
  282. package/dist/assets/InvitePeoplePage-DrBtwpMH-ClaPxkWo.js +0 -12
  283. package/dist/assets/LabeledControlledCheckBoxField-Btw_zwzy-NjrNn7ZZ.js +0 -16
  284. package/dist/assets/LabeledDocumentField-C73vQNgq-DBxPjoOu.js +0 -41
  285. package/dist/assets/LinkJETransactionPage-C0onrP5t-BQSRDFgK.js +0 -98
  286. package/dist/assets/MagicLinkACHDetailsPage-Cpde2XoD-Bmz6YzE7.js +0 -1
  287. package/dist/assets/MagicLinkDomesticWireDetailsPage-DQYH52_8-Csth74dK.js +0 -1
  288. package/dist/assets/MagicLinkInternationalWireDetailsPage-DwBUSxwe-yvP4uEq5.js +0 -1
  289. package/dist/assets/MailingDetailsSection-D-tnK244-NJGCqaax.js +0 -21
  290. package/dist/assets/Menu-0YHUdU0n-BLlGw9kk.js +0 -17
  291. package/dist/assets/NoDataChart-DLKHNXD4-DyUiEC5E.js +0 -26
  292. package/dist/assets/NoDataTable-BMD2qygC-gv0yHuam.js +0 -8
  293. package/dist/assets/NotificationsListConfig-OCeJNw1G-rhlSI2K3.js +0 -1
  294. package/dist/assets/PandLWithForecastPage-Bu49FbWD-hY2BUMAV.js +0 -107
  295. package/dist/assets/Preview-kmcYPPXG.js +0 -1
  296. package/dist/assets/ReimbursementApprovalRuleDetailPage-0o5lDuM2-BQKJNpxr.js +0 -26
  297. package/dist/assets/ReimbursementApprovalRulesPage-D5ZMrrmO-Cq_QuHRI.js +0 -237
  298. package/dist/assets/ReimbursementDetailPage-DatcF8rt-DXpkFB8a.js +0 -314
  299. package/dist/assets/RoleWithToolTip-aW95rpRe-DvIFlyHc.js +0 -22
  300. package/dist/assets/ScreenRoutes-Vn-jiple.js +0 -201
  301. package/dist/assets/SignIn-DQBJB5ad-Cb2pZSrY.js +0 -448
  302. package/dist/assets/SpendManagementListViewPage-Ac-9u-X2-DFU9SYkm.js +0 -123
  303. package/dist/assets/SpendManagementPerTabPage-DgrMAQ8l-BsJa486B.js +0 -754
  304. package/dist/assets/SpendManagementSection-Ci2yOCJ9-Be-FWQnM.js +0 -230
  305. package/dist/assets/StatementItem-hcBoe79o-CO-KeIZz.js +0 -31
  306. package/dist/assets/TimeRangeSwitcher-jct2_5PE-CCFccPp8.js +0 -64
  307. package/dist/assets/TimeframeSwitcherWithToggle-Cl6ISBIz-K7uZZKEZ.js +0 -31
  308. package/dist/assets/TransactionListPage-B2yWm7eA-DL_P3UOL.js +0 -35
  309. package/dist/assets/TransactionVendorDetailPage-Dr5C4-7q-B7k5Rxuh.js +0 -80
  310. package/dist/assets/UploadAdditionalDocumentOverlay-4AWDV_HK-B5rvljLP.js +0 -38
  311. package/dist/assets/Vendor2FAPopup-C_PmEAQ7-BJo1CtrY.js +0 -1
  312. package/dist/assets/VendorACHDetailsPage-DMMoCytX-HWJ4xqP6.js +0 -1
  313. package/dist/assets/VendorDomesticWireDetailsPage-WxmpwlTS-Cw2mdwEx.js +0 -1
  314. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BBYmlLxN-DAcuL4kr.js +0 -1
  315. package/dist/assets/ZeniAccountNavBarPieces-DDc-xph4-Qp9CkTCW.js +0 -14
  316. package/dist/assets/analyticsHelper-BQyen1Zp.js +0 -1
  317. package/dist/assets/downloadPdf-B8UMaJCC--cwzlyu5.js +0 -1
  318. package/dist/assets/epic-q1aO5VtE.js +0 -2
  319. package/dist/assets/index-CKooINZU.js +0 -1
  320. package/dist/assets/index-CPqC-aUr.js +0 -1
  321. package/dist/assets/mapLoadingInProgressToTreeNode-DGRrn6kh-C5wM4whm.js +0 -1
  322. package/dist/assets/mapSectionWithAcOnlyToTreeNode-rrJBbsC8-APaqby99.js +0 -1
  323. package/dist/assets/mapSpacerToTreeNode-CWvamMX2-rEC43j1Y.js +0 -1
  324. package/dist/assets/mapTimeframeBalancesToTreeNode-DfQk4Tsr-D3n1ZN_S.js +0 -1
  325. package/dist/assets/mapTimeframeBalancesToTreeNode-_jEVk1uh-XrIKo0nh.js +0 -1
  326. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DCb9paz3-DEpGdNWt.js +0 -1
  327. package/dist/assets/toCOABalancesWithID-CkjRB0sJ-j2ZyVm5M.js +0 -1
  328. package/dist/assets/toChartData-CMi2WgAy-CD5sB8aU.js +0 -1
  329. package/dist/assets/transaction-placeholder-CpOwZAMG-C9OUxvx1.js +0 -1
@@ -1,8 +1,8 @@
1
- import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,a9 as ye,F as B,gX as ti,y as R,h$ as ii,b as Ne,m as oi,ax as tt,cj as it,b1 as ot,dj as st,cq as at,jW as rt,c as w,n as si,jX as ai,dh as he,aX as ri,a as ni,B as nt,p as S,ag as li,bM as _,cO as ue,g2 as pe,jY as fe,av as lt,a7 as dt,dr as U,fn as ct,gc as di,ak as ee,id as ci,al as H,fB as hi,aS as $e,b8 as me,jZ as ui,bJ as ht,j_ as Re,bt as pi}from"./index-uZV8M_AO.js";import{a as g}from"./sentry-DBL0vpYV.js";import{n as r,c as A}from"./mui-0an3sj0x.js";import{G2 as fi,G3 as mi,bL as K,bh as $,E1 as ut}from"./zeni-epic-state-EnVSjANH.js";import{k as gi}from"./SubTabSwitcher-DhsES2OW-m-ce65D6.js";import{d as pt}from"./useLongPress-GCK2COYQ-BDVexwt4.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-OCeJNw1G-rhlSI2K3.js";import"./liveblocks-GlEiSPeI.js";import"./core-CBymMU6x.js";import"./recharts-YmjXe7Hc.js";import"./lottie-CBgZHwli.js";import"./analytics-DP4t3Pvl.js";import"./lexical-CmdNRU7n.js";import"./utils-C6VMCny4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="c4661b2a-bd8d-46b6-9ae0-3910331f6949",e._sentryDebugIdIdentifier="sentry-dbid-c4661b2a-bd8d-46b6-9ae0-3910331f6949")}catch{}})();function xi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=Q(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{h(x.id)},[h]);return e.length===0?null:t.jsxs(bi,{windowSize:u,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(gi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const bi=r.div`
1
+ import{f as K,q as v,a9 as qt,cC as Qt,V as t,bA as Xt,ac as Kt,aP as ei,o as i,aa as ye,F as P,g_ as ti,y as R,i0 as ii,b as Ne,A as oi,ay as tt,ck as it,b2 as ot,dk as st,cr as at,jY as rt,d as w,n as si,jZ as ai,di as ue,aY as ri,M as ni,a as nt,p as S,ai as li,bN as _,cP as he,g3 as pe,j_ as fe,aw as lt,a8 as dt,ds as U,fo as ct,gd as di,al as ee,ie as ci,am as H,fC as ui,aT as $e,b9 as me,j$ as hi,bK as ut,k0 as Re,bu as pi}from"./index-CO_Updpp.js";import{a as g}from"./sentry-DdXOXL3j.js";import{n as r,c as O}from"./mui-ByF8ZmHV.js";import{Gb as fi,Gc as mi,bL as X,bh as $,E7 as ht}from"./zeni-epic-state-BiQIJCwr.js";import{k as gi}from"./SubTabSwitcher-3oir5lzq-Cmzice7W.js";import{d as pt}from"./useLongPress-GCK2COYQ-aie8BHVS.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-CAW8P9gG-CmdQuS9n.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="1481e10c-c8b3-4052-b89d-4b7f320f6a2a",e._sentryDebugIdIdentifier="sentry-dbid-1481e10c-c8b3-4052-b89d-4b7f320f6a2a")}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=K(),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}=B.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=K(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}}}}=B.getLocalizedStrings(),kt=e=>{e.sort((n,l)=>K(n.inboxNotification.notifiedAt.toUTCString()).isAfter(K(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,K(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>K(l.inboxNotification.notifiedAt.toUTCString()).isAfter(K(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}}}}}=B.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:P},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:P})),p.metadata.application!=="cockpit"&&c.trackCommentActivity("notification","clicked",p.metadata.companyName,l.controllersList.controllers.map(N=>U(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(Gi,{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(Oi,{children:h},d)),c.italic===!0&&(h=t.jsx(Bi,{children:h},d)),c.strikethrough===!0&&(h=t.jsx(Pi,{children:h},d)),c.code===!0&&(h=t.jsx(Ai,{children:h},d)),t.jsx(Fi,{children:h},d)});default:return t.jsx(je,{children:vi})}})})},Ti=({notificationData:e,users:o})=>{const s=v();return t.jsx(Ei,{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.user,te.space]});if(o!=null){const l=U(o,!1);n=t.jsx(t.Fragment,{children:t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,l||ze.user,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(Ui,{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=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&&hi(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"),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,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:u,notifiedAt:h},thread:p}=e,{setRequestToOpenThread:m}=g.useContext(di),f=u!=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,ht(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=>U(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(_i(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(Ei,{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.user,te.space]});if(o!=null){const l=U(o,!1);n=t.jsx(t.Fragment,{children:t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,l||ze.user,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(Ui,{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`
6
6
  display: flex;
7
7
  flex-direction: row;
8
8
  align-items: center;
@@ -33,7 +33,7 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
33
33
  border-bottom-right-radius: inherit;
34
34
  }
35
35
 
36
- ${e=>e.isHighlighted?A`
36
+ ${e=>e.isHighlighted?O`
37
37
  z-index: 1;
38
38
  color: ${e.theme.colors.primary};
39
39
  border: 1px solid ${e.theme.colors.primary};
@@ -43,7 +43,7 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
43
43
  }
44
44
  `:null};
45
45
 
46
- ${e=>e.isClickable?A`
46
+ ${e=>e.isClickable?O`
47
47
  &:hover {
48
48
  z-index: 1;
49
49
  color: ${e.theme.colors.primary};
@@ -68,7 +68,7 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
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
- `,Oi=r.strong``,Ai=r.code``,Bi=r.em``,Pi=r.s``,Fi=r.span``,Gi=r.a``,Ei=r(ee)`
71
+ `,Ai=r.strong``,Oi=r.code``,Pi=r.em``,Bi=r.s``,Fi=r.span``,Gi=r.a``,Ei=r(ee)`
72
72
  color: inherit;
73
73
  display: -webkit-box;
74
74
  overflow: hidden;
@@ -79,7 +79,7 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
79
79
  color: ${e=>e.readStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
80
80
  `,je=r(me)`
81
81
  color: inherit;
82
- `,Ui=r(ht)`
82
+ `,Ui=r(ut)`
83
83
  flex-shrink: 0;
84
84
  color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
85
85
  `,Hi=r.div`
@@ -120,7 +120,7 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
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
- `,Wi=()=>{const e=v();return t.jsxs(Ji,{windowSize:e,children:[t.jsxs(Xi,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:180,height:w[4]})]}),t.jsx(Zi,{children:t.jsx(_,{width:60,height:18})})]})},Ji=r.div`
123
+ `,Wi=()=>{const e=v();return t.jsxs(Ji,{windowSize:e,children:[t.jsxs(Zi,{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`
124
124
  display: flex;
125
125
  align-items: baseline;
126
126
  justify-content: space-between;
@@ -146,19 +146,19 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
146
146
  border-bottom-left-radius: ${i.sp2};
147
147
  border-bottom-right-radius: ${i.sp2};
148
148
  }
149
- `,Xi=r.div`
149
+ `,Zi=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
- `,Zi=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(Wi,{}):t.jsx(Vi,{}),Ki={marginLeft:new R(w[2],w[5],w[7])},Qi=()=>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
+ `,Qi=()=>v()==="small"?t.jsx(Wi,{}):t.jsx(Vi,{}),Xi={marginLeft:new R(w[2],w[5],w[7])},Ki=()=>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,{},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 Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
167
167
  display: flex;
168
168
  flex-direction: column;
169
169
  margin-bottom: ${i.sp5};
170
- margin-left: ${e=>Ki.marginLeft.valuePx(e.windowSize)};
170
+ margin-left: ${e=>Xi.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 Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
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,P=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=>U(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:P},{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]),z=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=>U(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:z,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;
@@ -207,7 +207,7 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
207
207
  border-bottom-right-radius: inherit;
208
208
  }
209
209
 
210
- ${e=>e.isHighlighted?A`
210
+ ${e=>e.isHighlighted?O`
211
211
  z-index: 1;
212
212
  color: ${e.theme.colors.primary};
213
213
  border: 1px solid ${e.theme.colors.primary};
@@ -217,7 +217,7 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
217
217
  }
218
218
  `:null};
219
219
 
220
- ${e=>e.isClickable?A`
220
+ ${e=>e.isClickable?O`
221
221
  &:hover {
222
222
  z-index: 1;
223
223
  color: ${e.theme.colors.primary};
@@ -235,7 +235,7 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
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 Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
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}}=B.getLocalizedStrings(),uo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=Q(),{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=K(),{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,16 +253,16 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
253
253
  align-items: flex-start;
254
254
  width: 100%;
255
255
  padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
256
- `,{common:{all:Oe}}=B.getLocalizedStrings(),mo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=Q(),{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(Ae,{htmlFor:`${s}.${Oe.toLocaleLowerCase()}`,style:{color:d.colors.primary,marginLeft:i.sp2},children:ge(e)}),value:Oe.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((m,f)=>{const x=f===0,k=e.notifications.length-1===f;return{label:t.jsx(Ae,{ref:P=>p.current[f]=P,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=K(),{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%;
260
- `,Ae=r(fe)`
260
+ `,Oe=r(fe)`
261
261
  display: flex;
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}}}=B.getLocalizedStrings(),Be={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 P=g.useCallback(C=>{if(k.current?.[C]!=null){const G=f==="small"&&a===!1&&C===e.length-1?Be.rowGap.value("medium-regular"):Be.rowGap.value(f);return k.current[C]+G}return(ft*St.value(f)+mt)*3+gt+xt},[f,k,e]),z=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=>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(Qi,{}):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:E})=>t.jsx(at,{ref:W=>{E(W),x.current=W},height:C,itemCount:L,itemData:{notificationGroups:e,users:o,sectionId:n,checkBoxMode:l,isDisabled:h,isItemLoaded:j,setRowHeight:z,onNotificationClick:m},onItemsRendered:Y,itemSize:P,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: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(Pe,{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(Pe,{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]),z=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(Ki,{}):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:E})=>t.jsx(at,{ref:W=>{E(W),x.current=W},height:C,itemCount:L,itemData:{notificationGroups:e,users:o,sectionId:n,checkBoxMode:l,isDisabled:u,isItemLoaded:j,setRowHeight:z,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%;
@@ -275,11 +275,11 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
275
275
  display: flex;
276
276
  flex-direction: column;
277
277
  max-width: 99.9%;
278
- `,Pe=r.div`
278
+ `,Be=r.div`
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:O}}}}=B.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=O.newActivity;return e.code==="in_progress"?o=O.due.replace("__task_status__",Re(e.name.toLocaleLowerCase())):o=O.due.replace("__task_status__",vo.toLocaleLowerCase().concat(Rt.space,Re(e.name.toLocaleLowerCase()))),o},No=e=>{const{eventData:{activities:o}}=e;let s=O.newActivity;if(o.length>0){const a=o[0].activityType,n=o[0].metadata.eventStatus;switch(a){case"task_archived":s=O.archive;break;case"task_deleted":s=O.delete;break;case"task_activities":s=O.activities;break;case"task_assigned":s=O.assign;break;case"task_created":s=O.create;break;case"task_due":s=n!=null?To(n):O.dueTomorrow;break;case"task_overdue":s=O.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Co.visual.MMMDFormat)??Rt.empty);break;case"task_status_updated":s=O.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:Fe,other:Io,others:Lo,texts:Ro,timeStrings:_o,strings:M,tags:zo}}=B.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(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(Bo,{...e}),t.jsx(Fo,{...e}),t.jsx(Po,{createTime:h,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})})},Oo=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:_e(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(Xo,{}),t.jsx(Ge,{backgroundColor:_e(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Ao=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(X,{className:"userText",notificationStatus:o,children:[M.atTheRate,Ro.user,M.space]});return n>0&&(n>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(X,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(X,{className:"userText",notificationStatus:o,children:[M.space,n-1,M.space,Lo,M.space]})]}):n===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(X,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(X,{className:"userText",notificationStatus:o,children:[M.space,s.length===2?M.atTheRate+U(s[1],!1):Io,M.space]})]}):l=t.jsxs(X,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]})),l},Ot=e=>t.jsxs(t.Fragment,{children:[t.jsx(Ao,{...e}),No(e),t.jsx(Oo,{...e})]}),Bo=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(Ot,{...e})})},At=e=>{const{createTime:o,notificationStatus:s}=e,a=jt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Wo,{isNewNotification:a===_o.justNow,children:a}),t.jsx(qo,{notificationStatus:s})]})},Po=e=>{const o=v();return t.jsx(Eo,{windowSize:o,children:t.jsx(At,{...e})})},Bt=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(Zo,{})},Fo=e=>{const o=v();return t.jsx(Uo,{windowSize:o,children:t.jsx(Bt,{...e})})},Go=r.div`
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"),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},zt=new R(3,2,1,1,1),Dt=new R(w[8],33,33,33,35),ce={lineClamp:zt,sectionWidth:Dt},{common:{and:Fe,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: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:_e(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(Zo,{}),t.jsx(Ge,{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(Z,{className:"userText",notificationStatus:o,children:[M.atTheRate,Ro.user,M.space]});return n>0&&(n>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(Z,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(Z,{className:"userText",notificationStatus:o,children:[M.space,n-1,M.space,Lo,M.space]})]}):n===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(Z,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(Z,{className:"userText",notificationStatus:o,children:[M.space,s.length===2?M.atTheRate+U(s[1],!1):Io,M.space]})]}):l=t.jsxs(Z,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(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===_o.justNow,children:a}),t.jsx(Qo,{notificationStatus:s})]})},Bo=e=>{const o=v();return t.jsx(Eo,{windowSize:o,children:t.jsx(Ot,{...e})})},Pt=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(ui,{tagTitle:zo.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(Uo,{windowSize:o,children:t.jsx(Pt,{...e})})},Go=r.div`
283
283
  display: flex;
284
284
  flex-direction: row;
285
285
  align-items: center;
@@ -310,7 +310,7 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
310
310
  border-bottom-right-radius: inherit;
311
311
  }
312
312
 
313
- ${e=>e.isHighlighted?A`
313
+ ${e=>e.isHighlighted?O`
314
314
  z-index: 1;
315
315
  color: ${e.theme.colors.primary};
316
316
  border: 1px solid ${e.theme.colors.primary};
@@ -345,11 +345,11 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
345
345
  `,Ho=r(ee)`
346
346
  color: inherit;
347
347
 
348
- ${e=>e.statusUpdate?A`
348
+ ${e=>e.statusUpdate?O`
349
349
  display: flex;
350
350
  flex-wrap: wrap;
351
351
  gap: ${i.sp1};
352
- `:A`
352
+ `:O`
353
353
  display: -webkit-box;
354
354
  overflow: hidden;
355
355
  -webkit-line-clamp: ${ce.lineClamp.value(e.windowSize)};
@@ -364,11 +364,11 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
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
- `,X=r(me)`
367
+ `,Z=r(me)`
368
368
  color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
369
369
  `,Yo=r(me)`
370
370
  color: inherit;
371
- `,Wo=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`
@@ -383,21 +383,21 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
383
383
  border: 1px solid ${e=>e.backgroundColor};
384
384
  padding: ${i.sp0} 6px;
385
385
  border-radius: ${i.sp1};
386
- `,Xo=r(pi)`
386
+ `,Zo=r(pi)`
387
387
  width: ${i.sp3};
388
388
  height: ${i.sp3};
389
389
  color: ${e=>e.theme.colors.hero};
390
- `,Zo=r.div`
390
+ `,qo=r.div`
391
391
  display: flex;
392
392
  flex: 1 1 auto;
393
- `,qo=r.div`
393
+ `,Qo=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)},Ko=()=>{const e=v();return t.jsxs(Qo,{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})})]})},Qo=r.div`
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(Ko,{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})})]})},Ko=r.div`
401
401
  display: flex;
402
402
  align-items: center;
403
403
  justify-content: space-between;
@@ -462,7 +462,7 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
462
462
  gap: ${i.sp2};
463
463
  flex: 1 1 auto;
464
464
  width: 100%;
465
- `,is=()=>v()==="small"?t.jsx(es,{}):t.jsx(Ko,{}),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(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,{},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 Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
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(Ue,{children:[t.jsx(cs,{...e}),t.jsx(us,{createTime:d,notificationStatus:c})]}),t.jsxs(Ue,{children:[t.jsx(hs,{...e}),u.length>0&&u[0].activityType==="task_status_updated"?null:t.jsx(ps,{...e})]})]})},cs=e=>t.jsx(Pt,{statusUpdate:!1,children:t.jsx(Mt,{...e})}),hs=e=>{const{eventData:{activities:o}}=e;return t.jsx(Pt,{statusUpdate:o.length>0&&o[0].activityType==="task_status_updated"&&o[0].metadata.updates.find(s=>s.field==="status")!=null,children:t.jsx(Ot,{...e})})},us=e=>t.jsx(ms,{children:t.jsx(At,{...e})}),ps=e=>t.jsx(gs,{children:t.jsx(Bt,{...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(Ue,{children:[t.jsx(cs,{...e}),t.jsx(hs,{createTime:d,notificationStatus:c})]}),t.jsxs(Ue,{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;
@@ -511,7 +511,7 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
511
511
  border-bottom-right-radius: inherit;
512
512
  }
513
513
 
514
- ${e=>e.isHighlighted?A`
514
+ ${e=>e.isHighlighted?O`
515
515
  z-index: 1;
516
516
  color: ${e.theme.colors.primary};
517
517
  border: 1px solid ${e.theme.colors.primary};
@@ -550,18 +550,18 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
550
550
  width: 100%;
551
551
  justify-content: space-between;
552
552
  align-items: start;
553
- `,Pt=r(ee)`
553
+ `,Bt=r(ee)`
554
554
  color: inherit;
555
- ${e=>e.statusUpdate?A`
555
+ ${e=>e.statusUpdate?O`
556
556
  display: flex;
557
557
  flex-wrap: wrap;
558
558
  gap: ${i.sp2};
559
- `:A`
559
+ `:O`
560
560
  display: -webkit-box;
561
561
  -webkit-box-orient: horizontal;
562
562
  gap: ${i.sp1};
563
563
  `};
564
- `,Ft=e=>v()==="small"?t.jsx(ds,{...e}):t.jsx(Do,{...e}),{common:{all:He}}=B.getLocalizedStrings(),xs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=Q(),{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(Ft,{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=K(),{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,7 +570,7 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
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}}=B.getLocalizedStrings(),ys=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=Q(),{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(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=>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=K(),{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%;
@@ -579,7 +579,7 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
579
579
  align-items: flex-start;
580
580
  width: 100%;
581
581
  padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
582
- `,js=r(Ft)``,ks=e=>v()==="small"?t.jsx(ys,{...e}):t.jsx(xs,{...e}),{commentsAndNotifications:{notifications:{message:Ss}}}=B.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: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?We.rowGap.value("medium-regular"):We.rowGap.value(m);return x.current[L]+C}return(ft*zt.value(m)+mt)*3+gt+xt},[m,x,e]),P=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:G,ref:Y})=>t.jsx(at,{ref:E=>{Y(E),f.current=E},height:L,itemCount:V,itemData:{notificationGroups:e,sectionId:a,checkBoxMode:n,isDisabled:d,isItemLoaded:I,setRowHeight:P,onNotificationClick:p},onItemsRendered:G,itemSize:k,width:C,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:E})=>{b(E)},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*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(()=>{h()},[h]),N=g.useCallback(()=>{},[]),b=tt(L=>u(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:G,ref:Y})=>t.jsx(at,{ref:E=>{Y(E),f.current=E},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:E})=>{b(E)},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,13 +596,13 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
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:Xe}},commentsAndNotifications:{notifications:{title:_s,texts:Gt,strings:Ze}}}=B.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",Z="commentsNotificationsTable",q="notificationsTable",Et=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 P=Q(),z=v(),N=Zt({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,E=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]),Ut=g.useMemo(()=>kt(Y).filter(y=>y.notifications.length>0),[Y]),Ht=g.useMemo(()=>_t(G).filter(y=>y.notifications.length>0),[G]),Vt=async(y,T)=>{const F=y.split(".")[0],J=[];F!=null&&(F===Z||F===q)&&(Object.values(T[F]).forEach(D=>{J.push(...D.filter(Xt=>Xt.includes(Te.toLowerCase())===!1))}),d({selectedNotificationIds:J},b))};g.useEffect(()=>{const y=N.watch((T,{name:F})=>{F!=null&&T!=null&&qt(()=>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>Et?"disabled":a,be=N.watch(Z),we=N.watch(q),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({[Z]:y,[q]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const y={};Object.keys(we).forEach(T=>{y[T]=[]}),N.reset({[q]:y,[Z]: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(Kt,{source:"NotificationsPage",title:_s.notifications,backgroundColor:P.colors.grey4,onBackClick:x,rightSideComponent:s===!0?t.jsx(Zs,{onClick:f}):t.jsx(Xs,{})}),t.jsx(Bs,{}),t.jsx(As,{windowSize:z,children:t.jsx(xi,{tabs:E,selectedTab:b,onTabChange:y=>{const T=mi(y);T!=null&&h(T)},subTabs:W,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(Os,{windowSize:z,children:t.jsx(Qt,{...N,children:t.jsx("form",{id:Qe(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:Ut,sectionId:Z,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:Qe(qe),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:z==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx(ye,{controller:z!=="small",children:t.jsx(Ke,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(ye,{controller:z==="small",children:t.jsx(Ke,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx(ye,{controller:z!=="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(Ps,{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"}})},Ke=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Es,{windowSize:o,children:[t.jsx(Hs,{children:t.jsx(Us,{isCircular:e<10,children:t.jsx(Vs,{children:e>Xe?`${Xe}${Rs}`:e})})}),t.jsxs(Js,{windowSize:o,children:[t.jsx(Ys,{children:e>1?Ze.notificationsSelected:Ze.notificationSelected}),e>Et?t.jsx(Ws,{children:ne.maxLimit}):null]})]})},Ms=r.div`
599
+ `,{common:{all:Te,texts:ne,footer:Ls,strings:{plus:Rs},numbers:{maximumCount:Ze}},commentsAndNotifications:{notifications:{title:_s,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])},zs={selectedNotificationsText:new ni("smallRegular","standardRegular")},Qe="notificationsPage",q="commentsNotificationsTable",Q="notificationsTable",Et=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=K(),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:G,externalNotificationsForCurrentTabAndSubTab:Y}=e,E=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]),Ut=g.useMemo(()=>kt(Y).filter(y=>y.notifications.length>0),[Y]),Ht=g.useMemo(()=>_t(G).filter(y=>y.notifications.length>0),[G]),Vt=async(y,T)=>{const F=y.split(".")[0],J=[];F!=null&&(F===q||F===Q)&&(Object.values(T[F]).forEach(D=>{J.push(...D.filter(Zt=>Zt.includes(Te.toLowerCase())===!1))}),d({selectedNotificationIds:J},b))};g.useEffect(()=>{const y=N.watch((T,{name:F})=>{F!=null&&T!=null&&Qt(()=>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>Et?"disabled":a,be=N.watch(q),we=N.watch(Q),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,[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",F=xe();m(b,y,T,F)},[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(Zs,{})}),t.jsx(Ps,{}),t.jsx(Os,{windowSize:z,children:t.jsx(xi,{tabs:E,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:z,children:t.jsx(Kt,{...N,children:t.jsx("form",{id:Ke(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:Ut,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:Ke(Qe),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: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(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"}})},Xe=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Es,{windowSize:o,children:[t.jsx(Hs,{children:t.jsx(Us,{isCircular:e<10,children:t.jsx(Vs,{children:e>Ze?`${Ze}${Rs}`:e})})}),t.jsxs(Js,{windowSize:o,children:[t.jsx(Ys,{children:e>1?qe.notificationsSelected:qe.notificationSelected}),e>Et?t.jsx(Ws,{children:ne.maxLimit}):null]})]})},Ms=r.div`
600
600
  display: flex;
601
601
  height: 100vh;
602
602
  width: 100%;
603
603
  flex-direction: column;
604
604
  background-color: ${e=>e.theme.colors.grey4};
605
- `,Os=r.div`
605
+ `,As=r.div`
606
606
  display: flex;
607
607
  height: 100%;
608
608
  overflow: auto;
@@ -610,15 +610,15 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
610
610
  padding-bottom: ${i.sp0};
611
611
  padding-left: ${e=>ie.tableContainerLeftPadding.valuePx(e.windowSize)};
612
612
  padding-right: ${e=>ie.tableContainerRightPadding.valuePx(e.windowSize)};
613
- `,As=r.div`
613
+ `,Os=r.div`
614
614
  padding-top: ${i.sp0};
615
615
  padding-bottom: ${i.sp0};
616
616
  padding-left: ${e=>ie.tabsContainerLeftRightPadding.valuePx(e.windowSize)};
617
617
  padding-right: ${e=>ie.tabsContainerLeftRightPadding.valuePx(e.windowSize)};
618
- `,Bs=r.div`
618
+ `,Ps=r.div`
619
619
  min-height: ${i.sp3};
620
620
  width: 100%;
621
- `,Ps=r(si)`
621
+ `,Bs=r(si)`
622
622
  .mark-as-read {
623
623
  color: ${e=>e.disabled===!0?e.theme.colors.grey2:e.theme.colors.hero};
624
624
  }
@@ -637,11 +637,11 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
637
637
  gap: ${i.sp2};
638
638
  margin-left: ${e=>ie.selectedNotificationsTextMarginLeft.valuePx(e.windowSize)};
639
639
  `,Us=r.div`
640
- ${e=>e.isCircular?A`
640
+ ${e=>e.isCircular?O`
641
641
  height: ${i.sp3};
642
642
  width: ${i.sp3};
643
643
  padding: ${i.sp0};
644
- `:A`
644
+ `:O`
645
645
  height: 18px;
646
646
  min-width: ${i.sp3};
647
647
  padding: ${i.sp0} ${i.sp1};
@@ -671,10 +671,10 @@ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
671
671
  display: flex;
672
672
  align-items: center;
673
673
  flex-wrap: wrap;
674
- `,Xs=r.div`
674
+ `,Zs=r.div`
675
675
  width: ${i.sp4};
676
676
  height: ${i.sp4};
677
- `,Zs=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 Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,
682
682
  &:hover {
683
683
  color: ${e=>e.theme.colors.primary};
684
684
  }
685
- `,Qe=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))}),{[Z]: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,Qe as uniqueFormName};
685
+ `,Ke=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 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,[Q]: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,Ke as uniqueFormName};