@zeniai/web-cockpit-ui 1.14.70-qa-betaSK02 → 1.14.71-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 (230) hide show
  1. package/dist/assets/{ACHDetailsPage-DNP57aM2-avV8XqIM.js → ACHDetailsPage-B40ur5bp-qLUbcavz.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CLOfGirj-DMjAPelc.js → AIPerformancePage-3KzgwQEg-Car9ubk8.js} +19 -19
  3. package/dist/assets/{AccountInfoPage-HMMPj3Jx-CJYqhxId.js → AccountInfoPage-vLCfulj4-z4VKkvZc.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-Cd14TE_h-CHwIY_ax.js → AccountInfoPageContent-C0kb83_4-BAkZvdVH.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-B7hfTh4H-Bp06lI4a.js → AccountLockedInfoModal-DqWq-DtD-BcxpOdhH.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CpIoAKZm-DwFLsoVw.js → AccountReconDetailsDrawerPage-C1-aZ2IL-Ck9_GjU2.js} +1 -1
  7. package/dist/assets/{AccountRow--0vvwKWj-CoFxk_cS.js → AccountRow-C9q6i3az-Dw8PGRm0.js} +10 -10
  8. package/dist/assets/{AccountsPromoCardStack-x-0Az8Y_-B-ygNj6p.js → AccountsPromoCardStack-CcKxTC_P-C--n47Gr.js} +15 -15
  9. package/dist/assets/{AddAddressForCardDrawer-vYqo1v2K-Bt4J7sM8.js → AddAddressForCardDrawer-CgFUm8yP-CrKB_Dwv.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-B8Be5pV4-Dmj3cDPK.js → AddToWalletPage-CcGENV5h-UoiarLil.js} +18 -18
  11. package/dist/assets/{AgingReportsPage-3-UUJIa0-BXkr25LE.js → AgingReportsPage-B24eKpNK-DYSYO6T8.js} +1 -1
  12. package/dist/assets/{AllUserItems-CAH3DoJL-BBiKKfZg.js → AllUserItems-D_8QwwoX-CJcv0jgE.js} +4 -4
  13. package/dist/assets/{ApAgingDetailPage-BoIGWS7F-Bx3NO3QK.js → ApAgingDetailPage-CkjF2eck-CUC_Mtgo.js} +2 -2
  14. package/dist/assets/{AppBasePage-7PUC70TA-D5HS8vT0.js → AppBasePage-BKLe2VqM-MW0rA3r6.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DqL4m8ko-B_3Z-ziz.js → AppDrawerContent-amGpNlZr-DzZHETAi.js} +2 -2
  16. package/dist/assets/{ApprovalRulesSettingsPage-Dp-0kFUU-CPYxiWzy.js → ApprovalRulesSettingsPage-D42YDnFU-CNrvwDLo.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Bwl02-yM-CxdR4z9z.js → ArAgingChart-qZaIsWtq-BZLaZ9Ct.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-D5imSRTy-lUU3avsL.js → ArAgingDetailPage-CHCdWveg-vZj7uIx-.js} +1 -1
  19. package/dist/assets/{AttachmentView-BXh_tU2--C0XdP1bg.js → AttachmentView-DZCtCZK_-BwikHNAT.js} +1 -1
  20. package/dist/assets/{BankAccountSection-CUxk0Njy-CWB3LBLP.js → BankAccountSection-BroWfNc_-CvTo199_.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-BdaOg4id-C1Pi16BF.js → BankAccountWarningSection-lNbSkw5--D5G2vsMX.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-DE6_s8CU-bDg3vkcS.js → BankConnectionsSettingsPage-BG5FAR53-DZr6wEfX.js} +8 -8
  23. package/dist/assets/{BillDetailPage-O-vInRiu-DeMPK1qv.js → BillDetailPage-BNlsd0AF-BFTUTyDQ.js} +4 -4
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-HnZdnCGb-C7hkDeE-.js → BillPayApprovalRuleDetailPage-Br6UCYrF-D0uLNJ76.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CzWGbZRY-Dyr82NjO.js → BillPayApprovalRulesPage-DL0aveSN-DoAtCpfR.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-BRR7cN2u-RZxQEjuP.js → BillPayPromoPage-DLMTqP9B-Qdj_ZRax.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-CKCq6jOJ-CoQXWO-H.js → BillPaySetUpPage-7Z5WhvCj-DUMDnm--.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-DgLDuVI--S4bvgnKG.js → BillingSettingsPage-HsRQLM6k-wTKAVFEO.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-WyyQGDCw-BGzfMdU_.js → BillsBulkReviewDrawerPage-CZEdLC67-B02pvysO.js} +1 -1
  30. package/dist/assets/{BoxItem-DVm9tmFC-CU7H_LW0.js → BoxItem-CvQS_sLm-D_wBZcaU.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-qgc9RAdT-OzIm0OoK.js → BusinessVerificationPage-BQ3ZYVyp-Cnlr3LEP.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-_t2SN7Aq-BCYb1qEW.js → CardNumberSubText-DVfY641B-Ca4CUToE.js} +2 -2
  33. package/dist/assets/{CashbackDetailPage-Bxv8BEGS-DQ8sfLPO.js → CashbackDetailPage-Bq-wjfJM-D2Niv1Ey.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DhMjZ9GD-B2YPhHtr.js → ChargeCardDetailPage-BBksBgc_-CunwAXKE.js} +21 -21
  35. package/dist/assets/{ChargeCardListPage-CiLjIfsk-DiJXPfnU.js → ChargeCardListPage-D8LM_cZf-BYxkaOMa.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-7Lojy4cl-QSpuXSNt.js → ChargeCardListTable-Cstar82M-BZIvTdeq.js} +39 -39
  37. package/dist/assets/{ChargeCardPromoPage-DqIn9Bf_-TUGQCjFO.js → ChargeCardPromoPage-DMAUyVe7-UqwVvfTW.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-otYi1yA_-BzyYp3Ma.js → ChargeCardSetupPage-xuPp_o4--VeJFY_V2.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-BYEK3t_E-D5id-cuR.js → ChargeCardStatementsPage-BtEC80N4-CLyMpzOI.js} +5 -5
  40. package/dist/assets/{ChargeCardUtils-Bfvw9nbm-Ck9RxeO3.js → ChargeCardUtils-CHhHodZN-6DoofQsj.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-COS1KOyZ-Bi9gPZh9.js → ChaseOverlay-laPjyJU7-DF7Or1ye.js} +5 -5
  42. package/dist/assets/{CheckDepositDrawerPage-ClyUqBZL-7AbxZ3fy.js → CheckDepositDrawerPage-Cg3R57ad-x4vbhtLo.js} +16 -16
  43. package/dist/assets/{CollapsableReportTable-7QojazIG-DKd1Ohow.js → CollapsableReportTable-BTquJgcd-BW5UxAeQ.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-DCcJ2qFk-CTGjCJ2U.js → CompanyOfficerDetailsSection-BpiZ5rDk-DPn4GdQZ.js} +11 -11
  45. package/dist/assets/{CompanyPassportCard-BsEL9Qbu-Ce_Mps9F.js → CompanyPassportCard-BV9mPVRb-Q4C_0Loc.js} +3 -3
  46. package/dist/assets/{CompanyPassportPage-BfTg63IR-B_MMbnoA.js → CompanyPassportPage-D5tRbHXG-CLVMqmrR.js} +9 -9
  47. package/dist/assets/{CompleteProfile-DVoUDRsl-Dni0tel9.js → CompleteProfile-CARUXqXR-C7CBy6gL.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-Bkpvc1sT-3L-noaEJ.js → ConfettiBurst-CPnRASxV-Cf8S2srw.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CNhxP9X8-DwnOrRpo.js → CreateOrEditVendorPage-BnMzZWIJ-Dtcizi2x.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-DFKMaKZe-7WaDqrMx.js → CreditCardPaymentDrawerPage-ZGFxbf6p-CEB_tt9p.js} +15 -15
  51. package/dist/assets/{CreditCardPaymentPlgSection-B0SfyRlf-7sj-K7t6.js → CreditCardPaymentPlgSection-CfIXTZi1-BWmvJdS4.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-S5PM00pv-CbVl7OwM.js → CurrencySelectField-D5qstOV_-BfQhwVcO.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-BjwtalDM-6OCT_Hxo.js → CustomerOnboardingActivationPage-EoS5UWcr-BDzCJZJq.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-Bzjew7MV-D4ymslq9.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CSbZAXs2-c1eJsjhk.js → CustomerOnboardingDetailPageSkeleton-CATcejsu-h_QqrMWP.js} +5 -5
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-B4QyzUYh-CpG3iCsq.js → CustomerOnboardingNoStepsPage-DhXSZZDt-BhNth72s.js} +6 -6
  57. package/dist/assets/{CustomerOnboardingPage-CM-Q6yvG-C5P_wyRd.js → CustomerOnboardingPage-Dw4jho3E-BiCBI5MF.js} +4 -4
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-Dl4T0H6a-CGkQ9Fa5.js → CustomerOnboardingProductSuitePage-BrcfWdR_-CxuJiBMx.js} +8 -8
  59. package/dist/assets/{Dashboard-D02sGwYq-ZzdpZ2Ji.js → Dashboard-Dncu8Llu-CNokCy8K.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-QCOFKP8U-B3L1kZEV.js → DashboardReportPage-Cd2aI286-D3ivv6JU.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-CQsnT96s-C6o48ajy.js → DashboardSidebarBackgroundAnimation-Bsd2tllR-Cs2-dBQO.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-qRBfPcMD-oXQtTXKm.js → DepositAccTransactionItem-BCvM718U-BQ7X3anC.js} +2 -2
  63. package/dist/assets/{DepositAccTransactionListPage-CeovhH1l-CXT-ucRM.js → DepositAccTransactionListPage-BV0C4uw5-D3ujml3L.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-DduEhZVG-C9imW_9d.js → DomesticWireDetailsPage-C7YCWnpX-BJhnsPOT.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-uhQUTW5Z-BK2zgpn3.js → DownloadOverlay-XFeHlPT1-CEQi5sme.js} +1 -1
  66. package/dist/assets/{DrawerPage-Bk1G48-1-BNsEQCXX.js → DrawerPage-B5swtpnW-ExQw__-M.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-BU8a9Pl9-YEuBRyzf.js → EditPeoplePage-gSBB6VWT-C32EYjas.js} +3 -3
  68. package/dist/assets/{EditReimbursementDetailPage-Dr4muXo4-BGBkKyh4.js → EditReimbursementDetailPage-wgieh-cS-u2wJ_U8V.js} +35 -35
  69. package/dist/assets/{EntityDetailPage-BaWFKh1G-DYMExM8J.js → EntityDetailPage-wDSbBdas-CScHSqtE.js} +2 -2
  70. package/dist/assets/{EntitySummarySection-Cb77Gcp4-BIPNfYZz.js → EntitySummarySection-DUkLpeab-jp4lR-ND.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-DjtW5UbS-Cy1cCbQ8.js → ExpenseAutomationOverviewPage-8Kor6jbw-C1EEcWSe.js} +7 -7
  72. package/dist/assets/ExpenseAutomationPage-BrMLIa8l-rO7v5FFr.js +1650 -0
  73. package/dist/assets/{ExpressPayPage-Du52gXoX-CnRcC7Jw.js → ExpressPayPage-mNQZwQjW-BuMy6vAf.js} +8 -8
  74. package/dist/assets/{FeaturePreviewPage-CdJphJp1-BQ6o7CM8.js → FeaturePreviewPage-DBHT9uKl-CuaenWGz.js} +2 -2
  75. package/dist/assets/{FollowStepsSection-CIN1H3o1-D628xbXv.js → FollowStepsSection-CSUuXn2f-BgH_uZF9.js} +18 -18
  76. package/dist/assets/{GlobalReviewListPage-C6nyBLPA-DGpkLic4.js → GlobalReviewListPage-p0vz_C5a-CbqMjPf4.js} +5 -5
  77. package/dist/assets/{HelpButton-Dr-rtdg3-BVxgSFRJ.js → HelpButton-B2amus4B-DejCwWuG.js} +1 -1
  78. package/dist/assets/{InformationCardStack-Di_RjvJU-CLp_jAir.js → InformationCardStack-BJ727KaL-BL1jahfP.js} +4 -4
  79. package/dist/assets/{InsightsCardStack-WlLXqJcd-BpY_Zd5e.js → InsightsCardStack-DY6RY7Qe-DssEfhxv.js} +10 -10
  80. package/dist/assets/{InsightsSection-CUO0KkJa-DDXtm1mq.js → InsightsSection-D-8tYkse-DLCSfT0G.js} +3 -3
  81. package/dist/assets/{IntegrationsSettingsPage-DkXmxj8T-CbXabJTe.js → IntegrationsSettingsPage-1rJOamsZ-CCFrMSer.js} +5 -5
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-BXF9FcYj-BPyh1hMh.js → InternationalWireSwiftDetailsPage-Ri6TSG6P-8V-Jx_AK.js} +6 -6
  83. package/dist/assets/{InternationalWireVerificationPage-CsuXTZAY-acp89PKM.js → InternationalWireVerificationPage-CjriI8l--DVeYNdlX.js} +6 -6
  84. package/dist/assets/{InviteFormPage-cPLrVHhl-DIdWcqG6.js → InviteFormPage-BY76duGE-C5wtRqak.js} +1 -1
  85. package/dist/assets/{InvitePageListView-CrI1IGSD-DO-mYxa3.js → InvitePageListView-AAJf0dR1-CCPXRa4B.js} +14 -14
  86. package/dist/assets/{InvitePeoplePage-CSagTrzW-C-nJVx8v.js → InvitePeoplePage-CyMnjfEI-CTqEBEr_.js} +4 -4
  87. package/dist/assets/{InvoiceUploadSection-Bs6UaHAj-BOejGbsw.js → InvoiceUploadSection-DNao9DwT-C7CWv1v1.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-CX2rwmT5-6Be_Oabw.js → IssueChargeCardPage-Bjy6NLc8-Ctym8rQ1.js} +10 -10
  89. package/dist/assets/{LabeledAddressValue-BL6a5BII-DnGjz4Co.js → LabeledAddressValue-B2k1GZHx-KNC3sWJt.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-wxazJRGx-t89-ZuMX.js → LabeledAddressValueField-C6oH2tzZ-BPatozjs.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-B4AsvFnE-CwjdhqTG.js → LabeledControlledCheckBoxField-D3legl2B-CCkkJ4fv.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-7vRkAqwf-Bc_Zhv3h.js → LabeledCreatableSingleSelectField-BVxws_IH-DG8QIGXB.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-CQJiBw6T-CIRxCvGs.js → LabeledDocumentField-DwPfHt2N-rSrQz57g.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-DVpl5xDS-Cgycxf7w.js → LabeledDropDownFormattedTextField-BFT3G777-BsOgj8n2.js} +1 -1
  95. package/dist/assets/{LabeledText-Bh0yT3Im-CGnAA5jy.js → LabeledText-nWCZBDTc-C9SVi_iV.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BUnYKsCe-BXR8v1rg.js → LabeledUserSingleSelectWithSubtitlesField-B5USvGOt-C0Rd0eYT.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-DDI--owW-B2vBWQb7.js → LabeledZeniRolesDropDownField-CFKa2QEv-kq16r6NO.js} +13 -13
  98. package/dist/assets/{LinkJETransactionPage-CwWxFQ2H-DNpsHecn.js → LinkJETransactionPage-C1nuQ_6i-CyK7Wga_.js} +2 -2
  99. package/dist/assets/{LockCardPage-CJkV6ysY-BAV5eLFm.js → LockCardPage-s_PD9AzH-s3h7PN-R.js} +10 -10
  100. package/dist/assets/{LowBalancePopup-D71Zsfq0-D5b8Ey78.js → LowBalancePopup-C3XwZy2N-CiNVfO8z.js} +1 -1
  101. package/dist/assets/{MagicLinkACHDetailsPage-BJhcJDWh-vsvfZFnN.js → MagicLinkACHDetailsPage-CAcRKnmW-BgyBZ6s3.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CVw_s4RE-D_uWNxnV.js → MagicLinkDomesticWireDetailsPage-BYmO4Xr9-CGhpWO66.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-YJcoCRGa-DXj0PDqc.js → MagicLinkInternationalWireDetailsPage-BfVzS_Di-TeD5sFaU.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-CYWtLwIi-B45whrsj.js → MagicLinkSuccessPage-CAnSgQhj-C5wC1vo0.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-CBJhLYep-C4Sldvxh.js → MagicLinkTitleSection-cO3EG-gp-BIrRsD_t.js} +1 -1
  106. package/dist/assets/{MailingDetailsSection-DORVqAiE-7U8d_gxN.js → MailingDetailsSection-DgN7ACVL-BU_sDZYM.js} +1 -1
  107. package/dist/assets/{MeetingCalenderPopup-D0VbYngz-EoEJjJLo.js → MeetingCalenderPopup-C1bMV1I3-DBaPSnGq.js} +1 -1
  108. package/dist/assets/{Menu-zzMDzWAx-BhEPeUoy.js → Menu-C-o9HER2-D5q1mW8f.js} +1 -1
  109. package/dist/assets/{MyBankConnectionsSettingsPage-ihy6zUnu-B3Q1ZzAI.js → MyBankConnectionsSettingsPage-DiJHbt8A-DqapM7vm.js} +1 -1
  110. package/dist/assets/{MyPendingActivationChargeCardListPage-vhfeCKov-ClMISBZ6.js → MyPendingActivationChargeCardListPage-CAH07oE4-CgBbGkED.js} +1 -1
  111. package/dist/assets/{MyProfileSettingsPage-lp4IKo27-ikYPBu9v.js → MyProfileSettingsPage-CWWb3u86-CBtfB4gW.js} +5 -5
  112. package/dist/assets/{NavBarWithPicker-COuFs35P-99FdwD7I.js → NavBarWithPicker-BswkyMmW-cQa2dvHa.js} +1 -1
  113. package/dist/assets/{NavigationArrow--lHvj0n6-ChTJ-27l.js → NavigationArrow-cWkaAVwE-BjtSKPvG.js} +1 -1
  114. package/dist/assets/{NavigationDots-BqJZIX4o-D_E3I3ks.js → NavigationDots-DDGYTuFE-BeWXaAY8.js} +1 -1
  115. package/dist/assets/{NewGlobalMerchantPage-DA_fIGYM-Bldj0tl1.js → NewGlobalMerchantPage-VAYeGHLy-CSl4x7Ux.js} +2 -2
  116. package/dist/assets/{NoDataChart-DSOEISJ1-BRyG1m3m.js → NoDataChart-DOvXvjb9-v-09guTZ.js} +1 -1
  117. package/dist/assets/{NoDataTable-DhVmw5ma-BHfgq8uZ.js → NoDataTable-DRlkLFHY-xjLa4o8y.js} +2 -2
  118. package/dist/assets/{NotFoundPage-B4bGryhw-BH0XIaGj.js → NotFoundPage-BUQyPFn7-BMBYf8M4.js} +1 -1
  119. package/dist/assets/{NotificationSettingsPage-gCBu3j55-CnVhMrv3.js → NotificationSettingsPage-B1KXf_X_--eK-MD2V.js} +22 -22
  120. package/dist/assets/{NotificationsListConfig-DLgtrP5h-29avtQ2O.js → NotificationsListConfig-BoGND2x4-YVD5PFCu.js} +1 -1
  121. package/dist/assets/{NotificationsPage-BXy1enuF-DXJSJEAz.js → NotificationsPage-CsXXgLel-DjWMDFMU.js} +24 -24
  122. package/dist/assets/{OpExByVendorPage-Bb3vL3sf-C_r44cwK.js → OpExByVendorPage-BnJYy01U-CLIBojo-.js} +5 -5
  123. package/dist/assets/{OverlayContainerPage-BrLfNEnQ-DtRXXtzZ.js → OverlayContainerPage-BKHs_4eI-D7QJnRfx.js} +1 -1
  124. package/dist/assets/{PandLWithForecastPage-BQt32zZJ-CfQfPZc_.js → PandLWithForecastPage-o-jbKy2e-C3ps-DTA.js} +2 -2
  125. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Cx2jy54e-C6pkNxKw.js → PaymentAccountSetupBillingAddressSection-De5SXBpI-DsGHWie5.js} +1 -1
  126. package/dist/assets/{PeoplePage-BWG9sQ9v-DpGPlS6G.js → PeoplePage-DQ6Hff1k-Ctss-oGf.js} +8 -8
  127. package/dist/assets/{PortfolioAllocationFormPage-BJAPIxWv-Cqlu6p68.js → PortfolioAllocationFormPage-V0wgI9Ce-Byk1mL3R.js} +1 -1
  128. package/dist/assets/{PortfolioDetails-DoI4pTD_-DdERpDR5.js → PortfolioDetails-CD5ZpbUI-CfC8RDVa.js} +4 -4
  129. package/dist/assets/{ProductsCarousel-DGGfz4_a-BhACSCUy.js → ProductsCarousel-V_jWJEER-D24dcvyt.js} +4 -4
  130. package/dist/assets/{PromoBaseCards-DxDHh6Sf-CmUUQlbZ.js → PromoBaseCards-BAFdMFqw-DEK2bZlE.js} +1 -1
  131. package/dist/assets/{QBOConnectionDialog-CBbLFCLO-BAbmdQTk.js → QBOConnectionDialog-DKpO649n-B6_Kc8GW.js} +2 -2
  132. package/dist/assets/{QBOSetupSection-BD6x-nzK-C5CSYU9G.js → QBOSetupSection-D0ZCB5UD-Cl7hjSJK.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BmvV8Ifw-CRYWBIXz.js → ReimbursementApprovalRuleDetailPage-DNt15Ut8-CvzV-Ew0.js} +1 -1
  134. package/dist/assets/{ReimbursementApprovalRulesPage-CnOuFzeO-DZFs0-RQ.js → ReimbursementApprovalRulesPage-Brx7wunO-CmtJNp7d.js} +1 -1
  135. package/dist/assets/{ReimbursementDetailPage-Dw6j2ZcJ-DB22baPI.js → ReimbursementDetailPage-DX_Fn31o-BfotdQuY.js} +3 -3
  136. package/dist/assets/{ReimbursementPromoPage-DzxGbcjy-ekqvOCry.js → ReimbursementPromoPage-CkEv6rCJ-9jexXpR8.js} +1 -1
  137. package/dist/assets/{ReimbursementSetUpPage-BoDK6DOm-DOACLw31.js → ReimbursementSetUpPage-CFO-blEl-Cs09UtRs.js} +1 -1
  138. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CoSscNbH-CqUGSRK5.js → ReimbursementsBulkReviewDrawerPage-B-IcycaW-CSDGBoIN.js} +1 -1
  139. package/dist/assets/{ReloadCard-BPCFd809-BXVlNZh0.js → ReloadCard-DrU5ZC4a-DUG927nK.js} +3 -3
  140. package/dist/assets/{ReportTableViewSelector-BnLGR9VK-C7kD1IuF.js → ReportTableViewSelector-oB74PECo-ByHpctQ-.js} +5 -5
  141. package/dist/assets/{ReportsPage-BPb-sDjn-BERagCWh.js → ReportsPage-D0Psj2SZ-BuCtWHsX.js} +1 -1
  142. package/dist/assets/{RevenueChart-zxxx05sN-Cm4FnBpl.js → RevenueChart-Bnc2RxbY-D-b73Jp0.js} +1 -1
  143. package/dist/assets/{ReviewDetailsPage-DZLJPIgR-C5cOpPse.js → ReviewDetailsPage-E4-dpZ3_-BirqasoD.js} +11 -11
  144. package/dist/assets/{ReviewOverlay-NJ6nGY7h-DsyNuFv0.js → ReviewOverlay-C9hLAPaS-CC8EN_X1.js} +3 -3
  145. package/dist/assets/{RoleWithToolTip-CbteBKK0-p5nT0lGF.js → RoleWithToolTip-BdIHsErU-B421SxNc.js} +2 -2
  146. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CI0cSsHZ-C15-An3B.js → ScheduleDetailsFixedAssetsPage-DCrTdK6_-DlmUyg8r.js} +8 -8
  147. package/dist/assets/{ScheduleDetailsPage-Dvz-N1Ef-BRxKKM8G.js → ScheduleDetailsPage-BNVBIY34-C9SHkuNO.js} +3 -3
  148. package/dist/assets/{ScheduleSequenceTable-BXVk4s8I-BNF_G639.js → ScheduleSequenceTable-DeLVkslS-C15n76pT.js} +21 -21
  149. package/dist/assets/{ScreenRoutes-Dfx6aVf7.js → ScreenRoutes-C5AUDOTH.js} +1 -1
  150. package/dist/assets/{SetUpAccountSection-CTYEuPmn-DvMV6F9U.js → SetUpAccountSection-XaB8Huky-BnLG2flz.js} +7 -7
  151. package/dist/assets/{SetUpDefaultSection-BGTFeT8O-D_Fu7Zg8.js → SetUpDefaultSection-Dko6eOr--DSAIqPKL.js} +4 -4
  152. package/dist/assets/{SignIn-LLAeWUoT-miAZjkaL.js → SignIn-BKZ0UqXu-CQQAQGhJ.js} +8 -8
  153. package/dist/assets/SignInScreen-_7s87q7V.js +1 -0
  154. package/dist/assets/{SpendManagementListViewPage-jG_WgFpn-C1IFGQox.js → SpendManagementListViewPage-Crlns-YT-CLQMoQch.js} +3 -3
  155. package/dist/assets/{SpendManagementPerTabPage-Bz41RGIx-BefnrXCn.js → SpendManagementPerTabPage-YjfDDwP4-BZ31j83o.js} +25 -25
  156. package/dist/assets/{SpendManagementSection-DTeMqeYV-zz4CjOye.js → SpendManagementSection-D8lfWWWV-43vrbIvO.js} +7 -7
  157. package/dist/assets/{SpendMgmtSetupAccountSection-D85QuYJt-BdIlh7ke.js → SpendMgmtSetupAccountSection-C7WofOL3-C_mHdj1H.js} +4 -4
  158. package/dist/assets/{StatementItem-BSATXHJB-ByBJTNxj.js → StatementItem-CpZ-MDHo-Db04ym8p.js} +2 -2
  159. package/dist/assets/{StatementsPage-Cilcvkfh-Dm86iyxf.js → StatementsPage-BbO8PdHq-CoyYvllE.js} +1 -1
  160. package/dist/assets/{StatusSwitcher-BaLsxdNP-CMSUPFP-.js → StatusSwitcher-DW-Q6MLD-CxdXHbCg.js} +1 -1
  161. package/dist/assets/{SubTabSwitcher-WdDGXrOI-C13svPXp.js → SubTabSwitcher-BgmKYyVl-CY4zKZFC.js} +1 -1
  162. package/dist/assets/{SummaryCard-C2itijQz-D3xfRrx_.js → SummaryCard-V7fE0ql0--g0gbjUo.js} +1 -1
  163. package/dist/assets/{TaskManagementPage-BbqI__cp-DJ79wyDv.js → TaskManagementPage-D8UAfCaw-BnMxrHh5.js} +1 -1
  164. package/dist/assets/{TimeRangeSwitcher-Cf_BfhIm-DR8lal1k.js → TimeRangeSwitcher-BRY0oixp-B_RoHkbN.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcher-CruyaJut-2eja8_NG.js → TimeframeSwitcher-DIg8e-x0-2kFxMkvp.js} +1 -1
  166. package/dist/assets/{TimeframeSwitcherWithToggle-DO4ep62x-CnhBC1y8.js → TimeframeSwitcherWithToggle-utawMrzT-Bill4UcO.js} +1 -1
  167. package/dist/assets/{TopExCard-XUn6sL9W-DDOaA3Nc.js → TopExCard-C2AE49xP-BraB7eP7.js} +5 -5
  168. package/dist/assets/{TopExDetailPage-CWoayFBt-CBS_5zyK.js → TopExDetailPage-rA6jQ_FN-D6TDt_SY.js} +1 -1
  169. package/dist/assets/{TransactionDetailPage-CrNH7YTo-BwWmhCSj.js → TransactionDetailPage-r-DU5f0M-iBWQv_cT.js} +1 -1
  170. package/dist/assets/{TransactionList-pGKuZF_E-BO5jlPf0.js → TransactionList-N7P-LryH--lfm65bH.js} +6 -6
  171. package/dist/assets/{TransactionListBig-DFEV7UDV-Cl1V2g-R.js → TransactionListBig-cTDebILS-CtjpsP8i.js} +5 -5
  172. package/dist/assets/{TransactionListPage-Bfx7EBZK-CmtgKonv.js → TransactionListPage-DWfOgmyP-x0LIfwop.js} +2 -2
  173. package/dist/assets/{TransactionVendorDetailPage-BBJskI5a-CiilcEg5.js → TransactionVendorDetailPage-X0hlTlLK-B1OvnXkf.js} +3 -3
  174. package/dist/assets/{TransferDrawerPage-COAWCKKv-C4A-Uao2.js → TransferDrawerPage-BGdlNOXt-BVJKKJ3s.js} +12 -12
  175. package/dist/assets/{TreasuryOverviewPage-Dstradlf-DFzBKsAL.js → TreasuryOverviewPage-DLqZCVMi-CmlFguUG.js} +15 -15
  176. package/dist/assets/{TreasuryPromoPage-BAF_6DTP-DohOLuw_.js → TreasuryPromoPage-DbzfXlgw-Cnr9zUw4.js} +1 -1
  177. package/dist/assets/{TreasurySetupPage-ULbvKCHi-UXD-yKhe.js → TreasurySetupPage-D9GxfZ9F-A-ZWAnnz.js} +4 -4
  178. package/dist/assets/{TreasuryStatementsPage-tYACEzfr-ClpV3pbG.js → TreasuryStatementsPage-DLi_sZPF-BwcPosXZ.js} +1 -1
  179. package/dist/assets/{TreasuryTaxLetterPage-y9VGn6Kd-CVtuOJjk.js → TreasuryTaxLetterPage-DT9qtjBD-BRXBc7C_.js} +1 -1
  180. package/dist/assets/{TreasuryTransferOrReviewPage-1R-Tpf0D-CY0RFI-X.js → TreasuryTransferOrReviewPage-Bwmdvxcf-BC7BjXMz.js} +13 -13
  181. package/dist/assets/{TrendChart-DU8aYk6T-0RxEqLMT.js → TrendChart-PEPDz5Rb-C5_CXK8K.js} +1 -1
  182. package/dist/assets/{TrendWithTransactions-7Bl8sLmX-DCyxRBrl.js → TrendWithTransactions-D0kwx2QH-C1njpMfG.js} +1 -1
  183. package/dist/assets/{UncategorizedAccountsMappingPage-Gr1qc8i--DXdUBHSm.js → UncategorizedAccountsMappingPage-B_m-aQN1-BdI8jrrw.js} +1 -1
  184. package/dist/assets/{UnitIntegrationPage-CwC_1hL5-4fVo1nwo.js → UnitIntegrationPage-D_I3woOf-BdB9dVUS.js} +1 -1
  185. package/dist/assets/{UploadAdditionalDocumentOverlay-hYNltxtK-D7Eee9EC.js → UploadAdditionalDocumentOverlay-BzWXbm7_-BYxLpWvz.js} +1 -1
  186. package/dist/assets/Vendor2FAPopup-ZhMUe2XG-CMbLzdmx.js +1 -0
  187. package/dist/assets/{VendorACHDetailsPage-Ch-iIpUC-3hfx5ELo.js → VendorACHDetailsPage-BxSB3e3f-NKMZBQ_S.js} +1 -1
  188. package/dist/assets/{VendorDetailPage-ohiZDwm--BJjKnAlv.js → VendorDetailPage-Cil4QKpo-OKzerEoj.js} +6 -6
  189. package/dist/assets/{VendorDomesticWireDetailsPage-8TmwvhKP-zJgrYm0u.js → VendorDomesticWireDetailsPage-t9rrf_8I-BW4LvYLe.js} +1 -1
  190. package/dist/assets/{VendorFiling1099EditablePage-yFiavbUf-DdVl9DsZ.js → VendorFiling1099EditablePage-CVvvZInI-CbWeL7rE.js} +8 -8
  191. package/dist/assets/{VendorFirstReviewPage-dj4aCCN9-DnXzK7po.js → VendorFirstReviewPage-CEhcXzDq-CF9AIieN.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireDetailsPage-ByXcCXv_-B0xuKP0a.js → VendorInternationalWireDetailsPage-BuII-Mam-BGd0kiN2.js} +1 -1
  193. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DAyNEbsl-CU1orWTi.js → VendorInternationalWireSwiftDetailsPage-CcVcyWBe-D99dYtWX.js} +1 -1
  194. package/dist/assets/{VendorsAccountsSection-DnSGha16-7yVFhYRi.js → VendorsAccountsSection-DH0mosVk-JqDhMB4O.js} +4 -4
  195. package/dist/assets/{VerifyDevice-BBBULKLB-BO3-RG1G.js → VerifyDevice-BWzESmW--BKst56S-.js} +3 -3
  196. package/dist/assets/{VideoPlayer-C0i41Zuk-BL6spwB4.js → VideoPlayer-DPXISthv-iABqInol.js} +1 -1
  197. package/dist/assets/{VideoPopup-Jj9p1HIu-CBMGNdSB.js → VideoPopup-B2pu7j6O-DcAtt4hw.js} +1 -1
  198. package/dist/assets/{WarningsDrawerPage-CdCU2j59-VpBYiOrf.js → WarningsDrawerPage-DQjc5yVp-RGVHjaxW.js} +1 -1
  199. package/dist/assets/{ZeniAccountDetailPage-Bju_R-ik-DYS4sePy.js → ZeniAccountDetailPage-CI2TQILk-PuWbEnGQ.js} +5 -5
  200. package/dist/assets/{ZeniAccountListViewPage-jL8A4qyH-CkU3NsUj.js → ZeniAccountListViewPage-DjhscUyw-7icktWUA.js} +1 -1
  201. package/dist/assets/{ZeniAccountNavBarPieces-De_UZBsT-hNz1MEw2.js → ZeniAccountNavBarPieces-BMOxM3Ul-612xJvF6.js} +2 -2
  202. package/dist/assets/{ZeniAccountPromoPage-CIcSDObv-OKXlN6LP.js → ZeniAccountPromoPage-CoegRWXG-DicGPTSL.js} +1 -1
  203. package/dist/assets/{ZeniAccountSetupPage-CTbzpjJj-DfRBnars.js → ZeniAccountSetupPage-l8SdQK7w-BdI_dgyM.js} +1 -1
  204. package/dist/assets/{ZeniCopyright-DB0JLj9H-BchGVknP.js → ZeniCopyright-CrpLjMla-DvRGZGQ9.js} +1 -1
  205. package/dist/assets/{ZeniTransferAmountSlider-DJVsS5eH-BF-y6DVO.js → ZeniTransferAmountSlider-oZNLHFd5-PDQERkPa.js} +1 -1
  206. package/dist/assets/{analyticsHelper-Cm-ieQCq-D2OImP6c.js → analyticsHelper-ColsUhUK-vardy7WR.js} +1 -1
  207. package/dist/assets/analyticsHelper-mfWw4TCX.js +1 -0
  208. package/dist/assets/{chartTypes-EwvhwNDm-B9EXxabr.js → chartTypes-BFE_S1PL-DOHRtqWo.js} +1 -1
  209. package/dist/assets/{commonDimensions-BZCGGQoy-CVw0gBVb.js → commonDimensions-Dq7P0AE6-Cdz-7EJl.js} +1 -1
  210. package/dist/assets/{detailCommon-DDswqmik-BKTv98rp.js → detailCommon-DSe7Tzn3-C15dhIqY.js} +1 -1
  211. package/dist/assets/{downloadPdf-CciwIsfm-CuoHObWO.js → downloadPdf-D3hiuG-R-CfWEq2eL.js} +1 -1
  212. package/dist/assets/{index-Br0YAYA1.js → index-D94hlokH.js} +1739 -1723
  213. package/dist/assets/{mapLoadingInProgressToTreeNode-CbGIZpqG-_mjToGt1.js → mapLoadingInProgressToTreeNode-COnUyXAf-oqBOjgHh.js} +1 -1
  214. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CciNEekz-BHzcLmnX.js → mapSectionWithAcOnlyToTreeNode-CDE8V8lh-9J1CJPJ0.js} +1 -1
  215. package/dist/assets/{mapSpacerToTreeNode-CaxnaiNo-DP143onx.js → mapSpacerToTreeNode-Ljk42Rtu-DPJWdE3q.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-CCF4BUu8-BqE66ms1.js → mapTimeframeBalancesToTreeNode-B64chWyJ-CiceKmAm.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-CWIj_WPE-jdyQ_pan.js → mapTimeframeBalancesToTreeNode-Cv95aY-B-VNSYZVhm.js} +1 -1
  218. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-di2rIbe4-udnIWnA4.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DFgAA2si-DqUkzVrn.js} +1 -1
  219. package/dist/assets/{toCOABalancesWithID-C9VOXlrh-Dap2mlt9.js → toCOABalancesWithID-BK1XA0gz-D3HM3wW9.js} +1 -1
  220. package/dist/assets/{toChartData-BLq2H3bZ-CBQEOyFd.js → toChartData-D7n7RyVD-Ugd_lC5Y.js} +1 -1
  221. package/dist/assets/{treasuryColorHelper-D0_0sxVf-CgsgSvlS.js → treasuryColorHelper-tTPJnd8d-BU6MV_k4.js} +1 -1
  222. package/dist/assets/{uploadAttachment-yuvL3wSZ-P-sp9RWI.js → uploadAttachment-By_eR78P-BWtANd19.js} +7 -7
  223. package/dist/assets/{uploadReceipts-TOfVnojh-DvrYHWI2.js → uploadReceipts-Dp1dvCjf-DS6AgWc1.js} +1 -1
  224. package/dist/index.html +1 -1
  225. package/package.json +3 -3
  226. package/dist/assets/CustomerOnboardingContainerPage-CB4kgvEy-CTD5YJ4E.js +0 -1
  227. package/dist/assets/ExpenseAutomationPage-DcHGcUEF-rZuDWMUB.js +0 -1650
  228. package/dist/assets/SignInScreen-DW0RMbRA.js +0 -1
  229. package/dist/assets/Vendor2FAPopup-BZTBxggE-BHWQlDVb.js +0 -1
  230. package/dist/assets/analyticsHelper-oyc7zIiw.js +0 -1
