@zeniai/web-app-ui 4.14.32-qa → 4.14.33-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/dist/assets/{ACHDetailsPage-BO7lxW8c-qdj5vCzV.js → ACHDetailsPage-DKTSwNyl-CDIFOfdq.js} +6 -6
  2. package/dist/assets/{AIPerformancePage-SF-quMkk-BDmetcXO.js → AIPerformancePage-BzTlSxeg-BuDeNPSy.js} +1 -1
  3. package/dist/assets/AccountInfoPage-CrEEthms-45HqRER7.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-DIWh6VaI-Dkx9vqHY.js → AccountInfoPageContent-B0ZnsyrQ-BWluBgsD.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-DloPB9vd-rWnzhgoV.js → AccountLockedInfoModal-B6A-nGIq-Dg3p8NEN.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BAgQsFiF-DYdVNdU9.js → AccountReconDetailsDrawerPage-BTmjrd8b-CvWGr60v.js} +5 -5
  7. package/dist/assets/{AccountRow-Dczx5rSu-CLUzbQMi.js → AccountRow-C-Iunc36-CWR0-Stg.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Ywhto4lV-BJMaNuPG.js → AccountsPromoCardStack-D6xN5A4_-DaMwJmFg.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-B8srmVT6-B2WNvij_.js → AddAddressForCardDrawer-B6tLAOA_-DSLXld5A.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-k__RW699-Q957aA9Q.js → AddToWalletPage-Bw1oz9Y2-D8T9ntRu.js} +1 -1
  11. package/dist/assets/{AddressRoutes-CTGxpAi-.js → AddressRoutes-Du2U1_wy.js} +1 -1
  12. package/dist/assets/{AddressScreen-DEbSWJPO.js → AddressScreen-Do5YL4Hs.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-BuIXjljE-B0fe8lvN.js → AgingReportsPage-BK3PXwnr-sRb89fRD.js} +6 -6
  14. package/dist/assets/{AiCfoScreen-Wz3E2wwr.js → AiCfoScreen-m0mtpC7v.js} +1 -1
  15. package/dist/assets/{AllUserItems-BdgTe4WF-D7yOaoR6.js → AllUserItems-B42zEFpe-Dt3QyoOE.js} +4 -4
  16. package/dist/assets/ApAgingDetailPage-vzW4qF2Y-Be_AyJp4.js +46 -0
  17. package/dist/assets/{AppBasePage-DaTueT-x-BnyuOO9Y.js → AppBasePage-yAU5vW5D-DRiBAUPT.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-CtCI6jpp-Bv1hj7Yn.js → AppDrawerContent-nnh5cFf7-LHEC_nmn.js} +3 -3
  19. package/dist/assets/{ApprovalRulesSettingsPage-BVxu4soW-GcaZFHeB.js → ApprovalRulesSettingsPage-B-Y2YjpT-Di6q3Tts.js} +1 -1
  20. package/dist/assets/{ArAgingChart-BK-JyW2V-DrIuZSmt.js → ArAgingChart-CCc6eh55-fg322qhA.js} +2 -2
  21. package/dist/assets/{ArAgingDetailPage-CvqLu3q8-C5eA5W28.js → ArAgingDetailPage-CYXVPEzK-BXygZJWM.js} +3 -3
  22. package/dist/assets/{AttachmentView-DQdb3v_e-CLQ1CJA9.js → AttachmentView-DqrQDEWc-bqv6C4yz.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-D4q45w1q-CtGZeK4N.js → BalancesInsightWithToolTip-D1_dZg5k-Cp5teLbH.js} +8 -8
  24. package/dist/assets/{BankAccountSection-DgbfU8F--CB1estpa.js → BankAccountSection-4vXBKCFA-DKXdSrK9.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-litL0o_Z-Dfhx-kK3.js → BankAccountWarningSection-Dhmxhwx--DZdDHKDy.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-bAj9uB9k-LyDvOxOa.js → BankConnectionsSettingsPage-z52fh-wH-8ecSlDkf.js} +9 -9
  27. package/dist/assets/{BillDetailPage-CiHal44n-tq0YH1aX.js → BillDetailPage-DRpctLxu-LXI19q8V.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-ClA5NSEJ.js → BillPayApprovalRoutes-KGuDCnTY.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-CJtb4oOG-D3VWhKCe.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-BTOmSLcs-DEq7dW-i.js → BillPayApprovalRulesPage-HG32jtX9-BIhcv1hk.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-B5gkQjT2-DXRzGBXG.js → BillPayPromoPage-DwxNDF0k-CcLPK5n4.js} +12 -12
  32. package/dist/assets/{BillPayRoutes-C3Tb_2Ko.js → BillPayRoutes-Ce5JVkt4.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-DM3r09by-Bvx7NLUi.js → BillPaySetUpPage-B-kmDrpB-DqUJzo3-.js} +6 -6
  34. package/dist/assets/{BillingSettingsPage-CiTKyJeG-BEh5P0A7.js → BillingSettingsPage-CNZyUOpM-KCtCCu_U.js} +5 -5
  35. package/dist/assets/{BillsBulkReviewDrawerPage-B6ofRDkg-Cw68W5rP.js → BillsBulkReviewDrawerPage-DbIDTE51-jz6OelMc.js} +1 -1
  36. package/dist/assets/{BoxItem-C39hQSVg-CwP_fpKm.js → BoxItem-CIyMdw2s-BlAcmWAT.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-BiWEnJET-BhvPSMXm.js → BusinessVerificationPage-DQ34qLUA-DQ_EHnlJ.js} +3 -3
  38. package/dist/assets/{BusinessVerificationPageScreen-DE3iPWMP.js → BusinessVerificationPageScreen-iODPCcKg.js} +1 -1
  39. package/dist/assets/{BusyIndication-DmApVsF7-DoBMbi5i.js → BusyIndication-YMYY0Pff-BY32OnMI.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-FNfrozX6-Cgi1n69q.js → CardNumberSubText-CN1RN7Tf-Crkz5sd9.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-DaLICa_v-BJ3TvYfG.js → CashbackDetailPage-CyYkVa0H-YXMN_DEG.js} +11 -11
  42. package/dist/assets/{ChargeCardDetailPage-B0Aq7zO5-BVHXTaUL.js → ChargeCardDetailPage-DFUAF2OM-DP6SPQkf.js} +28 -28
  43. package/dist/assets/{ChargeCardListPage-CfRto2rQ-DPjFotcB.js → ChargeCardListPage-BTHDGtJ6-Cjssvtzk.js} +11 -11
  44. package/dist/assets/{ChargeCardListTable-DMdC4lxo-CtkD7-2q.js → ChargeCardListTable-BiKjkqVs-C2Q47jri.js} +26 -26
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-BYTmtF_y-BJK0KpD-.js → ChargeCardPaymentHistoryPage-sPGU7qmY-D7s1gonC.js} +10 -10
  46. package/dist/assets/{ChargeCardPromoPage-AI5bladj-STtaDscO.js → ChargeCardPromoPage-6JwKgWli-CuEACLDU.js} +4 -4
  47. package/dist/assets/{ChargeCardRoutes-AYQ3MGTW.js → ChargeCardRoutes-R82vHuIV.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-BjhqdubL-ByzKQBoy.js → ChargeCardSetupPage-DmhPAnYT-kDmietjf.js} +2 -2
  49. package/dist/assets/{ChargeCardStatementsPage-DCM92s6v-CBr56gpX.js → ChargeCardStatementsPage-DUXupPSN-BYaTogVZ.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-CkIxEqHU-Bqm8pa-L.js → CheckDepositDrawerPage-C8nbDVSz-fCr2LZZm.js} +4 -4
  51. package/dist/assets/{CollapsableReportTable-ClHwXtCj-Bu1ywWDb.js → CollapsableReportTable-C_bWRP7w-ybv6uXaY.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-BY8hFQnp-C-jTOLEo.js → CompanyOfficerDetailsSection-6LXCxWYP-N1CjwGwi.js} +13 -13
  53. package/dist/assets/{CompanyPassportCard-B3rZE3pg-CPKH7ClD.js → CompanyPassportCard-DVJS9xE7-WQAczivM.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-4FXVf3EP-Co0uZqWP.js → CompanyPassportPage-FJ30paB0-B650xBRc.js} +12 -12
  55. package/dist/assets/{CompanyPassportScreen-D4CGbUvz.js → CompanyPassportScreen-v4ozfRkw.js} +1 -1
  56. package/dist/assets/{CompleteProfile-B1BoilWd-BY2yFTSv.js → CompleteProfile-D3Im5rsm-DOcwDl2N.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-CsbAGF65-crGvJolm.js → ConfettiBurst-BJrOe5Fg-B4cWwrd1.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CGGnZgbf.js → ConnectionAuthScreen-CRf6FtAm.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-BnMSru9B.js → ConstrainedInnerElement-CgdnMeoA-Dk4QFttG.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-C50eYOFo-Da-aCQ_K.js → CreateOrEditVendorPage-C8dK3_XQ-BF1JDoLL.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-Dxz_SY7N-BpZmjo-8.js → CreditCardPaymentDrawerPage-Dp5mS2Hc-CeHtX3in.js} +6 -6
  62. package/dist/assets/{CurrencySelectField-D2Ogwvbr-CVVPi1Hr.js → CurrencySelectField-BAQ5aoHk-DH5SrL5M.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-5Sh7hmI9-Ba_aGZs7.js → CustomerOnboardingActivationPage-D8T1akbN-CiWQ4BME.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-BP0HWrE7.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-B6eAJyRQ.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CL-mOSUp-DLRoDbfb.js → CustomerOnboardingDetailPageSkeleton-DSvvHqR_-B6nZNBwn.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-CyL1AK78-CoBuNU82.js → CustomerOnboardingNoStepsPage-CSLO3M7E-qZci9B5e.js} +17 -17
  68. package/dist/assets/{CustomerOnboardingPage-C8nxJPwo-DuXY1wXZ.js → CustomerOnboardingPage-weza3x24-BkXOFQX9.js} +6 -6
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-C7FbnHpU-CcKzsuhI.js → CustomerOnboardingProductSuitePage-3YH4y1e1-JkiatwoQ.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-DLfMzGpn.js → CustomerOnboardingRoutes-BH4p4U2x.js} +1 -1
  71. package/dist/assets/{Dashboard-Bpu-6Sm5-CknMvcgU.js → Dashboard-Bpuy-Pez-CGeVqi25.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-B1aAikQG-DXGS56N_.js → DashboardReportPage-1p79NBF9-PsndgGNB.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-xoa0YBhj.js → DashboardRoutes-BpbDpYw3.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-C6xm-p2j-Cianbfu8.js → DashboardSidebarBackgroundAnimation-CBg2tWHO-BrEJtieY.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-COn1GZe5.js → DefaultTenantHome-dh0i9bS7.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-DEU0DgtI-mNkmtb4n.js → DepositAccTransactionItem-DlztlGZL-BabOldBp.js} +8 -8
  77. package/dist/assets/{DepositAccTransactionListPage-Bh0dIkE9-Nnv3oKOX.js → DepositAccTransactionListPage-BO43c3Uz-DAiR329Z.js} +6 -6
  78. package/dist/assets/{DomesticWireDetailScreen-BHvyRZV0.js → DomesticWireDetailScreen-73EFUwYw.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-2WyD73c9-pgZENCnp.js → DomesticWireDetailsPage-SEql3I0P-DopSoItu.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-B7M2VI7K-CmLEDWdo.js → DownloadOverlay-PhrwF2iZ-DE41QNaR.js} +14 -14
  81. package/dist/assets/{DrawerPage-DsQTxXa8-b58o_lYS.js → DrawerPage-Bf3AP3Lj-Ca4Hlb-5.js} +1 -1
  82. package/dist/assets/{DrawerScreen-Bwd7D_PK.js → DrawerScreen-DHeqOl2i.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-fY0HXvVS-GHbOUDbp.js → EditPeoplePage-B-rBzonN-uBCjqsHV.js} +3 -3
  84. package/dist/assets/{EditReimbursementDetailPage-D7RUWSTZ-BvTTLT94.js → EditReimbursementDetailPage-CUiIHNgT-8PuUQb7F.js} +14 -14
  85. package/dist/assets/EntityDetailPage-CvLzsrUE-BBux-0Uo.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-Br6vAttH.js → EntityDetailRoutes-DBLMB4dw.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-0rRkC5V6-Conv00DK.js → EntitySummarySection-mXeSjiuZ-B9FERucG.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-DOGAdZXV-BteA09I4.js → ExpenseAutomationOverviewPage-DQCoy1O9-BZfo9th3.js} +3 -3
  89. package/dist/assets/{ExpenseAutomationPage-DOsIzX0P-BmRa_16p.js → ExpenseAutomationPage-BeAzQ7Qx-Dz7fhupP.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-DLbUy-Sk.js → ExpenseAutomationRoutes-Ciow3RJ2.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-CIi6jM8Y-DprwP7jg.js → ExpressPayPage-C-isOU1b-CVmq_SpS.js} +1 -1
  92. package/dist/assets/{FeaturePreviewPage-BVn6ZUOB-BRGsJkYW.js → FeaturePreviewPage-Cyre9YzV-Cftfc0PA.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-C7jdaAb-.js → FeaturePreviewScreen-2RPLc4Gf.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-CvWPHXDW-Dl7cRxYJ.js → FollowStepsSection-DZNWzSvo-BRkqWsPS.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-CS_11bx0-BpB3oVCF.js → GlobalReviewListPage-Dp--ugNc-Dtv4hNaC.js} +1 -1
  96. package/dist/assets/{InformationCardStack-B9g7W7Xx-ZebmXk33.js → InformationCardStack-D7naFDX0-DgOmsE3E.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-mvzIc2uY-DiwLXl7c.js → InsightsCardStack-DexUl4h--CD8yzPkl.js} +6 -6
  98. package/dist/assets/InsightsSection-D9PJ55E6-BZ3NURYW.js +27 -0
  99. package/dist/assets/{IntegrationsSettingsPage-Dwz4ukHF-BsDL-5QK.js → IntegrationsSettingsPage-hFTe3wiP-BhlDRzBS.js} +2 -2
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-Cm0H9oyf-CSkPID9w.js → InternationalWireSwiftDetailsPage-DLkE5bXp-CEjk6OlM.js} +4 -4
  101. package/dist/assets/{InternationalWireVerificationPage-woIoME3I-BpkjRAf8.js → InternationalWireVerificationPage-DYGjEqNz-BHv8RAGX.js} +2 -2
  102. package/dist/assets/{InviteFormPage-DaZ-sJYV-C1pvGdU0.js → InviteFormPage-CGAsWQn7-CTMj3TWe.js} +13 -13
  103. package/dist/assets/{InvitePageListView-Do7EVQrj-BUNzpXY7.js → InvitePageListView-BSPE9f03-DiWtDrPd.js} +20 -20
  104. package/dist/assets/InvitePeoplePage-ANvLB-mB-bW0ZLS4w.js +12 -0
  105. package/dist/assets/{InvoiceUploadSection-DOuTQPee-C986sH-S.js → InvoiceUploadSection-OGMswY7c-CziQJBl6.js} +13 -13
  106. package/dist/assets/{IssueChargeCardPage-ClMhr27d-C9JNnylK.js → IssueChargeCardPage-sLInqAsW-C2PmO3GP.js} +11 -11
  107. package/dist/assets/{LabeledAddressValue-B6_PZDTO-B0f_TY3n.js → LabeledAddressValue-DBJ236tZ-DRwoxJhK.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-Cz6tRMoW-BWTMstez.js → LabeledAddressValueField-CAr-IiTa-hz8acdw2.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-BEpAlnvo-CvOvJ8M4.js → LabeledControlledCheckBoxField-BdWZgcQc-Dj_Rq1GV.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-1kTcZMQW-CYG0hGdR.js → LabeledCountryMultiSelectField-C6z1v9S1-B3o5vQAY.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-PiLB1S77-BE8E-NVb.js → LabeledCreatableSingleSelectField-Dhi0n2ky-DMTYZTz6.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-Cicw8ABs-BY2NDqms.js → LabeledDocumentField-B3QSq1eM-IGzby_k8.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-BEVVgIGK-Be2ECVYI.js → LabeledDropDownFormattedTextField-B39DlufR-DdaTss6V.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-C6gk3B5x-DNbhSblv.js → LabeledEmailInputField-CY2mGhJG-CWnMQ78-.js} +1 -1
  115. package/dist/assets/{LabeledNameField-BpfxLnfN-DXNAsDl7.js → LabeledNameField-CYN5kdQi-86Gkfv4K.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-Utmk8KVy-7bKQ7Lgi.js → LabeledSingleSelectField-CBXzDXMd-Bb2Vdxcj.js} +1 -1
  117. package/dist/assets/{LabeledText-C56xvYuX-V1W7qANU.js → LabeledText-GEbY3-bB-BUisrQ9a.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-ITN8UDlC.js → LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-CSkej6UT.js} +4 -4
  119. package/dist/assets/{LabeledZeniRolesDropDownField-B5rxYfam-Dqb9eTdm.js → LabeledZeniRolesDropDownField-DJfE1qQb-B_HO08cO.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-DbnaYlRA-BZfapfas.js → LinkJETransactionPage-B2ROo3VS-YhdCoxbn.js} +9 -9
  121. package/dist/assets/{LockCardPage-XHbTmzq8-D2FlG_hq.js → LockCardPage-D2dUPnNL-tuQUusRC.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-IF7NG9aL-D-kinRkN.js → LowBalancePopup-DTtl3SIc-jw3rRGRn.js} +1 -1
  123. package/dist/assets/MagicLinkACHDetailsPage-BC6_cyO0-C-40wwsX.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-CdG5oCPl-DLQOqv2b.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-C046BNUz-Du-Hf2Rs.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-Ar0GD3LF.js → MagicLinkRoutes-Ce7UoZ3g.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-pLIgT_MU.js → MagicLinkSignInScreen-BzoOowms.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-Cyr3p_8a-C1W_67Gu.js → MagicLinkSuccessPage-Ctt1pLiv-DgUpkUDW.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-A4zyF5bg-CJ8qaIqt.js → MagicLinkTitleSection-CtsQ_c44-DD1X6fG2.js} +1 -1
  130. package/dist/assets/{MailingDetailsSection-DqSOlu2t-yxjH6xtg.js → MailingDetailsSection-DiZwQ9QV-Zw0hJwAt.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-BzhvI9uK.js → MobileAppDrawer-qasrJsA4.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-B1OKwXLg-BGjwJb3U.js → MoreMenuButton--MxUyTqX-BRissmUy.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-DtTjhna--Brf-Lw4g.js → MyBankConnectionsSettingsPage-6ltpx62E-D6KFe-KP.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-CKSWf7I4-BGxkh2i8.js → MyPendingActivationChargeCardListPage-CwDedcXl-Dxd2fyLg.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-WF1pNlyU-Y69pCSd8.js → MyProfileSettingsPage-Bmhu2lrK-CTluZRHn.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-DiCaJ8Qy-BkApKnxf.js → NavBarWithPicker-jqJCHGvR-DMu0y4Qb.js} +1 -1
  137. package/dist/assets/{NavigationArrow-f4Z3TuXg-BOQXlQjz.js → NavigationArrow-DY_BhITD-gGit-4br.js} +1 -1
  138. package/dist/assets/{NavigationDots-WiVjbUsC-C7Q4WAGV.js → NavigationDots-Kh5ODrCQ-DwZ3hrog.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-kvjjwV8d-DjuH6H6H.js → NewGlobalMerchantPage-BYTROFvX-DwdJUPSt.js} +1 -1
  140. package/dist/assets/{NoDataChart-DlSLTzZl-C1cnqDKJ.js → NoDataChart-CuiKDcAB-DcvOdNkO.js} +1 -1
  141. package/dist/assets/{NoDataTable-9vLoRpsR-wzbnukFo.js → NoDataTable-BpH8puX--CKc9Uumk.js} +1 -1
  142. package/dist/assets/{NotFoundPage-CFlNCHFs-BjAbW1p2.js → NotFoundPage-BKvCYyvc-CVW4jAzU.js} +9 -9
  143. package/dist/assets/{NotFoundScreen-C4RWEwpc.js → NotFoundScreen-BGyIaLbV.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-Bauqlg8K.js → NotificationRoutes-g75WljLy.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-KJzE9v4p-ueNqYhCg.js → NotificationSettingsPage-F2xXUCSE-1aLSD_P9.js} +1 -1
  146. package/dist/assets/{NotificationsListConfig-6sXXtF_E-CoAChzQf.js → NotificationsListConfig-C9r-O2kH-aq3nwp_9.js} +1 -1
  147. package/dist/assets/{NotificationsPage-D4AmPdo9-CLlXhmZ-.js → NotificationsPage-CZZ9GTVy-CjLasA13.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-B5Wtu3ww-BfiVnjOY.js → OpExByVendorPage-Crvcsx0U-D2kbC2Nh.js} +5 -5
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-CakuK-tg.js → OverlayContainerPage-BG9y5C0t-DpfAmCAx.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-CjkaxTx7-BjLqIhEu.js → PandLWithForecastPage-CkDCt5NK-CZTB6HyP.js} +7 -7
  151. package/dist/assets/{PandLWithForecastRoutes-xJfyiPLc.js → PandLWithForecastRoutes-BIm6SNTl.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-eeLSg7xb-BniLcpKw.js → PaymentAccountSetupBillingAddressSection-D1ZDh1GY-CDM1qPvj.js} +1 -1
  153. package/dist/assets/{PeoplePage-CQREy6SW-jzMdXXql.js → PeoplePage-D2CtRlrd-By7K7MoK.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-bZeBcbCa.js → PeopleRoutes-DYEYoT-Z.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-Cpf321a_.js → PerformanceRoutes-DfWgoWPO.js} +1 -1
  156. package/dist/assets/{Preview-CQ45ZFEO.js → Preview-CBFJfLMb.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-COZZMTcH-B51aQv0u.js → ProductsCarousel-sNagRI0c-61XsnGmO.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-Bmn6TN2k-Bs7EMABq.js → PromoBaseCards-BUk-u73S-BOYyiMks.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-DYxoiSkA-Dk_DwyWX.js → QBOConnectionDialog-C1rEAxUE-DfW1Uzaj.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-CAL_oIQc.js → QBOConnectionScreen-Rp-2rn0k.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-Cdz2PDxV-BDBYgiEv.js → QBOSetupSection-iQJCHR-K-Cozk6L0j.js} +1 -1
  162. package/dist/assets/{ReferralListScreen-qui_lA__.js → ReferralListScreen-CBuGWNNX.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-Ct12I2wb.js → ReimbursementApprovalRoutes-D0ehNmsg.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-C-QEoqCw-Cs_RbD5G.js → ReimbursementApprovalRuleDetailPage-BPIKZ9v1-_Rw4LFib.js} +5 -5
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-DHXZ840V.js → ReimbursementApprovalRuleDetailScreen--zBLN-vr.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-Ch2sxTFV-DeHruNGf.js → ReimbursementApprovalRulesPage-AE810nQZ-CKLvlvGT.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-DSF6SfKn-BhQpRY9M.js → ReimbursementDetailPage-CYuZJL_J-Dc9Q5SmJ.js} +1 -1
  168. package/dist/assets/{ReimbursementPromoPage-F1ROFd63-B1t5Jond.js → ReimbursementPromoPage-CaxjSwrz-BqYGPT-x.js} +1 -1
  169. package/dist/assets/{ReimbursementRoutes-1_SI-hn8.js → ReimbursementRoutes-Dw1HmBPZ.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-l2mhLFuo-B54Qng1-.js → ReimbursementSetUpPage-Bw77MBHF-CqZyhccg.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BICgOxHf.js → ReimbursementsBulkReviewDrawerPage-B-svIloS-u7x5I4fB.js} +1 -1
  172. package/dist/assets/{ReloadCard-CDcJMl9F-CnmKoS62.js → ReloadCard-D5kxTfzJ-CHGlYP1Y.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-DvCk55Hn-DkSGr4BZ.js → ReportTableViewSelector-BZU8yltx-BXz0jYWq.js} +1 -1
  174. package/dist/assets/{ReportsPage-DfqqKSt3-CLOVf278.js → ReportsPage-CdN9MEVy-VFwi_Sta.js} +5 -5
  175. package/dist/assets/{ReportsRoutes-DLpbfbDj.js → ReportsRoutes-BxP48mVj.js} +1 -1
  176. package/dist/assets/{RevenueChart-BONT9upM-DU_a19lO.js → RevenueChart-B_RMeweH-sORV0ExB.js} +1 -1
  177. package/dist/assets/{ReviewDetailsPage-857bVurA-CbjI1OUT.js → ReviewDetailsPage-a73YIZSO-BwRkWQP6.js} +1 -1
  178. package/dist/assets/{ReviewOverlay-ClQg7d2j-Dm0fdfqo.js → ReviewOverlay-Ubmz06uP-Dq2e8WZF.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-EWwY813U.js → RewardsRoutes-kNiN5XKd.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-C0G1Hgp_-CRG2xCvX.js → RoleWithToolTip-BYO1YG6N-CpH6tY8x.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CJ_JBtxS-D8uR91rN.js → ScheduleDetailsFixedAssetsPage-vgqilDC8-BtW6gR7z.js} +4 -4
  182. package/dist/assets/{ScheduleDetailsPage-B1aEwPL--oYlhdTLP.js → ScheduleDetailsPage-DdEeFryA-D3pgpVcx.js} +3 -3
  183. package/dist/assets/{ScheduleSequenceTable-DhU7PI91-LtlMXkac.js → ScheduleSequenceTable-poNEzbqS-Bn1GkRq3.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-D_5DmJ86.js → ScreenRoutes-D1xPWhMn.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-C8dulq9s-B-L9gOQO.js → SetUpAccountSection-BSOGwHCj-BawfFLHE.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-Bpnzxqw3.js → SettingsRoutes-CQFKHlBE.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-BG2iNhNo.js → SetupPagesScreen-Khrg4fmZ.js} +1 -1
  188. package/dist/assets/{SignIn-wDe7lbGR-DVGzhzCV.js → SignIn-q4J9wRx8-CmY6_2-N.js} +4 -4
  189. package/dist/assets/{SignInScreen-ChmnsIGN.js → SignInScreen-DE5iszhl.js} +1 -1
  190. package/dist/assets/{SignOutScreen-C9MY-na5.js → SignOutScreen-BrEmVZ7k.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-BdddUHrW-C_LostVg.js → SpendManagementListViewPage-DKRkSADM-CyVMAS6i.js} +6 -6
  192. package/dist/assets/{SpendManagementPerTabPage-BBJm3884-DNyU3qBr.js → SpendManagementPerTabPage-Cd30NnXU-CuxG4XXm.js} +21 -21
  193. package/dist/assets/{SpendManagementSection-6R5y0Hy4-DR8MdoOh.js → SpendManagementSection-CPBOh_J5-VebfRScE.js} +14 -14
  194. package/dist/assets/{StatementItem-qsoXKx_p-DNQHoMbS.js → StatementItem-NyOORj5f-CGBabGx-.js} +2 -2
  195. package/dist/assets/{StatementsPage-Cn7WG5-S-Dl_bD5a2.js → StatementsPage-Cp77wyFS-BNWHu83c.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-D3qCg5J1-CnYYZ1b2.js → StatusSwitcher-DN-yYdli-C38uA7vA.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-BXajy75j-B6OxDW3g.js → SubTabSwitcher-D1LNrhUn-k7hSwnGE.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-CSblamOQ-JSo_khSf.js → SuccessAnimation-DdyAYe1e-CRBZLEcw.js} +1 -1
  199. package/dist/assets/SummaryCard-DgIPSt4y-BreXikds.js +1 -0
  200. package/dist/assets/{TaskDetailPage-CrsQnhu1-B_UOgdhU.js → TaskDetailPage-DXTLNhtf-DSitOXq0.js} +1 -1
  201. package/dist/assets/{TaskListScreen-CQghy863.js → TaskListScreen-DkpddMj-.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-h3Rb49Jj-pMAnmsYe.js → TaskManagementPage-BaLJR4-7-CF4lQh5a.js} +28 -28
  203. package/dist/assets/{TaskRoutes-Bzs5ud2d.js → TaskRoutes-FkwKuuJe.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-DpUOmqiR-OEgtOaDl.js → TimeRangeSwitcher-CkgGEwEw-BPD6p-o-.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-BKEtsv_r-BOgf0adS.js → TimeframeSwitcher-B8fpnYS8-DN6x7QeB.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-DECnQIMT-BjcEq4P9.js → TimeframeSwitcherWithToggle-DwFo6jY4-D-j20nY7.js} +10 -10
  207. package/dist/assets/{TopExCard-leQR29Sq-DMP-noC7.js → TopExCard-PayAZZY--CN7knT9a.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-Dgg7Do6D-Cf1J-rX0.js → TopExDetailPage-Mp2KcYf6-DF6BJLe1.js} +3 -3
  209. package/dist/assets/{TransactionActivityLogPage-CU2pUJQL-CzX5Q4B2.js → TransactionActivityLogPage-CnmL_hUz-xxBYOo0V.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-FT2IPLH7-CX3DG4Pm.js → TransactionDetailPage-Bqlnmn8Y-C-G32l9E.js} +26 -26
  211. package/dist/assets/{TransactionDetailRoutes-atS2Oh1R.js → TransactionDetailRoutes-Bur6XOBC.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-BglCkwGm.js → TransactionDetailScreen-TsmDBl7P.js} +1 -1
  213. package/dist/assets/{TransactionList-C2MGkQYM-CU8bIKXQ.js → TransactionList-BOmlsfpv-P61oqFED.js} +11 -11
  214. package/dist/assets/{TransactionListBig-CZ3jIxzR-h_QlWda5.js → TransactionListBig-CaMT-rq_-CyI8cEhp.js} +1 -1
  215. package/dist/assets/TransactionListPage-D_dgwnFp-D9ucLBYe.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-D3x0o31V.js → TransactionListRoutes-Bze4GklF.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-BgcqndCu-DrGCDrHZ.js → TransactionVendorDetailPage-DlXuiPC5-CVKs_i6q.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-SirvPH4z-AADMZrtA.js → TransferDrawerPage-C2VcssbM-BdJwka8r.js} +14 -14
  219. package/dist/assets/{TreasuryOverviewPage-B_WK1aOv-45D8ongN.js → TreasuryOverviewPage-DyyoGY23-8NjmnIXR.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-B_D63Dr2-Mw7kOaR2.js → TreasuryPromoPage-B9Hf7oxZ-CY7Z2jR8.js} +1 -1
  221. package/dist/assets/{TreasuryRoutes-DevJrQwC.js → TreasuryRoutes-BcEhSPu-.js} +1 -1
  222. package/dist/assets/{TreasuryStatementsPage-BGe0fhBe-CZKzrKEg.js → TreasuryStatementsPage-DOzJzfTG-COamdHZN.js} +2 -2
  223. package/dist/assets/{TreasuryTaxLetterPage-9gNdkQZp-KOpqpRaG.js → TreasuryTaxLetterPage-BcTBr9x9-DQ6bAdf9.js} +1 -1
  224. package/dist/assets/{TrendChart-COItOWPp-B0KeVtcc.js → TrendChart-BvXDrgUJ-D_jexAAy.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-DgAw_8CI-C5t8dz0y.js → TrendWithTransactions-RCpzdPf3-B6dzBDBs.js} +7 -7
  226. package/dist/assets/{UncategorizedAccountsMappingPage-B9EziB6Q-Bi-s-0Sv.js → UncategorizedAccountsMappingPage-B1m3iXh5-Ip2N2jHp.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-DGWNyWV1-otb9S_5N.js → UnitIntegrationPage-lVg_8mQ4-CG7xv8GT.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-DWmMz_8y-BoxaUeLm.js → UploadAdditionalDocumentOverlay-DrAWxBXn-_zHsjfu5.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-dh2g8kqu-DmCsxO0l.js → Vendor2FAPopup-C8m_OJEH-D165qdUh.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-JhO6KtMC-CANKU5ry.js +1 -0
  231. package/dist/assets/{VendorDetailPage-CGqoIODq-BvUdf9jN.js → VendorDetailPage-Y9_hsgjs-C9Wt_5QU.js} +5 -5
  232. package/dist/assets/VendorDomesticWireDetailsPage-D0RsDHxf-Bxd9GX1z.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-CsnlHrCl-Dg2l5wSd.js → VendorFiling1099EditablePage-CPevpiim-qmsYTkLB.js} +9 -9
  234. package/dist/assets/{VendorFirstReviewPage-DC1j2sO_-B3hOpd68.js → VendorFirstReviewPage-CXftFNl_-CCYTLrD_.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-Drr00a6C-DzH1osbM.js → VendorInternationalWireDetailsPage-88NtGE3e-C0C0m4pv.js} +6 -6
  236. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-6XH5g7u0.js → VendorInternationalWireSwiftDetailsPage-BTh-VP1b-C-5vzJEN.js} +1 -1
  237. package/dist/assets/{VendorsAccountsSection-BtdwR8u4-B4AH00Ns.js → VendorsAccountsSection-DorsKXyL-B5FHsSOL.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-CyRapVh2.js → VendorsRoutes-FQkb12pI.js} +1 -1
  239. package/dist/assets/{VerifyDevice-Bhr_yHpE-BFsFancv.js → VerifyDevice-DAym8rUN-BlHFuMzS.js} +4 -4
  240. package/dist/assets/{VideoPlayer-wlJX6lEq-Djxj54Vf.js → VideoPlayer-53OvOC7l-pPI6Q2OV.js} +1 -1
  241. package/dist/assets/{VideoPopup-BPptwR51-DdCCHHY9.js → VideoPopup-v9quqdro-CKa7Hhxk.js} +2 -2
  242. package/dist/assets/{WiseConfirmationScreen-CnF85JVe.js → WiseConfirmationScreen-DsF9s3cq.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-CSsu44ls-BxTJP0xn.js → ZeniAccountDetailPage-CFEGqW5l-Cc3o93o-.js} +1 -1
  244. package/dist/assets/{ZeniAccountListViewPage-BZwGCrzx--nMPcfZ-.js → ZeniAccountListViewPage-j85TO5tM-D8dMZ6jp.js} +27 -27
  245. package/dist/assets/ZeniAccountNavBarPieces-Bv34Vsqj-S8eWsLxK.js +33 -0
  246. package/dist/assets/{ZeniAccountPromoPage-CahV-Rmf-B_a0e4xi.js → ZeniAccountPromoPage-DeHmh4My-CfY9P4dJ.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-BnCdn_7e.js → ZeniAccountRoutes-CfCvabZR.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-DSNDNKZr-BvWOY3jL.js → ZeniAccountSetupPage-ofkQR72l-CBlKDRVk.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-BOJsnK-P.js → ZeniAccountStatementScreen-CGYScuoU.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-De0hFvIm-BJi7TJei.js → ZeniAvatar-Ct7MPW2X-BHlw9FbG.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-BNGdkMOa-CGSddL5N.js → ZeniCopyright-CmCqmJmV-3KycUvio.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-CYNEE0pM-CI8_Q6Ab.js → ZeniDatePicker-RNJ2ukKC-BM4oYXJe.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-DuD1JtSv-eHMRZi_V.js → ZeniTransferAmountSlider-BpfqM032-CVzLkYGE.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-FrhvxzcW.js → accountMappingHelper-rwWvpsms.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-BqBidt5n.js → add-to-wallet-DgdBD8_G-CzXhL1Ym.js} +1 -1
  256. package/dist/assets/{analytics-CVqRc8fh.js → analytics-DIWVqtXV.js} +1 -1
  257. package/dist/assets/{analyticsHelper-qMWdjEFo.js → analyticsHelper-CLBcUDc5.js} +1 -1
  258. package/dist/assets/{analyticsHelper-DjQYjslY-D8-DDeg7.js → analyticsHelper-qtejXlXH-UFbrYbZ_.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-B3QTzBHA.js → arrow-south-east-round-PEovUgvH-CWRd961V.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-de_8OjuK.js → auto-transfer-rule-mbafm5D3-Bjm-l3iW.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-B-3VAvb3.js → avatar-Dz7aEm3d-CKqFD1L0.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-KdddOmyc.js → bank-letter-BOcVjN6J-BhxkRonC.js} +1 -1
  263. package/dist/assets/{calculateSize-i9QGr8q0-BEKLyEYY.js → calculateSize-CzpGCfNE-CNrV3_Iu.js} +1 -1
  264. package/dist/assets/{chartTypes-BGl-YMiu-DAKq2IM5.js → chartTypes-BqRsL6eJ-D0sv3zgU.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-CB7HCMZv.js → clock-CJkylEKt-9m-0TbEY.js} +1 -1
  266. package/dist/assets/common-BxjzMhDO-M6F2cReY.js +1 -0
  267. package/dist/assets/{commonDimensions-CuKo3wam-nLTnztTJ.js → commonDimensions-CzWWgDTA-C5sl3WWf.js} +1 -1
  268. package/dist/assets/{commonTypes-CfAg6Jvv-D84w54Iv.js → commonTypes-CF6UyWSv-BQXpwXby.js} +1 -1
  269. package/dist/assets/{core-AYNw6kyJ.js → core-BAxGDYbL.js} +1 -1
  270. package/dist/assets/{dash.all.min-Dq_dQY1I.js → dash.all.min-DLVq1nc5.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-E-sgiudi.js → decodeURIComponentSafe-Bypqq6TF.js} +1 -1
  272. package/dist/assets/{dnd-Dw-riVE4.js → dnd-BEk5qqV2.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-CvsBoEut.js → dollar-round-D18u7nlm-DgPiQ4X2.js} +1 -1
  274. package/dist/assets/{downloadPdf-Dcd8BY_9-DI4hg2G0.js → downloadPdf-BFFM3Hea-CZaqSBqv.js} +1 -1
  275. package/dist/assets/{empty-C9c-cai_.js → empty-BWHMm5Kr.js} +1 -1
  276. package/dist/assets/{empty-CX0U2Ty5.js → empty-C6XM9c0M.js} +1 -1
  277. package/dist/assets/{epic-B6fOiqme.js → epic-CkteLEKR.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-lFkn5gVk.js → filter-cZIFUNvj-yDtIQZZZ.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-YUfQHJdY.js → getLocaleForTenant-DIET8R83.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-BPwbjUGz.js → gift-box-Cmt9OgIZ-a88q6Sec.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CaJy2HdS.js → graphic-no-data-l-DU4J8fDt-BXu_Erqy.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C9pmzSAL.js → graphic-no-data-net-burn-l-CzmycA0m-CDJ9LscK.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-BSOSNqUk.js → handshake-BPg58FML-DXXhI3e_.js} +1 -1
  284. package/dist/assets/{helper-DkzA3y2L-OUS27pTt.js → helper-COxPEvgL-B99qx9wP.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-CVVb97aA.js → hyperlink-DQyCeXx2-DDEc353Q.js} +1 -1
  286. package/dist/assets/{index-NZat51vK.js → index-BUTnHeUk.js} +1 -1
  287. package/dist/assets/{index-DubSD1fb.js → index-CDtqLLbw.js} +1 -1
  288. package/dist/assets/{index-Mhz2NAiD.js → index-CVe1fo1a.js} +7 -7
  289. package/dist/assets/{index-DqcXLX0N.js → index-CVjW2ppf.js} +1 -1
  290. package/dist/assets/{index-Dm85Hu6Z.js → index-CkLoBdAM.js} +1 -1
  291. package/dist/assets/{index-wicPWwlB.js → index-rcznrhDB.js} +1 -1
  292. package/dist/assets/{lexical-B-dyW3-4.js → lexical-eSt6-8-s.js} +1 -1
  293. package/dist/assets/{liveblocks-DJcRPJQh.js → liveblocks-DIb7UiB5.js} +1 -1
  294. package/dist/assets/{lottie-DdLBMmzp.js → lottie-DR43ghJ6.js} +1 -1
  295. package/dist/assets/{mapLoadingInProgressToTreeNode-lABm-2N9-DqEFBCkO.js → mapLoadingInProgressToTreeNode-COOJxneh-Dn5oaOob.js} +1 -1
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-COcUb2pF-Bv4F43o8.js → mapSectionWithAcOnlyToTreeNode-CcuLqf_I-DlLPz3lr.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-Ci5bdH6P-L9lviHBs.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-CCZ9A7A6-m60AXXy6.js +1 -0
  299. package/dist/assets/{mapTimeframeBalancesToTreeNode-CvVUjW74-b4p2F7se.js → mapTimeframeBalancesToTreeNode-Cql9mEn3-BI70JNWv.js} +1 -1
  300. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-C3md0v2d.js +1 -0
  301. package/dist/assets/{media-player-V7uSzi45.js → media-player-t6imgqTs.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-B7YE6t0I.js → money-2cg1MuG4-BKLw88Z7.js} +1 -1
  303. package/dist/assets/{mui-Ckdcx_YE.js → mui-DcvwYC51.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-NqWvakND.js → page-detail-CWX5S47F-DYwfMchM.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-BvkWkaoT.js → page-summary-D7_VQHwN-Ccsx0X5Z.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-CROMd__p.js → panelSelectedMixin-Cddsb26L-oybQQD8A.js} +1 -1
  307. package/dist/assets/{pathToGoBack-C_2xxQDe.js → pathToGoBack-DgCvIIns.js} +1 -1
  308. package/dist/assets/{pdf-CwWlK-Dr.js → pdf-DA3UteIy.js} +3 -3
  309. package/dist/assets/{pdf-lib-DhaWOBih.js → pdf-lib-CB0YH404.js} +1 -1
  310. package/dist/assets/{plaid-BhP6n1uc.js → plaid-Dma9BWZs.js} +1 -1
  311. package/dist/assets/{pusher-8DhjdTCA.js → pusher-BpsMW-yL.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-BoUlFA9D.js → radio-default-CiSgisfh-DhACFBeo.js} +1 -1
  313. package/dist/assets/{react-CB4dPBRZ.js → react-B399TF4z.js} +3 -3
  314. package/dist/assets/{react-D-APY71d.js → react-CGustVKo.js} +1 -1
  315. package/dist/assets/{react-CGVKTtsW.js → react-CHYwPjVO.js} +1 -1
  316. package/dist/assets/{react-BwCmpEw6.js → react-DIlTJIev.js} +1 -1
  317. package/dist/assets/{react-D_0srhsg.js → react-DSe89Cs9.js} +1 -1
  318. package/dist/assets/{react-D4pZVe2B.js → react-DYy5XxA9.js} +1 -1
  319. package/dist/assets/{react-CE6422aE.js → react-Da-tqkFZ.js} +1 -1
  320. package/dist/assets/{react-BHDcRwxI.js → react-Gk8q99af.js} +1 -1
  321. package/dist/assets/{recharts-Dr1JzI4y.js → recharts-LOG_L3Q0.js} +1 -1
  322. package/dist/assets/{routePaths-DIayl1Jh.js → routePaths-B9s6SzIs.js} +1 -1
  323. package/dist/assets/{sentry-D-LCra2M.js → sentry-CFYfTv_F.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-D5PHf2Tj.js → shield-DOlUxcFf-DouOIUSu.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-D85B38gI.js → spend-limit-D6SyboD4-DTJkvAlS.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-B70YK7cw-CXnt8iTO.js +1 -0
  327. package/dist/assets/{toChartData-B4ligi4c-p4U01oAp.js → toChartData-CWgd8E5c-DiIGKIgi.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-Ca0HZ2W6.js → transaction-placeholder-CpOwZAMG-9RLgCBK-.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-CSQ0fDLS.js → undo-b_3XZ5CX-4JO3_5lb.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-DDdPB9QU.js → unlock-BPWn2I5L-CncAfPJ6.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-DNsQOTk3.js → upload-reimbursement-receipt-O2N8vcO7-CX9b95cy.js} +1 -1
  332. package/dist/assets/{uploadAttachment-DgPDimcm-UTkUQwho.js → uploadAttachment-D1ybl0Fy-CsdIaI-4.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-3Ex--Idc.js → uploadReceipts-CIgkuVpu-BTLELte6.js} +1 -1
  334. package/dist/assets/{url-BK92KGZc.js → url-CG3dVLHq.js} +1 -1
  335. package/dist/assets/{url-DUid0IO0.js → url-Cds_9Ffk.js} +1 -1
  336. package/dist/assets/{useDeviceId-BCros22l.js → useDeviceId-Dzb269rv.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-Bx0ivBGf.js → useInitialThreadRequest-D4Yk6niJ.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-Bs4IMufW.js → useLongPress-GCK2COYQ-BCXZNFDE.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-BBaxYQlT.js → usp-line-BBd1wKwW-D0lXP7am.js} +1 -1
  340. package/dist/assets/{utils-CI1RvLss.js → utils-B0HnpOzO.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-CHdaZXOz.js → withTransactionSidePanel-BBzl-sYH.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-B1zsDZZ4.js → zeni-epic-state-BZiG8B71.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-Bb7XRMgX.js → zeni-icon-only-DWQkIW-o.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +4 -4
  346. package/dist/assets/AccountInfoPage-v8-NT3FJ-CUWvVcbF.js +0 -18
  347. package/dist/assets/ApAgingDetailPage-6F47t31h-8q8np9Bg.js +0 -46
  348. package/dist/assets/BillPayApprovalRuleDetailPage-CRBli7lk-CcG8rFJP.js +0 -27
  349. package/dist/assets/CustomerOnboardingAuthScreen-CTZAVHXC.js +0 -1
  350. package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-B2LOWvxI.js +0 -1
  351. package/dist/assets/EntityDetailPage-BDyO7iLI-y9lTygCJ.js +0 -18
  352. package/dist/assets/InsightsSection-rGyA4lY9-ljgWP3Nl.js +0 -27
  353. package/dist/assets/InvitePeoplePage-CpD7YoC2-BM5MmdPZ.js +0 -12
  354. package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-BPfQqaKe.js +0 -1
  355. package/dist/assets/MagicLinkDomesticWireDetailsPage-D0JDLfbz-2wvzfcTR.js +0 -1
  356. package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-iL43dQWj.js +0 -1
  357. package/dist/assets/SummaryCard-B1d4_5lE-BRRY9IEV.js +0 -1
  358. package/dist/assets/TransactionListPage-PCa4exLO-IbUCrSXm.js +0 -35
  359. package/dist/assets/VendorACHDetailsPage-C0vIRpRW-BP-CVl2D.js +0 -1
  360. package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-CqZDNLeP.js +0 -1
  361. package/dist/assets/ZeniAccountNavBarPieces-CrNjnkNS-Dqicw5_O.js +0 -33
  362. package/dist/assets/common-Cws59IN1-tgtgUQp7.js +0 -1
  363. package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-CqHdHAc2.js +0 -1
  364. package/dist/assets/mapTimeframeBalancesToTreeNode-CwHF76sn-C9QWz7EU.js +0 -1
  365. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-CwYCbZxF.js +0 -1
  366. package/dist/assets/toCOABalancesWithID-CGYYTIjt-CV8c8HPi.js +0 -1
@@ -1,4 +1,4 @@
1
- import{bF as ft,e as B,V as e,an as ht,b as x,cG as ut,cH as pt,cB as gt,cI as bt,o as a,f as A,bV as wt,O as j,x as J,L as yt,l as Y,m as y,C as $t,cJ as vt,cK as X,cs as Z,a5 as tt,H as kt}from"./index-Mhz2NAiD.js";import{a as b,b as jt}from"./sentry-D-LCra2M.js";import{n as l,c as Yt}from"./mui-Ckdcx_YE.js";import{a as Lt}from"./ConstrainedInnerElement-CgdnMeoA-BnMSru9B.js";import{Fr as _,Fs as q,Ft as K,Fu as I,bs as Mt,FL as et,bT as it}from"./zeni-epic-state-B1zsDZZ4.js";import{g as at}from"./BoxItem-C39hQSVg-CwP_fpKm.js";import{t as It}from"./panelSelectedMixin-Cddsb26L-CROMd__p.js";import{o as H}from"./commonDimensions-CuKo3wam-nLTnztTJ.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="7382ca9c-4ac4-4a87-9136-1ed33ca96b54",t._sentryDebugIdIdentifier="sentry-dbid-7382ca9c-4ac4-4a87-9136-1ed33ca96b54")}catch{}})();const F=t=>t?24:125,Pt={containerPaddingBottom:new J(y[9],y[8])},U=l.div`
1
+ import{bF as ft,e as B,V as e,an as ht,b as x,cG as ut,cH as pt,cB as bt,cI as gt,o as a,f as _,bV as wt,O as j,x as K,L as yt,l as Y,m as y,C as $t,cJ as vt,cK as X,cs as Z,a5 as tt,H as kt}from"./index-CVe1fo1a.js";import{a as g,b as jt}from"./sentry-CFYfTv_F.js";import{n as l,c as Yt}from"./mui-DcvwYC51.js";import{a as Lt}from"./ConstrainedInnerElement-CgdnMeoA-Dk4QFttG.js";import{Fr as q,Fs as A,Ft as W,Fu as I,bs as Mt,FL as et,bT as it}from"./zeni-epic-state-BZiG8B71.js";import{g as at}from"./BoxItem-CIyMdw2s-BlAcmWAT.js";import{t as It}from"./panelSelectedMixin-Cddsb26L-oybQQD8A.js";import{o as H}from"./commonDimensions-CzWWgDTA-C5sl3WWf.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="476b8d0a-cefa-42cd-9dd0-1b294dbe572d",t._sentryDebugIdIdentifier="sentry-dbid-476b8d0a-cefa-42cd-9dd0-1b294dbe572d")}catch{}})();const F=t=>t?24:125,Pt={containerPaddingBottom:new K(y[9],y[8])},U=l.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -15,7 +15,7 @@ import{bF as ft,e as B,V as e,an as ht,b as x,cG as ut,cH as pt,cB as gt,cI as b
15
15
  `,Dt=l(Y)`
16
16
  display: flex;
17
17
  cursor: pointer;
18
- `;function R({firstMonthOfFY:t,isLoadNextItem:i,isLoading:m,timePeriod:d,fixedTimePeriod:s,timeframe:r,doLoadMoreTransactions:f}){let n=d;if(i)if(s!=null){const $=_(d.endDate.startOf("month"),t,s.numberOfPeriods,s.timeframe);n={startDate:n.endDate.add(1,"day"),endDate:$}}else{const $=_(d.endDate.startOf("month"),t,1,r),{startOfTimeframeFY:L,endOfTimeframeFY:w}=q($,t,r);n={startDate:L,endDate:w}}else if(s!=null)n={startDate:K(d.startDate.startOf("month"),t,s.numberOfPeriods,s.timeframe),endDate:d.startDate.subtract(1,"day")};else{const $=K(d.startDate.startOf("month"),t,1,r),{startOfTimeframeFY:L,endOfTimeframeFY:w}=q($,t,r);n={startDate:L,endDate:w}}const o=j.getLocalizedStrings();let h="";h=s==null?r==="month"?`${i===!0?o.transactionList.loadNextMonthPrefix:o.transactionList.loadPreviousMonthPrefix} (${I(n.startDate,o.dateFormat.visual.MMMYYYYFormat,t)})`:r==="quarter"?`${i===!0?o.transactionList.loadNextQuarterPrefix:o.transactionList.loadPreviousQuarterPrefix} (${o.transactionList.quarterPrefix}${I(n.startDate,o.dateFormat.visual.QYYYYformat,t)})`:`${i===!0?o.transactionList.loadNextYearPrefix:o.transactionList.loadPreviousYearPrefix} (${I(n.startDate,o.dateFormat.visual.YYYYformat,t)})`:`${i===!0?o.transactionList.loadNextMonthPrefix:o.transactionList.loadPreviousPrefix} ${s.numberOfPeriods} ${o.transactionList.monthsSuffix} - (${I(n.startDate,o.dateFormat.visual.MMMYYYYFormat,t)} - ${I(n.endDate,o.dateFormat.visual.MMMYYYYFormat,t)})`;const v=B(),S=s!=null?(i?"next":"previous")+"-fixed-months":`${i?"next":"previous"}-${r}`;return m===!0?e.jsx(U,{windowSize:v,isLoadNextItem:i,children:e.jsx(yt,{size:"Small",start:!0})}):e.jsx(U,{windowSize:v,isLoadNextItem:i,children:e.jsx(Dt,{"data-testid":x("load-more-transactions",S),onClick:()=>{f?.(n,r)},children:h})})}R.displayName="LoadMoreTransactions";const{common:{strings:{empty:W}}}=j.getLocalizedStrings(),Ft=l(kt)`
18
+ `;function R({firstMonthOfFY:t,isLoadNextItem:i,isLoading:m,timePeriod:d,fixedTimePeriod:s,timeframe:r,doLoadMoreTransactions:f}){let n=d;if(i)if(s!=null){const $=q(d.endDate.startOf("month"),t,s.numberOfPeriods,s.timeframe);n={startDate:n.endDate.add(1,"day"),endDate:$}}else{const $=q(d.endDate.startOf("month"),t,1,r),{startOfTimeframeFY:L,endOfTimeframeFY:w}=A($,t,r);n={startDate:L,endDate:w}}else if(s!=null)n={startDate:W(d.startDate.startOf("month"),t,s.numberOfPeriods,s.timeframe),endDate:d.startDate.subtract(1,"day")};else{const $=W(d.startDate.startOf("month"),t,1,r),{startOfTimeframeFY:L,endOfTimeframeFY:w}=A($,t,r);n={startDate:L,endDate:w}}const o=j.getLocalizedStrings();let h="";h=s==null?r==="month"?`${i===!0?o.transactionList.loadNextMonthPrefix:o.transactionList.loadPreviousMonthPrefix} (${I(n.startDate,o.dateFormat.visual.MMMYYYYFormat,t)})`:r==="quarter"?`${i===!0?o.transactionList.loadNextQuarterPrefix:o.transactionList.loadPreviousQuarterPrefix} (${o.transactionList.quarterPrefix}${I(n.startDate,o.dateFormat.visual.QYYYYformat,t)})`:`${i===!0?o.transactionList.loadNextYearPrefix:o.transactionList.loadPreviousYearPrefix} (${I(n.startDate,o.dateFormat.visual.YYYYformat,t)})`:`${i===!0?o.transactionList.loadNextMonthPrefix:o.transactionList.loadPreviousPrefix} ${s.numberOfPeriods} ${o.transactionList.monthsSuffix} - (${I(n.startDate,o.dateFormat.visual.MMMYYYYFormat,t)} - ${I(n.endDate,o.dateFormat.visual.MMMYYYYFormat,t)})`;const v=B(),S=s!=null?(i?"next":"previous")+"-fixed-months":`${i?"next":"previous"}-${r}`;return m===!0?e.jsx(U,{windowSize:v,isLoadNextItem:i,children:e.jsx(yt,{size:"Small",start:!0})}):e.jsx(U,{windowSize:v,isLoadNextItem:i,children:e.jsx(Dt,{"data-testid":x("load-more-transactions",S),onClick:()=>{f?.(n,r)},children:h})})}R.displayName="LoadMoreTransactions";const{common:{strings:{empty:G}}}=j.getLocalizedStrings(),Ft=l(kt)`
19
19
  display: -webkit-box;
20
20
  -webkit-box-orient: vertical;
21
21
  -webkit-line-clamp: 1;
@@ -60,7 +60,7 @@ import{bF as ft,e as B,V as e,an as ht,b as x,cG as ut,cH as pt,cB as gt,cI as b
60
60
  ${It(t.theme)}
61
61
  }
62
62
  `}
63
- `;function Rt({transaction:t,onItemClick:i,isQuickViewMode:m,itemIndex:d}){const{description:s,typeName:r,amount:f,logo:n,vendorId:o}=t,h=String(d),v=it(t)&&o==null;return e.jsxs(St,{onClick:()=>i?.(t),"data-testid":x("transaction-item-medium",h),children:[e.jsx(X,{photoUrl:v===!1?n?.toString()??W:W,styles:{width:a.sp4,height:a.sp4,borderRadius:a.sp0},placeholder:{width:y[4],height:y[4]},fallbackAvatar:e.jsx(Nt,{children:e.jsx(Z,{name:s,size:a.sp4})})}),e.jsxs(Tt,{children:[e.jsx(zt,{"data-testid":x("transaction-item-name",h),children:s}),r!=null&&m!==!0?e.jsx(Ft,{className:"tag","data-testid":x("transaction-item-tag",h),children:r}):null]}),e.jsx(Ct,{"data-testid":x("transaction-item-amount",h),children:tt("0,0.00",f)})]})}function Bt({data:t,boxType:i,onItemClick:m,itemIndex:d=0}){const{isQuickViewMode:s,selectedTransactionId:r}=vt(),f=r!=null&&r===t.id,n=et(t.type)==null,o=e.jsx(Rt,{transaction:t,onItemClick:n?void 0:m,isQuickViewMode:s,itemIndex:d});return e.jsx(Ot,{isPanelSelected:f,children:e.jsx(at,{content:o,boxType:i,isDisabled:n})})}const{common:{strings:{empty:G}}}=j.getLocalizedStrings(),Ht=l.div`
63
+ `;function Rt({transaction:t,onItemClick:i,isQuickViewMode:m,itemIndex:d}){const{description:s,typeName:r,amount:f,logo:n,vendorId:o}=t,h=String(d),v=it(t)&&o==null;return e.jsxs(St,{onClick:()=>i?.(t),"data-testid":x("transaction-item-medium",h),children:[e.jsx(X,{photoUrl:v===!1?n?.toString()??G:G,styles:{width:a.sp4,height:a.sp4,borderRadius:a.sp0},placeholder:{width:y[4],height:y[4]},fallbackAvatar:e.jsx(Nt,{children:e.jsx(Z,{name:s,size:a.sp4})})}),e.jsxs(Tt,{children:[e.jsx(zt,{"data-testid":x("transaction-item-name",h),children:s}),r!=null&&m!==!0?e.jsx(Ft,{className:"tag","data-testid":x("transaction-item-tag",h),children:r}):null]}),e.jsx(Ct,{"data-testid":x("transaction-item-amount",h),children:tt("0,0.00",f)})]})}function Bt({data:t,boxType:i,onItemClick:m,itemIndex:d=0}){const{isQuickViewMode:s,selectedTransactionId:r}=vt(),f=r!=null&&r===t.id,n=et(t.type)==null,o=e.jsx(Rt,{transaction:t,onItemClick:n?void 0:m,isQuickViewMode:s,itemIndex:d});return e.jsx(Ot,{isPanelSelected:f,children:e.jsx(at,{content:o,boxType:i,isDisabled:n})})}const{common:{strings:{empty:J}}}=j.getLocalizedStrings(),Ht=l.div`
64
64
  display: flex;
65
65
  padding: ${a.sp3} ${a.sp4};
66
66
  flex-direction: row;
@@ -84,26 +84,26 @@ import{bF as ft,e as B,V as e,an as ht,b as x,cG as ut,cH as pt,cB as gt,cI as b
84
84
  margin-left: ${a.sp3};
85
85
  text-align: right;
86
86
  width: ${t=>H.amountWidth.valuePx(t.windowSize)};
87
- `,At=l.div`
87
+ `,_t=l.div`
88
88
  display: flex;
89
- `;function _t({transaction:t,onItemClick:i,itemIndex:m}){const{description:d,amount:s,logo:r,vendorId:f}=t,n=String(m),o=it(t)&&f==null;return e.jsxs(Ht,{onClick:()=>i?.(t),"data-testid":x("transaction-item-small",n),children:[e.jsx(X,{photoUrl:o===!1?r?.toString()??G:G,styles:{width:a.sp4,height:a.sp4,borderRadius:a.sp0},placeholder:{width:y[4],height:y[4]},fallbackAvatar:e.jsx(At,{children:e.jsx(Z,{name:d,size:a.sp4})})}),e.jsx(Qt,{children:e.jsx(Et,{"data-testid":x("transaction-item-name",n),children:d})}),e.jsx(Vt,{"data-testid":x("transaction-item-amount",n),children:tt("0,0.00",s)})]})}function qt({data:t,boxType:i,onItemClick:m,itemIndex:d=0}){const s=et(t.type)==null,r=e.jsx(_t,{transaction:t,onItemClick:s?void 0:m,itemIndex:d});return e.jsx(at,{content:r,boxType:i,isDisabled:s})}function Kt(t){return B()==="small"?e.jsx(qt,{...t}):e.jsx(Bt,{...t})}const Ut=l.div`
89
+ `;function qt({transaction:t,onItemClick:i,itemIndex:m}){const{description:d,amount:s,logo:r,vendorId:f}=t,n=String(m),o=it(t)&&f==null;return e.jsxs(Ht,{onClick:()=>i?.(t),"data-testid":x("transaction-item-small",n),children:[e.jsx(X,{photoUrl:o===!1?r?.toString()??J:J,styles:{width:a.sp4,height:a.sp4,borderRadius:a.sp0},placeholder:{width:y[4],height:y[4]},fallbackAvatar:e.jsx(_t,{children:e.jsx(Z,{name:d,size:a.sp4})})}),e.jsx(Qt,{children:e.jsx(Et,{"data-testid":x("transaction-item-name",n),children:d})}),e.jsx(Vt,{"data-testid":x("transaction-item-amount",n),children:tt("0,0.00",s)})]})}function At({data:t,boxType:i,onItemClick:m,itemIndex:d=0}){const s=et(t.type)==null,r=e.jsx(qt,{transaction:t,onItemClick:s?void 0:m,itemIndex:d});return e.jsx(at,{content:r,boxType:i,isDisabled:s})}function Wt(t){return B()==="small"?e.jsx(At,{...t}):e.jsx(Bt,{...t})}const Ut=l.div`
90
90
  display: flex;
91
91
  flex: 1 1 auto;
92
92
  flex-direction: column;
93
93
  box-shadow: ${t=>`${a.sp0} 2px ${a.sp1} ${t.theme.colors.dropShadowNormal}`};
94
94
  border-radius: ${a.sp2};
95
95
  background-color: ${t=>t.theme.colors.grey5};
96
- `,Wt=l($t)`
96
+ `,Gt=l($t)`
97
97
  display: flex;
98
98
  height: 21px;
99
99
  margin-bottom: ${a.sp2};
100
100
  margin-top: ${a.sp3};
101
101
  color: ${t=>t.theme.colors.grey1};
102
- `,Gt=l.div`
102
+ `,Jt=l.div`
103
103
  display: flex;
104
104
  flex-direction: column;
105
105
  width: 100%;
106
- `,Jt=(t,i)=>i.length===1?"roundedBox":t===0?"topRoundedBox":t===i.length-1?"bottomRoundedBox":"box",Xt=jt.memo(function({date:t,transactions:i,onItemClick:m}){const{dateFormat:d}=j.getLocalizedStrings();return e.jsxs(Gt,{"data-testid":x("transactions-group"),children:[e.jsx(Wt,{"data-testid":x("transactions-group-date-label",t.format(d.analytics.YYYYDashMMDashDDFormat)),children:Mt().year()===t.year()?t.format(d.visual.MMMDFormat):t.format(d.visual.MMMDCommaYYYYformat)}),e.jsx(Ut,{"data-testid":x("transactions-group-items"),children:i.map((s,r)=>e.jsx(Kt,{data:s,boxType:Jt(r,i),itemIndex:r,onItemClick:f=>{m?.(f)},"data-testid":x("transaction-item",String(r))},s.id))})]})}),{dateFormat:Zt}=j.getLocalizedStrings(),k=j.getLocalizedStrings(),te={listItemMargin:new J(y[3],y[8])},ee=l.div`
106
+ `,Kt=(t,i)=>i.length===1?"roundedBox":t===0?"topRoundedBox":t===i.length-1?"bottomRoundedBox":"box",Xt=jt.memo(function({date:t,transactions:i,onItemClick:m}){const{dateFormat:d}=j.getLocalizedStrings();return e.jsxs(Jt,{"data-testid":x("transactions-group"),children:[e.jsx(Gt,{"data-testid":x("transactions-group-date-label",t.format(d.analytics.YYYYDashMMDashDDFormat)),children:Mt().year()===t.year()?t.format(d.visual.MMMDFormat):t.format(d.visual.MMMDCommaYYYYformat)}),e.jsx(Ut,{"data-testid":x("transactions-group-items"),children:i.map((s,r)=>e.jsx(Wt,{data:s,boxType:Kt(r,i),itemIndex:r,onItemClick:f=>{m?.(f)},"data-testid":x("transaction-item",String(r))},s.id))})]})}),{dateFormat:Zt}=j.getLocalizedStrings(),k=j.getLocalizedStrings(),te={listItemMargin:new K(y[3],y[8])},ee=l.div`
107
107
  display: flex;
108
108
  flex: 1 1 auto;
109
109
  width: 99.9%;
@@ -130,8 +130,8 @@ import{bF as ft,e as B,V as e,an as ht,b as x,cG as ut,cH as pt,cB as gt,cI as b
130
130
  background-color: transparent;
131
131
  }
132
132
  &::-webkit-scrollbar-track {
133
- box-shadow: inset 0 0 2px ${A.scrollbarBoxShadow};
134
- -webkit-box-shadow: inset 0 0 2px ${A.scrollbarBoxShadow};
133
+ box-shadow: inset 0 0 2px ${_.scrollbarBoxShadow};
134
+ -webkit-box-shadow: inset 0 0 2px ${_.scrollbarBoxShadow};
135
135
  background-color: transparent;
136
136
  }
137
137
  &::-webkit-scrollbar-thumb {
@@ -150,4 +150,4 @@ import{bF as ft,e as B,V as e,an as ht,b as x,cG as ut,cH as pt,cB as gt,cI as b
150
150
  border-radius: 2px;
151
151
  }
152
152
  }
153
- `,ue=b.forwardRef(function({firstMonthOfFY:t,timeframe:i,timePeriod:m,transactions:d,isFirstLotLoading:s,currentScrollYOffset:r,componentName:f,showLoadNext:n,showLoadPrevious:o,onTransactionItemClick:h,trackPerformance:v=!0,onTransactionListScroll:S,onListInnerElementHeightChanged:$},L){const w=b.useMemo(()=>function(c){const u=ut(c,g=>g.date.format(Zt.visual.MMMDCommaYYYYformat)),p=pt(u,g=>g.length>0);return gt(p,g=>({date:g[0].date,transactions:bt(g,xt=>xt.updateTime,"desc")}))}(d),[d]),T=b.createRef(),[z,ot]=b.useState(!1);b.useEffect(()=>{T.current?.resetAfterIndex(0)},[d,T]);const nt=L,M=b.useRef(null),[st,rt]=b.useState(void 0);b.useEffect(()=>{!z&&s===!1&&ot(!0)},[s,z]),ft({componentName:f,enabled:v&&z});const dt=()=>{if(M!=null&&typeof M=="object"&&M.current){const c=M.current;c!=null&&c.clientHeight>0&&c.clientHeight!=st&&(rt(c.clientHeight),$?.(c.clientHeight))}},Q=b.useRef(h);Q.current=h;const lt=b.useCallback((...c)=>{Q.current?.(...c)},[]),C=w.length===0,E=o!=null,N=n!=null,O=w.length+(n!=null?1:0)+(o!=null?1:0)+(C===!0?1:0),V=c=>N===!0?c-1:c,P=B(),ct=({index:c,style:u})=>{if(N===!0&&c===0)return e.jsx("div",{style:{...u},children:e.jsx(D,{windowSize:P,"data-testid":x("transaction-list","list-item-load-more"),children:e.jsx(R,{firstMonthOfFY:t,isLoadNextItem:!0,isLoading:n?.isLoading==1,timePeriod:m,timeframe:i,fixedTimePeriod:n?.fixedTimePeriod,doLoadMoreTransactions:(p,g)=>{n?.onLoadNextClick?.(p,g)}})})});if(E===!0&&c===O-1)return e.jsx("div",{style:{...u},children:e.jsx(D,{windowSize:P,"data-testid":x("transaction-list","list-item-load-previous"),children:e.jsx(R,{firstMonthOfFY:t,isLoadNextItem:!1,isLoading:o?.isLoading==1,timePeriod:m,fixedTimePeriod:o?.fixedTimePeriod,timeframe:i,doLoadMoreTransactions:(p,g)=>{o?.onLoadPreviousClick?.(p,g)}})})});if(C===!1){const p=w[V(c)];return e.jsx("div",{style:{...u},children:e.jsxs(D,{windowSize:P,children:[e.jsx(Xt,{date:p.date,transactions:p.transactions,onItemClick:lt}),o==null?e.jsx(ie,{}):null]})})}return e.jsx("div",{style:{...u},children:e.jsx(ae,{children:e.jsx(D,{windowSize:P,"data-testid":x("transaction-list","transactions-list-empty"),children:e.jsx(oe,{children:se(m,n?.isLoading==1||o?.isLoading==1)})})})})},mt=c=>N===!0&&c===0?F(!0):E===!0&&c===O-1?F(!1):C===!1?(u=>u*H.transactionItemHeight+45)(w[V(c)].transactions.length):F(!1);return e.jsx(ee,{children:e.jsx(ht,{children:({height:c,width:u})=>e.jsx(ne,{"data-testid":x("transaction-list"),ref:T,height:c,width:u,innerElementType:Lt,innerRef:M,outerRef:nt,onItemsRendered:dt,itemCount:O,itemSize:mt,onScroll:({scrollOffset:p})=>{S?.(p)},initialScrollOffset:r??0,children:ct})})})}),se=(t,i)=>i===!0?k.transactionList.fetching:t.startDate.isSame(t.endDate,"month")?`${k.transactionList.noTransactionsFoundForPrefix} (${t.startDate.format(k.dateFormat.visual.MMMYYFormat)})`:`${k.transactionList.noTransactionsFoundForPeriodPrefix} (${t.startDate.format(k.dateFormat.visual.MMMYYFormat)} - ${t.endDate.format(k.dateFormat.visual.MMMYYFormat)})`;export{ue as D};
153
+ `,ue=g.forwardRef(function({firstMonthOfFY:t,timeframe:i,timePeriod:m,transactions:d,isFirstLotLoading:s,currentScrollYOffset:r,componentName:f,showLoadNext:n,showLoadPrevious:o,onTransactionItemClick:h,trackPerformance:v=!0,onTransactionListScroll:S,onListInnerElementHeightChanged:$},L){const w=g.useMemo(()=>function(c){const u=ut(c,b=>b.date.format(Zt.visual.MMMDCommaYYYYformat)),p=pt(u,b=>b.length>0);return bt(p,b=>({date:b[0].date,transactions:gt(b,xt=>xt.updateTime,"desc")}))}(d),[d]),T=g.createRef(),[z,ot]=g.useState(!1);g.useEffect(()=>{T.current?.resetAfterIndex(0)},[d,T]);const nt=L,M=g.useRef(null),[st,rt]=g.useState(void 0);g.useEffect(()=>{!z&&s===!1&&ot(!0)},[s,z]),ft({componentName:f,enabled:v&&z});const dt=()=>{if(M!=null&&typeof M=="object"&&M.current){const c=M.current;c!=null&&c.clientHeight>0&&c.clientHeight!=st&&(rt(c.clientHeight),$?.(c.clientHeight))}},Q=g.useRef(h);Q.current=h;const lt=g.useCallback((...c)=>{Q.current?.(...c)},[]),C=w.length===0,E=o!=null,N=n!=null,O=w.length+(n!=null?1:0)+(o!=null?1:0)+(C===!0?1:0),V=c=>N===!0?c-1:c,P=B(),ct=({index:c,style:u})=>{if(N===!0&&c===0)return e.jsx("div",{style:{...u},children:e.jsx(D,{windowSize:P,"data-testid":x("transaction-list","list-item-load-more"),children:e.jsx(R,{firstMonthOfFY:t,isLoadNextItem:!0,isLoading:n?.isLoading==1,timePeriod:m,timeframe:i,fixedTimePeriod:n?.fixedTimePeriod,doLoadMoreTransactions:(p,b)=>{n?.onLoadNextClick?.(p,b)}})})});if(E===!0&&c===O-1)return e.jsx("div",{style:{...u},children:e.jsx(D,{windowSize:P,"data-testid":x("transaction-list","list-item-load-previous"),children:e.jsx(R,{firstMonthOfFY:t,isLoadNextItem:!1,isLoading:o?.isLoading==1,timePeriod:m,fixedTimePeriod:o?.fixedTimePeriod,timeframe:i,doLoadMoreTransactions:(p,b)=>{o?.onLoadPreviousClick?.(p,b)}})})});if(C===!1){const p=w[V(c)];return e.jsx("div",{style:{...u},children:e.jsxs(D,{windowSize:P,children:[e.jsx(Xt,{date:p.date,transactions:p.transactions,onItemClick:lt}),o==null?e.jsx(ie,{}):null]})})}return e.jsx("div",{style:{...u},children:e.jsx(ae,{children:e.jsx(D,{windowSize:P,"data-testid":x("transaction-list","transactions-list-empty"),children:e.jsx(oe,{children:se(m,n?.isLoading==1||o?.isLoading==1)})})})})},mt=c=>N===!0&&c===0?F(!0):E===!0&&c===O-1?F(!1):C===!1?(u=>u*H.transactionItemHeight+45)(w[V(c)].transactions.length):F(!1);return e.jsx(ee,{children:e.jsx(ht,{children:({height:c,width:u})=>e.jsx(ne,{"data-testid":x("transaction-list"),ref:T,height:c,width:u,innerElementType:Lt,innerRef:M,outerRef:nt,onItemsRendered:dt,itemCount:O,itemSize:mt,onScroll:({scrollOffset:p})=>{S?.(p)},initialScrollOffset:r??0,children:ct})})})}),se=(t,i)=>i===!0?k.transactionList.fetching:t.startDate.isSame(t.endDate,"month")?`${k.transactionList.noTransactionsFoundForPrefix} (${t.startDate.format(k.dateFormat.visual.MMMYYFormat)})`:`${k.transactionList.noTransactionsFoundForPeriodPrefix} (${t.startDate.format(k.dateFormat.visual.MMMYYFormat)} - ${t.endDate.format(k.dateFormat.visual.MMMYYFormat)})`;export{ue as D};
@@ -1,4 +1,4 @@
1
- import{x as a,e as _,_ as W,U as q,ag as X,V as t,an as ee,b as w,m as n,w as te,f as A,o,d as k,M as G,O as $,aO as oe,aP as ie,C as ne,D as re,a5 as ae,aQ as se,k as le,L as de,J as N,aR as J,a as O,ab as K}from"./index-Mhz2NAiD.js";import{a as B,b as z}from"./sentry-D-LCra2M.js";import{n as i,c as ce}from"./mui-Ckdcx_YE.js";import{F5 as me,bt as pe,bE as U}from"./zeni-epic-state-B1zsDZZ4.js";import{G as he,c as ge}from"./AccountsPromoCardStack-Ywhto4lV-BJMaNuPG.js";import{a as ue}from"./ConstrainedInnerElement-CgdnMeoA-BnMSru9B.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./SummaryCard-B1d4_5lE-BRRY9IEV.js";import"./ReloadCard-CDcJMl9F-CnmKoS62.js";import"./NavigationArrow-f4Z3TuXg-BOQXlQjz.js";import"./NavigationDots-WiVjbUsC-C7Q4WAGV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="1d02a0b0-67df-4650-91fd-87f4461551ec",e._sentryDebugIdIdentifier="sentry-dbid-1d02a0b0-67df-4650-91fd-87f4461551ec")}catch{}})();const xe={textContainer:new k("extraSmallRegular","smallRegular")},we=i.div`
1
+ import{x as a,e as _,_ as W,U as q,ag as X,V as t,an as ee,b as w,m as n,w as te,f as A,o,d as k,M as G,O as $,aO as oe,aP as ie,C as ne,D as re,a5 as ae,aQ as se,k as le,L as de,J as N,aR as J,a as O,ab as K}from"./index-CVe1fo1a.js";import{a as B,b as z}from"./sentry-CFYfTv_F.js";import{n as i,c as ce}from"./mui-DcvwYC51.js";import{F5 as me,bt as pe,bE as U}from"./zeni-epic-state-BZiG8B71.js";import{G as he,c as ge}from"./AccountsPromoCardStack-D6xN5A4_-DaMwJmFg.js";import{a as ue}from"./ConstrainedInnerElement-CgdnMeoA-Dk4QFttG.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./SummaryCard-DgIPSt4y-BreXikds.js";import"./ReloadCard-D5kxTfzJ-CHGlYP1Y.js";import"./NavigationArrow-DY_BhITD-gGit-4br.js";import"./NavigationDots-Kh5ODrCQ-DwZ3hrog.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="f342418f-7855-4f95-9c2f-19dc81108152",e._sentryDebugIdIdentifier="sentry-dbid-f342418f-7855-4f95-9c2f-19dc81108152")}catch{}})();const xe={textContainer:new k("extraSmallRegular","smallRegular")},we=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,$e=i.div`
@@ -0,0 +1,35 @@
1
+ import{y as M,aX as R,aY as z,V as e,aZ as X,L as Z,b as h,a_ as q,o as s,l as G}from"./index-CVe1fo1a.js";import{a as r,o as W}from"./sentry-CFYfTv_F.js";import{n as l}from"./mui-DcvwYC51.js";import{D as H}from"./TransactionList-BOmlsfpv-P61oqFED.js";import{t as J}from"./page-detail-CWX5S47F-DYwfMchM.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./ConstrainedInnerElement-CgdnMeoA-Dk4QFttG.js";import"./BoxItem-CIyMdw2s-BlAcmWAT.js";import"./commonDimensions-CzWWgDTA-C5sl3WWf.js";import"./panelSelectedMixin-Cddsb26L-oybQQD8A.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new t.Error().stack;c&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[c]="925adac6-9124-43dd-9dc3-338673b953b6",t._sentryDebugIdIdentifier="sentry-dbid-925adac6-9124-43dd-9dc3-338673b953b6")}catch{}})();const K=l.div`
2
+ display: flex;
3
+ flex: 1 1 auto;
4
+ min-height: 0;
5
+ width: 100%;
6
+ flex-direction: column;
7
+ background-color: ${t=>t.theme.colors.grey4};
8
+ box-shadow: ${t=>`${s.sp0} 2px ${s.sp1} ${t.theme.colors.dropShadowNormal}`};
9
+ `,Q=l.div`
10
+ display: flex;
11
+ flex: 1 1 auto;
12
+ flex-direction: column;
13
+ justify-content: center;
14
+ align-items: center;
15
+ margin: ${s.sp0};
16
+ `,U=l.div`
17
+ display: flex;
18
+ flex: 1 1 auto;
19
+ height: 100%;
20
+ width: 100%;
21
+ flex-direction: row;
22
+ justify-content: center;
23
+ align-items: center;
24
+ `,tt=l(G)`
25
+ color: ${t=>t.theme.colors.hero};
26
+ text-align: center;
27
+ `,et=l(J)`
28
+ height: ${s.sp4};
29
+ width: ${s.sp4};
30
+ color: ${t=>t.theme.colors.hero};
31
+ cursor: pointer;
32
+ &:hover {
33
+ color: ${t=>t.theme.colors.primary};
34
+ }
35
+ `;function Ct({title:t,subTitle:c,firstMonthOfFY:g,timeframe:d,timePeriod:i,useFixedPeriod:x,dataAvailableForPeriod:b,report:o,currentScrollYOffset:k,showStatementPageIcon:I=!1,onTimePeriodChange:y,onTransactionItemClick:j,onTransactionListScroll:v,onBackClick:T,onStatementPageIconClick:D,panelContent:F,referrerType:N,sidePanelIsFullView:L,sidePanelIsOpen:O}){const[f,P]=r.useState(!0),[m,C]=r.useState(!1),[p,S]=r.useState(!1),Y=M();r.useEffect(()=>{o.transactions.length>0?P(!1):P(m===!1&&p===!1&&(o.fetchState==="In-Progress"||o.fetchState==="Not-Started"))},[o,f,m,p]);const _=R(),w=z(N),B=`${w===""?_:w}.transactions.list`,E=i.startDate.isAfter(b.startDate,d)?{isLoading:m&&(o.fetchState==="In-Progress"||o.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadPreviousClick:(a,n)=>{S(!1),C(!0),y?.(a,i,n)}}:void 0,V=i.endDate.isBefore(b.endDate,d)?{isLoading:p&&(o.fetchState==="In-Progress"||o.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadNextClick:(a,n)=>{C(!1),S(!0),y?.(a,i,n)}}:void 0;let $=null;I&&($=e.jsx(et,{onClick:D}));const u=r.useRef(null);return e.jsx(r.Profiler,{id:"TransactionListPage",onRender:function(a,n,A){W({category:`${B}.transaction-list.react.profiler`,message:`${a} (${n}) took ${A}ms`,level:"info"})},children:e.jsx(X,{isOpen:O??!1,isFullView:L??!1,panelContent:F,headerContent:e.jsx(q,{source:"TransactionListPage","data-testid":h("transaction-list-page-nav-bar"),title:t,onBackClick:T,backgroundColor:Y.colors.grey4,rightSideComponent:$,scrollableContent:u.current!=null?u:void 0}),listContent:e.jsx(K,{"data-testid":h("transaction-list-page",t),children:e.jsxs(Q,{"data-testid":h("transaction-list",t),children:[e.jsx(tt,{children:c}),f===!1?e.jsx(H,{ref:u,firstMonthOfFY:g,timeframe:d,timePeriod:i,transactions:o.transactions,isFirstLotLoading:f,currentScrollYOffset:k,onTransactionItemClick:j,onTransactionListScroll:v,showLoadPrevious:E,showLoadNext:V,componentName:"report.transactions.list"}):e.jsx(U,{children:e.jsx(Z,{size:"ExtraLarge",start:!0})})]})})})})}export{Ct as default};
@@ -1 +1 @@
1
- import{j as i}from"./pdf-CwWlK-Dr.js";import{j as J,h as R,i as U,l as q,u as L,N as B,k as H,R as Te,m as v}from"./core-AYNw6kyJ.js";import{ct as $,ga as T,MC as K,De as de,bs as ne,MD as De,II as W,ME as ce,MF as ge,bG as x,Db as le,MG as ye,MH as oe,MI as Ae,MJ as ue,MK as he,ML as Se,MM as ie,Er as ke,bm as Ie}from"./zeni-epic-state-B1zsDZZ4.js";import{O as Z,jz as O,lW as Q,jO as w,jM as X,k2 as be,js as ve,aE as Ye,aG as se}from"./index-Mhz2NAiD.js";import"./mui-Ckdcx_YE.js";import{a as A}from"./sentry-D-LCra2M.js";import{w as ee}from"./withTransactionSidePanel-CHdaZXOz.js";import{p as te,b as ae}from"./routePaths-DIayl1Jh.js";import{u as xe}from"./utils-CI1RvLss.js";import{d as M}from"./decodeURIComponentSafe-E-sgiudi.js";import{Z as Pe}from"./ZeniAccountStatementScreen-BOJsnK-P.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./TransactionDetailScreen-BglCkwGm.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="12391f5e-7f7f-4565-9a66-ebfc8c44ba14",a._sentryDebugIdIdentifier="sentry-dbid-12391f5e-7f7f-4565-9a66-ebfc8c44ba14")}catch{}})();const G=a=>xe(a),Me=H(function(a,e){const t=De(a.transactionState,a.transactionListState,e.selectedAccount.period,e.selectedAccount.timeframe,G(e.selectedAccount.tranListType));return{title:e.selectedAccount.title,subTitle:e.selectedAccount.subTitle,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:e.dataAvailableForPeriod,report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??"../../";e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();const o=Z.getLocalizedStrings(),r=G(e.selectedAccount.tranListType),s=je(t,n,c,r,e.bookCloseDate);O.trackTransactionList(void 0,void 0,void 0,e.selectedAccount.title,void 0,!0),a(ce({uiState:{dateRange:s},type:G(e.selectedAccount.tranListType)})),a(de(r,T(s),!1,r==="missingReceipts"?o.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0)),e.onSelectedTimePeriodChange(T(s))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ce({uiState:{scrollYOffset:t},type:G(e.selectedAccount.tranListType)}))}}})(Q),F=ee(function({...a}){const e=J(),t=R(),n=U(),c=t.pathname.substring(t.pathname.lastIndexOf("/")+1),{tenantEmailDomain:o}=q(),r=Z.getLocalizedStrings(),{accountType:s,title:u,subTitle:h}=Le(c),D="month",g=L(p=>$(p)),Y=g.company?.companyInfo.firstMonthOfFY??1,{dataAvailable:y,initialTimeframeTick:S}=Ee(c,Y,g.bookCloseDate),[k,E]=A.useState(!1),[j,P]=A.useState(void 0),m=A.useMemo(()=>{const p=T(S);return{tranListType:c,accountType:K(s),title:u,subTitle:h,timeframe:D,period:p}},[c,D,s,y]);A.useEffect(()=>{if(!k&&m!=null){E(!0),O.trackTransactionList(void 0,void 0,void 0,m.title);const p=G(m.tranListType);n(de(p,m.period,!0,p==="missingReceipts"?r.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0))}},[k,m,n]);let I=m;return m!=null&&j!=null&&(I={...m,period:j}),I==null?i.jsx(B,{to:"../"}):i.jsx(Me,{firstMonthOfFY:Y,tenantEmailDomain:o,location:t,useFixedPeriod:{timeframe:"month",numberOfPeriods:12},dataAvailableForPeriod:y,navigate:e,selectedAccount:I,referrerType:c,bookCloseDate:g.bookCloseDate,onSelectedTimePeriodChange:p=>P(p),...a})}),Le=a=>{let e="",t="",n="";const c=Z.getLocalizedStrings();switch(a){case"uncategorized-income":e="income",t=c.uncategorizedTransactionList.income.title,n=c.uncategorizedTransactionList.income.subTitle;break;case"uncategorized-expense":e="expenses",t=c.uncategorizedTransactionList.expense.title,n=c.uncategorizedTransactionList.expense.subTitle;break;case"miscategorized-expense":e="expenses",t=c.miscategorizedTransactionList.expense.title,n=c.miscategorizedTransactionList.expense.subTitle;break;case"miscategorized-income":e="income",t=c.miscategorizedTransactionList.income.title,n=c.miscategorizedTransactionList.income.subTitle;break;case"missing-receipts":t=c.uncategorizedTransactionList.missingReceipt.title,n=c.uncategorizedTransactionList.missingReceipt.subTitle}return{accountType:e,title:t,subTitle:n}},Ee=(a,e,t)=>{const n=ne();let c=ne().startOf("month").subtract(11,"month");return t!=null&&a!=="missing-receipts"?t.add(1,"day").isBefore(c)?{dataAvailable:{startDate:t.add(1,"day"),endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}:(c=t.add(1,"day"),{dataAvailable:{startDate:c,endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}):{dataAvailable:te(5,e),initialTimeframeTick:{startDate:c,endDate:n}}},je=(a,e,t,n,c)=>{let o=e;return n==="missingReceipts"||c==null?a.startDate.isBefore(e.startDate,t)?o={startDate:a.startDate,endDate:e.endDate}:a.startDate.isAfter(e.endDate,t)?o={startDate:e.startDate,endDate:a.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(a)}`):o=a.startDate.isBefore(c,t)?{startDate:c.add(1,"day"),endDate:e.endDate}:{startDate:a.startDate,endDate:e.endDate},o},ze=H(function(a,e){const t=ye(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,e.selectedAccount.timeframe,e.selectedAccount.period);return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??me();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{dateRange:o}})),a(le(e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{scrollYOffset:t}}))}}})(Q),Be=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,classIdEncoded:u,timeframe:h,startDate:D,endDate:g,titleEncoded:Y}=q(),y=M(r??""),S=M(s??""),k=M(u??""),E=M(Y??""),j=L(f=>ge(f.transactionListState,S,y,k)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(f=>$(f)),V=_.company?.companyInfo.firstMonthOfFY??1;let d;const l=Oe(y,S,k,h,D,g,E);if(l){const f={startDate:x(D,"YYYY-MM-DD"),endDate:x(g,"YYYY-MM-DD")},N=Ce(j?.dateRange,f);d={accountId:S,accountType:K(y),classId:k,title:E,timeframe:h,period:N}}A.useEffect(()=>{P||d==null||(m(!0),O.trackTransactionList(d.accountId,void 0,a,d.title),c(le(d.accountId,d.accountType,d.classId,d.period)))},[P,d,c]);let z=d;d!=null&&I!=null&&(z={...d,period:I});const C=[r,s,u,h,D,g,Y].filter(f=>f!=null);return l&&z!=null?i.jsx(ze,{firstMonthOfFY:V,tenantEmailDomain:o,location:n,navigate:t,selectedAccount:z,referrerType:a,onSelectedTimePeriodChange:f=>p(f),...e}):i.jsx(B,{to:me(C.length)})}),me=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Oe=(a,e,t,n,c,o,r)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&o!=null&&(n==="month"||n==="quarter")&&x(c,"YYYY-MM-DD").isValid()&&x(o,"YYYY-MM-DD").isValid()&&r!=null,Ce=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),Fe=H(function(a,e){const t=he(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.timeframe,e.selectedAccount.period),n=t.account?.coaId,c=e.isConnectedAccountProviderUnit&&Se(n??"");return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0,showStatementPageIcon:c}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??pe();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{dateRange:o}})),a(ue(e.selectedAccount.accountId,e.selectedAccount.accountType,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{scrollYOffset:t}}))},onStatementPageIconClick:()=>{const t=we(e.tenantEmailDomain),n=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(t,{state:{pathnameStackToGoBack:n}})}}})(Q),re=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,timeframe:u,startDate:h,endDate:D,titleEncoded:g,excludeSubAccounts:Y}=q(),y=M(r??""),S=M(s??""),k=M(g??""),E=!(Y!=null&&Y==="exclude_subaccounts"),j=L(b=>Ae(b.transactionListState,S,y)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(b=>$(b)),V=_.company?.featuresActivationInfo.connectedAccountProvider==="unit",d=_.company?.companyInfo.firstMonthOfFY??1;let l;const z=Ge(y,S,u,h,D,k);if(z){const b={startDate:x(h,"YYYY-MM-DD"),endDate:x(D,"YYYY-MM-DD")},fe=_e(j?.dateRange,b);l={accountId:S,accountType:K(y),title:k,timeframe:u,period:fe}}let C=l;l!=null&&I!=null&&(C={...l,period:I});const{areTenantIdsInSync:f}=be();A.useEffect(()=>{!P&&l!=null&&f&&(m(!0),O.trackTransactionList(l.accountId,void 0,a,l.title),c(ue(l.accountId,l.accountType,l.period,void 0,!1,E)))},[P,l,c,f]);const N=[r,s,u,h,D,g].filter(b=>b!=null);return z&&C!=null?i.jsx(Fe,{firstMonthOfFY:d,tenantEmailDomain:o,location:n,navigate:t,isConnectedAccountProviderUnit:V,selectedAccount:C,referrerType:a,onSelectedTimePeriodChange:b=>p(b),...e}):i.jsx(B,{to:pe(N.length)})}),pe=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Ge=(a,e,t,n,c,o)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&(t==="month"||t==="quarter")&&x(n,"YYYY-MM-DD").isValid()&&x(c,"YYYY-MM-DD").isValid()&&o!=null,_e=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),we=a=>`/${a}/transactions/${ke}/statements`;function ot(){const a=R().state?.referrer,e=ve.getSignedInUser(),t=Ie(e),{useFeatureGate:n}=Ye(),{isFeatureEnabled:c}=n(se.isExpenseAutomationEnabled),o=L(u=>u.expenseAutomationViewState.selectedPeriodByTenantId)[L(u=>$(u)).tenantId],{isFeatureEnabled:r}=n(se.isExpenseAutomationEnabledV2),s=r||c&&t;return i.jsxs(Te,{children:[i.jsx(v,{path:"/:accountTypeEncoded/:accountIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/:excludeSubAccounts/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/zeni-clearing-account/statements",element:i.jsx(Pe,{})}),i.jsx(v,{path:"/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/uncategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/uncategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/missing-receipts/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/missing_receipts/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/by-class/:accountTypeEncoded/:accountIdEncoded/:classIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/*",element:i.jsx(Be,{referrerType:a})})]})}export{ot as default};
1
+ import{j as i}from"./pdf-DA3UteIy.js";import{j as J,h as R,i as U,l as q,u as L,N as B,k as H,R as Te,m as v}from"./core-BAxGDYbL.js";import{ct as $,ga as T,MC as K,De as de,bs as ne,MD as De,II as W,ME as ce,MF as ge,bG as x,Db as le,MG as ye,MH as oe,MI as Ae,MJ as ue,MK as he,ML as Se,MM as ie,Er as ke,bm as Ie}from"./zeni-epic-state-BZiG8B71.js";import{O as Z,jz as O,lW as Q,jO as w,jM as X,k2 as be,js as ve,aE as Ye,aG as se}from"./index-CVe1fo1a.js";import"./mui-DcvwYC51.js";import{a as A}from"./sentry-CFYfTv_F.js";import{w as ee}from"./withTransactionSidePanel-BBzl-sYH.js";import{p as te,b as ae}from"./routePaths-B9s6SzIs.js";import{u as xe}from"./utils-B0HnpOzO.js";import{d as M}from"./decodeURIComponentSafe-Bypqq6TF.js";import{Z as Pe}from"./ZeniAccountStatementScreen-CGYScuoU.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./TransactionDetailScreen-TsmDBl7P.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="12391f5e-7f7f-4565-9a66-ebfc8c44ba14",a._sentryDebugIdIdentifier="sentry-dbid-12391f5e-7f7f-4565-9a66-ebfc8c44ba14")}catch{}})();const G=a=>xe(a),Me=H(function(a,e){const t=De(a.transactionState,a.transactionListState,e.selectedAccount.period,e.selectedAccount.timeframe,G(e.selectedAccount.tranListType));return{title:e.selectedAccount.title,subTitle:e.selectedAccount.subTitle,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:e.dataAvailableForPeriod,report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??"../../";e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();const o=Z.getLocalizedStrings(),r=G(e.selectedAccount.tranListType),s=je(t,n,c,r,e.bookCloseDate);O.trackTransactionList(void 0,void 0,void 0,e.selectedAccount.title,void 0,!0),a(ce({uiState:{dateRange:s},type:G(e.selectedAccount.tranListType)})),a(de(r,T(s),!1,r==="missingReceipts"?o.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0)),e.onSelectedTimePeriodChange(T(s))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ce({uiState:{scrollYOffset:t},type:G(e.selectedAccount.tranListType)}))}}})(Q),F=ee(function({...a}){const e=J(),t=R(),n=U(),c=t.pathname.substring(t.pathname.lastIndexOf("/")+1),{tenantEmailDomain:o}=q(),r=Z.getLocalizedStrings(),{accountType:s,title:u,subTitle:h}=Le(c),D="month",g=L(p=>$(p)),Y=g.company?.companyInfo.firstMonthOfFY??1,{dataAvailable:y,initialTimeframeTick:S}=Ee(c,Y,g.bookCloseDate),[k,E]=A.useState(!1),[j,P]=A.useState(void 0),m=A.useMemo(()=>{const p=T(S);return{tranListType:c,accountType:K(s),title:u,subTitle:h,timeframe:D,period:p}},[c,D,s,y]);A.useEffect(()=>{if(!k&&m!=null){E(!0),O.trackTransactionList(void 0,void 0,void 0,m.title);const p=G(m.tranListType);n(de(p,m.period,!0,p==="missingReceipts"?r.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0))}},[k,m,n]);let I=m;return m!=null&&j!=null&&(I={...m,period:j}),I==null?i.jsx(B,{to:"../"}):i.jsx(Me,{firstMonthOfFY:Y,tenantEmailDomain:o,location:t,useFixedPeriod:{timeframe:"month",numberOfPeriods:12},dataAvailableForPeriod:y,navigate:e,selectedAccount:I,referrerType:c,bookCloseDate:g.bookCloseDate,onSelectedTimePeriodChange:p=>P(p),...a})}),Le=a=>{let e="",t="",n="";const c=Z.getLocalizedStrings();switch(a){case"uncategorized-income":e="income",t=c.uncategorizedTransactionList.income.title,n=c.uncategorizedTransactionList.income.subTitle;break;case"uncategorized-expense":e="expenses",t=c.uncategorizedTransactionList.expense.title,n=c.uncategorizedTransactionList.expense.subTitle;break;case"miscategorized-expense":e="expenses",t=c.miscategorizedTransactionList.expense.title,n=c.miscategorizedTransactionList.expense.subTitle;break;case"miscategorized-income":e="income",t=c.miscategorizedTransactionList.income.title,n=c.miscategorizedTransactionList.income.subTitle;break;case"missing-receipts":t=c.uncategorizedTransactionList.missingReceipt.title,n=c.uncategorizedTransactionList.missingReceipt.subTitle}return{accountType:e,title:t,subTitle:n}},Ee=(a,e,t)=>{const n=ne();let c=ne().startOf("month").subtract(11,"month");return t!=null&&a!=="missing-receipts"?t.add(1,"day").isBefore(c)?{dataAvailable:{startDate:t.add(1,"day"),endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}:(c=t.add(1,"day"),{dataAvailable:{startDate:c,endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}):{dataAvailable:te(5,e),initialTimeframeTick:{startDate:c,endDate:n}}},je=(a,e,t,n,c)=>{let o=e;return n==="missingReceipts"||c==null?a.startDate.isBefore(e.startDate,t)?o={startDate:a.startDate,endDate:e.endDate}:a.startDate.isAfter(e.endDate,t)?o={startDate:e.startDate,endDate:a.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(a)}`):o=a.startDate.isBefore(c,t)?{startDate:c.add(1,"day"),endDate:e.endDate}:{startDate:a.startDate,endDate:e.endDate},o},ze=H(function(a,e){const t=ye(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,e.selectedAccount.timeframe,e.selectedAccount.period);return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??me();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{dateRange:o}})),a(le(e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{scrollYOffset:t}}))}}})(Q),Be=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,classIdEncoded:u,timeframe:h,startDate:D,endDate:g,titleEncoded:Y}=q(),y=M(r??""),S=M(s??""),k=M(u??""),E=M(Y??""),j=L(f=>ge(f.transactionListState,S,y,k)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(f=>$(f)),V=_.company?.companyInfo.firstMonthOfFY??1;let d;const l=Oe(y,S,k,h,D,g,E);if(l){const f={startDate:x(D,"YYYY-MM-DD"),endDate:x(g,"YYYY-MM-DD")},N=Ce(j?.dateRange,f);d={accountId:S,accountType:K(y),classId:k,title:E,timeframe:h,period:N}}A.useEffect(()=>{P||d==null||(m(!0),O.trackTransactionList(d.accountId,void 0,a,d.title),c(le(d.accountId,d.accountType,d.classId,d.period)))},[P,d,c]);let z=d;d!=null&&I!=null&&(z={...d,period:I});const C=[r,s,u,h,D,g,Y].filter(f=>f!=null);return l&&z!=null?i.jsx(ze,{firstMonthOfFY:V,tenantEmailDomain:o,location:n,navigate:t,selectedAccount:z,referrerType:a,onSelectedTimePeriodChange:f=>p(f),...e}):i.jsx(B,{to:me(C.length)})}),me=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Oe=(a,e,t,n,c,o,r)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&o!=null&&(n==="month"||n==="quarter")&&x(c,"YYYY-MM-DD").isValid()&&x(o,"YYYY-MM-DD").isValid()&&r!=null,Ce=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),Fe=H(function(a,e){const t=he(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.timeframe,e.selectedAccount.period),n=t.account?.coaId,c=e.isConnectedAccountProviderUnit&&Se(n??"");return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0,showStatementPageIcon:c}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??pe();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{dateRange:o}})),a(ue(e.selectedAccount.accountId,e.selectedAccount.accountType,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{scrollYOffset:t}}))},onStatementPageIconClick:()=>{const t=we(e.tenantEmailDomain),n=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(t,{state:{pathnameStackToGoBack:n}})}}})(Q),re=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,timeframe:u,startDate:h,endDate:D,titleEncoded:g,excludeSubAccounts:Y}=q(),y=M(r??""),S=M(s??""),k=M(g??""),E=!(Y!=null&&Y==="exclude_subaccounts"),j=L(b=>Ae(b.transactionListState,S,y)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(b=>$(b)),V=_.company?.featuresActivationInfo.connectedAccountProvider==="unit",d=_.company?.companyInfo.firstMonthOfFY??1;let l;const z=Ge(y,S,u,h,D,k);if(z){const b={startDate:x(h,"YYYY-MM-DD"),endDate:x(D,"YYYY-MM-DD")},fe=_e(j?.dateRange,b);l={accountId:S,accountType:K(y),title:k,timeframe:u,period:fe}}let C=l;l!=null&&I!=null&&(C={...l,period:I});const{areTenantIdsInSync:f}=be();A.useEffect(()=>{!P&&l!=null&&f&&(m(!0),O.trackTransactionList(l.accountId,void 0,a,l.title),c(ue(l.accountId,l.accountType,l.period,void 0,!1,E)))},[P,l,c,f]);const N=[r,s,u,h,D,g].filter(b=>b!=null);return z&&C!=null?i.jsx(Fe,{firstMonthOfFY:d,tenantEmailDomain:o,location:n,navigate:t,isConnectedAccountProviderUnit:V,selectedAccount:C,referrerType:a,onSelectedTimePeriodChange:b=>p(b),...e}):i.jsx(B,{to:pe(N.length)})}),pe=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Ge=(a,e,t,n,c,o)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&(t==="month"||t==="quarter")&&x(n,"YYYY-MM-DD").isValid()&&x(c,"YYYY-MM-DD").isValid()&&o!=null,_e=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),we=a=>`/${a}/transactions/${ke}/statements`;function ot(){const a=R().state?.referrer,e=ve.getSignedInUser(),t=Ie(e),{useFeatureGate:n}=Ye(),{isFeatureEnabled:c}=n(se.isExpenseAutomationEnabled),o=L(u=>u.expenseAutomationViewState.selectedPeriodByTenantId)[L(u=>$(u)).tenantId],{isFeatureEnabled:r}=n(se.isExpenseAutomationEnabledV2),s=r||c&&t;return i.jsxs(Te,{children:[i.jsx(v,{path:"/:accountTypeEncoded/:accountIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/:excludeSubAccounts/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/zeni-clearing-account/statements",element:i.jsx(Pe,{})}),i.jsx(v,{path:"/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/uncategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/uncategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/missing-receipts/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/missing_receipts/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/by-class/:accountTypeEncoded/:accountIdEncoded/:classIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/*",element:i.jsx(Be,{referrerType:a})})]})}export{ot as default};
@@ -1,4 +1,4 @@
1
- import{e as A,O as k,V as o,L as q,b as I,a9 as R,o as t,x as m,a8 as W,d as _,cu as G,T as K,c8 as U,A as J,m as a,gD as M,gE as B,gF as F,y as Q,cd as X,ga as z,gG as Y,ar as Z,gK as ee,gL as oe}from"./index-Mhz2NAiD.js";import{a as j}from"./sentry-D-LCra2M.js";import{n as l}from"./mui-Ckdcx_YE.js";import"./pdf-CwWlK-Dr.js";import"./zeni-epic-state-B1zsDZZ4.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="b47e9681-e0b8-4b96-a348-63c4709d0ddf",e._sentryDebugIdIdentifier="sentry-dbid-b47e9681-e0b8-4b96-a348-63c4709d0ddf")}catch{}})();const L=(e,r)=>`${e}.${r}`,N={labelWidth:new m(120,145,160),controlWidth:new m(110,145,160)},i=k.getLocalizedStrings().transactionDetail.vendorDetails.vendorCreation,te=({selectedAccountId:e,isSaveError:r,selectedClassId:g,selectedOwnerId:d,selectedVendorName:w,allAccounts:u,allClasses:O,allOwners:$,sectionId:h,isDisabled:c,accountsHierarchyList:x,classHierarchyList:b})=>{const s=A(),y=Q(),C=N.labelWidth.value(s),S=N.controlWidth.value(s);return o.jsxs(ae,{"data-testid":I("vendor-details-section",h),children:[o.jsx(ne,{children:i.vendorDetails.title}),o.jsxs(re,{children:[o.jsx(X,{label:{label:i.vendorDetails.vendorName,width:C},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:w,autoComplete:"off",options:{required:!0}},isSaveError:r,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(se,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:C},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:v=>(p=>u.filter(n=>n.accountId===p)[0]?.coaId??"")(v),defaultValue:{selectedOption:e,allOptions:B(x)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c,disableCurrentOption:v=>{const p=u.find(n=>n.accountId===v)?.accountName;return[ee,oe].includes(p??"")},zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:C},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:v=>(p=>O.filter(n=>n.classId===p)[0]?.accountingClassNumber??"")(v),defaultValue:{selectedOption:g,allOptions:M(b)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c}),$!=null?o.jsx(Y,{label:{label:i.vendorDetails.vendorOwner,width:C},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:F($),selectedOption:d},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:c,style:{justifyContent:"space-between"},controlWidth:S}):null]})]})},ae=l.div`
1
+ import{e as A,O as k,V as o,L as q,b as I,a9 as R,o as t,x as m,a8 as W,d as _,cu as G,T as K,c8 as U,A as J,m as a,gD as M,gE as B,gF as F,y as Q,cd as X,ga as z,gG as Y,ar as Z,gK as ee,gL as oe}from"./index-CVe1fo1a.js";import{a as j}from"./sentry-CFYfTv_F.js";import{n as l}from"./mui-DcvwYC51.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="b47e9681-e0b8-4b96-a348-63c4709d0ddf",e._sentryDebugIdIdentifier="sentry-dbid-b47e9681-e0b8-4b96-a348-63c4709d0ddf")}catch{}})();const L=(e,r)=>`${e}.${r}`,N={labelWidth:new m(120,145,160),controlWidth:new m(110,145,160)},i=k.getLocalizedStrings().transactionDetail.vendorDetails.vendorCreation,te=({selectedAccountId:e,isSaveError:r,selectedClassId:g,selectedOwnerId:d,selectedVendorName:w,allAccounts:u,allClasses:O,allOwners:$,sectionId:h,isDisabled:c,accountsHierarchyList:x,classHierarchyList:b})=>{const s=A(),y=Q(),C=N.labelWidth.value(s),S=N.controlWidth.value(s);return o.jsxs(ae,{"data-testid":I("vendor-details-section",h),children:[o.jsx(ne,{children:i.vendorDetails.title}),o.jsxs(re,{children:[o.jsx(X,{label:{label:i.vendorDetails.vendorName,width:C},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:w,autoComplete:"off",options:{required:!0}},isSaveError:r,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(se,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:C},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:v=>(p=>u.filter(n=>n.accountId===p)[0]?.coaId??"")(v),defaultValue:{selectedOption:e,allOptions:B(x)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c,disableCurrentOption:v=>{const p=u.find(n=>n.accountId===v)?.accountName;return[ee,oe].includes(p??"")},zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:C},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:v=>(p=>O.filter(n=>n.classId===p)[0]?.accountingClassNumber??"")(v),defaultValue:{selectedOption:g,allOptions:M(b)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c}),$!=null?o.jsx(Y,{label:{label:i.vendorDetails.vendorOwner,width:C},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:F($),selectedOption:d},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:c,style:{justifyContent:"space-between"},controlWidth:S}):null]})]})},ae=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${t.sp3};
@@ -1,4 +1,4 @@
1
- import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,o as a,O as I,x as c,a8 as qe,n as ct,at as dt,D as ft,c2 as ye,C as Te,l as ue,a7 as ce,T as Ge,c8 as ut,ag as pt,a6 as mt,f as U,A as Je,f6 as Le,f7 as je,fD as ht,bo as Ce,h3 as gt,m as i,eT as wt,bH as He,bv as xt,ex as $t,b6 as bt,H as Ze,fj as Dt,bj as yt,bx as Ke,gk as Tt,gl as Ct}from"./index-Mhz2NAiD.js";import{a as f}from"./sentry-D-LCra2M.js";import{n}from"./mui-Ckdcx_YE.js";import{u as St}from"./plaid-BhP6n1uc.js";import{bG as vt}from"./zeni-epic-state-B1zsDZZ4.js";import{v as kt}from"./ZeniTransferAmountSlider-DuD1JtSv-eHMRZi_V.js";import{m as At}from"./BusyIndication-DmApVsF7-DoBMbi5i.js";import{r as Pt}from"./AccountInfoPageContent-DIWh6VaI-Dkx9vqHY.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./utils-CI1RvLss.js";import"./downloadPdf-Dcd8BY_9-DI4hg2G0.js";import"./commonDimensions-CuKo3wam-nLTnztTJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="b1c5adef-4d91-4a2a-926e-aa92320609cc",e._sentryDebugIdIdentifier="sentry-dbid-b1c5adef-4d91-4a2a-926e-aa92320609cc")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=I.getLocalizedStrings(),Qe="amount",ze="transferFrom",k="transferDetails",et="transferDetailPage",xe=(e,r)=>`${e}.${r}`,tt=e=>`${e}_form`,u={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(i[3],i[4]),labeleMarginLeft:new c(i[0],i[0]),labelMarginRight:new c(i[3],i[3]),labeleMarginBottom:new c(i[2],i[0]),labeledFieldPaddingLeft:new c(i[3],i[0]),labeledFieldPaddingRight:new c(i[3],i[2]),labeledFieldPaddingTop:new c(i[3],i[3]),labeledFieldPaddingBottom:new c(i[3],i[2]),infoLabelPaddingRight:new c(i[0],i[3]),infoLabelMarginTop:new c(i[1],i[0]),controllerWrapperFlex:new c(1,i[0])};function Lt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:h,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:p,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:F,onSaveChangesToLocalStore:q,onBackClick:M,onEstablishConnectionClick:R,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:G,onReviewClick:J}){const o=fe(),E=u.largeLabelWidth.value(o),[_,j]=f.useState(!1),m=e.link_account_no_microdeposit,[v,W]=f.useState(m.linkToken??null),[x,z]=f.useState(!1),[V,ie]=f.useState(!1),H=r.transferMoneyPartiesFetchState,Z=ce(H),K=r.transferDetailLocalData.transferFrom?.id,Q=r.transferDetailLocalData.transferTo?.id,Se=ce(K),ve=ce(Q),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),at=f.useCallback(s=>{R?.(s),M(),ie(!1),z(!1)},[M,R]),nt=f.useCallback((s,g)=>{s!=null&&console.log("Plaid Connection Error",s,g)},[]),{open:Y,ready:ee}=St({token:v,onSuccess:at,onExit:nt}),oe=f.useCallback(s=>{s.preventDefault(),s.stopPropagation(),ee?Y():z(!0)},[Y,ee]),P=Ge({mode:"all",reValidateMode:"onBlur",defaultValues:f.useMemo(()=>Be(r,oe),[r])});f.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),f.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&ee&&ie(!0)},[ee,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),f.useEffect(()=>{V&&x&&Y()},[V,Y,x]),f.useEffect(()=>{(vt(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&G?.("link_account_no_microdeposit")},[]),f.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(Z==="In-Progress"&&H==="Completed"||Se!==K||ve!==Q||s)&&P.reset(Be(r,()=>Y()))},[ee,v,m.fetchStatus.fetchState,Z,H,Se,ve,Q,K,me,pe,P,r,Y]);const{isValid:rt}=P.formState;f.useEffect(()=>{const s=P.watch((g,{name:se})=>{if(se!=null&&g!=null){const le=g[k]?.amount??0,he=g[k]?.transferFrom,te=g[k]?.transferTo,ge=r.transferMoneyParties.find(we=>we.id===he?.selectedOption),ae=r.transferMoneyParties.find(we=>we.id===te?.selectedOption);ge?.accType==="paymentAccount"&&ae?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),f.useEffect(()=>{const s=P.watch((g,{name:se})=>{se!=null&&g!=null&&ut(()=>(async(le,he)=>{if(le!=null){const te={...he},ge={amount:{amount:te[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===te[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===te[k].transferTo.selectedOption)};q(ge)}})(se,g))});return()=>{s.unsubscribe()}}),f.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const it=P.handleSubmit(()=>{rt&&(O("Review","Amount Details"),J())});f.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ze}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,oe,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const ke=h.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ae=ke[ke.length-1].annualPercentageYield.toString(),ot=pt(mt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[_?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(It,{}),t.jsxs(Rt,{children:[t.jsx(Ot,{children:r.reviewTransferDetail.error?.title}),t.jsx(_t,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{O("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Wt,{children:N("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(Je,{...P,children:t.jsxs(Bt,{id:tt(et),onSubmit:it,children:[t.jsxs(Qt,{children:[t.jsx(Oe,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,ze),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,oe,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Re,{}),t.jsx(Oe,{size:o,children:t.jsx(ea,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,"transferTo"),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,oe)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Re,{}),t.jsx(ht,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:xe(k,Qe),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Xt,{children:[$?t.jsxs(Vt,{children:[t.jsx(Yt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Ae).replace("__amount__",ot)}),t.jsx(kt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:h,setYieldEarned:B,setTotalBalance:F})]}):null,t.jsxs(Ut,{windowSize:o,children:[t.jsx(Jt,{windowSize:o,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Me,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${N("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Ce,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:o==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Gt,{windowSize:o}),t.jsx(Ht,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${N("0,0",{amount:p,currencySymbol:"$"})}`})]}):t.jsx(Me,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Ae)})}),$?t.jsxs(Ie,{windowSize:o,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Ie,{windowSize:o,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ue,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,h,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const p={label:d.label,value:d.id};return $&&(p.isDisabled=r?d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),p});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:h};w.push(d)}return w},Be=(e,r)=>({transferDetails:{[Qe]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=n.div`
1
+ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,o as a,O as R,x as c,a8 as qe,n as ct,at as dt,D as ft,c2 as ye,C as Te,l as ue,a7 as ce,T as Ge,c8 as ut,ag as pt,a6 as mt,f as U,A as He,f6 as Le,f7 as je,fD as ht,bo as Ce,h3 as gt,m as i,eT as wt,bH as Je,bv as xt,ex as $t,b6 as bt,H as Ze,fj as Dt,bj as yt,bx as Ke,gk as Tt,gl as Ct}from"./index-CVe1fo1a.js";import{a as f}from"./sentry-CFYfTv_F.js";import{n}from"./mui-DcvwYC51.js";import{u as St}from"./plaid-Dma9BWZs.js";import{bG as vt}from"./zeni-epic-state-BZiG8B71.js";import{v as kt}from"./ZeniTransferAmountSlider-BpfqM032-CVzLkYGE.js";import{m as At}from"./BusyIndication-YMYY0Pff-BY32OnMI.js";import{r as Pt}from"./AccountInfoPageContent-B0ZnsyrQ-BWluBgsD.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./utils-B0HnpOzO.js";import"./downloadPdf-BFFM3Hea-CZaqSBqv.js";import"./commonDimensions-CzWWgDTA-C5sl3WWf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="cdffe319-463c-4943-9c27-f64fe48e3580",e._sentryDebugIdIdentifier="sentry-dbid-cdffe319-463c-4943-9c27-f64fe48e3580")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Qe="amount",ze="transferFrom",k="transferDetails",et="transferDetailPage",xe=(e,r)=>`${e}.${r}`,tt=e=>`${e}_form`,u={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(i[3],i[4]),labeleMarginLeft:new c(i[0],i[0]),labelMarginRight:new c(i[3],i[3]),labeleMarginBottom:new c(i[2],i[0]),labeledFieldPaddingLeft:new c(i[3],i[0]),labeledFieldPaddingRight:new c(i[3],i[2]),labeledFieldPaddingTop:new c(i[3],i[3]),labeledFieldPaddingBottom:new c(i[3],i[2]),infoLabelPaddingRight:new c(i[0],i[3]),infoLabelMarginTop:new c(i[1],i[0]),controllerWrapperFlex:new c(1,i[0])};function Lt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:h,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:p,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:F,onSaveChangesToLocalStore:q,onBackClick:M,onEstablishConnectionClick:E,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:G,onReviewClick:H}){const o=fe(),I=u.largeLabelWidth.value(o),[_,j]=f.useState(!1),m=e.link_account_no_microdeposit,[v,W]=f.useState(m.linkToken??null),[x,z]=f.useState(!1),[V,ie]=f.useState(!1),J=r.transferMoneyPartiesFetchState,Z=ce(J),K=r.transferDetailLocalData.transferFrom?.id,Q=r.transferDetailLocalData.transferTo?.id,Se=ce(K),ve=ce(Q),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),at=f.useCallback(s=>{E?.(s),M(),ie(!1),z(!1)},[M,E]),nt=f.useCallback((s,g)=>{s!=null&&console.log("Plaid Connection Error",s,g)},[]),{open:Y,ready:ee}=St({token:v,onSuccess:at,onExit:nt}),oe=f.useCallback(s=>{s.preventDefault(),s.stopPropagation(),ee?Y():z(!0)},[Y,ee]),P=Ge({mode:"all",reValidateMode:"onBlur",defaultValues:f.useMemo(()=>Be(r,oe),[r])});f.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),f.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&ee&&ie(!0)},[ee,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),f.useEffect(()=>{V&&x&&Y()},[V,Y,x]),f.useEffect(()=>{(vt(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&G?.("link_account_no_microdeposit")},[]),f.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(Z==="In-Progress"&&J==="Completed"||Se!==K||ve!==Q||s)&&P.reset(Be(r,()=>Y()))},[ee,v,m.fetchStatus.fetchState,Z,J,Se,ve,Q,K,me,pe,P,r,Y]);const{isValid:rt}=P.formState;f.useEffect(()=>{const s=P.watch((g,{name:se})=>{if(se!=null&&g!=null){const le=g[k]?.amount??0,he=g[k]?.transferFrom,te=g[k]?.transferTo,ge=r.transferMoneyParties.find(we=>we.id===he?.selectedOption),ae=r.transferMoneyParties.find(we=>we.id===te?.selectedOption);ge?.accType==="paymentAccount"&&ae?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),f.useEffect(()=>{const s=P.watch((g,{name:se})=>{se!=null&&g!=null&&ut(()=>(async(le,he)=>{if(le!=null){const te={...he},ge={amount:{amount:te[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===te[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===te[k].transferTo.selectedOption)};q(ge)}})(se,g))});return()=>{s.unsubscribe()}}),f.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const it=P.handleSubmit(()=>{rt&&(O("Review","Amount Details"),H())});f.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ze}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,oe,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const ke=h.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ae=ke[ke.length-1].annualPercentageYield.toString(),ot=pt(mt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[_?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(Rt,{}),t.jsxs(Et,{children:[t.jsx(Ot,{children:r.reviewTransferDetail.error?.title}),t.jsx(_t,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{O("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Wt,{children:N("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(He,{...P,children:t.jsxs(Bt,{id:tt(et),onSubmit:it,children:[t.jsxs(Qt,{children:[t.jsx(Oe,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferFrom,width:I,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,ze),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,oe,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Ee,{}),t.jsx(Oe,{size:o,children:t.jsx(ea,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:I,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,"transferTo"),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,oe)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Ee,{}),t.jsx(ht,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:I},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:xe(k,Qe),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Xt,{children:[$?t.jsxs(Vt,{children:[t.jsx(Yt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Ae).replace("__amount__",ot)}),t.jsx(kt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:h,setYieldEarned:B,setTotalBalance:F})]}):null,t.jsxs(Ut,{windowSize:o,children:[t.jsx(Ht,{windowSize:o,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Me,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${N("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Ce,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:o==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Gt,{windowSize:o}),t.jsx(Jt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${N("0,0",{amount:p,currencySymbol:"$"})}`})]}):t.jsx(Me,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Ae)})}),$?t.jsxs(Re,{windowSize:o,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Ie,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Re,{windowSize:o,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Ie,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ue,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,h,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const p={label:d.label,value:d.id};return $&&(p.isDisabled=r?d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),p});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:h};w.push(d)}return w},Be=(e,r)=>({transferDetails:{[Qe]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -22,15 +22,15 @@ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,
22
22
  `,Mt=n.div`
23
23
  display: flex;
24
24
  align-items: flex-start;
25
- `,Et=n.div``,It=n(wt)`
25
+ `,It=n.div``,Rt=n(wt)`
26
26
  width: ${a.sp4};
27
27
  height: ${a.sp4};
28
28
  color: ${U.important};
29
- `,Rt=n.div`
29
+ `,Et=n.div`
30
30
  display: flex;
31
31
  flex-direction: column;
32
32
  margin-left: ${a.sp2};
33
- `,Ot=n(He)`
33
+ `,Ot=n(Je)`
34
34
  color: ${U.important};
35
35
  `,_t=n(ue)`
36
36
  color: ${U.important};
@@ -55,7 +55,7 @@ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,
55
55
  margin-bottom: ${a.sp3};
56
56
  margin-top: ${a.sp3};
57
57
  white-space: pre-line;
58
- `,Me=n(He)`
58
+ `,Me=n(Je)`
59
59
  color: ${U.success};
60
60
  white-space: nowrap;
61
61
  `,Nt=n(bt)`
@@ -81,10 +81,10 @@ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,
81
81
  display: flex;
82
82
  flex-direction: row;
83
83
  align-items: center;
84
- `,Ee=n(Te)`
84
+ `,Ie=n(Te)`
85
85
  color: ${e=>e.theme.colors.hero};
86
86
  cursor: pointer;
87
- `,Ie=n.div`
87
+ `,Re=n.div`
88
88
  display: flex;
89
89
  flex-direction: row;
90
90
  align-items: center;
@@ -106,12 +106,12 @@ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,
106
106
  margin: 0 ${a.sp2};
107
107
  background-color: ${e=>e.theme.colors.grey1};
108
108
  border-radius: 50%;
109
- `,Jt=n.div`
109
+ `,Ht=n.div`
110
110
  display: flex;
111
111
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
112
112
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
113
113
  width: ${e=>e.windowSize==="small"?"100%":"unset"};
114
- `,Ht=n(Ze)`
114
+ `,Jt=n(Ze)`
115
115
  color: ${e=>e.theme.colors.hero};
116
116
  `,Zt=n(Dt)`
117
117
  cursor: pointer;
@@ -135,7 +135,7 @@ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,
135
135
  border: 1px solid ${e=>e.theme.colors.grey3};
136
136
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
137
137
  border-radius: ${a.sp2};
138
- `,Re=n.div`
138
+ `,Ee=n.div`
139
139
  display: flex;
140
140
  flex: 1;
141
141
  background-color: ${e=>e.theme.colors.grey3};
@@ -179,7 +179,7 @@ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,
179
179
  &:hover {
180
180
  color: ${e=>e.theme.colors.primary};
181
181
  }
182
- `,re={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(i[3],i[12]),buttonTrayGap:new c(i[4],i[5])},b=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,aa=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:h,transferAmount:$,yieldEarned:y,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:p,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:T,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:B,onEstablishConnectionClick:F,onBackClick:q,onFetchLinkTokenClick:M,plaidConnectionDetails:R,showReviewContent:O,setShowReviewContent:G,setCurrentDrawerContent:J,clearReviewTransferDetail:o,onReviewClick:E,setIsCalculatorOpen:_,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W})=>{const x=fe(),z=e.reviewTransferDetail,V=e.transferDetailLocalData.transferFrom?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount";return t.jsx(ia,{windowSize:x,children:e.fetchState==="Completed"?t.jsxs(We,{windowSize:x,isTransferCompleted:!0,children:[t.jsx(Ve,{windowSize:x,children:t.jsx(Ye,{"data-testid":A("cross-transfer-success-close-button"),onClick:()=>{l("Cross","Transfer Success"),S?.()}})}),t.jsxs(la,{windowSize:x,children:[t.jsx(st,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(oa,{children:V?t.jsxs(t.Fragment,{children:[b.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(_e,{children:N("0,0.[00]",e.transferDetailLocalData.amount)}),b.transferDrawer.internal.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,b.transferDrawer.internal.transferSuccessMsgMidfix2,`"${e.transferDetailLocalData.transferTo?.label}".`]}):t.jsxs(t.Fragment,{children:[b.transferDrawer.external.transferSuccessMsgPrefix,t.jsx(_e,{children:N("0,0.[00]",e.transferDetailLocalData.amount)}),b.transferDrawer.external.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,b.transferDrawer.external.transferSuccessMsgMidfix1,`"${e.transferDetailLocalData.transferTo?.label}".`,z.reviewTransferMoney.isShowDailyAchLimitWarning?null:b.transferDrawer.external.transferSuccessMsgMidfix2]})}),t.jsxs(sa,{windowSize:x,children:[t.jsx(Pe,{variant:"secondary",label:b.transferDrawer.anotherTransferBtn,"data-testid":A("another-transfer-button"),onClick:()=>{l("Another Transfer","Transfer Success"),W(0),_(!1),v(0),j(!1),B()},style:{minWidth:200}}),t.jsx(Pe,{variant:"primary",label:b.transferDrawer.backToChecking,"data-testid":A("back-to-checking-button"),onClick:()=>{l("Back to Checking","Transfer Success"),S?.()},style:{minWidth:200}})]})]})]}):O?t.jsx(lt,{transferDetails:e,setCurrentDrawerContent:J,setShowReviewContent:G,onTransferClick:C,clearReviewTransferDetail:o,reviewTransferDetail:z,fireTrackTransferBetweenAccountsFormClicked:l}):t.jsxs(t.Fragment,{children:[t.jsxs(We,{windowSize:x,isTransferCompleted:!1,children:[t.jsx(Ve,{windowSize:x,children:t.jsx(Ye,{"data-testid":A("cross-amount-details-close-button"),onClick:()=>{l("Cross","Amount Details"),S?.()}})}),x==="small"?t.jsx(ca,{windowSize:x,children:b.transferDrawer.title}):t.jsx(da,{children:b.transferDrawer.title}),x==="small"?t.jsx(ra,{children:b.transferDrawer.subTitle}):t.jsx(na,{children:b.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?t.jsx(Lt,{isCalculatorOpen:r,showAnnualYieldEarned:h,transferAmount:$,yieldEarned:y,totalBalance:w,onBackClick:q,onSaveChangesToLocalStore:T,plaidConnectionDetails:R,transferDetails:e,zeniAccountsConfigDetail:p,onEstablishConnectionClick:F,onFetchLinkTokenClick:M,onReviewClick:E,setIsCalculatorOpen:_,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W,fireTrackTransferBetweenAccountsFormClicked:l,maxInsuredAmount:d}):t.jsx(Ue,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),e.transferDetailLocalData.transferFrom?.id!=null||e.transferDetailLocalData.transferTo?.id!=null||e.transferDetailLocalData.amount.amount>0?t.jsx(De,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:tt(et),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:I.getLocalizedStrings().common.review,isLoading:z.fetchState==="In-Progress"},cancelBtn:{label:b.transferDrawer.cancelBtn,onClick:()=>{l("Cancel","Amount Details"),S?.()}}}):null]})})},na=n(ue)`
182
+ `,re={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(i[3],i[12]),buttonTrayGap:new c(i[4],i[5])},b=R.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,aa=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:h,transferAmount:$,yieldEarned:y,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:p,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:T,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:B,onEstablishConnectionClick:F,onBackClick:q,onFetchLinkTokenClick:M,plaidConnectionDetails:E,showReviewContent:O,setShowReviewContent:G,setCurrentDrawerContent:H,clearReviewTransferDetail:o,onReviewClick:I,setIsCalculatorOpen:_,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W})=>{const x=fe(),z=e.reviewTransferDetail,V=e.transferDetailLocalData.transferFrom?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount";return t.jsx(ia,{windowSize:x,children:e.fetchState==="Completed"?t.jsxs(We,{windowSize:x,isTransferCompleted:!0,children:[t.jsx(Ve,{windowSize:x,children:t.jsx(Ye,{"data-testid":A("cross-transfer-success-close-button"),onClick:()=>{l("Cross","Transfer Success"),S?.()}})}),t.jsxs(la,{windowSize:x,children:[t.jsx(st,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(oa,{children:V?t.jsxs(t.Fragment,{children:[b.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(_e,{children:N("0,0.[00]",e.transferDetailLocalData.amount)}),b.transferDrawer.internal.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,b.transferDrawer.internal.transferSuccessMsgMidfix2,`"${e.transferDetailLocalData.transferTo?.label}".`]}):t.jsxs(t.Fragment,{children:[b.transferDrawer.external.transferSuccessMsgPrefix,t.jsx(_e,{children:N("0,0.[00]",e.transferDetailLocalData.amount)}),b.transferDrawer.external.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,b.transferDrawer.external.transferSuccessMsgMidfix1,`"${e.transferDetailLocalData.transferTo?.label}".`,z.reviewTransferMoney.isShowDailyAchLimitWarning?null:b.transferDrawer.external.transferSuccessMsgMidfix2]})}),t.jsxs(sa,{windowSize:x,children:[t.jsx(Pe,{variant:"secondary",label:b.transferDrawer.anotherTransferBtn,"data-testid":A("another-transfer-button"),onClick:()=>{l("Another Transfer","Transfer Success"),W(0),_(!1),v(0),j(!1),B()},style:{minWidth:200}}),t.jsx(Pe,{variant:"primary",label:b.transferDrawer.backToChecking,"data-testid":A("back-to-checking-button"),onClick:()=>{l("Back to Checking","Transfer Success"),S?.()},style:{minWidth:200}})]})]})]}):O?t.jsx(lt,{transferDetails:e,setCurrentDrawerContent:H,setShowReviewContent:G,onTransferClick:C,clearReviewTransferDetail:o,reviewTransferDetail:z,fireTrackTransferBetweenAccountsFormClicked:l}):t.jsxs(t.Fragment,{children:[t.jsxs(We,{windowSize:x,isTransferCompleted:!1,children:[t.jsx(Ve,{windowSize:x,children:t.jsx(Ye,{"data-testid":A("cross-amount-details-close-button"),onClick:()=>{l("Cross","Amount Details"),S?.()}})}),x==="small"?t.jsx(ca,{windowSize:x,children:b.transferDrawer.title}):t.jsx(da,{children:b.transferDrawer.title}),x==="small"?t.jsx(ra,{children:b.transferDrawer.subTitle}):t.jsx(na,{children:b.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?t.jsx(Lt,{isCalculatorOpen:r,showAnnualYieldEarned:h,transferAmount:$,yieldEarned:y,totalBalance:w,onBackClick:q,onSaveChangesToLocalStore:T,plaidConnectionDetails:E,transferDetails:e,zeniAccountsConfigDetail:p,onEstablishConnectionClick:F,onFetchLinkTokenClick:M,onReviewClick:I,setIsCalculatorOpen:_,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W,fireTrackTransferBetweenAccountsFormClicked:l,maxInsuredAmount:d}):t.jsx(Ue,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),e.transferDetailLocalData.transferFrom?.id!=null||e.transferDetailLocalData.transferTo?.id!=null||e.transferDetailLocalData.amount.amount>0?t.jsx(De,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:tt(et),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:R.getLocalizedStrings().common.review,isLoading:z.fetchState==="In-Progress"},cancelBtn:{label:b.transferDrawer.cancelBtn,onClick:()=>{l("Cancel","Amount Details"),S?.()}}}):null]})})},na=n(ue)`
183
183
  color: ${e=>e.theme.colors.hero};
184
184
  `,ra=n(Te)`
185
185
  color: ${e=>e.theme.colors.hero};
@@ -241,7 +241,7 @@ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,
241
241
  color: ${e=>e.theme.colors.primary};
242
242
  margin-top: ${a.sp3};
243
243
  margin-bottom: ${a.sp2};
244
- `,X={accountRowLeftRightPadding:new c(i[3],i[3]),zeniAccountListPaddingBottom:new c(i[3],i[6]),navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(i[3],i[6],i[8]),containerPaddingRight:new c(i[3],i[6],i[8])},Ne="wireTransferDetailPage",Xe=e=>`${e}_form`,fa=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,$e=I.getLocalizedStrings().common,ua=e=>t.jsx(Ca,{color:Tt(e)}),pa=({depositAccountListView:e,setCurrentDrawerContent:r,selectedAccount:h,setShowWireAccountInfo:$,setSelectedAccount:y,fireTrackTransferBetweenAccountsFormClicked:w})=>{const d=Ge({mode:"all",reValidateMode:"onChange",defaultValues:{selectedAccountId:h?.id}}),p=fe();return f.useEffect(()=>{const l=d.watch(()=>{const T=e.depositAccounts.find(C=>C.id===d.getValues("selectedAccountId"));y(T)});return()=>{l.unsubscribe()}}),e.fetchState!="Completed"?t.jsx(At,{fetchState:e.fetchState}):t.jsxs(t.Fragment,{children:[t.jsxs(ma,{windowSize:p,children:[t.jsx(ya,{windowSize:p,children:t.jsx(Ce,{style:{marginTop:a.sp1},title:$e.navBar.back,enterDelay:600,placement:"bottom",children:t.jsx(Da,{"data-testid":A("select-zeni-account-back-button"),onClick:()=>{w("Back","Select Account for Split Transfer"),r("achTransfer")}})})}),t.jsx(Ta,{windowSize:p,children:fa.selectYour}),t.jsx(Je,{...d,children:t.jsx("form",{id:Xe(Ne),onSubmit:d.handleSubmit(()=>{w("Next","Select Account for Split Transfer"),$(!0)}),children:t.jsx(ba,{windowSize:p,children:e.depositAccounts.map((l,T)=>t.jsx($a,{isClickEnabled:!0,windowSize:p,"data-testid":A("deposit-account-click",l.id),onClick:()=>d.setValue("selectedAccountId",l.id),children:t.jsxs(ha,{children:[t.jsx(gt,{name:"selectedAccountId",id:l.id,value:l.id,radioSize:"small",style:{marginRight:8}}),ua(T),t.jsxs(ga,{children:[t.jsx(xa,{windowSize:p,children:l.accountName}),t.jsx(wa,{children:N("0,0[.]00",l.accountBalance?.available)})]})]})},l.id))})})})]}),h!=null?t.jsx(De,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Xe(Ne),cancelBtn:{label:$e.cancel,onClick:()=>{w("Cancel","Select Account for Split Transfer"),r("achTransfer")},style:{width:93}},primaryBtn:{label:$e.next,style:{width:93}}}):null]})},ma=n.div`
244
+ `,X={accountRowLeftRightPadding:new c(i[3],i[3]),zeniAccountListPaddingBottom:new c(i[3],i[6]),navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(i[3],i[6],i[8]),containerPaddingRight:new c(i[3],i[6],i[8])},Ne="wireTransferDetailPage",Xe=e=>`${e}_form`,fa=R.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,$e=R.getLocalizedStrings().common,ua=e=>t.jsx(Ca,{color:Tt(e)}),pa=({depositAccountListView:e,setCurrentDrawerContent:r,selectedAccount:h,setShowWireAccountInfo:$,setSelectedAccount:y,fireTrackTransferBetweenAccountsFormClicked:w})=>{const d=Ge({mode:"all",reValidateMode:"onChange",defaultValues:{selectedAccountId:h?.id}}),p=fe();return f.useEffect(()=>{const l=d.watch(()=>{const T=e.depositAccounts.find(C=>C.id===d.getValues("selectedAccountId"));y(T)});return()=>{l.unsubscribe()}}),e.fetchState!="Completed"?t.jsx(At,{fetchState:e.fetchState}):t.jsxs(t.Fragment,{children:[t.jsxs(ma,{windowSize:p,children:[t.jsx(ya,{windowSize:p,children:t.jsx(Ce,{style:{marginTop:a.sp1},title:$e.navBar.back,enterDelay:600,placement:"bottom",children:t.jsx(Da,{"data-testid":A("select-zeni-account-back-button"),onClick:()=>{w("Back","Select Account for Split Transfer"),r("achTransfer")}})})}),t.jsx(Ta,{windowSize:p,children:fa.selectYour}),t.jsx(He,{...d,children:t.jsx("form",{id:Xe(Ne),onSubmit:d.handleSubmit(()=>{w("Next","Select Account for Split Transfer"),$(!0)}),children:t.jsx(ba,{windowSize:p,children:e.depositAccounts.map((l,T)=>t.jsx($a,{isClickEnabled:!0,windowSize:p,"data-testid":A("deposit-account-click",l.id),onClick:()=>d.setValue("selectedAccountId",l.id),children:t.jsxs(ha,{children:[t.jsx(gt,{name:"selectedAccountId",id:l.id,value:l.id,radioSize:"small",style:{marginRight:8}}),ua(T),t.jsxs(ga,{children:[t.jsx(xa,{windowSize:p,children:l.accountName}),t.jsx(wa,{children:N("0,0[.]00",l.accountBalance?.available)})]})]})},l.id))})})})]}),h!=null?t.jsx(De,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Xe(Ne),cancelBtn:{label:$e.cancel,onClick:()=>{w("Cancel","Select Account for Split Transfer"),r("achTransfer")},style:{width:93}},primaryBtn:{label:$e.next,style:{width:93}}}):null]})},ma=n.div`
245
245
  height: auto;
246
246
  padding-left: ${e=>`${X.containerPaddingLeft.valuePx(e.windowSize)}`};
247
247
  padding-right: ${e=>`${X.containerPaddingRight.valuePx(e.windowSize)}`};
@@ -315,7 +315,7 @@ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,
315
315
  margin-right: ${a.sp2};
316
316
  padding: 12px ${a.sp0};
317
317
  box-sizing: content-box;
318
- `,{common:{navBar:{back:Sa}}}=I.getLocalizedStrings(),L={pageTitleMarginXAxis:new c(i[0],i[8]),navBarContainerPaddingXaxis:new c(10,19),pageContentPaddingLeftRight:new c(i[3],i[0]),navBarContainerMarginLeftRight:new c(i[0],i[8]),descriptionMarginLeftRight:new c(i[0],i[8]),accountInfoPageWrapperMarginLeft:new c(i[0],i[8]),accountInfoPageWrapperMarginRight:new c(i[0],i[5]),accountInfoPageWrapperMarginBottom:new c(i[5],i[8])},be=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,va=({authParams:e,downloadAccountDetailEndPoint:r,depositAccount:h,zeniAccountsConfigDetail:$,currentTenant:y,onDismissClick:w,fireTrackTransferBetweenAccountsFormClicked:d,setShowWireAccountInfo:p})=>{const l=fe();return t.jsxs(t.Fragment,{children:[t.jsxs(Aa,{windowSize:l,children:[t.jsx(La,{windowSize:l,children:t.jsx(Ce,{title:Sa,enterDelay:600,placement:"bottom",children:t.jsx(Pa,{"data-testid":A("wire-transfer-account-info-back-button"),onClick:()=>{d("Back","Wire Transfer Details"),p(!1)}})})}),t.jsx(Ba,{windowSize:l,children:be.wireInstruction.replace("__accountName__",h.accountName)}),t.jsx(ja,{windowSize:l,children:t.jsx(za,{children:be.wireTransferDescriptionLine1})}),t.jsx(ka,{windowSize:l,children:t.jsx(Pt,{authParams:e,downloadAccountDetailEndPoint:r,currentTab:"wireDetails",zeniAccountsConfigDetail:$,currentTenant:y,depositAccount:h})})]}),t.jsx(De,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},cancelBtn:{label:""},primaryBtn:{label:be.backToChecking,onClick:()=>{d("Back to Checking","Wire Transfer Details"),w()}},showCancel:!1,showPrimaryButton:!0})]})},ka=n.div`
318
+ `,{common:{navBar:{back:Sa}}}=R.getLocalizedStrings(),L={pageTitleMarginXAxis:new c(i[0],i[8]),navBarContainerPaddingXaxis:new c(10,19),pageContentPaddingLeftRight:new c(i[3],i[0]),navBarContainerMarginLeftRight:new c(i[0],i[8]),descriptionMarginLeftRight:new c(i[0],i[8]),accountInfoPageWrapperMarginLeft:new c(i[0],i[8]),accountInfoPageWrapperMarginRight:new c(i[0],i[5]),accountInfoPageWrapperMarginBottom:new c(i[5],i[8])},be=R.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,va=({authParams:e,downloadAccountDetailEndPoint:r,depositAccount:h,zeniAccountsConfigDetail:$,currentTenant:y,onDismissClick:w,fireTrackTransferBetweenAccountsFormClicked:d,setShowWireAccountInfo:p})=>{const l=fe();return t.jsxs(t.Fragment,{children:[t.jsxs(Aa,{windowSize:l,children:[t.jsx(La,{windowSize:l,children:t.jsx(Ce,{title:Sa,enterDelay:600,placement:"bottom",children:t.jsx(Pa,{"data-testid":A("wire-transfer-account-info-back-button"),onClick:()=>{d("Back","Wire Transfer Details"),p(!1)}})})}),t.jsx(Ba,{windowSize:l,children:be.wireInstruction.replace("__accountName__",h.accountName)}),t.jsx(ja,{windowSize:l,children:t.jsx(za,{children:be.wireTransferDescriptionLine1})}),t.jsx(ka,{windowSize:l,children:t.jsx(Pt,{authParams:e,downloadAccountDetailEndPoint:r,currentTab:"wireDetails",zeniAccountsConfigDetail:$,currentTenant:y,depositAccount:h})})]}),t.jsx(De,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},cancelBtn:{label:""},primaryBtn:{label:be.backToChecking,onClick:()=>{d("Back to Checking","Wire Transfer Details"),w()}},showCancel:!1,showPrimaryButton:!0})]})},ka=n.div`
319
319
  margin-left: ${e=>`${L.accountInfoPageWrapperMarginLeft.valuePx(e.windowSize)}`};
320
320
  margin-right: ${e=>`${L.accountInfoPageWrapperMarginRight.valuePx(e.windowSize)}`};
321
321
  margin-bottom: ${e=>`${L.accountInfoPageWrapperMarginBottom.valuePx(e.windowSize)}`};
@@ -352,7 +352,7 @@ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,
352
352
  color: ${e=>e.theme.colors.primary};
353
353
  padding: ${a.sp3} ${a.sp0} ${a.sp2} ${a.sp0};
354
354
  margin: ${e=>`${a.sp0} ${L.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
355
- `,Fa=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:h,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:p,onDismissClick:l})=>{const[T,C]=f.useState(!1),[S,B]=f.useState(r.depositAccounts.find(F=>F.id===y));return T&&S!=null?t.jsx(va,{downloadAccountDetailEndPoint:h,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:p}):t.jsx(pa,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:B,fireTrackTransferBetweenAccountsFormClicked:p})},en=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:h,maxInsuredAmount:$,currentTenant:y,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:p,authParams:l,analytics:T,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:B,onTransferClick:F,onReviewClick:q,onDismissClick:M,onAnotherTransferClick:R,onEstablishConnectionClick:O,onBackClick:G,clearReviewTransferDetail:J,onFetchLinkTokenClick:o,plaidConnectionDetails:E})=>{const[_,j]=f.useState(!1),[m,v]=f.useState(!1),[W,x]=f.useState(0),[z,V]=f.useState(0),[ie,H]=f.useState(0);return t.jsx(Ma,{children:(()=>{const Z=(K,Q)=>T.trackTransferBetweenAccountsFormClicked(K,Q,e.transferDetailLocalData.transferFrom?.label,e.transferDetailLocalData.transferTo?.label,e.transferDetailLocalData.amount.amount,e.reviewTransferDetail.reviewTransferMoney.isShowDailyAchLimitWarning,e.reviewTransferDetail.reviewTransferMoney.transferSchedules.length,e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.zeniAccountsConfigDetail.depositProductConfig.depositProducts?.[0].range?.[1]!=null&&e.transferDetailLocalData.amount.amount>r.zeniAccountsConfigDetail.depositProductConfig.depositProducts[0].range[1]);return d==="achTransfer"?t.jsx(aa,{transferDetails:e,isCalculatorOpen:_,showAnnualYieldEarned:m,transferAmount:W,yieldEarned:z,totalBalance:ie,zeniAccountsConfigDetail:r,fireTrackTransferBetweenAccountsFormClicked:Z,onSaveChangesToLocalStore:B,onTransferClick:F,onDismissClick:M,onAnotherTransferClick:R,onEstablishConnectionClick:O,onBackClick:G,onFetchLinkTokenClick:o,plaidConnectionDetails:E,setCurrentDrawerContent:C,clearReviewTransferDetail:J,onReviewClick:q,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:V,setTotalBalance:H,maxInsuredAmount:$}):t.jsx(Fa,{zeniAccountsConfigDetail:r,depositAccountListView:h,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:y,downloadAccountDetailEndPoint:p,authParams:l,fireTrackTransferBetweenAccountsFormClicked:Z,setCurrentDrawerContent:C,onDismissClick:M})})()})},Ma=n.div`
355
+ `,Fa=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:h,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:p,onDismissClick:l})=>{const[T,C]=f.useState(!1),[S,B]=f.useState(r.depositAccounts.find(F=>F.id===y));return T&&S!=null?t.jsx(va,{downloadAccountDetailEndPoint:h,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:p}):t.jsx(pa,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:B,fireTrackTransferBetweenAccountsFormClicked:p})},en=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:h,maxInsuredAmount:$,currentTenant:y,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:p,authParams:l,analytics:T,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:B,onTransferClick:F,onReviewClick:q,onDismissClick:M,onAnotherTransferClick:E,onEstablishConnectionClick:O,onBackClick:G,clearReviewTransferDetail:H,onFetchLinkTokenClick:o,plaidConnectionDetails:I})=>{const[_,j]=f.useState(!1),[m,v]=f.useState(!1),[W,x]=f.useState(0),[z,V]=f.useState(0),[ie,J]=f.useState(0);return t.jsx(Ma,{children:(()=>{const Z=(K,Q)=>T.trackTransferBetweenAccountsFormClicked(K,Q,e.transferDetailLocalData.transferFrom?.label,e.transferDetailLocalData.transferTo?.label,e.transferDetailLocalData.amount.amount,e.reviewTransferDetail.reviewTransferMoney.isShowDailyAchLimitWarning,e.reviewTransferDetail.reviewTransferMoney.transferSchedules.length,e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.zeniAccountsConfigDetail.depositProductConfig.depositProducts?.[0].range?.[1]!=null&&e.transferDetailLocalData.amount.amount>r.zeniAccountsConfigDetail.depositProductConfig.depositProducts[0].range[1]);return d==="achTransfer"?t.jsx(aa,{transferDetails:e,isCalculatorOpen:_,showAnnualYieldEarned:m,transferAmount:W,yieldEarned:z,totalBalance:ie,zeniAccountsConfigDetail:r,fireTrackTransferBetweenAccountsFormClicked:Z,onSaveChangesToLocalStore:B,onTransferClick:F,onDismissClick:M,onAnotherTransferClick:E,onEstablishConnectionClick:O,onBackClick:G,onFetchLinkTokenClick:o,plaidConnectionDetails:I,setCurrentDrawerContent:C,clearReviewTransferDetail:H,onReviewClick:q,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:V,setTotalBalance:J,maxInsuredAmount:$}):t.jsx(Fa,{zeniAccountsConfigDetail:r,depositAccountListView:h,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:y,downloadAccountDetailEndPoint:p,authParams:l,fireTrackTransferBetweenAccountsFormClicked:Z,setCurrentDrawerContent:C,onDismissClick:M})})()})},Ma=n.div`
356
356
  display: flex;
357
357
  flex-direction: column;
358
358
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,a5 as G,bo as he,a_ as tt,w as de,b as F,L as it,be as ot,o as i,x as w,C as T,O as M,f as b,b6 as nt,eO as oe,d as N,m as p,ao as me,bd as He,ab as Ke,fm as at,aM as rt,a as st,cR as lt,l as B,aj as dt,iA as ct,bf as pt,aB as ht,ef as mt,cz as xt,fj as gt,bV as ut,jq as yt,c$ as ge,H as U,bm as ft,b_ as ue,ib as wt,c1 as $t}from"./index-Mhz2NAiD.js";import{a as y,b as bt}from"./sentry-D-LCra2M.js";import{n as o,c as ye}from"./mui-Ckdcx_YE.js";import{bG as q,bp as jt}from"./zeni-epic-state-B1zsDZZ4.js";import{s as vt}from"./commonDimensions-CuKo3wam-nLTnztTJ.js";import{a as St,M as Ye,S as Fe,L as Ct,_ as kt}from"./common-Cws59IN1-tgtgUQp7.js";import{g as fe}from"./BoxItem-C39hQSVg-CwP_fpKm.js";import{o as zt}from"./transaction-placeholder-CpOwZAMG-Ca0HZ2W6.js";import{y as Tt}from"./MoreMenuButton-B1OKwXLg-BGjwJb3U.js";import{o as Pt}from"./money-2cg1MuG4-B7YE6t0I.js";import{o as Dt}from"./shield-DOlUxcFf-D5PHf2Tj.js";import{R as we,N as $e,X as be,Y as je,O as ve,F as Lt}from"./recharts-Dr1JzI4y.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./calculateSize-i9QGr8q0-BEKLyEYY.js";import"./bank-letter-BOcVjN6J-KdddOmyc.js";import"./spend-limit-D6SyboD4-D85B38gI.js";import"./dollar-round-D18u7nlm-CvsBoEut.js";import"./page-summary-D7_VQHwN-BvkWkaoT.js";import"./unlock-BPWn2I5L-DDdPB9QU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1c66954d-3e76-4aa4-8866-4102d0a725b2",e._sentryDebugIdIdentifier="sentry-dbid-1c66954d-3e76-4aa4-8866-4102d0a725b2")}catch{}})();const xe=M.getLocalizedStrings().spendManagement.treasury.overviewPage.header,It={key:"description",value:xe.trasnactionTitle,sortOrder:"ascending",width:new w(120,250,400,400,500)},Mt={key:"date",value:xe.paymentDate,sortOrder:"ascending",width:new w(100,120,200,250,300)},Ot={key:"amount",value:xe.amount,sortOrder:"ascending",width:new w(80,100,150,180,200)},ce=()=>[It,Mt,Ot],z={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new w(p[0],p[4]),headerLastColumnRightPadding:new w(p[3],p[11]),headerLastColumnBottomPadding:new w(p[0],p[4]),headerLastColumnLeftPadding:new w(p[3],p[11]),headerHeight:new w(Ye,Fe),sortIconSize:new w(p[2],p[2]),headerPaddingTop:new w(p[0],2)},Rt=bt.memo(function({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const s=A(),l=L(),[r,u]=y.useState(ce());y.useEffect(()=>{const d=[...r];for(const h of d)h.key===n.sortKey?h.sortOrder=n.sortOrder:h.sortOrder="ascending";u(d)},[n.sortKey,n.sortOrder]);const m=(d,h)=>{let c=h;n.sortKey===d&&(c=h==="ascending"?"descending":"ascending"),a(d,c)},x=r.find(d=>d.key===n.sortKey)??r[0],g=r.map(d=>d.key),f=M.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(Nt,{windowSize:l,children:[t.jsxs(Kt,{children:[t.jsx(Ft,{children:t.jsx(Yt,{})}),t.jsx(ft,{title:f.sortBy,placeholder:f.sortBy,pickerValues:g,valueToLabel:d=>r.find(h=>h.key===d)?.value??"",selectedValue:n.sortKey,onPickerSelectionChanged:d=>{m(d,"ascending")},optionTextStyle:de.extraSmallRegular,titleTextStyle:de.extraSmallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.grey4})]}),t.jsxs(_t,{onClick:()=>m(x.key,x.sortOrder),"data-testid":F("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:x.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:x,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===x.key,children:t.jsx(ue,{})})})]})]}):t.jsx(At,{windowSize:l,children:t.jsx(Bt,{children:r.map(d=>d.width.value(l)!==0&&t.jsxs(Et,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:d.key,wrapperWidth:d.width,windowSize:l,children:[t.jsxs(Wt,{onClick:()=>m(d.key,d.sortOrder),"data-testid":F("cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:d.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:d,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===d.key,children:t.jsx(ue,{})})})]}),t.jsx(Vt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===d.key&&d.key!=="date",children:t.jsx(Ht,{onClick:()=>m("date","ascending"),"data-testid":F("cards-list-sort-cancel",n.sortKey)})})]},d.key))})})}),At=o.div`
1
+ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,a5 as G,bo as he,a_ as tt,w as de,b as F,L as it,be as ot,o as i,x as w,C as T,O as M,f as b,b6 as nt,eO as oe,d as N,m as p,ao as me,bd as He,ab as Ke,fm as at,aM as rt,a as st,cR as lt,l as B,aj as dt,iA as ct,bf as pt,aB as ht,ef as mt,cz as xt,fj as gt,bV as ut,jq as yt,c$ as ge,H as U,bm as ft,b_ as ue,ib as wt,c1 as $t}from"./index-CVe1fo1a.js";import{a as y,b as bt}from"./sentry-CFYfTv_F.js";import{n as o,c as ye}from"./mui-DcvwYC51.js";import{bG as q,bp as jt}from"./zeni-epic-state-BZiG8B71.js";import{s as vt}from"./commonDimensions-CzWWgDTA-C5sl3WWf.js";import{a as St,M as Ye,S as Fe,L as Ct,_ as kt}from"./common-BxjzMhDO-M6F2cReY.js";import{g as fe}from"./BoxItem-CIyMdw2s-BlAcmWAT.js";import{o as zt}from"./transaction-placeholder-CpOwZAMG-9RLgCBK-.js";import{y as Tt}from"./MoreMenuButton--MxUyTqX-BRissmUy.js";import{o as Pt}from"./money-2cg1MuG4-BKLw88Z7.js";import{o as Dt}from"./shield-DOlUxcFf-DouOIUSu.js";import{R as we,N as $e,X as be,Y as je,O as ve,F as Lt}from"./recharts-LOG_L3Q0.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./calculateSize-CzpGCfNE-CNrV3_Iu.js";import"./bank-letter-BOcVjN6J-BhxkRonC.js";import"./spend-limit-D6SyboD4-DTJkvAlS.js";import"./dollar-round-D18u7nlm-DgPiQ4X2.js";import"./page-summary-D7_VQHwN-Ccsx0X5Z.js";import"./unlock-BPWn2I5L-CncAfPJ6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="69343dbd-0639-4e2d-91e6-a9285d3c4fc9",e._sentryDebugIdIdentifier="sentry-dbid-69343dbd-0639-4e2d-91e6-a9285d3c4fc9")}catch{}})();const xe=M.getLocalizedStrings().spendManagement.treasury.overviewPage.header,It={key:"description",value:xe.trasnactionTitle,sortOrder:"ascending",width:new w(120,250,400,400,500)},Mt={key:"date",value:xe.paymentDate,sortOrder:"ascending",width:new w(100,120,200,250,300)},Ot={key:"amount",value:xe.amount,sortOrder:"ascending",width:new w(80,100,150,180,200)},ce=()=>[It,Mt,Ot],z={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new w(p[0],p[4]),headerLastColumnRightPadding:new w(p[3],p[11]),headerLastColumnBottomPadding:new w(p[0],p[4]),headerLastColumnLeftPadding:new w(p[3],p[11]),headerHeight:new w(Ye,Fe),sortIconSize:new w(p[2],p[2]),headerPaddingTop:new w(p[0],2)},Rt=bt.memo(function({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const s=A(),l=L(),[r,u]=y.useState(ce());y.useEffect(()=>{const d=[...r];for(const h of d)h.key===n.sortKey?h.sortOrder=n.sortOrder:h.sortOrder="ascending";u(d)},[n.sortKey,n.sortOrder]);const m=(d,h)=>{let c=h;n.sortKey===d&&(c=h==="ascending"?"descending":"ascending"),a(d,c)},x=r.find(d=>d.key===n.sortKey)??r[0],g=r.map(d=>d.key),f=M.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(Nt,{windowSize:l,children:[t.jsxs(Kt,{children:[t.jsx(Ft,{children:t.jsx(Yt,{})}),t.jsx(ft,{title:f.sortBy,placeholder:f.sortBy,pickerValues:g,valueToLabel:d=>r.find(h=>h.key===d)?.value??"",selectedValue:n.sortKey,onPickerSelectionChanged:d=>{m(d,"ascending")},optionTextStyle:de.extraSmallRegular,titleTextStyle:de.extraSmallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.grey4})]}),t.jsxs(_t,{onClick:()=>m(x.key,x.sortOrder),"data-testid":F("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:x.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:x,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===x.key,children:t.jsx(ue,{})})})]})]}):t.jsx(At,{windowSize:l,children:t.jsx(Bt,{children:r.map(d=>d.width.value(l)!==0&&t.jsxs(Et,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:d.key,wrapperWidth:d.width,windowSize:l,children:[t.jsxs(Wt,{onClick:()=>m(d.key,d.sortOrder),"data-testid":F("cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:d.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:d,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===d.key,children:t.jsx(ue,{})})})]}),t.jsx(Vt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===d.key&&d.key!=="date",children:t.jsx(Ht,{onClick:()=>m("date","ascending"),"data-testid":F("cards-list-sort-cancel",n.sortKey)})})]},d.key))})})}),At=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{y as ae,e as G,_ as Ce,h as we,a7 as $e,V as r,a_ as fe,eY as ye,ao as be,o as i,iA as ke,bo as je,C as j,a as K,b as J,O as N,d as f,D as A,f as a,x as z,l as _,cz as Se,bq as ze,n as ve,H as Le,eI as Me,m as h,az as Pe,c2 as Be,a8 as Ee,w as Q,cu as Te}from"./index-Mhz2NAiD.js";import{a as s,b as Ie}from"./sentry-D-LCra2M.js";import{n as o}from"./mui-Ckdcx_YE.js";import{H6 as De}from"./zeni-epic-state-B1zsDZZ4.js";import{I as We,N as _e}from"./VideoPlayer-wlJX6lEq-Djxj54Vf.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-de_8OjuK.js";import{t as Re}from"./clock-CJkylEKt-CB7HCMZv.js";import{o as Ge}from"./shield-DOlUxcFf-D5PHf2Tj.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./media-player-V7uSzi45.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="545f9ab5-19ff-4f7e-83e5-52d8f449e4c2",e._sentryDebugIdIdentifier="sentry-dbid-545f9ab5-19ff-4f7e-83e5-52d8f449e4c2")}catch{}})();const Ne=({isOpen:e,onClose:g})=>{const d=G(),C=N.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Me,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ae,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(qe,{onClick:g})}),r.jsxs(Ve,{children:[r.jsx(Fe,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(Z,{children:C.agreementDrawer.intro}),r.jsx(H,{children:C.agreementDrawer.introBullets.map((p,u)=>r.jsx(re,{children:p},u))}),r.jsx(H,{children:C.agreementDrawer.documents.map((p,u)=>r.jsx(Ye,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ue,{children:p.links.map((w,k)=>r.jsx(Xe,{children:w.link!==""?r.jsx(ee,{href:w.link,target:"_blank",rel:"noopener noreferrer",children:w.text}):w.text},k))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},u))}),r.jsx(Z,{style:{marginTop:i.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(H,{children:C.agreementDrawer.confirmBullets.map((p,u)=>r.jsx(re,{children:p},u))})]})]})})},Ae=o.div`
1
+ import{y as ae,e as G,_ as Ce,h as we,a7 as $e,V as r,a_ as fe,eY as ye,ao as be,o as i,iA as ke,bo as je,C as j,a as K,b as J,O as N,d as f,D as A,f as a,x as z,l as _,cz as Se,bq as ze,n as ve,H as Le,eI as Me,m as h,az as Pe,c2 as Be,a8 as Ee,w as Q,cu as Te}from"./index-CVe1fo1a.js";import{a as s,b as Ie}from"./sentry-CFYfTv_F.js";import{n as o}from"./mui-DcvwYC51.js";import{H6 as De}from"./zeni-epic-state-BZiG8B71.js";import{I as We,N as _e}from"./VideoPlayer-53OvOC7l-pPI6Q2OV.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-Bjm-l3iW.js";import{t as Re}from"./clock-CJkylEKt-9m-0TbEY.js";import{o as Ge}from"./shield-DOlUxcFf-DouOIUSu.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./media-player-t6imgqTs.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="2ca1094b-8b86-42e8-934a-393d3da7f361",e._sentryDebugIdIdentifier="sentry-dbid-2ca1094b-8b86-42e8-934a-393d3da7f361")}catch{}})();const Ne=({isOpen:e,onClose:g})=>{const d=G(),C=N.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Me,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ae,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(qe,{onClick:g})}),r.jsxs(Ve,{children:[r.jsx(Fe,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(Z,{children:C.agreementDrawer.intro}),r.jsx(H,{children:C.agreementDrawer.introBullets.map((p,u)=>r.jsx(re,{children:p},u))}),r.jsx(H,{children:C.agreementDrawer.documents.map((p,u)=>r.jsx(Ye,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ue,{children:p.links.map((w,k)=>r.jsx(Xe,{children:w.link!==""?r.jsx(ee,{href:w.link,target:"_blank",rel:"noopener noreferrer",children:w.text}):w.text},k))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},u))}),r.jsx(Z,{style:{marginTop:i.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(H,{children:C.agreementDrawer.confirmBullets.map((p,u)=>r.jsx(re,{children:p},u))})]})]})})},Ae=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as e}from"./pdf-CwWlK-Dr.js";import{j as L,h as U,i as P,l as R,u as g,N as F,k as O,R as he,m as k}from"./core-AYNw6kyJ.js";import{H6 as z,ct as v,Lr as B,zV as ne,cW as W,zD as se,Lt as Se,zY as xe,Lp as Ie,Lq as re,LH as we,y2 as Te,pc as je,Lv as ke,A7 as Ce,Ls as oe,bO as Z,zC as ie,cy as be,cA as Ae,Mz as ve,MA as Ee,zE as De,MB as Fe,zF as Le,zO as Ue,bt as Pe,FX as Be,FY as Me,G5 as Ve,F5 as Re,cV as Oe,F4 as ze,Hb as Ne,Gj as _e}from"./zeni-epic-state-B1zsDZZ4.js";import{_ as N,a7 as Ge,js as A,bk as _,jz as C,L as $,lP as $e,lQ as He,lR as H,e as q,y as K,k2 as We,aE as ce,aG as D,jQ as V,x as Ze,lS as qe,kv as Q,jO as Ke,lT as Qe,jM as Y,lU as Ye,lV as Je,kc as Xe}from"./index-Mhz2NAiD.js";import{n as M,D as et,S as tt}from"./mui-Ckdcx_YE.js";import at from"./NotFoundScreen-C4RWEwpc.js";import{S as ee}from"./SetupPagesScreen-BG2iNhNo.js";import{a as u}from"./sentry-D-LCra2M.js";import{M as le}from"./MobileAppDrawer-BzhvI9uK.js";import{F as nt}from"./FeaturePreviewScreen-C7jdaAb-.js";import{a as te}from"./analyticsHelper-qMWdjEFo.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./routePaths-DIayl1Jh.js";import"./BusinessVerificationPageScreen-DE3iPWMP.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="9c870022-792e-4f67-8d48-514db409eea8",t._sentryDebugIdIdentifier="sentry-dbid-9c870022-792e-4f67-8d48-514db409eea8")}catch{}})();const st=M.div`
1
+ import{j as e}from"./pdf-DA3UteIy.js";import{j as L,h as U,i as P,l as R,u as g,N as F,k as O,R as he,m as k}from"./core-BAxGDYbL.js";import{H6 as z,ct as v,Lr as B,zV as ne,cW as W,zD as se,Lt as Se,zY as xe,Lp as Ie,Lq as re,LH as we,y2 as Te,pc as je,Lv as ke,A7 as Ce,Ls as oe,bO as Z,zC as ie,cy as be,cA as Ae,Mz as ve,MA as Ee,zE as De,MB as Fe,zF as Le,zO as Ue,bt as Pe,FX as Be,FY as Me,G5 as Ve,F5 as Re,cV as Oe,F4 as ze,Hb as Ne,Gj as _e}from"./zeni-epic-state-BZiG8B71.js";import{_ as N,a7 as Ge,js as A,bk as _,jz as C,L as $,lP as $e,lQ as He,lR as H,e as q,y as K,k2 as We,aE as ce,aG as D,jQ as V,x as Ze,lS as qe,kv as Q,jO as Ke,lT as Qe,jM as Y,lU as Ye,lV as Je,kc as Xe}from"./index-CVe1fo1a.js";import{n as M,D as et,S as tt}from"./mui-DcvwYC51.js";import at from"./NotFoundScreen-BGyIaLbV.js";import{S as ee}from"./SetupPagesScreen-Khrg4fmZ.js";import{a as u}from"./sentry-CFYfTv_F.js";import{M as le}from"./MobileAppDrawer-qasrJsA4.js";import{F as nt}from"./FeaturePreviewScreen-2RPLc4Gf.js";import{a as te}from"./analyticsHelper-CLBcUDc5.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./routePaths-B9s6SzIs.js";import"./BusinessVerificationPageScreen-iODPCcKg.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="9c870022-792e-4f67-8d48-514db409eea8",t._sentryDebugIdIdentifier="sentry-dbid-9c870022-792e-4f67-8d48-514db409eea8")}catch{}})();const st=M.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100%;
@@ -1,5 +1,5 @@
1
- import{y as v,e as S,V as t,a_ as I,an as z,o as r,O as C,f as m,bV as P,x as T,m as h,l as _}from"./index-Mhz2NAiD.js";import{a as p}from"./sentry-D-LCra2M.js";import{n as o}from"./mui-Ckdcx_YE.js";import{$ as B}from"./BoxItem-C39hQSVg-CwP_fpKm.js";import{o as D}from"./commonDimensions-CuKo3wam-nLTnztTJ.js";import{O as M}from"./StatementItem-qsoXKx_p-DNQHoMbS.js";import"./pdf-CwWlK-Dr.js";import"./zeni-epic-state-B1zsDZZ4.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./downloadPdf-Dcd8BY_9-DI4hg2G0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="6aa40cde-6759-4090-bcc2-390782c07007",e._sentryDebugIdIdentifier="sentry-dbid-6aa40cde-6759-4090-bcc2-390782c07007")}catch{}})();const b=C.getLocalizedStrings().spendManagement.treasury.statements,g={listItemMargin:new T(h[3],h[8])},ie=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,statementListView:n,onBackClick:w})=>{const f=v(),i=S(),x=p.createRef(),y=p.useRef(),k=n.statements.length===0,$=()=>D.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=n.statements[s];return k===!1?t.jsx(u,{windowSize:i,style:{...l,width:`calc(100% - 2*${g.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"treasuryStatement",boxType:B(s,n.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(E,{children:t.jsx(u,{windowSize:i,children:t.jsx(O,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(N,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.statements.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},R=o.div``,u=o.div`
2
- margin: ${e=>`${r.sp0} ${g.listItemMargin.valuePx(e.windowSize)}`};
1
+ import{y as v,e as S,V as t,a_ as I,an as z,o as r,O as C,f as m,bV as P,x as T,m as h,l as _}from"./index-CVe1fo1a.js";import{a as p}from"./sentry-CFYfTv_F.js";import{n as o}from"./mui-DcvwYC51.js";import{$ as B}from"./BoxItem-CIyMdw2s-BlAcmWAT.js";import{o as D}from"./commonDimensions-CzWWgDTA-C5sl3WWf.js";import{O as M}from"./StatementItem-NyOORj5f-CGBabGx-.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./downloadPdf-BFFM3Hea-CZaqSBqv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a0e586f1-dd10-4aef-be61-50305ec16506",e._sentryDebugIdIdentifier="sentry-dbid-a0e586f1-dd10-4aef-be61-50305ec16506")}catch{}})();const b=C.getLocalizedStrings().spendManagement.treasury.statements,u={listItemMargin:new T(h[3],h[8])},ie=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:a,onBackClick:g})=>{const w=v(),i=S(),x=p.createRef(),y=p.useRef(),k=a.statements.length===0,$=()=>D.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=a.statements[s];return k===!1?t.jsx(f,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:B(s,a.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(E,{children:t.jsx(f,{windowSize:i,children:t.jsx(O,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(N,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:a.statements.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},R=o.div``,f=o.div`
2
+ margin: ${e=>`${r.sp0} ${u.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
5
5
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{y as v,e as L,V as t,a_ as I,an as S,o as r,O as z,f as h,bV as C,x as T,m as p,l as P}from"./index-Mhz2NAiD.js";import{a as m}from"./sentry-D-LCra2M.js";import{n as o}from"./mui-Ckdcx_YE.js";import{$ as _}from"./BoxItem-C39hQSVg-CwP_fpKm.js";import{o as B}from"./commonDimensions-CuKo3wam-nLTnztTJ.js";import{O as D}from"./StatementItem-qsoXKx_p-DNQHoMbS.js";import"./pdf-CwWlK-Dr.js";import"./zeni-epic-state-B1zsDZZ4.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./downloadPdf-Dcd8BY_9-DI4hg2G0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="2d386b16-832f-482d-9988-36707a89d8c5",e._sentryDebugIdIdentifier="sentry-dbid-2d386b16-832f-482d-9988-36707a89d8c5")}catch{}})();const x=z.getLocalizedStrings().spendManagement.treasury.taxLetter,g={listItemMargin:new T(p[3],p[8])},ie=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const f=v(),i=L(),w=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>B.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${g.listItemMargin.valuePx(i)})`},children:t.jsx(D,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:_(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(b,{windowSize:i,children:t.jsx(O,{children:x.noTaxLetter})})})})};return t.jsxs(E,{children:[t.jsx(I,{title:x.title,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(S,{children:({height:s,width:l})=>t.jsx(N,{ref:w,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},M=o.div``,b=o.div`
1
+ import{y as v,e as L,V as t,a_ as I,an as S,o as r,O as z,f as h,bV as C,x as T,m as p,l as P}from"./index-CVe1fo1a.js";import{a as m}from"./sentry-CFYfTv_F.js";import{n as o}from"./mui-DcvwYC51.js";import{$ as _}from"./BoxItem-CIyMdw2s-BlAcmWAT.js";import{o as B}from"./commonDimensions-CzWWgDTA-C5sl3WWf.js";import{O as D}from"./StatementItem-NyOORj5f-CGBabGx-.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./downloadPdf-BFFM3Hea-CZaqSBqv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="423ea7e7-5796-405d-9105-7366a380fbe9",e._sentryDebugIdIdentifier="sentry-dbid-423ea7e7-5796-405d-9105-7366a380fbe9")}catch{}})();const x=z.getLocalizedStrings().spendManagement.treasury.taxLetter,g={listItemMargin:new T(p[3],p[8])},ie=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const f=v(),i=L(),w=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>B.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${g.listItemMargin.valuePx(i)})`},children:t.jsx(D,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:_(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(b,{windowSize:i,children:t.jsx(O,{children:x.noTaxLetter})})})})};return t.jsxs(E,{children:[t.jsx(I,{title:x.title,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(S,{children:({height:s,width:l})=>t.jsx(N,{ref:w,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},M=o.div``,b=o.div`
2
2
  margin: ${e=>`${r.sp0} ${g.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;