@zeniai/web-cockpit-ui 1.15.11-dev → 1.15.12-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 (284) hide show
  1. package/dist/assets/{ACHDetailsPage-CR6ypd9o-CPuvu8Ya.js → ACHDetailsPage-BY65AQjO-Cl2Tlmft.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-C1OU9y7O-Cy2fQhSN.js → AIPerformancePage-B0a7EX_p-BepCOVvT.js} +17 -17
  3. package/dist/assets/AccountInfoPage-DUYpaV3v-CL9yEZEk.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-CrSVf_Od-DxUVjtpH.js → AccountInfoPageContent-BsSGhNw9-Bhg40nPQ.js} +13 -13
  5. package/dist/assets/{AccountLockedInfoModal-DNU_J1FV-BrQt7SPM.js → AccountLockedInfoModal-uPOYP0OH-gMh9hb_c.js} +3 -3
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DghCIWni-WUADgsvH.js → AccountReconDetailsDrawerPage-BgPmbG_g-9wGOY4BN.js} +6 -6
  7. package/dist/assets/{AccountRow-CYv0Uw-I-DQCZ-Htb.js → AccountRow-B9ZIzZy7-C9nPv4rY.js} +22 -22
  8. package/dist/assets/{AccountsPromoCardStack-BANu3wYt-CQ0iVQrx.js → AccountsPromoCardStack-BLcpWU3T-CV6K5Y9x.js} +8 -8
  9. package/dist/assets/AddAddressForCardDrawer-B1oucxyM-I6biD8O7.js +6 -0
  10. package/dist/assets/{AddToWalletPage-C8keLYK6-Bn2sefuz.js → AddToWalletPage-B1GVnxRf-CndQH9vq.js} +7 -7
  11. package/dist/assets/{AgingReportsPage-L84_Ka8x-B6lkNbiG.js → AgingReportsPage-Bpp4te8m-HodwoOcT.js} +3 -3
  12. package/dist/assets/{AllUserItems-Duwm6ypi-CNUX4dOE.js → AllUserItems-CzugF5fn-8WnbDsqH.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-MH7SN7mP-D7GEtWSd.js → ApAgingDetailPage-CyUQeZY0-DHH2Dilv.js} +4 -4
  14. package/dist/assets/{AppBasePage-DpK4Drat-Bt4q9XbU.js → AppBasePage-Di7hObbX-uZJvqLhK.js} +6 -6
  15. package/dist/assets/{AppDrawerContent-CR_WXwBz-CFNPiFQp.js → AppDrawerContent-KdrUuifo-DcEK8qwb.js} +5 -5
  16. package/dist/assets/{ApprovalRulesSettingsPage-DD2E4NU5-DpHAD8Ti.js → ApprovalRulesSettingsPage-BRIgTh7x-CF-Pagn9.js} +1 -1
  17. package/dist/assets/{ArAgingChart-q1DoAAzl-IMdyrhPv.js → ArAgingChart-DeE5uhiT-BcI5cuvH.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BKqFTdkz-kMEm6GPZ.js → ArAgingDetailPage-CFiIUBWl-BXhWrXr_.js} +2 -2
  19. package/dist/assets/{AttachmentView-CwbFyo5O-DSfNvuAU.js → AttachmentView-CfacSLcU-gwYezuYM.js} +7 -7
  20. package/dist/assets/{BankAccountSection-DNYhcdas-Ddz8QKzl.js → BankAccountSection-Bm8vdxFd-DKKdvH8R.js} +6 -6
  21. package/dist/assets/{BankAccountWarningSection-B6AIe7nT-BcHAPM_q.js → BankAccountWarningSection-M3w6kP33-ChP5wvhC.js} +13 -13
  22. package/dist/assets/{BankConnectionsSettingsPage-BQSAz9yS-R3TufSTo.js → BankConnectionsSettingsPage-Dfrp0CKz-Dc4Qac0T.js} +9 -9
  23. package/dist/assets/{BillDetailPage-CJMkS2TO-CUCvdJLF.js → BillDetailPage-BA1D1bO3-Ofkt6QPd.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CWCmHWbz-BO-G290w.js → BillPayApprovalRuleDetailPage-DR8YzZt1-CQcbdF34.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-0_wlhyx9-CKOGyW5d.js → BillPayApprovalRulesPage-CfZ4aSPM-C6nI7yKc.js} +11 -11
  26. package/dist/assets/{BillPayPromoPage-CKOYCq5V-C6OfnMF1.js → BillPayPromoPage-CP9Nvd2Q-CSZ8mSrV.js} +4 -4
  27. package/dist/assets/{BillPaySetUpPage-Dibv-FD4-kIfalP85.js → BillPaySetUpPage-BwEONKu_-DARv5ESb.js} +6 -6
  28. package/dist/assets/{BillingSettingsPage-CG9gklV0-CGGGPaut.js → BillingSettingsPage-DicGyWCt-DwbmjVcE.js} +6 -6
  29. package/dist/assets/{BillsBulkReviewDrawerPage-Cgof7dpG-BwYBq9-d.js → BillsBulkReviewDrawerPage-fS3-YEdi-DKZKHDla.js} +1 -1
  30. package/dist/assets/{BoxItem-DD7d5_ky-D2d9aLr-.js → BoxItem-Cr0Y9YBV-C2AawtqJ.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-KfKed7nf-Bzkiryv0.js → BusinessVerificationPage-CvL9cdJm-Drj-tMQU.js} +3 -3
  32. package/dist/assets/CardNumberSubText-CXBKzGK5-CCtn2y_n.js +21 -0
  33. package/dist/assets/{CashbackDetailPage-D1ejnH4R-BltiUdCI.js → CashbackDetailPage-DOdPOiws-CAJxdhJ3.js} +11 -11
  34. package/dist/assets/{ChargeCardDetailPage-Cvs-BEKp-Bqa3oM5k.js → ChargeCardDetailPage-DfhAyysD-Cgd92Yem.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-CW0WF8w6-DBIJI8Xw.js → ChargeCardListPage-Bnnu4TVk-DFZAYaNm.js} +20 -20
  36. package/dist/assets/{ChargeCardListTable-43l6tEOp-BbcKoGZ2.js → ChargeCardListTable-D7zGM8uo-70otSDDQ.js} +40 -40
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-fpQhp74g-BLq-AFt8.js → ChargeCardPaymentHistoryPage-U00GbINt-BIwIfF30.js} +13 -13
  38. package/dist/assets/ChargeCardPromoPage-BpBiwjfr-DWB9eQGN.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-CFR2KfLW-Bj3pYNfL.js → ChargeCardSetupPage-Duj6901M-CIASuReJ.js} +4 -4
  40. package/dist/assets/{ChargeCardStatementsPage-BMYUlzTk-CZ02SfTF.js → ChargeCardStatementsPage-IkU86L31-ClrDQTtP.js} +4 -4
  41. package/dist/assets/{CheckDepositDrawerPage-BXWeeMR7-BYN5c48i.js → CheckDepositDrawerPage-fHeTkRJF-CdLdCkIH.js} +13 -13
  42. package/dist/assets/{CollapsableReportTable-CZJ_4MUf-TH_6P-Y_.js → CollapsableReportTable-DUo-9gOh-B_gwOhYJ.js} +32 -32
  43. package/dist/assets/{CompanyOfficerDetailsSection-b2itwQOK-DbOlSBag.js → CompanyOfficerDetailsSection-DzDZe6MU-DWguMF6d.js} +10 -10
  44. package/dist/assets/{CompanyPassportCard-C5C3AykH-DcHAKmoT.js → CompanyPassportCard-BwiwJ82k-WRVY9XX8.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-D9zWgLlj-CWyCqrqW.js → CompanyPassportPage-Bz3rzG9k-e3d2ccIM.js} +15 -15
  46. package/dist/assets/{CompleteProfile-CMnTwbXr-DZqd8rFQ.js → CompleteProfile-CRXV-nNq-DpRL426l.js} +2 -2
  47. package/dist/assets/ConfettiBurst-CapRdPno-Dlg4XvfD.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-CthcMxEa-PQhPjSjB.js → CreateOrEditVendorPage-BjPotKnf-De1W0m4N.js} +12 -12
  49. package/dist/assets/{CreditCardPaymentDrawerPage-LD349Ert-C4Wbd8yP.js → CreditCardPaymentDrawerPage-BTZ2Lph6-DMwCUXwV.js} +13 -13
  50. package/dist/assets/{CurrencySelectField-iXGB-cNy-BRjQHy5W.js → CurrencySelectField-DY0HeU0G-CSYPXeIb.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-BuZrVCRr-DQvZbF43.js → CustomerOnboardingActivationPage-BIKXkkcY-IFMHYYO1.js} +5 -5
  52. package/dist/assets/CustomerOnboardingContainerPage-DZfFYnVw-BG6Jz35S.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-L4WssPjU-BL2-a44j.js → CustomerOnboardingDetailPageSkeleton-DYiAmFsM-C0-Ot9Uw.js} +9 -9
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-Bqv6vbYJ-B4xhs9JC.js → CustomerOnboardingNoStepsPage-gssFllMT-DT9hupvU.js} +9 -9
  55. package/dist/assets/{CustomerOnboardingPage-D7YVlzdy-GqcXPa-d.js → CustomerOnboardingPage-CBJHj8BH-KUidrPxI.js} +6 -6
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-DLzC-lxj-pVKJNYgp.js → CustomerOnboardingProductSuitePage-2V3vSjB8-BYRuju-o.js} +12 -12
  57. package/dist/assets/{Dashboard-BgpeTLE--ZF2wZzkh.js → Dashboard-BVvkfPf9-hp4sQi7A.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-DJtJdsj5-D0j90p2O.js → DashboardReportPage-DHQ79h9V-C3FgTbgA.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-CL6vWi6p-DaXPDfmE.js → DashboardSidebarBackgroundAnimation-B8Q-YA_s-DLXiBeQj.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-B8Kledeo-BlVCqg6w.js → DepositAccTransactionItem-DZnqI7IQ-DR0NgZ86.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-DYBIAd7n-gVv7-TK3.js → DepositAccTransactionListPage-BMNdp-3Q-CyOUea8P.js} +4 -4
  62. package/dist/assets/{DomesticWireDetailsPage-Bm-bfxSa-rYZYhMWI.js → DomesticWireDetailsPage-CCP6xoW_-BlmZjbpt.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-CAfyh0W2-BJk2KPOA.js → DownloadOverlay-B2bK30rG-B-m5Mv2I.js} +18 -18
  64. package/dist/assets/{DrawerPage-DUeVKq0Q-DB8bkP9s.js → DrawerPage-BRJDrBlv-D28-uO54.js} +8 -8
  65. package/dist/assets/{EditPeoplePage-dVrpOcc1-DgbweCi9.js → EditPeoplePage-I8E1Rs3x-DbyrgA_C.js} +6 -6
  66. package/dist/assets/{EditReimbursementDetailPage-xWwm-k8T-Hs0cdO6C.js → EditReimbursementDetailPage-C7BPmFMR-DTPMhwLH.js} +19 -19
  67. package/dist/assets/EntityDetailPage-BraBJ2k1-Wq1E4JPl.js +18 -0
  68. package/dist/assets/{EntitySummarySection-CTU-YsQl-CSwZth_c.js → EntitySummarySection-DPmL3Bnf-CHA6TrKp.js} +5 -5
  69. package/dist/assets/{ExpenseAutomationOverviewPage-DCbcWM84-DHrtqP9f.js → ExpenseAutomationOverviewPage-CDaO_5Vj-gZyomnai.js} +12 -12
  70. package/dist/assets/{ExpenseAutomationPage-DbFQ6EeA-C0i_UBmZ.js → ExpenseAutomationPage-DUenmMQD-Yh_8CeIf.js} +59 -59
  71. package/dist/assets/{ExpressPayPage-DMLKT4Nf-6YIrNvk0.js → ExpressPayPage-DxO1mXNE-DeRja-sm.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-DFsZRRmZ-KGYTIegX.js → FeaturePreviewPage-BWPNZcYs-CdJLxzVS.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-DkBj9-hs-mJdSbXed.js → FollowStepsSection-DhVGeocZ-Ddk_z58q.js} +6 -6
  74. package/dist/assets/{GlobalReviewListPage-D1fbfssG-CByDE9EN.js → GlobalReviewListPage-8eiQXg7N-pPWYTyKl.js} +5 -5
  75. package/dist/assets/{InformationCardStack-CBsOTiOc-CgAe3fDD.js → InformationCardStack-CHVjIv01-Y1Eih__r.js} +2 -2
  76. package/dist/assets/{InsightsCardStack-BEpCIgoE-Bd7MJjyH.js → InsightsCardStack-x_tohY2Z-DNptH2Sv.js} +2 -2
  77. package/dist/assets/{InsightsSection-DcKb1p5B-QoDxUPcZ.js → InsightsSection-D7g00fg7-Bl1k6KMG.js} +2 -2
  78. package/dist/assets/{IntegrationsSettingsPage-CMEV5P0b-3g_v4D8X.js → IntegrationsSettingsPage-DVRtPRi9-ig1iJJpM.js} +10 -10
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-Bukfo0LC-DGIPKWPe.js → InternationalWireSwiftDetailsPage-DnWbUuiD-CIWMoecY.js} +11 -11
  80. package/dist/assets/{InternationalWireVerificationPage-nZvCemaM-DntrzxyD.js → InternationalWireVerificationPage-CHvUYgd8-B9TQJM22.js} +3 -3
  81. package/dist/assets/{InviteFormPage-BpgeFttq-BbrTw2ZL.js → InviteFormPage-Cw0TIkwc-D0dTmTLg.js} +25 -25
  82. package/dist/assets/{InvitePageListView-B6wJomGk-pTRfOIaC.js → InvitePageListView-B4gEzFp2-1aqNeIHc.js} +19 -19
  83. package/dist/assets/{InvitePeoplePage-BArRXjlz-BHQlwXvg.js → InvitePeoplePage-Bnsqv_IY-DhNBoZS8.js} +5 -5
  84. package/dist/assets/{InvoiceUploadSection-CTqSftrm-CyVrgEkl.js → InvoiceUploadSection-CW4hHmAi-DKFSw8te.js} +20 -20
  85. package/dist/assets/{IssueChargeCardPage-DYG5IXrC-D-2m3p9R.js → IssueChargeCardPage-sM826Uvu-DMhbp0aa.js} +21 -21
  86. package/dist/assets/{LabeledAddressValue-D09c5wJR-784mespz.js → LabeledAddressValue-AuzW29LK-99vdzqZR.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-Cac2YPpN-Ba7qdzlE.js → LabeledAddressValueField-C_KatgTA-ByiPbJgm.js} +1 -1
  88. package/dist/assets/LabeledControlledCheckBoxField-CEd7DSmU-mOU-S2fp.js +16 -0
  89. package/dist/assets/{LabeledCountryMultiSelectField-DdqOGBwp-DSHkYk9h.js → LabeledCountryMultiSelectField-CffMX6f1-C44H-4q3.js} +12 -12
  90. package/dist/assets/{LabeledCreatableSingleSelectField-K0xUavli-THytCXMe.js → LabeledCreatableSingleSelectField-CoS6DIi_-DTDCa09f.js} +2 -2
  91. package/dist/assets/LabeledDocumentField-CVBhbPHv-9665D02s.js +41 -0
  92. package/dist/assets/{LabeledDropDownFormattedTextField-Dms9ziRv-CJQkVxrk.js → LabeledDropDownFormattedTextField-CNru68eT-GPSUv36b.js} +5 -5
  93. package/dist/assets/{LabeledMultiSelectField-X5GGPnfG-0qUfOlj0.js → LabeledMultiSelectField-CTqXa2Rh-Cxu9DNT8.js} +1 -1
  94. package/dist/assets/{LabeledText-BJrI_PVT-oE-g3K8U.js → LabeledText-Da0Yn6u8-CFgd90E4.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BmMN3W3F-BzPJ9P_-.js → LabeledUserSingleSelectWithSubtitlesField-CE332GjA-BafYQ_Pm.js} +9 -9
  96. package/dist/assets/{LabeledZeniRolesDropDownField-PsaKyCCY-EbSrXIJy.js → LabeledZeniRolesDropDownField-DU4-ho4X-DQBIg45w.js} +7 -7
  97. package/dist/assets/{LinkJETransactionPage-BDIpw0zn-B_cGLw9N.js → LinkJETransactionPage-Dx4OE1-O-HLvvvZHd.js} +9 -9
  98. package/dist/assets/{LockCardPage-ChGk6VJX-BzQI96FY.js → LockCardPage-B3P6wcK_-Ckpg2eew.js} +23 -23
  99. package/dist/assets/{LowBalancePopup-Bv3kKmAV-DSB2Ymlf.js → LowBalancePopup-Dp1vEYQQ-DIw_NRSy.js} +5 -5
  100. package/dist/assets/MagicLinkACHDetailsPage-BeRQFYX3-CrMUHXPB.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-C1DDZC2_-CWTR8m-D.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-DyDp04Vn-UtoyLAup.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-ySlQc8oV-BspPWH9Z.js → MagicLinkSuccessPage-Iva17nX0-DhK2jGAZ.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-C_OYT1do-NbVFRCAZ.js → MagicLinkTitleSection-B726bP_P-CoT1ZO_f.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-IQJY4Yl0-C_b76P8R.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CxaXh1Aj-CwKK_h51.js → MyBankConnectionsSettingsPage-Ad6xGN08-JjXBlik9.js} +6 -6
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-B9mNbLDd-Db1Atl2l.js → MyPendingActivationChargeCardListPage-BYZ61huS-YKZjMs5X.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-DDERIXlZ-CjalvgMv.js → MyProfileSettingsPage-bEru4GQJ-Cj303JTH.js} +6 -6
  109. package/dist/assets/{NavBarWithPicker-BJ_8PHPv-B6R9nMuM.js → NavBarWithPicker-BAKrtv3g-BXBcsUFZ.js} +4 -4
  110. package/dist/assets/{NavigationArrow-9HOMBxoh-CWFuMeOE.js → NavigationArrow-CKvBs9-h-DGD1r2EE.js} +1 -1
  111. package/dist/assets/{NavigationDots-DPf5iy8f-DNlf5jCf.js → NavigationDots-BdcVrwsL-D_WEvn6f.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-1MfUlwkA-Dx3DZ-ZO.js → NewGlobalMerchantPage-Cx38uQAS-BBICE4OG.js} +7 -7
  113. package/dist/assets/{NoDataChart-CDHiYyiO-DHWgty-U.js → NoDataChart-BbyxZE2g-CtN5BYbf.js} +2 -2
  114. package/dist/assets/{NoDataTable-BoAJZxdS-ClNYPP1-.js → NoDataTable-BNZWGvtm-S9Fe9Ovx.js} +1 -1
  115. package/dist/assets/{NotFoundPage-C-EoeDss-DqOvJ6YN.js → NotFoundPage-CssnEz-k-ccXdF3op.js} +7 -7
  116. package/dist/assets/{NotificationSettingsPage-BfFNx-vu-Byo7BJZr.js → NotificationSettingsPage-DmgxnO9I-BH2rOJH7.js} +15 -15
  117. package/dist/assets/{NotificationsListConfig-CBQwRqMo-DVBdjTys.js → NotificationsListConfig-DdMKLqFI-DwvXMwFg.js} +1 -1
  118. package/dist/assets/{NotificationsPage-BPfRskWZ-_QOFXGgt.js → NotificationsPage-B9XIE39J-CejudHUF.js} +12 -12
  119. package/dist/assets/{OpExByVendorPage-BLI8h8LP-PGQ9bnDo.js → OpExByVendorPage-5wnFvYXt-D6A9jnRY.js} +4 -4
  120. package/dist/assets/{OverlayContainerPage-IDTUbuAC-B16J5Isr.js → OverlayContainerPage-IDTUbuAC-dv-sDcTQ.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-DvT1WQdL-CPylI6Uc.js → PandLWithForecastPage-CrtKdSaD-CYng6puq.js} +7 -7
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CyfKYJV3-CnunCi1o.js → PaymentAccountSetupBillingAddressSection-CQki5l4P-CuMomXeK.js} +9 -9
  123. package/dist/assets/{PeoplePage-BHfn-oLF-CGOapKvG.js → PeoplePage-BCjxJl1y-JBCpiTMQ.js} +10 -10
  124. package/dist/assets/{Preview-B9tjpKKL.js → Preview-DMKZka6j.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-ChWN6HhX-DEhcI5NW.js → ProductsCarousel-BYvlY6Jl-BJ6Pqq3q.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-BWpqciJW-DEw7mp3r.js → PromoBaseCards-6vRaZnUg-CBqkAept.js} +12 -12
  127. package/dist/assets/{QBOConnectionDialog-D9wVm2ga-jv2cIUQM.js → QBOConnectionDialog-C-v9bhUW-CtiRv4Zj.js} +2 -2
  128. package/dist/assets/{QBOSetupSection-CR7JQ_H9-CokKwnfI.js → QBOSetupSection-DPhwp1AB-DxJDpMHr.js} +11 -11
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-RTvnT_vl-D0AOYl_B.js → ReimbursementApprovalRuleDetailPage-Crz8RArL-DQzyot-2.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-Dbs4lLSo-5JjLiWWQ.js → ReimbursementApprovalRulesPage-CHrPVveg-DDlyKkun.js} +13 -13
  131. package/dist/assets/{ReimbursementDetailPage-COF-QqKR-BLj9_Zcn.js → ReimbursementDetailPage-BlfifQuc-DXXQTfQu.js} +8 -8
  132. package/dist/assets/{ReimbursementPromoPage-DSHynwPv-CMfUTDoh.js → ReimbursementPromoPage-B6rhhOye-CmIRL-Wr.js} +12 -12
  133. package/dist/assets/{ReimbursementSetUpPage-CafAtAVr-BdH5_Uu6.js → ReimbursementSetUpPage-BQwRjKZ5-CWVOKlly.js} +7 -7
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cz8keUEO-C42JglzT.js → ReimbursementsBulkReviewDrawerPage-BTaFn0Mh-DXx1vhRK.js} +1 -1
  135. package/dist/assets/{ReloadCard-Bf1jxC4B-CjPHohhm.js → ReloadCard-DETUOoLJ-Dww2RtAQ.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-DOQm7O9r-DcS436ql.js → ReportTableViewSelector-DSDclygb-CPmwPKtZ.js} +29 -29
  137. package/dist/assets/{ReportsPage-Deg59aYB-VaMTaqOC.js → ReportsPage-BrmMmYET-qm3o80ge.js} +4 -4
  138. package/dist/assets/{RevenueChart-C1RR_51e-Bn1LRvSc.js → RevenueChart-B711QWTX-ztc9NA65.js} +17 -17
  139. package/dist/assets/{ReviewDetailsPage-D3bqGZYb-DmpMCAqo.js → ReviewDetailsPage-Bkw0FfE--BL2mmyys.js} +52 -52
  140. package/dist/assets/{ReviewOverlay-CKB9LulM-CUNk2W-s.js → ReviewOverlay-CkB3Z8hH-CX5FMXRQ.js} +11 -11
  141. package/dist/assets/{RoleWithToolTip-BGlbeXtJ-BQ5iinOT.js → RoleWithToolTip-CkpqxMzB-CgYpd1vG.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-D4OkyPNa-6prKuM88.js → ScheduleDetailsFixedAssetsPage-C-4zVu03-B-3H4CNH.js} +9 -9
  143. package/dist/assets/{ScheduleDetailsPage-9oUScaFD-Czq02-r0.js → ScheduleDetailsPage-D4mYRUnv-CIK0kUkx.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-CuOC0Niz-BzAvMkBB.js → ScheduleSequenceTable-q-031a_C-Cl6g3k1V.js} +8 -8
  145. package/dist/assets/{ScreenRoutes-DhG0rKVC.js → ScreenRoutes-D9-sd0S3.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-CK2Ibij3-DvyPJ8FZ.js → SetUpAccountSection-Mm8JelXc-DJkSxyLc.js} +6 -6
  147. package/dist/assets/{SignIn-CLLS0cqt-G1jKv-f1.js → SignIn-faWXqi7o-BVPJ-uzq.js} +16 -16
  148. package/dist/assets/{SignInScreen-BdhVUUiU.js → SignInScreen-DTTr8TvQ.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-C1hg05PB-BMXGChah.js → SpendManagementListViewPage-BLWEPKWO-zjDi64vH.js} +6 -6
  150. package/dist/assets/{SpendManagementPerTabPage-7uggjzlM-BBdEOhcD.js → SpendManagementPerTabPage-vZNK6DuA-DHQi0ok2.js} +23 -23
  151. package/dist/assets/{SpendManagementSection-DFiL_yNI-ca-vlRub.js → SpendManagementSection-CeDmloNd-CJQVf2yR.js} +1 -1
  152. package/dist/assets/StatementItem-CJShifEl-gXZiawe9.js +31 -0
  153. package/dist/assets/StatementsPage-BRxP-Jwn-CibgKP9E.js +58 -0
  154. package/dist/assets/{StatusSwitcher-DPzwQ_o1-DkaIBc47.js → StatusSwitcher-CPuONMOx-IUewbXcR.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-Dztt2rN9-DqHo5u0Z.js → SubTabSwitcher-ibTbIxr5-87SzITqK.js} +1 -1
  156. package/dist/assets/SummaryCard-vWpHXMPE-j4-YbXA_.js +1 -0
  157. package/dist/assets/{TaskManagementPage-BRAt26fv-om-zuIgh.js → TaskManagementPage-COs5ebo9-LStJ5YyB.js} +22 -22
  158. package/dist/assets/{TimeRangeSwitcher-DMCbeOcI-C4mgjK4U.js → TimeRangeSwitcher-fD5vvYGO-Cg6AHBEd.js} +11 -11
  159. package/dist/assets/{TimeframeSwitcher-YCgPbEnk-CJUz-kg1.js → TimeframeSwitcher-BYXKRKtc-BTNUudrw.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-BBJP1nmh-D1jTbV4O.js → TimeframeSwitcherWithToggle-f92qNjEk-CshyNxhp.js} +2 -2
  161. package/dist/assets/{TopExCard-LesAF7Ot-CWhGtv9n.js → TopExCard-Bs4nI9Q9-C9Jpq9jc.js} +10 -10
  162. package/dist/assets/{TopExDetailPage-BTG2W95T-CAgJv3QR.js → TopExDetailPage-B0kS11k0-IiO7dIt-.js} +8 -8
  163. package/dist/assets/{TransactionDetailPage-BqHVfK2K-CBoMen48.js → TransactionDetailPage-BXl6y7sy-B_wNV2dF.js} +1 -1
  164. package/dist/assets/{TransactionList-CGmpQyNM-BGohJsUE.js → TransactionList-BYXPQXN1-C2WkgSOj.js} +11 -11
  165. package/dist/assets/{TransactionListBig-CSYpIxGa-Bd2xJZzC.js → TransactionListBig-lrbHUS38-D0fzERPt.js} +16 -16
  166. package/dist/assets/{TransactionListPage-CV5U_pA6-DsUhS_R3.js → TransactionListPage-OOLJzsmw-Dmoozb9S.js} +2 -2
  167. package/dist/assets/{TransactionVendorDetailPage-DvqHmq7y-C8mjIShR.js → TransactionVendorDetailPage-CmjrngD2-DvxXX996.js} +4 -4
  168. package/dist/assets/{TransferDrawerPage-Cm5reG35-B5qd6-NU.js → TransferDrawerPage-CnFrzA_M-C6390hZV.js} +15 -15
  169. package/dist/assets/{TreasuryOverviewPage-CwcehiRb-BBfaI9Ls.js → TreasuryOverviewPage-CGxccIcU-CgXb0qH5.js} +25 -25
  170. package/dist/assets/{TreasuryPromoPage-BagqhZgO-BswlnynL.js → TreasuryPromoPage-BmMVa8cX-BOYWbSX7.js} +8 -8
  171. package/dist/assets/{TreasuryStatementsPage-o-ID2nvn-DTg8AAgQ.js → TreasuryStatementsPage-DL94A9mN-DZ6yoZ74.js} +1 -1
  172. package/dist/assets/{TreasuryTaxLetterPage-D9f3ohGF-DEP20r26.js → TreasuryTaxLetterPage-BJ9-ZsCQ-DnDmd1Op.js} +2 -2
  173. package/dist/assets/{TrendChart-CqxpheW7-DiPHNgeC.js → TrendChart-ClyJQTBF-TLthRW_O.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-CK_je__x-C1Qk91i9.js → TrendWithTransactions-D4m4sVkf-DJ-5Yugx.js} +4 -4
  175. package/dist/assets/{UncategorizedAccountsMappingPage-BBYQFJxE-nEmuJTEW.js → UncategorizedAccountsMappingPage-BLwx8CVj-dhOY5qHO.js} +1 -1
  176. package/dist/assets/{UnitIntegrationPage-ULhazfl5-DPlYAGvC.js → UnitIntegrationPage-CgbOyIBt-nz_B7FQx.js} +10 -10
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-BPNLdaLG-DQNAWd7N.js → UploadAdditionalDocumentOverlay-CmVwCxA2-BL_6rNZZ.js} +1 -1
  178. package/dist/assets/Vendor2FAPopup-DQtP0bm--CecMTi1i.js +1 -0
  179. package/dist/assets/VendorACHDetailsPage-CuCteqbL-CrfAmoz7.js +1 -0
  180. package/dist/assets/{VendorDetailPage-DPiVnh93-CAOlBr9d.js → VendorDetailPage-CFkDOdUe-B1GqtBiD.js} +93 -93
  181. package/dist/assets/VendorDomesticWireDetailsPage-Cr1fyB0u-N7obKAAe.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-CFrvW8qi-C-v6Mx4-.js → VendorFiling1099EditablePage-Bkn9p2Sf-xXTYWhq9.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-CRLGuw2s-wfeT2fAg.js → VendorFirstReviewPage-CKvnB4Q7-wJi46XXQ.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CV11lzdw-BWhlaMax.js → VendorInternationalWireDetailsPage--B2XU_hP-CbzsnIo2.js} +8 -8
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CJFB7SEO-BecYrM5_.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-vd0V4UXY-BNPavepY.js → VendorsAccountsSection-DJP1yZx7-OlnsbsSP.js} +3 -3
  187. package/dist/assets/{VerifyDevice-DbyjJVTH-_0YHPiw6.js → VerifyDevice-dFsnt44d-C1LsKxM_.js} +3 -3
  188. package/dist/assets/{VideoPlayer-CoI7aj8a-B3tmTxCF.js → VideoPlayer-Dy6rImBJ-QOYygi-i.js} +2 -2
  189. package/dist/assets/{VideoPopup-Bp7fCV1r-BulLqsQx.js → VideoPopup-DM5Buf4j-CFLugl6n.js} +4 -4
  190. package/dist/assets/{WarningsDrawerPage-jMslD0FX-CrUmOPLP.js → WarningsDrawerPage-C8i8v3rq-BqkJBNMa.js} +5 -5
  191. package/dist/assets/{ZeniAccountDetailPage-C1Vq8cMd-BzjwyTwn.js → ZeniAccountDetailPage-CI7znfzM-Vqgai5nW.js} +12 -12
  192. package/dist/assets/{ZeniAccountListViewPage-BNTb04x5-DcvhdCN4.js → ZeniAccountListViewPage-CBnYQpc8-Dv81IpSI.js} +7 -7
  193. package/dist/assets/{ZeniAccountNavBarPieces-ByYrxg3x-w6kmpmKh.js → ZeniAccountNavBarPieces-sMjtAlej-CO7nbf-u.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-BCkk0NbR-juw5u7mQ.js → ZeniAccountPromoPage-B_NJMHHV-DWsuBCOP.js} +13 -13
  195. package/dist/assets/{ZeniAccountSetupPage-ClZTjZhF-C_sOqJTM.js → ZeniAccountSetupPage-C9cJ0F8e-BF5g947U.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-C8wXM9Gr-qMGnv8al.js → ZeniCopyright-DzWFQiAt-07AcK5yb.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-NAR_1h8K-DARDrTsk.js → ZeniTransferAmountSlider-B424bcSV-CHepSJQx.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-flwj0i1s.js → add-to-wallet-DgdBD8_G-pWZi41H8.js} +1 -1
  199. package/dist/assets/{analytics-EizVTK6x.js → analytics-BvXI56dE.js} +1 -1
  200. package/dist/assets/{analyticsHelper-DjynPp_X-s29on7ka.js → analyticsHelper-CzevEN9D-BUYGstD0.js} +1 -1
  201. package/dist/assets/{analyticsHelper-BRPQgKH6.js → analyticsHelper-DP-LgJhR.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-DbFUNUBk.js → arrow-south-east-round-PEovUgvH-B9_UwdI_.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-T83isyAA.js → auto-transfer-rule-mbafm5D3-CRwly3T1.js} +1 -1
  204. package/dist/assets/{chartTypes-CXNoxZp_-CJ_wyUtd.js → chartTypes-n3TS0IBf-DRx7aLxA.js} +1 -1
  205. package/dist/assets/{commonDimensions-i9Qxk1O2-XYIUogON.js → commonDimensions-6BcP8EhU-CPpjZ-C4.js} +1 -1
  206. package/dist/assets/{commonTypes-CcEHeA3z-sEqnsPbS.js → commonTypes-Q1WP-Ym3-Cmq2uCPt.js} +1 -1
  207. package/dist/assets/{constants-BGXrwDfx.js → constants-B97TsRRb.js} +1 -1
  208. package/dist/assets/{core-C5wq1_Bk.js → core-CIefpDlV.js} +1 -1
  209. package/dist/assets/{dash.all.min-B4_top4V.js → dash.all.min-RUznf6Xj.js} +1 -1
  210. package/dist/assets/{detailCommon-DVTOw71--Wk0Evzej.js → detailCommon-D3YbmSu3-CiTGsaNF.js} +7 -7
  211. package/dist/assets/{downloadPdf-1-N8Pf0G-CMW67koi.js → downloadPdf-Bf11NXjY-DUwuSlsF.js} +1 -1
  212. package/dist/assets/{empty-fb3xJ2Vb.js → empty-BQQX0XD1.js} +1 -1
  213. package/dist/assets/{empty-DuP8pCf7.js → empty-DJIJO66a.js} +1 -1
  214. package/dist/assets/{epic-4LjfR2JF.js → epic-C6ygjjdM.js} +1 -1
  215. package/dist/assets/{gift-box-Cmt9OgIZ-BtixTK1k.js → gift-box-Cmt9OgIZ-BWCTqneo.js} +1 -1
  216. package/dist/assets/{graphic-no-data-l-DU4J8fDt--UnjJCr0.js → graphic-no-data-l-DU4J8fDt-C8GXOUxr.js} +1 -1
  217. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-8oQBXM_J.js → graphic-no-data-net-burn-l-CzmycA0m-BQAFQuCs.js} +1 -1
  218. package/dist/assets/{handshake-BPg58FML-BSCdA5zo.js → handshake-BPg58FML-BCnezDN8.js} +1 -1
  219. package/dist/assets/{index-tW1FBxGF.js → index-BzA0Xv0P.js} +1 -1
  220. package/dist/assets/{index-Ko3PkHk3.js → index-CQs92n2L.js} +1 -1
  221. package/dist/assets/{index-CzJUh-iK.js → index-DAj0zPwk.js} +1 -1
  222. package/dist/assets/{index-J8KI2Uyc.js → index-DtRGsySN.js} +1 -1
  223. package/dist/assets/{index-DVgY55Ab.js → index-WEj6FS32.js} +10 -8
  224. package/dist/assets/{index-_TIifI_v.js → index-rikpsdq-.js} +1 -1
  225. package/dist/assets/{index-DqRCO-H6.js → index-smQbM7l5.js} +1 -1
  226. package/dist/assets/{lexical-xuKHFvUb.js → lexical-Dp1JhPKz.js} +1 -1
  227. package/dist/assets/{liveblocks-B14TpO3l.js → liveblocks-CrODURpx.js} +1 -1
  228. package/dist/assets/{lottie-BIQaRIZs.js → lottie-hIwSKdQS.js} +1 -1
  229. package/dist/assets/{mapLoadingInProgressToTreeNode-UA-QQZJo-DsDuha6V.js → mapLoadingInProgressToTreeNode-BArKDqgr-Ce9uxfyP.js} +1 -1
  230. package/dist/assets/{mapSectionWithAcOnlyToTreeNode--y3nO5uZ-DP42yTzT.js → mapSectionWithAcOnlyToTreeNode-BCmFQbuz-BJl1ilV_.js} +1 -1
  231. package/dist/assets/mapSpacerToTreeNode-DdwRxjlP-Bw1NwZTY.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-CR-gDA51-Dr9tcN9g.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-ClmNRrTo-Covijrhn.js +1 -0
  234. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-aD-96xtj-BAIV3Qln.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DT4LUXl9-COTrRRrU.js} +1 -1
  235. package/dist/assets/{mui-CR-wYMmN.js → mui-BTtN6lbG.js} +1 -1
  236. package/dist/assets/{page-detail-CWX5S47F-Dp0GDjdb.js → page-detail-CWX5S47F-vL4oE1Hd.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-CInIhD3e.js → radio-default-CiSgisfh-CzTG_UVX.js} +1 -1
  238. package/dist/assets/{react-D2cRiLcJ.js → react-BZDhaeWn.js} +1 -1
  239. package/dist/assets/{react-C8urvt-z.js → react-CZT8R2xg.js} +1 -1
  240. package/dist/assets/{react-D_2r5dmn.js → react-D8h_J9ua.js} +1 -1
  241. package/dist/assets/{react-BW87X3sj.js → react-DTawl0rf.js} +1 -1
  242. package/dist/assets/{react-DHV7aTmN.js → react-FdUpWGdd.js} +2 -2
  243. package/dist/assets/{react-CCZeJYV_.js → react-RUf-G1wy.js} +1 -1
  244. package/dist/assets/{react-BHi_eEiU.js → react-dGc0O2tO.js} +1 -1
  245. package/dist/assets/{react-CcqTmi2W.js → react-yNxKnTJa.js} +1 -1
  246. package/dist/assets/{recharts-C3mrSjO2.js → recharts-BfU_srYC.js} +1 -1
  247. package/dist/assets/{sentry-DMXY90dB.js → sentry-B0WgNUxa.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-BYs2EC5i.js → shield-DOlUxcFf-Z1Xg2OMK.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-BzzH0Io4-q6KiTxht.js +1 -0
  250. package/dist/assets/{toChartData-Dv-QcYgv-C4sd-ifC.js → toChartData-Bl-lEYbQ-Cv_10vbn.js} +1 -1
  251. package/dist/assets/{uploadAttachment-DSmux1Yp-Dl4ms4pR.js → uploadAttachment-B_0cN84g-C7pQHANb.js} +8 -8
  252. package/dist/assets/{uploadReceipts-DJRtId-4-CHJq-raT.js → uploadReceipts-DJRtId-4-B1jpX457.js} +1 -1
  253. package/dist/assets/{url-20Ls3nS_.js → url-CHEcUoer.js} +1 -1
  254. package/dist/assets/{url-DojBAuFA.js → url-D-l_68oE.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-C5_U_XBl.js → useLongPress-GCK2COYQ-BysG3lqG.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-l2et8N9o.js → usp-line-BBd1wKwW-ZROsAmzr.js} +1 -1
  257. package/dist/assets/{utils-BCuN6woZ.js → utils-DZQMbqmw.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-BXMuLX_S.js → zeni-epic-state-DnAAAEmj.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +4 -4
  261. package/dist/assets/AccountInfoPage-CyJ0eFqc-oDTaIYye.js +0 -18
  262. package/dist/assets/AddAddressForCardDrawer-D1XOklKz-D41jak46.js +0 -6
  263. package/dist/assets/CardNumberSubText-sE2DGwYG-B174guLL.js +0 -21
  264. package/dist/assets/ChargeCardPromoPage-D0np03A--Bpq9wCjH.js +0 -222
  265. package/dist/assets/ConfettiBurst-BRie0bid-CKCgsLzT.js +0 -1
  266. package/dist/assets/CustomerOnboardingContainerPage-DrNstqxI-DBMIRSp3.js +0 -1
  267. package/dist/assets/EntityDetailPage-Cpdbw3XR-C8k1xBJc.js +0 -18
  268. package/dist/assets/LabeledControlledCheckBoxField--EmdYCME-BUoRkObt.js +0 -16
  269. package/dist/assets/LabeledDocumentField--JZn0qDn-Ck_rkdmF.js +0 -41
  270. package/dist/assets/MagicLinkACHDetailsPage-D4Vmz8ms-ItRZ63_N.js +0 -1
  271. package/dist/assets/MagicLinkDomesticWireDetailsPage-B7C30ROh-C843OBvj.js +0 -1
  272. package/dist/assets/MagicLinkInternationalWireDetailsPage-DVFrpmvm-COXfeIQs.js +0 -1
  273. package/dist/assets/MailingDetailsSection-CTPCXpZR-Dv3Iye8Q.js +0 -21
  274. package/dist/assets/StatementItem-CdytKcBE-CavJc8fo.js +0 -31
  275. package/dist/assets/StatementsPage-DU32IYXF-Dj_pMhMm.js +0 -58
  276. package/dist/assets/SummaryCard-D3ev0zFr-CHfcyxTY.js +0 -1
  277. package/dist/assets/Vendor2FAPopup-C3Z-3poJ-Cxx265s1.js +0 -1
  278. package/dist/assets/VendorACHDetailsPage-DnB2b-v_-C755XLlO.js +0 -1
  279. package/dist/assets/VendorDomesticWireDetailsPage-BbfatdWd-DhsLa-3A.js +0 -1
  280. package/dist/assets/VendorInternationalWireSwiftDetailsPage-D3asjWH_-BXIinpkC.js +0 -1
  281. package/dist/assets/mapSpacerToTreeNode-BOG_274U-C0W1M9EX.js +0 -1
  282. package/dist/assets/mapTimeframeBalancesToTreeNode-Btd_0ZvL-CEgQnhXV.js +0 -1
  283. package/dist/assets/mapTimeframeBalancesToTreeNode-LWHXAvJU-B42MwYQ_.js +0 -1
  284. package/dist/assets/toCOABalancesWithID-C_7wlYeT-C3P4q5bp.js +0 -1
@@ -1,11 +1,11 @@
1
- import{g as b,Q as g,V as o,aP as h,bS as p,o as l,bE as y,eP as f,F as m,c1 as x,bQ as k,b as w}from"./index-DVgY55Ab.js";import{n}from"./mui-CR-wYMmN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="87fe110e-e857-47aa-8336-4e6d780efcb6",e._sentryDebugIdIdentifier="sentry-dbid-87fe110e-e857-47aa-8336-4e6d780efcb6")}catch{}})();const C=n.div`
1
+ import{g,J as b,V as o,aP as h,bS as p,o as l,bE as y,eP as m,F as f,c1 as x,bQ as k,b as w}from"./index-WEj6FS32.js";import{n}from"./mui-BTtN6lbG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="d2963383-e9ac-4d15-9d1d-2450d9e75854",e._sentryDebugIdIdentifier="sentry-dbid-d2963383-e9ac-4d15-9d1d-2450d9e75854")}catch{}})();const C=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  flex: 1 1 auto;
5
5
  justify-content: center;
6
6
  max-width: calc(100% - 36px);
7
7
  margin-left: ${l.sp3};
8
- `,v=({backgroundColor:e,pickerValues:r,valueToLabel:i,selectedValue:a,onPickerSelectionChanged:s,isPickerDisabled:c,titleTextStyle:d,styles:u})=>{const t=b();return o.jsx(C,{style:u,children:o.jsx(k,{pickerValues:r,valueToLabel:i,selectedValue:a,onPickerSelectionChanged:s,backgroundColor:e,titleTextStyle:d??w.largeRegular,titleColor:t.colors.primary,selectedOptionColor:t.colors.primary,isDisabled:c})})},{common:{navBar:{back:$}}}=m.getLocalizedStrings(),S={navBarHeight:y},j=n.div`
8
+ `,v=({backgroundColor:e,pickerValues:r,valueToLabel:i,selectedValue:a,onPickerSelectionChanged:s,isPickerDisabled:c,titleTextStyle:d,styles:u})=>{const t=g();return o.jsx(C,{style:u,children:o.jsx(k,{pickerValues:r,valueToLabel:i,selectedValue:a,onPickerSelectionChanged:s,backgroundColor:e,titleTextStyle:d??w.largeRegular,titleColor:t.colors.primary,selectedOptionColor:t.colors.primary,isDisabled:c})})},{common:{navBar:{back:$}}}=f.getLocalizedStrings(),S={navBarHeight:y},j=n.div`
9
9
  display: flex;
10
10
  align-items: center;
11
11
  min-height: ${e=>S.navBarHeight.valuePx(e.windowSize)};
@@ -18,7 +18,7 @@ import{g as b,Q as g,V as o,aP as h,bS as p,o as l,bE as y,eP as f,F as m,c1 as
18
18
  &:hover {
19
19
  color: ${e=>e.theme.colors.primary};
20
20
  }
21
- `,I=n(f)`
21
+ `,I=n(m)`
22
22
  cursor: pointer;
23
23
  width: 20px;
24
24
  min-width: 20px;
@@ -27,4 +27,4 @@ import{g as b,Q as g,V as o,aP as h,bS as p,o as l,bE as y,eP as f,F as m,c1 as
27
27
  &:hover {
28
28
  color: ${e=>e.theme.colors.primary};
29
29
  }
30
- `;function V({picker:e,backgroundColor:r,showMenuIcon:i,rightSideComponent:a,onBackClick:s,onClickMenuIcon:c}){const d=b(),u=g(),t=r??d.colors.grey5;return o.jsxs(j,{bgColor:t,windowSize:u,children:[i?o.jsx(I,{onClick:c,"data-testid":h("nav-bar-menu-button")}):o.jsx(p,{style:{marginTop:l.sp1,height:l.sp4},title:$,enterDelay:600,placement:"bottom",children:o.jsx(D,{"data-testid":h("nav-bar-back-button"),onClick:s})}),o.jsx(v,{...e,backgroundColor:t}),a!=null?o.jsx(T,{children:a}):null]})}export{V as R};
30
+ `;function V({picker:e,backgroundColor:r,showMenuIcon:i,rightSideComponent:a,onBackClick:s,onClickMenuIcon:c}){const d=g(),u=b(),t=r??d.colors.grey5;return o.jsxs(j,{bgColor:t,windowSize:u,children:[i?o.jsx(I,{onClick:c,"data-testid":h("nav-bar-menu-button")}):o.jsx(p,{style:{marginTop:l.sp1,height:l.sp4},title:$,enterDelay:600,placement:"bottom",children:o.jsx(D,{"data-testid":h("nav-bar-back-button"),onClick:s})}),o.jsx(v,{...e,backgroundColor:t}),a!=null?o.jsx(T,{children:a}):null]})}export{V as R};
@@ -1,4 +1,4 @@
1
- import{V as t,o as r,a$ as h,c1 as c}from"./index-DVgY55Ab.js";import{c as l,n}from"./mui-CR-wYMmN.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="f3cd7388-9565-4c91-90f9-2d7295c6d319",o._sentryDebugIdIdentifier="sentry-dbid-f3cd7388-9565-4c91-90f9-2d7295c6d319")}catch{}})();const f=l`
1
+ import{V as t,o as r,a$ as h,c1 as c}from"./index-WEj6FS32.js";import{c as l,n}from"./mui-BTtN6lbG.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="f3cd7388-9565-4c91-90f9-2d7295c6d319",o._sentryDebugIdIdentifier="sentry-dbid-f3cd7388-9565-4c91-90f9-2d7295c6d319")}catch{}})();const f=l`
2
2
  border-left-style: none;
3
3
  margin-left: -${r.sp3};
4
4
  border-top-right-radius: ${r.sp2};
@@ -1,4 +1,4 @@
1
- import{V as n,aP as y,o as a}from"./index-DVgY55Ab.js";import{n as l}from"./mui-CR-wYMmN.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="18bdd25a-a1a2-4376-970d-05092fb63fbc",o._sentryDebugIdIdentifier="sentry-dbid-18bdd25a-a1a2-4376-970d-05092fb63fbc")}catch{}})();const v=l.div`
1
+ import{V as n,aP as y,o as a}from"./index-WEj6FS32.js";import{n as l}from"./mui-BTtN6lbG.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="18bdd25a-a1a2-4376-970d-05092fb63fbc",o._sentryDebugIdIdentifier="sentry-dbid-18bdd25a-a1a2-4376-970d-05092fb63fbc")}catch{}})();const v=l.div`
2
2
  text-align: center;
3
3
  cursor: pointer;
4
4
  `,b=l.div`
@@ -1,4 +1,4 @@
1
- import{Q as k,a9 as K,cE as Q,aQ as X,V as t,ac as Y,aR as Z,o as l,y as i,x as ee,a as q,d as te,F as z,gV as le,al as ae,cI as O,cL as U,cJ as ne,u as n,ie as oe,b9 as re,er as ie,cN as de,em as se,T as ce,ev as me,dj as he,bh as be,p as R}from"./index-DVgY55Ab.js";import{a as D}from"./sentry-DMXY90dB.js";import{n as o,c as ge}from"./mui-CR-wYMmN.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="8e730598-3ecc-4b09-9192-4339fef0a4fc",e._sentryDebugIdIdentifier="sentry-dbid-8e730598-3ecc-4b09-9192-4339fef0a4fc")}catch{}})();const w={width:new i(343,580,726),height:new i(n[6],n[6]),controlHeight:new i(n[6],n[6]),paddingTopBottom:new i(n[2],n[2]),marginRight:new i(n[2],n[2]),labelMarginLeft:new i(n[3],n[4]),labelMarginRight:new i(n[3],n[4]),labelMarginTop:new i(n[2],n[2])},ue={infoLabel:new q("smallRegular","standardRegular")},pe=z.getLocalizedStrings();function we({label:e,textField:a,additionalInfo:m,checkBoxFields:h,fetchState:g,style:v,toolTip:M,isOptionalLabel:S}){const s=k(),{formState:{errors:d}}=O(),$=ie(d,a.name);return t.jsxs(fe,{windowSize:s,style:v,isDisabled:a.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:a.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:S}),t.jsxs(xe,{labelWidth:e.width,children:[t.jsx(se,{...a,style:{...a.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),g?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(ye,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:h.length>0,isError:$,children:[m.icon,m.label]}),h.length>0?h.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<h.length-1?t.jsx(ve,{children:pe.common.texts.or}):null]})):null]})]})]})}const fe=o.div`
1
+ import{J as k,a9 as K,cE as Q,aQ as X,V as t,ac as Y,aR as Z,o as l,y as i,x as ee,a as q,d as te,F as z,gV as le,al as ae,cI as O,cL as U,cJ as ne,u as n,ie as oe,b9 as re,er as ie,cN as de,em as se,T as ce,ev as me,dj as he,bh as be,p as R}from"./index-WEj6FS32.js";import{a as D}from"./sentry-B0WgNUxa.js";import{n as o,c as ge}from"./mui-BTtN6lbG.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="f79ce6fb-12c4-4071-a2bd-2177056d7f17",e._sentryDebugIdIdentifier="sentry-dbid-f79ce6fb-12c4-4071-a2bd-2177056d7f17")}catch{}})();const w={width:new i(343,580,726),height:new i(n[6],n[6]),controlHeight:new i(n[6],n[6]),paddingTopBottom:new i(n[2],n[2]),marginRight:new i(n[2],n[2]),labelMarginLeft:new i(n[3],n[4]),labelMarginRight:new i(n[3],n[4]),labelMarginTop:new i(n[2],n[2])},ue={infoLabel:new q("smallRegular","standardRegular")},pe=z.getLocalizedStrings();function we({label:e,textField:a,additionalInfo:m,checkBoxFields:h,fetchState:g,style:v,toolTip:M,isOptionalLabel:S}){const s=k(),{formState:{errors:d}}=O(),$=ie(d,a.name);return t.jsxs(fe,{windowSize:s,style:v,isDisabled:a.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:a.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:S}),t.jsxs(xe,{labelWidth:e.width,children:[t.jsx(se,{...a,style:{...a.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),g?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(ye,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:h.length>0,isError:$,children:[m.icon,m.label]}),h.length>0?h.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<h.length-1?t.jsx(ve,{children:pe.common.texts.or}):null]})):null]})]})]})}const fe=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -94,7 +94,7 @@ import{Q as k,a9 as K,cE as Q,aQ as X,V as t,ac as Y,aR as Z,o as l,y as i,x as
94
94
  color: ${e=>e.theme.colors.brandColorJade};
95
95
  width: ${l.sp3};
96
96
  height: ${l.sp3};
97
- `,y={containerPaddingLeft:new i(n[3],n[3],n[6]),containerPaddingRight:new i(n[3],n[3],n[8]),navbarContainerPaddingTop:new i(n[2],n[3]),navbarContainerPaddingBottom:new i(n[4],n[5]),sectionTitleMarginTop:new i(0,n[3]),sectionTitleMarginLeft:new i(n[3],0)},ze={sectionTitle:new q("h6Regular","h5Regular")},W="newGlobalMerchantPage",x="newGlobalMerchant",Fe=z.getLocalizedStrings(),{common:{footer:E,sectionTitles:Le},vendorReview:{globalReview:Ie}}=Fe,rt=({globalMerchantView:e,analytics:a,tenantMerchant:m,isDisabled:h,updateCreateGlobalMerchantLocalData:g,fetchRecommendation:v,onBackClick:M,onSaveClick:S})=>{const s=k(),d=K({mode:"all",reValidateMode:"onChange",defaultValues:D.useMemo(()=>B(e),[e]),values:D.useMemo(()=>B(e),[e]),resetOptions:{keepDefaultValues:!0,keepDirtyValues:!0}}),$=()=>{if(e.newGlobalMerchantData!=null){const r=m?.tenantName??null,b=e.newGlobalMerchantData.globalMerchantName,c=e.recommendedGlobalMerchants[0]?.globalMerchantName??null;a.trackVendorReviewNewVendorRequested({reviewSource:"global_review",newRequestedVendorName:b,tenantName:r,newRequestedVendorNameSource:r!=null?"text_edit":"new_vendor_button",isVendorNameRecommendationSelected:c===b,recommendedVendorName:c,recommendedVendorReason:e.recommendedGlobalMerchants[0]?.reason??null})}v()},u=()=>{if(e.newGlobalMerchantData!=null){const r=m?.tenantName??null,b=e.newGlobalMerchantData.globalMerchantName,c=e.recommendedGlobalMerchants[0]?.globalMerchantName??null;a.trackVendorReviewNewVendorSaved({reviewSource:"global_review",saveRequestedVendorName:b,tenantName:r,recommendedVendorName:c,saveRequestedVendorSource:r!=null?"text_edit":"new_vendor_button",recommendedVendorReason:e.recommendedGlobalMerchants[0]?.reason??null,isVendorNameRecommendationSelected:c===b})}S()},p=()=>{e.newGlobalMerchantData!=null&&a.trackVendorReviewNewVendorCanceled({reviewSource:"global_review",newRequestedVendorName:e.newGlobalMerchantData.globalMerchantName,tenantName:m?.tenantName??null,recommendedVendorName:e.recommendedGlobalMerchants[0]?.globalMerchantName??null,recommendedVendorReason:e.recommendedGlobalMerchants[0]?.reason??null}),M()},V=()=>{u()},G=async(r,b)=>{const{newGlobalMerchant:{globalMerchantName:c,recommendedFirst:L,recommendedSecond:I,globalMerchantWebsiteUrl:A}}=b;if(r.includes("globalMerchantName")||r.includes("globalMerchantWebsiteUrl")){let P=null;c===e.recommendedGlobalMerchants[0]?.globalMerchantName?P="recommendedFirst":c===e.recommendedGlobalMerchants[1]?.globalMerchantName&&(P="recommendedSecond"),g(c,P,A)}else(r.includes("recommendedFirst")||r.includes("recommendedSecond"))&&(r.includes("recommendedFirst")&&L&&e.recommendedGlobalMerchants[0]?.globalMerchantName?(g(e.recommendedGlobalMerchants[0]?.globalMerchantName,"recommendedFirst",e.recommendedGlobalMerchants[0]?.websiteUrl?.toString()),e.recommendedGlobalMerchants[0]?.websiteUrl!=null&&d.setValue(`${x}.globalMerchantWebsiteUrl`,e.recommendedGlobalMerchants[0].websiteUrl.toString())):r.includes("recommendedSecond")&&I&&e.recommendedGlobalMerchants[1]?.globalMerchantName?(g(e.recommendedGlobalMerchants[1].globalMerchantName,"recommendedSecond",e.recommendedGlobalMerchants[1].websiteUrl?.toString()),e.recommendedGlobalMerchants[1]?.websiteUrl!=null&&d.setValue(`${x}.globalMerchantWebsiteUrl`,e.recommendedGlobalMerchants[1].websiteUrl.toString())):!L&&!I&&(d.resetField(`${x}.globalMerchantName`),d.resetField(`${x}.globalMerchantWebsiteUrl`)))};D.useEffect(()=>{const r=d.watch((b,{name:c})=>{c!=null&&b!=null&&Q(()=>G(c,b))});return()=>{r.unsubscribe()}});const{newGlobalMerchantData:f,fetchState:N,error:H,recommendedGlobalMerchants:J}=e,F=X(N);return D.useEffect(()=>{F==="In-Progress"&&N==="Completed"&&f?.globalMerchantName!=null&&(d.resetField(`${x}.globalMerchantName`,{defaultValue:f.globalMerchantName}),e.recommendedGlobalMerchants.forEach(r=>{r.globalMerchantName===f.globalMerchantName&&r.websiteUrl!=null&&d.setValue(`${x}.globalMerchantWebsiteUrl`,r.websiteUrl.toString())}))},[F,N,d,f?.globalMerchantName,f?.globalMerchantWebsiteUrl,e.recommendedGlobalMerchants]),t.jsxs(Ue,{windowSize:s,children:[t.jsxs(Ce,{windowSize:s,children:[t.jsx(Ee,{children:t.jsx(_e,{onClick:p})}),t.jsx(Be,{windowSize:s,children:Le.newVendor}),t.jsx(qe,{children:t.jsxs(Oe,{children:[t.jsx(Je,{children:t.jsx(Ae,{})}),t.jsx(He,{children:Ie.newGlobalMerchant.tip})]})})]}),t.jsx(We,{children:t.jsx(Y,{...d,children:t.jsx("form",{id:_(W),onSubmit:d.handleSubmit(V),children:t.jsx(je,{sectionId:x,isDisabled:f?.status.fetchState==="In-Progress"?"readonly":h,newGlobalMerchantData:f,recommendationFetchState:{fetchState:N,error:H},recommendedGlobalMerchants:J,fetchRecommendation:$})})})}),t.jsx(Z,{formId:_(W),primaryBtn:{label:E.save,isLoading:f?.status.fetchState==="In-Progress",isDisabled:N==="In-Progress"},cancelBtn:{label:E.cancel,shouldResetOnCancel:!0,onClick:p}})]})},_=e=>`${e}_form`,B=e=>{const{newGlobalMerchantData:a}=e;return{[x]:{globalMerchantName:a?.globalMerchantName??"",globalMerchantWebsiteUrl:a?.globalMerchantWebsiteUrl?.toString(),recommendedFirst:a?.currentSelection==="recommendedFirst",recommendedSecond:a?.currentSelection==="recommendedSecond",newGlobalMerchantId:a?.newGlobalMerchantId}}},Ue=o.div`
97
+ `,y={containerPaddingLeft:new i(n[3],n[3],n[6]),containerPaddingRight:new i(n[3],n[3],n[8]),navbarContainerPaddingTop:new i(n[2],n[3]),navbarContainerPaddingBottom:new i(n[4],n[5]),sectionTitleMarginTop:new i(0,n[3]),sectionTitleMarginLeft:new i(n[3],0)},ze={sectionTitle:new q("h6Regular","h5Regular")},W="newGlobalMerchantPage",x="newGlobalMerchant",Fe=z.getLocalizedStrings(),{common:{footer:_,sectionTitles:Le},vendorReview:{globalReview:Ie}}=Fe,rt=({globalMerchantView:e,analytics:a,tenantMerchant:m,isDisabled:h,updateCreateGlobalMerchantLocalData:g,fetchRecommendation:v,onBackClick:M,onSaveClick:S})=>{const s=k(),d=K({mode:"all",reValidateMode:"onChange",defaultValues:D.useMemo(()=>B(e),[e]),values:D.useMemo(()=>B(e),[e]),resetOptions:{keepDefaultValues:!0,keepDirtyValues:!0}}),$=()=>{if(e.newGlobalMerchantData!=null){const r=m?.tenantName??null,b=e.newGlobalMerchantData.globalMerchantName,c=e.recommendedGlobalMerchants[0]?.globalMerchantName??null;a.trackVendorReviewNewVendorRequested({reviewSource:"global_review",newRequestedVendorName:b,tenantName:r,newRequestedVendorNameSource:r!=null?"text_edit":"new_vendor_button",isVendorNameRecommendationSelected:c===b,recommendedVendorName:c,recommendedVendorReason:e.recommendedGlobalMerchants[0]?.reason??null})}v()},u=()=>{if(e.newGlobalMerchantData!=null){const r=m?.tenantName??null,b=e.newGlobalMerchantData.globalMerchantName,c=e.recommendedGlobalMerchants[0]?.globalMerchantName??null;a.trackVendorReviewNewVendorSaved({reviewSource:"global_review",saveRequestedVendorName:b,tenantName:r,recommendedVendorName:c,saveRequestedVendorSource:r!=null?"text_edit":"new_vendor_button",recommendedVendorReason:e.recommendedGlobalMerchants[0]?.reason??null,isVendorNameRecommendationSelected:c===b})}S()},p=()=>{e.newGlobalMerchantData!=null&&a.trackVendorReviewNewVendorCanceled({reviewSource:"global_review",newRequestedVendorName:e.newGlobalMerchantData.globalMerchantName,tenantName:m?.tenantName??null,recommendedVendorName:e.recommendedGlobalMerchants[0]?.globalMerchantName??null,recommendedVendorReason:e.recommendedGlobalMerchants[0]?.reason??null}),M()},V=()=>{u()},G=async(r,b)=>{const{newGlobalMerchant:{globalMerchantName:c,recommendedFirst:L,recommendedSecond:I,globalMerchantWebsiteUrl:A}}=b;if(r.includes("globalMerchantName")||r.includes("globalMerchantWebsiteUrl")){let P=null;c===e.recommendedGlobalMerchants[0]?.globalMerchantName?P="recommendedFirst":c===e.recommendedGlobalMerchants[1]?.globalMerchantName&&(P="recommendedSecond"),g(c,P,A)}else(r.includes("recommendedFirst")||r.includes("recommendedSecond"))&&(r.includes("recommendedFirst")&&L&&e.recommendedGlobalMerchants[0]?.globalMerchantName?(g(e.recommendedGlobalMerchants[0]?.globalMerchantName,"recommendedFirst",e.recommendedGlobalMerchants[0]?.websiteUrl?.toString()),e.recommendedGlobalMerchants[0]?.websiteUrl!=null&&d.setValue(`${x}.globalMerchantWebsiteUrl`,e.recommendedGlobalMerchants[0].websiteUrl.toString())):r.includes("recommendedSecond")&&I&&e.recommendedGlobalMerchants[1]?.globalMerchantName?(g(e.recommendedGlobalMerchants[1].globalMerchantName,"recommendedSecond",e.recommendedGlobalMerchants[1].websiteUrl?.toString()),e.recommendedGlobalMerchants[1]?.websiteUrl!=null&&d.setValue(`${x}.globalMerchantWebsiteUrl`,e.recommendedGlobalMerchants[1].websiteUrl.toString())):!L&&!I&&(d.resetField(`${x}.globalMerchantName`),d.resetField(`${x}.globalMerchantWebsiteUrl`)))};D.useEffect(()=>{const r=d.watch((b,{name:c})=>{c!=null&&b!=null&&Q(()=>G(c,b))});return()=>{r.unsubscribe()}});const{newGlobalMerchantData:f,fetchState:N,error:J,recommendedGlobalMerchants:H}=e,F=X(N);return D.useEffect(()=>{F==="In-Progress"&&N==="Completed"&&f?.globalMerchantName!=null&&(d.resetField(`${x}.globalMerchantName`,{defaultValue:f.globalMerchantName}),e.recommendedGlobalMerchants.forEach(r=>{r.globalMerchantName===f.globalMerchantName&&r.websiteUrl!=null&&d.setValue(`${x}.globalMerchantWebsiteUrl`,r.websiteUrl.toString())}))},[F,N,d,f?.globalMerchantName,f?.globalMerchantWebsiteUrl,e.recommendedGlobalMerchants]),t.jsxs(Ue,{windowSize:s,children:[t.jsxs(Ce,{windowSize:s,children:[t.jsx(_e,{children:t.jsx(Ee,{onClick:p})}),t.jsx(Be,{windowSize:s,children:Le.newVendor}),t.jsx(qe,{children:t.jsxs(Oe,{children:[t.jsx(He,{children:t.jsx(Ae,{})}),t.jsx(Je,{children:Ie.newGlobalMerchant.tip})]})})]}),t.jsx(We,{children:t.jsx(Y,{...d,children:t.jsx("form",{id:E(W),onSubmit:d.handleSubmit(V),children:t.jsx(je,{sectionId:x,isDisabled:f?.status.fetchState==="In-Progress"?"readonly":h,newGlobalMerchantData:f,recommendationFetchState:{fetchState:N,error:J},recommendedGlobalMerchants:H,fetchRecommendation:$})})})}),t.jsx(Z,{formId:E(W),primaryBtn:{label:_.save,isLoading:f?.status.fetchState==="In-Progress",isDisabled:N==="In-Progress"},cancelBtn:{label:_.cancel,shouldResetOnCancel:!0,onClick:p}})]})},E=e=>`${e}_form`,B=e=>{const{newGlobalMerchantData:a}=e;return{[x]:{globalMerchantName:a?.globalMerchantName??"",globalMerchantWebsiteUrl:a?.globalMerchantWebsiteUrl?.toString(),recommendedFirst:a?.currentSelection==="recommendedFirst",recommendedSecond:a?.currentSelection==="recommendedSecond",newGlobalMerchantId:a?.newGlobalMerchantId}}},Ue=o.div`
98
98
  display: flex;
99
99
  flex: 1 1 auto;
100
100
  min-height: 100%;
@@ -114,13 +114,13 @@ import{Q as k,a9 as K,cE as Q,aQ as X,V as t,ac as Y,aR as Z,o as l,y as i,x as
114
114
  padding-bottom: ${e=>y.navbarContainerPaddingBottom.valuePx(e.windowSize)};
115
115
  `,We=o.div`
116
116
  flex: 1;
117
- `,Ee=o.div`
117
+ `,_e=o.div`
118
118
  display: flex;
119
119
  width: 100%;
120
120
  justify-content: flex-end;
121
121
  align-items: center;
122
122
  padding: ${l.sp3} ${l.sp0};
123
- `,_e=o(ee)`
123
+ `,Ee=o(ee)`
124
124
  cursor: pointer;
125
125
  color: ${e=>e.theme.colors.hero};
126
126
  width: ${l.sp4};
@@ -145,11 +145,11 @@ import{Q as k,a9 as K,cE as Q,aQ as X,V as t,ac as Y,aR as Z,o as l,y as i,x as
145
145
  `,Oe=o.div`
146
146
  display: flex;
147
147
  padding: ${l.sp3} ${l.sp4} ${l.sp3} ${l.sp4};
148
- `,He=o(ae)`
148
+ `,Je=o(ae)`
149
149
  display: flex;
150
150
  flex-grow: 1;
151
151
  color: ${e=>e.theme.colors.hero};
152
- `,Je=o.div`
152
+ `,He=o.div`
153
153
  display: flex;
154
154
  align-items: center;
155
155
  margin-right: ${l.sp2};
@@ -157,4 +157,4 @@ import{Q as k,a9 as K,cE as Q,aQ as X,V as t,ac as Y,aR as Z,o as l,y as i,x as
157
157
  color: ${e=>e.theme.colors.primary};
158
158
  width: ${l.sp4};
159
159
  height: ${l.sp4};
160
- `;export{rt as default,_ as uniqueFormName};
160
+ `;export{rt as default,E as uniqueFormName};
@@ -1,4 +1,4 @@
1
- import{Q as l,V as t,p as r,o as i,al as s,y as o,g as d}from"./index-DVgY55Ab.js";import{n as h}from"./mui-CR-wYMmN.js";import{a}from"./sentry-DMXY90dB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8ea7e4ff-766d-4ed3-8f1e-ffbb77f2127e",e._sentryDebugIdIdentifier="sentry-dbid-8ea7e4ff-766d-4ed3-8f1e-ffbb77f2127e")}catch{}})();const f=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),m=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),v={chartMinHeight:new o(288,360)},c=h.div`
1
+ import{J as l,V as t,p as r,o as i,al as s,y as o,g as d}from"./index-WEj6FS32.js";import{n as h}from"./mui-BTtN6lbG.js";import{a}from"./sentry-B0WgNUxa.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b5f95a41-1bbe-46ee-83af-dbabdbe7fd4f",e._sentryDebugIdIdentifier="sentry-dbid-b5f95a41-1bbe-46ee-83af-dbabdbe7fd4f")}catch{}})();const m=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),f=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),v={chartMinHeight:new o(288,360)},c=h.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -23,4 +23,4 @@ import{Q as l,V as t,p as r,o as i,al as s,y as o,g as d}from"./index-DVgY55Ab.j
23
23
  `,g=h(s)`
24
24
  color: ${r.alert};
25
25
  margin: ${i.sp3} ${i.sp0} ${i.sp5} ${i.sp0};
26
- `;function z(){switch(d().mode){case"light":return t.jsx(m,{width:"100%",height:"100%",preserveAspectRatio:"none"});case"dark":default:return t.jsx(f,{width:"100%",height:"100%",preserveAspectRatio:"none"})}}function b({title:e}){const n=l();return t.jsxs(c,{children:[e!=null?t.jsx(g,{children:e}):null,t.jsx(w,{children:t.jsx(p,{windowSize:n,children:t.jsx(z,{})})})]})}export{b as C};
26
+ `;function z(){switch(d().mode){case"light":return t.jsx(f,{width:"100%",height:"100%",preserveAspectRatio:"none"});case"dark":default:return t.jsx(m,{width:"100%",height:"100%",preserveAspectRatio:"none"})}}function V({title:e}){const n=l();return t.jsxs(c,{children:[e!=null?t.jsx(g,{children:e}):null,t.jsx(w,{children:t.jsx(p,{windowSize:n,children:t.jsx(z,{})})})]})}export{V as C};
@@ -1,4 +1,4 @@
1
- import{V as n,o as t,g as i}from"./index-DVgY55Ab.js";import{n as s}from"./mui-CR-wYMmN.js";import{r as o,o as r}from"./graphic-no-data-l-DU4J8fDt--UnjJCr0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="c11010bf-db57-457f-95ee-35e6147ecca1",e._sentryDebugIdIdentifier="sentry-dbid-c11010bf-db57-457f-95ee-35e6147ecca1")}catch{}})();const f=s.div`
1
+ import{V as n,o as t,g as i}from"./index-WEj6FS32.js";import{n as s}from"./mui-BTtN6lbG.js";import{r as o,o as r}from"./graphic-no-data-l-DU4J8fDt-C8GXOUxr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="c11010bf-db57-457f-95ee-35e6147ecca1",e._sentryDebugIdIdentifier="sentry-dbid-c11010bf-db57-457f-95ee-35e6147ecca1")}catch{}})();const f=s.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  padding: ${t.sp8} ${t.sp0} ${t.sp8} ${t.sp0};
@@ -1,11 +1,11 @@
1
- import{V as o,F as i,b_ as s,M as d,al as l,p as a,am as c}from"./index-DVgY55Ab.js";import{n as t}from"./mui-CR-wYMmN.js";import{i as f}from"./ZeniCopyright-C8wXM9Gr-qMGnv8al.js";import"./sentry-DMXY90dB.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="287054e8-2de3-413f-ad25-86f96d4afd8f",e._sentryDebugIdIdentifier="sentry-dbid-287054e8-2de3-413f-ad25-86f96d4afd8f")}catch{}})();const g=t.div`
1
+ import{V as o,F as i,b_ as s,M as l,al as a,p as d,am as c}from"./index-WEj6FS32.js";import{n as t}from"./mui-BTtN6lbG.js";import{i as g}from"./ZeniCopyright-DzWFQiAt-07AcK5yb.js";import"./sentry-B0WgNUxa.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7ea02e1a-c68f-4514-9ec0-e865d521aa5e",e._sentryDebugIdIdentifier="sentry-dbid-7ea02e1a-c68f-4514-9ec0-e865d521aa5e")}catch{}})();const h=t.div`
2
2
  width: 100%;
3
3
  height: 100vh;
4
4
  position: relative;
5
5
  background-color: ${e=>e.theme.colors.background};
6
- `,h=t.div`
7
- height: 54px;
8
6
  `,p=t.div`
7
+ height: 54px;
8
+ `,f=t.div`
9
9
  flex: 1 1;
10
10
  display: flex;
11
11
  flex-direction: column;
@@ -25,9 +25,9 @@ import{V as o,F as i,b_ as s,M as d,al as l,p as a,am as c}from"./index-DVgY55Ab
25
25
  flex-direction: column;
26
26
  justify-content: center;
27
27
  align-items: center;
28
- `,x=t(d)`
28
+ `,x=t(l)`
29
29
  color: ${e=>e.theme.colors.primary};
30
- `,y=t(l)`
30
+ `,y=t(a)`
31
31
  color: ${e=>e.theme.colors.hero};
32
32
  `,b=t.div`
33
33
  position: absolute;
@@ -38,9 +38,9 @@ import{V as o,F as i,b_ as s,M as d,al as l,p as a,am as c}from"./index-DVgY55Ab
38
38
  font-size: 400px;
39
39
  font-weight: ${s.bold};
40
40
  `,r=t.span`
41
- color: ${a.info};
41
+ color: ${d.info};
42
42
  &:hover {
43
43
  text-decoration: underline;
44
44
  cursor: pointer;
45
45
  }
46
- `;function D({onGoBack:e,onGoHome:n}){return o.jsxs(g,{children:[o.jsx(b,{children:"404"}),o.jsxs(u,{children:[o.jsx(h,{}),o.jsxs(p,{children:[o.jsx(x,{children:i.getLocalizedStrings().notFoundPage.cantFindText}),o.jsxs(y,{children:[i.getLocalizedStrings().notFoundPage.pleaseText,o.jsx(r,{onClick:e,children:i.getLocalizedStrings().notFoundPage.goBackText}),i.getLocalizedStrings().notFoundPage.startOverText,o.jsx(r,{onClick:n,children:i.getLocalizedStrings().notFoundPage.homePageText})]})]}),o.jsx(m,{children:o.jsx(f,{})})]})]})}export{D as default};
46
+ `;function D({onGoBack:e,onGoHome:n}){return o.jsxs(h,{children:[o.jsx(b,{children:"404"}),o.jsxs(u,{children:[o.jsx(p,{}),o.jsxs(f,{children:[o.jsx(x,{children:i.getLocalizedStrings().notFoundPage.cantFindText}),o.jsxs(y,{children:[i.getLocalizedStrings().notFoundPage.pleaseText,o.jsx(r,{onClick:e,children:i.getLocalizedStrings().notFoundPage.goBackText}),i.getLocalizedStrings().notFoundPage.startOverText,o.jsx(r,{onClick:n,children:i.getLocalizedStrings().notFoundPage.homePageText})]})]}),o.jsx(m,{children:o.jsx(g,{})})]})]})}export{D as default};
@@ -1,4 +1,4 @@
1
- import{V as t,g4 as ne,o as i,bN as oe,aT as se,F as v,g as Q,Q as Y,a9 as re,cE as le,bB as ae,ac as ce,aa as w,aR as de,y as z,fB as pe,g5 as me,eI as ue,g6 as he,g7 as fe,a$ as ge,u as I,b9 as K,ai as J,al as W,am as xe}from"./index-DVgY55Ab.js";import{a as E}from"./sentry-DMXY90dB.js";import{n}from"./mui-CR-wYMmN.js";import{FC as $e,FD as be,FE as ye,FF as je}from"./zeni-epic-state-BXMuLX_S.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="b0adf53c-98ea-45fb-8682-63c6a7668d80",e._sentryDebugIdIdentifier="sentry-dbid-b0adf53c-98ea-45fb-8682-63c6a7668d80")}catch{}})();const{common:we}=v.getLocalizedStrings(),F={notePadding:new z(I[3],I[4]),noteGap:new z(I[0],6)},R=(e,o)=>`${e}.${o}`,Ie=n.div`
1
+ import{V as t,g4 as ne,o as i,bN as oe,aT as se,F as v,g as Y,J,a9 as re,cE as le,bB as ae,ac as ce,aa as w,aR as de,y as z,fB as pe,g5 as me,eI as ue,g6 as he,g7 as fe,a$ as ge,u as I,b9 as K,ai as Q,al as W,am as xe}from"./index-WEj6FS32.js";import{a as E}from"./sentry-B0WgNUxa.js";import{n}from"./mui-BTtN6lbG.js";import{FC as $e,FD as be,FE as ye,FF as je}from"./zeni-epic-state-DnAAAEmj.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.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]="a04717e8-9962-4fdf-accb-2596e765e50b",e._sentryDebugIdIdentifier="sentry-dbid-a04717e8-9962-4fdf-accb-2596e765e50b")}catch{}})();const{common:we}=v.getLocalizedStrings(),B={notePadding:new z(I[3],I[4]),noteGap:new z(I[0],6)},R=(e,o)=>`${e}.${o}`,Ie=n.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${i.sp3};
@@ -55,17 +55,17 @@ import{V as t,g4 as ne,o as i,bN as oe,aT as se,F as v,g as Q,Q as Y,a9 as re,cE
55
55
  color: ${e=>e.theme.colors.primary};
56
56
  }
