@zeniai/web-cockpit-ui 1.15.24-qa → 1.15.25-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 (326) hide show
  1. package/dist/assets/{ACHDetailsPage-DsLMYxB2-DKIqWfd5.js → ACHDetailsPage-Davpg8eW-BWDILC-H.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-Do1Jme84-BQuxssWs.js → AIPerformancePage-BXF0kUqR-BgyTM2y7.js} +104 -104
  3. package/dist/assets/AccountInfoPage-Cefnidcc-Bp5rUTr8.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-DLxvkpvG-DlM7C5lw.js → AccountInfoPageContent-QMyPHCdY-DP0akuHx.js} +15 -15
  5. package/dist/assets/AccountLockedInfoModal-BdFY6p56-RTWbIB_l.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BMhGA2Nw-Z2PUl5SJ.js → AccountReconDetailsDrawerPage-CoXPQka7-DFQZksfD.js} +11 -11
  7. package/dist/assets/AccountRow-DHB-ETil-0INUiG8Z.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-Cq1lsoaV-GSf-HLu0.js → AccountsPromoCardStack-Dkz2VyEk-BJf7WrAq.js} +22 -22
  9. package/dist/assets/AddAddressForCardDrawer-CUKknbhJ-CnCLxax6.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CEhxUk5V-BYjPBKkY.js → AddToWalletPage-p0T8VFfo-WTTL1b0G.js} +47 -47
  11. package/dist/assets/{AgingReportsPage-CYrw-ffE-5eIk6Dcl.js → AgingReportsPage-CTzjRkV2-CkKYMdrC.js} +15 -15
  12. package/dist/assets/{AllUserItems-CUPJzOon-ByAd3cpG.js → AllUserItems-Dt9rMGJk-D2oOTLOS.js} +13 -13
  13. package/dist/assets/{ApAgingDetailPage-BHfoAgPL-Z6JXUJ8l.js → ApAgingDetailPage-71VQk7px-BPdIn6ZS.js} +7 -7
  14. package/dist/assets/AppBasePage-tDs92z31-B3gR6k96.js +71 -0
  15. package/dist/assets/{AppDrawerContent-CxmXgxbq-CR8uI5HI.js → AppDrawerContent-ULUH1WZ3-CblzrDc2.js} +4 -4
  16. package/dist/assets/{ApprovalRulesSettingsPage-gu0Fjo8W-DPQDhehm.js → ApprovalRulesSettingsPage-Ciz-iaE5-ghG5WVzt.js} +1 -1
  17. package/dist/assets/{ArAgingChart-CxGoJ-eL-Blphsvqz.js → ArAgingChart-DcwM2rpv-C36SsOV8.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-CNKe5FGf-BfLy-wH_.js → ArAgingDetailPage-eGCSFdAM-BJk9vCxH.js} +4 -4
  19. package/dist/assets/{AttachmentView-BNb1kv2i-DkhgYBN2.js → AttachmentView-CA6PRg4p-DDr9TCOl.js} +4 -4
  20. package/dist/assets/{BankAccountSection-nxf2HgVE-G54ZtA0k.js → BankAccountSection-mWUT-G8y-2k5xTeyX.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-b7VJzhDr-CptxWENX.js → BankAccountWarningSection-IMtILLfL-BhKJ6bLn.js} +11 -11
  22. package/dist/assets/{BankConnectionsSettingsPage-Dj5RPseY-TdFPSmBq.js → BankConnectionsSettingsPage-COyH3rdC-Be8G7lph.js} +10 -10
  23. package/dist/assets/{BillDetailPage-B8vxUUjs-C-CFBqEj.js → BillDetailPage-BR_9uHRC-mLWBTrh1.js} +13 -13
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-RxCSuM7j-BqEZg33H.js → BillPayApprovalRuleDetailPage-cRAudMvm-CWVbYb1D.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-qB8FSNxF-rbTYrF-M.js → BillPayApprovalRulesPage-Cd0aJtip-BTxbg4yL.js} +8 -8
  26. package/dist/assets/{BillPayPromoPage-C-MLRBwj-vOq8U5gh.js → BillPayPromoPage-BYW097HT-D4YnpN75.js} +10 -10
  27. package/dist/assets/{BillPaySetUpPage-DUcVwFf0-CYjbtEEg.js → BillPaySetUpPage-BahrLUn4-CqC29kIw.js} +4 -4
  28. package/dist/assets/BillingSettingsPage-BjMeQKM0-CpnNOiGS.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-Cm2iOzT8-6b_1kNK1.js → BillsBulkReviewDrawerPage-CJ-GbBhL-B7DfrKfl.js} +1 -1
  30. package/dist/assets/{BoxItem-BIGbJrpV-BZ7_ozC2.js → BoxItem-CvhcNreT-DxmoznPD.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-LKrdd6Ej-BKb49OWB.js +138 -0
  32. package/dist/assets/{CardNumberSubText-lCdVj97_-CAB_Kln4.js → CardNumberSubText-CfoSPAZU-BdVhRiwJ.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-DyqE-V7x-DhQHhGde.js → CashbackDetailPage-CWlaZrqz-DvIAxVRW.js} +13 -13
  34. package/dist/assets/{ChargeCardDetailPage-0a7KVsQ4-DT0O76Wc.js → ChargeCardDetailPage-BNNbd3G1-BtUCuJum.js} +35 -35
  35. package/dist/assets/{ChargeCardListPage-DZgzRmUt-D6J_weNw.js → ChargeCardListPage-BzIvl8RY-Ncd3QF6u.js} +16 -16
  36. package/dist/assets/{ChargeCardListTable-CrPIqCYY-CgNAiVSn.js → ChargeCardListTable-D-uQKI4t-lkMdiYYu.js} +46 -46
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-BenEXh0n-Cun1p0sn.js → ChargeCardPaymentHistoryPage-DmzlfD-l-OAmKFjuL.js} +12 -12
  38. package/dist/assets/ChargeCardPromoPage-DOYqOs6K-xBYShKSz.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-BQdagLKY-BUWz2gWE.js → ChargeCardSetupPage-CSnLMycu-BkjYVqCn.js} +3 -3
  40. package/dist/assets/ChargeCardStatementsPage-C82CsaNY-DzvzbShn.js +60 -0
  41. package/dist/assets/{CheckDepositDrawerPage-Bbe3YMhk-DlMo_ctS.js → CheckDepositDrawerPage-DN5Ok0Y6-DOjKYa5p.js} +21 -21
  42. package/dist/assets/{CollapsableReportTable-Bjp9ufA3-BUww2EPB.js → CollapsableReportTable-CncMWpFI-CnBbDhbn.js} +93 -93
  43. package/dist/assets/CompanyOfficerDetailsSection-5Gmlo5HX-mf8toy40.js +331 -0
  44. package/dist/assets/{CompanyPassportCard-B9yLuYoV-7uXZA6qZ.js → CompanyPassportCard-Ccw8l9iz-CwNj32nj.js} +3 -3
  45. package/dist/assets/CompanyPassportPage-IjpU53y_-BF5RjsoV.js +417 -0
  46. package/dist/assets/{CompleteProfile-DlDJUF9s-Ds-cc2Li.js → CompleteProfile-CQUDJ-nI-DJVg2OT2.js} +1 -1
  47. package/dist/assets/ConfettiBurst-C_6Uy7eR-Np_3vQFo.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CPRMOwDl.js → ConstrainedInnerElement-BeIpAPjB-BVda4Dj4.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-C0zQBkip-Bwlp-KX1.js → CreateOrEditVendorPage-DM90rr4S-BcABoxWR.js} +16 -16
  50. package/dist/assets/{CreditCardPaymentDrawerPage-BonuuJrp-D6Esu5Ka.js → CreditCardPaymentDrawerPage-Bh0QdxXh-Dti2BnoN.js} +11 -11
  51. package/dist/assets/{CurrencySelectField-CcwMU19m-Dv2FTyMF.js → CurrencySelectField-BDfEzwpU-4zlCOdOf.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-CnLIuUI_-DOyaYse5.js → CustomerOnboardingActivationPage-CJGtq19l-BpCso2Fz.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-CP6DdMkC-CnaDFGWF.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DFnaf7ny-DHFbJUSq.js → CustomerOnboardingDetailPageSkeleton-DSqc1_bS-CATYZXta.js} +14 -14
  55. package/dist/assets/CustomerOnboardingNoStepsPage-BuWnQGPi-BSZV9BI0.js +66 -0
  56. package/dist/assets/CustomerOnboardingPage-Bl2oAvin-B7GmsFRo.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DrUE-f0H-CurdzAi_.js → CustomerOnboardingProductSuitePage-CZDipU2j-BbQ2Iy2J.js} +4 -4
  58. package/dist/assets/{Dashboard-Cgrcdi17-XnHxKrKg.js → Dashboard-DyQZQS2X-mxU1Jkng.js} +66 -66
  59. package/dist/assets/{DashboardReportPage-DbhRTdc4-CpN5HaDx.js → DashboardReportPage-Dn7pVdG9-DtcRvxDO.js} +13 -13
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-iiFGhvRQ-y0LRofZR.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-D1o4IBkT-BgfivdRm.js → DepositAccTransactionItem-DDdkQsmn-B5pGW8gX.js} +6 -6
  62. package/dist/assets/{DepositAccTransactionListPage-xxNjjtT--BvwZH-r8.js → DepositAccTransactionListPage-BHdmR6m5-7yonpKjA.js} +5 -5
  63. package/dist/assets/{DomesticWireDetailsPage-CwJaUAl--xZbxKmq6.js → DomesticWireDetailsPage-CpwSOc_0-CElrVONi.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-DQhWlo3j-ou1Zr3sv.js → DownloadOverlay-Dhib22Hz-D3Lt9Smx.js} +11 -11
  65. package/dist/assets/{DrawerPage-Cy3cU-ts-DL-hvylm.js → DrawerPage-nxxj86nQ-CJOa9BEO.js} +14 -14
  66. package/dist/assets/EditPeoplePage-CG5gmNTR-CH2Xt3X8.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-CPtNF3lE-BUz5GUcq.js → EditReimbursementDetailPage-C2kqq9QP-Bbzp1pVf.js} +73 -73
  68. package/dist/assets/EntityDetailPage-CL0FCU_m-BGtD2JCX.js +18 -0
  69. package/dist/assets/{EntitySummarySection-DKVe_auH-BhjgU5OF.js → EntitySummarySection-C29GLBzF-CWqpKadr.js} +8 -8
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BerWhvvC-DBNdoj-V.js → ExpenseAutomationOverviewPage-B4kcx-VG-CGPR3A1h.js} +22 -22
  71. package/dist/assets/{ExpenseAutomationPage-ZFDuZKVx-BOLEz3OZ.js → ExpenseAutomationPage-DNwnoyPg-DCSz-PUa.js} +295 -285
  72. package/dist/assets/{ExpressPayPage-DWGFzFY1-kbQqZZxK.js → ExpressPayPage-K-InpYtZ-DIVfrk0c.js} +19 -19
  73. package/dist/assets/{FeaturePreviewPage-CTROYslk-DNnHSl_T.js → FeaturePreviewPage-IsRBHkoD-e3f7mixU.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-Cdw8tftg-LjozyTXw.js → FollowStepsSection-ClyCs5f_-Dx038WgT.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-FIiMWDt4-D2ht755B.js → GlobalReviewListPage-n8XrBXXp-BZl-OsOG.js} +16 -16
  76. package/dist/assets/{InformationCardStack-DRM_CrnR-Dr6abp-W.js → InformationCardStack-BnOF2kCh-C7gNsonq.js} +7 -7
  77. package/dist/assets/{InsightsCardStack-B6KSNBOO-ivzZWeJo.js → InsightsCardStack-Bgzkang3-CA8GAaRZ.js} +9 -9
  78. package/dist/assets/InsightsSection-C16f1RZL-BLvjZ1kW.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-VPy6IQco-B18SLH29.js → IntegrationsSettingsPage-D1QWrVQw-BXx7A_Fv.js} +3 -3
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-CbztUTOk-C1ODTgTQ.js → InternationalWireSwiftDetailsPage-DNNEqdWS-B78a52iW.js} +20 -20
  81. package/dist/assets/InternationalWireVerificationPage-xmHZ6XN7-DwVwtiyi.js +65 -0
  82. package/dist/assets/{InviteFormPage-BBHD1wv7-C_4SKmOY.js → InviteFormPage-C-Io8wxr-DZ679TjD.js} +21 -21
  83. package/dist/assets/{InvitePageListView-Gpf4q2HF-CEWnpXn7.js → InvitePageListView-B1PLdKSn-3WJcdIb9.js} +55 -55
  84. package/dist/assets/InvitePeoplePage-BArxsNxE-BXI3n59t.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-Eo7dq75t-C9QkPoGX.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-CiL8yWbI-CIy8MoIn.js → IssueChargeCardPage-CC6D-uPl-dzV4_AJm.js} +15 -15
  87. package/dist/assets/{LabeledAddressValue-DGEHzZ-x-CfIKvo1E.js → LabeledAddressValue-CKZJgaV5-cxiw5XUU.js} +2 -2
  88. package/dist/assets/LabeledAddressValueField-DNGOSAvq-BXE6xS8k.js +45 -0
  89. package/dist/assets/LabeledControlledCheckBoxField-CR2DslKs-Cl2J9WYt.js +16 -0
  90. package/dist/assets/LabeledCountryMultiSelectField-B8Lbv837-DgWr30M7.js +237 -0
  91. package/dist/assets/{LabeledCreatableSingleSelectField-BzOLZcSy-C22qT18Z.js → LabeledCreatableSingleSelectField-N1wb0l0p-Dc3bkr-e.js} +17 -13
  92. package/dist/assets/LabeledDocumentField-vSq1xSUM-C_0QT0Hr.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-CqDEmdfe-DrhnwOAX.js +59 -0
  94. package/dist/assets/{LabeledText-CYRn3LhA-DWGTPjd2.js → LabeledText-DiJE8avC-CseM5wCJ.js} +5 -5
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BzsLAAeQ-BmguFMb2.js → LabeledUserSingleSelectWithSubtitlesField-CLup6THe-B8wjUmse.js} +20 -20
  96. package/dist/assets/{LabeledZeniRolesDropDownField-UiY4N_NF-Djo3S0ey.js → LabeledZeniRolesDropDownField-CVg9PTpl-CmXvnZ1S.js} +33 -33
  97. package/dist/assets/{LinkJETransactionPage-PvLzGCy_-B6huT0SK.js → LinkJETransactionPage-DaGHGCIJ-ZPmKuaes.js} +8 -8
  98. package/dist/assets/{LockCardPage-Cv1mXAE9-DETgYyCF.js → LockCardPage-CGYlmPkB-BpMPFgRW.js} +24 -24
  99. package/dist/assets/{LowBalancePopup-go-1GM2R-ClVuygNj.js → LowBalancePopup-YJW7eKud-C5-4WX6d.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-C3TnWCqC-ByYEbu_t.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-BUjap5Q7-Bvcp-odv.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-COXCHYYI-DrkXHgBT.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-CdHOdUZ5-CSa0Vcf2.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-CPs72o7_-DBHt9Igm.js → MagicLinkTitleSection-CCF7Ahgh-BraYyP_S.js} +4 -4
  105. package/dist/assets/MailingDetailsSection-WMvjKFiS-C1_EkXyZ.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-Xo-zsUV_-B9fPJRoq.js → MyBankConnectionsSettingsPage-BJi0owDl-C6fsBM4C.js} +9 -9
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-pMnrYxHt-D-heAgjR.js → MyPendingActivationChargeCardListPage-BWIla-hh-BQ4ym9Ei.js} +2 -2
  108. package/dist/assets/MyProfileSettingsPage-B0uYhezS-DbNVKwps.js +85 -0
  109. package/dist/assets/{NavBarWithPicker-DFywcKz8-BdsjK4vI.js → NavBarWithPicker-BGZvvByA-4hcBX9YX.js} +5 -5
  110. package/dist/assets/{NavigationArrow-BiYMk3Wz-CV64X4HQ.js → NavigationArrow-C3pN6F3u-tAd2nukx.js} +7 -7
  111. package/dist/assets/{NavigationDots-CCLpxuwG-33BZJiro.js → NavigationDots-D1rJnVkZ-DI_AwSe8.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-C48VzTEf-BhyO826c.js → NewGlobalMerchantPage-DU2Z_NYb-CczYC_Cy.js} +12 -12
  113. package/dist/assets/{NoDataChart-sGr0o2BN-CgZmA0TN.js → NoDataChart-DuEsebs4-BQTTXvg9.js} +2 -2
  114. package/dist/assets/NoDataTable-B7LkfAQX-CdTNbZgo.js +8 -0
  115. package/dist/assets/{NotFoundPage-DFw9HBCT-0UwPngI1.js → NotFoundPage-DLtikmoi-CJn1LsuA.js} +9 -9
  116. package/dist/assets/{NotificationSettingsPage-D1rRNeRj-Bw3eepl1.js → NotificationSettingsPage-DwsCKyVM-AIL1SOh9.js} +12 -12
  117. package/dist/assets/{NotificationsListConfig-LrfChZUx-RWUkV3Sx.js → NotificationsListConfig-CMtBeX4D-Dg29H_7b.js} +1 -1
  118. package/dist/assets/{NotificationsPage-Cx4eb-l6-Bmwqr_H4.js → NotificationsPage-CZrXzWli-9C2iwOMz.js} +24 -24
  119. package/dist/assets/{OpExByVendorPage-LpdEEb1U-CiRx5TKb.js → OpExByVendorPage-0PLAOQu5-DLLDMhgS.js} +20 -20
  120. package/dist/assets/OverlayContainerPage-D4QU0p4o-D2G-CVv7.js +11 -0
  121. package/dist/assets/{PandLWithForecastPage-DwaVCK2R-DvQKQu5s.js → PandLWithForecastPage-PkrBqcAR-Djqg6ntv.js} +10 -10
  122. package/dist/assets/PaymentAccountSetupBillingAddressSection-C026Xg59-Du1LULBI.js +107 -0
  123. package/dist/assets/PeoplePage-PyWOVc5M-DILaV4hT.js +727 -0
  124. package/dist/assets/{Preview-BCmMZb_d.js → Preview-DaDKYAzg.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-Dp5Of83--C9TEcIb9.js → ProductsCarousel-fMS3PJAc-r1K9Xxoj.js} +5 -5
  126. package/dist/assets/{PromoBaseCards-Bpmi7do2-DeOoBn1O.js → PromoBaseCards-HY42c1kU-DSpx7Fy3.js} +17 -17
  127. package/dist/assets/{QBOConnectionDialog-BCOigpzW-BBWvt6M8.js → QBOConnectionDialog-B_AOC_hG-BSWcu79k.js} +3 -3
  128. package/dist/assets/{QBOSetupSection-Blf2QxYu-Bt1Iazrw.js → QBOSetupSection-CQHdqpJF-CH_S6Ewi.js} +10 -10
  129. package/dist/assets/ReimbursementApprovalRuleDetailPage-D0oeO5MZ-95x-7hZW.js +32 -0
  130. package/dist/assets/{ReimbursementApprovalRulesPage-Cq3lTD4B-BL73XOQv.js → ReimbursementApprovalRulesPage-Beg7ljMA-Cr4MOQVc.js} +8 -8
  131. package/dist/assets/{ReimbursementDetailPage-CxP7ZEyW-DzWZJWkr.js → ReimbursementDetailPage-DBxKNhum-DE3tfEga.js} +8 -8
  132. package/dist/assets/{ReimbursementPromoPage-tSycJK9l-DgiKrFaE.js → ReimbursementPromoPage-DxZeTOQW-CNGgL2HL.js} +22 -22
  133. package/dist/assets/{ReimbursementSetUpPage-iGjNkC8E-B8NnEeyY.js → ReimbursementSetUpPage-CN4LhFrS-BfRZlJ5w.js} +10 -10
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-HrLSNRHq-CeYe3rfm.js → ReimbursementsBulkReviewDrawerPage--6OUmjzW-D3GoPfdC.js} +1 -1
  135. package/dist/assets/{ReloadCard-CuRTghCv-3_xFCAvr.js → ReloadCard-BluhBNO--D0eilzgR.js} +5 -5
  136. package/dist/assets/{ReportTableViewSelector-C2oaqgZL-LiKiujIv.js → ReportTableViewSelector-8KYimU0G-YYB33_Xu.js} +31 -31
  137. package/dist/assets/{ReportsPage-D5DDZHox-oQcDXAqo.js → ReportsPage-D-UfdQ34-CNx_b_ly.js} +5 -5
  138. package/dist/assets/{RevenueChart-Na7paK3w-xsPSohkz.js → RevenueChart-C9EztEKi-BbW9YFNy.js} +18 -18
  139. package/dist/assets/{ReviewDetailsPage-BFj3ZJyp-C3ZZt6ZX.js → ReviewDetailsPage-B6SYtYUA-d0bXCGW4.js} +32 -32
  140. package/dist/assets/{ReviewOverlay-Cz8LqkKC-LpMuOjyz.js → ReviewOverlay-C2enVZqt-C_vH9CpL.js} +18 -18
  141. package/dist/assets/RoleWithToolTip-DA3BIg5j-DG-Lih0N.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-UVIM7eda-DfB6eFkU.js → ScheduleDetailsFixedAssetsPage-DmBVVX79-6-1NS4t6.js} +8 -8
  143. package/dist/assets/{ScheduleDetailsPage-_mUOLW28-BO_4j_pg.js → ScheduleDetailsPage-Bp3d9tdD-Ct_0Fci8.js} +8 -8
  144. package/dist/assets/ScheduleSequenceTable-B1fJ-_4f-VSvFhL5f.js +324 -0
  145. package/dist/assets/{ScreenRoutes-CtQ8gAzw.js → ScreenRoutes-CvjimsD0.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-C_DCt5R8-CR6h0hZw.js → SetUpAccountSection-DiEFZwFL-DC1aQ-pj.js} +5 -5
  147. package/dist/assets/SignIn-T74bkrxk-ptxkK8PP.js +491 -0
  148. package/dist/assets/SignInScreen-BYcec7re.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-Cxe5movK-Cp5y9Fyu.js → SpendManagementListViewPage-BoWIPx5V-DXR-HLOL.js} +13 -13
  150. package/dist/assets/{SpendManagementPerTabPage-Dj9VrJCp-DyydCk6c.js → SpendManagementPerTabPage-DRrECrxC-dCEqiObE.js} +25 -25
  151. package/dist/assets/{SpendManagementSection-DGGqh0xs-DYfYRUAC.js → SpendManagementSection-xoH8d-PB-6nPhw1xu.js} +23 -23
  152. package/dist/assets/StatementItem-BthXwXFQ-j2l7jY5v.js +31 -0
  153. package/dist/assets/StatementsPage-FmjXzQ3g-oWNeSYKv.js +58 -0
  154. package/dist/assets/{StatusSwitcher-DsSflF9D-C9Uj39S-.js → StatusSwitcher-C-2QxP_3-DVOlvAn4.js} +2 -2
  155. package/dist/assets/{SubTabSwitcher-DxUZTJB0-BcVJNQoB.js → SubTabSwitcher-D3iTZY-F-CSjMFn8K.js} +2 -2
  156. package/dist/assets/{SummaryCard-B1mg84fd-BMICGbB9.js → SummaryCard-BbzDLzif-jCXiXuPT.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-Z40FApxJ-DL--AmQh.js → TaskManagementPage-DI_lMbra-CdUdFSOY.js} +15 -15
  158. package/dist/assets/{TimeRangeSwitcher-B4sHEx1F-DFE9Lsm5.js → TimeRangeSwitcher-C3mH2YE7-CZoVUBkm.js} +11 -11
  159. package/dist/assets/{TimeframeSwitcher-D8zfgEX_-De-R1snt.js → TimeframeSwitcher-C8iVJfJz-B35AQLzW.js} +6 -6
  160. package/dist/assets/TimeframeSwitcherWithToggle-CdFx3214-DF2bdFav.js +31 -0
  161. package/dist/assets/{TopExCard-BpicN73M-Dj1d-6JO.js → TopExCard-DlberdWy-AXYKUOGt.js} +6 -6
  162. package/dist/assets/{TopExDetailPage-iw-7HulH-BloggZUw.js → TopExDetailPage-DZyUPQ9i-kejvgUv1.js} +9 -9
  163. package/dist/assets/{TransactionActivityLogPage-D7oH2hs_-CmbXQuTN.js → TransactionActivityLogPage-Bpdbc21v-DQ1FP9jB.js} +15 -15
  164. package/dist/assets/TransactionDetailPage-CaRcJukf-CnifEZvn.js +903 -0
  165. package/dist/assets/TransactionList-BAziC6eS-6qNOgl8E.js +153 -0
  166. package/dist/assets/{TransactionListBig-BYHLJtlB-7uyuVHel.js → TransactionListBig-D6Q9QimF-DjvcRG58.js} +13 -13
  167. package/dist/assets/TransactionListPage-Ce_lSS6C-YqGl74XY.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-CEAFUrTl-DPFjrUzW.js → TransactionVendorDetailPage-B4A4amjV-rbnaqzN7.js} +7 -7
  169. package/dist/assets/{TransferDrawerPage-C6hdavbT-D88FiI-0.js → TransferDrawerPage-Dfhpu5Yd-D-lZQHfG.js} +27 -27
  170. package/dist/assets/{TreasuryOverviewPage-BP26JP5_-CseTVHsp.js → TreasuryOverviewPage-B6WhqRDb-BYZSOn3C.js} +1 -1
  171. package/dist/assets/{TreasuryPromoPage-DjVR20gs-CLIAZ8sX.js → TreasuryPromoPage-C5DXueHJ-DvuJR2wv.js} +131 -131
  172. package/dist/assets/TreasuryStatementsPage-8qXJLq1U-C7VbrxO2.js +58 -0
  173. package/dist/assets/TreasuryTaxLetterPage-ClJA2mWI-xsnS5RHz.js +58 -0
  174. package/dist/assets/{TrendChart-sup0F9JZ-DSEAIHAe.js → TrendChart-FPLC1aMv-BpKn1lA4.js} +3 -3
  175. package/dist/assets/{TrendWithTransactions-C7azwT25-Bax9K_N2.js → TrendWithTransactions-_O4Fz3pt-B_P0jc9Y.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-Etkl_fAG-CrNZiboy.js → UncategorizedAccountsMappingPage-rdMygvxx-CB5luTSv.js} +22 -22
  177. package/dist/assets/{UnitIntegrationPage-ZsJHRr7Z-DnB4_Zct.js → UnitIntegrationPage-WfFukh9_-Db1kSxll.js} +11 -11
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-Z5AuwaDQ-B2Cs9t2G.js → UploadAdditionalDocumentOverlay-xiqklxM_-C-ghpumD.js} +1 -1
  179. package/dist/assets/Vendor2FAPopup-DK98Bntc-CHLdTtz5.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-Bxo11l9N-DiVKko5M.js +1 -0
  181. package/dist/assets/{VendorDetailPage-Dnr8_eWj-oFCPIA59.js → VendorDetailPage-Cexet52V-fximdJ6Q.js} +25 -25
  182. package/dist/assets/VendorDomesticWireDetailsPage-DbhChvIp-Cn8HKuB3.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-C7SK3oAX-BeOVSOYX.js → VendorFiling1099EditablePage-Bnwp2JiZ-B1voyhYV.js} +38 -38
  184. package/dist/assets/{VendorFirstReviewPage-sMOzaFlZ-DmFO_p3M.js → VendorFirstReviewPage-C_xSf47L-YlGbjVwi.js} +37 -37
  185. package/dist/assets/{VendorInternationalWireDetailsPage-B2c1Rev--CSKl1Vjc.js → VendorInternationalWireDetailsPage-DVuenbq8-CpmeIHQG.js} +9 -9
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BNySLbxk-CvXAX7v6.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-Df4nOfCb-DAl3nupW.js → VendorsAccountsSection-DYSlIqnJ-D8aKvLQv.js} +2 -2
  188. package/dist/assets/{VerifyDevice-ogibIJ0s-BnNQtXiS.js → VerifyDevice-MbuunHNJ-0NsL1ICM.js} +9 -9
  189. package/dist/assets/{VideoPlayer-C5JZyeyT-DadgGvmc.js → VideoPlayer-B-oV4gcS-IlmjYyud.js} +2 -2
  190. package/dist/assets/{VideoPopup-Dw-9lQNK-yoJdS8GI.js → VideoPopup-DFfn4tne-e-69xGLM.js} +5 -5
  191. package/dist/assets/{WarningsDrawerPage-CR9wWm5g-C6z513Mb.js → WarningsDrawerPage-C_nKfBpS-CgVWLVpY.js} +3 -3
  192. package/dist/assets/{ZeniAccountDetailPage-CP6XbPoi-BIH8iyXn.js → ZeniAccountDetailPage-jYwDoLiN-C9ExO4Jo.js} +17 -17
  193. package/dist/assets/{ZeniAccountListViewPage-B-8rvc59-BKuFOztM.js → ZeniAccountListViewPage-CWiWh2ld-BsZ-NitY.js} +20 -20
  194. package/dist/assets/ZeniAccountNavBarPieces-BK32R48c-BhUfl-Q9.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-DmXuuPc3-LNpY_fdO.js → ZeniAccountPromoPage-DPab5PDZ-CdBoWbQ6.js} +13 -13
  196. package/dist/assets/{ZeniAccountSetupPage-CiLrh0yu-AtE9vx6M.js → ZeniAccountSetupPage-Dbqa1LpU-DR-JNx31.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-DIzbP27w-BBhz6Xwh.js → ZeniCopyright-SDIPg48K-6zG7DJUz.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-CYZYkuN_-ZAbh5fe3.js → ZeniTransferAmountSlider-Bg59KBt9-PXMuIYqh.js} +11 -11
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DsabBTTA.js → add-to-wallet-DgdBD8_G-4MTVGYLk.js} +1 -1
  200. package/dist/assets/{analytics-DyCH8fdj.js → analytics-DkApCpAh.js} +1 -1
  201. package/dist/assets/analyticsHelper-DAh0LrcL.js +1 -0
  202. package/dist/assets/{analyticsHelper-CirorDP7-BBwgJh2i.js → analyticsHelper-DfCXurTN-CSH8s8BS.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-u4TBRWYh.js → arrow-south-east-round-PEovUgvH-sjXlUHVP.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-CKdpG0Wv.js → auto-transfer-rule-mbafm5D3-8P5UKTjR.js} +1 -1
  205. package/dist/assets/{chartTypes-B9iWOG3r-B1tHasb2.js → chartTypes-H306f0ce-DSh0OTeZ.js} +1 -1
  206. package/dist/assets/{commonDimensions-SFn2jHVc-W5oDY-Cl.js → commonDimensions-CWffpElu-DyTXC1xY.js} +1 -1
  207. package/dist/assets/commonTypes-DP3nDhtI-D-fLD29s.js +1 -0
  208. package/dist/assets/{constants-BPypkR2d.js → constants-42un7CRh.js} +1 -1
  209. package/dist/assets/{core-abG3s-mt.js → core-DQ8U4CJb.js} +1 -1
  210. package/dist/assets/{dash.all.min-BxgXbuTP.js → dash.all.min-xDoItceu.js} +1 -1
  211. package/dist/assets/{detailCommon-BTjqps8N-BxbaqYHY.js → detailCommon-CfrL4ryy-K2hvWKyD.js} +2 -2
  212. package/dist/assets/downloadPdf-C1zKY9Rq-Bj2M-x0n.js +1 -0
  213. package/dist/assets/{empty-CpBaMiET.js → empty-DBMIDect.js} +1 -1
  214. package/dist/assets/{empty-DqczoxtD.js → empty-DMdKDWd5.js} +1 -1
  215. package/dist/assets/epic-av5bi8Jm.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-muscVLug.js → gift-box-Cmt9OgIZ-CKZgCX5V.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BDzwyc71.js → graphic-no-data-l-DU4J8fDt-B74xUk4A.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DuFj4Okf.js → graphic-no-data-net-burn-l-CzmycA0m-CY998Ry-.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-BnjdTShZ.js → handshake-BPg58FML-ci6EVnAm.js} +1 -1
  220. package/dist/assets/helper-Byvbf3nO-BTmT7Zux.js +223 -0
  221. package/dist/assets/{index-c9CJIpO5.js → index-BIYLqgct.js} +4065 -4076
  222. package/dist/assets/{index-BR6z2Cuo.js → index-C-yZdmSC.js} +1 -1
  223. package/dist/assets/{index-CLsoD8lW.js → index-CP7n6qbn.js} +1 -1
  224. package/dist/assets/{index-DKJteqIE.js → index-Ci8_ElRT.js} +1 -1
  225. package/dist/assets/{index-BBfcm2Yq.js → index-DlHdI3-w.js} +1 -1
  226. package/dist/assets/{index-CzmKgKhh.js → index-MLR605z1.js} +1 -1
  227. package/dist/assets/{index-CRcaYiy_.js → index-uFwLgEj2.js} +1 -1
  228. package/dist/assets/{lexical-Ce5kgHxh.js → lexical-CvUIM9vD.js} +1 -1
  229. package/dist/assets/{liveblocks-CPDN-bxu.js → liveblocks-DXGUxn7J.js} +1 -1
  230. package/dist/assets/{lottie-DoLcJmSl.js → lottie-C1yptpVV.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-9Rpdq0ZF-lTETWBpR.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BywQAVX8-BWy9Izzl.js → mapSectionWithAcOnlyToTreeNode-CH8Zwu7Z-DxWz5zBn.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-BCRaNO17-Byu958vH.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-Cc1RpGkM-aNtvWBak.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-CKjqanKd-DENH9FkH.js → mapTimeframeBalancesToTreeNode-DRCseSgo-Bs0MPeVL.js} +1 -1
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BnHYlJ_0-DmtLnyQB.js +1 -0
  237. package/dist/assets/{mui-D41H02IU.js → mui-rLvQ8A4a.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-22LFYKTK.js → page-detail-CWX5S47F-DxBKGqnW.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-Cddsb26L-CUpBjaaO.js +3 -0
  240. package/dist/assets/{radio-default-CiSgisfh-DEBUIxiL.js → radio-default-CiSgisfh-D50TMWyl.js} +1 -1
  241. package/dist/assets/{react--SQFx4Kx.js → react-BFvwO_Qx.js} +1 -1
  242. package/dist/assets/{react-CGgueq7f.js → react-BGRcEI9e.js} +1 -1
  243. package/dist/assets/{react-Cm0EHNfW.js → react-CD-rvAYw.js} +1 -1
  244. package/dist/assets/{react-BqjJcaMR.js → react-CKPzfXiX.js} +1 -1
  245. package/dist/assets/{react-DUspGHoH.js → react-CaPJ_R38.js} +2 -2
  246. package/dist/assets/{react-CtY0Cknp.js → react-CeXW-10t.js} +1 -1
  247. package/dist/assets/{react-DDATozhB.js → react-D5l7wk4q.js} +2 -2
  248. package/dist/assets/{react-B04F0wBA.js → react-XCvfp0dN.js} +1 -1
  249. package/dist/assets/{recharts-B5Zd2InX.js → recharts-BYppTjSs.js} +1 -1
  250. package/dist/assets/{sentry-BhPnLTGd.js → sentry-DhNwX3jk.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-CNdwFJ12.js → shield-DOlUxcFf-1dcmCA6e.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-BDzeodcz-CM7cQRcs.js +1 -0
  253. package/dist/assets/{toChartData-mAeXlYNV-BLp7cdZE.js → toChartData-ILqaSUrn-x9ixmlfa.js} +1 -1
  254. package/dist/assets/{uploadAttachment-BAVcYsOo-CMKItCdP.js → uploadAttachment-BO1VJaKW-DrgLpT8c.js} +18 -18
  255. package/dist/assets/{uploadReceipts-Dge0cNF1-MU4yxAi1.js → uploadReceipts-Dge0cNF1-BX-9R6_Z.js} +1 -1
  256. package/dist/assets/{url-DE7671Su.js → url-C7FJoqre.js} +1 -1
  257. package/dist/assets/{url-Cp1oOvVY.js → url-DrmuGGE4.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-DzBEsit3.js → useLongPress-GCK2COYQ-nce713S8.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-D5KVlHSv.js → usp-line-BBd1wKwW-BIn3NV9C.js} +1 -1
  260. package/dist/assets/{utils-B-wjDpf0.js → utils-BdIPH7k8.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-CqFcQgfC.js → zeni-epic-state-DwkN4IvA.js} +18 -18
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/AccountInfoPage-DBm3kSeD-DgZsiQsc.js +0 -18
  265. package/dist/assets/AccountLockedInfoModal-Dbzdjjk6-CQuhFPxK.js +0 -59
  266. package/dist/assets/AccountRow-D5S7-AKx-DFEd0gRx.js +0 -298
  267. package/dist/assets/AddAddressForCardDrawer-Cfd3TMpf-DS6Q-S6T.js +0 -6
  268. package/dist/assets/AppBasePage-BhcC9bkH-DY-zqUv_.js +0 -71
  269. package/dist/assets/BillingSettingsPage-Br6yvoDv-BVZt-mIm.js +0 -44
  270. package/dist/assets/BusinessVerificationPage-orZNuqPA-DN6BhpnL.js +0 -138
  271. package/dist/assets/ChargeCardPromoPage-Dv8vSGMv-DO14uvec.js +0 -222
  272. package/dist/assets/ChargeCardStatementsPage-1ntqN8-C-uWaZK7Rq.js +0 -60
  273. package/dist/assets/CompanyOfficerDetailsSection-DQYR5DxB-Dzg2SYW5.js +0 -260
  274. package/dist/assets/CompanyPassportPage-DrNN8V93-TiBtr88b.js +0 -574
  275. package/dist/assets/ConfettiBurst-arWK85ba-Dxqk_qSJ.js +0 -1
  276. package/dist/assets/CustomerOnboardingContainerPage-_uAzzeQT-BdhST5rY.js +0 -1
  277. package/dist/assets/CustomerOnboardingNoStepsPage-Dabc1DIn-Bqk6osmf.js +0 -66
  278. package/dist/assets/CustomerOnboardingPage-Dt4u_Cnq-MYrZCy5c.js +0 -107
  279. package/dist/assets/DashboardSidebarBackgroundAnimation-C8g6lMFj-DhpqWc07.js +0 -12
  280. package/dist/assets/EditPeoplePage-XMLOGiwc-DwxtBXpN.js +0 -55
  281. package/dist/assets/EntityDetailPage-CtIcsfb_-CIHO5j6s.js +0 -18
  282. package/dist/assets/InsightsSection-CwYXRQBN-ojTww2r2.js +0 -27
  283. package/dist/assets/InternationalWireVerificationPage-YuglosZT-CTIGwFwe.js +0 -292
  284. package/dist/assets/InvitePeoplePage-C0n05Aw5-Dsg4dRJP.js +0 -12
  285. package/dist/assets/InvoiceUploadSection-UXlA1jqD-LW2eaB-9.js +0 -140
  286. package/dist/assets/LabeledAddressValueField-ClBxKhYQ-IyPU1pJT.js +0 -45
  287. package/dist/assets/LabeledControlledCheckBoxField-B8sC2eqF-Cc7yYQUL.js +0 -16
  288. package/dist/assets/LabeledDocumentField-D520KMMj-Ca86pecT.js +0 -41
  289. package/dist/assets/LabeledDropDownFormattedTextField-BwoAMxs1-CvSeEIy1.js +0 -59
  290. package/dist/assets/MagicLinkACHDetailsPage-C7hjYeuM-C-VMVcjc.js +0 -1
  291. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv6pT3w6-BY_F4ivB.js +0 -1
  292. package/dist/assets/MagicLinkInternationalWireDetailsPage-CfMDImmz-je_9TTbm.js +0 -1
  293. package/dist/assets/MagicLinkSuccessPage-D9Xys0GC-B16t-MQB.js +0 -31
  294. package/dist/assets/MailingDetailsSection-wmwBSANL-CATLTkX5.js +0 -21
  295. package/dist/assets/MyProfileSettingsPage-BKCzLBD9-POWCCK43.js +0 -85
  296. package/dist/assets/NoDataTable-0l_09Wxn-B_nhuKqo.js +0 -8
  297. package/dist/assets/OverlayContainerPage-D4QU0p4o-COZLtgYN.js +0 -11
  298. package/dist/assets/PaymentAccountSetupBillingAddressSection-CBVazVlJ-CZjIpPrr.js +0 -107
  299. package/dist/assets/PeoplePage-z8ZDLJp4-C8fD_Q1w.js +0 -675
  300. package/dist/assets/ReimbursementApprovalRuleDetailPage-D4G5Zc8u-DOAEAlFb.js +0 -32
  301. package/dist/assets/RoleWithToolTip-CSC65531-D3hYJ9aX.js +0 -22
  302. package/dist/assets/ScheduleSequenceTable-DQlMdMO0-DgF9ktNo.js +0 -324
  303. package/dist/assets/SignIn-1fhq5RCV-CQjnMsbe.js +0 -491
  304. package/dist/assets/SignInScreen-DXMVSzLX.js +0 -1
  305. package/dist/assets/StatementItem-ChfKUse--4KWnN4Iu.js +0 -31
  306. package/dist/assets/StatementsPage-BAg2GA58-DVyh5doh.js +0 -58
  307. package/dist/assets/TimeframeSwitcherWithToggle-CD1f2F9o-Co90HEzt.js +0 -31
  308. package/dist/assets/TransactionDetailPage-DLiA4XLe-CZEokP0a.js +0 -903
  309. package/dist/assets/TransactionList-CFz4Gf7Z-DDUxkM97.js +0 -153
  310. package/dist/assets/TransactionListPage-BxtVNNib-BUJHEG2b.js +0 -35
  311. package/dist/assets/TreasuryStatementsPage-Beixz0Ou-CYBR4Dk7.js +0 -58
  312. package/dist/assets/TreasuryTaxLetterPage-BW2fTHN--Cd-eOWfE.js +0 -58
  313. package/dist/assets/Vendor2FAPopup-BcnPzCr1-iYA-Hjx9.js +0 -1
  314. package/dist/assets/VendorACHDetailsPage-D5SdrDy6-C-r4VMgU.js +0 -1
  315. package/dist/assets/VendorDomesticWireDetailsPage-Bv2OKF0M-CYnwGxHP.js +0 -1
  316. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CRpoKTWj-BHvGh8LV.js +0 -1
  317. package/dist/assets/ZeniAccountNavBarPieces-D_Jdtql7-0Xy7FGjE.js +0 -14
  318. package/dist/assets/analyticsHelper-THi-SdkR.js +0 -1
  319. package/dist/assets/downloadPdf-CqjEwKR5-D2e_dzuk.js +0 -1
  320. package/dist/assets/epic-ChSldDcQ.js +0 -2
  321. package/dist/assets/mapLoadingInProgressToTreeNode-DkhO3K0B-zvmTcvmi.js +0 -1
  322. package/dist/assets/mapSpacerToTreeNode-nn83cq1C-BG8mZHCj.js +0 -1
  323. package/dist/assets/mapTimeframeBalancesToTreeNode-CmXuntuz-Ksjnj8VQ.js +0 -1
  324. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Bs8iGys9-DZGfgxcv.js +0 -1
  325. package/dist/assets/panelSelectedMixin-CzfD5-Zs-eIiX1Dum.js +0 -4
  326. package/dist/assets/toCOABalancesWithID-DvC1wuTC-BtXflXCv.js +0 -1
@@ -1,4 +1,4 @@
1
- import{y as O,u as L,J as G,F as U,a9 as M,aR as W,aK as J,cG as K,V as r,bD as X,ac as H,aS as Q,o as u,g8 as Y}from"./index-c9CJIpO5.js";import{a as T}from"./sentry-BhPnLTGd.js";import{n as h}from"./mui-D41H02IU.js";import{b as Z,f as ee,o as _,l as R}from"./FollowStepsSection-Cdw8tftg-LjozyTXw.js";import"./liveblocks-CPDN-bxu.js";import"./core-abG3s-mt.js";import"./recharts-B5Zd2InX.js";import"./zeni-epic-state-CqFcQgfC.js";import"./lottie-DoLcJmSl.js";import"./analytics-DyCH8fdj.js";import"./lexical-Ce5kgHxh.js";import"./utils-B-wjDpf0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="1b04b9b3-3cf1-4f25-a171-5445ccded145",e._sentryDebugIdIdentifier="sentry-dbid-1b04b9b3-3cf1-4f25-a171-5445ccded145")}catch{}})();const j="billPayApprovalRuleDetailPage",C="lowerBound",E="upperBound",w="steps",m="applyToExistingBills",le={footerPadding:new O(L[2],L[2])};function Ae({localData:e,approvalUpdateActionType:l,onBackClick:a,onApprovalRuleDataUpdated:s,onResetClick:n,isLowerBoundDisabled:o=!1,isUpperBoundDisabled:g=!0,hideUpperBoundField:A=!1,onSaveRuleClick:N,onSaveRuleSuccess:I}){const S=G(),t=U.getLocalizedStrings().commonSetUp.approval,P=U.getLocalizedStrings().spendManagement.billPay.billPayApproval,y=ae(e,l==="approval_create"&&!o),x=M({mode:"all",reValidateMode:"onChange",defaultValues:y}),c=e.billPaySetupApproverViewUpdateData?.updateStatus,B=W(c?.fetchState),{upperBound:D}=y,{allApprovalRules:p,allAccountingClasses:F,billPaySetupApproverViewUpdateData:f}=e;let b=p.length>1?p.length-1:0,v=p.length>0?p[b].criteria[0].range.min.amount:0;if(f!=null&&f.type==="approval_update"&&f.data!=null){const{approvalRuleId:i}=f.data;b=p.findIndex(d=>d.approvalRuleId===i),v=b>0?p[b-1].criteria[0].range.min.amount:0}const V=x.handleSubmit(()=>{N()}),z=async(i,d)=>{s(d)};return T.useEffect(()=>{const i=x.watch((d,{name:$})=>{if($!=null&&d!=null){const q=J(d);K(()=>z($,q))}});return()=>{i.unsubscribe()}}),T.useEffect(()=>{B==="In-Progress"&&c?.fetchState==="Completed"&&I()},[B,c?.fetchState,I]),r.jsxs(se,{children:[r.jsx(X,{title:l==="approval_create"?t.newApproval:t.editApproval,style:{zIndex:4},onBackClick:()=>{a()},source:"BillPayApprovalRuleDetailPage"}),r.jsxs(H,{...x,children:[r.jsx(ne,{children:r.jsx("form",{id:k(j),onSubmit:V,children:r.jsxs(ie,{children:[r.jsx(Z,{label:{label:A?P.amountPerBillGreaterLabel:P.amountPerBillLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:D===1/0?Number.MAX_SAFE_INTEGER-1:D-1,min:v,validate:i=>o?!0:i!=null&&i>v},isDisabled:o,additionalInfoLabel:t.firstRuleLowerBoundInfoLabel,additionalErrorLabel:t.firstRuleErrorInfoLabel},secondText:{type:"number",name:E,placeholder:"Infinity",isDisabled:g,hideField:A,additionalInfoLabel:t.upperBoundInfoLabel}}),r.jsx(pe,{}),r.jsx(ee,{sectionId:w,label:{label:t.followStepsLabel},approversPlaceholder:t.approversPlaceholder,notifiersPlaceholder:t.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:F,stepsInfo:y[w],userSelectPlaceholder:t.userSelectPlaceholder,approveNotifyPlaceholder:t.approveNotifyPlaceholder,productType:"zeni_bill_pay"})]})})}),r.jsx(Q,{formId:k(j),primaryBtn:{label:t.saveBtnText,isLoading:c?.fetchState==="In-Progress",isDisabled:c?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:l==="approval_create"&&p.length===0?null:r.jsx(Y,{name:m,mode:"always_on",checkBoxes:[{value:m,label:t.applyToExistingBills,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:t.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:n},containerStyle:{justifyContent:S==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(S)},separatorStyle:{marginRight:u.sp4}})]})]})}const ae=(e,l)=>{const{criteria:a,steps:s}=e.billPaySetupApproverViewUpdateData?.data??{},n=e.allApprovalRules.length===0;return{[m]:n?[]:[m],[w]:te(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),_(e.allAttributes),_(e.filteredAttributes),s??[])??[],[C]:l?void 0:a!=null?a.range.min.amount??0:0,[E]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},te=(e,l,a,s,n)=>n&&n.length>0?n.map((o,g)=>({stepIndex:g,stepType:{selectedOption:o.action,allOptions:R},actors:{allUsers:l,selectedUsers:oe(e,o.actors),allNonUsers:s,selectedNonUsers:re(a,o.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:R},actors:{allUsers:l,selectedUsers:[],allNonUsers:s,selectedNonUsers:[]}}],oe=(e,l)=>e.filter(a=>a.userId!=null&&l.findIndex(s=>s.userId===a.userId)>-1),re=(e,l)=>e.filter(a=>l.findIndex(s=>s.subType===a.value)>-1),k=e=>`${e}_form`,Ie=e=>`${e}`,se=h.div`
1
+ import{y as O,u as $,J as M,F as U,a9 as W,aR as G,aL as H,cH as J,V as o,bD as X,ad as K,aS as Q,o as u,gb as Y}from"./index-BIYLqgct.js";import{a as T}from"./sentry-DhNwX3jk.js";import{n as h}from"./mui-rLvQ8A4a.js";import{b as Z,f as ee,o as _,l as R}from"./FollowStepsSection-ClyCs5f_-Dx038WgT.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="15f1ef9d-a288-4d94-bec3-c78dd2656036",e._sentryDebugIdIdentifier="sentry-dbid-15f1ef9d-a288-4d94-bec3-c78dd2656036")}catch{}})();const j="billPayApprovalRuleDetailPage",C="lowerBound",E="upperBound",w="steps",b="applyToExistingBills",le={footerPadding:new O($[2],$[2])};function Ae({localData:e,approvalUpdateActionType:l,onBackClick:a,onApprovalRuleDataUpdated:s,onResetClick:n,isLowerBoundDisabled:r=!1,isUpperBoundDisabled:g=!0,hideUpperBoundField:A=!1,onSaveRuleClick:N,onSaveRuleSuccess:I}){const S=M(),t=U.getLocalizedStrings().commonSetUp.approval,P=U.getLocalizedStrings().spendManagement.billPay.billPayApproval,y=ae(e,l==="approval_create"&&!r),x=W({mode:"all",reValidateMode:"onChange",defaultValues:y}),c=e.billPaySetupApproverViewUpdateData?.updateStatus,B=G(c?.fetchState),{upperBound:D}=y,{allApprovalRules:d,allAccountingClasses:F,billPaySetupApproverViewUpdateData:f}=e;let m=d.length>1?d.length-1:0,v=d.length>0?d[m].criteria[0].range.min.amount:0;if(f!=null&&f.type==="approval_update"&&f.data!=null){const{approvalRuleId:i}=f.data;m=d.findIndex(p=>p.approvalRuleId===i),v=m>0?d[m-1].criteria[0].range.min.amount:0}const V=x.handleSubmit(()=>{N()}),q=async(i,p)=>{s(p)};return T.useEffect(()=>{const i=x.watch((p,{name:L})=>{if(L!=null&&p!=null){const z=H(p);J(()=>q(L,z))}});return()=>{i.unsubscribe()}}),T.useEffect(()=>{B==="In-Progress"&&c?.fetchState==="Completed"&&I()},[B,c?.fetchState,I]),o.jsxs(se,{children:[o.jsx(X,{title:l==="approval_create"?t.newApproval:t.editApproval,style:{zIndex:4},onBackClick:()=>{a()},source:"BillPayApprovalRuleDetailPage"}),o.jsxs(K,{...x,children:[o.jsx(ne,{children:o.jsx("form",{id:k(j),onSubmit:V,children:o.jsxs(ie,{children:[o.jsx(Z,{label:{label:A?P.amountPerBillGreaterLabel:P.amountPerBillLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:D===1/0?Number.MAX_SAFE_INTEGER-1:D-1,min:v,validate:i=>r?!0:i!=null&&i>v},isDisabled:r,additionalInfoLabel:t.firstRuleLowerBoundInfoLabel,additionalErrorLabel:t.firstRuleErrorInfoLabel},secondText:{type:"number",name:E,placeholder:"Infinity",isDisabled:g,hideField:A,additionalInfoLabel:t.upperBoundInfoLabel}}),o.jsx(de,{}),o.jsx(ee,{sectionId:w,label:{label:t.followStepsLabel},approversPlaceholder:t.approversPlaceholder,notifiersPlaceholder:t.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:F,stepsInfo:y[w],userSelectPlaceholder:t.userSelectPlaceholder,approveNotifyPlaceholder:t.approveNotifyPlaceholder,productType:"zeni_bill_pay"})]})})}),o.jsx(Q,{formId:k(j),primaryBtn:{label:t.saveBtnText,isLoading:c?.fetchState==="In-Progress",isDisabled:c?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:l==="approval_create"&&d.length===0?null:o.jsx(Y,{name:b,mode:"always_on",checkBoxes:[{value:b,label:t.applyToExistingBills,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:t.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:n},containerStyle:{justifyContent:S==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(S)},separatorStyle:{marginRight:u.sp4}})]})]})}const ae=(e,l)=>{const{criteria:a,steps:s}=e.billPaySetupApproverViewUpdateData?.data??{},n=e.allApprovalRules.length===0;return{[b]:n?[]:[b],[w]:te(e.allApprovers.map(r=>r.user),e.filteredApprovers.map(r=>r.user),_(e.allAttributes),_(e.filteredAttributes),s??[])??[],[C]:l?void 0:a!=null?a.range.min.amount??0:0,[E]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},te=(e,l,a,s,n)=>n&&n.length>0?n.map((r,g)=>({stepIndex:g,stepType:{selectedOption:r.action,allOptions:R},actors:{allUsers:l,selectedUsers:re(e,r.actors),allNonUsers:s,selectedNonUsers:oe(a,r.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:R},actors:{allUsers:l,selectedUsers:[],allNonUsers:s,selectedNonUsers:[]}}],re=(e,l)=>e.filter(a=>a.userId!=null&&l.findIndex(s=>s.userId===a.userId)>-1),oe=(e,l)=>e.filter(a=>l.findIndex(s=>s.subType===a.value)>-1),k=e=>`${e}_form`,Ie=e=>`${e}`,se=h.div`
2
2
  display: flex;
3
3
  height: 100%;
4
4
  flex-direction: column;
@@ -18,7 +18,7 @@ import{y as O,u as L,J as G,F as U,a9 as M,aR as W,aK as J,cG as K,V as r,bD as
18
18
  overflow-y: auto;
19
19
  flex-direction: column;
20
20
  align-items: center;
21
- `,pe=h.div`
21
+ `,de=h.div`
22
22
  display: flex;
23
23
  flex: 1;
24
24
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{J as W,F as S,V as t,bD as G,T as V,aQ as f,y as r,al as N,o as i,aO as z,bU as P,cq as q,cr as O,cs as F,d1 as K,u as l,ba as J,N as T,b9 as Q,p as j,c_ as X,bu as Y,b as Z}from"./index-c9CJIpO5.js";import{n as o}from"./mui-D41H02IU.js";import{a as ee}from"./sentry-BhPnLTGd.js";import"./liveblocks-CPDN-bxu.js";import"./core-abG3s-mt.js";import"./recharts-B5Zd2InX.js";import"./zeni-epic-state-CqFcQgfC.js";import"./lottie-DoLcJmSl.js";import"./analytics-DyCH8fdj.js";import"./lexical-Ce5kgHxh.js";import"./utils-B-wjDpf0.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]="d869069e-da18-4e52-a3fb-63d67cf9f96e",e._sentryDebugIdIdentifier="sentry-dbid-d869069e-da18-4e52-a3fb-63d67cf9f96e")}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)},U={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,M=()=>{h(!0)},_={onOkClick:()=>{h(!1),g?.(x)},onCancelClick:()=>{h(!1)}};return t.jsxs(oe,{windowSize:n,isLastSection:w,isUpdatingApprovalRules:d,children:[t.jsxs(ie,{windowSize:n,children:[t.jsxs(ce,{children:[t.jsxs(L,{windowSize:n,children:[a.from," ",z("0,0",m.min)]}),t.jsxs(re,{children:[t.jsx(k,{}),t.jsx(le,{}),t.jsx(k,{})]}),m.max==null?t.jsx(he,{}):t.jsx(L,{windowSize:n,children:z("0,0",{...m.min,amount:m.max.amount})})]}),t.jsxs(ue,{className:"icons",children:[e===!0?d===!0?t.jsx(P,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(R,{$isDisabled:!0,"data-testid":f("delete-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(R,{onClick:M,"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,E)=>t.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[u.action==="require_approval"?t.jsx(pe,{children:a.requireText}):t.jsx(de,{children:a.notifyText}),u.nonUserActors!=null&&u.nonUserActors.filter(p=>p.subType!=null).map((p,H)=>t.jsxs(A,{children:[t.jsx(I,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},`${p.subType}_${H}`)),u.actors.map(p=>t.jsxs(A,{children:[t.jsxs(I,{children:[p.firstName," ",p.lastName]}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},p.userId))]},E))})}),v?t.jsx(q,{titleComponent:t.jsx(F,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(O,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:_}):null]})},oe=o.div`
1
+ import{J as W,F as S,V as t,bD as G,T as V,ab as b,y as r,am as U,o as i,aP as z,bU as P,cr as q,cs as F,ct as J,d1 as O,u as l,ba as K,H as T,b9 as Q,p as j,d0 as X,bu as Y,b as Z}from"./index-BIYLqgct.js";import{n as o}from"./mui-rLvQ8A4a.js";import{a as ee}from"./sentry-DhNwX3jk.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="d7d057e2-bb32-429d-83f0-12aca5193510",e._sentryDebugIdIdentifier="sentry-dbid-d7d057e2-bb32-429d-83f0-12aca5193510")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(-1,-4)},M={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeMedium")},te=({showDeleteBtn:e=!1,disableButtons:d=!1,isLastSection:w=!1,approvalRule:c,onEditRuleClick:f,onDeleteRuleClick:g})=>{const[v,h]=ee.useState(!1),n=W(),{range:m}=c.criteria[0],{steps:$,approvalRuleId:x}=c,a=S.getLocalizedStrings().commonSetUp.approval,H=()=>{h(!0)},N={onOkClick:()=>{h(!1),g?.(x)},onCancelClick:()=>{h(!1)}};return t.jsxs(oe,{windowSize:n,isLastSection:w,isUpdatingApprovalRules:d,children:[t.jsxs(ie,{windowSize:n,children:[t.jsxs(ce,{children:[t.jsxs(L,{windowSize:n,children:[a.from," ",z("0,0",m.min)]}),t.jsxs(re,{children:[t.jsx(k,{}),t.jsx(le,{}),t.jsx(k,{})]}),m.max==null?t.jsx(he,{}):t.jsx(L,{windowSize:n,children:z("0,0",{...m.min,amount:m.max.amount})})]}),t.jsxs(ue,{className:"icons",children:[e===!0?d===!0?t.jsx(P,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(R,{$isDisabled:!0,"data-testid":b("delete-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(R,{onClick:H,"data-testid":b("delete-approval-rule-bill-pay",c.approvalRuleId)}):null,d===!0?t.jsx(P,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(C,{$isDisabled:!0,"data-testid":b("edit-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(C,{onClick:()=>{f(x)},"data-testid":b("edit-approval-rule-bill-pay",c.approvalRuleId)})]})]}),t.jsx(se,{windowSize:n,children:t.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((u,E)=>t.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[u.action==="require_approval"?t.jsx(pe,{children:a.requireText}):t.jsx(de,{children:a.notifyText}),u.nonUserActors!=null&&u.nonUserActors.filter(p=>p.subType!=null).map((p,_)=>t.jsxs(A,{children:[t.jsx(I,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},`${p.subType}_${_}`)),u.actors.map(p=>t.jsxs(A,{children:[t.jsxs(I,{children:[p.firstName," ",p.lastName]}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},p.userId))]},E))})}),v?t.jsx(q,{titleComponent:t.jsx(J,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(F,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:N}):null]})},oe=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
@@ -14,7 +14,7 @@ import{J as W,F as S,V as t,bD as G,T as V,aQ as f,y as r,al as N,o as i,aO 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(J)`
17
+ `,ie=o(K)`
18
18
  display: flex;
19
19
  position: relative;
20
20
  align-items: center;
@@ -57,7 +57,7 @@ import{J as W,F as S,V as t,bD as G,T as V,aQ as f,y as r,al as N,o as i,aO as z
57
57
  box-sizing: border-box;
58
58
  position: relative;
59
59
  `,ae=o.ul`
60
- ${e=>`${U.stepper.style(e.windowSize)}`};
60
+ ${e=>`${M.stepper.style(e.windowSize)}`};
61
61
  position: relative;
62
62
  padding-left: ${i.sp6};
63
63
  list-style: none;
@@ -172,10 +172,10 @@ import{J as W,F as S,V as t,bD as G,T as V,aQ as f,y as r,al as N,o as i,aO as z
172
172
  display: inherit;
173
173
  gap: inherit;
174
174
  `,L=o.span`
175
- ${e=>`${U.amount.style(e.windowSize)}`};
175
+ ${e=>`${M.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
+ `,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 f=W(),{fetchState:g,deleteStatus:v}=e,h=S.getLocalizedStrings().commonSetUp.approval,n=S.getLocalizedStrings().spendManagement.billPay.billPayApproval,m=v.fetchState,$=e.listeningToPusherEvent;return t.jsxs(me,{children:[t.jsx(G,{title:h.approvalPageHeader,style:{zIndex:4},onBackClick:()=>{d()},source:"BillPayApprovalRulesPage"}),t.jsxs(xe,{children:[t.jsx(ge,{windowSize:f,children:n.approvalPageSubTitle}),g==="In-Progress"||g==="Not-Started"||m==="In-Progress"?t.jsx(we,{children:t.jsx(V,{size:"ExtraLarge",start:!0})}):g==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((x,a)=>t.jsx(te,{showDeleteBtn:a!==0,disableButtons:$===!0&&x.approvalRuleId===e.newApprovalRuleId,approvalRule:x,isLastSection:a===e.allApprovalRules.length-1,onEditRuleClick:w,onDeleteRuleClick:c},x.approvalRuleId)),t.jsxs($e,{windowSize:f,onClick:()=>{w()},"data-testid":b("add-approval-rule-bill-pay"),children:[t.jsx(be,{}),t.jsx(ye,{children:h.addApprovalText})]})]}):null]})]})},me=o.div`
179
179
  display: flex;
180
180
  min-height: 100%;
181
181
  flex-direction: column;
@@ -197,14 +197,14 @@ import{J as W,F as S,V as t,bD as G,T as V,aQ as f,y as r,al as N,o as i,aO as z
197
197
  align-items: center;
198
198
  gap: ${i.sp3};
199
199
  background-color: ${e=>e.theme.colors.grey4};
200
- `,ge=o(N)`
200
+ `,ge=o(U)`
201
201
  color: ${e=>e.theme.colors.hero};
202
202
  display: flex;
203
203
  justify-content: center;
204
204
  width: ${e=>y.titleWidth.valuePx(e.windowSize)};
205
205
  padding-top: ${e=>y.subTitlePaddingTop.valuePx(e.windowSize)};
206
206
  padding-bottom: ${e=>y.subTitlePaddingBottom.valuePx(e.windowSize)};
207
- `,$e=o(N)`
207
+ `,$e=o(U)`
208
208
  cursor: pointer;
209
209
  display: flex;
210
210
  flex-direction: row;
@@ -233,7 +233,7 @@ import{J as W,F as S,V as t,bD as G,T as V,aQ as f,y as r,al as N,o as i,aO as z
233
233
  border-color: ${e=>e.theme.colors.primary};
234
234
  }
235
235
  margin-bottom: ${i.sp6};
236
- `,fe=o(K)`
236
+ `,be=o(O)`
237
237
  width: ${i.sp3};
238
238
  height: ${i.sp3};
239
239
  `,ye=o.div`
@@ -1,4 +1,4 @@
1
- import{aw as W,J as f,aR as Y,V as e,fu as ee,bD as ie,i as B,aQ as C,ae as m,F as I,o as s,aq as se,R as le,e as U,aU as D,am as oe,y as re,p as $,cF as te,aV as ne,bb as ae,u as de}from"./index-c9CJIpO5.js";import{a as g}from"./sentry-BhPnLTGd.js";import{n as l}from"./mui-D41H02IU.js";import{FA as ce,bS as pe,FB as me}from"./zeni-epic-state-CqFcQgfC.js";import{C as xe}from"./VideoPopup-Dw-9lQNK-yoJdS8GI.js";import{M as S}from"./usp-line-BBd1wKwW-D5KVlHSv.js";import"./liveblocks-CPDN-bxu.js";import"./core-abG3s-mt.js";import"./recharts-B5Zd2InX.js";import"./lottie-DoLcJmSl.js";import"./analytics-DyCH8fdj.js";import"./lexical-Ce5kgHxh.js";import"./utils-B-wjDpf0.js";import"./VideoPlayer-C5JZyeyT-DadgGvmc.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]="3e13129e-1679-4d25-9c16-cf77fe00edc1",i._sentryDebugIdIdentifier="sentry-dbid-3e13129e-1679-4d25-9c16-cf77fe00edc1")}catch{}})();const M="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",A="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",he={midContainerMarginBottom:new re(de[5],44)},ge=l.div`
1
+ import{ax as q,J as f,aR as Y,V as e,fx as ee,bD as ie,i as C,ab as B,af as x,F as I,o as s,ar as se,R as le,d as U,aU as D,an as oe,y as re,p as $,cG as te,aV as ae,bb as ne,u as de}from"./index-BIYLqgct.js";import{a as g}from"./sentry-DhNwX3jk.js";import{n as l}from"./mui-rLvQ8A4a.js";import{FG as ce,bS as pe,FH as xe}from"./zeni-epic-state-DwkN4IvA.js";import{C as me}from"./VideoPopup-DFfn4tne-e-69xGLM.js";import{M as b}from"./usp-line-BBd1wKwW-BIn3NV9C.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./VideoPlayer-B-oV4gcS-IlmjYyud.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]="c2a0d03c-7065-4c15-b04d-92cb747ec62d",i._sentryDebugIdIdentifier="sentry-dbid-c2a0d03c-7065-4c15-b04d-92cb747ec62d")}catch{}})();const M="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",A="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",he={midContainerMarginBottom:new re(de[5],44)},ge=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -23,7 +23,7 @@ import{aw as W,J as f,aR as Y,V as e,fu as ee,bD as ie,i as B,aQ as C,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``,R=l.div`
26
+ `,je=l.div``,m=l.img``,R=l.div`
27
27
  width: ${i=>i.windowSize==="small"?"auto":"376px"};
28
28
  display: flex;
29
29
  flex-direction: column;
@@ -42,7 +42,7 @@ import{aw as W,J as f,aR as Y,V as e,fu as ee,bD as ie,i as B,aQ as C,ae as m,F
42
42
  border-radius: 12px;
43
43
  border: ${i=>`1px solid ${i.theme.colors.grey3}`};
44
44
  padding: 15px;
45
- `,a=l.div`
45
+ `,n=l.div`
46
46
  border-radius: ${s.sp12};
47
47
  border: ${i=>`1px solid ${i.theme.colors.grey2}`};
48
48
  padding: ${i=>i.windowSize==="small"?`${s.sp2} ${s.sp4} ${s.sp2} ${s.sp0}`:`${s.sp3} ${s.sp5} ${s.sp3} ${s.sp0}`};
@@ -53,9 +53,9 @@ import{aw as W,J as f,aR as Y,V as e,fu as ee,bD as ie,i as B,aQ as C,ae as m,F
53
53
  align-items: center;
54
54
  text-align: start;
55
55
  box-sizing: border-box;
56
- `,u=l(ae)`
56
+ `,u=l(ne)`
57
57
  color: ${i=>i.theme.colors.champion};
58
- `,w=l(ne)`
58
+ `,w=l(ae)`
59
59
  color: ${i=>i.theme.colors.champion};
60
60
  `,y=l(D)`
61
61
  color: ${i=>i.theme.colors.champion};
@@ -63,11 +63,11 @@ import{aw as W,J as f,aR as Y,V as e,fu as ee,bD as ie,i as B,aQ as C,ae as m,F
63
63
  color: ${i=>i.theme.colors.champion};
64
64
  `,d=l.div``,c=l.div`
65
65
  padding-left: ${s.sp3};
66
- `,_=l(S)`
66
+ `,_=l(b)`
67
67
  color: ${$.graphColor16Dark};
68
- `,E=l(S)`
68
+ `,E=l(b)`
69
69
  color: ${$.graphColor09Dark};
70
- `,H=l(S)`
70
+ `,G=l(b)`
71
71
  color: ${$.graphColor28Dark};
72
72
  `,fe=l(oe)`
73
73
  margin: ${s.sp3} auto;
@@ -78,7 +78,7 @@ import{aw as W,J as f,aR as Y,V as e,fu as ee,bD as ie,i as B,aQ as C,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
- `,Se=l(D)`
81
+ `,be=l(D)`
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,Fe=({billPaySetupView:i,analytics:o,meetingUrl:b,videoUrl:Z,onButtonClick:J,onBackClick:O,onSetupBillPaySuccess:z,onClickMenuIcon:Q})=>{const h=W(),n=f(),{billPayTermsDetails:p}=i,[q,G]=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)},X=ce(h.loggedInUserRoleMap),P=pe(h.loggedInUserRoleMap)&&!X,T=P?r.setupNonAccessableUsersPromoText:r.promoText;return e.jsxs(ge,{children:[q===!0?e.jsx(xe,{onCancelClick:()=>{G(!1)},videoUrl:Z}):null,K===!0?e.jsx(ee,{onCancelClick:()=>{k(!1)},meetingUrl:b}):null,e.jsx(ie,{title:r.title,onBackClick:O,showBackButton:!me(h.loggedInUserRoleMap),showMenuIcon:n==="small"||n==="medium-compact",onClickMenuIcon:Q,source:"BillPayPromoPage"}),e.jsxs(ue,{windowSize:n,children:[n==="small"?e.jsx(ye,{children:T}):e.jsx(we,{children:T}),n==="small"?e.jsx(be,{}):e.jsx(ze,{}),P===!1?e.jsxs(je,{children:[e.jsxs($e,{windowSize:n,children:[e.jsx(B,{variant:"secondary",label:r.scheduleDemoButton,onClick:N,"data-testid":C("billpay-schedule-demo-button")}),e.jsx(Se,{windowSize:n,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]})]})},be=()=>{const i=U(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsx(V,{windowSize:o,children:e.jsx(F,{windowSize:o,children:i.mode==="dark"?e.jsx(x,{src:A,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(x,{src:M,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(R,{windowSize:o,children:[e.jsxs(a,{windowSize:o,children:[e.jsx(d,{children:e.jsx(H,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.fullyManagedText.bold}),e.jsx(y,{children:r.fullyManagedText.regular})]})]}),e.jsxs(a,{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(a,{windowSize:o,children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.aiPoweredText.bold}),e.jsx(y,{children:r.aiPoweredText.regular})]})]})]})]})},ze=()=>{const i=U(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsxs(R,{windowSize:o,children:[e.jsxs(a,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(H,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.fullyManagedText.bold}),e.jsx(u,{children:r.fullyManagedText.regular})]})]}),e.jsxs(a,{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(a,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.aiPoweredText.bold}),e.jsx(u,{children:r.aiPoweredText.regular})]})]})]}),e.jsx(V,{windowSize:o,children:e.jsx(F,{windowSize:o,children:i.mode==="dark"?e.jsx(x,{src:A,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(x,{src:M,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Fe as default};
84
+ `,r=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,t=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Fe=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:H,onButtonClick:Z,onBackClick:J,onSetupBillPaySuccess:z,onClickMenuIcon:O})=>{const h=q(),a=f(),{billPayTermsDetails:p}=i,[K,N]=g.useState(!1),[Q,k]=g.useState(!1),v=Y(p?.fetchStatus.fetchState);g.useEffect(()=>{v==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&z?.()},[v,z,p?.fetchStatus]);const W=()=>{o?.trackBillPayPromoScheduleDemo(),k(!0)},X=ce(h.loggedInUserRoleMap),P=pe(h.loggedInUserRoleMap)&&!X,T=P?r.setupNonAccessableUsersPromoText:r.promoText;return e.jsxs(ge,{children:[K===!0?e.jsx(me,{onCancelClick:()=>{N(!1)},videoUrl:H}):null,Q===!0?e.jsx(ee,{onCancelClick:()=>{k(!1)},meetingUrl:S}):null,e.jsx(ie,{title:r.title,onBackClick:J,showBackButton:!xe(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:O,source:"BillPayPromoPage"}),e.jsxs(ue,{windowSize:a,children:[a==="small"?e.jsx(ye,{children:T}):e.jsx(we,{children:T}),a==="small"?e.jsx(Se,{}):e.jsx(ze,{}),P===!1?e.jsxs(je,{children:[e.jsxs($e,{windowSize:a,children:[e.jsx(C,{variant:"secondary",label:r.scheduleDemoButton,onClick:W,"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:Z,"data-testid":B("billpay-setup-button")})]}),e.jsxs(fe,{children:[r.terms.terms1,e.jsx(x,{href:t.consentUrl,linkText:t.consent}),t.term2,e.jsx(x,{href:t.depositUrl,linkText:t.depositTerms}),t.term3,e.jsx(x,{href:t.privacyPolicyUrl,onZeniLinkClick:()=>(o?.trackBillPayPrivacyPolicy(),!0),linkText:t.privacy}),t.term4,e.jsx(x,{href:t.tosUrl,onZeniLinkClick:()=>(o?.trackBillPayAgreement(),!0),linkText:t.tos}),t.term5,r.terms.terms3]})]}):null]})]})},Se=()=>{const i=U(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsx(V,{windowSize:o,children:e.jsx(F,{windowSize:o,children:i.mode==="dark"?e.jsx(m,{src:A,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(m,{src:M,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(R,{windowSize:o,children:[e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.fullyManagedText.bold}),e.jsx(y,{children:r.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(E,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.multiLevelApprovalText.bold}),e.jsx(y,{children:r.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.aiPoweredText.bold}),e.jsx(y,{children:r.aiPoweredText.regular})]})]})]})]})},ze=()=>{const i=U(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsxs(R,{windowSize:o,children:[e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.fullyManagedText.bold}),e.jsx(u,{children:r.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(E,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.multiLevelApprovalText.bold}),e.jsx(u,{children:r.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.aiPoweredText.bold}),e.jsx(u,{children:r.aiPoweredText.regular})]})]})]}),e.jsx(V,{windowSize:o,children:e.jsx(F,{windowSize:o,children:i.mode==="dark"?e.jsx(m,{src:A,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(m,{src:M,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Fe as default};
@@ -1,4 +1,4 @@
1
- import{e as _e,J as $e,aR as E,a9 as Oe,cG as Re,F as Ue,aW as Z,V as t,fc as ze,p as He,aQ as Le,y as u,bD as qe,T as Me,ac as Ne,fv as z,dS as Ge,fw as Je,bx as Qe,dI as Ye,bU as Ze,fx as Ke,aS as Xe,o as L,fy as et,u as a,al as tt,bL as it}from"./index-c9CJIpO5.js";import{a as m}from"./sentry-BhPnLTGd.js";import{n as b}from"./mui-D41H02IU.js";import{bJ as nt}from"./zeni-epic-state-CqFcQgfC.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-Z5AuwaDQ-B2Cs9t2G.js";import"./liveblocks-CPDN-bxu.js";import"./core-abG3s-mt.js";import"./recharts-B5Zd2InX.js";import"./lottie-DoLcJmSl.js";import"./analytics-DyCH8fdj.js";import"./lexical-Ce5kgHxh.js";import"./utils-B-wjDpf0.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]="7a3064ef-489a-4b16-92fb-849938e0276c",e._sentryDebugIdIdentifier="sentry-dbid-7a3064ef-489a-4b16-92fb-849938e0276c")}catch{}})();const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},K="billPaySetUpPage",D="billPayAccount",Ct=({billPaySetupView:e,isDisabled:p,billpayApprovalView:v,meetingUrl:C,showIntlWiseWidget:s,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:re,onEstablishConnectionClick:de,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:fe,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEnableBillPayClick:me,onEnableBillPaySuccess:q,onClickMenuIcon:be,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:xe,updateFilesEntity:Pe,onCompanyOfficerUpdated:we,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const k=_e(),i=$e(),[A,S]=m.useState(!1),M=m.useRef(null),{fetchState:f,updateStatus:x,accountUpdateStatus:ke,plaidConnectionDetails:W,allBankAccounts:Ae,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:r,allFundingAccounts:N}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:V,approvalRulesStatus:Ie}=v,_=W.link_account.updateStatus,$=W.update_account.updateStatus,j=E(f),J=E(x.fetchState),Q=E(_.fetchState),Y=E($.fetchState),P=Oe({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>H(e),[e]),values:H(e)});m.useEffect(()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),A&&j==="In-Progress"&&f==="Completed"&&S(!1)},[c,f,j]),m.useEffect(()=>{(j==="In-Progress"&&f==="Completed"||Q==="In-Progress"&&_.fetchState==="Completed"||Y==="In-Progress"&&$.fetchState==="Completed")&&P.reset(H(e))},[j,f,P,e,Q,_.fetchState,Y,$.fetchState]);const Ve=P.handleSubmit(w=>{y.trackEnableBillPay(),me()}),je=async(w,F)=>{const o=F[D];if(w.includes(D)){if(w.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&r?.id!=o.fundingAccount.selectedOption){const g=N.find(U=>U.id===o.fundingAccount.selectedOption);g!=null&&pe(o.fundingAccount.selectedOption,g.accType)}}else if(o.account.selectedOption!=null&&r?.id!=null&&r?.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,r.id,r.accType)}}};m.useEffect(()=>{const w=P.watch((F,{name:o})=>{o!=null&&F!=null&&Re(()=>je(o,F))});return()=>{w.unsubscribe()}}),m.useEffect(()=>{J==="In-Progress"&&x.fetchState==="Completed"&&q()},[q,J,x.fetchState]);const{commonSetUp:Be,spendManagement:Fe}=Ue.getLocalizedStrings(),{setUp:d}=Be,{billPaySetup:l}=Fe.billPay,O=T?.isBusinessVerified===!0&&(r?.accType==="depositAccount"||nt(r?.providerVerificationStatus?.code??"")),R=T?.isBillPayEnabled===!0,Ee=O?d.setupVerifiedSubTitle:l.setupSubTitle,De=f==="In-Progress"||f==="Not-Started"||G==="In-Progress"||G==="Not-Started",B=k.mode==="light"?new Z(k.colors.brandColorJadeLight):new Z(k.colors.brandColorJadeDark),We=()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(lt,{ref:M,children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>S(!1),style:{backgroundColor:He.drawerBackground},transitionDuration:250,"data-testid":Le("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:x,onEditFileName:Se,onDeleteFile:xe,updateFilesEntity:Pe,companyOfficer:c,onClose:()=>S(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:ve})}),t.jsx(qe,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!R&&(i==="medium-compact"||i==="small"),onClickMenuIcon:be,scrollableContent:M,backgroundColor:k.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(rt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Ee}),De?t.jsx(dt,{children:t.jsx(Me,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Ne,{...P,children:t.jsx("form",{id:X(K),onSubmit:Ve,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(z,{onClick:We,title:d.businessVerificationTitle,subTitle:d.businessVerificationSubTitle,header:d.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:r,allFundingAccounts:N,plaidConnectionDetails:W,allBankAccounts:Ae,sectionId:D,isDisabled:p,onFetchLinkTokenClick:re,onEstablishConnectionClick:de,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(z,{title:V.length>0?d.approvalTitle:d.createApprovalTitle,subTitle:l.approvalSubTitle,header:V.length>0?d.approvalHeader:d.setupApprovalHeader,icon:{element:t.jsx(Ye,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:V.length>0?Ie:void 0})]})})}),s===!0?t.jsx(z,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Ke,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{I&&y.trackEnableIntlWire(ie),ye?.()},status:I?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Ze,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),O&&!R&&V.length>0?t.jsx(Xe,{formId:X(K),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:x.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`
1
+ import{d as _e,J as $e,aR as E,a9 as Oe,cH as Re,F as Ue,aW as K,V as t,ff as He,p as ze,ab as Le,y as u,bD as qe,T as Me,ad as Ne,fy as H,dR as Je,fz as Ge,bx as Ye,dH as Ze,bU as Ke,fA as Qe,aS as Xe,o as L,fB as et,u as a,am as tt,bL as it}from"./index-BIYLqgct.js";import{a as m}from"./sentry-DhNwX3jk.js";import{n as b}from"./mui-rLvQ8A4a.js";import{bJ as nt}from"./zeni-epic-state-DwkN4IvA.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-xiqklxM_-C-ghpumD.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="2208c21c-f5a0-4b2b-9f84-19b8ca83a617",e._sentryDebugIdIdentifier="sentry-dbid-2208c21c-f5a0-4b2b-9f84-19b8ca83a617")}catch{}})();const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},Q="billPaySetUpPage",D="billPayAccount",Ct=({billPaySetupView:e,isDisabled:p,billpayApprovalView:v,meetingUrl:C,showIntlWiseWidget:s,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:fe,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEnableBillPayClick:me,onEnableBillPaySuccess:q,onClickMenuIcon:be,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const k=_e(),i=$e(),[A,S]=m.useState(!1),M=m.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:ke,plaidConnectionDetails:W,allBankAccounts:Ae,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:d,allFundingAccounts:N}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:J,allApprovalRules:V,approvalRulesStatus:Ie}=v,_=W.link_account.updateStatus,$=W.update_account.updateStatus,B=E(f),G=E(P.fetchState),Y=E(_.fetchState),Z=E($.fetchState),w=Oe({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>z(e),[e]),values:z(e)});m.useEffect(()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),A&&B==="In-Progress"&&f==="Completed"&&S(!1)},[c,f,B]),m.useEffect(()=>{(B==="In-Progress"&&f==="Completed"||Y==="In-Progress"&&_.fetchState==="Completed"||Z==="In-Progress"&&$.fetchState==="Completed")&&w.reset(z(e))},[B,f,w,e,Y,_.fetchState,Z,$.fetchState]);const Ve=w.handleSubmit(x=>{y.trackEnableBillPay(),me()}),Be=async(x,F)=>{const o=F[D];if(x.includes(D)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=N.find(U=>U.id===o.fundingAccount.selectedOption);g!=null&&pe(o.fundingAccount.selectedOption,g.accType)}}else if(o.account.selectedOption!=null&&d?.id!=null&&d?.zeniAccountId!=o.account.selectedOption){const g=o.account.allOptions.find(U=>U.value===o.account.selectedOption);g!=null&&typeof g.label=="string"&&y.trackConnectBankLink(g.value,g.label,"bill_pay"),fe(o.account.selectedOption,d.id,d.accType)}}};m.useEffect(()=>{const x=w.watch((F,{name:o})=>{o!=null&&F!=null&&Re(()=>Be(o,F))});return()=>{x.unsubscribe()}}),m.useEffect(()=>{G==="In-Progress"&&P.fetchState==="Completed"&&q()},[q,G,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,Ee=O?r.setupVerifiedSubTitle:l.setupSubTitle,De=f==="In-Progress"||f==="Not-Started"||J==="In-Progress"||J==="Not-Started",j=k.mode==="light"?new K(k.colors.brandColorJadeLight):new K(k.colors.brandColorJadeDark),We=()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(lt,{ref:M,children:[t.jsx(He,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>S(!1),style:{backgroundColor:ze.drawerBackground},transitionDuration:250,"data-testid":Le("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:P,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,companyOfficer:c,onClose:()=>S(!1),onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve})}),t.jsx(qe,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!R&&(i==="medium-compact"||i==="small"),onClickMenuIcon:be,scrollableContent:M,backgroundColor:k.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Ee}),De?t.jsx(rt,{children:t.jsx(Me,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Ne,{...w,children:t.jsx("form",{id:X(Q),onSubmit:Ve,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(H,{onClick:We,title:r.businessVerificationTitle,subTitle:r.businessVerificationSubTitle,header:r.businessVerificationHeader,icon:{element:t.jsx(Je,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},status:T?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(Ge,{connectedAccountProvider:ee,primaryFundingAccount:d,allFundingAccounts:N,plaidConnectionDetails:W,allBankAccounts:Ae,sectionId:D,isDisabled:p,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Ye,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(H,{title:V.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:V.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Ze,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:V.length>0?Ie:void 0})]})})}),s===!0?t.jsx(H,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{I&&y.trackEnableIntlWire(ie),ye?.()},status:I?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Ke,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),O&&!R&&V.length>0?t.jsx(Xe,{formId:X(Q),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:P.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(et,{isFooterRendered:O&&!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;
@@ -21,13 +21,13 @@ import{e as _e,J as $e,aR as E,a9 as Oe,cG as Re,F as Ue,aW as Z,V as t,fc as ze
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
- `,rt=b.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
- `,dt=b.div`
30
+ `,rt=b.div`
31
31
  display: flex;
32
32
  width: 100%;
33
33
  height: calc(100vh - 110px);
@@ -39,4 +39,4 @@ import{e as _e,J as $e,aR as E,a9 as Oe,cG as Re,F as Ue,aW as Z,V as t,fc as ze
39
39
  display: flex;
40
40
  flex-direction: column;
41
41
  row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
42
- `,H=e=>{const{allBankAccounts:p,allFundingAccounts:v,primaryFundingAccount:C}=e;return{[D]:{fundingAccount:{selectedOption:C?.id,allOptions:v.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:C?.zeniAccountId,allOptions:p.map(s=>({label:s.accountName,value:s.accountId}))}}}},X=e=>`${e}_form`;export{Ct as default,X as uniqueName};
42
+ `,z=e=>{const{allBankAccounts:p,allFundingAccounts:v,primaryFundingAccount:C}=e;return{[D]:{fundingAccount:{selectedOption:C?.id,allOptions:v.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:C?.zeniAccountId,allOptions:p.map(s=>({label:s.accountName,value:s.accountId}))}}}},X=e=>`${e}_form`;export{Ct as default,X as uniqueName};
@@ -0,0 +1,44 @@
1
+ import{d as we,J as be,a9 as Pe,cH as xe,aW as k,F as Ce,V as t,y as x,bD as Ie,T as Ae,ad as ve,bx as je,cI as ke,aS as Te,o as s,hP as $e,f1 as De,f2 as Ve,u as C,am as Be,gY as Ee,p as ze,H as Le}from"./index-BIYLqgct.js";import{a as H}from"./sentry-DhNwX3jk.js";import{n as r}from"./mui-rLvQ8A4a.js";import{M as Oe,o as W,t as Me}from"./PaymentAccountSetupBillingAddressSection-C026Xg59-Du1LULBI.js";import{F as _e}from"./SetUpAccountSection-DiEFZwFL-DC1aQ-pj.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./commonTypes-DP3nDhtI-D-fLD29s.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]="8c763c9f-bfa4-487a-9377-c4d1b808223f",e._sentryDebugIdIdentifier="sentry-dbid-8c763c9f-bfa4-487a-9377-c4d1b808223f")}catch{}})();const p={titleWidth:new x(343,580,726,826),setupDetailsRowGap:new x(12,C[5],C[5]),iconWidthHeight:new x(20,C[4]),subTitlePaddingTop:new x(12,C[3])},He={title:new Le("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:q,onUpdateAccountClick:G,onFetchLinkTokenClick:Y,onUpdatePaymentAccountStatus:Z,onUpdatePaymentAccountLoginStatus:Q,onEstablishConnectionClick:X,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:T,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const b=we(),o=be(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:$},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,D=y?.providerVerificationStatus,ue=$.fetchState==="In-Progress"||$.fetchState==="Not-Started",f=Pe({mode:"onSubmit",reValidateMode:"onChange",defaultValues:R(i),values:R(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{se(q)}),V=i.subscriptionBillingAddressSaveStatus,me=async(c,a)=>{const g=a[I];if(c.includes(n)&&a[n]!=null){const v=f.getValues(`${n}`).country;let u=a[n];if(c.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:w}=a[n].street,j=De(w?.country);u={street:a[n].street??l.strings.empty,city:w?.locality??l.strings.empty,state:w?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:w?.countryCode??l.strings.empty,postalCode:w?.postalCode??l.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:Ve(v.selectedOption)});u!=null&&re(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&G(g.account.selectedOption,y.paymentAccountId)};H.useEffect(()=>{const c=f.watch((a,{name:g})=>{g!=null&&a!=null&&xe(()=>me(g,a))});return()=>{c.unsubscribe()}});const B=b.mode==="light"?new k(b.colors.brandColorJadeLight):new k(b.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:E}=Ce.getLocalizedStrings(),ge=E.section.subTitle,{text:ye,subText:fe}=he,z=h.cardsList.length>0,L=h?.cardsList[0]?.brand??"other",O=h?.addCardPaymentSourceStatus.fetchState,P=Oe(S.header,S.titleText,S.protectedCardNo,h);let M;z&&(M={header:P.header,title:P.title,subtitle:P.subtitle,status:P.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:z===!0,icon:{element:t.jsx("img",{src:W(L).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:W(L).name}),color:new k(B)},showCompletedIcon:!1,isError:O==="Error",isLoading:O==="In-Progress",isCompleted:!0,showRightArrow:!1});const[_,Se]=H.useState(!1);return t.jsxs(Fe,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:E.section.title,backgroundColor:b.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(We,{windowSize:o,children:[t.jsx(Re,{windowSize:o,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(Ge,{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:Y,onEstablishConnectionClick:X,onUpdatePaymentAccountStatus:Z,onUpdatePaymentAccountLoginStatus:Q,onEstablishConnectionSuccess:ee,isError:D?.code==="require_info"||D?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:B},analytics:e,productType:"billing",updateCardPaymentModalState:T,cardPaymentSectionValues:M,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:_}),Ke(o,l.headers.billingAddress,ce,N,d)]})})})}),ke(f.formState.dirtyFields)?t.jsx(Te,{formId:U(F),style:{width:o==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:V?.fetchState==="In-Progress",isDisabled:V?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:T,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:J.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:K,cardSetupInProgress:_,setCardSetupInProgress:Se})]})},R=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]:$e(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
+ `,Re=r(Be)`
16
+ color: ${e=>e.theme.colors.hero};
17
+ display: flex;
18
+ justify-content: center;
19
+ width: ${e=>p.titleWidth.valuePx(e.windowSize)};
20
+ padding-top: ${e=>p.subTitlePaddingTop.valuePx(e.windowSize)};
21
+ padding-bottom: ${s.sp3};
22
+ text-align: ${e=>e.windowSize==="small"?"initial":"center"};
23
+ `,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(qe,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Ee,{googleAPIKey:d??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),Ne=r.div`
35
+ margin-top: ${s.sp3};
36
+ margin-bottom: ${s.sp4};
37
+ `,qe=r.div`
38
+ ${e=>`${He.title.style(e.windowSize)}`};
39
+ margin-bottom: ${s.sp3};
40
+ margin-top: ${s.sp4};
41
+ color: ${e=>e.isError===!0?ze.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
42
+ `,Ge=r.div`
43
+ flex: 1;
44
+ `,U=e=>`${e}_form`;export{ct as default,U as uniqueName};
@@ -1 +1 @@
1
- import{V as f,cq as V,cr as q,cs as M,k9 as W,aZ as Z,F as z}from"./index-c9CJIpO5.js";import{a as b}from"./sentry-BhPnLTGd.js";import{Gh as G}from"./zeni-epic-state-CqFcQgfC.js";import{u as K}from"./ReviewOverlay-Cz8LqkKC-LpMuOjyz.js";import"./liveblocks-CPDN-bxu.js";import"./core-abG3s-mt.js";import"./recharts-B5Zd2InX.js";import"./mui-D41H02IU.js";import"./lottie-DoLcJmSl.js";import"./analytics-DyCH8fdj.js";import"./lexical-Ce5kgHxh.js";import"./utils-B-wjDpf0.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]="53884f2a-a86b-4dc2-a554-a79de72f1ef5",e._sentryDebugIdIdentifier="sentry-dbid-53884f2a-a86b-4dc2-a554-a79de72f1ef5")}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]=b.useState(!1),[n,v]=b.useState(T(e,u)),[p,k]=b.useState(u),[B,E]=b.useState(0),[y,j]=b.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});b.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}=Y(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 f.jsxs(f.Fragment,{children:[C?f.jsx(V,{titleComponent:f.jsx(M,{children:y.title}),descriptionComponent:f.jsx(q,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,f.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:Z("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&G(t.reviewErrors[0].reviewErrorCode),subTitle:J(t.reviewStatus==="warning",t.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:t.reviewErrors!=null&&t.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:t.reviewErrors?.length===1&&t.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":t.reviewStatus??""}}))},X=e=>{const r=e.billsForReview;let l=[];return r.forEach(t=>{l=W([...l,t.isRecurring?"recurring":"one-time"])}),l},Y=e=>{const{this_:r,these:l,bill:t,bills:c,payment:m,payments:a}=s.texts;return e>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",t)}},H=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are: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,cr as V,cs as M,ct as W,kb as Z,aZ as q,F as z}from"./index-BIYLqgct.js";import{a as f}from"./sentry-DhNwX3jk.js";import{Gn as G}from"./zeni-epic-state-DwkN4IvA.js";import{u as K}from"./ReviewOverlay-C2enVZqt-C_vH9CpL.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./mui-rLvQ8A4a.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="d660d1ba-30b3-4e3a-855f-d12731fab83c",e._sentryDebugIdIdentifier="sentry-dbid-d660d1ba-30b3-4e3a-855f-d12731fab83c")}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,A=()=>{const{title:d,description:S}=Y(h);j({type:"reject",title:d,description:S,primaryButtonText:s.texts.confirm,secondaryButtonText:s.texts.close}),r.trackBillPayBulkSubmit(i,g,_),w(!0)},D={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,g,_,X(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:F,description:N}=H(m,h,R,p),P=e.fetchState==="Completed"&&h===0,$=()=>{r.trackBillPayBulkSubmit(i,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:A,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[C?b.jsx(V,{titleComponent:b.jsx(W,{children:y.title}),descriptionComponent:b.jsx(M,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:D,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(K,{title:F,description:{content:N,isError:e.fetchState==="Completed"&&h===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:L,hideCancel:P}})]})},T=(e,r)=>{const l=e.fetchState==="In-Progress";return e.billsForReview.map(t=>({id:t.transactionId,leftSideText:{title:t.vendorName?t.vendorName:x.billDetails.newBillTitle,subTitle:`${x.billDetails.invoiceNo} ${t.invoiceNumber?t.invoiceNumber:s.strings.hyphen}`},rightSideText:{title:q("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=Z([...l,t.isRecurring?"recurring":"one-time"])}),l},Y=e=>{const{this_:r,these:l,bill:t,bills:c,payment:m,payments:a}=s.texts;return e>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",t)}},H=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are: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,4 +1,4 @@
1
- import{J as l,V as s,aQ as b,o as e}from"./index-c9CJIpO5.js";import{n as a}from"./mui-D41H02IU.js";import{o as p}from"./commonDimensions-SFn2jHVc-W5oDY-Cl.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]="ca5fdb31-b993-485a-9033-5e8964f14766",o._sentryDebugIdIdentifier="sentry-dbid-ca5fdb31-b993-485a-9033-5e8964f14766")}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,ab as b,o as e}from"./index-BIYLqgct.js";import{n as a}from"./mui-rLvQ8A4a.js";import{o as p}from"./commonDimensions-CWffpElu-DyTXC1xY.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]="d99dc2d4-e386-471b-aed4-1b6ebe2702da",o._sentryDebugIdIdentifier="sentry-dbid-d99dc2d4-e386-471b-aed4-1b6ebe2702da")}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 dt,J as ut,aR as Te,V as a,af as Z,a9 as pt,cX as mt,az as ft,cH as yt,aZ as ve,aQ as Oe,ge as ht,i as gt,bD as xt,ab as St,cI as wt,cr as Ct,cs as Dt,ct as bt,T as Tt,ad as vt,aS as Ot,o as c,y as F,an as Ve,F as je,gf as It,fC as Ie,f1 as Nt,R as $t,x as kt,am as Ae,H as Pt,a as Ft,u as N}from"./index-BIYLqgct.js";import{a as V}from"./sentry-DhNwX3jk.js";import{n as d}from"./mui-rLvQ8A4a.js";import{ER as Vt,bi as H,Fm as jt,Fl as At,Fn as _t}from"./zeni-epic-state-DwkN4IvA.js";import{r as Lt,z as Et}from"./CompanyOfficerDetailsSection-5Gmlo5HX-mf8toy40.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./helper-Byvbf3nO-BTmT7Zux.js";import"./LabeledAddressValueField-DNGOSAvq-BXE6xS8k.js";import"./LabeledCountryMultiSelectField-B8Lbv837-DgWr30M7.js";import"./LabeledCreatableSingleSelectField-N1wb0l0p-Dc3bkr-e.js";import"./LabeledDocumentField-vSq1xSUM-C_0QT0Hr.js";import"./commonTypes-DP3nDhtI-D-fLD29s.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},S=new t.Error().stack;S&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[S]="35628701-f1f9-4dfe-8a61-a841c05fdc00",t._sentryDebugIdIdentifier="sentry-dbid-35628701-f1f9-4dfe-8a61-a841c05fdc00")}catch{}})();const x={width:new F(343,580,726),titleWidth:new F(343,580,726,826),subTitlePaddingTop:new F(12,N[3]),subTitlePaddingBottom:new F(N[3],N[3]),verificationDetailsRowGap:new F(12,N[5],N[5]),termsPaddingLeftRight:new F(N[0],N[3])},Bt={stepTitle:new Pt("h6Regular","h5Regular")},Ne="businessVerificationPage",b="companyDetails",T="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:Rt,currency:$e,footer:ke,strings:{empty:zt}}}=je.getLocalizedStrings(),va=({businessVerificationDetails:t,allNationalityCountries:S,verficationDetailsFetchState:$,isRefreshingViewInBackground:L,filesEndPoint:i,authParams:E,productType:m,allIndustries:j,companyTitles:B,maxInsuredAmount:f,isDisabled:k,isSettings:r=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:X=!1,transferDetails:R,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Le,onBackClick:A,onGetOtp:Ee,onVerifyOtp:Be,onResendOtp:Re,onSendForVerificationClick:ze,onEditFileName:ie,onCompanyDetailsChanged:Ue,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Me,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:re,onSaveDetailsClick:Ge,onClickMenuIcon:Ze,onExecuteTreasuryTransfer:He})=>{const Xe=dt(),u=ut(),{updateStatus:z,companyView:_,companyDetailsLocalData:o,companyOfficerLocalData:C}=t,qe=Te(z.fetchState),U=_?.company.company.featuresActivationInfo.connectedAccountProvider,Je=U==="unit"?a.jsxs(Jt,{children:[s.terms.term1,a.jsx(Z,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(Z,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(Z,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(Z,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ke,q]=V.useState(!1),[M,oe]=V.useState("save"),[J,Qe]=V.useState(!1),p=pt({mode:"all",reValidateMode:"onChange",defaultValues:Ut(t,j,B,S)}),{isValid:Ye}=p.formState,W=_?.company.company.companyBillPayInfo,G=_?.company.company.companyTreasuryInfo,P=m==="zeni_treasury"?G?.companyVerificationStatus:W?.companyVerificationStatus,v=Object.values(C).findIndex(e=>e?.isSelectedForVerification===!0),O=`Officer_${v<0?1:v+1}`,et=()=>{const e=C[O],n=e?.email,l=e?.birthday?.toString(),y=e?.ownershipInCompany,D=e?.firstName,I=e?.lastName,ue=e?.titleAtCompany,pe=e?.documentTypeSelectedForVerification,me=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?H(fe):void 0,he=o?.companyDescription,Y=o?.companyLegalName,ge=o?.companyIndustry,xe=o?.phone,Se=o?.website,we=o?.addressStatus?.addressToCreate!=null?H(o?.addressStatus?.addressToCreate):void 0,ee=o?.primaryContactLocalData,Ce=ee?.firstName,De=ee?.lastName,be=ee?.email;n!=null&&y!=null&&D!=null&&I!=null&&l!=null&&ue!=null&&me!=null&&ye!=null&&pe!=null&&he!=null&&Y!=null&&xe!=null&&Se!=null&&ge!=null&&Y!=null&&we!=null&&Ce!=null&&De!=null&&be!=null&&g?.trackBusinessVerificationSend({email:n,birthday:l.toString(),companyOwnership:y,firstName:D,lastName:I,companyRole:ue,phone:me,formattedAddress:ye,documentTypeForVerification:pe},{companyDescription:he,legalName:Y,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:De,email:be},m,r?"Settings":void 0)},tt=()=>{const e=C[O],n=o?.primaryContactLocalData,l=e?.email??"",y=!!e?.firstName&&!!e?.lastName,D=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return l&&!y?((!e?.firstName||!e?.lastName)&&p.trigger(`${T}.${v<0?0:v}.name`,{shouldFocus:!0}),!1):D&&!I?((!n?.firstName||!n?.lastName)&&p.trigger(`${b}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=C[O],n=o?.primaryContactLocalData,l=e?.email,y=n?.email;if(l){if(!y)return(n?.firstName||n?.lastName)&&p.trigger(`${b}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||K!=null&&K?.length>0)return p.trigger(`${T}.${v<0?0:v}.email`,{shouldFocus:!0}),!1;return!0},it=p.handleSubmit(()=>{if(M!=="verification"&&oe("verification"),U==="unit"&&C[O]?.isPhoneVerified!==!0){p.setError(`${T}.${v}.phone`,{type:"custom"});return}const e=mt(Object.values(C).map(l=>Object.values(l?.deleteFileStatusById??{}).filter(y=>y!=null))),n=Object.values(o?.deleteFileStatusById??{}).filter(l=>l!=null);Vt(e.concat(n)).fetchState!=="In-Progress"&&Ye&&(et(),ze?.(O),X===!0&&He?.())}),st=async(e,n)=>{e.includes(b)?Ue?.(n[b]):e.includes(T)&&We?.(n[T])},nt=V.useCallback(ft((e,n)=>{st(e,n)},300),[]);V.useEffect(()=>{const e=p.watch((n,{name:l})=>{l!=null&&n!=null&&yt(()=>nt(l,n))});return()=>{e.unsubscribe()}});const le=Te(t.companyDetailsLocalData?.addressStatus);V.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(re?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${b}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,re,p]);const ce=_?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),K=ce?.map(e=>e.user),rt=ce?.map(e=>e.role),ot={onOkClick:()=>{q(!1),A();const e=[],n=_?.company.company.incInfo.fileIds??[];p.getValues(`${b}.fileIds`).forEach(l=>{n.includes(l)||e.push(l)}),rt?.forEach((l,y)=>{const D=l?.fileIds??[];p.getValues(`${T}.${y}.fileIds`).forEach(I=>{D.includes(I)||e.push(I)})}),e.length!==0&&Me?.(e)},onCancelClick:()=>{q(!1)}},lt=ve(Oe(f),f,$e.currencySymbol).toUpperCase(),Q=P?.code==="pending_review"||P?.code==="verified",de=(R?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;if(m==="zeni_treasury"&&P?.code==="pending_review"&&qe==="In-Progress"&&z.fetchState==="Completed")return a.jsxs(ia,{children:[a.jsxs(sa,{children:[a.jsx(ht,{}),a.jsx(na,{windowSize:u,children:X===!0?s.submittedTitleWithTransfer:s.submittedTitle}),a.jsx(aa,{isReadonly:!1,children:X===!0?s.submittedDescriptionWithTransfer.replace("__amount__",ve(Oe(R?.treasuryTransferMoneyLocalData?.amount?.amount??0),R?.treasuryTransferMoneyLocalData?.amount?.amount??0,$e.currencySymbol)).replace("__account__",R?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):s.submittedDescription})]}),a.jsx(gt,{label:s.submittedButton,onClick:()=>{A(),te?.()},variant:"primary"})]});const ct=()=>{const e=W?.companyVerificationStatus?.code==="verified",n=G?.companyVerificationStatus?.code==="verified",l=(o?.countriesOfOperations?.length??0)>0||o?.companySourceOfFunds!=null||o?.transactionVolume!=null||o?.purposeOfAccount!=null||o?.registeredAddressStatus!=null||o?.usNexus!=null;return m==="zeni_treasury"&&(e===!1&&n===!0||e===!0&&n===!1&&l)};return a.jsxs(Mt,{isSettings:r,children:[a.jsx(xt,{title:h&&w===!0?zt:s.header,backgroundColor:Xe.colors.grey5,style:{zIndex:J?1:4},onBackClick:()=>{wt(p.formState.dirtyFields)?q(!0):A()},showBackButton:!r&&!h,showMenuIcon:r?u==="medium-compact"||u==="small":!1,onClickMenuIcon:Ze,rightSideComponent:h?a.jsx(ra,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{A(),te?.()}}):null,source:"BusinessVerificationPage"}),Ke===!0?a.jsx(Ct,{titleComponent:a.jsx(bt,{children:s.discardTitle}),descriptionComponent:a.jsx(Dt,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:ot}):null,a.jsxs(Zt,{windowSize:u,children:[(!h||w===!1)&&a.jsx(Gt,{windowSize:u,children:r?Rt.infoText.businessVerification:s.title}),$==="In-Progress"||$==="Not-Started"?a.jsx(Ht,{children:a.jsx(Tt,{size:"ExtraLarge",start:!0})}):a.jsx(vt,{...p,children:a.jsxs("form",{id:Pe(Ne),onSubmit:it,children:[h&&w===!0&&a.jsxs(Wt,{children:[a.jsxs(Kt,{windowSize:u,children:[a.jsx(Qt,{windowSize:u,children:Q?s.businessVerificationDetails:de?s.verifyBusinessDetails:s.verifyBusinessDetailsWithoutTransfer}),!Q&&a.jsx(Yt,{children:a.jsxs(ea,{children:[a.jsx(Fe,{}),de&&a.jsx(Fe,{}),a.jsx(ta,{})]})})]}),a.jsx(_e,{isReadonly:Q,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(Xt,{children:[a.jsx(Lt,{companyOfficerData:C,allNationalityCountries:S,allOfficers:K??[],sectionId:T,isRefreshingViewInBackground:L,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:k,filesEndPoint:i,authParams:E,isPopupOpen:J,openPopup:Qe,onGetOtp:Ee,onVerifyOtp:Be,onResendOtp:Re,companyTitles:B,isForTreasury:m==="zeni_treasury",isOverlay:h}),a.jsx(Et,{companyDetails:o,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:L},productType:"business_verification",showTreasuryFields:m==="zeni_treasury",hideNewOnboardingFields:ct(),sectionId:b,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":k,fileProps:{authParams:E,filesEndPoint:i,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Le,connectedAccountProvider:U,allIndustries:j,allNationalityCountries:S})]}),m==="zeni_accounts"?a.jsx(qt,{windowSize:u,children:s.threadText.replace("__amount__",lt)}):null]})})]}),$==="Completed"&&(m==="zeni_treasury"?G?.companyVerificationStatus?.code!=="pending_review"&&G?.companyVerificationStatus?.code!=="verified":W?.businessVerificationStatus?.code!=="pending_review"&&W?.businessVerificationStatus?.code!=="verified")?a.jsx(Ot,{formId:Pe(Ne),primaryBtn:{label:w?ke.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&z.fetchState==="In-Progress",isDisabled:k!=null},containerStyle:{width:u==="small"?x.width.valuePx(u):"auto",justifyContent:u==="small"?"space-between":"center"},helperStyle:{width:u==="small"?x.width.valuePx(u):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(u),paddingRight:x.termsPaddingLeftRight.valuePx(u),textAlign:u==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?ke.back:s.saveDetailsButton,style:{width:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&z.fetchState==="In-Progress",onClick:()=>{if(w)A();else{const e=C[O],n=o?.primaryContactLocalData;M!=="save"&&oe("save");const l=e?.email??"",y=tt(),D=at();y&&D&&(g?.trackBusinessVerificationSave({email:l,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?H(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:o?.companyDescription,legalName:o?.companyLegalName,phone:o?.phone,website:o?.website?.toString(),industry:o?.companyIndustry??"",formattedAddress:o?.addressStatus?.addressToCreate!=null?H(o?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},m,r?"Settings":void 0),Ge?.(O))}}},helperText:Je,style:{padding:`12px ${c.sp3}`,zIndex:J?0:4}}):null]})},Ut=(t,S,$,L)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:E,companyView:m}=t,j=je.getLocalizedStrings().companyPassport,B=m?.companyOfficers!=null&&m?.companyOfficers.length>0;return{[b]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(f=>f.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:j.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:j.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(s.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:[..._t]},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:[...At]},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:i?.usNexusTypes??[],allOptions:[...jt]},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[T]:Object.values(E).map((f,k)=>{const r=f,h=It(r?.documentTypeSelectedForVerification);return{userId:r?.userId,officerType:r?.officerType??`Officer_${k+1}`,name:{firstName:r?.firstName,lastName:r?.lastName},email:r?.email,fileIds:r?.fileIds??[],dob:r?.birthday?.toDate(),nationalityCountryCode:Nt(r?.nationalityCountryCode,L.map(g=>g.countryCode)),ssn:r?.ssn,role:{selectedOption:r?.titleAtCompany,allOptions:$?.map(g=>g.code)},phone:r?.phone??"",ownership:r?.ownershipInCompany,officerAddress:r?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,r?.userFiles??[],h),back:Ie(!1,r?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!B&&k===0?!0:r?.isSelectedForVerification??!1,userVerificationStatus:r?.userVerificationStatus,treasuryUserVerificationStatus:r?.treasuryUserVerificationStatus,syncToken:r?.syncToken,isPhoneVerified:r?.isPhoneVerified,otpChallenge:r?.otpChallenge}})}},Pe=t=>`${t}_form`,Mt=d.div`
2
+ display: flex;
3
+ min-height: 100%;
4
+ flex-direction: column;
5
+ width: 100%;
6
+ row-gap: ${c.sp3};
7
+ background-color: ${t=>t.isSettings?"unset":t.theme.colors.grey5};
8
+ `,Wt=d.div`
9
+ display: flex;
10
+ flex-direction: column;
11
+ align-items: flex-start;
12
+ justify-content: center;
13
+ gap: ${c.sp1};
14
+ width: 100%;
15
+ padding-bottom: ${c.sp3};
16
+ `,Gt=d(Ae)`
17
+ color: ${t=>t.theme.colors.hero};
18
+ display: flex;
19
+ justify-content: center;
20
+ width: ${t=>x.titleWidth.valuePx(t.windowSize)};
21
+ padding-top: ${t=>x.subTitlePaddingTop.valuePx(t.windowSize)};
22
+ padding-bottom: ${t=>x.subTitlePaddingBottom.valuePx(t.windowSize)};
23
+ text-align: ${t=>t.windowSize==="small"?"initial":"center"};
24
+ `,Zt=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: ${c.sp9};
32
+ row-gap: ${t=>x.verificationDetailsRowGap.valuePx(t.windowSize)};
33
+ `,Ht=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: ${t=>t.theme.colors.grey4};
41
+ `,Xt=d.div`
42
+ display: flex;
43
+ flex-direction: column;
44
+ row-gap: ${c.sp11};
45
+ `,qt=d(Ve)`
46
+ margin-top: ${c.sp2};
47
+ padding: ${c.sp2} ${c.sp2};
48
+ text-align: center;
49
+ color: ${t=>t.theme.colors.grey1};
50
+ width: ${t=>x.width.valuePx(t.windowSize)};
51
+ `,Jt=d(Ve)`
52
+ text-align: center;
53
+ max-width: 750px;
54
+ color: ${t=>t.theme.colors.hero};
55
+ `,Kt=d.div`
56
+ display: flex;
57
+ flex-direction: column;
58
+ gap: ${c.sp3};
59
+ width: 100%;
60
+ `,Qt=d(Ft)`
61
+ ${t=>`${Bt.stepTitle.style(t.windowSize)}`};
62
+ color: ${t=>t.theme.colors.primary};
63
+ text-align: left;
64
+ `,Yt=d.div`
65
+ display: flex;
66
+ align-items: center;
67
+ overflow: hidden;
68
+ gap: ${c.sp2};
69
+ `,ea=d.div`
70
+ display: flex;
71
+ width: 100%;
72
+ gap: ${c.sp3};
73
+ `,Fe=d.div`
74
+ flex: 1;
75
+ height: 2px;
76
+ background-color: ${t=>t.theme.colors.primary};
77
+ border-radius: ${c.sp2};
78
+ `,ta=d.div`
79
+ flex: 1;
80
+ height: 2px;
81
+ background-color: ${t=>t.theme.colors.grey3};
82
+ border-radius: ${c.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: ${t=>t.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
+ `,_e=d(Ae)`
106
+ color: ${t=>t.theme.colors.hero};
107
+ margin-top: ${t=>t.isReadonly?c.sp0:c.sp3};
108
+ white-space: pre-line;
109
+ `,aa=d(_e)`
110
+ margin-top: ${c.sp0};
111
+ text-align: center;
112
+ `,ia=d.div`
113
+ display: flex;
114
+ flex-direction: column;
115
+ align-items: center;
116
+ justify-content: center;
117
+ gap: ${c.sp5};
118
+ margin: auto;
119
+ `,sa=d.div`
120
+ display: flex;
121
+ flex-direction: column;
122
+ align-items: center;
123
+ justify-content: center;
124
+ gap: ${c.sp3};
125
+ `,na=d($t)`
126
+ color: ${t=>t.theme.colors.primary};
127
+ white-space: pre-line;
128
+ text-align: center;
129
+ `,ra=d(kt)`
130
+ cursor: pointer;
131
+ color: ${t=>t.theme.colors.hero};
132
+ width: ${c.sp4};
133
+ height: ${c.sp4};
134
+ min-height: ${c.sp4};
135
+ &:hover {
136
+ color: ${t=>t.theme.colors.primary};
137
+ }
138
+ `;export{va as default,Pe as uniqueName};
@@ -1,5 +1,5 @@
1
- import{J as f,V as r,F as m,b as y,o as a,N as w,a as x}from"./index-c9CJIpO5.js";import{n as o}from"./mui-D41H02IU.js";import{a as c}from"./sentry-BhPnLTGd.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]="ae1b84e7-b3b0-49b9-8fed-c5e205e2ede5",e._sentryDebugIdIdentifier="sentry-dbid-ae1b84e7-b3b0-49b9-8fed-c5e205e2ede5")}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
- ${e=>e.forDetailPage?{...y.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
1
+ import{J as m,V as r,F as y,b as w,o as a,H as b,a as x}from"./index-BIYLqgct.js";import{n as o}from"./mui-rLvQ8A4a.js";import{a as c}from"./sentry-DhNwX3jk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="c744afd6-d4ee-42b4-8042-a784f5ac0338",e._sentryDebugIdIdentifier="sentry-dbid-c744afd6-d4ee-42b4-8042-a784f5ac0338")}catch{}})();const $=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:p,spendManagement:{chargeCard:t}}=y.getLocalizedStrings(),C={subText:new b("extraSmallRegular","standardRegular")},j=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=m(),h=e.type.code.includes("credit")?t.chargeCardsPromo.credit:t.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?t.cardList.physicalCard:t.cardList.virtualCard;const i=p.strings.space+t.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,f=e.status.code==="request_on_hold"||!s?d:i,n=e.type.code.includes("physical");return r.jsxs(H,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${f}`,children:[h,r.jsx(v,{}),d,n&&!s?r.jsx(u,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!s?null:i,n&&s?r.jsx(u,{}):null]})},H=o(x)`
2
+ ${e=>e.forDetailPage?{...w.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
3
3
  color: ${e=>e.theme.colors.hero};
4
4
  max-width: 100%;
5
5
  overflow: hidden;
@@ -8,7 +8,7 @@ import{J as f,V as r,F as m,b as y,o as a,N as w,a as x}from"./index-c9CJIpO5.js
8
8
  display: flex;
9
9
  align-items: center;
10
10
  gap: ${a.sp1};
11
- `,H=o.span`
11
+ `,v=o.span`
12
12
  height: ${a.sp1};
13
13
  width: ${a.sp1};
14
14
  background-color: ${e=>e.theme.colors.grey1};