@zeniai/web-cockpit-ui 1.14.38-qa → 1.14.39-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 (233) hide show
  1. package/dist/assets/{ACHDetailsPage-B-YGNgNu-fMbIin-2.js → ACHDetailsPage-C0HaWoSJ-Dc5JPQ9N.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BtD_7Ftm-Cjrt2PVO.js → AIPerformancePage-BcpJ60QE-CtwR6J9S.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-BtnzwNNq-Cy5SeNuD.js → AccountInfoPage-8k9PvHMB-DZyvxf4V.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-B4wK76bm-DJwk5_sV.js → AccountInfoPageContent-C7qnFSOO-kIwITRCp.js} +10 -10
  5. package/dist/assets/{AccountLockedInfoModal-4JAQCp4H-dwSuT6l3.js → AccountLockedInfoModal-Nuuzfbv1-D8-h_fCC.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Ddi5U4Ae-B03Ke0oC.js → AccountReconDetailsDrawerPage-O9at1_JO-DI5XcSqF.js} +1 -1
  7. package/dist/assets/{AccountRow-m99usqft-Cggn-JiL.js → AccountRow-D7TS2v2D-CXpu3RBt.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-D-dhzSE8-sseWDipk.js → AccountsPromoCardStack-Bd_rvzbl-BTn5w5o9.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-Bc7FcxQ9-CmEWBrRO.js → AddAddressForCardDrawer-DZJDqdMv-Cg4NeP1v.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-y4kvtUka-HQhkhv7g.js → AddToWalletPage-CsHR0N---CReMNlUz.js} +7 -7
  11. package/dist/assets/{AgingReportsPage-DrNIGwGn-BaT4XgWt.js → AgingReportsPage-D7pM0zmb-BuDoPaRl.js} +4 -4
  12. package/dist/assets/{AllUserItems-B7zg_GaP-DzAVc-iC.js → AllUserItems-iYe6sokO-aNUOL4ty.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-DnnUrY0w-DxAEkFFL.js → ApAgingDetailPage-Bqn7qtw--DtOkXocQ.js} +2 -2
  14. package/dist/assets/{AppBasePage-Bk7AUQvW-DQWv9uqw.js → AppBasePage-CsoraCNO-ExgiFDSz.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-BoIqLCcg-4ZHLEj0A.js → AppDrawerContent-B0lIGzQX-CG7hQ-7J.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-C9F_rLkj-DI6n1IG9.js → ApprovalRulesSettingsPage-BQV7Dw4L-h9PzT8u0.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DIwVIc---p7-njet-.js → ArAgingChart-RMxcWQSp-G3XJ7xii.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-DxW2xm-N-Carapse2.js → ArAgingDetailPage-NedRj0-7-BonBqaV_.js} +1 -1
  19. package/dist/assets/{AttachmentView-BlhBiGC5-BbBN0XVN.js → AttachmentView-CQXaXBQ0-DG9KqabP.js} +1 -1
  20. package/dist/assets/{BankAccountSection-A8IfSLFo-BVU2yldF.js → BankAccountSection-X5lu-xFg-TbmLt2Ax.js} +8 -8
  21. package/dist/assets/{BankAccountWarningSection-DFi3iK9n-DMXZHPRc.js → BankAccountWarningSection-CVhY2Ven-MI-JQ1yO.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-CKGG85vp-CEnS2Yr3.js → BankConnectionsSettingsPage-DHoPOUfJ-DW1tGoNi.js} +8 -8
  23. package/dist/assets/{BillDetailPage-BOVwHvyV-B-wRVugj.js → BillDetailPage-Bn7AiS3S-BZ28bPGv.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BVdiHMjx-SAjnUXhF.js → BillPayApprovalRuleDetailPage-BNUTi_3l-BrNn-Lg5.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-Dl45oEp5-qp2KFyuk.js → BillPayApprovalRulesPage-Cyl51uwx-B0C7ukmg.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CEX8Udbv-CF30vtRJ.js → BillPayPromoPage-C-C53jfT-DHzs6DsU.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-CSfEFV18-DpEApa4-.js → BillPaySetUpPage-DK03W_KV-C7gypIrH.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-hu1pz4dA-rS23BWi8.js → BillingSettingsPage-mh7zXUFz-PtqIHFv4.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DIY4Aa7i-CpXgDUmQ.js → BillsBulkReviewDrawerPage-eif54uHi-BY7mu3gx.js} +1 -1
  30. package/dist/assets/{BoxItem-BnivUbj--CToe_wP6.js → BoxItem-Bwh-fULe-Cnvh0VLf.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-BZB4KFum-Bf_jaqK5.js → BusinessVerificationPage-TkVkNqIG-kO3sbCuM.js} +3 -3
  32. package/dist/assets/{CardNumberSubText-CIysZ6zp-ie7SfEt5.js → CardNumberSubText-BhMD3p_M-DwICSaFN.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-C-MPq54h-CiG7Uft4.js → CashbackDetailPage-BZ-HHrYd-D7DeuuQ4.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-CGyuANsu-jOjGANCm.js → ChargeCardDetailPage-BmAB59Qs-BujIsaCJ.js} +40 -40
  35. package/dist/assets/{ChargeCardListPage-BbzjzgAv-BusTbQNY.js → ChargeCardListPage-CosFJd02-D0F4rAbY.js} +27 -27
  36. package/dist/assets/{ChargeCardListTable-D-wd0edv-DpjBc6t-.js → ChargeCardListTable-CpHJHWnY-C2UTTrvE.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-Cs-Xlghn-BRKLTlKH.js → ChargeCardPromoPage-CUWQ2Doj-svt7Kq-x.js} +4 -4
  38. package/dist/assets/{ChargeCardSetupPage-CfCGkFxz-97k_khoY.js → ChargeCardSetupPage-Cf_UjTmV-CakqJLB9.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-Jc6k_2Gg-BkHhJ77U.js → ChargeCardStatementsPage-CJjm5X-O-DEvYaVae.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-Vw0LoIey-D4s3SYDn.js → ChargeCardUtils-DtlGBAOG-CnFwGz8i.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-Cm-3BKNK-B-yxpnKo.js → ChaseOverlay-D9_jipgQ-C9IApPhh.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-BAwg3duC-_scFW12y.js → CheckDepositDrawerPage-C0cBFFEH-DO9mNbUo.js} +7 -7
  43. package/dist/assets/{CollapsableReportTable-C_qcwMWq-CzhTaZDf.js → CollapsableReportTable-Bubej7Ql-B-Haow9V.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-_m4C7Xgf-nCGmpM20.js → CompanyOfficerDetailsSection-CeH1OeAD-CDN4q74j.js} +12 -12
  45. package/dist/assets/{CompanyPassportCard-BiuPML3b-DNQNm9g-.js → CompanyPassportCard-DL5W7ueC-DxD3wi5U.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-BHf1pHbJ-RbKCYwrZ.js → CompanyPassportPage-DigtE7w9-BbT2L8df.js} +1 -1
  47. package/dist/assets/{CompleteProfile-DKEFybHA-DF_c0ocL.js → CompleteProfile-Bg7I3lpF-C68N9Ffu.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-BvcmPG2b-CgTGVRIv.js → ConfettiBurst-AOgMJCCW-BNA_L2gY.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-EpWC9Uuv-D9FFUW3d.js → CreateOrEditVendorPage-Bv82RVf6-BnL5MUAM.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-DI-za1T2-Dbmyt89i.js → CreditCardPaymentDrawerPage-C3ZpHHOb-C0Kp9JUP.js} +10 -10
  51. package/dist/assets/{CreditCardPaymentPlgSection-BGu0Am-e-CBMCjf_k.js → CreditCardPaymentPlgSection-DkQpCIiA-CI4n-74w.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-DL628Rog-DGJ_22N-.js → CurrencySelectField-DhbePxwd-Cd-AHSQD.js} +4 -4
  53. package/dist/assets/{CustomerOnboardingActivationPage-DzuWnPaH-C9lA2tPS.js → CustomerOnboardingActivationPage-BG8XSP7a-Bp02DWY-.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-DouBKVdi-DjCpZaQA.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Bx_rpQHj-BZ-6npjg.js → CustomerOnboardingDetailPageSkeleton-CSnGdP4D-DOKb-pCZ.js} +7 -7
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-CSI_jqkM-BE9h0jWN.js → CustomerOnboardingNoStepsPage-DC5SvJ3Y-DaKVTiM9.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-CuS2FfSh-B48LjWuQ.js → CustomerOnboardingPage-7v85vPxH-BbgR3kNR.js} +6 -6
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-B4HtoU9G-B8wZmpw3.js → CustomerOnboardingProductSuitePage-BhYHtuIm-CQypRUha.js} +1 -1
  59. package/dist/assets/{Dashboard-bFhMc4h1-B0ZecgE9.js → Dashboard-CqXj-08s-BArrunRY.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-B1pKZHaH-DMNAZhfo.js → DashboardReportPage-CakUfI8Y-L0ses7UF.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-CLaTbvuZ-scR6AgO9.js → DashboardSidebarBackgroundAnimation-__d52UhZ-Ceg2kzeD.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-DnzXR7B4-Cn2enBhf.js → DepositAccTransactionItem-CVGiw_b2-CfGaUFaN.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-C0F0N3XK-DQQM8xwt.js → DepositAccTransactionListPage-BLds9psS-CfaHcFYy.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-BS3N4ATj-DzsKY8Tn.js → DomesticWireDetailsPage-BfypyRjN-DhX6lTqU.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-yXed0RbK-BEkzQOPU.js → DownloadOverlay-DG4lR1Pb-DM5-MnYq.js} +1 -1
  66. package/dist/assets/{DrawerPage-LV8__F8R-BVez5P0O.js → DrawerPage-DppLxflk-oxHByEwB.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-GBNK0lo_-B1n6yQaz.js → EditPeoplePage-ISgRqKSY-rfxXcGVm.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-COApDpVm-DvxJJ-35.js → EditReimbursementDetailPage-C1nghhum-C958DjQB.js} +14 -14
  69. package/dist/assets/{EntityDetailPage-DdZmhyPX-Cz3KW8lp.js → EntityDetailPage-DjgV66W8-DZ5igwA9.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-Cn7rnQeI-CLdJZ-g8.js → EntitySummarySection-BBc3t5R9-DzHOpDVR.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-ipXT_MCO-CRS82qF6.js → ExpenseAutomationOverviewPage-fzZP2aKu-CCu0MleJ.js} +11 -11
  72. package/dist/assets/ExpenseAutomationPage-BSjV8d-I-75tcqP7q.js +1650 -0
  73. package/dist/assets/{ExpressPayPage-C0J3X657-C2OEC1Gk.js → ExpressPayPage-DKBLyt2v-BL6tHheh.js} +5 -5
  74. package/dist/assets/{FeaturePreviewPage-lIDKDiwy-DKPeO7UN.js → FeaturePreviewPage-V38xu6Zo-CyaOyBKD.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-CtCRMD2R-BclyND_b.js → FollowStepsSection-Bo5_aHsj-D_2P3NsX.js} +7 -7
  76. package/dist/assets/{GlobalReviewListPage-DXPuMshX-C6-xfhTb.js → GlobalReviewListPage-BXWgxJUG-Dc8bw5mq.js} +1 -1
  77. package/dist/assets/{HelpButton-Dmp2RZDD-DwUAgvCm.js → HelpButton-B3uWY2LR-OlttS1C0.js} +1 -1
  78. package/dist/assets/{InformationCardStack-bpQXbFWJ-v3NkhXp1.js → InformationCardStack-DUi7F4j9-Bzofi24T.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-BzyYnnH_-h-EhKW4f.js → InsightsCardStack-DpsGvwAF-DavKovHg.js} +1 -1
  80. package/dist/assets/{InsightsSection-BVjjBkzp-tevt_pPa.js → InsightsSection-CFeEzjB3-D_1DfMdF.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-DjMaGIv9-muEoTxEB.js → IntegrationsSettingsPage-Ck0miRzH-COeNLu0O.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-DXYaOaYh-CFh_OLfc.js → InternationalWireSwiftDetailsPage-CHh9rwda-CYMl7fKC.js} +10 -10
  83. package/dist/assets/{InternationalWireVerificationPage-yPrzoGA9-CARbQeFN.js → InternationalWireVerificationPage-DoQ9eiu4-CAFn32kX.js} +1 -1
  84. package/dist/assets/{InviteFormPage-xQ6xN_gt-CfY7XY56.js → InviteFormPage-zZoT105K-CDjZZmix.js} +8 -8
  85. package/dist/assets/{InvitePageListView-BmkX934z-Be2ok7Zk.js → InvitePageListView-Bqi0nN3K-Cugufhfk.js} +11 -11
  86. package/dist/assets/{InvitePeoplePage-BxxEjVs5-Dc-QWgCl.js → InvitePeoplePage-D6Pp40Kl-BkOtYcxF.js} +4 -4
  87. package/dist/assets/{InvoiceUploadSection-BxfSI49h-CYPJb87m.js → InvoiceUploadSection-BTwzAYmG-DqCxJXD_.js} +3 -3
  88. package/dist/assets/{IssueChargeCardPage-ByK_ayX6-BDcNKOgV.js → IssueChargeCardPage-DFnsBjmh-BMzEcFnV.js} +10 -10
  89. package/dist/assets/{LabeledAddressValue-Bk-opSoh-C2Nliq0B.js → LabeledAddressValue-CYEpguO_-DG_G1pyJ.js} +1 -1
  90. package/dist/assets/LabeledAddressValueField-CNyhuNMg-BDiOnCQn.js +45 -0
  91. package/dist/assets/{LabeledControlledCheckBoxField-DtVQoSev-TrA3hZT3.js → LabeledControlledCheckBoxField-CSh6A3bd-D6-VupFL.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-BFmP_-GA-D6YE34KD.js → LabeledCreatableSingleSelectField-CtuwY_9o-BYO4B8QP.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-CyW3tPI--DYCMXfVj.js → LabeledDocumentField-Dyfj_Dx0-CxT8amBm.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-_b5VDmOJ-DYXZVhQf.js → LabeledDropDownFormattedTextField-D8oMk4xt-NfRrE6TJ.js} +3 -3
  95. package/dist/assets/{LabeledText-Bc8QavrT-DBe1R5aQ.js → LabeledText-DhIVEuvE-BGpps1jt.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CE-MxVSk-BpDF1_jW.js → LabeledUserSingleSelectWithSubtitlesField-BrN-E_iu-H_-zsD1L.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-BqlbDyA1-k2PRVwSX.js → LabeledZeniRolesDropDownField-BPSDhXTS-B9hIUe6J.js} +6 -6
  98. package/dist/assets/{LinkJETransactionPage-DE8ch_W7-SFTtX9u1.js → LinkJETransactionPage-CSD6-ita-BuYlOJqv.js} +7 -7
  99. package/dist/assets/{LowBalancePopup-DWXEyi2S-62gzo-RC.js → LowBalancePopup-DG7UpS2F-Bu5UEVfd.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-CJ57XAxp-CjX17IVW.js → MagicLinkACHDetailsPage-m5chQr23-4RLEMs7o.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-Ba1gbLAX-Dy5Hem1F.js → MagicLinkDomesticWireDetailsPage-Cob4wAR7-LbXvtvq_.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-U3ygf3uO-C-ImmVXN.js → MagicLinkInternationalWireDetailsPage-DX9NH12J-D2R3cXNL.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-CGjxH6Hl-BK7vnCSI.js → MagicLinkSuccessPage-DgcpyzOK-CmCaLAu5.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-Dzfctx8H-B9w7ZvfA.js → MagicLinkTitleSection-wjuKcqab-D7vo35cb.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-N-M1JzkW-DsQX1QOn.js → MailingDetailsSection-DU4LYPzH-BXsLAtDc.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-BJgsd-6e-BJbKD0GQ.js → MeetingCalenderPopup-YiB2ETli-CqKaSUHn.js} +1 -1
  107. package/dist/assets/{Menu-DCl4YiCd-DyNjEuyz.js → Menu-Bi_Vto-l-B6nlDzVX.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-BZP3Dbes-Dl7uUmu5.js → MyBankConnectionsSettingsPage-LgbzbrTj-BFa0cAOH.js} +1 -1
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-Cc8Onh73-CoHNzBqF.js → MyPendingActivationChargeCardListPage-CZs9UFV5-DK2YM84p.js} +2 -2
  110. package/dist/assets/{MyProfileSettingsPage-7YrgIr-M-J1kKjAhJ.js → MyProfileSettingsPage-DIADfZVY-BDHoxXS8.js} +3 -3
  111. package/dist/assets/{NavBarWithPicker-Bbu7_9sU-BqOfWE29.js → NavBarWithPicker-DEqzM9Qm-_DqMMA0k.js} +1 -1
  112. package/dist/assets/{NavigationArrow-DNJkGq5e-Cz6Ibgvw.js → NavigationArrow-DzZDXuKr-B7BwQbpV.js} +1 -1
  113. package/dist/assets/{NavigationDots-BDhrBzmw-C8Z-kY4L.js → NavigationDots-CFxiVMnb-Dxb6vagd.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-DSyitl-a-ZWPqeDnP.js → NewGlobalMerchantPage-JsTrXT1T-DERt7sEx.js} +2 -2
  115. package/dist/assets/{NoDataChart-Bww-GG_z-C6bA2sTF.js → NoDataChart-gi34_J2e-BOq-1JyJ.js} +1 -1
  116. package/dist/assets/{NoDataTable-DRSEE7HT-Fx8yGafA.js → NoDataTable-DtmdB0eI-BxWxqQ9f.js} +1 -1
  117. package/dist/assets/{NotFoundPage-BepvWGxk-Cey9vhvF.js → NotFoundPage-Bk5zRv9L-CAPJCopB.js} +1 -1
  118. package/dist/assets/{NotificationSettingsPage-CR6XVZlL-9bKzyX8l.js → NotificationSettingsPage-DFHLMWiI-CAa4vlQq.js} +11 -11
  119. package/dist/assets/{NotificationsListConfig-CBjTcLzj-Cjn3YKhY.js → NotificationsListConfig-DxFLCS42-Dryoh4sl.js} +1 -1
  120. package/dist/assets/{NotificationsPage-BgUc61wf-B26oAUDK.js → NotificationsPage-E3pYaBJv-CS1qVYiF.js} +1 -1
  121. package/dist/assets/{OpExByVendorPage-BkgsQ4lY-MDZiQLxw.js → OpExByVendorPage-CgaLMeOS-CLk81uBN.js} +1 -1
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo-cQS0tC0x.js → OverlayContainerPage-Bmu909Fo-EXe69QYn.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-B0pUD9U8-BzHTBbKy.js → PandLWithForecastPage-CZkL9zJq-C6y3vZ9S.js} +1 -1
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-YvYPpyzH-Z_m2YYMZ.js → PaymentAccountSetupBillingAddressSection-D190AP1Y-BjMBxnd9.js} +1 -1
  125. package/dist/assets/{PeoplePage-mobCML9r-DCbFdYKi.js → PeoplePage-BwfDzqla-jRNvSDjZ.js} +1 -1
  126. package/dist/assets/{PortfolioAllocationFormPage-CB9lfs6z-DcmJ3sYv.js → PortfolioAllocationFormPage-BLdGGltt-jcopE-iX.js} +1 -1
  127. package/dist/assets/{PortfolioDetails-zYYGkoC--BXwbol69.js → PortfolioDetails-agrnhRRW-bdNc5pLU.js} +1 -1
  128. package/dist/assets/{ProductsCarousel-B4zdUn5q-D-jWZUof.js → ProductsCarousel-CqBzOsli-B8X-IKsl.js} +1 -1
  129. package/dist/assets/{PromoBaseCards-CgGg3lpk-8sTJ7Rcf.js → PromoBaseCards-BUYkqKhW-B1j2ucCH.js} +1 -1
  130. package/dist/assets/{QBOConnectionDialog-BBVBEJWA-aU8G6lgM.js → QBOConnectionDialog-JoNcGvU6-DWXeA3jb.js} +7 -7
  131. package/dist/assets/{QBOSetupSection-pBOQk_mE-D3kS8huT.js → QBOSetupSection-cB-8iCoM-i7dLrr5Q.js} +8 -8
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Ck2KbJ_R-CjiQYmVl.js → ReimbursementApprovalRuleDetailPage-CfOZ0t5v-CV7GAFF2.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-D7LTvUrz-B4ZNYo27.js → ReimbursementApprovalRulesPage-DDtX0CfL-C8p_ZO2g.js} +1 -1
  134. package/dist/assets/{ReimbursementDetailPage-CbgWCawo-BpF64MSv.js → ReimbursementDetailPage-D3rgg3kA-D5du5Mqk.js} +4 -4
  135. package/dist/assets/{ReimbursementPromoPage-DmV5eoIo-2BJlj6f0.js → ReimbursementPromoPage-Cn3Z10XN-CHstzTse.js} +1 -1
  136. package/dist/assets/{ReimbursementSetUpPage-kAlaG5Ag-CE_70Pof.js → ReimbursementSetUpPage-B_gdhg1O-CmHe8InY.js} +3 -3
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-70qXVn3v-BkFq_ISK.js → ReimbursementsBulkReviewDrawerPage-BtBowdlA-Bff-ZZ8J.js} +1 -1
  138. package/dist/assets/{ReloadCard-DoOxxK_q-CARmhhI-.js → ReloadCard-BY23wQlB-BJD-2H6c.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-7OJVsL-G-CkKoEtsy.js → ReportTableViewSelector-Dzg62ctm-WFJR-fXp.js} +1 -1
  140. package/dist/assets/{ReportsPage-29ims7Ks-BlC7wtbz.js → ReportsPage-CzflkNSs-BQaWkMYG.js} +1 -1
  141. package/dist/assets/{RevenueChart-CLtUUYr5-CPmYx-Fb.js → RevenueChart-DNOek9MJ-CP-2pEDw.js} +1 -1
  142. package/dist/assets/{ReviewDetailsPage-DNDzoyA5-T8GWsxM-.js → ReviewDetailsPage-ChMF35Zu-BuP67dVO.js} +1 -1
  143. package/dist/assets/{ReviewOverlay-VleZWRhn-V88olled.js → ReviewOverlay-COIKeR15-BcSsy_vI.js} +1 -1
  144. package/dist/assets/{RoleWithToolTip-DsEos8I_-CRr6oRTA.js → RoleWithToolTip-DWcWpu1c-lubwiBJ4.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cv84NP5--CNvmO9QZ.js → ScheduleDetailsFixedAssetsPage-CxKTS1Ys-vgXmo78e.js} +3 -3
  146. package/dist/assets/{ScheduleDetailsPage-D4IKW5z6-DWiTLKB2.js → ScheduleDetailsPage-6MqWtRbl-BKxcOCs-.js} +1 -1
  147. package/dist/assets/{ScheduleSequenceTable-qHcZL82y-DAAUsg0w.js → ScheduleSequenceTable-cwZqH3zx-D2fQFHiq.js} +9 -9
  148. package/dist/assets/ScreenRoutes-KSywlUe_.js +206 -0
  149. package/dist/assets/{SetUpAccountSection-CjOOpWa2-Cb7W1Utl.js → SetUpAccountSection-BeXsisXh-C8iQqoE3.js} +1 -1
  150. package/dist/assets/{SetUpDefaultSection-Ax1FuH_A-CXbulKHe.js → SetUpDefaultSection-Bw-ODNSn-XyoiRDtn.js} +8 -8
  151. package/dist/assets/{SignIn-Bj2czf21-Bnr6dLzL.js → SignIn-BYWJCKCM-iAXwoeyl.js} +1 -1
  152. package/dist/assets/{SignInScreen-SaiDsUoA.js → SignInScreen-X2bNuyVp.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-7oQurX8D-BlEdTeYL.js → SpendManagementListViewPage-Cncc2ohq-gJW6I76n.js} +10 -10
  154. package/dist/assets/{SpendManagementPerTabPage-DG8qRSeQ-BftobJyz.js → SpendManagementPerTabPage-BR5w_58--Bz1qFkXu.js} +1 -1
  155. package/dist/assets/{SpendManagementSection-CzGLKJ01-PgYP5EKq.js → SpendManagementSection-BjNiE7SK-D7jeMM-c.js} +1 -1
  156. package/dist/assets/{SpendMgmtSetupAccountSection-BSuY_zqo-toxWOw_s.js → SpendMgmtSetupAccountSection-BQP4OHws-IXpe5hj1.js} +1 -1
  157. package/dist/assets/{StatementItem-teWYG-k5-DmOE0DmW.js → StatementItem-uDpMbqmR-DBTHHgkS.js} +2 -2
  158. package/dist/assets/{StatementsPage-Kqug4TjC-idI8Y2ff.js → StatementsPage-BQ6zpjtq-HFcofufo.js} +5 -5
  159. package/dist/assets/{StatusSwitcher-BXzanE6h-BbOxdx4D.js → StatusSwitcher-DnQFgeLN-DpDkgj5j.js} +1 -1
  160. package/dist/assets/{SubTabSwitcher-Dc78MPYF-W-inXen8.js → SubTabSwitcher-BSxF2cHS-DzqRE0-4.js} +1 -1
  161. package/dist/assets/{SummaryCard-DDpG4vry-BXv2u1RJ.js → SummaryCard-DwlHiqjy-DovYblcz.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-DQXNMGNK-DpyOgzeS.js → TaskManagementPage-BPY7YdEt-Bhs7yAJe.js} +21 -21
  163. package/dist/assets/{TimeRangeSwitcher-BQL2dhVh-FzyWbTek.js → TimeRangeSwitcher-D66ILzZ8-BUSvdhZS.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcher-CXvrXTdI-Bmd_fwCF.js → TimeframeSwitcher-C2DIHjU8-FFKAp4XL.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-C_hQ5Vj--Ct-exPmU.js → TimeframeSwitcherWithToggle-V1DMLkhs-Cnh86APd.js} +1 -1
  166. package/dist/assets/{TopExCard-CmajFYfY-B72k2WTV.js → TopExCard-DSqZSZGZ-Dw-FQUIS.js} +1 -1
  167. package/dist/assets/{TopExDetailPage-DNfBQfSC-BIDVRDoT.js → TopExDetailPage-OstkHsg3-DvRigN0b.js} +1 -1
  168. package/dist/assets/TransactionDetailPage-AbBJQKHm-dGel1c3Z.js +912 -0
  169. package/dist/assets/{TransactionList-DifBTNrV-Bm9HY8Nz.js → TransactionList-CkdTkJqL-Cgr2VpIS.js} +1 -1
  170. package/dist/assets/{TransactionListBig-Bjmt3Xib-CgXUg-D7.js → TransactionListBig-BZ5gpbJ5-Bm4_r9qH.js} +1 -1
  171. package/dist/assets/{TransactionListPage-CpFiD4Aw-_sCR6guP.js → TransactionListPage-CqU-E-7M-BizBcsew.js} +1 -1
  172. package/dist/assets/{TransactionVendorDetailPage-BSZ4IBis-BBSuIAyI.js → TransactionVendorDetailPage-BvcpFzUp-DW2mpv-1.js} +3 -3
  173. package/dist/assets/{TransferDrawerPage-CiGIqLHQ-DXixiZfl.js → TransferDrawerPage-D1NgpWIq-C2E7-vdj.js} +20 -20
  174. package/dist/assets/{TreasuryOverviewPage-C21g82G6-CQsvFi67.js → TreasuryOverviewPage-CD2o1CFy-8qk7AdY6.js} +33 -33
  175. package/dist/assets/{TreasuryPromoPage-lNMQil_1-B1nrvRps.js → TreasuryPromoPage-CwmjKeA3-BNj8wbyy.js} +7 -7
  176. package/dist/assets/{TreasurySetupPage-CHjK0p7r-8sdB5yWR.js → TreasurySetupPage-DP8WeoZ8-Dr5EZ1f3.js} +1 -1
  177. package/dist/assets/{TreasuryStatementsPage-CKAdFoHY-DUBBrZ0u.js → TreasuryStatementsPage-e6twnrIV-DioRFi4U.js} +3 -3
  178. package/dist/assets/{TreasuryTaxLetterPage-DPdcmb53-CS9rVfJz.js → TreasuryTaxLetterPage-C0b1z_Th-B11BzKum.js} +2 -2
  179. package/dist/assets/{TreasuryTransferOrReviewPage-DmGpNvWn-Co9DgHXC.js → TreasuryTransferOrReviewPage-CKyTuHqj-BTErZLx_.js} +25 -25
  180. package/dist/assets/{TrendChart-BJF_aBUS-BMy2_Q9E.js → TrendChart-Dn0GiuT9-HQjjMVrP.js} +1 -1
  181. package/dist/assets/{TrendWithTransactions-DXSMdecG-CANPLez3.js → TrendWithTransactions-DtPVZEAr-DnuxxeAb.js} +1 -1
  182. package/dist/assets/{UncategorizedAccountsMappingPage-DMiXdRb9-DLsuLqYf.js → UncategorizedAccountsMappingPage-BsNKhjNn-DKa7txXi.js} +8 -8
  183. package/dist/assets/{UnitIntegrationPage-Dqakwr1P-ByAKOcKO.js → UnitIntegrationPage-yq2PJvQf-lbVttX1U.js} +1 -1
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-DOy8Wvxm-DMrdpbVK.js → UploadAdditionalDocumentOverlay-CGX4As30-PMvLbAD2.js} +1 -1
  185. package/dist/assets/{Vendor2FAPopup-DR_Uif4s-B_GT6Sq4.js → Vendor2FAPopup-iHeZH2a--CWW41Kpu.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-_nmRyuvM-BGY_QCdu.js → VendorACHDetailsPage-w879CB2t-DBelQrTv.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-DYhBGXTe-BJaZYfIh.js → VendorDetailPage-DZ4h1qWW-vxXfS1yQ.js} +4 -4
  188. package/dist/assets/{VendorDomesticWireDetailsPage-OzrrojiZ-C9c31Kyz.js → VendorDomesticWireDetailsPage-CHju4IUB-BwOjp8sq.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-C6i7dipR-CDi2_exv.js → VendorFiling1099EditablePage-BlvW4OEf-caJ6TGkm.js} +5 -5
  190. package/dist/assets/{VendorFirstReviewPage-DrelrPYn-DzxrK758.js → VendorFirstReviewPage-4NSSfruW-SkZiIEM_.js} +15 -15
  191. package/dist/assets/{VendorInternationalWireDetailsPage-BglZ4_v2-BVn2TPKA.js → VendorInternationalWireDetailsPage-CYnMhzsB-Dp-2dBCE.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-MKHHcDL4-DMOU_udf.js → VendorInternationalWireSwiftDetailsPage-CXhnSzG9-CqZ25PxA.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-COwLgrG_-a3j4nxr6.js → VendorsAccountsSection-DytBkZ5j-BDTqXfPm.js} +1 -1
  194. package/dist/assets/{VerifyDevice-FO7331hS-rNW11ub0.js → VerifyDevice-CQ0olx8K-BR-mcrJ3.js} +1 -1
  195. package/dist/assets/{VideoPlayer-C7GWTYSG-ClYWctvb.js → VideoPlayer-BzfzJW7y-C5JZYu_g.js} +1 -1
  196. package/dist/assets/{VideoPopup-CB0BXhOA-DweU0weQ.js → VideoPopup-DJubpBc5-CxKuMSGz.js} +1 -1
  197. package/dist/assets/{WarningsDrawerPage-B081ksn8-DBrcyXm_.js → WarningsDrawerPage-DtdniUCH-DJUs63Zw.js} +7 -7
  198. package/dist/assets/{ZeniAccountDetailPage-Bbx7ge3Z-B74a9iCh.js → ZeniAccountDetailPage-UcgfqnXC-Th3RZHDM.js} +4 -4
  199. package/dist/assets/{ZeniAccountListViewPage-CgOxwjk1-loQXKfEe.js → ZeniAccountListViewPage-STT7H2Nw-BroPoovh.js} +6 -6
  200. package/dist/assets/{ZeniAccountNavBarPieces-BkN8_5Zi-BBFYIr9g.js → ZeniAccountNavBarPieces-ZNlC5aGd-BNisBi0x.js} +1 -1
  201. package/dist/assets/{ZeniAccountPromoPage-DrMHkTuM-TsJAmqcK.js → ZeniAccountPromoPage-DeVBZrVx-DUJkUAQ8.js} +5 -5
  202. package/dist/assets/{ZeniAccountSetupPage-BCpKadR1-BILWbvOC.js → ZeniAccountSetupPage-UlF7qoFd-Bt_j1YxN.js} +1 -1
  203. package/dist/assets/{ZeniCopyright-juRAWlbw-CPXEOl77.js → ZeniCopyright-CjbWU9Dc-BLwz2UDU.js} +1 -1
  204. package/dist/assets/{ZeniTransferAmountSlider-BtI1L6UN-GWCIzf4e.js → ZeniTransferAmountSlider-BL2-PVj4-Bi0ukH0F.js} +1 -1
  205. package/dist/assets/analytics-Dr_Q0qi5.js +73 -0
  206. package/dist/assets/{analyticsHelper-DQQo4LQc-D87Bn7n3.js → analyticsHelper-47l9Opyu-BI0dCEoa.js} +1 -1
  207. package/dist/assets/{analyticsHelper-CSeUgl6n.js → analyticsHelper-BpYh_F2q.js} +1 -1
  208. package/dist/assets/{chartTypes-eqxFaFS5-fUn75ZVM.js → chartTypes-DmEm-9Ox-ULKq2fZN.js} +1 -1
  209. package/dist/assets/{commonDimensions-C2hbzHZW-DX6zjHki.js → commonDimensions-Dfc-15aJ-CxnVwTdu.js} +1 -1
  210. package/dist/assets/crypto-Ccg-ICil.js +35 -0
  211. package/dist/assets/{detailCommon-fC811KkH-QLQiCSMc.js → detailCommon-CfRJr7PH-Zz1na4q2.js} +1 -1
  212. package/dist/assets/{downloadPdf-CgcD1OYw-D2NqLzAt.js → downloadPdf-QB7_leFQ-CoJ91cS7.js} +1 -1
  213. package/dist/assets/{index-CfctPHbv.js → index-C7jkqxrR.js} +13 -13
  214. package/dist/assets/{mapLoadingInProgressToTreeNode-CM7N02af-DiQ1kXB9.js → mapLoadingInProgressToTreeNode-BbnaFFzG-BRQ7gDuX.js} +1 -1
  215. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-MzhgtFpc-DvFOj2Em.js → mapSectionWithAcOnlyToTreeNode-B3ThW_Wk-DV4jlGZ4.js} +1 -1
  216. package/dist/assets/{mapSpacerToTreeNode-C7hklF---BcLWVoos.js → mapSpacerToTreeNode-CMRinfvP-BAaxRYcb.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-D36HLTqR-CaVDkf8Q.js → mapTimeframeBalancesToTreeNode-C4e13DYv-mbUoKHNs.js} +1 -1
  218. package/dist/assets/{mapTimeframeBalancesToTreeNode-CEJ9v-Q3-Dh04BnMI.js → mapTimeframeBalancesToTreeNode-y77ZAwQg-CYnesxgR.js} +1 -1
  219. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BhdfWhpd-cB73nGq5.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DGrKwzUB-CAVP7axd.js} +1 -1
  220. package/dist/assets/{toCOABalancesWithID-DCFbumLL-DJ7iqU0X.js → toCOABalancesWithID-DIO7qGqY-BCZorL6x.js} +1 -1
  221. package/dist/assets/{toChartData-Dh9v_zba-DQ0vqbhf.js → toChartData-D89UpEia-DmSMBtrE.js} +1 -1
  222. package/dist/assets/{treasuryColorHelper-ZXa62meg-BjqYsu0A.js → treasuryColorHelper-CF-h70rk-DcbjCnLZ.js} +1 -1
  223. package/dist/assets/{uploadAttachment-DOhn3y-C-CJ6_VxnJ.js → uploadAttachment-B-bBj_Bq-DxXvr3YV.js} +11 -11
  224. package/dist/assets/{uploadReceipts-dxsKhm9I-BzjHIWji.js → uploadReceipts-dxsKhm9I-BIa10rGM.js} +1 -1
  225. package/dist/index.html +1 -1
  226. package/package.json +5 -5
  227. package/dist/assets/CustomerOnboardingContainerPage-BLgcij7A-DND9iQFj.js +0 -1
  228. package/dist/assets/ExpenseAutomationPage-BXyGtnBz-DDXuwH9L.js +0 -1650
  229. package/dist/assets/LabeledAddressValueField-RFI4bpOj-zAuVOTou.js +0 -45
  230. package/dist/assets/ScreenRoutes-BjG9FBY3.js +0 -206
  231. package/dist/assets/TransactionDetailPage-DZPHVxna-Bx-BUpUf.js +0 -912
  232. package/dist/assets/analytics-B3n5JGPc.js +0 -7
  233. package/dist/assets/crypto-BDNqpTKX.js +0 -40