@@ -1,4 +1,4 @@
1
- import{q as F,aa as I,O as S,cS as W,j as n,cD as H,cE as O,cF as V,ad as _,aQ as q,y as s,fa as Q,b6 as U,o as G,u as t}from"./index-Br0YAYA1.js";import{b as x,n as d}from"./vendor-Bs1fkIUX.js";import{W as J,F as K}from"./BankAccountWarningSection-BdaOg4id-C1Pi16BF.js";import{M as X}from"./MagicLinkTitleSection-CBJhLYep-C4Sldvxh.js";import{e as Y}from"./BankAccountSection-CUxk0Njy-CWB3LBLP.js";const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},N="achDetailsPage",b="bankAccountSection",j=e=>`${e}_form`,de=({bankAccountCreationState:e,bankAccountToCreate:f,fetchBankNameByRoutingStatus:k,isDisabled:y,style:v,onSaveHandler:A,onBackClick:g,onACHDetailsUpdated:B,onFetchBankName:T,isMagicLink:u,companyName:w,currencySymbol:D,amount:P,bankAccountContext:$})=>{const r=F(),i=I({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(f),[f])}),[z,m]=x.useState(!1),c=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,R=S.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:h}=c,L={onOkClick:()=>{m(!1),i.reset(),g?.()},onCancelClick:()=>{m(!1)}},M=async(p,l)=>{const o=l[b].bankRoutingNumber;B(l),p===`${b}.bankRoutingNumber`&&o?.length===9&&Q.test(o)===!0&&T?.(o)};x.useEffect(()=>{const p=i.watch((l,{name:o})=>{o!=null&&l!=null&&W(()=>M(o,l))});return()=>{p.unsubscribe()}});const E=i.handleSubmit(p=>{k.fetchState!=="In-Progress"&&A("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:v,size:r,children:[z===!0?n.jsx(H,{titleComponent:n.jsx(V,{children:c.discardTitle}),descriptionComponent:n.jsx(O,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:L}):null,n.jsx(J,{header:u?n.jsx(X,{companyName:w??"",currencySymbol:D??"",amount:P??0}):C.addACHDetails,isMagicLink:u,isDirty:i.formState.isDirty,onBackClick:g,setShowConfirmationPopup:m}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(K,{warningText:h.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:r,children:C.title}),n.jsx(ie,{children:n.jsx(_,{...i,children:n.jsx("form",{id:j(N),onSubmit:E,children:n.jsx(ee,{size:r,children:n.jsx(Y,{bankAccountToCreate:f,fetchBankNameByRoutingStatus:k,sectionId:b,isDisabled:y})})})})})]}),n.jsx(q,{formId:j(N),primaryBtn:{label:u?h.submitDetails:h.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:y!=null},showCancel:!u,cancelBtn:{label:R.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?m(!0):(i.reset(),g?.())}}})]})},Z=e=>({[b]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=d.div`
1
+ import{q as F,aa as I,O as S,cS as W,j as n,cD as H,cE as O,cF as V,ad as _,aQ as q,y as s,fa as Q,b6 as U,o as G,u as t}from"./index-D94hlokH.js";import{b as x,n as d}from"./vendor-Bs1fkIUX.js";import{W as J,F as K}from"./BankAccountWarningSection-lNbSkw5--D5G2vsMX.js";import{M as X}from"./MagicLinkTitleSection-cO3EG-gp-BIrRsD_t.js";import{e as Y}from"./BankAccountSection-BroWfNc_-CvTo199_.js";const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},N="achDetailsPage",b="bankAccountSection",j=e=>`${e}_form`,de=({bankAccountCreationState:e,bankAccountToCreate:f,fetchBankNameByRoutingStatus:k,isDisabled:y,style:v,onSaveHandler:A,onBackClick:g,onACHDetailsUpdated:B,onFetchBankName:T,isMagicLink:u,companyName:w,currencySymbol:D,amount:P,bankAccountContext:$})=>{const r=F(),i=I({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(f),[f])}),[z,m]=x.useState(!1),c=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,R=S.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:h}=c,L={onOkClick:()=>{m(!1),i.reset(),g?.()},onCancelClick:()=>{m(!1)}},M=async(p,l)=>{const o=l[b].bankRoutingNumber;B(l),p===`${b}.bankRoutingNumber`&&o?.length===9&&Q.test(o)===!0&&T?.(o)};x.useEffect(()=>{const p=i.watch((l,{name:o})=>{o!=null&&l!=null&&W(()=>M(o,l))});return()=>{p.unsubscribe()}});const E=i.handleSubmit(p=>{k.fetchState!=="In-Progress"&&A("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:v,size:r,children:[z===!0?n.jsx(H,{titleComponent:n.jsx(V,{children:c.discardTitle}),descriptionComponent:n.jsx(O,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:L}):null,n.jsx(J,{header:u?n.jsx(X,{companyName:w??"",currencySymbol:D??"",amount:P??0}):C.addACHDetails,isMagicLink:u,isDirty:i.formState.isDirty,onBackClick:g,setShowConfirmationPopup:m}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(K,{warningText:h.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:r,children:C.title}),n.jsx(ie,{children:n.jsx(_,{...i,children:n.jsx("form",{id:j(N),onSubmit:E,children:n.jsx(ee,{size:r,children:n.jsx(Y,{bankAccountToCreate:f,fetchBankNameByRoutingStatus:k,sectionId:b,isDisabled:y})})})})})]}),n.jsx(q,{formId:j(N),primaryBtn:{label:u?h.submitDetails:h.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:y!=null},showCancel:!u,cancelBtn:{label:R.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?m(!0):(i.reset(),g?.())}}})]})},Z=e=>({[b]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=d.div`
2
2
  padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
3
3
  padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
4
4
  padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{y as u,a9 as w1,q as M,O as j,l as k,cr as M1,j as r,aM as y1,c5 as j1,o,k4 as H,C as _,cy as $1,u as n,b_ as L,dL as d1,h as d,a8 as v1,b3 as c1,be as h1,bh as p1,bg as G,c as m1,bR as S1,bS as b1,bf as Q,k5 as f,ai as g,k6 as Z1,k7 as B1,as as b,_ as J,b6 as K,an as W1,k8 as F1,e4 as D1,gd as _1,cw as u1,am as P1}from"./index-Br0YAYA1.js";import{b as t,n as i,i as T1,k as H1}from"./vendor-Bs1fkIUX.js";import{R as z1}from"./NavBarWithPicker-COuFs35P-99FdwD7I.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const e1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},V1=i.div`
1
+ import{y as u,a9 as w1,q as M,O as j,l as k,cr as M1,j as r,aM as y1,c5 as j1,o,k4 as H,C as _,cy as $1,u as n,b_ as L,dL as d1,h as d,a8 as v1,b3 as c1,be as h1,bh as p1,bg as N,d as m1,bR as S1,bS as b1,bf as Q,k5 as f,ai as g,k6 as Z1,k7 as B1,as as b,_ as J,b6 as K,an as W1,k8 as F1,e4 as D1,gd as _1,cw as u1,am as P1}from"./index-D94hlokH.js";import{b as t,n as i,i as T1,k as H1}from"./vendor-Bs1fkIUX.js";import{R as z1}from"./NavBarWithPicker-BswkyMmW-cQa2dvHa.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const e1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},V1=i.div`
2
2
  width: 100%;
3
3
  height: 100%;
4
4
  border: 1px solid ${e=>e.theme.colors.grey3};
@@ -17,7 +17,7 @@ import{y as u,a9 as w1,q as M,O as j,l as k,cr as M1,j as r,aM as y1,c5 as j1,o,
17
17
  display: flex;
18
18
  flex-direction: column;
19
19
  gap: ${o.sp2};
20
- `,A1=({customStyle:e})=>{const s=M();return r.jsx(V1,{style:e,children:r.jsxs(R1,{children:[r.jsxs(O1,{children:[r.jsx(L,{width:e1.titleLoaderWidth.value(s),height:n[4]}),r.jsx(L,{width:e1.subtitleLoaderWidth.value(s),height:21})]}),r.jsx(L,{width:n[7],height:n[4]})]})})},N1=i.div`
20
+ `,A1=({customStyle:e})=>{const s=M();return r.jsx(V1,{style:e,children:r.jsxs(R1,{children:[r.jsxs(O1,{children:[r.jsx(L,{width:e1.titleLoaderWidth.value(s),height:n[4]}),r.jsx(L,{width:e1.subtitleLoaderWidth.value(s),height:21})]}),r.jsx(L,{width:n[7],height:n[4]})]})})},G1=i.div`
21
21
  display: flex;
22
22
  justify-content: space-between;
23
23
  // min-width: calc(${o.sp12} + ${o.sp12});
@@ -28,11 +28,11 @@ import{y as u,a9 as w1,q as M,O as j,l as k,cr as M1,j as r,aM as y1,c5 as j1,o,
28
28
  box-shadow: ${e=>e.theme.colors.elevation1};
29
29
  padding: ${o.sp4};
30
30
  background-color: ${e=>e.theme.colors.grey5};
31
- `,G1=i.div`
31
+ `,N1=i.div`
32
32
  display: flex;
33
33
  flex-direction: column;
34
34
  gap: ${o.sp2};
35
- `,t1=({customStyle:e})=>r.jsxs(N1,{style:{...e},children:[r.jsxs(G1,{children:[r.jsx(L,{width:150,height:24}),r.jsx(L,{width:245,height:21})]}),r.jsx(d1,{width:32,height:32})]}),I1=i.div`
35
+ `,t1=({customStyle:e})=>r.jsxs(G1,{style:{...e},children:[r.jsxs(N1,{children:[r.jsx(L,{width:150,height:24}),r.jsx(L,{width:245,height:21})]}),r.jsx(d1,{width:32,height:32})]}),I1=i.div`
36
36
  width: 100%;
37
37
  border: 1px solid ${e=>e.theme.colors.grey3};
38
38
  border-radius: ${o.sp2};
@@ -62,15 +62,15 @@ import{y as u,a9 as w1,q as M,O as j,l as k,cr as M1,j as r,aM as y1,c5 as j1,o,
62
62
  &:last-of-type {
63
63
  border-bottom: none;
64
64
  }
65
- `,X1=i.div`
65
+ `,q1=i.div`
66
66
  display: flex;
67
67
  align-items: center;
68
68
  gap: ${o.sp4};
69
- `,q1=i.div`
69
+ `,X1=i.div`
70
70
  display: flex;
71
71
  flex-direction: column;
72
72
  gap: ${o.sp1};
73
- `,Q1=({customStyle:e})=>r.jsxs(I1,{style:e,children:[r.jsx(U1,{children:r.jsxs(J1,{children:[r.jsx(L,{width:180,height:n[4]}),r.jsx(L,{width:300,height:21})]})}),r.jsx(K1,{children:[...Array(3)].map((s,a)=>r.jsxs(Y1,{children:[r.jsxs(X1,{children:[r.jsx(d1,{width:n[6],height:n[6]}),r.jsxs(q1,{children:[r.jsx(L,{width:120,height:18}),r.jsx(L,{width:n[11],height:n[3]})]})]}),r.jsx(L,{width:n[11],height:18}),r.jsx(L,{width:n[11],height:18})]},a))})]}),e2={containerMarginLeft:new u(0,0,n[9],n[9],n[9])},t2=i.div`
73
+ `,Q1=({customStyle:e})=>r.jsxs(I1,{style:e,children:[r.jsx(U1,{children:r.jsxs(J1,{children:[r.jsx(L,{width:180,height:n[4]}),r.jsx(L,{width:300,height:21})]})}),r.jsx(K1,{children:[...Array(3)].map((s,a)=>r.jsxs(Y1,{children:[r.jsxs(q1,{children:[r.jsx(d1,{width:n[6],height:n[6]}),r.jsxs(X1,{children:[r.jsx(L,{width:120,height:18}),r.jsx(L,{width:n[11],height:n[3]})]})]}),r.jsx(L,{width:n[11],height:18}),r.jsx(L,{width:n[11],height:18})]},a))})]}),e2={containerMarginLeft:new u(0,0,n[9],n[9],n[9])},t2=i.div`
74
74
  display: flex;
75
75
  flex-direction: row;
76
76
  margin-left: ${e=>e2.containerMarginLeft.valuePx(e.windowSize)};
@@ -241,11 +241,11 @@ import{y as u,a9 as w1,q as M,O as j,l as k,cr as M1,j as r,aM as y1,c5 as j1,o,
241
241
  position: relative;
242
242
  background-color: #e0f2fe;
243
243
  height: 100%;
244
- `,A2=i.div``,i1=i.div``,N2=i.div`
244
+ `,A2=i.div``,i1=i.div``,G2=i.div`
245
245
  display: flex;
246
246
  flex-direction: column;
247
247
  gap: ${o.sp1};
248
- `,G2=i(b)`
248
+ `,N2=i(b)`
249
249
  color: ${d.graphColor16Dark};
250
250
  `,I2=i(g)`
251
251
  color: ${e=>e.theme.colors.brandColorOnyx};
@@ -275,11 +275,11 @@ import{y as u,a9 as w1,q as M,O as j,l as k,cr as M1,j as r,aM as y1,c5 as j1,o,
275
275
  font-size: 16px;
276
276
  color: ${e=>e.theme.colors.brandColorOnyx};
277
277
  line-height: 2;
278
- `,X2=i(V2)`
278
+ `,q2=i(V2)`
279
279
  width: ${o.sp4};
280
280
  height: ${o.sp4};
281
281
  color: ${e=>e.theme.colors.brandColorOnyx};
282
- `;function q2({performanceSummary:e,currency:s,isPerformanceReportNotFound:a}){const{common:C,aiPerformanceDashboard:l}=j.getLocalizedStrings(),c=M(),h=v=>Math.round(v/60),p=Z1(e.forecastAnnualSavings.timeSavedMinutes).toFixed(),x=B1(e.forecastAnnualSavings.timeSavedMinutes).toFixed();return r.jsx(R2,{windowSize:c,children:r.jsxs(O2,{windowSize:c,children:[r.jsx(U2,{children:r.jsx(X2,{})}),r.jsxs(A2,{children:[r.jsxs(N2,{children:[r.jsx(G2,{children:l.annualizedImpact.title}),r.jsx(I2,{children:l.annualizedImpact.subtitle})]}),r.jsxs(J2,{isPerformanceReportNotFound:a,windowSize:c,children:[r.jsxs(i1,{children:[r.jsx(g,{style:{color:d.graphColor16Dark},children:l.aiTimeSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(K2,{children:[r.jsxs(F,{children:[Number(h(e.forecastAnnualSavings.timeSavedMinutes).toFixed()).toLocaleString()," "]}),r.jsxs(Y2,{children:[C.timeStrings.hours,C.strings.space,Number(p)<=1?r.jsxs(r.Fragment,{children:[C.strings.openingBrace,x,C.strings.space,Number(x)>1?C.timeStrings.days:C.timeStrings.day,C.strings.closingBrace]}):r.jsxs(r.Fragment,{children:[C.strings.openingBrace,p,C.strings.space,Number(p)<2?C.timeStrings.week:C.timeStrings.weeks,C.strings.closingBrace]})]})]})]}),r.jsxs(i1,{children:[r.jsx(g,{style:{color:d.graphColor16Dark},children:l.aiCostSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(F,{children:[s.currencySymbol,Number(e.forecastAnnualSavings.costSaved.toFixed()).toLocaleString()]})]})]})]})]})})}const Q2=e=>t.createElement("svg",{width:91,height:90,viewBox:"0 0 91 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M80.6 6.30005L9.04999 29.25L24.35 34.2M80.6 6.30005L55.85 55.5751L41.225 40.9501M80.6 6.30005L24.35 34.2M80.6 6.30005L35.825 35.55M35.825 35.55L28.4 46.8001M35.825 35.55L41.225 40.9501M28.4 46.8001L41.225 40.9501M28.4 46.8001L24.35 34.2",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{opacity:.2,d:"M9.95001 30.5999L81.5 7.6499L56.75 56.9249L42.125 42.2999L29.3 48.1499L25.25 35.5499L9.95001 30.5999Z",fill:"#97C3B9"}),t.createElement("path",{d:"M43.0228 60.8666C38.2384 60.8666 34.3667 64.7384 34.3667 69.5227C34.3667 64.7384 30.4843 60.8666 25.7 60.8666C30.4843 60.8666 34.3667 56.9843 34.3667 52.2C34.3667 56.9843 38.2384 60.8666 43.0228 60.8666Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10}),t.createElement("path",{d:"M81.7165 42.6554C78.5503 42.6554 75.9866 45.2276 75.9866 48.4042C75.9866 45.2276 73.4162 42.6554 70.25 42.6554C73.4162 42.6554 75.9866 40.0765 75.9866 36.8999C75.9866 40.0765 78.5503 42.6554 81.7165 42.6554Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M19.4 15.752C17.4119 15.752 15.8021 17.3618 15.8021 19.3499C15.8021 17.3618 14.1881 15.752 12.2 15.752C14.1881 15.752 15.8021 14.138 15.8021 12.1499C15.8021 14.138 17.4119 15.752 19.4 15.752Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M10.2031 58.269C10.5781 57.219 11.6881 54.714 13.1281 53.094",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M16.5034 49.2688C17.2972 48.4859 19.2031 46.5689 21.0822 45.6607",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M9.07801 63.219C9.00301 64.194 9.03301 66.729 9.75301 69.069",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M12.4531 73.344C13.1281 74.169 15.0631 75.999 17.4031 76.719M22.1281 78.294C23.3281 78.444 26.2231 78.744 28.2031 78.744",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M32.9281 78.969H39.0031M43.7281 78.969H50.2531M54.9781 78.969H61.2781",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M66.0031 79.4189C67.2031 79.4189 70.0981 79.5539 72.0781 80.0939",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M76.8031 81.4438C77.9281 81.7438 80.6281 82.6588 82.4281 83.9188",stroke:"#97C3B9",strokeWidth:.9})),e3=i.div`
282
+ `;function X2({performanceSummary:e,currency:s,isPerformanceReportNotFound:a}){const{common:C,aiPerformanceDashboard:l}=j.getLocalizedStrings(),c=M(),h=v=>Math.round(v/60),p=Z1(e.forecastAnnualSavings.timeSavedMinutes).toFixed(),x=B1(e.forecastAnnualSavings.timeSavedMinutes).toFixed();return r.jsx(R2,{windowSize:c,children:r.jsxs(O2,{windowSize:c,children:[r.jsx(U2,{children:r.jsx(q2,{})}),r.jsxs(A2,{children:[r.jsxs(G2,{children:[r.jsx(N2,{children:l.annualizedImpact.title}),r.jsx(I2,{children:l.annualizedImpact.subtitle})]}),r.jsxs(J2,{isPerformanceReportNotFound:a,windowSize:c,children:[r.jsxs(i1,{children:[r.jsx(g,{style:{color:d.graphColor16Dark},children:l.aiTimeSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(K2,{children:[r.jsxs(F,{children:[Number(h(e.forecastAnnualSavings.timeSavedMinutes).toFixed()).toLocaleString()," "]}),r.jsxs(Y2,{children:[C.timeStrings.hours,C.strings.space,Number(p)<=1?r.jsxs(r.Fragment,{children:[C.strings.openingBrace,x,C.strings.space,Number(x)>1?C.timeStrings.days:C.timeStrings.day,C.strings.closingBrace]}):r.jsxs(r.Fragment,{children:[C.strings.openingBrace,p,C.strings.space,Number(p)<2?C.timeStrings.week:C.timeStrings.weeks,C.strings.closingBrace]})]})]})]}),r.jsxs(i1,{children:[r.jsx(g,{style:{color:d.graphColor16Dark},children:l.aiCostSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(F,{children:[s.currencySymbol,Number(e.forecastAnnualSavings.costSaved.toFixed()).toLocaleString()]})]})]})]})]})})}const Q2=e=>t.createElement("svg",{width:91,height:90,viewBox:"0 0 91 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M80.6 6.30005L9.04999 29.25L24.35 34.2M80.6 6.30005L55.85 55.5751L41.225 40.9501M80.6 6.30005L24.35 34.2M80.6 6.30005L35.825 35.55M35.825 35.55L28.4 46.8001M35.825 35.55L41.225 40.9501M28.4 46.8001L41.225 40.9501M28.4 46.8001L24.35 34.2",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{opacity:.2,d:"M9.95001 30.5999L81.5 7.6499L56.75 56.9249L42.125 42.2999L29.3 48.1499L25.25 35.5499L9.95001 30.5999Z",fill:"#97C3B9"}),t.createElement("path",{d:"M43.0228 60.8666C38.2384 60.8666 34.3667 64.7384 34.3667 69.5227C34.3667 64.7384 30.4843 60.8666 25.7 60.8666C30.4843 60.8666 34.3667 56.9843 34.3667 52.2C34.3667 56.9843 38.2384 60.8666 43.0228 60.8666Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10}),t.createElement("path",{d:"M81.7165 42.6554C78.5503 42.6554 75.9866 45.2276 75.9866 48.4042C75.9866 45.2276 73.4162 42.6554 70.25 42.6554C73.4162 42.6554 75.9866 40.0765 75.9866 36.8999C75.9866 40.0765 78.5503 42.6554 81.7165 42.6554Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M19.4 15.752C17.4119 15.752 15.8021 17.3618 15.8021 19.3499C15.8021 17.3618 14.1881 15.752 12.2 15.752C14.1881 15.752 15.8021 14.138 15.8021 12.1499C15.8021 14.138 17.4119 15.752 19.4 15.752Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M10.2031 58.269C10.5781 57.219 11.6881 54.714 13.1281 53.094",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M16.5034 49.2688C17.2972 48.4859 19.2031 46.5689 21.0822 45.6607",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M9.07801 63.219C9.00301 64.194 9.03301 66.729 9.75301 69.069",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M12.4531 73.344C13.1281 74.169 15.0631 75.999 17.4031 76.719M22.1281 78.294C23.3281 78.444 26.2231 78.744 28.2031 78.744",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M32.9281 78.969H39.0031M43.7281 78.969H50.2531M54.9781 78.969H61.2781",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M66.0031 79.4189C67.2031 79.4189 70.0981 79.5539 72.0781 80.0939",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M76.8031 81.4438C77.9281 81.7438 80.6281 82.6588 82.4281 83.9188",stroke:"#97C3B9",strokeWidth:.9})),e3=i.div`
283
283
  display: flex;
284
284
  flex-direction: column;
285
285
  background-color: ${e=>e.theme.colors.grey5};
@@ -341,7 +341,7 @@ import{y as u,a9 as w1,q as M,O as j,l as k,cr as M1,j as r,aM as y1,c5 as j1,o,
341
341
  position: absolute;
342
342
  margin: auto;
343
343
  bottom: ${o.sp5};
344
- `;function x3(e,s){const a=new Date(`${e}-01`),C=new Date(`${s}-01`),l=[];for(;a<=C;){const c=a.toISOString().slice(0,7);l.push({month:c,costSaved:0,timeSavedInMinutes:0}),a.setMonth(a.getMonth()+1)}return l}function g3({selectedTimeSeries:e}){const{dark:s}=v1(),a=M(),C=x3(e.fromMonth,e.toMonth),{aiPerformanceDashboard:l}=j.getLocalizedStrings();return r.jsxs(d3,{windowSize:a,children:[r.jsx(c3,{children:r.jsx(h3,{children:l.chartTitle})}),r.jsxs(p3,{children:[s?r.jsx(k3,{}):r.jsx(u3,{}),r.jsx(m3,{children:r.jsx(c1,{children:({width:c,height:h})=>r.jsxs(h1,{width:c,height:h,data:C,margin:{top:10,right:30,left:0,bottom:0},children:[r.jsx(p1,{dataKey:"month",tickFormatter:p=>new Date(p+"-01").toLocaleString("en-US",{month:"short",year:"2-digit",timeZone:"UTC"}),tickLine:!1,axisLine:!1,tick:{fill:d.neutralGrey1Light,..._.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),r.jsx(G,{hide:!0})]})})})]})]})}const f3=1.2,L3={headerGap:new u(n[3],n[3],n[1],n[1],n[1])},E3=i.div`
344
+ `;function x3(e,s){const a=new Date(`${e}-01`),C=new Date(`${s}-01`),l=[];for(;a<=C;){const c=a.toISOString().slice(0,7);l.push({month:c,costSaved:0,timeSavedInMinutes:0}),a.setMonth(a.getMonth()+1)}return l}function g3({selectedTimeSeries:e}){const{dark:s}=v1(),a=M(),C=x3(e.fromMonth,e.toMonth),{aiPerformanceDashboard:l}=j.getLocalizedStrings();return r.jsxs(d3,{windowSize:a,children:[r.jsx(c3,{children:r.jsx(h3,{children:l.chartTitle})}),r.jsxs(p3,{children:[s?r.jsx(k3,{}):r.jsx(u3,{}),r.jsx(m3,{children:r.jsx(c1,{children:({width:c,height:h})=>r.jsxs(h1,{width:c,height:h,data:C,margin:{top:10,right:30,left:0,bottom:0},children:[r.jsx(p1,{dataKey:"month",tickFormatter:p=>new Date(p+"-01").toLocaleString("en-US",{month:"short",year:"2-digit",timeZone:"UTC"}),tickLine:!1,axisLine:!1,tick:{fill:d.neutralGrey1Light,..._.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),r.jsx(N,{hide:!0})]})})})]})]})}const f3=1.2,L3={headerGap:new u(n[3],n[3],n[1],n[1],n[1])},E3=i.div`
345
345
  width: 192px;
346
346
  background-color: ${e=>e.theme.colors.black};
347
347
  border-radius: ${o.sp1};
@@ -402,7 +402,7 @@ import{y as u,a9 as w1,q as M,O as j,l as k,cr as M1,j as r,aM as y1,c5 as j1,o,
402
402
  border-radius: 2px;
403
403
  `,s1=i(W1)`
404
404
  color: ${e=>e.color};
405
- `,B3=({active:e,payload:s})=>{const a=m1();return(e??!1)&&s&&s.length>0?r.jsx(E3,{children:s.map((C,l)=>{const c=C.name==="costSaved"?"Cost Saved":C.name==="timeSavedInHours"?"Time Saved":C.name,h=C.name==="costSaved"?`$${Number(C.value).toFixed().toLocaleString()}`:C.name==="timeSavedInHours"?`${Number(C.value).toFixed().toLocaleString()} hours`:C.value;return r.jsxs(w3,{style:C.name==="costSaved"?{color:a.colors.brandColorGold}:{color:a.colors.graphColor17},children:[r.jsx(M3,{children:c}),r.jsx(y3,{children:h})]},`tooltip-${l}`)})}):null};function W3({performanceTimeSeries:e}){const s=m1(),a=M(),{aiPerformanceDashboard:C}=j.getLocalizedStrings();return r.jsxs(j3,{children:[r.jsx($3,{windowSize:a,children:r.jsx(v3,{children:C.chartTitle})}),r.jsxs(S3,{children:[r.jsx(b3,{children:r.jsx(c1,{children:({width:l,height:c})=>r.jsxs(h1,{width:l,height:c,data:e,margin:{top:6,right:6,left:6,bottom:6},children:[r.jsxs("defs",{children:[r.jsxs("linearGradient",{id:"colorCost",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:d.brandColorGoldLight,stopOpacity:.7}),r.jsx("stop",{offset:"95%",stopColor:d.brandColorGoldLight,stopOpacity:0})]}),r.jsxs("linearGradient",{id:"colorTime",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:d.graphColor16Dark,stopOpacity:.25}),r.jsx("stop",{offset:"95%",stopColor:d.graphColor16Dark,stopOpacity:0})]})]}),r.jsx(S1,{horizontal:!1,vertical:!1}),r.jsx(p1,{dataKey:"month",tickFormatter:h=>{const[p,x]=h.split("-");return new Date(Number(p),Number(x)-1).toLocaleString("en-US",{month:"short",year:"2-digit"})},tickLine:!1,axisLine:{stroke:s.colors.grey2,strokeWidth:1},tick:{fill:s.colors.hero,..._.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),r.jsx(G,{yAxisId:"left",orientation:"left",hide:!0,domain:[0,"dataMax"]}),r.jsx(G,{yAxisId:"right",orientation:"right",hide:!0,domain:[0,h=>h*f3]}),r.jsx(b1,{cursor:{stroke:s.colors.primary,strokeDasharray:5},content:r.jsx(B3,{})}),r.jsx(Q,{yAxisId:"left",type:"monotone",dataKey:"costSaved",stroke:d.brandColorGold,fillOpacity:1,fill:"url(#colorCost)",strokeWidth:2,activeDot:{r:4,fill:d.neutralGrey5Light,stroke:d.brandColorGold,strokeWidth:2}}),r.jsx(Q,{yAxisId:"right",type:"monotone",dataKey:"timeSavedInHours",stroke:d.graphColor16Dark,fillOpacity:1,fill:"url(#colorTime)",strokeWidth:2,activeDot:{r:4,fill:d.neutralGrey5Light,stroke:d.graphColor16Dark,strokeWidth:2}})]})})}),r.jsxs(Z3,{children:[r.jsxs(C1,{children:[r.jsx(n1,{color:d.brandColorGoldDark}),r.jsx(s1,{color:d.brandColorGoldDark,children:C.aiCostSavedTile.title})]}),r.jsxs(C1,{children:[r.jsx(n1,{color:d.graphColor16Dark}),r.jsx(s1,{color:d.graphColor16Dark,children:C.aiTimeSavedTile.title})]})]})]})]})}const F3=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4887)"},t.createElement("path",{d:"M13.4062 8.71875H11.3981C11.0067 8.71889 10.6267 8.85116 10.3198 9.09415C10.0129 9.33713 9.79705 9.67659 9.70712 10.0576C9.61719 10.4385 9.65849 10.8387 9.82434 11.1933C9.99019 11.5479 10.2709 11.8361 10.6209 12.0112L12.4491 12.9263C12.7991 13.1014 13.0798 13.3896 13.2457 13.7442C13.4115 14.0988 13.4528 14.499 13.3629 14.8799C13.273 15.2609 13.0571 15.6004 12.7502 15.8434C12.4433 16.0863 12.0633 16.2186 11.6719 16.2188H9.65625",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 8.71875V7.3125",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 17.625V16.2188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M22.7812 11.9996C22.7801 11.2484 22.5534 10.5149 22.1305 9.89408C21.7076 9.27326 21.108 8.79376 20.4094 8.51771C20.7107 7.82876 20.7974 7.06494 20.6579 6.326C20.5185 5.58706 20.1594 4.90735 19.6277 4.37562C19.096 3.84389 18.4162 3.48486 17.6773 3.34541C16.9384 3.20596 16.1746 3.29258 15.4856 3.59396C15.2113 2.89391 14.7323 2.29281 14.1112 1.8691C13.49 1.44539 12.7556 1.21875 12.0037 1.21875C11.2518 1.21875 10.5174 1.44539 9.8963 1.8691C9.27518 2.29281 8.79619 2.89391 8.52186 3.59396C7.83291 3.29258 7.06909 3.20596 6.33015 3.34541C5.59122 3.48486 4.9115 3.84389 4.37977 4.37562C3.84804 4.90735 3.48901 5.58706 3.34956 6.326C3.21011 7.06494 3.29673 7.82876 3.59811 8.51771C2.89806 8.79204 2.29696 9.27102 1.87325 9.89215C1.44954 10.5133 1.2229 11.2477 1.2229 11.9996C1.2229 12.7515 1.44954 13.4859 1.87325 14.107C2.29696 14.7281 2.89806 15.2071 3.59811 15.4815C3.29673 16.1704 3.21011 16.9342 3.34956 17.6732C3.48901 18.4121 3.84804 19.0918 4.37977 19.6235C4.9115 20.1553 5.59122 20.5143 6.33015 20.6538C7.06909 20.7932 7.83291 20.7066 8.52186 20.4052C8.79619 21.1053 9.27518 21.7064 9.8963 22.1301C10.5174 22.5538 11.2518 22.7804 12.0037 22.7804C12.7556 22.7804 13.49 22.5538 14.1112 22.1301C14.7323 21.7064 15.2113 21.1053 15.4856 20.4052C16.1746 20.7066 16.9384 20.7932 17.6773 20.6538C18.4162 20.5143 19.096 20.1553 19.6277 19.6235C20.1594 19.0918 20.5185 18.4121 20.6579 17.6732C20.7974 16.9342 20.7107 16.1704 20.4094 15.4815C21.108 15.2054 21.7076 14.7259 22.1305 14.1051C22.5534 13.4843 22.7801 12.7508 22.7812 11.9996Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4887"},t.createElement("rect",{width:24,height:24,fill:"white"})))),U={amountRowMarginTop:new u(n[3],n[3],n[5]),amountRowGap:new u(n[2],n[2],n[4]),tileContainerGap:new u(n[2],n[4],n[4])},D3=i.div`
405
+ `,B3=({active:e,payload:s})=>{const a=m1();return(e??!1)&&s&&s.length>0?r.jsx(E3,{children:s.map((C,l)=>{const c=C.name==="costSaved"?"Cost Saved":C.name==="timeSavedInHours"?"Time Saved":C.name,h=C.name==="costSaved"?`$${Number(C.value).toFixed().toLocaleString()}`:C.name==="timeSavedInHours"?`${Number(C.value).toFixed().toLocaleString()} hours`:C.value;return r.jsxs(w3,{style:C.name==="costSaved"?{color:a.colors.brandColorGold}:{color:a.colors.graphColor17},children:[r.jsx(M3,{children:c}),r.jsx(y3,{children:h})]},`tooltip-${l}`)})}):null};function W3({performanceTimeSeries:e}){const s=m1(),a=M(),{aiPerformanceDashboard:C}=j.getLocalizedStrings();return r.jsxs(j3,{children:[r.jsx($3,{windowSize:a,children:r.jsx(v3,{children:C.chartTitle})}),r.jsxs(S3,{children:[r.jsx(b3,{children:r.jsx(c1,{children:({width:l,height:c})=>r.jsxs(h1,{width:l,height:c,data:e,margin:{top:6,right:6,left:6,bottom:6},children:[r.jsxs("defs",{children:[r.jsxs("linearGradient",{id:"colorCost",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:d.brandColorGoldLight,stopOpacity:.7}),r.jsx("stop",{offset:"95%",stopColor:d.brandColorGoldLight,stopOpacity:0})]}),r.jsxs("linearGradient",{id:"colorTime",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:d.graphColor16Dark,stopOpacity:.25}),r.jsx("stop",{offset:"95%",stopColor:d.graphColor16Dark,stopOpacity:0})]})]}),r.jsx(S1,{horizontal:!1,vertical:!1}),r.jsx(p1,{dataKey:"month",tickFormatter:h=>{const[p,x]=h.split("-");return new Date(Number(p),Number(x)-1).toLocaleString("en-US",{month:"short",year:"2-digit"})},tickLine:!1,axisLine:{stroke:s.colors.grey2,strokeWidth:1},tick:{fill:s.colors.hero,..._.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),r.jsx(N,{yAxisId:"left",orientation:"left",hide:!0,domain:[0,"dataMax"]}),r.jsx(N,{yAxisId:"right",orientation:"right",hide:!0,domain:[0,h=>h*f3]}),r.jsx(b1,{cursor:{stroke:s.colors.primary,strokeDasharray:5},content:r.jsx(B3,{})}),r.jsx(Q,{yAxisId:"left",type:"monotone",dataKey:"costSaved",stroke:d.brandColorGold,fillOpacity:1,fill:"url(#colorCost)",strokeWidth:2,activeDot:{r:4,fill:d.neutralGrey5Light,stroke:d.brandColorGold,strokeWidth:2}}),r.jsx(Q,{yAxisId:"right",type:"monotone",dataKey:"timeSavedInHours",stroke:d.graphColor16Dark,fillOpacity:1,fill:"url(#colorTime)",strokeWidth:2,activeDot:{r:4,fill:d.neutralGrey5Light,stroke:d.graphColor16Dark,strokeWidth:2}})]})})}),r.jsxs(Z3,{children:[r.jsxs(C1,{children:[r.jsx(n1,{color:d.brandColorGoldDark}),r.jsx(s1,{color:d.brandColorGoldDark,children:C.aiCostSavedTile.title})]}),r.jsxs(C1,{children:[r.jsx(n1,{color:d.graphColor16Dark}),r.jsx(s1,{color:d.graphColor16Dark,children:C.aiTimeSavedTile.title})]})]})]})]})}const F3=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4887)"},t.createElement("path",{d:"M13.4062 8.71875H11.3981C11.0067 8.71889 10.6267 8.85116 10.3198 9.09415C10.0129 9.33713 9.79705 9.67659 9.70712 10.0576C9.61719 10.4385 9.65849 10.8387 9.82434 11.1933C9.99019 11.5479 10.2709 11.8361 10.6209 12.0112L12.4491 12.9263C12.7991 13.1014 13.0798 13.3896 13.2457 13.7442C13.4115 14.0988 13.4528 14.499 13.3629 14.8799C13.273 15.2609 13.0571 15.6004 12.7502 15.8434C12.4433 16.0863 12.0633 16.2186 11.6719 16.2188H9.65625",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 8.71875V7.3125",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 17.625V16.2188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M22.7812 11.9996C22.7801 11.2484 22.5534 10.5149 22.1305 9.89408C21.7076 9.27326 21.108 8.79376 20.4094 8.51771C20.7107 7.82876 20.7974 7.06494 20.6579 6.326C20.5185 5.58706 20.1594 4.90735 19.6277 4.37562C19.096 3.84389 18.4162 3.48486 17.6773 3.34541C16.9384 3.20596 16.1746 3.29258 15.4856 3.59396C15.2113 2.89391 14.7323 2.29281 14.1112 1.8691C13.49 1.44539 12.7556 1.21875 12.0037 1.21875C11.2518 1.21875 10.5174 1.44539 9.8963 1.8691C9.27518 2.29281 8.79619 2.89391 8.52186 3.59396C7.83291 3.29258 7.06909 3.20596 6.33015 3.34541C5.59122 3.48486 4.9115 3.84389 4.37977 4.37562C3.84804 4.90735 3.48901 5.58706 3.34956 6.326C3.21011 7.06494 3.29673 7.82876 3.59811 8.51771C2.89806 8.79204 2.29696 9.27102 1.87325 9.89215C1.44954 10.5133 1.2229 11.2477 1.2229 11.9996C1.2229 12.7515 1.44954 13.4859 1.87325 14.107C2.29696 14.7281 2.89806 15.2071 3.59811 15.4815C3.29673 16.1704 3.21011 16.9342 3.34956 17.6732C3.48901 18.4121 3.84804 19.0918 4.37977 19.6235C4.9115 20.1553 5.59122 20.5143 6.33015 20.6538C7.06909 20.7932 7.83291 20.7066 8.52186 20.4052C8.79619 21.1053 9.27518 21.7064 9.8963 22.1301C10.5174 22.5538 11.2518 22.7804 12.0037 22.7804C12.7556 22.7804 13.49 22.5538 14.1112 22.1301C14.7323 21.7064 15.2113 21.1053 15.4856 20.4052C16.1746 20.7066 16.9384 20.7932 17.6773 20.6538C18.4162 20.5143 19.096 20.1553 19.6277 19.6235C20.1594 19.0918 20.5185 18.4121 20.6579 17.6732C20.7974 16.9342 20.7107 16.1704 20.4094 15.4815C21.108 15.2054 21.7076 14.7259 22.1305 14.1051C22.5534 13.4843 22.7801 12.7508 22.7812 11.9996Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4887"},t.createElement("rect",{width:24,height:24,fill:"white"})))),U={amountRowMarginTop:new u(n[3],n[3],n[5]),amountRowGap:new u(n[2],n[2],n[4]),tileContainerGap:new u(n[2],n[4],n[4])},D3=i.div`
406
406
  border-radius: 10px;
407
407
  padding: 3px;
408
408
  background-color: ${e=>e.theme.colors.grey5};
@@ -449,7 +449,7 @@ import{y as u,a9 as w1,q as M,O as j,l as k,cr as M1,j as r,aM as y1,c5 as j1,o,
449
449
  `,A=i(J)`
450
450
  color: ${e=>e.theme.colors.brandColorOnyx};
451
451
  font-size: 28px;
452
- `,N=i(g)`
452
+ `,G=i(g)`
453
453
  font-size: 16px;
454
454
  color: ${e=>e.theme.colors.brandColorOnyx};
455
455
  line-height: 2;
@@ -457,13 +457,13 @@ import{y as u,a9 as w1,q as M,O as j,l as k,cr as M1,j as r,aM as y1,c5 as j1,o,
457
457
  width: ${o.sp4};
458
458
  height: ${o.sp4};
459
459
  color: ${e=>e.theme.colors.brandColorOnyx};
460
- `;function A3({performanceSummary:e,currency:s,isPerformanceReportNotFound:a}){const{common:C,aiPerformanceDashboard:l}=j.getLocalizedStrings(),c=M();return r.jsx(D3,{windowSize:c,children:r.jsxs(_3,{windowSize:c,children:[r.jsx(V3,{children:r.jsx(O3,{})}),r.jsxs(P3,{children:[r.jsxs(T3,{children:[r.jsx(H3,{children:l.valueDelivered.title}),r.jsx(z3,{children:l.valueDelivered.subtitle})]}),r.jsxs(R3,{isPerformanceReportNotFound:a,windowSize:c,children:[r.jsxs(a1,{children:[r.jsx(g,{style:{color:d.brandColorGoldDark},children:l.valueDelivered.title}),a?r.jsx(A,{children:C.strings.hyphen}):r.jsxs(O,{children:[r.jsxs(A,{children:[(100*e.valueMultiplier).toFixed(),C.strings.percentage]}),r.jsxs(N,{children:[C.strings.openingBrace,s.currencySymbol,Number(e.valueDelivered).toFixed().toLocaleString(),C.strings.closingBrace]})]})]}),!a&&r.jsx(O,{children:r.jsx(N,{children:C.of})}),r.jsxs(a1,{children:[r.jsx(g,{style:{color:d.brandColorGoldDark},children:l.valueDelivered.zeniSubscriptionPlan}),r.jsxs(O,{children:[r.jsxs(A,{children:[s.currencySymbol,a?`${C.currency.currencySymbol}499`:Number(e.subscriptionCost).toFixed().toLocaleString()]}),r.jsxs(N,{children:[C.strings.backspace,C.timeStrings.month]})]})]})]})]})]})})}const D={contentPaddingLeft:new u(n[3],n[3],n[8]),contentPaddingRight:new u(n[3],n[3],n[8]),containerPadding:new u(n[4],n[4],n[8]),savingsChartMinWidth:new u(300,300,500)},N3=new u(52,52,62),G3=i.div`
460
+ `;function A3({performanceSummary:e,currency:s,isPerformanceReportNotFound:a}){const{common:C,aiPerformanceDashboard:l}=j.getLocalizedStrings(),c=M();return r.jsx(D3,{windowSize:c,children:r.jsxs(_3,{windowSize:c,children:[r.jsx(V3,{children:r.jsx(O3,{})}),r.jsxs(P3,{children:[r.jsxs(T3,{children:[r.jsx(H3,{children:l.valueDelivered.title}),r.jsx(z3,{children:l.valueDelivered.subtitle})]}),r.jsxs(R3,{isPerformanceReportNotFound:a,windowSize:c,children:[r.jsxs(a1,{children:[r.jsx(g,{style:{color:d.brandColorGoldDark},children:l.valueDelivered.title}),a?r.jsx(A,{children:C.strings.hyphen}):r.jsxs(O,{children:[r.jsxs(A,{children:[(100*e.valueMultiplier).toFixed(),C.strings.percentage]}),r.jsxs(G,{children:[C.strings.openingBrace,s.currencySymbol,Number(e.valueDelivered).toFixed().toLocaleString(),C.strings.closingBrace]})]})]}),!a&&r.jsx(O,{children:r.jsx(G,{children:C.of})}),r.jsxs(a1,{children:[r.jsx(g,{style:{color:d.brandColorGoldDark},children:l.valueDelivered.zeniSubscriptionPlan}),r.jsxs(O,{children:[r.jsxs(A,{children:[s.currencySymbol,a?`${C.currency.currencySymbol}499`:Number(e.subscriptionCost).toFixed().toLocaleString()]}),r.jsxs(G,{children:[C.strings.backspace,C.timeStrings.month]})]})]})]})]})]})})}const D={contentPaddingLeft:new u(n[3],n[3],n[8]),contentPaddingRight:new u(n[3],n[3],n[8]),containerPadding:new u(n[4],n[4],n[8]),savingsChartMinWidth:new u(300,300,500)},G3=new u(52,52,62),N3=i.div`
461
461
  display: flex;
462
462
  width: 100%;
463
463
  flex-direction: column;
464
464
  padding-left: ${e=>e.paddingLeft}px;
465
465
  padding-right: ${e=>e.paddingRight}px;
466
- min-height: ${e=>N3.valuePx(e.windowSize)};
466
+ min-height: ${e=>G3.valuePx(e.windowSize)};
467
467
  position: -webkit-sticky;
468
468
  position: sticky;
469
469
  background-color: ${e=>e.isScrolled?e.theme.colors.grey5:"transparent"};
@@ -498,11 +498,11 @@ import{y as u,a9 as w1,q as M,O as j,l as k,cr as M1,j as r,aM as y1,c5 as j1,o,
498
498
  `,Y3=i.div`
499
499
  flex: 1;
500
500
  min-width: 300px;
501
- `,X3=i.div`
501
+ `,q3=i.div`
502
502
  flex: 2;
503
503
  min-width: ${e=>D.savingsChartMinWidth.valuePx(e.windowSize)};
504
504
  min-height: 380px;
505
- `,q3=i.div`
505
+ `,X3=i.div`
506
506
  color: ${e=>e.theme.colors.hero};
507
507
  cursor: pointer;
508
508
  height: ${o.sp4};
@@ -527,4 +527,4 @@ import{y as u,a9 as w1,q as M,O as j,l as k,cr as M1,j as r,aM as y1,c5 as j1,o,
527
527
  &:hover {
528
528
  color: ${e=>e.theme.colors.primary};
529
529
  }
530
- `,t4=(e,s)=>e===s?`(${H(e)})`:`(${H(e)} - ${H(s)})`;function h4({aggregatedReport:e,onBackClick:s,onReload:a,onTimeRangeSelect:C,onClickMenuIcon:l}){const c=w1().analytics,h=M(),{common:p}=j.getLocalizedStrings(),[x,v]=t.useState(!1),[y,$]=t.useState(null),P=[...k.TIME_SERIES_DURATIONS],w=k.TIME_SERIES_DURATIONS[1],[T,Y]=t.useState(k.convertToTimeSeriesSelectionRange(w)),[Z,X]=t.useState(w),[k1,x1]=t.useState(!1);M1({componentName:"aiPerformance",enabled:e.fetchState==="Completed"});const S=e.fetchState==="Not-Started"||e.fetchState==="In-Progress",E=e.fetchState==="Error",g1=m=>m.flatMap(E1=>E1.eventGroups.map(B=>({event_name:B.eventName,events_count:B.eventsCount,time_saved_in_minutes:B.timeSavedInMinutes,total_cost_saved:B.totalCostSaved})));t.useEffect(()=>{$("home"),C(k.convertToTimeSeriesSelectionRange(Z).fromMonth,k.convertToTimeSeriesSelectionRange(Z).toMonth)},[]),t.useEffect(()=>{if(e.fetchState==="Completed"&&y){const m={period_selected:Z,cost_saved:e.summary.totalCostSaved,time_saved:e.summary.totalTimeSavedMinutes,task_performed:g1(e.personas)};y==="home"?c.trackAIPerfHome(m):y==="refresh"?c.trackAIPerfRefresh(m):y==="timePeriodSelect"&&c.trackAIPerfTimePeriodSelect(m),$(null)}},[e.fetchState,y]),t.useEffect(()=>{const m=()=>{x1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const f1=r.jsx(q3,{"data-testid":`${y1("ai-performance-page","refresh-icon")}`,onClick:()=>{v(!0),$("refresh"),a(k.convertToTimeSeriesSelectionRange(w).fromMonth,k.convertToTimeSeriesSelectionRange(w).toMonth),X(w),Y(k.convertToTimeSeriesSelectionRange(w))},children:r.jsx(j1,{style:{marginTop:o.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:r.jsx(e4,{spinning:S&&x})})}),L1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:P,valueToLabel:m=>m,selectedValue:`${Z} ${t4(T.fromMonth,T.toMonth)}`,titleTextStyle:_.largeMedium,onPickerSelectionChanged:m=>{m!=null&&($("timePeriodSelect"),X(k.toTimeSeriesDuration(m)),Y(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m))),C(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).fromMonth,k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:s,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:f1},q=Number(parseFloat((e?.summary?.totalTimeSavedMinutes/60).toFixed()));return r.jsxs(I3,{children:[r.jsx(G3,{isScrolled:k1,windowSize:h,paddingLeft:D.contentPaddingLeft.value(h),paddingRight:D.contentPaddingRight.value(h),children:r.jsx(z1,{...L1})}),r.jsxs(U3,{windowSize:h,children:[r.jsxs(J3,{windowSize:h,children:[r.jsxs(Y3,{windowSize:h,children:[S?r.jsx(t1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):r.jsx(o1,{type:"cost",value:E?`${p.strings.hyphen}`:Number(e.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:e.currency,style:{margin:`0 0 ${o.sp3} 0`},noData:E}),S?r.jsx(t1,{customStyle:{margin:"0"}}):r.jsx(o1,{type:"time",value:E?`${p.strings.hyphen}`:e.summary?.totalTimeSavedMinutes<60?Number(e.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():Number(q).toFixed().toLocaleString(),currency:e.currency,noData:E,timeUnit:E?"":e.summary?.totalTimeSavedMinutes<60?e.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:q>1?p.timeStrings.hours:p.timeStrings.hour})]}),r.jsx(X3,{windowSize:h,children:S?r.jsx(A1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):E?r.jsx(g3,{selectedTimeSeries:T}):r.jsx(W3,{performanceTimeSeries:e.monthlySummary})})]}),S?r.jsx(l1,{windowSize:h,children:r.jsx(Q1,{})}):r.jsxs(r.Fragment,{children:[r.jsx(l1,{windowSize:h,children:E||e.personas.length===0?r.jsx(s3,{}):r.jsx(b2,{personas:e.personas,currency:e.currency})}),r.jsxs(K3,{windowSize:h,children:[r.jsx(A3,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E}),r.jsx(q2,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E})]})]})]})]})}export{h4 as default,N3 as navBarHeight};
530
+ `,t4=(e,s)=>e===s?`(${H(e)})`:`(${H(e)} - ${H(s)})`;function h4({aggregatedReport:e,onBackClick:s,onReload:a,onTimeRangeSelect:C,onClickMenuIcon:l}){const c=w1().analytics,h=M(),{common:p}=j.getLocalizedStrings(),[x,v]=t.useState(!1),[y,$]=t.useState(null),P=[...k.TIME_SERIES_DURATIONS],w=k.TIME_SERIES_DURATIONS[1],[T,Y]=t.useState(k.convertToTimeSeriesSelectionRange(w)),[Z,q]=t.useState(w),[k1,x1]=t.useState(!1);M1({componentName:"aiPerformance",enabled:e.fetchState==="Completed"});const S=e.fetchState==="Not-Started"||e.fetchState==="In-Progress",E=e.fetchState==="Error",g1=m=>m.flatMap(E1=>E1.eventGroups.map(B=>({event_name:B.eventName,events_count:B.eventsCount,time_saved_in_minutes:B.timeSavedInMinutes,total_cost_saved:B.totalCostSaved})));t.useEffect(()=>{$("home"),C(k.convertToTimeSeriesSelectionRange(Z).fromMonth,k.convertToTimeSeriesSelectionRange(Z).toMonth)},[]),t.useEffect(()=>{if(e.fetchState==="Completed"&&y){const m={period_selected:Z,cost_saved:e.summary.totalCostSaved,time_saved:e.summary.totalTimeSavedMinutes,task_performed:g1(e.personas)};y==="home"?c.trackAIPerfHome(m):y==="refresh"?c.trackAIPerfRefresh(m):y==="timePeriodSelect"&&c.trackAIPerfTimePeriodSelect(m),$(null)}},[e.fetchState,y]),t.useEffect(()=>{const m=()=>{x1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const f1=r.jsx(X3,{"data-testid":`${y1("ai-performance-page","refresh-icon")}`,onClick:()=>{v(!0),$("refresh"),a(k.convertToTimeSeriesSelectionRange(w).fromMonth,k.convertToTimeSeriesSelectionRange(w).toMonth),q(w),Y(k.convertToTimeSeriesSelectionRange(w))},children:r.jsx(j1,{style:{marginTop:o.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:r.jsx(e4,{spinning:S&&x})})}),L1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:P,valueToLabel:m=>m,selectedValue:`${Z} ${t4(T.fromMonth,T.toMonth)}`,titleTextStyle:_.largeMedium,onPickerSelectionChanged:m=>{m!=null&&($("timePeriodSelect"),q(k.toTimeSeriesDuration(m)),Y(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m))),C(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).fromMonth,k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:s,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:f1},X=Number(parseFloat((e?.summary?.totalTimeSavedMinutes/60).toFixed()));return r.jsxs(I3,{children:[r.jsx(N3,{isScrolled:k1,windowSize:h,paddingLeft:D.contentPaddingLeft.value(h),paddingRight:D.contentPaddingRight.value(h),children:r.jsx(z1,{...L1})}),r.jsxs(U3,{windowSize:h,children:[r.jsxs(J3,{windowSize:h,children:[r.jsxs(Y3,{windowSize:h,children:[S?r.jsx(t1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):r.jsx(o1,{type:"cost",value:E?`${p.strings.hyphen}`:Number(e.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:e.currency,style:{margin:`0 0 ${o.sp3} 0`},noData:E}),S?r.jsx(t1,{customStyle:{margin:"0"}}):r.jsx(o1,{type:"time",value:E?`${p.strings.hyphen}`:e.summary?.totalTimeSavedMinutes<60?Number(e.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():Number(X).toFixed().toLocaleString(),currency:e.currency,noData:E,timeUnit:E?"":e.summary?.totalTimeSavedMinutes<60?e.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:X>1?p.timeStrings.hours:p.timeStrings.hour})]}),r.jsx(q3,{windowSize:h,children:S?r.jsx(A1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):E?r.jsx(g3,{selectedTimeSeries:T}):r.jsx(W3,{performanceTimeSeries:e.monthlySummary})})]}),S?r.jsx(l1,{windowSize:h,children:r.jsx(Q1,{})}):r.jsxs(r.Fragment,{children:[r.jsx(l1,{windowSize:h,children:E||e.personas.length===0?r.jsx(s3,{}):r.jsx(b2,{personas:e.personas,currency:e.currency})}),r.jsxs(K3,{windowSize:h,children:[r.jsx(A3,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E}),r.jsx(X2,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E})]})]})]})]})}export{h4 as default,G3 as navBarHeight};
@@ -1,4 +1,4 @@
1
- import{c as f,q as y,j as t,gW as $,o,y as a,hE as P,u as i}from"./index-Br0YAYA1.js";import{b as j,n}from"./vendor-Bs1fkIUX.js";import{G as z}from"./StatusSwitcher-BaLsxdNP-CMSUPFP-.js";import{r as A}from"./AccountInfoPageContent-Cd14TE_h-CHwIY_ax.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./downloadPdf-CciwIsfm-CuoHObWO.js";import"./commonDimensions-BZCGGQoy-CVw0gBVb.js";const r={pageTitleMarginXAxis:new a(i[4],i[8]),containerPaddingLeft:new a(i[3],i[6],i[8]),containerPaddingRight:new a(i[3],i[6],i[8])},_=({authParams:e,downloadAccountDetailEndPoint:l,depositAccount:s,zeniAccountsConfigDetail:m,currentTenant:p,onDismissClick:u})=>{const g=f(),c=y(),[d,x]=j.useState("achDetails"),h=w=>{x(w)};return t.jsxs(T,{children:[t.jsx($,{title:"",backgroundColor:g.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(b,{windowSize:c,children:s.accountName}),t.jsx(v,{children:t.jsx(z,{tabIds:["achDetails","wireDetails"],selectedTab:d,entity:"zeni_accounts",onTabSelectedChange:h,isSwitcherLeftAlign:!0})}),t.jsx(S,{windowSize:c,children:t.jsx(A,{authParams:e,downloadAccountDetailEndPoint:l,currentTab:d,zeniAccountsConfigDetail:m,currentTenant:p,depositAccount:s})})]})},S=n.div`
1
+ import{d as f,q as y,j as t,gW as $,o,y as a,hE as P,u as i}from"./index-D94hlokH.js";import{b as j,n}from"./vendor-Bs1fkIUX.js";import{G as z}from"./StatusSwitcher-DW-Q6MLD-CxdXHbCg.js";import{r as A}from"./AccountInfoPageContent-C0kb83_4-BAkZvdVH.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./downloadPdf-D3hiuG-R-CfWEq2eL.js";import"./commonDimensions-Dq7P0AE6-Cdz-7EJl.js";const r={pageTitleMarginXAxis:new a(i[4],i[8]),containerPaddingLeft:new a(i[3],i[6],i[8]),containerPaddingRight:new a(i[3],i[6],i[8])},_=({authParams:e,downloadAccountDetailEndPoint:l,depositAccount:s,zeniAccountsConfigDetail:m,currentTenant:p,onDismissClick:u})=>{const g=f(),d=y(),[c,x]=j.useState("achDetails"),h=w=>{x(w)};return t.jsxs(T,{children:[t.jsx($,{title:"",backgroundColor:g.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(b,{windowSize:d,children:s.accountName}),t.jsx(v,{children:t.jsx(z,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:h,isSwitcherLeftAlign:!0})}),t.jsx(S,{windowSize:d,children:t.jsx(A,{authParams:e,downloadAccountDetailEndPoint:l,currentTab:c,zeniAccountsConfigDetail:m,currentTenant:p,depositAccount:s})})]})},S=n.div`
2
2
  padding-left: ${e=>`${r.containerPaddingLeft.valuePx(e.windowSize)}`};
3
3
  padding-right: ${e=>`${r.containerPaddingRight.valuePx(e.windowSize)}`};
4
4
  `,T=n.div`
@@ -1,4 +1,4 @@
1
- import{q as we,fX as Ae,hF as V,j as r,O as Se,c5 as D,P as Te,aM as z,o as a,b6 as ve,ch as Ce,h as M,ai as ee,M as De,fZ as ze,am as re}from"./index-Br0YAYA1.js";import{b as s,n as t}from"./vendor-Bs1fkIUX.js";import{w as Le}from"./downloadPdf-CciwIsfm-CuoHObWO.js";import{o as _e}from"./commonDimensions-BZCGGQoy-CVw0gBVb.js";const{common:{strings:Me,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:W},billPay:{vendorCreation:{achDetails:o}},downloads:X}}=Se.getLocalizedStrings(),Ye=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const oe=we(),[,E]=Ae(),[k,te]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,xe]=s.useState(!1),[fe,$e]=s.useState(!1),[p,O]=s.useState(!1),[N,R]=s.useState(!1),[j,I]=s.useState(!1),[w,q]=s.useState(!1),[A,G]=s.useState(!1),[S,U]=s.useState(!1),[T,B]=s.useState(!1),[$,H]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,C=V(u.zeniAccountsConfigDetail.mailingAddress).text2,m=V(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(p||S||T||$||A||$||j||N||w)&&setTimeout(()=>{O(!1),U(!1),B(!1),H(!1),G(!1),q(!1),I(!1),R(!1)},1200)},[p,S,T,$,A,w,j,N]);const J=(h,c)=>{switch(h){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":xe(c);break;case"beneficiaryAddress":pe(c);break;case"bankAddress":$e(c);break}},ye=h=>{let c;h==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
1
+ import{q as we,fX as Ae,hF as V,j as r,O as Se,c5 as D,P as Te,aM as z,o as a,b6 as ve,ch as Ce,h as M,ai as ee,M as De,fZ as ze,am as re}from"./index-D94hlokH.js";import{b as s,n as t}from"./vendor-Bs1fkIUX.js";import{w as Le}from"./downloadPdf-D3hiuG-R-CfWEq2eL.js";import{o as _e}from"./commonDimensions-Dq7P0AE6-Cdz-7EJl.js";const{common:{strings:Me,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:W},billPay:{vendorCreation:{achDetails:o}},downloads:X}}=Se.getLocalizedStrings(),Ye=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const oe=we(),[,E]=Ae(),[k,te]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,xe]=s.useState(!1),[fe,$e]=s.useState(!1),[p,O]=s.useState(!1),[N,R]=s.useState(!1),[j,I]=s.useState(!1),[w,q]=s.useState(!1),[A,G]=s.useState(!1),[S,U]=s.useState(!1),[T,B]=s.useState(!1),[$,H]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,C=V(u.zeniAccountsConfigDetail.mailingAddress).text2,m=V(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(p||S||T||$||A||$||j||N||w)&&setTimeout(()=>{O(!1),U(!1),B(!1),H(!1),G(!1),q(!1),I(!1),R(!1)},1200)},[p,S,T,$,A,w,j,N]);const J=(h,c)=>{switch(h){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":xe(c);break;case"beneficiaryAddress":pe(c);break;case"bankAddress":$e(c);break}},ye=h=>{let c;h==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
2
2
 
3
3
  ${o.accountTypeLabel} ${n.accountSubType.name??""}
4
4
 
@@ -1,4 +1,4 @@
1
- import{c as g,O as l,j as e,am as f,b9 as d,n as j,o as r,h as m,ar as $,cb as y,cc as b,cd as k,c4 as w}from"./index-Br0YAYA1.js";import{n as o}from"./vendor-Bs1fkIUX.js";import{t as v}from"./handshake-BPg58FML-BpN0H-2S.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const h="support@zeni.ai",i=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,p=({unlockDate:t,onSubmit:s})=>{const n=g(),u=t.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),x=t.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return e.jsxs(S,{children:[e.jsx(C,{children:i.accountLockedTitle}),e.jsxs(L,{children:[e.jsxs(a,{children:[e.jsx(c,{theme:n,children:e.jsx(_,{})}),e.jsx(f,{children:i.accountLockedSecurityMessage})]}),e.jsxs(a,{children:[e.jsx(c,{theme:n,children:e.jsx(Y,{})}),e.jsxs(d,{children:[i.tryAgainAfter,e.jsxs(A,{children:[u,e.jsx(D,{children:"•"}),x]}),i.signInViaGoogleOrMicrosoft]})]}),e.jsxs(a,{children:[e.jsx(c,{theme:n,children:e.jsx(F,{})}),e.jsxs(d,{children:[i.accountLockedContactMessage,e.jsx(z,{href:`mailto:${h}`,children:h})]})]}),e.jsx(j,{variant:"primary",label:i.understood,onClick:s})]})]})};function M({unlockDate:t,onClose:s}){return e.jsx(w,{open:!0,onClose:s,children:e.jsx(I,{children:e.jsx(p,{unlockDate:t,onSubmit:s})})})}const S=o.div`
1
+ import{d as g,O as l,j as e,am as f,b9 as d,n as j,o as r,h as m,ar as $,cb as y,cc as b,cd as k,c4 as w}from"./index-D94hlokH.js";import{n as o}from"./vendor-Bs1fkIUX.js";import{t as v}from"./handshake-BPg58FML-BpN0H-2S.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const h="support@zeni.ai",i=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,p=({unlockDate:t,onSubmit:s})=>{const n=g(),u=t.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),x=t.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return e.jsxs(S,{children:[e.jsx(C,{children:i.accountLockedTitle}),e.jsxs(L,{children:[e.jsxs(a,{children:[e.jsx(c,{theme:n,children:e.jsx(_,{})}),e.jsx(f,{children:i.accountLockedSecurityMessage})]}),e.jsxs(a,{children:[e.jsx(c,{theme:n,children:e.jsx(Y,{})}),e.jsxs(d,{children:[i.tryAgainAfter,e.jsxs(A,{children:[u,e.jsx(D,{children:"•"}),x]}),i.signInViaGoogleOrMicrosoft]})]}),e.jsxs(a,{children:[e.jsx(c,{theme:n,children:e.jsx(F,{})}),e.jsxs(d,{children:[i.accountLockedContactMessage,e.jsx(z,{href:`mailto:${h}`,children:h})]})]}),e.jsx(j,{variant:"primary",label:i.understood,onClick:s})]})]})};function M({unlockDate:t,onClose:s}){return e.jsx(w,{open:!0,onClose:s,children:e.jsx(I,{children:e.jsx(p,{unlockDate:t,onSubmit:s})})})}const S=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{aa as xe,fG as fe,j as t,l as _,ad as ge,cD as ye,O as je,cE as Se,cF as $e,o as i,H as ve,b6 as X,an as Z,A as ke,ab as Ce,e3 as we,f8 as Ee,kK as V,dO as ee,am as l,c as be,aN as Pe,bA as te,e6 as ne,av as Re,h as oe,M as De}from"./index-Br0YAYA1.js";import{b as r,n as o}from"./vendor-Bs1fkIUX.js";import{E as Ie,w as Fe,C as _e,f as Te}from"./AccountRow--0vvwKWj-CoFxk_cS.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Ue=o.div`
1
+ import{aa as xe,fG as fe,j as t,l as _,ad as ge,cD as ye,O as je,cE as Se,cF as $e,o as i,H as ve,b6 as X,an as Z,A as ke,ab as Ce,e3 as we,f8 as Ee,kK as V,dO as ee,am as l,d as be,aN as Pe,bA as te,e6 as ne,av as Re,h as oe,M as De}from"./index-D94hlokH.js";import{b as r,n as o}from"./vendor-Bs1fkIUX.js";import{E as Ie,w as Fe,C as _e,f as Te}from"./AccountRow-C9q6i3az-Dw8PGRm0.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Ue=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{j as t,O as se,aN as T,c5 as f,o,aM as y,ab as re,e3 as le,am as $,e4 as de,h as m,e5 as J,e6 as K,dd as ue,aU as x,ai as X,u as p,q as xe,c as S,a$ as pe,dM as he,ao as me,n as ge,an as I,bP as fe,dY as je}from"./index-Br0YAYA1.js";import{n as a,b as ye,i as $e}from"./vendor-Bs1fkIUX.js";const we=a.div`
1
+ import{j as t,O as se,aN as T,c5 as f,o,aM as y,ab as re,e3 as le,am as $,e4 as de,h as m,e5 as Y,e6 as J,dd as ue,aU as x,ai as X,u as p,q as xe,d as S,a$ as pe,dM as he,ao as me,n as ge,an as I,bP as fe,dY as je}from"./index-D94hlokH.js";import{n as a,b as ye,i as $e}from"./vendor-Bs1fkIUX.js";const we=a.div`
2
2
  position: relative;
3
3
  ${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
4
4
  content: "";
@@ -179,15 +179,15 @@ import{j as t,O as se,aN as T,c5 as f,o,aM as y,ab as re,e3 as le,am as $,e4 as
179
179
  color: ${e=>e.textColor.hex()};
180
180
  background-color: ${e=>e.bgColor.hex()};
181
181
  min-width: ${u.variancePercentageWidth}px;
182
- `,Ye=a.div`
182
+ `,Ke=a.div`
183
183
  display: flex;
184
184
  flex-direction: row;
185
185
  align-items: center;
186
- `,Je=a.div`
186
+ `,Ye=a.div`
187
187
  display: flex;
188
188
  flex-direction: column;
189
189
  align-items: center;
190
- `,Ke=a.div`
190
+ `,Je=a.div`
191
191
  display: flex;
192
192
  flex-direction: row;
193
193
  align-items: center;
@@ -245,7 +245,7 @@ import{j as t,O as se,aN as T,c5 as f,o,aM as y,ab as re,e3 as le,am as $,e4 as
245
245
  display: flex;
246
246
  flex-direction: column;
247
247
  align-items: center;
248
- `,Y=a($)`
248
+ `,K=a($)`
249
249
  color: ${e=>e.theme.colors.hero};
250
250
  `,M=a.div`
251
251
  display: flex;
@@ -280,19 +280,19 @@ import{j as t,O as se,aN as T,c5 as f,o,aM as y,ab as re,e3 as le,am as $,e4 as
280
280
  flex-direction: row;
281
281
  align-items: center;
282
282
  justify-content: center;
283
- `,ut=a(J)`
283
+ `,ut=a(Y)`
284
284
  width: ${o.sp3};
285
285
  height: ${o.sp3};
286
286
  margin-top: 2px;
287
- `,xt=a(J)`
287
+ `,xt=a(Y)`
288
288
  width: ${o.sp3};
289
289
  height: ${o.sp3};
290
- `,pt=a(K)`
290
+ `,pt=a(J)`
291
291
  width: ${o.sp3};
292
292
  height: ${o.sp3};
293
293
  margin-top: 2px;
294
- `,ht=a(K)`
294
+ `,ht=a(J)`
295
295
  width: ${o.sp3};
296
296
  height: ${o.sp3};
297
297
  margin-top: 2px;
298
- `,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:mt}}}=se.getLocalizedStrings();function Lt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:g,onStatementAddClicked:C}){const B=xe(),P=S(),v=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,_=n.accountReconEntity.clearedBalance,te=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{g?.(n.accountReconEntity.account.accountId)},ie=()=>{C?.(n.accountReconEntity.account.accountId)},z=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,N]=ye.useState(!1),H=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",E=H==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let q=e;return i&&(q=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:q,isLastRow:i,windowSize:B,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(_e,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Ee,{firstLetter:v.charAt(0),color:new x(P.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Oe,{className:"any-text-container",children:v})})})]}),t.jsxs(Ae,{children:[t.jsx(Me,{children:t.jsx($t,{lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:N,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:j,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:E,onReconnectClicked:ae})}),t.jsx(Ue,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Ve,{children:t.jsx(wt,{clearedBalance:_,isLoading:E})}),t.jsx(gt,{isLoading:E,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Fe,{children:t.jsx(ze,{heightValue:e})}),t.jsx(Qe,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:H==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:E,onReviewClicked:z}):t.jsx(yt,{accountRecon:n,isLoading:E,onReviewClicked:z})})]})]}),t.jsx(Pe,{kind:"account_separator",isScrolling:!1}),i?t.jsx(Be,{}):null]})}const gt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:g}=ft(l,e,i),C=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${mt}`:h;return t.jsxs(He,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||c?h:T("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:g,className:"any-text-container",children:C})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(m.success),d=new x(m.success),r=new x(m.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(Ct,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let g="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?g=s.status.balanceNotFound:e.accountReconEntity.balance==null?g=s.status.bankBalanceNotFound:g=s.status.clearedBalanceNotFound,t.jsx(bt,{status:g,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(D,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(L,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Z,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(L,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(vt,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(L,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(L,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Z,{tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},W=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ye,{children:t.jsx(ge,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),L=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Je,{children:[t.jsxs(Ke,{children:[t.jsx(Ze,{}),t.jsx(Xe,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(G,{children:s.status.QBOUser}):e&&t.jsxs(G,{children:[e.firstName," ",e.lastName]})]})}),$t=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:g,accountId:C,onStatementAddClicked:B,setIsHovering:P})=>{const v=Et();if(l===!0)return t.jsx(R,{className:"any-text-container",children:T("0,0",e)??h});if(g===!0)return t.jsx(R,{className:"any-text-container",children:h});if(n==="reconnect"){const j=c!=null?`${c.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(R,{className:"any-text-container",children:e!=null?T("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",C),onClick:_=>{_.stopPropagation(),r?.()},children:s.connect.reconnnect})]})}else return n==="connected"||i==="uploaded"?t.jsx(R,{className:"any-text-container",children:T("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",C),onMouseEnter:()=>{P(!0)},onMouseLeave:()=>{P(!1)},children:t.jsx(re,{controller:v.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?d?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},wt=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(R,{className:"any-text-container",children:T("0,0",e)??h}):t.jsx(R,{className:"any-text-container",children:h}),Z=({tooltipText:e})=>{const n=new x(m.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsxs(A,{children:[t.jsx(O,{iconColor:n}),t.jsx(M,{children:t.jsx(U,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(Q,{children:t.jsx(V,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(m.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(w,{children:[t.jsx(O,{iconColor:i}),t.jsxs(A,{children:[t.jsx(M,{children:t.jsx(U,{textColor:i,children:e})}),t.jsx(Q,{children:t.jsx(V,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},ee=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(k,{textColor:i,children:s.status.isInProgress})]})})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(m.important),l=Tt(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(w,{children:[t.jsx(O,{iconColor:c}),t.jsxs(A,{children:[t.jsx(M,{children:t.jsx(U,{textColor:c,children:l})}),t.jsx(Q,{children:t.jsx(V,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx(w,{children:t.jsx(Y,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsx(Y,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Et(){const e=[];return e.push({label:s.menu.bankConnection,value:"bank_connection"}),e.push({label:s.menu.statement,value:"statement"}),e}const Tt=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Ee as B,wt as C,Wt as D,Tt as E,Pt as N,Lt as R,ft as f,u,$t as w};
298
+ `,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:mt}}}=se.getLocalizedStrings();function Lt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:g,onStatementAddClicked:C}){const B=xe(),P=S(),v=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,_=n.accountReconEntity.clearedBalance,te=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{g?.(n.accountReconEntity.account.accountId)},ie=()=>{C?.(n.accountReconEntity.account.accountId)},z=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,N]=ye.useState(!1),H=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",E=H==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let q=e;return i&&(q=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:q,isLastRow:i,windowSize:B,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(_e,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Ee,{firstLetter:v.charAt(0),color:new x(P.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Oe,{className:"any-text-container",children:v})})})]}),t.jsxs(Ae,{children:[t.jsx(Me,{children:t.jsx($t,{lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:N,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:j,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:E,onReconnectClicked:ae})}),t.jsx(Ue,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Ve,{children:t.jsx(wt,{clearedBalance:_,isLoading:E})}),t.jsx(gt,{isLoading:E,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Fe,{children:t.jsx(ze,{heightValue:e})}),t.jsx(Qe,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:H==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:E,onReviewClicked:z}):t.jsx(yt,{accountRecon:n,isLoading:E,onReviewClicked:z})})]})]}),t.jsx(Pe,{kind:"account_separator",isScrolling:!1}),i?t.jsx(Be,{}):null]})}const gt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:g}=ft(l,e,i),C=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${mt}`:h;return t.jsxs(He,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||c?h:T("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:g,className:"any-text-container",children:C})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(m.success),d=new x(m.success),r=new x(m.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(Ct,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let g="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?g=s.status.balanceNotFound:e.accountReconEntity.balance==null?g=s.status.bankBalanceNotFound:g=s.status.clearedBalanceNotFound,t.jsx(bt,{status:g,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(D,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(L,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Z,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(L,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(vt,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(L,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(L,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Z,{tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},W=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ke,{children:t.jsx(ge,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),L=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ye,{children:[t.jsxs(Je,{children:[t.jsx(Ze,{}),t.jsx(Xe,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(G,{children:s.status.QBOUser}):e&&t.jsxs(G,{children:[e.firstName," ",e.lastName]})]})}),$t=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:g,accountId:C,onStatementAddClicked:B,setIsHovering:P})=>{const v=Et();if(l===!0)return t.jsx(R,{className:"any-text-container",children:T("0,0",e)??h});if(g===!0)return t.jsx(R,{className:"any-text-container",children:h});if(n==="reconnect"){const j=c!=null?`${c.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(R,{className:"any-text-container",children:e!=null?T("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",C),onClick:_=>{_.stopPropagation(),r?.()},children:s.connect.reconnnect})]})}else return n==="connected"||i==="uploaded"?t.jsx(R,{className:"any-text-container",children:T("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",C),onMouseEnter:()=>{P(!0)},onMouseLeave:()=>{P(!1)},children:t.jsx(re,{controller:v.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?d?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},wt=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(R,{className:"any-text-container",children:T("0,0",e)??h}):t.jsx(R,{className:"any-text-container",children:h}),Z=({tooltipText:e})=>{const n=new x(m.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsxs(A,{children:[t.jsx(O,{iconColor:n}),t.jsx(M,{children:t.jsx(U,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(Q,{children:t.jsx(V,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(m.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(w,{children:[t.jsx(O,{iconColor:i}),t.jsxs(A,{children:[t.jsx(M,{children:t.jsx(U,{textColor:i,children:e})}),t.jsx(Q,{children:t.jsx(V,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},ee=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(k,{textColor:i,children:s.status.isInProgress})]})})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(m.important),l=Tt(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(w,{children:[t.jsx(O,{iconColor:c}),t.jsxs(A,{children:[t.jsx(M,{children:t.jsx(U,{textColor:c,children:l})}),t.jsx(Q,{children:t.jsx(V,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx(w,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsx(K,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Et(){const e=[];return e.push({label:s.menu.bankConnection,value:"bank_connection"}),e.push({label:s.menu.statement,value:"statement"}),e}const Tt=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Ee as B,wt as C,Wt as D,Tt as E,Pt as N,Lt as R,ft as f,u,$t as w};
@@ -1,4 +1,4 @@
1
- import{O as X,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA as ce,bB as le,bC as J,s as de,aO as _,aK as pe,c as K,ax as me,l as he,aM as L,aW as ue,aL as ge,aR as xe,ai as Q,aY as fe,b4 as Ce,am as $e,b9 as ye}from"./index-Br0YAYA1.js";import{n as r,k as Z,i as q,b as U,w as S}from"./vendor-Bs1fkIUX.js";import{c as ve}from"./SummaryCard-C2itijQz-D3xfRrx_.js";import{N as Y}from"./NavigationArrow--lHvj0n6-ChTJ-27l.js";import{j as je}from"./NavigationDots-BqJZIX4o-D_E3I3ks.js";const be="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",we="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",B=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return Z`
1
+ import{O as Z,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA as ce,bB as le,bC as J,s as de,aO as _,aK as pe,d as K,ax as me,l as he,aM as L,aW as ue,aL as ge,aR as xe,ai as Q,aY as fe,b4 as Ce,am as $e,b9 as ye}from"./index-D94hlokH.js";import{n as r,k as F,i as q,b as X,w as S}from"./vendor-Bs1fkIUX.js";import{c as ve}from"./SummaryCard-V7fE0ql0--g0gbjUo.js";import{N as Y}from"./NavigationArrow-cWkaAVwE-BjtSKPvG.js";import{j as je}from"./NavigationDots-DDGYTuFE-BeWXaAY8.js";const be="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",we="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return F`
2
2
  0% {
3
3
  opacity: 0;
4
4
  transform: translateX(${i});
@@ -7,14 +7,14 @@ import{O as X,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA
7
7
  opacity: 1;
8
8
  transform: translateX(0%);
9
9
  }
10
- `},ke=Z`
10
+ `},ke=F`
11
11
  0% {
12
12
  height: 0;
13
13
  }
14
14
  100%{
15
15
  height: ${t.sp10};
16
16
  }
17
- `,ze=(e,n)=>{const i=n*100,a=e==="up"?"0%":`-${n*100}%`,s=e==="up"?`-${i}%`:"0%";return Z`
17
+ `,ze=(e,n)=>{const i=n*100,a=e==="up"?"0%":`-${n*100}%`,s=e==="up"?`-${i}%`:"0%";return F`
18
18
  0% {
19
19
  transform: translateY(${a});
20
20
  }
@@ -54,9 +54,9 @@ import{O as X,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA
54
54
  `,k=r(ie)`
55
55
  ${ae.accountsPromoHighlightText.css};
56
56
  color: ${e=>e.theme.colors.zeniAccountsPromoCardHighlightText};
57
- `,Be=r($e)`
57
+ `,Te=r($e)`
58
58
  color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
59
- `,Te=r(le)`
59
+ `,Be=r(le)`
60
60
  color: ${j.brandColorJade};
61
61
  height: ${t.sp4};
62
62
  width: ${t.sp4};
@@ -85,14 +85,14 @@ import{O as X,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA
85
85
  display: flex;
86
86
  align-items: center;
87
87
  gap: ${t.sp1};
88
- animation: ${B("right",100)} normal 0.3s 1
88
+ animation: ${T("right",100)} normal 0.3s 1
89
89
  forwards;
90
- `,Fe=r.div`
90
+ `,Ue=r.div`
91
91
  height: 34px;
92
92
  width: ${t.sp5};
93
93
  border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
94
94
  background-color: ${j.brandColorGold};
95
- `,Ue=r.div`
95
+ `,Xe=r.div`
96
96
  display: flex;
97
97
  align-items: center;
98
98
  height: 34px;
@@ -100,16 +100,16 @@ import{O as X,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA
100
100
  border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
101
101
  background-color: ${j.brandColorJade};
102
102
  opacity: 0;
103
- animation: ${B("right",100)} normal 0.5s 1
103
+ animation: ${T("right",100)} normal 0.5s 1
104
104
  forwards;
105
105
  animation-delay: 0.5s;
106
- `,Xe=r(de)`
106
+ `,Ze=r(de)`
107
107
  color: ${e=>e.theme.colors.brandColorOnyx};
108
108
  margin-left: ${t.sp3};
109
109
  margin-right: ${t.sp1};
110
110
  `,E=r(J)`
111
111
  color: ${e=>e.isZeniProgressBar?e.theme.colors.brandColorOnyx:e.theme.colors.primary};
112
- `,Ze=r.div`
112
+ `,Fe=r.div`
113
113
  width: 2px;
114
114
  height: ${t.sp0};
115
115
  background-color: ${j.important};
@@ -123,7 +123,7 @@ import{O as X,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA
123
123
  `,R=r.div`
124
124
  opacity: 0;
125
125
  transform: translateX(-50%);
126
- animation: ${B("right",50)} normal 0.6s 1
126
+ animation: ${T("right",50)} normal 0.6s 1
127
127
  forwards;
128
128
  animation-delay: 1.2s;
129
129
  `,We=r.div`
@@ -138,7 +138,7 @@ import{O as X,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA
138
138
  margin-right: -${t.sp3};
139
139
  opacity: 0;
140
140
  transform: translateX(50%);
141
- animation: ${B("left",75)} ease-out 0.3s 1
141
+ animation: ${T("left",75)} ease-out 0.3s 1
142
142
  forwards;
143
143
  `,O=r.img`
144
144
  ${V}
@@ -158,7 +158,7 @@ import{O as X,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA
158
158
  path {
159
159
  stroke-width: 2px;
160
160
  }
161
- `,Ge=(e,n)=>{const{common:i}=X.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(We,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,u)=>o.jsx(k,{className:"card-highlight-text",children:p},`${p}_${u}`))},`${a.direction}_${s}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Te,{})]}),o.jsx(Le,{}),o.jsxs(Oe,{children:[o.jsxs(Ne,{children:[o.jsx(Fe,{}),o.jsxs(E,{isZeniProgressBar:!1,children:[n[0].values[0]," ",i.texts.insured]})]}),o.jsxs(Ue,{children:[o.jsx(Xe,{children:n[0].values[1]}),o.jsx(E,{isZeniProgressBar:!0,style:{marginTop:"6px"},children:i.texts.insured})]})]})]});case"freeWire":return o.jsxs(ee,{style:{gap:t.sp2},children:[o.jsxs(k,{style:{position:"relative"},children:[n[0].values[0],o.jsx(Ze,{})]}),o.jsx(k,{children:o.jsx(R,{children:o.jsx(Re,{})})}),o.jsx(k,{children:o.jsx(R,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(_e,{children:[o.jsx(I,{style:{animationDelay:"0.2s"},children:o.jsx(O,{src:be})}),o.jsx(I,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(O,{src:Ae})}),o.jsx(I,{style:{animationDelay:"0.6s",zIndex:2},children:o.jsx(O,{src:we})}),o.jsx(Ye,{style:{animationDelay:"0.8s",zIndex:3},children:o.jsxs(Ee,{children:[" ",n[0].values[0]]})})]})}};let G;function Je({zeniAccountsPromoCardContent:e,showConfetti:n}){const[i]=fe("Confetti"),a=K(),[s,p]=U.useState(!1);U.useEffect(()=>(n&&(G=setTimeout(()=>{p(!0)},2e3)),()=>{clearTimeout(G),p(!1)}),[n]);const{prefix:u,header:d,headerAnimationData:m,showAnimation:f,key:g}=e;return o.jsxs(De,{children:[n&&s&&i!=null?o.jsx(Ce,{loop:!1,play:!0,onComplete:()=>{p(!1)},segments:[100,299],animationData:i,style:{position:"absolute",top:`-${t.sp8}`,left:t.sp0},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null,o.jsxs(Ie,{children:[d!=null?o.jsx(Be,{children:d}):null,o.jsx(ee,{children:f?Ge(g,m):null})]}),o.jsx(Se,{themeContext:a,children:u})]})}const Ke=r(ge)`
161
+ `,Ge=(e,n)=>{const{common:i}=Z.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(We,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,u)=>o.jsx(k,{className:"card-highlight-text",children:p},`${p}_${u}`))},`${a.direction}_${s}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Be,{})]}),o.jsx(Le,{}),o.jsxs(Oe,{children:[o.jsxs(Ne,{children:[o.jsx(Ue,{}),o.jsxs(E,{isZeniProgressBar:!1,children:[n[0].values[0]," ",i.texts.insured]})]}),o.jsxs(Xe,{children:[o.jsx(Ze,{children:n[0].values[1]}),o.jsx(E,{isZeniProgressBar:!0,style:{marginTop:"6px"},children:i.texts.insured})]})]})]});case"freeWire":return o.jsxs(ee,{style:{gap:t.sp2},children:[o.jsxs(k,{style:{position:"relative"},children:[n[0].values[0],o.jsx(Fe,{})]}),o.jsx(k,{children:o.jsx(R,{children:o.jsx(Re,{})})}),o.jsx(k,{children:o.jsx(R,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(_e,{children:[o.jsx(I,{style:{animationDelay:"0.2s"},children:o.jsx(O,{src:be})}),o.jsx(I,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(O,{src:Ae})}),o.jsx(I,{style:{animationDelay:"0.6s",zIndex:2},children:o.jsx(O,{src:we})}),o.jsx(Ye,{style:{animationDelay:"0.8s",zIndex:3},children:o.jsxs(Ee,{children:[" ",n[0].values[0]]})})]})}};let G;function Je({zeniAccountsPromoCardContent:e,showConfetti:n}){const[i]=fe("Confetti"),a=K(),[s,p]=X.useState(!1);X.useEffect(()=>(n&&(G=setTimeout(()=>{p(!0)},2e3)),()=>{clearTimeout(G),p(!1)}),[n]);const{prefix:u,header:d,headerAnimationData:m,showAnimation:f,key:g}=e;return o.jsxs(De,{children:[n&&s&&i!=null?o.jsx(Ce,{loop:!1,play:!0,onComplete:()=>{p(!1)},segments:[100,299],animationData:i,style:{position:"absolute",top:`-${t.sp8}`,left:t.sp0},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null,o.jsxs(Ie,{children:[d!=null?o.jsx(Te,{children:d}):null,o.jsx(ee,{children:f?Ge(g,m):null})]}),o.jsx(Se,{themeContext:a,children:u})]})}const Ke=r(ge)`
162
162
  flex-wrap: wrap;
163
163
  overflow: hidden;
164
164
  & .styledNav {
@@ -204,4 +204,4 @@ import{O as X,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA
204
204
  bottom: 6px;
205
205
  `,ro=r(J)`
206
206
  color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
207
- `,z=X.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:u,handleCardNavigation:d}){const m=K(),f=me(),[g,x]=S.useState(0),[C,$]=S.useState(0),[T,b]=S.useState("left"),A=(l,y)=>{l.stopPropagation(),b(y);const re=y=="left"?s+1:s-1;e.trackZeniAccountsPromoCardClick(n,y==="left"?"Next":"Back"),d(w(re),y)},M=l=>{d(w(l),"left")};function h(l){x(l.targetTouches[0].clientX)}function oe(l){$(l.targetTouches[0].clientX)}function w(l){return l<0?a.length+l:l%a.length}function te(){g-C>50&&C!==0?(d(w(s+1),"left"),b("left"),x(0),$(0)):g-C<-50&&C!==0&&(d(w(s-1),"right"),b("right"),x(0),$(0))}const H=a.length>1,W=he.hasZeniAccountsAdminLevelAccess(f.loggedInUserRoleMap);return o.jsx(Ke,{"data-testid":L("dashboard",i.cardType),style:{cursor:"default"},dimension:i.dimension,onTouchStart:l=>H?h(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(Qe,{children:[o.jsx(N,{children:o.jsx(Y,{"data-testid":L("dashboard-navigation-arrow-left",i.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:A,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})}),o.jsxs(N,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(eo,{children:o.jsx(oo,{children:z.title})}),a.map((l,y)=>o.jsx(ue,{activeCardIndex:s,currentIndex:y,which:T,children:o.jsx(Je,{zeniAccountsPromoCardContent:l,showConfetti:s===2})},l.key)),o.jsx(qe,{onClick:()=>u(W?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(Ve,{children:W?p?z.button:z.signUp:z.learnMore})}),o.jsx(je,{spendManagementPromoCardActive:!0,numberOfDots:a.length,activeIndex:s,handleClick:M,promoColor:m.colors.zeniAccountsPromoButtonColor,promoColorHover:m.colors.zeniAccountsPromoNavigationDotHoverColor,style:{cursor:"default",position:"absolute",bottom:t.sp5}}),s===0?o.jsx(to,{children:o.jsx(ro,{children:a[0].footer})}):null]}),o.jsx(N,{children:o.jsx(Y,{"data-testid":L("dashboard-navigation-arrow-right",i.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:A,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:c,common:v}=X.getLocalizedStrings(),P={key:"keepInterest",title:c.title,prefix:c.keepInterest.prefixDashboard,header:c.keepInterest.header,headerAnimationData:[],footer:c.keepInterest.footer,showAnimation:!0},F={key:"protectCash",title:c.title,prefix:c.protectCash.prefix,headerAnimationData:[],showAnimation:!0},ao=[{key:"noHiddenFees",title:c.title,prefix:c.noHiddenFees.prefix,headerAnimationData:[{direction:"down",stepCount:6,values:c.noHiddenFees.headerAnimationData}],showAnimation:!0},{key:"freeWire",title:c.title,prefix:c.freeWire.prefix,headerAnimationData:[{direction:"right",stepCount:1,values:c.freeWire.headerAnimationData}],showAnimation:!0},{key:"expertSupport",title:c.title,prefix:c.expertSupport.prefix,header:c.expertSupport.header,headerAnimationData:[{direction:"left",stepCount:1,values:c.expertSupport.headerAnimationData}],showAnimation:!0}];function io({card:e,data:n,analytics:i,actions:a,isZeniAccountsEnabled:s,columnKey:p,index:u,dndProps:d}){const[m,f]=U.useState(0),g=h=>{f(h)},x=(p+1)*(u+1),C=h=>{i.trackZeniAccountsPromoCardClick(x,h),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:$,maxPossibleInterest:T,maxAnnualPercentageYield:b,maxCashBalanceAvailable:A=0}=n;P.headerAnimationData=so(T??25e4),P.prefix=c.keepInterest.prefixDashboard.replace(/<amount>/,D("0,0",A,v.currency.currencySymbol).toUpperCase()),P.footer=c.keepInterest.footer.replace(/<interest>/,b.toString()),F.headerAnimationData=[{direction:"right",stepCount:1,values:[...c.protectCash.headerAnimationData,D(_($),$,v.currency.currencySymbol).toUpperCase()]}],F.prefix=c.protectCash.prefix.replace(/<amount>/,D(_($),$,v.currency.currencySymbol).toUpperCase());const M=[P,F,...ao];return o.jsx(pe,{isDragging:d?.draggedCardType!=null,isDragOver:d?.dragOverCard===e.cardType,draggable:!0,onDragStart:h=>d?.onDragStart(e.cardType,h),onDragOver:h=>d?.onDragOver(h,e.cardType),onDragLeave:h=>d?.onDragLeave(h),onDrop:h=>d?.onDrop(h,e.cardType),dimension:e.dimension,children:o.jsx(ve,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(no,{card:e,data:M,handleCardNavigation:g,activeCardIndex:m,handleLearnMoreClick:C,isZeniAccountsSetUp:s&&n.depositAccountId!=null,analytics:i,cardPosition:x})})},e.cardIndex)}S.memo(io);function so(e){const n=[],i=D("0,0",Math.floor(e),v.currency.currencySymbol);for(let a=0;a<i.length;a++){const s=i[a],p={direction:"up",stepCount:0,values:[s]};if(s===v.currency.currencySymbol||s===v.strings.comma)n.push(p);else{const u=parseInt(i[a]),d=a===1&&u<=1?1:Math.floor(u/2),m=a%2===0?"down":"up",f=u-d,g=[];for(let x=0;x<=f;x++){const C=d+x;g.push(C.toString())}m==="down"&&g.reverse(),n.push({direction:m,stepCount:f,values:g})}}return n}export{Ge as Y,io as a,so as c};
207
+ `,z=Z.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:u,handleCardNavigation:d}){const m=K(),f=me(),[g,x]=S.useState(0),[C,$]=S.useState(0),[B,b]=S.useState("left"),A=(l,y)=>{l.stopPropagation(),b(y);const re=y=="left"?s+1:s-1;e.trackZeniAccountsPromoCardClick(n,y==="left"?"Next":"Back"),d(w(re),y)},M=l=>{d(w(l),"left")};function h(l){x(l.targetTouches[0].clientX)}function oe(l){$(l.targetTouches[0].clientX)}function w(l){return l<0?a.length+l:l%a.length}function te(){g-C>50&&C!==0?(d(w(s+1),"left"),b("left"),x(0),$(0)):g-C<-50&&C!==0&&(d(w(s-1),"right"),b("right"),x(0),$(0))}const H=a.length>1,W=he.hasZeniAccountsAdminLevelAccess(f.loggedInUserRoleMap);return o.jsx(Ke,{"data-testid":L("dashboard",i.cardType),style:{cursor:"default"},dimension:i.dimension,onTouchStart:l=>H?h(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(Qe,{children:[o.jsx(N,{children:o.jsx(Y,{"data-testid":L("dashboard-navigation-arrow-left",i.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:A,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})}),o.jsxs(N,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(eo,{children:o.jsx(oo,{children:z.title})}),a.map((l,y)=>o.jsx(ue,{activeCardIndex:s,currentIndex:y,which:B,children:o.jsx(Je,{zeniAccountsPromoCardContent:l,showConfetti:s===2})},l.key)),o.jsx(qe,{onClick:()=>u(W?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(Ve,{children:W?p?z.button:z.signUp:z.learnMore})}),o.jsx(je,{spendManagementPromoCardActive:!0,numberOfDots:a.length,activeIndex:s,handleClick:M,promoColor:m.colors.zeniAccountsPromoButtonColor,promoColorHover:m.colors.zeniAccountsPromoNavigationDotHoverColor,style:{cursor:"default",position:"absolute",bottom:t.sp5}}),s===0?o.jsx(to,{children:o.jsx(ro,{children:a[0].footer})}):null]}),o.jsx(N,{children:o.jsx(Y,{"data-testid":L("dashboard-navigation-arrow-right",i.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:A,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:c,common:v}=Z.getLocalizedStrings(),P={key:"keepInterest",title:c.title,prefix:c.keepInterest.prefixDashboard,header:c.keepInterest.header,headerAnimationData:[],footer:c.keepInterest.footer,showAnimation:!0},U={key:"protectCash",title:c.title,prefix:c.protectCash.prefix,headerAnimationData:[],showAnimation:!0},ao=[{key:"noHiddenFees",title:c.title,prefix:c.noHiddenFees.prefix,headerAnimationData:[{direction:"down",stepCount:6,values:c.noHiddenFees.headerAnimationData}],showAnimation:!0},{key:"freeWire",title:c.title,prefix:c.freeWire.prefix,headerAnimationData:[{direction:"right",stepCount:1,values:c.freeWire.headerAnimationData}],showAnimation:!0},{key:"expertSupport",title:c.title,prefix:c.expertSupport.prefix,header:c.expertSupport.header,headerAnimationData:[{direction:"left",stepCount:1,values:c.expertSupport.headerAnimationData}],showAnimation:!0}];function io({card:e,data:n,analytics:i,actions:a,isZeniAccountsEnabled:s,columnKey:p,index:u,dndProps:d}){const[m,f]=X.useState(0),g=h=>{f(h)},x=(p+1)*(u+1),C=h=>{i.trackZeniAccountsPromoCardClick(x,h),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:$,maxPossibleInterest:B,maxAnnualPercentageYield:b,maxCashBalanceAvailable:A=0}=n;P.headerAnimationData=so(B??25e4),P.prefix=c.keepInterest.prefixDashboard.replace(/<amount>/,D("0,0",A,v.currency.currencySymbol).toUpperCase()),P.footer=c.keepInterest.footer.replace(/<interest>/,b.toString()),U.headerAnimationData=[{direction:"right",stepCount:1,values:[...c.protectCash.headerAnimationData,D(_($),$,v.currency.currencySymbol).toUpperCase()]}],U.prefix=c.protectCash.prefix.replace(/<amount>/,D(_($),$,v.currency.currencySymbol).toUpperCase());const M=[P,U,...ao];return o.jsx(pe,{isDragging:d?.draggedCardType!=null,isDragOver:d?.dragOverCard===e.cardType,draggable:!0,onDragStart:h=>d?.onDragStart(e.cardType,h),onDragOver:h=>d?.onDragOver(h,e.cardType),onDragLeave:h=>d?.onDragLeave(h),onDrop:h=>d?.onDrop(h,e.cardType),dimension:e.dimension,children:o.jsx(ve,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(no,{card:e,data:M,handleCardNavigation:g,activeCardIndex:m,handleLearnMoreClick:C,isZeniAccountsSetUp:s&&n.depositAccountId!=null,analytics:i,cardPosition:x})})},e.cardIndex)}S.memo(io);function so(e){const n=[],i=D("0,0",Math.floor(e),v.currency.currencySymbol);for(let a=0;a<i.length;a++){const s=i[a],p={direction:"up",stepCount:0,values:[s]};if(s===v.currency.currencySymbol||s===v.strings.comma)n.push(p);else{const u=parseInt(i[a]),d=a===1&&u<=1?1:Math.floor(u/2),m=a%2===0?"down":"up",f=u-d,g=[];for(let x=0;x<=f;x++){const C=d+x;g.push(C.toString())}m==="down"&&g.reverse(),n.push({direction:m,stepCount:f,values:g})}}return n}export{Ge as Y,io as a,so as c};
@@ -1,4 +1,4 @@
1
- import{c as f,q as y,aP as T,C as a,j as i,aM as x,jm as B,o as t,O as C,y as m,u as d}from"./index-Br0YAYA1.js";import{b as j,n as P}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const l={marginTop:new m(d[0],18),marginBottom:new m(d[0],d[3])},{spendManagement:{chargeCard:{chargeCardsPromo:p}},common:w}=C.getLocalizedStrings(),K=({googleAPIKey:o,customAddress:c,customAddressStatus:e,onDismissClick:r,onSubmitHandler:g})=>{const u=f(),s=y(),n=T(e.fetchState);j.useEffect(()=>{n==="In-Progress"&&e.fetchState==="Completed"&&r()},[e.fetchState,r,n]);const h=s==="small"?a.extraSmallRegular.cssObject:a.standardRegular.cssObject,S=s==="small"?a.standardMedium.cssObject:a.h5Regular.cssObject;return i.jsx(v,{"data-testid":x("add-address-for-card-drawer"),children:i.jsx(B,{googleAPIKey:o,loadingState:e.fetchState,addressToEdit:c,onSubmitHandler:b=>g(b),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:p.addAddress,subTitleMessage:p.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:l.marginTop.valuePx(s),marginBottom:l.marginBottom.valuePx(s),...S},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...h,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:w.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},v=P.div`
1
+ import{d as f,q as y,aP as T,C as a,j as i,aM as x,jm as B,o as t,O as C,y as m,u as d}from"./index-D94hlokH.js";import{b as j,n as P}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const l={marginTop:new m(d[0],18),marginBottom:new m(d[0],d[3])},{spendManagement:{chargeCard:{chargeCardsPromo:p}},common:w}=C.getLocalizedStrings(),K=({googleAPIKey:o,customAddress:c,customAddressStatus:e,onDismissClick:r,onSubmitHandler:g})=>{const u=f(),s=y(),n=T(e.fetchState);j.useEffect(()=>{n==="In-Progress"&&e.fetchState==="Completed"&&r()},[e.fetchState,r,n]);const h=s==="small"?a.extraSmallRegular.cssObject:a.standardRegular.cssObject,S=s==="small"?a.standardMedium.cssObject:a.h5Regular.cssObject;return i.jsx(v,{"data-testid":x("add-address-for-card-drawer"),children:i.jsx(B,{googleAPIKey:o,loadingState:e.fetchState,addressToEdit:c,onSubmitHandler:b=>g(b),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:p.addAddress,subTitleMessage:p.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:l.marginTop.valuePx(s),marginBottom:l.marginBottom.valuePx(s),...S},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...h,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:w.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},v=P.div`
2
2
  display: flex;
3
3
  background-color: ${o=>o.theme.colors.grey4};
4
4
  height: 100%;