@zeniai/web-app-ui 4.14.34-qa → 4.14.35-next

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-iiVBlQka-BwzGZzbR.js → ACHDetailsPage-B5qIuZya-BIuRDGqE.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-MBAB5kgB-B8K3J1iD.js → AIPerformancePage-BHB45mP--CdiJF-L1.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Cd5xYT1g-CsL4ceIj.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-CJ7ycVIK-Dnz42YfF.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-B1JxHllU-D8YQo6Cx.js → AccountLockedInfoModal-Dox7IuAX-BpZbPOQz.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DF-X46_u-DSfyKamu.js → AccountReconDetailsDrawerPage-Bqty08m0-C0vGDzkJ.js} +1 -1
  7. package/dist/assets/{AccountRow-DEtntSrL-DQN6__Ng.js → AccountRow-D1cjRJJD-C8PUWTdF.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Cvixqb_6-_JKcyl4L.js → AccountsPromoCardStack-Bs3naJHM-DYMmkkcK.js} +11 -11
  9. package/dist/assets/{AddAddressForCardDrawer-B1Qfn44J-CKwvHf9L.js → AddAddressForCardDrawer-DZkBMJfp-fRN288lA.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BLxUsh1Y-DjOENQIP.js → AddToWalletPage-CyRfqVDB-BWSFlvzO.js} +1 -1
  11. package/dist/assets/{AddressRoutes-B9JRerSF.js → AddressRoutes-C_q-9_62.js} +1 -1
  12. package/dist/assets/{AddressScreen-CfU0pxqN.js → AddressScreen-q6X2LJkq.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-XIzuLRE4-w17wS1R5.js → AgingReportsPage-xBFff3BM-BUoWBW_Y.js} +8 -8
  14. package/dist/assets/{AiCfoScreen-BRwWpLyW.js → AiCfoScreen-CjgeQNVJ.js} +1 -1
  15. package/dist/assets/{AllUserItems-BGMZCYUO-B7Mldc5e.js → AllUserItems-BJf6WPDo-CHVB4i8A.js} +5 -5
  16. package/dist/assets/{ApAgingDetailPage-B-1gVAu6-D6PdKU-A.js → ApAgingDetailPage-CjBrPyi8-C5AuZu1C.js} +2 -2
  17. package/dist/assets/{AppBasePage-CYjdUgY4-Cvt-yGcI.js → AppBasePage-CqDm-hnV-DqUDfXL_.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-CbF8TOjd-D9lcwo49.js → AppDrawerContent-CVVWj66i-H8Zv8lBB.js} +6 -6
  19. package/dist/assets/{ApprovalRulesSettingsPage-RCtygkuw-BNnzaj0l.js → ApprovalRulesSettingsPage-Cckd2uVA-DeRWJAYx.js} +1 -1
  20. package/dist/assets/{ArAgingChart-ZwWwEBJ3-rk20lkwC.js → ArAgingChart-CBsqOd-4-CyjYWAFr.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-DtqyngrA-BO2XynIt.js → ArAgingDetailPage-i7JObt60-CjUHN5eR.js} +1 -1
  22. package/dist/assets/{AttachmentView-UxkSFZmq-BUfVfjv7.js → AttachmentView-CzC4skJ3-DyETG696.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-Co6ZUc5x--aTwEc-g.js → BalancesInsightWithToolTip-B6umvmgL-Cv06ZgJU.js} +2 -2
  24. package/dist/assets/{BankAccountSection-DnBVOkJC-CPDSPfOj.js → BankAccountSection-Di4sF52j-tMmbl1rp.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-D7OuLiLz-CnjpdW6M.js → BankAccountWarningSection-Cled-2cR-tg2oPWKo.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-BDLTuNLu-LAjrAQJF.js → BankConnectionsSettingsPage-Ccnzq7st-CMLccpCd.js} +16 -16
  27. package/dist/assets/{BillDetailPage-V8us93cj-DAlTWroi.js → BillDetailPage-XXOwBfO1-pmj89kEW.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-CRjAMn3U.js → BillPayApprovalRoutes-jn_lL90F.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-CHegouqx.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-C6G_eDX9-Bfhw5F-a.js → BillPayApprovalRulesPage-COCypDcS-SP6Ap0C9.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-CTQSknOB-CQkU1mWk.js → BillPayPromoPage-DOE2YIqC-CSl5ivDV.js} +11 -11
  32. package/dist/assets/{BillPayRoutes-DKQ62RT9.js → BillPayRoutes-BfiQplNH.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-BmgMLaf--ES1CtqR5.js → BillPaySetUpPage-BCJbZDsV-B9fZpm8c.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-IHY3ak0N-DkV09JRl.js → BillingSettingsPage-iImtlEmO-DmAWEx2I.js} +4 -4
  35. package/dist/assets/{BillsBulkReviewDrawerPage-ZoFahXYa-BLrjKyuB.js → BillsBulkReviewDrawerPage-B11GWM_0-DP9ahFss.js} +1 -1
  36. package/dist/assets/{BoxItem-XoWq-tnh-BjJmrBFm.js → BoxItem-Bxa1M4QU-D0J-fial.js} +4 -4
  37. package/dist/assets/{BusinessVerificationPage-D9HtnNOu-aehnUeCQ.js → BusinessVerificationPage-DSuJFoW1-C6crvVuN.js} +2 -2
  38. package/dist/assets/{BusinessVerificationPageScreen-DM_2HDeS.js → BusinessVerificationPageScreen-D8j6xARh.js} +1 -1
  39. package/dist/assets/{BusyIndication-BLGcHlgu-Bpswk6Co.js → BusyIndication-9zDqSKBP-DqhiAN3R.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-Cn0EZrNE-CWAYYKOe.js → CardNumberSubText-_ZZbaz_k-BMn-W8uM.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-Bk5ssPnj-DBYQYc6c.js → CashbackDetailPage-DAZXitLt-Cmi7981u.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-Ge9Aw7PA-7BhKZ-yZ.js → ChargeCardDetailPage-B1VIpASk-DInsIJ6C.js} +20 -20
  43. package/dist/assets/{ChargeCardListPage-BNLOoSv3-kJJQn2HY.js → ChargeCardListPage-BOBepN-x-BzpgnZCy.js} +6 -6
  44. package/dist/assets/{ChargeCardListTable-BoufojYF-Ctlyddwf.js → ChargeCardListTable-YznzSsJo-B0GWNZXs.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-5lUxK8pF-LRwaIGjI.js → ChargeCardPaymentHistoryPage--jOwsMla-CgdIDpQe.js} +14 -14
  46. package/dist/assets/ChargeCardPromoPage-DIfakIOK-CCv86SP9.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-CE_xzqxh.js → ChargeCardRoutes-BwqGnQLD.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-Dqoel2Do-B15YO0OW.js → ChargeCardSetupPage-0bpVkeJs-BbuEfFpc.js} +2 -2
  49. package/dist/assets/{ChargeCardStatementsPage-Dalrj66w-PEmpxN8W.js → ChargeCardStatementsPage-ChWyQlw6-C9k3sUIQ.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-mYjv1H0f-CojKKN3D.js → CheckDepositDrawerPage-BS7hnyZn-y7RoF_w4.js} +3 -3
  51. package/dist/assets/{CollapsableReportTable-CIaa7SIH-DVSoJKAV.js → CollapsableReportTable-DNfFkAts-CRt1YpUw.js} +109 -100
  52. package/dist/assets/{CompanyOfficerDetailsSection-BSFNYauO-D850YK66.js → CompanyOfficerDetailsSection-CrOIN4IW-C0LHfmel.js} +16 -16
  53. package/dist/assets/{CompanyPassportCard-B-mBb9Q5-BGp8cd7y.js → CompanyPassportCard-CkzYFTrp-B9eaudVD.js} +2 -2
  54. package/dist/assets/{CompanyPassportPage-Blyl_Z-c--NnGP254.js → CompanyPassportPage-FE6yli6h-BbMnwSzZ.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-BS_NrRd8.js → CompanyPassportScreen-BlIC8nGb.js} +1 -1
  56. package/dist/assets/{CompleteProfile-ySk9I1Ut-TK-gYMQ0.js → CompleteProfile-Cb8i1XgZ-Cq1OcO0w.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-CeAc4Ily-C--23SuA.js → ConfettiBurst-BZCXEGYA-DIt5MHuh.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CiGpGWMD.js → ConnectionAuthScreen-DqTCtHql.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-3tX8qIpJ.js → ConstrainedInnerElement-CgdnMeoA-CmmW5dI5.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-BRkqkhfw-CIvcW7Pf.js → CreateOrEditVendorPage-CzpSgxbO-CwPOTP7C.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-oUIakAtz-CAvPHr87.js → CreditCardPaymentDrawerPage-c_q0MsSO-BoH_dAVB.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-CSPhUjwG-lrBDW4z2.js → CurrencySelectField-BAh7SHrG-DHtvgLMm.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-CoOyWe6_-CqbitCEF.js → CustomerOnboardingActivationPage-f3Aa6E5r-BsfYDK19.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-BocH-qEp.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-CC6TjluW.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CWNyUuRp-kM5f4mlx.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-DY3UuBbK.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-DWx46Z6R-CLbxMC39.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-LVeoEjZN.js} +12 -12
  68. package/dist/assets/{CustomerOnboardingPage-D86Sj2KP-ChThvvAW.js → CustomerOnboardingPage-B9hSO88_-BGt-cTuK.js} +7 -7
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-Bo0LFveG-DXr6zIWU.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-Bij7UqzG.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-B32JzwEY.js → CustomerOnboardingRoutes-nNFDxs8S.js} +1 -1
  71. package/dist/assets/{Dashboard-DQLJzr16-8ajoVQ5R.js → Dashboard-BJ_oIHab-CRQ768Be.js} +31 -31
  72. package/dist/assets/{DashboardReportPage-CwfTMXY5-Daspm0l6.js → DashboardReportPage-BemzMw2e-0P8PqPMh.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-CDKIVXdz.js → DashboardRoutes-DALS4OZT.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CUZGIAxW-CoQ7Va6i.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-CHBp25QC.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-BdMoMXCc.js → DefaultTenantHome-B6XdMr_T.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-Ci-LxLsk-DpkYzfIT.js → DepositAccTransactionItem-CyFi1P_L-PGx5WqpW.js} +5 -5
  77. package/dist/assets/{DepositAccTransactionListPage-RG7P8vQS-BicQqvfl.js → DepositAccTransactionListPage-DvBRRUdZ-Dwe1k_P6.js} +3 -3
  78. package/dist/assets/{DomesticWireDetailScreen-CNZmf-ak.js → DomesticWireDetailScreen-CQg3PAm2.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-DsPFUOcE-C97tbPQ3.js → DomesticWireDetailsPage-DCDo3aHI-DFefoYqT.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-BjTf50Dz-BngOF4Fl.js → DownloadOverlay-D_lL1sPW-Gfwh-v3U.js} +1 -1
  81. package/dist/assets/{DrawerPage-0OFinUxM-DY6RVolf.js → DrawerPage-DesxXhZk-CSZPOuXf.js} +1 -1
  82. package/dist/assets/{DrawerScreen-Dd2Niphu.js → DrawerScreen-DxcRwPPj.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-BKcOmYVv-DjZAwBTY.js → EditPeoplePage-QvPy_Six-D0PpKsdn.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-BFIHhQbx-CAS_iqEJ.js → EditReimbursementDetailPage-C0ZDkboO-BtHqytZP.js} +13 -13
  85. package/dist/assets/EntityDetailPage-l7nXIsyF-CkZoHf_c.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-DB5wcfPj.js → EntityDetailRoutes-DHvWcVZM.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-ORJ2pE_k-CojKKN9g.js → EntitySummarySection-BwX0a4JL-CRyXtv36.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-Dzf7j2zV-DtCtSmNb.js → ExpenseAutomationOverviewPage-EdyHjbff-BYCQ61VZ.js} +3 -3
  89. package/dist/assets/{ExpenseAutomationPage-BRsKGeoM-T0dMJf4X.js → ExpenseAutomationPage-DA22Qofw-ADD8htoH.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-CGo-MPWO.js → ExpenseAutomationRoutes-Bwo3l6rr.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-DlBFtMaR-JAoUcgra.js → ExpressPayPage-EMP6inpX-r7Le1EQI.js} +7 -7
  92. package/dist/assets/{FeaturePreviewPage-C31F3Gmz-DW0MQyCb.js → FeaturePreviewPage-SYJm-3aR-5r57sKxN.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-Xsnk0neq.js → FeaturePreviewScreen-BvoMMHrR.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-BVT2K7mu-L8a-cjiL.js → FollowStepsSection-BxESVqJD-Cfv_3OlA.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-0cZe1hh0-DnEwqpdI.js → GlobalReviewListPage-D5_ACa-q-gYhP0BxG.js} +1 -1
  96. package/dist/assets/{InformationCardStack-t8eELRLU-CR-1KqF_.js → InformationCardStack-B_qQUEYD-DMTeE12G.js} +3 -3
  97. package/dist/assets/{InsightsCardStack-CJBPZbzD-CmIAX8OK.js → InsightsCardStack-BsQzoVzj-zMuYmGM6.js} +1 -1
  98. package/dist/assets/{InsightsSection-tUBzsCix-C1MMhp25.js → InsightsSection-B6CNlTNH-D7yOc9HU.js} +6 -6
  99. package/dist/assets/{IntegrationsSettingsPage-Ce0yKUWI-CuYIzRU8.js → IntegrationsSettingsPage-DP6fAccq-D8JbMPQ0.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-BzR-rKaL-BMKFEJtD.js → InternationalWireSwiftDetailsPage-VdG7bDZi-TvC6kA2n.js} +9 -9
  101. package/dist/assets/{InternationalWireVerificationPage-7tCXdJ3Y-BfVhZg4Y.js → InternationalWireVerificationPage-COC6lZml-rsBkb9CF.js} +10 -10
  102. package/dist/assets/{InviteFormPage-DePVC0CH-B9qhol7M.js → InviteFormPage-DN02jRy5-KTg724iN.js} +1 -1
  103. package/dist/assets/{InvitePageListView-ChbvDKgQ-cbCv5Fj9.js → InvitePageListView-CP4K9tJi-DmCYYfRg.js} +20 -20
  104. package/dist/assets/{InvitePeoplePage-DJiEzIeY-BkUhir7D.js → InvitePeoplePage-VTM6kM1u-BodcFn2j.js} +3 -3
  105. package/dist/assets/{InvoiceUploadSection-BjNMjhQR-zjdmYVnU.js → InvoiceUploadSection-it-ZYl1N-BjrsaM1_.js} +7 -7
  106. package/dist/assets/{IssueChargeCardPage-4xbGf5Ut-DCMcjwN7.js → IssueChargeCardPage-CVfuvGey-lsM9dGu0.js} +11 -11
  107. package/dist/assets/{LabeledAddressValue-Czt7QvSJ-CD9Aduhg.js → LabeledAddressValue-DDrQcHIE-BYXgDWpJ.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-Dl3atH92-C9wYUqfv.js → LabeledAddressValueField-BgWwd5Gw-CSQ6OzMg.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-DT_nxhPN-BUvo7K-8.js → LabeledControlledCheckBoxField-CcPO1k23-oIbSTLkG.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-BnljZpX0-BbXC-8fZ.js → LabeledCountryMultiSelectField-BYYjzwUG-D8p7V8TS.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-CiInq9yD-DRsosHBZ.js → LabeledCreatableSingleSelectField-CISYMojq-CKfZ7pr7.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-Ceb8vgVH-BZkKKAqB.js → LabeledDocumentField-C_bcFxdY-zFfcoFTP.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-B98gNWTE-CawOSouY.js → LabeledDropDownFormattedTextField-ScGGCap8-BHX-K7ZX.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-C53P9fJl-Z2TstoOK.js → LabeledEmailInputField-BppuWRbl-BIUNuM_Y.js} +1 -1
  115. package/dist/assets/{LabeledNameField-BdVztq_8-D10OpiZc.js → LabeledNameField-mxSNQk3k-Bx8pFTYv.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-sjDjhxfQ-Bt2z3QjJ.js → LabeledSingleSelectField-C6ctNzkA-BU3EiY7P.js} +1 -1
  117. package/dist/assets/{LabeledText-CFJSoGtK-CZ5epgLx.js → LabeledText-C8Y7EOsX-BXDU6dRq.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-C6kssl4a.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-DTC8ETHe.js} +4 -4
  119. package/dist/assets/{LabeledZeniRolesDropDownField-CQiP2rEh-DntPFlku.js → LabeledZeniRolesDropDownField-BZtreVpj-BS1LNuQ-.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-ANY7Ns42-BhiQBcK9.js → LinkJETransactionPage-CKq4oiX9-C5HsoBZ0.js} +9 -9
  121. package/dist/assets/{LockCardPage-0piclOz3-COCJUyKc.js → LockCardPage-CZENNby7-UOOrs2le.js} +6 -6
  122. package/dist/assets/{LowBalancePopup-CplxkRHP-BGs8KELn.js → LowBalancePopup-1727S1ri-C-K-4vpK.js} +1 -1
  123. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-BttZvzmk.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DjY71wpL.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-B7rdUdYO.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-B4kpsUud.js → MagicLinkRoutes-klGTo6_a.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-D5uIadTT.js → MagicLinkSignInScreen-825ryF1-.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-BA1LfhVb-C9LyLKwm.js → MagicLinkSuccessPage-QMkZgQLG-2reSvlIE.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-DLdaV8WG-DB32RhHy.js → MagicLinkTitleSection-CARU1oLQ-DySqrS1G.js} +1 -1
  130. package/dist/assets/MailingDetailsSection-ByOPaJ05-yIzRcTOW.js +21 -0
  131. package/dist/assets/{MobileAppDrawer-Db6wEz5B.js → MobileAppDrawer-D5Za8CIX.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-DrAQ635T-D5jjSMJd.js → MoreMenuButton-BsBKwXvk-CRjBeOMP.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-BiDvyO_G-CeGG9xf_.js → MyBankConnectionsSettingsPage-BdgIIhL1-D-_wplqQ.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-Bb4_b9o6-aOgnXpMM.js → MyPendingActivationChargeCardListPage-CX38bDdq--3q4r6TL.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-nY_eDqfm-CjX8_jlY.js → MyProfileSettingsPage-DYu0Fx6I-C4ZZ5mCO.js} +4 -4
  136. package/dist/assets/{NavBarWithPicker-Dr5XHgP5-DipOtu26.js → NavBarWithPicker-CGGEvLwe-BBPd8y30.js} +1 -1
  137. package/dist/assets/{NavigationArrow-DT82hMh--DseMcfRR.js → NavigationArrow-CTNkKUtV-DI_bFVBn.js} +1 -1
  138. package/dist/assets/{NavigationDots-CwCZ9EAa-_HA0CoRv.js → NavigationDots-Dvce3gHt-DAj81KV8.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-D1lxnByE-Cl-h3ANA.js → NewGlobalMerchantPage-D_f7z47T-DteLGe2v.js} +1 -1
  140. package/dist/assets/{NoDataChart-DCTRXLc7-EBM1CKB5.js → NoDataChart-CrKeqWSr-CWCGqBcO.js} +1 -1
  141. package/dist/assets/{NoDataTable-D8Xw5pAY-BXvKgMjH.js → NoDataTable-4vPXmPYF-DiiMylPx.js} +1 -1
  142. package/dist/assets/{NotFoundPage-B_zPUigU-DIj19qB5.js → NotFoundPage-BLWPU1wU-BwHUKWG1.js} +6 -6
  143. package/dist/assets/{NotFoundScreen-DXnaOvLy.js → NotFoundScreen-DGEyldIM.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-BKIq8Ht7.js → NotificationRoutes-D5u_QeSd.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-aKLRiMp--CKvGRtqq.js → NotificationSettingsPage-CDiDLX3A-B66Z4X7P.js} +4 -4
  146. package/dist/assets/{NotificationsListConfig-CVEetkBc-Ga3CIQDy.js → NotificationsListConfig-B5pDa4cJ-CRzaaqx-.js} +1 -1
  147. package/dist/assets/{NotificationsPage-DEw6V83J-BdF4XISU.js → NotificationsPage-Ccl7Dny1-OTEuBDNq.js} +14 -14
  148. package/dist/assets/{OpExByVendorPage-DJMov6Ux-6GxDxMs2.js → OpExByVendorPage-spd-nKV4-DwYHrKLp.js} +6 -6
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-8_-MKFW1.js → OverlayContainerPage-BG9y5C0t-DZYRUTfb.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-RBTh1bFk-Ck7cJPme.js → PandLWithForecastPage-TSoe4Z7F-C0lO0xOj.js} +3 -3
  151. package/dist/assets/{PandLWithForecastRoutes-Btf2U6pN.js → PandLWithForecastRoutes-BJB7AcOB.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D-kQI4nd-PRTE5aBh.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-D1q0wO5y.js} +1 -1
  153. package/dist/assets/{PeoplePage-BEc-Oss7-CZ9GLNBp.js → PeoplePage-b5_I0qOw-IxFOpmXf.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-B8XNBABT.js → PeopleRoutes-CCkuJTXx.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-COWN278X.js → PerformanceRoutes-BP0EpHsY.js} +1 -1
  156. package/dist/assets/{Preview-CIMwFR6h.js → Preview-DA7xWqem.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-BRo0P4GW-CYg74cXu.js → ProductsCarousel-C3M0ocdF-SFIeVS9H.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BrXJEufN-DpCBBSNa.js → PromoBaseCards-BOGJI2ws-Bd5L3YzB.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-BIg9Iais-Bu7slYzO.js → QBOConnectionDialog-CmpnnuzP-XCWw1T7e.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-CMTxTGLB.js → QBOConnectionScreen-DyiJ4JcR.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-DDoUJ7L6-ChX7ka6s.js → QBOSetupSection-DjnN9dgv-CGeaN3MF.js} +7 -7
  162. package/dist/assets/{ReferralListScreen-DZvURbe-.js → ReferralListScreen-Bkzznsdb.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-B0fTE5c5.js → ReimbursementApprovalRoutes-D73sxTZT.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CP0muUGK-DmbqRb9l.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-RTXhOFXX.js} +3 -3
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CE-klt57.js → ReimbursementApprovalRuleDetailScreen-C9KvQwlb.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-BpVWq3rk-Cihs8V2H.js → ReimbursementApprovalRulesPage-BsCTIqUJ-y9iIyVcM.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-pCg86_Ty-BzrQK1ml.js → ReimbursementDetailPage-BbyxE2uL-CjU2ZRW2.js} +1 -1
  168. package/dist/assets/{ReimbursementPromoPage-BW6icjG5-DP-6P5yh.js → ReimbursementPromoPage-CyEgwqcf-BiXwmlKl.js} +8 -8
  169. package/dist/assets/{ReimbursementRoutes-B0OQr3VA.js → ReimbursementRoutes-CorhAVOU.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-B6OhWEWH-BsBBd9B_.js → ReimbursementSetUpPage-RETPkEQd-n4-kRF3Y.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DmDoqEZh-DA9h4Ju5.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-CN381Qoq.js} +1 -1
  172. package/dist/assets/{ReloadCard-DIFXZM9U-Dw0wHj_z.js → ReloadCard-Bdoo0XiI-BNm210MB.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-BsIDwouQ-DTQN43vt.js → ReportTableViewSelector-Bc1K7mU_-Cy1BUrpx.js} +5 -5
  174. package/dist/assets/{ReportsPage-BFTuYQt2-BOdMPGqx.js → ReportsPage-BOTHMLWh-D_-dXEBY.js} +1 -1
  175. package/dist/assets/{ReportsRoutes-DDZOhFNw.js → ReportsRoutes-D_LkjKwz.js} +1 -1
  176. package/dist/assets/{RevenueChart-BoFq3ebd-Dep8qPIO.js → RevenueChart-DvyZ3aO7-BjoJQRxN.js} +12 -12
  177. package/dist/assets/{ReviewDetailsPage-6kCQzaHm-vpPb22cD.js → ReviewDetailsPage-BIMg1n2e-CE9WaiK4.js} +5 -5
  178. package/dist/assets/{ReviewOverlay-Dhb-kL6G-7aZ79rRC.js → ReviewOverlay-CxwoiOLC-B6NT77pC.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-Tsydnhre.js → RewardsRoutes-ButYppoj.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-BfM8Ltz4-C9PA5RE5.js → RoleWithToolTip-Ct3_VuDM-DkEEDwR-.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ccewwmwc-P3n6us6f.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-DBiyLnZa.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-D4LK83qQ-BWZmqAgS.js → ScheduleDetailsPage-5FWpLRtd-DgH3FQ8n.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-BZR2cL6z-DKWBlbjs.js → ScheduleSequenceTable-R3-PsXES-KZ9zYu75.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-BshWKT8L.js → ScreenRoutes-EzM6Ydd3.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-CxjYbrXu-s5rUPVRP.js → SetUpAccountSection-CctbMmoK-DwjJ4BtJ.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-D0MoVRRP.js → SettingsRoutes-lh5vJ2OM.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-ClrT9x-n.js → SetupPagesScreen-CukmySbN.js} +1 -1
  188. package/dist/assets/{SignIn-CVmtPGKL-DafJ0myc.js → SignIn-CmgmnRm4-DeaLljBV.js} +8 -8
  189. package/dist/assets/{SignInScreen-B0MWBUA7.js → SignInScreen-DjoZN01f.js} +1 -1
  190. package/dist/assets/{SignOutScreen-BHQQUANt.js → SignOutScreen-CFmU8CDy.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-BLjP9T8h-CZg1c21r.js → SpendManagementListViewPage-CFUxCqkU-DMTuDWWy.js} +8 -8
  192. package/dist/assets/{SpendManagementPerTabPage-Ck4brjun-DYiWnXoY.js → SpendManagementPerTabPage-C-kqNTci-DiLv13YG.js} +21 -21
  193. package/dist/assets/{SpendManagementSection-DAqR2c98-CppRRTDr.js → SpendManagementSection-CIz4nE_w-jXzilgM5.js} +9 -9
  194. package/dist/assets/{StatementItem-B_iG99XI-D9Qua-97.js → StatementItem-vVtoBN2w-DVgkdNDz.js} +2 -2
  195. package/dist/assets/{StatementsPage-DcKziEfZ-D6FL0knM.js → StatementsPage-As5WOnMR-BfTMWiRj.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-BI-dgnrK-wXJw_ZNb.js → StatusSwitcher-Bv-ozN6U-CgcpvjW-.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-BpNI5Wke-PE6NJvqU.js → SubTabSwitcher-D7QeM6nb-BELJXk0-.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-AojDorqX-BdMSXfoJ.js → SuccessAnimation-hijccO_0-UZ7dm-9w.js} +1 -1
  199. package/dist/assets/{SummaryCard-HW-1WXN9-CKrqyyU_.js → SummaryCard-C2qoTsAY-Dz9k02Eh.js} +1 -1
  200. package/dist/assets/{TaskDetailPage-Cwe193JO-i9Sljen6.js → TaskDetailPage-QMk4DTDK-Cs17FA2j.js} +1 -1
  201. package/dist/assets/{TaskListScreen-DFbIcDmb.js → TaskListScreen-CkfRpdj8.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-Bz1uP5hK-BIKNCgym.js → TaskManagementPage-BJwp32Ph-CAO7CWbo.js} +30 -30
  203. package/dist/assets/{TaskRoutes-Co5GAtGe.js → TaskRoutes-CcB-Q1zz.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-oORYeFzN-CAiWb64s.js → TimeRangeSwitcher-D00bDDhP-b1dqxIeB.js} +2 -2
  205. package/dist/assets/{TimeframeSwitcher-JcJSbn0--DbavpCXX.js → TimeframeSwitcher-DA99HdHt-C3Ujx8M-.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-BEZU-KDj-D7lbyLQ0.js → TimeframeSwitcherWithToggle-DyggDIQj-B_YzsezY.js} +2 -2
  207. package/dist/assets/{TopExCard-CF6z0JWk-BtE5RMXD.js → TopExCard-Z1WabZ8c-zJcPxoJa.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-DrcKlFuy-ClCuoO0K.js → TopExDetailPage-CzHG4f9E-CZKu_hb8.js} +12 -12
  209. package/dist/assets/{TransactionActivityLogPage-BB4q0jan-BsaJX_wW.js → TransactionActivityLogPage-CGKnjNfU-iVhAyVkn.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-DRG_qosz-4K6JYgr_.js → TransactionDetailPage-1-mLOWSz-ie5urORO.js} +24 -24
  211. package/dist/assets/{TransactionDetailRoutes-CHu8_uXM.js → TransactionDetailRoutes-C5jgxPON.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-8ecVGvyF.js → TransactionDetailScreen-DvcKecE2.js} +1 -1
  213. package/dist/assets/{TransactionList-iw4pyMYF-mPHBoCgm.js → TransactionList-BB-xoIGm-YJbrjnEY.js} +11 -11
  214. package/dist/assets/{TransactionListBig-BljAUwAB-BvX9nmmr.js → TransactionListBig-C5Sf5Xh--CRJPqIxU.js} +1 -1
  215. package/dist/assets/TransactionListPage-Cj7h1Ros-BAS0ZQP4.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-BH0onuUu.js → TransactionListRoutes-DBB1bltM.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DXuYIj-p-INYYwexD.js → TransactionVendorDetailPage-SsrSOk3O-BzjiNCrH.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C3q8h8Zy-DvswHDCp.js → TransferDrawerPage-BvKZ7vHF-CUzOXKi1.js} +15 -15
  219. package/dist/assets/{TreasuryOverviewPage-DqjFEV9B-B8HEv02z.js → TreasuryOverviewPage-DwvjMR4_-C5WtCTwF.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-ByeK0W_5-7ZtCK_x2.js → TreasuryPromoPage-CtTFvSQW-CyA0L_cp.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-DjIaFsbd.js → TreasuryRoutes-B7tar3cp.js} +1 -1
  222. package/dist/assets/TreasuryStatementsPage-Catz8shX-DvEtKvI_.js +58 -0
  223. package/dist/assets/{TreasuryTaxLetterPage-DwLyqS86-q3-mZZiq.js → TreasuryTaxLetterPage-D8hzCL5o-CohSb0PE.js} +3 -3
  224. package/dist/assets/{TrendChart-Dgh_21FN-BUN7WqwY.js → TrendChart-Bnp4Pcdf-DCChqqGN.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-BgIPapHk-DhBJ4ja-.js → TrendWithTransactions-3D1FvM8G-D7Q5CpQR.js} +8 -8
  226. package/dist/assets/{UncategorizedAccountsMappingPage-DIIJcGrj-BEadu1px.js → UncategorizedAccountsMappingPage-DbyY-dYB-CgK9m6hH.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-DIOZhQOZ-pBfy0J4D.js → UnitIntegrationPage-CTzme1te-BCEDVEN2.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-qrcEQmkz-km4_SH9P.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-BODbkPHU.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-C58w6vC7-BX6NPq24.js → Vendor2FAPopup-D0zYKkIv-DyWWDryQ.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-DQuZG9gT.js +1 -0
  231. package/dist/assets/{VendorDetailPage-CEQFcNHr-BzpOC2Af.js → VendorDetailPage-Br9wIOnI-DP6KP6Ut.js} +12 -12
  232. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-B-GCojoe.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-Dl7jZYBV-aKmowmhJ.js → VendorFiling1099EditablePage-himC7iD3-ClxIgwRL.js} +5 -5
  234. package/dist/assets/{VendorFirstReviewPage-yVbtg_tG-DK2E4A2j.js → VendorFirstReviewPage-BbknTCBD-RovDaIDG.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-DNDv_s8G-COfy135o.js → VendorInternationalWireDetailsPage-CS595Xgc-ERuJR75i.js} +6 -6
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-fCMVA3J1.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-Cscbgqrx-BhbRW82b.js → VendorsAccountsSection-CgSJu8wq-BQS4fhZH.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-CDhATRU9.js → VendorsRoutes-DcygMIZA.js} +1 -1
  239. package/dist/assets/{VerifyDevice-D1vsUSdJ-eGBtSBPS.js → VerifyDevice-Dvf0JsNN-CB8BcwMO.js} +5 -5
  240. package/dist/assets/{VideoPlayer-TlEy-oD0-FvFO3heV.js → VideoPlayer-VAzOGCDL-wDuMRrNt.js} +1 -1
  241. package/dist/assets/{VideoPopup-3DD646kG-TOybjXu5.js → VideoPopup-BqvZ-XIh-CcupyBnf.js} +4 -4
  242. package/dist/assets/{WiseConfirmationScreen-C1RA1Ldj.js → WiseConfirmationScreen-vXn0bv1e.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-BbsXzuHD-Dui1mjq_.js → ZeniAccountDetailPage-GcwTJdB8-BH1p5Exo.js} +14 -14
  244. package/dist/assets/{ZeniAccountListViewPage-lmuVUpKS-CkMXwzu4.js → ZeniAccountListViewPage-CdwO0Duy-chh0GNPr.js} +24 -24
  245. package/dist/assets/{ZeniAccountNavBarPieces-CQhwBKXD-Dl7I8K_B.js → ZeniAccountNavBarPieces-BrSIfL36-C8M5a-Xl.js} +1 -1
  246. package/dist/assets/{ZeniAccountPromoPage-CXEb9tRE-DbrBCcxq.js → ZeniAccountPromoPage-JrcedQYB-C9OxetFj.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-CE8jZq_j.js → ZeniAccountRoutes-BzEN8rYp.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-DPhYQu6u-Dn-mOjTr.js → ZeniAccountSetupPage-TKBfbgzJ-SmuqHJrQ.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-DDPrZzz9.js → ZeniAccountStatementScreen-DNnNKmyq.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-CCOD249Z-ByE5Nx_e.js → ZeniAvatar-Bzhq25CU-BxvzIJer.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-pvaggW6x-BLgnKSEe.js → ZeniCopyright-DglqrTpl-CP7BZGoe.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-EhzRlpFY-D5GIgjl0.js → ZeniDatePicker-BHXPxPnI-BI0pX8OM.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-Dlyom9dD-BwjTfvmr.js → ZeniTransferAmountSlider-BcaZZuAw-u6ZS6yfX.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-DnytOxBh.js → accountMappingHelper-BjmwXnMU.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-BDS4bqaK.js → add-to-wallet-DgdBD8_G-XHgsfW1I.js} +1 -1
  256. package/dist/assets/{analytics-lZopEqtI.js → analytics-BmL_Mqn9.js} +1 -1
  257. package/dist/assets/{analyticsHelper-sSJGGzsr.js → analyticsHelper-BtjSH59c.js} +1 -1
  258. package/dist/assets/{analyticsHelper-AeOsAjMK-9GsVy5uR.js → analyticsHelper-CAYdbjhS-BnnKI2y0.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-PZQhaHEw.js → arrow-south-east-round-PEovUgvH-BdWzIcGx.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-BJqlTaL4.js → auto-transfer-rule-mbafm5D3-BAdtTROp.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-D-qe2ybq.js → avatar-Dz7aEm3d-MxMPiump.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-BAI3BcgX.js → bank-letter-BOcVjN6J-rIPdgfrX.js} +1 -1
  263. package/dist/assets/{calculateSize-D-LzlJzs-H8aFTaA8.js → calculateSize-B2w5JPEU-B2193rmC.js} +1 -1
  264. package/dist/assets/{chartTypes-BLsP7rGF-BTfpmJqx.js → chartTypes-CD3vrBsI-FkvIOOpd.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-Aj8yCCM3.js → clock-CJkylEKt-ERYnohhO.js} +1 -1
  266. package/dist/assets/common-BpxEACHl-C27avmxt.js +1 -0
  267. package/dist/assets/{commonDimensions-DIm7kTtR-LC7HUPCB.js → commonDimensions-Oz1tdAcx-CfFEyvRP.js} +1 -1
  268. package/dist/assets/{commonTypes-B3mnx2x_-bGKW9_Lf.js → commonTypes-5tEXwrX4-vaDEJyz_.js} +1 -1
  269. package/dist/assets/{core-CbpF8wW5.js → core-DuAc0oH1.js} +1 -1
  270. package/dist/assets/{dash.all.min-8b6mRaf1.js → dash.all.min-BzamULic.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-CqkAxC0p.js → decodeURIComponentSafe-BqKl1gNh.js} +1 -1
  272. package/dist/assets/{dnd-PN_2LgQk.js → dnd-C4MpAW48.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-BhSn6DYS.js → dollar-round-D18u7nlm-BE7BByQ1.js} +1 -1
  274. package/dist/assets/{downloadPdf-B5WrL0K1-DumpN6AC.js → downloadPdf-Dsuxeias-Cexusisr.js} +1 -1
  275. package/dist/assets/{empty-BvRt8sTu.js → empty-C78V83Pd.js} +1 -1
  276. package/dist/assets/{empty-Ccpah3HZ.js → empty-YHOSZjbJ.js} +1 -1
  277. package/dist/assets/{epic-G4Y_asZ_.js → epic-CXPZHXyZ.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-CAMGerao.js → filter-cZIFUNvj-COBOGQ-F.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-BAdWD_sf.js → getLocaleForTenant-BvZsYiJJ.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-CxU0MaIs.js → gift-box-Cmt9OgIZ-BjYV9BWl.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DMougQJz.js → graphic-no-data-l-DU4J8fDt-B33QXo27.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Q8dYUrIm.js → graphic-no-data-net-burn-l-CzmycA0m-lURz_iBc.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-DJv997hY.js → handshake-BPg58FML-PXK0cnyp.js} +1 -1
  284. package/dist/assets/{helper-BVESv00--BSBoxTwN.js → helper-Ckm10Uko-Cc4naTj-.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-ByO7QjF0.js → hyperlink-DQyCeXx2-Cu6UNYTo.js} +1 -1
  286. package/dist/assets/{index-C5NS4k1k.js → index-BBHMk1WY.js} +6 -6
  287. package/dist/assets/{index-bFwDyqSe.js → index-Bi4ZzIhY.js} +1 -1
  288. package/dist/assets/{index-CtaVzrbN.js → index-BpucRcXX.js} +1 -1
  289. package/dist/assets/{index-Ir5iePqW.js → index-Cb3Lx8nN.js} +1 -1
  290. package/dist/assets/{index-BScUKNNV.js → index-Dcgkc5Uw.js} +1 -1
  291. package/dist/assets/{index-C2kgfwQ0.js → index-GCvrHOxC.js} +1 -1
  292. package/dist/assets/{lexical-wFFjFeQS.js → lexical-C-PBbg8f.js} +1 -1
  293. package/dist/assets/{liveblocks-DAzt4XWX.js → liveblocks-Bpp30XUG.js} +1 -1
  294. package/dist/assets/{lottie-DCpFrhzh.js → lottie-gxzZnsHo.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-Byx1Srtx.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BIiMj0sc-CYHAjMYB.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-CH-BVZKz.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-CzikBZEb.js +1 -0
  298. package/dist/assets/{mapTimeframeBalancesToTreeNode-CyO5pm8k-CNnw8Wla.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-BCdK4cAS.js} +1 -1
  299. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-Df6749Xj.js +1 -0
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-D3MVK9I-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-D1Xb-9er.js} +1 -1
  301. package/dist/assets/{media-player-CfnH7IPR.js → media-player-CWWFLNbp.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-DfhxL46u.js → money-2cg1MuG4-DWYsTA72.js} +1 -1
  303. package/dist/assets/{mui-CsJjaFS3.js → mui-dGxW217w.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-BqAM7jrq.js → page-detail-CWX5S47F-BWn2WsT0.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-BEqozVIp.js → page-summary-D7_VQHwN-4LeFKTgY.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-_TcaqYgi.js → panelSelectedMixin-Cddsb26L-C9S2YMFT.js} +1 -1
  307. package/dist/assets/{pathToGoBack-BfqJ0YlJ.js → pathToGoBack-DwmMyQdy.js} +1 -1
  308. package/dist/assets/{pdf-CotdgJU1.js → pdf-DjWcNDdq.js} +3 -3
  309. package/dist/assets/{pdf-lib-D_D0fjcQ.js → pdf-lib-CB_AtnKr.js} +1 -1
  310. package/dist/assets/{plaid-BTCtHWVp.js → plaid-LGb0iu_7.js} +1 -1
  311. package/dist/assets/{pusher-BQ8DKEaa.js → pusher-loHOXAjv.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-Bf3NugY4.js → radio-default-CiSgisfh-DhEizgYr.js} +1 -1
  313. package/dist/assets/{react-BBeDYsAV.js → react-B5CCxyo8.js} +1 -1
  314. package/dist/assets/{react-BqQ4cQqX.js → react-BFrkFTnv.js} +1 -1
  315. package/dist/assets/{react-DPwINmE2.js → react-CIp0Yw0U.js} +1 -1
  316. package/dist/assets/{react-DXQJSc1U.js → react-DlnoroXE.js} +1 -1
  317. package/dist/assets/{react-DqT05IJk.js → react-DonvuThB.js} +1 -1
  318. package/dist/assets/{react-BUIAuHwU.js → react-Dvfu-jiD.js} +3 -3
  319. package/dist/assets/{react-qeQ53cUY.js → react-NMWrA8Xh.js} +1 -1
  320. package/dist/assets/{react-D_8V1wyK.js → react-zRFF7aUz.js} +1 -1
  321. package/dist/assets/{recharts-Z1H4NIT9.js → recharts-CNVQrnca.js} +1 -1
  322. package/dist/assets/{routePaths-Canmm7cj.js → routePaths-D4MJQpeF.js} +1 -1
  323. package/dist/assets/{sentry-B7C9wEq0.js → sentry-BHW-o2_3.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-Bj4akX0-.js → shield-DOlUxcFf-CmaA04GF.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-BgiUCsPc.js → spend-limit-D6SyboD4-MYaa6js9.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-aLNB35t7-hl6knpCK.js +1 -0
  327. package/dist/assets/{toChartData-BkubFDq8-Dqms1_zM.js → toChartData-DUL6vnzJ-Bfkqesey.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-C1Qe8Rh2.js → transaction-placeholder-CpOwZAMG-BxMvgbSM.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-eTBdG90-.js → undo-b_3XZ5CX-zHeOXoYp.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-Bw2sQZ5n.js → unlock-BPWn2I5L-CM_x1_IF.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CnNIPHqW.js → upload-reimbursement-receipt-O2N8vcO7-CsOkkjaO.js} +1 -1
  332. package/dist/assets/{uploadAttachment-CzgakLtr-FsVc9-o9.js → uploadAttachment-Ck4wivBR-Cq4Hbbxz.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-w07yQGh1.js → uploadReceipts-CIgkuVpu-BsH_IJrm.js} +1 -1
  334. package/dist/assets/{url-B_60JuDM.js → url-9ygz9Slk.js} +1 -1
  335. package/dist/assets/{url-BvfHN6gt.js → url-B9FYGPSg.js} +1 -1
  336. package/dist/assets/{useDeviceId-BrDKA5Dy.js → useDeviceId-DejDIbww.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-CpkcHK8z.js → useInitialThreadRequest-B7i_KMco.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-nY-Uopy3.js → useLongPress-GCK2COYQ-BldzqPkV.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-DadTGyfk.js → usp-line-BBd1wKwW-bSCjhzHC.js} +1 -1
  340. package/dist/assets/{utils-DSKkIaRb.js → utils-BAYl7YTg.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-BJJbIkbE.js → withTransactionSidePanel-uSCjZtP0.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-CjUXhad7.js → zeni-epic-state-DhC3A3VG.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-DmigVd7z.js → zeni-icon-only-qq9leULW.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/AccountInfoPage-Cz9yoVl8-2cCezdu3.js +0 -18
  347. package/dist/assets/AccountInfoPageContent-j85psx_A-tY3-Fkrr.js +0 -149
  348. package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-D-eeATAS.js +0 -27
  349. package/dist/assets/ChargeCardPromoPage-CKl6K-nr-B6A43An0.js +0 -222
  350. package/dist/assets/CustomerOnboardingAuthScreen-B2lt5fG2.js +0 -1
  351. package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-BbB2fOP5.js +0 -1
  352. package/dist/assets/EntityDetailPage-D8FzsqNk-_LZsKMKD.js +0 -18
  353. package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-BXzJ0B3q.js +0 -1
  354. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-DKgp0Chf.js +0 -1
  355. package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-hgGDkayb.js +0 -1
  356. package/dist/assets/MailingDetailsSection-BNVPaGFt-9PxBYnWw.js +0 -21
  357. package/dist/assets/TransactionListPage-ReGTmF43-Cg71CfBs.js +0 -35
  358. package/dist/assets/TreasuryStatementsPage-BjGwvMFL-xqt4JjCQ.js +0 -58
  359. package/dist/assets/VendorACHDetailsPage-BbxRwrEv-Bcfg0w4a.js +0 -1
  360. package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-Ds0ralM2.js +0 -1
  361. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-DxxL_aBl.js +0 -1
  362. package/dist/assets/common-CAmBErdt-gt_uFFPU.js +0 -1
  363. package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-BiIcVS7d.js +0 -1
  364. package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-DaSaAPgD.js +0 -1
  365. package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-qKxAkbp_.js +0 -1
  366. package/dist/assets/toCOABalancesWithID-BWMF0py6-DXg0RqcA.js +0 -1
@@ -0,0 +1,222 @@
1
+ import{e as b,V as r,y as O,_ as ye,h as be,a7 as $e,a5 as je,fm as Se,a_ as Te,eY as ze,a as Q,b as ee,O as oe,o as i,c2 as ve,n as J,c3 as Pe,D as ke,x,s as Ie,bo as Ae,i2 as Be,C as _e,m as p,d as j,f,au as Le,ac as Re,i3 as Me}from"./index-BBHMk1WY.js";import{a as S}from"./sentry-BHW-o2_3.js";import{n,c as Ee,k as De}from"./mui-dGxW217w.js";import{F4 as Fe}from"./zeni-epic-state-DhC3A3VG.js";import{x as Ne}from"./NavigationDots-Dvce3gHt-DAj81KV8.js";import{J as H,N as G}from"./PromoBaseCards-BOGJI2ws-Bd5L3YzB.js";import{M as _}from"./usp-line-BBd1wKwW-bSCjhzHC.js";import"./pdf-DjWcNDdq.js";import"./core-DuAc0oH1.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./recharts-CNVQrnca.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="a413c61c-581e-4554-a48f-9c373c0c46e5",e._sentryDebugIdIdentifier="sentry-dbid-a413c61c-581e-4554-a48f-9c373c0c46e5")}catch{}})();const g={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},T={promoBadgeText:new j("standardRegular","largeRegular"),promoBadgeTextBold:new j("standardBold","largeBold"),cardsContent:new j("extraSmallRegular","smallRegular"),contactAdmin:new j("extraSmallRegular","largeRegular"),uspText:new j("smallRegular","standardRegular"),uspBoldText:new j("smallMedium","standardMedium")},{common:N,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),Mr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:t,showEnableCardButton:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,admins:$,cashbackRate:v,cardPromoType:d="credit",isCheckingEnabled:l,onSetupButtonClick:L,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:X,onExpressInterestClick:ge})=>{const he=O(),V=ye(),z=b(),W=be().analytics,{chargeCardTermsDetails:R,companyChargeCardInfo:C,companyLocaleInfo:M}=t,Z=$e(R?.fetchStatus.fetchState),[xe,Y]=S.useState(!1),we=C!=null&&M!=null?je("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;S.useEffect(()=>{Z==="In-Progress"&&R?.fetchStatus.fetchState==="Completed"&&X()},[Z,X,R?.fetchStatus]);const q=Fe(V.loggedInUserRoleMap),ue=Se(V),E=d==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=d==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=d==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=d==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:fe}=t,K=E?o.getPreApprovedNow:a?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Xe,{children:[r.jsx(Te,{title:o.title[d],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:z==="medium-compact"||z==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ze,{onCancelClick:()=>{Y(!1)},meetingUrl:e}):null,r.jsx(Ye,{windowSize:z,children:q===!0?r.jsxs(Ze,{children:[r.jsxs(We,{children:[r.jsx(He,{isApproved:Ce,creditAmount:we,cardPromoType:d,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:d,cashbackRate:v})]}),r.jsx(ne,{showEnableCardButton:a,cardPromoType:d,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Ge,{companyLegalName:s,cards:[],admins:$,cashbackRate:v,hasZeniFinopsRoles:ue,cardPromoType:d,isCheckingEnabled:l})}),!q||F||D?null:r.jsxs(tr,{windowSize:z,children:[r.jsx(Q,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:()=>{W.trackCardsPromoPageClicked("schedule demo"),W.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:w,isCreditCardEnabled:u},"Cards Promo"),Y(!0)},"data-testid":ee("schedule-demo-button")}),r.jsx(Ve,{windowSize:z,children:o.orText}),r.jsx(Q,{variant:"primary",label:K,style:{minWidth:166},loading:t.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||fe==="In-Progress",onClick:K===o.getPreApprovedNow?ge:()=>L(d),"data-testid":ee("enable-card-button")})]})]})},Ue=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.user?.lastName).join(", "),t=b();return r.jsxs(pr,{windowSize:t,children:[r.jsx(U,{underline:!1,windowSize:t,children:o.noCardAssigned.pre}),r.jsx(Ae,{title:s,placement:"top-start",style:{padding:`2px ${i.sp2}`},children:r.jsx(U,{underline:!0,windowSize:t,children:o.noCardAssigned.tooltip})}),r.jsx(U,{underline:!1,windowSize:t,children:o.noCardAssigned.post})]})},ne=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:t,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const w=b();return r.jsx(ir,{windowSize:w,children:r.jsx(Be,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:a===!0||c===!0||h===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&a===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(w)},cardPromoType:e,isCheckingEnabled:t})})},He=({isApproved:e,cardPromoType:s,creditAmount:t,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const w=b(),u=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,$=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(ie,{children:t}),o.creditLimit,N.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(er,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,N.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):a?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(ie,{children:t}),o.creditLimit,N.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:u}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ke,{cardPromoType:s,hasContent:$!=null,hideBadge:t==null||s==="debit",windowSize:w,children:[a||c||m?null:r.jsx(fr,{}),r.jsx(Qe,{windowSize:w,children:$})]})]})},Ge=({companyLegalName:e,cards:s,admins:t,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const w=b(),u=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:u}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(cr,{windowSize:w}):r.jsx(Oe,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(Ue,{admins:t}),r.jsx(ne,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Oe=({cards:e,companyLegalName:s})=>{const t=O(),a=b();let c,m="";if(e.length===1){c=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;m=o.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else m=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(gr,{children:[c!=null?r.jsx(qe,{width:i.sp5,height:i.sp5,style:{paddingTop:a==="small"?i.sp1:i.sp0},src:c.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ie},loading:"lazy"}):null,r.jsx(mr,{windowSize:a,mode:t.mode,children:r.jsx(hr,{windowSize:a,children:m})})]})},re=({windowSize:e,cardPromoType:s})=>{let t=o.businessText;return s==="debit"&&(t=`${t} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Je,{}):r.jsxs(nr,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:t,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(G,{cardPromoType:s,cardText:t,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ae=({cardPromoType:e,cashbackRate:s})=>{const t=b(),a=o.benefits;return r.jsxs(rr,{windowSize:t,children:[t==="small"?r.jsx(re,{windowSize:t,cardPromoType:e}):null,r.jsxs(or,{windowSize:t,children:[r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(dr,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item1.pre}),r.jsx(I,{windowSize:t,children:a.item1.bold.replace("__cashback__",(100*s).toFixed(2))}),r.jsx(y,{windowSize:t,children:`${e==="credit"||e==="debit_and_credit"?a.singleStarred:""}${a.item1.post}`})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(ar,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item2.pre}),r.jsx(I,{windowSize:t,children:a.item2.bold}),r.jsx(y,{windowSize:t,children:a.item2.post})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(lr,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item3.pre}),r.jsx(I,{windowSize:t,children:a.item3.bold}),r.jsx(y,{windowSize:t,children:a.item3.post})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(sr,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item4.pre}),r.jsx(I,{windowSize:t,children:a.item4.bold}),r.jsx(y,{windowSize:t,children:a.item4.post})]})]})]}),t==="small"?null:r.jsx(re,{windowSize:t,cardPromoType:e})]})};let P;const Je=()=>{const e=b(),s=O(),[t,a]=S.useState(0),[c,m]=S.useState(!1),h=o.businessText,w=`${h} ${o.debit}`,u=[{id:1,cardType:"debit",cardText:w},{id:2,cardType:"debit",cardText:w},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];S.useEffect(()=>(c||(P=setInterval(()=>{a(d=>{const l=d+1;return l===u.length?(m(!0),0):l})},2e3)),()=>clearInterval(P)),[c,u.length]),S.useEffect(()=>{c&&P!=null&&clearInterval(P)},[c]);const $=(d,l)=>{switch((d-t+u.length)%u.length){case 0:return{transform:`translate(0,${l?"100%":0}) scale(1)`,zIndex:l?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${l?"80%":"5%"}) scale(0.75)`,zIndex:l?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};default:return}},v=d=>{const l=$(d,!0);return{...l,transform:`${l?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}};return r.jsxs(xr,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:u.map((d,l)=>r.jsxs(ur,{children:[r.jsx(te,{isReflection:!1,style:{...$(l,!1)},onClick:()=>(L=>{c||m(!0),a(L)})(l),children:l===0||l===2?r.jsx(H,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(G,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},d.id),r.jsx(te,{isReflection:!0,style:{...v(l)},children:l===0||l===2?r.jsx(H,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(G,{cardPromoType:d.cardType,cardText:d.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${d.id}`)]},d.id))}),c&&r.jsx(Ne,{numberOfDots:u.length,activeIndex:t,handleClick:a,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:i.sp2,height:i.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},Xe=n.div`
2
+ display: flex;
3
+ flex: 1 1 auto;
4
+ min-height: 100%;
5
+ flex-direction: column;
6
+ background-color: ${e=>e.theme.colors.grey4};
7
+ `,Ve=n(_e)`
8
+ color: ${e=>e.theme.colors.hero};
9
+ `,We=n.div`
10
+ display: flex;
11
+ flex-direction: column;
12
+ align-items: center;
13
+ `,Ze=n.div`
14
+ display: flex;
15
+ flex-direction: column;
16
+ justify-content: space-between;
17
+ flex: 1;
18
+ width: 100%;
19
+ `,Ye=n.div`
20
+ padding-top: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
21
+ padding-bottom: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
22
+ text-align: center;
23
+ flex: 1;
24
+ display: flex;
25
+ flex-direction: column;
26
+ overflow-x: hidden;
27
+ `,se=n(Pe)`
28
+ max-width: 927px;
29
+ margin: auto;
30
+ display: flex;
31
+ justify-content: center;
32
+ flex-wrap: wrap;
33
+ padding: ${i.sp7} ${i.sp0} ${i.sp0} ${i.sp0};
34
+ color: ${e=>e.theme.colors.primary};
35
+ `,de=n(ke)`
36
+ color: ${e=>e.theme.colors.primary};
37
+ margin: auto;
38
+ margin-top: ${i.sp2};
39
+ `,le=n(ve)`
40
+ margin: auto;
41
+ max-width: 343px;
42
+ display: flex;
43
+ justify-content: center;
44
+ text-align: center;
45
+ flex-wrap: wrap;
46
+ padding: ${i.sp5} ${i.sp0} ${i.sp0} ${i.sp0};
47
+ color: ${e=>e.theme.colors.primary};
48
+ `,ce=n(J)`
49
+ max-width: 314px;
50
+ margin: auto;
51
+ color: ${e=>e.theme.colors.primary};
52
+ padding: 6px ${i.sp3} ${i.sp0} ${i.sp3};
53
+ text-align: center;
54
+ margin-top: 6px;
55
+ `,qe=n.img`
56
+ border-radius: 50%;
57
+ justify-content: center;
58
+ color: ${e=>e.theme.colors.hero};
59
+ `,Ke=n.div`
60
+ display: flex;
61
+ flex-direction: row;
62
+ align-items: center;
63
+ justify-content: center;
64
+ position: relative;
65
+ overflow: hidden;
66
+ padding: ${e=>e.hasContent?`${i.sp2} ${i.sp3}`:i.sp0};
67
+ background-color: ${e=>e.theme.colors.grey3};
68
+ border-radius: 96px;
69
+ margin-top: ${i.sp4};
70
+ margin-left: ${e=>e.windowSize==="small"?i.sp3:"auto"};
71
+ margin-right: ${e=>e.windowSize==="small"?i.sp3:"auto"};
72
+ margin-bottom: ${e=>e.cardPromoType==="debit_and_credit"&&e.windowSize==="small"?i.sp0:i.sp6};
73
+ width: fit-content;
74
+ gap: ${i.sp1};
75
+ ${e=>e.hideBadge&&`
76
+ visibility: hidden;
77
+ `}
78
+ `,Qe=n(J)`
79
+ color: ${e=>e.theme.mode==="dark"?f.brandColorJade:f.brandColorSapphire};
80
+ text-align: ${e=>e.windowSize==="small"?"left":"center"};
81
+ ${e=>`${T.promoBadgeText.style(e.windowSize)}`};
82
+ span {
83
+ ${e=>`${T.promoBadgeTextBold.style(e.windowSize)}`};
84
+ }
85
+ `,er=n.span``,ie=n.span`
86
+ color: ${f.success};
87
+ `,rr=n.div`
88
+ display: flex;
89
+ gap: ${e=>g.midContainerGap.valuePx(e.windowSize)};
90
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
91
+ align-items: center;
92
+ justify-content: center;
93
+ `,ir=n.div`
94
+ display: flex;
95
+ flex-direction: column;
96
+ `,tr=n.div`
97
+ border-top: 1px solid ${e=>e.theme.colors.grey3};
98
+ padding: ${i.sp2} ${i.sp3};
99
+ position: sticky;
100
+ bottom: 0;
101
+ left: 0;
102
+ right: 0;
103
+ z-index: 8;
104
+ display: flex;
105
+ justify-content: center;
106
+ align-items: center;
107
+ flex-direction: row;
108
+ row-gap: ${i.sp2};
109
+ background-color: ${e=>e.theme.colors.grey5};
110
+ gap: ${e=>g.buttonTrayGap.valuePx(e.windowSize)};
111
+ `,or=n.div`
112
+ width: ${e=>e.windowSize==="small"?"auto":"288px"};
113
+ display: flex;
114
+ flex-direction: column;
115
+ margin-left: ${e=>g.uspContainerMarginX.valuePx(e.windowSize)};
116
+ margin-right: ${e=>g.uspContainerMarginX.valuePx(e.windowSize)};
117
+ z-index: 8;
118
+ `,nr=n.div`
119
+ display: flex;
120
+ justify-content: ${e=>e.windowSize==="small"?"center":"flex-start"};
121
+ min-height: ${e=>g.iconContainerMinHeight.valuePx(e.windowSize)};
122
+ align-items: center;
123
+ min-width: 480px;
124
+ `,k=n.div`
125
+ border-radius: ${i.sp12};
126
+ border: ${e=>`1px solid ${e.theme.colors.grey2}`};
127
+ padding: ${e=>e.windowSize==="small"?`${i.sp2} ${i.sp4} ${i.sp2} ${i.sp0}`:`${i.sp3} ${i.sp5} ${i.sp3} ${i.sp0}`};
128
+ background: ${e=>e.theme.colors.grey5};
129
+ position: relative;
130
+ margin-bottom: ${i.sp3};
131
+ display: flex;
132
+ align-items: center;
133
+ text-align: start;
134
+ width: ${e=>e.windowSize==="small"?"288px":"100%"};
135
+ min-height: ${e=>e.windowSize!=="small"?"83px":"44px"};
136
+ box-sizing: ${e=>e.windowSize==="small"?"unset":"border-box"};
137
+ `,y=n(Le)`
138
+ color: ${e=>e.theme.colors.champion};
139
+ ${e=>`${T.uspText.style(e.windowSize)}`};
140
+ `,I=n(Re)`
141
+ color: ${e=>e.theme.colors.champion};
142
+ ${e=>`${T.uspBoldText.style(e.windowSize)}`};
143
+ `,A=n.div``,B=n.div`
144
+ padding-left: ${i.sp3};
145
+ `,ar=n(_)`
146
+ color: ${f.graphColor16Dark};
147
+ `,sr=n(_)`
148
+ color: ${f.alert};
149
+ `,dr=n(_)`
150
+ color: ${f.graphColor11};
151
+ `,lr=n(_)`
152
+ color: ${f.success};
153
+ `,cr=n.div`
154
+ height: ${e=>g.emptySectionHeight.valuePx(e.windowSize)};
155
+ ${e=>e.windowSize==="small"?null:Ee`
156
+ margin-top: ${i.sp4};
157
+ margin-bottom: ${i.sp6};
158
+ `}
159
+ `,pr=n(J)`
160
+ color: ${e=>e.theme.colors.hero};
161
+ margin-top: ${e=>g.contactAdminContainerMarginTop.valuePx(e.windowSize)};
162
+ margin-bottom: ${e=>g.contactAdminContainerMarginBottom.valuePx(e.windowSize)};
163
+ margin-left: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
164
+ margin-right: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
165
+ text-align: center;
166
+ `,U=n(Me)`
167
+ ${e=>`${T.contactAdmin.style(e.windowSize)}`};
168
+ text-decoration: ${e=>e.underline?"underline":"none"};
169
+ cursor: ${e=>e.underline?"default":null};
170
+ `,mr=n.div`
171
+ color: ${e=>e.mode==="dark"?e.theme.colors.brandColorJade:e.theme.colors.brandColorSapphire};
172
+ `,gr=n.div`
173
+ background-color: ${e=>e.theme.colors.grey3};
174
+ padding: ${i.sp2} ${i.sp3};
175
+ display: flex;
176
+ gap: ${i.sp2};
177
+ margin: auto;
178
+ max-width: fit-content;
179
+ border-radius: 96px;
180
+ margin-top: ${i.sp4};
181
+ margin-bottom: ${i.sp6};
182
+ `,hr=n.span`
183
+ ${e=>`${T.cardsContent.style(e.windowSize)}`};
184
+ `,xr=n.div`
185
+ display: flex;
186
+ flex-direction: column;
187
+ min-height: ${e=>g.carouselHeight.valuePx(e.windowSize)};
188
+ min-width: 480px;
189
+ position: relative;
190
+ `,wr=n.div`
191
+ position: relative;
192
+ margin-top: ${e=>g.carouselMarginTop.valuePx(e.windowSize)};
193
+ margin-left: ${e=>g.carouselMarginLeft.valuePx(e.windowSize)};
194
+ `,ur=n.div`
195
+ position: relative;
196
+ overflow: visible;
197
+ `,te=n.div`
198
+ position: absolute;
199
+ ${e=>e.isReflection&&`
200
+ background-color: ${e.theme.colors.grey4};
201
+ clip-path: inset(16% 0 0 0);
202
+ `}
203
+ `,Cr=De`
204
+ 0% {
205
+ left: -${i.sp6};
206
+ }
207
+ 50% {
208
+ left: calc(100% + ${i.sp6});
209
+ }
210
+ 100% {
211
+ left: calc(100% + ${i.sp6});
212
+ }
213
+ `,fr=n.div`
214
+ position: absolute;
215
+ background:
216
+ ${f.promoCardGradient1Strong}, ${f.promoCardGradient2Strong};
217
+ width: ${i.sp10};
218
+ z-index: 3;
219
+ height: 100%;
220
+ transform: skew(15deg);
221
+ animation: ${Cr} 4s linear infinite;
222
+ `;export{Ge as ChargeCardPromoUserContent,Mr as default};
@@ -1,4 +1,4 @@
1
- import{j as s}from"./pdf-CotdgJU1.js";import{j as ue,l as oa,i as me,u as S,h as be,k as he,N as pa,o as ot,R as Mt,m as te}from"./core-CbpF8wW5.js";import{ct as ce,F4 as Be,MN as Ia,cy as ye,cz as Se,cA as Ie,dt as Me,bH as $e,MO as Ge,MP as Va,pS as ha,gT as ga,MQ as fa,eg as ra,v$ as Xe,w1 as Ha,w2 as Ma,gL as ct,MR as ze,vP as it,MS as $t,MT as Gt,vS as ka,MU as zt,Lh as Ea,o2 as dt,vY as $a,er as Yt,MV as lt,MW as Ye,bs as Zt,MX as Kt,dj as Aa,di as Da,ww as Wt,dh as _a,KZ as qt,MY as ut,F5 as mt,bM as Qt,Lg as ca,x6 as Xt,MZ as Ja,wI as wa,M_ as Ct,x7 as Jt,LH as en,x8 as an,y2 as tn,pc as nn,xY as rn,wh as pt,wa as sn,M$ as on,dv as cn,wq as ht,wu as gt,du as dn,N0 as ln,wU as ft,N1 as un,N2 as mn,N3 as Cn,ws as bt,wd as yt,vV as St,wm as It,wk as kt,wo as pn,w0 as et,N4 as Et,N5 as Pa,wF as ba,HX as At,bN as Ga,N6 as hn,N7 as gn,N8 as fn,N9 as bn,wC as Oa,w$ as yn,wX as Sn,wy as In,wZ as kn,wP as En,wR as An,Na as Dt,x5 as _t,Dr as Dn,Nb as _n,Nc as wn,Nd as Pn,Ne as wt,Nf as Tn,xs as Fn,wH as Pt,wB as sa,wG as vn,Ng as xn,Nh as Ln,vM as Bn,Ni as Tt,Nj as Ft,Nk as Un,vO as Rn,vN as at,Nl as On,Nm as Nn,Nn as jn,HT as Vn,No as za,Np as Hn,sE as vt,hr as Mn,eh as $n,xx as Gn,Nq as xt,Nr as zn,xy as Yn,Ns as Zn,cg as Kn,pM as Wn,xn as qn,xh as Le,bt as Qn,FX as Xn,FY as Jn,G5 as er,Hb as ar}from"./zeni-epic-state-CjUXhad7.js";import{js as X,_ as Re,aE as oe,aG as K,jQ as _e,lM as Ta,lX as tr,lY as nr,jM as Te,e as ia,aF as Pe,jO as fe,l8 as Ya,lZ as rr,x as da,jD as Fa,y as va,jz as q,O as Za,l_ as sr,a7 as Ka,i5 as qe,cR as Na,L as or,bk as Wa,k9 as cr,l$ as ir,kv as Lt,k4 as ja,k2 as Bt,J as Ut,m0 as dr,m1 as lr,m2 as ur,m3 as mr,o as ya,m4 as Cr,m5 as pr,m as Ba,N as hr,m6 as gr,m7 as fr,m8 as br,kc as yr}from"./index-C5NS4k1k.js";import{n as ke,D as Rt,S as Sr}from"./mui-CsJjaFS3.js";import{a as l}from"./sentry-B7C9wEq0.js";import{g as pe,a as la,b as Ot,c as Ee,d as Ae,e as Ue,f as Oe,A as Ir,h as qa,P as kr,i as Qa,s as Qe,j as Nt,k as He,l as jt,m as Er,n as Vt,p as Ar,S as tt}from"./SetupPagesScreen-ClrT9x-n.js";import xa from"./NotFoundScreen-DXnaOvLy.js";import{M as ua}from"./MobileAppDrawer-Db6wEz5B.js";import{v as nt}from"./utils-DSKkIaRb.js";import{t as Dr}from"./AddressScreen-CfU0pxqN.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./analyticsHelper-sSJGGzsr.js";import"./routePaths-Canmm7cj.js";import"./BusinessVerificationPageScreen-DM_2HDeS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1bb7015f-ae9d-4ae4-8974-bd252d3d5892",e._sentryDebugIdIdentifier="sentry-dbid-1bb7015f-ae9d-4ae4-8974-bd252d3d5892")}catch{}})();function _r(){const e=ue(),{cardId:t}=oa(),a=me(),r=X.getSignedInUser(),n=S(W=>ce(W)),c=Re(),u=Be(c?.loggedInUserRoleMap),{useFeatureGate:m}=oe();if(r==null)throw Error("Can't access Add To Wallet Page without signing in...");const[E,i]=l.useState(!1),g=S(W=>Ia(W).firstViewAfterActivation);if(t==null)throw Error("Empty card id is not valid...");const I=n.userRole.includes("charge_card_user"),{isFeatureEnabled:_}=m(K.isChargeCardFeatureEnabled),C=!!n.companyChargeCardInfo?.info?.isChargeCardEnabled,{isFeatureEnabled:U}=m(K.isDebitCardFeatureEnabled),v=ye(n),T=Se(n),d=Ie(U,n),f=n.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,b=Ee({isDebitCardFeatureEnabled:U,isBankingOnlyTenant:d}),o=Ae({isCardsOnlyTenant:v,isChargeCardFeatureEnabled:_,isBookKeepingTenant:T,isDebitCardProductVisible:b,chargeCardsCreditAccountLimit:f}),w=!!n.companyDebitCardInfo?.info?.isDebitCardEnabled,O=S(W=>Me(W,n.companyId)),N=$e(O.controllers),{creditAccount:L,creditAccountRepayment:F}=S(W=>Ge(W)),R=S(W=>W.classListState.fetchState),p=!I&&o&&C,h=S(W=>Va(W,t,p,o)),[k,A]=l.useState(!1),M=h.chargeCard,$=M?.cardCreatedByUser?.userId,H=S(W=>$!=null?ha(W.userRoleState,$):void 0),B=H?.accountingClassIDs[0],y=S(W=>B!=null?ga(W.classState,{classId:B,reportId:"class_list"}):void 0),Y=M?.cardHolderUser?.userId,x=S(W=>Y!=null?ha(W.userRoleState,Y):void 0),P=x?.accountingClassIDs[0],z=S(W=>P!=null?ga(W.classState,{classId:P,reportId:"class_list"}):void 0),D=M?.type.code==="business_physical_credit_card"||M?.type.code==="business_physical_debit_card",Z=M?.type.code==="business_physical_debit_card";l.useEffect(()=>{g&&E===!1&&D&&(i(!0),setTimeout(()=>{a(fa()),Z&&a(ra({messageSection:"set_debit_card_pin",messageText:"success",type:"success",showStatusIcon:!0}))},5e3))},[g,E,D,Z]),l.useEffect(()=>{k||h.fetchState==="Completed"||h.fetchState==="In-Progress"||t==null||(A(!0),a(Xe(t,p,!1)))},[k,h,t,a]),l.useEffect(()=>{if(h.fetchState==="Completed"&&(D===!1||D&&M?.status?.code!=="active"||M?.cardHolderUserId!==r.userId||g===!1&&E===!1||M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card")){const W=pe(n.tenantEmailDomain,t,r,M,g);e(W)}},[h.fetchState,g,D]),l.useEffect(()=>{L.fetchState!=="Completed"&&L.fetchState!=="In-Progress"&&o&&C&&u&&a(Ha()),F.fetchState!=="Completed"&&F.fetchState!=="In-Progress"&&o&&C&&u&&a(Ma()),R!=="Completed"&&R!=="In-Progress"&&a(ct())},[L.fetchState,F.fetchState,a,o,C,u,R]);const G=()=>{if(r!=null&&t!=null){a(fa());const W=pe(n.tenantEmailDomain,t,r);e(W)}},ae=M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card",se=Ue(o,b,w,C),J=la(o,C,u,L,F),de=Ot(ae,h);return h.fetchState!=="Completed"?s.jsx(_e,{fetchState:"In-Progress"}):s.jsxs(s.Fragment,{children:[s.jsx(Ta,{showConfetti:g}),s.jsx(tr,{onGotItClick:G,isDebitCard:M?.type.code==="business_physical_debit_card",controllerEmails:N,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:b,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:C,productInformation:se,creditAccountInformation:J,debitAccountInformation:de,chargeCardDetailView:h,creditAccount:L,classListFetchState:R,creditAccountRepayment:F,cardIssuedByRoles:H?.userRoles,cardIssuedByDepartmentName:y?.className,cardHolderRoles:x?.userRoles,cardHolderDepartmentName:z?.className})]})}const wr=he(function(e){const t=ze(e);return{insightsData:t.insight,cashbackByPeriod:t.cashbackByPeriod,uiState:t.uiState,cashbackSummary:t.cashbackSummary}},function(e,t){const{currentTenant:a,navigate:r,location:n}=t,{tenantEmailDomain:c}=a;return{onColumnSortConfigChanged:(u,m)=>{e($t({uiState:{sortKey:u,sortOrder:m}}))},onBackClick:()=>{const u=Te(n.state?.pathnameStackToGoBack),m=u.poppedPathname??Tr(c);r(m,{state:{pathnameStackToGoBack:u.newStack}})}}})(nr);function Pr(){const e=ue(),t=me(),a=be(),r=X.getSignedInUser(),n=S(E=>ce(E)),[c,u]=l.useState(!1),m=S(E=>ze(E));if(l.useEffect(()=>{c||m.fetchState==="Completed"||m.fetchState==="In-Progress"||(u(!0),t(it()))},[c,m,t]),r==null)throw Error("Can't access cashback detail page without signing in...");return m.fetchState==="In-Progress"?s.jsx(_e,{fetchState:m.fetchState}):m.cashbackSummary.cashbackEarned.amount===0&&m.fetchState==="Completed"?s.jsx(xa,{}):s.jsx(wr,{navigate:e,location:a,currentTenant:n})}const Tr=e=>`/${e}/cards`,Fr={containerWidth:new da(100,58)},vr=({appContent:e})=>{const t=ia(),a=me(),r=ue(),{cardId:n}=oa(),c=be(),{useDynamicConfig:u}=oe(),[m,E]=l.useState(!1),[i,g]=l.useState(!1),[I,_]=l.useState(!1),[C,U]=l.useState(!1),v=X.getSignedInUser();if(v==null)throw Error("Can't access onboarding card page without signing in...");const T=S(z=>ce(z));if(n==null)throw Error("Empty card id is not valid...");const{configValue:d}=u(Pe.zeniCardsConfig),f=d.max_charge_card_activation_attempts_by_card_id,b=S(z=>Gt(z,n)),o=b.chargeCard,w=S(z=>z.chargeCardConfigState.fetchState),{useFeatureGate:O}=oe(),{isFeatureEnabled:N}=O(K.isChargeCardFeatureEnabled),{isFeatureEnabled:L}=O(K.isDebitCardFeatureEnabled),F=Ie(L,T),R=Ee({isDebitCardFeatureEnabled:L,isBankingOnlyTenant:F}),p=!!T.companyChargeCardInfo?.info?.isChargeCardEnabled,h=T.userRole.includes("charge_card_user"),k=ye(T),A=Se(T),M=T.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,$=Ae({isCardsOnlyTenant:k,isChargeCardFeatureEnabled:N,isBookKeepingTenant:A,isDebitCardProductVisible:R,chargeCardsCreditAccountLimit:M}),H=!h&&$&&p;l.useEffect(()=>{m===!1&&w!=="In-Progress"&&w!=="Completed"&&(a(ka()),E(!0)),i===!1&&b.fetchState==="Not-Started"&&(g(!0),a(Xe(n,H,$)))},[i,b.fetchState,m,w]);const B=o?.type.code==="business_physical_credit_card"||o?.type.code==="business_physical_debit_card";l.useEffect(()=>{if(b.fetchState==="Completed"){if(I===!1&&(B===!1||B&&o?.status?.code!=="inactive"||o?.cardHolderUserId!==v.userId)){const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);r(z,{state:{pathnameStackToGoBack:D}})}else if(I&&b.isRefreshingViewInBackground===!1&&o?.status?.code==="active"){a(zt({chargeCardId:n}));const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);a(Ea()),r(z,{state:{pathnameStackToGoBack:D}})}}},[b.fetchState,o?.type.code,I,b.isRefreshingViewInBackground]);const y=X.getZeniOtpTokenForCardHolder(n),Y=S(z=>dt(z.userState,v.userId)),x=()=>{o?.status?.code!=="active"&&a($a(n,!0))};l.useEffect(()=>{b.updatePhysicalChargeCardAttemptFetchState.fetchState==="Completed"&&o?.cardActivationAttemptHistory.some(z=>z.statusCode==="success")===!0&&I===!1&&(setTimeout(x,3e3),_(!0))},[b.updatePhysicalChargeCardAttemptFetchState.fetchState,o?.cardActivationAttemptHistory]);const P=z=>{U(z)};if(w!=="Completed"||o==null)return s.jsx(_e,{fetchState:"In-Progress"});if(o.shippingAddressId==null)throw Error("Can't access shippingAddressId.");if(Y?.phone==null)throw Error("Can't access user phone number.");return s.jsxs(Br,{children:[s.jsx(ua,{isAppContentDrawerOpen:C,handleDrawerToggle:P}),s.jsx(xr,{cardId:n,card:o,shippingAddressId:o.shippingAddressId,phone:Y.phone,signedInUser:v,isSandboxEnv:Ya(),chargeCardDetailState:b,signedInUserToken:y,navigate:r,currentTenant:T,location:c,maxChargeCardActivationAttempts:f[n]!=null?f[n]:d.default_max_charge_card_activation_attempts!=null?d.default_max_charge_card_activation_attempts:3,chargeCardCashbackRatePerTransaction:d.charge_card_cashback_rate_per_transaction!=null?d.charge_card_cashback_rate_per_transaction:.0175,onClickMenuIcon:()=>{P(!0)}}),e!=null?s.jsx(Lr,{windowSize:t,children:e}):null]})},xr=he(function(e,{chargeCardDetailState:t,shippingAddressId:a,location:r,cardId:n}){const c=Yt(e.addressState,a);if(c==null)throw Error("Can't access shippingAddress.");const u=lt(e,n),m=t.updateStatus,E=Ye(e,!1,!1,!1);let i=!1;E.fetchState==="Completed"&&E.cards.length<=1&&(i=!0);const g=r.state?.message==="comingFromV2UrlPath";return{showActivatePage:t.chargeCard?.providerCardCreateTime!=null&&t.chargeCard.providerCardCreateTime.add(24,"h").isBefore(Zt())||g,showMenuIcon:i,shippingAddress:c,vgsVaultId:Fa.cardVaultId,twoFAView:u,activationWaitStatus:m,isRefreshingViewInBackground:t.isRefreshingViewInBackground}},function(e,t){const{navigate:a,cardId:r,location:n,currentTenant:c,chargeCardDetailState:u}=t,m=u.chargeCard?.cardProviderID,{tenantEmailDomain:E}=c;return{onGetOtp:i=>{m!=null&&e(_a(i,"ChargeCardHolder",r))},onUpdatePhysicalChargeCardAttempt:i=>{e(Wt(r,i))},onResendOtp:i=>{m!=null&&e(Da(i,"ChargeCardHolder",r))},onVerifyOtp:(i,g)=>{m!=null&&e(Aa(i,g,"ChargeCardHolder",r))},onVerifyOtpSuccess:i=>{i!=null&&X.saveZeniOtpTokenForCardHolder(i,r)},onCVVActivateSuccess:()=>{e(Kt({chargeCardId:r}))},onBackClick:()=>{const i=Te(n.state?.pathnameStackToGoBack),g=i.poppedPathname==null||i.poppedPathname.includes("onboard")===!0?Oe(E):i.poppedPathname;a(g,{state:{pathnameStackToGoBack:i.newStack}})}}})(rr),Lr=ke.div`
1
+ import{j as s}from"./pdf-DjWcNDdq.js";import{j as ue,l as oa,i as me,u as S,h as be,k as he,N as pa,o as ot,R as Mt,m as te}from"./core-DuAc0oH1.js";import{ct as ce,F4 as Be,MN as Ia,cy as ye,cz as Se,cA as Ie,dt as Me,bH as $e,MO as Ge,MP as Va,pS as ha,gT as ga,MQ as fa,eg as ra,v$ as Xe,w1 as Ha,w2 as Ma,gL as ct,MR as ze,vP as it,MS as $t,MT as Gt,vS as ka,MU as zt,Lh as Ea,o2 as dt,vY as $a,er as Yt,MV as lt,MW as Ye,bs as Zt,MX as Kt,dj as Aa,di as Da,ww as Wt,dh as _a,KZ as qt,MY as ut,F5 as mt,bM as Qt,Lg as ca,x6 as Xt,MZ as Ja,wI as wa,M_ as Ct,x7 as Jt,LH as en,x8 as an,y2 as tn,pc as nn,xY as rn,wh as pt,wa as sn,M$ as on,dv as cn,wq as ht,wu as gt,du as dn,N0 as ln,wU as ft,N1 as un,N2 as mn,N3 as Cn,ws as bt,wd as yt,vV as St,wm as It,wk as kt,wo as pn,w0 as et,N4 as Et,N5 as Pa,wF as ba,HX as At,bN as Ga,N6 as hn,N7 as gn,N8 as fn,N9 as bn,wC as Oa,w$ as yn,wX as Sn,wy as In,wZ as kn,wP as En,wR as An,Na as Dt,x5 as _t,Dr as Dn,Nb as _n,Nc as wn,Nd as Pn,Ne as wt,Nf as Tn,xs as Fn,wH as Pt,wB as sa,wG as vn,Ng as xn,Nh as Ln,vM as Bn,Ni as Tt,Nj as Ft,Nk as Un,vO as Rn,vN as at,Nl as On,Nm as Nn,Nn as jn,HT as Vn,No as za,Np as Hn,sE as vt,hr as Mn,eh as $n,xx as Gn,Nq as xt,Nr as zn,xy as Yn,Ns as Zn,cg as Kn,pM as Wn,xn as qn,xh as Le,bt as Qn,FX as Xn,FY as Jn,G5 as er,Hb as ar}from"./zeni-epic-state-DhC3A3VG.js";import{js as X,_ as Re,aE as oe,aG as K,jQ as _e,lM as Ta,lX as tr,lY as nr,jM as Te,e as ia,aF as Pe,jO as fe,l8 as Ya,lZ as rr,x as da,jD as Fa,y as va,jz as q,O as Za,l_ as sr,a7 as Ka,i5 as qe,cR as Na,L as or,bk as Wa,k9 as cr,l$ as ir,kv as Lt,k4 as ja,k2 as Bt,J as Ut,m0 as dr,m1 as lr,m2 as ur,m3 as mr,o as ya,m4 as Cr,m5 as pr,m as Ba,N as hr,m6 as gr,m7 as fr,m8 as br,kc as yr}from"./index-BBHMk1WY.js";import{n as ke,D as Rt,S as Sr}from"./mui-dGxW217w.js";import{a as l}from"./sentry-BHW-o2_3.js";import{g as pe,a as la,b as Ot,c as Ee,d as Ae,e as Ue,f as Oe,A as Ir,h as qa,P as kr,i as Qa,s as Qe,j as Nt,k as He,l as jt,m as Er,n as Vt,p as Ar,S as tt}from"./SetupPagesScreen-CukmySbN.js";import xa from"./NotFoundScreen-DGEyldIM.js";import{M as ua}from"./MobileAppDrawer-D5Za8CIX.js";import{v as nt}from"./utils-BAYl7YTg.js";import{t as Dr}from"./AddressScreen-q6X2LJkq.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./recharts-CNVQrnca.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./analyticsHelper-BtjSH59c.js";import"./routePaths-D4MJQpeF.js";import"./BusinessVerificationPageScreen-D8j6xARh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1bb7015f-ae9d-4ae4-8974-bd252d3d5892",e._sentryDebugIdIdentifier="sentry-dbid-1bb7015f-ae9d-4ae4-8974-bd252d3d5892")}catch{}})();function _r(){const e=ue(),{cardId:t}=oa(),a=me(),r=X.getSignedInUser(),n=S(W=>ce(W)),c=Re(),u=Be(c?.loggedInUserRoleMap),{useFeatureGate:m}=oe();if(r==null)throw Error("Can't access Add To Wallet Page without signing in...");const[E,i]=l.useState(!1),g=S(W=>Ia(W).firstViewAfterActivation);if(t==null)throw Error("Empty card id is not valid...");const I=n.userRole.includes("charge_card_user"),{isFeatureEnabled:_}=m(K.isChargeCardFeatureEnabled),C=!!n.companyChargeCardInfo?.info?.isChargeCardEnabled,{isFeatureEnabled:U}=m(K.isDebitCardFeatureEnabled),v=ye(n),T=Se(n),d=Ie(U,n),f=n.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,b=Ee({isDebitCardFeatureEnabled:U,isBankingOnlyTenant:d}),o=Ae({isCardsOnlyTenant:v,isChargeCardFeatureEnabled:_,isBookKeepingTenant:T,isDebitCardProductVisible:b,chargeCardsCreditAccountLimit:f}),w=!!n.companyDebitCardInfo?.info?.isDebitCardEnabled,O=S(W=>Me(W,n.companyId)),N=$e(O.controllers),{creditAccount:L,creditAccountRepayment:F}=S(W=>Ge(W)),R=S(W=>W.classListState.fetchState),p=!I&&o&&C,h=S(W=>Va(W,t,p,o)),[k,A]=l.useState(!1),M=h.chargeCard,$=M?.cardCreatedByUser?.userId,H=S(W=>$!=null?ha(W.userRoleState,$):void 0),B=H?.accountingClassIDs[0],y=S(W=>B!=null?ga(W.classState,{classId:B,reportId:"class_list"}):void 0),Y=M?.cardHolderUser?.userId,x=S(W=>Y!=null?ha(W.userRoleState,Y):void 0),P=x?.accountingClassIDs[0],z=S(W=>P!=null?ga(W.classState,{classId:P,reportId:"class_list"}):void 0),D=M?.type.code==="business_physical_credit_card"||M?.type.code==="business_physical_debit_card",Z=M?.type.code==="business_physical_debit_card";l.useEffect(()=>{g&&E===!1&&D&&(i(!0),setTimeout(()=>{a(fa()),Z&&a(ra({messageSection:"set_debit_card_pin",messageText:"success",type:"success",showStatusIcon:!0}))},5e3))},[g,E,D,Z]),l.useEffect(()=>{k||h.fetchState==="Completed"||h.fetchState==="In-Progress"||t==null||(A(!0),a(Xe(t,p,!1)))},[k,h,t,a]),l.useEffect(()=>{if(h.fetchState==="Completed"&&(D===!1||D&&M?.status?.code!=="active"||M?.cardHolderUserId!==r.userId||g===!1&&E===!1||M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card")){const W=pe(n.tenantEmailDomain,t,r,M,g);e(W)}},[h.fetchState,g,D]),l.useEffect(()=>{L.fetchState!=="Completed"&&L.fetchState!=="In-Progress"&&o&&C&&u&&a(Ha()),F.fetchState!=="Completed"&&F.fetchState!=="In-Progress"&&o&&C&&u&&a(Ma()),R!=="Completed"&&R!=="In-Progress"&&a(ct())},[L.fetchState,F.fetchState,a,o,C,u,R]);const G=()=>{if(r!=null&&t!=null){a(fa());const W=pe(n.tenantEmailDomain,t,r);e(W)}},ae=M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card",se=Ue(o,b,w,C),J=la(o,C,u,L,F),de=Ot(ae,h);return h.fetchState!=="Completed"?s.jsx(_e,{fetchState:"In-Progress"}):s.jsxs(s.Fragment,{children:[s.jsx(Ta,{showConfetti:g}),s.jsx(tr,{onGotItClick:G,isDebitCard:M?.type.code==="business_physical_debit_card",controllerEmails:N,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:b,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:C,productInformation:se,creditAccountInformation:J,debitAccountInformation:de,chargeCardDetailView:h,creditAccount:L,classListFetchState:R,creditAccountRepayment:F,cardIssuedByRoles:H?.userRoles,cardIssuedByDepartmentName:y?.className,cardHolderRoles:x?.userRoles,cardHolderDepartmentName:z?.className})]})}const wr=he(function(e){const t=ze(e);return{insightsData:t.insight,cashbackByPeriod:t.cashbackByPeriod,uiState:t.uiState,cashbackSummary:t.cashbackSummary}},function(e,t){const{currentTenant:a,navigate:r,location:n}=t,{tenantEmailDomain:c}=a;return{onColumnSortConfigChanged:(u,m)=>{e($t({uiState:{sortKey:u,sortOrder:m}}))},onBackClick:()=>{const u=Te(n.state?.pathnameStackToGoBack),m=u.poppedPathname??Tr(c);r(m,{state:{pathnameStackToGoBack:u.newStack}})}}})(nr);function Pr(){const e=ue(),t=me(),a=be(),r=X.getSignedInUser(),n=S(E=>ce(E)),[c,u]=l.useState(!1),m=S(E=>ze(E));if(l.useEffect(()=>{c||m.fetchState==="Completed"||m.fetchState==="In-Progress"||(u(!0),t(it()))},[c,m,t]),r==null)throw Error("Can't access cashback detail page without signing in...");return m.fetchState==="In-Progress"?s.jsx(_e,{fetchState:m.fetchState}):m.cashbackSummary.cashbackEarned.amount===0&&m.fetchState==="Completed"?s.jsx(xa,{}):s.jsx(wr,{navigate:e,location:a,currentTenant:n})}const Tr=e=>`/${e}/cards`,Fr={containerWidth:new da(100,58)},vr=({appContent:e})=>{const t=ia(),a=me(),r=ue(),{cardId:n}=oa(),c=be(),{useDynamicConfig:u}=oe(),[m,E]=l.useState(!1),[i,g]=l.useState(!1),[I,_]=l.useState(!1),[C,U]=l.useState(!1),v=X.getSignedInUser();if(v==null)throw Error("Can't access onboarding card page without signing in...");const T=S(z=>ce(z));if(n==null)throw Error("Empty card id is not valid...");const{configValue:d}=u(Pe.zeniCardsConfig),f=d.max_charge_card_activation_attempts_by_card_id,b=S(z=>Gt(z,n)),o=b.chargeCard,w=S(z=>z.chargeCardConfigState.fetchState),{useFeatureGate:O}=oe(),{isFeatureEnabled:N}=O(K.isChargeCardFeatureEnabled),{isFeatureEnabled:L}=O(K.isDebitCardFeatureEnabled),F=Ie(L,T),R=Ee({isDebitCardFeatureEnabled:L,isBankingOnlyTenant:F}),p=!!T.companyChargeCardInfo?.info?.isChargeCardEnabled,h=T.userRole.includes("charge_card_user"),k=ye(T),A=Se(T),M=T.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,$=Ae({isCardsOnlyTenant:k,isChargeCardFeatureEnabled:N,isBookKeepingTenant:A,isDebitCardProductVisible:R,chargeCardsCreditAccountLimit:M}),H=!h&&$&&p;l.useEffect(()=>{m===!1&&w!=="In-Progress"&&w!=="Completed"&&(a(ka()),E(!0)),i===!1&&b.fetchState==="Not-Started"&&(g(!0),a(Xe(n,H,$)))},[i,b.fetchState,m,w]);const B=o?.type.code==="business_physical_credit_card"||o?.type.code==="business_physical_debit_card";l.useEffect(()=>{if(b.fetchState==="Completed"){if(I===!1&&(B===!1||B&&o?.status?.code!=="inactive"||o?.cardHolderUserId!==v.userId)){const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);r(z,{state:{pathnameStackToGoBack:D}})}else if(I&&b.isRefreshingViewInBackground===!1&&o?.status?.code==="active"){a(zt({chargeCardId:n}));const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);a(Ea()),r(z,{state:{pathnameStackToGoBack:D}})}}},[b.fetchState,o?.type.code,I,b.isRefreshingViewInBackground]);const y=X.getZeniOtpTokenForCardHolder(n),Y=S(z=>dt(z.userState,v.userId)),x=()=>{o?.status?.code!=="active"&&a($a(n,!0))};l.useEffect(()=>{b.updatePhysicalChargeCardAttemptFetchState.fetchState==="Completed"&&o?.cardActivationAttemptHistory.some(z=>z.statusCode==="success")===!0&&I===!1&&(setTimeout(x,3e3),_(!0))},[b.updatePhysicalChargeCardAttemptFetchState.fetchState,o?.cardActivationAttemptHistory]);const P=z=>{U(z)};if(w!=="Completed"||o==null)return s.jsx(_e,{fetchState:"In-Progress"});if(o.shippingAddressId==null)throw Error("Can't access shippingAddressId.");if(Y?.phone==null)throw Error("Can't access user phone number.");return s.jsxs(Br,{children:[s.jsx(ua,{isAppContentDrawerOpen:C,handleDrawerToggle:P}),s.jsx(xr,{cardId:n,card:o,shippingAddressId:o.shippingAddressId,phone:Y.phone,signedInUser:v,isSandboxEnv:Ya(),chargeCardDetailState:b,signedInUserToken:y,navigate:r,currentTenant:T,location:c,maxChargeCardActivationAttempts:f[n]!=null?f[n]:d.default_max_charge_card_activation_attempts!=null?d.default_max_charge_card_activation_attempts:3,chargeCardCashbackRatePerTransaction:d.charge_card_cashback_rate_per_transaction!=null?d.charge_card_cashback_rate_per_transaction:.0175,onClickMenuIcon:()=>{P(!0)}}),e!=null?s.jsx(Lr,{windowSize:t,children:e}):null]})},xr=he(function(e,{chargeCardDetailState:t,shippingAddressId:a,location:r,cardId:n}){const c=Yt(e.addressState,a);if(c==null)throw Error("Can't access shippingAddress.");const u=lt(e,n),m=t.updateStatus,E=Ye(e,!1,!1,!1);let i=!1;E.fetchState==="Completed"&&E.cards.length<=1&&(i=!0);const g=r.state?.message==="comingFromV2UrlPath";return{showActivatePage:t.chargeCard?.providerCardCreateTime!=null&&t.chargeCard.providerCardCreateTime.add(24,"h").isBefore(Zt())||g,showMenuIcon:i,shippingAddress:c,vgsVaultId:Fa.cardVaultId,twoFAView:u,activationWaitStatus:m,isRefreshingViewInBackground:t.isRefreshingViewInBackground}},function(e,t){const{navigate:a,cardId:r,location:n,currentTenant:c,chargeCardDetailState:u}=t,m=u.chargeCard?.cardProviderID,{tenantEmailDomain:E}=c;return{onGetOtp:i=>{m!=null&&e(_a(i,"ChargeCardHolder",r))},onUpdatePhysicalChargeCardAttempt:i=>{e(Wt(r,i))},onResendOtp:i=>{m!=null&&e(Da(i,"ChargeCardHolder",r))},onVerifyOtp:(i,g)=>{m!=null&&e(Aa(i,g,"ChargeCardHolder",r))},onVerifyOtpSuccess:i=>{i!=null&&X.saveZeniOtpTokenForCardHolder(i,r)},onCVVActivateSuccess:()=>{e(Kt({chargeCardId:r}))},onBackClick:()=>{const i=Te(n.state?.pathnameStackToGoBack),g=i.poppedPathname==null||i.poppedPathname.includes("onboard")===!0?Oe(E):i.poppedPathname;a(g,{state:{pathnameStackToGoBack:i.newStack}})}}})(rr),Lr=ke.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: ${e=>`${Fr.containerWidth.value(e.windowSize)}%`};
@@ -1,4 +1,4 @@
1
- import{y as je,e as Be,h as Ue,a7 as G,T as _e,c8 as ze,ad as Z,V as t,eI as Re,f as Le,x as d,a_ as We,L as $e,A as Ne,eZ as qe,de as He,e_ as Me,o as B,w as Ge,i4 as J,aU as Ze,a9 as Je,f0 as Ke,O as Qe,m as o,l as Xe}from"./index-C5NS4k1k.js";import{a as f}from"./sentry-B7C9wEq0.js";import{n as S}from"./mui-CsJjaFS3.js";import{cg as Ye}from"./zeni-epic-state-CjUXhad7.js";import{x as et}from"./LabeledControlledCheckBoxField-DT_nxhPN-BUvo7K-8.js";import{g as tt}from"./UploadAdditionalDocumentOverlay-qrcEQmkz-km4_SH9P.js";import"./pdf-CotdgJU1.js";import"./core-CbpF8wW5.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.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]="da388a31-f811-4750-ad76-efcd62712a6c",e._sentryDebugIdIdentifier="sentry-dbid-da388a31-f811-4750-ad76-efcd62712a6c")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,o[5],o[5]),sectionRowGap:new d(o[5],o[9],o[9]),iconWidthHeight:new d(20,o[4]),subTitlePaddingTop:new d(12,o[3]),subTitlePaddingBottom:new d(o[3],o[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(o[1],o[0])},K="chargeCardSetUpPage",g="payAccount",{commonSetUp:nt,spendManagement:it}=Qe.getLocalizedStrings(),{chargeCard:Y}=it,{chargeCardSetUp:m}=Y,{setUp:U}=nt,At=({autoPayThreshold:e,isDisabled:r,meetingUrl:w,isEarlyPayEnabled:h,chargeCardSetUpView:i,connectedAccountProvider:ee,filesEndPoint:te,authParams:ne,isAccountsEnabled:ie,isDebitCardOnlyEnabled:k,isCreditCardOnlyEnabled:ae,accountsPromoConfig:oe,onFetchLinkTokenClick:ce,onBackClick:se,onEnableChargeCardClick:le,onUpdateChargeCardClick:de,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:ue,onUpdatePaymentAccountLoginStatus:pe,onUpdatePrimaryFundingAccount:fe,onUpdateAutoPayClick:me,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:he,onClickMenuIcon:ye,onEnableChargeCardSuccess:x,onEditFileName:be,onDeleteFile:Ce,updateFilesEntity:Se,onCompanyOfficerUpdated:we,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const y=je(),n=Be(),T=Ue().analytics,[P,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:_,isRefreshingViewInBackground:Ae,updateStatus:u,accountUpdateStatus:ke,plaidConnectionDetails:Te,allBankAccounts:Ee,companyChargeCardInfo:E,companyDebitCardInfo:z,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:R}=i,L=G(C),A=G(u.fetchState),v=_e({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>Q(i),[i]),values:Q(i)}),ve=v.handleSubmit(le);f.useEffect(()=>{const Oe=v.watch((H,{name:M})=>{M!=null&&H!=null&&ze(()=>(async(V,Ve)=>{const a=Ve[g];if(V.includes(g))if(V.includes("fundingAccount")){if(a.fundingAccount.selectedOption!=null&&l?.id!=a.fundingAccount.selectedOption){const p=R.find(j=>j.id===a.fundingAccount.selectedOption);p!=null&&fe(a.fundingAccount.selectedOption,p.accType)}}else if(a.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=a.account.selectedOption){const p=a.account.allOptions.find(j=>j.value===a.account.selectedOption);p!=null&&typeof p.label=="string"&&T.trackConnectBankLink(p.value,p.label,"charge_cards"),de(a.account.selectedOption,l.id,l.accType)}else V.includes("enableAutoPay")&&a.enableAutoPay!=null&&me(a.enableAutoPay)})(M,H))});return()=>{Oe.unsubscribe()}}),f.useEffect(()=>{!P&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),P&&L==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,L]),f.useEffect(()=>{A==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,A,u.fetchState]);const I=E?.isChargeCardEnabled===!0,D=z?.isDebitCardEnabled===!0,W=z?.isDebitCardTOSAccepted===!0,$=E?.isChargeCardTOSAccepted===!0,N=_?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),F=k?N:N&&Ie,De=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{A==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,A,u.fetchState]);const O=k?F&&!D&&W:ae?F&&!I&&$:F&&!(I&&D)&&$&&W,Fe=O?m.setupSubTitleNotEnabled:m.setupSubTitle,q=y.mode==="light"?new Z(y.colors.brandColorJadeLight):new Z(y.colors.brandColorJadeDark);return t.jsxs(ot,{children:[t.jsx(Re,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(n),boxShadow:"none"}},open:P,onClose:()=>b(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(tt,{authParams:ne,filesEndPoint:te,updateStatus:u,onEditFileName:be,onDeleteFile:Ce,updateFilesEntity:Se,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:xe})}),t.jsx(We,{title:m.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:se,showMenuIcon:!(I||D||n!=="medium-compact"&&n!=="small"),onClickMenuIcon:ye,source:"ChargeCardSetupPage"}),t.jsxs(at,{windowSize:n,children:[t.jsx(ct,{windowSize:n,children:Fe}),De?t.jsx(st,{children:t.jsx($e,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...v,children:t.jsx("form",{id:X(K),onSubmit:ve,children:t.jsxs(lt,{windowSize:n,children:[t.jsx(qe,{onClick:()=>{P||s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")!==!0||!s.areAdditionalDocumentsRequestedForVerification||s.areAdditionalDocumentsSubmittedForVerification||s.userVerificationStatus?.code!=="require_info"?re?.():b(!0)},title:U.businessVerificationTitle,subTitle:U.businessVerificationSubTitle,header:U.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(n),height:c.iconWidthHeight.valuePx(n)}),color:q},status:_?.businessVerificationStatus,isLoading:Ae,isActiveWhileLoading:!0}),k?null:t.jsx(Me,{connectedAccountProvider:ee,primaryFundingAccount:l,allFundingAccounts:R,plaidConnectionDetails:Te,allBankAccounts:Ee,sectionId:g,isDisabled:r,onFetchLinkTokenClick:ce,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:ue,onUpdatePaymentAccountLoginStatus:pe,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:he,icon:{element:t.jsx(Ze,{width:c.iconWidthHeight.valuePx(n),height:c.iconWidthHeight.valuePx(n)}),color:q},analytics:T,productType:"charge_cards",isAccountsEnabled:ie,onSignUpClick:Pe,pageName:m.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(et,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Ge.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:n==="small"?"flex-start":"center"},checkBoxField:{name:J(g,"enableAutoPay"),checkBoxValue:J(g,"enableAutoPay"),defaultChecked:E?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(n)}}})})]})})})]}),O?t.jsx(Je,{formId:X(K),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:O,meetingUrl:w,analytics:T,productType:"charge_cards"})]})},Q=e=>{const{allBankAccounts:r,allFundingAccounts:w,primaryFundingAccount:h}=e;return{[g]:{fundingAccount:{selectedOption:h?.id,allOptions:w.map(i=>({label:i.label,value:i.id,isRecommended:i.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(i=>({label:i.accountName,value:i.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,at=S.div`
1
+ import{y as je,e as Be,h as Ue,a7 as G,T as _e,c8 as ze,ad as Z,V as t,eI as Re,f as Le,x as d,a_ as We,L as $e,A as Ne,eZ as qe,de as He,e_ as Me,o as B,w as Ge,i4 as J,aU as Ze,a9 as Je,f0 as Ke,O as Qe,m as a,l as Xe}from"./index-BBHMk1WY.js";import{a as f}from"./sentry-BHW-o2_3.js";import{n as S}from"./mui-dGxW217w.js";import{cg as Ye}from"./zeni-epic-state-DhC3A3VG.js";import{x as et}from"./LabeledControlledCheckBoxField-CcPO1k23-oIbSTLkG.js";import{g as tt}from"./UploadAdditionalDocumentOverlay-Wl4Spdpn-BODbkPHU.js";import"./pdf-DjWcNDdq.js";import"./core-DuAc0oH1.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./recharts-CNVQrnca.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.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]="46c50f30-eade-4d61-887a-834dbee714f5",e._sentryDebugIdIdentifier="sentry-dbid-46c50f30-eade-4d61-887a-834dbee714f5")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(a[1],a[0])},K="chargeCardSetUpPage",g="payAccount",{commonSetUp:nt,spendManagement:it}=Qe.getLocalizedStrings(),{chargeCard:Y}=it,{chargeCardSetUp:m}=Y,{setUp:U}=nt,At=({autoPayThreshold:e,isDisabled:r,meetingUrl:w,isEarlyPayEnabled:h,chargeCardSetUpView:i,connectedAccountProvider:ee,filesEndPoint:te,authParams:ne,isAccountsEnabled:ie,isDebitCardOnlyEnabled:k,isCreditCardOnlyEnabled:oe,accountsPromoConfig:ae,onFetchLinkTokenClick:ce,onBackClick:se,onEnableChargeCardClick:le,onUpdateChargeCardClick:de,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:ue,onUpdatePaymentAccountLoginStatus:pe,onUpdatePrimaryFundingAccount:fe,onUpdateAutoPayClick:me,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:he,onClickMenuIcon:ye,onEnableChargeCardSuccess:x,onEditFileName:be,onDeleteFile:Ce,updateFilesEntity:Se,onCompanyOfficerUpdated:we,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const y=je(),n=Be(),T=Ue().analytics,[P,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:_,isRefreshingViewInBackground:Ae,updateStatus:u,accountUpdateStatus:ke,plaidConnectionDetails:Te,allBankAccounts:Ee,companyChargeCardInfo:E,companyDebitCardInfo:z,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:R}=i,L=G(C),A=G(u.fetchState),v=_e({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>Q(i),[i]),values:Q(i)}),ve=v.handleSubmit(le);f.useEffect(()=>{const Oe=v.watch((H,{name:M})=>{M!=null&&H!=null&&ze(()=>(async(V,Ve)=>{const o=Ve[g];if(V.includes(g))if(V.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&l?.id!=o.fundingAccount.selectedOption){const p=R.find(j=>j.id===o.fundingAccount.selectedOption);p!=null&&fe(o.fundingAccount.selectedOption,p.accType)}}else if(o.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=o.account.selectedOption){const p=o.account.allOptions.find(j=>j.value===o.account.selectedOption);p!=null&&typeof p.label=="string"&&T.trackConnectBankLink(p.value,p.label,"charge_cards"),de(o.account.selectedOption,l.id,l.accType)}else V.includes("enableAutoPay")&&o.enableAutoPay!=null&&me(o.enableAutoPay)})(M,H))});return()=>{Oe.unsubscribe()}}),f.useEffect(()=>{!P&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),P&&L==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,L]),f.useEffect(()=>{A==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,A,u.fetchState]);const I=E?.isChargeCardEnabled===!0,D=z?.isDebitCardEnabled===!0,W=z?.isDebitCardTOSAccepted===!0,$=E?.isChargeCardTOSAccepted===!0,N=_?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),F=k?N:N&&Ie,De=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{A==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,A,u.fetchState]);const O=k?F&&!D&&W:oe?F&&!I&&$:F&&!(I&&D)&&$&&W,Fe=O?m.setupSubTitleNotEnabled:m.setupSubTitle,q=y.mode==="light"?new Z(y.colors.brandColorJadeLight):new Z(y.colors.brandColorJadeDark);return t.jsxs(at,{children:[t.jsx(Re,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(n),boxShadow:"none"}},open:P,onClose:()=>b(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(tt,{authParams:ne,filesEndPoint:te,updateStatus:u,onEditFileName:be,onDeleteFile:Ce,updateFilesEntity:Se,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:xe})}),t.jsx(We,{title:m.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:se,showMenuIcon:!(I||D||n!=="medium-compact"&&n!=="small"),onClickMenuIcon:ye,source:"ChargeCardSetupPage"}),t.jsxs(ot,{windowSize:n,children:[t.jsx(ct,{windowSize:n,children:Fe}),De?t.jsx(st,{children:t.jsx($e,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...v,children:t.jsx("form",{id:X(K),onSubmit:ve,children:t.jsxs(lt,{windowSize:n,children:[t.jsx(qe,{onClick:()=>{P||s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")!==!0||!s.areAdditionalDocumentsRequestedForVerification||s.areAdditionalDocumentsSubmittedForVerification||s.userVerificationStatus?.code!=="require_info"?re?.():b(!0)},title:U.businessVerificationTitle,subTitle:U.businessVerificationSubTitle,header:U.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(n),height:c.iconWidthHeight.valuePx(n)}),color:q},status:_?.businessVerificationStatus,isLoading:Ae,isActiveWhileLoading:!0}),k?null:t.jsx(Me,{connectedAccountProvider:ee,primaryFundingAccount:l,allFundingAccounts:R,plaidConnectionDetails:Te,allBankAccounts:Ee,sectionId:g,isDisabled:r,onFetchLinkTokenClick:ce,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:ue,onUpdatePaymentAccountLoginStatus:pe,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:he,icon:{element:t.jsx(Ze,{width:c.iconWidthHeight.valuePx(n),height:c.iconWidthHeight.valuePx(n)}),color:q},analytics:T,productType:"charge_cards",isAccountsEnabled:ie,onSignUpClick:Pe,pageName:m.pageName,accountsPromoConfig:ae,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(et,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Ge.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:n==="small"?"flex-start":"center"},checkBoxField:{name:J(g,"enableAutoPay"),checkBoxValue:J(g,"enableAutoPay"),defaultChecked:E?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(n)}}})})]})})})]}),O?t.jsx(Je,{formId:X(K),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:O,meetingUrl:w,analytics:T,productType:"charge_cards"})]})},Q=e=>{const{allBankAccounts:r,allFundingAccounts:w,primaryFundingAccount:h}=e;return{[g]:{fundingAccount:{selectedOption:h?.id,allOptions:w.map(i=>({label:i.label,value:i.id,isRecommended:i.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(i=>({label:i.accountName,value:i.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,ot=S.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -6,7 +6,7 @@ import{y as je,e as Be,h as Ue,a7 as G,T as _e,c8 as ze,ad as Z,V as t,eI as Re,
6
6
  flex-direction: column;
7
7
  align-items: center;
8
8
  row-gap: ${e=>c.setupDetailsRowGap.valuePx(e.windowSize)};
9
- `,ot=S.div`
9
+ `,at=S.div`
10
10
  display: flex;
11
11
  min-height: 100%;
12
12
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{y as W,e as T,V as t,a_ as F,o as h,O as R,x as g,l as B,at as _,h as O,h9 as V,L as q,b as J,m as s,by as U}from"./index-C5NS4k1k.js";import{n as o}from"./mui-CsJjaFS3.js";import{$ as G,g as H}from"./BoxItem-XoWq-tnh-BjJmrBFm.js";import{a as K}from"./sentry-B7C9wEq0.js";import{w as Q}from"./downloadPdf-B5WrL0K1-DumpN6AC.js";import"./pdf-CotdgJU1.js";import"./zeni-epic-state-CjUXhad7.js";import"./core-CbpF8wW5.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.js";import"./commonDimensions-DIm7kTtR-LC7HUPCB.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]="ec272990-ba79-4ec6-9713-be304644e5c5",e._sentryDebugIdIdentifier="sentry-dbid-ec272990-ba79-4ec6-9713-be304644e5c5")}catch{}})();const E=R.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},X=o.div`
1
+ import{y as F,e as T,V as t,a_ as W,o as h,O as R,x as g,l as B,at as _,h as O,h9 as V,L as q,b as J,m as s,by as U}from"./index-BBHMk1WY.js";import{n as o}from"./mui-dGxW217w.js";import{$ as G,g as H}from"./BoxItem-Bxa1M4QU-D0J-fial.js";import{a as K}from"./sentry-BHW-o2_3.js";import{w as Q}from"./downloadPdf-Dsuxeias-Cexusisr.js";import"./pdf-DjWcNDdq.js";import"./zeni-epic-state-DhC3A3VG.js";import"./core-DuAc0oH1.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./recharts-CNVQrnca.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.js";import"./commonDimensions-Oz1tdAcx-CfFEyvRP.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]="0adb18df-8ae6-4665-9b24-3ad858139bdb",e._sentryDebugIdIdentifier="sentry-dbid-0adb18df-8ae6-4665-9b24-3ad858139bdb")}catch{}})();const E=R.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},X=o.div`
2
2
  display: flex;
3
3
  padding: ${h.sp3} ${h.sp4};
4
4
  flex-direction: row;
@@ -27,7 +27,7 @@ import{y as W,e as T,V as t,a_ as F,o as h,O as R,x as g,l as B,at as _,h as O,h
27
27
  &:hover {
28
28
  color: ${e=>e.theme.colors.primary};
29
29
  }
30
- `;function ae({currentTenantCompanyName:e,data:a,index:r,controllerEmails:l,isDebitCardFeatureEnabled:i,isDebitCardSetupEnabled:n,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:y,debitCardSummary:x,productInformation:C,creditAccountInformation:S,debitAccountInformation:P,cashbackInformation:b,creditAccountRepayment:$,authParams:I,downloadEndPoint:j,boxType:k}){const f=O().analytics,[v,z]=K.useState(!1),c=T(),D=E[a.monthYearPeriod.month-1],p=`${e}-Credit-Card-Monthly-Statement-${E[a.monthYearPeriod.month-1]}-${a.monthYearPeriod.year}.pdf`,m={period:`${a.monthYearPeriod.year}-${V(a.monthYearPeriod.month)}`,format:"pdf"},u=t.jsx(X,{children:t.jsxs(Z,{children:[t.jsx(ee,{children:D}),t.jsx(te,{"data-testid":J("download-card-statement"),onClick:()=>{d.fetchState==="Completed"&&$.fetchState==="Completed"&&(!(i&&n)||y.fetchState==="Completed"&&x?.fetchState==="Completed")&&b!=null&&f.trackCardsDownloadClick(l,C,b,{fileCategory:"Credit Card Statement",fileType:"pdf",fileName:p,fileMonthYear:`${E[a.monthYearPeriod.month-1]} ${a.monthYearPeriod.year}`},"Credit Card Statements",r+1,S,P),Q(`${j}/statements?query=${encodeURIComponent(JSON.stringify(m))}`,p,I,z)},children:v?t.jsx(q,{size:"Small",start:!0}):t.jsx(ie,{windowSize:c})})]})});return t.jsx(H,{content:u,boxType:k,isDisabled:!1,isNotClickable:!0})}const L=R.getLocalizedStrings().spendManagement.chargeCard.statements,w={listItemMarginLeftRight:new g(s[3],s[8]),containerMarginTop:new g(s[0],s[2]),titleMarginLeftRight:new g(s[3],s[8])},ve=({currentTenantCompanyName:e,authParams:a,controllerEmails:r,productInformation:l,cashbackInformation:i,creditAccountInformation:n,debitAccountInformation:d,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:P,depositAccountListWithDebitCardIssued:b,creditAccountRepayment:$,debitCardSummary:I,creditAccount:j,downloadEndPoint:k,statementListView:f,onBackClick:v})=>{const z=W(),c=T(),{sortedYear:D,monthsByYearWithSortedMonth:p}=me(f.statements);return t.jsxs(se,{children:[t.jsx(F,{title:L.title,backgroundColor:z.colors.grey4,style:{zIndex:3},onBackClick:v,source:"ChargeCardStatementsPage"}),t.jsx(ce,{windowSize:c,children:f.statements.length===0?t.jsx(M,{children:t.jsx(de,{children:t.jsx(N,{windowSize:c,children:t.jsx(le,{children:L.noStatements})})})}):t.jsx(oe,{children:D.map(m=>t.jsxs(re,{children:[t.jsx(ne,{windowSize:c,children:m}),t.jsx(M,{children:p[m].map((u,A)=>t.jsx(N,{windowSize:c,children:t.jsx(ae,{productInformation:l,creditAccountInformation:n,debitAccountInformation:d,cashbackInformation:i,creditAccountRepayment:$,depositAccountListWithDebitCardIssued:b,debitCardSummary:I,controllerEmails:r,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:P,creditAccount:j,currentTenantCompanyName:e,index:A,data:u,authParams:a,downloadEndPoint:k,boxType:G(A,p[m].length)},u.id)},u.id))})]},m))})})]})},oe=o.div``,re=o.div`
30
+ `;function ae({currentTenantCompanyName:e,data:a,index:r,controllerEmails:l,isDebitCardFeatureEnabled:i,isDebitCardSetupEnabled:n,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:y,debitCardSummary:x,productInformation:C,creditAccountInformation:S,debitAccountInformation:P,cashbackInformation:b,creditAccountRepayment:$,authParams:I,downloadEndPoint:j,boxType:k}){const f=O().analytics,[v,z]=K.useState(!1),c=T(),D=E[a.monthYearPeriod.month-1],p=`${e}-Credit-Card-Monthly-Statement-${E[a.monthYearPeriod.month-1]}-${a.monthYearPeriod.year}.pdf`,m={period:`${a.monthYearPeriod.year}-${V(a.monthYearPeriod.month)}`,format:"pdf"},u=t.jsx(X,{children:t.jsxs(Z,{children:[t.jsx(ee,{children:D}),t.jsx(te,{"data-testid":J("download-card-statement"),onClick:()=>{d.fetchState==="Completed"&&$.fetchState==="Completed"&&(!(i&&n)||y.fetchState==="Completed"&&x?.fetchState==="Completed")&&b!=null&&f.trackCardsDownloadClick(l,C,b,{fileCategory:"Credit Card Statement",fileType:"pdf",fileName:p,fileMonthYear:`${E[a.monthYearPeriod.month-1]} ${a.monthYearPeriod.year}`},"Credit Card Statements",r+1,S,P),Q(`${j}/statements?query=${encodeURIComponent(JSON.stringify(m))}`,p,I,z)},children:v?t.jsx(q,{size:"Small",start:!0}):t.jsx(ie,{windowSize:c})})]})});return t.jsx(H,{content:u,boxType:k,isDisabled:!1,isNotClickable:!0})}const L=R.getLocalizedStrings().spendManagement.chargeCard.statements,w={listItemMarginLeftRight:new g(s[3],s[8]),containerMarginTop:new g(s[0],s[2]),titleMarginLeftRight:new g(s[3],s[8])},ve=({currentTenantCompanyName:e,authParams:a,controllerEmails:r,productInformation:l,cashbackInformation:i,creditAccountInformation:n,debitAccountInformation:d,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:P,depositAccountListWithDebitCardIssued:b,creditAccountRepayment:$,debitCardSummary:I,creditAccount:j,downloadEndPoint:k,statementListView:f,onBackClick:v})=>{const z=F(),c=T(),{sortedYear:D,monthsByYearWithSortedMonth:p}=me(f.statements);return t.jsxs(se,{children:[t.jsx(W,{title:L.title,backgroundColor:z.colors.grey4,style:{zIndex:3},onBackClick:v,source:"ChargeCardStatementsPage"}),t.jsx(ce,{windowSize:c,children:f.statements.length===0?t.jsx(M,{children:t.jsx(de,{children:t.jsx(N,{windowSize:c,children:t.jsx(le,{children:L.noStatements})})})}):t.jsx(oe,{children:D.map(m=>t.jsxs(re,{children:[t.jsx(ne,{windowSize:c,children:m}),t.jsx(M,{children:p[m].map((u,A)=>t.jsx(N,{windowSize:c,children:t.jsx(ae,{productInformation:l,creditAccountInformation:n,debitAccountInformation:d,cashbackInformation:i,creditAccountRepayment:$,depositAccountListWithDebitCardIssued:b,debitCardSummary:I,controllerEmails:r,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:P,creditAccount:j,currentTenantCompanyName:e,index:A,data:u,authParams:a,downloadEndPoint:k,boxType:G(A,p[m].length)},u.id)},u.id))})]},m))})})]})},oe=o.div``,re=o.div`
31
31
  margin-bottom: ${h.sp6};
32
32
  `,M=o.div``,ne=o(_)`
33
33
  margin-left: ${e=>w.titleMarginLeftRight.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{e as oe,V as t,b as y,a5 as R,a as X,o,a9 as de,x as n,a8 as te,n as pe,O as ie,at as he,c2 as ae,C as ue,l as B,a7 as me,T as ge,c8 as fe,f as j,A as xe,fD as ke,cd as De,el as Y,cj as J,m as a,eT as we,bH as $e,bv as be,ex as ye,gk as je,H as G,gl as Le}from"./index-C5NS4k1k.js";import{a as w}from"./sentry-B7C9wEq0.js";import{n as i}from"./mui-CsJjaFS3.js";import{v as Pe}from"./SuccessAnimation-AojDorqX-BdMSXfoJ.js";import"./pdf-CotdgJU1.js";import"./zeni-epic-state-CjUXhad7.js";import"./core-CbpF8wW5.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="dd8c68a3-c23a-43f5-a677-0f981306744d",e._sentryDebugIdIdentifier="sentry-dbid-dd8c68a3-c23a-43f5-a677-0f981306744d")}catch{}})();const m="checkDepositDetails",Se="amount",ve="depositTo",Fe="source",se="fileIds",O="selectDocument",M=e=>{const l=[];return e.checkFront!=null&&l.push(e.checkFront.fileId),e.checkBack!=null&&l.push(e.checkBack.fileId),{[m]:{[Se]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Fe]:e.checkDepositLocalData.source,[ve]:{allOptions:e.depositAccounts.depositAccounts.map(g=>({label:g.accountName,value:g.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[se]:l,[O]:{front:e.checkFront,back:e.checkBack}}}},b=(e,l)=>`${e}.${l}`,Ce=e=>`${e}_form`,p={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(a[3],a[4]),checkPicRowContentPaddingXAxis:new n(a[3],a[4]),labeleMarginLeft:new n(a[0],a[0]),labeleMarginBottom:new n(a[2],a[0]),labelMarginRight:new n(a[3],a[3]),labeledFieldPaddingLeft:new n(a[3],a[0]),labeledFieldPaddingRight:new n(a[3],a[2]),labeledFieldPaddingTop:new n(a[3],a[3]),labeledFieldPaddingBottom:new n(a[3],a[2]),infoLabelPaddingRight:new n(a[0],a[3]),infoLabelMarginTop:new n(a[1],a[0])},{spendManagement:Te,common:q}=ie.getLocalizedStrings(),r=Te.zeniAccounts.zeniAccountList,Be=q.documents;function ze({checkDeposit:e,analytics:l,filesEndPoint:g,openPopup:L,authParams:P,onSaveChangesToLocalStore:z,updateFilesEntity:S,onDeleteFile:v,onEditFileName:F,onCheckDpositClick:A}){const c=oe(),d=e.fetchState,C=me(d),[T,H]=w.useState(!1),[le,I]=w.useState(!1),E=p.largeLabelWidth.value(c),k=ge({mode:"all",reValidateMode:"onBlur",defaultValues:M(e),values:M(e)}),{isValid:re}=k.formState,W=s=>{const f={amount:{amount:s[m].amount??0,currencyCode:q.currency.currencyCode,currencySymbol:q.currency.currencySymbol},source:s[m].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===s[m].depositTo.selectedOption),fileIds:s[m][se]};z(f)};w.useEffect(()=>{const s=k.watch((f,{name:h})=>{h!=null&&f!=null&&fe(()=>(async(D,x)=>{if(D!=null){if(D.includes("source")||D.includes("amount"))return;const $=Object.assign({},x);W($)}})(h,f))});return()=>{s.unsubscribe()}}),w.useEffect(()=>{C==="Completed"&&d==="Not-Started"&&k.reset(M(e))},[C,d,k,e]),w.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const ne=k.handleSubmit(()=>{if(re){l.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const s=k.getValues();W(s),A?.()}});return t.jsxs(t.Fragment,{children:[le?t.jsx(Ve,{children:t.jsxs(Re,{children:[t.jsxs(Oe,{children:[t.jsx(_e,{}),t.jsxs(Ge,{children:[t.jsx(He,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(qe,{children:t.jsx(ao,{"data-testid":y("check-deposit-form-close"),onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),I(!1)},style:{width:o.sp3,height:o.sp3,color:j.heroLight}})})]})}):null,t.jsx(Xe,{children:R("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(xe,{...k,children:t.jsx("form",{id:Ce("checkDepositDetailPage"),onSubmit:ne,children:t.jsxs(Je,{children:[t.jsx(ke,{showAdditionalInfoLabel:!1,label:{label:r.checkDepositDrawer.amountLabel,width:E},formattedTextField:{type:"number",name:b(m,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:r.checkDepositDrawer.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.jsx(V,{}),t.jsx(De,{label:{label:r.checkDepositDrawer.sourceLabel,width:E},style:{width:"100%"},text:{type:"text",name:b(m,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:r.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:s=>s!=null}}}),t.jsx(V,{}),t.jsx(ce,{size:c,children:t.jsx(Qe,{size:c,children:t.jsx(Ye,{label:{label:r.checkDepositDrawer.depositToLabel,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(c),marginBottom:p.labeleMarginBottom.valuePx(c),marginRight:p.labelMarginRight.valuePx(c)}},style:{paddingTop:p.labeledFieldPaddingTop.valuePx(c),paddingBottom:p.labeledFieldPaddingBottom.valuePx(c),paddingLeft:p.labeledFieldPaddingLeft.valuePx(c),paddingRight:p.labeledFieldPaddingRight.valuePx(c),border:"none",width:"100%",outline:"none",padding:0,display:c==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:c==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(c),marginTop:p.infoLabelMarginTop.valuePx(c)},singleSelectPickerField:{valueToLogo:(s,f)=>((h,D)=>{if(!h)return null;const x=e.depositAccounts.depositAccounts.find(N=>N.id===h),$=e.depositAccounts.depositAccounts.findIndex(N=>N.id===h);return x?t.jsx(Me,{color:je($),isSelectedValue:D}):null})(s,f),valueToSubLabels:(s,f)=>((h,D)=>{if(!h)return null;const x=e.depositAccounts.depositAccounts.find($=>$.id===h);return x?D===!0?t.jsx(Ne,{children:x?.maskedAccountNumber}):t.jsxs(Ee,{children:[t.jsx(Z,{children:x?.maskedAccountNumber}),t.jsx(eo,{}),t.jsx(Z,{children:R("0,0[.]00",x?.accountBalance?.available)})]}):null})(s,f),name:b(m,"depositTo"),placeholder:r.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(s=>({label:s.accountName,value:s.id}))},textAlignment:"right",registerOptions:{required:!0,validate:s=>!(s==null||!s.selectedOption)}}})})}),t.jsx(V,{}),t.jsxs(Ze,{size:c,children:[t.jsxs(Ke,{size:c,children:[t.jsx(Ae,{children:r.checkDepositDrawer.checkPicLabel}),t.jsx(K,{isLast:!1,children:r.checkDepositDrawer.frontSide}),t.jsx(Y,{name:`${b(m,O)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:g,authParams:P,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:c==="small"?r.checkDepositDrawer.uploadDocument:r.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:T,updateFilesEntity:S,onDeleteFile:v,onFileSizeError:s=>H(s),onEditFileName:F,openPopup:L,showPhotoPicker:!0,errorInfoLabel:r.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(K,{isLast:!0,children:r.checkDepositDrawer.backSide}),t.jsx(Y,{name:`${b(m,O)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:g,authParams:P,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:c==="small"?r.checkDepositDrawer.uploadDocument:r.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:T,updateFilesEntity:S,onDeleteFile:v,onFileSizeError:s=>H(s),onEditFileName:F,openPopup:L,showPhotoPicker:!0,errorInfoLabel:r.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(oo,{children:r.checkDepositDrawer.picGuides.map(s=>t.jsxs(to,{children:[t.jsx(Ue,{}),t.jsx(Ie,{children:s})]},s))})]}),t.jsx(io,{windowSize:c,children:Be.formatJPGText10MB})]})]})})})]})}const Ae=i(B)`
1
+ import{e as oe,V as t,b as y,a5 as R,a as X,o,a9 as de,x as n,a8 as te,n as pe,O as ie,at as he,c2 as ae,C as ue,l as B,a7 as me,T as ge,c8 as fe,f as j,A as xe,fD as ke,cd as De,el as Y,cj as J,m as a,eT as we,bH as be,bv as $e,ex as ye,gk as je,H as G,gl as Le}from"./index-BBHMk1WY.js";import{a as w}from"./sentry-BHW-o2_3.js";import{n as i}from"./mui-dGxW217w.js";import{v as Pe}from"./SuccessAnimation-hijccO_0-UZ7dm-9w.js";import"./pdf-DjWcNDdq.js";import"./zeni-epic-state-DhC3A3VG.js";import"./core-DuAc0oH1.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./recharts-CNVQrnca.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="f221fd94-d221-4c60-8e3c-9ccb1c0a4b21",e._sentryDebugIdIdentifier="sentry-dbid-f221fd94-d221-4c60-8e3c-9ccb1c0a4b21")}catch{}})();const m="checkDepositDetails",Se="amount",ve="depositTo",Fe="source",se="fileIds",O="selectDocument",M=e=>{const l=[];return e.checkFront!=null&&l.push(e.checkFront.fileId),e.checkBack!=null&&l.push(e.checkBack.fileId),{[m]:{[Se]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Fe]:e.checkDepositLocalData.source,[ve]:{allOptions:e.depositAccounts.depositAccounts.map(g=>({label:g.accountName,value:g.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[se]:l,[O]:{front:e.checkFront,back:e.checkBack}}}},$=(e,l)=>`${e}.${l}`,Ce=e=>`${e}_form`,p={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(a[3],a[4]),checkPicRowContentPaddingXAxis:new n(a[3],a[4]),labeleMarginLeft:new n(a[0],a[0]),labeleMarginBottom:new n(a[2],a[0]),labelMarginRight:new n(a[3],a[3]),labeledFieldPaddingLeft:new n(a[3],a[0]),labeledFieldPaddingRight:new n(a[3],a[2]),labeledFieldPaddingTop:new n(a[3],a[3]),labeledFieldPaddingBottom:new n(a[3],a[2]),infoLabelPaddingRight:new n(a[0],a[3]),infoLabelMarginTop:new n(a[1],a[0])},{spendManagement:Te,common:q}=ie.getLocalizedStrings(),r=Te.zeniAccounts.zeniAccountList,Be=q.documents;function ze({checkDeposit:e,analytics:l,filesEndPoint:g,openPopup:L,authParams:P,onSaveChangesToLocalStore:z,updateFilesEntity:S,onDeleteFile:v,onEditFileName:F,onCheckDpositClick:A}){const c=oe(),d=e.fetchState,C=me(d),[T,H]=w.useState(!1),[le,I]=w.useState(!1),E=p.largeLabelWidth.value(c),k=ge({mode:"all",reValidateMode:"onBlur",defaultValues:M(e),values:M(e)}),{isValid:re}=k.formState,W=s=>{const f={amount:{amount:s[m].amount??0,currencyCode:q.currency.currencyCode,currencySymbol:q.currency.currencySymbol},source:s[m].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===s[m].depositTo.selectedOption),fileIds:s[m][se]};z(f)};w.useEffect(()=>{const s=k.watch((f,{name:h})=>{h!=null&&f!=null&&fe(()=>(async(D,x)=>{if(D!=null){if(D.includes("source")||D.includes("amount"))return;const b=Object.assign({},x);W(b)}})(h,f))});return()=>{s.unsubscribe()}}),w.useEffect(()=>{C==="Completed"&&d==="Not-Started"&&k.reset(M(e))},[C,d,k,e]),w.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const ne=k.handleSubmit(()=>{if(re){l.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const s=k.getValues();W(s),A?.()}});return t.jsxs(t.Fragment,{children:[le?t.jsx(Ve,{children:t.jsxs(Re,{children:[t.jsxs(Oe,{children:[t.jsx(_e,{}),t.jsxs(Ge,{children:[t.jsx(He,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(qe,{children:t.jsx(ao,{"data-testid":y("check-deposit-form-close"),onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),I(!1)},style:{width:o.sp3,height:o.sp3,color:j.heroLight}})})]})}):null,t.jsx(Xe,{children:R("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(xe,{...k,children:t.jsx("form",{id:Ce("checkDepositDetailPage"),onSubmit:ne,children:t.jsxs(Je,{children:[t.jsx(ke,{showAdditionalInfoLabel:!1,label:{label:r.checkDepositDrawer.amountLabel,width:E},formattedTextField:{type:"number",name:$(m,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:r.checkDepositDrawer.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.jsx(V,{}),t.jsx(De,{label:{label:r.checkDepositDrawer.sourceLabel,width:E},style:{width:"100%"},text:{type:"text",name:$(m,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:r.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:s=>s!=null}}}),t.jsx(V,{}),t.jsx(ce,{size:c,children:t.jsx(Qe,{size:c,children:t.jsx(Ye,{label:{label:r.checkDepositDrawer.depositToLabel,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(c),marginBottom:p.labeleMarginBottom.valuePx(c),marginRight:p.labelMarginRight.valuePx(c)}},style:{paddingTop:p.labeledFieldPaddingTop.valuePx(c),paddingBottom:p.labeledFieldPaddingBottom.valuePx(c),paddingLeft:p.labeledFieldPaddingLeft.valuePx(c),paddingRight:p.labeledFieldPaddingRight.valuePx(c),border:"none",width:"100%",outline:"none",padding:0,display:c==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:c==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(c),marginTop:p.infoLabelMarginTop.valuePx(c)},singleSelectPickerField:{valueToLogo:(s,f)=>((h,D)=>{if(!h)return null;const x=e.depositAccounts.depositAccounts.find(N=>N.id===h),b=e.depositAccounts.depositAccounts.findIndex(N=>N.id===h);return x?t.jsx(Me,{color:je(b),isSelectedValue:D}):null})(s,f),valueToSubLabels:(s,f)=>((h,D)=>{if(!h)return null;const x=e.depositAccounts.depositAccounts.find(b=>b.id===h);return x?D===!0?t.jsx(Ne,{children:x?.maskedAccountNumber}):t.jsxs(Ee,{children:[t.jsx(Z,{children:x?.maskedAccountNumber}),t.jsx(eo,{}),t.jsx(Z,{children:R("0,0[.]00",x?.accountBalance?.available)})]}):null})(s,f),name:$(m,"depositTo"),placeholder:r.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(s=>({label:s.accountName,value:s.id}))},textAlignment:"right",registerOptions:{required:!0,validate:s=>!(s==null||!s.selectedOption)}}})})}),t.jsx(V,{}),t.jsxs(Ze,{size:c,children:[t.jsxs(Ke,{size:c,children:[t.jsx(Ae,{children:r.checkDepositDrawer.checkPicLabel}),t.jsx(K,{isLast:!1,children:r.checkDepositDrawer.frontSide}),t.jsx(Y,{name:`${$(m,O)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:g,authParams:P,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:c==="small"?r.checkDepositDrawer.uploadDocument:r.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:T,updateFilesEntity:S,onDeleteFile:v,onFileSizeError:s=>H(s),onEditFileName:F,openPopup:L,showPhotoPicker:!0,errorInfoLabel:r.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(K,{isLast:!0,children:r.checkDepositDrawer.backSide}),t.jsx(Y,{name:`${$(m,O)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:g,authParams:P,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:c==="small"?r.checkDepositDrawer.uploadDocument:r.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:T,updateFilesEntity:S,onDeleteFile:v,onFileSizeError:s=>H(s),onEditFileName:F,openPopup:L,showPhotoPicker:!0,errorInfoLabel:r.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(oo,{children:r.checkDepositDrawer.picGuides.map(s=>t.jsxs(to,{children:[t.jsx(Ue,{}),t.jsx(Ie,{children:s})]},s))})]}),t.jsx(io,{windowSize:c,children:Be.formatJPGText10MB})]})]})})})]})}const Ae=i(B)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Ie=i(B)`
4
4
  color: ${e=>e.theme.colors.hero};
@@ -42,11 +42,11 @@ import{e as oe,V as t,b as y,a5 as R,a as X,o,a9 as de,x as n,a8 as te,n as pe,O
42
42
  display: flex;
43
43
  flex-direction: column;
44
44
  margin-left: ${o.sp2};
45
- `,He=i($e)`
45
+ `,He=i(be)`
46
46
  color: ${j.important};
47
47
  `,We=i(B)`
48
48
  color: ${j.important};
49
- `,Xe=i(be)`
49
+ `,Xe=i($e)`
50
50
  color: ${e=>e.theme.colors.primary};
51
51
  margin: ${o.sp5} ${o.sp0} ${o.sp3} ${o.sp0};
52
52
  `,Ye=i(ye)`