57
57
  }
58
- `,B=n.div`
58
+ `,D=n.div`
59
59
  flex: 1;
60
- `,D=n(W)`
60
+ `,F=n(W)`
61
61
  color: ${e=>e.theme.colors.hero};
62
- `,Pe=n(J)`
62
+ `,Pe=n(Q)`
63
63
  color: ${e=>e.theme.colors.primary};
64
64
  flex: 1;
65
65
  width: 120px;
66
66
  text-align: center;
67
67
  `,Oe=n(xe)`
68
- padding: ${e=>`${i.sp1} ${F.notePadding.valuePx(e.windowSize)}`};
68
+ padding: ${e=>`${i.sp1} ${B.notePadding.valuePx(e.windowSize)}`};
69
69
  background: ${e=>e.theme.colors.grey4};
70
70
  border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
71
71
  text-align: left;
@@ -73,8 +73,8 @@ import{V as t,g4 as ne,o as i,bN as oe,aT as se,F as v,g as Q,Q as Y,a9 as re,cE
73
73
  display: flex;
74
74
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
75
75
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
76
- gap: ${e=>F.noteGap.valuePx(e.windowSize)};
77
- `,Le=n.div``,Re=n.span``;function Te({sectionId:e,monthEndInsightsNotificationLocalData:o,monthEndInsightsNotificationSettings:s,managersList:a,allUsers:f,classList:m,controllersList:x}){const u=Q(),c=Y(),{sectionTitle:$,monthEndInsights:l,mode:b}=we.settings.notifications,h=x[0],P=x.slice(1).reduce((d,r)=>d.concat(`${r.email},`),"");return t.jsxs(Ie,{children:[t.jsxs(Se,{children:[t.jsx(ve,{children:$.monthEndInsights}),t.jsx(Le,{children:t.jsx(Pe,{children:b.email})})]}),t.jsxs(Ne,{children:[t.jsxs(Ee,{disabled:s.enabled==null,children:[t.jsx(D,{children:l.labels.notifyMe}),t.jsx(ue,{defaultChecked:o.notify,checkBoxValue:R(e,"notify"),name:R(e,"notify"),checkedIconColor:s.enabled==null?u.colors.grey2:void 0})]}),t.jsx(w,{controller:s.enabled!=null,children:t.jsxs(ke,{children:[t.jsx(B,{children:t.jsx(D,{children:l.labels.notifyOthers})}),t.jsx(B,{children:t.jsx(he,{hideEmailTooltip:!1,showBackgroundColorIfHasAnySelectedOption:!1,shouldHaveBackgroundColor:!1,value:{allUsers:f,selectedUsers:f.filter(d=>o.recipientEmailIds.includes(d.email)),allNonUsers:[],selectedNonUsers:[]},hideMultiValueOnBlur:!1,valueToSubtitle:d=>{const r=a.findIndex(p=>p.userId===d),y=[];if(r!==-1){const p=a[r],j=fe(p.userRole.userRoles);j.length>0&&y.push(j);const N=m.find(O=>O.classId===p.userRole.accountingClassIDs[0]);return N!=null&&y.push(N.className),y}else return[]},name:R(e,"recipientEmailIds"),placeholderLabel:l.userFieldPlaceholder,customStyleConfig:{valueContainer:(d,{selectProps:r})=>({justifyContent:r.menuIsOpen===!1?"flex-end":"flex-start"}),input:(d,{selectProps:r})=>({display:r.menuIsOpen===!1?"none":"inline-grid"}),control:(d,{selectProps:r})=>({backgroundColor:r.menuIsOpen===!0?u.colors.background:"unset"}),container:(d,{selectProps:r})=>({backgroundColor:r.menuIsOpen===!0?u.colors.background:"unset"}),multiValue:(d,{selectProps:r})=>({outline:r.menuIsOpen===!1?"unset":`1px solid ${u.colors.primary}`})}})})]})}),t.jsx(w,{controller:s.enabled==null,children:t.jsxs(Oe,{windowSize:c,children:[l.stopReceivingEmailsText,h?t.jsxs(Ce,{href:`mailto:${h.email}?cc=${P}&subject=${encodeURIComponent(l.stopReceivingMonthEndInsightsSubject)}`,children:[t.jsx(Re,{children:`${h.firstName} ${h.lastName}`}),t.jsx(ge,{className:"arrowIcon"})]}):null]})})]})]})}const M=(e,o,s)=>`${e}.${o}.${s}`,ze=n.div`
76
+ gap: ${e=>B.noteGap.valuePx(e.windowSize)};
77
+ `,Le=n.div``,Re=n.span``;function Te({sectionId:e,monthEndInsightsNotificationLocalData:o,monthEndInsightsNotificationSettings:s,managersList:a,allUsers:f,classList:m,controllersList:x}){const u=Y(),c=J(),{sectionTitle:$,monthEndInsights:l,mode:b}=we.settings.notifications,h=x[0],P=x.slice(1).reduce((d,r)=>d.concat(`${r.email},`),"");return t.jsxs(Ie,{children:[t.jsxs(Se,{children:[t.jsx(ve,{children:$.monthEndInsights}),t.jsx(Le,{children:t.jsx(Pe,{children:b.email})})]}),t.jsxs(Ne,{children:[t.jsxs(Ee,{disabled:s.enabled==null,children:[t.jsx(F,{children:l.labels.notifyMe}),t.jsx(ue,{defaultChecked:o.notify,checkBoxValue:R(e,"notify"),name:R(e,"notify"),checkedIconColor:s.enabled==null?u.colors.grey2:void 0})]}),t.jsx(w,{controller:s.enabled!=null,children:t.jsxs(ke,{children:[t.jsx(D,{children:t.jsx(F,{children:l.labels.notifyOthers})}),t.jsx(D,{children:t.jsx(he,{hideEmailTooltip:!1,showBackgroundColorIfHasAnySelectedOption:!1,shouldHaveBackgroundColor:!1,value:{allUsers:f,selectedUsers:f.filter(d=>o.recipientEmailIds.includes(d.email)),allNonUsers:[],selectedNonUsers:[]},hideMultiValueOnBlur:!1,valueToSubtitle:d=>{const r=a.findIndex(p=>p.userId===d),y=[];if(r!==-1){const p=a[r],j=fe(p.userRole.userRoles);j.length>0&&y.push(j);const N=m.find(O=>O.classId===p.userRole.accountingClassIDs[0]);return N!=null&&y.push(N.className),y}else return[]},name:R(e,"recipientEmailIds"),placeholderLabel:l.userFieldPlaceholder,customStyleConfig:{valueContainer:(d,{selectProps:r})=>({justifyContent:r.menuIsOpen===!1?"flex-end":"flex-start"}),input:(d,{selectProps:r})=>({display:r.menuIsOpen===!1?"none":"inline-grid"}),control:(d,{selectProps:r})=>({backgroundColor:r.menuIsOpen===!0?u.colors.background:"unset"}),container:(d,{selectProps:r})=>({backgroundColor:r.menuIsOpen===!0?u.colors.background:"unset"}),multiValue:(d,{selectProps:r})=>({outline:r.menuIsOpen===!1?"unset":`1px solid ${u.colors.primary}`})}})})]})}),t.jsx(w,{controller:s.enabled==null,children:t.jsxs(Oe,{windowSize:c,children:[l.stopReceivingEmailsText,h?t.jsxs(Ce,{href:`mailto:${h.email}?cc=${P}&subject=${encodeURIComponent(l.stopReceivingMonthEndInsightsSubject)}`,children:[t.jsx(Re,{children:`${h.firstName} ${h.lastName}`}),t.jsx(ge,{className:"arrowIcon"})]}):null]})})]})]})}const M=(e,o,s)=>`${e}.${o}.${s}`,ze=n.div`
78
78
  display: flex;
79
79
  flex-direction: column;
80
80
  row-gap: ${i.sp3};
@@ -82,19 +82,19 @@ import{V as t,g4 as ne,o as i,bN as oe,aT as se,F as v,g as Q,Q as Y,a9 as re,cE
82
82
  display: flex;
83
83
  justify-content: space-between;
84
84
  align-items: center;
85
- `,Fe=n(K)`
85
+ `,Be=n(K)`
86
86
  color: ${e=>e.theme.colors.primary};
87
87
  `,A=n.div`
88
88
  display: flex;
89
- `,V=n(J)`
89
+ `,V=n(Q)`
90
90
  color: ${e=>e.theme.colors.primary};
91
91
  flex: 1;
92
92
  width: 120px;
93
93
  text-align: center;
94
- `,Be=n.div`
94
+ `,De=n.div`
95
95
  width: 120px;
96
96
  display: flex;
97
- `,De=n.div`
97
+ `,Fe=n.div`
98
98
  width: 120px;
99
99
  display: flex;
100
100
  padding-right: 12px;
@@ -118,7 +118,7 @@ import{V as t,g4 as ne,o as i,bN as oe,aT as se,F as v,g as Q,Q as Y,a9 as re,cE
118
118
  border-bottom-left-radius: ${e=>e.lastElement===!0?i.sp2:i.sp0};
119
119
  border-bottom-right-radius: ${e=>e.lastElement===!0?i.sp2:i.sp0};
120
120
  }
121
- `;function qe({sectionId:e,remindersLocalData:o,reminderNotificationSettings:s}){const{texts:a,settings:f}=v.getLocalizedStrings().common,{notifications:m}=f,x=ye.slice(0,1),u=je.filter(c=>s[c]!=null);return t.jsxs(ze,{children:[t.jsxs(Ue,{children:[t.jsx(Fe,{children:m.sectionTitle.reminders}),t.jsxs(A,{children:[t.jsx(V,{children:a.frequency}),t.jsx(V,{children:m.mode.email})]})]}),t.jsx(Ae,{children:u.map((c,$)=>t.jsxs(Ve,{firstElement:$===0,lastElement:$===u.length-1,children:[t.jsx(Me,{children:m.reminders[c]}),t.jsxs(A,{children:[t.jsx(De,{children:t.jsx(pe,{defaultValue:{allOptions:m.reminderFrequencyOptions,selectedOption:o[c].frequency},name:M(e,c,"frequency")})}),t.jsx(Be,{children:t.jsx(me,{mode:"always_on",checkBoxes:x.map(l=>({label:"",value:l,defaultChecked:o[c].preferredMode.includes(l),groupLabel:!1})),name:M(e,c,"preferredMode"),style:{flexDirection:"row"},checkBoxContainerStyle:{justifyContent:"center"}})})]})]},c))})]})}const T={contentPadding:new z(I[3],I[8])},g="reminders",S="monthEndInsights",q="notificationSettingsPage",_=e=>`${e}_form`,{settings:X,reloadPage:_e}=v.getLocalizedStrings().common,Ge=e=>{const o=Q(),s=Y(),{notificationSettingsView:a,signedInUser:f,onFormDataChange:m,resetUpdateStatus:x,onSave:u,onCancel:c,onClickMenuIcon:$}=e,{notificationSettingsLocalData:l,allUsers:b,notificationSettings:h,classList:P,managersList:d,updateStatus:r,controllersList:y}=a,p=re({defaultValues:H(l,b)}),j=E.useCallback(L=>{m(We(L))},[m]),N=p.handleSubmit(()=>{u()}),O=E.useCallback(()=>{p.reset(),c()},[c]);E.useEffect(()=>{a.updateStatus.fetchState==="Completed"&&(p.reset(H(l,b)),x())},[l,a.updateStatus.fetchState,b]),E.useEffect(()=>{const L=p.watch((U,{name:ie})=>{ie!=null&&U!=null&&le(()=>j(U))});return()=>{L.unsubscribe()}},[p,j]);const Z=Object.keys(p.formState.dirtyFields).length>0,ee=f.userEmail!=null?$e(h.monthEndInsightsNotificationSettings,f.userEmail):!1,te=be(h.reminderNotificationSettings);return t.jsxs(t.Fragment,{children:[t.jsxs(He,{children:[t.jsx(ae,{source:"NotificationSettingsPage",title:X.title.notifications,backgroundColor:o.colors.grey4,showBackButton:!1,showMenuIcon:s==="medium-compact"||s==="small",onClickMenuIcon:$}),t.jsx(Qe,{windowSize:s,children:t.jsx(ce,{...p,children:t.jsx("form",{id:_(q),onSubmit:N,children:t.jsxs(Ye,{children:[t.jsx(w,{controller:te,children:t.jsx(qe,{reminderNotificationSettings:h.reminderNotificationSettings,remindersLocalData:l.reminders,sectionId:g})}),t.jsx(w,{controller:ee,children:t.jsx(Te,{monthEndInsightsNotificationLocalData:l.monthEndInsights,monthEndInsightsNotificationSettings:h.monthEndInsightsNotificationSettings,sectionId:S,allUsers:b,classList:P,managersList:d,controllersList:y})})]})})})})]}),t.jsx(w,{controller:Z,children:t.jsx(de,{style:{width:"100%"},formId:_(q),primaryBtn:{label:v.getLocalizedStrings().common.footer.save,isLoading:r.fetchState==="In-Progress",style:{width:"82px"}},cancelBtn:{label:v.getLocalizedStrings().common.footer.cancel,onClick:O,style:{width:"82px"}}})})]})};function ct(e){const{notificationSettingsView:o,onRefresh:s}=e,{fetchState:a}=o;return a==="Not-Started"||a==="In-Progress"?t.jsx(G,{children:t.jsx(ne,{fetchState:a,styles:{margin:i.sp0}})}):a==="Error"?t.jsxs(G,{children:[t.jsx(Ke,{onClick:s,children:t.jsx(oe,{})}),t.jsx(Je,{children:_e.label})]}):t.jsx(Ge,{...e})}const He=n.div`
121
+ `;function qe({sectionId:e,remindersLocalData:o,reminderNotificationSettings:s}){const{texts:a,settings:f}=v.getLocalizedStrings().common,{notifications:m}=f,x=ye.slice(0,1),u=je.filter(c=>s[c]!=null);return t.jsxs(ze,{children:[t.jsxs(Ue,{children:[t.jsx(Be,{children:m.sectionTitle.reminders}),t.jsxs(A,{children:[t.jsx(V,{children:a.frequency}),t.jsx(V,{children:m.mode.email})]})]}),t.jsx(Ae,{children:u.map((c,$)=>t.jsxs(Ve,{firstElement:$===0,lastElement:$===u.length-1,children:[t.jsx(Me,{children:m.reminders[c]}),t.jsxs(A,{children:[t.jsx(Fe,{children:t.jsx(pe,{defaultValue:{allOptions:m.reminderFrequencyOptions,selectedOption:o[c].frequency},name:M(e,c,"frequency")})}),t.jsx(De,{children:t.jsx(me,{mode:"always_on",checkBoxes:x.map(l=>({label:"",value:l,defaultChecked:o[c].preferredMode.includes(l),groupLabel:!1})),name:M(e,c,"preferredMode"),style:{flexDirection:"row"},checkBoxContainerStyle:{justifyContent:"center"}})})]})]},c))})]})}const T={contentPadding:new z(I[3],I[8])},g="reminders",S="monthEndInsights",q="notificationSettingsPage",_=e=>`${e}_form`,{settings:X,reloadPage:_e}=v.getLocalizedStrings().common,Ge=e=>{const o=Y(),s=J(),{notificationSettingsView:a,signedInUser:f,onFormDataChange:m,resetUpdateStatus:x,onSave:u,onCancel:c,onClickMenuIcon:$}=e,{notificationSettingsLocalData:l,allUsers:b,notificationSettings:h,classList:P,managersList:d,updateStatus:r,controllersList:y}=a,p=re({defaultValues:H(l,b)}),j=E.useCallback(L=>{m(We(L))},[m]),N=p.handleSubmit(()=>{u()}),O=E.useCallback(()=>{p.reset(),c()},[c]);E.useEffect(()=>{a.updateStatus.fetchState==="Completed"&&(p.reset(H(l,b)),x())},[l,a.updateStatus.fetchState,b]),E.useEffect(()=>{const L=p.watch((U,{name:ie})=>{ie!=null&&U!=null&&le(()=>j(U))});return()=>{L.unsubscribe()}},[p,j]);const Z=Object.keys(p.formState.dirtyFields).length>0,ee=f.userEmail!=null?$e(h.monthEndInsightsNotificationSettings,f.userEmail):!1,te=be(h.reminderNotificationSettings);return t.jsxs(t.Fragment,{children:[t.jsxs(He,{children:[t.jsx(ae,{source:"NotificationSettingsPage",title:X.title.notifications,backgroundColor:o.colors.grey4,showBackButton:!1,showMenuIcon:s==="medium-compact"||s==="small",onClickMenuIcon:$}),t.jsx(Ye,{windowSize:s,children:t.jsx(ce,{...p,children:t.jsx("form",{id:_(q),onSubmit:N,children:t.jsxs(Je,{children:[t.jsx(w,{controller:te,children:t.jsx(qe,{reminderNotificationSettings:h.reminderNotificationSettings,remindersLocalData:l.reminders,sectionId:g})}),t.jsx(w,{controller:ee,children:t.jsx(Te,{monthEndInsightsNotificationLocalData:l.monthEndInsights,monthEndInsightsNotificationSettings:h.monthEndInsightsNotificationSettings,sectionId:S,allUsers:b,classList:P,managersList:d,controllersList:y})})]})})})})]}),t.jsx(w,{controller:Z,children:t.jsx(de,{style:{width:"100%"},formId:_(q),primaryBtn:{label:v.getLocalizedStrings().common.footer.save,isLoading:r.fetchState==="In-Progress",style:{width:"82px"}},cancelBtn:{label:v.getLocalizedStrings().common.footer.cancel,onClick:O,style:{width:"82px"}}})})]})};function ct(e){const{notificationSettingsView:o,onRefresh:s}=e,{fetchState:a}=o;return a==="Not-Started"||a==="In-Progress"?t.jsx(G,{children:t.jsx(ne,{fetchState:a,styles:{margin:i.sp0}})}):a==="Error"?t.jsxs(G,{children:[t.jsx(Ke,{onClick:s,children:t.jsx(oe,{})}),t.jsx(Qe,{children:_e.label})]}):t.jsx(Ge,{...e})}const He=n.div`
122
122
  display: flex;
123
123
  width: 100%;
124
124
  min-height: 100vh;
@@ -134,11 +134,11 @@ import{V as t,g4 as ne,o as i,bN as oe,aT as se,F as v,g as Q,Q as Y,a9 as re,cE
134
134
  align-items: center;
135
135
  row-gap: ${i.sp3};
136
136
  background-color: ${e=>e.theme.colors.grey4};
137
- `,Qe=n.div`
137
+ `,Ye=n.div`
138
138
  padding-left: ${e=>T.contentPadding.valuePx(e.windowSize)};
139
139
  padding-right: ${e=>T.contentPadding.valuePx(e.windowSize)};
140
140
  padding-bottom: ${e=>T.contentPadding.valuePx(e.windowSize)};
141
- `,Ye=n.div`
141
+ `,Je=n.div`
142
142
  display: flex;
143
143
  flex-direction: column;
144
144
  row-gap: ${i.sp8};
@@ -157,7 +157,7 @@ import{V as t,g4 as ne,o as i,bN as oe,aT as se,F as v,g as Q,Q as Y,a9 as re,cE
157
157
  color: ${e=>e.theme.colors.primary};
158
158
  }
159
159
  }
160
- `,Je=n(se)`
160
+ `,Qe=n(se)`
161
161
  margin-top: ${i.sp3};
162
162
  color: ${e=>e.theme.colors.hero};
163
163
  `;function k(e){const o=X.notifications.reminderFrequencyOptions;return{preferredMode:e.preferredMode,frequency:{selectedOption:e.frequency,allOptions:o}}}function H(e,o){return{[g]:{missingReceiptNotification:k(e.reminders.missingReceiptNotification),uncategorizedTransactionNotification:k(e.reminders.uncategorizedTransactionNotification),pendingBillApprovalNotification:k(e.reminders.pendingBillApprovalNotification),pendingReimbursementApprovalNotification:k(e.reminders.pendingReimbursementApprovalNotification)},[S]:{notify:e.monthEndInsights.notify,recipientEmailIds:{allNonUsers:[],selectedNonUsers:[],allUsers:o,selectedUsers:o.filter(s=>e.monthEndInsights.recipientEmailIds.includes(s.email))}}}}function C(e){return{preferredMode:e.preferredMode,frequency:e.frequency.selectedOption}}function We(e){return{[g]:{missingReceiptNotification:C(e[g].missingReceiptNotification),uncategorizedTransactionNotification:C(e[g].uncategorizedTransactionNotification),pendingBillApprovalNotification:C(e[g].pendingBillApprovalNotification),pendingReimbursementApprovalNotification:C(e[g].pendingReimbursementApprovalNotification)},[S]:{...e[S],recipientEmailIds:e[S].recipientEmailIds.selectedUsers.map(o=>o.email)}}}export{ct as default,_ as uniqueName};
@@ -1 +1 @@
1
- import{b as n,u as f}from"./index-DVgY55Ab.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="634f6f50-1592-4fda-a7f2-4a7ddc7cf4fc",e._sentryDebugIdIdentifier="sentry-dbid-634f6f50-1592-4fda-a7f2-4a7ddc7cf4fc")}catch{}})();const o=f[5],r=59,i=f[5],s=n.standardRegular.lineHeightValue,l=1,u=1e3;export{s as A,i as E,l as I,u as L,r as a,o as t};
1
+ import{b as n,u as f}from"./index-WEj6FS32.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="634f6f50-1592-4fda-a7f2-4a7ddc7cf4fc",e._sentryDebugIdIdentifier="sentry-dbid-634f6f50-1592-4fda-a7f2-4a7ddc7cf4fc")}catch{}})();const o=f[5],r=59,i=f[5],s=n.standardRegular.lineHeightValue,l=1,u=1e3;export{s as A,i as E,l as I,u as L,r as a,o as t};
@@ -1,4 +1,4 @@
1
- import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,aa as ye,F as P,h2 as ti,y as R,i4 as ii,b as Ne,T as oi,ay as tt,cl as it,b3 as ot,dl as st,cs as at,k1 as rt,u as w,r as si,k2 as ai,dj as he,aZ as ri,a as ni,d as nt,p as S,ai as li,bO as z,cI as ue,g5 as pe,k3 as fe,aw as lt,a8 as dt,dt as U,fq as ct,gg as di,al as ee,ij as ci,am as H,fE as hi,aV as $e,ba as me,k4 as ui,bL as ht,k5 as Re,bv as pi}from"./index-DVgY55Ab.js";import{a as g}from"./sentry-DMXY90dB.js";import{n as r,c as O}from"./mui-CR-wYMmN.js";import{Gb as fi,Gc as mi,bL as Z,bh as $,E7 as ut}from"./zeni-epic-state-BXMuLX_S.js";import{k as gi}from"./SubTabSwitcher-Dztt2rN9-DqHo5u0Z.js";import{d as pt}from"./useLongPress-GCK2COYQ-C5_U_XBl.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-CBQwRqMo-DVBdjTys.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="6b87b3ef-f3d3-4898-9ac9-7ac0db060515",e._sentryDebugIdIdentifier="sentry-dbid-6b87b3ef-f3d3-4898-9ac9-7ac0db060515")}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=X(),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{g as Q,J as v,a9 as Kt,cE as Xt,V as t,bB as Zt,ac as Qt,aR as ei,o as i,aa as ye,F as P,h2 as ti,y as R,i4 as ii,b as Ne,T as oi,ay as tt,cl as it,b3 as ot,dl as st,cs as at,k1 as rt,u as w,r as si,k2 as ai,dj as he,aZ as ri,a as ni,d as nt,p as S,ai as li,bO as z,cI as ue,g5 as pe,k3 as fe,aw as lt,a8 as dt,dt as U,fq as ct,gg as di,al as ee,ij as ci,am as H,fE as hi,aV as $e,ba as me,k4 as ui,bL as ht,k5 as Re,bv as pi}from"./index-WEj6FS32.js";import{a as g}from"./sentry-B0WgNUxa.js";import{n as r,c as O}from"./mui-BTtN6lbG.js";import{Gb as fi,Gc as mi,bL as Z,bh as $,E7 as ut}from"./zeni-epic-state-DnAAAEmj.js";import{k as gi}from"./SubTabSwitcher-ibTbIxr5-87SzITqK.js";import{d as pt}from"./useLongPress-GCK2COYQ-BysG3lqG.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-DdMKLqFI-DwvXMwFg.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.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]="c538e308-0ec3-4913-9ca4-f41896a27dc8",e._sentryDebugIdIdentifier="sentry-dbid-c538e308-0ec3-4913-9ca4-f41896a27dc8")}catch{}})();function xi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=Q(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{h(x.id)},[h]);return e.length===0?null:t.jsxs(bi,{windowSize:u,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(gi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const bi=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -158,7 +158,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
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,{}),Zi={marginLeft:new R(w[2],w[5],w[7])},Xi=()=>t.jsxs(eo,{children:[t.jsx(ve,{numberOfRows:5}),t.jsx(ve,{numberOfRows:3})]}),ve=({numberOfRows:e})=>{const o=v();return t.jsxs(to,{windowSize:o,children:[t.jsx(oo,{children:t.jsx(z,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(io,{children:[...Array(e)].map(s=>t.jsx(Qi,{},he()))})]})},eo=r.div`
161
+ `,Xi=()=>v()==="small"?t.jsx(Wi,{}):t.jsx(Vi,{}),Zi={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(z,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(io,{children:[...Array(e)].map(s=>t.jsx(Xi,{},he()))})]})},eo=r.div`
162
162
  display: block;
163
163
  min-height: 100%;
164
164
  flex-direction: column;
@@ -244,7 +244,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
244
244
  display: -webkit-box;
245
245
  overflow: hidden;
246
246
  -webkit-box-orient: vertical;
247
- `,Lt=e=>v()==="small"?t.jsx(so,{...e}):t.jsx(Ci,{...e}),{common:{all:Me}}=P.getLocalizedStrings(),uo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=X(),{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(),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`
248
248
  display: flex;
249
249
  align-items: center;
250
250
  width: 100%;
@@ -253,7 +253,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
253
253
  align-items: flex-start;
254
254
  width: 100%;
255
255
  padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
256
- `,{common:{all:Ae}}=P.getLocalizedStrings(),mo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=X(),{getValues:h}=ue(),u=h(s),p=g.useRef([]);return g.useEffect(()=>{p.current=p.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(go,{style:n,children:t.jsx(pe,{mode:a,checkBoxes:[{label:t.jsx(Oe,{htmlFor:`${s}.${Ae.toLocaleLowerCase()}`,style:{color:d.colors.primary,marginLeft:i.sp2},children:ge(e)}),value:Ae.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((m,f)=>{const x=f===0,k=e.notifications.length-1===f;return{label:t.jsx(Oe,{ref:B=>p.current[f]=B,htmlFor:`${s}.${m.inboxNotification.id}`,style:{padding:i.sp0},children:t.jsx(xo,{notificationData:m,users:o,style:{borderTopLeftRadius:x?i.sp2:void 0,borderTopRightRadius:x?i.sp2:void 0,borderBottomLeftRadius:k?i.sp2:void 0,borderBottomRightRadius:k?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:u?.includes(m.inboxNotification.id)===!0,isSelectionMode:a==="always_on",onNotificationTileClick:c,onNotificationTileLongPress:()=>{p.current[f]?.click()}})}),value:m.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%",position:"relative"},checkBoxStyle:{padding:i.sp1,zIndex:2,left:`-${i.sp1}`,position:"absolute"},checkBoxIconStyle:{backgroundColor:d.colors.grey5}})})},go=r.div`
256
+ `,{common:{all:Ae}}=P.getLocalizedStrings(),mo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=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(Oe,{htmlFor:`${s}.${Ae.toLocaleLowerCase()}`,style:{color:d.colors.primary,marginLeft:i.sp2},children:ge(e)}),value:Ae.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((m,f)=>{const x=f===0,k=e.notifications.length-1===f;return{label:t.jsx(Oe,{ref:B=>p.current[f]=B,htmlFor:`${s}.${m.inboxNotification.id}`,style:{padding:i.sp0},children:t.jsx(xo,{notificationData:m,users:o,style:{borderTopLeftRadius:x?i.sp2:void 0,borderTopRightRadius:x?i.sp2:void 0,borderBottomLeftRadius:k?i.sp2:void 0,borderBottomRightRadius:k?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:u?.includes(m.inboxNotification.id)===!0,isSelectionMode:a==="always_on",onNotificationTileClick:c,onNotificationTileLongPress:()=>{p.current[f]?.click()}})}),value:m.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%",position:"relative"},checkBoxStyle:{padding:i.sp1,zIndex:2,left:`-${i.sp1}`,position:"absolute"},checkBoxIconStyle:{backgroundColor:d.colors.grey5}})})},go=r.div`
257
257
  display: flex;
258
258
  align-items: center;
259
259
  width: 100%;
@@ -262,7 +262,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
262
262
  align-items: flex-start;
263
263
  width: 100%;
264
264
  padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
265
- `,xo=r(Lt)``,bo=e=>v()==="small"?t.jsx(mo,{...e}):t.jsx(uo,{...e}),{commentsAndNotifications:{notifications:{message:wo}}}=P.getLocalizedStrings(),Pe={rowGap:new R(w[0],w[5],w[5])},yo=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:n,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:h,onUpdateScrollYOffset:u,onFetchNotificationGroups:p,onNotificationClick:m})=>{const f=v(),x=g.useRef(null),k=g.useRef({});g.useEffect(()=>{x.current?.resetAfterIndex(0,!0)},[f,x,e]),g.useEffect(()=>{x.current?.scrollTo(c)},[d]);const B=g.useCallback(C=>{if(k.current?.[C]!=null){const G=f==="small"&&a===!1&&C===e.length-1?Pe.rowGap.value("medium-regular"):Pe.rowGap.value(f);return k.current[C]+G}return(ft*St.value(f)+mt)*3+gt+xt},[f,k,e]),_=g.useCallback((C,G)=>{k.current={...k.current,[C]:G},x.current?.resetAfterIndex(0,!0)},[f,x,e]),N=g.useCallback(()=>{p()},[p]),b=g.useCallback(()=>{},[]),I=tt(C=>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(Xi,{}):s===!1&&e.length===0?t.jsx(it,{message:wo.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(So,{windowSize:f,children:t.jsx(ot,{children:({height:C,width:G})=>t.jsx(st,{isItemLoaded:j,itemCount:bt,loadMoreItems:V,children:({onItemsRendered:Y,ref: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:_,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:h,setRowHeight:u,onNotificationClick:p}=s,m=g.useRef(null),f=v();if(g.useEffect(()=>{m.current?.firstElementChild!=null&&u(e,m.current.firstElementChild.clientHeight)},[e,m,f,a[e]?.notifications]),d(e)===!0){const x=a[e],k=le(x);return t.jsx(Be,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:m,children:t.jsx(bo,{notificationGroup:x,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:h,users:n,onNotificationTileClick:p})},k)}return t.jsx(Be,{ref:m,style:{...o,paddingBottom:i.sp0},children:t.jsx(ve,{numberOfRows:3})},he())},jo=r.div`
265
+ `,xo=r(Lt)``,bo=e=>v()==="small"?t.jsx(mo,{...e}):t.jsx(uo,{...e}),{commentsAndNotifications:{notifications:{message:wo}}}=P.getLocalizedStrings(),Pe={rowGap:new R(w[0],w[5],w[5])},yo=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:n,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:h,onUpdateScrollYOffset:u,onFetchNotificationGroups:p,onNotificationClick:m})=>{const f=v(),x=g.useRef(null),k=g.useRef({});g.useEffect(()=>{x.current?.resetAfterIndex(0,!0)},[f,x,e]),g.useEffect(()=>{x.current?.scrollTo(c)},[d]);const B=g.useCallback(C=>{if(k.current?.[C]!=null){const G=f==="small"&&a===!1&&C===e.length-1?Pe.rowGap.value("medium-regular"):Pe.rowGap.value(f);return k.current[C]+G}return(ft*St.value(f)+mt)*3+gt+xt},[f,k,e]),_=g.useCallback((C,G)=>{k.current={...k.current,[C]:G},x.current?.resetAfterIndex(0,!0)},[f,x,e]),N=g.useCallback(()=>{p()},[p]),b=g.useCallback(()=>{},[]),I=tt(C=>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:_,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:h,setRowHeight:u,onNotificationClick:p}=s,m=g.useRef(null),f=v();if(g.useEffect(()=>{m.current?.firstElementChild!=null&&u(e,m.current.firstElementChild.clientHeight)},[e,m,f,a[e]?.notifications]),d(e)===!0){const x=a[e],k=le(x);return t.jsx(Be,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:m,children:t.jsx(bo,{notificationGroup:x,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:h,users:n,onNotificationTileClick:p})},k)}return t.jsx(Be,{ref:m,style:{...o,paddingBottom:i.sp0},children:t.jsx(ve,{numberOfRows:3})},he())},jo=r.div`
266
266
  display: block;
267
267
  background-color: ${e=>e.theme.colors.grey4};
268
268
  height: 100%;
@@ -279,7 +279,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
279
279
  top: ${i.sp0};
280
280
  left: ${i.sp0};
281
281
  box-sizing: border-box;
282
- `,{common:{in:vo,strings:Rt},dateFormat:Co,commentsAndNotifications:{notifications:{actionStrings:{notifications:A}}}}=P.getLocalizedStrings(),zt=e=>{e.sort((n,l)=>n.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=se(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},se=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,l.createTime)?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>l.createTime.isAfter(c.createTime)===!0?-1:1),{singleGroup:a,remainingData:n}},To=e=>{let o=A.newActivity;return e.code==="in_progress"?o=A.due.replace("__task_status__",Re(e.name.toLocaleLowerCase())):o=A.due.replace("__task_status__",vo.toLocaleLowerCase().concat(Rt.space,Re(e.name.toLocaleLowerCase()))),o},No=e=>{const{eventData:{activities:o}}=e;let s=A.newActivity;if(o.length>0){const a=o[0].activityType,n=o[0].metadata.eventStatus;switch(a){case"task_archived":s=A.archive;break;case"task_deleted":s=A.delete;break;case"task_activities":s=A.activities;break;case"task_assigned":s=A.assign;break;case"task_created":s=A.create;break;case"task_due":s=n!=null?To(n):A.dueTomorrow;break;case"task_overdue":s=A.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Co.visual.MMMDFormat)??Rt.empty);break;case"task_status_updated":s=A.statusUpdate;break}}return s},_t=new R(3,2,1,1,1),Dt=new R(w[8],33,33,33,35),ce={lineClamp:_t,sectionWidth:Dt},{common:{and:Fe,other:Io,others:Lo,texts:Ro,timeStrings:zo,strings:M,tags:_o}}=P.getLocalizedStrings(),Do=({notificationData:e,isHighlighted:o=!1,style:s,onNotificationTileClick:a})=>{const{status:n,notificationId:l,eventData:{entitiyId:c,activities:d},createTime: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(Po,{...e}),t.jsx(Fo,{...e}),t.jsx(Bo,{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})})},Ao=e=>{const{eventData:{activities:o}}=e;if(o.length>0&&o[0].activityType==="task_status_updated"){const s=o[0].metadata.updates.find(a=>a.type==="code_name_pair"&&a.field==="status");if(s?.oldValue.codeNamePair!=null&&s.newValue.codeNamePair!=null)return t.jsxs(Jo,{children:[t.jsx(Ge,{backgroundColor:ze(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(qo,{}),t.jsx(Ge,{backgroundColor:ze(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Oo=e=>{const{status:o,eventData:{authors:s,activities:a}}=e,n=s.length;if(a[0].activityType==="task_due"||a[0].activityType==="task_overdue"||a[0].activityType==="task_status_updated")return null;let l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,Ro.zeniAI,M.space]});return n>0&&(n>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,n-1,M.space,Lo,M.space]})]}):n===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,s.length===2?M.atTheRate+U(s[1],!1):Io,M.space]})]}):l=t.jsxs(q,{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===zo.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(hi,{tagTitle:_o.overdue,textColor:{color:new $e(S.alert),backgroundColor:new $e("transparent"),borderColor:new $e(S.alert)},showLoader:!1}):t.jsx(Ko,{})},Fo=e=>{const o=v();return t.jsx(Uo,{windowSize:o,children:t.jsx(Pt,{...e})})},Go=r.div`
282
+ `,{common:{in:vo,strings:Rt},dateFormat:Co,commentsAndNotifications:{notifications:{actionStrings:{notifications:A}}}}=P.getLocalizedStrings(),zt=e=>{e.sort((n,l)=>n.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=se(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},se=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,l.createTime)?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>l.createTime.isAfter(c.createTime)===!0?-1:1),{singleGroup:a,remainingData:n}},To=e=>{let o=A.newActivity;return e.code==="in_progress"?o=A.due.replace("__task_status__",Re(e.name.toLocaleLowerCase())):o=A.due.replace("__task_status__",vo.toLocaleLowerCase().concat(Rt.space,Re(e.name.toLocaleLowerCase()))),o},No=e=>{const{eventData:{activities:o}}=e;let s=A.newActivity;if(o.length>0){const a=o[0].activityType,n=o[0].metadata.eventStatus;switch(a){case"task_archived":s=A.archive;break;case"task_deleted":s=A.delete;break;case"task_activities":s=A.activities;break;case"task_assigned":s=A.assign;break;case"task_created":s=A.create;break;case"task_due":s=n!=null?To(n):A.dueTomorrow;break;case"task_overdue":s=A.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Co.visual.MMMDFormat)??Rt.empty);break;case"task_status_updated":s=A.statusUpdate;break}}return s},_t=new R(3,2,1,1,1),Dt=new R(w[8],33,33,33,35),ce={lineClamp:_t,sectionWidth:Dt},{common:{and:Fe,other:Io,others:Lo,texts:Ro,timeStrings:zo,strings:M,tags:_o}}=P.getLocalizedStrings(),Do=({notificationData:e,isHighlighted:o=!1,style:s,onNotificationTileClick:a})=>{const{status:n,notificationId:l,eventData:{entitiyId:c,activities:d},createTime: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(Po,{...e}),t.jsx(Fo,{...e}),t.jsx(Bo,{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})})},Ao=e=>{const{eventData:{activities:o}}=e;if(o.length>0&&o[0].activityType==="task_status_updated"){const s=o[0].metadata.updates.find(a=>a.type==="code_name_pair"&&a.field==="status");if(s?.oldValue.codeNamePair!=null&&s.newValue.codeNamePair!=null)return t.jsxs(Jo,{children:[t.jsx(Ge,{backgroundColor:ze(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(qo,{}),t.jsx(Ge,{backgroundColor:ze(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Oo=e=>{const{status:o,eventData:{authors:s,activities:a}}=e,n=s.length;if(a[0].activityType==="task_due"||a[0].activityType==="task_overdue"||a[0].activityType==="task_status_updated")return null;let l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,Ro.zeniAI,M.space]});return n>0&&(n>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,n-1,M.space,Lo,M.space]})]}):n===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,s.length===2?M.atTheRate+U(s[1],!1):Io,M.space]})]}):l=t.jsxs(q,{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===zo.justNow,children:a}),t.jsx(Xo,{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(hi,{tagTitle:_o.overdue,textColor:{color:new $e(S.alert),backgroundColor:new $e("transparent"),borderColor:new $e(S.alert)},showLoader:!1}):t.jsx(Ko,{})},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;
@@ -390,14 +390,14 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
390
390
  `,Ko=r.div`
391
391
  display: flex;
392
392
  flex: 1 1 auto;
393
- `,Qo=r.div`
393
+ `,Xo=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)},Zo=()=>{const e=v();return t.jsxs(Xo,{windowSize:e,children:[t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Xo=r.div`
400
+ `,ae={emptyRowItemSectionWidth:new R(120,200,280,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Zo=()=>{const e=v();return t.jsxs(Qo,{windowSize:e,children:[t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Qo=r.div`
401
401
  display: flex;
402
402
  align-items: center;
403
403
  justify-content: space-between;
@@ -561,7 +561,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
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}}=P.getLocalizedStrings(),xs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=X(),{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=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`
565
565
  display: flex;
566
566
  align-items: center;
567
567
  width: 100%;
@@ -570,7 +570,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
570
570
  align-items: flex-start;
571
571
  width: 100%;
572
572
  padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
573
- `,{common:{all:Ve}}=P.getLocalizedStrings(),ys=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=X(),{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=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`
574
574
  display: flex;
575
575
  align-items: center;
576
576
  width: 100%;
@@ -596,7 +596,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR 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:qe}},commentsAndNotifications:{notifications:{title:zs,texts:Gt,strings:Ke}}}=P.getLocalizedStrings(),ie={tableContainerLeftPadding:new R(w[2],w[2],w[2]),tableContainerRightPadding:new R(w[3],w[6],w[8]),tabsContainerLeftRightPadding:new R(w[3],w[6],w[8]),selectedNotificationsTextMarginLeft:new R(w[0],w[6],w[6])},_s={selectedNotificationsText:new ni("smallRegular","standardRegular")},Qe="notificationsPage",K="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 B=X(),_=v(),N=Kt({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(()=>zt(G).filter(y=>y.notifications.length>0),[G]),Vt=async(y,T)=>{const F=y.split(".")[0],J=[];F!=null&&(F===K||F===Q)&&(Object.values(T[F]).forEach(D=>{J.push(...D.filter(qt=>qt.includes(Te.toLowerCase())===!1))}),d({selectedNotificationIds:J},b))};g.useEffect(()=>{const y=N.watch((T,{name:F})=>{F!=null&&T!=null&&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(K),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({[K]:y,[Q]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const y={};Object.keys(we).forEach(T=>{y[T]=[]}),N.reset({[Q]:y,[K]:be},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}d({selectedNotificationIds:[]},b)},[we,be]),Jt=g.useCallback(()=>{const y=j[b].selectedNotificationIdsForSubTab,T="read",F=xe();m(b,y,T,F)},[b,j,xe,m]);return t.jsxs(Ms,{children:[t.jsx(Zt,{source:"NotificationsPage",title:zs.notifications,backgroundColor:B.colors.grey4,onBackClick:x,rightSideComponent:s===!0?t.jsx(Ks,{onClick:f}):t.jsx(qs,{})}),t.jsx(Ps,{}),t.jsx(Os,{windowSize:_,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(As,{windowSize:_,children:t.jsx(Xt,{...N,children:t.jsx("form",{id:Xe(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:K,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:Xe(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:_==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx(ye,{controller:_!=="small",children:t.jsx(Ze,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(ye,{controller:_==="small",children:t.jsx(Ze,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx(ye,{controller:_!=="small",children:t.jsx(Gs,{})})}):null]})},Ds=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const n=s===0,l=g.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!n&&a()},[e,o,n,a]);return t.jsx(Bs,{variant:"tertiary",size:"small",label:Gt.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(oi,{size:"Small",start:!0}):t.jsx(Fs,{className:"mark-as-read"}),disabled:n,textStyle:{fontWeight:Ne.smallRegular.fontWeight},style:{borderRadius:i.sp1,border:"none",backgroundColor:"transparent",flexShrink:0,padding:i.sp0,cursor:o==="In-Progress"||e==="In-Progress"||n?"default":"pointer"}})},Ze=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Es,{windowSize:o,children:[t.jsx(Hs,{children:t.jsx(Us,{isCircular:e<10,children:t.jsx(Vs,{children:e>qe?`${qe}${Rs}`:e})})}),t.jsxs(Js,{windowSize:o,children:[t.jsx(Ys,{children:e>1?Ke.notificationsSelected:Ke.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:qe}},commentsAndNotifications:{notifications:{title:zs,texts:Gt,strings:Ke}}}=P.getLocalizedStrings(),ie={tableContainerLeftPadding:new R(w[2],w[2],w[2]),tableContainerRightPadding:new R(w[3],w[6],w[8]),tabsContainerLeftRightPadding:new R(w[3],w[6],w[8]),selectedNotificationsTextMarginLeft:new R(w[0],w[6],w[6])},_s={selectedNotificationsText:new ni("smallRegular","standardRegular")},Xe="notificationsPage",K="commentsNotificationsTable",X="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 B=Q(),_=v(),N=Kt({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(()=>zt(G).filter(y=>y.notifications.length>0),[G]),Vt=async(y,T)=>{const F=y.split(".")[0],J=[];F!=null&&(F===K||F===X)&&(Object.values(T[F]).forEach(D=>{J.push(...D.filter(qt=>qt.includes(Te.toLowerCase())===!1))}),d({selectedNotificationIds:J},b))};g.useEffect(()=>{const y=N.watch((T,{name:F})=>{F!=null&&T!=null&&Xt(()=>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(K),we=N.watch(X),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({[K]:y,[X]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const y={};Object.keys(we).forEach(T=>{y[T]=[]}),N.reset({[X]:y,[K]:be},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}d({selectedNotificationIds:[]},b)},[we,be]),Jt=g.useCallback(()=>{const y=j[b].selectedNotificationIdsForSubTab,T="read",F=xe();m(b,y,T,F)},[b,j,xe,m]);return t.jsxs(Ms,{children:[t.jsx(Zt,{source:"NotificationsPage",title:zs.notifications,backgroundColor:B.colors.grey4,onBackClick:x,rightSideComponent:s===!0?t.jsx(Ks,{onClick:f}):t.jsx(qs,{})}),t.jsx(Ps,{}),t.jsx(Os,{windowSize:_,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(As,{windowSize:_,children:t.jsx(Qt,{...N,children:t.jsx("form",{id:Qe(Xe),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:K,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:X,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:n})})})}),j[b].selectedNotificationIdsForSubTab.length?t.jsx(ei,{formId:Qe(Xe),primaryBtn:{label:Gt.markAsRead,isLoading:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:Yt!=null},cancelBtn:{label:Ls.cancel,isDisabled:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:Wt},helperContainerStyle:_==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx(ye,{controller:_!=="small",children:t.jsx(Ze,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(ye,{controller:_==="small",children:t.jsx(Ze,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx(ye,{controller:_!=="small",children:t.jsx(Gs,{})})}):null]})},Ds=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const n=s===0,l=g.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!n&&a()},[e,o,n,a]);return t.jsx(Bs,{variant:"tertiary",size:"small",label:Gt.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(oi,{size:"Small",start:!0}):t.jsx(Fs,{className:"mark-as-read"}),disabled:n,textStyle:{fontWeight:Ne.smallRegular.fontWeight},style:{borderRadius:i.sp1,border:"none",backgroundColor:"transparent",flexShrink:0,padding:i.sp0,cursor:o==="In-Progress"||e==="In-Progress"||n?"default":"pointer"}})},Ze=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Es,{windowSize:o,children:[t.jsx(Hs,{children:t.jsx(Us,{isCircular:e<10,children:t.jsx(Vs,{children:e>qe?`${qe}${Rs}`:e})})}),t.jsxs(Js,{windowSize:o,children:[t.jsx(Ys,{children:e>1?Ke.notificationsSelected:Ke.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%;
@@ -682,4 +682,4 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
682
682
  &:hover {
683
683
  color: ${e=>e.theme.colors.primary};
684
684
  }
685
- `,Xe=e=>`${e}_form`,et=e=>{const{allNotifications:o,allExternalNotifications:s,notificationDetailsByTab:{tasks:{selectedNotificationIds:a},comments:{selectedNotificationIds:n}}}=e,l={};zt(o).filter(d=>d.notifications.length>0).forEach(d=>{const 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))}),{[K]: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,Xe as uniqueFormName};
685
+ `,Qe=e=>`${e}_form`,et=e=>{const{allNotifications:o,allExternalNotifications:s,notificationDetailsByTab:{tasks:{selectedNotificationIds:a},comments:{selectedNotificationIds:n}}}=e,l={};zt(o).filter(d=>d.notifications.length>0).forEach(d=>{const 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))}),{[K]:c,[X]: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};