@zeniai/web-cockpit-ui 1.14.50-dev-betaSK02 → 1.14.50-dev-betaSK03

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 (227) hide show
  1. package/dist/assets/{ACHDetailsPage-DztUoJFF-97pqQaur.js → ACHDetailsPage-QPFl6meR-Ch0c_zCR.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-uCj-O1ee-Bz_CAGrx.js → AIPerformancePage-Dc5YnUJQ-DgTWRFxq.js} +12 -12
  3. package/dist/assets/{AccountInfoPage-DEX9_0B7-DSFgltp5.js → AccountInfoPage-BGycrLO9-B8ta6cFD.js} +4 -4
  4. package/dist/assets/{AccountInfoPageContent-B4FxbVtj-B_BIvtFP.js → AccountInfoPageContent-kxDcS90R-CLtMsCqN.js} +17 -17
  5. package/dist/assets/{AccountLockedInfoModal-Cu3zBnjZ-BOQShyk-.js → AccountLockedInfoModal-CcyeZm4t-BcGW_i8Q.js} +2 -2
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CTegwKcZ-efqHX4ju.js → AccountReconDetailsDrawerPage-MShQvsO6-DjV_hs6e.js} +11 -11
  7. package/dist/assets/{AccountRow-BXgwJ_Dw-BMsSuRJA.js → AccountRow-C3axQYsf-CZ_5Y5aY.js} +20 -20
  8. package/dist/assets/{AccountsPromoCardStack-DmnIHE-c-pznuIeRK.js → AccountsPromoCardStack-COStz76c-_vgq7xUA.js} +24 -24
  9. package/dist/assets/{AddAddressForCardDrawer-UXA987Y0-3VNqzcpt.js → AddAddressForCardDrawer-DMKD4b1--C1oTy85S.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BnNieBn--D-Rse7P3.js → AddToWalletPage-C89clYhp-BUwCBRzV.js} +17 -17
  11. package/dist/assets/{AgingReportsPage-BOfVZOyJ-Cco0H5cv.js → AgingReportsPage-DOZhui5H-CUfwaJQp.js} +1 -1
  12. package/dist/assets/{AllUserItems-BrnwiM78-DucQCGda.js → AllUserItems-DYwVbWqX-wil_I_ik.js} +4 -4
  13. package/dist/assets/{ApAgingDetailPage-BU07-z1n-BZKv6Wns.js → ApAgingDetailPage-CJAzt02e-DTOU_gaR.js} +2 -2
  14. package/dist/assets/{AppBasePage-Dmb0TOGC-Ocf5j-ny.js → AppBasePage-B90ow4VN-DUc1awog.js} +3 -3
  15. package/dist/assets/{AppDrawerContent-iGLMgSym-C-LAaqH8.js → AppDrawerContent-BfQpyCP--Bidi4Dxd.js} +2 -2
  16. package/dist/assets/{ApprovalRulesSettingsPage-X7wJukO6-vSDdnett.js → ApprovalRulesSettingsPage-BWW3H2OE-PUEO8tsN.js} +1 -1
  17. package/dist/assets/{ArAgingChart-D_6dUW_n-Bjt7pVSO.js → ArAgingChart-DYZ0VqVk-rKWOaSG8.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-DvevDdjs-CjK85NF-.js → ArAgingDetailPage-DtuN_zU1-C22eb1dU.js} +1 -1
  19. package/dist/assets/{AttachmentView--k4MRyJD-DOoPwDIw.js → AttachmentView-Bj_aekt4-DJY39e4A.js} +5 -5
  20. package/dist/assets/{BankAccountSection-hFbcPE-Y-C8vNGSTY.js → BankAccountSection-DpcyDDdf-By9pgC9S.js} +3 -3
  21. package/dist/assets/{BankAccountWarningSection-yKcLhvaB-W3BR4erg.js → BankAccountWarningSection-BfTho-bC-q_hjgVRt.js} +5 -5
  22. package/dist/assets/{BankConnectionsSettingsPage-hjmKcZwJ-Cshscp7F.js → BankConnectionsSettingsPage-CpUkML1E-CDf-QAXP.js} +39 -39
  23. package/dist/assets/{BillDetailPage-BkABVeY8-T4S40YDL.js → BillDetailPage-Uxzf-Vba-D-n13kUM.js} +6 -6
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BlAteQj--DlBNmPa_.js → BillPayApprovalRuleDetailPage-DClnor9h-Byu3cx9d.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DSNtAtUy-Cc47hP-v.js → BillPayApprovalRulesPage-BO7OtvLY-VcpBXyeH.js} +7 -7
  26. package/dist/assets/{BillPayPromoPage-DTcVKppN-BLyxw_e6.js → BillPayPromoPage-BwRm-Bst-CC9pmSu6.js} +6 -6
  27. package/dist/assets/{BillPaySetUpPage-CLerFSjl-C9whGUo5.js → BillPaySetUpPage-VlRWgN55-BKAegbhp.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-Ckx9oUKk-BQjWoDeh.js → BillingSettingsPage-CzIkId7X-UPYBck8U.js} +5 -5
  29. package/dist/assets/{BillsBulkReviewDrawerPage-WQUa3GDA-DK10pOhh.js → BillsBulkReviewDrawerPage-DUFYfEuh-2lPvI8L1.js} +1 -1
  30. package/dist/assets/{BoxItem-P2w9C_dl-pKPA1Jfd.js → BoxItem-lwz30dOO-BtLkBY7X.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-C2ouKOyX-Cc2u_zbs.js → BusinessVerificationPage-BhwHGVDl-DPvUAUBP.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BuoQyfyr-DYiuVaW_.js → CardNumberSubText-BD-PUhEd-DuaaIMeW.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-DopI74U9-X1pr3640.js → CashbackDetailPage-BWvgzHaL-DcRmomnG.js} +14 -14
  34. package/dist/assets/{ChargeCardDetailPage-BPkn3c2O-Bm1eeX9R.js → ChargeCardDetailPage-CArHq2Tf-C7Ezh4Wj.js} +26 -26
  35. package/dist/assets/{ChargeCardListPage-DdSIInmu-Tp7vwChk.js → ChargeCardListPage-BND2bqyO-qFKCRvN3.js} +16 -16
  36. package/dist/assets/{ChargeCardListTable-C7Tpkx8E-By7A-PbX.js → ChargeCardListTable-DEQpcsn--BNcot7Ko.js} +19 -19
  37. package/dist/assets/{ChargeCardPromoPage-Cu8lifoo-B-6nBXaF.js → ChargeCardPromoPage-BebyPGAi-CtbrhQfA.js} +21 -21
  38. package/dist/assets/{ChargeCardSetupPage-aJW9IB41-B2HJ--Bo.js → ChargeCardSetupPage-DHBf1670-ttvvv443.js} +2 -2
  39. package/dist/assets/{ChargeCardStatementsPage-C_ShBm1a-CUCQH_wp.js → ChargeCardStatementsPage-A_DGPJL_-BpIlzDR9.js} +8 -8
  40. package/dist/assets/{ChargeCardUtils-BZXKJUDT-yew0-VXh.js → ChargeCardUtils-BTlP3Nhv-Cr5C_uXG.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-DSIifMZP-DU94rYFV.js → ChaseOverlay-BhEZ8Mjz-C5bjFk-s.js} +3 -3
  42. package/dist/assets/{CheckDepositDrawerPage-CPzyvTgQ-enuXhWBG.js → CheckDepositDrawerPage-B6wTPnY6-CajWdtaG.js} +11 -11
  43. package/dist/assets/{CollapsableReportTable-BOtbupIU-C1yAA9IE.js → CollapsableReportTable-CrbU2pQH-C6UjdIP9.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-DvQg9qEs-CV6JW2jW.js → CompanyOfficerDetailsSection-CqdSP5X2-GL3yX7Te.js} +16 -16
  45. package/dist/assets/{CompanyPassportCard-Pt-uxSUL-k5XFK5D-.js → CompanyPassportCard-Dmi2AUuo-aOkdK9gq.js} +7 -7
  46. package/dist/assets/{CompanyPassportPage-BKNi4_Xq-D6CzMOpT.js → CompanyPassportPage-yHbjwaqP-C4-weKch.js} +31 -31
  47. package/dist/assets/{CompleteProfile-DWExehrL-U-muy2Gg.js → CompleteProfile-CYGylj2g-DnhNALon.js} +2 -2
  48. package/dist/assets/{ConfettiBurst-Dui49mcQ-CYzaXt59.js → ConfettiBurst-DF2-efCp-DKS9AqlN.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-DHhJlTQE-BenI9C1y.js → CreateOrEditVendorPage-pm0IeMIt-CVvEFWUl.js} +8 -8
  50. package/dist/assets/{CreditCardPaymentDrawerPage-BHpB9fpJ-IAEWnd-B.js → CreditCardPaymentDrawerPage-BD6FfSoK-CFJ6AlR2.js} +18 -18
  51. package/dist/assets/{CreditCardPaymentPlgSection-BwYzkwrO-xYLqPUoo.js → CreditCardPaymentPlgSection-CjegK_B9-2R3ZmeVk.js} +3 -3
  52. package/dist/assets/{CurrencySelectField-BX6biuYN-Cd6ir33I.js → CurrencySelectField-u-CIV9am-CIaGKW-0.js} +3 -3
  53. package/dist/assets/{CustomerOnboardingActivationPage-C0M5MRvf-BMndQP1M.js → CustomerOnboardingActivationPage-CTRQ_e6e-Qi7r8H1O.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-Bwhear3_-BGU9nYPO.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-URU7om3e-BcdddHoK.js → CustomerOnboardingDetailPageSkeleton-DQiNSiHp-IcagA-Qw.js} +10 -10
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-YjkyHAED-CraRe_u5.js → CustomerOnboardingNoStepsPage-CrjrHVuv-BvXtVDXL.js} +6 -6
  57. package/dist/assets/{CustomerOnboardingPage-C4s9mT-a-R34aijL9.js → CustomerOnboardingPage-CsZJpfFq-Ba9m4V0e.js} +4 -4
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-DCUbmibU-B9cfjRmh.js → CustomerOnboardingProductSuitePage-DN5BoZnt-BimPMY41.js} +5 -5
  59. package/dist/assets/{Dashboard-CIk6KvY9-DR51Q0nm.js → Dashboard-CPacjAi_-Cao3MHgu.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-DQfrDRIh-OUOuMHid.js → DashboardReportPage-DH7-rfHr-C3jYceUz.js} +10 -10
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-D90m8r9a-BAJ93fqs.js → DashboardSidebarBackgroundAnimation-C8AFk6uO-jt48mHtr.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-_Vtzv5UB-CEetPB8M.js → DepositAccTransactionItem-C6IHi5Ic-C40vghB7.js} +4 -4
  63. package/dist/assets/{DepositAccTransactionListPage-C_L7M4FZ-D1H0VxzX.js → DepositAccTransactionListPage-BS7TEYy2-QeROLR8Q.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-LQ3BPc7q-pbG90L6U.js → DomesticWireDetailsPage-C1jd1UM0-D3RRrKNR.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-J_qwarAU-D98q0HP4.js → DownloadOverlay-ar1MOJtc-BX-2mM4y.js} +19 -19
  66. package/dist/assets/{DrawerPage-D_FG3O0d-x2U3jXyu.js → DrawerPage-BjgVzGjC-EWS4eZPN.js} +4 -4
  67. package/dist/assets/{EditPeoplePage-CYLs9jWo-vnohY0yj.js → EditPeoplePage-CN4OIfOH-CRaIwrMI.js} +4 -4
  68. package/dist/assets/{EditReimbursementDetailPage-DjclYD2O-DGQO8MhZ.js → EditReimbursementDetailPage-zWSvQP3i-Dz4577Z6.js} +35 -35
  69. package/dist/assets/{EntityDetailPage-1S2tzOiS-OBGce4i-.js → EntityDetailPage-Dv81nYQ1-tKeW1NRA.js} +2 -2
  70. package/dist/assets/{EntitySummarySection-BVYTgMXa-CJV6QU_G.js → EntitySummarySection-CXL0RgPL-Bs3esvBP.js} +26 -26
  71. package/dist/assets/{ExpenseAutomationOverviewPage-CmT4C7z7-DFeE5G9c.js → ExpenseAutomationOverviewPage-oLo0di4g-Bsn5hquC.js} +14 -14
  72. package/dist/assets/{ExpenseAutomationPage-Ceybf6SF-b88izZQC.js → ExpenseAutomationPage-DWTsYtvr-Bmw8afa6.js} +39 -39
  73. package/dist/assets/{ExpressPayPage-lPP05sQ1-DrgTNBM7.js → ExpressPayPage-D90vGpv_-DkKewQbH.js} +8 -8
  74. package/dist/assets/{FeaturePreviewPage-ETjrHWRJ-DskkU41a.js → FeaturePreviewPage-C6RLcwA8-CmvubtLk.js} +2 -2
  75. package/dist/assets/{FollowStepsSection-DilMch8u-BPeveydj.js → FollowStepsSection-COabPghT-DgHVd6L2.js} +17 -17
  76. package/dist/assets/{GlobalReviewListPage-BKrGT5l7-DI9WWzzP.js → GlobalReviewListPage-CcI60KJ4-Bs7pQWOA.js} +8 -8
  77. package/dist/assets/HelpButton-C1H5J4li-DN2_R5Wn.js +28 -0
  78. package/dist/assets/{InformationCardStack-tTq3Gxle-MHHhh0yC.js → InformationCardStack-CJ6RxTnW-BcSE6y3u.js} +3 -3
  79. package/dist/assets/{InsightsCardStack-BQRXnOmR-CpJewchz.js → InsightsCardStack-MsOrJma2-CRUy6xyQ.js} +9 -9
  80. package/dist/assets/{InsightsSection-CU56_MTA-CsFijQoG.js → InsightsSection-C0NCIBy_-C_YKFXur.js} +2 -2
  81. package/dist/assets/{IntegrationsSettingsPage-DldmKTNj-CKNOqnJ1.js → IntegrationsSettingsPage-CiffcHpA-DFPSARGU.js} +5 -5
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-DgezQvOs-By1BlrMH.js → InternationalWireSwiftDetailsPage-D_EuEyka-BQEi-AYh.js} +9 -9
  83. package/dist/assets/{InternationalWireVerificationPage-5zHhi_cS-Dfq14ZKx.js → InternationalWireVerificationPage-P3UOGvey-DVp1foCO.js} +11 -11
  84. package/dist/assets/{InviteFormPage-DRXJguny-xEKTgpR7.js → InviteFormPage-Cc1HLOI0-Cy5sDgSW.js} +23 -23
  85. package/dist/assets/{InvitePageListView-Ct0iiW0H-BT1voGiQ.js → InvitePageListView-C-dEbx9a-B6x4d-YK.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-DbcKTe0E-Bt1Z8QE8.js → InvitePeoplePage-DKvrRUid-B59aqdZO.js} +2 -2
  87. package/dist/assets/{InvoiceUploadSection-WTqdNuLs-D0MRXvNJ.js → InvoiceUploadSection-C2f6y39O-DXmLmxnE.js} +5 -5
  88. package/dist/assets/{IssueChargeCardPage-DFptUDC3-CktvZ5sN.js → IssueChargeCardPage-Cj1xQkmZ-D5SDL1YB.js} +15 -15
  89. package/dist/assets/{LabeledAddressValue-Db-KbzhF-Dzlhzjo8.js → LabeledAddressValue-hmXIdbWB-BQnDEpv-.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-BcUrufJH-BecTHAD1.js → LabeledAddressValueField-B5ffJOLU-qwy8qRot.js} +2 -2
  91. package/dist/assets/{LabeledControlledCheckBoxField-CRQN2-Aj-SBS8q6_7.js → LabeledControlledCheckBoxField-oCrnJOvZ-C_tLgp_2.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-Pa9lNFAP-BLMA5Ihy.js → LabeledCreatableSingleSelectField-CLwy3jto-6kBgWh3U.js} +2 -2
  93. package/dist/assets/{LabeledDocumentField-B2ukRZfL-CctHsxnL.js → LabeledDocumentField-CzCGGD_c-CyWBk4TI.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-a5mtCvoP-DHurVH0a.js → LabeledDropDownFormattedTextField-Bheiv7ea-CqOq71F-.js} +1 -1
  95. package/dist/assets/{LabeledText-CK6KL-W5-CWyptqRS.js → LabeledText-D-_XBlyx-BLiyfyGU.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B8g3bag6-fqHmnyy8.js → LabeledUserSingleSelectWithSubtitlesField-CJ3pdITP-DgAxUYBy.js} +14 -14
  97. package/dist/assets/{LabeledZeniRolesDropDownField-CBDnlCvs-ggZn88MC.js → LabeledZeniRolesDropDownField-kzun5jaQ-CzWl_vQB.js} +8 -8
  98. package/dist/assets/{LinkJETransactionPage-3O3Yt5wR-CElBYb_-.js → LinkJETransactionPage-Ccr_VDWf-BF7OU5Cx.js} +5 -5
  99. package/dist/assets/{LockCardPage-DyOI9Ybs-YLCNNztY.js → LockCardPage-BH1bCYHd-C_dlmzzS.js} +14 -14
  100. package/dist/assets/{LowBalancePopup-BeTaqlz1-BFTdINzQ.js → LowBalancePopup-Cce-bfYZ-C1mp1NRH.js} +5 -5
  101. package/dist/assets/{MagicLinkACHDetailsPage-DxRRHCJ2-DrUeyb9U.js → MagicLinkACHDetailsPage-DGLjTH4--DXjR43ae.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-SAF338Qk-BcKNxNxk.js → MagicLinkDomesticWireDetailsPage-iZ_A8hKu-BzSMkQ2z.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-ZLgmKBAb-DdWxFOJ9.js → MagicLinkInternationalWireDetailsPage-DI6FxizL-DTESNBQi.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-BSc8sD0V-DKYWqqGo.js → MagicLinkSuccessPage-tRoZoObg-Bw-mHJG-.js} +3 -3
  105. package/dist/assets/{MagicLinkTitleSection-DXORJA9X-CEfcVzDw.js → MagicLinkTitleSection-Sq8qAaFE-ByR60vnt.js} +4 -4
  106. package/dist/assets/{MailingDetailsSection-Cc4FW2GV-D_4U5iJc.js → MailingDetailsSection-phQk7trt-Cv1KyTDl.js} +1 -1
  107. package/dist/assets/{MeetingCalenderPopup-BRlRcoVp-C5dYXqBM.js → MeetingCalenderPopup-BP26R3Xd-puYVV6zO.js} +1 -1
  108. package/dist/assets/{Menu-Eb9403F_-INVygjkQ.js → Menu-GmpuICeF-CYPzEcPv.js} +1 -1
  109. package/dist/assets/{MyBankConnectionsSettingsPage-C90tZwwz-CldgDLZM.js → MyBankConnectionsSettingsPage-DGiqgSla-DEKN5-wL.js} +5 -5
  110. package/dist/assets/{MyPendingActivationChargeCardListPage-B9oYcscy-CrJa6RrL.js → MyPendingActivationChargeCardListPage-Pnz8VZCq-B6CM7SWu.js} +1 -1
  111. package/dist/assets/{MyProfileSettingsPage-Cjwop_Ay-D_CT3Qk9.js → MyProfileSettingsPage-CP7wvdEF-CRdutF4d.js} +5 -5
  112. package/dist/assets/{NavBarWithPicker-B-98XPxe-BaMTJVm6.js → NavBarWithPicker-B5FxeNVR-B92xbbfO.js} +5 -5
  113. package/dist/assets/{NavigationArrow-m3AgU9Z8-MSH4n1W0.js → NavigationArrow-4i7L536G-8aMpDpQB.js} +1 -1
  114. package/dist/assets/{NavigationDots-BmPjtPhU-CPBnlE_K.js → NavigationDots-CwkQ_08b-uui9ujJl.js} +1 -1
  115. package/dist/assets/{NewGlobalMerchantPage-CfRLHbqH-Ct01GXlu.js → NewGlobalMerchantPage-Bt8AZExZ-s_bAq9PH.js} +5 -5
  116. package/dist/assets/{NoDataChart-DUSDwlvT-B140u4QH.js → NoDataChart-CQkCf-4I-BOFeFNVT.js} +1 -1
  117. package/dist/assets/{NoDataTable-De4uI6V_-BVnbHmxv.js → NoDataTable-gfBnDJ37-Capgx4dH.js} +2 -2
  118. package/dist/assets/{NotFoundPage-DPPqAxWH-CRJC6FX-.js → NotFoundPage-rxGjpeg2-BNOZzxJ6.js} +1 -1
  119. package/dist/assets/{NotificationSettingsPage-CXM4CPw2-D3EQ9EFS.js → NotificationSettingsPage-Cqpbplvh-IxKsSb1R.js} +8 -8
  120. package/dist/assets/{NotificationsListConfig-BG_mQAEp-CLI0W3wI.js → NotificationsListConfig-CZ-EGn2b-C-ECkgeX.js} +1 -1
  121. package/dist/assets/{NotificationsPage-DW3R2qn_-CIH-DGt2.js → NotificationsPage-BPe5J66A-CX2X0F4y.js} +20 -20
  122. package/dist/assets/{OpExByVendorPage-BzC5bkVO-17imFzS7.js → OpExByVendorPage-CHlZ_QrA-Cq-e343_.js} +5 -5
  123. package/dist/assets/{OverlayContainerPage-Bfp6B5LD-DJXBA4bV.js → OverlayContainerPage-Bfp6B5LD-C-XPB3c7.js} +1 -1
  124. package/dist/assets/{PandLWithForecastPage-CgQGALab-DQEQPlvS.js → PandLWithForecastPage-CEosR4Ox-CIIRobMc.js} +10 -10
  125. package/dist/assets/{PaymentAccountSetupBillingAddressSection-vOzmzWKt-CntXAT_i.js → PaymentAccountSetupBillingAddressSection-DZa6FF0I-CJhUhkQY.js} +1 -1
  126. package/dist/assets/{PeoplePage-BuxEAZ_r-NFxBpQdu.js → PeoplePage-DGs9VYes-CrIo8rsy.js} +17 -17
  127. package/dist/assets/{PortfolioAllocationFormPage--JaFnxlz-Bx4-O19I.js → PortfolioAllocationFormPage-DJfXnuyM-B8v3nhRE.js} +5 -5
  128. package/dist/assets/{PortfolioDetails-8gEQqdCL-B981asg9.js → PortfolioDetails-CAfrMYXm-DzdPyfdi.js} +38 -38
  129. package/dist/assets/{ProductsCarousel-Ub7kS5qK-DeUcKuI8.js → ProductsCarousel-CCY4-kgM-N9Cvy8qE.js} +7 -7
  130. package/dist/assets/{PromoBaseCards-NC9RvmoP-DH4gIzgd.js → PromoBaseCards-B4ssN2hY-DHy08AWf.js} +1 -1
  131. package/dist/assets/{QBOConnectionDialog-DHqD4GDY-BlLZX2Gr.js → QBOConnectionDialog-BUhlyuRl-BrSfruiY.js} +2 -2
  132. package/dist/assets/{QBOSetupSection-Kvwz3TQX-ajVP_ZBB.js → QBOSetupSection-NY-Rb29p-2YvEvdNT.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRuleDetailPage-maBmtVF1-sAdHEAQ2.js → ReimbursementApprovalRuleDetailPage-Cz1dcVHY-BEyJfS6R.js} +1 -1
  134. package/dist/assets/{ReimbursementApprovalRulesPage-Dtbr3It9-tlrhm1OJ.js → ReimbursementApprovalRulesPage-B6m5I4mg-BWo1WijK.js} +5 -5
  135. package/dist/assets/{ReimbursementDetailPage-BZtvB7sp-CRTmIlXc.js → ReimbursementDetailPage-B9X4ATpl-mKLz9q3I.js} +12 -12
  136. package/dist/assets/{ReimbursementPromoPage-C6HQ_72P-BEcQYcnK.js → ReimbursementPromoPage-CQm5UwS6-CqZW_LVk.js} +18 -18
  137. package/dist/assets/{ReimbursementSetUpPage-B6QLTk0M-BhNSMsGA.js → ReimbursementSetUpPage-hhSaIjMr-D6MbtsOC.js} +3 -3
  138. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DGAASJaL-4Humq86g.js → ReimbursementsBulkReviewDrawerPage-BobanGxE-B7dxrdsF.js} +1 -1
  139. package/dist/assets/{ReloadCard-B6rPFzhI-bN9PbN6t.js → ReloadCard-4KhQd1_5-BvCYFQGY.js} +3 -3
  140. package/dist/assets/{ReportTableViewSelector-BUUyTzcb-BdXpSCry.js → ReportTableViewSelector-B07E8Zo8-BopTCBvc.js} +8 -8
  141. package/dist/assets/{ReportsPage-Bce0GpKJ-D-q8gXZb.js → ReportsPage-CMmQbrzC-D8WM6EVp.js} +4 -4
  142. package/dist/assets/{RevenueChart-D4xZ-4oN-Cy42ZtRR.js → RevenueChart-BO5j7RPD-kEJXV_ux.js} +1 -1
  143. package/dist/assets/{ReviewDetailsPage-BUZf8FFh-CO-6saOl.js → ReviewDetailsPage-BtyqiR34-Sj09MpUk.js} +11 -11
  144. package/dist/assets/{ReviewOverlay-BMBCcuHb-B92ei7sm.js → ReviewOverlay-D6STLnt_-CQKd8yrB.js} +6 -6
  145. package/dist/assets/{RoleWithToolTip-C2wcprrB-CMP3_Uf6.js → RoleWithToolTip-DO6XsXwl-CEPX7d2_.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CGU2Fdt9-CvHUETL3.js → ScheduleDetailsFixedAssetsPage-CUuEOn1N-C8H2Z84j.js} +8 -8
  147. package/dist/assets/{ScheduleDetailsPage-xg1Zv_DJ-DlRRKDe-.js → ScheduleDetailsPage-C3wi_QgG-By6ahU4g.js} +3 -3
  148. package/dist/assets/{ScheduleSequenceTable-JfkOCCNv-DfzSNCs6.js → ScheduleSequenceTable-CQh2w4Av-B8PbRIgI.js} +22 -22
  149. package/dist/assets/{ScreenRoutes-Q7zvozIw.js → ScreenRoutes-W1UZbvkB.js} +1 -1
  150. package/dist/assets/{SetUpAccountSection-BJTavkRN-Cxo5cNhD.js → SetUpAccountSection-BuWGJdUs-Cg58FSUi.js} +1 -1
  151. package/dist/assets/{SetUpDefaultSection-BPjuyGhv-MGj01zNe.js → SetUpDefaultSection-CzGPn7pr-C4f94WAZ.js} +6 -6
  152. package/dist/assets/{SignIn-DmwcQv5k-UKIynetQ.js → SignIn-C2nBByf2-DHrSuW91.js} +14 -14
  153. package/dist/assets/{SignInScreen-BmJiT3L8.js → SignInScreen-BjKTdp2r.js} +1 -1
  154. package/dist/assets/{SpendManagementListViewPage-Bq3Vk6hJ-DXK5CJX_.js → SpendManagementListViewPage-8Rs0vlhx-CD1-jVJt.js} +10 -10
  155. package/dist/assets/{SpendManagementPerTabPage-B3LfVsdf-DiW5X5Le.js → SpendManagementPerTabPage-Bs2FfC_d-BfNbwtDj.js} +1 -1
  156. package/dist/assets/{SpendManagementSection-CWzruWMM-kRT6sMZ5.js → SpendManagementSection-m_-gfCi0-B7t5vsAn.js} +8 -8
  157. package/dist/assets/{SpendMgmtSetupAccountSection-B7pCJ-wF-BS9XMFky.js → SpendMgmtSetupAccountSection-Bx8pb7IS-CeahzOm8.js} +16 -16
  158. package/dist/assets/{StatementItem-Bhf11bQF-Cq1HO0NM.js → StatementItem-DY7H9jmv-MT0tik6Y.js} +4 -4
  159. package/dist/assets/{StatementsPage-BdT6cHvE-6N_omLVg.js → StatementsPage-W0xQtrKU-D2oWwGef.js} +1 -1
  160. package/dist/assets/{StatusSwitcher-DR0w0APD-BoEjL-QF.js → StatusSwitcher-BPkJYEUn-2RqPQlxH.js} +1 -1
  161. package/dist/assets/{SubTabSwitcher-DHs67kES-sGATB2C1.js → SubTabSwitcher-Iq1ybQsh-BkfIozTo.js} +1 -1
  162. package/dist/assets/{SummaryCard-B8BNDe4N-DTEQmn31.js → SummaryCard-BS7jylqe-4K-K-Az6.js} +1 -1
  163. package/dist/assets/{TaskManagementPage-CKiM8FX7-FUGg0ymj.js → TaskManagementPage-CaIOoBs9-BQKT5llw.js} +12 -12
  164. package/dist/assets/{TimeRangeSwitcher-AV40whWA-RQy-VhEz.js → TimeRangeSwitcher-lD9n72og-DILrVdAr.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcher-DgBPNTNx-DV5Oe_FJ.js → TimeframeSwitcher-DsvRPfmt-Bdt5yQ45.js} +1 -1
  166. package/dist/assets/{TimeframeSwitcherWithToggle-B1KT5O3z-COOMm8xa.js → TimeframeSwitcherWithToggle-BZOqoU9I-DXM0qzLV.js} +1 -1
  167. package/dist/assets/{TopExCard-DQrXlp7I-Sh35tdYa.js → TopExCard-BM8KxH2w-BqOWgVTE.js} +6 -6
  168. package/dist/assets/{TopExDetailPage-CHrxQfPG-C77_KQzY.js → TopExDetailPage-Cu_5Kztz-BrGZo_vD.js} +7 -7
  169. package/dist/assets/{TransactionDetailPage-d_p3uRlX-B3wxlGtn.js → TransactionDetailPage-3v2i9h0F-DJqG8Mxv.js} +48 -48
  170. package/dist/assets/{TransactionList-O03ZlnWh-Bpdy17-q.js → TransactionList-0G6zEoZ8-D5pxWQjx.js} +8 -8
  171. package/dist/assets/{TransactionListBig-8wHrHiPR-Bq7OGX3X.js → TransactionListBig-BnJb95Ys-C9xkk-FD.js} +10 -10
  172. package/dist/assets/{TransactionListPage-D2BNZRL1-CFwbHOmV.js → TransactionListPage-BTaYpIjM-BVq7LcBn.js} +6 -6
  173. package/dist/assets/{TransactionVendorDetailPage-DR93YF1l-DAZpZ7Yt.js → TransactionVendorDetailPage-CR5ztRJg-TFjvx5pZ.js} +4 -4
  174. package/dist/assets/{TransferDrawerPage-Kx5hV4CN-BuAP6hip.js → TransferDrawerPage-BUYsQVAi-CxKcnsGV.js} +18 -18
  175. package/dist/assets/{TreasuryOverviewPage-DiLZidww-Bp-e-qG4.js → TreasuryOverviewPage-BU68qiE--BUegG6Z8.js} +31 -31
  176. package/dist/assets/{TreasuryPromoPage-Dmv3VyuR-BcZzsBka.js → TreasuryPromoPage-BJbbz6X3-qRRqDZeX.js} +14 -14
  177. package/dist/assets/{TreasurySetupPage-b22hbuMG-BLoZmRxn.js → TreasurySetupPage-CepBjvYC-BjHePuWj.js} +4 -4
  178. package/dist/assets/{TreasuryStatementsPage-Kuiqcvb_-CR4IJt0u.js → TreasuryStatementsPage-DRVq5jL8-DLk7x4np.js} +1 -1
  179. package/dist/assets/{TreasuryTaxLetterPage-WEB8UX8b-BJ5nUbsI.js → TreasuryTaxLetterPage-TvLP1Bn8-CphZ4tlt.js} +1 -1
  180. package/dist/assets/{TreasuryTransferOrReviewPage-CG4D4A1o-PBB-nENC.js → TreasuryTransferOrReviewPage-B0icUYG--Bvkzr6fa.js} +29 -29
  181. package/dist/assets/{TrendChart-DhcVMLAS-dPJf5AfN.js → TrendChart-CTxGMI5V-DIHxTeIB.js} +2 -2
  182. package/dist/assets/{TrendWithTransactions-BqcVS6sz-CbFZs26Y.js → TrendWithTransactions-DDLd7v92-DbekBu-o.js} +2 -2
  183. package/dist/assets/{UncategorizedAccountsMappingPage-BAuoVpO_-CK_0dAHm.js → UncategorizedAccountsMappingPage-UgnjtT08-CgA90lKw.js} +1 -1
  184. package/dist/assets/{UnitIntegrationPage-BtOlR8XL-BJtOjZwr.js → UnitIntegrationPage-deuYG8uZ-LvnfseyQ.js} +4 -4
  185. package/dist/assets/{UploadAdditionalDocumentOverlay-3vF1Skor-ztBNFxlX.js → UploadAdditionalDocumentOverlay-wt5yUz2j-B2wCpPVv.js} +2 -2
  186. package/dist/assets/{Vendor2FAPopup-hOSRHsy_-BqvsLXBX.js → Vendor2FAPopup-C7dtr-YO-DDVd0UsB.js} +1 -1
  187. package/dist/assets/{VendorACHDetailsPage-BkM9eR_B-yqTKfqFv.js → VendorACHDetailsPage-Cn_3t-pn-Bg1CKoS3.js} +1 -1
  188. package/dist/assets/{VendorDetailPage-BBT48Kkt-CO2bngf5.js → VendorDetailPage-Bki7iwdQ-yLyVWBFC.js} +10 -10
  189. package/dist/assets/{VendorDomesticWireDetailsPage-CaehDhlW-DH8WsNlc.js → VendorDomesticWireDetailsPage-B8kvwDE8-0Q9gSTWa.js} +1 -1
  190. package/dist/assets/{VendorFiling1099EditablePage-9K0hwpHZ-BRa-d-LT.js → VendorFiling1099EditablePage-D8UdTVKr-CtX5W8h4.js} +9 -9
  191. package/dist/assets/{VendorFirstReviewPage-BNbzkig4-DrXabH2l.js → VendorFirstReviewPage-D3kQnhDc-D-drgv7f.js} +31 -31
  192. package/dist/assets/{VendorInternationalWireDetailsPage-DCX7-K1G-B-x6ZBfN.js → VendorInternationalWireDetailsPage-DpeFWwvR-CU3mLGrD.js} +8 -8
  193. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DpSWxlM3-Dljw6ZyV.js → VendorInternationalWireSwiftDetailsPage-CpiStIb7-ELCGniwi.js} +1 -1
  194. package/dist/assets/{VendorsAccountsSection-p8LxNVft-klyfvcak.js → VendorsAccountsSection-s2bpUExj-BYhkTRIf.js} +4 -4
  195. package/dist/assets/{VerifyDevice-D2-isRVX-BivXqHVb.js → VerifyDevice-BCTm2W7I-j2seQEaf.js} +7 -7
  196. package/dist/assets/{VideoPlayer-CgIjY1dL-CO-9PpQO.js → VideoPlayer-DuO5TAg8-Ba81rqUG.js} +1 -1
  197. package/dist/assets/{VideoPopup-BCsH0SM6-Ca1DYr6Z.js → VideoPopup-dZByyuY3-DtcB9ZtM.js} +1 -1
  198. package/dist/assets/{WarningsDrawerPage-CZb2eOk8-CVkPBYHb.js → WarningsDrawerPage-BtjkGMVI-roDUlXIQ.js} +7 -7
  199. package/dist/assets/{ZeniAccountDetailPage-CKBKFBTP-DhDz9oc-.js → ZeniAccountDetailPage-_hVhgs2W-DtnItE6I.js} +23 -23
  200. package/dist/assets/{ZeniAccountListViewPage-Cy6e5kHc-DW-JuY69.js → ZeniAccountListViewPage-BUnhCMHI-BqZRX21k.js} +16 -16
  201. package/dist/assets/{ZeniAccountNavBarPieces-BHNAl3ak-Dh-dy6fW.js → ZeniAccountNavBarPieces-BBMeqTrx-DpevpTE5.js} +1 -1
  202. package/dist/assets/{ZeniAccountPromoPage-kci82Own-BUTtJ8vG.js → ZeniAccountPromoPage-CXFUWMo--LbgfAUD5.js} +10 -10
  203. package/dist/assets/{ZeniAccountSetupPage-VumhhVnm-B0viDIQ_.js → ZeniAccountSetupPage-zfy6J9zR-BIF9l1Vx.js} +5 -5
  204. package/dist/assets/{ZeniCopyright-CZ4ajVDN-BVhEhvZ1.js → ZeniCopyright-QEiQIfuY-Dwu12aw4.js} +1 -1
  205. package/dist/assets/{ZeniTransferAmountSlider-KygOq2uU-CjBrIBol.js → ZeniTransferAmountSlider-BxKhIGY3-Ddp6aXzz.js} +4 -4
  206. package/dist/assets/{analyticsHelper-DJKzvKjp-gAxPqwls.js → analyticsHelper-BWKdOf1v-CvJXmFcY.js} +1 -1
  207. package/dist/assets/{analyticsHelper-BHPmDpEk.js → analyticsHelper-Bgwp3KV7.js} +1 -1
  208. package/dist/assets/{chartTypes-JJtb0set-BAM2mOi_.js → chartTypes-CsP2ie25-DlgTBmsX.js} +1 -1
  209. package/dist/assets/{commonDimensions-TTIaVnPW-BXShDdU2.js → commonDimensions-CRMbPjiD-AbJb-Zpg.js} +1 -1
  210. package/dist/assets/{detailCommon-BXNADi6Y-BLfmRy68.js → detailCommon-DBQtoH5n-Ky47JaQo.js} +5 -5
  211. package/dist/assets/{downloadPdf-BltCd_9L-C4AtOwrW.js → downloadPdf-BOoaeEZf-Dmbs-Wk_.js} +1 -1
  212. package/dist/assets/{index-e-GQ8YxF.js → index-BDUQ1SDM.js} +2545 -2545
  213. package/dist/assets/{mapLoadingInProgressToTreeNode-Cld8qamo-DGSZzMLu.js → mapLoadingInProgressToTreeNode-CEv-_FhS-Cu9ER6F9.js} +1 -1
  214. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B9hrGQTj-CJNDut7d.js → mapSectionWithAcOnlyToTreeNode-DhMEGQTv-CIhRNFRO.js} +1 -1
  215. package/dist/assets/{mapSpacerToTreeNode-DpzMcEWG-DjcN3MGG.js → mapSpacerToTreeNode-D5Gd9wnQ-DSgE-IhO.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-DLFcPciK-ILIfmzF2.js → mapTimeframeBalancesToTreeNode-ISmO6_ed-DNZgh1t7.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-C8kC3A0M-DqrQO1DM.js → mapTimeframeBalancesToTreeNode-fldsFrwB-Dhig3rTU.js} +1 -1
  218. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BebH33Hz-DjvgaG87.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D32mbUTy-CW5aIOtK.js} +1 -1
  219. package/dist/assets/{toCOABalancesWithID-Bi3pPr1L-D-90tGul.js → toCOABalancesWithID-CE_bKfxv-BYfsiasP.js} +1 -1
  220. package/dist/assets/{toChartData-CfJ1pXok-Cgdus0Lo.js → toChartData-CL7VyxrV-M_R7kfqG.js} +1 -1
  221. package/dist/assets/{treasuryColorHelper-CMiQNUM6-BB6z3di0.js → treasuryColorHelper-Th38dpPk-DhauKUyt.js} +1 -1
  222. package/dist/assets/{uploadAttachment-BgqOMPAQ-a3BBkCHR.js → uploadAttachment-CEh_fkXg-DjyCeomw.js} +8 -8
  223. package/dist/assets/{uploadReceipts-Bd5TgaCa-CnV_pXgY.js → uploadReceipts-Bd5TgaCa-DV299_mg.js} +1 -1
  224. package/dist/index.html +1 -1
  225. package/package.json +2 -2
  226. package/dist/assets/CustomerOnboardingContainerPage-xrZSfssA-6YE1D32l.js +0 -1
  227. package/dist/assets/HelpButton-DkqaiXzs-DPH7eoca.js +0 -28
