@zeniai/web-cockpit-ui 1.15.37-dev → 1.15.38-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (332) hide show
  1. package/dist/assets/ACHDetailsPage-D2Xav-UW-gmz3eqze.js +21 -0
  2. package/dist/assets/{AIPerformancePage-ByRPO3mW-V2z53xbR.js → AIPerformancePage-DlTdGosv-DyKbURC2.js} +104 -104
  3. package/dist/assets/AccountInfoPage-B8-8kUGD-pQMRLxBS.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BAzd-LkX-zhLe5kT9.js → AccountInfoPageContent-BS2TBUSE-DjSw5axw.js} +15 -15
  5. package/dist/assets/AccountLockedInfoModal-aukulrV7-DW4aghq-.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Cu_UrL9J-DtVM4SNp.js → AccountReconDetailsDrawerPage-kQJld6_N-B65yMW07.js} +18 -18
  7. package/dist/assets/AccountRow-BiEYR4Y1-ClTxn5CJ.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-Z8O9Tv5P-Ml8cuMMq.js → AccountsPromoCardStack-DBQnDPXQ-Bven8hQt.js} +32 -32
  9. package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-BtB56seB.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CKOnAq6_-DV5MHNnO.js → AddToWalletPage-C4EwdLZJ-BEbcOqOR.js} +22 -22
  11. package/dist/assets/{AgingReportsPage-CUcu_cHV-BfWkV3LB.js → AgingReportsPage-vAvkUfOS-BtReYcdm.js} +5 -5
  12. package/dist/assets/{AllUserItems-BbhDuv3Y-Sz0e_jiW.js → AllUserItems-qrYg6Gdx-BwUq_luf.js} +10 -10
  13. package/dist/assets/ApAgingDetailPage-BRYQMwo2-DVhdxG-Q.js +46 -0
  14. package/dist/assets/{AppBasePage-Cc3o50Ar-BHOC3Xzc.js → AppBasePage-DrE-W6d7-Kq-aTwFf.js} +12 -12
  15. package/dist/assets/{AppDrawerContent-moxx3tLo-Dz47vdEl.js → AppDrawerContent-ATbZG_cu-CRi0IC7G.js} +5 -5
  16. package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-BzSO-EGU.js +47 -0
  17. package/dist/assets/{ArAgingChart-DuwEWasX-BuV7tx_p.js → ArAgingChart-CuzG9AZY-CNSUQdmd.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-DGETibBB-CjzKi7D5.js → ArAgingDetailPage-DwRkcLEu-I81vxQpd.js} +6 -6
  19. package/dist/assets/{AttachmentView-Q7kiwPOS-CHDjMQDr.js → AttachmentView-BrQRChzc-mWFumGJq.js} +5 -5
  20. package/dist/assets/{BankAccountSection-Ct31GOKt-CVtHTMeV.js → BankAccountSection-hcKEMs80-ujPW3TnU.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-ko9DqAKK-CrxKdVDa.js → BankAccountWarningSection-CpxVDMSZ-BNQxexaw.js} +10 -10
  22. package/dist/assets/{BankConnectionsSettingsPage-Ds9FSEMV-DEp297UG.js → BankConnectionsSettingsPage-Bdw1K00m-Cl2UYywT.js} +14 -14
  23. package/dist/assets/{BillDetailPage-DKDNgnqK-BxQnQp30.js → BillDetailPage-D0NLFZXA-DHU3hbq9.js} +13 -13
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DUprxSDP-LgEeAw_T.js → BillPayApprovalRuleDetailPage-DkpCvYvo-ufuiC-2k.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DuRefUEE-DMdnYitl.js → BillPayApprovalRulesPage-BEqZD0GU-CWNv7fB2.js} +12 -12
  26. package/dist/assets/BillPayPromoPage-BMcP4EU5-BBffVCRN.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-UfS3JsLW-DLX3_Qs9.js → BillPaySetUpPage-WdEdbf16-DIfXsyw3.js} +2 -2
  28. package/dist/assets/BillingSettingsPage-GtRUqSZm-CK-50NW2.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DKGmWv9w-B_26Dnen.js → BillsBulkReviewDrawerPage-DAUoo9pq-BoZGtLPD.js} +1 -1
  30. package/dist/assets/{BoxItem-Qhw9iPt9-um8RiO3S.js → BoxItem-CACRFWG2-DTCzjEaX.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CVZrCy-t-CUWza1Ml.js → BusinessVerificationPage-9gZbBDL6-D4OeNnpg.js} +9 -9
  32. package/dist/assets/{CardNumberSubText-r5Tf-P5n-BTfLP1fo.js → CardNumberSubText-C-oVdziK-BTlLGD-l.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-Bo_ZMMG7-BHS7DfRM.js → CashbackDetailPage-BhFKSl4p-D1VJ-I5U.js} +20 -20
  34. package/dist/assets/{ChargeCardDetailPage-BlQdk9jC-A10jT6r0.js → ChargeCardDetailPage-D8J6HINu-Djp8X5xt.js} +39 -39
  35. package/dist/assets/{ChargeCardListPage-CsFYpoaM-DVSse2DT.js → ChargeCardListPage-tdUKyHdz-DA_gAum9.js} +30 -30
  36. package/dist/assets/{ChargeCardListTable-D8exMgXq-DvkQ54IM.js → ChargeCardListTable-CByk3iqX-Ws-6RJ3y.js} +39 -39
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-DBc981J5-C_1A5JDO.js → ChargeCardPaymentHistoryPage-B8zRcrjo-BZol_uHa.js} +39 -39
  38. package/dist/assets/ChargeCardPromoPage-C4cgx2gm-BjrgUKMy.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-Bco5-BZh-D5TeWpHv.js → ChargeCardSetupPage-DtwiTNKA-4J0P5zst.js} +4 -4
  40. package/dist/assets/{ChargeCardStatementsPage-uEDAQkC5-DiOWBHn2.js → ChargeCardStatementsPage-B0KPw52e-dCK6B2Ac.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-CNRKyz3v-Bkmn7rye.js → CheckDepositDrawerPage-DKNAXI77-C5AvAeBp.js} +15 -15
  42. package/dist/assets/{CollapsableReportTable-CoDaSHJN-BTz-2evo.js → CollapsableReportTable-Cq8bhaYC-LGo3rBU5.js} +272 -272
  43. package/dist/assets/{CompanyOfficerDetailsSection-DzleqDta-Be_JBAVv.js → CompanyOfficerDetailsSection-Rk0B5cB5-BHN1U_wu.js} +28 -28
  44. package/dist/assets/{CompanyPassportCard-CG5saSQ3-CP-F7zg-.js → CompanyPassportCard-CHaKk74P-Din-6OwH.js} +5 -5
  45. package/dist/assets/{CompanyPassportPage-ZCNGHjZ9-C54hhopH.js → CompanyPassportPage-DXWXFFKM-DEGq9YOd.js} +21 -21
  46. package/dist/assets/{CompleteProfile-BqPvCgUX-p24q1pVb.js → CompleteProfile-ChaWsK6t-Dm1N-E47.js} +1 -1
  47. package/dist/assets/ConfettiBurst-CdB5fRMt-BFN6S_bw.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-ChP9tLGZ.js → ConstrainedInnerElement-BeIpAPjB-bG4eDk9o.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CfFzrga_-Dh7VSqmF.js → CreateOrEditVendorPage-C_8Jqubo-BUW_NZ_u.js} +17 -17
  50. package/dist/assets/{CreditCardPaymentDrawerPage-Cjnbhvmv-BaSvidwl.js → CreditCardPaymentDrawerPage-lOjOtk28-j0qKs3eR.js} +11 -11
  51. package/dist/assets/CurrencySelectField-BDqU4HVy-_c0EjyDh.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-hnf-eIo--zPg7mnSU.js → CustomerOnboardingActivationPage-DO6NCakm-BohLreim.js} +29 -29
  53. package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-DYDehdNi.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DUBpQ8ln-Dayyky5R.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-BugxAqPd.js} +9 -9
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CA0h5UTQ-D70jA_5U.js → CustomerOnboardingNoStepsPage-CbG5WshV-N0QAWt53.js} +6 -6
  56. package/dist/assets/{CustomerOnboardingPage-rvO0Stsl-DR9ugrMH.js → CustomerOnboardingPage-DyVyf8oK-lwDo-U4P.js} +7 -7
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BIgNTp2U-QUMH346P.js → CustomerOnboardingProductSuitePage-1F3JfCRp-Bb5bbAyM.js} +10 -10
  58. package/dist/assets/{Dashboard-BFesVYJk-DIJsr9ee.js → Dashboard-Csggwob0-B_kkr9l_.js} +33 -33
  59. package/dist/assets/{DashboardReportPage-CdNJfWUo-CWT_hUZC.js → DashboardReportPage-DFIdi_I0-CIudpdoQ.js} +23 -23
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-CkHR7e1V.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-DJ_V8Mx7-BuWiOxQp.js → DepositAccTransactionItem-CZ7v1T4S-CDGkzdT3.js} +5 -5
  62. package/dist/assets/{DepositAccTransactionListPage-DBsJOm1m-Cdo9zknM.js → DepositAccTransactionListPage-FldPGX6K-D4yjo7wN.js} +5 -5
  63. package/dist/assets/{DomesticWireDetailsPage-B1_C38p0-CuSqBTG5.js → DomesticWireDetailsPage-C--eZ-UG-aeN-j2-T.js} +2 -2
  64. package/dist/assets/{DownloadOverlay-DYUlDQr8-CcBbvC4p.js → DownloadOverlay-4f9deyJS-BqMoJX-8.js} +26 -26
  65. package/dist/assets/{DrawerPage-jU38Lq6Q-g2fItPLT.js → DrawerPage-roO3xvRT-PSFK2zzW.js} +13 -13
  66. package/dist/assets/EditPeoplePage-pi5RclAj-x9yNFzVP.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-PRaUQsZj-BkCY6rdX.js → EditReimbursementDetailPage-CIUcImns-D0KrDI_a.js} +82 -82
  68. package/dist/assets/EntityDetailPage-OTKTVNMD-13C_FBL6.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BzzwWXw2-DmNh-Dpm.js → EntitySummarySection-fBL4TZpT-A_Fknt-h.js} +14 -14
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CMzFQB6V-BJseINtW.js → ExpenseAutomationOverviewPage-CnhNINCc-KgO80FB-.js} +47 -47
  71. package/dist/assets/ExpenseAutomationPage-BDLCJbFw-Do8AQ5Tr.js +1703 -0
  72. package/dist/assets/{ExpressPayPage-B8_m64s9-9dOOupGM.js → ExpressPayPage-c8oTCnBR-29U2DeVu.js} +17 -17
  73. package/dist/assets/{FeaturePreviewPage-BLWGNRVo-BJ3fn4Te.js → FeaturePreviewPage-DkiAajs2-a11xhmqD.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-CBVDfZ38-DEg-b5um.js → FollowStepsSection-GaWu1kt9-D7a6AHjG.js} +57 -57
  75. package/dist/assets/GlobalReviewListPage-DEzj0RVG-DjCNVwYb.js +291 -0
  76. package/dist/assets/{InformationCardStack-D8hkkUkN-BiZC_QHa.js → InformationCardStack-dMFbHUWM-1K2JUYs5.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-T3ZL19C0-BZI7t3ec.js → InsightsCardStack-BlXkyuyz-DZ79gvs7.js} +9 -9
  78. package/dist/assets/InsightsSection-D-oCmrir-CPKrgvm8.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-DKqNc7bF-G0FG4Jef.js → IntegrationsSettingsPage-D-hfghuq-CuSnTyw1.js} +6 -6
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-qzmJ8_r9-B66iPRnG.js → InternationalWireSwiftDetailsPage-DxdKE300-ChF2f0EA.js} +19 -19
  81. package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-NJeApJr8.js +65 -0
  82. package/dist/assets/{InviteFormPage-Dw-l-O7n-yNG431eF.js → InviteFormPage-BCdalqtP-Dy69iGu4.js} +16 -16
  83. package/dist/assets/{InvitePageListView-CGjk-eOP-DmnIRpgD.js → InvitePageListView-B88FW48q-BKGuzbRb.js} +48 -48
  84. package/dist/assets/InvitePeoplePage-Z-2L7lWc-0pdGCXQT.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-C8hytmay-DFE-YOJW.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-BASDviuN-Dl52KtxK.js → IssueChargeCardPage-B6wmvbEr-DO2TfaZv.js} +34 -34
  87. package/dist/assets/{LabeledAddressValue-IPGwjeYh-BmDI6MSM.js → LabeledAddressValue-CQrDCgNs-C6-5ig2u.js} +2 -2
  88. package/dist/assets/{LabeledAddressValueField-DYjUauc7-BRnlsecO.js → LabeledAddressValueField-BoHS44YO-2snjxiG6.js} +4 -4
  89. package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-idZ4OPKP.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-CekqwoGI-DN5ndG6t.js → LabeledCountryMultiSelectField-D1fVDYR_-DUR0-azH.js} +3 -3
  91. package/dist/assets/{LabeledCreatableSingleSelectField-By3V1BNi-Bq1EDd21.js → LabeledCreatableSingleSelectField-Bhka-Faj-lL2zJ3aA.js} +8 -8
  92. package/dist/assets/LabeledDocumentField-CnRk5aKZ-CMl01eck.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-CQkl7AeY-CvUsVVaa.js → LabeledDropDownFormattedTextField-ChgtJqPr-JYEhPcSE.js} +4 -4
  94. package/dist/assets/{LabeledText-D1RmgOs9-CHA_6kjw.js → LabeledText-2EDpuXZ4-BEv7vXSO.js} +5 -5
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Bw1TjzCA-D0I8R8U3.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-VFejN6_t.js} +15 -15
  96. package/dist/assets/{LabeledZeniRolesDropDownField-BiVOlFVe-DHYF2n7I.js → LabeledZeniRolesDropDownField-CpH0eDWO-BxhCmxLu.js} +26 -26
  97. package/dist/assets/LinkJETransactionPage-BhV2MnCY-X20SxNQt.js +98 -0
  98. package/dist/assets/{LockCardPage-BVpW2BeO-CYdsQ7YW.js → LockCardPage-CHv1xi2J-DwYrblSV.js} +42 -42
  99. package/dist/assets/{LowBalancePopup-DTUaytjD-qB659IJo.js → LowBalancePopup-Cb55PGLc-8xdVWK14.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-DHCMKKMo.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-DTcLhMoN.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-DPORyIsv.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-09NLbjFG-DDk2ZACW.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-BeTuROc4-DFHTf3Jg.js → MagicLinkTitleSection-BA-i6vzA-BnqIfeCZ.js} +4 -4
  105. package/dist/assets/{MailingDetailsSection-q49nDsf9-6vdFNevB.js → MailingDetailsSection-EwtoQ2TZ-uOWaBvAh.js} +6 -6
  106. package/dist/assets/{MyBankConnectionsSettingsPage-B9kH0sVB-aDPh-D-4.js → MyBankConnectionsSettingsPage-Aer6AWxY-C0T9wiMg.js} +12 -12
  107. package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-C1TCKtBk.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-DMz-6h9F-Cf_llb4W.js +85 -0
  109. package/dist/assets/NavBarWithPicker-D8WNahg--CB3fxQni.js +30 -0
  110. package/dist/assets/{NavigationArrow-BvkBQmTR-NQPFGr6S.js → NavigationArrow-kQWS5Pzb-DFRrRIxZ.js} +7 -7
  111. package/dist/assets/{NavigationDots-DyeJVxnu-C7s9J0lV.js → NavigationDots-BQb_Fodq-C9mSjIjx.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-D15HmpS7-Dpc6_q1o.js → NewGlobalMerchantPage-z86XZorn-CZCyVb5z.js} +34 -34
  113. package/dist/assets/NoDataChart-CyYJ6icu-C4lbaNyZ.js +26 -0
  114. package/dist/assets/{NoDataTable-BnwGiTCu-B-XpYLns.js → NoDataTable-DVe7sQhD-Ce3Fn9a-.js} +1 -1
  115. package/dist/assets/{NotFoundPage-Ds5RxwiG-bIj8_Xni.js → NotFoundPage-B1XCmhSe-BLt3Z8lV.js} +8 -8
  116. package/dist/assets/{NotificationSettingsPage-CeWmIGY8-BBeB8KaU.js → NotificationSettingsPage-BaN20EGV-DLtV9Q9B.js} +30 -30
  117. package/dist/assets/NotificationsListConfig-BOW_TmPC-DKP0fKrC.js +1 -0
  118. package/dist/assets/{NotificationsPage-DYE-ZefG-CAMNzvC5.js → NotificationsPage-C9efAgjo-ObRUiIF4.js} +40 -40
  119. package/dist/assets/OpExByVendorPage-DXeBU3-z-86liMDWJ.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-BUXmbpLw.js → OverlayContainerPage-D4QU0p4o-UEM2WfCE.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-vAvSbwIq-FxaNAztL.js → PandLWithForecastPage-CXtJhnA_-Cu7UVLJ1.js} +13 -13
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-2cz94sYW-B7-omVIb.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-0-NbLYs1.js} +14 -14
  123. package/dist/assets/PeoplePage-DXC2CtOt-DKKaYJrR.js +675 -0
  124. package/dist/assets/{Preview-BdB139Zx.js → Preview-AD2ECgEB.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-JcjsFk4w-aedK5xPL.js → ProductsCarousel-ufZlh7Rx-BjpRaVjF.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-D8xPcjkz-CuETeCxs.js → PromoBaseCards-D2UbhBhT-Cp6L2J8-.js} +4 -4
  127. package/dist/assets/{QBOConnectionDialog-KDwylUf5-C4EhHf0D.js → QBOConnectionDialog-BrQ71F06-DkV9wT_l.js} +6 -6
  128. package/dist/assets/QBOSetupSection-EOFscEW--QOktkObJ.js +79 -0
  129. package/dist/assets/ReimbursementApprovalRuleDetailPage-C-HPI4Ng-DcQM8wGi.js +32 -0
  130. package/dist/assets/{ReimbursementApprovalRulesPage-BcmW2ws5-C_3dLbLj.js → ReimbursementApprovalRulesPage-CMpYn5y_-B8BlhUrJ.js} +11 -11
  131. package/dist/assets/ReimbursementDetailPage-CfmICHZb-B601rTQ4.js +314 -0
  132. package/dist/assets/ReimbursementPromoPage-DXTAY8c7-DzozUo-R.js +84 -0
  133. package/dist/assets/{ReimbursementSetUpPage-B6l3L19G-DXyjcVT3.js → ReimbursementSetUpPage-KrGPXTCb-HUiNlfwH.js} +13 -13
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BjiqrxQ2-Dtgz495A.js → ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DakNrMoa.js} +1 -1
  135. package/dist/assets/{ReloadCard-pCquFw6w-BnM_2Fi3.js → ReloadCard-vAhL7B8U-B_goAZi9.js} +8 -8
  136. package/dist/assets/{ReportTableViewSelector-BOA9cxem-CwdIorRF.js → ReportTableViewSelector-Y97ney3W-oj1UWLmj.js} +28 -28
  137. package/dist/assets/{ReportsPage-BOsLdYhx-BxrDOkjq.js → ReportsPage-DKM0gVzR-DYU9qTPf.js} +4 -4
  138. package/dist/assets/{RevenueChart-DPse5Wdo-D2kesAkc.js → RevenueChart-BEjDS1u4-DVyCgAK9.js} +14 -14
  139. package/dist/assets/{ReviewDetailsPage-DTCm09MF-DQqh7n9q.js → ReviewDetailsPage-BlQLrN9z-9-UhGpZC.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-B2XV0Wf1-Bf28GIPa.js → ReviewOverlay-Bn3TFqfi-B5pVl7FJ.js} +25 -25
  141. package/dist/assets/RoleWithToolTip-DhBFvJea-D5V_Zl_5.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DLpikyWD-DWhx00_e.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-Dr379Z6t.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-DIvnRAi6-BNdcsPPK.js → ScheduleDetailsPage-BP0wdtoP-DQyiKHXe.js} +8 -8
  144. package/dist/assets/{ScheduleSequenceTable-O93ZenyD-C7msaAQw.js → ScheduleSequenceTable-D-rZ4ftr-fPoJgv62.js} +44 -44
  145. package/dist/assets/{ScreenRoutes-ceMdhqPA.js → ScreenRoutes-outCs0gE.js} +33 -33
  146. package/dist/assets/{SetUpAccountSection-Dl68db5l-CQstYRob.js → SetUpAccountSection-CoVrSSYL-CVLKd7cm.js} +5 -5
  147. package/dist/assets/SignIn-BoAejo7r-BK0KNquT.js +491 -0
  148. package/dist/assets/SignInScreen-CU3TTapZ.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-DsTTqmEx-BIrI6gfu.js → SpendManagementListViewPage-D3eISFuA-DO4OqdVE.js} +21 -21
  150. package/dist/assets/{SpendManagementPerTabPage-Dt9HEmXn-QE9XhQeM.js → SpendManagementPerTabPage-BWDjZyLp-DoJN7cmk.js} +13 -13
  151. package/dist/assets/{SpendManagementSection-DbsdVrJv-DjQ_KcId.js → SpendManagementSection-D8rBpC-y-DyxgHeCH.js} +23 -23
  152. package/dist/assets/StatementItem-Cu6dlAsl-DonsY76E.js +31 -0
  153. package/dist/assets/StatementsPage-DiY2BOcu-DylRreEj.js +58 -0
  154. package/dist/assets/{StatusSwitcher-B4EYXc0F-sKbkMf6Z.js → StatusSwitcher-B9MARTyR-Cy7gefoh.js} +5 -5
  155. package/dist/assets/{SubTabSwitcher-CM9v4rRl-CV0RCxw7.js → SubTabSwitcher-C3rtSwro-3EHI5jeE.js} +3 -3
  156. package/dist/assets/{SummaryCard-CF9Nbk_i-Dp6twn4S.js → SummaryCard-CShVbqhj-DB5MFQk3.js} +1 -1
  157. package/dist/assets/TaskManagementPage-RVS8nv0n-tU9aogRh.js +508 -0
  158. package/dist/assets/{TimeRangeSwitcher-37ytEy0X-DICNYyQp.js → TimeRangeSwitcher-DFnX6_WT-Bz52dN9I.js} +2 -2
  159. package/dist/assets/TimeframeSwitcher-CW08yYgo-DVEU43aK.js +31 -0
  160. package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-CMIQ0MlZ.js +31 -0
  161. package/dist/assets/{TopExCard-DHDNaLww-D2oLfFZT.js → TopExCard-dI_WEGWb-DmX93RkK.js} +11 -11
  162. package/dist/assets/{TopExDetailPage-DFzrCiVG-D4NG8JTY.js → TopExDetailPage-BWy5E8Lp-C7PGN6Pe.js} +14 -14
  163. package/dist/assets/{TransactionActivityLogPage-DcbQgckT-nV4bmi0D.js → TransactionActivityLogPage-DjhEIUYm-BqAAyHkb.js} +23 -23
  164. package/dist/assets/TransactionDetailPage-CuxqQd8U-BRhGr870.js +903 -0
  165. package/dist/assets/{TransactionList-DVFUdewa-FBYrpiHH.js → TransactionList-80KjM8Kg-nmpf3GsN.js} +20 -20
  166. package/dist/assets/{TransactionListBig-Daypmugt-Bw41XJ1U.js → TransactionListBig-DWQXH4ID-gJO5FBwi.js} +20 -20
  167. package/dist/assets/TransactionListPage-DC08rCC9-DuuK7AK1.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-BsKafcmj-agHNsAP_.js → TransactionVendorDetailPage-CzfJ5b_3-DQ5FHW98.js} +16 -16
  169. package/dist/assets/{TransferDrawerPage-DyFcSYZt-BgZ4hMcv.js → TransferDrawerPage-6z-MoZZP-Cmyh1SPm.js} +35 -35
  170. package/dist/assets/{TreasuryOverviewPage-BPkFbqCZ-B2yzLJOT.js → TreasuryOverviewPage-CF_ter0o-BH_5I6Jt.js} +28 -28
  171. package/dist/assets/{TreasuryPromoPage-pEVzLiB4-BgXmxaHX.js → TreasuryPromoPage-Do-PTcjI-xAPlLXRG.js} +19 -19
  172. package/dist/assets/{TreasuryStatementsPage-izaxVrJg-hXLoMVEG.js → TreasuryStatementsPage-l_HC4zsb-K7pXAcjZ.js} +1 -1
  173. package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-QmzTN19X.js +58 -0
  174. package/dist/assets/{TrendChart--F9P_tcq-CNN4cy-H.js → TrendChart-C6B61CAm-B_B-BplL.js} +3 -3
  175. package/dist/assets/{TrendWithTransactions-B0R1TMMK-qnWq6pp9.js → TrendWithTransactions-Bp3vhaPa-JockHNv7.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-CToVvQYm-BY7gFiXt.js → UncategorizedAccountsMappingPage-cbFqKAv4-MTw76BLV.js} +10 -10
  177. package/dist/assets/{UnitIntegrationPage-DGmrRY2v-BUMmB0k9.js → UnitIntegrationPage-DZ0ZpE5p-CTZgGLL6.js} +11 -11
  178. package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-DmtqFwFy.js +38 -0
  179. package/dist/assets/Vendor2FAPopup-DezpDfp8-DyrWw3U0.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-C8TWKYfc-C5wvgZIc.js +1 -0
  181. package/dist/assets/{VendorDetailPage-DTQ-KiJz-CtIjOB5J.js → VendorDetailPage-C4g_Gfsl-BuQd-4-F.js} +90 -90
  182. package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-Bt4Tg6JP.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-z9q_fohc-WDGxh1y0.js → VendorFiling1099EditablePage-Ckt2MiVN-Cg5nnhxx.js} +32 -32
  184. package/dist/assets/VendorFirstReviewPage-CIKRaTax-DDgaRz12.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-DR-BKbDb-DXyAnL2W.js → VendorInternationalWireDetailsPage-Dz8mMD8d-CqGgy0Nm.js} +15 -15
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-Ca8TaPSl.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-CWyBBs2G-BxXjMLte.js → VendorsAccountsSection-BT-RADSV-CA631Ry_.js} +3 -3
  188. package/dist/assets/{VerifyDevice-CG1Qj4Lm-BechSO2t.js → VerifyDevice-Cxc9CVMi-Db3MgQyP.js} +4 -4
  189. package/dist/assets/{VideoPlayer-BdIPlzSd-s2lXjjny.js → VideoPlayer-9UkKMhGy-Cg6ItP2B.js} +2 -2
  190. package/dist/assets/{VideoPopup-W2U47mhU-DJCIE9gC.js → VideoPopup-rfiYmtio-6YXU8HYY.js} +4 -4
  191. package/dist/assets/{WarningsDrawerPage-D0aOjGDf-BCHT8jbw.js → WarningsDrawerPage-DrUA4asI-K-jCsmCl.js} +7 -7
  192. package/dist/assets/{ZeniAccountDetailPage-DJyYOR4V-CCoqxbqL.js → ZeniAccountDetailPage-K016HgQt-OnaSURAZ.js} +13 -13
  193. package/dist/assets/{ZeniAccountListViewPage-BTOIvLCF-BOpHXOTR.js → ZeniAccountListViewPage-1oZZynB1-D25y94LI.js} +21 -21
  194. package/dist/assets/ZeniAccountNavBarPieces-C6Oicpue-CbYM8UHA.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-DYxM2WNa-D-BoqGK5.js → ZeniAccountPromoPage-BCgys-YM-C1p6fJYe.js} +23 -23
  196. package/dist/assets/{ZeniAccountSetupPage-DUq-PiMf-JBX7mxH5.js → ZeniAccountSetupPage-BubBgkoa-DQgkTkoE.js} +3 -3
  197. package/dist/assets/{ZeniCopyright-Chrw_zb6-DLZXN0I-.js → ZeniCopyright-BxIwmms--B5a_nRJg.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-CuZPJv1--BR7xYIli.js → ZeniTransferAmountSlider-DVJ0puXA-Cwv6Kq-B.js} +11 -11
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DIo2CZIu.js → add-to-wallet-DgdBD8_G-DvTxkUd9.js} +1 -1
  200. package/dist/assets/{analytics-Cu6vrn8M.js → analytics-BLsUySon.js} +1 -1
  201. package/dist/assets/analyticsHelper-B6usOI4v.js +1 -0
  202. package/dist/assets/{analyticsHelper-BqOb8jb5-CPV99l38.js → analyticsHelper-CT5zOInj-D74VaN9I.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-kBdbhD1P.js → arrow-south-east-round-PEovUgvH-B8oQ40Hs.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-DJEKOyyo.js → auto-transfer-rule-mbafm5D3-DHj1aaNg.js} +1 -1
  205. package/dist/assets/{chartTypes-kba3vib6-B2MR4DOq.js → chartTypes-Ddw_3-6f-DkCZUllf.js} +1 -1
  206. package/dist/assets/commonDimensions-ClmbdehE-DR4Uvnd8.js +1 -0
  207. package/dist/assets/{commonTypes-0d0JMX8y-C627GAKQ.js → commonTypes-B-foaEwJ-DVRX5AIJ.js} +1 -1
  208. package/dist/assets/{constants-CCigks3S.js → constants-HHaH0YWb.js} +1 -1
  209. package/dist/assets/{core-CBRgKovr.js → core-CTDonMeQ.js} +1 -1
  210. package/dist/assets/{dash.all.min-DhZ6hnTE.js → dash.all.min-Dj2yo7jC.js} +1 -1
  211. package/dist/assets/{detailCommon-ttGeF18U-D4qpemR4.js → detailCommon-Cpgf9GLg-CtGm6jLV.js} +4 -4
  212. package/dist/assets/downloadPdf-DfRYmfsd-DxcMbdS5.js +1 -0
  213. package/dist/assets/{empty-B2uWh3xi.js → empty-B8XqxOuZ.js} +1 -1
  214. package/dist/assets/{empty-CMQsz2kl.js → empty-DaBFZ939.js} +1 -1
  215. package/dist/assets/epic-CEzcY_0B.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-64yvQ1Zt.js → gift-box-Cmt9OgIZ-cqnWvVTs.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-ryfKOvP1.js → graphic-no-data-l-DU4J8fDt-D_lg6RW0.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-mzCnkzDU.js → graphic-no-data-net-burn-l-CzmycA0m-HJBTpevF.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-BpuKh2M-.js → handshake-BPg58FML-BshKAJQk.js} +1 -1
  220. package/dist/assets/{helper-YFgDgQKT-ChTt6pIM.js → helper-DP3YY99s-BmrnBGWk.js} +2 -2
  221. package/dist/assets/{index-HtwnqlX_.js → index-BUad5I9U.js} +1 -1
  222. package/dist/assets/{index-cvOajwIa.js → index-BV5JdmRQ.js} +1 -1
  223. package/dist/assets/{index-41pcAh0S.js → index-B_LiHFQR.js} +1 -1
  224. package/dist/assets/{index-C96wZ1NP.js → index-CTpNMFsf.js} +1 -1
  225. package/dist/assets/{index-mpD8Wgjn.js → index-D3GS4S-j.js} +1 -1
  226. package/dist/assets/{index-k277eteh.js → index-KKEkjzf-.js} +1 -1
  227. package/dist/assets/{index-DkG4Gq_1.js → index-RSYdG57D.js} +4012 -4036
  228. package/dist/assets/{lexical-BgntzHWG.js → lexical-CMaEqdkY.js} +1 -1
  229. package/dist/assets/{liveblocks-CZpRcduP.js → liveblocks-BR4rmGyf.js} +1 -1
  230. package/dist/assets/{lottie-CvYZqvKo.js → lottie-CZNmnTyG.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-BG5FbkDp.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Co-aYc3j-CWY-DvOX.js → mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DvN2rhw-.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-BhCEqPJc.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-T7zKYS9n.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-CATud2li-C6pZT3Hb.js → mapTimeframeBalancesToTreeNode-J3b1nb_T-AhkmN2Ki.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CpFBbrhT-BngulPhC.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-shbs2rsi.js} +1 -1
  237. package/dist/assets/{mui-jyIGzSd8.js → mui-Bi6zxcZy.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-Buq8V_y9.js → page-detail-CWX5S47F-CV7GOcsp.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-C5IVh2u2.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-DMPiIlAL.js → radio-default-CiSgisfh-eXI1n3TG.js} +1 -1
  241. package/dist/assets/{react-yv96-8fg.js → react-C52_Sjtt.js} +1 -1
  242. package/dist/assets/{react-lYk0NLUI.js → react-CgvFPXt7.js} +2 -2
  243. package/dist/assets/{react-ClOFhYh9.js → react-DUZwtObs.js} +1 -1
  244. package/dist/assets/{react-Gtsr3pXI.js → react-DhjESN1j.js} +3 -3
  245. package/dist/assets/{react-L5U6pseJ.js → react-DkrXHh1b.js} +1 -1
  246. package/dist/assets/{react-Cjxj0Nbo.js → react-DlxtP0O5.js} +1 -1
  247. package/dist/assets/{react-D3Tqpbl7.js → react-ShmrZj8p.js} +1 -1
  248. package/dist/assets/{react-ClorTrZ0.js → react-j7hSnnLx.js} +1 -1
  249. package/dist/assets/{recharts-CCz6EACy.js → recharts-B4xbIQqu.js} +1 -1
  250. package/dist/assets/{sentry-CkqzujGZ.js → sentry-D087_5zX.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-fm6EeKA_.js → shield-DOlUxcFf-CCEGxUtr.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-B8yD1irx.js +1 -0
  253. package/dist/assets/{toChartData-CLrjl2HT-BXMfDgC_.js → toChartData-BEjMhb7--B1GasRGV.js} +1 -1
  254. package/dist/assets/{uploadAttachment-_EPHKVvJ-CmJE2Ng0.js → uploadAttachment-DUpHzqMe-Cc_EdWBC.js} +22 -22
  255. package/dist/assets/uploadReceipts-Dge0cNF1-B1feT8D_.js +1 -0
  256. package/dist/assets/{url-8k_1OLIS.js → url-Cf5olbUo.js} +1 -1
  257. package/dist/assets/{url-DFL85B9k.js → url-Ctqy5RJD.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-BWF3kStl.js → useLongPress-GCK2COYQ-Dhr7C1Fb.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-BK3NR8-I.js → usp-line-BBd1wKwW-D37A1NrK.js} +1 -1
  260. package/dist/assets/{utils-CvgqAgFT.js → utils-bkVcg2I6.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-B9mN2lN3.js → zeni-epic-state-DnYFo_hK.js} +34 -34
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/ACHDetailsPage-DpLTXUS2-C9BOm7cP.js +0 -21
  265. package/dist/assets/AccountInfoPage-BfVVOaTL-DckjL0IP.js +0 -18
  266. package/dist/assets/AccountLockedInfoModal-BI8dkiAz-CFZAGVC8.js +0 -59
  267. package/dist/assets/AccountRow-nSloLUTN-CE3sEYfw.js +0 -298
  268. package/dist/assets/AddAddressForCardDrawer-GDXK5rJA-C_ZtwjVR.js +0 -6
  269. package/dist/assets/ApAgingDetailPage-DLvP7G6Q-DDl3IQdp.js +0 -46
  270. package/dist/assets/ApprovalRulesSettingsPage-BiL2dANi-C2o5sXxc.js +0 -47
  271. package/dist/assets/BillPayPromoPage-CszEgRZk-D0P3J_0s.js +0 -84
  272. package/dist/assets/BillingSettingsPage-9uV4vEJB-DguVozAn.js +0 -44
  273. package/dist/assets/ChargeCardPromoPage-Dk1xNNTk-miuUHSZp.js +0 -222
  274. package/dist/assets/ConfettiBurst-B2xVyUMV-DEL89JAQ.js +0 -1
  275. package/dist/assets/CurrencySelectField-DDmu3bja-BNO-O3TN.js +0 -139
  276. package/dist/assets/CustomerOnboardingContainerPage-7zQwgryW-otS31I_n.js +0 -1
  277. package/dist/assets/DashboardSidebarBackgroundAnimation-CJDhi61--BHCIYbNK.js +0 -12
  278. package/dist/assets/EditPeoplePage-Dw9mMyyp-f1-9G5xl.js +0 -55
  279. package/dist/assets/EntityDetailPage-C2Ix5fwl-B8StnXXW.js +0 -18
  280. package/dist/assets/ExpenseAutomationPage-BOOA30kB-N_-Pxify.js +0 -3001
  281. package/dist/assets/GlobalReviewListPage-DlBZ4OnM-C2fu2hFz.js +0 -291
  282. package/dist/assets/InsightsSection-CVioRrr2-CQNydDuX.js +0 -27
  283. package/dist/assets/InternationalWireVerificationPage-8XEibbVK-6A8_MLCQ.js +0 -65
  284. package/dist/assets/InvitePeoplePage-DSg5Quam-Dq5nqgzJ.js +0 -12
  285. package/dist/assets/InvoiceUploadSection-D_uWzQW4-CbvqsKX2.js +0 -140
  286. package/dist/assets/LabeledControlledCheckBoxField-DVf8zpcv-CZ4IjMNU.js +0 -16
  287. package/dist/assets/LabeledDocumentField-CN-BH7Gq-BZP0wEAT.js +0 -41
  288. package/dist/assets/LinkJETransactionPage-DbA8sdwa-DBvkIuZ4.js +0 -98
  289. package/dist/assets/MagicLinkACHDetailsPage-k34ybVrp-D_CHEFPJ.js +0 -1
  290. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9sI0Na-Hemtbz0E.js +0 -1
  291. package/dist/assets/MagicLinkInternationalWireDetailsPage-DI9_mzqN-C7vyw7mL.js +0 -1
  292. package/dist/assets/MagicLinkSuccessPage-RG1qZ5Kj-U9QUUYso.js +0 -31
  293. package/dist/assets/MyPendingActivationChargeCardListPage-SRoiz1Qu-V5Slt0oR.js +0 -6
  294. package/dist/assets/MyProfileSettingsPage-D40mm3Me-AyTrlPtn.js +0 -85
  295. package/dist/assets/NavBarWithPicker-DuTo0ZPb-DapJT9Ay.js +0 -30
  296. package/dist/assets/NoDataChart-j3LPkJML-CpC66_KG.js +0 -26
  297. package/dist/assets/NotificationsListConfig-_L5Loigk-K1ardY_V.js +0 -1
  298. package/dist/assets/OpExByVendorPage-Br2UmBAk-BjXqMFds.js +0 -100
  299. package/dist/assets/PeoplePage-DSSY4CbY-CcD5g39L.js +0 -727
  300. package/dist/assets/QBOSetupSection-Dts3QjOd-DUY-_5aO.js +0 -79
  301. package/dist/assets/ReimbursementApprovalRuleDetailPage-Dz5HZk-8-DvJd2LPe.js +0 -32
  302. package/dist/assets/ReimbursementDetailPage-BdJYqqCn-NfEyGt7Z.js +0 -314
  303. package/dist/assets/ReimbursementPromoPage-B7nNFf49-DnICk_J7.js +0 -84
  304. package/dist/assets/RoleWithToolTip-DpaXFRka-CPtxy--W.js +0 -22
  305. package/dist/assets/SignIn-D6twztsA-JGZcDlNc.js +0 -491
  306. package/dist/assets/SignInScreen-B8u1w4-H.js +0 -1
  307. package/dist/assets/StatementItem-D1vvnzNl-CkkTq-kC.js +0 -31
  308. package/dist/assets/StatementsPage-XAVpAiKL-CscMPaCJ.js +0 -58
  309. package/dist/assets/TaskManagementPage-ChTC8Nzf-Br8fyRY0.js +0 -508
  310. package/dist/assets/TimeframeSwitcher-Ca28fZEt-CWlm5tlu.js +0 -31
  311. package/dist/assets/TimeframeSwitcherWithToggle-BSWY0nMa-V6kfYTtF.js +0 -31
  312. package/dist/assets/TransactionDetailPage-BCTtqHfm-CEK6Tla_.js +0 -903
  313. package/dist/assets/TransactionListPage-CzwkHzb_-C-bQA5UH.js +0 -35
  314. package/dist/assets/TreasuryTaxLetterPage-DIa79RKC-Dr9Za3Kr.js +0 -58
  315. package/dist/assets/UploadAdditionalDocumentOverlay-B3JZwTBb-CY7cdGgp.js +0 -38
  316. package/dist/assets/Vendor2FAPopup-BRMPwclY-S8zya2uW.js +0 -1
  317. package/dist/assets/VendorACHDetailsPage-FgtLHn1A-5cfHGlFY.js +0 -1
  318. package/dist/assets/VendorDomesticWireDetailsPage-yy6bXxb9-BMTlrQlH.js +0 -1
  319. package/dist/assets/VendorFirstReviewPage-DTOwONia-BcMjDFZM.js +0 -730
  320. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DK94_VqZ-Fv-KXlDn.js +0 -1
  321. package/dist/assets/ZeniAccountNavBarPieces-vGgpCYIn-BV1hbgIJ.js +0 -14
  322. package/dist/assets/analyticsHelper-BLDhkF0s.js +0 -1
  323. package/dist/assets/commonDimensions-D0kIxeo5-kKnpvScR.js +0 -1
  324. package/dist/assets/downloadPdf-DX8GL4Ja-IWkEYZD_.js +0 -1
  325. package/dist/assets/epic-C1wbMD8F.js +0 -2
  326. package/dist/assets/mapLoadingInProgressToTreeNode-DuIK129X-DInaQUjS.js +0 -1
  327. package/dist/assets/mapSpacerToTreeNode-COaFWgJv-C2xmgSDc.js +0 -1
  328. package/dist/assets/mapTimeframeBalancesToTreeNode-330OiGav-Czke_85f.js +0 -1
  329. package/dist/assets/panelSelectedMixin-Cddsb26L-KwYH41Xf.js +0 -3
  330. package/dist/assets/toCOABalancesWithID-iCDy3BRW-njMoT7aW.js +0 -1
  331. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-DeMVLI5_.js +0 -1
  332. package/dist/assets/uploadReceipts-Dge0cNF1-Df05JrMP.js +0 -1
@@ -1,4 +1,4 @@
1
- import{V as t,J as he,a8 as ye,ab as ae,hy as ea,aP as aa,r as ta,T as na,aS as Ee,o as a,F as G,x as m,a as Me,d as oa,ai as ia,y as Be,bU as ra,fl as _e,z as Z,p as J,gt as ce,w as la,ar as Oe,b as ca,aR as De,a9 as sa,fE as da,cH as ma,ad as pa,f4 as ua,fI as ha,cO as ya,hJ as we,hK as ga,gg as fa,u as r,c3 as Ca,ba,fs as xa,cj as Da,am as Ne,g$ as wa,c1 as Sa,aV as $a,hL as ka,d1 as Aa,h0 as La,fU as va,fQ as Ia}from"./index-DkG4Gq_1.js";import{n as i}from"./mui-jyIGzSd8.js";import{a as p}from"./sentry-CkqzujGZ.js";import{bL as pe,bP as Fa,bh as Se,bJ as Ra,bK as $e,bI as Ta}from"./zeni-epic-state-B9mN2lN3.js";import{x as Pa}from"./LabeledControlledCheckBoxField-DVf8zpcv-CZ4IjMNU.js";import"./liveblocks-CZpRcduP.js";import"./core-CBRgKovr.js";import"./recharts-CCz6EACy.js";import"./lottie-CvYZqvKo.js";import"./analytics-Cu6vrn8M.js";import"./lexical-BgntzHWG.js";import"./utils-CvgqAgFT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="95f2b94c-66c9-4a8c-9927-106ec3c89778",e._sentryDebugIdIdentifier="sentry-dbid-95f2b94c-66c9-4a8c-9927-106ec3c89778")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},ue={pageTitle:new Z("h6Regular","h5Regular"),integerAmountInput:new Z("h5Regular","largeMedium"),decimalAmountInput:new Z("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:ke}},common:{edit:ja,labels:se,navBar:{back:za},to:Ea,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:E}}}=G.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:y,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=he(),S=Be(),v=ye().analytics,[B,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const F=te.largeLabelWidth.value(d),R=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=R?1:3,P=pe(Fa(Se().toDate(),[0,6],T).toDateString()).format(ke),_=R?E.timeline01BusinessDay:E.timeline23BusinessDays,O=R?E.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):E.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",_);return t.jsxs(t.Fragment,{children:[t.jsxs(Xa,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:za,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[E.pay," ",t.jsx(Ae,{children:t.jsx(_e,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:ue.integerAmountInput.styleObject(d),decimalStyles:ue.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",Ea," ",t.jsx(Ae,{children:Ma})]}),B?t.jsx(Ka,{children:t.jsxs(Va,{children:[t.jsxs(Za,{children:[t.jsx(Ja,{}),t.jsxs(Ya,{children:[t.jsx(Ha,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Ga,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Wa,{children:[t.jsx(ce,{label:{label:se.paymentMethod,width:F},text:t.jsx(de,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?E.bookPayment:E.sameDayACH}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.sourceAccount,width:F},text:t.jsxs(de,{windowSize:d,children:[Ue(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Ua,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.paymentDate,width:F},showAdditionalInfoLabel:!0,additionalInfoLabel:O,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(de,{windowSize:d,children:Se().format(ke)}),style:{width:"auto"}})]})})]}),t.jsx(Ee,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:E.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)},style:{minWidth:94}},primaryBtn:{label:E.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},Ue=(e,o,h)=>{if(o==="")return t.jsx(st,{});const n=e.find(c=>c.id===o),f=e.findIndex(c=>c.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:h,children:t.jsx(ct,{color:wa(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:h,loading:"lazy"}):t.jsx(it,{isOptionSelected:h,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${va}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(ba)`
1
+ import{V as t,J as he,a8 as ye,aQ as ae,hx as ea,aO as aa,i as ta,T as na,aS as Ee,o as a,F as Z,y as m,x as Me,c as oa,ah as ia,d as Be,bU as ra,fk as _e,H as X,p as J,gs as ce,b as la,aq as Oe,R as ca,aR as De,a9 as sa,fD as da,cG as ma,ac as pa,f3 as ua,fH as ha,cN as ya,hI as we,hJ as ga,gf as fa,u as r,c3 as Ca,ba,fr as xa,cj as Da,al as Ne,g_ as wa,c1 as Sa,aV as ka,hK as $a,d0 as Aa,g$ as La,fT as va,fP as Ia}from"./index-RSYdG57D.js";import{n as i}from"./mui-Bi6zxcZy.js";import{a as p}from"./sentry-D087_5zX.js";import{bL as pe,bP as Fa,bh as Se,bJ as Ra,bK as ke,bI as Ta}from"./zeni-epic-state-DnYFo_hK.js";import{x as Pa}from"./LabeledControlledCheckBoxField-BsFqjCpn-idZ4OPKP.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="fbca6138-bcd9-4988-9cbb-2bd76c83077c",e._sentryDebugIdIdentifier="sentry-dbid-fbca6138-bcd9-4988-9cbb-2bd76c83077c")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},ue={pageTitle:new X("h6Regular","h5Regular"),integerAmountInput:new X("h5Regular","largeMedium"),decimalAmountInput:new X("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:$e}},common:{edit:ja,labels:se,navBar:{back:za},to:Ea,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:E}}}=Z.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:y,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=he(),S=Be(),v=ye().analytics,[B,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const F=te.largeLabelWidth.value(d),R=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=R?1:3,P=pe(Fa(Se().toDate(),[0,6],T).toDateString()).format($e),_=R?E.timeline01BusinessDay:E.timeline23BusinessDays,O=R?E.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):E.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",_);return t.jsxs(t.Fragment,{children:[t.jsxs(Ka,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:za,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[E.pay," ",t.jsx(Ae,{children:t.jsx(_e,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:ue.integerAmountInput.styleObject(d),decimalStyles:ue.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",Ea," ",t.jsx(Ae,{children:Ma})]}),B?t.jsx(qa,{children:t.jsxs(Va,{children:[t.jsxs(Xa,{children:[t.jsx(Ja,{}),t.jsxs(Ya,{children:[t.jsx(Ha,{children:e.error?.title}),t.jsx(Ga,{children:e.error?.message})]})]}),t.jsx(Za,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Wa,{children:[t.jsx(ce,{label:{label:se.paymentMethod,width:F},text:t.jsx(de,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?E.bookPayment:E.sameDayACH}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.sourceAccount,width:F},text:t.jsxs(de,{windowSize:d,children:[Ue(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Ua,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.paymentDate,width:F},showAdditionalInfoLabel:!0,additionalInfoLabel:O,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(de,{windowSize:d,children:Se().format($e)}),style:{width:"auto"}})]})})]}),t.jsx(Ee,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:E.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)},style:{minWidth:94}},primaryBtn:{label:E.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},Ue=(e,o,h)=>{if(o==="")return t.jsx(st,{});const n=e.find(c=>c.id===o),f=e.findIndex(c=>c.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:h,children:t.jsx(ct,{color:wa(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:h,loading:"lazy"}):t.jsx(it,{isOptionSelected:h,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${va}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(ba)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  padding-top: ${a.sp3};
4
4
  white-space: nowrap;
@@ -31,9 +31,9 @@ import{V as t,J as he,a8 as ye,ab as ae,hy as ea,aP as aa,r as ta,T as na,aS as
31
31
  margin-left: ${a.sp2};
32
32
  `,Ha=i(Da)`
33
33
  color: ${J.important};
34
- `,qa=i(Ne)`
34
+ `,Ga=i(Ne)`
35
35
  color: ${J.important};
36
- `,Ka=i.div`
36
+ `,qa=i.div`
37
37
  margin-top: ${a.sp3};
38
38
  display: flex;
39
39
  background-color: ${e=>e.theme.colors.grey5};
@@ -42,15 +42,15 @@ import{V as t,J as he,a8 as ye,ab as ae,hy as ea,aP as aa,r as ta,T as na,aS as
42
42
  border: ${e=>`1px solid ${e.theme.colors.grey3}`};
43
43
  border-radius: ${a.sp2};
44
44
  box-shadow: ${e=>`${a.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
45
- `,Xa=i.div`
45
+ `,Ka=i.div`
46
46
  height: auto;
47
47
  padding-left: ${e=>`${te.containerPaddingLeft.valuePx(e.windowSize)}`};
48
48
  padding-right: ${e=>`${te.containerPaddingRight.valuePx(e.windowSize)}`};
49
49
  margin-bottom: auto;
50
- `,Za=i.div`
50
+ `,Xa=i.div`
51
51
  display: flex;
52
52
  align-items: flex-start;
53
- `,Ga=i.div``,Ja=i(xa)`
53
+ `,Za=i.div``,Ja=i(xa)`
54
54
  width: ${a.sp4};
55
55
  height: ${a.sp4};
56
56
  color: ${J.important};
@@ -129,10 +129,10 @@ import{V as t,J as he,a8 as ye,ab as ae,hy as ea,aP as aa,r as ta,T as na,aS as
129
129
  margin-right: 12px;
130
130
  margin-left: ${a.sp1};
131
131
  color: ${e=>e.theme.colors.hero};
132
- `,{common:me,spendManagement:{zeniAccounts:{zeniAccountList:dt},billPay:{insufficientFunds:mt},chargeCard:{payEarly:X}},commonSetUp:{setUp:{accountsPlg:ie}}}=G.getLocalizedStrings(),We="amount",pt="withdrawFrom",V="paymentDetails",Ve="creditCardPaymentPage",re=(e,o)=>`${e}.${o}`,Ye=e=>`${e}_form`,w={largeLabelWidth:new m(120,120,160),labelMarginLeftPicker:new m(r[3],r[4]),labelMarginRightPicker:new m(r[3],r[4]),labelMarginTopPicker:new m(r[2],r[2]),labeledFieldPaddingLeft:new m(r[2],r[0]),labeledFieldPaddingRight:new m(r[2],r[2]),labeledFieldPaddingTop:new m(r[2],r[2]),labeledFieldPaddingBottom:new m(r[2],r[2]),infoLabelPaddingRight:new m(r[0],r[3]),infoLabelMarginTop:new m(r[1],r[0]),checkBoxTop:new m(r[1],r[0])},ve={integerAmountInput:new Z("h5Regular","h2Regular"),decimalAmountInput:new Z("largeSemiBold","h5Medium")};function ut({autoPayThreshold:e,plaidConnectionDetails:o,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:f,paymentAccount:c,isAccountsEnabled:y,onSaveChangesToLocalStore:L,onUpdatePaymentAccountStatus:C,onEstablishConnectionClick:g,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:b,setShowReviewLoading:d,onSignUpAccountClick:S,onMoveMoneyClick:v,isCashbackInfoFetchStateCompleted:B,isCreditCardInfoFetchStateCompleted:I,isDebitCardInfoFetchStateCompleted:F,controllerEmails:R,productInformation:T,cashbackInformation:P,paymentSourceInformation:_,creditAccountInformation:O,debitAccountInformation:Q}){const s=he(),ee=Be(),oe=w.largeLabelWidth.value(s),$=ye().analytics,N=p.useRef(null),[U,W]=p.useState(!1),[A,Y]=p.useState(void 0),D=o.link_account,H=o.update_account,k=A==="update_account"?H:D,[q,ge]=p.useState(k.linkToken??null),fe=De(D.updateStatus.fetchState),K=sa({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>Ie(n),[n]),values:p.useMemo(()=>Ie(n),[n])}),Ce=c?.isLoginRequired??!1,j=c?.providerVerificationStatus?.code,be=De(H.updateStatus.fetchState),He=p.useCallback((l,u)=>{const z=u.accounts.find(Qe=>Qe.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&A==="update_account"&&z?.verification_status!=null&&!Ce?C(z?.verification_status,c.paymentAccountId,"update_account"):g?.(l,A),Y(void 0),W(!1)},[c?.paymentAccountId,c?.providerAccountId,A,Ce,C,g]),qe=p.useCallback((l,u)=>{l!=null&&(l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&c?.paymentAccountId!=null&&C("verification_failed",c.paymentAccountId,"update_account"),console.log("Plaid Connection Error",l,u)),Y(void 0),W(!1)},[c?.paymentAccountId,C]),{open:le,ready:xe}=da({token:q,onSuccess:He,onExit:qe});p.useEffect(()=>{(fe==="In-Progress"&&D.updateStatus.fetchState==="Completed"||be==="In-Progress"&&H.updateStatus.fetchState==="Completed")&&(Ra(j??"")||(b?.("link_account"),x()))},[D.updateStatus.fetchState,x,b,fe,be,H.updateStatus.fetchState,j]),p.useEffect(()=>{($e(j??"")||j==="verification_failed")&&!U&&A!=null&&k.linkToken===q&&k.fetchStatus.fetchState==="Completed"&&xe&&W(!0)},[xe,q,k.fetchStatus.fetchState,k.linkToken,j,A,U]),p.useEffect(()=>{k.fetchStatus.fetchState==="Completed"&&k.linkToken!=null&&k.linkToken!==q&&ge(k.linkToken)},[k.fetchStatus.fetchState,k.linkToken,q]),p.useEffect(()=>{U&&le()},[U,le]),p.useEffect(()=>{(j==null||j==="verification_failed"||j==="verification_expired"||$e(j))&&(pe(new Date().toISOString()).isAfter(D.expiration)||D.linkToken==null)&&b?.("link_account")},[]);const{isValid:Ke}=K.formState,Xe=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const z=Fe(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(z)}},Ze=l=>{if(f!=null)return f;const u=n.transferFromAccounts.find(z=>z.id===l);return u?.accountBalance?.available!=null&&Ta(n.chargeCardRepaymentDetailLocalData.amount,u?.accountBalance?.available)?mt.addMoney:""};p.useEffect(()=>{const l=K.watch((u,{name:z})=>{z!=null&&u!=null&&ma(()=>Xe(z,u))});return()=>{l.unsubscribe()}});const Ge=K.watch("paymentDetails.amount"),Je=K.handleSubmit(()=>{if(Ke){const l=K.getValues(),u=Fe(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(u),d(!0),B&&I&&F&&P!=null&&$.trackCardsPayEarlyFormClick(R,T,P,"Review",n.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:n.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:n.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:n.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:n.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},_,O,Q)}});return t.jsxs(t.Fragment,{children:[t.jsx(Ct,{children:t.jsx(_e,{amount:{amount:Ge??0,currencyCode:n.chargeCardRepaymentDetailLocalData.amount.currencyCode,currencySymbol:n.chargeCardRepaymentDetailLocalData.amount.currencySymbol},integerStyles:ve.integerAmountInput.styleObject(s),decimalStyles:ve.decimalAmountInput.styleObject(s)})}),t.jsx(pa,{...K,children:t.jsx(ft,{id:Ye(Ve),onSubmit:Je,children:t.jsxs(bt,{children:[t.jsx(ua,{selectRef:N,label:{label:me.labels.transferFrom,width:oe,style:{marginLeft:w.labelMarginLeftPicker.valuePx(s),marginTop:w.labelMarginTopPicker.valuePx(s),marginRight:w.labelMarginRightPicker.valuePx(s),width:w.largeLabelWidth.value(s)}},style:{paddingTop:w.labeledFieldPaddingTop.valuePx(s),paddingBottom:w.labeledFieldPaddingBottom.valuePx(s),paddingLeft:w.labeledFieldPaddingLeft.valuePx(s),paddingRight:w.labeledFieldPaddingRight.valuePx(s),border:"none",width:"auto",display:"flex"},infoLabelStyle:{textAlign:"right",paddingRight:w.infoLabelPaddingRight.valuePx(s),marginTop:w.infoLabelMarginTop.valuePx(s),color:J.brandColorGoldDark},bottomComponent:t.jsx(Pa,{label:{label:X.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:ee.colors.primary}},style:{width:"unset",marginRight:a.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:re(V,"enableAutoPay"),checkBoxValue:re(V,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:w.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:re(V,pt),placeholder:ya(me.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(l,u)=>Ue(n.transferFromAccounts,l,u),valueToSubLabels:(l,u)=>ha(n.transferFromAccounts,l,u,!0),defaultValue:{selectedOption:n.chargeCardRepaymentDetailLocalData.transferFrom?.id,allOptions:n.transferFromAccounts.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption},showCreateOption:!0,onClickCreateOption:()=>{Y("link_account"),D.linkToken==null||pe(new Date().toISOString()).isAfter(D.expiration)?b?.("link_account"):q!==D.linkToken?ge(D.linkToken):U?le():W(!0)}},valueToAdditionalLabel:Ze}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?t.jsx(we,{maxInsuredAmount:h,heading:t.jsxs(ht,{windowSize:s,children:[X.earn,t.jsx(yt,{children:X.percentageCashback.replace("__percentage__",ga)}),X.whenYouPayViaZeniChecking]}),buttonText:y?ie.switchButtonText:ie.signUpButtonText,isAccountsEnabled:y,pageName:X.creditCardPayment,onSignUpClick:S,onSwitchClick:()=>{N.current!=null&&N.current.focus()}}):n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"&&n?.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available.amount<n.chargeCardRepaymentDetailLocalData.amount.amount?t.jsx(we,{maxInsuredAmount:h,heading:ie.moveMoneyHeading,buttonText:ie.moveMoneyButtonText,isAccountsEnabled:y,pageName:X.creditCardPayment,onMoveMoneyClick:v}):t.jsx(gt,{}),t.jsx(fa,{showAdditionalInfoLabel:!1,label:{label:me.labels.amount,width:oe},formattedTextField:{type:"number",name:re(V,We),defaultValue:n.chargeCardRepaymentDetailLocalData.amount.amount===0?void 0:n.chargeCardRepaymentDetailLocalData.amount.amount,placeholder:dt.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto",paddingLeft:w.labeledFieldPaddingLeft.valuePx(s)}})]})})})]})}const ht=i($a)`
132
+ `,{common:me,spendManagement:{zeniAccounts:{zeniAccountList:dt},billPay:{insufficientFunds:mt},chargeCard:{payEarly:K}},commonSetUp:{setUp:{accountsPlg:ie}}}=Z.getLocalizedStrings(),We="amount",pt="withdrawFrom",V="paymentDetails",Ve="creditCardPaymentPage",re=(e,o)=>`${e}.${o}`,Ye=e=>`${e}_form`,w={largeLabelWidth:new m(120,120,160),labelMarginLeftPicker:new m(r[3],r[4]),labelMarginRightPicker:new m(r[3],r[4]),labelMarginTopPicker:new m(r[2],r[2]),labeledFieldPaddingLeft:new m(r[2],r[0]),labeledFieldPaddingRight:new m(r[2],r[2]),labeledFieldPaddingTop:new m(r[2],r[2]),labeledFieldPaddingBottom:new m(r[2],r[2]),infoLabelPaddingRight:new m(r[0],r[3]),infoLabelMarginTop:new m(r[1],r[0]),checkBoxTop:new m(r[1],r[0])},ve={integerAmountInput:new X("h5Regular","h2Regular"),decimalAmountInput:new X("largeSemiBold","h5Medium")};function ut({autoPayThreshold:e,plaidConnectionDetails:o,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:f,paymentAccount:c,isAccountsEnabled:y,onSaveChangesToLocalStore:L,onUpdatePaymentAccountStatus:C,onEstablishConnectionClick:g,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:b,setShowReviewLoading:d,onSignUpAccountClick:S,onMoveMoneyClick:v,isCashbackInfoFetchStateCompleted:B,isCreditCardInfoFetchStateCompleted:I,isDebitCardInfoFetchStateCompleted:F,controllerEmails:R,productInformation:T,cashbackInformation:P,paymentSourceInformation:_,creditAccountInformation:O,debitAccountInformation:Q}){const s=he(),ee=Be(),oe=w.largeLabelWidth.value(s),k=ye().analytics,N=p.useRef(null),[U,W]=p.useState(!1),[A,Y]=p.useState(void 0),D=o.link_account,H=o.update_account,$=A==="update_account"?H:D,[G,ge]=p.useState($.linkToken??null),fe=De(D.updateStatus.fetchState),q=sa({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>Ie(n),[n]),values:p.useMemo(()=>Ie(n),[n])}),Ce=c?.isLoginRequired??!1,j=c?.providerVerificationStatus?.code,be=De(H.updateStatus.fetchState),He=p.useCallback((l,u)=>{const z=u.accounts.find(Qe=>Qe.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&A==="update_account"&&z?.verification_status!=null&&!Ce?C(z?.verification_status,c.paymentAccountId,"update_account"):g?.(l,A),Y(void 0),W(!1)},[c?.paymentAccountId,c?.providerAccountId,A,Ce,C,g]),Ge=p.useCallback((l,u)=>{l!=null&&(l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&c?.paymentAccountId!=null&&C("verification_failed",c.paymentAccountId,"update_account"),console.log("Plaid Connection Error",l,u)),Y(void 0),W(!1)},[c?.paymentAccountId,C]),{open:le,ready:xe}=da({token:G,onSuccess:He,onExit:Ge});p.useEffect(()=>{(fe==="In-Progress"&&D.updateStatus.fetchState==="Completed"||be==="In-Progress"&&H.updateStatus.fetchState==="Completed")&&(Ra(j??"")||(b?.("link_account"),x()))},[D.updateStatus.fetchState,x,b,fe,be,H.updateStatus.fetchState,j]),p.useEffect(()=>{(ke(j??"")||j==="verification_failed")&&!U&&A!=null&&$.linkToken===G&&$.fetchStatus.fetchState==="Completed"&&xe&&W(!0)},[xe,G,$.fetchStatus.fetchState,$.linkToken,j,A,U]),p.useEffect(()=>{$.fetchStatus.fetchState==="Completed"&&$.linkToken!=null&&$.linkToken!==G&&ge($.linkToken)},[$.fetchStatus.fetchState,$.linkToken,G]),p.useEffect(()=>{U&&le()},[U,le]),p.useEffect(()=>{(j==null||j==="verification_failed"||j==="verification_expired"||ke(j))&&(pe(new Date().toISOString()).isAfter(D.expiration)||D.linkToken==null)&&b?.("link_account")},[]);const{isValid:qe}=q.formState,Ke=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const z=Fe(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(z)}},Xe=l=>{if(f!=null)return f;const u=n.transferFromAccounts.find(z=>z.id===l);return u?.accountBalance?.available!=null&&Ta(n.chargeCardRepaymentDetailLocalData.amount,u?.accountBalance?.available)?mt.addMoney:""};p.useEffect(()=>{const l=q.watch((u,{name:z})=>{z!=null&&u!=null&&ma(()=>Ke(z,u))});return()=>{l.unsubscribe()}});const Ze=q.watch("paymentDetails.amount"),Je=q.handleSubmit(()=>{if(qe){const l=q.getValues(),u=Fe(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(u),d(!0),B&&I&&F&&P!=null&&k.trackCardsPayEarlyFormClick(R,T,P,"Review",n.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:n.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:n.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:n.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:n.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},_,O,Q)}});return t.jsxs(t.Fragment,{children:[t.jsx(Ct,{children:t.jsx(_e,{amount:{amount:Ze??0,currencyCode:n.chargeCardRepaymentDetailLocalData.amount.currencyCode,currencySymbol:n.chargeCardRepaymentDetailLocalData.amount.currencySymbol},integerStyles:ve.integerAmountInput.styleObject(s),decimalStyles:ve.decimalAmountInput.styleObject(s)})}),t.jsx(pa,{...q,children:t.jsx(ft,{id:Ye(Ve),onSubmit:Je,children:t.jsxs(bt,{children:[t.jsx(ua,{selectRef:N,label:{label:me.labels.transferFrom,width:oe,style:{marginLeft:w.labelMarginLeftPicker.valuePx(s),marginTop:w.labelMarginTopPicker.valuePx(s),marginRight:w.labelMarginRightPicker.valuePx(s),width:w.largeLabelWidth.value(s)}},style:{paddingTop:w.labeledFieldPaddingTop.valuePx(s),paddingBottom:w.labeledFieldPaddingBottom.valuePx(s),paddingLeft:w.labeledFieldPaddingLeft.valuePx(s),paddingRight:w.labeledFieldPaddingRight.valuePx(s),border:"none",width:"auto",display:"flex"},infoLabelStyle:{textAlign:"right",paddingRight:w.infoLabelPaddingRight.valuePx(s),marginTop:w.infoLabelMarginTop.valuePx(s),color:J.brandColorGoldDark},bottomComponent:t.jsx(Pa,{label:{label:K.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:ee.colors.primary}},style:{width:"unset",marginRight:a.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:re(V,"enableAutoPay"),checkBoxValue:re(V,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:w.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:re(V,pt),placeholder:ya(me.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(l,u)=>Ue(n.transferFromAccounts,l,u),valueToSubLabels:(l,u)=>ha(n.transferFromAccounts,l,u,!0),defaultValue:{selectedOption:n.chargeCardRepaymentDetailLocalData.transferFrom?.id,allOptions:n.transferFromAccounts.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption},showCreateOption:!0,onClickCreateOption:()=>{Y("link_account"),D.linkToken==null||pe(new Date().toISOString()).isAfter(D.expiration)?b?.("link_account"):G!==D.linkToken?ge(D.linkToken):U?le():W(!0)}},valueToAdditionalLabel:Xe}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?t.jsx(we,{maxInsuredAmount:h,heading:t.jsxs(ht,{windowSize:s,children:[K.earn,t.jsx(yt,{children:K.percentageCashback.replace("__percentage__",ga)}),K.whenYouPayViaZeniChecking]}),buttonText:y?ie.switchButtonText:ie.signUpButtonText,isAccountsEnabled:y,pageName:K.creditCardPayment,onSignUpClick:S,onSwitchClick:()=>{N.current!=null&&N.current.focus()}}):n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"&&n?.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available.amount<n.chargeCardRepaymentDetailLocalData.amount.amount?t.jsx(we,{maxInsuredAmount:h,heading:ie.moveMoneyHeading,buttonText:ie.moveMoneyButtonText,isAccountsEnabled:y,pageName:K.creditCardPayment,onMoveMoneyClick:v}):t.jsx(gt,{}),t.jsx(fa,{showAdditionalInfoLabel:!1,label:{label:me.labels.amount,width:oe},formattedTextField:{type:"number",name:re(V,We),defaultValue:n.chargeCardRepaymentDetailLocalData.amount.amount===0?void 0:n.chargeCardRepaymentDetailLocalData.amount.amount,placeholder:dt.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto",paddingLeft:w.labeledFieldPaddingLeft.valuePx(s)}})]})})})]})}const ht=i(ka)`
133
133
  color: ${e=>e.theme.colors.primary};
134
134
  width: ${e=>e.windowSize==="small"?"80%":"100%"};
135
- `,yt=i(ka)`
135
+ `,yt=i($a)`
136
136
  color: ${e=>e.theme.colors.primary};
137
137
  `,gt=i.div`
138
138
  display: flex;
@@ -157,7 +157,7 @@ import{V as t,J as he,a8 as ye,ab as ae,hy as ea,aP as aa,r as ta,T as na,aS as
157
157
  border: 1px solid ${e=>e.theme.colors.grey3};
158
158
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
159
159
  border-radius: ${a.sp2};
160
- `,Fe=(e,o,h)=>({amount:{amount:e[V].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:o.find(n=>n.id===e[V].withdrawFrom.selectedOption),isAutoRepayment:e[V].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(16,40,56),containerPaddingRight:new m(16,40,56),successContentMargin:new m(r[3],r[12]),buttonTrayGap:new m(r[4],r[5])},xt={sectionTitle:new Z("h6Regular","h5Regular")},Re=G.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,M=G.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:Te}=G.getLocalizedStrings(),Dt=({autoPayThreshold:e,paymentDetails:o,maxInsuredAmount:h,isAccountsEnabled:n,productInformation:f,controllerEmails:c,creditAccountInformation:y,creditAccountSpentAmount:L,debitAccountInformation:C,cashbackInformation:g,paymentSourceInformation:x,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,paymentInitiatedDate:v,onSaveChangesToLocalStore:B,onTransferClick:I,sourcePage:F,onBackNavigation:R,onDismissClick:T,onEstablishConnectionClick:P,onFetchLinkTokenClick:_,plaidConnectionDetails:O,onSignUpAccountClick:Q,onMoveMoneyClick:s,onUpdatePaymentAccountStatus:ee,onEstablishConnectionSuccess:oe})=>{const $=he(),N=ye().analytics,[U,W]=p.useState(!1),[A,Y]=p.useState(!1);p.useEffect(()=>{A&&setTimeout(()=>{Y(!1),W(!0)},1e3)},[A]);const D=o.chargeCardRepaymentDetailLocalData.amount.amount===L,H=o.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount";return t.jsx(wt,{windowSize:$,children:o.updateStatus==="Completed"?t.jsxs(Pe,{windowSize:$,isTransferCompleted:!0,children:[t.jsx(je,{windowSize:$,children:t.jsx(ze,{"data-testid":ae("cross-credit-card-payment-success-close-button"),onClick:()=>{b&&d&&S&&g!=null&&N.trackCardsPayEarlyFormClick(c,f,g,"Cross Icon",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,y,C),T?.()}})}),t.jsxs(At,{windowSize:$,children:[t.jsx(ea,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(St,{children:t.jsxs(t.Fragment,{children:[M.youvePaid,t.jsx($t,{children:aa("0,0.[00]",o.chargeCardRepaymentDetailLocalData.amount)}),Re.transferDrawer.internal.transferSuccessMsgMidfix,`"${o.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,H?D?M.theCreditLimitWillResetWithin1BusinessDay:M.theCreditLimitWillUpdateWithin1BusinessDay:D?M.theCreditLimitWillResetWithin23BusinessDays:M.theCreditLimitWillUpdateWithin23BusinessDays]})}),t.jsx(kt,{windowSize:$,children:t.jsx(ta,{variant:"primary",label:F==="cardPaymentHistory"?M.goToPaymentHistory:M.goToCards,"data-testid":ae("back-to-cards-button"),onClick:R})})]})]}):U?t.jsx(_a,{paymentDetails:o,setShowReviewContent:W,onTransferClick:I,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,controllerEmails:c,productInformation:f,cashbackInformation:g,paymentSourceInformation:x,creditAccountInformation:y,debitAccountInformation:C}):t.jsxs(t.Fragment,{children:[t.jsxs(Pe,{windowSize:$,isTransferCompleted:!1,children:[t.jsx(je,{windowSize:$,children:t.jsx(ze,{"data-testid":ae("cross-amount-details-close-button"),onClick:()=>{b&&d&&S&&g!=null&&N.trackCardsPayEarlyFormClick(c,f,g,"Cross Icon",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:v?.add(3,"day").format(Te.visual.MMMDCommaYYYYformat),paymentInitiatedDate:v?.format(Te.visual.MMMDCommaYYYYformat)},x,y,C),T?.()}})}),$==="small"?t.jsx(Lt,{windowSize:$,children:M.payCreditCardBalance}):t.jsx(vt,{children:M.payCreditCardBalance}),o.fetchState==="Completed"?t.jsx(ut,{autoPayThreshold:e,maxInsuredAmount:h,onSaveChangesToLocalStore:B,plaidConnectionDetails:O,paymentDetails:o,setShowReviewLoading:Y,onEstablishConnectionSuccess:oe,isAccountsEnabled:n,onFetchLinkTokenClick:_,onUpdatePaymentAccountStatus:ee,onEstablishConnectionClick:P,onSignUpAccountClick:Q,onMoveMoneyClick:s,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,controllerEmails:c,productInformation:f,cashbackInformation:g,paymentSourceInformation:x,creditAccountInformation:y,debitAccountInformation:C}):t.jsx(na,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),t.jsx(Ee,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ye(Ve),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:G.getLocalizedStrings().common.review,isLoading:A},cancelBtn:{label:Re.transferDrawer.cancelBtn,onClick:()=>{b&&d&&S&&g!=null&&N.trackCardsPayEarlyFormClick(c,f,g,"Cancel",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,y,C),T?.()}}})]})})},wt=i.div`
160
+ `,Fe=(e,o,h)=>({amount:{amount:e[V].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:o.find(n=>n.id===e[V].withdrawFrom.selectedOption),isAutoRepayment:e[V].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(16,40,56),containerPaddingRight:new m(16,40,56),successContentMargin:new m(r[3],r[12]),buttonTrayGap:new m(r[4],r[5])},xt={sectionTitle:new X("h6Regular","h5Regular")},Re=Z.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,M=Z.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:Te}=Z.getLocalizedStrings(),Dt=({autoPayThreshold:e,paymentDetails:o,maxInsuredAmount:h,isAccountsEnabled:n,productInformation:f,controllerEmails:c,creditAccountInformation:y,creditAccountSpentAmount:L,debitAccountInformation:C,cashbackInformation:g,paymentSourceInformation:x,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,paymentInitiatedDate:v,onSaveChangesToLocalStore:B,onTransferClick:I,sourcePage:F,onBackNavigation:R,onDismissClick:T,onEstablishConnectionClick:P,onFetchLinkTokenClick:_,plaidConnectionDetails:O,onSignUpAccountClick:Q,onMoveMoneyClick:s,onUpdatePaymentAccountStatus:ee,onEstablishConnectionSuccess:oe})=>{const k=he(),N=ye().analytics,[U,W]=p.useState(!1),[A,Y]=p.useState(!1);p.useEffect(()=>{A&&setTimeout(()=>{Y(!1),W(!0)},1e3)},[A]);const D=o.chargeCardRepaymentDetailLocalData.amount.amount===L,H=o.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount";return t.jsx(wt,{windowSize:k,children:o.updateStatus==="Completed"?t.jsxs(Pe,{windowSize:k,isTransferCompleted:!0,children:[t.jsx(je,{windowSize:k,children:t.jsx(ze,{"data-testid":ae("cross-credit-card-payment-success-close-button"),onClick:()=>{b&&d&&S&&g!=null&&N.trackCardsPayEarlyFormClick(c,f,g,"Cross Icon",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,y,C),T?.()}})}),t.jsxs(At,{windowSize:k,children:[t.jsx(ea,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(St,{children:t.jsxs(t.Fragment,{children:[M.youvePaid,t.jsx(kt,{children:aa("0,0.[00]",o.chargeCardRepaymentDetailLocalData.amount)}),Re.transferDrawer.internal.transferSuccessMsgMidfix,`"${o.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,H?D?M.theCreditLimitWillResetWithin1BusinessDay:M.theCreditLimitWillUpdateWithin1BusinessDay:D?M.theCreditLimitWillResetWithin23BusinessDays:M.theCreditLimitWillUpdateWithin23BusinessDays]})}),t.jsx($t,{windowSize:k,children:t.jsx(ta,{variant:"primary",label:F==="cardPaymentHistory"?M.goToPaymentHistory:M.goToCards,"data-testid":ae("back-to-cards-button"),onClick:R})})]})]}):U?t.jsx(_a,{paymentDetails:o,setShowReviewContent:W,onTransferClick:I,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,controllerEmails:c,productInformation:f,cashbackInformation:g,paymentSourceInformation:x,creditAccountInformation:y,debitAccountInformation:C}):t.jsxs(t.Fragment,{children:[t.jsxs(Pe,{windowSize:k,isTransferCompleted:!1,children:[t.jsx(je,{windowSize:k,children:t.jsx(ze,{"data-testid":ae("cross-amount-details-close-button"),onClick:()=>{b&&d&&S&&g!=null&&N.trackCardsPayEarlyFormClick(c,f,g,"Cross Icon",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:v?.add(3,"day").format(Te.visual.MMMDCommaYYYYformat),paymentInitiatedDate:v?.format(Te.visual.MMMDCommaYYYYformat)},x,y,C),T?.()}})}),k==="small"?t.jsx(Lt,{windowSize:k,children:M.payCreditCardBalance}):t.jsx(vt,{children:M.payCreditCardBalance}),o.fetchState==="Completed"?t.jsx(ut,{autoPayThreshold:e,maxInsuredAmount:h,onSaveChangesToLocalStore:B,plaidConnectionDetails:O,paymentDetails:o,setShowReviewLoading:Y,onEstablishConnectionSuccess:oe,isAccountsEnabled:n,onFetchLinkTokenClick:_,onUpdatePaymentAccountStatus:ee,onEstablishConnectionClick:P,onSignUpAccountClick:Q,onMoveMoneyClick:s,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,controllerEmails:c,productInformation:f,cashbackInformation:g,paymentSourceInformation:x,creditAccountInformation:y,debitAccountInformation:C}):t.jsx(na,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),t.jsx(Ee,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ye(Ve),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:Z.getLocalizedStrings().common.review,isLoading:A},cancelBtn:{label:Re.transferDrawer.cancelBtn,onClick:()=>{b&&d&&S&&g!=null&&N.trackCardsPayEarlyFormClick(c,f,g,"Cancel",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,y,C),T?.()}}})]})})},wt=i.div`
161
161
  display: flex;
162
162
  flex-direction: column;
163
163
  background-color: ${e=>e.theme.colors.grey4};
@@ -168,14 +168,14 @@ import{V as t,J as he,a8 as ye,ab as ae,hy as ea,aP as aa,r as ta,T as na,aS as
168
168
  color: ${e=>e.theme.colors.primary};
169
169
  text-align: center;
170
170
  white-space: pre-line;
171
- `,$t=i(ia)`
171
+ `,kt=i(ia)`
172
172
  display: inline;
173
173
  `,Pe=i.div`
174
174
  height: ${e=>e.isTransferCompleted?"100%":"auto"};
175
175
  padding-left: ${e=>`${ne.containerPaddingLeft.valuePx(e.windowSize)}`};
176
176
  padding-right: ${e=>`${ne.containerPaddingRight.valuePx(e.windowSize)}`};
177
177
  margin-bottom: auto;
178
- `,kt=i.div`
178
+ `,$t=i.div`
179
179
  display: flex;
180
180
  justify-content: center;
181
181
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
@@ -0,0 +1,139 @@
1
+ import{cK as M,d as N,ew as _,F as H,V as l,eF as P,bI as L,o,dm as z,aQ as x,cu as Q,bJ as b,al as B,b as w,f4 as K,f5 as T,f6 as X,ai as J,bH as W,x as Y,p as m}from"./index-RSYdG57D.js";import{a as S}from"./sentry-D087_5zX.js";import{n}from"./mui-Bi6zxcZy.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]="c7e23d01-354d-4778-b904-91f0af8b19c4",e._sentryDebugIdIdentifier="sentry-dbid-c7e23d01-354d-4778-b904-91f0af8b19c4")}catch{}})();const $e=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:f,formState:{errors:y}}=M(),g=N(),[j,k]=S.useState(!1),C=_(y,e??""),D=H.getLocalizedStrings().common.currency,I=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??D.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:g.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,border:`1px solid ${g.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:g.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(P,{name:e,control:f,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return S.createElement(L,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:I(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Z,Option:q,Input:U,SingleValue:ee,ValueContainer:G,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:be,MenuList:A},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},Z=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(b.Control,{...e,className:"select-control",children:e.children})})},q=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(b.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},A=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(Q,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:f,style:y})=>l.jsx(ce,{style:y,children:t[f]})})},G=e=>l.jsx(b.ValueContainer,{...e,className:"select-value-container",children:e.children}),U=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(b.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(b.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(B)`
2
+ color: ${e=>e.theme.colors.primary};
3
+ `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&K(e)===!1)return l.jsx(l.Fragment,{});{const r=T[`${X(e??"")}`];return l.jsx(ie,{children:l.jsx(r,{width:o.sp4,height:o.sp3})})}},te=n.span`
4
+ width: 100%;
5
+ background-color: ${e=>e.hasError?m.importantLight:e.menuIsOpen?e.theme.colors.background:e.controlStyle?.backgroundColor!=null?e.controlStyle?.backgroundColor:e.theme.colors.grey5};
6
+ border-radius: ${o.sp1};
7
+ cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
8
+ .select-control {
9
+ border: none;
10
+ height: ${o.sp6};
11
+ background-color: inherit;
12
+ box-shadow: none;
13
+ &:hover {
14
+ fill: ${e=>e.theme.colors.primary};
15
+ background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.hasError?m.importantLight:e.theme.colors.background};
16
+ border-color: none;
17
+ }
18
+ width: auto;
19
+ min-height: auto;
20
+ cursor: pointer;
21
+ }
22
+
23
+ .select-value-container {
24
+ width: 100%;
25
+ display: flex;
26
+ margin: ${o.sp0} ${o.sp3};
27
+ padding: 0;
28
+ max-width: 100%;
29
+ height: 100%;
30
+ min-width: auto;
31
+ align-items: center;
32
+ flex-wrap: nowrap;
33
+ cursor: pointer;
34
+ justify-content: ${e=>e.controlStyle?.justifyContent!=null?e.controlStyle?.justifyContent:e.menuIsOpen===!1?"flex-end":"flex-start"};
35
+
36
+ .currency-select-field__single-value {
37
+ display: flex;
38
+ margin: ${o.sp0};
39
+ color: ${e=>e.hasError?m.important:e.theme.colors.primary};
40
+ ${w.standardRegular.css};
41
+ }
42
+
43
+ .currency-select-field__input-container {
44
+ display: flex;
45
+ width: ${e=>e.menuIsOpen===!1&&e.selectedValue!=null?o.sp0:"100%"};
46
+ position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
47
+ ${w.standardRegular.css};
48
+ color: ${e=>e.hasError===!0?m.important:e.theme.colors.primary};
49
+ margin: ${o.sp0};
50
+ cursor: inherit;
51
+ top: ${o.sp2};
52
+
53
+ > input {
54
+ text-align: ${e=>e.isFocused===!1&&e.selectedValue==null?"right":"initial"};
55
+ text-align: ${e=>e.isFocused===!1?"right":"left"};
56
+ align-items: center;
57
+ overflow: hidden;
58
+ cursor: inherit;
59
+ :disabled {
60
+ visibility: visible;
61
+ }
62
+ ::placeholder {
63
+ color: ${e=>e.hasError?m.important:e.theme.colors.grey1};
64
+ }
65
+ }
66
+ }
67
+ }
68
+ `,re=n.div`
69
+ border-radius: inherit;
70
+ .select-option {
71
+ ${w.smallRegular.css};
72
+ height: ${o.sp6};
73
+ padding: 9px ${o.sp3};
74
+ color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.champion};
75
+ opacity: ${e=>e.isDisabled?.32:1};
76
+ background-color: ${e=>e.isSelected?e.theme.colors.grey3:e.theme.colors.grey5};
77
+ ${e=>e.isFocused&&`background-color: ${e.theme.colors.background}`};
78
+ cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
79
+ border-top: none;
80
+ border-radius: inherit;
81
+ .close-tick-icon {
82
+ display: none;
83
+ }
84
+
85
+ &:hover {
86
+ background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
87
+ color: ${e=>e.isDisabled?e.theme.colors.champion:e.theme.colors.primary};
88
+ .right-tick-icon {
89
+ display: ${e=>e.isOptionRemovable?"none":"inline-block"};
90
+ }
91
+ .close-tick-icon {
92
+ display: ${e=>e.isOptionRemovable?"inline-block":"none"};
93
+ }
94
+ }
95
+ }
96
+ `,se=n.div`
97
+ display: flex;
98
+ flex-direction: row;
99
+ align-items: center;
100
+ justify-content: space-between;
101
+ `,ie=n.div`
102
+ padding-right: ${o.sp2};
103
+ display: flex;
104
+ align-items: center;
105
+ justify-content: space-between;
106
+ fill: initial;
107
+ color: initial;
108
+ `,ne=n(J)`
109
+ padding-right: 10px;
110
+ cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
111
+ ${e=>e.isSelected&&"cursor: default"};
112
+ `,ae=n.div`
113
+ width: ${e=>e.isSelected?`calc(100% - ${o.sp3})`:"100%"};
114
+ display: flex;
115
+ align-items: center;
116
+ justify-content: space-between;
117
+ `,ce=n.div`
118
+ :first-of-type {
119
+ border-top-left-radius: ${o.sp1};
120
+ border-top-right-radius: ${o.sp1};
121
+ }
122
+
123
+ :last-of-type {
124
+ border-bottom-left-radius: ${o.sp1};
125
+ border-bottom-right-radius: ${o.sp1};
126
+ }
127
+ `,de=n.div`
128
+ display: flex;
129
+ `,ue=n(W)`
130
+ width: 12px;
131
+ height: 12px;
132
+ margin-right: 2px;
133
+ margin-left: ${o.sp1};
134
+ color: ${e=>e.theme.colors.primary};
135
+ `,pe=n(Y)`
136
+ width: ${o.sp3};
137
+ height: ${o.sp3};
138
+ color: ${e=>e.theme.colors.primary};
139
+ `,he=()=>null,me=()=>null,be=()=>null;export{$e as S};
@@ -1,12 +1,12 @@
1
- import{J as u,V as t,F as c,aR as l,ab as p,T as g,o as i,ag as h,b as x,d as m}from"./index-DkG4Gq_1.js";import{a as f}from"./sentry-CkqzujGZ.js";import{n as o}from"./mui-jyIGzSd8.js";import"./liveblocks-CZpRcduP.js";import"./core-CBRgKovr.js";import"./recharts-CCz6EACy.js";import"./zeni-epic-state-B9mN2lN3.js";import"./lottie-CvYZqvKo.js";import"./analytics-Cu6vrn8M.js";import"./lexical-BgntzHWG.js";import"./utils-CvgqAgFT.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]="f415379c-1ad4-4769-9c64-e3e6a34f1462",e._sentryDebugIdIdentifier="sentry-dbid-f415379c-1ad4-4769-9c64-e3e6a34f1462")}catch{}})();const b=o.div`
1
+ import{J as b,V as t,F as c,aR as l,aQ as p,T as g,o,af as h,R as x,c as m}from"./index-RSYdG57D.js";import{a as f}from"./sentry-D087_5zX.js";import{n as i}from"./mui-Bi6zxcZy.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./zeni-epic-state-DnYFo_hK.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.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]="7dfdabb8-9aed-4150-901d-f370a04a71c8",e._sentryDebugIdIdentifier="sentry-dbid-7dfdabb8-9aed-4150-901d-f370a04a71c8")}catch{}})();const u=i.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
5
- `,$=o.div`
5
+ `,$=i.div`
6
6
  display: flex;
7
7
  flex: 1 1 auto;
8
8
  flex-direction: column;
9
- padding: ${i.sp0} 20px;
9
+ padding: ${o.sp0} 20px;
10
10
  width: 240px;
11
11
  box-sizing: border-box;
12
12
  position: fixed;
@@ -14,13 +14,13 @@ import{J as u,V as t,F as c,aR as l,ab as p,T as g,o as i,ag as h,b as x,d as m}
14
14
  height: 100%;
15
15
  z-index: 4;
16
16
  background: ${e=>e.theme.colors.background};
17
- `,y=o(h)`
18
- margin: 20px 12px ${i.sp0} ${i.sp0};
19
- height: ${i.sp4};
17
+ `,y=i(h)`
18
+ margin: 20px 12px ${o.sp0} ${o.sp0};
19
+ height: ${o.sp4};
20
20
  width: 102px;
21
21
  color: ${e=>e.theme.colors.primary};
22
22
  cursor: pointer;
23
- `,j=o.div`
23
+ `,j=i.div`
24
24
  display: flex;
25
25
  flex: 1 1 auto;
26
26
  flex-direction: column;
@@ -33,39 +33,39 @@ import{J as u,V as t,F as c,aR as l,ab as p,T as g,o as i,ag as h,b as x,d as m}
33
33
  height: 100%;
34
34
  left: 240px;
35
35
  background: ${e=>e.theme.colors.background};
36
- `,w=o(x)`
36
+ `,w=i(x)`
37
37
  color: ${e=>e.theme.colors.primary};
38
- margin-bottom: ${i.sp1};
39
- padding: ${i.sp0} ${i.sp3};
38
+ margin-bottom: ${o.sp1};
39
+ padding: ${o.sp0} ${o.sp3};
40
40
  text-align: center;
41
- `,v=o(m)`
41
+ `,v=i(m)`
42
42
  color: ${e=>e.theme.colors.hero};
43
- padding: ${i.sp0} ${i.sp3};
43
+ padding: ${o.sp0} ${o.sp3};
44
44
  text-align: center;
45
- `,k=o.div`
46
- margin-top: ${i.sp3};
47
- `,z=({dashboardFetchState:e,onZeniLogoClick:r,onDashboardFetchDone:n})=>{const{title:a,subTitle:d}=c.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return f.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&n()},[e,s,n]),t.jsxs(b,{children:[t.jsx($,{children:t.jsx(y,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:r})}),t.jsxs(j,{children:[t.jsx(w,{children:a}),t.jsx(v,{children:d}),t.jsx(k,{children:t.jsx(g,{size:"Large",start:!0})})]})]})},I=o.div`
45
+ `,k=i.div`
46
+ margin-top: ${o.sp3};
47
+ `,z=({dashboardFetchState:e,onZeniLogoClick:r,onDashboardFetchDone:n})=>{const{title:a,subTitle:d}=c.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return f.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&n()},[e,s,n]),t.jsxs(u,{children:[t.jsx($,{children:t.jsx(y,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:r})}),t.jsxs(j,{children:[t.jsx(w,{children:a}),t.jsx(v,{children:d}),t.jsx(k,{children:t.jsx(g,{size:"Large",start:!0})})]})]})},I=i.div`
48
48
  display: flex;
49
49
  flex-direction: column;
50
50
  height: 100vh;
51
51
  position: relative;
52
- `,D=o.div`
52
+ `,D=i.div`
53
53
  width: 100%;
54
54
  position: absolute;
55
- `,L=o.div`
55
+ `,L=i.div`
56
56
  position: relative;
57
57
  display: flex;
58
58
  -webkit-box-align: center;
59
59
  align-items: center;
60
60
  justify-content: center;
61
- padding: ${i.sp0} ${i.sp3};
62
- min-height: ${i.sp8};
63
- `,P=o(h)`
64
- height: ${i.sp4};
61
+ padding: ${o.sp0} ${o.sp3};
62
+ min-height: ${o.sp8};
63
+ `,P=i(h)`
64
+ height: ${o.sp4};
65
65
  width: 102px;
66
66
  color: ${e=>e.theme.colors.primary};
67
67
  cursor: pointer;
68
- `,T=o.div`
68
+ `,T=i.div`
69
69
  display: flex;
70
70
  flex: 1 1 auto;
71
71
  flex-direction: column;
@@ -73,16 +73,16 @@ import{J as u,V as t,F as c,aR as l,ab as p,T as g,o as i,ag as h,b as x,d as m}
73
73
  align-items: center;
74
74
  justify-content: center;
75
75
  background: ${e=>e.theme.colors.background};
76
- padding: ${i.sp0} ${i.sp3};
77
- `,F=o(x)`
76
+ padding: ${o.sp0} ${o.sp3};
77
+ `,S=i(x)`
78
78
  color: ${e=>e.theme.colors.primary};
79
- margin-bottom: ${i.sp1};
79
+ margin-bottom: ${o.sp1};
80
80
  text-align: center;
81
81
  width: 100%;
82
- `,S=o(m)`
82
+ `,C=i(m)`
83
83
  color: ${e=>e.theme.colors.hero};
84
84
  text-align: center;
85
85
  width: 100%;
86
- `,C=o.div`
87
- margin-top: ${i.sp3};
88
- `,E=({dashboardFetchState:e,onZeniLogoClick:r,onDashboardFetchDone:n})=>{const{title:a,subTitle:d}=c.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return f.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&n()},[e,s,n]),t.jsxs(I,{children:[t.jsx(D,{children:t.jsx(L,{children:t.jsx(P,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:r})})}),t.jsxs(T,{children:[t.jsx(F,{children:a}),t.jsx(S,{children:d}),t.jsx(C,{children:t.jsx(g,{size:"Large",start:!0})})]})]})},G=e=>u()==="small"?t.jsx(E,{...e}):t.jsx(z,{...e});export{G as default};
86
+ `,F=i.div`
87
+ margin-top: ${o.sp3};
88
+ `,E=({dashboardFetchState:e,onZeniLogoClick:r,onDashboardFetchDone:n})=>{const{title:a,subTitle:d}=c.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return f.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&n()},[e,s,n]),t.jsxs(I,{children:[t.jsx(D,{children:t.jsx(L,{children:t.jsx(P,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:r})})}),t.jsxs(T,{children:[t.jsx(S,{children:a}),t.jsx(C,{children:d}),t.jsx(F,{children:t.jsx(g,{size:"Large",start:!0})})]})]})},B=e=>b()==="small"?t.jsx(E,{...e}):t.jsx(z,{...e});export{B as default};
@@ -0,0 +1 @@
1
+ import{V as o}from"./index-RSYdG57D.js";import i from"./CustomerOnboardingNoStepsPage-CbG5WshV-N0QAWt53.js";import e from"./CustomerOnboardingPage-DyVyf8oK-lwDo-U4P.js";import"./sentry-D087_5zX.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./zeni-epic-state-DnYFo_hK.js";import"./mui-Bi6zxcZy.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";import"./PaymentAccountSetupBillingAddressSection-Deb_ngk6-0-NbLYs1.js";import"./commonTypes-B-foaEwJ-DVRX5AIJ.js";import"./SetUpAccountSection-CoVrSSYL-CVLKd7cm.js";import"./CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-BugxAqPd.js";import"./CompanyOfficerDetailsSection-Rk0B5cB5-BHN1U_wu.js";import"./helper-DP3YY99s-BmrnBGWk.js";import"./LabeledAddressValueField-BoHS44YO-2snjxiG6.js";import"./LabeledCountryMultiSelectField-D1fVDYR_-DUR0-azH.js";import"./LabeledCreatableSingleSelectField-Bhka-Faj-lL2zJ3aA.js";import"./LabeledDocumentField-CnRk5aKZ-CMl01eck.js";import"./QBOSetupSection-EOFscEW--QOktkObJ.js";import"./QBOConnectionDialog-BrQ71F06-DkV9wT_l.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="40d6dab5-38a9-4228-8d10-71cf3b8985c7",t._sentryDebugIdIdentifier="sentry-dbid-40d6dab5-38a9-4228-8d10-71cf3b8985c7")}catch{}})();const P=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(i,{...t}):o.jsx(e,{...t});export{P as default};
@@ -1,4 +1,4 @@
1
- import{V as s,ab as v,bo as E,y as f,J as T,bQ as b,o as t,u as I,x as $,ag as R,F as N,p as u,Q as P,hR as U,fT as L,at as W,an as _,hS as J}from"./index-DkG4Gq_1.js";import{n as r}from"./mui-jyIGzSd8.js";import{P as S}from"./sentry-CkqzujGZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c65a03c1-ce27-4378-9c11-863630419809",e._sentryDebugIdIdentifier="sentry-dbid-c65a03c1-ce27-4378-9c11-863630419809")}catch{}})();const O=r(J)`
1
+ import{V as s,aQ as v,bo as E,d as f,J as I,bQ as b,o as t,u as T,y as $,af as R,F as N,p as u,G as P,hQ as U,fS as L,as as W,am as _,hR as J}from"./index-RSYdG57D.js";import{n as r}from"./mui-Bi6zxcZy.js";import{P as S}from"./sentry-D087_5zX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="74358670-d115-4449-9c4d-9a68403fd6ae",e._sentryDebugIdIdentifier="sentry-dbid-74358670-d115-4449-9c4d-9a68403fd6ae")}catch{}})();const O=r(J)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,Q=r.div`
4
4
  position: relative;
@@ -22,7 +22,7 @@ import{V as s,ab as v,bo as E,y as f,J as T,bQ as b,o as t,u as I,x as $,ag as R
22
22
  pointer-events: none;
23
23
  z-index: 1;
24
24
  }
25
- `,V=({valueEnd:e,valueStart:i,children:o})=>{const[l,d]=S.useState(i);return S.useEffect(()=>{const n=setTimeout(()=>{d(e)},100);return()=>clearTimeout(n)},[e]),s.jsx(s.Fragment,{children:o(l)})},F=({valueEnd:e=50})=>{const i=f();return s.jsx(V,{valueStart:0,valueEnd:e,children:o=>s.jsx(Q,{theme:i,children:s.jsx(O,{value:o,strokeWidth:50,circleRatio:1,styles:{...U({pathColor:u.success,trailColor:"transparent",pathTransitionDuration:1.5,rotation:1,strokeLinecap:"butt"}),root:{width:t.sp3,height:t.sp3,position:"relative",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center"}}})})})},w=({isActive:e,isCompleted:i,isDisabled:o,isError:l,isHalfCompleted:d,theme:n})=>e||i||d||l?l?u.runwayRed:n.colors.primary:o?n.colors.grey1:n.colors.hero,k=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:l,theme:d})=>e||i||l?d.colors.primary:o?d.colors.grey1:d.colors.hero,M=r.div`
25
+ `,F=({valueEnd:e,valueStart:i,children:o})=>{const[l,d]=S.useState(i);return S.useEffect(()=>{const n=setTimeout(()=>{d(e)},100);return()=>clearTimeout(n)},[e]),s.jsx(s.Fragment,{children:o(l)})},G=({valueEnd:e=50})=>{const i=f();return s.jsx(F,{valueStart:0,valueEnd:e,children:o=>s.jsx(Q,{theme:i,children:s.jsx(O,{value:o,strokeWidth:50,circleRatio:1,styles:{...U({pathColor:u.success,trailColor:"transparent",pathTransitionDuration:1.5,rotation:1,strokeLinecap:"butt"}),root:{width:t.sp3,height:t.sp3,position:"relative",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center"}}})})})},w=({isActive:e,isCompleted:i,isDisabled:o,isError:l,isHalfCompleted:d,theme:n})=>e||i||d||l?l?u.runwayRed:n.colors.primary:o?n.colors.grey1:n.colors.hero,k=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:l,theme:d})=>e||i||l?d.colors.primary:o?d.colors.grey1:d.colors.hero,V=r.div`
26
26
  width: 100%;
27
27
  display: flex;
28
28
  background: ${e=>e.isActive?e.theme.colors.grey5:null};
@@ -41,31 +41,31 @@ import{V as s,ab as v,bo as E,y as f,J as T,bQ as b,o as t,u as I,x as $,ag as R
41
41
  color: ${e=>k({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.isDisabled,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
42
42
  }
43
43
  }
44
- `,Z=r.div`
44
+ `,B=r.div`
45
45
  margin-right: ${t.sp2};
46
46
  margin-top: 2px;
47
- `,q=r(L)`
47
+ `,Z=r(L)`
48
48
  width: ${t.sp3};
49
49
  height: ${t.sp3};
50
50
  color: ${u.success};
51
- `,B=r(P)`
51
+ `,q=r(P)`
52
52
  width: ${t.sp3};
53
53
  height: ${t.sp3};
54
54
  color: ${u.runwayRed};
55
- `,G=r.div`
55
+ `,K=r.div`
56
56
  height: ${t.sp3};
57
57
  width: ${t.sp3};
58
58
  border: 1px solid
59
59
  ${e=>e.isActive?e.theme.colors.primary:e.disabledStep?e.theme.colors.grey2:e.theme.colors.hero};
60
60
  border-radius: 50%;
61
- `,K=r.div`
61
+ `,M=r.div`
62
62
  display: flex;
63
63
  flex-direction: column;
64
64
  `,X=r(W)`
65
65
  color: ${e=>w({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isError:e.isError,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
66
66
  `,Y=r(_)`
67
67
  color: ${e=>k({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
68
- `;function ee({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:l,isDisabled:d,isError:n,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:a}){const c=d||a.includes(e)&&i===!1;return s.jsxs(M,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:l,isError:n,onClick:d===!1?()=>{a.includes(e)&&i===!1||(p(!0),g(e))}:void 0,"data-testid":v("step-box",e),children:[s.jsx(Z,{children:n?s.jsx(B,{}):l?s.jsx(F,{}):o?s.jsx(q,{}):s.jsx(G,{isActive:i,disabledStep:c})}),s.jsxs(K,{children:[s.jsx(X,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,isError:n,children:h}),s.jsx(Y,{className:"step-content-subtitle",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,children:m})]})]})}const te=r.div`
68
+ `;function ee({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:l,isDisabled:d,isError:n,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:a}){const c=d||a.includes(e)&&i===!1;return s.jsxs(V,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:l,isError:n,onClick:d===!1?()=>{a.includes(e)&&i===!1||(p(!0),g(e))}:void 0,"data-testid":v("step-box",e),children:[s.jsx(B,{children:n?s.jsx(q,{}):l?s.jsx(G,{}):o?s.jsx(Z,{}):s.jsx(K,{isActive:i,disabledStep:c})}),s.jsxs(M,{children:[s.jsx(X,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,isError:n,children:h}),s.jsx(Y,{className:"step-content-subtitle",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,children:m})]})]})}const te=r.div`
69
69
  display: flex;
70
70
  flex: 1 1 auto;
71
71
  margin-top: 84px;
@@ -159,4 +159,4 @@ import{V as s,ab as v,bo as E,y as f,J as T,bQ as b,o as t,u as I,x as $,ag as R
159
159
  box-sizing: border-box;
160
160
  align-items: center;
161
161
  justify-content: center;
162
- `,xe=({isNoStepsPage:e=!1})=>{const i=f(),o=T();return s.jsx(pe,{isNoStepsPage:e,children:s.jsx(ce,{windowSize:o,children:s.jsxs(he,{children:[s.jsx(C,{children:s.jsx(b,{width:y.titleRectangleWidth.value(o),height:I[6],backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})}),s.jsx(C,{children:s.jsx(b,{width:y.subTitleRectangleWidth.value(o),height:27,backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})})]})})})};export{x as a,be as b,xe as f};
162
+ `,xe=({isNoStepsPage:e=!1})=>{const i=f(),o=I();return s.jsx(pe,{isNoStepsPage:e,children:s.jsx(ce,{windowSize:o,children:s.jsxs(he,{children:[s.jsx(C,{children:s.jsx(b,{width:y.titleRectangleWidth.value(o),height:T[6],backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})}),s.jsx(C,{children:s.jsx(b,{width:y.subTitleRectangleWidth.value(o),height:27,backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})})]})})})};export{x as a,be as b,xe as f};
@@ -1,4 +1,4 @@
1
- import{a8 as se,V as o,fB as Ce,J as be,y as Pe,a9 as we,aR as xe,cH as ke,bD as Ie,o as i,ab as Ae,ad as Ve,aS as $e,bo as ve,hP as Oe,F as Te,f1 as je,f2 as oe,ag as Le,x as J,am as ze,u as A}from"./index-DkG4Gq_1.js";import{n as c}from"./mui-jyIGzSd8.js";import{a as V}from"./sentry-CkqzujGZ.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-2cz94sYW-B7-omVIb.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-DUBpQ8ln-Dayyky5R.js";import"./liveblocks-CZpRcduP.js";import"./core-CBRgKovr.js";import"./recharts-CCz6EACy.js";import"./zeni-epic-state-B9mN2lN3.js";import"./lottie-CvYZqvKo.js";import"./analytics-Cu6vrn8M.js";import"./lexical-BgntzHWG.js";import"./utils-CvgqAgFT.js";import"./commonTypes-0d0JMX8y-C627GAKQ.js";import"./SetUpAccountSection-Dl68db5l-CQstYRob.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="71063a31-9709-4b8f-94d7-d488bed1deb2",e._sentryDebugIdIdentifier="sentry-dbid-71063a31-9709-4b8f-94d7-d488bed1deb2")}catch{}})();const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},De=e=>`${e}_form`,Ee=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:v,googleAPIKey:O,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:z,updateCardPaymentModalState:P,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:w,onUpdateCustomerView:D,...E})=>{const m=be(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=E,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:$(e),values:$(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=Ee,{footer:ue,steps:pe}=ce,{buttons:W}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};V.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),V.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset($(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),D(me,!1,!0))};V.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset($(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=V.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(He,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx(Ve,{...r,children:o.jsx(Ne,{id:De(ie),children:o.jsxs(Re,{children:[o.jsx(We,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx($e,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(ve,{signedInUser:b,currentTenant:T,onLogOutClick:G})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:W.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:W.submitText.replace("__action__",W.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(_e,{handleConfirmCardSetupIntent:z,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:v,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
1
+ import{a8 as se,V as o,fA as Ce,J as be,d as Pe,a9 as we,aR as xe,cG as ke,bD as Ie,o as i,aQ as Ae,ac as $e,aS as Oe,bo as Ve,hO as ve,F as Te,f0 as je,f1 as oe,af as Le,y as J,al as Ue,u as A}from"./index-RSYdG57D.js";import{n as c}from"./mui-Bi6zxcZy.js";import{a as $}from"./sentry-D087_5zX.js";import{r as _e,t as ze}from"./PaymentAccountSetupBillingAddressSection-Deb_ngk6-0-NbLYs1.js";import{f as De}from"./CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-BugxAqPd.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./zeni-epic-state-DnYFo_hK.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";import"./commonTypes-B-foaEwJ-DVRX5AIJ.js";import"./SetUpAccountSection-CoVrSSYL-CVLKd7cm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="5a2717b1-169f-4dc6-96e3-15778932e649",e._sentryDebugIdIdentifier="sentry-dbid-5a2717b1-169f-4dc6-96e3-15778932e649")}catch{}})();const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},Ee=e=>`${e}_form`,Be=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:V,googleAPIKey:v,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:P,handleAddCardPaymentSource:_,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:D,redirectToProductSuitePage:w,onUpdateCustomerView:E,...B})=>{const m=be(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:N,onZeniLogoClick:H,onAddressEditHandler:x}=B,W=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:O(e),values:O(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=Be,{footer:ue,steps:pe}=ce,{buttons:Z}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(O(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),E(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(O(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx($e,{...r,children:o.jsx(Ge,{id:Ee(ie),children:o.jsxs(Re,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(_e,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:G,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:v,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${ie}`,leftSideComponent:o.jsx(Ne,{windowSize:m,children:o.jsx(Ve,{signedInUser:b,currentTenant:T,onLogOutClick:N})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:Z.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:_,cardPaymentView:p,stripeKey:V,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:D,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -28,10 +28,10 @@ import{a8 as se,V as o,fB as Ce,J as be,y as Pe,a9 as we,aR as xe,cH as ke,bD as
28
28
  height: 100%;
29
29
  flex-direction: column;
30
30
  padding-bottom: ${i.sp0};
31
- `,Ne=c.form`
31
+ `,Ge=c.form`
32
32
  padding-top: ${i.sp0};
33
33
  flex: 1;
34
- `,Ge=c.div`
34
+ `,Ne=c.div`
35
35
  display: flex;
36
36
  height: ${i.sp7};
37
37
  left: ${i.sp4};
@@ -42,14 +42,14 @@ import{a8 as se,V as o,fB as Ce,J as be,y as Pe,a9 as we,aR as xe,cH as ke,bD as
42
42
  cursor: default;
43
43
  `,He=c.div`
44
44
  display: flex;
45
- `,Ze=c(Le)`
45
+ `,We=c(Le)`
46
46
  height: ${i.sp4};
47
47
  width: 102px;
48
48
  color: ${e=>e.theme.colors.primary};
49
49
  cursor: pointer;
50
50
  flex-shrink: 0;
51
51
  margin-left: -${i.sp4};
52
- `,We=c(ze)`
52
+ `,Ze=c(Ue)`
53
53
  color: ${e=>e.theme.colors.hero};
54
54
  display: flex;
55
55
  justify-content: center;
@@ -58,7 +58,7 @@ import{a8 as se,V as o,fB as Ce,J as be,y as Pe,a9 as we,aR as xe,cH as ke,bD as
58
58
  padding-bottom: ${e=>Q.subTitlePaddingBottom.valuePx(e.windowSize)};
59
59
  text-align: ${e=>e.windowSize==="small"?"initial":"center"};
60
60
  width: 100%;
61
- `,$=e=>({[q]:{account:{allOptions:[],selectedOption:void 0}},[n]:Oe(n,e?.subscriptionBillingAddress)[n]}),ut=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:v,currentTenant:O,isOnAddressPage:b,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:z,onZeniLogoClick:P,handleLogOutClick:U,handleCockpitClick:_,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:D,updateCardPaymentModalState:E,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}=e,{allSteps:M,currentStep:R,fetchStatus:S}=u,N=se(),{analytics:G}=N,H={allSteps:M,isOnAddressPage:b,currentStep:R,fetchStatus:S,signedInUser:v,currentTenant:O,onUpdateStep:Z=>{z(Z)},onZeniLogoClick:P,handleLogOutClick:U,handleCockpitClick:_,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Je,{isOnAddressPage:b,children:[x?o.jsx(Be,{isNoStepsPage:!0}):o.jsx(Fe,{...H,onboardingCustomerView:u,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:E,handleFetchPaymentSources:D,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},Je=c.div`
61
+ `,O=e=>({[q]:{account:{allOptions:[],selectedOption:void 0}},[n]:ve(n,e?.subscriptionBillingAddress)[n]}),ut=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:V,currentTenant:v,isOnAddressPage:b,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:U,onZeniLogoClick:P,handleLogOutClick:_,handleCockpitClick:z,handleCreateCardSetupIntent:D,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:E,updateCardPaymentModalState:B,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}=e,{allSteps:M,currentStep:R,fetchStatus:S}=u,G=se(),{analytics:N}=G,H={allSteps:M,isOnAddressPage:b,currentStep:R,fetchStatus:S,signedInUser:V,currentTenant:v,onUpdateStep:W=>{U(W)},onZeniLogoClick:P,handleLogOutClick:_,handleCockpitClick:z,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Je,{isOnAddressPage:b,children:[x?o.jsx(De,{isNoStepsPage:!0}):o.jsx(Fe,{...H,onboardingCustomerView:u,handleCreateCardSetupIntent:D,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:B,handleFetchPaymentSources:E,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:L,analytics:N,productType:"onboarding"})]})},Je=c.div`
62
62
  display: flex;
63
63
  flex-direction: column;
64
64
  width: ${e=>e.isOnAddressPage?"fit-content":"100%"};