@@ -1,4 +1,4 @@
1
- import{e as H,a2 as ue,l as y,a as pe,ca as me,i2 as P,hP as L,B as W,cb as he,j as a,F as ge,fE as xe,a4 as fe,o as t,C as m,T as be,a3 as je,cd as R,i3 as we,g as ye,v as I,aB as Ce,q as r}from"./index-CfctPHbv.js";import{b as O,n as i}from"./vendor-rkTZJa59.js";import Se from"./TransactionDetailPage-DZPHVxna-Bx-BUpUf.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./LabeledControlledCheckBoxField-DtVQoSev-TrA3hZT3.js";import"./TrendWithTransactions-DXSMdecG-CANPLez3.js";import"./TrendChart-BJF_aBUS-BMy2_Q9E.js";import"./chartTypes-eqxFaFS5-fUn75ZVM.js";import"./toCOABalancesWithID-DCFbumLL-DJ7iqU0X.js";import"./toChartData-Dh9v_zba-DQ0vqbhf.js";import"./NoDataChart-Bww-GG_z-C6bA2sTF.js";import"./InsightsSection-BVjjBkzp-tevt_pPa.js";import"./NavigationDots-BDhrBzmw-C8Z-kY4L.js";import"./TransactionList-DifBTNrV-Bm9HY8Nz.js";import"./BoxItem-BnivUbj--CToe_wP6.js";import"./commonDimensions-C2hbzHZW-DX6zjHki.js";import"./uploadAttachment-DOhn3y-C-CJ6_VxnJ.js";import"./radio-default-CiSgisfh-Z5w0WcFM.js";const J={labelWidth:new m(120,145,160)},$e=i.div`
1
+ import{e as H,a2 as ue,l as y,a as pe,ca as me,i3 as P,hQ as L,B as W,cb as he,j as a,F as ge,fF as xe,a4 as fe,o as t,C as m,T as be,a3 as je,cd as R,i4 as we,g as ye,v as I,aB as Ce,q as r}from"./index-C7jkqxrR.js";import{b as O,n as i}from"./vendor-rkTZJa59.js";import Se from"./TransactionDetailPage-AbBJQKHm-dGel1c3Z.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";import"./LabeledControlledCheckBoxField-CSh6A3bd-D6-VupFL.js";import"./TrendWithTransactions-DtPVZEAr-DnuxxeAb.js";import"./TrendChart-Dn0GiuT9-HQjjMVrP.js";import"./chartTypes-DmEm-9Ox-ULKq2fZN.js";import"./toCOABalancesWithID-DIO7qGqY-BCZorL6x.js";import"./toChartData-D89UpEia-DmSMBtrE.js";import"./NoDataChart-gi34_J2e-BOq-1JyJ.js";import"./InsightsSection-CFeEzjB3-D_1DfMdF.js";import"./NavigationDots-CFxiVMnb-Dxb6vagd.js";import"./TransactionList-CkdTkJqL-Cgr2VpIS.js";import"./BoxItem-Bwh-fULe-Cnvh0VLf.js";import"./commonDimensions-Dfc-15aJ-CxnVwTdu.js";import"./uploadAttachment-B-bBj_Bq-DxXvr3YV.js";import"./radio-default-CiSgisfh-Z5w0WcFM.js";const J={labelWidth:new m(120,145,160)},$e=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -19,7 +19,7 @@ import{e as H,a2 as ue,l as y,a as pe,ca as me,i2 as P,hP as L,B as W,cb as he,j
19
19
  background-color: ${e=>e.theme.colors.grey3};
20
20
  min-height: 1px;
21
21
  max-height: 1px;
22
- `,V=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=W.getLocalizedStrings(),{dateFormat:C,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(C.visual.MMMDCommaYYYYformat),g=H();return a.jsxs($e,{children:[a.jsx(De,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(R,{label:{label:o.jePostingDate,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:V(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(ke,{}),a.jsx(R,{label:{label:o.jeLink,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:V(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:ye.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},Y="linkJETransactionPage",G="linkJETransaction",Z=W.getLocalizedStrings(),{common:{footer:M},dateFormat:Pe}=Z,ut=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:A,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:T,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const p=H(),U=ue(u),j=y.getQBOUrlForLink(h.toString(),s.jeLink),$=y.getFirstControllerEmail(A.controllers),v=y.getFirstControllerId(A.controllerUserIds),N=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),te()},x=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};O.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{if(u==="Completed"&&U==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),T()}},[u,U,T]);const{common:{strings:{empty:z}},jeSchedules:{scheduleDetails:{linkJE:f}}}=Z,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",D=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",B=s.jeLink.type==="recommended",F=he(x.formState.dirtyFields),k=x.formState.isValid,w=D&&F&&k||D&&B&&k,E=F&&k;return a.jsxs(Le,{children:[a.jsxs(Ae,{windowSize:p,children:[a.jsx(Be,{windowSize:p,children:f.linkJE}),a.jsx(Ne,{children:a.jsx(ze,{onClick:N})})]}),a.jsxs(Ie,{children:[a.jsx(Te,{windowSize:p,children:a.jsx(ge,{...x,children:a.jsx("form",{id:q(Y),onSubmit:x.handleSubmit(oe),children:a.jsx(Ee,{jePostingDate:s.postingDate,sectionId:G,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),B?a.jsxs(Re,{windowSize:p,children:[a.jsx(Oe,{})," ",f.zeniRecommendation]}):null,D?a.jsx(Ue,{children:a.jsx(Se,{isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:z,transactionAttachmentsEndpointToFetch:z,attachmentUploadEndpoint:"",authParams:g,isDisabled:K??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:X,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Fe,{children:[re?a.jsx(Q,{windowSize:p,children:f.transactionFetchError}):null,de?a.jsx(Q,{windowSize:p,children:f.jeDetails}):null]}),se?a.jsx(xe,{fetchState:o?.fetchState}):null]}),w||E?a.jsx(fe,{formId:w?q(Y):void 0,primaryBtn:{onClick:E&&!w?le:void 0,label:E&&!w?f.fetchJE:M.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:M.cancel,shouldResetOnCancel:!0,onClick:N}}):null]})},q=e=>`${e}_form`,_=(e,l)=>({[G]:{qboURL:y.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
22
+ `,V=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=W.getLocalizedStrings(),{dateFormat:C,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(C.visual.MMMDCommaYYYYformat),g=H();return a.jsxs($e,{children:[a.jsx(De,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(R,{label:{label:o.jePostingDate,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:V(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(ke,{}),a.jsx(R,{label:{label:o.jeLink,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:V(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:ye.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},Y="linkJETransactionPage",G="linkJETransaction",Z=W.getLocalizedStrings(),{common:{footer:M},dateFormat:Pe}=Z,ut=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:A,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:T,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const p=H(),U=ue(u),j=y.getQBOUrlForLink(h.toString(),s.jeLink),$=y.getFirstControllerEmail(A.controllers),v=y.getFirstControllerId(A.controllerUserIds),F=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),te()},x=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:Q(s,h),values:Q(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};O.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{if(u==="Completed"&&U==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),T()}},[u,U,T]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:f}}}=Z,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",D=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",z=s.jeLink.type==="recommended",B=he(x.formState.dirtyFields),k=x.formState.isValid,w=D&&B&&k||D&&z&&k,E=B&&k;return a.jsxs(Le,{children:[a.jsxs(Ae,{windowSize:p,children:[a.jsx(ze,{windowSize:p,children:f.linkJE}),a.jsx(Fe,{children:a.jsx(Ne,{onClick:F})})]}),a.jsxs(Ie,{children:[a.jsx(Te,{windowSize:p,children:a.jsx(ge,{...x,children:a.jsx("form",{id:q(Y),onSubmit:x.handleSubmit(oe),children:a.jsx(Ee,{jePostingDate:s.postingDate,sectionId:G,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),z?a.jsxs(Re,{windowSize:p,children:[a.jsx(Oe,{})," ",f.zeniRecommendation]}):null,D?a.jsx(Ue,{children:a.jsx(Se,{isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:K??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:X,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Be,{children:[re?a.jsx(_,{windowSize:p,children:f.transactionFetchError}):null,de?a.jsx(_,{windowSize:p,children:f.jeDetails}):null]}),se?a.jsx(xe,{fetchState:o?.fetchState}):null]}),w||E?a.jsx(fe,{formId:w?q(Y):void 0,primaryBtn:{onClick:E&&!w?le:void 0,label:E&&!w?f.fetchJE:M.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:M.cancel,shouldResetOnCancel:!0,onClick:F}}):null]})},q=e=>`${e}_form`,Q=(e,l)=>({[G]:{qboURL:y.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
23
23
  display: flex;
24
24
  flex: 1 1 auto;
25
25
  width: 100%;
@@ -48,12 +48,12 @@ import{e as H,a2 as ue,l as y,a as pe,ca as me,i2 as P,hP as L,B as W,cb as he,j
48
48
  flex: 1;
49
49
  margin-bottom: ${t.sp12};
50
50
  background-color: inherit;
51
- `,Ne=i.div`
51
+ `,Fe=i.div`
52
52
  display: flex;
53
53
  justify-content: flex-end;
54
54
  align-items: center;
55
55
  padding: ${t.sp3} ${t.sp0};
56
- `,ze=i(je)`
56
+ `,Ne=i(je)`
57
57
  cursor: pointer;
58
58
  color: ${e=>e.theme.colors.hero};
59
59
  width: ${t.sp4};
@@ -61,14 +61,14 @@ import{e as H,a2 as ue,l as y,a as pe,ca as me,i2 as P,hP as L,B as W,cb as he,j
61
61
  &:hover {
62
62
  color: ${e=>e.theme.colors.primary};
63
63
  }
64
- `,Be=i(be)`
64
+ `,ze=i(be)`
65
65
  display: flex;
66
66
  width: 100%;
67
67
  flex-grow: 1;
68
68
  color: ${e=>e.theme.colors.primary};
69
69
  margin: auto;
70
70
  justify-content: center;
71
- `,Q=i.div`
71
+ `,_=i.div`
72
72
  height: ${e=>b.emptyScheduleHeight.valuePx(e.windowSize)};
73
73
  display: flex;
74
74
  align-items: center;
@@ -79,7 +79,7 @@ import{e as H,a2 as ue,l as y,a as pe,ca as me,i2 as P,hP as L,B as W,cb as he,j
79
79
  color: ${e=>e.theme.colors.hero};
80
80
  margin: ${t.sp3} ${t.sp1};
81
81
  ${I.standardRegular.css};
82
- `,Fe=i.div`
82
+ `,Be=i.div`
83
83
  flex-grow: 1;
84
84
  width: 100%;
85
85
  `,Re=i.div`
@@ -1,4 +1,4 @@
1
- import{B as S,e as R,a as T,l as s,j as a,F as z,bV as B,cg as A,C as m,cj as W,o as e,bY as E,q as u,ap as U,a7 as Y,br as N}from"./index-CfctPHbv.js";import{n as r}from"./vendor-rkTZJa59.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
1
+ import{B as S,e as R,a as T,l as s,j as a,F as z,bV as B,cg as A,C as m,cj as W,o as e,bY as E,q as u,ap as U,a7 as Y,br as N}from"./index-C7jkqxrR.js";import{n as r}from"./vendor-rkTZJa59.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${t=>t.theme.colors.grey5};
@@ -1 +1 @@
1
- import{j as l}from"./index-CfctPHbv.js";import{f as y}from"./ACHDetailsPage-B-YGNgNu-fMbIin-2.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-DFi3iK9n-DMXZHPRc.js";import"./MagicLinkTitleSection-Dzfctx8H-B9w7ZvfA.js";import"./BankAccountSection-A8IfSLFo-BVU2yldF.js";const j=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:u,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{j as default};
1
+ import{j as l}from"./index-C7jkqxrR.js";import{f as y}from"./ACHDetailsPage-C0HaWoSJ-Dc5JPQ9N.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";import"./BankAccountWarningSection-CVhY2Ven-MI-JQ1yO.js";import"./MagicLinkTitleSection-wjuKcqab-D7vo35cb.js";import"./BankAccountSection-X5lu-xFg-TbmLt2Ax.js";const j=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:u,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{j as default};
@@ -1 +1 @@
1
- import{j as S}from"./index-CfctPHbv.js";import{y as b}from"./DomesticWireDetailsPage-BS3N4ATj-DzsKY8Tn.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountSection-A8IfSLFo-BVU2yldF.js";import"./MagicLinkTitleSection-Dzfctx8H-B9w7ZvfA.js";import"./BankAccountWarningSection-DFi3iK9n-DMXZHPRc.js";import"./MailingDetailsSection-N-M1JzkW-DsQX1QOn.js";import"./LabeledAddressValueField-RFI4bpOj-zAuVOTou.js";const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:o,companyName:r,onSaveHandler:i,onWireDetailsUpdated:n,onFetchBankName:m,onAddressClick:s})=>{const{fetchState:c,error:d,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:k}=e,{currencySymbol:l,amount:y}=t;return S.jsx(b,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:d},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:k,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:n,onAddressClick:s,onFetchBankName:m,companyName:r,isMagicLink:!0,currencySymbol:l,amount:y})};export{F as default};
1
+ import{j as S}from"./index-C7jkqxrR.js";import{y as b}from"./DomesticWireDetailsPage-BfypyRjN-DhX6lTqU.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";import"./BankAccountSection-X5lu-xFg-TbmLt2Ax.js";import"./MagicLinkTitleSection-wjuKcqab-D7vo35cb.js";import"./BankAccountWarningSection-CVhY2Ven-MI-JQ1yO.js";import"./MailingDetailsSection-DU4LYPzH-BXsLAtDc.js";import"./LabeledAddressValueField-CNyhuNMg-BDiOnCQn.js";const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:o,companyName:r,onSaveHandler:i,onWireDetailsUpdated:n,onFetchBankName:m,onAddressClick:s})=>{const{fetchState:c,error:d,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:k}=e,{currencySymbol:l,amount:y}=t;return S.jsx(b,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:d},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:k,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:n,onAddressClick:s,onFetchBankName:m,companyName:r,isMagicLink:!0,currencySymbol:l,amount:y})};export{F as default};
@@ -1 +1 @@
1
- import{j as B}from"./index-CfctPHbv.js";import{f as S}from"./InternationalWireSwiftDetailsPage-DXYaOaYh-CFh_OLfc.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-DFi3iK9n-DMXZHPRc.js";import"./MailingDetailsSection-N-M1JzkW-DsQX1QOn.js";import"./LabeledAddressValueField-RFI4bpOj-zAuVOTou.js";import"./MagicLinkTitleSection-Dzfctx8H-B9w7ZvfA.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
1
+ import{j as B}from"./index-C7jkqxrR.js";import{f as S}from"./InternationalWireSwiftDetailsPage-CHh9rwda-CYMl7fKC.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";import"./BankAccountWarningSection-CVhY2Ven-MI-JQ1yO.js";import"./MailingDetailsSection-DU4LYPzH-BXsLAtDc.js";import"./LabeledAddressValueField-CNyhuNMg-BDiOnCQn.js";import"./MagicLinkTitleSection-wjuKcqab-D7vo35cb.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
@@ -1,4 +1,4 @@
1
- import{ac as r,B as n,j as t,ak as l,o,M as c,c7 as a,T as p}from"./index-CfctPHbv.js";import{n as i}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const S=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(g,{children:s.successTitle}),t.jsx(h,{children:s.successNote})]})]}):null},m=i.div`
1
+ import{ac as r,B as n,j as t,ak as l,o,M as c,c7 as a,T as p}from"./index-C7jkqxrR.js";import{n as i}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";const S=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(g,{children:s.successTitle}),t.jsx(h,{children:s.successNote})]})]}):null},m=i.div`
2
2
  z-index: 999;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{B as C,ab as p,j as t,c7 as m,o as n,t as g,g as x,bO as d}from"./index-CfctPHbv.js";import{n as s,b as i}from"./vendor-rkTZJa59.js";const h=e=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),$=({companyName:e,currencySymbol:l,amount:r})=>{const a=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,c=r>0?` ${p("0,0.[00]",r,l)}`:"",o=a.title.replace(/<tenant_name>/,e)+c;return t.jsxs(t.Fragment,{children:[t.jsx(y,{children:o}),t.jsxs(u,{children:[a.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),a.encrypted]})]})]})},w=s(d)`
1
+ import{B as C,ab as p,j as t,c7 as m,o as n,t as g,g as x,bO as d}from"./index-C7jkqxrR.js";import{n as s,b as i}from"./vendor-rkTZJa59.js";const h=e=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),$=({companyName:e,currencySymbol:l,amount:r})=>{const a=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,c=r>0?` ${p("0,0.[00]",r,l)}`:"",o=a.title.replace(/<tenant_name>/,e)+c;return t.jsxs(t.Fragment,{children:[t.jsx(y,{children:o}),t.jsxs(u,{children:[a.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),a.encrypted]})]})]})},w=s(d)`
2
2
  display: flex;
3
3
  gap: ${n.sp1};
4
4
  color: ${x.successDark};
@@ -1,4 +1,4 @@
1
- import{e as h,B as u,C as r,j as s,o as a,cf as x,ao as b,q as i}from"./index-CfctPHbv.js";import{n}from"./vendor-rkTZJa59.js";import{C as f}from"./LabeledAddressValueField-RFI4bpOj-zAuVOTou.js";const o={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},j=({sectionId:e,addressToEdit:t,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=h(),d=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,$=o.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:d.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:d.address,width:$},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(d.address),defaultValue:t,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:d.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,t)=>`${e}.${t}`,v=n.div`
1
+ import{e as h,B as u,C as r,j as s,o as a,cf as x,ao as b,q as i}from"./index-C7jkqxrR.js";import{n}from"./vendor-rkTZJa59.js";import{C as f}from"./LabeledAddressValueField-CNyhuNMg-BDiOnCQn.js";const o={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},j=({sectionId:e,addressToEdit:t,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=h(),d=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,$=o.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:d.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:d.address,width:$},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(d.address),defaultValue:t,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:d.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,t)=>`${e}.${t}`,v=n.div`
2
2
  width: auto;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{e as o,j as i,$ as d,p as c,g as l,o as p,C as r}from"./index-CfctPHbv.js";import{n as a}from"./vendor-rkTZJa59.js";const s={width:new r(425,850,850),height:new r(320,640,640)},h=a.div`
1
+ import{e as o,j as i,$ as d,p as c,g as l,o as p,C as r}from"./index-C7jkqxrR.js";import{n as a}from"./vendor-rkTZJa59.js";const s={width:new r(425,850,850),height:new r(320,640,640)},h=a.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{j as o,p as u,eL as h,o as s,u as d,eM as m}from"./index-CfctPHbv.js";import{b as x,n as c,j as f}from"./vendor-rkTZJa59.js";const b=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},y=c.div`
1
+ import{j as o,p as u,eM as h,o as s,u as d,eN as m}from"./index-C7jkqxrR.js";import{b as x,n as c,j as f}from"./vendor-rkTZJa59.js";const b=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},y=c.div`
2
2
  position: relative;
3
3
  `,C=({menuItems:e,isMenuOpen:r,isMenuVisible:i=!0,setIsMenuOpen:n,styles:l,menuIconStyles:t})=>{const p=x.useRef(null);return o.jsx(u,{onClickAway:()=>{n(!1)},children:o.jsxs(y,{ref:p,children:[o.jsx(j,{className:"placeholder",style:t,onClick:a=>{a.stopPropagation(),n(!r)},children:o.jsx(g,{isMenuVisible:i,children:o.jsx(h,{})})}),r?o.jsx(b,{open:r,onClose:a=>{a.stopPropagation(),n(!1)},anchorEl:p.current,styles:l,children:e}):null]})})},j=c.div`
4
4
  height: ${s.sp4};
@@ -1,4 +1,4 @@
1
- import{u as z,e as M,f1 as H,B as v,a8 as p,j as i,l as B,aX as L,b as $,o as t,aS as P,C as d,n as I,t as _,v as J,J as W,f2 as j,f3 as C,q as u,f5 as R,g as A,w as E}from"./index-CfctPHbv.js";import{b as y,n}from"./vendor-rkTZJa59.js";import{q as F}from"./SetUpDefaultSection-Ax1FuH_A-CXbulKHe.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const r={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},N={title:new W("standardMedium","largeMedium")},q=n.img`
1
+ import{u as z,e as M,f2 as H,B as v,a8 as p,j as i,l as B,aX as L,b as $,o as t,aS as P,C as d,n as I,t as _,v as J,J as W,f3 as j,f4 as C,q as u,f6 as R,g as A,w as E}from"./index-C7jkqxrR.js";import{b as y,n}from"./vendor-rkTZJa59.js";import{q as F}from"./SetUpDefaultSection-Bw-ODNSn-XyoiRDtn.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";const r={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},N={title:new W("standardMedium","largeMedium")},q=n.img`
2
2
  width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
3
3
  height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
4
4
  border-radius: ${t.sp11};
@@ -1,6 +1,6 @@
1
- import{u as D,Y as M,l as O,B as j,fl as t,j as r,aX as w,fE as B,o as F}from"./index-CfctPHbv.js";import{n as P}from"./vendor-rkTZJa59.js";import{O as U}from"./ChargeCardListTable-D-wd0edv-DpjBc6t-.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./Menu-DCl4YiCd-DyNjEuyz.js";import"./RoleWithToolTip-DsEos8I_-CRr6oRTA.js";import"./CardNumberSubText-CIysZ6zp-ie7SfEt5.js";import"./ChargeCardUtils-Vw0LoIey-D4s3SYDn.js";const{spendManagement:{chargeCard:u}}=j.getLocalizedStrings(),_=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:i,creditAccount:c,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:d,controllerEmails:h,signedInUser:p,onChargeCardRowClick:g,onBackClick:A,onReloadCards:f,onColumnSortConfigChanged:k})=>{const S=D(),y=M(),m=O.hasChargeCardAdminLevelAccess(y.loggedInUserRoleMap),E=e.cards.some(a=>a.type.code.includes("credit")),b=e.cards.some(a=>a.type.code.includes("debit")),v=E&&b?u.cardList.title.cards:b?u.cardList.title.debit:u.cardList.title.credit,I=m===!0?{creditCardCashbackOffer:`${i.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${i.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:t(i.cashbackSummary.cashbackEarned.amount),redeemedCashback:t(i.cashbackSummary.cashbackRedeemed.amount),availableCashback:t(i.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:i.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:i.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,R=o&&l&&m===!0?{creditAccountId:c.id,creditAccountLimit:t(c.limit.amount),creditAccountAvailableAmount:t(c.available.amount),creditAccountSpentAmount:t(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:t(C.remainingAmountDue.amount)}:void 0,x=n&&s?{debitAccountId:d.depositAccounts.map(a=>a.id),debitAccountName:d.depositAccounts.map(a=>a.accountName),debitAccountBalance:d.depositAccounts.map(a=>t(a.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:d.depositAccounts.map(a=>a.accountStatus)}:void 0,L={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l};return r.jsxs($,{children:[r.jsx(w,{title:v,backgroundColor:S.colors.grey4,style:{zIndex:3},onBackClick:A,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?r.jsx(B,{fetchState:e.fetchState,styles:{margin:"auto"}}):r.jsx(U,{controllerEmails:h,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:C,productInformation:L,cashbackInformation:I,creditAccountInformation:R,debitAccountInformation:x,depositAccountListWithDebitCardIssued:d,cardList:e.cards,showViewForCardUser:!0,signedInUser:p,fetchState:e.fetchState,onReloadCards:f,onChargeCardRowClick:g,uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{},onChargeCardRevokeInviteClick:()=>{}})]})},$=P.div`
1
+ import{u as D,Y as M,l as O,B as j,fm as t,j as r,aX as w,fF as F,o as B}from"./index-C7jkqxrR.js";import{n as P}from"./vendor-rkTZJa59.js";import{O as U}from"./ChargeCardListTable-CpHJHWnY-C2UTTrvE.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";import"./Menu-Bi_Vto-l-B6nlDzVX.js";import"./RoleWithToolTip-DWcWpu1c-lubwiBJ4.js";import"./CardNumberSubText-BhMD3p_M-DwICSaFN.js";import"./ChargeCardUtils-DtlGBAOG-CnFwGz8i.js";const{spendManagement:{chargeCard:u}}=j.getLocalizedStrings(),_=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:i,creditAccount:c,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:d,controllerEmails:h,signedInUser:p,onChargeCardRowClick:g,onBackClick:A,onReloadCards:f,onColumnSortConfigChanged:k})=>{const S=D(),y=M(),m=O.hasChargeCardAdminLevelAccess(y.loggedInUserRoleMap),v=e.cards.some(a=>a.type.code.includes("credit")),b=e.cards.some(a=>a.type.code.includes("debit")),E=v&&b?u.cardList.title.cards:b?u.cardList.title.debit:u.cardList.title.credit,I=m===!0?{creditCardCashbackOffer:`${i.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${i.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:t(i.cashbackSummary.cashbackEarned.amount),redeemedCashback:t(i.cashbackSummary.cashbackRedeemed.amount),availableCashback:t(i.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:i.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:i.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,R=o&&l&&m===!0?{creditAccountId:c.id,creditAccountLimit:t(c.limit.amount),creditAccountAvailableAmount:t(c.available.amount),creditAccountSpentAmount:t(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:t(C.remainingAmountDue.amount)}:void 0,x=n&&s?{debitAccountId:d.depositAccounts.map(a=>a.id),debitAccountName:d.depositAccounts.map(a=>a.accountName),debitAccountBalance:d.depositAccounts.map(a=>t(a.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:d.depositAccounts.map(a=>a.accountStatus)}:void 0,L={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l};return r.jsxs($,{children:[r.jsx(w,{title:E,backgroundColor:S.colors.grey4,style:{zIndex:3},onBackClick:A,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?r.jsx(F,{fetchState:e.fetchState,styles:{margin:"auto"}}):r.jsx(U,{controllerEmails:h,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:C,productInformation:L,cashbackInformation:I,creditAccountInformation:R,debitAccountInformation:x,depositAccountListWithDebitCardIssued:d,cardList:e.cards,showViewForCardUser:!0,signedInUser:p,fetchState:e.fetchState,onReloadCards:f,onChargeCardRowClick:g,uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{},onChargeCardRevokeInviteClick:()=>{}})]})},$=P.div`
2
2
  display: flex;
3
- min-height: ${`calc(100vh - ${F.sp9})`};
3
+ min-height: ${`calc(100vh - ${B.sp9})`};
4
4
  flex-direction: column;
5
5
  width: 100%;
6
6
  `;export{_ as default};
@@ -1,4 +1,4 @@
1
- import{e as te,fp as ie,u as fe,Y as ge,fq as be,a as ye,O as xe,l as z,cb as we,ca as Pe,B as re,j as l,fr as ve,aX as $e,F as De,a4 as Se,o as s,fs as ne,ft as de,fu as ce,c5 as ue,C as L,n as me,v as je,J as Oe,X as le,cm as Re,cd as Ce,fv as q,cj as Le,ch as Te,fw as Ie,af as Ve,q as _}from"./index-CfctPHbv.js";import{b as v,n as m}from"./vendor-rkTZJa59.js";import{C as Be}from"./LabeledAddressValueField-RFI4bpOj-zAuVOTou.js";import{X as ke}from"./LabeledUserSingleSelectWithSubtitlesField-CE-MxVSk-BpDF1_jW.js";import{C as Fe,j as ze}from"./LabeledZeniRolesDropDownField-BqlbDyA1-k2PRVwSX.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./RoleWithToolTip-DsEos8I_-CRr6oRTA.js";const b=(e,i)=>`${e}.${i}`,F={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(_[2],_[3]),toolTipWidth:new L(215,237),notePadding:new L(_[3],_[4]),noteGap:new L(_[0],6)},{peoplePage:a,common:{settings:se,labels:X,placeholder:k,errorMessage:Ae},dateFormat:Ne}=re.getLocalizedStrings(),Me=({myProfileView:e,isZeniFinopsRolesUser:i,sectionId:t,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:$,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:x})=>{const n=te(),{person:r,managersList:A,classList:N,manager:G,department:g,controllersList:M,myProfileLocalData:W,addressData:J}=e,H=e.person.user?.birthday!=null?"readonly":void 0,D=F.largeLabelWidth.value(n),I=F.largeLabelWidth.value(n),Y=v.useMemo(()=>ie(y,p,o,f,$,T,h),[y,p,o,f,$,T,h]),{firstController:w,restControllerEmailsStr:S}=v.useMemo(()=>{const c=le(M),j=c.splice(0,1),O=c.reduce((V,B)=>V.concat(`${B.email},`),"");return{firstController:j,restControllerEmailsStr:O}},[M]),K=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),E=v.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);return l.jsxs(Ue,{windowSize:n,children:[l.jsx(Re,{isDisabled:u,label:{label:X.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:k.firstNamePlaceholder,lastName:k.lastNamePlaceholder,name:k.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ae.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Ce,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:D},text:{type:"text",name:b(t,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${F.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Le,{label:{label:X.dateOfBirth,width:I},style:{width:"auto"},isDisabled:H,dateField:{name:b(t,"dateOfBirth"),placeholder:k.datePlaceholder,defaultValue:W.dateOfBirth,dateFormat:Ne.visual.defaultInput,autoComplete:"off",maxDate:z.dateNow().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(Be,{label:{label:X.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:k.addressPlaceholder,defaultValue:J?.addressToCreate,onClick:()=>{x("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Te,{label:{label:X.phone,width:I},text:{name:b(t,"phone"),placeholder:k.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),i?l.jsx(Fe,{label:{label:a.invitePage.role,width:D},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:K},registerOptions:{required:!0},placeholderLabel:q(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(ze,{label:{label:a.invitePage.role,width:D},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,$)},productsByUserRole:ne(r.userRole?.userRoles??[],Y)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(ke,{label:{label:a.invitePage.manager,width:D},showTooltip:!0,toolTipWidth:F.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:A,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const j=A.findIndex(O=>O.userId===c);if(j!==-1){const O=A[j],V=N.find(Q=>Q.classId===O.userRole.accountingClassIDs[0]),B=[];return V!=null&&B.push(V.className),B}else return[]},placeholderLabel:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(C,{}),l.jsx(Ie,{label:{label:a.invitePage.department,width:D},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:E,selectedOption:d?void 0:E.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),i?null:l.jsxs(_e,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(Ee,{href:`mailto:${w[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ze,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,Ue=m.div`
1
+ import{e as te,fq as ie,u as fe,Y as ge,fr as be,a as xe,O as ye,l as z,cb as we,ca as Pe,B as re,j as l,fs as ve,aX as $e,F as De,a4 as Se,o as s,ft as ne,fu as de,fv as ce,c5 as ue,C as L,n as me,v as je,J as Oe,X as le,cm as Re,cd as Ce,fw as q,cj as Le,ch as Te,fx as Ie,af as Ve,q as _}from"./index-C7jkqxrR.js";import{b as v,n as m}from"./vendor-rkTZJa59.js";import{C as Be}from"./LabeledAddressValueField-CNyhuNMg-BDiOnCQn.js";import{X as ke}from"./LabeledUserSingleSelectWithSubtitlesField-BrN-E_iu-H_-zsD1L.js";import{C as Fe,j as ze}from"./LabeledZeniRolesDropDownField-BPSDhXTS-B9hIUe6J.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";import"./RoleWithToolTip-DWcWpu1c-lubwiBJ4.js";const b=(e,i)=>`${e}.${i}`,F={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(_[2],_[3]),toolTipWidth:new L(215,237),notePadding:new L(_[3],_[4]),noteGap:new L(_[0],6)},{peoplePage:a,common:{settings:se,labels:X,placeholder:k,errorMessage:Ae},dateFormat:Ne}=re.getLocalizedStrings(),Me=({myProfileView:e,isZeniFinopsRolesUser:i,sectionId:t,isDisabled:u,isReimbursementDisabled:x,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:$,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:y})=>{const n=te(),{person:r,managersList:A,classList:N,manager:G,department:g,controllersList:M,myProfileLocalData:W,addressData:J}=e,H=e.person.user?.birthday!=null?"readonly":void 0,D=F.largeLabelWidth.value(n),I=F.largeLabelWidth.value(n),Y=v.useMemo(()=>ie(x,p,o,f,$,T,h),[x,p,o,f,$,T,h]),{firstController:w,restControllerEmailsStr:S}=v.useMemo(()=>{const c=le(M),j=c.splice(0,1),O=c.reduce((V,B)=>V.concat(`${B.email},`),"");return{firstController:j,restControllerEmailsStr:O}},[M]),K=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),E=v.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);return l.jsxs(Ue,{windowSize:n,children:[l.jsx(Re,{isDisabled:u,label:{label:X.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:k.firstNamePlaceholder,lastName:k.lastNamePlaceholder,name:k.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ae.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Ce,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:D},text:{type:"text",name:b(t,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${F.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Le,{label:{label:X.dateOfBirth,width:I},style:{width:"auto"},isDisabled:H,dateField:{name:b(t,"dateOfBirth"),placeholder:k.datePlaceholder,defaultValue:W.dateOfBirth,dateFormat:Ne.visual.defaultInput,autoComplete:"off",maxDate:z.dateNow().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(Be,{label:{label:X.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:k.addressPlaceholder,defaultValue:J?.addressToCreate,onClick:()=>{y("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Te,{label:{label:X.phone,width:I},text:{name:b(t,"phone"),placeholder:k.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),i?l.jsx(Fe,{label:{label:a.invitePage.role,width:D},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:K},registerOptions:{required:!0},placeholderLabel:q(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(ze,{label:{label:a.invitePage.role,width:D},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,$)},productsByUserRole:ne(r.userRole?.userRoles??[],Y)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(ke,{label:{label:a.invitePage.manager,width:D},showTooltip:!0,toolTipWidth:F.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:A,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const j=A.findIndex(O=>O.userId===c);if(j!==-1){const O=A[j],V=N.find(Q=>Q.classId===O.userRole.accountingClassIDs[0]),B=[];return V!=null&&B.push(V.className),B}else return[]},placeholderLabel:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(C,{}),l.jsx(Ie,{label:{label:a.invitePage.department,width:D},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:E,selectedOption:d?void 0:E.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),i?null:l.jsxs(_e,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(Ee,{href:`mailto:${w[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ze,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,Ue=m.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -43,7 +43,7 @@ import{e as te,fp as ie,u as fe,Y as ge,fq as be,a as ye,O as xe,l as z,cb as we
43
43
  color: ${e=>e.theme.colors.primary};
44
44
  }
45
45
  }
46
- `,Ze=m.span``,pe={sectionWidth:new L(343,580,726),subtitleSectionWidth:new L(343,580,1200)},qe={title:new Oe("standardMedium","largeMedium")},P="userDetails",pl=({myProfileView:e,isReimbursementDisabled:i,isZeniAccountsDisabled:t,isChargeCardDisabled:u,isTreasuryDisabled:y,isBankingOnlyTenant:p,isCardsOnlyTenant:o,isLiteRoleDisabled:f,onClickMenuIcon:$,onAddressClick:T,updateMyProfileLocalData:h,onCancelClick:x,onGetOtp:n,onResendOtp:r,onSaveClick:A,onVerifyOtp:N,onVerifyOtpSuccess:G})=>{const g=te(),M=v.useMemo(()=>ie(i,t,u,p,o,f,y),[i,t,u,p,o,f,y]),[W,J]=v.useState(!1),[H,D]=v.useState(!1),I=fe(),Y=ge(),w=be(Y),S=ye({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:oe(e,w,M,p,o),values:oe(e,w,M,p,o)}),K=e.myProfileLocalData.dateOfBirth!=null&&e.person.user?.birthday!=null&&!e.myProfileLocalData.dateOfBirth.isSame(e.person.user?.birthday)||e.myProfileLocalData.dateOfBirth!=null&&e.person.user?.birthday==null,d=e.myProfileLocalData.phone!==e.person.user?.phone,E=e.addressData?.addressToCreate!=null&&e.person.address!=null&&!xe(z.getFormattedAddress(e.addressData?.addressToCreate),z.getFormattedAddress(e.person.address))||e.addressData?.addressToCreate!=null&&e.person.address==null,c=K||d||E,j=Object.keys(S.formState.errors).length===0,O=we(S.formState.dirtyFields),V=j&&(O||c),B=async(ee,Z)=>{if(ee!=null){const R={...Z},he={...e.myProfileLocalData,phone:R[P].phone,isPhoneVerified:R[P].phone!==e.person.user?.phone?!1:e.person.user?.isPhoneVerified??!1,dateOfBirth:R[P].dateOfBirth!=null?z.zeniDate(R[P].dateOfBirth.toString()):void 0};h(he)}};v.useEffect(()=>{const ee=S.watch((Z,{name:R})=>{R!=null&&Z!=null&&Pe(()=>B(R,Z))});return()=>{ee.unsubscribe()}});const Q=S.handleSubmit(()=>{j&&(e.myProfileLocalData.phone!=null&&(e.myProfileLocalData.isPhoneVerified==null||e.myProfileLocalData.isPhoneVerified===!1)?n(e.myProfileLocalData.phone):A())}),{common:U}=re.getLocalizedStrings();return l.jsxs(Xe,{children:[l.jsx(ve,{showOtpPopup:W,phoneNumberPopupDescription:"show something",showPhoneNumberPopup:H,twoFactorAuthenticationView:e.twoFAView,loggedInUserPhone:e.myProfileLocalData.phone,onVerifyOtp:N,onVerifyOtpSuccess:G,setShowOtpPopup:J,onResendOtp:r,setShowPhoneNumberPopup:D,onGetOtp:n}),l.jsx($e,{source:"MyProfileSettingsPage",title:U.settings.title.myProfile,backgroundColor:I.colors.grey4,showBackButton:!1,showMenuIcon:g==="medium-compact"||g==="small",onClickMenuIcon:$}),l.jsxs(Ge,{windowSize:g,children:[l.jsx(Je,{windowSize:g,children:l.jsx(He,{windowSize:g,children:U.settings.infoText.myProfile})}),l.jsx(De,{...S,children:l.jsxs("form",{id:ae(P),onSubmit:Q,children:[l.jsx(Ye,{windowSize:g,children:l.jsx(Ke,{windowSize:g,children:U.settings.subtitle.myProfile})}),l.jsx(Me,{myProfileView:e,isZeniFinopsRolesUser:w,isDisabled:"readonly",isReimbursementDisabled:i,sectionId:P,isZeniAccountsDisabled:t,isChargeCardDisabled:u,isTreasuryDisabled:y,isBankingOnlyTenant:p,isCardsOnlyTenant:o,isLiteRoleDisabled:f,onAddressClick:T})]})})]}),V?l.jsx(Se,{style:{zIndex:1,paddingTop:s.sp3,paddingBottom:s.sp3},formId:ae(P),helperStyle:{paddingTop:s.sp0,paddingBottom:s.sp0},primaryBtn:{label:U.footer.save,isLoading:e.updateProfileStatus.fetchState==="In-Progress",style:{minWidth:103}},cancelBtn:{label:U.cancel,onClick:x,shouldResetOnCancel:!0,style:{minWidth:103}}}):null]})},ae=e=>`${e}_form`,Xe=m.div`
46
+ `,Ze=m.span``,pe={sectionWidth:new L(343,580,726),subtitleSectionWidth:new L(343,580,1200)},qe={title:new Oe("standardMedium","largeMedium")},P="userDetails",pl=({myProfileView:e,isReimbursementDisabled:i,isZeniAccountsDisabled:t,isChargeCardDisabled:u,isTreasuryDisabled:x,isBankingOnlyTenant:p,isCardsOnlyTenant:o,isLiteRoleDisabled:f,onClickMenuIcon:$,onAddressClick:T,updateMyProfileLocalData:h,onCancelClick:y,onGetOtp:n,onResendOtp:r,onSaveClick:A,onVerifyOtp:N,onVerifyOtpSuccess:G})=>{const g=te(),M=v.useMemo(()=>ie(i,t,u,p,o,f,x),[i,t,u,p,o,f,x]),[W,J]=v.useState(!1),[H,D]=v.useState(!1),I=fe(),Y=ge(),w=be(Y),S=xe({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:oe(e,w,M,p,o),values:oe(e,w,M,p,o)}),K=e.myProfileLocalData.dateOfBirth!=null&&e.person.user?.birthday!=null&&!e.myProfileLocalData.dateOfBirth.isSame(e.person.user?.birthday)||e.myProfileLocalData.dateOfBirth!=null&&e.person.user?.birthday==null,d=e.myProfileLocalData.phone!==e.person.user?.phone,E=e.addressData?.addressToCreate!=null&&e.person.address!=null&&!ye(z.getFormattedAddress(e.addressData?.addressToCreate),z.getFormattedAddress(e.person.address))||e.addressData?.addressToCreate!=null&&e.person.address==null,c=K||d||E,j=Object.keys(S.formState.errors).length===0,O=we(S.formState.dirtyFields),V=j&&(O||c),B=async(ee,Z)=>{if(ee!=null){const R={...Z},he={...e.myProfileLocalData,phone:R[P].phone,isPhoneVerified:R[P].phone!==e.person.user?.phone?!1:e.person.user?.isPhoneVerified??!1,dateOfBirth:R[P].dateOfBirth!=null?z.zeniDate(R[P].dateOfBirth.toString()):void 0};h(he)}};v.useEffect(()=>{const ee=S.watch((Z,{name:R})=>{R!=null&&Z!=null&&Pe(()=>B(R,Z))});return()=>{ee.unsubscribe()}});const Q=S.handleSubmit(()=>{j&&(e.myProfileLocalData.phone!=null&&(e.myProfileLocalData.isPhoneVerified==null||e.myProfileLocalData.isPhoneVerified===!1)?n(e.myProfileLocalData.phone):A())}),{common:U}=re.getLocalizedStrings();return l.jsxs(Xe,{children:[l.jsx(ve,{showOtpPopup:W,phoneNumberPopupDescription:"show something",showPhoneNumberPopup:H,twoFactorAuthenticationView:e.twoFAView,loggedInUserPhone:e.myProfileLocalData.phone,onVerifyOtp:N,onVerifyOtpSuccess:G,setShowOtpPopup:J,onResendOtp:r,setShowPhoneNumberPopup:D,onGetOtp:n}),l.jsx($e,{source:"MyProfileSettingsPage",title:U.settings.title.myProfile,backgroundColor:I.colors.grey4,showBackButton:!1,showMenuIcon:g==="medium-compact"||g==="small",onClickMenuIcon:$}),l.jsxs(Ge,{windowSize:g,children:[l.jsx(Je,{windowSize:g,children:l.jsx(He,{windowSize:g,children:U.settings.infoText.myProfile})}),l.jsx(De,{...S,children:l.jsxs("form",{id:ae(P),onSubmit:Q,children:[l.jsx(Ye,{windowSize:g,children:l.jsx(Ke,{windowSize:g,children:U.settings.subtitle.myProfile})}),l.jsx(Me,{myProfileView:e,isZeniFinopsRolesUser:w,isDisabled:"readonly",isReimbursementDisabled:i,sectionId:P,isZeniAccountsDisabled:t,isChargeCardDisabled:u,isTreasuryDisabled:x,isBankingOnlyTenant:p,isCardsOnlyTenant:o,isLiteRoleDisabled:f,onAddressClick:T})]})})]}),V?l.jsx(Se,{style:{zIndex:1,paddingTop:s.sp3,paddingBottom:s.sp3},formId:ae(P),helperStyle:{paddingTop:s.sp0,paddingBottom:s.sp0},primaryBtn:{label:U.footer.save,isLoading:e.updateProfileStatus.fetchState==="In-Progress",style:{minWidth:103}},cancelBtn:{label:U.cancel,onClick:y,shouldResetOnCancel:!0,style:{minWidth:103}}}):null]})},ae=e=>`${e}_form`,Xe=m.div`
47
47
  display: flex;
48
48
  height: 100vh;
49
49
  width: 100%;
@@ -82,4 +82,4 @@ import{e as te,fp as ie,u as fe,Y as ge,fq as be,a as ye,O as xe,l as z,cb as we
82
82
 
83
83
  color: ${e=>e.theme.colors.primary};
84
84
  ${e=>`${qe.title.style(e.windowSize)}`};
85
- `,oe=(e,i,t,u,y)=>{const{classList:p,person:o,managersList:f,manager:$,department:T,myProfileLocalData:h}=e,x=z.hasInvestorBankerLevelAccess(o.userRole!=null?o.userRole.userRoles:[]),n=p.map(r=>({label:r.fullyQualifiedAccountingClassName,value:r.classId,hoverText:r.accountingClassNumber}));return{[P]:{name:{firstName:o.user?.firstName??"",lastName:o.user?.lastName??""},email:o.user?.email??"",role:i?{allOptions:ue.roles,selectedOptions:o.userRole?.userRoles??[]}:void 0,nonZeniRole:i?void 0:{userRole:{selectedRole:ce(o.userRole?.userRoles??[]),allRootRole:de(u,y)},productsByUserRole:ne(o.userRole?.userRoles??[],t)},manager:{allUsers:x?[]:f,selectedUser:Qe(x,$)},department:{allOptions:x?[]:n,selectedOption:x?void 0:n.find(r=>r.value===T?.classId)},dateOfBirth:h.dateOfBirth?.toDate(),phone:h.phone,syncToken:h?.syncToken,isPhoneVerified:h?.isPhoneVerified,otpChallenge:h?.otpChallenge,mailingAddress:e.addressData?.addressToCreate}}},Qe=(e,i)=>{if(!e)return i!=null?i.userId:"no_manager"};export{pl as default,ae as uniqueFormName};
85
+ `,oe=(e,i,t,u,x)=>{const{classList:p,person:o,managersList:f,manager:$,department:T,myProfileLocalData:h}=e,y=z.hasInvestorBankerLevelAccess(o.userRole!=null?o.userRole.userRoles:[]),n=p.map(r=>({label:r.fullyQualifiedAccountingClassName,value:r.classId,hoverText:r.accountingClassNumber}));return{[P]:{name:{firstName:o.user?.firstName??"",lastName:o.user?.lastName??""},email:o.user?.email??"",role:i?{allOptions:ue.roles,selectedOptions:o.userRole?.userRoles??[]}:void 0,nonZeniRole:i?void 0:{userRole:{selectedRole:ce(o.userRole?.userRoles??[]),allRootRole:de(u,x)},productsByUserRole:ne(o.userRole?.userRoles??[],t)},manager:{allUsers:y?[]:f,selectedUser:Qe(y,$)},department:{allOptions:y?[]:n,selectedOption:y?void 0:n.find(r=>r.value===T?.classId)},dateOfBirth:h.dateOfBirth?.toDate(),phone:h.phone,syncToken:h?.syncToken,isPhoneVerified:h?.isPhoneVerified,otpChallenge:h?.otpChallenge,mailingAddress:e.addressData?.addressToCreate}}},Qe=(e,i)=>{if(!e)return i!=null?i.userId:"no_manager"};export{pl as default,ae as uniqueFormName};
@@ -1,4 +1,4 @@
1
- import{u as p,e as m,j as o,$ as u,bp as g,B as x,o as t,a$ as b,eP as k,by as y,bn as C,v}from"./index-CfctPHbv.js";import{n as l}from"./vendor-rkTZJa59.js";const $=l.div`
1
+ import{u as p,e as m,j as o,$ as u,bp as g,B as x,o as t,a$ as b,eQ as k,by as y,bn as C,v}from"./index-C7jkqxrR.js";import{n as l}from"./vendor-rkTZJa59.js";const $=l.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{j as e,o as r,af as i,by as h}from"./index-CfctPHbv.js";import{j as l,n as s}from"./vendor-rkTZJa59.js";const c=l`
1
+ import{j as e,o as r,af as i,by as h}from"./index-C7jkqxrR.js";import{j as l,n as s}from"./vendor-rkTZJa59.js";const c=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{j as e,$ as v,o as t}from"./index-CfctPHbv.js";import{n as l}from"./vendor-rkTZJa59.js";const C=l.div`
1
+ import{j as e,$ as v,o as t}from"./index-C7jkqxrR.js";import{n as l}from"./vendor-rkTZJa59.js";const C=l.div`
2
2
  text-align: center;
3
3
  cursor: pointer;
4
4
  `,y=l.div`
@@ -1,4 +1,4 @@
1
- import{e as z,a as A,ca as Y,a2 as Q,j as t,B as T,F as X,a4 as Z,C as i,o as a,a3 as ee,J as _,y as te,go as ae,t as le,cn as O,hB as ne,cf as U,cd as oe,q as l,ao as re,cv as ie,ct as de,cH as se,m as ce,et as me,dj as he,aB as ge,g as V}from"./index-CfctPHbv.js";import{b as j,n as o,j as be}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const w={width:new i(343,580,726),height:new i(l[6],l[6]),controlHeight:new i(l[6],l[6]),paddingTopBottom:new i(l[2],l[2]),marginRight:new i(l[2],l[2]),labelMarginLeft:new i(l[3],l[4]),labelMarginRight:new i(l[3],l[4]),labelMarginTop:new i(l[2],l[2])},ue={infoLabel:new _("smallRegular","standardRegular")},pe=T.getLocalizedStrings();function we({label:e,textField:n,additionalInfo:h,checkBoxFields:m,fetchState:b,style:v,toolTip:M,isOptionalLabel:y}){const s=z(),{formState:{errors:d}}=O(),$=ie(d,n.name);return t.jsxs(xe,{windowSize:s,style:v,isDisabled:n.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:n.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:y}),t.jsxs(fe,{labelWidth:e.width,children:[t.jsx(se,{...n,style:{...n.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),b?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(Se,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:m.length>0,isError:$,children:[h.icon,h.label]}),m.length>0?m.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<m.length-1?t.jsx(ve,{children:pe.common.texts.or}):null]})):null]})]})]})}const xe=o.div`
1
+ import{e as z,a as A,ca as Y,a2 as Q,j as t,B as T,F as X,a4 as Z,C as i,o as a,a3 as ee,J as _,y as te,gp as ae,t as le,cn as O,hC as ne,cf as U,cd as oe,q as l,ao as re,cv as ie,ct as de,cH as se,m as ce,eu as me,dj as he,aB as ge,g as V}from"./index-C7jkqxrR.js";import{b as j,n as o,j as be}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";const w={width:new i(343,580,726),height:new i(l[6],l[6]),controlHeight:new i(l[6],l[6]),paddingTopBottom:new i(l[2],l[2]),marginRight:new i(l[2],l[2]),labelMarginLeft:new i(l[3],l[4]),labelMarginRight:new i(l[3],l[4]),labelMarginTop:new i(l[2],l[2])},ue={infoLabel:new _("smallRegular","standardRegular")},pe=T.getLocalizedStrings();function we({label:e,textField:n,additionalInfo:h,checkBoxFields:m,fetchState:b,style:v,toolTip:M,isOptionalLabel:y}){const s=z(),{formState:{errors:d}}=O(),$=ie(d,n.name);return t.jsxs(xe,{windowSize:s,style:v,isDisabled:n.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:n.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:y}),t.jsxs(fe,{labelWidth:e.width,children:[t.jsx(se,{...n,style:{...n.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),b?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(Se,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:m.length>0,isError:$,children:[h.icon,h.label]}),m.length>0?m.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<m.length-1?t.jsx(ve,{children:pe.common.texts.or}):null]})):null]})]})]})}const xe=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -94,7 +94,7 @@ import{e as z,a as A,ca as Y,a2 as Q,j as t,B as T,F as X,a4 as Z,C as i,o as a,
94
94
  color: ${e=>e.theme.colors.brandColorJade};
95
95
  width: ${a.sp3};
96
96
  height: ${a.sp3};
97
- `,S={containerPaddingLeft:new i(l[3],l[3],l[6]),containerPaddingRight:new i(l[3],l[3],l[8]),navbarContainerPaddingTop:new i(l[2],l[3]),navbarContainerPaddingBottom:new i(l[4],l[5]),sectionTitleMarginTop:new i(0,l[3]),sectionTitleMarginLeft:new i(l[3],0)},Te={sectionTitle:new _("h6Regular","h5Regular")},B="newGlobalMerchantPage",f="newGlobalMerchant",Fe=T.getLocalizedStrings(),{common:{footer:I,sectionTitles:Ce},vendorReview:{globalReview:Le}}=Fe,nt=({globalMerchantView:e,analytics:n,tenantMerchant:h,isDisabled:m,updateCreateGlobalMerchantLocalData:b,fetchRecommendation:v,onBackClick:M,onSaveClick:y})=>{const s=z(),d=A({mode:"all",reValidateMode:"onChange",defaultValues:j.useMemo(()=>q(e),[e]),values:j.useMemo(()=>q(e),[e]),resetOptions:{keepDefaultValues:!0,keepDirtyValues:!0}}),$=()=>{if(e.newGlobalMerchantData!=null){const r=h?.tenantName??null,g=e.newGlobalMerchantData.globalMerchantName,c=e.recommendedGlobalMerchants[0]?.globalMerchantName??null;n.trackVendorReviewNewVendorRequested({reviewSource:"global_review",newRequestedVendorName:g,tenantName:r,newRequestedVendorNameSource:r!=null?"text_edit":"new_vendor_button",isVendorNameRecommendationSelected:c===g,recommendedVendorName:c,recommendedVendorReason:e.recommendedGlobalMerchants[0]?.reason??null})}v()},u=()=>{if(e.newGlobalMerchantData!=null){const r=h?.tenantName??null,g=e.newGlobalMerchantData.globalMerchantName,c=e.recommendedGlobalMerchants[0]?.globalMerchantName??null;n.trackVendorReviewNewVendorSaved({reviewSource:"global_review",saveRequestedVendorName:g,tenantName:r,recommendedVendorName:c,saveRequestedVendorSource:r!=null?"text_edit":"new_vendor_button",recommendedVendorReason:e.recommendedGlobalMerchants[0]?.reason??null,isVendorNameRecommendationSelected:c===g})}y()},p=()=>{e.newGlobalMerchantData!=null&&n.trackVendorReviewNewVendorCanceled({reviewSource:"global_review",newRequestedVendorName:e.newGlobalMerchantData.globalMerchantName,tenantName:h?.tenantName??null,recommendedVendorName:e.recommendedGlobalMerchants[0]?.globalMerchantName??null,recommendedVendorReason:e.recommendedGlobalMerchants[0]?.reason??null}),M()},D=()=>{u()},G=async(r,g)=>{const{newGlobalMerchant:{globalMerchantName:c,recommendedFirst:C,recommendedSecond:L,globalMerchantWebsiteUrl:K}}=g;if(r.includes("globalMerchantName")||r.includes("globalMerchantWebsiteUrl")){let P=null;c===e.recommendedGlobalMerchants[0]?.globalMerchantName?P="recommendedFirst":c===e.recommendedGlobalMerchants[1]?.globalMerchantName&&(P="recommendedSecond"),b(c,P,K)}else(r.includes("recommendedFirst")||r.includes("recommendedSecond"))&&(r.includes("recommendedFirst")&&C&&e.recommendedGlobalMerchants[0]?.globalMerchantName?(b(e.recommendedGlobalMerchants[0]?.globalMerchantName,"recommendedFirst",e.recommendedGlobalMerchants[0]?.websiteUrl?.toString()),e.recommendedGlobalMerchants[0]?.websiteUrl!=null&&d.setValue(`${f}.globalMerchantWebsiteUrl`,e.recommendedGlobalMerchants[0].websiteUrl.toString())):r.includes("recommendedSecond")&&L&&e.recommendedGlobalMerchants[1]?.globalMerchantName?(b(e.recommendedGlobalMerchants[1].globalMerchantName,"recommendedSecond",e.recommendedGlobalMerchants[1].websiteUrl?.toString()),e.recommendedGlobalMerchants[1]?.websiteUrl!=null&&d.setValue(`${f}.globalMerchantWebsiteUrl`,e.recommendedGlobalMerchants[1].websiteUrl.toString())):!C&&!L&&(d.resetField(`${f}.globalMerchantName`),d.resetField(`${f}.globalMerchantWebsiteUrl`)))};j.useEffect(()=>{const r=d.watch((g,{name:c})=>{c!=null&&g!=null&&Y(()=>G(c,g))});return()=>{r.unsubscribe()}});const{newGlobalMerchantData:x,fetchState:N,error:H,recommendedGlobalMerchants:J}=e,F=Q(N);return j.useEffect(()=>{F==="In-Progress"&&N==="Completed"&&x?.globalMerchantName!=null&&(d.resetField(`${f}.globalMerchantName`,{defaultValue:x.globalMerchantName}),e.recommendedGlobalMerchants.forEach(r=>{r.globalMerchantName===x.globalMerchantName&&r.websiteUrl!=null&&d.setValue(`${f}.globalMerchantWebsiteUrl`,r.websiteUrl.toString())}))},[F,N,d,x?.globalMerchantName,x?.globalMerchantWebsiteUrl,e.recommendedGlobalMerchants]),t.jsxs(Ue,{windowSize:s,children:[t.jsxs(We,{windowSize:s,children:[t.jsx(Ie,{children:t.jsx(Ee,{onClick:p})}),t.jsx(qe,{windowSize:s,children:Ce.newVendor}),t.jsx(_e,{children:t.jsxs(Oe,{children:[t.jsx(Je,{children:t.jsx(Ke,{})}),t.jsx(He,{children:Le.newGlobalMerchant.tip})]})})]}),t.jsx(Be,{children:t.jsx(X,{...d,children:t.jsx("form",{id:E(B),onSubmit:d.handleSubmit(D),children:t.jsx(Re,{sectionId:f,isDisabled:x?.status.fetchState==="In-Progress"?"readonly":m,newGlobalMerchantData:x,recommendationFetchState:{fetchState:N,error:H},recommendedGlobalMerchants:J,fetchRecommendation:$})})})}),t.jsx(Z,{formId:E(B),primaryBtn:{label:I.save,isLoading:x?.status.fetchState==="In-Progress",isDisabled:N==="In-Progress"},cancelBtn:{label:I.cancel,shouldResetOnCancel:!0,onClick:p}})]})},E=e=>`${e}_form`,q=e=>{const{newGlobalMerchantData:n}=e;return{[f]:{globalMerchantName:n?.globalMerchantName??"",globalMerchantWebsiteUrl:n?.globalMerchantWebsiteUrl?.toString(),recommendedFirst:n?.currentSelection==="recommendedFirst",recommendedSecond:n?.currentSelection==="recommendedSecond",newGlobalMerchantId:n?.newGlobalMerchantId}}},Ue=o.div`
97
+ `,S={containerPaddingLeft:new i(l[3],l[3],l[6]),containerPaddingRight:new i(l[3],l[3],l[8]),navbarContainerPaddingTop:new i(l[2],l[3]),navbarContainerPaddingBottom:new i(l[4],l[5]),sectionTitleMarginTop:new i(0,l[3]),sectionTitleMarginLeft:new i(l[3],0)},Te={sectionTitle:new _("h6Regular","h5Regular")},B="newGlobalMerchantPage",f="newGlobalMerchant",Ce=T.getLocalizedStrings(),{common:{footer:I,sectionTitles:Fe},vendorReview:{globalReview:Le}}=Ce,nt=({globalMerchantView:e,analytics:n,tenantMerchant:h,isDisabled:m,updateCreateGlobalMerchantLocalData:b,fetchRecommendation:v,onBackClick:M,onSaveClick:y})=>{const s=z(),d=A({mode:"all",reValidateMode:"onChange",defaultValues:j.useMemo(()=>q(e),[e]),values:j.useMemo(()=>q(e),[e]),resetOptions:{keepDefaultValues:!0,keepDirtyValues:!0}}),$=()=>{if(e.newGlobalMerchantData!=null){const r=h?.tenantName??null,g=e.newGlobalMerchantData.globalMerchantName,c=e.recommendedGlobalMerchants[0]?.globalMerchantName??null;n.trackVendorReviewNewVendorRequested({reviewSource:"global_review",newRequestedVendorName:g,tenantName:r,newRequestedVendorNameSource:r!=null?"text_edit":"new_vendor_button",isVendorNameRecommendationSelected:c===g,recommendedVendorName:c,recommendedVendorReason:e.recommendedGlobalMerchants[0]?.reason??null})}v()},u=()=>{if(e.newGlobalMerchantData!=null){const r=h?.tenantName??null,g=e.newGlobalMerchantData.globalMerchantName,c=e.recommendedGlobalMerchants[0]?.globalMerchantName??null;n.trackVendorReviewNewVendorSaved({reviewSource:"global_review",saveRequestedVendorName:g,tenantName:r,recommendedVendorName:c,saveRequestedVendorSource:r!=null?"text_edit":"new_vendor_button",recommendedVendorReason:e.recommendedGlobalMerchants[0]?.reason??null,isVendorNameRecommendationSelected:c===g})}y()},p=()=>{e.newGlobalMerchantData!=null&&n.trackVendorReviewNewVendorCanceled({reviewSource:"global_review",newRequestedVendorName:e.newGlobalMerchantData.globalMerchantName,tenantName:h?.tenantName??null,recommendedVendorName:e.recommendedGlobalMerchants[0]?.globalMerchantName??null,recommendedVendorReason:e.recommendedGlobalMerchants[0]?.reason??null}),M()},D=()=>{u()},G=async(r,g)=>{const{newGlobalMerchant:{globalMerchantName:c,recommendedFirst:F,recommendedSecond:L,globalMerchantWebsiteUrl:K}}=g;if(r.includes("globalMerchantName")||r.includes("globalMerchantWebsiteUrl")){let P=null;c===e.recommendedGlobalMerchants[0]?.globalMerchantName?P="recommendedFirst":c===e.recommendedGlobalMerchants[1]?.globalMerchantName&&(P="recommendedSecond"),b(c,P,K)}else(r.includes("recommendedFirst")||r.includes("recommendedSecond"))&&(r.includes("recommendedFirst")&&F&&e.recommendedGlobalMerchants[0]?.globalMerchantName?(b(e.recommendedGlobalMerchants[0]?.globalMerchantName,"recommendedFirst",e.recommendedGlobalMerchants[0]?.websiteUrl?.toString()),e.recommendedGlobalMerchants[0]?.websiteUrl!=null&&d.setValue(`${f}.globalMerchantWebsiteUrl`,e.recommendedGlobalMerchants[0].websiteUrl.toString())):r.includes("recommendedSecond")&&L&&e.recommendedGlobalMerchants[1]?.globalMerchantName?(b(e.recommendedGlobalMerchants[1].globalMerchantName,"recommendedSecond",e.recommendedGlobalMerchants[1].websiteUrl?.toString()),e.recommendedGlobalMerchants[1]?.websiteUrl!=null&&d.setValue(`${f}.globalMerchantWebsiteUrl`,e.recommendedGlobalMerchants[1].websiteUrl.toString())):!F&&!L&&(d.resetField(`${f}.globalMerchantName`),d.resetField(`${f}.globalMerchantWebsiteUrl`)))};j.useEffect(()=>{const r=d.watch((g,{name:c})=>{c!=null&&g!=null&&Y(()=>G(c,g))});return()=>{r.unsubscribe()}});const{newGlobalMerchantData:x,fetchState:N,error:H,recommendedGlobalMerchants:J}=e,C=Q(N);return j.useEffect(()=>{C==="In-Progress"&&N==="Completed"&&x?.globalMerchantName!=null&&(d.resetField(`${f}.globalMerchantName`,{defaultValue:x.globalMerchantName}),e.recommendedGlobalMerchants.forEach(r=>{r.globalMerchantName===x.globalMerchantName&&r.websiteUrl!=null&&d.setValue(`${f}.globalMerchantWebsiteUrl`,r.websiteUrl.toString())}))},[C,N,d,x?.globalMerchantName,x?.globalMerchantWebsiteUrl,e.recommendedGlobalMerchants]),t.jsxs(Ue,{windowSize:s,children:[t.jsxs(We,{windowSize:s,children:[t.jsx(Ie,{children:t.jsx(Ee,{onClick:p})}),t.jsx(qe,{windowSize:s,children:Fe.newVendor}),t.jsx(_e,{children:t.jsxs(Oe,{children:[t.jsx(Je,{children:t.jsx(Ke,{})}),t.jsx(He,{children:Le.newGlobalMerchant.tip})]})})]}),t.jsx(Be,{children:t.jsx(X,{...d,children:t.jsx("form",{id:E(B),onSubmit:d.handleSubmit(D),children:t.jsx(Re,{sectionId:f,isDisabled:x?.status.fetchState==="In-Progress"?"readonly":m,newGlobalMerchantData:x,recommendationFetchState:{fetchState:N,error:H},recommendedGlobalMerchants:J,fetchRecommendation:$})})})}),t.jsx(Z,{formId:E(B),primaryBtn:{label:I.save,isLoading:x?.status.fetchState==="In-Progress",isDisabled:N==="In-Progress"},cancelBtn:{label:I.cancel,shouldResetOnCancel:!0,onClick:p}})]})},E=e=>`${e}_form`,q=e=>{const{newGlobalMerchantData:n}=e;return{[f]:{globalMerchantName:n?.globalMerchantName??"",globalMerchantWebsiteUrl:n?.globalMerchantWebsiteUrl?.toString(),recommendedFirst:n?.currentSelection==="recommendedFirst",recommendedSecond:n?.currentSelection==="recommendedSecond",newGlobalMerchantId:n?.newGlobalMerchantId}}},Ue=o.div`
98
98
  display: flex;
99
99
  flex: 1 1 auto;
100
100
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{e as l,j as t,g as s,o as a,t as r,C as m,u as o}from"./index-CfctPHbv.js";import{n as i,b as h}from"./vendor-rkTZJa59.js";const v=e=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),c=e=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.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"})),d={chartMinHeight:new m(288,360)},z=i.div`
1
+ import{e as l,j as t,g as s,o as a,t as r,C as m,u as o}from"./index-C7jkqxrR.js";import{n as i,b as h}from"./vendor-rkTZJa59.js";const v=e=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),c=e=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.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"})),d={chartMinHeight:new m(288,360)},z=i.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{j as e,o as t,u as s}from"./index-CfctPHbv.js";import{n as i}from"./vendor-rkTZJa59.js";import{r as n,o}from"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const r=i.div`
1
+ import{j as e,o as t,u as s}from"./index-C7jkqxrR.js";import{n as i}from"./vendor-rkTZJa59.js";import{r as n,o}from"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const r=i.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  padding: ${t.sp8} ${t.sp0} ${t.sp8} ${t.sp0};
@@ -1,4 +1,4 @@
1
- import{j as o,B as i,bv as s,c7 as l,t as c,g as a,n as d}from"./index-CfctPHbv.js";import{n as t}from"./vendor-rkTZJa59.js";import{a as h}from"./ZeniCopyright-juRAWlbw-CPXEOl77.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const g=t.div`
1
+ import{j as o,B as i,bv as s,c7 as l,t as c,g as a,n as d}from"./index-C7jkqxrR.js";import{n as t}from"./vendor-rkTZJa59.js";import{a as h}from"./ZeniCopyright-CjbWU9Dc-BLwz2UDU.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";const g=t.div`
2
2
  width: 100%;
3
3
  height: 100vh;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,fE as ne,o as i,bg as se,B as I,a6 as re,u as X,e as Y,a as le,ca as ae,l as P,aX as ce,F as de,b as w,a4 as pe,C as M,f9 as me,fF as ue,eG as he,fG as fe,fH as ge,af as xe,q as S,ao as J,w as K,t as Q,n as $e}from"./index-CfctPHbv.js";import{n as o,b as E}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const{common:be}=I.getLocalizedStrings(),U={notePadding:new M(S[3],S[4]),noteGap:new M(S[0],6)},z=(e,n)=>`${e}.${n}`,ye=o.div`
1
+ import{j as t,fF as ne,o as i,bg as se,B as I,a6 as re,u as Y,e as J,a as le,ca as ae,l as P,aX as ce,F as de,b as w,a4 as pe,C as M,fa as me,fG as ue,eH as he,fH as fe,fI as ge,af as xe,q as S,ao as K,w as Q,t as W,n as $e}from"./index-C7jkqxrR.js";import{n as o,b as E}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";const{common:be}=I.getLocalizedStrings(),U={notePadding:new M(S[3],S[4]),noteGap:new M(S[0],6)},z=(e,n)=>`${e}.${n}`,ye=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${i.sp3};
@@ -6,7 +6,7 @@ import{j as t,fE as ne,o as i,bg as se,B as I,a6 as re,u as X,e as Y,a as le,ca
6
6
  display: flex;
7
7
  justify-content: space-between;
8
8
  align-items: center;
9
- `,we=o(J)`
9
+ `,we=o(K)`
10
10
  color: ${e=>e.theme.colors.primary};
11
11
  `,Se=o.div`
12
12
  border-radius: ${i.sp2};
@@ -57,9 +57,9 @@ import{j as t,fE as ne,o as i,bg as se,B as I,a6 as re,u as X,e as Y,a as le,ca
57
57
  }
58
58
  `,F=o.div`
59
59
  flex: 1;
60
- `,q=o(Q)`
60
+ `,q=o(W)`
61
61
  color: ${e=>e.theme.colors.hero};
62
- `,Ee=o(K)`
62
+ `,Ee=o(Q)`
63
63
  color: ${e=>e.theme.colors.primary};
64
64
  flex: 1;
65
65
  width: 120px;
@@ -74,7 +74,7 @@ import{j as t,fE as ne,o as i,bg as se,B as I,a6 as re,u as X,e as Y,a as le,ca
74
74
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
75
75
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
76
76
  gap: ${e=>U.noteGap.valuePx(e.windowSize)};
77
- `,Ce=o.div``,Pe=o.span``;function Oe({sectionId:e,monthEndInsightsNotificationLocalData:n,monthEndInsightsNotificationSettings:s,managersList:a,allUsers:f,classList:m,controllersList:x}){const u=X(),c=Y(),{sectionTitle:$,monthEndInsights:l,mode:b}=be.settings.notifications,h=x[0],O=x.slice(1).reduce((d,r)=>d.concat(`${r.email},`),"");return t.jsxs(ye,{children:[t.jsxs(je,{children:[t.jsx(we,{children:$.monthEndInsights}),t.jsx(Ce,{children:t.jsx(Ee,{children:b.email})})]}),t.jsxs(Se,{children:[t.jsxs(ve,{disabled:s.enabled==null,children:[t.jsx(q,{children:l.labels.notifyMe}),t.jsx(he,{defaultChecked:n.notify,checkBoxValue:z(e,"notify"),name:z(e,"notify"),checkedIconColor:s.enabled==null?u.colors.grey2:void 0})]}),t.jsx(w,{controller:s.enabled!=null,children:t.jsxs(Ie,{children:[t.jsx(F,{children:t.jsx(q,{children:l.labels.notifyOthers})}),t.jsx(F,{children:t.jsx(fe,{hideEmailTooltip:!1,showBackgroundColorIfHasAnySelectedOption:!1,shouldHaveBackgroundColor:!1,value:{allUsers:f,selectedUsers:f.filter(d=>n.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=ge(p.userRole.userRoles);j.length>0&&y.push(j);const N=m.find(L=>L.classId===p.userRole.accountingClassIDs[0]);return N!=null&&y.push(N.className),y}else return[]},name:z(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(ke,{windowSize:c,children:[l.stopReceivingEmailsText,h?t.jsxs(Ne,{href:`mailto:${h.email}?cc=${O}&subject=${encodeURIComponent(l.stopReceivingMonthEndInsightsSubject)}`,children:[t.jsx(Pe,{children:`${h.firstName} ${h.lastName}`}),t.jsx(xe,{className:"arrowIcon"})]}):null]})})]})]})}const A=(e,n,s)=>`${e}.${n}.${s}`,Le=o.div`
77
+ `,Ce=o.div``,Pe=o.span``;function Oe({sectionId:e,monthEndInsightsNotificationLocalData:n,monthEndInsightsNotificationSettings:s,managersList:a,allUsers:f,classList:m,controllersList:x}){const u=Y(),c=J(),{sectionTitle:$,monthEndInsights:l,mode:b}=be.settings.notifications,h=x[0],O=x.slice(1).reduce((d,r)=>d.concat(`${r.email},`),"");return t.jsxs(ye,{children:[t.jsxs(je,{children:[t.jsx(we,{children:$.monthEndInsights}),t.jsx(Ce,{children:t.jsx(Ee,{children:b.email})})]}),t.jsxs(Se,{children:[t.jsxs(ve,{disabled:s.enabled==null,children:[t.jsx(q,{children:l.labels.notifyMe}),t.jsx(he,{defaultChecked:n.notify,checkBoxValue:z(e,"notify"),name:z(e,"notify"),checkedIconColor:s.enabled==null?u.colors.grey2:void 0})]}),t.jsx(w,{controller:s.enabled!=null,children:t.jsxs(Ie,{children:[t.jsx(F,{children:t.jsx(q,{children:l.labels.notifyOthers})}),t.jsx(F,{children:t.jsx(fe,{hideEmailTooltip:!1,showBackgroundColorIfHasAnySelectedOption:!1,shouldHaveBackgroundColor:!1,value:{allUsers:f,selectedUsers:f.filter(d=>n.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=ge(p.userRole.userRoles);j.length>0&&y.push(j);const N=m.find(L=>L.classId===p.userRole.accountingClassIDs[0]);return N!=null&&y.push(N.className),y}else return[]},name:z(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(ke,{windowSize:c,children:[l.stopReceivingEmailsText,h?t.jsxs(Ne,{href:`mailto:${h.email}?cc=${O}&subject=${encodeURIComponent(l.stopReceivingMonthEndInsightsSubject)}`,children:[t.jsx(Pe,{children:`${h.firstName} ${h.lastName}`}),t.jsx(xe,{className:"arrowIcon"})]}):null]})})]})]})}const A=(e,n,s)=>`${e}.${n}.${s}`,Le=o.div`
78
78
  display: flex;
79
79
  flex-direction: column;
80
80
  row-gap: ${i.sp3};
@@ -82,11 +82,11 @@ import{j as t,fE as ne,o as i,bg as se,B as I,a6 as re,u as X,e as Y,a as le,ca
82
82
  display: flex;
83
83
  justify-content: space-between;
84
84
  align-items: center;
85
- `,ze=o(J)`
85
+ `,ze=o(K)`
86
86
  color: ${e=>e.theme.colors.primary};
87
87
  `,D=o.div`
88
88
  display: flex;
89
- `,V=o(K)`
89
+ `,V=o(Q)`
90
90
  color: ${e=>e.theme.colors.primary};
91
91
  flex: 1;
92
92
  width: 120px;
@@ -98,7 +98,7 @@ import{j as t,fE as ne,o as i,bg as se,B as I,a6 as re,u as X,e as Y,a as le,ca
98
98
  width: 120px;
99
99
  display: flex;
100
100
  padding-right: 12px;
101
- `,Te=o(Q)`
101
+ `,Te=o(W)`
102
102
  color: ${e=>e.theme.colors.hero};
103
103
  `,Ue=o.div`
104
104
  border-radius: ${i.sp2};
@@ -118,7 +118,7 @@ import{j as t,fE as ne,o as i,bg as se,B as I,a6 as re,u as X,e as Y,a as le,ca
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:n,reminderNotificationSettings:s}){const{texts:a,settings:f}=I.getLocalizedStrings().common,{notifications:m}=f,x=P.NOTIFICATION_MODES.slice(0,1),u=P.REMINDER_NOTIFICATION_TYPES.filter(c=>s[c]!=null);return t.jsxs(Le,{children:[t.jsxs(Re,{children:[t.jsx(ze,{children:m.sectionTitle.reminders}),t.jsxs(D,{children:[t.jsx(V,{children:a.frequency}),t.jsx(V,{children:m.mode.email})]})]}),t.jsx(Ue,{children:u.map((c,$)=>t.jsxs(Fe,{firstElement:$===0,lastElement:$===u.length-1,children:[t.jsx(Te,{children:m.reminders[c]}),t.jsxs(D,{children:[t.jsx(Me,{children:t.jsx(me,{defaultValue:{allOptions:m.reminderFrequencyOptions,selectedOption:n[c].frequency},name:A(e,c,"frequency")})}),t.jsx(Be,{children:t.jsx(ue,{mode:"always_on",checkBoxes:x.map(l=>({label:"",value:l,defaultChecked:n[c].preferredMode.includes(l),groupLabel:!1})),name:A(e,c,"preferredMode"),style:{flexDirection:"row"},checkBoxContainerStyle:{justifyContent:"center"}})})]})]},c))})]})}const B={contentPadding:new M(S[3],S[8])},g="reminders",v="monthEndInsights",_="notificationSettingsPage",G=e=>`${e}_form`,{settings:Z,reloadPage:Ae}=I.getLocalizedStrings().common,De=e=>{const n=X(),s=Y(),{notificationSettingsView:a,signedInUser:f,onFormDataChange:m,resetUpdateStatus:x,onSave:u,onCancel:c,onClickMenuIcon:$}=e,{notificationSettingsLocalData:l,allUsers:b,notificationSettings:h,classList:O,managersList:d,updateStatus:r,controllersList:y}=a,p=le({defaultValues:W(l,b)}),j=E.useCallback(R=>{m(Xe(R))},[m]),N=p.handleSubmit(()=>{u()}),L=E.useCallback(()=>{p.reset(),c()},[c]);E.useEffect(()=>{a.updateStatus.fetchState==="Completed"&&(p.reset(W(l,b)),x())},[l,a.updateStatus.fetchState,b]),E.useEffect(()=>{const R=p.watch((T,{name:oe})=>{oe!=null&&T!=null&&ae(()=>j(T))});return()=>{R.unsubscribe()}},[p,j]);const ee=Object.keys(p.formState.dirtyFields).length>0,te=f.userEmail!=null?P.isMonthEndNotificationsSectionVisibleOnSettingsPage(h.monthEndInsightsNotificationSettings,f.userEmail):!1,ie=P.isRemindersSectionVisibleOnSettingsPage(h.reminderNotificationSettings);return t.jsxs(t.Fragment,{children:[t.jsxs(Ve,{children:[t.jsx(ce,{source:"NotificationSettingsPage",title:Z.title.notifications,backgroundColor:n.colors.grey4,showBackButton:!1,showMenuIcon:s==="medium-compact"||s==="small",onClickMenuIcon:$}),t.jsx(_e,{windowSize:s,children:t.jsx(de,{...p,children:t.jsx("form",{id:G(_),onSubmit:N,children:t.jsxs(Ge,{children:[t.jsx(w,{controller:ie,children:t.jsx(qe,{reminderNotificationSettings:h.reminderNotificationSettings,remindersLocalData:l.reminders,sectionId:g})}),t.jsx(w,{controller:te,children:t.jsx(Oe,{monthEndInsightsNotificationLocalData:l.monthEndInsights,monthEndInsightsNotificationSettings:h.monthEndInsightsNotificationSettings,sectionId:v,allUsers:b,classList:O,managersList:d,controllersList:y})})]})})})})]}),t.jsx(w,{controller:ee,children:t.jsx(pe,{style:{width:"100%"},formId:G(_),primaryBtn:{label:I.getLocalizedStrings().common.footer.save,isLoading:r.fetchState==="In-Progress",style:{width:"82px"}},cancelBtn:{label:I.getLocalizedStrings().common.footer.cancel,onClick:L,style:{width:"82px"}}})})]})};function nt(e){const{notificationSettingsView:n,onRefresh:s}=e,{fetchState:a}=n;return a==="Not-Started"||a==="In-Progress"?t.jsx(H,{children:t.jsx(ne,{fetchState:a,styles:{margin:i.sp0}})}):a==="Error"?t.jsxs(H,{children:[t.jsx(He,{onClick:s,children:t.jsx(se,{})}),t.jsx(We,{children:Ae.label})]}):t.jsx(De,{...e})}const Ve=o.div`
121
+ `;function qe({sectionId:e,remindersLocalData:n,reminderNotificationSettings:s}){const{texts:a,settings:f}=I.getLocalizedStrings().common,{notifications:m}=f,x=P.NOTIFICATION_MODES.slice(0,1),u=P.REMINDER_NOTIFICATION_TYPES.filter(c=>s[c]!=null);return t.jsxs(Le,{children:[t.jsxs(Re,{children:[t.jsx(ze,{children:m.sectionTitle.reminders}),t.jsxs(D,{children:[t.jsx(V,{children:a.frequency}),t.jsx(V,{children:m.mode.email})]})]}),t.jsx(Ue,{children:u.map((c,$)=>t.jsxs(Fe,{firstElement:$===0,lastElement:$===u.length-1,children:[t.jsx(Te,{children:m.reminders[c]}),t.jsxs(D,{children:[t.jsx(Me,{children:t.jsx(me,{defaultValue:{allOptions:m.reminderFrequencyOptions,selectedOption:n[c].frequency},name:A(e,c,"frequency")})}),t.jsx(Be,{children:t.jsx(ue,{mode:"always_on",checkBoxes:x.map(l=>({label:"",value:l,defaultChecked:n[c].preferredMode.includes(l),groupLabel:!1})),name:A(e,c,"preferredMode"),style:{flexDirection:"row"},checkBoxContainerStyle:{justifyContent:"center"}})})]})]},c))})]})}const B={contentPadding:new M(S[3],S[8])},g="reminders",v="monthEndInsights",_="notificationSettingsPage",G=e=>`${e}_form`,{settings:Z,reloadPage:Ae}=I.getLocalizedStrings().common,De=e=>{const n=Y(),s=J(),{notificationSettingsView:a,signedInUser:f,onFormDataChange:m,resetUpdateStatus:x,onSave:u,onCancel:c,onClickMenuIcon:$}=e,{notificationSettingsLocalData:l,allUsers:b,notificationSettings:h,classList:O,managersList:d,updateStatus:r,controllersList:y}=a,p=le({defaultValues:X(l,b)}),j=E.useCallback(R=>{m(Ye(R))},[m]),N=p.handleSubmit(()=>{u()}),L=E.useCallback(()=>{p.reset(),c()},[c]);E.useEffect(()=>{a.updateStatus.fetchState==="Completed"&&(p.reset(X(l,b)),x())},[l,a.updateStatus.fetchState,b]),E.useEffect(()=>{const R=p.watch((T,{name:oe})=>{oe!=null&&T!=null&&ae(()=>j(T))});return()=>{R.unsubscribe()}},[p,j]);const ee=Object.keys(p.formState.dirtyFields).length>0,te=f.userEmail!=null?P.isMonthEndNotificationsSectionVisibleOnSettingsPage(h.monthEndInsightsNotificationSettings,f.userEmail):!1,ie=P.isRemindersSectionVisibleOnSettingsPage(h.reminderNotificationSettings);return t.jsxs(t.Fragment,{children:[t.jsxs(Ve,{children:[t.jsx(ce,{source:"NotificationSettingsPage",title:Z.title.notifications,backgroundColor:n.colors.grey4,showBackButton:!1,showMenuIcon:s==="medium-compact"||s==="small",onClickMenuIcon:$}),t.jsx(_e,{windowSize:s,children:t.jsx(de,{...p,children:t.jsx("form",{id:G(_),onSubmit:N,children:t.jsxs(Ge,{children:[t.jsx(w,{controller:ie,children:t.jsx(qe,{reminderNotificationSettings:h.reminderNotificationSettings,remindersLocalData:l.reminders,sectionId:g})}),t.jsx(w,{controller:te,children:t.jsx(Oe,{monthEndInsightsNotificationLocalData:l.monthEndInsights,monthEndInsightsNotificationSettings:h.monthEndInsightsNotificationSettings,sectionId:v,allUsers:b,classList:O,managersList:d,controllersList:y})})]})})})})]}),t.jsx(w,{controller:ee,children:t.jsx(pe,{style:{width:"100%"},formId:G(_),primaryBtn:{label:I.getLocalizedStrings().common.footer.save,isLoading:r.fetchState==="In-Progress",style:{width:"82px"}},cancelBtn:{label:I.getLocalizedStrings().common.footer.cancel,onClick:L,style:{width:"82px"}}})})]})};function nt(e){const{notificationSettingsView:n,onRefresh:s}=e,{fetchState:a}=n;return a==="Not-Started"||a==="In-Progress"?t.jsx(H,{children:t.jsx(ne,{fetchState:a,styles:{margin:i.sp0}})}):a==="Error"?t.jsxs(H,{children:[t.jsx(He,{onClick:s,children:t.jsx(se,{})}),t.jsx(Xe,{children:Ae.label})]}):t.jsx(De,{...e})}const Ve=o.div`
122
122
  display: flex;
123
123
  width: 100%;
124
124
  min-height: 100vh;
@@ -157,7 +157,7 @@ import{j as t,fE as ne,o as i,bg as se,B as I,a6 as re,u as X,e as Y,a as le,ca
157
157
  color: ${e=>e.theme.colors.primary};
158
158
  }
159
159
  }
160
- `,We=o(re)`
160
+ `,Xe=o(re)`
161
161
  margin-top: ${i.sp3};
162
162
  color: ${e=>e.theme.colors.hero};
163
- `;function k(e){const n=Z.notifications.reminderFrequencyOptions;return{preferredMode:e.preferredMode,frequency:{selectedOption:e.frequency,allOptions:n}}}function W(e,n){return{[g]:{missingReceiptNotification:k(e.reminders.missingReceiptNotification),uncategorizedTransactionNotification:k(e.reminders.uncategorizedTransactionNotification),pendingBillApprovalNotification:k(e.reminders.pendingBillApprovalNotification),pendingReimbursementApprovalNotification:k(e.reminders.pendingReimbursementApprovalNotification)},[v]:{notify:e.monthEndInsights.notify,recipientEmailIds:{allNonUsers:[],selectedNonUsers:[],allUsers:n,selectedUsers:n.filter(s=>e.monthEndInsights.recipientEmailIds.includes(s.email))}}}}function C(e){return{preferredMode:e.preferredMode,frequency:e.frequency.selectedOption}}function Xe(e){return{[g]:{missingReceiptNotification:C(e[g].missingReceiptNotification),uncategorizedTransactionNotification:C(e[g].uncategorizedTransactionNotification),pendingBillApprovalNotification:C(e[g].pendingBillApprovalNotification),pendingReimbursementApprovalNotification:C(e[g].pendingReimbursementApprovalNotification)},[v]:{...e[v],recipientEmailIds:e[v].recipientEmailIds.selectedUsers.map(n=>n.email)}}}export{nt as default,G as uniqueName};
163
+ `;function k(e){const n=Z.notifications.reminderFrequencyOptions;return{preferredMode:e.preferredMode,frequency:{selectedOption:e.frequency,allOptions:n}}}function X(e,n){return{[g]:{missingReceiptNotification:k(e.reminders.missingReceiptNotification),uncategorizedTransactionNotification:k(e.reminders.uncategorizedTransactionNotification),pendingBillApprovalNotification:k(e.reminders.pendingBillApprovalNotification),pendingReimbursementApprovalNotification:k(e.reminders.pendingReimbursementApprovalNotification)},[v]:{notify:e.monthEndInsights.notify,recipientEmailIds:{allNonUsers:[],selectedNonUsers:[],allUsers:n,selectedUsers:n.filter(s=>e.monthEndInsights.recipientEmailIds.includes(s.email))}}}}function C(e){return{preferredMode:e.preferredMode,frequency:e.frequency.selectedOption}}function Ye(e){return{[g]:{missingReceiptNotification:C(e[g].missingReceiptNotification),uncategorizedTransactionNotification:C(e[g].uncategorizedTransactionNotification),pendingBillApprovalNotification:C(e[g].pendingBillApprovalNotification),pendingReimbursementApprovalNotification:C(e[g].pendingReimbursementApprovalNotification)},[v]:{...e[v],recipientEmailIds:e[v].recipientEmailIds.selectedUsers.map(n=>n.email)}}}export{nt as default,G as uniqueName};
@@ -1 +1 @@
1
- import{v as e,q as a}from"./index-CfctPHbv.js";const r=a[5],o=59,i=a[5],l=e.standardRegular.lineHeightValue,n=1,p=1e3;export{l as A,i as E,n as I,p as L,o as a,r as t};
1
+ import{v as e,q as a}from"./index-C7jkqxrR.js";const r=a[5],o=59,i=a[5],l=e.standardRegular.lineHeightValue,n=1,p=1e3;export{l as A,i as E,n as I,p as L,o as a,r as t};
@@ -1,4 +1,4 @@
1
- import{u as X,e as v,a as Jt,B as P,ca as qt,j as t,aX as Zt,l as g,F as Kt,a4 as Xt,o as i,b as we,gt as Qt,C as R,ht as ei,v as Ne,m as ti,H as et,bS as tt,aj as it,dl as ot,b_ as st,jc as at,q as y,K as ii,jd as oi,dj as ce,ae as si,J as ai,y as rt,g as S,w as ri,bh as z,cn as ue,fF as he,je as pe,Y as nt,x as lt,dt as E,d4 as dt,fO as ni,t as Q,hH as li,n as H,f2 as di,a8 as ye,ap as fe,jf as ci,be as ct,jg as Ie,aR as ui}from"./index-CfctPHbv.js";import{b as x,n as r,j as A}from"./vendor-rkTZJa59.js";import{k as hi}from"./SubTabSwitcher-Dc78MPYF-W-inXen8.js";import{d as ut}from"./useLongPress-GCK2COYQ-BoJXFS3o.js";import{A as ht,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-CBjTcLzj-Cjn3YKhY.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";function pi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const h=v(),p=X(),m=x.useCallback(b=>{d(b.id)},[d]),f=x.useCallback(b=>{u(b.id)},[u]);return e.length===0?null:t.jsxs(fi,{windowSize:h,children:[t.jsx(ei,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(hi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const fi=r.div`
1
+ import{u as X,e as v,a as Jt,B as P,ca as qt,j as t,aX as Zt,l as g,F as Kt,a4 as Xt,o as i,b as we,gu as Qt,C as R,hu as ei,v as Ne,m as ti,H as et,bS as tt,aj as it,dl as ot,b_ as st,jd as at,q as y,K as ii,je as oi,dj as ce,ae as si,J as ai,y as rt,g as S,w as ri,bh as z,cn as ue,fG as he,jf as pe,Y as nt,x as lt,dt as E,d4 as dt,fP as ni,t as Q,hI as li,n as H,f3 as di,a8 as ye,ap as fe,jg as ci,be as ct,jh as Ie,aR as ui}from"./index-C7jkqxrR.js";import{b as x,n as r,j as A}from"./vendor-rkTZJa59.js";import{k as hi}from"./SubTabSwitcher-BSxF2cHS-DzqRE0-4.js";import{d as ut}from"./useLongPress-GCK2COYQ-BoJXFS3o.js";import{A as ht,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-DxFLCS42-Dryoh4sl.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";function pi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const h=v(),p=X(),m=x.useCallback(b=>{d(b.id)},[d]),f=x.useCallback(b=>{u(b.id)},[u]);return e.length===0?null:t.jsxs(fi,{windowSize:h,children:[t.jsx(ei,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(hi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const fi=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{e as G,hs as ye,B,u as q,bJ as be,H as _e,j as t,$ as Se,bg as ke,hr as we,aZ as ve,aX as Be,ht as $e,hu as Oe,o as u,a6 as je,m as Pe,C as F,aj as le,O as ie,a8 as Te,q as $,b0 as De,bL as Ne,bM as Ee,bN as Ie,g as a,t as ce,bd as Ae,b8 as Me,aw as Le,v as Z,av as Fe,ab as Ve,b9 as Re,bb as ze,l as We}from"./index-CfctPHbv.js";import{b as y,n as m,f as Ke}from"./vendor-rkTZJa59.js";import{p as Ye,d as He,y as H,b as de,u as ee}from"./chartTypes-eqxFaFS5-fUn75ZVM.js";import{V as Ge}from"./toChartData-Dh9v_zba-DQ0vqbhf.js";import{m as V}from"./analyticsHelper-DQQo4LQc-D87Bn7n3.js";import{p as qe}from"./TimeRangeSwitcher-BQL2dhVh-FzyWbTek.js";import{M as Je}from"./TimeframeSwitcherWithToggle-C_hQ5Vj--Ct-exPmU.js";import{C as Qe}from"./NoDataChart-Bww-GG_z-C6bA2sTF.js";import{d as Ue}from"./NoDataTable-DRSEE7HT-Fx8yGafA.js";import{H as Xe,N as oe}from"./detailCommon-fC811KkH-QLQiCSMc.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{R as Ze,W as J}from"./CollapsableReportTable-C_qcwMWq-CzhTaZDf.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-CEJ9v-Q3-Dh04BnMI.js";import{d as re}from"./mapLoadingInProgressToTreeNode-CM7N02af-DiQ1kXB9.js";import{l as eo}from"./mapSpacerToTreeNode-C7hklF---BcLWVoos.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./TimeframeSwitcher-CXvrXTdI-Bmd_fwCF.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";import"./AccountRow-m99usqft-Cggn-JiL.js";const oo=m.div`
1
+ import{e as G,ht as ye,B,u as q,bJ as be,H as _e,j as t,$ as Se,bg as ke,hs as we,aZ as ve,aX as Be,hu as $e,hv as Oe,o as u,a6 as je,m as Pe,C as F,aj as le,O as ie,a8 as Te,q as $,b0 as De,bL as Ne,bM as Ee,bN as Ie,g as a,t as ce,bd as Ae,b8 as Me,aw as Le,v as Z,av as Fe,ab as Ve,b9 as Re,bb as ze,l as We}from"./index-C7jkqxrR.js";import{b as y,n as m,f as Ke}from"./vendor-rkTZJa59.js";import{p as Ye,d as He,y as H,b as de,u as ee}from"./chartTypes-DmEm-9Ox-ULKq2fZN.js";import{V as Ge}from"./toChartData-D89UpEia-DmSMBtrE.js";import{m as V}from"./analyticsHelper-47l9Opyu-BI0dCEoa.js";import{p as qe}from"./TimeRangeSwitcher-D66ILzZ8-BUSvdhZS.js";import{M as Je}from"./TimeframeSwitcherWithToggle-V1DMLkhs-Cnh86APd.js";import{C as Qe}from"./NoDataChart-gi34_J2e-BOq-1JyJ.js";import{d as Ue}from"./NoDataTable-DtmdB0eI-BxWxqQ9f.js";import{H as Xe,N as oe}from"./detailCommon-CfRJr7PH-Zz1na4q2.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{R as Ze,W as J}from"./CollapsableReportTable-Bubej7Ql-B-Haow9V.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-y77ZAwQg-CYnesxgR.js";import{d as re}from"./mapLoadingInProgressToTreeNode-BbnaFFzG-BRQ7gDuX.js";import{l as eo}from"./mapSpacerToTreeNode-CMRinfvP-BAaxRYcb.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";import"./TimeframeSwitcher-C2DIHjU8-FFKAp4XL.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";import"./AccountRow-D7TS2v2D-CXpu3RBt.js";const oo=m.div`
2
2
  display: flex;
3
3
  `,ro=m.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{u as i,j as r}from"./index-CfctPHbv.js";import{n}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const p=n.div`
1
+ import{u as i,j as r}from"./index-C7jkqxrR.js";import{n}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";const p=n.div`
2
2
  display: ${({isOpen:o})=>o?"block":"none"};
3
3
  position: fixed;
4
4
  top: 0;
@@ -1,4 +1,4 @@
1
- import{j as o,N as M,u as T,e as z,$ as A,aX as re,B as c,K as ie,m as ae,C as D,v as ce,o as s,O as le,a8 as de,c7 as ge,c8 as me,aU as pe,q as C,l as U,b0 as he,c9 as ue,a6 as fe,a7 as xe,ap as we}from"./index-CfctPHbv.js";import{n as r,b as F}from"./vendor-rkTZJa59.js";import{L as Se}from"./NavBarWithPicker-Bbu7_9sU-BqOfWE29.js";import{m as je}from"./analyticsHelper-DQQo4LQc-D87Bn7n3.js";import{M as $e}from"./TimeframeSwitcherWithToggle-C_hQ5Vj--Ct-exPmU.js";import{R as be,a as Ce}from"./CollapsableReportTable-C_qcwMWq-CzhTaZDf.js";import{M as E}from"./usp-line-BBd1wKwW-u-VMxix8.js";import{T as Pe,I as ke,L as ye}from"./mapSectionWithAcOnlyToTreeNode-MzhgtFpc-DvFOj2Em.js";import{s as G}from"./mapTimeframeBalancesToTreeNode-D36HLTqR-CaVDkf8Q.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./TimeframeSwitcher-CXvrXTdI-Bmd_fwCF.js";import"./AccountRow-m99usqft-Cggn-JiL.js";const H="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",Y="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ve=r.div`
1
+ import{j as o,N as M,u as T,e as z,$ as A,aX as re,B as c,K as ie,m as ae,C as D,v as ce,o as s,O as le,a8 as de,c7 as ge,c8 as me,aU as pe,q as C,l as U,b0 as he,c9 as ue,a6 as fe,a7 as xe,ap as we}from"./index-C7jkqxrR.js";import{n as r,b as F}from"./vendor-rkTZJa59.js";import{L as Se}from"./NavBarWithPicker-DEqzM9Qm-_DqMMA0k.js";import{m as je}from"./analyticsHelper-47l9Opyu-BI0dCEoa.js";import{M as $e}from"./TimeframeSwitcherWithToggle-V1DMLkhs-Cnh86APd.js";import{R as be,a as Ce}from"./CollapsableReportTable-Bubej7Ql-B-Haow9V.js";import{M as E}from"./usp-line-BBd1wKwW-u-VMxix8.js";import{T as Pe,I as ke,L as ye}from"./mapSectionWithAcOnlyToTreeNode-B3ThW_Wk-DV4jlGZ4.js";import{s as G}from"./mapTimeframeBalancesToTreeNode-C4e13DYv-mbUoKHNs.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";import"./TimeframeSwitcher-C2DIHjU8-FFKAp4XL.js";import"./AccountRow-D7TS2v2D-CXpu3RBt.js";const H="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",Y="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ve=r.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;