@@ -1,4 +1,4 @@
1
- import{q as E,aa as I,F as S,cR as W,j as n,cC as H,cD as O,cE as V,ad as q,aQ as K,y as s,f9 as Q,b6 as U,o as _,u as t}from"./index-e-GQ8YxF.js";import{b as x,n as d}from"./vendor-Bs1fkIUX.js";import{W as G,F as J}from"./BankAccountWarningSection-yKcLhvaB-W3BR4erg.js";import{M as X}from"./MagicLinkTitleSection-DXORJA9X-CEfcVzDw.js";import{e as Y}from"./BankAccountSection-hFbcPE-Y-C8vNGSTY.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)},j="achDetailsPage",b="bankAccountSection",w=e=>`${e}_form`,de=({bankAccountCreationState:e,bankAccountToCreate:f,fetchBankNameByRoutingStatus:k,isDisabled:y,style:A,onSaveHandler:B,onBackClick:g,onACHDetailsUpdated:N,onFetchBankName:T,isMagicLink:u,companyName:v,currencySymbol:$,amount:D,bankAccountContext:P})=>{const r=E(),i=I({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(f),[f])}),[R,m]=x.useState(!1),c=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,z=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;N(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 F=i.handleSubmit(p=>{k.fetchState!=="In-Progress"&&B("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:A,size:r,children:[R===!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(G,{header:u?n.jsx(X,{companyName:v??"",currencySymbol:$??"",amount:D??0}):C.addACHDetails,isMagicLink:u,isDirty:i.formState.isDirty,onBackClick:g,setShowConfirmationPopup:m}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:h.accountExistWarning}):null,P==="express-pay"?null:n.jsx(ae,{size:r,children:C.title}),n.jsx(ie,{children:n.jsx(q,{...i,children:n.jsx("form",{id:w(j),onSubmit:F,children:n.jsx(ee,{size:r,children:n.jsx(Y,{bankAccountToCreate:f,fetchBankNameByRoutingStatus:k,sectionId:b,isDisabled:y})})})})})]}),n.jsx(K,{formId:w(j),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:z.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 E,aa as I,F as S,cR as W,j as n,cC as H,cD as O,cE as V,ad as q,aQ as K,y as s,f9 as Q,b6 as U,o as _,u as t}from"./index-BDUQ1SDM.js";import{b as x,n as d}from"./vendor-Bs1fkIUX.js";import{W as G,F as J}from"./BankAccountWarningSection-BfTho-bC-q_hjgVRt.js";import{M as X}from"./MagicLinkTitleSection-Sq8qAaFE-ByR60vnt.js";import{e as Y}from"./BankAccountSection-DpcyDDdf-By9pgC9S.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)},j="achDetailsPage",b="bankAccountSection",w=e=>`${e}_form`,de=({bankAccountCreationState:e,bankAccountToCreate:f,fetchBankNameByRoutingStatus:k,isDisabled:y,style:A,onSaveHandler:B,onBackClick:g,onACHDetailsUpdated:N,onFetchBankName:T,isMagicLink:u,companyName:v,currencySymbol:$,amount:D,bankAccountContext:P})=>{const r=E(),i=I({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(f),[f])}),[R,m]=x.useState(!1),c=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,z=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;N(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 F=i.handleSubmit(p=>{k.fetchState!=="In-Progress"&&B("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:A,size:r,children:[R===!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(G,{header:u?n.jsx(X,{companyName:v??"",currencySymbol:$??"",amount:D??0}):C.addACHDetails,isMagicLink:u,isDirty:i.formState.isDirty,onBackClick:g,setShowConfirmationPopup:m}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:h.accountExistWarning}):null,P==="express-pay"?null:n.jsx(ae,{size:r,children:C.title}),n.jsx(ie,{children:n.jsx(q,{...i,children:n.jsx("form",{id:w(j),onSubmit:F,children:n.jsx(ee,{size:r,children:n.jsx(Y,{bankAccountToCreate:f,fetchBankNameByRoutingStatus:k,sectionId:b,isDisabled:y})})})})})]}),n.jsx(K,{formId:w(j),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:z.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,F as j,l as k,cq as M1,j as r,aM as y1,c5 as j1,o,k2 as H,C as _,cx as $1,u as n,b_ as L,dK as d1,h as d,a8 as v1,b3 as c1,be as h1,bh as p1,bg as G,b as m1,bR as S1,bS as b1,bf as Q,k3 as f,ai as g,k4 as Z1,k5 as B1,as as b,L as K,b6 as J,an as W1,k6 as F1,e3 as D1,gc as _1,cv as u1,am as P1}from"./index-e-GQ8YxF.js";import{b as t,n as i,i as T1,k as H1}from"./vendor-Bs1fkIUX.js";import{R as z1}from"./NavBarWithPicker-B-98XPxe-BaMTJVm6.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,F as j,l as k,cq as M1,j as r,aM as y1,c5 as j1,o,k2 as H,C as _,cx as $1,u as n,b_ as L,dK 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,k3 as f,ai as g,k4 as Z1,k5 as B1,as as b,L as K,b6 as J,an as W1,k6 as F1,e3 as D1,gc as _1,cv as u1,am as P1}from"./index-BDUQ1SDM.js";import{b as t,n as i,i as T1,k as H1}from"./vendor-Bs1fkIUX.js";import{R as z1}from"./NavBarWithPicker-B5FxeNVR-B92xbbfO.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};
@@ -52,7 +52,7 @@ import{y as u,a9 as w1,q as M,F as j,l as k,cq as M1,j as r,aM as y1,c5 as j1,o,
52
52
  display: flex;
53
53
  flex-direction: column;
54
54
  gap: ${o.sp4};
55
- `,X1=i.div`
55
+ `,Y1=i.div`
56
56
  display: flex;
57
57
  justify-content: space-between;
58
58
  align-items: center;
@@ -62,15 +62,15 @@ import{y as u,a9 as w1,q as M,F as j,l as k,cq 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
- `,Y1=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(K1,{children:[r.jsx(L,{width:180,height:n[4]}),r.jsx(L,{width:300,height:21})]})}),r.jsx(J1,{children:[...Array(3)].map((s,a)=>r.jsxs(X1,{children:[r.jsxs(Y1,{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(K1,{children:[r.jsx(L,{width:180,height:n[4]}),r.jsx(L,{width:300,height:21})]})}),r.jsx(J1,{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)};
@@ -271,15 +271,15 @@ import{y as u,a9 as w1,q as M,F as j,l as k,cq as M1,j as r,aM as y1,c5 as j1,o,
271
271
  `,F=i(K)`
272
272
  font-size: 28px;
273
273
  color: ${e=>e.theme.colors.brandColorOnyx};
274
- `,X2=i(g)`
274
+ `,Y2=i(g)`
275
275
  font-size: 16px;
276
276
  color: ${e=>e.theme.colors.brandColorOnyx};
277
277
  line-height: 2;
278
- `,Y2=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(Y2,{})}),r.jsxs(A2,{children:[r.jsxs(N2,{children:[r.jsx(G2,{children:l.annualizedImpact.title}),r.jsx(I2,{children:l.annualizedImpact.subtitle})]}),r.jsxs(K2,{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(J2,{children:[r.jsxs(F,{children:[Number(h(e.forecastAnnualSavings.timeSavedMinutes).toFixed()).toLocaleString()," "]}),r.jsxs(X2,{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(N2,{children:[r.jsx(G2,{children:l.annualizedImpact.title}),r.jsx(I2,{children:l.annualizedImpact.subtitle})]}),r.jsxs(K2,{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(J2,{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};
@@ -495,14 +495,14 @@ import{y as u,a9 as w1,q as M,F as j,l as k,cq as M1,j as r,aM as y1,c5 as j1,o,
495
495
  flex-wrap: wrap;
496
496
  gap: ${o.sp3};
497
497
  margin-bottom: ${o.sp8};
498
- `,X3=i.div`
498
+ `,Y3=i.div`
499
499
  flex: 1;
500
500
  min-width: 300px;
501
- `,Y3=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,F as j,l as k,cq 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,X]=t.useState(k.convertToTimeSeriesSelectionRange(w)),[Z,Y]=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),Y(w),X(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"),Y(k.toTimeSeriesDuration(m)),X(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(K3,{windowSize:h,children:[r.jsxs(X3,{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(Y3,{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(J3,{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(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(K3,{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(J3,{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,N3 as navBarHeight};
@@ -1,18 +1,18 @@
1
- import{b as f,q as y,j as t,gV as $,o,y as a,hD as P,u as i}from"./index-e-GQ8YxF.js";import{b as j,n}from"./vendor-Bs1fkIUX.js";import{G as z}from"./StatusSwitcher-DR0w0APD-BoEjL-QF.js";import{r as A}from"./AccountInfoPageContent-B4FxbVtj-B_BIvtFP.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-BltCd_9L-C4AtOwrW.js";import"./commonDimensions-TTIaVnPW-BXShDdU2.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])},Y=({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(b,{children:[t.jsx($,{title:"",backgroundColor:g.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(D,{windowSize:d,children:s.accountName}),t.jsx(T,{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`
1
+ import{c as f,q as y,j as t,gV as $,o,y as a,hD as P,u as i}from"./index-BDUQ1SDM.js";import{b as j,n}from"./vendor-Bs1fkIUX.js";import{G as z}from"./StatusSwitcher-BPkJYEUn-2RqPQlxH.js";import{r as A}from"./AccountInfoPageContent-kxDcS90R-CLtMsCqN.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-BOoaeEZf-Dmbs-Wk_.js";import"./commonDimensions-CRMbPjiD-AbJb-Zpg.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])},Y=({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(D,{children:[t.jsx($,{title:"",backgroundColor:g.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(T,{windowSize:c,children:s.accountName}),t.jsx(b,{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`
2
2
  padding-left: ${e=>`${r.containerPaddingLeft.valuePx(e.windowSize)}`};
3
3
  padding-right: ${e=>`${r.containerPaddingRight.valuePx(e.windowSize)}`};
4
- `,b=n.div`
4
+ `,D=n.div`
5
5
  display: flex;
6
6
  flex-direction: column;
7
7
  background-color: ${e=>e.theme.colors.grey4};
8
8
  overflow-x: hidden;
9
9
  height: 100%;
10
10
  width: 100%;
11
- `,D=n(P)`
11
+ `,T=n(P)`
12
12
  color: ${e=>e.theme.colors.primary};
13
13
  padding: ${o.sp3} ${o.sp0};
14
14
  margin: ${e=>`${o.sp0} ${r.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
15
- `,T=n.div`
15
+ `,b=n.div`
16
16
  display: flex;
17
17
  justify-content: flex-start;
18
18
  `;export{Y as default};
@@ -1,4 +1,4 @@
1
- import{q as we,fW as Ae,hE as Q,j as r,F as Se,c5 as D,m as Te,aM as z,o as a,b6 as ve,cg as Ce,h as _,ai as ee,M as De,fY as ze,am as re}from"./index-e-GQ8YxF.js";import{b as s,n as t}from"./vendor-Bs1fkIUX.js";import{w as Le}from"./downloadPdf-BltCd_9L-C4AtOwrW.js";import{o as Me}from"./commonDimensions-TTIaVnPW-BXShDdU2.js";const{common:{strings:_e,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:V},billPay:{vendorCreation:{achDetails:o}},downloads:Y}}=Se.getLocalizedStrings(),Ze=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const oe=we(),[,R]=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,P]=s.useState(!1),[N,I]=s.useState(!1),[j,q]=s.useState(!1),[w,G]=s.useState(!1),[A,O]=s.useState(!1),[S,U]=s.useState(!1),[T,W]=s.useState(!1),[$,B]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,C=Q(u.zeniAccountsConfigDetail.mailingAddress).text2,m=Q(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(p||S||T||$||A||$||j||N||w)&&setTimeout(()=>{P(!1),U(!1),W(!1),B(!1),O(!1),G(!1),q(!1),I(!1)},1200)},[p,S,T,$,A,w,j,N]);const H=(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,fW as Ae,hE as Q,j as r,F as Se,c5 as D,m as Te,aM as z,o as a,b6 as ve,cg as Ce,h as E,ai as ee,M as De,fY as ze,am as re}from"./index-BDUQ1SDM.js";import{b as s,n as t}from"./vendor-Bs1fkIUX.js";import{w as Le}from"./downloadPdf-BOoaeEZf-Dmbs-Wk_.js";import{o as _e}from"./commonDimensions-CRMbPjiD-AbJb-Zpg.js";const{common:{strings:Ee,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:V},billPay:{vendorCreation:{achDetails:o}},downloads:Y}}=Se.getLocalizedStrings(),Ze=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const oe=we(),[,R]=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,I]=s.useState(!1),[N,P]=s.useState(!1),[j,q]=s.useState(!1),[w,O]=s.useState(!1),[A,B]=s.useState(!1),[S,G]=s.useState(!1),[T,U]=s.useState(!1),[$,W]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,C=Q(u.zeniAccountsConfigDetail.mailingAddress).text2,m=Q(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(p||S||T||$||A||$||j||N||w)&&setTimeout(()=>{I(!1),G(!1),U(!1),W(!1),B(!1),O(!1),q(!1),P(!1)},1200)},[p,S,T,$,A,w,j,N]);const H=(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
 
@@ -18,21 +18,21 @@ ${o.beneficiaryName} ${v}
18
18
 
19
19
  ${o.bankAddress} ${m}
20
20
 
21
- ${o.beneficiaryAddress} ${C}`,R(c),P(!0)},i=(h,c,x,J)=>{let d,l;switch(x){case"acccountNumber":d=ne,l=T;break;case"accountType":d=se,l=S;break;case"bankName":d=be,l=A;break;case"beneficiaryName":d=he,l=N;break;case"beneficiaryAddress":d=me,l=w;break;case"bankAddress":d=fe,l=j;break;default:d=le,l=$;break}const je=()=>{switch(x){case"accountType":U(!0);break;case"acccountNumber":W(!0);break;case"routingNumber":B(!0);break;case"bankName":O(!0);break;case"beneficiaryName":I(!0);break;case"beneficiaryAddress":G(!0);break;case"bankAddress":q(!0);break}};return r.jsxs(Oe,{onMouseEnter:()=>H(x,!0),onMouseLeave:()=>H(x,!1),children:[r.jsx(Ue,{children:h}),r.jsx(Be,{children:r.jsxs(He,{children:[r.jsxs(We,{children:[d||oe==="small"?r.jsx(L,{children:r.jsx(D,{display:"flex",placement:"left",title:r.jsx(M,{isTextCopied:l,children:l?y.copied:y.copy}),enterDelay:600,children:l===!0?r.jsx(Z,{}):r.jsx(X,{"data-testid":z("account-info-copy",x),onClick:()=>{R(c),je()}})})}):null,c]}),J!=null?r.jsx(Je,{children:J}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:n.id,company_name:g?.companyName??"",company_legal_name:g?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${ae}?query=${ke}`;return r.jsx(Ee,{children:r.jsxs(Re,{children:[r.jsxs(Pe,{children:[r.jsx(qe,{children:f==="achDetails"?V.achTitle:V.wireTitle}),r.jsxs(Ie,{children:[r.jsx(L,{children:r.jsx(D,{display:"flex",placement:"left",title:r.jsx(M,{isTextCopied:k,children:k?Y.downloading:Y.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(Ge,{"data-testid":z("account-info-download-pdf"),onClick:()=>{Le(Ne,_e.empty,e,te,!0)}})})}),r.jsx(L,{children:r.jsx(D,{display:"flex",placement:"left",title:r.jsx(M,{isTextCopied:p,children:p?y.copied:y.copy}),enterDelay:600,children:p===!0?r.jsx(Z,{}):r.jsx(X,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(Qe,{children:[r.jsx(F,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(K,{children:i(o.bankAddress,m,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(Ve,{children:[r.jsx(F,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(b,{children:i(o.bankAddress,m,"bankAddress")}):null,v!=null?r.jsx(b,{children:i(o.beneficiaryName,v,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(K,{children:i(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Ee=t.div``,Re=t.div`
21
+ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,J)=>{let d,l;switch(x){case"acccountNumber":d=ne,l=T;break;case"accountType":d=se,l=S;break;case"bankName":d=be,l=A;break;case"beneficiaryName":d=he,l=N;break;case"beneficiaryAddress":d=me,l=w;break;case"bankAddress":d=fe,l=j;break;default:d=le,l=$;break}const je=()=>{switch(x){case"accountType":G(!0);break;case"acccountNumber":U(!0);break;case"routingNumber":W(!0);break;case"bankName":B(!0);break;case"beneficiaryName":P(!0);break;case"beneficiaryAddress":O(!0);break;case"bankAddress":q(!0);break}};return r.jsxs(Be,{onMouseEnter:()=>H(x,!0),onMouseLeave:()=>H(x,!1),children:[r.jsx(Ge,{children:h}),r.jsx(We,{children:r.jsxs(He,{children:[r.jsxs(Ue,{children:[d||oe==="small"?r.jsx(L,{children:r.jsx(D,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:l,children:l?y.copied:y.copy}),enterDelay:600,children:l===!0?r.jsx(Z,{}):r.jsx(X,{"data-testid":z("account-info-copy",x),onClick:()=>{R(c),je()}})})}):null,c]}),J!=null?r.jsx(Je,{children:J}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:n.id,company_name:g?.companyName??"",company_legal_name:g?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${ae}?query=${ke}`;return r.jsx(Me,{children:r.jsxs(Re,{children:[r.jsxs(Ie,{children:[r.jsx(qe,{children:f==="achDetails"?V.achTitle:V.wireTitle}),r.jsxs(Pe,{children:[r.jsx(L,{children:r.jsx(D,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:k,children:k?Y.downloading:Y.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(Oe,{"data-testid":z("account-info-download-pdf"),onClick:()=>{Le(Ne,Ee.empty,e,te,!0)}})})}),r.jsx(L,{children:r.jsx(D,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:p,children:p?y.copied:y.copy}),enterDelay:600,children:p===!0?r.jsx(Z,{}):r.jsx(X,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(Qe,{children:[r.jsx(F,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(K,{children:i(o.bankAddress,m,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(Ve,{children:[r.jsx(F,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(b,{children:i(o.bankAddress,m,"bankAddress")}):null,v!=null?r.jsx(b,{children:i(o.beneficiaryName,v,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(K,{children:i(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Me=t.div``,Re=t.div`
22
22
  margin: ${a.sp4};
23
23
  margin-left: ${a.sp0};
24
- `,Pe=t.div`
24
+ `,Ie=t.div`
25
25
  display: flex;
26
26
  align-items: center;
27
27
  justify-content: space-between;
28
28
  margin-bottom: ${a.sp3};
29
- `,Ie=t.div`
29
+ `,Pe=t.div`
30
30
  display: flex;
31
31
  gap: ${a.sp4};
32
32
  `,qe=t(ve)`
33
33
  color: ${e=>e.theme.colors.primary};
34
34
  margin-right: ${a.sp2};
35
- `,Ge=t(Ce)`
35
+ `,Oe=t(Ce)`
36
36
  height: ${a.sp3};
37
37
  width: ${a.sp3};
38
38
  color: ${e=>e.theme.colors.hero};
@@ -40,9 +40,9 @@ ${o.beneficiaryAddress} ${C}`,R(c),P(!0)},i=(h,c,x,J)=>{let d,l;switch(x){case"a
40
40
  &:hover {
41
41
  color: ${e=>e.theme.colors.primary};
42
42
  }
43
- `,E=t.div`
43
+ `,M=t.div`
44
44
  box-sizing: border-box;
45
- min-height: ${Me.transactionItemHeight}px;
45
+ min-height: ${_e.transactionItemHeight}px;
46
46
  display: flex;
47
47
  border: 1px solid;
48
48
  border-radius: ${a.sp2};
@@ -57,7 +57,7 @@ ${o.beneficiaryAddress} ${C}`,R(c),P(!0)},i=(h,c,x,J)=>{let d,l;switch(x){case"a
57
57
  color: ${e=>e.theme.colors.grey1};
58
58
  }
59
59
  }
60
- `,F=t(E)`
60
+ `,F=t(M)`
61
61
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
62
62
  display: flex;
63
63
  border-top-width: 1px;
@@ -72,7 +72,7 @@ ${o.beneficiaryAddress} ${C}`,R(c),P(!0)},i=(h,c,x,J)=>{let d,l;switch(x){case"a
72
72
  &:hover {
73
73
  border-bottom-width: 1px;
74
74
  }
75
- `,K=t(E)`
75
+ `,K=t(M)`
76
76
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
77
77
  display: flex;
78
78
  border-top-width: 0.5px;
@@ -106,24 +106,24 @@ ${o.beneficiaryAddress} ${C}`,R(c),P(!0)},i=(h,c,x,J)=>{let d,l;switch(x){case"a
106
106
  `,Z=t(De)`
107
107
  height: ${a.sp3};
108
108
  width: ${a.sp3};
109
- color: ${_.success};
110
- `,Oe=t.div`
109
+ color: ${E.success};
110
+ `,Be=t.div`
111
111
  display: flex;
112
112
  flex-direction: row;
113
113
  padding: ${a.sp3} ${a.sp4};
114
114
  justify-content: space-between;
115
115
  width: 100%;
116
116
  gap: ${a.sp4};
117
- `,Ue=t(re)`
117
+ `,Ge=t(re)`
118
118
  color: ${e=>e.theme.colors.hero};
119
- `,We=t(re)`
119
+ `,Ue=t(re)`
120
120
  display: flex;
121
121
  align-items: center;
122
122
  color: ${e=>e.theme.colors.primary};
123
123
  background-color: ${e=>e.theme.colors.grey5};
124
124
  justify-content: flex-end;
125
125
  text-align: end;
126
- `,Be=t.div`
126
+ `,We=t.div`
127
127
  display: flex;
128
128
  `,He=t.div`
129
129
  display: flex;
@@ -132,9 +132,9 @@ ${o.beneficiaryAddress} ${C}`,R(c),P(!0)},i=(h,c,x,J)=>{let d,l;switch(x){case"a
132
132
  `,Je=t(ee)`
133
133
  color: ${e=>e.theme.colors.grey1};
134
134
  text-align: end;
135
- `,M=t(ee)`
136
- color: ${e=>e.isTextCopied?_.primaryDark:_.neutralGrey1Light};
137
- `,b=t(E)`
135
+ `,_=t(ee)`
136
+ color: ${e=>e.isTextCopied?E.primaryDark:E.neutralGrey1Light};
137
+ `,b=t(M)`
138
138
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
139
139
  display: flex;
140
140
  border-radius: ${a.sp0};
@@ -1,4 +1,4 @@
1
- import{b as f,F as d,j as e,am as j,b9 as m,t as C,o as r,h,ar as $,cb as k,cc as y,c4 as b}from"./index-e-GQ8YxF.js";import{n as o,b as a}from"./vendor-Bs1fkIUX.js";import{t as w}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 p="support@zeni.ai",v=t=>a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...t},a.createElement("path",{d:"M1.53406 12C1.53406 13.3744 1.80477 14.7354 2.33073 16.0052C2.85669 17.2749 3.62761 18.4287 4.59946 19.4005C5.57132 20.3724 6.72507 21.1433 7.99486 21.6693C9.26465 22.1952 10.6256 22.466 12 22.466C13.3744 22.466 14.7354 22.1952 16.0052 21.6693C17.2749 21.1433 18.4287 20.3724 19.4005 19.4005C20.3724 18.4287 21.1433 17.2749 21.6693 16.0052C22.1952 14.7354 22.466 13.3744 22.466 12C22.466 10.6256 22.1952 9.26465 21.6693 7.99486C21.1433 6.72507 20.3724 5.57132 19.4005 4.59946C18.4287 3.62761 17.2749 2.85669 16.0052 2.33073C14.7354 1.80477 13.3744 1.53406 12 1.53406C10.6256 1.53406 9.26465 1.80477 7.99486 2.33073C6.72507 2.85669 5.57132 3.62761 4.59946 4.59946C3.62761 5.57132 2.85669 6.72507 2.33073 7.99486C1.80477 9.26465 1.53406 10.6256 1.53406 12Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M19 5.07007C16.93 7.07007 5 19.0701 5 19.0701",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),i=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,u=({unlockDate:t,onSubmit:n})=>{const s=f(),x=t.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),g=t.format(d.getLocalizedStrings().dateFormat.visual.HHMMFormat);return e.jsxs(M,{children:[e.jsx(S,{children:i.accountLockedTitle}),e.jsxs(z,{children:[e.jsxs(c,{children:[e.jsx(l,{theme:s,children:e.jsx(_,{})}),e.jsx(j,{children:i.accountLockedSecurityMessage})]}),e.jsxs(c,{children:[e.jsx(l,{theme:s,children:e.jsx(F,{})}),e.jsxs(m,{children:[i.tryAgainAfter,e.jsxs(E,{children:[x,e.jsx(D,{children:"•"}),g]}),i.signInViaGoogleOrMicrosoft]})]}),e.jsxs(c,{children:[e.jsx(l,{theme:s,children:e.jsx(T,{})}),e.jsxs(m,{children:[i.accountLockedContactMessage,e.jsx(A,{href:`mailto:${p}`,children:p})]})]}),e.jsx(C,{variant:"primary",label:i.understood,onClick:n})]})]})};function L({unlockDate:t,onClose:n}){return e.jsx(b,{open:!0,onClose:n,children:e.jsx(Y,{children:e.jsx(u,{unlockDate:t,onSubmit:n})})})}const M=o.div`
1
+ import{c as f,F as d,j as e,am as j,b9 as m,a as C,o as r,h,ar as $,cb as k,cc as y,c4 as w}from"./index-BDUQ1SDM.js";import{n as o,b as a}from"./vendor-Bs1fkIUX.js";import{t as b}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 p="support@zeni.ai",v=t=>a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...t},a.createElement("path",{d:"M1.53406 12C1.53406 13.3744 1.80477 14.7354 2.33073 16.0052C2.85669 17.2749 3.62761 18.4287 4.59946 19.4005C5.57132 20.3724 6.72507 21.1433 7.99486 21.6693C9.26465 22.1952 10.6256 22.466 12 22.466C13.3744 22.466 14.7354 22.1952 16.0052 21.6693C17.2749 21.1433 18.4287 20.3724 19.4005 19.4005C20.3724 18.4287 21.1433 17.2749 21.6693 16.0052C22.1952 14.7354 22.466 13.3744 22.466 12C22.466 10.6256 22.1952 9.26465 21.6693 7.99486C21.1433 6.72507 20.3724 5.57132 19.4005 4.59946C18.4287 3.62761 17.2749 2.85669 16.0052 2.33073C14.7354 1.80477 13.3744 1.53406 12 1.53406C10.6256 1.53406 9.26465 1.80477 7.99486 2.33073C6.72507 2.85669 5.57132 3.62761 4.59946 4.59946C3.62761 5.57132 2.85669 6.72507 2.33073 7.99486C1.80477 9.26465 1.53406 10.6256 1.53406 12Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M19 5.07007C16.93 7.07007 5 19.0701 5 19.0701",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),i=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,u=({unlockDate:t,onSubmit:n})=>{const s=f(),x=t.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),g=t.format(d.getLocalizedStrings().dateFormat.visual.HHMMFormat);return e.jsxs(M,{children:[e.jsx(S,{children:i.accountLockedTitle}),e.jsxs(z,{children:[e.jsxs(c,{children:[e.jsx(l,{theme:s,children:e.jsx(_,{})}),e.jsx(j,{children:i.accountLockedSecurityMessage})]}),e.jsxs(c,{children:[e.jsx(l,{theme:s,children:e.jsx(F,{})}),e.jsxs(m,{children:[i.tryAgainAfter,e.jsxs(E,{children:[x,e.jsx(D,{children:"•"}),g]}),i.signInViaGoogleOrMicrosoft]})]}),e.jsxs(c,{children:[e.jsx(l,{theme:s,children:e.jsx(T,{})}),e.jsxs(m,{children:[i.accountLockedContactMessage,e.jsx(A,{href:`mailto:${p}`,children:p})]})]}),e.jsx(C,{variant:"primary",label:i.understood,onClick:n})]})]})};function L({unlockDate:t,onClose:n}){return e.jsx(w,{open:!0,onClose:n,children:e.jsx(Y,{children:e.jsx(u,{unlockDate:t,onSubmit:n})})})}const M=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -46,7 +46,7 @@ import{b as f,F as d,j as e,am as j,b9 as m,t as C,o as r,h,ar as $,cb as k,cc a
46
46
  `,_=o(v)`
47
47
  width: ${r.sp4};
48
48
  height: ${r.sp4};
49
- `,T=o(w)`
49
+ `,T=o(b)`
50
50
  width: ${r.sp4};
51
51
  height: ${r.sp4};
52
52
  `,Y=o.div`
@@ -1,4 +1,4 @@
1
- import{aa as xe,fF as fe,j as t,l as _,ad as ge,cC as ye,F as je,cD as Se,cE as $e,o as i,H as ke,b6 as X,an as Z,A as ve,ab as Ce,e2 as we,f7 as Ee,kI as V,dN as ee,am as l,b as be,aN as Pe,bA as te,e5 as ne,av as Re,h as oe,M as De}from"./index-e-GQ8YxF.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-BXgwJ_Dw-BMsSuRJA.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,fF as fe,j as t,l as _,ad as ge,cC as ye,F as je,cD as Se,cE as $e,o as i,H as ke,b6 as Q,an as Z,A as ve,ab as Ce,e2 as we,f7 as Ee,kI as X,dN as ee,am as l,c as be,aN as Pe,bA as te,e5 as ne,av as Re,h as oe,M as De}from"./index-BDUQ1SDM.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-C3axQYsf-CZ_5Y5aY.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};
@@ -29,13 +29,13 @@ import{aa as xe,fF as fe,j as t,l as _,ad as ge,cC as ye,F as je,cD as Se,cE as
29
29
  color: ${e=>e.theme.colors.primary};
30
30
  }
31
31
  flex: 0 0 auto;
32
- `,Ae=o.div`
32
+ `,Oe=o.div`
33
33
  padding-left: ${m.containerPaddingLeft};
34
34
  padding-right: ${m.containerPaddingRight};
35
- `,Be=o.div`
35
+ `,Ae=o.div`
36
36
  position: relative;
37
37
  min-height: 62px;
38
- `,Oe=o.div`
38
+ `,Be=o.div`
39
39
  display: flex;
40
40
  flex-direction: row;
41
41
  align-items: center;
@@ -52,7 +52,7 @@ import{aa as xe,fF as fe,j as t,l as _,ad as ge,cC as ye,F as je,cD as Se,cE as
52
52
  flex: 1 1 0;
53
53
  justify-content: center;
54
54
  flex-direction: column;
55
- `,We=o(X)`
55
+ `,We=o(Q)`
56
56
  display: flex;
57
57
  color: ${e=>e.theme.colors.primary};
58
58
  align-items: center;
@@ -96,10 +96,10 @@ import{aa as xe,fF as fe,j as t,l as _,ad as ge,cC as ye,F as je,cD as Se,cE as
96
96
  color: ${e=>e.theme.colors.hero};
97
97
  align-items: center;
98
98
  justify-content: flex-end;
99
- `,Je=o(l)`
99
+ `,Ve=o(l)`
100
100
  color: ${e=>e.theme.colors.primary};
101
101
  text-align: left;
102
- `,Ve=o.div`
102
+ `,Xe=o.div`
103
103
  display: flex;
104
104
  flex-direction: column;
105
105
  align-items: flex-start;
@@ -110,13 +110,13 @@ import{aa as xe,fF as fe,j as t,l as _,ad as ge,cC as ye,F as je,cD as Se,cE as
110
110
  color: ${e=>e.theme.colors.primary};
111
111
  align-items: center;
112
112
  justify-content: flex-start;
113
- `,Qe=o.div`
113
+ `,Je=o.div`
114
114
  display: flex;
115
115
  flex-direction: row;
116
116
  align-items: flex-start;
117
117
  justify-content: flex-start;
118
118
  gap: ${i.sp1};
119
- `,Xe=o.div`
119
+ `,Qe=o.div`
120
120
  display: flex;
121
121
  flex-direction: column;
122
122
  align-items: flex-start;
@@ -162,7 +162,7 @@ import{aa as xe,fF as fe,j as t,l as _,ad as ge,cC as ye,F as je,cD as Se,cE as
162
162
  justify-content: center;
163
163
  min-width: ${m.sourceContainerWidth}px;
164
164
  gap: ${i.sp2};
165
- `,at=o(X)`
165
+ `,at=o(Q)`
166
166
  display: flex;
167
167
  color: ${e=>e.theme.colors.primary};
168
168
  align-items: center;
@@ -236,4 +236,4 @@ import{aa as xe,fF as fe,j as t,l as _,ad as ge,cC as ye,F as je,cD as Se,cE as
236
236
  color: ${e=>e.status==="connected"?e.theme.colors.success:e.status==="reconnect"?e.theme.colors.important:e.theme.colors.link};
237
237
  cursor: pointer;
238
238
  text-decoration: underline;
239
- `,{common:p,dateFormat:G,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function _t({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:b,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:Y}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:Q(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:Q(e)}),k=x.handleSubmit(()=>{}),[h,g]=r.useState(void 0),v=n.link_account_no_microdeposit,C=n.update_account,s=h==="update_account"?C:v,[y,L]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[z,A]=r.useState(!1),[B,O]=r.useState(void 0),[re,H]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),b("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),O(void 0)),H(void 0),A(!1)},onCancelClick:()=>{O(void 0),A(!1)}},q=r.useRef(h);r.useEffect(()=>{q.current=h},[h]);const pe=r.useCallback(D=>{P(D,e.accountReconEntity.account.accountId,q.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((D,me)=>{D!=null&&console.log("Plaid Connection Error",D,me),g(void 0),w(!1)},[]),{open:K,ready:J}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(_.zeniDate(new Date().toISOString()).isAfter(s.expiration)||s.linkToken==null)&&s.fetchStatus.fetchState==="Not-Started"&&b("link_account_no_microdeposit")},[s.fetchStatus.fetchState]),r.useEffect(()=>{!a&&h!=null&&s.linkToken===y&&s.fetchStatus.fetchState==="Completed"&&J&&w(!0)},[J,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&L(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&K()},[a,K]),t.jsxs(Ue,{children:[t.jsx(Ye,{children:t.jsx(Be,{children:t.jsxs(Oe,{children:[t.jsx(Me,{}),t.jsxs(Ne,{children:[t.jsx(We,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx($t,{monthYearPeriod:d})})]}),t.jsx(ze,{children:t.jsx(Le,{onClick:$})})]})})}),t.jsxs(Ae,{children:[t.jsx(ge,{...x,children:t.jsx("form",{style:{width:"100%"},id:mt,onSubmit:k,children:t.jsx(xt,{monthYearPeriod:d,accountReconciliation:e,filesEndPoint:f,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:Y,showConfirmationPopup:z,setShowConfirmationPopup:A,deleteFileId:B,setDeleteFileId:O,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx($e,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const xt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:d,authParams:u,openFilePicker:f,onConnectClick:S,onReconnectClick:$,setDeleteFileId:b,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:M,uploadErrorMessage:Y,setUploadErrorMessage:x})=>{const[k,h]=r.useState(!1),g=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,v=[];v.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),v.push({label:c.reconciliation.menu.statement,value:"bank_statement"});const C=n.localData?.accountSource,s=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&x(Ie(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,x]);const y=["reconciled","in_progress","reconciled_via_qbo"],L=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(He,{children:[t.jsxs(qe,{children:[t.jsxs(Ke,{children:[t.jsx(N,{children:c.reconciliation.headers.bankBalance}),t.jsx(Je,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Ve,{children:[t.jsx(N,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ge,{children:t.jsx(_e,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Xe,{children:[t.jsx(N,{children:c.reconciliation.headers.variance}),t.jsx(Ze,{children:t.jsx(jt,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ct,{children:[t.jsxs(at,{children:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(st,{children:[t.jsxs(E,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.type}),t.jsx(F,{children:s!=null?t.jsx(j,{children:s==="plaid"?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),c.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),c.reconciliation.menu.statement]})}):t.jsx(Ce,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(ft,{selectedSourceType:C}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:a=>{R(_.toReconciliationAccountSource(a))},valueToIcon:a=>a==="plaid"?t.jsx(lt,{}):a==="bank_statement"?t.jsx(dt,{}):null})})})]}),C==="bank_statement"?t.jsx(E,{children:t.jsx(Ee,{name:ht(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:L,sizeLimit:1e7,onFileSizeError:a=>{a&&x(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:d,authParams:u,acceptableTypes:["application/pdf"],placeholderText:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:f,accountStatementUpload:{uploadHelper:_.uploadAccountStatementIntoDocumentAI,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:Y,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{U(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{M()}},onDeleteFile:a=>{b(a),P(!0)},onEditFileName:(a,w)=>{T(a,w)}})}):null,t.jsxs(E,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.status}),t.jsx(F,{children:C!=="bank_statement"?t.jsx(gt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(yt,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(E,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(F,{children:t.jsx(St,{accountSubType:V(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(E,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(F,{children:t.jsx(ee,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:V(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},ft=({selectedSourceType:e})=>t.jsxs(nt,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ot,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(it,{})]}),gt=({status:e,connectionInProgress:n,onConnectClick:d,onReconnectClick:u})=>n?t.jsx(W,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(rt,{}),t.jsx(ut,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(W,{onClick:e==="reconnect"?u:d,children:t.jsx(pt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.reconciliation.drawer.values.connect})}),yt=({status:e,uploadInProgress:n})=>n?t.jsx(ee,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),jt=({variance:e,variancePercentage:n,reconciliationStatusCode:d})=>{const u=be(),{varianceColor:f,variancePercentageColor:S,variancePercentageContainerColor:$}=Te(u,e,d,!0);return t.jsxs(Qe,{children:[t.jsx(et,{textColor:f,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(tt,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},St=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},$t=({monthYearPeriod:e})=>t.jsx(ie,{children:kt(e)}),kt=e=>{const{month:n,year:d}=e,u=_.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(G.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(G.visual.DMMMYYYYFormat)}`},Q=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{_t as default,ht as uniqueName};
239
+ `,{common:p,dateFormat:G,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function _t({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:b,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:Y}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:J(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:J(e)}),k=x.handleSubmit(()=>{}),[h,g]=r.useState(void 0),v=n.link_account_no_microdeposit,C=n.update_account,s=h==="update_account"?C:v,[y,L]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[z,O]=r.useState(!1),[A,B]=r.useState(void 0),[re,H]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),b("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{A!=null&&(R(A),B(void 0)),H(void 0),O(!1)},onCancelClick:()=>{B(void 0),O(!1)}},q=r.useRef(h);r.useEffect(()=>{q.current=h},[h]);const pe=r.useCallback(D=>{P(D,e.accountReconEntity.account.accountId,q.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((D,me)=>{D!=null&&console.log("Plaid Connection Error",D,me),g(void 0),w(!1)},[]),{open:K,ready:V}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(_.zeniDate(new Date().toISOString()).isAfter(s.expiration)||s.linkToken==null)&&s.fetchStatus.fetchState==="Not-Started"&&b("link_account_no_microdeposit")},[s.fetchStatus.fetchState]),r.useEffect(()=>{!a&&h!=null&&s.linkToken===y&&s.fetchStatus.fetchState==="Completed"&&V&&w(!0)},[V,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&L(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&K()},[a,K]),t.jsxs(Ue,{children:[t.jsx(Ye,{children:t.jsx(Ae,{children:t.jsxs(Be,{children:[t.jsx(Me,{}),t.jsxs(Ne,{children:[t.jsx(We,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx($t,{monthYearPeriod:d})})]}),t.jsx(ze,{children:t.jsx(Le,{onClick:$})})]})})}),t.jsxs(Oe,{children:[t.jsx(ge,{...x,children:t.jsx("form",{style:{width:"100%"},id:mt,onSubmit:k,children:t.jsx(xt,{monthYearPeriod:d,accountReconciliation:e,filesEndPoint:f,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:Y,showConfirmationPopup:z,setShowConfirmationPopup:O,deleteFileId:A,setDeleteFileId:B,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx($e,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const xt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:d,authParams:u,openFilePicker:f,onConnectClick:S,onReconnectClick:$,setDeleteFileId:b,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:M,uploadErrorMessage:Y,setUploadErrorMessage:x})=>{const[k,h]=r.useState(!1),g=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,v=[];v.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),v.push({label:c.reconciliation.menu.statement,value:"bank_statement"});const C=n.localData?.accountSource,s=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&x(Ie(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,x]);const y=["reconciled","in_progress","reconciled_via_qbo"],L=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(He,{children:[t.jsxs(qe,{children:[t.jsxs(Ke,{children:[t.jsx(N,{children:c.reconciliation.headers.bankBalance}),t.jsx(Ve,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Xe,{children:[t.jsx(N,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ge,{children:t.jsx(_e,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Qe,{children:[t.jsx(N,{children:c.reconciliation.headers.variance}),t.jsx(Ze,{children:t.jsx(jt,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ct,{children:[t.jsxs(at,{children:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(st,{children:[t.jsxs(E,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.type}),t.jsx(F,{children:s!=null?t.jsx(j,{children:s==="plaid"?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),c.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),c.reconciliation.menu.statement]})}):t.jsx(Ce,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(ft,{selectedSourceType:C}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:a=>{R(_.toReconciliationAccountSource(a))},valueToIcon:a=>a==="plaid"?t.jsx(lt,{}):a==="bank_statement"?t.jsx(dt,{}):null})})})]}),C==="bank_statement"?t.jsx(E,{children:t.jsx(Ee,{name:ht(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:L,sizeLimit:1e7,onFileSizeError:a=>{a&&x(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:d,authParams:u,acceptableTypes:["application/pdf"],placeholderText:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:f,accountStatementUpload:{uploadHelper:_.uploadAccountStatementIntoDocumentAI,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:Y,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{U(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{M()}},onDeleteFile:a=>{b(a),P(!0)},onEditFileName:(a,w)=>{T(a,w)}})}):null,t.jsxs(E,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.status}),t.jsx(F,{children:C!=="bank_statement"?t.jsx(gt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(yt,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(E,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(F,{children:t.jsx(St,{accountSubType:X(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(E,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(F,{children:t.jsx(ee,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:X(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},ft=({selectedSourceType:e})=>t.jsxs(nt,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ot,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(it,{})]}),gt=({status:e,connectionInProgress:n,onConnectClick:d,onReconnectClick:u})=>n?t.jsx(W,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(rt,{}),t.jsx(ut,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(W,{onClick:e==="reconnect"?u:d,children:t.jsx(pt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.reconciliation.drawer.values.connect})}),yt=({status:e,uploadInProgress:n})=>n?t.jsx(ee,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),jt=({variance:e,variancePercentage:n,reconciliationStatusCode:d})=>{const u=be(),{varianceColor:f,variancePercentageColor:S,variancePercentageContainerColor:$}=Te(u,e,d,!0);return t.jsxs(Je,{children:[t.jsx(et,{textColor:f,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(tt,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},St=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},$t=({monthYearPeriod:e})=>t.jsx(ie,{children:kt(e)}),kt=e=>{const{month:n,year:d}=e,u=_.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(G.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(G.visual.DMMMYYYYFormat)}`},J=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{_t as default,ht as uniqueName};