@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{J as W,F as S,V as t,bD as G,T as V,ab as b,x as r,am as U,o as i,aP as z,bU as P,cr as q,cs as F,ct as J,d1 as K,u as l,ba as O,z as T,b9 as Q,p as j,d0 as X,bu as Y,w as Z}from"./index-DkG4Gq_1.js";import{n as o}from"./mui-jyIGzSd8.js";import{a as ee}from"./sentry-CkqzujGZ.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:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="cea2ccf0-90ca-4bb8-b544-562699dabaf8",e._sentryDebugIdIdentifier="sentry-dbid-cea2ccf0-90ca-4bb8-b544-562699dabaf8")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(-1,-4)},M={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeMedium")},te=({showDeleteBtn:e=!1,disableButtons:d=!1,isLastSection:w=!1,approvalRule:c,onEditRuleClick:y,onDeleteRuleClick:g})=>{const[v,h]=ee.useState(!1),n=W(),{range:m}=c.criteria[0],{steps:$,approvalRuleId:x}=c,a=S.getLocalizedStrings().commonSetUp.approval,N=()=>{h(!0)},E={onOkClick:()=>{h(!1),g?.(x)},onCancelClick:()=>{h(!1)}};return t.jsxs(oe,{windowSize:n,isLastSection:w,isUpdatingApprovalRules:d,children:[t.jsxs(ie,{windowSize:n,children:[t.jsxs(ce,{children:[t.jsxs(L,{windowSize:n,children:[a.from," ",z("0,0",m.min)]}),t.jsxs(re,{children:[t.jsx(k,{}),t.jsx(le,{}),t.jsx(k,{})]}),m.max==null?t.jsx(he,{}):t.jsx(L,{windowSize:n,children:z("0,0",{...m.min,amount:m.max.amount})})]}),t.jsxs(ue,{className:"icons",children:[e===!0?d===!0?t.jsx(P,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(I,{$isDisabled:!0,"data-testid":b("delete-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(I,{onClick:N,"data-testid":b("delete-approval-rule-bill-pay",c.approvalRuleId)}):null,d===!0?t.jsx(P,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(C,{$isDisabled:!0,"data-testid":b("edit-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(C,{onClick:()=>{y(x)},"data-testid":b("edit-approval-rule-bill-pay",c.approvalRuleId)})]})]}),t.jsx(se,{windowSize:n,children:t.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((u,H)=>t.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[u.action==="require_approval"?t.jsx(pe,{children:a.requireText}):t.jsx(de,{children:a.notifyText}),u.nonUserActors!=null&&u.nonUserActors.filter(p=>p.subType!=null).map((p,_)=>t.jsxs(A,{children:[t.jsx(R,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},`${p.subType}_${_}`)),u.actors.map(p=>t.jsxs(A,{children:[t.jsxs(R,{children:[p.firstName," ",p.lastName]}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},p.userId))]},H))})}),v?t.jsx(q,{titleComponent:t.jsx(J,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(F,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:E}):null]})},oe=o.div`
1
+ import{J as W,F as S,V as t,bD as G,T as V,aQ as y,y as r,al as U,o as i,aO as z,bU as P,cq as q,cr as O,cs as F,d0 as K,u as l,ba as J,H as T,b9 as Q,p as j,c$ as X,bu as Y,b as Z}from"./index-RSYdG57D.js";import{n as o}from"./mui-Bi6zxcZy.js";import{a as ee}from"./sentry-D087_5zX.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:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="2277117d-57d9-4827-9ec9-85d45a362935",e._sentryDebugIdIdentifier="sentry-dbid-2277117d-57d9-4827-9ec9-85d45a362935")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(-1,-4)},M={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeMedium")},te=({showDeleteBtn:e=!1,disableButtons:d=!1,isLastSection:w=!1,approvalRule:c,onEditRuleClick:f,onDeleteRuleClick:g})=>{const[v,h]=ee.useState(!1),n=W(),{range:m}=c.criteria[0],{steps:$,approvalRuleId:x}=c,a=S.getLocalizedStrings().commonSetUp.approval,H=()=>{h(!0)},N={onOkClick:()=>{h(!1),g?.(x)},onCancelClick:()=>{h(!1)}};return t.jsxs(oe,{windowSize:n,isLastSection:w,isUpdatingApprovalRules:d,children:[t.jsxs(ie,{windowSize:n,children:[t.jsxs(ce,{children:[t.jsxs(L,{windowSize:n,children:[a.from," ",z("0,0",m.min)]}),t.jsxs(re,{children:[t.jsx(k,{}),t.jsx(le,{}),t.jsx(k,{})]}),m.max==null?t.jsx(he,{}):t.jsx(L,{windowSize:n,children:z("0,0",{...m.min,amount:m.max.amount})})]}),t.jsxs(ue,{className:"icons",children:[e===!0?d===!0?t.jsx(P,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(R,{$isDisabled:!0,"data-testid":y("delete-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(R,{onClick:H,"data-testid":y("delete-approval-rule-bill-pay",c.approvalRuleId)}):null,d===!0?t.jsx(P,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(C,{$isDisabled:!0,"data-testid":y("edit-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(C,{onClick:()=>{f(x)},"data-testid":y("edit-approval-rule-bill-pay",c.approvalRuleId)})]})]}),t.jsx(se,{windowSize:n,children:t.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((u,E)=>t.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[u.action==="require_approval"?t.jsx(pe,{children:a.requireText}):t.jsx(de,{children:a.notifyText}),u.nonUserActors!=null&&u.nonUserActors.filter(p=>p.subType!=null).map((p,_)=>t.jsxs(A,{children:[t.jsx(I,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},`${p.subType}_${_}`)),u.actors.map(p=>t.jsxs(A,{children:[t.jsxs(I,{children:[p.firstName," ",p.lastName]}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},p.userId))]},E))})}),v?t.jsx(q,{titleComponent:t.jsx(F,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(O,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:N}):null]})},oe=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
@@ -14,7 +14,7 @@ import{J as W,F as S,V as t,bD as G,T as V,ab as b,x as r,am as U,o as i,aP as z
14
14
  border-color: ${e=>e.isUpdatingApprovalRules===!0?e.theme.colors.grey3:e.theme.colors.primary};
15
15
  }
16
16
  }
17
- `,ie=o(O)`
17
+ `,ie=o(J)`
18
18
  display: flex;
19
19
  position: relative;
20
20
  align-items: center;
@@ -132,7 +132,7 @@ import{J as W,F as S,V as t,bD as G,T as V,ab as b,x as r,am as U,o as i,aP as z
132
132
  color: ${j.alertDark};
133
133
  `,de=o.span`
134
134
  color: ${j.successDark};
135
- `,R=o.span`
135
+ `,I=o.span`
136
136
  color: ${e=>e.theme.colors.primary};
137
137
  `,ce=o.div`
138
138
  display: flex;
@@ -141,7 +141,7 @@ import{J as W,F as S,V as t,bD as G,T as V,ab as b,x as r,am as U,o as i,aP as z
141
141
  `,ue=o.div`
142
142
  display: flex;
143
143
  gap: ${i.sp5};
144
- `,I=o(X)`
144
+ `,R=o(X)`
145
145
  width: ${i.sp3};
146
146
  height: ${i.sp3};
147
147
  cursor: ${e=>e.$isDisabled===!0?"not-allowed":"pointer"};
@@ -175,7 +175,7 @@ import{J as W,F as S,V as t,bD as G,T as V,ab as b,x as r,am as U,o as i,aP as z
175
175
  ${e=>`${M.amount.style(e.windowSize)}`};
176
176
  color: ${e=>e.theme.colors.primary};
177
177
  word-break: break-word;
178
- `,f={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Ce=({approvalView:e,onBackClick:d,onEditRuleClick:w,onDeleteRuleClick:c})=>{const y=W(),{fetchState:g,deleteStatus:v}=e,h=S.getLocalizedStrings().commonSetUp.approval,n=S.getLocalizedStrings().spendManagement.billPay.billPayApproval,m=v.fetchState,$=e.listeningToPusherEvent;return t.jsxs(me,{children:[t.jsx(G,{title:h.approvalPageHeader,style:{zIndex:4},onBackClick:()=>{d()},source:"BillPayApprovalRulesPage"}),t.jsxs(xe,{children:[t.jsx(ge,{windowSize:y,children:n.approvalPageSubTitle}),g==="In-Progress"||g==="Not-Started"||m==="In-Progress"?t.jsx(we,{children:t.jsx(V,{size:"ExtraLarge",start:!0})}):g==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((x,a)=>t.jsx(te,{showDeleteBtn:a!==0,disableButtons:$===!0&&x.approvalRuleId===e.newApprovalRuleId,approvalRule:x,isLastSection:a===e.allApprovalRules.length-1,onEditRuleClick:w,onDeleteRuleClick:c},x.approvalRuleId)),t.jsxs($e,{windowSize:y,onClick:()=>{w()},"data-testid":b("add-approval-rule-bill-pay"),children:[t.jsx(be,{}),t.jsx(fe,{children:h.addApprovalText})]})]}):null]})]})},me=o.div`
178
+ `,b={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Ce=({approvalView:e,onBackClick:d,onEditRuleClick:w,onDeleteRuleClick:c})=>{const f=W(),{fetchState:g,deleteStatus:v}=e,h=S.getLocalizedStrings().commonSetUp.approval,n=S.getLocalizedStrings().spendManagement.billPay.billPayApproval,m=v.fetchState,$=e.listeningToPusherEvent;return t.jsxs(me,{children:[t.jsx(G,{title:h.approvalPageHeader,style:{zIndex:4},onBackClick:()=>{d()},source:"BillPayApprovalRulesPage"}),t.jsxs(xe,{children:[t.jsx(ge,{windowSize:f,children:n.approvalPageSubTitle}),g==="In-Progress"||g==="Not-Started"||m==="In-Progress"?t.jsx(we,{children:t.jsx(V,{size:"ExtraLarge",start:!0})}):g==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((x,a)=>t.jsx(te,{showDeleteBtn:a!==0,disableButtons:$===!0&&x.approvalRuleId===e.newApprovalRuleId,approvalRule:x,isLastSection:a===e.allApprovalRules.length-1,onEditRuleClick:w,onDeleteRuleClick:c},x.approvalRuleId)),t.jsxs($e,{windowSize:f,onClick:()=>{w()},"data-testid":y("add-approval-rule-bill-pay"),children:[t.jsx(ye,{}),t.jsx(be,{children:h.addApprovalText})]})]}):null]})]})},me=o.div`
179
179
  display: flex;
180
180
  min-height: 100%;
181
181
  flex-direction: column;
@@ -201,9 +201,9 @@ import{J as W,F as S,V as t,bD as G,T as V,ab as b,x as r,am as U,o as i,aP as z
201
201
  color: ${e=>e.theme.colors.hero};
202
202
  display: flex;
203
203
  justify-content: center;
204
- width: ${e=>f.titleWidth.valuePx(e.windowSize)};
205
- padding-top: ${e=>f.subTitlePaddingTop.valuePx(e.windowSize)};
206
- padding-bottom: ${e=>f.subTitlePaddingBottom.valuePx(e.windowSize)};
204
+ width: ${e=>b.titleWidth.valuePx(e.windowSize)};
205
+ padding-top: ${e=>b.subTitlePaddingTop.valuePx(e.windowSize)};
206
+ padding-bottom: ${e=>b.subTitlePaddingBottom.valuePx(e.windowSize)};
207
207
  `,$e=o(U)`
208
208
  cursor: pointer;
209
209
  display: flex;
@@ -211,9 +211,9 @@ import{J as W,F as S,V as t,bD as G,T as V,ab as b,x as r,am as U,o as i,aP as z
211
211
  justify-content: center;
212
212
  align-items: center;
213
213
  padding: ${i.sp3} ${i.sp4};
214
- gap: ${e=>f.addApprovalGap.valuePx(e.windowSize)};
214
+ gap: ${e=>b.addApprovalGap.valuePx(e.windowSize)};
215
215
 
216
- width: ${e=>f.width.valuePx(e.windowSize)};
216
+ width: ${e=>b.width.valuePx(e.windowSize)};
217
217
  height: ${i.sp8};
218
218
 
219
219
  background: ${e=>e.theme.colors.grey5};
@@ -233,9 +233,9 @@ import{J as W,F as S,V as t,bD as G,T as V,ab as b,x as r,am as U,o as i,aP as z
233
233
  border-color: ${e=>e.theme.colors.primary};
234
234
  }
235
235
  margin-bottom: ${i.sp6};
236
- `,be=o(K)`
236
+ `,ye=o(K)`
237
237
  width: ${i.sp3};
238
238
  height: ${i.sp3};
239
- `,fe=o.div`
239
+ `,be=o.div`
240
240
  color: ${e=>e.theme.colors.hero};
241
241
  `;export{Ce as default};
@@ -0,0 +1,84 @@
1
+ import{aw as X,J as f,aR as Y,V as e,fw as ee,bD as ie,i as C,aQ as B,ae as m,F as I,o as s,aq as se,R as le,d as U,aU as D,am as oe,y as re,p as $,cF as te,aV as ae,bb as ne,u as de}from"./index-RSYdG57D.js";import{a as g}from"./sentry-D087_5zX.js";import{n as l}from"./mui-Bi6zxcZy.js";import{FG as ce,bS as pe,FH as me}from"./zeni-epic-state-DnYFo_hK.js";import{C as xe}from"./VideoPopup-rfiYmtio-6YXU8HYY.js";import{M as b}from"./usp-line-BBd1wKwW-D37A1NrK.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";import"./VideoPlayer-9UkKMhGy-Cg6ItP2B.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="dd6a9192-4f3b-4dd4-9739-96713261133b",i._sentryDebugIdIdentifier="sentry-dbid-dd6a9192-4f3b-4dd4-9739-96713261133b")}catch{}})();const M="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",A="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",he={midContainerMarginBottom:new re(de[5],44)},ge=l.div`
2
+ display: flex;
3
+ flex: 1 1 auto;
4
+ min-height: 100%;
5
+ flex-direction: column;
6
+ background-color: ${i=>i.theme.colors.grey4};
7
+ `,ue=l.div`
8
+ padding: ${i=>i.windowSize==="small"?`${s.sp0} ${s.sp3}`:`${s.sp0} ${s.sp8}`};
9
+ text-align: center;
10
+ `,we=l(le)`
11
+ max-width: 600px;
12
+ margin: auto;
13
+ padding: ${s.sp7} ${s.sp0};
14
+ color: ${i=>i.theme.colors.primary};
15
+ `,ye=l(se)`
16
+ max-width: 600px;
17
+ margin: auto;
18
+ padding: ${s.sp5} ${s.sp0};
19
+ color: ${i=>i.theme.colors.primary};
20
+ `,L=l.div`
21
+ display: flex;
22
+ flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
23
+ align-items: center;
24
+ justify-content: center;
25
+ margin-bottom: ${i=>he.midContainerMarginBottom.valuePx(i.windowSize)};
26
+ `,je=l.div``,x=l.img``,R=l.div`
27
+ width: ${i=>i.windowSize==="small"?"auto":"376px"};
28
+ display: flex;
29
+ flex-direction: column;
30
+ `,V=l.div`
31
+ width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
32
+ overflow: hidden;
33
+ max-width: 712px;
34
+ display: flex;
35
+ align-content: center;
36
+ justify-content: center;
37
+ align-items: center;
38
+ `,F=l.div`
39
+ margin-left: ${i=>i.windowSize==="small"?s.sp0:s.sp6};
40
+ margin-bottom: ${i=>i.windowSize==="small"?s.sp4:s.sp0};
41
+ background: ${i=>i.theme.colors.grey3};
42
+ border-radius: 12px;
43
+ border: ${i=>`1px solid ${i.theme.colors.grey3}`};
44
+ padding: 15px;
45
+ `,n=l.div`
46
+ border-radius: ${s.sp12};
47
+ border: ${i=>`1px solid ${i.theme.colors.grey2}`};
48
+ padding: ${i=>i.windowSize==="small"?`${s.sp2} ${s.sp4} ${s.sp2} ${s.sp0}`:`${s.sp3} ${s.sp5} ${s.sp3} ${s.sp0}`};
49
+ background: ${i=>i.theme.colors.grey5};
50
+ position: relative;
51
+ margin-bottom: ${s.sp3};
52
+ display: flex;
53
+ align-items: center;
54
+ text-align: start;
55
+ box-sizing: border-box;
56
+ `,u=l(ne)`
57
+ color: ${i=>i.theme.colors.champion};
58
+ `,w=l(ae)`
59
+ color: ${i=>i.theme.colors.champion};
60
+ `,y=l(D)`
61
+ color: ${i=>i.theme.colors.champion};
62
+ `,j=l(te)`
63
+ color: ${i=>i.theme.colors.champion};
64
+ `,d=l.div``,c=l.div`
65
+ padding-left: ${s.sp3};
66
+ `,_=l(b)`
67
+ color: ${$.graphColor16Dark};
68
+ `,E=l(b)`
69
+ color: ${$.graphColor09Dark};
70
+ `,H=l(b)`
71
+ color: ${$.graphColor28Dark};
72
+ `,fe=l(oe)`
73
+ margin: ${s.sp3} auto;
74
+ max-width: 719px;
75
+ color: ${i=>i.theme.colors.hero};
76
+ `,$e=l.div`
77
+ display: flex;
78
+ flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
79
+ align-items: center;
80
+ justify-content: center;
81
+ `,be=l(D)`
82
+ margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
83
+ color: ${i=>i.theme.colors.grey1};
84
+ `,r=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,t=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Fe=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:Z,onButtonClick:G,onBackClick:J,onSetupBillPaySuccess:z,onClickMenuIcon:O})=>{const h=X(),a=f(),{billPayTermsDetails:p}=i,[Q,q]=g.useState(!1),[K,k]=g.useState(!1),v=Y(p?.fetchStatus.fetchState);g.useEffect(()=>{v==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&z?.()},[v,z,p?.fetchStatus]);const N=()=>{o?.trackBillPayPromoScheduleDemo(),k(!0)},W=ce(h.loggedInUserRoleMap),P=pe(h.loggedInUserRoleMap)&&!W,T=P?r.setupNonAccessableUsersPromoText:r.promoText;return e.jsxs(ge,{children:[Q===!0?e.jsx(xe,{onCancelClick:()=>{q(!1)},videoUrl:Z}):null,K===!0?e.jsx(ee,{onCancelClick:()=>{k(!1)},meetingUrl:S}):null,e.jsx(ie,{title:r.title,onBackClick:J,showBackButton:!me(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:O,source:"BillPayPromoPage"}),e.jsxs(ue,{windowSize:a,children:[a==="small"?e.jsx(ye,{children:T}):e.jsx(we,{children:T}),a==="small"?e.jsx(Se,{}):e.jsx(ze,{}),P===!1?e.jsxs(je,{children:[e.jsxs($e,{windowSize:a,children:[e.jsx(C,{variant:"secondary",label:r.scheduleDemoButton,onClick:N,"data-testid":B("billpay-schedule-demo-button")}),e.jsx(be,{windowSize:a,children:r.orText}),e.jsx(C,{variant:"primary",label:r.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:G,"data-testid":B("billpay-setup-button")})]}),e.jsxs(fe,{children:[r.terms.terms1,e.jsx(m,{href:t.consentUrl,linkText:t.consent}),t.term2,e.jsx(m,{href:t.depositUrl,linkText:t.depositTerms}),t.term3,e.jsx(m,{href:t.privacyPolicyUrl,onZeniLinkClick:()=>(o?.trackBillPayPrivacyPolicy(),!0),linkText:t.privacy}),t.term4,e.jsx(m,{href:t.tosUrl,onZeniLinkClick:()=>(o?.trackBillPayAgreement(),!0),linkText:t.tos}),t.term5,r.terms.terms3]})]}):null]})]})},Se=()=>{const i=U(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsx(V,{windowSize:o,children:e.jsx(F,{windowSize:o,children:i.mode==="dark"?e.jsx(x,{src:A,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(x,{src:M,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(R,{windowSize:o,children:[e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(H,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.fullyManagedText.bold}),e.jsx(y,{children:r.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(E,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.multiLevelApprovalText.bold}),e.jsx(y,{children:r.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.aiPoweredText.bold}),e.jsx(y,{children:r.aiPoweredText.regular})]})]})]})]})},ze=()=>{const i=U(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsxs(R,{windowSize:o,children:[e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(H,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.fullyManagedText.bold}),e.jsx(u,{children:r.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(E,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.multiLevelApprovalText.bold}),e.jsx(u,{children:r.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.aiPoweredText.bold}),e.jsx(u,{children:r.aiPoweredText.regular})]})]})]}),e.jsx(V,{windowSize:o,children:e.jsx(F,{windowSize:o,children:i.mode==="dark"?e.jsx(x,{src:A,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(x,{src:M,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Fe as default};
@@ -1,4 +1,4 @@
1
- import{y as _e,J as Re,aR as E,a9 as $e,cH as Oe,F as Ue,aW as K,V as t,ff as He,p as ze,ab as Le,x as u,bD as qe,T as Me,ad as Ne,fy as H,dR as Ge,fz as Je,bx as Ye,dH as Ze,bU as Ke,fA as Qe,aS as Xe,o as L,fB as et,u as a,am as tt,bL as it}from"./index-DkG4Gq_1.js";import{a as m}from"./sentry-CkqzujGZ.js";import{n as b}from"./mui-jyIGzSd8.js";import{bJ as nt}from"./zeni-epic-state-B9mN2lN3.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-B3JZwTBb-CY7cdGgp.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:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="304fee7a-270a-43ed-88cc-38595bca8b8f",e._sentryDebugIdIdentifier="sentry-dbid-304fee7a-270a-43ed-88cc-38595bca8b8f")}catch{}})();const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},Q="billPaySetUpPage",D="billPayAccount",Ct=({billPaySetupView:e,isDisabled:p,billpayApprovalView:v,meetingUrl:C,showIntlWiseWidget:s,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:fe,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEnableBillPayClick:me,onEnableBillPaySuccess:q,onClickMenuIcon:be,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const k=_e(),i=Re(),[A,S]=m.useState(!1),M=m.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:ke,plaidConnectionDetails:W,allBankAccounts:Ae,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:d,allFundingAccounts:N}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:V,approvalRulesStatus:Ie}=v,_=W.link_account.updateStatus,R=W.update_account.updateStatus,B=E(f),J=E(P.fetchState),Y=E(_.fetchState),Z=E(R.fetchState),w=$e({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>z(e),[e]),values:z(e)});m.useEffect(()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),A&&B==="In-Progress"&&f==="Completed"&&S(!1)},[c,f,B]),m.useEffect(()=>{(B==="In-Progress"&&f==="Completed"||Y==="In-Progress"&&_.fetchState==="Completed"||Z==="In-Progress"&&R.fetchState==="Completed")&&w.reset(z(e))},[B,f,w,e,Y,_.fetchState,Z,R.fetchState]);const Ve=w.handleSubmit(x=>{y.trackEnableBillPay(),me()}),Be=async(x,F)=>{const o=F[D];if(x.includes(D)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=N.find(U=>U.id===o.fundingAccount.selectedOption);g!=null&&pe(o.fundingAccount.selectedOption,g.accType)}}else if(o.account.selectedOption!=null&&d?.id!=null&&d?.zeniAccountId!=o.account.selectedOption){const g=o.account.allOptions.find(U=>U.value===o.account.selectedOption);g!=null&&typeof g.label=="string"&&y.trackConnectBankLink(g.value,g.label,"bill_pay"),fe(o.account.selectedOption,d.id,d.accType)}}};m.useEffect(()=>{const x=w.watch((F,{name:o})=>{o!=null&&F!=null&&Oe(()=>Be(o,F))});return()=>{x.unsubscribe()}}),m.useEffect(()=>{J==="In-Progress"&&P.fetchState==="Completed"&&q()},[q,J,P.fetchState]);const{commonSetUp:je,spendManagement:Fe}=Ue.getLocalizedStrings(),{setUp:r}=je,{billPaySetup:l}=Fe.billPay,$=T?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||nt(d?.providerVerificationStatus?.code??"")),O=T?.isBillPayEnabled===!0,Ee=$?r.setupVerifiedSubTitle:l.setupSubTitle,De=f==="In-Progress"||f==="Not-Started"||G==="In-Progress"||G==="Not-Started",j=k.mode==="light"?new K(k.colors.brandColorJadeLight):new K(k.colors.brandColorJadeDark),We=()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(lt,{ref:M,children:[t.jsx(He,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>S(!1),style:{backgroundColor:ze.drawerBackground},transitionDuration:250,"data-testid":Le("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:P,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,companyOfficer:c,onClose:()=>S(!1),onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve})}),t.jsx(qe,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!O&&(i==="medium-compact"||i==="small"),onClickMenuIcon:be,scrollableContent:M,backgroundColor:k.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Ee}),De?t.jsx(rt,{children:t.jsx(Me,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Ne,{...w,children:t.jsx("form",{id:X(Q),onSubmit:Ve,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(H,{onClick:We,title:r.businessVerificationTitle,subTitle:r.businessVerificationSubTitle,header:r.businessVerificationHeader,icon:{element:t.jsx(Ge,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},status:T?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(Je,{connectedAccountProvider:ee,primaryFundingAccount:d,allFundingAccounts:N,plaidConnectionDetails:W,allBankAccounts:Ae,sectionId:D,isDisabled:p,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Ye,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(H,{title:V.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:V.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Ze,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:V.length>0?Ie:void 0})]})})}),s===!0?t.jsx(H,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{I&&y.trackEnableIntlWire(ie),ye?.()},status:I?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Ke,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),$&&!O&&V.length>0?t.jsx(Xe,{formId:X(Q),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:P.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(et,{isFooterRendered:$&&!O,meetingUrl:C,analytics:y,productType:"bill_pay"})]})},at=b.div``,lt=b.div`
1
+ import{d as _e,J as $e,aR as E,a9 as Oe,cG as Re,F as Ue,aW as Z,V as t,fe as ze,p as He,aQ as Le,y as u,bD as qe,T as Me,ac as Ne,fx as z,dR as Ge,fy as Je,bx as Qe,dH as Ye,bU as Ze,fz as Ke,aS as Xe,o as L,fA as et,u as a,al as tt,bL as it}from"./index-RSYdG57D.js";import{a as m}from"./sentry-D087_5zX.js";import{n as b}from"./mui-Bi6zxcZy.js";import{bJ as nt}from"./zeni-epic-state-DnYFo_hK.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-BKY6hK51-DmtqFwFy.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:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="51a12940-8927-4611-be18-5001ea9abbec",e._sentryDebugIdIdentifier="sentry-dbid-51a12940-8927-4611-be18-5001ea9abbec")}catch{}})();const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},K="billPaySetUpPage",D="billPayAccount",Ct=({billPaySetupView:e,isDisabled:p,billpayApprovalView:v,meetingUrl:C,showIntlWiseWidget:s,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:fe,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEnableBillPayClick:me,onEnableBillPaySuccess:q,onClickMenuIcon:be,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:xe,onCompanyOfficerUpdated:we,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const k=_e(),i=$e(),[A,S]=m.useState(!1),M=m.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:ke,plaidConnectionDetails:W,allBankAccounts:Ae,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:d,allFundingAccounts:N}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:V,approvalRulesStatus:Ie}=v,_=W.link_account.updateStatus,$=W.update_account.updateStatus,j=E(f),J=E(P.fetchState),Q=E(_.fetchState),Y=E($.fetchState),x=Oe({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>H(e),[e]),values:H(e)});m.useEffect(()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),A&&j==="In-Progress"&&f==="Completed"&&S(!1)},[c,f,j]),m.useEffect(()=>{(j==="In-Progress"&&f==="Completed"||Q==="In-Progress"&&_.fetchState==="Completed"||Y==="In-Progress"&&$.fetchState==="Completed")&&x.reset(H(e))},[j,f,x,e,Q,_.fetchState,Y,$.fetchState]);const Ve=x.handleSubmit(w=>{y.trackEnableBillPay(),me()}),je=async(w,F)=>{const o=F[D];if(w.includes(D)){if(w.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=N.find(U=>U.id===o.fundingAccount.selectedOption);g!=null&&pe(o.fundingAccount.selectedOption,g.accType)}}else if(o.account.selectedOption!=null&&d?.id!=null&&d?.zeniAccountId!=o.account.selectedOption){const g=o.account.allOptions.find(U=>U.value===o.account.selectedOption);g!=null&&typeof g.label=="string"&&y.trackConnectBankLink(g.value,g.label,"bill_pay"),fe(o.account.selectedOption,d.id,d.accType)}}};m.useEffect(()=>{const w=x.watch((F,{name:o})=>{o!=null&&F!=null&&Re(()=>je(o,F))});return()=>{w.unsubscribe()}}),m.useEffect(()=>{J==="In-Progress"&&P.fetchState==="Completed"&&q()},[q,J,P.fetchState]);const{commonSetUp:Be,spendManagement:Fe}=Ue.getLocalizedStrings(),{setUp:r}=Be,{billPaySetup:l}=Fe.billPay,O=T?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||nt(d?.providerVerificationStatus?.code??"")),R=T?.isBillPayEnabled===!0,Ee=O?r.setupVerifiedSubTitle:l.setupSubTitle,De=f==="In-Progress"||f==="Not-Started"||G==="In-Progress"||G==="Not-Started",B=k.mode==="light"?new Z(k.colors.brandColorJadeLight):new Z(k.colors.brandColorJadeDark),We=()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(lt,{ref:M,children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>S(!1),style:{backgroundColor:He.drawerBackground},transitionDuration:250,"data-testid":Le("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:P,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:xe,companyOfficer:c,onClose:()=>S(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:ve})}),t.jsx(qe,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!R&&(i==="medium-compact"||i==="small"),onClickMenuIcon:be,scrollableContent:M,backgroundColor:k.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Ee}),De?t.jsx(rt,{children:t.jsx(Me,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Ne,{...x,children:t.jsx("form",{id:X(K),onSubmit:Ve,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(z,{onClick:We,title:r.businessVerificationTitle,subTitle:r.businessVerificationSubTitle,header:r.businessVerificationHeader,icon:{element:t.jsx(Ge,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},status:T?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(Je,{connectedAccountProvider:ee,primaryFundingAccount:d,allFundingAccounts:N,plaidConnectionDetails:W,allBankAccounts:Ae,sectionId:D,isDisabled:p,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(z,{title:V.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:V.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Ye,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:V.length>0?Ie:void 0})]})})}),s===!0?t.jsx(z,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Ke,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{I&&y.trackEnableIntlWire(ie),ye?.()},status:I?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Ze,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),O&&!R&&V.length>0?t.jsx(Xe,{formId:X(K),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:P.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(et,{isFooterRendered:O&&!R,meetingUrl:C,analytics:y,productType:"bill_pay"})]})},at=b.div``,lt=b.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  flex-direction: column;
@@ -39,4 +39,4 @@ import{y as _e,J as Re,aR as E,a9 as $e,cH as Oe,F as Ue,aW as K,V as t,ff as He
39
39
  display: flex;
40
40
  flex-direction: column;
41
41
  row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
42
- `,z=e=>{const{allBankAccounts:p,allFundingAccounts:v,primaryFundingAccount:C}=e;return{[D]:{fundingAccount:{selectedOption:C?.id,allOptions:v.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:C?.zeniAccountId,allOptions:p.map(s=>({label:s.accountName,value:s.accountId}))}}}},X=e=>`${e}_form`;export{Ct as default,X as uniqueName};
42
+ `,H=e=>{const{allBankAccounts:p,allFundingAccounts:v,primaryFundingAccount:C}=e;return{[D]:{fundingAccount:{selectedOption:C?.id,allOptions:v.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:C?.zeniAccountId,allOptions:p.map(s=>({label:s.accountName,value:s.accountId}))}}}},X=e=>`${e}_form`;export{Ct as default,X as uniqueName};
@@ -0,0 +1,44 @@
1
+ import{d as we,J as be,a9 as xe,cG as Ce,aW as k,F as Pe,V as t,y as C,bD as Ie,T as Ae,ac as ve,bx as je,cH as ke,aS as Te,o as s,hO as $e,f0 as De,f1 as Ve,u as P,al as Be,gX as Ee,p as Oe,H as ze}from"./index-RSYdG57D.js";import{a as H}from"./sentry-D087_5zX.js";import{n as d}from"./mui-Bi6zxcZy.js";import{M as Le,o as W,t as Me}from"./PaymentAccountSetupBillingAddressSection-Deb_ngk6-0-NbLYs1.js";import{F as _e}from"./SetUpAccountSection-CoVrSSYL-CVLKd7cm.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";(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]="d40c691a-7b03-4cfd-8dab-d4d832839390",e._sentryDebugIdIdentifier="sentry-dbid-d40c691a-7b03-4cfd-8dab-d4d832839390")}catch{}})();const p={titleWidth:new C(343,580,726,826),setupDetailsRowGap:new C(12,P[5],P[5]),iconWidthHeight:new C(20,P[4]),subTitlePaddingTop:new C(12,P[3])},He={title:new ze("standardSemiBold","largeSemiBold")},R="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:r,onClickMenuIcon:A,uiState:G,stripeKey:J,googleAPIKey:K,companyId:N,onUpdateAccountClick:q,onFetchLinkTokenClick:Z,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Q,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:T,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:de})=>{const b=we(),o=be(),{setupView:{paymentAccount:y,plaidConnectionDetails:re,allBankAccounts:le,accountFetchStatus:$},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,D=y?.providerVerificationStatus,ue=$.fetchState==="In-Progress"||$.fetchState==="Not-Started",f=xe({mode:"onSubmit",reValidateMode:"onChange",defaultValues:U(i),values:U(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{se(N)}),V=i.subscriptionBillingAddressSaveStatus,me=async(c,a)=>{const g=a[I];if(c.includes(n)&&a[n]!=null){const v=f.getValues(`${n}`).country;let u=a[n];if(c.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:w}=a[n].street,j=De(w?.country);u={street:a[n].street??l.strings.empty,city:w?.locality??l.strings.empty,state:w?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:w?.countryCode??l.strings.empty,postalCode:w?.postalCode??l.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:Ve(v.selectedOption)});u!=null&&de(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&q(g.account.selectedOption,y.paymentAccountId)};H.useEffect(()=>{const c=f.watch((a,{name:g})=>{g!=null&&a!=null&&Ce(()=>me(g,a))});return()=>{c.unsubscribe()}});const B=b.mode==="light"?new k(b.colors.brandColorJadeLight):new k(b.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:E}=Pe.getLocalizedStrings(),ge=E.section.subTitle,{text:ye,subText:fe}=he,O=h.cardsList.length>0,z=h?.cardsList[0]?.brand??"other",L=h?.addCardPaymentSourceStatus.fetchState,x=Le(S.header,S.titleText,S.protectedCardNo,h);let M;O&&(M={header:x.header,title:x.title,subtitle:x.subtitle,status:x.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:O===!0,icon:{element:t.jsx("img",{src:W(z).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:W(z).name}),color:new k(B)},showCompletedIcon:!1,isError:L==="Error",isLoading:L==="In-Progress",isCompleted:!0,showRightArrow:!1});const[_,Se]=H.useState(!1);return t.jsxs(Re,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:E.section.title,backgroundColor:b.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(We,{windowSize:o,children:[t.jsx(Ue,{windowSize:o,children:ge}),ue?t.jsx(Fe,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(qe,{children:t.jsx("form",{id:F(R),onSubmit:pe,children:t.jsxs(Ge,{windowSize:o,children:[t.jsx(_e,{connectedAccountProvider:m,paymentAccount:y,plaidConnectionDetails:re,allBankAccounts:le,header:S.header,sectionTitle:S.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:r,onFetchLinkTokenClick:Z,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Q,onEstablishConnectionSuccess:ee,isError:D?.code==="require_info"||D?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:B},analytics:e,productType:"billing",updateCardPaymentModalState:T,cardPaymentSectionValues:M,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:_}),Je(o,l.headers.billingAddress,ce,K,r)]})})})}),ke(f.formState.dirtyFields)?t.jsx(Te,{formId:F(R),style:{width:o==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:V?.fetchState==="In-Progress",isDisabled:V?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:T,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:G.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:J,cardSetupInProgress:_,setCardSetupInProgress:Se})]})},U=e=>{const{paymentAccount:i,allBankAccounts:m}=e.setupView;return{[I]:{account:{selectedOption:i?.zeniAccountId,allOptions:m.map(r=>({label:r.accountName,value:r.accountId}))}},[n]:$e(n,e.subscriptionBillingAddress)[n]}},We=d.div`
2
+ display: flex;
3
+ justify-content: space-between;
4
+ height: 100%;
5
+ overflow-y: auto;
6
+ flex-direction: column;
7
+ align-items: center;
8
+ row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
9
+ `,Re=d.div`
10
+ display: flex;
11
+ min-height: 100%;
12
+ flex-direction: column;
13
+ width: 100%;
14
+ background-color: ${e=>e.theme.colors.grey4};
15
+ `,Ue=d(Be)`
16
+ color: ${e=>e.theme.colors.hero};
17
+ display: flex;
18
+ justify-content: center;
19
+ width: ${e=>p.titleWidth.valuePx(e.windowSize)};
20
+ padding-top: ${e=>p.subTitlePaddingTop.valuePx(e.windowSize)};
21
+ padding-bottom: ${s.sp3};
22
+ text-align: ${e=>e.windowSize==="small"?"initial":"center"};
23
+ `,Fe=d.div`
24
+ display: flex;
25
+ width: 100%;
26
+ height: calc(100vh - 110px);
27
+ flex-direction: row;
28
+ justify-content: center;
29
+ align-items: center;
30
+ background-color: ${e=>e.theme.colors.grey4};
31
+ `,Ge=d.div`
32
+ display: flex;
33
+ flex-direction: column;
34
+ `,Je=(e,i,m,r,A)=>t.jsxs(Ke,{children:[t.jsx(Ne,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Ee,{googleAPIKey:r??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),Ke=d.div`
35
+ margin-top: ${s.sp3};
36
+ margin-bottom: ${s.sp4};
37
+ `,Ne=d.div`
38
+ ${e=>`${He.title.style(e.windowSize)}`};
39
+ margin-bottom: ${s.sp3};
40
+ margin-top: ${s.sp4};
41
+ color: ${e=>e.isError===!0?Oe.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
42
+ `,qe=d.div`
43
+ flex: 1;
44
+ `,F=e=>`${e}_form`;export{ct as default,F as uniqueName};
@@ -1 +1 @@
1
- import{V as v,cr as V,cs as M,ct as W,kb as Z,aZ as q,F as z}from"./index-DkG4Gq_1.js";import{a as f}from"./sentry-CkqzujGZ.js";import{H4 as H}from"./zeni-epic-state-B9mN2lN3.js";import{u as X}from"./ReviewOverlay-B2XV0Wf1-Bf28GIPa.js";import"./liveblocks-CZpRcduP.js";import"./core-CBRgKovr.js";import"./recharts-CCz6EACy.js";import"./mui-jyIGzSd8.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]="a9c444a5-eb2f-4020-863d-b2b7ee5eff32",e._sentryDebugIdIdentifier="sentry-dbid-a9c444a5-eb2f-4020-863d-b2b7ee5eff32")}catch{}})();const{common:s,spendManagement:{billPay:x}}=z.getLocalizedStrings(),o=x.bulkActions;let I;const de=({billsReviewView:e,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:t,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:_}=e,u=i==="review",[C,w]=f.useState(!1),[n,b]=f.useState(T(e,u)),[p,k]=f.useState(u),[B,E]=f.useState(0),[y,j]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(u&&(I=setInterval(()=>{b(d=>d.map((S,O)=>(clearInterval(I),O===B?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),B===n.length&&p&&(k(!1),clearInterval(I)),!u&&e.fetchState==="Completed"&&b(T(e,!1)),()=>{clearInterval(I)}),[n.length,B,p,e.fetchState,u,e]);const R=n.length,h=n.filter(d=>d.reviewStatus.code!=="error").length,D=()=>{const{title:d,description:S}=G(h);j({type:"reject",title:d,description:S,primaryButtonText:s.texts.confirm,secondaryButtonText:s.texts.close}),r.trackBillPayBulkSubmit(i,g,_),w(!0)},F={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,g,_,Y(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:N,description:A}=J(m,h,R,p),P=e.fetchState==="Completed"&&h===0,$=()=>{r.trackBillPayBulkSubmit(i,g,_),l(i)},U={label:P?s.texts.close:i==="send_for_approval"?s.footer.submit:s.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:P?c:$,style:i==="send_for_approval"?{minWidth:"92px"}:{}},L={label:i==="send_for_approval"?s.texts.goBack:s.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:D,style:i==="approve"?{minWidth:"92px"}:{}};return v.jsxs(v.Fragment,{children:[C?v.jsx(V,{titleComponent:v.jsx(W,{children:y.title}),descriptionComponent:v.jsx(M,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,v.jsx(X,{title:N,description:{content:A,isError:e.fetchState==="Completed"&&h===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:L,hideCancel:P}})]})},T=(e,r)=>{const l=e.fetchState==="In-Progress";return e.billsForReview.map(t=>({id:t.transactionId,leftSideText:{title:t.vendorName?t.vendorName:x.billDetails.newBillTitle,subTitle:`${x.billDetails.invoiceNo} ${t.invoiceNumber?t.invoiceNumber:s.strings.hyphen}`},rightSideText:{title:q("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&H(t.reviewErrors[0].reviewErrorCode),subTitle:K(t.reviewStatus==="warning",t.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:t.reviewErrors!=null&&t.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:t.reviewErrors?.length===1&&t.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":t.reviewStatus??""}}))},Y=e=>{const r=e.billsForReview;let l=[];return r.forEach(t=>{l=Z([...l,t.isRecurring?"recurring":"one-time"])}),l},G=e=>{const{this_:r,these:l,bill:t,bills:c,payment:m,payments:a}=s.texts;return e>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",t)}},J=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:_,do_:u,does:C}=s.texts,w=r>1,n=l>1;let b="",p="";return e==="Completed"&&!t?(b=o.reviewPage.billsReviewed.title.replace("<_bill_>",n?x.bulkActions.bills:o.bill).replace("<_has_>",n?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",n?i:a).replace("<_do_>",n?u:C):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",w?g:_)}`):(b=o.reviewPage.billsReviewing.title.replace("<_bill_>",n?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",n?i:a)),{title:b,description:p}},K=(e,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${s.strings.dividerDot} `);if(r.length===1)return e?r[0]+`${s.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{de as default,Y as getBillsUniqueType};
1
+ import{V as b,cq as V,cr as q,cs as M,kb as W,aZ as Z,F as z}from"./index-RSYdG57D.js";import{a as g}from"./sentry-D087_5zX.js";import{Gn as G}from"./zeni-epic-state-DnYFo_hK.js";import{u as K}from"./ReviewOverlay-Bn3TFqfi-B5pVl7FJ.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./mui-Bi6zxcZy.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]="077d35a8-7351-48a0-9984-be3e76cecc72",e._sentryDebugIdIdentifier="sentry-dbid-077d35a8-7351-48a0-9984-be3e76cecc72")}catch{}})();const{common:s,spendManagement:{billPay:x}}=z.getLocalizedStrings(),o=x.bulkActions;let I;const de=({billsReviewView:e,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:t,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:f,currentSubTab:_}=e,u=i==="review",[C,w]=g.useState(!1),[n,v]=g.useState(T(e,u)),[p,k]=g.useState(u),[B,E]=g.useState(0),[y,j]=g.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});g.useEffect(()=>(u&&(I=setInterval(()=>{v(d=>d.map((S,O)=>(clearInterval(I),O===B?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),B===n.length&&p&&(k(!1),clearInterval(I)),!u&&e.fetchState==="Completed"&&v(T(e,!1)),()=>{clearInterval(I)}),[n.length,B,p,e.fetchState,u,e]);const R=n.length,h=n.filter(d=>d.reviewStatus.code!=="error").length,A=()=>{const{title:d,description:S}=Y(h);j({type:"reject",title:d,description:S,primaryButtonText:s.texts.confirm,secondaryButtonText:s.texts.close}),r.trackBillPayBulkSubmit(i,f,_),w(!0)},D={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,f,_,X(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:F,description:N}=H(m,h,R,p),P=e.fetchState==="Completed"&&h===0,$=()=>{r.trackBillPayBulkSubmit(i,f,_),l(i)},U={label:P?s.texts.close:i==="send_for_approval"?s.footer.submit:s.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:P?c:$,style:i==="send_for_approval"?{minWidth:"92px"}:{}},L={label:i==="send_for_approval"?s.texts.goBack:s.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:A,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[C?b.jsx(V,{titleComponent:b.jsx(M,{children:y.title}),descriptionComponent:b.jsx(q,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:D,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(K,{title:F,description:{content:N,isError:e.fetchState==="Completed"&&h===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:L,hideCancel:P}})]})},T=(e,r)=>{const l=e.fetchState==="In-Progress";return e.billsForReview.map(t=>({id:t.transactionId,leftSideText:{title:t.vendorName?t.vendorName:x.billDetails.newBillTitle,subTitle:`${x.billDetails.invoiceNo} ${t.invoiceNumber?t.invoiceNumber:s.strings.hyphen}`},rightSideText:{title:Z("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&G(t.reviewErrors[0].reviewErrorCode),subTitle:J(t.reviewStatus==="warning",t.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:t.reviewErrors!=null&&t.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:t.reviewErrors?.length===1&&t.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":t.reviewStatus??""}}))},X=e=>{const r=e.billsForReview;let l=[];return r.forEach(t=>{l=W([...l,t.isRecurring?"recurring":"one-time"])}),l},Y=e=>{const{this_:r,these:l,bill:t,bills:c,payment:m,payments:a}=s.texts;return e>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",t)}},H=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are:f,is:_,do_:u,does:C}=s.texts,w=r>1,n=l>1;let v="",p="";return e==="Completed"&&!t?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",n?x.bulkActions.bills:o.bill).replace("<_has_>",n?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",n?i:a).replace("<_do_>",n?u:C):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",w?f:_)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",n?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",n?i:a)),{title:v,description:p}},J=(e,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${s.strings.dividerDot} `);if(r.length===1)return e?r[0]+`${s.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{de as default,X as getBillsUniqueType};
@@ -1,4 +1,4 @@
1
- import{J as l,V as s,ab as b,o as e}from"./index-DkG4Gq_1.js";import{n as a}from"./mui-jyIGzSd8.js";import{o as p}from"./commonDimensions-D0kIxeo5-kKnpvScR.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="56e50440-a487-4ab5-84dd-9cb7d64b3df4",o._sentryDebugIdIdentifier="sentry-dbid-56e50440-a487-4ab5-84dd-9cb7d64b3df4")}catch{}})();const m=(o,r)=>r===1?"roundedBox":o===0?"topRoundedBox":o===r-1?"bottomRoundedBox":"box";function g({content:o,boxType:r,isDisabled:d=!1,isNotClickable:t=!1}){const i=l();switch(r??"roundedBox"){case"topRoundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",r),children:o});case"bottomRoundedBox":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",r),children:o});case"box":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",r),children:o});case"roundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",r),children:o})}}const n=a.div`
1
+ import{J as l,V as s,aQ as b,o as e}from"./index-RSYdG57D.js";import{n as a}from"./mui-Bi6zxcZy.js";import{o as p}from"./commonDimensions-ClmbdehE-DR4Uvnd8.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="beb10ef7-9c24-4313-a57c-0e7655c36525",o._sentryDebugIdIdentifier="sentry-dbid-beb10ef7-9c24-4313-a57c-0e7655c36525")}catch{}})();const m=(o,r)=>r===1?"roundedBox":o===0?"topRoundedBox":o===r-1?"bottomRoundedBox":"box";function g({content:o,boxType:r,isDisabled:d=!1,isNotClickable:t=!1}){const i=l();switch(r??"roundedBox"){case"topRoundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",r),children:o});case"bottomRoundedBox":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",r),children:o});case"box":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",r),children:o});case"roundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",r),children:o})}}const n=a.div`
2
2
  box-sizing: border-box;
