@zeniai/web-cockpit-ui 1.15.22-qa → 1.15.23-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 (304) hide show
  1. package/dist/assets/{ACHDetailsPage-CZfTXGMr-Lnh65l9r.js → ACHDetailsPage-BOZmOJHO-DA9D4iJH.js} +2 -2
  2. package/dist/assets/{AIPerformancePage-CpfWdGaC-uJXPs-cJ.js → AIPerformancePage-ZVCJizP9-D55hw0l8.js} +16 -16
  3. package/dist/assets/AccountInfoPage-DF6IU0EG-CK0AD-ot.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-CYZIBmtA-Cc8jicZs.js → AccountInfoPageContent-D0wuuzMd-YMtVFfpn.js} +18 -18
  5. package/dist/assets/{AccountLockedInfoModal-BFBjEOzC-CW9VKIHW.js → AccountLockedInfoModal-Cfx-lPAZ-B55UQ1W3.js} +6 -6
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DSFCBgAM-DRW_32Fg.js → AccountReconDetailsDrawerPage-DbHX6rPG-BwmWp-T3.js} +15 -15
  7. package/dist/assets/{AccountRow-Gn7g3D_F-BBQfly-U.js → AccountRow-Bk_25FCy-D03inSab.js} +21 -21
  8. package/dist/assets/{AccountsPromoCardStack-DOMli4-L-CRu-629U.js → AccountsPromoCardStack-DAXRwY1f-DegwS44K.js} +28 -28
  9. package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-AmBvQD8m.js +6 -0
  10. package/dist/assets/{AddToWalletPage-D-Z-ZVZn-DWs7ZCUy.js → AddToWalletPage-CzziHgi7-j3gMOtad.js} +22 -22
  11. package/dist/assets/{AgingReportsPage-CdqPmA60-xeaigsqC.js → AgingReportsPage-Bdi3krKK-Bf-4bvXh.js} +5 -5
  12. package/dist/assets/{AllUserItems-DWLkEF2p-Cu4TKU61.js → AllUserItems-XWDuiug6-DkHHRN56.js} +10 -10
  13. package/dist/assets/{ApAgingDetailPage-CdtqprUm-UvzFtkee.js → ApAgingDetailPage-CaM_AzrU-DCtFqylK.js} +7 -7
  14. package/dist/assets/AppBasePage-B7_L4R6d-DSvQT3A9.js +71 -0
  15. package/dist/assets/{AppDrawerContent-DCMK2lRO-h01OkeSR.js → AppDrawerContent-DSX1364T-CNP-B7uf.js} +7 -7
  16. package/dist/assets/ApprovalRulesSettingsPage-DrjPOeyp-BrhLSwXJ.js +47 -0
  17. package/dist/assets/{ArAgingChart-DOYvVptv-DR9dm5ZT.js → ArAgingChart-M7KUNA4G-DKIpaPUv.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BCaRO749-DXQQQ2B5.js → ArAgingDetailPage-7lby5mXn-BtLBFlEX.js} +6 -6
  19. package/dist/assets/{AttachmentView-CnfHYBMC-GPUL-heq.js → AttachmentView-Bsa0u92o-BEQFOxXv.js} +7 -7
  20. package/dist/assets/{BankAccountSection-P9w-MOrg-CGYV7ljA.js → BankAccountSection-BkOlwayA-DP864Lrq.js} +6 -6
  21. package/dist/assets/{BankAccountWarningSection-BDEZ6LKQ-6TRhx7Zc.js → BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js} +9 -9
  22. package/dist/assets/{BankConnectionsSettingsPage-dE7WxsGo-DOI-arB-.js → BankConnectionsSettingsPage-C_YytTke-B8k-pddW.js} +21 -21
  23. package/dist/assets/{BillDetailPage-CAbohg1r-BBfYosTz.js → BillDetailPage-DvU5_Rsp-C9dpUiI6.js} +12 -12
  24. package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-CFPoQw5A.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-wy4fIDHo-0_ycq9ss.js → BillPayApprovalRulesPage-CA9eufjt-BNyCnVeE.js} +14 -14
  26. package/dist/assets/{BillPayPromoPage-CbXq0YNV-NkwCl8Xq.js → BillPayPromoPage-DsXPWKAf-BqLcGJ_H.js} +10 -10
  27. package/dist/assets/{BillPaySetUpPage-CwP6Aw2I-eUmg7lOc.js → BillPaySetUpPage-CeMhzZ_3-BI9-weFw.js} +7 -7
  28. package/dist/assets/BillingSettingsPage-BygJjDSp-C0Ia6obD.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-QsGKIhW0-DYTD3gNy.js → BillsBulkReviewDrawerPage-WrR46NRa-CKI5pK1F.js} +1 -1
  30. package/dist/assets/{BoxItem-CgrlwejJ-SY_ufI2M.js → BoxItem-C0M4PSXY-D0kSlmNN.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-C63pUk4d-C1yyAjbf.js +138 -0
  32. package/dist/assets/{CardNumberSubText-DPlqciQh-IidQQCet.js → CardNumberSubText-B4dAoYDE-B1SbTgmV.js} +2 -2
  33. package/dist/assets/{CashbackDetailPage-DvxlixOz-BLcSoq8t.js → CashbackDetailPage-B6xvn-y3-CO89J05d.js} +16 -16
  34. package/dist/assets/{ChargeCardDetailPage-BwsPpOzj-BfT6wPmj.js → ChargeCardDetailPage-eJJ4MEE6-BXMqrqi9.js} +25 -25
  35. package/dist/assets/{ChargeCardListPage-BKu9-MWp-D4Kr8c-a.js → ChargeCardListPage-BYI2HIjA-B0giUbEV.js} +19 -19
  36. package/dist/assets/{ChargeCardListTable-BkAggUNy-DdMJhtGO.js → ChargeCardListTable-DAVYmKCK-DEY8KXB2.js} +44 -44
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-BddAvqUm-D_kTbujS.js → ChargeCardPaymentHistoryPage-BX5HtOxd-BV2ugIHB.js} +47 -47
  38. package/dist/assets/ChargeCardPromoPage-DuQe7BpX-B1bYsTBb.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-B3vasCMt-i66Fofvm.js → ChargeCardSetupPage-DG1eKhYR-BVTvcCk1.js} +6 -6
  40. package/dist/assets/{ChargeCardStatementsPage-BOscGNXN-BaohNBwD.js → ChargeCardStatementsPage-CvtZtuVC-BbTDMJQ9.js} +9 -9
  41. package/dist/assets/{CheckDepositDrawerPage-BEEyhU4L-BWlcFHrW.js → CheckDepositDrawerPage-BdacGDpy-CN6aGowb.js} +15 -15
  42. package/dist/assets/{CollapsableReportTable-BpZbn8JV-BJBRRzKX.js → CollapsableReportTable-UADp1m_8-C887iUXZ.js} +81 -81
  43. package/dist/assets/CompanyOfficerDetailsSection-CaAR0Wvk-CmXyx64P.js +331 -0
  44. package/dist/assets/{CompanyPassportCard-DnpS3cSu-DrHqCrTH.js → CompanyPassportCard-BJN2GEVm-LlIc7P9q.js} +5 -5
  45. package/dist/assets/CompanyPassportPage-D2ALJDF_-B0BzydTg.js +417 -0
  46. package/dist/assets/{CompleteProfile-E7yJ6AqT-Jh4pB2E8.js → CompleteProfile-C8X8Z3C2-Bzf6-WNu.js} +4 -4
  47. package/dist/assets/ConfettiBurst-DxHzdDPp-BHPKFQrr.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BrcJvid9.js → ConstrainedInnerElement-BeIpAPjB-D4MBpZa1.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CqGWKAVs-7gjtNzWv.js → CreateOrEditVendorPage-y-COpdhs-CywEWB6a.js} +15 -15
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CO7njZlm-C-d7vRgi.js → CreditCardPaymentDrawerPage-CntYJJ8v-CZ68p-k6.js} +16 -16
  51. package/dist/assets/{CurrencySelectField-DxdAWtY0-CBQRJAjO.js → CurrencySelectField-Dn-hE2az-n1RHeHxE.js} +3 -3
  52. package/dist/assets/{CustomerOnboardingActivationPage-CEaKVaVS-DcV5VN2r.js → CustomerOnboardingActivationPage-B9MZHJVc-BxzBFrW0.js} +5 -5
  53. package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-CZ-wHAQI.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Bk-UD_xZ-DMv5b6Tt.js → CustomerOnboardingDetailPageSkeleton-BCe8BvQF-DaEKstx7.js} +13 -13
  55. package/dist/assets/CustomerOnboardingNoStepsPage-BHk7rDAg-B5ZKgZir.js +66 -0
  56. package/dist/assets/{CustomerOnboardingPage-D2g6ose5-Be4Xr3ip.js → CustomerOnboardingPage-1LvpVpHC-Cr4NP9fC.js} +8 -8
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BowJfyTX-BfHzAcC6.js → CustomerOnboardingProductSuitePage-DMYHMJXg-DeyKCfXK.js} +8 -8
  58. package/dist/assets/{Dashboard-46VwWQSI-DkmTwrc_.js → Dashboard-CCV0_aCP-BoBmH13Z.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-BA6k3bPl-Ckr1Cj4h.js → DashboardReportPage-CmoH9Vrc-CzA5O7KO.js} +13 -13
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-Dh7RFAmH-Bd8SKLYF.js → DashboardSidebarBackgroundAnimation-hw3einS7-DUVXWx2a.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-Dql1IjYZ-CuunBLNt.js → DepositAccTransactionItem-DgdkYGjP-BkMVZWVv.js} +5 -5
  62. package/dist/assets/{DepositAccTransactionListPage-BjKtMY47-QOEpFUZh.js → DepositAccTransactionListPage-CF0WJn9M-DlPgp9dm.js} +5 -5
  63. package/dist/assets/{DomesticWireDetailsPage-DeXdHoem-D64dC2Fm.js → DomesticWireDetailsPage-B12tNa6e-DRCqor_l.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-C9lm7jRS-CeHdqCLM.js → DownloadOverlay-Dt9yt4Fz-OGiiWSIN.js} +1 -1
  65. package/dist/assets/{DrawerPage-DwjcM3hz-DN4jvr6d.js → DrawerPage-Clki97FA-CqA84wbo.js} +13 -13
  66. package/dist/assets/EditPeoplePage-CKS_aEZm-B7Tw7FjE.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-BerHadSD-BZkriWLo.js → EditReimbursementDetailPage-CXy2ZWfZ-BrOpTSUf.js} +41 -41
  68. package/dist/assets/EntityDetailPage-B3TQ5hCP-IVMsCeoo.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BvXgw7DC-CQCJSWNO.js → EntitySummarySection-D_YLsP_P-CSh4l-FA.js} +8 -8
  70. package/dist/assets/{ExpenseAutomationOverviewPage-ySXotmyY-CJVvqVP_.js → ExpenseAutomationOverviewPage-4z3yzHEA-ChRwE60S.js} +10 -10
  71. package/dist/assets/{ExpenseAutomationPage-CieCVy8t-QWzCgCzs.js → ExpenseAutomationPage-BJ4H_c2z-FgmOcOvc.js} +146 -146
  72. package/dist/assets/{ExpressPayPage-BnUc-3ye-C1dh3GPA.js → ExpressPayPage-CTBD4y1v-NYjAlIxO.js} +15 -15
  73. package/dist/assets/{FeaturePreviewPage-rGKH26mO-DT9io36R.js → FeaturePreviewPage-CYuTQWpP-Bl8VAq6v.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-Cul0Cxvm-Cn0WFUN2.js → FollowStepsSection-BrpI2HyW-DNSECr6B.js} +9 -9
  75. package/dist/assets/{GlobalReviewListPage-CC2ACTah-DpbOnqO_.js → GlobalReviewListPage-BcvxLqIL-CD9rfA0-.js} +12 -12
  76. package/dist/assets/{InformationCardStack-geyzh82K-DogR-UgS.js → InformationCardStack-CU4Moqky-Bc_PhxNK.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-DmEWXOXG-w9gyiHl5.js → InsightsCardStack-D8UQiuXZ-DRkswx9n.js} +8 -8
  78. package/dist/assets/InsightsSection-C3X6ZNEt-CSaE3QjL.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-D8DA20vr-kp4AqUjm.js → IntegrationsSettingsPage-CsLv00HW-c8_zALL5.js} +7 -7
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-C0p3_QQy-B1pmkx4O.js → InternationalWireSwiftDetailsPage-DgrN5Xg7-ik2bKR2J.js} +21 -21
  81. package/dist/assets/InternationalWireVerificationPage-CvysJNBQ-Q67xp-Zv.js +65 -0
  82. package/dist/assets/{InviteFormPage-CH4FYGl4-C_KdwWPO.js → InviteFormPage-B3KmRWXd-DZboWDF0.js} +23 -23
  83. package/dist/assets/{InvitePageListView-C-RG9OiM-CB7Rd6Dr.js → InvitePageListView-DfpJBZru-8z8nAtFG.js} +66 -66
  84. package/dist/assets/InvitePeoplePage-C5Qgk24s-U6BHBwDh.js +12 -0
  85. package/dist/assets/{InvoiceUploadSection-YQHXVR_6-CHAjSpjl.js → InvoiceUploadSection-BO1i-e_D-S9qpWOlw.js} +21 -21
  86. package/dist/assets/{IssueChargeCardPage-CKhRoUiP-D72FC7LA.js → IssueChargeCardPage-mPsxt52d-PfQTvSAJ.js} +20 -20
  87. package/dist/assets/{LabeledAddressValue-D_-0VDjZ-CEjisdoE.js → LabeledAddressValue-C4fnQSyi-BYyUYLsR.js} +2 -2
  88. package/dist/assets/{LabeledAddressValueField-BNPvRvHU-DSWtQeav.js → LabeledAddressValueField-D6dEaI69-DANZLTzI.js} +4 -4
  89. package/dist/assets/LabeledControlledCheckBoxField-B1QdZmvd-DW7Mu6XT.js +16 -0
  90. package/dist/assets/LabeledCountryMultiSelectField-XeBih_-f-O6Y-iu_1.js +237 -0
  91. package/dist/assets/{LabeledCreatableSingleSelectField-C1dHZ9ym-BSUe-QeQ.js → LabeledCreatableSingleSelectField-BPX2Nrlf-VQgMHUfl.js} +21 -17
  92. package/dist/assets/LabeledDocumentField-Bjg8sNsg-C-PR2ZST.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-QdvkGLEh-btByp1Dy.js → LabeledDropDownFormattedTextField-A-rgip1E-DXyiM_iz.js} +6 -6
  94. package/dist/assets/LabeledMultiSelectField-Di9Wnifv-CqQm8lOX.js +223 -0
  95. package/dist/assets/{LabeledText-CQiPSE0v-DtyhIBYN.js → LabeledText-38fqkkE--BV0pTSSz.js} +6 -6
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CcmaUIGJ-BtTLvsY7.js → LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-Bm5BEKWh.js} +17 -17
  97. package/dist/assets/{LabeledZeniRolesDropDownField-k0YihYN--BEaphyAB.js → LabeledZeniRolesDropDownField-Dg9_Ww-A-6LCZnv3_.js} +24 -24
  98. package/dist/assets/{LinkJETransactionPage-DUaT91O5-CYUXtAbL.js → LinkJETransactionPage-66mQ4nrK-Blq1QPxg.js} +16 -16
  99. package/dist/assets/{LockCardPage-DYD2_HzF-0LLriE_o.js → LockCardPage-BCqN4K17-BFhQlELS.js} +26 -26
  100. package/dist/assets/{LowBalancePopup-DiycrXpa-CTxg_4OL.js → LowBalancePopup-BPk1-eAb-DPKxi1xa.js} +5 -5
  101. package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-6n4CruRX.js +1 -0
  102. package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-DYmL1ff3.js +1 -0
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-eZNTvlJK-uMbPktxq.js → MagicLinkInternationalWireDetailsPage-B3OpSWB3-BbCH3bCn.js} +1 -1
  104. package/dist/assets/MagicLinkSuccessPage-CphaJa4k-C1L3trsn.js +31 -0
  105. package/dist/assets/{MagicLinkTitleSection-D6bdQGfS-RYgbBPda.js → MagicLinkTitleSection-77rxhjLm-DuK-hJU3.js} +10 -10
  106. package/dist/assets/{MailingDetailsSection-Db8X4a09-Ca6nJ4bp.js → MailingDetailsSection-BJfZvT0b-Cqv93bBS.js} +6 -6
  107. package/dist/assets/{MyBankConnectionsSettingsPage-C9rAs8AC-CPgToLwh.js → MyBankConnectionsSettingsPage-z0tHaSl1-D8NpXmDe.js} +13 -13
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-Dhz5e_Uu-CbKEq9X-.js → MyPendingActivationChargeCardListPage-CwGYwufd-BhPm_tq1.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-CxZER675-DWy9A37H.js → MyProfileSettingsPage-8yBXAre6-Bs5xqc-e.js} +8 -8
  110. package/dist/assets/{NavBarWithPicker-BSVBMx7T-7ctXnXTR.js → NavBarWithPicker-C3LVyiC9-QHhc6aBd.js} +5 -5
  111. package/dist/assets/{NavigationArrow-Ca-B5zfh-DOkEZ23Y.js → NavigationArrow-NuJEpE7O-BsQF0lUP.js} +1 -1
  112. package/dist/assets/{NavigationDots-CjxNj1Qo-DUSolsbK.js → NavigationDots-C7Na64B9-CHGprwD5.js} +3 -3
  113. package/dist/assets/{NewGlobalMerchantPage-LykCdab5-BSlnLQR0.js → NewGlobalMerchantPage-Cus6zYV_-DyfxnG1c.js} +41 -41
  114. package/dist/assets/NoDataChart-B3s_7m2n-DuPBFXV2.js +26 -0
  115. package/dist/assets/NoDataTable-CMpypnTw-C6S_V6d0.js +8 -0
  116. package/dist/assets/{NotFoundPage-C4BU4sH8-DZzAQ8sH.js → NotFoundPage-RjXioqc8-DMQ0F7IL.js} +9 -9
  117. package/dist/assets/{NotificationSettingsPage-BcZEeTzA-CPfHSoWp.js → NotificationSettingsPage-DrDW_LU_-mWZ117zO.js} +21 -21
  118. package/dist/assets/{NotificationsListConfig-CYqB9pO5-DEDNzQZY.js → NotificationsListConfig-C6_ap0JT-D0MspRwp.js} +1 -1
  119. package/dist/assets/{NotificationsPage-BpE7xDxK-D8yClJTG.js → NotificationsPage-DOM-Gf5P-BRdHJwOp.js} +15 -15
  120. package/dist/assets/{OpExByVendorPage-CzAB4zqP-CULV3aDc.js → OpExByVendorPage-CTuBB827-Bbt1veu8.js} +20 -20
  121. package/dist/assets/OverlayContainerPage-D4QU0p4o-Bbmz6FH4.js +11 -0
  122. package/dist/assets/{PandLWithForecastPage-CDkHjqzy-DUlj3c64.js → PandLWithForecastPage-BXaENYdR-DDSkVfM3.js} +11 -11
  123. package/dist/assets/PaymentAccountSetupBillingAddressSection-DSnQX90O-Dx1jHuZ7.js +107 -0
  124. package/dist/assets/{PeoplePage-C_FZL-mx-C-bfDUUk.js → PeoplePage-BlyVVthI-fFVSXzpH.js} +36 -36
  125. package/dist/assets/{Preview-D3Bnt1d1.js → Preview-DuIVCswF.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-lJBWrgjU-DonlKGOT.js → ProductsCarousel-CAcPH--E-BIuBBeKB.js} +6 -6
  127. package/dist/assets/{PromoBaseCards-BHeLFDFF-D9FOKv3v.js → PromoBaseCards-BVwZMVeE-DstwmvWv.js} +2 -2
  128. package/dist/assets/{QBOConnectionDialog-BfBk1GDG-BMfCjZzO.js → QBOConnectionDialog-C3OYyhYO-5hTjd5-l.js} +5 -5
  129. package/dist/assets/{QBOSetupSection-BO8FYRd_-Qn6LUGzs.js → QBOSetupSection-DQjol-D0-05cxakPz.js} +11 -11
  130. package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-DjqdHx3S.js +32 -0
  131. package/dist/assets/{ReimbursementApprovalRulesPage-2-dvUngC-DoA4Aa6y.js → ReimbursementApprovalRulesPage-Cx0gs7sS-B-krQa99.js} +9 -9
  132. package/dist/assets/{ReimbursementDetailPage-CCBrKxup-eMdyzTTS.js → ReimbursementDetailPage-Cs_rmkS8-DW1o_189.js} +13 -13
  133. package/dist/assets/{ReimbursementPromoPage-C1DzNWh1-IOjKQSRs.js → ReimbursementPromoPage-CCFl0kQK-B9O9Pssf.js} +8 -8
  134. package/dist/assets/{ReimbursementSetUpPage-Bs1pChM5-DSiQEn3A.js → ReimbursementSetUpPage-lf3xTVFh-COXeJ33g.js} +12 -12
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BY1ivHX0-YGjjSYE0.js → ReimbursementsBulkReviewDrawerPage-C5MTFJLG-CJIWqV-7.js} +1 -1
  136. package/dist/assets/{ReloadCard-Ci1JfueA-DAWS8WWx.js → ReloadCard-V_tv6YLR-pIKKLA9H.js} +6 -6
  137. package/dist/assets/{ReportTableViewSelector-FSUjS0tA-BxIJxG6X.js → ReportTableViewSelector-CWEvGn8L-CcECbGsj.js} +6 -6
  138. package/dist/assets/{ReportsPage-2XGgGATP-w9xnPMQA.js → ReportsPage-BJOH1wgv-CXqYsJPZ.js} +6 -6
  139. package/dist/assets/{RevenueChart-DhiHl3J4-BhIufAgU.js → RevenueChart-C_tSBw_N-Cwj-E2UP.js} +19 -19
  140. package/dist/assets/{ReviewDetailsPage-JfBmJL7T-BkX_u_VB.js → ReviewDetailsPage-CScPf4w3-Cz00WVXv.js} +25 -25
  141. package/dist/assets/{ReviewOverlay-B8Quli7Z-BlSCP7tq.js → ReviewOverlay-BQVwPzKa-BxRw_iSk.js} +31 -31
  142. package/dist/assets/{RoleWithToolTip-DL78JlR8-CjxKYGM4.js → RoleWithToolTip-GCV_l8Ly-GZKD9YbI.js} +2 -2
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-B-mkt12S-BfkvZ3VG.js → ScheduleDetailsFixedAssetsPage-Cgqgn7nk-B00K9FnO.js} +13 -13
  144. package/dist/assets/{ScheduleDetailsPage-BUZcySac-MhIHJ681.js → ScheduleDetailsPage-D1EJbzxN-l7ivTR2t.js} +3 -3
  145. package/dist/assets/{ScheduleSequenceTable-CdKMmZqy-YJzhKMlw.js → ScheduleSequenceTable-DDhoyPGX-CcxwU9B1.js} +37 -37
  146. package/dist/assets/{ScreenRoutes-zyk3b_eT.js → ScreenRoutes-CbhRMGYb.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-D1MXUm9M-DRyEln1s.js → SetUpAccountSection-AVL_16HQ-CfJdXpM8.js} +9 -9
  148. package/dist/assets/{SignIn-CPWFfFe2-DWSC_Uuu.js → SignIn-BLUwTp1l-Diu2Dl0P.js} +12 -12
  149. package/dist/assets/SignInScreen-BAFcpgXM.js +1 -0
  150. package/dist/assets/{SpendManagementListViewPage--cVcOp1f-D8QFk4lP.js → SpendManagementListViewPage-DJbNFHvP-HVPQNsga.js} +15 -15
  151. package/dist/assets/{SpendManagementPerTabPage-DPxjzKS8-BPBxP33H.js → SpendManagementPerTabPage-J5pIRm-Q-zn5Z_C9i.js} +38 -38
  152. package/dist/assets/{SpendManagementSection-CA8SwNCI-CvoMroBv.js → SpendManagementSection-DZaP5ai6-BivazJAu.js} +17 -17
  153. package/dist/assets/{StatementItem-UzV0xHzG-DvTqvxWA.js → StatementItem-D2Fx65LN-DEt1HHDA.js} +6 -6
  154. package/dist/assets/{StatementsPage-CksjCH5w-DHQ77cv-.js → StatementsPage-BCh51lDW-DEzdN4yP.js} +1 -1
  155. package/dist/assets/{StatusSwitcher-BDDVmn-K-DeuB9OqT.js → StatusSwitcher-C5ZrzI8Y-RGx-Rq5m.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-CMsdXoCD-WAW9EP3o.js → SubTabSwitcher-BXZxKeq9-N3T4zPQn.js} +2 -2
  157. package/dist/assets/{SummaryCard-B4km1rL_-BMpuE5I6.js → SummaryCard-194UToy6-ZSyhRMcE.js} +1 -1
  158. package/dist/assets/{TaskManagementPage-CDi3YMVo-BCVU9Q83.js → TaskManagementPage-zcxDUo0t-CfkgE02v.js} +35 -35
  159. package/dist/assets/{TimeRangeSwitcher-D1boW3u5-CiXr6wR1.js → TimeRangeSwitcher-Bsv7zQmN-0uKzxEGk.js} +11 -11
  160. package/dist/assets/{TimeframeSwitcher-NWdUWC8r-BeE5s881.js → TimeframeSwitcher-DtxsNy1Z-Dpwd2ynA.js} +6 -6
  161. package/dist/assets/{TimeframeSwitcherWithToggle-BCRqmVAB-c94605Tu.js → TimeframeSwitcherWithToggle-B5bFhbvL-C0I_F7ow.js} +1 -1
  162. package/dist/assets/{TopExCard-B7nDaKGC-Bg814R6B.js → TopExCard-CBua66Cj-CBuXuQOS.js} +12 -12
  163. package/dist/assets/{TopExDetailPage-CFC5Kzob-ujXs8dCt.js → TopExDetailPage-DtMA-XMp-EMAyiYoo.js} +10 -10
  164. package/dist/assets/{TransactionActivityLogPage-dLfey-Pj-71cBX4RW.js → TransactionActivityLogPage-C3BPL8hi-rjH_p-06.js} +9 -9
  165. package/dist/assets/{TransactionDetailPage-DUFj8B1S-C57lmiLq.js → TransactionDetailPage-CeKaduBe-gc3Brzcv.js} +35 -35
  166. package/dist/assets/{TransactionList-BDaoHCk7-RJMTG3DX.js → TransactionList-CSx8ZCZ--BfPEmkgj.js} +12 -12
  167. package/dist/assets/{TransactionListBig-DxOGEDcA-Bpd7KyjM.js → TransactionListBig-B4cNQY2d-xUQ7gipo.js} +11 -11
  168. package/dist/assets/TransactionListPage-DHr64V-b-DDnZn40X.js +35 -0
  169. package/dist/assets/{TransactionVendorDetailPage-CliQXg5L-mqUw7M0R.js → TransactionVendorDetailPage-DsxI8U5b-BIfZV2Ct.js} +7 -7
  170. package/dist/assets/{TransferDrawerPage-kbzn1dkx-B-gXa4jg.js → TransferDrawerPage-C91TQwZi-B3ongtBQ.js} +34 -34
  171. package/dist/assets/{TreasuryOverviewPage-j8Dtk2Q8-CYEQwDNB.js → TreasuryOverviewPage-BoBn_gtF-1-z_98qx.js} +48 -48
  172. package/dist/assets/{TreasuryPromoPage-BlgxNE0U-C8L5Aqll.js → TreasuryPromoPage-CQ-VYEQC-DBZ3Ca-z.js} +17 -17
  173. package/dist/assets/{TreasuryStatementsPage-Bd70Y2Yv-CGUVJxwW.js → TreasuryStatementsPage-taTRE54D-s03VARjq.js} +1 -1
  174. package/dist/assets/{TreasuryTaxLetterPage-DL4GDdXJ-ReKQk0DV.js → TreasuryTaxLetterPage-Cxhr51TD-DSRIuJm4.js} +1 -1
  175. package/dist/assets/{TrendChart-BS6VOoj_-B4CrrKxh.js → TrendChart-DATgAEKG-BGhvWXdf.js} +4 -4
  176. package/dist/assets/{TrendWithTransactions-DMAMnr7F-BuabV9Xz.js → TrendWithTransactions-DqPFuOvC-Bu3TdK3s.js} +6 -6
  177. package/dist/assets/{UncategorizedAccountsMappingPage-stLOvAUg-B8dn25ti.js → UncategorizedAccountsMappingPage-BQjXazj4-BOpLaunW.js} +14 -14
  178. package/dist/assets/{UnitIntegrationPage-D39cXlRw-DGhe8Ell.js → UnitIntegrationPage-BiRGRtpI-DxaSFD1H.js} +6 -6
  179. package/dist/assets/{UploadAdditionalDocumentOverlay-BmiNa89K-BTN8zH3K.js → UploadAdditionalDocumentOverlay-DCldWCol-B3iVz4fI.js} +1 -1
  180. package/dist/assets/Vendor2FAPopup-BpkAiYTA-99TJd7nU.js +1 -0
  181. package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BFUuaQ6q.js +1 -0
  182. package/dist/assets/{VendorDetailPage-Ck26EgtS-J34I2iWH.js → VendorDetailPage-DY4iaLtz-AjIptjjy.js} +30 -30
  183. package/dist/assets/VendorDomesticWireDetailsPage-B5Nym5J9-CpOxRXxZ.js +1 -0
  184. package/dist/assets/{VendorFiling1099EditablePage-PYVQaWMk-IQ6BXnnM.js → VendorFiling1099EditablePage-Dep7O8Uz-Do-rxCWR.js} +38 -38
  185. package/dist/assets/{VendorFirstReviewPage-hKEEnsZq-Dg2mNc4d.js → VendorFirstReviewPage-CJQIZn8g-DkET_08K.js} +36 -36
  186. package/dist/assets/{VendorInternationalWireDetailsPage-qv2qL6Xn-cR3M50rU.js → VendorInternationalWireDetailsPage-CJG5RIa2-DsTS-Uh9.js} +15 -15
  187. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-a851bv0Y.js +1 -0
  188. package/dist/assets/{VendorsAccountsSection-BeiK6LWK-B3NLg17b.js → VendorsAccountsSection-D65ewlO6-DU6ZIrZA.js} +3 -3
  189. package/dist/assets/{VerifyDevice-BVtSQLC2-B413l5qj.js → VerifyDevice-B1_jgwgY-DAz-KAtd.js} +3 -3
  190. package/dist/assets/{VideoPlayer-DcPwSvda-CZGYvE6C.js → VideoPlayer-vWSXteQ6-D5qS5__p.js} +2 -2
  191. package/dist/assets/{VideoPopup-CSSLhfoi-CggaWf4Q.js → VideoPopup-CdsmU6H4-Du7UVtqu.js} +3 -3
  192. package/dist/assets/{WarningsDrawerPage-y9CUfPu5-BXiOCc9G.js → WarningsDrawerPage-CjgOsD00-Denf4Sio.js} +9 -9
  193. package/dist/assets/{ZeniAccountDetailPage-CeL_e1NL-uckQ70j3.js → ZeniAccountDetailPage-DiLnoonB-DZ1tpmUL.js} +30 -30
  194. package/dist/assets/{ZeniAccountListViewPage-C-rGqw9i-CZZ4qFYr.js → ZeniAccountListViewPage-YfPsO8ls-CfUQiafE.js} +11 -11
  195. package/dist/assets/{ZeniAccountNavBarPieces-CSy5vlQ--B5sUMcLP.js → ZeniAccountNavBarPieces-CHStBvRa-5ll2dkEQ.js} +3 -3
  196. package/dist/assets/{ZeniAccountPromoPage-ByNyhhoa-DoFBMtzK.js → ZeniAccountPromoPage-cEfW88p8-BvUDgJZp.js} +12 -12
  197. package/dist/assets/{ZeniAccountSetupPage-YbvbQFzj-DTMXRwPe.js → ZeniAccountSetupPage-B20DHYex-DsTq1nG1.js} +4 -4
  198. package/dist/assets/{ZeniCopyright-D5ywJMrC-BNrbqyo3.js → ZeniCopyright-BROHmszx-VivYqHvz.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-CKFCKGRC-Bm4EEGGu.js → ZeniTransferAmountSlider-DZZrrFXf-DAQs85Xb.js} +4 -4
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-8P7CIdyf.js → add-to-wallet-DgdBD8_G-DBbMptVC.js} +1 -1
  201. package/dist/assets/{analytics-BgoqoHps.js → analytics-DH2FWXQR.js} +1 -1
  202. package/dist/assets/analyticsHelper-CeC4SQzK.js +1 -0
  203. package/dist/assets/{analyticsHelper-nJyKiOwQ-Bz7HQ3Wp.js → analyticsHelper-FJ-cS8qS-Bs47KEMI.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-PYswqry-.js → arrow-south-east-round-PEovUgvH-DzFpwdLa.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-jFxp1S6C.js → auto-transfer-rule-mbafm5D3-C9AIqfs3.js} +1 -1
  206. package/dist/assets/chartTypes-DJdbX13L-BnqLcj4-.js +1 -0
  207. package/dist/assets/{commonDimensions-Upfg-PB1-BJB9saec.js → commonDimensions-BpYNnQtf-BVrF2eSg.js} +1 -1
  208. package/dist/assets/commonTypes-BVbA7QjV-rrrVgiRE.js +1 -0
  209. package/dist/assets/{constants-DwGCeqFm.js → constants-nz8RVtEp.js} +1 -1
  210. package/dist/assets/{core-B5JTMc-Y.js → core-Be77t6wT.js} +1 -1
  211. package/dist/assets/{dash.all.min-CALjDmjw.js → dash.all.min-1JaBh8EA.js} +1 -1
  212. package/dist/assets/{detailCommon-_wEL82NI-CwSBrbUn.js → detailCommon-BRja9H93-BgDpKJS8.js} +5 -5
  213. package/dist/assets/{downloadPdf-CMFOff-_-CRKBzHJP.js → downloadPdf-WDHjFv79-x1y7Noz9.js} +1 -1
  214. package/dist/assets/{empty-B_TE5-ZP.js → empty-CVHCqPg8.js} +1 -1
  215. package/dist/assets/{empty-mBRZ5aW0.js → empty-DqMX1iak.js} +1 -1
  216. package/dist/assets/epic-upTynnWU.js +2 -0
  217. package/dist/assets/{gift-box-Cmt9OgIZ-DlDZOX77.js → gift-box-Cmt9OgIZ-hRxp85e2.js} +1 -1
  218. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DEI87UY9.js → graphic-no-data-l-DU4J8fDt-DdG5b35f.js} +1 -1
  219. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CQMUgr0O.js → graphic-no-data-net-burn-l-CzmycA0m-CRLCiMSY.js} +1 -1
  220. package/dist/assets/{handshake-BPg58FML-CTRgrDfQ.js → handshake-BPg58FML-Ts-GBzII.js} +1 -1
  221. package/dist/assets/{index-DtsBa1Px.js → index-BIQvGH1Z.js} +1 -1
  222. package/dist/assets/{index-CEB0S5G3.js → index-CHDWslZ9.js} +1 -1
  223. package/dist/assets/{index-BDOnIbbU.js → index-CNJQ6T57.js} +4094 -4048
  224. package/dist/assets/{index-BCxrNetx.js → index-Cyi12XGG.js} +1 -1
  225. package/dist/assets/{index-PvEc74OO.js → index-Q1D5afUf.js} +1 -1
  226. package/dist/assets/{index-CMcDE-0x.js → index-WLQ2kK4T.js} +1 -1
  227. package/dist/assets/{index-Ddw0lsYO.js → index-gGz0-y9K.js} +1 -1
  228. package/dist/assets/{lexical-C4hGDQy7.js → lexical-4qH-Yr6_.js} +1 -1
  229. package/dist/assets/{liveblocks-DXXqIP7n.js → liveblocks-CUDrE-0X.js} +1 -1
  230. package/dist/assets/{lottie-DruO0Lf9.js → lottie-C5G-hUN3.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-ll9NZ-I4-PX4nSrtX.js → mapLoadingInProgressToTreeNode-C_5Bb47i-KSj20Sfu.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DcevOSiz-CpiaZ_e5.js → mapSectionWithAcOnlyToTreeNode-BlrJTKah-BOJoZ8nO.js} +1 -1
  233. package/dist/assets/{mapSpacerToTreeNode-6Qxn340N-B35_Y-l2.js → mapSpacerToTreeNode-DvdWKHfX-D62umWzQ.js} +1 -1
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-88qIN3FA-CB8prKZU.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-AkxvYRty-Dd11welj.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-BEBQ7_uD.js +1 -0
  237. package/dist/assets/{mui-Dn-FysqD.js → mui-DsjrNjDe.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-B9Rmi6ZE.js → page-detail-CWX5S47F--SwzhZlk.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-BOU4oLTL.js → panelSelectedMixin-CzfD5-Zs-Cev-MiVu.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-CI2BOyaZ.js → radio-default-CiSgisfh-YvmWy399.js} +1 -1
  241. package/dist/assets/{react-CZCD-bbf.js → react-BCXSKYRr.js} +1 -1
  242. package/dist/assets/{react-B3mq597j.js → react-BWkra2hE.js} +1 -1
  243. package/dist/assets/{react-x-g8LEzo.js → react-Bqp70D_u.js} +1 -1
  244. package/dist/assets/{react-BfeKj8Ah.js → react-CSCeF-Sb.js} +1 -1
  245. package/dist/assets/{react-CHfBVTZT.js → react-Ci_HLnoa.js} +2 -2
  246. package/dist/assets/{react-CiMMCOh1.js → react-DL4wn98u.js} +2 -2
  247. package/dist/assets/{react-BYfEdX_w.js → react-XG3-S5t1.js} +1 -1
  248. package/dist/assets/{react-B7JtqvO2.js → react-eUpxlpRg.js} +1 -1
  249. package/dist/assets/{recharts-CprInlbt.js → recharts-CmZa-egc.js} +1 -1
  250. package/dist/assets/{sentry-7iaVxNzj.js → sentry-9b1mvxJ5.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-D1oOjbdU.js → shield-DOlUxcFf-B8zzGKQS.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-Bq4Xe7az-D4N9dB70.js +1 -0
  253. package/dist/assets/{toChartData-BpfWXnJ--YGdVm4SB.js → toChartData-B3ouXKAd-thMI2fiV.js} +1 -1
  254. package/dist/assets/{uploadAttachment-ukKU1LbX-BZiZFUOo.js → uploadAttachment-DNNG-CMy-D87O59Xy.js} +21 -21
  255. package/dist/assets/{uploadReceipts-Dge0cNF1-COjJQAAp.js → uploadReceipts-Dge0cNF1-C_Z21T_D.js} +1 -1
  256. package/dist/assets/{url-Zc4cev1o.js → url-BiBhYcFe.js} +1 -1
  257. package/dist/assets/{url-CDntiqej.js → url-RTB-DW5V.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-CMas3sgk.js → useLongPress-GCK2COYQ-CsE5mUiU.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-BZQcBi21.js → usp-line-BBd1wKwW-5m5uF-Rf.js} +1 -1
  260. package/dist/assets/{utils-BV_yqPM7.js → utils-VcZ1Xqjg.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-CMxzji9D.js → zeni-epic-state-DJX8u9R8.js} +17 -17
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/AccountInfoPage-BUVWxmzs-BU0QFXPz.js +0 -18
  265. package/dist/assets/AddAddressForCardDrawer-DlGL-3yf-CEM_OSu4.js +0 -6
  266. package/dist/assets/AppBasePage-CPdKfb57-CdKaM3Y7.js +0 -71
  267. package/dist/assets/ApprovalRulesSettingsPage-C8P04Y3s-DdNhWE6a.js +0 -47
  268. package/dist/assets/BillPayApprovalRuleDetailPage-CKr-k2kC-DLLdfful.js +0 -27
  269. package/dist/assets/BillingSettingsPage-Bqj_AXGq-B80HR_0l.js +0 -44
  270. package/dist/assets/BusinessVerificationPage-G8uzN4Ws-Dg4HUFd7.js +0 -138
  271. package/dist/assets/ChargeCardPromoPage-B4yj7KP9-9bE0RFY5.js +0 -222
  272. package/dist/assets/CompanyOfficerDetailsSection-1BDesjjs-CGxHxKUo.js +0 -260
  273. package/dist/assets/CompanyPassportPage-DPNROicI-DkVd0IVN.js +0 -574
  274. package/dist/assets/ConfettiBurst-BUf7AIFk-dPsmZWRd.js +0 -1
  275. package/dist/assets/CustomerOnboardingContainerPage-ihPd9hEn-DodGm-su.js +0 -1
  276. package/dist/assets/CustomerOnboardingNoStepsPage-zMwJiFSO-Ca3ln1bs.js +0 -66
  277. package/dist/assets/EditPeoplePage-D-vaUQbG-Bt1U4fZO.js +0 -55
  278. package/dist/assets/EntityDetailPage-B2Tmq0cV-iHRdD8Pd.js +0 -18
  279. package/dist/assets/InsightsSection-Ldcdpf_t-BcIZl-SB.js +0 -27
  280. package/dist/assets/InternationalWireVerificationPage-mHew9ruS-CuqmXfkC.js +0 -292
  281. package/dist/assets/InvitePeoplePage-y0gl_wqg-Bpnr6fsx.js +0 -12
  282. package/dist/assets/LabeledControlledCheckBoxField-CkG-jIW7-BnIEsD6z.js +0 -16
  283. package/dist/assets/LabeledDocumentField-ffpHZV4a-B_2ABBG3.js +0 -41
  284. package/dist/assets/MagicLinkACHDetailsPage-DIpNQrGA-BqjoWUr8.js +0 -1
  285. package/dist/assets/MagicLinkDomesticWireDetailsPage-B9wywDCI-EJ8yrlbL.js +0 -1
  286. package/dist/assets/MagicLinkSuccessPage-RQtS7ohy-5LyL6Vux.js +0 -31
  287. package/dist/assets/NoDataChart-Dm8c31gV-Bqmql54J.js +0 -26
  288. package/dist/assets/NoDataTable-BLcYAK9T-wg_yL59b.js +0 -8
  289. package/dist/assets/OverlayContainerPage-D4QU0p4o-BX1xnMzK.js +0 -11
  290. package/dist/assets/PaymentAccountSetupBillingAddressSection-ChGcOYcG-CO6Awyg6.js +0 -107
  291. package/dist/assets/ReimbursementApprovalRuleDetailPage-BScdJYcI-bNfeq7vv.js +0 -32
  292. package/dist/assets/SignInScreen-C3Ba0wdc.js +0 -1
  293. package/dist/assets/TransactionListPage-4nFAQM97-ClFT8B5K.js +0 -35
  294. package/dist/assets/Vendor2FAPopup-Cn7Bst-t-DMIJpNIO.js +0 -1
  295. package/dist/assets/VendorACHDetailsPage-yJs4pSeb-BHrP3K1V.js +0 -1
  296. package/dist/assets/VendorDomesticWireDetailsPage-BZatg69M-Dhf3MU0Y.js +0 -1
  297. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Co_Kax4L-J_6dAVTd.js +0 -1
  298. package/dist/assets/analyticsHelper-CuUU34nx.js +0 -1
  299. package/dist/assets/chartTypes-BKexR59e-B1u-Nki8.js +0 -1
  300. package/dist/assets/epic-VnsPu9_V.js +0 -2
  301. package/dist/assets/mapTimeframeBalancesToTreeNode-BlKa4mAP-yheruBM4.js +0 -1
  302. package/dist/assets/mapTimeframeBalancesToTreeNode-tYVPqkGh-BqdeYyQR.js +0 -1
  303. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-C92aroSy-EW-HNrEx.js +0 -1
  304. package/dist/assets/toCOABalancesWithID-DtqUradx-DwvWuPd5.js +0 -1
@@ -1,4 +1,4 @@
1
- import{Q as W,F as S,V as t,bC as G,T as V,aP as f,y as r,al as M,o as i,aN as z,bT as P,cp as q,cq as F,cr as K,d0 as O,u as l,b9 as Q,R as T,b8 as Z,p as j,cZ as J,bt as X,b as Y}from"./index-BDOnIbbU.js";import{n as o}from"./mui-Dn-FysqD.js";import{a as ee}from"./sentry-7iaVxNzj.js";import"./liveblocks-DXXqIP7n.js";import"./core-B5JTMc-Y.js";import"./recharts-CprInlbt.js";import"./zeni-epic-state-CMxzji9D.js";import"./lottie-DruO0Lf9.js";import"./analytics-BgoqoHps.js";import"./lexical-C4hGDQy7.js";import"./utils-BV_yqPM7.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]="a3f44a8f-deae-4f3c-b2fd-5f8a961957e5",e._sentryDebugIdIdentifier="sentry-dbid-a3f44a8f-deae-4f3c-b2fd-5f8a961957e5")}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)},N={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeMedium")},te=({showDeleteBtn:e=!1,disableButtons:d=!1,isLastSection:w=!1,approvalRule:c,onEditRuleClick:b,onDeleteRuleClick:g})=>{const[v,h]=ee.useState(!1),n=W(),{range:m}=c.criteria[0],{steps:$,approvalRuleId:x}=c,a=S.getLocalizedStrings().commonSetUp.approval,U=()=>{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":f("delete-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(I,{onClick:U,"data-testid":f("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":f("edit-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(C,{onClick:()=>{b(x)},"data-testid":f("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(K,{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,bC as G,T as O,aP as y,y as r,al as M,o as i,aN as P,bT as z,cp as V,cq as q,cr as F,c$ as J,u as l,b9 as K,O as T,b8 as Q,p as j,c_ as X,bt as Y,b as Z}from"./index-CNJQ6T57.js";import{n as o}from"./mui-DsjrNjDe.js";import{a as ee}from"./sentry-9b1mvxJ5.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.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]="ca256c1a-03e2-41c9-a042-8a680c891c65",e._sentryDebugIdIdentifier="sentry-dbid-ca256c1a-03e2-41c9-a042-8a680c891c65")}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)},N={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,U=()=>{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," ",P("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:P("0,0",{...m.min,amount:m.max.amount})})]}),t.jsxs(ue,{className:"icons",children:[e===!0?d===!0?t.jsx(z,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(I,{$isDisabled:!0,"data-testid":y("delete-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(I,{onClick:U,"data-testid":y("delete-approval-rule-bill-pay",c.approvalRuleId)}):null,d===!0?t.jsx(z,{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,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(V,{titleComponent:t.jsx(F,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(q,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:E}):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{Q as W,F as S,V as t,bC as G,T as V,aP as f,y as r,al as M,o as i,aN 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(Q)`
17
+ `,ie=o(K)`
18
18
  display: flex;
19
19
  position: relative;
20
20
  align-items: center;
@@ -117,7 +117,7 @@ import{Q as W,F as S,V as t,bC as G,T as V,aP as f,y as r,al as M,o as i,aN as z
117
117
  height: ${e=>s.stepperWidthHeight.valuePx(e.windowSize)};
118
118
  top: ${e=>s.stepperContentTop.valuePx(e.windowSize)};
119
119
  left: -${i.sp6};
120
- ${Y.standardMedium.css};
120
+ ${Z.standardMedium.css};
121
121
  text-align: center;
122
122
  color: ${e=>e.theme.colors.grey1};
123
123
  border: 2px solid ${e=>e.theme.colors.grey1};
@@ -141,7 +141,7 @@ import{Q as W,F as S,V as t,bC as G,T as V,aP as f,y as r,al as M,o as i,aN as z
141
141
  `,ue=o.div`
142
142
  display: flex;
143
143
  gap: ${i.sp5};
144
- `,I=o(J)`
144
+ `,I=o(X)`
145
145
  width: ${i.sp3};
146
146
  height: ${i.sp3};
147
147
  cursor: ${e=>e.$isDisabled===!0?"not-allowed":"pointer"};
@@ -153,7 +153,7 @@ import{Q as W,F as S,V as t,bC as G,T as V,aP as f,y as r,al as M,o as i,aN as z
153
153
  `,D=o.span`
154
154
  display: inline-flex;
155
155
  cursor: not-allowed;
156
- `,C=o(X)`
156
+ `,C=o(Y)`
157
157
  width: ${i.sp3};
158
158
  height: ${i.sp3};
159
159
  cursor: ${e=>e.$isDisabled===!0?"not-allowed":"pointer"};
@@ -162,7 +162,7 @@ import{Q as W,F as S,V as t,bC as G,T as V,aP as f,y as r,al as M,o as i,aN as z
162
162
  &:hover {
163
163
  color: ${e=>e.$isDisabled===!0?e.theme.colors.grey2:e.theme.colors.primary};
164
164
  }
165
- `,he=o(Z)`
165
+ `,he=o(Q)`
166
166
  width: ${i.sp4};
167
167
  height: ${i.sp4};
168
168
  color: ${e=>e.theme.colors.hero};
@@ -175,7 +175,7 @@ import{Q as W,F as S,V as t,bC as G,T as V,aP as f,y as r,al as M,o as i,aN as z
175
175
  ${e=>`${N.amount.style(e.windowSize)}`};
176
176
  color: ${e=>e.theme.colors.primary};
177
177
  word-break: break-word;
178
- `,y={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 b=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:b,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:b,onClick:()=>{w()},"data-testid":f("add-approval-rule-bill-pay"),children:[t.jsx(fe,{}),t.jsx(ye,{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(O,{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{Q as W,F as S,V as t,bC as G,T as V,aP as f,y as r,al as M,o as i,aN as z
201
201
  color: ${e=>e.theme.colors.hero};
202
202
  display: flex;
203
203
  justify-content: center;
204
- width: ${e=>y.titleWidth.valuePx(e.windowSize)};
205
- padding-top: ${e=>y.subTitlePaddingTop.valuePx(e.windowSize)};
206
- padding-bottom: ${e=>y.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(M)`
208
208
  cursor: pointer;
209
209
  display: flex;
@@ -211,9 +211,9 @@ import{Q as W,F as S,V as t,bC as G,T as V,aP as f,y as r,al as M,o as i,aN as z
211
211
  justify-content: center;
212
212
  align-items: center;
213
213
  padding: ${i.sp3} ${i.sp4};
214
- gap: ${e=>y.addApprovalGap.valuePx(e.windowSize)};
214
+ gap: ${e=>b.addApprovalGap.valuePx(e.windowSize)};
215
215
 
216
- width: ${e=>y.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{Q as W,F as S,V as t,bC as G,T as V,aP as f,y as r,al as M,o as i,aN as z
233
233
  border-color: ${e=>e.theme.colors.primary};
234
234
  }
235
235
  margin-bottom: ${i.sp6};
236
- `,fe=o(O)`
236
+ `,ye=o(J)`
237
237
  width: ${i.sp3};
238
238
  height: ${i.sp3};
239
- `,ye=o.div`
239
+ `,be=o.div`
240
240
  color: ${e=>e.theme.colors.hero};
241
241
  `;export{Ce as default};
@@ -1,4 +1,4 @@
1
- import{aw as X,Q as f,aQ as Y,V as e,ft as ee,bC as ie,r as C,aP as B,ae as m,F as I,o as s,aq as se,c as le,e as U,aT as M,am as oe,y as re,p as $,cE as te,aU as ae,ba as ne,u as de}from"./index-BDOnIbbU.js";import{a as g}from"./sentry-7iaVxNzj.js";import{n as l}from"./mui-Dn-FysqD.js";import{FA as ce,bS as pe,FB as me}from"./zeni-epic-state-CMxzji9D.js";import{C as xe}from"./VideoPopup-CSSLhfoi-CggaWf4Q.js";import{M as b}from"./usp-line-BBd1wKwW-BZQcBi21.js";import"./liveblocks-DXXqIP7n.js";import"./core-B5JTMc-Y.js";import"./recharts-CprInlbt.js";import"./lottie-DruO0Lf9.js";import"./analytics-BgoqoHps.js";import"./lexical-C4hGDQy7.js";import"./utils-BV_yqPM7.js";import"./VideoPlayer-DcPwSvda-CZGYvE6C.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]="713a653a-d6c6-483a-8eff-abdeb9379614",i._sentryDebugIdIdentifier="sentry-dbid-713a653a-d6c6-483a-8eff-abdeb9379614")}catch{}})();const D="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`
1
+ import{aw as X,J as f,aQ as Y,V as e,fv as ee,bC as ie,r as B,aP as C,ae as m,F as I,o as s,aq as se,R as le,d as M,aT as U,am as oe,y as re,p as $,cE as te,aU as ae,ba as ne,u as de}from"./index-CNJQ6T57.js";import{a as g}from"./sentry-9b1mvxJ5.js";import{n as l}from"./mui-DsjrNjDe.js";import{FA as ce,bS as pe,FB as me}from"./zeni-epic-state-DJX8u9R8.js";import{C as xe}from"./VideoPopup-CdsmU6H4-Du7UVtqu.js";import{M as b}from"./usp-line-BBd1wKwW-5m5uF-Rf.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./VideoPlayer-vWSXteQ6-D5qS5__p.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]="48955b32-1d0d-47cc-bac5-867d33815233",i._sentryDebugIdIdentifier="sentry-dbid-48955b32-1d0d-47cc-bac5-867d33815233")}catch{}})();const A="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",D="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",he={midContainerMarginBottom:new re(de[5],44)},ge=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -23,11 +23,11 @@ import{aw as X,Q as f,aQ as Y,V as e,ft as ee,bC as ie,r as C,aP as B,ae as m,F
23
23
  align-items: center;
24
24
  justify-content: center;
25
25
  margin-bottom: ${i=>he.midContainerMarginBottom.valuePx(i.windowSize)};
26
- `,je=l.div``,x=l.img``,F=l.div`
26
+ `,je=l.div``,x=l.img``,R=l.div`
27
27
  width: ${i=>i.windowSize==="small"?"auto":"376px"};
28
28
  display: flex;
29
29
  flex-direction: column;
30
- `,R=l.div`
30
+ `,V=l.div`
31
31
  width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
32
32
  overflow: hidden;
33
33
  max-width: 712px;
@@ -35,7 +35,7 @@ import{aw as X,Q as f,aQ as Y,V as e,ft as ee,bC as ie,r as C,aP as B,ae as m,F
35
35
  align-content: center;
36
36
  justify-content: center;
37
37
  align-items: center;
38
- `,V=l.div`
38
+ `,E=l.div`
39
39
  margin-left: ${i=>i.windowSize==="small"?s.sp0:s.sp6};
40
40
  margin-bottom: ${i=>i.windowSize==="small"?s.sp4:s.sp0};
41
41
  background: ${i=>i.theme.colors.grey3};
@@ -57,17 +57,17 @@ import{aw as X,Q as f,aQ as Y,V as e,ft as ee,bC as ie,r as C,aP as B,ae as m,F
57
57
  color: ${i=>i.theme.colors.champion};
58
58
  `,w=l(ae)`
59
59
  color: ${i=>i.theme.colors.champion};
60
- `,y=l(M)`
60
+ `,y=l(U)`
61
61
  color: ${i=>i.theme.colors.champion};
62
62
  `,j=l(te)`
63
63
  color: ${i=>i.theme.colors.champion};
64
64
  `,d=l.div``,c=l.div`
65
65
  padding-left: ${s.sp3};
66
- `,_=l(b)`
66
+ `,F=l(b)`
67
67
  color: ${$.graphColor16Dark};
68
- `,E=l(b)`
68
+ `,_=l(b)`
69
69
  color: ${$.graphColor09Dark};
70
- `,Q=l(b)`
70
+ `,Z=l(b)`
71
71
  color: ${$.graphColor28Dark};
72
72
  `,fe=l(oe)`
73
73
  margin: ${s.sp3} auto;
@@ -78,7 +78,7 @@ import{aw as X,Q as f,aQ as Y,V as e,ft as ee,bC as ie,r as C,aP as B,ae as m,F
78
78
  flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
79
79
  align-items: center;
80
80
  justify-content: center;
81
- `,be=l(M)`
81
+ `,be=l(U)`
82
82
  margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
83
83
  color: ${i=>i.theme.colors.grey1};
84
- `,r=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,t=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Ve=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:Z,onButtonClick:H,onBackClick:O,onSetupBillPaySuccess:z,onClickMenuIcon:q})=>{const h=X(),a=f(),{billPayTermsDetails:p}=i,[G,J]=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:[G===!0?e.jsx(xe,{onCancelClick:()=>{J(!1)},videoUrl:Z}):null,K===!0?e.jsx(ee,{onCancelClick:()=>{k(!1)},meetingUrl:S}):null,e.jsx(ie,{title:r.title,onBackClick:O,showBackButton:!me(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:q,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:H,"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(R,{windowSize:o,children:e.jsx(V,{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:D,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(F,{windowSize:o,children:[e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(Q,{})}),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(F,{windowSize:o,children:[e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(Q,{})}),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(R,{windowSize:o,children:e.jsx(V,{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:D,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Ve as default};
84
+ `,r=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,t=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Ee=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:H,onButtonClick:J,onBackClick:O,onSetupBillPaySuccess:z,onClickMenuIcon:Q})=>{const h=X(),a=f(),{billPayTermsDetails:p}=i,[q,G]=g.useState(!1),[K,v]=g.useState(!1),k=Y(p?.fetchStatus.fetchState);g.useEffect(()=>{k==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&z?.()},[k,z,p?.fetchStatus]);const N=()=>{o?.trackBillPayPromoScheduleDemo(),v(!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:()=>{G(!1)},videoUrl:H}):null,K===!0?e.jsx(ee,{onCancelClick:()=>{v(!1)},meetingUrl:S}):null,e.jsx(ie,{title:r.title,onBackClick:O,showBackButton:!me(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:Q,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(B,{variant:"secondary",label:r.scheduleDemoButton,onClick:N,"data-testid":C("billpay-schedule-demo-button")}),e.jsx(be,{windowSize:a,children:r.orText}),e.jsx(B,{variant:"primary",label:r.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:J,"data-testid":C("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=M(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsx(V,{windowSize:o,children:e.jsx(E,{windowSize:o,children:i.mode==="dark"?e.jsx(x,{src:D,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(x,{src:A,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(Z,{})}),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.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(F,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.aiPoweredText.bold}),e.jsx(y,{children:r.aiPoweredText.regular})]})]})]})]})},ze=()=>{const i=M(),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(Z,{})}),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.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(F,{})}),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(E,{windowSize:o,children:i.mode==="dark"?e.jsx(x,{src:D,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(x,{src:A,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Ee as default};
@@ -1,4 +1,4 @@
1
- import{e as _e,Q as $e,aQ as E,a9 as Oe,cF as Re,F as Ue,aV as Z,V as t,fb as He,p as ze,aP as Le,y as u,bC as Ne,T as qe,ac as Me,fu as H,dR as Ge,fv as Je,bw as Qe,dH as Ke,bT as Ze,fw as Ye,aR as Xe,o as L,fx as et,u as a,al as tt,bK as it}from"./index-BDOnIbbU.js";import{a as b}from"./sentry-7iaVxNzj.js";import{n as m}from"./mui-Dn-FysqD.js";import{bJ as nt}from"./zeni-epic-state-CMxzji9D.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-BmiNa89K-BTN8zH3K.js";import"./liveblocks-DXXqIP7n.js";import"./core-B5JTMc-Y.js";import"./recharts-CprInlbt.js";import"./lottie-DruO0Lf9.js";import"./analytics-BgoqoHps.js";import"./lexical-C4hGDQy7.js";import"./utils-BV_yqPM7.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]="7bacabbd-fbc3-4164-935d-d9e74b3bc9bb",e._sentryDebugIdIdentifier="sentry-dbid-7bacabbd-fbc3-4164-935d-d9e74b3bc9bb")}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)},Y="billPaySetUpPage",W="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:be,onEnableBillPaySuccess:N,onClickMenuIcon:me,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const k=_e(),i=$e(),[A,S]=b.useState(!1),q=b.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:ke,plaidConnectionDetails:D,allBankAccounts:Ae,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:d,allFundingAccounts:M}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:V,approvalRulesStatus:Ie}=v,_=D.link_account.updateStatus,$=D.update_account.updateStatus,j=E(f),J=E(P.fetchState),Q=E(_.fetchState),K=E($.fetchState),w=Oe({mode:"all",reValidateMode:"onChange",defaultValues:b.useMemo(()=>z(e),[e]),values:z(e)});b.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]),b.useEffect(()=>{(j==="In-Progress"&&f==="Completed"||Q==="In-Progress"&&_.fetchState==="Completed"||K==="In-Progress"&&$.fetchState==="Completed")&&w.reset(z(e))},[j,f,w,e,Q,_.fetchState,K,$.fetchState]);const Ve=w.handleSubmit(x=>{y.trackEnableBillPay(),be()}),je=async(x,F)=>{const o=F[W];if(x.includes(W)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=M.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)}}};b.useEffect(()=>{const x=w.watch((F,{name:o})=>{o!=null&&F!=null&&Re(()=>je(o,F))});return()=>{x.unsubscribe()}}),b.useEffect(()=>{J==="In-Progress"&&P.fetchState==="Completed"&&N()},[N,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,We=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),De=()=>{!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:q,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(Ne,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!R&&(i==="medium-compact"||i==="small"),onClickMenuIcon:me,scrollableContent:q,backgroundColor:k.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Ee}),We?t.jsx(rt,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Me,{...w,children:t.jsx("form",{id:X(Y),onSubmit:Ve,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(H,{onClick:De,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:M,plaidConnectionDetails:D,allBankAccounts:Ae,sectionId:W,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(H,{title:V.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:V.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Ke,{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(H,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Ye,{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(Y),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=m.div``,lt=m.div`
1
+ import{d as $e,J as De,aQ as W,a9 as Oe,cF as Re,F as Ue,aV as Z,V as t,fd as ze,p as He,aP as Le,y as u,bC as Ne,T as qe,ac as Me,fw as z,dQ as Ge,fx as Je,bw as Qe,dG as Ke,bT as Ze,fy as Ye,aR as Xe,o as L,fz as et,u as a,al as tt,bK as it}from"./index-CNJQ6T57.js";import{a as m}from"./sentry-9b1mvxJ5.js";import{n as b}from"./mui-DsjrNjDe.js";import{bJ as nt}from"./zeni-epic-state-DJX8u9R8.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-DCldWCol-B3iVz4fI.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.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]="4487f2a0-f14d-417b-8866-b27c7689896c",e._sentryDebugIdIdentifier="sentry-dbid-4487f2a0-f14d-417b-8866-b27c7689896c")}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)},Y="billPaySetUpPage",E="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:N,onClickMenuIcon:be,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const k=$e(),i=De(),[A,S]=m.useState(!1),q=m.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:ke,plaidConnectionDetails:_,allBankAccounts:Ae,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:d,allFundingAccounts:M}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:V,approvalRulesStatus:Ie}=v,$=_.link_account.updateStatus,D=_.update_account.updateStatus,B=W(f),J=W(P.fetchState),Q=W($.fetchState),K=W(D.fetchState),w=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&&B==="In-Progress"&&f==="Completed"&&S(!1)},[c,f,B]),m.useEffect(()=>{(B==="In-Progress"&&f==="Completed"||Q==="In-Progress"&&$.fetchState==="Completed"||K==="In-Progress"&&D.fetchState==="Completed")&&w.reset(H(e))},[B,f,w,e,Q,$.fetchState,K,D.fetchState]);const Ve=w.handleSubmit(x=>{y.trackEnableBillPay(),me()}),Be=async(x,F)=>{const o=F[E];if(x.includes(E)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=M.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&&Re(()=>Be(o,F))});return()=>{x.unsubscribe()}}),m.useEffect(()=>{J==="In-Progress"&&P.fetchState==="Completed"&&N()},[N,J,P.fetchState]);const{commonSetUp:je,spendManagement:Fe}=Ue.getLocalizedStrings(),{setUp:r}=je,{billPaySetup:l}=Fe.billPay,O=T?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||nt(d?.providerVerificationStatus?.code??"")),R=T?.isBillPayEnabled===!0,We=O?r.setupVerifiedSubTitle:l.setupSubTitle,Ee=f==="In-Progress"||f==="Not-Started"||G==="In-Progress"||G==="Not-Started",j=k.mode==="light"?new Z(k.colors.brandColorJadeLight):new Z(k.colors.brandColorJadeDark),_e=()=>{!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:q,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:we,companyOfficer:c,onClose:()=>S(!1),onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve})}),t.jsx(Ne,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!R&&(i==="medium-compact"||i==="small"),onClickMenuIcon:be,scrollableContent:q,backgroundColor:k.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:We}),Ee?t.jsx(rt,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Me,{...w,children:t.jsx("form",{id:X(Y),onSubmit:Ve,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(z,{onClick:_e,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:M,plaidConnectionDetails:_,allBankAccounts:Ae,sectionId:E,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:j},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(Ke,{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(z,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Ye,{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(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(Y),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;
@@ -6,14 +6,14 @@ import{e as _e,Q as $e,aQ as E,a9 as Oe,cF as Re,F as Ue,aV as Z,V as t,fb as He
6
6
  background-color: ${e=>e.theme.colors.grey4};
7
7
  height: 100vh;
8
8
  overflow-y: auto;
9
- `,ct=m(it)`
9
+ `,ct=b(it)`
10
10
  width: ${L.sp3};
11
11
  height: ${L.sp3};
12
12
  color: ${e=>e.theme.colors.hero};
13
13
  &:hover {
14
14
  color: ${e=>e.theme.colors.primary};
15
15
  }
16
- `,st=m(tt)`
16
+ `,st=b(tt)`
17
17
  color: ${e=>e.theme.colors.hero};
18
18
  display: flex;
19
19
  justify-content: center;
@@ -21,13 +21,13 @@ import{e as _e,Q as $e,aQ as E,a9 as Oe,cF as Re,F as Ue,aV as Z,V as t,fb as He
21
21
  padding-top: ${e=>n.subTitlePaddingTop.valuePx(e.windowSize)};
22
22
  padding-bottom: ${e=>n.subTitlePaddingBottom.valuePx(e.windowSize)};
23
23
  text-align: ${e=>e.windowSize==="small"?"initial":"center"};
24
- `,dt=m.div`
24
+ `,dt=b.div`
25
25
  display: flex;
26
26
  justify-content: flex-start;
27
27
  flex-direction: column;
28
28
  align-items: center;
29
29
  row-gap: ${e=>n.setupDetailsRowGap.valuePx(e.windowSize)};
30
- `,rt=m.div`
30
+ `,rt=b.div`
31
31
  display: flex;
32
32
  width: 100%;
33
33
  height: calc(100vh - 110px);
@@ -35,8 +35,8 @@ import{e as _e,Q as $e,aQ as E,a9 as Oe,cF as Re,F as Ue,aV as Z,V as t,fb as He
35
35
  justify-content: center;
36
36
  align-items: center;
37
37
  background-color: ${e=>e.theme.colors.grey4};
38
- `,ut=m.div`
38
+ `,ut=b.div`
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{[W]:{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{[E]:{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 be,J as we,a9 as Ce,cF as Pe,aV as k,F as xe,V as t,y as P,bC as Ie,T as Ae,ac as ve,bw as je,cG as ke,aR as $e,o as a,hO as Te,e$ as Ve,f0 as De,u as x,al as Oe,gX as Be,p as Ee,O as ze}from"./index-CNJQ6T57.js";import{a as R}from"./sentry-9b1mvxJ5.js";import{n as r}from"./mui-DsjrNjDe.js";import{M as Le,o as W,t as Me}from"./PaymentAccountSetupBillingAddressSection-DSnQX90O-Dx1jHuZ7.js";import{F as _e}from"./SetUpAccountSection-AVL_16HQ-CfJdXpM8.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./commonTypes-BVbA7QjV-rrrVgiRE.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]="50bd2efb-2935-4e65-95b9-fd233f099c12",e._sentryDebugIdIdentifier="sentry-dbid-50bd2efb-2935-4e65-95b9-fd233f099c12")}catch{}})();const p={titleWidth:new P(343,580,726,826),setupDetailsRowGap:new P(12,x[5],x[5]),iconWidthHeight:new P(20,x[4]),subTitlePaddingTop:new P(12,x[3])},Re={title:new ze("standardSemiBold","largeSemiBold")},F="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:d,onClickMenuIcon:A,uiState:J,stripeKey:K,googleAPIKey:N,companyId:G,onUpdateAccountClick:q,onFetchLinkTokenClick:Z,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:se,onBillingAddressSave:ae,onAddressEditHandler:re})=>{const w=be(),o=we(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:T},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,V=y?.providerVerificationStatus,ue=T.fetchState==="In-Progress"||T.fetchState==="Not-Started",f=Ce({mode:"onSubmit",reValidateMode:"onChange",defaultValues:H(i),values:H(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{ae(G)}),D=i.subscriptionBillingAddressSaveStatus,me=async(c,s)=>{const g=s[I];if(c.includes(n)&&s[n]!=null){const v=f.getValues(`${n}`).country;let u=s[n];if(c.includes(`${n}.street`)&&s[n].street!=null){const{addressValue:b}=s[n].street,j=Ve(b?.country);u={street:s[n].street??l.strings.empty,city:b?.locality??l.strings.empty,state:b?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:b?.countryCode??l.strings.empty,postalCode:b?.postalCode??l.strings.empty,secondaryInfo:s[n].secondaryInfo,suite:s[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:De(v.selectedOption)});u!=null&&re(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&q(g.account.selectedOption,y.paymentAccountId)};R.useEffect(()=>{const c=f.watch((s,{name:g})=>{g!=null&&s!=null&&Pe(()=>me(g,s))});return()=>{c.unsubscribe()}});const O=w.mode==="light"?new k(w.colors.brandColorJadeLight):new k(w.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:B}=xe.getLocalizedStrings(),ge=B.section.subTitle,{text:ye,subText:fe}=he,E=h.cardsList.length>0,z=h?.cardsList[0]?.brand??"other",L=h?.addCardPaymentSourceStatus.fetchState,C=Le(S.header,S.titleText,S.protectedCardNo,h);let M;E&&(M={header:C.header,title:C.title,subtitle:C.subtitle,status:C.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:E===!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(O)},showCompletedIcon:!1,isError:L==="Error",isLoading:L==="In-Progress",isCompleted:!0,showRightArrow:!1});const[_,Se]=R.useState(!1);return t.jsxs(Fe,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:B.section.title,backgroundColor:w.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(We,{windowSize:o,children:[t.jsx(He,{windowSize:o,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(qe,{children:t.jsx("form",{id:U(F),onSubmit:pe,children:t.jsxs(Je,{windowSize:o,children:[t.jsx(_e,{connectedAccountProvider:m,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:S.header,sectionTitle:S.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:d,onFetchLinkTokenClick:Z,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:ee,isError:V?.code==="require_info"||V?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:O},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:M,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:_}),Ke(o,l.headers.billingAddress,ce,N,d)]})})})}),ke(f.formState.dirtyFields)?t.jsx($e,{formId:U(F),style:{width:o==="small"?"auto":"100%",paddingTop:a.sp2,paddingBottom:a.sp2,height:a.sp8},primaryBtn:{label:l.footer.save,isLoading:D?.fetchState==="In-Progress",isDisabled:D?.fetchState==="In-Progress",style:{height:a.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:J.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:se,stripeKey:K,cardSetupInProgress:_,setCardSetupInProgress:Se})]})},H=e=>{const{paymentAccount:i,allBankAccounts:m}=e.setupView;return{[I]:{account:{selectedOption:i?.zeniAccountId,allOptions:m.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:Te(n,e.subscriptionBillingAddress)[n]}},We=r.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
+ `,Fe=r.div`
10
+ display: flex;
11
+ min-height: 100%;
12
+ flex-direction: column;
13
+ width: 100%;
14
+ background-color: ${e=>e.theme.colors.grey4};
15
+ `,He=r(Oe)`
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: ${a.sp3};
22
+ text-align: ${e=>e.windowSize==="small"?"initial":"center"};
23
+ `,Ue=r.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
+ `,Je=r.div`
32
+ display: flex;
33
+ flex-direction: column;
34
+ `,Ke=(e,i,m,d,A)=>t.jsxs(Ne,{children:[t.jsx(Ge,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Be,{googleAPIKey:d??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),Ne=r.div`
35
+ margin-top: ${a.sp3};
36
+ margin-bottom: ${a.sp4};
37
+ `,Ge=r.div`
38
+ ${e=>`${Re.title.style(e.windowSize)}`};
39
+ margin-bottom: ${a.sp3};
40
+ margin-top: ${a.sp4};
41
+ color: ${e=>e.isError===!0?Ee.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
42
+ `,qe=r.div`
43
+ flex: 1;
44
+ `,U=e=>`${e}_form`;export{ct as default,U as uniqueName};
@@ -1 +1 @@
1
- import{V as b,cp as V,cq as q,cr as M,k8 as W,aY as Y,F as z}from"./index-BDOnIbbU.js";import{a as f}from"./sentry-7iaVxNzj.js";import{Gh as G}from"./zeni-epic-state-CMxzji9D.js";import{u as K}from"./ReviewOverlay-B8Quli7Z-BlSCP7tq.js";import"./liveblocks-DXXqIP7n.js";import"./core-B5JTMc-Y.js";import"./recharts-CprInlbt.js";import"./mui-Dn-FysqD.js";import"./lottie-DruO0Lf9.js";import"./analytics-BgoqoHps.js";import"./lexical-C4hGDQy7.js";import"./utils-BV_yqPM7.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]="1e613db3-c714-44a8-adff-45170c3ed771",e._sentryDebugIdIdentifier="sentry-dbid-1e613db3-c714-44a8-adff-45170c3ed771")}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,v]=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(()=>{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,D=()=>{const{title:d,description:S}=Z(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,_,X(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:N,description:A}=H(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 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:F,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(K,{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:Y("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},Z=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:g,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?g:_)}`):(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
+ import{V as b,cp as V,cq as q,cr as M,kb as W,aY as Y,F as z}from"./index-CNJQ6T57.js";import{a as f}from"./sentry-9b1mvxJ5.js";import{Gh as G}from"./zeni-epic-state-DJX8u9R8.js";import{u as K}from"./ReviewOverlay-BQVwPzKa-BxRw_iSk.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./mui-DsjrNjDe.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.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]="131dec7a-34ea-4ef8-a4e0-cb0d0538195c",e._sentryDebugIdIdentifier="sentry-dbid-131dec7a-34ea-4ef8-a4e0-cb0d0538195c")}catch{}})();const{common:s,spendManagement:{billPay:I}}=z.getLocalizedStrings(),o=I.bulkActions;let x;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,v]=f.useState(T(e,u)),[p,k]=f.useState(u),[B,E]=f.useState(0),[h,j]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(u&&(x=setInterval(()=>{v(d=>d.map((S,O)=>(clearInterval(x),O===B?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),B===n.length&&p&&(k(!1),clearInterval(x)),!u&&e.fetchState==="Completed"&&v(T(e,!1)),()=>{clearInterval(x)}),[n.length,B,p,e.fetchState,u,e]);const R=n.length,y=n.filter(d=>d.reviewStatus.code!=="error").length,D=()=>{const{title:d,description:S}=Z(y);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,_,X(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:N,description:A}=H(m,y,R,p),P=e.fetchState==="Completed"&&y===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 b.jsxs(b.Fragment,{children:[C?b.jsx(V,{titleComponent:b.jsx(M,{children:h.title}),descriptionComponent:b.jsx(q,{children:h.description}),primaryButtonText:h.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:h.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(K,{title:N,description:{content:A,isError:e.fetchState==="Completed"&&y===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:I.billDetails.newBillTitle,subTitle:`${I.billDetails.invoiceNo} ${t.invoiceNumber?t.invoiceNumber:s.strings.hyphen}`},rightSideText:{title:Y("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},Z=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:g,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?I.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:_)}`):(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{Q as l,V as s,aP as b,o as e}from"./index-BDOnIbbU.js";import{n as a}from"./mui-Dn-FysqD.js";import{o as p}from"./commonDimensions-Upfg-PB1-BJB9saec.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]="47d95265-650e-424c-a359-e888190ea068",o._sentryDebugIdIdentifier="sentry-dbid-47d95265-650e-424c-a359-e888190ea068")}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,aP as b,o as e}from"./index-CNJQ6T57.js";import{n as a}from"./mui-DsjrNjDe.js";import{o as p}from"./commonDimensions-BpYNnQtf-BVrF2eSg.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]="854d6bf5-b36f-4547-bc59-6ed6dca2aba2",o._sentryDebugIdIdentifier="sentry-dbid-854d6bf5-b36f-4547-bc59-6ed6dca2aba2")}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)};
@@ -0,0 +1,138 @@
1
+ import{d as ct,J as dt,aQ as Oe,V as i,ae as W,a9 as pt,cV as ut,ay as mt,cF as ft,aY as Te,aO as ve,gc as yt,r as ht,bC as gt,aP as xt,cG as St,cp as wt,cq as bt,cr as Ct,T as Dt,ac as Ot,aR as Tt,o as r,y as V,am as je,F as Fe,gd as vt,fA as Ie,e$ as It,R as kt,x as Nt,al as Ae,O as $t,a as Pt,u as k}from"./index-CNJQ6T57.js";import{a as j}from"./sentry-9b1mvxJ5.js";import{n as d}from"./mui-DsjrNjDe.js";import{ER as Vt,bi as G}from"./zeni-epic-state-DJX8u9R8.js";import{n as jt,z as Ft}from"./CompanyOfficerDetailsSection-CaAR0Wvk-CmXyx64P.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./LabeledAddressValueField-D6dEaI69-DANZLTzI.js";import"./LabeledCountryMultiSelectField-XeBih_-f-O6Y-iu_1.js";import"./LabeledCreatableSingleSelectField-BPX2Nrlf-VQgMHUfl.js";import"./LabeledDocumentField-Bjg8sNsg-C-PR2ZST.js";import"./LabeledMultiSelectField-Di9Wnifv-CqQm8lOX.js";import"./commonTypes-BVbA7QjV-rrrVgiRE.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]="7c5d2a11-6983-4b4f-ac40-38bfdc8aea6c",e._sentryDebugIdIdentifier="sentry-dbid-7c5d2a11-6983-4b4f-ac40-38bfdc8aea6c")}catch{}})();const x={width:new V(343,580,726),titleWidth:new V(343,580,726,826),subTitlePaddingTop:new V(12,k[3]),subTitlePaddingBottom:new V(k[3],k[3]),verificationDetailsRowGap:new V(12,k[5],k[5]),termsPaddingLeftRight:new V(k[0],k[3])},At={stepTitle:new $t("h6Regular","h5Regular")},ke="businessVerificationPage",D="companyDetails",O="companyOfficerDetails",{commonSetUp:{businessVerification:a},common:{settings:Lt,currency:Ne,footer:$e,strings:{empty:_t}}}=Fe.getLocalizedStrings(),ba=({businessVerificationDetails:e,allNationalityCountries:S,verficationDetailsFetchState:N,isRefreshingViewInBackground:_,filesEndPoint:s,authParams:B,productType:y,allIndustries:F,companyTitles:z,maxInsuredAmount:u,isDisabled:$,isSettings:o=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:q=!1,transferDetails:E,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:_e,onBackClick:A,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Ue,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Me,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:oe,onSaveDetailsClick:Ge,onClickMenuIcon:qe,onExecuteTreasuryTransfer:Je})=>{const Ke=ct(),p=dt(),{updateStatus:R,companyView:L,companyDetailsLocalData:l,companyOfficerLocalData:b}=e,Qe=Oe(R.fetchState),U=L?.company.company.featuresActivationInfo.connectedAccountProvider,Xe=U==="unit"?i.jsxs(qt,{children:[a.terms.term1,i.jsx(W,{href:a.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.consent}),a.terms.term2,i.jsx(W,{href:a.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.depositTerms}),a.terms.term3,i.jsx(W,{href:a.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.privacy}),a.terms.term4,i.jsx(W,{href:a.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:a.terms.tos}),a.terms.term5]}):a.terms.termsForStripe,[Ye,J]=j.useState(!1),[M,re]=j.useState("save"),[K,Ze]=j.useState(!1),m=pt({mode:"all",reValidateMode:"onChange",defaultValues:Bt(e,F,z,S)}),{isValid:He}=m.formState,Q=L?.company.company.companyBillPayInfo,X=L?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?X?.companyVerificationStatus:Q?.companyVerificationStatus,T=Object.values(b).findIndex(t=>t?.isSelectedForVerification===!0),v=`Officer_${T<0?1:T+1}`,et=()=>{const t=b[v],n=t?.email,c=t?.birthday?.toString(),f=t?.ownershipInCompany,C=t?.firstName,I=t?.lastName,pe=t?.titleAtCompany,ue=t?.documentTypeSelectedForVerification,me=t?.phone,fe=t?.addressStatus?.addressToCreate,ye=fe!=null?G(fe):void 0,he=l?.companyDescription,H=l?.companyLegalName,ge=l?.companyIndustry,xe=l?.phone,Se=l?.website,we=l?.addressStatus?.addressToCreate!=null?G(l?.addressStatus?.addressToCreate):void 0,ee=l?.primaryContactLocalData,be=ee?.firstName,Ce=ee?.lastName,De=ee?.email;n!=null&&f!=null&&C!=null&&I!=null&&c!=null&&pe!=null&&me!=null&&ye!=null&&ue!=null&&he!=null&&H!=null&&xe!=null&&Se!=null&&ge!=null&&H!=null&&we!=null&&be!=null&&Ce!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:I,companyRole:pe,phone:me,formattedAddress:ye,documentTypeForVerification:ue},{companyDescription:he,legalName:H,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:be,lastName:Ce,email:De},y,o?"Settings":void 0)},tt=()=>{const t=b[v],n=l?.primaryContactLocalData,c=t?.email??"",f=!!t?.firstName&&!!t?.lastName,C=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!t?.firstName||!t?.lastName)&&m.trigger(`${O}.${T<0?0:T}.name`,{shouldFocus:!0}),!1):C&&!I?((!n?.firstName||!n?.lastName)&&m.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const t=b[v],n=l?.primaryContactLocalData,c=t?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&m.trigger(`${D}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(t?.firstName||t?.lastName||t?.birthday||t?.nationalityCountryCode||t?.ownershipInCompany||t?.phone||t?.ssn||t?.titleAtCompany||t?.addressStatus?.addressToCreate||t?.fileIds!=null&&t?.fileIds.length>0||Y!=null&&Y?.length>0)return m.trigger(`${O}.${T<0?0:T}.email`,{shouldFocus:!0}),!1;return!0},it=m.handleSubmit(()=>{if(M!=="verification"&&re("verification"),U==="unit"&&b[v]?.isPhoneVerified!==!0){m.setError(`${O}.${T}.phone`,{type:"custom"});return}const t=ut(Object.values(b).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);Vt(t.concat(n)).fetchState!=="In-Progress"&&He&&(et(),Re?.(v),q===!0&&Je?.())}),st=async(t,n)=>{t.includes(D)?Ue?.(n[D]):t.includes(O)&&We?.(n[O])},nt=j.useCallback(mt((t,n)=>{st(t,n)},300),[]);j.useEffect(()=>{const t=m.watch((n,{name:c})=>{c!=null&&n!=null&&ft(()=>nt(c,n))});return()=>{t.unsubscribe()}});const le=Oe(e.companyDetailsLocalData?.addressStatus);j.useEffect(()=>{e.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&e.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(oe?.("company_registered_address",e.companyDetailsLocalData?.addressStatus?.addressToCreate),m.setValue(`${D}.registeredAddress`,e.companyDetailsLocalData?.addressStatus?.addressToCreate))},[e.companyDetailsLocalData?.addressStatus,e.companyDetailsLocalData?.registeredAddressStatus,le,oe,m]);const ce=L?.companyOfficers.slice(0,10).sort((t,n)=>t.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),Y=ce?.map(t=>t.user),ot=ce?.map(t=>t.role),rt={onOkClick:()=>{J(!1),A();const t=[],n=L?.company.company.incInfo.fileIds??[];m.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||t.push(c)}),ot?.forEach((c,f)=>{const C=c?.fileIds??[];m.getValues(`${O}.${f}.fileIds`).forEach(I=>{C.includes(I)||t.push(I)})}),t.length!==0&&Me?.(t)},onCancelClick:()=>{J(!1)}},lt=Te(ve(u),u,Ne.currencySymbol).toUpperCase(),Z=P?.code==="pending_review"||P?.code==="verified",de=(E?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;return y==="zeni_treasury"&&P?.code==="pending_review"&&Qe==="In-Progress"&&R.fetchState==="Completed"?i.jsxs(Ht,{children:[i.jsxs(ea,{children:[i.jsx(yt,{}),i.jsx(ta,{windowSize:p,children:q===!0?a.submittedTitleWithTransfer:a.submittedTitle}),i.jsx(Zt,{isReadonly:!1,children:q===!0?a.submittedDescriptionWithTransfer.replace("__amount__",Te(ve(E?.treasuryTransferMoneyLocalData?.amount?.amount??0),E?.treasuryTransferMoneyLocalData?.amount?.amount??0,Ne.currencySymbol)).replace("__account__",E?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):a.submittedDescription})]}),i.jsx(ht,{label:a.submittedButton,onClick:()=>{A(),te?.()},variant:"primary"})]}):i.jsxs(zt,{isSettings:o,children:[i.jsx(gt,{title:h&&w===!0?_t:a.header,backgroundColor:Ke.colors.grey5,style:{zIndex:K?1:4},onBackClick:()=>{St(m.formState.dirtyFields)?J(!0):A()},showBackButton:!o&&!h,showMenuIcon:o?p==="medium-compact"||p==="small":!1,onClickMenuIcon:qe,rightSideComponent:h?i.jsx(aa,{"data-testid":xt("nav-bar-close-business-verification-overlay"),onClick:()=>{A(),te?.()}}):null,source:"BusinessVerificationPage"}),Ye===!0?i.jsx(wt,{titleComponent:i.jsx(Ct,{children:a.discardTitle}),descriptionComponent:i.jsx(bt,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:rt}):null,i.jsxs(Ut,{windowSize:p,children:[(!h||w===!1)&&i.jsx(Rt,{windowSize:p,children:o?Lt.infoText.businessVerification:a.title}),N==="In-Progress"||N==="Not-Started"?i.jsx(Mt,{children:i.jsx(Dt,{size:"ExtraLarge",start:!0})}):i.jsx(Ot,{...m,children:i.jsxs("form",{id:Pe(ke),onSubmit:it,children:[h&&w===!0&&i.jsxs(Et,{children:[i.jsxs(Jt,{windowSize:p,children:[i.jsx(Kt,{windowSize:p,children:Z?a.businessVerificationDetails:de?a.verifyBusinessDetails:a.verifyBusinessDetailsWithoutTransfer}),!Z&&i.jsx(Qt,{children:i.jsxs(Xt,{children:[i.jsx(Ve,{}),de&&i.jsx(Ve,{}),i.jsx(Yt,{})]})})]}),i.jsx(Le,{isReadonly:Z,children:a.verifyBusinessDetailsDescription})]}),i.jsxs(Wt,{children:[i.jsx(jt,{companyOfficerData:b,allNationalityCountries:S,allOfficers:Y??[],sectionId:O,isRefreshingViewInBackground:_,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:$,filesEndPoint:s,authParams:B,isPopupOpen:K,openPopup:Ze,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),i.jsx(Ft,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:_},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:D,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":$,fileProps:{authParams:B,filesEndPoint:s,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:_e,connectedAccountProvider:U,allIndustries:F,allNationalityCountries:S})]}),y==="zeni_accounts"?i.jsx(Gt,{windowSize:p,children:a.threadText.replace("__amount__",lt)}):null]})})]}),N==="Completed"&&(y==="zeni_treasury"?X?.companyVerificationStatus?.code!=="pending_review"&&X?.companyVerificationStatus?.code!=="verified":Q?.businessVerificationStatus?.code!=="pending_review"&&Q?.businessVerificationStatus?.code!=="verified")?i.jsx(Tt,{formId:Pe(ke),primaryBtn:{label:w?$e.submit:a.sendForVerificationButton,style:{width:"auto",minWidth:p==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:$!=null},containerStyle:{width:p==="small"?x.width.valuePx(p):"auto",justifyContent:p==="small"?"space-between":"center"},helperStyle:{width:p==="small"?x.width.valuePx(p):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(p),paddingRight:x.termsPaddingLeftRight.valuePx(p),textAlign:p==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?$e.back:a.saveDetailsButton,style:{width:p==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)A();else{const t=b[v],n=l?.primaryContactLocalData;M!=="save"&&re("save");const c=t?.email??"",f=tt(),C=at();f&&C&&(g?.trackBusinessVerificationSave({email:c,birthday:t?.birthday?.toString(),companyOwnership:t?.ownershipInCompany,firstName:t?.firstName,lastName:t?.lastName,companyRole:t?.titleAtCompany,phone:t?.phone,formattedAddress:t?.addressStatus?.addressToCreate!=null?G(t?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:t?.documentTypeSelectedForVerification},{companyDescription:l?.companyDescription,legalName:l?.companyLegalName,phone:l?.phone,website:l?.website?.toString(),industry:l?.companyIndustry??"",formattedAddress:l?.addressStatus?.addressToCreate!=null?G(l?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,o?"Settings":void 0),Ge?.(v))}}},helperText:Xe,style:{padding:`12px ${r.sp3}`,zIndex:K?0:4}}):null]})},Bt=(e,S,N,_)=>{const{companyDetailsLocalData:s,companyOfficerLocalData:B,companyView:y}=e,F=Fe.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:s?.companyDescription??"",ein:s?.companyFiles.find(u=>u.documentType==="tax_ein"),companyId:s?.companyId??"",syncToken:s?.syncToken,companyLegalName:s?.companyLegalName??"",companyWebsite:s?.website?.toString()??"",companyAddress:s?.addressStatus?.addressToCreate,registeredAddress:s?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:s?.companyIndustry,allOptions:S?.map(u=>u.code)},companyPhone:s?.phone??"",companyTaxId:s?.taxIdOrEIN??"",primaryContactName:{firstName:s?.primaryContactLocalData?.firstName??"",lastName:s?.primaryContactLocalData?.lastName??""},primaryContactEmail:s?.primaryContactLocalData?.email??"",primaryContactUserId:s?.primaryContactLocalData?.userId,primaryContactSyncToken:s?.primaryContactLocalData?.syncToken,fileIds:s?.companyFiles.map(u=>u.fileId)??[],certificateOfIncorporation:s?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),incDate:s?.incDate?.toDate(),typeOfIncorporation:{selectedOption:s?.typeOfIncorporation,allOptions:F.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:s?.stateOfIncorporation,allOptions:F.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(a.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:s?.companySourceOfFunds??"",allOptions:Object.keys(a.companySourceOfFundOptions??{})},companySourceOfFundsDescription:s?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:s?.transactionVolume,allOptions:Object.keys(a.transactionVolumeOptions??{})},transactionVolumeDescription:s?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:s?.purposeOfAccount,allOptions:Object.keys(a.purposeOfAccountOptions??{})},purposeOfAccountDescription:s?.purposeOfAccountDescription??"",usNexus:s?.usNexus??"",usNexusTypes:{selectedOptions:(s?.usNexusTypes??[]).map(u=>a.usNexusOptions?.[u]??u),allOptions:Object.values(a.usNexusOptions??{})},regulatedStatus:s?.regulatedStatus??"",regulatedStatusDescription:s?.regulatedStatusDescription??""},[O]:Object.values(B).map((u,$)=>{const o=u,h=vt(o?.documentTypeSelectedForVerification);return{userId:o?.userId,officerType:o?.officerType??`Officer_${$+1}`,name:{firstName:o?.firstName,lastName:o?.lastName},email:o?.email,fileIds:o?.fileIds??[],dob:o?.birthday?.toDate(),nationalityCountryCode:It(o?.nationalityCountryCode,_.map(g=>g.countryCode)),ssn:o?.ssn,role:{selectedOption:o?.titleAtCompany,allOptions:N?.map(g=>g.code)},phone:o?.phone??"",ownership:o?.ownershipInCompany,officerAddress:o?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,o?.userFiles??[],h),back:Ie(!1,o?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!z&&$===0?!0:o?.isSelectedForVerification??!1,userVerificationStatus:o?.userVerificationStatus,treasuryUserVerificationStatus:o?.treasuryUserVerificationStatus,syncToken:o?.syncToken,isPhoneVerified:o?.isPhoneVerified,otpChallenge:o?.otpChallenge}})}},Pe=e=>`${e}_form`,zt=d.div`
2
+ display: flex;
3
+ min-height: 100%;
4
+ flex-direction: column;
5
+ width: 100%;
6
+ row-gap: ${r.sp3};
7
+ background-color: ${e=>e.isSettings?"unset":e.theme.colors.grey5};
8
+ `,Et=d.div`
9
+ display: flex;
10
+ flex-direction: column;
11
+ align-items: flex-start;
12
+ justify-content: center;
13
+ gap: ${r.sp1};
14
+ width: 100%;
15
+ padding-bottom: ${r.sp3};
16
+ `,Rt=d(Ae)`
17
+ color: ${e=>e.theme.colors.hero};
18
+ display: flex;
19
+ justify-content: center;
20
+ width: ${e=>x.titleWidth.valuePx(e.windowSize)};
21
+ padding-top: ${e=>x.subTitlePaddingTop.valuePx(e.windowSize)};
22
+ padding-bottom: ${e=>x.subTitlePaddingBottom.valuePx(e.windowSize)};
23
+ text-align: ${e=>e.windowSize==="small"?"initial":"center"};
24
+ `,Ut=d.div`
25
+ display: flex;
26
+ justify-content: flex-start;
27
+ height: 100%;
28
+ overflow-y: auto;
29
+ flex-direction: column;
30
+ align-items: center;
31
+ padding-bottom: ${r.sp9};
32
+ row-gap: ${e=>x.verificationDetailsRowGap.valuePx(e.windowSize)};
33
+ `,Mt=d.div`
34
+ display: flex;
35
+ width: 100%;
36
+ height: calc(100vh - 110px);
37
+ flex-direction: row;
38
+ justify-content: center;
39
+ align-items: center;
40
+ background-color: ${e=>e.theme.colors.grey4};
41
+ `,Wt=d.div`
42
+ display: flex;
43
+ flex-direction: column;
44
+ row-gap: ${r.sp11};
45
+ `,Gt=d(je)`
46
+ margin-top: ${r.sp2};
47
+ padding: ${r.sp2} ${r.sp2};
48
+ text-align: center;
49
+ color: ${e=>e.theme.colors.grey1};
50
+ width: ${e=>x.width.valuePx(e.windowSize)};
51
+ `,qt=d(je)`
52
+ text-align: center;
53
+ max-width: 750px;
54
+ color: ${e=>e.theme.colors.hero};
55
+ `,Jt=d.div`
56
+ display: flex;
57
+ flex-direction: column;
58
+ gap: ${r.sp3};
59
+ width: 100%;
60
+ `,Kt=d(Pt)`
61
+ ${e=>`${At.stepTitle.style(e.windowSize)}`};
62
+ color: ${e=>e.theme.colors.primary};
63
+ text-align: left;
64
+ `,Qt=d.div`
65
+ display: flex;
66
+ align-items: center;
67
+ overflow: hidden;
68
+ gap: ${r.sp2};
69
+ `,Xt=d.div`
70
+ display: flex;
71
+ width: 100%;
72
+ gap: ${r.sp3};
73
+ `,Ve=d.div`
74
+ flex: 1;
75
+ height: 2px;
76
+ background-color: ${e=>e.theme.colors.primary};
77
+ border-radius: ${r.sp2};
78
+ `,Yt=d.div`
79
+ flex: 1;
80
+ height: 2px;
81
+ background-color: ${e=>e.theme.colors.grey3};
82
+ border-radius: ${r.sp2};
83
+ position: relative;
84
+ overflow: hidden;
85
+
86
+ &::after {
87
+ content: "";
88
+ position: absolute;
89
+ top: 0;
90
+ left: 0;
91
+ height: 100%;
92
+ width: 100%;
93
+ background-color: ${e=>e.theme.colors.primary};
94
+ animation: fillProgress 1s ease-in-out forwards;
95
+ }
96
+
97
+ @keyframes fillProgress {
98
+ 0% {
99
+ transform: translateX(-100%);
100
+ }
101
+ 100% {
102
+ transform: translateX(0%);
103
+ }
104
+ }
105
+ `,Le=d(Ae)`
106
+ color: ${e=>e.theme.colors.hero};
107
+ margin-top: ${e=>e.isReadonly?r.sp0:r.sp3};
108
+ white-space: pre-line;
109
+ `,Zt=d(Le)`
110
+ margin-top: ${r.sp0};
111
+ text-align: center;
112
+ `,Ht=d.div`
113
+ display: flex;
114
+ flex-direction: column;
115
+ align-items: center;
116
+ justify-content: center;
117
+ gap: ${r.sp5};
118
+ margin: auto;
119
+ `,ea=d.div`
120
+ display: flex;
121
+ flex-direction: column;
122
+ align-items: center;
123
+ justify-content: center;
124
+ gap: ${r.sp3};
125
+ `,ta=d(kt)`
126
+ color: ${e=>e.theme.colors.primary};
127
+ white-space: pre-line;
128
+ text-align: center;
129
+ `,aa=d(Nt)`
130
+ cursor: pointer;
131
+ color: ${e=>e.theme.colors.hero};
132
+ width: ${r.sp4};
133
+ height: ${r.sp4};
134
+ min-height: ${r.sp4};
135
+ &:hover {
136
+ color: ${e=>e.theme.colors.primary};
137
+ }
138
+ `;export{ba as default,Pe as uniqueName};
@@ -1,4 +1,4 @@
1
- import{Q as m,V as r,F as b,b as y,o as a,R as w,a as x}from"./index-BDOnIbbU.js";import{n as o}from"./mui-Dn-FysqD.js";import{a as c}from"./sentry-7iaVxNzj.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]="7e9f564c-14a8-476d-82f6-b9950b2dbca2",e._sentryDebugIdIdentifier="sentry-dbid-7e9f564c-14a8-476d-82f6-b9950b2dbca2")}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}}=b.getLocalizedStrings(),C={subText:new w("extraSmallRegular","standardRegular")},R=({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(x)`
1
+ import{J as f,V as r,F as m,b as y,o as a,O as w,a as x}from"./index-CNJQ6T57.js";import{n as o}from"./mui-DsjrNjDe.js";import{a as c}from"./sentry-9b1mvxJ5.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]="dea98b09-cbef-489a-992b-afd5b7b4e633",e._sentryDebugIdIdentifier="sentry-dbid-dea98b09-cbef-489a-992b-afd5b7b4e633")}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}}=m.getLocalizedStrings(),C={subText:new w("extraSmallRegular","standardRegular")},j=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=f(),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,b=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:`${b}`,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(x)`
2
2
  ${e=>e.forDetailPage?{...y.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
3
3
  color: ${e=>e.theme.colors.hero};
4
4
  max-width: 100%;
@@ -18,4 +18,4 @@ import{Q as m,V as r,F as b,b as y,o as a,R as w,a as x}from"./index-BDOnIbbU.js
18
18
  width: ${a.sp3};
19
19
  height: ${a.sp3};
20
20
  color: ${e=>e.theme.colors.hero};
21
- `;export{R as j};
21
+ `;export{j};