@zeniai/web-cockpit-ui 1.15.44-dev → 1.15.44-qa

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 (219) hide show
  1. package/dist/assets/{ACHDetailsPage-Nw7UKktD-BkNC4e5B.js → ACHDetailsPage-Nw7UKktD-CbINdCNL.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Bi73UpGb-fWDWILJ2.js → AIPerformancePage-Bi73UpGb-CeevT0LO.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-D4R2TjfL-q-EauRk4.js → AccountInfoPage-D4R2TjfL-DMxVOOmZ.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-Dg0u2dUY-CwC-_xBB.js → AccountInfoPageContent-Dg0u2dUY-CeD5j0TS.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-CfkJI6XB-C47nbz46.js → AccountLockedInfoModal-CfkJI6XB-D2gqL8pt.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-YaScsZ9w-naExi3CF.js → AccountReconDetailsDrawerPage-YaScsZ9w-Djegps-h.js} +1 -1
  7. package/dist/assets/{AccountRow-k3PBYMDV-BqvmTgGx.js → AccountRow-k3PBYMDV-Dvqd-0XH.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Bm3kl_kc-CgD_G72F.js → AccountsPromoCardStack-Bm3kl_kc-DRxbGLvy.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-BUlO08En-CebfK0vU.js → AddAddressForCardDrawer-BUlO08En-CoDiHTqb.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-fW711jLQ-BRrd9uh8.js → AddToWalletPage-fW711jLQ-CevBbL06.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BRMI5zyE-DecoJ-JY.js → AgingReportsPage-BRMI5zyE-BcA5lB9f.js} +1 -1
  12. package/dist/assets/{AllUserItems-CJvwVAIJ-BTHbX-kV.js → AllUserItems-CJvwVAIJ-DbhiAOiZ.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-ldAZScyH-BMhKfKFb.js → ApAgingDetailPage-ldAZScyH-DQZi4SWo.js} +1 -1
  14. package/dist/assets/{AppBasePage-BncZeYVM-BmWxuFMK.js → AppBasePage-BncZeYVM-CEOGvPLx.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-nr81m7Yo-B9REx-fp.js → AppDrawerContent-nr81m7Yo-dQ2uEe0J.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-CSEnfHsr-BydIE26A.js → ApprovalRulesSettingsPage-CSEnfHsr-CIGCC-Rx.js} +1 -1
  17. package/dist/assets/{ArAgingChart-C6JBnoyC-CUJeSTbJ.js → ArAgingChart-C6JBnoyC-CaejaF5M.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-KRxBhwoF-Bs_qr7kj.js → ArAgingDetailPage-KRxBhwoF-BeYMKnOV.js} +1 -1
  19. package/dist/assets/{AttachmentView-BQxK0CVV-CCdx-RAZ.js → AttachmentView-BQxK0CVV-CIwvuk2_.js} +1 -1
  20. package/dist/assets/{BankAccountSection-BNyucHO2-DmJIO1WC.js → BankAccountSection-BNyucHO2-BX6XuNJI.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CXuL4u5y-g-HZT5cn.js → BankAccountWarningSection-CXuL4u5y-xb8Nv7f6.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-CBgj0E9b-D9RluevF.js → BankConnectionsSettingsPage-CBgj0E9b-JNsHPrzU.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DD-o3YCG-aXq3dwDB.js → BillDetailPage-DD-o3YCG-CJp83Jar.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-Dx4q6Dqs-DjDGvRN4.js → BillPayApprovalRuleDetailPage-Dx4q6Dqs-BCErn1As.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CqAUZyDI-F4GaYkgK.js → BillPayApprovalRulesPage-CqAUZyDI-Dm8aACFp.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-BR1pLuKD-40d0wnUv.js → BillPayPromoPage-BR1pLuKD-C4n8f7TP.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-Di_7lbDT-DcNv7Em-.js → BillPaySetUpPage-Di_7lbDT-DCyIX0Sc.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-B8bxR3h2-CrIEihc3.js → BillingSettingsPage-B8bxR3h2-BGTREgcs.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-OlbqCpCz-CYJfmGFY.js → BillsBulkReviewDrawerPage-OlbqCpCz-B_r0Glwm.js} +1 -1
  30. package/dist/assets/{BoxItem-emrYmYE_-COqrZfL4.js → BoxItem-emrYmYE_-CwFOUaxn.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-70_wkxdb-DV1V3U0I.js → BusinessVerificationPage-70_wkxdb-DshLWvsa.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-D0jiyjgP-DrKFcYQ8.js → CardNumberSubText-D0jiyjgP-CCff8bOH.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-Ck68kvKO-btdGd49W.js → CashbackDetailPage-Ck68kvKO-CxNn2hdR.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-3MoXQEkg-CSC4sD6E.js → ChargeCardDetailPage-3MoXQEkg-ClEPttxL.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-C-Ju6BEl-kbouKU1g.js → ChargeCardListPage-C-Ju6BEl-DY6topnH.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-CiKxrzpB-BwvLbNVl.js → ChargeCardListTable-CiKxrzpB-BbzP0c64.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-CQFeSCt3-CSxBUfgn.js → ChargeCardPaymentHistoryPage-CQFeSCt3-D-J0v9m_.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-D9dU6_7j-D1-1DfmI.js → ChargeCardPromoPage-D9dU6_7j-8mQLGpzX.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-D0WrBcxG-ycTOq8L1.js → ChargeCardSetupPage-D0WrBcxG-Cb5qwxNk.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-CJFkaLCd-BumVYv_H.js → ChargeCardStatementsPage-CJFkaLCd-C_z3ZHac.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-Durtx5TN-DwuNGoqA.js → CheckDepositDrawerPage-Durtx5TN-oAHpkm7N.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CCnbdYjk-BPZVqk8_.js → CollapsableReportTable-CCnbdYjk-DKoP19C3.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-g42vPH8W-BxpfMgYr.js → CompanyOfficerDetailsSection-g42vPH8W-C_R96adA.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-B6FYoxyq-BX2GdDcs.js → CompanyPassportCard-B6FYoxyq-DcjLg-Fz.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-rQvYbXt5-CjnUEPux.js → CompanyPassportPage-rQvYbXt5-0SScxwCC.js} +1 -1
  46. package/dist/assets/{CompleteProfile-CcNl1Edy-CEvFMhi-.js → CompleteProfile-CcNl1Edy-ApmQ-pGU.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-DjGWV0IU-CcvGhyUt.js → ConfettiBurst-DjGWV0IU-C1zQdFnO.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DwnbKiER.js → ConstrainedInnerElement-BeIpAPjB-BgunFu74.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-SK5exTt3-BjZ8lvyL.js → CreateOrEditVendorPage-SK5exTt3-CFzjeYM2.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-EtqemOZS-BnapCiVl.js → CreditCardPaymentDrawerPage-EtqemOZS-DQUF2TZv.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-b-bFTgxG-DkRtMPX9.js → CurrencySelectField-b-bFTgxG-DnPbOgVb.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-Dyk4RgRT-uRzB-RK6.js → CustomerOnboardingActivationPage-Dyk4RgRT-DPI4XFV7.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-zKUA5_Db-BeDZXhlX.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-FKQGP-CB-zopx1VE5.js → CustomerOnboardingDetailPageSkeleton-FKQGP-CB-BrbViprQ.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-D3T1ftj7-D6SSHlsp.js → CustomerOnboardingNoStepsPage-D3T1ftj7-qt9u9zsy.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-K68iZ1pc-D0YY7tLm.js → CustomerOnboardingPage-K68iZ1pc-Cq5iSykI.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DZY25kUO-BvycO_p-.js → CustomerOnboardingProductSuitePage-DZY25kUO-C-EbmfPF.js} +1 -1
  58. package/dist/assets/{Dashboard-C0M4vT8O-BYqqEpJb.js → Dashboard-C0M4vT8O-DNm-elox.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-D59wQPy8-DDmWtoIa.js → DashboardReportPage-D59wQPy8-DreW3ieM.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-P0F5PKw_-aKFIlt3u.js → DashboardSidebarBackgroundAnimation-P0F5PKw_-BNraBc-s.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-CZHXtZB5-BEgA4Uyh.js → DepositAccTransactionItem-CZHXtZB5-CiuIUDPN.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-MLtgU8v7-jrThBUmf.js → DepositAccTransactionListPage-MLtgU8v7-Cg-fkeie.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-SDNDGGnk-Dpbta2A4.js → DomesticWireDetailsPage-SDNDGGnk-Dqjb36yN.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-CW7nP_gr-Gu43ShKI.js → DownloadOverlay-CW7nP_gr-D7Wg590a.js} +1 -1
  65. package/dist/assets/{DrawerPage-BdXd2igp-_3hBO89m.js → DrawerPage-BdXd2igp-CUqtq7hx.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-DXaFGpmI-CZHUuWvz.js → EditPeoplePage-DXaFGpmI-CneeMCcv.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-Ds8TT5V_-WG75tTc9.js → EditReimbursementDetailPage-Ds8TT5V_-AlLy3GaP.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-Crf3l24d-BrN0JRJE.js → EntityDetailPage-Crf3l24d-DA7_jTvl.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-BNvGG3d6-BgSlIoO3.js → EntitySummarySection-BNvGG3d6-Bm0tfb1w.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Dpd7fWT8-CJNhgI1p.js → ExpenseAutomationOverviewPage-Dpd7fWT8-BAzRVn_b.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-CWAMORJA-CALJ7ezd.js → ExpenseAutomationPage-CWAMORJA-LeZbE6yN.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-B_jJBRS3-CqeRUh4h.js → ExpressPayPage-B_jJBRS3-CU7lCwT3.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-CkiCr5FY-YcKqVNJz.js → FeaturePreviewPage-CkiCr5FY-GbbR5kFY.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-D4hhP5Ns-Dhgeeir0.js → FollowStepsSection-D4hhP5Ns-CkLlLIyd.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-CXTY3EgT-DdtNEjtj.js → GlobalReviewListPage-CXTY3EgT-BsuINSFy.js} +1 -1
  76. package/dist/assets/{InformationCardStack-L_DUxY4M-D8FPjAw-.js → InformationCardStack-L_DUxY4M-982LNuNI.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-BkHzx-Ku-CGbiVWHq.js → InsightsCardStack-BkHzx-Ku-BVXIyQv6.js} +1 -1
  78. package/dist/assets/{InsightsSection-BPznqBDz-CK20z1Lb.js → InsightsSection-BPznqBDz-DlEO7UyY.js} +1 -1
  79. package/dist/assets/{IntegrationsSettingsPage-Cd1Rx9sO-CrFZOF4B.js → IntegrationsSettingsPage-Cd1Rx9sO-y0SCAAew.js} +1 -1
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-D9MjWari-b7e10eXN.js → InternationalWireSwiftDetailsPage-D9MjWari-CemazEMI.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-DkLS_bpy-CU7ACyPQ.js → InternationalWireVerificationPage-DkLS_bpy-BIFU3pDe.js} +1 -1
  82. package/dist/assets/{InviteFormPage-DuMgV0Gj-COrTi430.js → InviteFormPage-DuMgV0Gj-DODfdFLN.js} +1 -1
  83. package/dist/assets/{InvitePageListView-C8FmzWUR-C8XzfhVF.js → InvitePageListView-C8FmzWUR-C4aDW7jy.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-DGPvMvBJ-Ce-6b38B.js → InvitePeoplePage-DGPvMvBJ-DdGMbqFr.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-CdYXqUHS-DdkPj4w6.js → InvoiceUploadSection-CdYXqUHS-Doc5ZPtO.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-BSakJkYv-CIpGjR5J.js → IssueChargeCardPage-BSakJkYv-Db2QM2V4.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-7ZW0Bp2--B1g9_ntb.js → LabeledAddressValue-7ZW0Bp2--D8LN5s8s.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-D8dreD-P-CutCad_f.js → LabeledAddressValueField-D8dreD-P-DOSe9KgK.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-Dk2m4oDh-DQ1UIi3x.js → LabeledControlledCheckBoxField-Dk2m4oDh-BtyyplQe.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-CBp07VjV-BFYchWVu.js → LabeledCountryMultiSelectField-CBp07VjV-CKcwGcmq.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-B_esaKIM-BMEYFLNo.js → LabeledCreatableSingleSelectField-B_esaKIM-CB5JtDOX.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-nN1pbnDm-DRXhEc0D.js → LabeledDocumentField-nN1pbnDm-3tbi_wPT.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-BI8tGUij-WgkzFxD0.js → LabeledDropDownFormattedTextField-BI8tGUij-Blr6F_i2.js} +1 -1
  94. package/dist/assets/{LabeledText-DyYv9nNM-Rx5E4rTb.js → LabeledText-DyYv9nNM-BJkP723u.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BoJDAYsP-ISocjwDg.js → LabeledUserSingleSelectWithSubtitlesField-BoJDAYsP-BJ1ZDzFo.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-B7n0GmSV-aaT1wrjI.js → LabeledZeniRolesDropDownField-B7n0GmSV-CVtcFLag.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-BRHWap1M-B6jJFTGs.js → LinkJETransactionPage-BRHWap1M-Cr5uuyvp.js} +1 -1
  98. package/dist/assets/{LockCardPage-3evJXNUe-DEvsvIXw.js → LockCardPage-3evJXNUe-_dDZQw-O.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-6cIv7QGI-Cdkp97a-.js → LowBalancePopup-6cIv7QGI-DewIya0i.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-Dqnd8OaJ-CNFVgD0s.js → MagicLinkACHDetailsPage-Dqnd8OaJ-DnMkqv5m.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-o3R74kSf-CTFJDugq.js → MagicLinkDomesticWireDetailsPage-o3R74kSf-B0Feaihd.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-8w78T_Tq-CaVecplo.js → MagicLinkInternationalWireDetailsPage-8w78T_Tq-C2TWcmWz.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-dnU4ZBPE-m6Lhs6Op.js → MagicLinkSuccessPage-dnU4ZBPE-DR2N-81Q.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-BaWqmY8Y-DpNPE-31.js → MagicLinkTitleSection-BaWqmY8Y-D9StYWm_.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-9K9M3nSH-QXKTdG6h.js → MailingDetailsSection-9K9M3nSH-CFG3Nztt.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-DkE_cUdA-B5nqcQf6.js → MyBankConnectionsSettingsPage-DkE_cUdA-CnEMv7v6.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-X64-wbJV-CjppeSVJ.js → MyPendingActivationChargeCardListPage-X64-wbJV-C8P_LXKU.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-ZFBRBkeF-P3LdxTas.js → MyProfileSettingsPage-ZFBRBkeF-C8UPebsB.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-CFd6K3KH-BauUMxnD.js → NavBarWithPicker-CFd6K3KH-ChDNFPuB.js} +1 -1
  110. package/dist/assets/{NavigationArrow-CJ3RPyfe-DBdDojnz.js → NavigationArrow-CJ3RPyfe-CXiHHDpJ.js} +1 -1
  111. package/dist/assets/{NavigationDots-D4COr3-8-BoU1J180.js → NavigationDots-D4COr3-8-RbOM6IGA.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-CwrkgMXG-CLtkOvtX.js → NewGlobalMerchantPage-CwrkgMXG-BC9W99qB.js} +1 -1
  113. package/dist/assets/{NoDataChart-DpQy-slq-ChCRHiVL.js → NoDataChart-DpQy-slq-Bz-imW0R.js} +1 -1
  114. package/dist/assets/{NoDataTable-Dvgptxms-ken8n7Gv.js → NoDataTable-Dvgptxms-B3sH4J2P.js} +1 -1
  115. package/dist/assets/{NotFoundPage-BTdYSpRB-DzcaBauu.js → NotFoundPage-BTdYSpRB-DYAJCqc1.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-hF48Xjil-DO4vgNZR.js → NotificationSettingsPage-hF48Xjil-CIh_DIob.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-CTlXqNw7-Cgmm35uA.js → NotificationsListConfig-CTlXqNw7-BT9Xb4aN.js} +1 -1
  118. package/dist/assets/{NotificationsPage-odaAtDv9-B6vik02n.js → NotificationsPage-odaAtDv9-aYCbOsii.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-CwfT-ykE-xwieXP3i.js → OpExByVendorPage-CwfT-ykE-D5PsK11a.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-lZh11hHV.js → OverlayContainerPage-D4QU0p4o-AfEXTKEx.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-BzMdJxuM-CW9al9Hz.js → PandLWithForecastPage-BzMdJxuM-Ch5kom3v.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CDPrK0IE-Bj86EDR9.js → PaymentAccountSetupBillingAddressSection-CDPrK0IE-NshiOF5x.js} +1 -1
  123. package/dist/assets/{PeoplePage-D_str2r1-UsQAXDF3.js → PeoplePage-D_str2r1-Bw7HSR-S.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-CPh6jfEO-DETwqGwx.js → ProductsCarousel-CPh6jfEO-JgnIicfa.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-Dl2VCjhb-rYH3pV0i.js → PromoBaseCards-Dl2VCjhb-CSHNn-UH.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-B3Ph_e2z-_atibkwZ.js → QBOConnectionDialog-B3Ph_e2z-B7faE8GI.js} +1 -1
  127. package/dist/assets/{QBOSetupSection-Dg-ZcGH4-CLd5XL5k.js → QBOSetupSection-Dg-ZcGH4-cKZGmX21.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Djt5y4oN-BC_IHAVg.js → ReimbursementApprovalRuleDetailPage-Djt5y4oN-B-svCLn7.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRulesPage-CiJJjcFu-CunJ2bVS.js → ReimbursementApprovalRulesPage-CiJJjcFu-CscfbDPc.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-C7jzaWRr-BtyMwCn9.js → ReimbursementDetailPage-C7jzaWRr-BWkUtHha.js} +1 -1
  131. package/dist/assets/{ReimbursementPromoPage-CPVzzNRs-HEHlPAqh.js → ReimbursementPromoPage-CPVzzNRs-ilz4q6Q8.js} +1 -1
  132. package/dist/assets/{ReimbursementSetUpPage-BtOQPkaY-026y2WyP.js → ReimbursementSetUpPage-BtOQPkaY-2gTLm_WH.js} +1 -1
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-oy12qHl7-Bxrw7vlM.js → ReimbursementsBulkReviewDrawerPage-oy12qHl7-PrzZrFrd.js} +1 -1
  134. package/dist/assets/{ReloadCard-C7JwMWXw-Cvj7koCQ.js → ReloadCard-C7JwMWXw-DfQLuO68.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-zuExZvaR-CuH-HEtv.js → ReportTableViewSelector-zuExZvaR-gqab7hTZ.js} +1 -1
  136. package/dist/assets/{ReportsPage-DZpovmcV-CxO7Ay0j.js → ReportsPage-DZpovmcV-WXVU1J-h.js} +1 -1
  137. package/dist/assets/{RevenueChart-ez6wj7cc-DsS332Fh.js → RevenueChart-ez6wj7cc-1i8cV-3j.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-CSPg-7hy-BBEucee7.js → ReviewDetailsPage-CSPg-7hy-DxDD97Uw.js} +1 -1
  139. package/dist/assets/{ReviewOverlay-CCHslqz--CZdRxBdf.js → ReviewOverlay-CCHslqz--CChc5Hkc.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-vpx07PDQ-lGN6cB4F.js → RoleWithToolTip-vpx07PDQ-CzBevkwW.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DcTMG4tX-kAkxwz74.js → ScheduleDetailsFixedAssetsPage-DcTMG4tX-BO5wZAHH.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsPage-Bxq5fYyw-ByraafRE.js → ScheduleDetailsPage-Bxq5fYyw-DYZjtizX.js} +1 -1
  143. package/dist/assets/{ScheduleSequenceTable-DZ4vlDs--pwUjwjkR.js → ScheduleSequenceTable-DZ4vlDs--3QfhL4Ik.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-DADRt3m9.js → ScreenRoutes-De38TSs0.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-8mYaeWwd-DgrolkOV.js → SetUpAccountSection-8mYaeWwd-cHF53zCD.js} +1 -1
  146. package/dist/assets/{SignIn-D8cZWP_m-zJWSuXYX.js → SignIn-D8cZWP_m-DepmVwmo.js} +1 -1
  147. package/dist/assets/{SignInScreen-DRfU3UD9.js → SignInScreen-CHjdNVu3.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-VfZLwPVN-sElZkBgS.js → SpendManagementListViewPage-VfZLwPVN-Cb33XwEo.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-BYvhmmSc-BoQt5fMQ.js → SpendManagementPerTabPage-BYvhmmSc-yibAox8O.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-CCoM_Cxv-CkVjYk2a.js → SpendManagementSection-CCoM_Cxv-oiUeG-Bg.js} +1 -1
  151. package/dist/assets/{StatementItem-eSR1knfw-B9s34jxc.js → StatementItem-eSR1knfw-BNoD932L.js} +1 -1
  152. package/dist/assets/{StatementsPage-DLjSMQ19-Czeo_Ttx.js → StatementsPage-DLjSMQ19-DVKBA71c.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-qPOjXUSo-CGzUIx1d.js → StatusSwitcher-qPOjXUSo-rWEQ57at.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-CaSibFBm-RaOxS7Pn.js → SubTabSwitcher-CaSibFBm-CLEO-ZmF.js} +1 -1
  155. package/dist/assets/{SummaryCard-BsvJatQs-CjLjCcVs.js → SummaryCard-BsvJatQs-C5s1zzog.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-DEF0fOcP-BxFiNe5X.js → TaskManagementPage-DEF0fOcP-CG1CHU3Z.js} +1 -1
  157. package/dist/assets/{TimeRangeSwitcher-CfMkQvYF-CiannF9n.js → TimeRangeSwitcher-CfMkQvYF-CKPlDYn9.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-D8BZqgLE-BTtCyPkd.js → TimeframeSwitcher-D8BZqgLE-Bmkkyxvu.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-CtsW3T5I-Bzp6YXDJ.js → TimeframeSwitcherWithToggle-CtsW3T5I-T2cpF8QC.js} +1 -1
  160. package/dist/assets/{TopExCard-B9J8lGLo-B30R7u2A.js → TopExCard-B9J8lGLo-BkcDbDXT.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-BD1I7eRD-DJwR7TZd.js → TopExDetailPage-BD1I7eRD-vrLl5P2X.js} +1 -1
  162. package/dist/assets/{TransactionActivityLogPage-8wO9Ge26-CscduFE0.js → TransactionActivityLogPage-8wO9Ge26-DV6Rcktv.js} +1 -1
  163. package/dist/assets/{TransactionDetailPage-Bg2WIamD-DFJfYPF-.js → TransactionDetailPage-Bg2WIamD-jMReJW-v.js} +1 -1
  164. package/dist/assets/{TransactionList-Df0ONSNP-YajUB1tB.js → TransactionList-Df0ONSNP-DX9njCID.js} +1 -1
  165. package/dist/assets/{TransactionListBig-Ds4Qi0V4-BTiJtrsL.js → TransactionListBig-Ds4Qi0V4-Cl0fu1b8.js} +1 -1
  166. package/dist/assets/{TransactionListPage-kj-3e5OW-HWj3Mfcy.js → TransactionListPage-kj-3e5OW-C4vDv_rn.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-BuEX1oP3-Bo0z6TbP.js → TransactionVendorDetailPage-BuEX1oP3-V_G2NXJ9.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-C52xyV5d-kY6aeXNg.js → TransferDrawerPage-C52xyV5d-RRG8Mqzt.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-BCCkSArK-DMCpyOsl.js → TreasuryOverviewPage-BCCkSArK-BlxUv5Cw.js} +1 -1
  170. package/dist/assets/{TreasuryPromoPage-vXhlCR_E-BZjuyryw.js → TreasuryPromoPage-vXhlCR_E-Bbr6095Z.js} +1 -1
  171. package/dist/assets/{TreasuryStatementsPage-BlrEtckW-CvkQwg1B.js → TreasuryStatementsPage-BlrEtckW-BRWY-8gd.js} +1 -1
  172. package/dist/assets/{TreasuryTaxLetterPage-Ry0VzYnZ-HEWOtnH3.js → TreasuryTaxLetterPage-Ry0VzYnZ-BKNKXLxl.js} +1 -1
  173. package/dist/assets/{TrendChart-CHHzmjv2-Z1hhrqX1.js → TrendChart-CHHzmjv2-uk3SfMEt.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-DwaY27f2-DpPg53YC.js → TrendWithTransactions-DwaY27f2-D0TToBhb.js} +1 -1
  175. package/dist/assets/{UncategorizedAccountsMappingPage-C8k9PzrN-BtUWAI2y.js → UncategorizedAccountsMappingPage-C8k9PzrN-D44VLRX8.js} +1 -1
  176. package/dist/assets/{UnitIntegrationPage-C8kaN2M_-C9KPkw2-.js → UnitIntegrationPage-C8kaN2M_-nnxvDUfj.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-DI_ggkf1-DE8vz5Cd.js → UploadAdditionalDocumentOverlay-DI_ggkf1-CpXLxjQN.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-CFubwXdL-DCQTvV0z.js → Vendor2FAPopup-CFubwXdL-Cw6YRDit.js} +1 -1
  179. package/dist/assets/{VendorACHDetailsPage-Cgpbjg2Q-CWJCAejj.js → VendorACHDetailsPage-Cgpbjg2Q-BNOjO1ks.js} +1 -1
  180. package/dist/assets/{VendorDetailPage-BYaJXinH-DUPwtiyr.js → VendorDetailPage-BYaJXinH-7ooLLtGB.js} +1 -1
  181. package/dist/assets/{VendorDomesticWireDetailsPage-C44ZvJ_s-CM6ieHfN.js → VendorDomesticWireDetailsPage-C44ZvJ_s-BByoyw8l.js} +1 -1
  182. package/dist/assets/{VendorFiling1099EditablePage-C5jYzHb1-C2mNpfNu.js → VendorFiling1099EditablePage-C5jYzHb1-B69jyTE2.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-D9O9ZrEo-DOoJTpGj.js → VendorFirstReviewPage-D9O9ZrEo-CiMuMivY.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-B_plx9rY-B5vOg7i2.js → VendorInternationalWireDetailsPage-B_plx9rY-CdmezmlN.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DumD421h-CK-xdBEU.js → VendorInternationalWireSwiftDetailsPage-DumD421h-BwATBdHU.js} +1 -1
  186. package/dist/assets/{VendorsAccountsSection-BE9NN7j2-M2MOrj0H.js → VendorsAccountsSection-BE9NN7j2-CnRja8Et.js} +1 -1
  187. package/dist/assets/{VerifyDevice-CHhkhIiR-CN-EcPav.js → VerifyDevice-CHhkhIiR-BTxOd7yE.js} +1 -1
  188. package/dist/assets/{VideoPlayer-Dp4LYdDK-BIrhMJBd.js → VideoPlayer-Dp4LYdDK-syQrryrp.js} +1 -1
  189. package/dist/assets/{VideoPopup-Kq2Ny4qb-GkudTuD5.js → VideoPopup-Kq2Ny4qb-DoY2JrY7.js} +1 -1
  190. package/dist/assets/{WarningsDrawerPage-BaJGWils-DFY_x5GH.js → WarningsDrawerPage-BaJGWils-CM_0aNkA.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-CqeawFzU-pmL8pPeq.js → ZeniAccountDetailPage-CqeawFzU-CeepvbeI.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-BC7znv-z-NELgzow8.js → ZeniAccountListViewPage-BC7znv-z-DEHzMlRI.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-BEekGYF8-5MGMMXj0.js → ZeniAccountNavBarPieces-BEekGYF8-BktWtCkN.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-BD61iMJM-AywKP4VO.js → ZeniAccountPromoPage-BD61iMJM-C_Jpjkpy.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-CIUArIFg-CEZLAy_L.js → ZeniAccountSetupPage-CIUArIFg-BmVPkmBg.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-CHWlGjTG-KN0tcU8W.js → ZeniCopyright-CHWlGjTG-CXoUxF-F.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-DNmKLIDa-C2yxsdzh.js → ZeniTransferAmountSlider-DNmKLIDa-D6AWjoOg.js} +1 -1
  198. package/dist/assets/{analyticsHelper-BpNAOx5Q.js → analyticsHelper-BeZ2Nm0W.js} +1 -1
  199. package/dist/assets/{analyticsHelper-BlzRkKZg-B2LkgvA8.js → analyticsHelper-BlzRkKZg-pgUj98wC.js} +1 -1
  200. package/dist/assets/{chartTypes-Bg8wCCJo-ByGBP7Kx.js → chartTypes-Bg8wCCJo-bSuTy86z.js} +1 -1
  201. package/dist/assets/{commonDimensions-TCgIgcIo-SwaPAAMP.js → commonDimensions-TCgIgcIo-CS6F3qma.js} +1 -1
  202. package/dist/assets/{commonTypes-B2dNLPs8-LssZrp5i.js → commonTypes-B2dNLPs8-D2JwDUzk.js} +1 -1
  203. package/dist/assets/{detailCommon-dFjFrXPn-CuohGWbm.js → detailCommon-dFjFrXPn-Dwmi27U8.js} +1 -1
  204. package/dist/assets/{downloadPdf-CLYXLTga-F4u05EfU.js → downloadPdf-CLYXLTga-CSvrIE6L.js} +1 -1
  205. package/dist/assets/{helper-84lLR0pR-CHNdYDIc.js → helper-84lLR0pR-C2a91osG.js} +1 -1
  206. package/dist/assets/{index-C0Qk6Z4T.js → index-C-i3Bwr-.js} +5 -5
  207. package/dist/assets/{mapLoadingInProgressToTreeNode-zhLf08J--DqyjwjpN.js → mapLoadingInProgressToTreeNode-zhLf08J--D61NQlpM.js} +1 -1
  208. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-xo9yV2zx-D-t0QvXH.js → mapSectionWithAcOnlyToTreeNode-xo9yV2zx-CNrjFYRy.js} +1 -1
  209. package/dist/assets/{mapSpacerToTreeNode-DAN6wWZH-BjKhXkVS.js → mapSpacerToTreeNode-DAN6wWZH-oguPQWUu.js} +1 -1
  210. package/dist/assets/{mapTimeframeBalancesToTreeNode-Bj58shsO-DZ9mWHDZ.js → mapTimeframeBalancesToTreeNode-Bj58shsO-C-EAWqLy.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-C9qIIDvL-cwYb-_mq.js → mapTimeframeBalancesToTreeNode-C9qIIDvL-lbI07xEi.js} +1 -1
  212. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-COGO4zaM-DoXO862U.js → mapTimeframeHeaderLoadingInProgressToTreeNode-COGO4zaM-CAOpNiL6.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-DG5oSoAT-DB2kfV3h.js → toCOABalancesWithID-DG5oSoAT-hRltO6Vl.js} +1 -1
  214. package/dist/assets/{toChartData-DG9EtlOy-C--iJHXH.js → toChartData-DG9EtlOy-CXUH2TOF.js} +1 -1
  215. package/dist/assets/{uploadAttachment-Btwmohbb-BIEOFcgm.js → uploadAttachment-Btwmohbb-CmwoulTI.js} +1 -1
  216. package/dist/assets/{uploadReceipts-Dge0cNF1-Z9hpH5GP.js → uploadReceipts-Dge0cNF1-BWfPFqbG.js} +1 -1
  217. package/dist/index.html +1 -1
  218. package/package.json +1 -1
  219. package/dist/assets/CustomerOnboardingContainerPage-zKUA5_Db-BYTNjhXO.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u as l,o as i,x,jt as De,cf as Oe,ju as X,ac as B,b5 as Be,cw as Ae,i$ as Me,bQ as Ne,aV as He,an as W,dy as j,h4 as Z,aQ as K,bV as We,cy as Ee,bT as Ve,ao as N,cC as J,p as $,h5 as pe,fV as me,fR as ge,ck as Ke,ak as F,iQ as ue,bO as _e,jv as Fe,j7 as Ye,cF as Ue,aX as z,j8 as Ze,j9 as Qe}from"./index-C0Qk6Z4T.js";import{a as S,P as Q}from"./sentry-DNdJk61Y.js";import{n,c as q}from"./mui-_BiizxEu.js";import{t as Ge}from"./SpendManagementSection-CCoM_Cxv-CkVjYk2a.js";import{r as Xe,a as Je,i as ye,g as qe}from"./SpendManagementListViewPage-VfZLwPVN-sElZkBgS.js";import{ck as xe,GY as fe}from"./zeni-epic-state-BkKyof9Q.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-C_0tBgXa.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";import"./StatusSwitcher-qPOjXUSo-CGzUIx1d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="526385ba-e149-4618-9b5b-9fae2c5c5087",e._sentryDebugIdIdentifier="sentry-dbid-526385ba-e149-4618-9b5b-9fae2c5c5087")}catch{}})();const E=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,tt={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},it={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},nt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},ot={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},at={key:"amount",value:E.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},we=()=>[tt,it,nt,ot,at],P={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ze,Qe)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=_(),r=H(),[d,g]=S.useState(we());S.useEffect(()=>{const s=[...d];for(const m of s)m.key===o.sortKey?m.sortOrder=o.sortOrder:m.sortOrder="ascending";g(s)},[o.sortKey,o.sortOrder]);const y=(s,m)=>{let C=m;o.sortKey===s&&(C=m==="ascending"?"descending":"ascending"),c(s,C)},h=d.find(s=>s.key===o.sortKey)??d[0],p=s=>d.find(m=>m.key===s)?.value??"",u=d.map(s=>s.key),b=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return r==="small"?t.jsxs(ct,{windowSize:r,children:[t.jsxs(mt,{children:[t.jsx(ut,{children:t.jsx(gt,{})}),t.jsx(Ve,{title:b.header.paymentDate,placeholder:b.header.paymentDate,pickerValues:u,valueToLabel:p,selectedValue:o.sortKey,onPickerSelectionChanged:s=>{y(s,"ascending")},optionTextStyle:I.extraSmallRegular,titleTextStyle:I.extraSmallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.grey4})]}),t.jsxs(ft,{onClick:()=>y(h.key,h.sortOrder),"data-testid":B("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(J,{})})})]})]}):t.jsx(dt,{windowSize:r,children:t.jsx(lt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(ht,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(xt,{onClick:()=>y(s.key,s.sortOrder),"data-testid":B("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(J,{})})})]}),t.jsx(yt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(pt,{onClick:()=>y("paymentDate","ascending"),"data-testid":B("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=Q.memo(st),dt=n.div`
1
+ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u as l,o as i,x,jt as De,cf as Oe,ju as X,ac as B,b5 as Be,cw as Ae,i$ as Me,bQ as Ne,aV as He,an as W,dy as j,h4 as Z,aQ as K,bV as We,cy as Ee,bT as Ve,ao as N,cC as J,p as $,h5 as pe,fV as me,fR as ge,ck as Ke,ak as F,iQ as ue,bO as _e,jv as Fe,j7 as Ye,cF as Ue,aX as z,j8 as Ze,j9 as Qe}from"./index-C-i3Bwr-.js";import{a as S,P as Q}from"./sentry-DNdJk61Y.js";import{n,c as q}from"./mui-_BiizxEu.js";import{t as Ge}from"./SpendManagementSection-CCoM_Cxv-oiUeG-Bg.js";import{r as Xe,a as Je,i as ye,g as qe}from"./SpendManagementListViewPage-VfZLwPVN-Cb33XwEo.js";import{ck as xe,GY as fe}from"./zeni-epic-state-BkKyof9Q.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-C_0tBgXa.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";import"./StatusSwitcher-qPOjXUSo-rWEQ57at.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="526385ba-e149-4618-9b5b-9fae2c5c5087",e._sentryDebugIdIdentifier="sentry-dbid-526385ba-e149-4618-9b5b-9fae2c5c5087")}catch{}})();const E=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,tt={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},it={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},nt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},ot={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},at={key:"amount",value:E.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},we=()=>[tt,it,nt,ot,at],P={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ze,Qe)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=_(),r=H(),[d,g]=S.useState(we());S.useEffect(()=>{const s=[...d];for(const m of s)m.key===o.sortKey?m.sortOrder=o.sortOrder:m.sortOrder="ascending";g(s)},[o.sortKey,o.sortOrder]);const y=(s,m)=>{let C=m;o.sortKey===s&&(C=m==="ascending"?"descending":"ascending"),c(s,C)},h=d.find(s=>s.key===o.sortKey)??d[0],p=s=>d.find(m=>m.key===s)?.value??"",u=d.map(s=>s.key),b=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return r==="small"?t.jsxs(ct,{windowSize:r,children:[t.jsxs(mt,{children:[t.jsx(ut,{children:t.jsx(gt,{})}),t.jsx(Ve,{title:b.header.paymentDate,placeholder:b.header.paymentDate,pickerValues:u,valueToLabel:p,selectedValue:o.sortKey,onPickerSelectionChanged:s=>{y(s,"ascending")},optionTextStyle:I.extraSmallRegular,titleTextStyle:I.extraSmallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.grey4})]}),t.jsxs(ft,{onClick:()=>y(h.key,h.sortOrder),"data-testid":B("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(J,{})})})]})]}):t.jsx(dt,{windowSize:r,children:t.jsx(lt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(ht,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(xt,{onClick:()=>y(s.key,s.sortOrder),"data-testid":B("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(J,{})})})]}),t.jsx(yt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(pt,{onClick:()=>y("paymentDate","ascending"),"data-testid":B("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=Q.memo(st),dt=n.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as ve,fy as ze,a as Y,ac as ee,b as oe,o as t,e as Pe,h as G,cG as ke,as as Ae,x as u,ar as Ie,bV as Be,iU as Le,ak as Re,u as p,c as S,p as C,bc as _e,aW as Me,iV as Ee}from"./index-C0Qk6Z4T.js";import{a as T}from"./sentry-DNdJk61Y.js";import{n as a,c as De,k as Fe}from"./mui-_BiizxEu.js";import{Fw as Ue}from"./zeni-epic-state-BkKyof9Q.js";import{k as Ne}from"./NavigationDots-D4COr3-8-BoU1J180.js";import{J as V,N as H}from"./PromoBaseCards-Dl2VCjhb-rYH3pV0i.js";import{M as R}from"./usp-line-BBd1wKwW-qHMqNnBh.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.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]="44b6bddf-0b38-4a0f-81a7-dbb79c9d24cb",e._sentryDebugIdIdentifier="sentry-dbid-44b6bddf-0b38-4a0f-81a7-dbb79c9d24cb")}catch{}})();const g={containerPaddingTopBottom:new u(p[0],p[0]),uspContainerMarginX:new u(p[6],p[0]),midContainerGap:new u(p[4],84),iconContainerMinHeight:new u(236,396),emptySectionHeight:new u(p[6],43),navigationBottom:new u(p[4],94),navigationLeft:new u(192,244),carouselHeight:new u(268,396),carouselMarginTop:new u(54,p[4]),carouselMarginLeft:new u(120,p[12]),buttonTrayGap:new u(p[3],p[5]),termsOfAgreementMarginTop:new u(p[5],p[10]),contactAdminContainerMarginTop:new u(p[0],p[10]),contactAdminContainerMarginBottom:new u(p[4],p[0]),contactAdminContainerMarginLeftRight:new u(p[3],p[0])},v={promoBadgeText:new S("standardRegular","largeRegular"),promoBadgeTextBold:new S("standardBold","largeBold"),cardsContent:new S("extraSmallRegular","smallRegular"),contactAdmin:new S("extraSmallRegular","largeRegular"),uspText:new S("smallRegular","standardRegular"),uspBoldText:new S("smallMedium","standardMedium")},{common:U,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),_r=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:n,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:x,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:J,onExpressInterestClick:ge})=>{const he=O(),W=ye(),z=$(),Z=$e().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:b,companyLocaleInfo:M}=i,X=je(_?.fetchStatus.fetchState),[ue,Q]=T.useState(!1),xe=()=>{Z.trackCardsPromoPageClicked("schedule demo"),Z.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:x,isCreditCardEnabled:w},"Cards Promo"),Q(!0)},we=b!=null&&M!=null?Se("0,0",{amount:b.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;T.useEffect(()=>{X==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&J()},[X,J,_?.fetchStatus]);const q=Ue(W.loggedInUserRoleMap),fe=Te(W),E=f==="credit"&&b?.isCompanyInterestedInChargeCard===!1&&b.chargeCardsCreditAccountLimit===0,D=f==="credit"&&b?.isCompanyInterestedInChargeCard===!0&&b.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&b?.isCompanyInterestedInChargeCard===!0&&b.chargeCardsCreditAccountLimit===0,be=f==="credit"&&b?.isCompanyInterestedInChargeCard===!0&&b.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:Ce}=i,K=E?o.getPreApprovedNow:n?o.enableCardsButton:o.setupCardsButton;return r.jsxs(We,{children:[r.jsx(ve,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:z==="medium-compact"||z==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),ue===!0?r.jsx(ze,{onCancelClick:()=>{Q(!1)},meetingUrl:e}):null,r.jsx(qe,{windowSize:z,children:q===!0?r.jsxs(Qe,{children:[r.jsxs(Xe,{children:[r.jsx(He,{isApproved:be,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:b?.chargeCardsCreditAccountLimit}),r.jsx(ne,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ae,{showEnableCardButton:n,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Oe,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),q&&!(F||D)?r.jsxs(or,{windowSize:z,children:[r.jsx(Y,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:xe,"data-testid":ee("schedule-demo-button")}),r.jsx(Ze,{windowSize:z,children:o.orText}),r.jsx(Y,{variant:"primary",label:K,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||Ce==="In-Progress",onClick:K===o.getPreApprovedNow?ge:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},Ve=({admins:e})=>{const s=e.flatMap(n=>n.user?.firstName+" "+n.user?.lastName).join(", "),i=$();return r.jsxs(mr,{windowSize:i,children:[r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Be,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(N,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ae=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:n,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const x=$();return r.jsx(ir,{windowSize:x,children:r.jsx(Le,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:n===!0||c===!0||h===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&n===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(x)},cardPromoType:e,isCheckingEnabled:i})})},He=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:n,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const x=$(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,j=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(rr,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,U.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):n?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:x==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ye,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:x,children:[n||c||m?null:r.jsx(Cr,{}),r.jsx(er,{windowSize:x,children:j})]})]})},Oe=({companyLegalName:e,cards:s,admins:i,cashbackRate:n,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const x=$(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[x==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(pr,{windowSize:x}):r.jsx(Ge,{cards:s,companyLegalName:e}),r.jsx(ne,{cardPromoType:m,cashbackRate:n}),c?null:r.jsx(Ve,{admins:i}),r.jsx(ae,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Ge=({cards:e,companyLegalName:s})=>{const i=O(),n=$();let c="",m;if(e.length===1){m=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;c=o.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else c=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(hr,{children:[m!=null?r.jsx(Ke,{width:t.sp5,height:t.sp5,style:{paddingTop:n==="small"?t.sp1:t.sp0},src:m.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ie},loading:"lazy"}):null,r.jsx(gr,{windowSize:n,mode:i.mode,children:r.jsx(ur,{windowSize:n,children:c})})]})},re=({windowSize:e,cardPromoType:s})=>{let i=o.businessText;return s==="debit"&&(i=`${i} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Je,{}):r.jsxs(nr,{windowSize:e,children:[r.jsx(V,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(H,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ne=({cardPromoType:e,cashbackRate:s})=>{const i=$(),n=o.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(ar,{windowSize:i,children:[r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(lr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item1.pre}),r.jsx(I,{windowSize:i,children:n.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(y,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?n.singleStarred:""}${n.item1.post}`})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(sr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item2.pre}),r.jsx(I,{windowSize:i,children:n.item2.bold}),r.jsx(y,{windowSize:i,children:n.item2.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(cr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item3.pre}),r.jsx(I,{windowSize:i,children:n.item3.bold}),r.jsx(y,{windowSize:i,children:n.item3.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(dr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item4.pre}),r.jsx(I,{windowSize:i,children:n.item4.bold}),r.jsx(y,{windowSize:i,children:n.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Je=()=>{const e=$(),s=O(),[i,n]=T.useState(0),[c,m]=T.useState(!1),h=o.businessText,x=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:x},{id:2,cardType:"debit",cardText:x},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{n(l=>{const d=l+1;return d===w.length?(m(!0),0):d})},2e3)),()=>clearInterval(k)),[c,w.length]),T.useEffect(()=>{c&&k!=null&&clearInterval(k)},[c]);const j=(l,d)=>{switch((l-i+w.length)%w.length){case 0:return{transform:`translate(0,${d?"100%":0}) scale(1)`,zIndex:d?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${d?"80%":"5%"}) scale(0.75)`,zIndex:d?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};default:return}},P=l=>{const d=j(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},f=l=>{c||m(!0),n(l)};return r.jsxs(xr,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:w.map((l,d)=>r.jsxs(fr,{children:[r.jsx(ie,{isReflection:!1,style:{...j(d,!1)},onClick:()=>f(d),children:d===0||d===2?r.jsx(V,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(V,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),c&&r.jsx(Ne,{numberOfDots:w.length,activeIndex:i,handleClick:n,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},We=a.div`
1
+ import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as ve,fy as ze,a as Y,ac as ee,b as oe,o as t,e as Pe,h as G,cG as ke,as as Ae,x as u,ar as Ie,bV as Be,iU as Le,ak as Re,u as p,c as S,p as C,bc as _e,aW as Me,iV as Ee}from"./index-C-i3Bwr-.js";import{a as T}from"./sentry-DNdJk61Y.js";import{n as a,c as De,k as Fe}from"./mui-_BiizxEu.js";import{Fw as Ue}from"./zeni-epic-state-BkKyof9Q.js";import{k as Ne}from"./NavigationDots-D4COr3-8-RbOM6IGA.js";import{J as V,N as H}from"./PromoBaseCards-Dl2VCjhb-CSHNn-UH.js";import{M as R}from"./usp-line-BBd1wKwW-qHMqNnBh.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.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]="44b6bddf-0b38-4a0f-81a7-dbb79c9d24cb",e._sentryDebugIdIdentifier="sentry-dbid-44b6bddf-0b38-4a0f-81a7-dbb79c9d24cb")}catch{}})();const g={containerPaddingTopBottom:new u(p[0],p[0]),uspContainerMarginX:new u(p[6],p[0]),midContainerGap:new u(p[4],84),iconContainerMinHeight:new u(236,396),emptySectionHeight:new u(p[6],43),navigationBottom:new u(p[4],94),navigationLeft:new u(192,244),carouselHeight:new u(268,396),carouselMarginTop:new u(54,p[4]),carouselMarginLeft:new u(120,p[12]),buttonTrayGap:new u(p[3],p[5]),termsOfAgreementMarginTop:new u(p[5],p[10]),contactAdminContainerMarginTop:new u(p[0],p[10]),contactAdminContainerMarginBottom:new u(p[4],p[0]),contactAdminContainerMarginLeftRight:new u(p[3],p[0])},v={promoBadgeText:new S("standardRegular","largeRegular"),promoBadgeTextBold:new S("standardBold","largeBold"),cardsContent:new S("extraSmallRegular","smallRegular"),contactAdmin:new S("extraSmallRegular","largeRegular"),uspText:new S("smallRegular","standardRegular"),uspBoldText:new S("smallMedium","standardMedium")},{common:U,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),_r=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:n,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:x,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:J,onExpressInterestClick:ge})=>{const he=O(),W=ye(),z=$(),Z=$e().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:b,companyLocaleInfo:M}=i,X=je(_?.fetchStatus.fetchState),[ue,Q]=T.useState(!1),xe=()=>{Z.trackCardsPromoPageClicked("schedule demo"),Z.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:x,isCreditCardEnabled:w},"Cards Promo"),Q(!0)},we=b!=null&&M!=null?Se("0,0",{amount:b.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;T.useEffect(()=>{X==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&J()},[X,J,_?.fetchStatus]);const q=Ue(W.loggedInUserRoleMap),fe=Te(W),E=f==="credit"&&b?.isCompanyInterestedInChargeCard===!1&&b.chargeCardsCreditAccountLimit===0,D=f==="credit"&&b?.isCompanyInterestedInChargeCard===!0&&b.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&b?.isCompanyInterestedInChargeCard===!0&&b.chargeCardsCreditAccountLimit===0,be=f==="credit"&&b?.isCompanyInterestedInChargeCard===!0&&b.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:Ce}=i,K=E?o.getPreApprovedNow:n?o.enableCardsButton:o.setupCardsButton;return r.jsxs(We,{children:[r.jsx(ve,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:z==="medium-compact"||z==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),ue===!0?r.jsx(ze,{onCancelClick:()=>{Q(!1)},meetingUrl:e}):null,r.jsx(qe,{windowSize:z,children:q===!0?r.jsxs(Qe,{children:[r.jsxs(Xe,{children:[r.jsx(He,{isApproved:be,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:b?.chargeCardsCreditAccountLimit}),r.jsx(ne,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ae,{showEnableCardButton:n,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Oe,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),q&&!(F||D)?r.jsxs(or,{windowSize:z,children:[r.jsx(Y,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:xe,"data-testid":ee("schedule-demo-button")}),r.jsx(Ze,{windowSize:z,children:o.orText}),r.jsx(Y,{variant:"primary",label:K,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||Ce==="In-Progress",onClick:K===o.getPreApprovedNow?ge:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},Ve=({admins:e})=>{const s=e.flatMap(n=>n.user?.firstName+" "+n.user?.lastName).join(", "),i=$();return r.jsxs(mr,{windowSize:i,children:[r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Be,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(N,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ae=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:n,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const x=$();return r.jsx(ir,{windowSize:x,children:r.jsx(Le,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:n===!0||c===!0||h===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&n===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(x)},cardPromoType:e,isCheckingEnabled:i})})},He=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:n,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const x=$(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,j=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(rr,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,U.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):n?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:x==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ye,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:x,children:[n||c||m?null:r.jsx(Cr,{}),r.jsx(er,{windowSize:x,children:j})]})]})},Oe=({companyLegalName:e,cards:s,admins:i,cashbackRate:n,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const x=$(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[x==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(pr,{windowSize:x}):r.jsx(Ge,{cards:s,companyLegalName:e}),r.jsx(ne,{cardPromoType:m,cashbackRate:n}),c?null:r.jsx(Ve,{admins:i}),r.jsx(ae,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Ge=({cards:e,companyLegalName:s})=>{const i=O(),n=$();let c="",m;if(e.length===1){m=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;c=o.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else c=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(hr,{children:[m!=null?r.jsx(Ke,{width:t.sp5,height:t.sp5,style:{paddingTop:n==="small"?t.sp1:t.sp0},src:m.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ie},loading:"lazy"}):null,r.jsx(gr,{windowSize:n,mode:i.mode,children:r.jsx(ur,{windowSize:n,children:c})})]})},re=({windowSize:e,cardPromoType:s})=>{let i=o.businessText;return s==="debit"&&(i=`${i} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Je,{}):r.jsxs(nr,{windowSize:e,children:[r.jsx(V,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(H,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ne=({cardPromoType:e,cashbackRate:s})=>{const i=$(),n=o.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(ar,{windowSize:i,children:[r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(lr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item1.pre}),r.jsx(I,{windowSize:i,children:n.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(y,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?n.singleStarred:""}${n.item1.post}`})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(sr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item2.pre}),r.jsx(I,{windowSize:i,children:n.item2.bold}),r.jsx(y,{windowSize:i,children:n.item2.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(cr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item3.pre}),r.jsx(I,{windowSize:i,children:n.item3.bold}),r.jsx(y,{windowSize:i,children:n.item3.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(dr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item4.pre}),r.jsx(I,{windowSize:i,children:n.item4.bold}),r.jsx(y,{windowSize:i,children:n.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Je=()=>{const e=$(),s=O(),[i,n]=T.useState(0),[c,m]=T.useState(!1),h=o.businessText,x=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:x},{id:2,cardType:"debit",cardText:x},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{n(l=>{const d=l+1;return d===w.length?(m(!0),0):d})},2e3)),()=>clearInterval(k)),[c,w.length]),T.useEffect(()=>{c&&k!=null&&clearInterval(k)},[c]);const j=(l,d)=>{switch((l-i+w.length)%w.length){case 0:return{transform:`translate(0,${d?"100%":0}) scale(1)`,zIndex:d?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${d?"80%":"5%"}) scale(0.75)`,zIndex:d?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};default:return}},P=l=>{const d=j(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},f=l=>{c||m(!0),n(l)};return r.jsxs(xr,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:w.map((l,d)=>r.jsxs(fr,{children:[r.jsx(ie,{isReflection:!1,style:{...j(d,!1)},onClick:()=>f(d),children:d===0||d===2?r.jsx(V,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(V,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),c&&r.jsx(Ne,{numberOfDots:w.length,activeIndex:i,handleClick:n,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},We=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{y as je,J as Oe,a9 as Ue,aS as M,aa as Be,cI as _e,aX as G,V as t,fg as $e,p as ze,x as d,bE as Le,L as Re,ae as We,fz as Ne,dS as qe,fA as He,o as B,w as Me,iW as J,by as Ge,aT as Je,fC as Qe,b as Xe,u as o,an as Ye}from"./index-C0Qk6Z4T.js";import{a as f}from"./sentry-DNdJk61Y.js";import{n as w}from"./mui-_BiizxEu.js";import{bJ as Ke}from"./zeni-epic-state-BkKyof9Q.js";import{x as Ze}from"./LabeledControlledCheckBoxField-Dk2m4oDh-DQ1UIi3x.js";import{g as et}from"./UploadAdditionalDocumentOverlay-DI_ggkf1-DE8vz5Cd.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.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]="fe0ba188-8b1f-48fe-a5bf-41e3c6bdc06f",e._sentryDebugIdIdentifier="sentry-dbid-fe0ba188-8b1f-48fe-a5bf-41e3c6bdc06f")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,o[5],o[5]),sectionRowGap:new d(o[5],o[9],o[9]),iconWidthHeight:new d(20,o[4]),subTitlePaddingTop:new d(12,o[3]),subTitlePaddingBottom:new d(o[3],o[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(o[1],o[0])},Q="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Xe.getLocalizedStrings(),{chargeCard:K}=nt,{chargeCardSetUp:g}=K,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:r,meetingUrl:x,isEarlyPayEnabled:h,chargeCardSetUpView:a,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:ae,onFetchLinkTokenClick:oe,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:de,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:me,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:xe})=>{const y=je(),i=Oe(),E=Ue().analytics,[A,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:$,isRefreshingViewInBackground:Pe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:z,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:L}=a,R=M(C),k=M(u.fetchState),V=Be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>X(a),[a]),values:X(a)}),ve=V.handleSubmit(se),Ee=async(S,T)=>{const n=T[m];if(S.includes(m))if(S.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=L.find(U=>U.id===n.fundingAccount.selectedOption);p!=null&&pe(n.fundingAccount.selectedOption,p.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const p=n.account.allOptions.find(U=>U.value===n.account.selectedOption);p!=null&&typeof p.label=="string"&&E.trackConnectBankLink(p.value,p.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else S.includes("enableAutoPay")&&n.enableAutoPay!=null&&fe(n.enableAutoPay)};f.useEffect(()=>{const S=V.watch((T,{name:n})=>{n!=null&&T!=null&&_e(()=>Ee(n,T))});return()=>{S.unsubscribe()}}),f.useEffect(()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),A&&R==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,R]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const D=I?.isChargeCardEnabled===!0,F=z?.isDebitCardEnabled===!0,W=z?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=$?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ke(l?.providerVerificationStatus?.code??""),j=v?q:q&&Ie,Ve=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const O=v?j&&!F&&W:ie?j&&!D&&N:j&&!(D&&F)&&N&&W,De=O?g.setupSubTitleNotEnabled:g.setupSubTitle,H=y.mode==="light"?new G(y.colors.brandColorJadeLight):new G(y.colors.brandColorJadeDark),Fe=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):de?.()};return t.jsxs(at,{children:[t.jsx($e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor:ze.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:u,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:we})}),t.jsx(Le,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!D&&!F&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(ot,{windowSize:i,children:De}),Ve?t.jsx(ct,{children:t.jsx(Re,{size:"ExtraLarge",start:!0})}):t.jsx(We,{...V,children:t.jsx("form",{id:Y(Q),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Ne,{onClick:Fe,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:$?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:L,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:m,isDisabled:r,onFetchLinkTokenClick:oe,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:me,icon:{element:t.jsx(Ge,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:xe,pageName:g.pageName,accountsPromoConfig:ae,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:K.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:J(m,"enableAutoPay"),checkBoxValue:J(m,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Je,{formId:Y(Q),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Qe,{isFooterRendered:O,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},X=e=>{const{allBankAccounts:r,allFundingAccounts:x,primaryFundingAccount:h}=e;return{[m]:{fundingAccount:{selectedOption:h?.id,allOptions:x.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(a=>({label:a.accountName,value:a.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},Y=e=>`${e}_form`,it=w.div`
1
+ import{y as je,J as Oe,a9 as Ue,aS as M,aa as Be,cI as _e,aX as G,V as t,fg as $e,p as ze,x as d,bE as Le,L as Re,ae as We,fz as Ne,dS as qe,fA as He,o as B,w as Me,iW as J,by as Ge,aT as Je,fC as Qe,b as Xe,u as o,an as Ye}from"./index-C-i3Bwr-.js";import{a as f}from"./sentry-DNdJk61Y.js";import{n as w}from"./mui-_BiizxEu.js";import{bJ as Ke}from"./zeni-epic-state-BkKyof9Q.js";import{x as Ze}from"./LabeledControlledCheckBoxField-Dk2m4oDh-BtyyplQe.js";import{g as et}from"./UploadAdditionalDocumentOverlay-DI_ggkf1-CpXLxjQN.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.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]="fe0ba188-8b1f-48fe-a5bf-41e3c6bdc06f",e._sentryDebugIdIdentifier="sentry-dbid-fe0ba188-8b1f-48fe-a5bf-41e3c6bdc06f")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,o[5],o[5]),sectionRowGap:new d(o[5],o[9],o[9]),iconWidthHeight:new d(20,o[4]),subTitlePaddingTop:new d(12,o[3]),subTitlePaddingBottom:new d(o[3],o[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(o[1],o[0])},Q="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Xe.getLocalizedStrings(),{chargeCard:K}=nt,{chargeCardSetUp:g}=K,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:r,meetingUrl:x,isEarlyPayEnabled:h,chargeCardSetUpView:a,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:ae,onFetchLinkTokenClick:oe,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:de,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:me,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:xe})=>{const y=je(),i=Oe(),E=Ue().analytics,[A,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:$,isRefreshingViewInBackground:Pe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:z,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:L}=a,R=M(C),k=M(u.fetchState),V=Be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>X(a),[a]),values:X(a)}),ve=V.handleSubmit(se),Ee=async(S,T)=>{const n=T[m];if(S.includes(m))if(S.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=L.find(U=>U.id===n.fundingAccount.selectedOption);p!=null&&pe(n.fundingAccount.selectedOption,p.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const p=n.account.allOptions.find(U=>U.value===n.account.selectedOption);p!=null&&typeof p.label=="string"&&E.trackConnectBankLink(p.value,p.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else S.includes("enableAutoPay")&&n.enableAutoPay!=null&&fe(n.enableAutoPay)};f.useEffect(()=>{const S=V.watch((T,{name:n})=>{n!=null&&T!=null&&_e(()=>Ee(n,T))});return()=>{S.unsubscribe()}}),f.useEffect(()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),A&&R==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,R]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const D=I?.isChargeCardEnabled===!0,F=z?.isDebitCardEnabled===!0,W=z?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=$?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ke(l?.providerVerificationStatus?.code??""),j=v?q:q&&Ie,Ve=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const O=v?j&&!F&&W:ie?j&&!D&&N:j&&!(D&&F)&&N&&W,De=O?g.setupSubTitleNotEnabled:g.setupSubTitle,H=y.mode==="light"?new G(y.colors.brandColorJadeLight):new G(y.colors.brandColorJadeDark),Fe=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):de?.()};return t.jsxs(at,{children:[t.jsx($e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor:ze.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:u,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:we})}),t.jsx(Le,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!D&&!F&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(ot,{windowSize:i,children:De}),Ve?t.jsx(ct,{children:t.jsx(Re,{size:"ExtraLarge",start:!0})}):t.jsx(We,{...V,children:t.jsx("form",{id:Y(Q),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Ne,{onClick:Fe,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:$?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:L,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:m,isDisabled:r,onFetchLinkTokenClick:oe,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:me,icon:{element:t.jsx(Ge,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:xe,pageName:g.pageName,accountsPromoConfig:ae,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:K.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:J(m,"enableAutoPay"),checkBoxValue:J(m,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Je,{formId:Y(Q),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Qe,{isFooterRendered:O,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},X=e=>{const{allBankAccounts:r,allFundingAccounts:x,primaryFundingAccount:h}=e;return{[m]:{fundingAccount:{selectedOption:h?.id,allOptions:x.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(a=>({label:a.accountName,value:a.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},Y=e=>`${e}_form`,it=w.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{y as F,J as N,V as t,bE as W,o as h,b as R,x as g,an as B,bb as O,a9 as V,hU as _,L as J,ac as U,u as s,c5 as q}from"./index-C0Qk6Z4T.js";import{n as r}from"./mui-_BiizxEu.js";import{$ as Z,g as G}from"./BoxItem-emrYmYE_-COqrZfL4.js";import{a as H}from"./sentry-DNdJk61Y.js";import{w as K}from"./downloadPdf-CLYXLTga-F4u05EfU.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./zeni-epic-state-BkKyof9Q.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";import"./commonDimensions-TCgIgcIo-SwaPAAMP.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]="79fd1e8f-71f9-432f-8337-434932b72ba9",e._sentryDebugIdIdentifier="sentry-dbid-79fd1e8f-71f9-432f-8337-434932b72ba9")}catch{}})();const Y=R.getLocalizedStrings().months,D={downloadButtonSize:new g(s[4],20)},Q=r.div`
1
+ import{y as F,J as N,V as t,bE as W,o as h,b as R,x as g,an as B,bb as O,a9 as V,hU as _,L as J,ac as U,u as s,c5 as q}from"./index-C-i3Bwr-.js";import{n as r}from"./mui-_BiizxEu.js";import{$ as Z,g as G}from"./BoxItem-emrYmYE_-CwFOUaxn.js";import{a as H}from"./sentry-DNdJk61Y.js";import{w as K}from"./downloadPdf-CLYXLTga-CSvrIE6L.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./zeni-epic-state-BkKyof9Q.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";import"./commonDimensions-TCgIgcIo-CS6F3qma.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]="79fd1e8f-71f9-432f-8337-434932b72ba9",e._sentryDebugIdIdentifier="sentry-dbid-79fd1e8f-71f9-432f-8337-434932b72ba9")}catch{}})();const Y=R.getLocalizedStrings().months,D={downloadButtonSize:new g(s[4],20)},Q=r.div`
2
2
  display: flex;
3
3
  padding: ${h.sp3} ${h.sp4};
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{J as Z,V as t,ac as $,hS as pe,aQ as M,a as Y,o,aT as he,x as n,d as ee,h as ue,b as oe,bb as me,e as te,ak as ge,an as F,aS as fe,aa as xe,cI as ke,p as b,ae as De,gh as $e,cN as be,eY as G,cV as W,u as s,ft as we,ck as ye,c2 as je,f5 as Se,h4 as Pe,ao as q,h5 as Le}from"./index-C0Qk6Z4T.js";import{a as k}from"./sentry-DNdJk61Y.js";import{n as a}from"./mui-_BiizxEu.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./zeni-epic-state-BkKyof9Q.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="f66f674a-b902-4d81-a510-8c600a6a69cb",e._sentryDebugIdIdentifier="sentry-dbid-f66f674a-b902-4d81-a510-8c600a6a69cb")}catch{}})();const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",V="selectDocument",E=e=>{const c=[];return e.checkFront!=null&&c.push(e.checkFront.fileId),e.checkBack!=null&&c.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(f=>({label:f.accountName,value:f.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:c,[V]:{front:e.checkFront,back:e.checkBack}}}},D=(e,c)=>`${e}.${c}`,Be=e=>`${e}_form`,u={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(s[3],s[4]),checkPicRowContentPaddingXAxis:new n(s[3],s[4]),labeleMarginLeft:new n(s[0],s[0]),labeleMarginBottom:new n(s[2],s[0]),labelMarginRight:new n(s[3],s[3]),labeledFieldPaddingLeft:new n(s[3],s[0]),labeledFieldPaddingRight:new n(s[3],s[2]),labeledFieldPaddingTop:new n(s[3],s[3]),labeledFieldPaddingBottom:new n(s[3],s[2]),infoLabelPaddingRight:new n(s[0],s[3]),infoLabelMarginTop:new n(s[1],s[0])},{spendManagement:ze,common:R}=oe.getLocalizedStrings(),l=ze.zeniAccounts.zeniAccountList,Ae=R.documents;function Ie({checkDeposit:e,analytics:c,filesEndPoint:f,openPopup:w,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:S,onEditFileName:P,onCheckDpositClick:T}){const r=Z(),d=e.fetchState,L=fe(d),[v,_]=k.useState(!1),[se,B]=k.useState(!1),z=u.largeLabelWidth.value(r),x=xe({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=x.formState,J=i=>{const p={amount:{amount:i[g].amount??0,currencyCode:R.currency.currencyCode,currencySymbol:R.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(p)},ce=async(i,p)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},p);J(h)}};k.useEffect(()=>{const i=x.watch((p,{name:h})=>{h!=null&&p!=null&&ke(()=>ce(h,p))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{L==="Completed"&&d==="Not-Started"&&x.reset(E(e))},[L,d,x,e]),k.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const le=x.handleSubmit(()=>{if(re){c.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=x.getValues();J(i),T?.()}}),ne=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Re,{color:Pe(A),isSelectedValue:p}):null},de=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?p===!0?t.jsx(Ve,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(H,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(H,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(_e,{children:[t.jsx(Ye,{}),t.jsxs(Ge,{children:[t.jsx(We,{children:e.error?.title}),t.jsx(He,{children:e.error?.message})]})]}),t.jsx(Je,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{c.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:b.heroLight}})})]})}):null,t.jsx(Qe,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...x,children:t.jsx("form",{id:Be(ve),onSubmit:le,children:t.jsxs(Ke,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:l.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:l.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(be,{label:{label:l.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:l.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Xe,{label:{label:l.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,p)=>ne(i,p),valueToSubLabels:(i,p)=>de(i,p),name:D(g,"depositTo"),placeholder:l.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Ue,{size:r,children:[t.jsxs(Ze,{size:r,children:[t.jsx(Ee,{children:l.checkDepositDrawer.checkPicLabel}),t.jsx(Q,{isLast:!1,children:l.checkDepositDrawer.frontSide}),t.jsx(G,{name:`${D(g,V)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:W,placeholderText:r==="small"?l.checkDepositDrawer.uploadDocument:l.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:S,onFileSizeError:i=>_(i),onEditFileName:P,openPopup:w,showPhotoPicker:!0,errorInfoLabel:l.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Q,{isLast:!0,children:l.checkDepositDrawer.backSide}),t.jsx(G,{name:`${D(g,V)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:W,placeholderText:r==="small"?l.checkDepositDrawer.uploadDocument:l.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:S,onFileSizeError:i=>_(i),onEditFileName:P,openPopup:w,showPhotoPicker:!0,errorInfoLabel:l.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:l.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
1
+ import{J as Z,V as t,ac as $,hS as pe,aQ as M,a as Y,o,aT as he,x as n,d as ee,h as ue,b as oe,bb as me,e as te,ak as ge,an as F,aS as fe,aa as xe,cI as ke,p as b,ae as De,gh as $e,cN as be,eY as G,cV as W,u as s,ft as we,ck as ye,c2 as je,f5 as Se,h4 as Pe,ao as q,h5 as Le}from"./index-C-i3Bwr-.js";import{a as k}from"./sentry-DNdJk61Y.js";import{n as a}from"./mui-_BiizxEu.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./zeni-epic-state-BkKyof9Q.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="f66f674a-b902-4d81-a510-8c600a6a69cb",e._sentryDebugIdIdentifier="sentry-dbid-f66f674a-b902-4d81-a510-8c600a6a69cb")}catch{}})();const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",V="selectDocument",E=e=>{const c=[];return e.checkFront!=null&&c.push(e.checkFront.fileId),e.checkBack!=null&&c.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(f=>({label:f.accountName,value:f.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:c,[V]:{front:e.checkFront,back:e.checkBack}}}},D=(e,c)=>`${e}.${c}`,Be=e=>`${e}_form`,u={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(s[3],s[4]),checkPicRowContentPaddingXAxis:new n(s[3],s[4]),labeleMarginLeft:new n(s[0],s[0]),labeleMarginBottom:new n(s[2],s[0]),labelMarginRight:new n(s[3],s[3]),labeledFieldPaddingLeft:new n(s[3],s[0]),labeledFieldPaddingRight:new n(s[3],s[2]),labeledFieldPaddingTop:new n(s[3],s[3]),labeledFieldPaddingBottom:new n(s[3],s[2]),infoLabelPaddingRight:new n(s[0],s[3]),infoLabelMarginTop:new n(s[1],s[0])},{spendManagement:ze,common:R}=oe.getLocalizedStrings(),l=ze.zeniAccounts.zeniAccountList,Ae=R.documents;function Ie({checkDeposit:e,analytics:c,filesEndPoint:f,openPopup:w,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:S,onEditFileName:P,onCheckDpositClick:T}){const r=Z(),d=e.fetchState,L=fe(d),[v,_]=k.useState(!1),[se,B]=k.useState(!1),z=u.largeLabelWidth.value(r),x=xe({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=x.formState,J=i=>{const p={amount:{amount:i[g].amount??0,currencyCode:R.currency.currencyCode,currencySymbol:R.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(p)},ce=async(i,p)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},p);J(h)}};k.useEffect(()=>{const i=x.watch((p,{name:h})=>{h!=null&&p!=null&&ke(()=>ce(h,p))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{L==="Completed"&&d==="Not-Started"&&x.reset(E(e))},[L,d,x,e]),k.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const le=x.handleSubmit(()=>{if(re){c.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=x.getValues();J(i),T?.()}}),ne=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Re,{color:Pe(A),isSelectedValue:p}):null},de=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?p===!0?t.jsx(Ve,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(H,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(H,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(_e,{children:[t.jsx(Ye,{}),t.jsxs(Ge,{children:[t.jsx(We,{children:e.error?.title}),t.jsx(He,{children:e.error?.message})]})]}),t.jsx(Je,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{c.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:b.heroLight}})})]})}):null,t.jsx(Qe,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...x,children:t.jsx("form",{id:Be(ve),onSubmit:le,children:t.jsxs(Ke,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:l.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:l.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(be,{label:{label:l.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:l.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Xe,{label:{label:l.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,p)=>ne(i,p),valueToSubLabels:(i,p)=>de(i,p),name:D(g,"depositTo"),placeholder:l.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Ue,{size:r,children:[t.jsxs(Ze,{size:r,children:[t.jsx(Ee,{children:l.checkDepositDrawer.checkPicLabel}),t.jsx(Q,{isLast:!1,children:l.checkDepositDrawer.frontSide}),t.jsx(G,{name:`${D(g,V)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:W,placeholderText:r==="small"?l.checkDepositDrawer.uploadDocument:l.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:S,onFileSizeError:i=>_(i),onEditFileName:P,openPopup:w,showPhotoPicker:!0,errorInfoLabel:l.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Q,{isLast:!0,children:l.checkDepositDrawer.backSide}),t.jsx(G,{name:`${D(g,V)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:W,placeholderText:r==="small"?l.checkDepositDrawer.uploadDocument:l.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:S,onFileSizeError:i=>_(i),onEditFileName:P,openPopup:w,showPhotoPicker:!0,errorInfoLabel:l.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:l.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Ne=a(F)`
4
4
  color: ${e=>e.theme.colors.hero};
@@ -1,4 +1,4 @@
1
- import{V as t,b5 as _o,ac as x,bP as fe,aQ as U,dp as $o,o as s,p as X,aS as bn,J as O,aG as kn,aA as Lo,dq as jn,dr as Ao,b as B,u as w,ds as Qn,dt as zt,du as Tt,cd as Vt,dv as Dt,x as V,d4 as Rt,ay as Jn,ab as ot,cp as ze,bR as K,L as Bo,y as le,aX as L,b1 as Zn,dw as Xn,ap as Me,dx as Wo,dy as ae,cc as Gt,c1 as Sn,ak as Oo,ao as be,dz as rt,dA as Ie,dB as lt,an as C,ck as ne,dC as Mo,w as Et,dD as Ue,dE as Cn,dF as vn,dG as Io,dH as No,bb as ei,aY as T,b8 as Po,cC as Ht,cB as Kt,dI as Fo,b9 as ti,cF as ni,bT as zo,dJ as To,dK as _n,dL as $n,dM as Vo,dN as Do,bV as Ro,bM as Go,dO as Eo}from"./index-C0Qk6Z4T.js";import{n as a,c as F}from"./mui-_BiizxEu.js";import{a as I,P as Ho}from"./sentry-DNdJk61Y.js";import{FH as Yt,Gb as Ut,Gc as Te,Gd as qt,Ge as Qt,Gf as Jt,Gg as Zt,Gh as ii,Gi as Ko,FU as bt,FI as Ve,bm as Ln,bg as oi,Gj as ri,Gk as Yo,bo as Uo,FV as ai}from"./zeni-epic-state-BkKyof9Q.js";import{D as ct,R as qo,A as Qo,E as ke,u as _}from"./AccountRow-k3PBYMDV-BqvmTgGx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="586f9147-0e78-41fe-bd37-2c3c4409750d",e._sentryDebugIdIdentifier="sentry-dbid-586f9147-0e78-41fe-bd37-2c3c4409750d")}catch{}})();function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Z(e){return U("0,0",e?.forecast)}function li(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function _t(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function ce(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return fe("0.00%",Math.floor(n*100)/100)}else return fe("0.00%",void 0)}function se(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ci(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return fe("0.00%",Math.floor(n*100)/100)}else return fe("0.00%",void 0)}function si(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const De=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=B.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${bt(o,l.MMMYYYYFormat,e)}`:kt(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${B.getLocalizedStrings().reports.quarterPrefix}${bt(o,l.QYYYYformat,e)}`:kt(r,i);case"year":return r==="default"||r==="default_with_percent"?`${bt(o,l.YYYYformat,e)}`:kt(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function kt(e,n){return B.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const wp=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${$o(10)}`},Jo=a.div`
1
+ import{V as t,b5 as _o,ac as x,bP as fe,aQ as U,dp as $o,o as s,p as X,aS as bn,J as O,aG as kn,aA as Lo,dq as jn,dr as Ao,b as B,u as w,ds as Qn,dt as zt,du as Tt,cd as Vt,dv as Dt,x as V,d4 as Rt,ay as Jn,ab as ot,cp as ze,bR as K,L as Bo,y as le,aX as L,b1 as Zn,dw as Xn,ap as Me,dx as Wo,dy as ae,cc as Gt,c1 as Sn,ak as Oo,ao as be,dz as rt,dA as Ie,dB as lt,an as C,ck as ne,dC as Mo,w as Et,dD as Ue,dE as Cn,dF as vn,dG as Io,dH as No,bb as ei,aY as T,b8 as Po,cC as Ht,cB as Kt,dI as Fo,b9 as ti,cF as ni,bT as zo,dJ as To,dK as _n,dL as $n,dM as Vo,dN as Do,bV as Ro,bM as Go,dO as Eo}from"./index-C-i3Bwr-.js";import{n as a,c as F}from"./mui-_BiizxEu.js";import{a as I,P as Ho}from"./sentry-DNdJk61Y.js";import{FH as Yt,Gb as Ut,Gc as Te,Gd as qt,Ge as Qt,Gf as Jt,Gg as Zt,Gh as ii,Gi as Ko,FU as bt,FI as Ve,bm as Ln,bg as oi,Gj as ri,Gk as Yo,bo as Uo,FV as ai}from"./zeni-epic-state-BkKyof9Q.js";import{D as ct,R as qo,A as Qo,E as ke,u as _}from"./AccountRow-k3PBYMDV-Dvqd-0XH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="586f9147-0e78-41fe-bd37-2c3c4409750d",e._sentryDebugIdIdentifier="sentry-dbid-586f9147-0e78-41fe-bd37-2c3c4409750d")}catch{}})();function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Z(e){return U("0,0",e?.forecast)}function li(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function _t(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function ce(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return fe("0.00%",Math.floor(n*100)/100)}else return fe("0.00%",void 0)}function se(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ci(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return fe("0.00%",Math.floor(n*100)/100)}else return fe("0.00%",void 0)}function si(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const De=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=B.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${bt(o,l.MMMYYYYFormat,e)}`:kt(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${B.getLocalizedStrings().reports.quarterPrefix}${bt(o,l.QYYYYformat,e)}`:kt(r,i);case"year":return r==="default"||r==="default_with_percent"?`${bt(o,l.YYYYformat,e)}`:kt(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function kt(e,n){return B.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const wp=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${$o(10)}`},Jo=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{J as Ke,y as wl,cM as Sl,b as de,x as D,aS as zl,V as l,bV as Ol,fM as Il,ar as Xe,g6 as el,o as a,gg as Bl,cX as jl,cN as A,cP as Oe,cU as vl,f4 as Ml,f2 as Rl,cS as $l,cQ as J,gh as al,gi as Wl,fE as ql,cV as Ze,fD as ol,cK as Ul,p as z,cR as il,b3 as Ne,cW as Gl,fU as Ll,c as Ve,bM as _l,fL as Cl,an as ll,g5 as El,w as Pe,aq as Hl,bJ as Yl,u as B,dp as Ql,ax as Zl,gj as Jl,ak as tl,ao as Kl,gk as Xl,bK as ke,b7 as et,M as Dl,d2 as lt,av as tt,bI as at}from"./index-C0Qk6Z4T.js";import{a as m}from"./sentry-DNdJk61Y.js";import{a as ot,n as r}from"./mui-_BiizxEu.js";import{bh as Fl,G6 as it,G7 as rl,bL as rt,G5 as st,G4 as nt,G2 as dt,G3 as ct}from"./zeni-epic-state-BkKyof9Q.js";import{x as ut,p as pt,h as mt,g as ht,m as ft,b as gt,f as yt}from"./helper-84lLR0pR-CHNdYDIc.js";import{C as Je}from"./LabeledAddressValueField-D8dreD-P-CutCad_f.js";import{b as bt}from"./LabeledCountryMultiSelectField-CBp07VjV-BFYchWVu.js";import{I as sl}from"./LabeledCreatableSingleSelectField-B_esaKIM-BMEYFLNo.js";import{Y as nl}from"./LabeledDocumentField-nN1pbnDm-DRXhEc0D.js";import{p as xt,i as wt,t as St}from"./commonTypes-B2dNLPs8-LssZrp5i.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="46db61b3-91a8-4ee0-afe6-fe94398d1f25",e._sentryDebugIdIdentifier="sentry-dbid-46db61b3-91a8-4ee0-afe6-fe94398d1f25")}catch{}})();const Ot=e=>m.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},m.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),m.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),m.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),m.createElement("g",{clipPath:"url(#clip0_1350_23850)"},m.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),m.createElement("g",{clipPath:"url(#clip1_1350_23850)"},m.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),m.createElement("g",{clipPath:"url(#clip2_1350_23850)"},m.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),m.createElement("g",{clipPath:"url(#clip3_1350_23850)"},m.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),m.createElement("defs",null,m.createElement("clipPath",{id:"clip0_1350_23850"},m.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),m.createElement("clipPath",{id:"clip1_1350_23850"},m.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),m.createElement("clipPath",{id:"clip2_1350_23850"},m.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),m.createElement("clipPath",{id:"clip3_1350_23850"},m.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:It}=de.getLocalizedStrings(),{businessVerification:dl}=It,je={iconSize:new D(B[6],B[10]),gap:new D(B[2],B[3])},Nl={title:new Ve("smallSemiBold","standardSemiBold"),description:new Ve("smallRegular","standardRegular")},Pl=()=>{const[e]=Zl("Secure"),c=Ke();return l.jsxs(jt,{windowSize:c,children:[e!=null?l.jsx(vt,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx($t,{windowSize:c}),l.jsxs(Lt,{children:[l.jsx(_t,{windowSize:c,children:dl.securityMessageTitle}),l.jsx(Ct,{windowSize:c,children:dl.securityMessageDescription})]})]})},jt=r.div`
1
+ import{J as Ke,y as wl,cM as Sl,b as de,x as D,aS as zl,V as l,bV as Ol,fM as Il,ar as Xe,g6 as el,o as a,gg as Bl,cX as jl,cN as A,cP as Oe,cU as vl,f4 as Ml,f2 as Rl,cS as $l,cQ as J,gh as al,gi as Wl,fE as ql,cV as Ze,fD as ol,cK as Ul,p as z,cR as il,b3 as Ne,cW as Gl,fU as Ll,c as Ve,bM as _l,fL as Cl,an as ll,g5 as El,w as Pe,aq as Hl,bJ as Yl,u as B,dp as Ql,ax as Zl,gj as Jl,ak as tl,ao as Kl,gk as Xl,bK as ke,b7 as et,M as Dl,d2 as lt,av as tt,bI as at}from"./index-C-i3Bwr-.js";import{a as m}from"./sentry-DNdJk61Y.js";import{a as ot,n as r}from"./mui-_BiizxEu.js";import{bh as Fl,G6 as it,G7 as rl,bL as rt,G5 as st,G4 as nt,G2 as dt,G3 as ct}from"./zeni-epic-state-BkKyof9Q.js";import{x as ut,p as pt,h as mt,g as ht,m as ft,b as gt,f as yt}from"./helper-84lLR0pR-C2a91osG.js";import{C as Je}from"./LabeledAddressValueField-D8dreD-P-DOSe9KgK.js";import{b as bt}from"./LabeledCountryMultiSelectField-CBp07VjV-CKcwGcmq.js";import{I as sl}from"./LabeledCreatableSingleSelectField-B_esaKIM-CB5JtDOX.js";import{Y as nl}from"./LabeledDocumentField-nN1pbnDm-3tbi_wPT.js";import{p as xt,i as wt,t as St}from"./commonTypes-B2dNLPs8-D2JwDUzk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="46db61b3-91a8-4ee0-afe6-fe94398d1f25",e._sentryDebugIdIdentifier="sentry-dbid-46db61b3-91a8-4ee0-afe6-fe94398d1f25")}catch{}})();const Ot=e=>m.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},m.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),m.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),m.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),m.createElement("g",{clipPath:"url(#clip0_1350_23850)"},m.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),m.createElement("g",{clipPath:"url(#clip1_1350_23850)"},m.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),m.createElement("g",{clipPath:"url(#clip2_1350_23850)"},m.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),m.createElement("g",{clipPath:"url(#clip3_1350_23850)"},m.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),m.createElement("defs",null,m.createElement("clipPath",{id:"clip0_1350_23850"},m.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),m.createElement("clipPath",{id:"clip1_1350_23850"},m.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),m.createElement("clipPath",{id:"clip2_1350_23850"},m.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),m.createElement("clipPath",{id:"clip3_1350_23850"},m.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:It}=de.getLocalizedStrings(),{businessVerification:dl}=It,je={iconSize:new D(B[6],B[10]),gap:new D(B[2],B[3])},Nl={title:new Ve("smallSemiBold","standardSemiBold"),description:new Ve("smallRegular","standardRegular")},Pl=()=>{const[e]=Zl("Secure"),c=Ke();return l.jsxs(jt,{windowSize:c,children:[e!=null?l.jsx(vt,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx($t,{windowSize:c}),l.jsxs(Lt,{children:[l.jsx(_t,{windowSize:c,children:dl.securityMessageTitle}),l.jsx(Ct,{windowSize:c,children:dl.securityMessageDescription})]})]})},jt=r.div`
2
2
  display: flex;
3
3
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
4
4
  gap: ${e=>je.gap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{V as r,aO as E,aP as x,b as p,o as l,ac as M,aU as w,ak as y,aV as H}from"./index-C0Qk6Z4T.js";import{n as o}from"./mui-_BiizxEu.js";import{c as j}from"./SummaryCard-BsvJatQs-CjLjCcVs.js";import{a as t}from"./sentry-DNdJk61Y.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./zeni-epic-state-BkKyof9Q.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";import"./ReloadCard-C7JwMWXw-Cvj7koCQ.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]="67fc2edd-109c-4565-9d26-2c22debc17cb",e._sentryDebugIdIdentifier="sentry-dbid-67fc2edd-109c-4565-9d26-2c22debc17cb")}catch{}})();const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),D=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),g=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:D},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:v},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],b=o(w)`
1
+ import{V as r,aO as E,aP as x,b as p,o as l,ac as M,aU as w,ak as y,aV as H}from"./index-C-i3Bwr-.js";import{n as o}from"./mui-_BiizxEu.js";import{c as j}from"./SummaryCard-BsvJatQs-C5s1zzog.js";import{a as t}from"./sentry-DNdJk61Y.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./zeni-epic-state-BkKyof9Q.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";import"./ReloadCard-C7JwMWXw-DfQLuO68.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]="67fc2edd-109c-4565-9d26-2c22debc17cb",e._sentryDebugIdIdentifier="sentry-dbid-67fc2edd-109c-4565-9d26-2c22debc17cb")}catch{}})();const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),D=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),g=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:D},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:v},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],b=o(w)`
2
2
  margin: ${l.sp5};
3
3
  justify-content: space-between;
4
4
  `,L=o.div`
@@ -1,4 +1,4 @@
1
- import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct,cJ as Nt,aT as Tt,x as b,cK as ot,cL as kt,d as Lt,o as a,an as be,cM as lt,cN as P,cO as Re,cP as W,cQ as ee,p as T,cR as ge,b3 as ue,cS as st,cT as Pt,cU as Et,cV as it,ay as zt,cW as Vt,cX as nt,cY as At,cZ as _t,c_ as Mt,c$ as Wt,d0 as Bt,bu as Rt,aV as Yt,bb as Q,ak as xe,u as I,a as Ye,d1 as Ut,aG as qt,d2 as Gt,ck as Ht,d3 as Xt,ao as Zt,d4 as Jt}from"./index-C0Qk6Z4T.js";import{a as q,P as Qt}from"./sentry-DNdJk61Y.js";import{n as i,a as Kt,k as ea}from"./mui-_BiizxEu.js";import{G1 as ta,G2 as rt,G3 as dt,G4 as ct,G5 as pt,G6 as ut,bj as mt,G7 as Ne,bL as aa,bh as Te,bC as oa,G8 as la}from"./zeni-epic-state-BkKyof9Q.js";import{I as ft}from"./LabeledCreatableSingleSelectField-B_esaKIM-BMEYFLNo.js";import{Y as ht}from"./LabeledDocumentField-nN1pbnDm-DRXhEc0D.js";import{p as sa,i as ia,t as na}from"./commonTypes-B2dNLPs8-LssZrp5i.js";import{b as ra}from"./LabeledCountryMultiSelectField-CBp07VjV-BFYchWVu.js";import{x as da,f as ca,p as pa,h as ua,m as yt,b as ma,g as fa}from"./helper-84lLR0pR-CHNdYDIc.js";import{$ as gt}from"./LabeledAddressValue-7ZW0Bp2--B1g9_ntb.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.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]="4bfad641-fd9e-456b-becb-08e677d1dbee",e._sentryDebugIdIdentifier="sentry-dbid-4bfad641-fd9e-456b-becb-08e677d1dbee")}catch{}})();const bt={maxWidth:new b(280,340),contentMaxWidth:new b(200,255)},ha=ea`
1
+ import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct,cJ as Nt,aT as Tt,x as b,cK as ot,cL as kt,d as Lt,o as a,an as be,cM as lt,cN as P,cO as Re,cP as W,cQ as ee,p as T,cR as ge,b3 as ue,cS as st,cT as Pt,cU as Et,cV as it,ay as zt,cW as Vt,cX as nt,cY as At,cZ as _t,c_ as Mt,c$ as Wt,d0 as Bt,bu as Rt,aV as Yt,bb as Q,ak as xe,u as I,a as Ye,d1 as Ut,aG as qt,d2 as Gt,ck as Ht,d3 as Xt,ao as Zt,d4 as Jt}from"./index-C-i3Bwr-.js";import{a as q,P as Qt}from"./sentry-DNdJk61Y.js";import{n as i,a as Kt,k as ea}from"./mui-_BiizxEu.js";import{G1 as ta,G2 as rt,G3 as dt,G4 as ct,G5 as pt,G6 as ut,bj as mt,G7 as Ne,bL as aa,bh as Te,bC as oa,G8 as la}from"./zeni-epic-state-BkKyof9Q.js";import{I as ft}from"./LabeledCreatableSingleSelectField-B_esaKIM-CB5JtDOX.js";import{Y as ht}from"./LabeledDocumentField-nN1pbnDm-3tbi_wPT.js";import{p as sa,i as ia,t as na}from"./commonTypes-B2dNLPs8-D2JwDUzk.js";import{b as ra}from"./LabeledCountryMultiSelectField-CBp07VjV-CKcwGcmq.js";import{x as da,f as ca,p as pa,h as ua,m as yt,b as ma,g as fa}from"./helper-84lLR0pR-C2a91osG.js";import{$ as gt}from"./LabeledAddressValue-7ZW0Bp2--D8LN5s8s.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.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]="4bfad641-fd9e-456b-becb-08e677d1dbee",e._sentryDebugIdIdentifier="sentry-dbid-4bfad641-fd9e-456b-becb-08e677d1dbee")}catch{}})();const bt={maxWidth:new b(280,340),contentMaxWidth:new b(200,255)},ha=ea`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -1,4 +1,4 @@
1
- import{aa as $,g$ as V,b as S,V as g,h0 as v,ab as l,an as q,ae as J,cN as _,cX as W,cU as T,o as E,h1 as Z,cS as z,aT as X,e as AA,c4 as gA,h2 as BA}from"./index-C0Qk6Z4T.js";import{a as B,P as c}from"./sentry-DNdJk61Y.js";import{n as o}from"./mui-_BiizxEu.js";import{bh as eA}from"./zeni-epic-state-BkKyof9Q.js";import{$ as EA}from"./LabeledAddressValue-7ZW0Bp2--B1g9_ntb.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="5b743007-f464-4387-b274-14fad562e0da",A._sentryDebugIdIdentifier="sentry-dbid-5b743007-f464-4387-b274-14fad562e0da")}catch{}})();const CA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV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QMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),QA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,fA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:f,onResendOtp:y})=>{const[t,a]=B.useState(!1),[k,Y]=B.useState(!1),I=$({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=V({control:I.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=I.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{f(C,d)},R=C=>{C!=null&&C.trim().length>0&&y(C)},b=()=>{a(!0)},U=()=>{a(!1)},K=()=>{const C=I.getValues(`${m}`);if(C!=null){const d=BA(C);I.setValue(`${Q}.address`,d)}a(!1)},P=I.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(CA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(v,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx(q,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(tA,{children:[g.jsxs(IA,{children:[t&&g.jsx(iA,{onClick:U}),e.completeProfile.title]}),g.jsx(J,{...I,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:t===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(Q,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:b},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:t===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:I.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?K:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
1
+ import{aa as $,g$ as V,b as S,V as g,h0 as v,ab as l,an as q,ae as J,cN as _,cX as W,cU as T,o as E,h1 as Z,cS as z,aT as X,e as AA,c4 as gA,h2 as BA}from"./index-C-i3Bwr-.js";import{a as B,P as c}from"./sentry-DNdJk61Y.js";import{n as o}from"./mui-_BiizxEu.js";import{bh as eA}from"./zeni-epic-state-BkKyof9Q.js";import{$ as EA}from"./LabeledAddressValue-7ZW0Bp2--D8LN5s8s.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="5b743007-f464-4387-b274-14fad562e0da",A._sentryDebugIdIdentifier="sentry-dbid-5b743007-f464-4387-b274-14fad562e0da")}catch{}})();const CA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgM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BEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),QA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,fA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:f,onResendOtp:y})=>{const[t,a]=B.useState(!1),[k,Y]=B.useState(!1),I=$({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=V({control:I.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=I.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{f(C,d)},R=C=>{C!=null&&C.trim().length>0&&y(C)},b=()=>{a(!0)},U=()=>{a(!1)},K=()=>{const C=I.getValues(`${m}`);if(C!=null){const d=BA(C);I.setValue(`${Q}.address`,d)}a(!1)},P=I.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(CA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(v,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx(q,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(tA,{children:[g.jsxs(IA,{children:[t&&g.jsx(iA,{onClick:U}),e.completeProfile.title]}),g.jsx(J,{...I,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:t===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(Q,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:b},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:t===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:I.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?K:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-height: 100vh;
@@ -1 +1 @@
1
- import{d9 as d,ax as f,V as a,b7 as l,o as p}from"./index-C0Qk6Z4T.js";import{a as r}from"./sentry-DNdJk61Y.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./zeni-epic-state-BkKyof9Q.js";import"./mui-_BiizxEu.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0ab9578d-7d13-415e-88a6-96a8d43360ff",e._sentryDebugIdIdentifier="sentry-dbid-0ab9578d-7d13-415e-88a6-96a8d43360ff")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",E=({showConfetti:e})=>{const[t,o]=r.useState(e),[s,i]=d(u,e),[n]=f("ConfettiSuccess");return r.useEffect(()=>{e&&o(!0)},[e]),r.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),a.jsx(a.Fragment,{children:t&&s&&n!=null?a.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:p.sp0,left:p.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{E as default};
1
+ import{d9 as d,ax as f,V as a,b7 as l,o as p}from"./index-C-i3Bwr-.js";import{a as r}from"./sentry-DNdJk61Y.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./zeni-epic-state-BkKyof9Q.js";import"./mui-_BiizxEu.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0ab9578d-7d13-415e-88a6-96a8d43360ff",e._sentryDebugIdIdentifier="sentry-dbid-0ab9578d-7d13-415e-88a6-96a8d43360ff")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",E=({showConfetti:e})=>{const[t,o]=r.useState(e),[s,i]=d(u,e),[n]=f("ConfettiSuccess");return r.useEffect(()=>{e&&o(!0)},[e]),r.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),a.jsx(a.Fragment,{children:t&&s&&n!=null?a.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:p.sp0,left:p.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{E as default};
@@ -1,4 +1,4 @@
1
- import{V as n}from"./index-C0Qk6Z4T.js";import{a as r}from"./sentry-DNdJk61Y.js";import{n as s}from"./mui-_BiizxEu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8c117742-f646-4198-bee3-9e4fd8a5d2d7",e._sentryDebugIdIdentifier="sentry-dbid-8c117742-f646-4198-bee3-9e4fd8a5d2d7")}catch{}})();const i=s.div`
1
+ import{V as n}from"./index-C-i3Bwr-.js";import{a as r}from"./sentry-DNdJk61Y.js";import{n as s}from"./mui-_BiizxEu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8c117742-f646-4198-bee3-9e4fd8a5d2d7",e._sentryDebugIdIdentifier="sentry-dbid-8c117742-f646-4198-bee3-9e4fd8a5d2d7")}catch{}})();const i=s.div`
2
2
  width: auto;
3
3
  max-width: var(--side-panel-list-width, 100%);
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{y as He,J as v,aG as Y,cL as Ye,V as t,bE as Je,ac as $,L as Ge,cs as ie,ct as se,cu as le,d5 as qe,aT as Ke,x as J,b as x,c4 as Ze,o,d6 as Qe,bV as D,ck as de,u as w,b9 as ce,ak as pe,an as q,bv as Xe,d2 as me,d7 as et,p as B,d8 as ue,d1 as he}from"./index-C0Qk6Z4T.js";import{a as b}from"./sentry-DNdJk61Y.js";import{n as r}from"./mui-_BiizxEu.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./zeni-epic-state-BkKyof9Q.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9d2559a4-865d-4baf-bea9-0abfde0ab164",e._sentryDebugIdIdentifier="sentry-dbid-9d2559a4-865d-4baf-bea9-0abfde0ab164")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const g=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,k=t.jsxs(ot,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?et(l.toLowerCase()):l??""})]})]});return t.jsxs(it,{size:g,children:[t.jsxs(nt,{children:[t.jsxs(q,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(D,{title:k,placement:"top",children:t.jsx(lt,{children:t.jsx(dt,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(D,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:C=>{C.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(ct,{})})})})]})},ot=r.div`
1
+ import{y as He,J as v,aG as Y,cL as Ye,V as t,bE as Je,ac as $,L as Ge,cs as ie,ct as se,cu as le,d5 as qe,aT as Ke,x as J,b as x,c4 as Ze,o,d6 as Qe,bV as D,ck as de,u as w,b9 as ce,ak as pe,an as q,bv as Xe,d2 as me,d7 as et,p as B,d8 as ue,d1 as he}from"./index-C-i3Bwr-.js";import{a as b}from"./sentry-DNdJk61Y.js";import{n as r}from"./mui-_BiizxEu.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./zeni-epic-state-BkKyof9Q.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9d2559a4-865d-4baf-bea9-0abfde0ab164",e._sentryDebugIdIdentifier="sentry-dbid-9d2559a4-865d-4baf-bea9-0abfde0ab164")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const g=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,k=t.jsxs(ot,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?et(l.toLowerCase()):l??""})]})]});return t.jsxs(it,{size:g,children:[t.jsxs(nt,{children:[t.jsxs(q,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(D,{title:k,placement:"top",children:t.jsx(lt,{children:t.jsx(dt,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(D,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:C=>{C.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(ct,{})})})})]})},ot=r.div`
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
4
  gap: ${o.sp1};
@@ -1,4 +1,4 @@
1
- import{V as t,J as he,a9 as ye,ac as ae,hE as ea,aQ as aa,a as ta,L as na,aT as ze,o as a,b as K,x as m,d as Me,h as oa,aj as ia,y as Be,bV as ra,fm as _e,c as G,p as J,gv as ce,w as la,as as Oe,e as ca,aS as we,aa as sa,fF as da,cI as ma,ae as pa,f5 as ua,fJ as ha,cP as ya,hP as De,hQ as ga,gh as fa,u as r,c4 as Ca,bb as ba,ft as xa,ck as wa,an as Ne,h4 as Da,c2 as Sa,aW as $a,hR as ka,d2 as Aa,h5 as La,fV as va,fR as Ia}from"./index-C0Qk6Z4T.js";import{n as i}from"./mui-_BiizxEu.js";import{a as p}from"./sentry-DNdJk61Y.js";import{bL as pe,bZ as Fa,bh as Se,bJ as Ra,bK as $e,bI as Ta}from"./zeni-epic-state-BkKyof9Q.js";import{x as Pa}from"./LabeledControlledCheckBoxField-Dk2m4oDh-DQ1UIi3x.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="a079be27-2caa-4ea0-a799-61d69eac3af9",e._sentryDebugIdIdentifier="sentry-dbid-a079be27-2caa-4ea0-a799-61d69eac3af9")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},ue={pageTitle:new G("h6Regular","h5Regular"),integerAmountInput:new G("h5Regular","largeMedium"),decimalAmountInput:new G("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:ke}},common:{edit:ja,labels:se,navBar:{back:Ea},to:za,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=K.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:y,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=he(),S=Be(),v=ye().analytics,[B,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const F=te.largeLabelWidth.value(d),R=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=R?1:3,P=pe(Fa(Se().toDate(),[0,6],T).toDateString()).format(ke),_=R?z.timeline01BusinessDay:z.timeline23BusinessDays,O=R?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",_);return t.jsxs(t.Fragment,{children:[t.jsxs(Xa,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:Ea,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Ae,{children:t.jsx(_e,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:ue.integerAmountInput.styleObject(d),decimalStyles:ue.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",za," ",t.jsx(Ae,{children:Ma})]}),B?t.jsx(Ha,{children:t.jsxs(Va,{children:[t.jsxs(Ga,{children:[t.jsx(Ja,{}),t.jsxs(Ya,{children:[t.jsx(Za,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Ka,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(ce,{label:{label:se.paymentMethod,width:F},text:t.jsx(de,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.sourceAccount,width:F},text:t.jsxs(de,{windowSize:d,children:[We(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.paymentDate,width:F},showAdditionalInfoLabel:!0,additionalInfoLabel:O,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(de,{windowSize:d,children:Se().format(ke)}),style:{width:"auto"}})]})})]}),t.jsx(ze,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:z.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},We=(e,o,h)=>{if(o==="")return t.jsx(st,{});const n=e.find(c=>c.id===o),f=e.findIndex(c=>c.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:h,children:t.jsx(ct,{color:Da(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:h,loading:"lazy"}):t.jsx(it,{isOptionSelected:h,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${va}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(ba)`
1
+ import{V as t,J as he,a9 as ye,ac as ae,hE as ea,aQ as aa,a as ta,L as na,aT as ze,o as a,b as K,x as m,d as Me,h as oa,aj as ia,y as Be,bV as ra,fm as _e,c as G,p as J,gv as ce,w as la,as as Oe,e as ca,aS as we,aa as sa,fF as da,cI as ma,ae as pa,f5 as ua,fJ as ha,cP as ya,hP as De,hQ as ga,gh as fa,u as r,c4 as Ca,bb as ba,ft as xa,ck as wa,an as Ne,h4 as Da,c2 as Sa,aW as $a,hR as ka,d2 as Aa,h5 as La,fV as va,fR as Ia}from"./index-C-i3Bwr-.js";import{n as i}from"./mui-_BiizxEu.js";import{a as p}from"./sentry-DNdJk61Y.js";import{bL as pe,bZ as Fa,bh as Se,bJ as Ra,bK as $e,bI as Ta}from"./zeni-epic-state-BkKyof9Q.js";import{x as Pa}from"./LabeledControlledCheckBoxField-Dk2m4oDh-BtyyplQe.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="a079be27-2caa-4ea0-a799-61d69eac3af9",e._sentryDebugIdIdentifier="sentry-dbid-a079be27-2caa-4ea0-a799-61d69eac3af9")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},ue={pageTitle:new G("h6Regular","h5Regular"),integerAmountInput:new G("h5Regular","largeMedium"),decimalAmountInput:new G("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:ke}},common:{edit:ja,labels:se,navBar:{back:Ea},to:za,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=K.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:y,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=he(),S=Be(),v=ye().analytics,[B,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const F=te.largeLabelWidth.value(d),R=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=R?1:3,P=pe(Fa(Se().toDate(),[0,6],T).toDateString()).format(ke),_=R?z.timeline01BusinessDay:z.timeline23BusinessDays,O=R?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",_);return t.jsxs(t.Fragment,{children:[t.jsxs(Xa,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:Ea,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Ae,{children:t.jsx(_e,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:ue.integerAmountInput.styleObject(d),decimalStyles:ue.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",za," ",t.jsx(Ae,{children:Ma})]}),B?t.jsx(Ha,{children:t.jsxs(Va,{children:[t.jsxs(Ga,{children:[t.jsx(Ja,{}),t.jsxs(Ya,{children:[t.jsx(Za,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Ka,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(ce,{label:{label:se.paymentMethod,width:F},text:t.jsx(de,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.sourceAccount,width:F},text:t.jsxs(de,{windowSize:d,children:[We(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.paymentDate,width:F},showAdditionalInfoLabel:!0,additionalInfoLabel:O,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(de,{windowSize:d,children:Se().format(ke)}),style:{width:"auto"}})]})})]}),t.jsx(ze,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:z.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},We=(e,o,h)=>{if(o==="")return t.jsx(st,{});const n=e.find(c=>c.id===o),f=e.findIndex(c=>c.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:h,children:t.jsx(ct,{color:Da(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:h,loading:"lazy"}):t.jsx(it,{isOptionSelected:h,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${va}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(ba)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  padding-top: ${a.sp3};
4
4
  white-space: nowrap;
@@ -1,4 +1,4 @@
1
- import{cM as M,y as N,ey as _,b as H,V as l,eH as P,bJ as L,o,dp as z,ac as x,cw as T,bK as b,an as B,w,f6 as K,f7 as Q,f8 as W,ak as X,bI as J,d as Y,p as m}from"./index-C0Qk6Z4T.js";import{a as S}from"./sentry-DNdJk61Y.js";import{n}from"./mui-_BiizxEu.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]="30b7f994-ab0d-48d8-8767-5c7bb8a74046",e._sentryDebugIdIdentifier="sentry-dbid-30b7f994-ab0d-48d8-8767-5c7bb8a74046")}catch{}})();const $e=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:f,formState:{errors:y}}=M(),g=N(),[j,k]=S.useState(!1),C=_(y,e??""),I=H.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:g.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,border:`1px solid ${g.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:g.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(P,{name:e,control:f,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return S.createElement(L,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Z,Option:q,Input:U,SingleValue:ee,ValueContainer:G,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:be,MenuList:A},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},Z=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(b.Control,{...e,className:"select-control",children:e.children})})},q=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(b.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},A=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(T,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:f,style:y})=>l.jsx(ce,{style:y,children:t[f]})})},G=e=>l.jsx(b.ValueContainer,{...e,className:"select-value-container",children:e.children}),U=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(b.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(b.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(B)`
1
+ import{cM as M,y as N,ey as _,b as H,V as l,eH as P,bJ as L,o,dp as z,ac as x,cw as T,bK as b,an as B,w,f6 as K,f7 as Q,f8 as W,ak as X,bI as J,d as Y,p as m}from"./index-C-i3Bwr-.js";import{a as S}from"./sentry-DNdJk61Y.js";import{n}from"./mui-_BiizxEu.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]="30b7f994-ab0d-48d8-8767-5c7bb8a74046",e._sentryDebugIdIdentifier="sentry-dbid-30b7f994-ab0d-48d8-8767-5c7bb8a74046")}catch{}})();const $e=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:f,formState:{errors:y}}=M(),g=N(),[j,k]=S.useState(!1),C=_(y,e??""),I=H.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:g.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,border:`1px solid ${g.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:g.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(P,{name:e,control:f,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return S.createElement(L,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Z,Option:q,Input:U,SingleValue:ee,ValueContainer:G,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:be,MenuList:A},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},Z=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(b.Control,{...e,className:"select-control",children:e.children})})},q=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(b.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},A=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(T,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:f,style:y})=>l.jsx(ce,{style:y,children:t[f]})})},G=e=>l.jsx(b.ValueContainer,{...e,className:"select-value-container",children:e.children}),U=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(b.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(b.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(B)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&K(e)===!1)return l.jsx(l.Fragment,{});{const r=Q[`${W(e??"")}`];return l.jsx(ie,{children:l.jsx(r,{width:o.sp4,height:o.sp3})})}},te=n.span`
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{J as b,V as t,b as c,aS as l,ac as p,L as g,o as i,ah as h,e as x,h as m}from"./index-C0Qk6Z4T.js";import{a as u}from"./sentry-DNdJk61Y.js";import{n as o}from"./mui-_BiizxEu.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./zeni-epic-state-BkKyof9Q.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.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]="8c4d9772-24eb-44c4-8fd8-893c83e76d20",e._sentryDebugIdIdentifier="sentry-dbid-8c4d9772-24eb-44c4-8fd8-893c83e76d20")}catch{}})();const f=o.div`
1
+ import{J as b,V as t,b as c,aS as l,ac as p,L as g,o as i,ah as h,e as x,h as m}from"./index-C-i3Bwr-.js";import{a as u}from"./sentry-DNdJk61Y.js";import{n as o}from"./mui-_BiizxEu.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./zeni-epic-state-BkKyof9Q.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.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]="8c4d9772-24eb-44c4-8fd8-893c83e76d20",e._sentryDebugIdIdentifier="sentry-dbid-8c4d9772-24eb-44c4-8fd8-893c83e76d20")}catch{}})();const f=o.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -0,0 +1 @@
1
+ import{V as o}from"./index-C-i3Bwr-.js";import i from"./CustomerOnboardingNoStepsPage-D3T1ftj7-qt9u9zsy.js";import e from"./CustomerOnboardingPage-K68iZ1pc-Cq5iSykI.js";import"./sentry-DNdJk61Y.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./zeni-epic-state-BkKyof9Q.js";import"./mui-_BiizxEu.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";import"./PaymentAccountSetupBillingAddressSection-CDPrK0IE-NshiOF5x.js";import"./commonTypes-B2dNLPs8-D2JwDUzk.js";import"./SetUpAccountSection-8mYaeWwd-cHF53zCD.js";import"./CustomerOnboardingDetailPageSkeleton-FKQGP-CB-BrbViprQ.js";import"./CompanyOfficerDetailsSection-g42vPH8W-C_R96adA.js";import"./helper-84lLR0pR-C2a91osG.js";import"./LabeledAddressValueField-D8dreD-P-DOSe9KgK.js";import"./LabeledCountryMultiSelectField-CBp07VjV-CKcwGcmq.js";import"./LabeledCreatableSingleSelectField-B_esaKIM-CB5JtDOX.js";import"./LabeledDocumentField-nN1pbnDm-3tbi_wPT.js";import"./QBOSetupSection-Dg-ZcGH4-cKZGmX21.js";import"./QBOConnectionDialog-B3Ph_e2z-B7faE8GI.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="4ca5f6bf-5c96-4cce-9a62-91f1e2c543ab",t._sentryDebugIdIdentifier="sentry-dbid-4ca5f6bf-5c96-4cce-9a62-91f1e2c543ab")}catch{}})();const P=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(i,{...t}):o.jsx(e,{...t});export{P as default};
@@ -1,4 +1,4 @@
1
- import{V as s,ac as v,bp as E,y as f,J as I,bR as b,o as t,u as T,x as $,ah as R,b as N,p as g,n as P,hX as U,fU as L,au as J,ao as O,hY as W}from"./index-C0Qk6Z4T.js";import{n as r}from"./mui-_BiizxEu.js";import{P as S}from"./sentry-DNdJk61Y.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]="36906dca-326e-4c2d-8109-7a12410a7d3e",e._sentryDebugIdIdentifier="sentry-dbid-36906dca-326e-4c2d-8109-7a12410a7d3e")}catch{}})();const _=r(W)`
1
+ import{V as s,ac as v,bp as E,y as f,J as I,bR as b,o as t,u as T,x as $,ah as R,b as N,p as g,n as P,hX as U,fU as L,au as J,ao as O,hY as W}from"./index-C-i3Bwr-.js";import{n as r}from"./mui-_BiizxEu.js";import{P as S}from"./sentry-DNdJk61Y.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]="36906dca-326e-4c2d-8109-7a12410a7d3e",e._sentryDebugIdIdentifier="sentry-dbid-36906dca-326e-4c2d-8109-7a12410a7d3e")}catch{}})();const _=r(W)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,V=r.div`
4
4
  position: relative;