3
3
  cursor: ${o=>o.isDisabled||o.hideCursor===!0?"default":"pointer"};
4
4
  min-height: ${o=>p.transactionItemHeightResponsive.valuePx(o.windowSize)};
@@ -1,11 +1,11 @@
1
- import{y as dt,J as ut,aR as Te,V as a,af as W,a9 as pt,cX as mt,az as ft,cH as yt,aZ as ve,aQ as Oe,ge as ht,r as gt,bD as xt,ab as St,cI as wt,cr as Ct,cs as bt,ct as Dt,T as Tt,ad as vt,aS as Ot,o as l,x as V,an as je,F as Fe,gf as It,fC as Ie,f1 as Nt,b as $t,a as kt,am as Ae,z as Pt,M as Vt,u as N}from"./index-DkG4Gq_1.js";import{a as j}from"./sentry-CkqzujGZ.js";import{n as d}from"./mui-jyIGzSd8.js";import{Fy as jt,bi as Y,G3 as Ft,G2 as At,G4 as _t}from"./zeni-epic-state-B9mN2lN3.js";import{r as Lt,z as zt}from"./CompanyOfficerDetailsSection-DzleqDta-Be_JBAVv.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";import"./helper-YFgDgQKT-ChTt6pIM.js";import"./LabeledAddressValueField-DYjUauc7-BRnlsecO.js";import"./LabeledCountryMultiSelectField-CekqwoGI-DN5ndG6t.js";import"./LabeledCreatableSingleSelectField-By3V1BNi-Bq1EDd21.js";import"./LabeledDocumentField-CN-BH7Gq-BZP0wEAT.js";import"./commonTypes-0d0JMX8y-C627GAKQ.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},S=new t.Error().stack;S&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[S]="76914c2a-7ddf-424f-9d38-53f113a9325b",t._sentryDebugIdIdentifier="sentry-dbid-76914c2a-7ddf-424f-9d38-53f113a9325b")}catch{}})();const x={width:new V(343,580,726),titleWidth:new V(343,580,726,826),subTitlePaddingTop:new V(12,N[3]),subTitlePaddingBottom:new V(N[3],N[3]),verificationDetailsRowGap:new V(12,N[5],N[5]),termsPaddingLeftRight:new V(N[0],N[3])},Bt={stepTitle:new Pt("h6Regular","h5Regular")},Ne="businessVerificationPage",D="companyDetails",T="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:Et,currency:$e,footer:ke,strings:{empty:Rt}}}=Fe.getLocalizedStrings(),va=({businessVerificationDetails:t,allNationalityCountries:S,verficationDetailsFetchState:$,isRefreshingViewInBackground:L,filesEndPoint:i,authParams:z,productType:y,allIndustries:F,companyTitles:B,maxInsuredAmount:m,isDisabled:k,isSettings:r=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:Z=!1,transferDetails:E,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Le,onBackClick:A,onGetOtp:ze,onVerifyOtp:Be,onResendOtp:Ee,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Me,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Ue,onCompanyOfficerUpdated:Ge,saveNewAddressInLocalStore:re,onSaveDetailsClick:We,onClickMenuIcon:Ye,onExecuteTreasuryTransfer:Ze})=>{const qe=dt(),u=ut(),{updateStatus:R,companyView:_,companyDetailsLocalData:o,companyOfficerLocalData:C}=t,Je=Te(R.fetchState),M=_?.company.company.featuresActivationInfo.connectedAccountProvider,Qe=M==="unit"?a.jsxs(Qt,{children:[s.terms.term1,a.jsx(W,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(W,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(W,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(W,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[He,q]=j.useState(!1),[U,oe]=j.useState("save"),[J,Ke]=j.useState(!1),p=pt({mode:"all",reValidateMode:"onChange",defaultValues:Mt(t,F,B,S)}),{isValid:Xe}=p.formState,G=_?.company.company.companyBillPayInfo,Q=_?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?Q?.companyVerificationStatus:G?.companyVerificationStatus,v=Object.values(C).findIndex(e=>e?.isSelectedForVerification===!0),O=`Officer_${v<0?1:v+1}`,et=()=>{const e=C[O],n=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,b=e?.firstName,I=e?.lastName,ue=e?.titleAtCompany,pe=e?.documentTypeSelectedForVerification,me=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?Y(fe):void 0,he=o?.companyDescription,X=o?.companyLegalName,ge=o?.companyIndustry,xe=o?.phone,Se=o?.website,we=o?.addressStatus?.addressToCreate!=null?Y(o?.addressStatus?.addressToCreate):void 0,ee=o?.primaryContactLocalData,Ce=ee?.firstName,be=ee?.lastName,De=ee?.email;n!=null&&f!=null&&b!=null&&I!=null&&c!=null&&ue!=null&&me!=null&&ye!=null&&pe!=null&&he!=null&&X!=null&&xe!=null&&Se!=null&&ge!=null&&X!=null&&we!=null&&Ce!=null&&be!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:b,lastName:I,companyRole:ue,phone:me,formattedAddress:ye,documentTypeForVerification:pe},{companyDescription:he,legalName:X,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:be,email:De},y,r?"Settings":void 0)},tt=()=>{const e=C[O],n=o?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,b=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${T}.${v<0?0:v}.name`,{shouldFocus:!0}),!1):b&&!I?((!n?.firstName||!n?.lastName)&&p.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=C[O],n=o?.primaryContactLocalData,c=e?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&p.trigger(`${D}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||H!=null&&H?.length>0)return p.trigger(`${T}.${v<0?0:v}.email`,{shouldFocus:!0}),!1;return!0},it=p.handleSubmit(()=>{if(U!=="verification"&&oe("verification"),M==="unit"&&C[O]?.isPhoneVerified!==!0){p.setError(`${T}.${v}.phone`,{type:"custom"});return}const e=mt(Object.values(C).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(o?.deleteFileStatusById??{}).filter(c=>c!=null);jt(e.concat(n)).fetchState!=="In-Progress"&&Xe&&(et(),Re?.(O),Z===!0&&Ze?.())}),st=async(e,n)=>{e.includes(D)?Me?.(n[D]):e.includes(T)&&Ge?.(n[T])},nt=j.useCallback(ft((e,n)=>{st(e,n)},300),[]);j.useEffect(()=>{const e=p.watch((n,{name:c})=>{c!=null&&n!=null&&yt(()=>nt(c,n))});return()=>{e.unsubscribe()}});const le=Te(t.companyDetailsLocalData?.addressStatus);j.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(re?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${D}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,re,p]);const ce=_?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),H=ce?.map(e=>e.user),rt=ce?.map(e=>e.role),ot={onOkClick:()=>{q(!1),A();const e=[],n=_?.company.company.incInfo.fileIds??[];p.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||e.push(c)}),rt?.forEach((c,f)=>{const b=c?.fileIds??[];p.getValues(`${T}.${f}.fileIds`).forEach(I=>{b.includes(I)||e.push(I)})}),e.length!==0&&Ue?.(e)},onCancelClick:()=>{q(!1)}},lt=ve(Oe(m),m,$e.currencySymbol).toUpperCase(),K=P?.code==="pending_review"||P?.code==="verified",de=(E?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;if(y==="zeni_treasury"&&P?.code==="pending_review"&&Je==="In-Progress"&&R.fetchState==="Completed")return a.jsxs(ia,{children:[a.jsxs(sa,{children:[a.jsx(ht,{}),a.jsx(na,{windowSize:u,children:Z===!0?s.submittedTitleWithTransfer:s.submittedTitle}),a.jsx(aa,{isReadonly:!1,children:Z===!0?s.submittedDescriptionWithTransfer.replace("__amount__",ve(Oe(E?.treasuryTransferMoneyLocalData?.amount?.amount??0),E?.treasuryTransferMoneyLocalData?.amount?.amount??0,$e.currencySymbol)).replace("__account__",E?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):s.submittedDescription})]}),a.jsx(gt,{label:s.submittedButton,onClick:()=>{A(),te?.()},variant:"primary"})]});const ct=()=>{const e=G?.companyVerificationStatus?.code==="verified",n=(o?.countriesOfOperations?.length??0)>0||o?.companySourceOfFunds!=null||o?.transactionVolume!=null||o?.purposeOfAccount!=null||o?.registeredAddressStatus!=null||o?.usNexus!=null;return e===!0&&n===!1};return a.jsxs(Ut,{isSettings:r,children:[a.jsx(xt,{title:h&&w===!0?Rt:s.header,backgroundColor:qe.colors.grey5,style:{zIndex:J?1:4},onBackClick:()=>{wt(p.formState.dirtyFields)?q(!0):A()},showBackButton:!r&&!h,showMenuIcon:r?u==="medium-compact"||u==="small":!1,onClickMenuIcon:Ye,rightSideComponent:h?a.jsx(ra,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{A(),te?.()}}):null,source:"BusinessVerificationPage"}),He===!0?a.jsx(Ct,{titleComponent:a.jsx(Dt,{children:s.discardTitle}),descriptionComponent:a.jsx(bt,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:ot}):null,a.jsxs(Yt,{windowSize:u,children:[(!h||w===!1)&&a.jsx(Wt,{windowSize:u,children:r?Et.infoText.businessVerification:s.title}),$==="In-Progress"||$==="Not-Started"?a.jsx(Zt,{children:a.jsx(Tt,{size:"ExtraLarge",start:!0})}):a.jsx(vt,{...p,children:a.jsxs("form",{id:Pe(Ne),onSubmit:it,children:[h&&w===!0&&a.jsxs(Gt,{children:[a.jsxs(Ht,{windowSize:u,children:[a.jsx(Kt,{windowSize:u,children:K?s.businessVerificationDetails:de?s.verifyBusinessDetails:s.verifyBusinessDetailsWithoutTransfer}),!K&&a.jsx(Xt,{children:a.jsxs(ea,{children:[a.jsx(Ve,{}),de&&a.jsx(Ve,{}),a.jsx(ta,{})]})})]}),a.jsx(_e,{isReadonly:K,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(qt,{children:[a.jsx(Lt,{companyOfficerData:C,allNationalityCountries:S,allOfficers:H??[],sectionId:T,isRefreshingViewInBackground:L,connectedAccountProvider:M,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:k,filesEndPoint:i,authParams:z,isPopupOpen:J,openPopup:Ke,onGetOtp:ze,onVerifyOtp:Be,onResendOtp:Ee,companyTitles:B,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(zt,{companyDetails:o,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:L},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",hideNewOnboardingFields:ct(),sectionId:D,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":k,fileProps:{authParams:z,filesEndPoint:i,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Le,connectedAccountProvider:M,allIndustries:F,allNationalityCountries:S})]}),y==="zeni_accounts"?a.jsx(Jt,{windowSize:u,children:s.threadText.replace("__amount__",lt)}):null]})})]}),$==="Completed"&&(y==="zeni_treasury"?Q?.companyVerificationStatus?.code!=="pending_review"&&Q?.companyVerificationStatus?.code!=="verified":G?.businessVerificationStatus?.code!=="pending_review"&&G?.businessVerificationStatus?.code!=="verified")?a.jsx(Ot,{formId:Pe(Ne),primaryBtn:{label:w?ke.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:u==="small"?"auto":w?"83px":"181px"},isLoading:U==="verification"&&R.fetchState==="In-Progress",isDisabled:k!=null},containerStyle:{width:u==="small"?x.width.valuePx(u):"auto",justifyContent:u==="small"?"space-between":"center"},helperStyle:{width:u==="small"?x.width.valuePx(u):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(u),paddingRight:x.termsPaddingLeftRight.valuePx(u),textAlign:u==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?ke.back:s.saveDetailsButton,style:{width:u==="small"?"auto":w?"83px":"181px"},isLoading:U==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)A();else{const e=C[O],n=o?.primaryContactLocalData;U!=="save"&&oe("save");const c=e?.email??"",f=tt(),b=at();f&&b&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?Y(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:o?.companyDescription,legalName:o?.companyLegalName,phone:o?.phone,website:o?.website?.toString(),industry:o?.companyIndustry??"",formattedAddress:o?.addressStatus?.addressToCreate!=null?Y(o?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,r?"Settings":void 0),We?.(O))}}},helperText:Qe,style:{padding:`12px ${l.sp3}`,zIndex:J?0:4}}):null]})},Mt=(t,S,$,L)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:z,companyView:y}=t,F=Fe.getLocalizedStrings().companyPassport,B=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(m=>m.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(m=>m.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(m=>m.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(m=>m.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:F.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:F.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(s.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:[..._t]},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:[...At]},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:i?.usNexusTypes??[],allOptions:[...Ft]},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[T]:Object.values(z).map((m,k)=>{const r=m,h=It(r?.documentTypeSelectedForVerification);return{userId:r?.userId,officerType:r?.officerType??`Officer_${k+1}`,name:{firstName:r?.firstName,lastName:r?.lastName},email:r?.email,fileIds:r?.fileIds??[],dob:r?.birthday?.toDate(),nationalityCountryCode:Nt(r?.nationalityCountryCode,L.map(g=>g.countryCode)),ssn:r?.ssn,role:{selectedOption:r?.titleAtCompany,allOptions:$?.map(g=>g.code)},phone:r?.phone??"",ownership:r?.ownershipInCompany,officerAddress:r?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,r?.userFiles??[],h),back:Ie(!1,r?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!B&&k===0?!0:r?.isSelectedForVerification??!1,userVerificationStatus:r?.userVerificationStatus,treasuryUserVerificationStatus:r?.treasuryUserVerificationStatus,syncToken:r?.syncToken,isPhoneVerified:r?.isPhoneVerified,otpChallenge:r?.otpChallenge}})}},Pe=t=>`${t}_form`,Ut=d.div`
1
+ import{d as dt,J as ut,aR as Te,V as a,ae as G,a9 as pt,cW as mt,ay as ft,cG as yt,aZ as ve,aP as Oe,gd as ht,i as gt,bD as xt,aQ as St,cH as wt,cq as Ct,cr as bt,cs as Dt,T as Tt,ac as vt,aS as Ot,o as l,y as F,am as Ve,F as je,ge as It,fB as Ie,f0 as Nt,R as $t,x as kt,al as Ae,H as Pt,a as Ft,u as N}from"./index-RSYdG57D.js";import{a as V}from"./sentry-D087_5zX.js";import{n as d}from"./mui-Bi6zxcZy.js";import{ER as Vt,bi as Y,Fm as jt,Fl as At,Fn as _t}from"./zeni-epic-state-DnYFo_hK.js";import{r as Lt,z as Bt}from"./CompanyOfficerDetailsSection-Rk0B5cB5-BHN1U_wu.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";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"./commonTypes-B-foaEwJ-DVRX5AIJ.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},S=new t.Error().stack;S&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[S]="b506d23f-f163-4af6-88ba-9d6d3b9191aa",t._sentryDebugIdIdentifier="sentry-dbid-b506d23f-f163-4af6-88ba-9d6d3b9191aa")}catch{}})();const x={width:new F(343,580,726),titleWidth:new F(343,580,726,826),subTitlePaddingTop:new F(12,N[3]),subTitlePaddingBottom:new F(N[3],N[3]),verificationDetailsRowGap:new F(12,N[5],N[5]),termsPaddingLeftRight:new F(N[0],N[3])},zt={stepTitle:new Pt("h6Regular","h5Regular")},Ne="businessVerificationPage",D="companyDetails",T="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:Et,currency:$e,footer:ke,strings:{empty:Rt}}}=je.getLocalizedStrings(),va=({businessVerificationDetails:t,allNationalityCountries:S,verficationDetailsFetchState:$,isRefreshingViewInBackground:L,filesEndPoint:i,authParams:B,productType:y,allIndustries:j,companyTitles:z,maxInsuredAmount:m,isDisabled:k,isSettings:r=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:Z=!1,transferDetails:E,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Le,onBackClick:A,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Ue,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Me,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:re,onSaveDetailsClick:Ge,onClickMenuIcon:Ye,onExecuteTreasuryTransfer:Ze})=>{const qe=dt(),u=ut(),{updateStatus:R,companyView:_,companyDetailsLocalData:o,companyOfficerLocalData:C}=t,He=Te(R.fetchState),U=_?.company.company.featuresActivationInfo.connectedAccountProvider,Je=U==="unit"?a.jsxs(Jt,{children:[s.terms.term1,a.jsx(G,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(G,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(G,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(G,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ke,q]=V.useState(!1),[M,oe]=V.useState("save"),[H,Qe]=V.useState(!1),p=pt({mode:"all",reValidateMode:"onChange",defaultValues:Ut(t,j,z,S)}),{isValid:Xe}=p.formState,W=_?.company.company.companyBillPayInfo,J=_?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?J?.companyVerificationStatus:W?.companyVerificationStatus,v=Object.values(C).findIndex(e=>e?.isSelectedForVerification===!0),O=`Officer_${v<0?1:v+1}`,et=()=>{const e=C[O],n=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,b=e?.firstName,I=e?.lastName,ue=e?.titleAtCompany,pe=e?.documentTypeSelectedForVerification,me=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?Y(fe):void 0,he=o?.companyDescription,X=o?.companyLegalName,ge=o?.companyIndustry,xe=o?.phone,Se=o?.website,we=o?.addressStatus?.addressToCreate!=null?Y(o?.addressStatus?.addressToCreate):void 0,ee=o?.primaryContactLocalData,Ce=ee?.firstName,be=ee?.lastName,De=ee?.email;n!=null&&f!=null&&b!=null&&I!=null&&c!=null&&ue!=null&&me!=null&&ye!=null&&pe!=null&&he!=null&&X!=null&&xe!=null&&Se!=null&&ge!=null&&X!=null&&we!=null&&Ce!=null&&be!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:b,lastName:I,companyRole:ue,phone:me,formattedAddress:ye,documentTypeForVerification:pe},{companyDescription:he,legalName:X,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:be,email:De},y,r?"Settings":void 0)},tt=()=>{const e=C[O],n=o?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,b=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${T}.${v<0?0:v}.name`,{shouldFocus:!0}),!1):b&&!I?((!n?.firstName||!n?.lastName)&&p.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=C[O],n=o?.primaryContactLocalData,c=e?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&p.trigger(`${D}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||K!=null&&K?.length>0)return p.trigger(`${T}.${v<0?0:v}.email`,{shouldFocus:!0}),!1;return!0},it=p.handleSubmit(()=>{if(M!=="verification"&&oe("verification"),U==="unit"&&C[O]?.isPhoneVerified!==!0){p.setError(`${T}.${v}.phone`,{type:"custom"});return}const e=mt(Object.values(C).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(o?.deleteFileStatusById??{}).filter(c=>c!=null);Vt(e.concat(n)).fetchState!=="In-Progress"&&Xe&&(et(),Re?.(O),Z===!0&&Ze?.())}),st=async(e,n)=>{e.includes(D)?Ue?.(n[D]):e.includes(T)&&We?.(n[T])},nt=V.useCallback(ft((e,n)=>{st(e,n)},300),[]);V.useEffect(()=>{const e=p.watch((n,{name:c})=>{c!=null&&n!=null&&yt(()=>nt(c,n))});return()=>{e.unsubscribe()}});const le=Te(t.companyDetailsLocalData?.addressStatus);V.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(re?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${D}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,re,p]);const ce=_?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),K=ce?.map(e=>e.user),rt=ce?.map(e=>e.role),ot={onOkClick:()=>{q(!1),A();const e=[],n=_?.company.company.incInfo.fileIds??[];p.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||e.push(c)}),rt?.forEach((c,f)=>{const b=c?.fileIds??[];p.getValues(`${T}.${f}.fileIds`).forEach(I=>{b.includes(I)||e.push(I)})}),e.length!==0&&Me?.(e)},onCancelClick:()=>{q(!1)}},lt=ve(Oe(m),m,$e.currencySymbol).toUpperCase(),Q=P?.code==="pending_review"||P?.code==="verified",de=(E?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;if(y==="zeni_treasury"&&P?.code==="pending_review"&&He==="In-Progress"&&R.fetchState==="Completed")return a.jsxs(ia,{children:[a.jsxs(sa,{children:[a.jsx(ht,{}),a.jsx(na,{windowSize:u,children:Z===!0?s.submittedTitleWithTransfer:s.submittedTitle}),a.jsx(aa,{isReadonly:!1,children:Z===!0?s.submittedDescriptionWithTransfer.replace("__amount__",ve(Oe(E?.treasuryTransferMoneyLocalData?.amount?.amount??0),E?.treasuryTransferMoneyLocalData?.amount?.amount??0,$e.currencySymbol)).replace("__account__",E?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):s.submittedDescription})]}),a.jsx(gt,{label:s.submittedButton,onClick:()=>{A(),te?.()},variant:"primary"})]});const ct=()=>{const e=W?.companyVerificationStatus?.code==="verified",n=(o?.countriesOfOperations?.length??0)>0||o?.companySourceOfFunds!=null||o?.transactionVolume!=null||o?.purposeOfAccount!=null||o?.registeredAddressStatus!=null||o?.usNexus!=null;return e===!0&&n===!1};return a.jsxs(Mt,{isSettings:r,children:[a.jsx(xt,{title:h&&w===!0?Rt:s.header,backgroundColor:qe.colors.grey5,style:{zIndex:H?1:4},onBackClick:()=>{wt(p.formState.dirtyFields)?q(!0):A()},showBackButton:!r&&!h,showMenuIcon:r?u==="medium-compact"||u==="small":!1,onClickMenuIcon:Ye,rightSideComponent:h?a.jsx(ra,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{A(),te?.()}}):null,source:"BusinessVerificationPage"}),Ke===!0?a.jsx(Ct,{titleComponent:a.jsx(Dt,{children:s.discardTitle}),descriptionComponent:a.jsx(bt,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:ot}):null,a.jsxs(Yt,{windowSize:u,children:[(!h||w===!1)&&a.jsx(Gt,{windowSize:u,children:r?Et.infoText.businessVerification:s.title}),$==="In-Progress"||$==="Not-Started"?a.jsx(Zt,{children:a.jsx(Tt,{size:"ExtraLarge",start:!0})}):a.jsx(vt,{...p,children:a.jsxs("form",{id:Pe(Ne),onSubmit:it,children:[h&&w===!0&&a.jsxs(Wt,{children:[a.jsxs(Kt,{windowSize:u,children:[a.jsx(Qt,{windowSize:u,children:Q?s.businessVerificationDetails:de?s.verifyBusinessDetails:s.verifyBusinessDetailsWithoutTransfer}),!Q&&a.jsx(Xt,{children:a.jsxs(ea,{children:[a.jsx(Fe,{}),de&&a.jsx(Fe,{}),a.jsx(ta,{})]})})]}),a.jsx(_e,{isReadonly:Q,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(qt,{children:[a.jsx(Lt,{companyOfficerData:C,allNationalityCountries:S,allOfficers:K??[],sectionId:T,isRefreshingViewInBackground:L,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:k,filesEndPoint:i,authParams:B,isPopupOpen:H,openPopup:Qe,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Bt,{companyDetails:o,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:L},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",hideNewOnboardingFields:ct(),sectionId:D,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":k,fileProps:{authParams:B,filesEndPoint:i,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Le,connectedAccountProvider:U,allIndustries:j,allNationalityCountries:S})]}),y==="zeni_accounts"?a.jsx(Ht,{windowSize:u,children:s.threadText.replace("__amount__",lt)}):null]})})]}),$==="Completed"&&(y==="zeni_treasury"?J?.companyVerificationStatus?.code!=="pending_review"&&J?.companyVerificationStatus?.code!=="verified":W?.businessVerificationStatus?.code!=="pending_review"&&W?.businessVerificationStatus?.code!=="verified")?a.jsx(Ot,{formId:Pe(Ne),primaryBtn:{label:w?ke.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:k!=null},containerStyle:{width:u==="small"?x.width.valuePx(u):"auto",justifyContent:u==="small"?"space-between":"center"},helperStyle:{width:u==="small"?x.width.valuePx(u):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(u),paddingRight:x.termsPaddingLeftRight.valuePx(u),textAlign:u==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?ke.back:s.saveDetailsButton,style:{width:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)A();else{const e=C[O],n=o?.primaryContactLocalData;M!=="save"&&oe("save");const c=e?.email??"",f=tt(),b=at();f&&b&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?Y(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:o?.companyDescription,legalName:o?.companyLegalName,phone:o?.phone,website:o?.website?.toString(),industry:o?.companyIndustry??"",formattedAddress:o?.addressStatus?.addressToCreate!=null?Y(o?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,r?"Settings":void 0),Ge?.(O))}}},helperText:Je,style:{padding:`12px ${l.sp3}`,zIndex:H?0:4}}):null]})},Ut=(t,S,$,L)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:B,companyView:y}=t,j=je.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(m=>m.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(m=>m.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(m=>m.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(m=>m.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:j.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:j.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(s.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:[..._t]},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:[...At]},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:i?.usNexusTypes??[],allOptions:[...jt]},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[T]:Object.values(B).map((m,k)=>{const r=m,h=It(r?.documentTypeSelectedForVerification);return{userId:r?.userId,officerType:r?.officerType??`Officer_${k+1}`,name:{firstName:r?.firstName,lastName:r?.lastName},email:r?.email,fileIds:r?.fileIds??[],dob:r?.birthday?.toDate(),nationalityCountryCode:Nt(r?.nationalityCountryCode,L.map(g=>g.countryCode)),ssn:r?.ssn,role:{selectedOption:r?.titleAtCompany,allOptions:$?.map(g=>g.code)},phone:r?.phone??"",ownership:r?.ownershipInCompany,officerAddress:r?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,r?.userFiles??[],h),back:Ie(!1,r?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!z&&k===0?!0:r?.isSelectedForVerification??!1,userVerificationStatus:r?.userVerificationStatus,treasuryUserVerificationStatus:r?.treasuryUserVerificationStatus,syncToken:r?.syncToken,isPhoneVerified:r?.isPhoneVerified,otpChallenge:r?.otpChallenge}})}},Pe=t=>`${t}_form`,Mt=d.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  flex-direction: column;
5
5
  width: 100%;
6
6
  row-gap: ${l.sp3};
7
7
  background-color: ${t=>t.isSettings?"unset":t.theme.colors.grey5};
8
- `,Gt=d.div`
8
+ `,Wt=d.div`
9
9
  display: flex;
10
10
  flex-direction: column;
11
11
  align-items: flex-start;
@@ -13,7 +13,7 @@ import{y as dt,J as ut,aR as Te,V as a,af as W,a9 as pt,cX as mt,az as ft,cH as
13
13
  gap: ${l.sp1};
14
14
  width: 100%;
15
15
  padding-bottom: ${l.sp3};
16
- `,Wt=d(Ae)`
16
+ `,Gt=d(Ae)`
17
17
  color: ${t=>t.theme.colors.hero};
18
18
  display: flex;
19
19
  justify-content: center;
@@ -42,23 +42,23 @@ import{y as dt,J as ut,aR as Te,V as a,af as W,a9 as pt,cX as mt,az as ft,cH as
42
42
  display: flex;
43
43
  flex-direction: column;
44
44
  row-gap: ${l.sp11};
45
- `,Jt=d(je)`
45
+ `,Ht=d(Ve)`
46
46
  margin-top: ${l.sp2};
47
47
  padding: ${l.sp2} ${l.sp2};
48
48
  text-align: center;
49
49
  color: ${t=>t.theme.colors.grey1};
50
50
  width: ${t=>x.width.valuePx(t.windowSize)};
51
- `,Qt=d(je)`
51
+ `,Jt=d(Ve)`
52
52
  text-align: center;
53
53
  max-width: 750px;
54
54
  color: ${t=>t.theme.colors.hero};
55
- `,Ht=d.div`
55
+ `,Kt=d.div`
56
56
  display: flex;
57
57
  flex-direction: column;
58
58
  gap: ${l.sp3};
59
59
  width: 100%;
60
- `,Kt=d(Vt)`
61
- ${t=>`${Bt.stepTitle.style(t.windowSize)}`};
60
+ `,Qt=d(Ft)`
61
+ ${t=>`${zt.stepTitle.style(t.windowSize)}`};
62
62
  color: ${t=>t.theme.colors.primary};
63
63
  text-align: left;
64
64
  `,Xt=d.div`
@@ -70,7 +70,7 @@ import{y as dt,J as ut,aR as Te,V as a,af as W,a9 as pt,cX as mt,az as ft,cH as
70
70
  display: flex;
71
71
  width: 100%;
72
72
  gap: ${l.sp3};
73
- `,Ve=d.div`
73
+ `,Fe=d.div`
74
74
  flex: 1;
75
75
  height: 2px;
76
76
  background-color: ${t=>t.theme.colors.primary};
@@ -1,5 +1,5 @@
1
- import{J as m,V as r,F as w,w as y,o as a,z as x,M as b}from"./index-DkG4Gq_1.js";import{n as o}from"./mui-jyIGzSd8.js";import{a as c}from"./sentry-CkqzujGZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="964332e3-ae32-4661-82cd-765a1f418f54",e._sentryDebugIdIdentifier="sentry-dbid-964332e3-ae32-4661-82cd-765a1f418f54")}catch{}})();const $=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:p,spendManagement:{chargeCard:t}}=w.getLocalizedStrings(),C={subText:new x("extraSmallRegular","standardRegular")},j=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=m(),h=e.type.code.includes("credit")?t.chargeCardsPromo.credit:t.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?t.cardList.physicalCard:t.cardList.virtualCard;const i=p.strings.space+t.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,f=e.status.code==="request_on_hold"||!s?d:i,n=e.type.code.includes("physical");return r.jsxs(v,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${f}`,children:[h,r.jsx(H,{}),d,n&&!s?r.jsx(u,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!s?null:i,n&&s?r.jsx(u,{}):null]})},v=o(b)`
2
- ${e=>e.forDetailPage?{...y.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
1
+ import{J as m,V as r,F as y,b as w,o as a,H as b,a as x}from"./index-RSYdG57D.js";import{n as o}from"./mui-Bi6zxcZy.js";import{a as c}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:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="c744afd6-d4ee-42b4-8042-a784f5ac0338",e._sentryDebugIdIdentifier="sentry-dbid-c744afd6-d4ee-42b4-8042-a784f5ac0338")}catch{}})();const $=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:p,spendManagement:{chargeCard:t}}=y.getLocalizedStrings(),C={subText:new b("extraSmallRegular","standardRegular")},j=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=m(),h=e.type.code.includes("credit")?t.chargeCardsPromo.credit:t.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?t.cardList.physicalCard:t.cardList.virtualCard;const i=p.strings.space+t.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,f=e.status.code==="request_on_hold"||!s?d:i,n=e.type.code.includes("physical");return r.jsxs(H,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${f}`,children:[h,r.jsx(v,{}),d,n&&!s?r.jsx(u,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!s?null:i,n&&s?r.jsx(u,{}):null]})},H=o(x)`
2
+ ${e=>e.forDetailPage?{...w.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
3
3
  color: ${e=>e.theme.colors.hero};
4
4
  max-width: 100%;
5
5
  overflow: hidden;
@@ -8,7 +8,7 @@ import{J as m,V as r,F as w,w as y,o as a,z as x,M as b}from"./index-DkG4Gq_1.js
8
8
  display: flex;
9
9
  align-items: center;
10
10
  gap: ${a.sp1};
11
- `,H=o.span`
11
+ `,v=o.span`
12
12
  height: ${a.sp1};
13
13
  width: ${a.sp1};
14
14
  background-color: ${e=>e.theme.colors.grey1};