@zeniai/web-cockpit-ui 1.15.36-dev → 1.15.36-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-MTECJ5f2-BdLHfYkw.js → ACHDetailsPage-MTECJ5f2-HqPcaWT0.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-2DnUDrYW-DNI5xeF8.js → AIPerformancePage-2DnUDrYW-CtgXah0l.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-BDjC13Ii-CDV-bwh1.js → AccountInfoPage-BDjC13Ii-CHjH8__T.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-Uf69Ma0g-4oOZ211N.js → AccountInfoPageContent-Uf69Ma0g-RSC3TNVj.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BXcJh14l-Cm1Sq52s.js → AccountLockedInfoModal-BXcJh14l-OdUEPSOj.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Cswyt1rh-8EGrj1WM.js → AccountReconDetailsDrawerPage-Cswyt1rh-BOqGehbF.js} +1 -1
  7. package/dist/assets/{AccountRow-CwQ210NA-5WmGHDfQ.js → AccountRow-CwQ210NA-DYegH8wL.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-DdAZdIl7-B1nFN92E.js → AccountsPromoCardStack-DdAZdIl7-CX-XtGa7.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-B2tfTCJl-DqVInXyI.js → AddAddressForCardDrawer-B2tfTCJl-d7b5aB6D.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CYheOozR-CDrN1v1e.js → AddToWalletPage-CYheOozR-vsFXx2C_.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-DzKHZ2gU-D4NK3bB8.js → AgingReportsPage-DzKHZ2gU-DknbDc2N.js} +1 -1
  12. package/dist/assets/{AllUserItems-M13M7Dn--CMRF0XPg.js → AllUserItems-M13M7Dn--Djem6q0B.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-CeCfzyaW-xN1KSuw8.js → ApAgingDetailPage-CeCfzyaW-YqcqPde3.js} +1 -1
  14. package/dist/assets/{AppBasePage-lNsHzKPV-BUTBPJJ7.js → AppBasePage-lNsHzKPV-BMOuC_rs.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-D7S-TGMT-BmwuU2JQ.js → AppDrawerContent-D7S-TGMT-DiKY2uCZ.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-CEb5R3Um-BCMBYXPC.js → ApprovalRulesSettingsPage-CEb5R3Um-BsXMiRRF.js} +1 -1
  17. package/dist/assets/{ArAgingChart-BtWnAFp_-C5Q_9k5d.js → ArAgingChart-BtWnAFp_-Bm5q-IzG.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-b4XNEmrz-DygKBFbD.js → ArAgingDetailPage-b4XNEmrz-Dx8t3oOl.js} +1 -1
  19. package/dist/assets/{AttachmentView-BNh7psmU-Bbw5Dndi.js → AttachmentView-BNh7psmU-DnKVixXA.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DvxISEWF-B3bfDW0E.js → BankAccountSection-DvxISEWF-B_juq1JJ.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-BigSAlOf-giEPP_Qk.js → BankAccountWarningSection-BigSAlOf-Ba-T2lm8.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BmV84xpM-hAhHGA_U.js → BankConnectionsSettingsPage-BmV84xpM-DtJctBua.js} +1 -1
  23. package/dist/assets/{BillDetailPage-bGScpKo1-C8_DAvpa.js → BillDetailPage-bGScpKo1-Bf18xC_b.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-WL_3iqlY-CEGOsAwB.js → BillPayApprovalRuleDetailPage-WL_3iqlY-AT7-q2jz.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DzXO3OA3-CuNf74rj.js → BillPayApprovalRulesPage-DzXO3OA3-DSRE-1VO.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CWXg38Zn-QLqd2JeT.js → BillPayPromoPage-CWXg38Zn-p-K0KUKW.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-S29c7luv-BjKkNycA.js → BillPaySetUpPage-S29c7luv-Cpbc-E4D.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-B4UuM5oI-CnNIbUJQ.js → BillingSettingsPage-B4UuM5oI-6Azig-KT.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DnU8hO98-C1ox6sAt.js → BillsBulkReviewDrawerPage-DnU8hO98-CJCO_Pb3.js} +1 -1
  30. package/dist/assets/{BoxItem-BuOARLA6-BfKpH1iW.js → BoxItem-BuOARLA6-oKibcD9D.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-C-2WkF1k-BNJjkTCX.js → BusinessVerificationPage-C-2WkF1k-CqRBYrP8.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-B5F6n20g-B4j-P-Yo.js → CardNumberSubText-B5F6n20g-Ca6V-IPE.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-B8BWFurd-CEzxQv9t.js → CashbackDetailPage-B8BWFurd-rdGolf5p.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-CUwelhv9-_Qmyewum.js → ChargeCardDetailPage-CUwelhv9-BQPffV0k.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-OM6V0_w4-DmRwOrEA.js → ChargeCardListPage-OM6V0_w4-8Viz1dzP.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-BLQucs67-dVRRo8zw.js → ChargeCardListTable-BLQucs67-ZL3XlrZu.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-Ctli7jP9-Dv4R4N7Z.js → ChargeCardPaymentHistoryPage-Ctli7jP9-CizBPyzk.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-87W_Pmcc-CL32Gm8l.js → ChargeCardPromoPage-87W_Pmcc-lS30Xf1n.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-C2ut28_d-oEr-F107.js → ChargeCardSetupPage-C2ut28_d-uikg-J5J.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-B0pW9c8L-BOQfbOjy.js → ChargeCardStatementsPage-B0pW9c8L-CV3lCAHt.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-B6amchCs-DmayI2eG.js → CheckDepositDrawerPage-B6amchCs-Bp2i9n_T.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CKZMra2N-DVHlppQA.js → CollapsableReportTable-CKZMra2N-WrnA-Th4.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BaDN_HWQ-Df10Iqha.js → CompanyOfficerDetailsSection-BaDN_HWQ-DeDKEEKE.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-CVmFwsYx-YUIsTO7p.js → CompanyPassportCard-CVmFwsYx-DZ-LCSlW.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-Bo-fHKTg-pFmh0JY_.js → CompanyPassportPage-Bo-fHKTg-BmS4D6y7.js} +1 -1
  46. package/dist/assets/{CompleteProfile-D8_3QPfk-Cc_sI1mw.js → CompleteProfile-D8_3QPfk-C1ykyNHX.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-BxK3gOov-DRtasWE2.js → ConfettiBurst-BxK3gOov-B-L-U9V8.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BSv5CT9e.js → ConstrainedInnerElement-BeIpAPjB-B6a5xDMJ.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-Cx-QXXom-B8MFa7Ua.js → CreateOrEditVendorPage-Cx-QXXom-BBVv5He0.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-D_VntONF-BdSVEQJx.js → CreditCardPaymentDrawerPage-D_VntONF-CtjKegMq.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-CvMIDpOa-D4F-_rjZ.js → CurrencySelectField-CvMIDpOa-Biz2jlJg.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-BNx_JIsl-C1rccu3S.js → CustomerOnboardingActivationPage-BNx_JIsl-DtuF2YhZ.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-Dbz1NTUm-BT9umGFQ.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CDkqTFSM-Be1MlRsD.js → CustomerOnboardingDetailPageSkeleton-CDkqTFSM-B4i19RLR.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-B7nn9pa6-kAh8a-Yt.js → CustomerOnboardingNoStepsPage-B7nn9pa6-84oleCJC.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-B0UsbJ1P-CYm4CD54.js → CustomerOnboardingPage-B0UsbJ1P-Dqs1cgy_.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CTHXj545-fzvlTLym.js → CustomerOnboardingProductSuitePage-CTHXj545-B5X54X3o.js} +1 -1
  58. package/dist/assets/{Dashboard-mxMZYpEW-DiLuYwxX.js → Dashboard-mxMZYpEW-Dz78elmI.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-Dy9QVA7Z-Cz6343vo.js → DashboardReportPage-Dy9QVA7Z-B2KXLA0S.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-Bp7cCBwN-DxhEIL5n.js → DashboardSidebarBackgroundAnimation-Bp7cCBwN-Dnrb6x07.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-qG9GvyAi-Cn-YxRbF.js → DepositAccTransactionItem-qG9GvyAi-DWYt2s-O.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-DY6ckLcN-BoxQBeYY.js → DepositAccTransactionListPage-DY6ckLcN-Civ5TWx9.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-DQDdpsym-DorJ__Th.js → DomesticWireDetailsPage-DQDdpsym-DNg-v6uj.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-Calb-h8P-CpaxI-5F.js → DownloadOverlay-Calb-h8P-ChQSaDAC.js} +1 -1
  65. package/dist/assets/{DrawerPage-CtJFKuFL-CYYKg7Ek.js → DrawerPage-CtJFKuFL-CQ7zFNYf.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-D6AHuPcm-7B9Bydt9.js → EditPeoplePage-D6AHuPcm-wmujwA2P.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-D6_fdX7E-DuCCCgtB.js → EditReimbursementDetailPage-D6_fdX7E-1cUUxR8M.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-8XBPRJ2z-Blkh-rZa.js → EntityDetailPage-8XBPRJ2z-BnUre-Wu.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-CRobZFdA-5ICB6kMK.js → EntitySummarySection-CRobZFdA-CFeNR-wM.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BJAWD2jM-D1xeNN02.js → ExpenseAutomationOverviewPage-BJAWD2jM-Do7AlzWg.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-CUMFF1DE-qGZ-fhdP.js → ExpenseAutomationPage-CUMFF1DE-BOyNKS7D.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-nqBKZ3fl-GqF5wwC1.js → ExpressPayPage-nqBKZ3fl-D4H1NSZe.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-C_IsnbRF-CRsggv2B.js → FeaturePreviewPage-C_IsnbRF-WBU0fueP.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-3Pp2we-C-BklcQOfQ.js → FollowStepsSection-3Pp2we-C-sxHC55ma.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-BmXesyUc-Bz2HEI-M.js → GlobalReviewListPage-BmXesyUc-B8A-APAT.js} +1 -1
  76. package/dist/assets/{InformationCardStack-DNpn0-gM-GyRbPKpL.js → InformationCardStack-DNpn0-gM-BgAAEyPS.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-B2WhxVyz-B8IW9DSU.js → InsightsCardStack-B2WhxVyz-g7VjlXfU.js} +1 -1
  78. package/dist/assets/{InsightsSection-C2CwZPel-DBGYdL2D.js → InsightsSection-C2CwZPel-DTkFdYMu.js} +1 -1
  79. package/dist/assets/{IntegrationsSettingsPage-DIaqGx79-DcwRlZ2W.js → IntegrationsSettingsPage-DIaqGx79-Bt0t_8_y.js} +1 -1
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-COOKMFsG-CgyBiXO1.js → InternationalWireSwiftDetailsPage-COOKMFsG-B3I-ZIGX.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-DmEbE8mB-y7aFV84D.js → InternationalWireVerificationPage-DmEbE8mB-Doa4O6ua.js} +1 -1
  82. package/dist/assets/{InviteFormPage-B25ubjDZ-rc60wJWK.js → InviteFormPage-B25ubjDZ-Bcucs1ef.js} +1 -1
  83. package/dist/assets/{InvitePageListView-VsLAIeB2-sN4Mjomj.js → InvitePageListView-VsLAIeB2-agbO3JLU.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-CtsAK9qA-Cy85-R6z.js → InvitePeoplePage-CtsAK9qA-CFEcUp48.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-CTWcHIik-Ch45PmQD.js → InvoiceUploadSection-CTWcHIik-CA3Tz47y.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-BjFDSjnT-B6eRPv5Y.js → IssueChargeCardPage-BjFDSjnT-Bvjw2yFG.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-DTtkpbQD-CqjAk_yZ.js → LabeledAddressValue-DTtkpbQD-Buoly9s0.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-CGnp-ruv-DcIYlcxL.js → LabeledAddressValueField-CGnp-ruv-D5uIM7Wf.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-D59MWScK-u0D-4rtN.js → LabeledControlledCheckBoxField-D59MWScK-3Zw20aCx.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-H2s6dgDh-Bk8gsi9y.js → LabeledCountryMultiSelectField-H2s6dgDh-4j0H7ZqI.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DcMbc854-D5zvfJ8D.js → LabeledCreatableSingleSelectField-DcMbc854-Bm57_2_W.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-sF7Zoa0k-CZ654oCL.js → LabeledDocumentField-sF7Zoa0k-CJ9sd0xe.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-CQV1Uzgm-NA-GZk2j.js → LabeledDropDownFormattedTextField-CQV1Uzgm-Dd2hMpeT.js} +1 -1
  94. package/dist/assets/{LabeledText-BacKeQ9P-B1Cd96zY.js → LabeledText-BacKeQ9P-DHUGlarz.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BwgY-iwq-BfcihsXM.js → LabeledUserSingleSelectWithSubtitlesField-BwgY-iwq-CHRYjS5o.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DckQcAsv-jt45kZxB.js → LabeledZeniRolesDropDownField-DckQcAsv-Dx822SeT.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-CJh4FFpC-BBBjUecH.js → LinkJETransactionPage-CJh4FFpC--c2swz7J.js} +1 -1
  98. package/dist/assets/{LockCardPage-CPcRTCZE-D_H0owTv.js → LockCardPage-CPcRTCZE-DEBaXJPM.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-D8GK2H9h-hjWBZs2C.js → LowBalancePopup-D8GK2H9h-CIuno8cd.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-D25qjc2G-9NeAFmog.js → MagicLinkACHDetailsPage-D25qjc2G-BcnWskWu.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-D8_ky1S0-jwkJvUEx.js → MagicLinkDomesticWireDetailsPage-D8_ky1S0-DeyQvdG2.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CvLwoWmx-CZ38-i1G.js → MagicLinkInternationalWireDetailsPage-CvLwoWmx-DhuIinHH.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-B_BENTTd-DbqViuOL.js → MagicLinkSuccessPage-B_BENTTd-D9zXKBEE.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-QKzoOrdi-Bpjf7BPR.js → MagicLinkTitleSection-QKzoOrdi-CliWisqE.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-CAqhq5HH-B7PPRTQj.js → MailingDetailsSection-CAqhq5HH-HgHGaiIr.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CLyQgTUj-BbnMCn1U.js → MyBankConnectionsSettingsPage-CLyQgTUj-uVUwydXk.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-_Fkdh2qv-Sopb8zUc.js → MyPendingActivationChargeCardListPage-_Fkdh2qv--lGlLzpk.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-DxmJa0cf-DxXUJqnD.js → MyProfileSettingsPage-DxmJa0cf-CVUgtNwX.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-CV8HLA6I-BUWTCujT.js → NavBarWithPicker-CV8HLA6I-DcBkh0Yq.js} +1 -1
  110. package/dist/assets/{NavigationArrow-C0hMKZ32-hISa84Ue.js → NavigationArrow-C0hMKZ32-ZlTIoHrU.js} +1 -1
  111. package/dist/assets/{NavigationDots-CjCXOKoW-CbK19jrp.js → NavigationDots-CjCXOKoW-zeMf9EUK.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-DbL_f9K3-BJU60EMT.js → NewGlobalMerchantPage-DbL_f9K3-Bco66WXA.js} +1 -1
  113. package/dist/assets/{NoDataChart-gYvI6yr8-viHJ3bQ-.js → NoDataChart-gYvI6yr8-BmqHuWrZ.js} +1 -1
  114. package/dist/assets/{NoDataTable-BKZwVTXZ-T0eI1Zo0.js → NoDataTable-BKZwVTXZ-S1EYQc1E.js} +1 -1
  115. package/dist/assets/{NotFoundPage-BYY5isHm-DDhBeJOV.js → NotFoundPage-BYY5isHm-DAep2yCw.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-DjW6to0g-1y2D4DgT.js → NotificationSettingsPage-DjW6to0g-tkQEU_qD.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-CVq2sl6h-Bw-0i4Ig.js → NotificationsListConfig-CVq2sl6h-C5PJC14G.js} +1 -1
  118. package/dist/assets/{NotificationsPage-CRP4cafk-C5rQyA0T.js → NotificationsPage-CRP4cafk-B5xtPYuk.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-DFhGNQND-Dk5383RE.js → OpExByVendorPage-DFhGNQND-Bst_Zxsi.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-DKdfSoPP.js → OverlayContainerPage-D4QU0p4o-yFS1iBUa.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-C7HbHAwT-jbJyIaCy.js → PandLWithForecastPage-C7HbHAwT-lH9kwjmc.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CrOLi3CM-uLcqJFNN.js → PaymentAccountSetupBillingAddressSection-CrOLi3CM-CLG19bbj.js} +1 -1
  123. package/dist/assets/{PeoplePage-C70ShoQt-BQS3GQ43.js → PeoplePage-C70ShoQt-CiXDWHTq.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-CWjvhORp-CeSyV6gs.js → ProductsCarousel-CWjvhORp-D7FfQtfC.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-C_MPWCdo-BQaVgUEA.js → PromoBaseCards-C_MPWCdo-CziYAhev.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-DG8GBxXu-BOORcaKP.js → QBOConnectionDialog-DG8GBxXu-DoXcRjHO.js} +1 -1
  127. package/dist/assets/{QBOSetupSection-D0xw7uYo-BIeky-6i.js → QBOSetupSection-D0xw7uYo-CDJmheF3.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7Nssw7C-DE7B3Va0.js → ReimbursementApprovalRuleDetailPage-D7Nssw7C-Vo7Wtjsk.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRulesPage-ALLu5Bn2-CwTr897n.js → ReimbursementApprovalRulesPage-ALLu5Bn2-BYJRyDOF.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-DtUem4gd-DWGZKWlX.js → ReimbursementDetailPage-DtUem4gd-flXWpnSM.js} +1 -1
  131. package/dist/assets/{ReimbursementPromoPage-BMJx4mIG-DJbTDfJr.js → ReimbursementPromoPage-BMJx4mIG-CJYzPJBa.js} +1 -1
  132. package/dist/assets/{ReimbursementSetUpPage-yEKRYNla-CFFoHhA6.js → ReimbursementSetUpPage-yEKRYNla-BW7Awk9N.js} +1 -1
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DuG_oVRd-DNVGALUa.js → ReimbursementsBulkReviewDrawerPage-DuG_oVRd-DdQ0vsop.js} +1 -1
  134. package/dist/assets/{ReloadCard-B1sDYISv-yIhOaL2x.js → ReloadCard-B1sDYISv-DxRk4wM7.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-D0_bxxr3-CG8SHCRk.js → ReportTableViewSelector-D0_bxxr3-CkbaKfC_.js} +1 -1
  136. package/dist/assets/{ReportsPage-8KbmzE10-CGdeSxTj.js → ReportsPage-8KbmzE10-BjU9pXnp.js} +1 -1
  137. package/dist/assets/{RevenueChart-DHaN9dID-BBTu7at-.js → RevenueChart-DHaN9dID-Car78ZR3.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-CU1pEUH6-CJzA5XWq.js → ReviewDetailsPage-CU1pEUH6-DbOo4-JW.js} +1 -1
  139. package/dist/assets/{ReviewOverlay-abE-6rKm-CJgH1hlM.js → ReviewOverlay-abE-6rKm-BFaPbcmS.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-XCmNsd2N-DcGnYG_x.js → RoleWithToolTip-XCmNsd2N-CxOswc0c.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DdQ7n2jO-CJpvIQmk.js → ScheduleDetailsFixedAssetsPage-DdQ7n2jO-CQ_BzdqQ.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsPage-BT7nc-SK-BkKOCQn5.js → ScheduleDetailsPage-BT7nc-SK-BPHHy8RD.js} +1 -1
  143. package/dist/assets/{ScheduleSequenceTable-DmNi0a_t-BRPd9MD_.js → ScheduleSequenceTable-DmNi0a_t-CeYW8AFm.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-ReV8hS5d.js → ScreenRoutes-fMFY4buc.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-CF5-adzX-dA8yacgy.js → SetUpAccountSection-CF5-adzX-DQ4hltDB.js} +1 -1
  146. package/dist/assets/{SignIn-BlqHQp_i-DiVgvIz3.js → SignIn-BlqHQp_i-Da0GSjF_.js} +1 -1
  147. package/dist/assets/{SignInScreen-DPbt8pK5.js → SignInScreen-DgwuX3zg.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-Bw49YHTs-B7x-SLHw.js → SpendManagementListViewPage-Bw49YHTs-BKZkfgk1.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-BBxTKG7D-DmW59dEk.js → SpendManagementPerTabPage-BBxTKG7D-DCg0B196.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-C0tVpDka-7XRgMTMj.js → SpendManagementSection-C0tVpDka-bnYpv9pU.js} +1 -1
  151. package/dist/assets/{StatementItem-CX-Vb6Yv-CQSzimr4.js → StatementItem-CX-Vb6Yv-SdbSOG6h.js} +1 -1
  152. package/dist/assets/{StatementsPage-DIhLk0I0-CJFVRHXq.js → StatementsPage-DIhLk0I0-BGCNFxRv.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-2x-HpawS-rvUjyTH4.js → StatusSwitcher-2x-HpawS-CglNLCTj.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-3gCHG_2e-kbyMAwsf.js → SubTabSwitcher-3gCHG_2e-CUeVDvpi.js} +1 -1
  155. package/dist/assets/{SummaryCard-DDFWzeCH-DDL0LPzG.js → SummaryCard-DDFWzeCH-eowXPT8h.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-D4PHLunD-tt5TJWu-.js → TaskManagementPage-D4PHLunD-Kqm6lVdu.js} +1 -1
  157. package/dist/assets/{TimeRangeSwitcher-CY0nV1h--J209OFZR.js → TimeRangeSwitcher-CY0nV1h--C7pas2Zg.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-ncxeqCrX-BswygR8z.js → TimeframeSwitcher-ncxeqCrX-DY9YQh5Q.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-Ct5BEs_Q-BzganDVC.js → TimeframeSwitcherWithToggle-Ct5BEs_Q-DuN8gd26.js} +1 -1
  160. package/dist/assets/{TopExCard-COqnH-4I-BVvqNRP9.js → TopExCard-COqnH-4I-DePYRoIP.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-qgHjp5oB-CbVU9bNn.js → TopExDetailPage-qgHjp5oB-B9BlL2bw.js} +1 -1
  162. package/dist/assets/{TransactionActivityLogPage-BcYHnlFq-GhckwPRW.js → TransactionActivityLogPage-BcYHnlFq-xeZ-eVi9.js} +1 -1
  163. package/dist/assets/{TransactionDetailPage-BZU1QN3O-C4mwlffy.js → TransactionDetailPage-BZU1QN3O-BWxYaMAB.js} +1 -1
  164. package/dist/assets/{TransactionList-AmUI5s8r-DfvxSOnm.js → TransactionList-AmUI5s8r-THwtRhj5.js} +1 -1
  165. package/dist/assets/{TransactionListBig-ByYlobcF-BhG5fg3c.js → TransactionListBig-ByYlobcF-DYcTr3mw.js} +1 -1
  166. package/dist/assets/{TransactionListPage-BZtT0JVM-CMhzYu3G.js → TransactionListPage-BZtT0JVM-D9BEV_Yd.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-DVPBTIK5-B0IzCC6Z.js → TransactionVendorDetailPage-DVPBTIK5-COwb2ciX.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-CSHGPlKO-B6ir6T3C.js → TransferDrawerPage-CSHGPlKO-9uDWb5AA.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-CWtloEcx-BI7fuqEe.js → TreasuryOverviewPage-CWtloEcx-BvxhbxOD.js} +1 -1
  170. package/dist/assets/{TreasuryPromoPage-BkxayclQ-BD05BSZg.js → TreasuryPromoPage-BkxayclQ-bQ_ENfyL.js} +1 -1
  171. package/dist/assets/{TreasuryStatementsPage-Bdo7eYMN-DYhvNV6I.js → TreasuryStatementsPage-Bdo7eYMN-JY-19vUj.js} +1 -1
  172. package/dist/assets/{TreasuryTaxLetterPage-C8ejdAk5-DByu-1LU.js → TreasuryTaxLetterPage-C8ejdAk5-BwF8GMcp.js} +1 -1
  173. package/dist/assets/{TrendChart-ZDj-xpm1-Jp3bnOcp.js → TrendChart-ZDj-xpm1-ClcJu-2Q.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-qTLVjOfV-1Qq4W0Vf.js → TrendWithTransactions-qTLVjOfV-DU_ztjV0.js} +1 -1
  175. package/dist/assets/{UncategorizedAccountsMappingPage-8Bzfc9-f-DSTdymGe.js → UncategorizedAccountsMappingPage-8Bzfc9-f-CYDn4_DX.js} +1 -1
  176. package/dist/assets/{UnitIntegrationPage-B1S92bhM-YW7CpieK.js → UnitIntegrationPage-B1S92bhM-DWnngfDs.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-CBFoai8Q-D24u1z1-.js → UploadAdditionalDocumentOverlay-CBFoai8Q-CPz7W4CK.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-DAvl-0wR-CMmLV0gh.js → Vendor2FAPopup-DAvl-0wR-BvaP02RS.js} +1 -1
  179. package/dist/assets/{VendorACHDetailsPage-kezd7VIg-_33VYhc_.js → VendorACHDetailsPage-kezd7VIg-xPQeWIBu.js} +1 -1
  180. package/dist/assets/{VendorDetailPage-Cq0ifHHj-X3Tmeucn.js → VendorDetailPage-Cq0ifHHj-C39HuWpP.js} +1 -1
  181. package/dist/assets/{VendorDomesticWireDetailsPage-DYCckZ0--2FN3v_yv.js → VendorDomesticWireDetailsPage-DYCckZ0--BGeFiU4G.js} +1 -1
  182. package/dist/assets/{VendorFiling1099EditablePage-DZ7w4hG9-0R5SyRKT.js → VendorFiling1099EditablePage-DZ7w4hG9-gSme5wGH.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-DeTtH_3q-JOPrtxvQ.js → VendorFirstReviewPage-DeTtH_3q-FKhOwCbp.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-oLPgqqXG-Cu-XiY9k.js → VendorInternationalWireDetailsPage-oLPgqqXG-B2NWyMgN.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C25-dQzU-CfUQEHr0.js → VendorInternationalWireSwiftDetailsPage-C25-dQzU-BjUlNPKX.js} +1 -1
  186. package/dist/assets/{VendorsAccountsSection-CjtV6vnA-EPohtHXT.js → VendorsAccountsSection-CjtV6vnA-N2o-z7Mh.js} +1 -1
  187. package/dist/assets/{VerifyDevice-BKlM_EIQ-eKiK1Vh6.js → VerifyDevice-BKlM_EIQ-DaNiSIcj.js} +1 -1
  188. package/dist/assets/{VideoPlayer-Cd6Z-m3O-CXV5kTHF.js → VideoPlayer-Cd6Z-m3O-BWu6hC9I.js} +1 -1
  189. package/dist/assets/{VideoPopup-hzeQU5PD-DzEhicyc.js → VideoPopup-hzeQU5PD-DN8xmTEC.js} +1 -1
  190. package/dist/assets/{WarningsDrawerPage-Bj1rv5Lm-DhSYjNx8.js → WarningsDrawerPage-Bj1rv5Lm-DF0XiBuS.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-XEP8Ax1n-Bk0f_d4B.js → ZeniAccountDetailPage-XEP8Ax1n-BC80r9Rk.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-BFBLw9LX-YV6uT0to.js → ZeniAccountListViewPage-BFBLw9LX-Dv4ACJ0C.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-DeAJa-tc-B5jGlBA5.js → ZeniAccountNavBarPieces-DeAJa-tc-N9hCNuji.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-tOAp0Gpx-BKu4Kphu.js → ZeniAccountPromoPage-tOAp0Gpx-mkeB8CFT.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-DMcEkRkC-C4uo8IPg.js → ZeniAccountSetupPage-DMcEkRkC-gw6VLHNm.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-DzbxtiXr-hH0_8XoH.js → ZeniCopyright-DzbxtiXr-Bmx_4OW9.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-CjlubUnE-cQiE2SkE.js → ZeniTransferAmountSlider-CjlubUnE-PcxRWEPz.js} +1 -1
  198. package/dist/assets/{analyticsHelper--FI5ZNkP-C6nfDH6L.js → analyticsHelper--FI5ZNkP-CGQSZvW6.js} +1 -1
  199. package/dist/assets/{analyticsHelper-Diz2KIDT.js → analyticsHelper-BMBmsK5f.js} +1 -1
  200. package/dist/assets/{chartTypes-OhAs1JKI-bzHdDgZb.js → chartTypes-OhAs1JKI-CI--wq5m.js} +1 -1
  201. package/dist/assets/{commonDimensions-B2iVuJD5-CcSv5ZyJ.js → commonDimensions-B2iVuJD5-DTdGUiYP.js} +1 -1
  202. package/dist/assets/{commonTypes-cRbeH9rJ-Bb0mwy34.js → commonTypes-cRbeH9rJ-Dzz25yXn.js} +1 -1
  203. package/dist/assets/{detailCommon-DHznXAh3-CiYpsfiB.js → detailCommon-DHznXAh3-B3B3Bp7p.js} +1 -1
  204. package/dist/assets/{downloadPdf-DCU64Gug-DSJFt5WV.js → downloadPdf-DCU64Gug-CRv6DneW.js} +1 -1
  205. package/dist/assets/{helper-CCCOsTBK-Dcm9G4A9.js → helper-CCCOsTBK-IOi2XFdn.js} +1 -1
  206. package/dist/assets/{index-D-BANbLd.js → index-BMNWzgy1.js} +5 -5
  207. package/dist/assets/{mapLoadingInProgressToTreeNode-CDOEagKG-Bt_n3HLB.js → mapLoadingInProgressToTreeNode-CDOEagKG-ChzaVKj9.js} +1 -1
  208. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Bacgq6px-DuzaQwsM.js → mapSectionWithAcOnlyToTreeNode-Bacgq6px-6__tSoXV.js} +1 -1
  209. package/dist/assets/{mapSpacerToTreeNode-Cq9WPd-3-BYJOxkkl.js → mapSpacerToTreeNode-Cq9WPd-3-B7BELqyU.js} +1 -1
  210. package/dist/assets/{mapTimeframeBalancesToTreeNode-Bj3oqvNg-DZI1LYnG.js → mapTimeframeBalancesToTreeNode-Bj3oqvNg-Ck96NRng.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-C23h7gVe-DUIYJGbT.js → mapTimeframeBalancesToTreeNode-C23h7gVe-Cts0IWRq.js} +1 -1
  212. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DoDPxRuC-BPkv0D6R.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DoDPxRuC-CmNnfijW.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-BpgPOYod-D7bBPsum.js → toCOABalancesWithID-BpgPOYod-Dr38mvnC.js} +1 -1
  214. package/dist/assets/{toChartData-JpJ956nX-BgylJdL0.js → toChartData-JpJ956nX-B4k-iVAF.js} +1 -1
  215. package/dist/assets/{uploadAttachment-DicjfBYA-DrkICKBo.js → uploadAttachment-DicjfBYA-CWSY3lfu.js} +1 -1
  216. package/dist/assets/{uploadReceipts-Dge0cNF1-DlcReZJ-.js → uploadReceipts-Dge0cNF1-CIOHXliW.js} +1 -1
  217. package/dist/index.html +1 -1
  218. package/package.json +1 -1
  219. package/dist/assets/CustomerOnboardingContainerPage-Dbz1NTUm-D53gumsw.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a8 as ze,ax as Re,J as H,y as F,V as t,bD as Ie,w as I,ga as Te,F as T,u as l,o as i,x,jn as De,ce as Be,jo as J,ab as A,b4 as Ae,cv as Oe,iV as Me,bP as Ne,aU as He,am as W,dx as j,g$ as Z,aP as V,bU as We,cx as Ee,bS as Ke,an as N,cB as X,p as $,h0 as pe,fU as me,fQ as ge,cj as Ve,aj as U,iK as ue,bN as Fe,jp as Ue,j1 as _e,cE as Ye,aW as z,j2 as Ze,j3 as Qe}from"./index-D-BANbLd.js";import{a as S,P as Q}from"./sentry-OhwUF_66.js";import{n,c as q}from"./mui-AW-QpJ2k.js";import{t as Ge}from"./SpendManagementSection-C0tVpDka-7XRgMTMj.js";import{r as Je,a as Xe,i as ye,g as qe}from"./SpendManagementListViewPage-Bw49YHTs-B7x-SLHw.js";import{ck as xe,GY as fe}from"./zeni-epic-state-DR0XRPUQ.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-DiSmmrWv.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";import"./StatusSwitcher-2x-HpawS-rvUjyTH4.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]="5933a48f-08ea-42c2-9894-da5d4f968176",e._sentryDebugIdIdentifier="sentry-dbid-5933a48f-08ea-42c2-9894-da5d4f968176")}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],k={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=F(),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(Ke,{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":A("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(X,{})})})]})]}):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":A("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(X,{})})})]}),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":A("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=Q.memo(st),dt=n.div`
1
+ import{a8 as ze,ax as Re,J as H,y as F,V as t,bD as Ie,w as I,ga as Te,F as T,u as l,o as i,x,jn as De,ce as Be,jo as J,ab as A,b4 as Ae,cv as Oe,iV as Me,bP as Ne,aU as He,am as W,dx as j,g$ as Z,aP as V,bU as We,cx as Ee,bS as Ke,an as N,cB as X,p as $,h0 as pe,fU as me,fQ as ge,cj as Ve,aj as U,iK as ue,bN as Fe,jp as Ue,j1 as _e,cE as Ye,aW as z,j2 as Ze,j3 as Qe}from"./index-BMNWzgy1.js";import{a as S,P as Q}from"./sentry-OhwUF_66.js";import{n,c as q}from"./mui-AW-QpJ2k.js";import{t as Ge}from"./SpendManagementSection-C0tVpDka-bnYpv9pU.js";import{r as Je,a as Xe,i as ye,g as qe}from"./SpendManagementListViewPage-Bw49YHTs-BKZkfgk1.js";import{ck as xe,GY as fe}from"./zeni-epic-state-DR0XRPUQ.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-DiSmmrWv.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";import"./StatusSwitcher-2x-HpawS-CglNLCTj.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]="5933a48f-08ea-42c2-9894-da5d4f968176",e._sentryDebugIdIdentifier="sentry-dbid-5933a48f-08ea-42c2-9894-da5d4f968176")}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],k={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=F(),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(Ke,{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":A("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(X,{})})})]})]}):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":A("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(X,{})})})]}),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":A("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 G,ax as be,a8 as $e,aR as je,aP as Se,fY as Te,bD as ze,fx as ve,i as Y,ab as ee,F as oe,o as t,R as Pe,c as J,cF as ke,ar as Ie,x,aq as Ae,bU as Be,iO as Re,aj as Le,u as p,H as S,p as y,bb as _e,aV as Me,iP as Ee}from"./index-D-BANbLd.js";import{a as T}from"./sentry-OhwUF_66.js";import{n,c as De,k as Fe}from"./mui-AW-QpJ2k.js";import{Fw as Ue}from"./zeni-epic-state-DR0XRPUQ.js";import{k as Ne}from"./NavigationDots-CjCXOKoW-CbK19jrp.js";import{J as H,N as V}from"./PromoBaseCards-C_MPWCdo-BQaVgUEA.js";import{M as L}from"./usp-line-BBd1wKwW-F_fmAFtY.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="845168d1-043d-4f71-9436-5eb2d64de15a",e._sentryDebugIdIdentifier="sentry-dbid-845168d1-043d-4f71-9436-5eb2d64de15a")}catch{}})();const g={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},z={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:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:u,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:O,onExpressInterestClick:ge})=>{const he=G(),W=be(),v=$(),X=$e().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:C,companyLocaleInfo:M}=i,Z=je(_?.fetchStatus.fetchState),[xe,q]=T.useState(!1),ue=()=>{X.trackCardsPromoPageClicked("schedule demo"),X.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:u,isCreditCardEnabled:w},"Cards Promo"),q(!0)},we=C!=null&&M!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;T.useEffect(()=>{Z==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&O()},[Z,O,_?.fetchStatus]);const K=Ue(W.loggedInUserRoleMap),fe=Te(W),E=f==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:ye}=i,Q=E?o.getPreApprovedNow:a?o.enableCardsButton:o.setupCardsButton;return r.jsxs(We,{children:[r.jsx(ze,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:v==="medium-compact"||v==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ve,{onCancelClick:()=>{q(!1)},meetingUrl:e}):null,r.jsx(Ke,{windowSize:v,children:K===!0?r.jsxs(qe,{children:[r.jsxs(Ze,{children:[r.jsx(Ve,{isApproved:Ce,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ne,{showEnableCardButton:a,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Ge,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),K&&!(F||D)?r.jsxs(or,{windowSize:v,children:[r.jsx(Y,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:ue,"data-testid":ee("schedule-demo-button")}),r.jsx(Xe,{windowSize:v,children:o.orText}),r.jsx(Y,{variant:"primary",label:Q,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||ye==="In-Progress",onClick:Q===o.getPreApprovedNow?ge:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},He=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.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})]})},ne=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const u=$();return r.jsx(ir,{windowSize:u,children:r.jsx(Re,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:a===!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&&a===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(u)},cardPromoType:e,isCheckingEnabled:i})})},Ve=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const u=$(),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]}):a?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:u==="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:u,children:[a||c||m?null:r.jsx(yr,{}),r.jsx(er,{windowSize:u,children:j})]})]})},Ge=({companyLegalName:e,cards:s,admins:i,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const u=$(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[u==="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:u}):r.jsx(Je,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(He,{admins:i}),r.jsx(ne,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Je=({cards:e,companyLegalName:s})=>{const i=G(),a=$();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(Qe,{width:t.sp5,height:t.sp5,style:{paddingTop:a==="small"?t.sp1:t.sp0},src:m.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ae},loading:"lazy"}):null,r.jsx(gr,{windowSize:a,mode:i.mode,children:r.jsx(xr,{windowSize:a,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(Oe,{}):r.jsxs(ar,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(V,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ae=({cardPromoType:e,cashbackRate:s})=>{const i=$(),a=o.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(nr,{windowSize:i,children:[r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(lr,{})}),r.jsxs(R,{children:[r.jsx(b,{windowSize:i,children:a.item1.pre}),r.jsx(A,{windowSize:i,children:a.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(b,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?a.singleStarred:""}${a.item1.post}`})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(sr,{})}),r.jsxs(R,{children:[r.jsx(b,{windowSize:i,children:a.item2.pre}),r.jsx(A,{windowSize:i,children:a.item2.bold}),r.jsx(b,{windowSize:i,children:a.item2.post})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(cr,{})}),r.jsxs(R,{children:[r.jsx(b,{windowSize:i,children:a.item3.pre}),r.jsx(A,{windowSize:i,children:a.item3.bold}),r.jsx(b,{windowSize:i,children:a.item3.post})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(dr,{})}),r.jsxs(R,{children:[r.jsx(b,{windowSize:i,children:a.item4.pre}),r.jsx(A,{windowSize:i,children:a.item4.bold}),r.jsx(b,{windowSize:i,children:a.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Oe=()=>{const e=$(),s=G(),[i,a]=T.useState(0),[c,m]=T.useState(!1),h=o.businessText,u=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:u},{id:2,cardType:"debit",cardText:u},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{a(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),a(l)};return r.jsxs(ur,{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(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"}}}):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"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(H,{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(V,{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:a,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=n.div`
1
+ import{J as $,V as r,y as G,ax as be,a8 as $e,aR as je,aP as Se,fY as Te,bD as ze,fx as ve,i as Y,ab as ee,F as oe,o as t,R as Pe,c as J,cF as ke,ar as Ie,x,aq as Ae,bU as Be,iO as Re,aj as Le,u as p,H as S,p as y,bb as _e,aV as Me,iP as Ee}from"./index-BMNWzgy1.js";import{a as T}from"./sentry-OhwUF_66.js";import{n,c as De,k as Fe}from"./mui-AW-QpJ2k.js";import{Fw as Ue}from"./zeni-epic-state-DR0XRPUQ.js";import{k as Ne}from"./NavigationDots-CjCXOKoW-zeMf9EUK.js";import{J as H,N as V}from"./PromoBaseCards-C_MPWCdo-CziYAhev.js";import{M as L}from"./usp-line-BBd1wKwW-F_fmAFtY.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="845168d1-043d-4f71-9436-5eb2d64de15a",e._sentryDebugIdIdentifier="sentry-dbid-845168d1-043d-4f71-9436-5eb2d64de15a")}catch{}})();const g={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},z={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:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:u,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:O,onExpressInterestClick:ge})=>{const he=G(),W=be(),v=$(),X=$e().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:C,companyLocaleInfo:M}=i,Z=je(_?.fetchStatus.fetchState),[xe,q]=T.useState(!1),ue=()=>{X.trackCardsPromoPageClicked("schedule demo"),X.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:u,isCreditCardEnabled:w},"Cards Promo"),q(!0)},we=C!=null&&M!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;T.useEffect(()=>{Z==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&O()},[Z,O,_?.fetchStatus]);const K=Ue(W.loggedInUserRoleMap),fe=Te(W),E=f==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:ye}=i,Q=E?o.getPreApprovedNow:a?o.enableCardsButton:o.setupCardsButton;return r.jsxs(We,{children:[r.jsx(ze,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:v==="medium-compact"||v==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ve,{onCancelClick:()=>{q(!1)},meetingUrl:e}):null,r.jsx(Ke,{windowSize:v,children:K===!0?r.jsxs(qe,{children:[r.jsxs(Ze,{children:[r.jsx(Ve,{isApproved:Ce,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ne,{showEnableCardButton:a,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Ge,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),K&&!(F||D)?r.jsxs(or,{windowSize:v,children:[r.jsx(Y,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:ue,"data-testid":ee("schedule-demo-button")}),r.jsx(Xe,{windowSize:v,children:o.orText}),r.jsx(Y,{variant:"primary",label:Q,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||ye==="In-Progress",onClick:Q===o.getPreApprovedNow?ge:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},He=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.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})]})},ne=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const u=$();return r.jsx(ir,{windowSize:u,children:r.jsx(Re,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:a===!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&&a===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(u)},cardPromoType:e,isCheckingEnabled:i})})},Ve=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const u=$(),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]}):a?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:u==="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:u,children:[a||c||m?null:r.jsx(yr,{}),r.jsx(er,{windowSize:u,children:j})]})]})},Ge=({companyLegalName:e,cards:s,admins:i,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const u=$(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[u==="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:u}):r.jsx(Je,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(He,{admins:i}),r.jsx(ne,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Je=({cards:e,companyLegalName:s})=>{const i=G(),a=$();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(Qe,{width:t.sp5,height:t.sp5,style:{paddingTop:a==="small"?t.sp1:t.sp0},src:m.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ae},loading:"lazy"}):null,r.jsx(gr,{windowSize:a,mode:i.mode,children:r.jsx(xr,{windowSize:a,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(Oe,{}):r.jsxs(ar,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(V,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ae=({cardPromoType:e,cashbackRate:s})=>{const i=$(),a=o.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(nr,{windowSize:i,children:[r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(lr,{})}),r.jsxs(R,{children:[r.jsx(b,{windowSize:i,children:a.item1.pre}),r.jsx(A,{windowSize:i,children:a.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(b,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?a.singleStarred:""}${a.item1.post}`})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(sr,{})}),r.jsxs(R,{children:[r.jsx(b,{windowSize:i,children:a.item2.pre}),r.jsx(A,{windowSize:i,children:a.item2.bold}),r.jsx(b,{windowSize:i,children:a.item2.post})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(cr,{})}),r.jsxs(R,{children:[r.jsx(b,{windowSize:i,children:a.item3.pre}),r.jsx(A,{windowSize:i,children:a.item3.bold}),r.jsx(b,{windowSize:i,children:a.item3.post})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(dr,{})}),r.jsxs(R,{children:[r.jsx(b,{windowSize:i,children:a.item4.pre}),r.jsx(A,{windowSize:i,children:a.item4.bold}),r.jsx(b,{windowSize:i,children:a.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Oe=()=>{const e=$(),s=G(),[i,a]=T.useState(0),[c,m]=T.useState(!1),h=o.businessText,u=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:u},{id:2,cardType:"debit",cardText:u},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{a(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),a(l)};return r.jsxs(ur,{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(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"}}}):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"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(H,{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(V,{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:a,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=n.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,a8 as Be,aR as M,a9 as Ue,cH as _e,aW as J,V as t,ff as $e,p as ze,x as d,bD as Re,k as We,ad as Le,fy as Ne,dR as qe,fz as He,o as U,w as Me,iQ as G,bx as Je,aS as Ge,fB as Ke,F as Qe,u as a,am as Ye}from"./index-D-BANbLd.js";import{a as f}from"./sentry-OhwUF_66.js";import{n as w}from"./mui-AW-QpJ2k.js";import{bJ as Xe}from"./zeni-epic-state-DR0XRPUQ.js";import{x as Ze}from"./LabeledControlledCheckBoxField-D59MWScK-u0D-4rtN.js";import{g as et}from"./UploadAdditionalDocumentOverlay-CBFoai8Q-D24u1z1-.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="42d68d50-fd0d-46f6-98d3-4416c61eec4b",e._sentryDebugIdIdentifier="sentry-dbid-42d68d50-fd0d-46f6-98d3-4416c61eec4b")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(a[1],a[0])},K="chargeCardSetUpPage",g="payAccount",{commonSetUp:tt,spendManagement:nt}=Qe.getLocalizedStrings(),{chargeCard:X}=nt,{chargeCardSetUp:m}=X,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:r,meetingUrl:x,isEarlyPayEnabled:h,chargeCardSetUpView:o,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:oe,onFetchLinkTokenClick:ae,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:de,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:me,onEstablishConnectionSuccess:ge,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:xe})=>{const y=je(),i=Oe(),E=Be().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:R}=o,W=M(C),k=M(u.fetchState),D=Ue({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>Q(o),[o]),values:Q(o)}),ve=D.handleSubmit(se),Ee=async(S,T)=>{const n=T[g];if(S.includes(g))if(S.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=R.find(B=>B.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(B=>B.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=D.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&&W==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,W]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const F=I?.isChargeCardEnabled===!0,V=z?.isDebitCardEnabled===!0,L=z?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=$?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Xe(l?.providerVerificationStatus?.code??""),j=v?q:q&&Ie,De=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const O=v?j&&!V&&L:ie?j&&!F&&N:j&&!(F&&V)&&N&&L,Fe=O?m.setupSubTitleNotEnabled:m.setupSubTitle,H=y.mode==="light"?new J(y.colors.brandColorJadeLight):new J(y.colors.brandColorJadeDark),Ve=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):de?.()};return t.jsxs(ot,{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(Re,{title:m.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!F&&!V&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:Fe}),De?t.jsx(ct,{children:t.jsx(We,{size:"ExtraLarge",start:!0})}):t.jsx(Le,{...D,children:t.jsx("form",{id:Y(K),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Ne,{onClick:Ve,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:R,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:g,isDisabled:r,onFetchLinkTokenClick:ae,onEstablishConnectionClick:me,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:ge,icon:{element:t.jsx(Je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:xe,pageName:m.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:X.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:U.sp4,marginTop:U.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:G(g,"enableAutoPay"),checkBoxValue:G(g,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Ge,{formId:Y(K),primaryBtn:{label:m.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 ${U.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:O,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},Q=e=>{const{allBankAccounts:r,allFundingAccounts:x,primaryFundingAccount:h}=e;return{[g]:{fundingAccount:{selectedOption:h?.id,allOptions:x.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},Y=e=>`${e}_form`,it=w.div`
1
+ import{y as je,J as Oe,a8 as Be,aR as M,a9 as Ue,cH as _e,aW as J,V as t,ff as $e,p as ze,x as d,bD as Re,k as We,ad as Le,fy as Ne,dR as qe,fz as He,o as U,w as Me,iQ as G,bx as Je,aS as Ge,fB as Ke,F as Qe,u as a,am as Ye}from"./index-BMNWzgy1.js";import{a as f}from"./sentry-OhwUF_66.js";import{n as w}from"./mui-AW-QpJ2k.js";import{bJ as Xe}from"./zeni-epic-state-DR0XRPUQ.js";import{x as Ze}from"./LabeledControlledCheckBoxField-D59MWScK-3Zw20aCx.js";import{g as et}from"./UploadAdditionalDocumentOverlay-CBFoai8Q-CPz7W4CK.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="42d68d50-fd0d-46f6-98d3-4416c61eec4b",e._sentryDebugIdIdentifier="sentry-dbid-42d68d50-fd0d-46f6-98d3-4416c61eec4b")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(a[1],a[0])},K="chargeCardSetUpPage",g="payAccount",{commonSetUp:tt,spendManagement:nt}=Qe.getLocalizedStrings(),{chargeCard:X}=nt,{chargeCardSetUp:m}=X,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:r,meetingUrl:x,isEarlyPayEnabled:h,chargeCardSetUpView:o,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:oe,onFetchLinkTokenClick:ae,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:de,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:me,onEstablishConnectionSuccess:ge,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:xe})=>{const y=je(),i=Oe(),E=Be().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:R}=o,W=M(C),k=M(u.fetchState),D=Ue({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>Q(o),[o]),values:Q(o)}),ve=D.handleSubmit(se),Ee=async(S,T)=>{const n=T[g];if(S.includes(g))if(S.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=R.find(B=>B.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(B=>B.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=D.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&&W==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,W]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const F=I?.isChargeCardEnabled===!0,V=z?.isDebitCardEnabled===!0,L=z?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=$?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Xe(l?.providerVerificationStatus?.code??""),j=v?q:q&&Ie,De=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const O=v?j&&!V&&L:ie?j&&!F&&N:j&&!(F&&V)&&N&&L,Fe=O?m.setupSubTitleNotEnabled:m.setupSubTitle,H=y.mode==="light"?new J(y.colors.brandColorJadeLight):new J(y.colors.brandColorJadeDark),Ve=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):de?.()};return t.jsxs(ot,{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(Re,{title:m.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!F&&!V&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:Fe}),De?t.jsx(ct,{children:t.jsx(We,{size:"ExtraLarge",start:!0})}):t.jsx(Le,{...D,children:t.jsx("form",{id:Y(K),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Ne,{onClick:Ve,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:R,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:g,isDisabled:r,onFetchLinkTokenClick:ae,onEstablishConnectionClick:me,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:ge,icon:{element:t.jsx(Je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:xe,pageName:m.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:X.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:U.sp4,marginTop:U.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:G(g,"enableAutoPay"),checkBoxValue:G(g,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Ge,{formId:Y(K),primaryBtn:{label:m.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 ${U.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:O,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},Q=e=>{const{allBankAccounts:r,allFundingAccounts:x,primaryFundingAccount:h}=e;return{[g]:{fundingAccount:{selectedOption:h?.id,allOptions:x.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(o=>({label:o.accountName,value:o.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,bD as W,o as h,F as R,x as g,am as B,ba as O,a8 as V,hO as _,k as J,ab as q,u as s,c4 as G}from"./index-D-BANbLd.js";import{n as r}from"./mui-AW-QpJ2k.js";import{$ as Q,g as U}from"./BoxItem-BuOARLA6-BfKpH1iW.js";import{a as Z}from"./sentry-OhwUF_66.js";import{w as H}from"./downloadPdf-DCU64Gug-DSJFt5WV.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./zeni-epic-state-DR0XRPUQ.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";import"./commonDimensions-B2iVuJD5-CcSv5ZyJ.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]="084fa28c-3375-4489-a906-5327b60407b3",e._sentryDebugIdIdentifier="sentry-dbid-084fa28c-3375-4489-a906-5327b60407b3")}catch{}})();const E=R.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},K=r.div`
1
+ import{y as F,J as N,V as t,bD as W,o as h,F as R,x as g,am as B,ba as O,a8 as V,hO as _,k as J,ab as q,u as s,c4 as G}from"./index-BMNWzgy1.js";import{n as r}from"./mui-AW-QpJ2k.js";import{$ as Q,g as U}from"./BoxItem-BuOARLA6-oKibcD9D.js";import{a as Z}from"./sentry-OhwUF_66.js";import{w as H}from"./downloadPdf-DCU64Gug-CRv6DneW.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./zeni-epic-state-DR0XRPUQ.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";import"./commonDimensions-B2iVuJD5-DTdGUiYP.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]="084fa28c-3375-4489-a906-5327b60407b3",e._sentryDebugIdIdentifier="sentry-dbid-084fa28c-3375-4489-a906-5327b60407b3")}catch{}})();const E=R.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},K=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,ab as $,hM as pe,aP as M,i as W,o,aS as he,x as n,b as ee,c as ue,F as oe,ba as me,R as te,aj as ge,am as F,aR as fe,a9 as xe,cH as ke,p as b,ad as De,gg as $e,cM as be,eX as G,cU as H,u as s,fs as we,cj as ye,c1 as je,f4 as Pe,g$ as Se,an as q,h0 as Le}from"./index-D-BANbLd.js";import{a as k}from"./sentry-OhwUF_66.js";import{n as a}from"./mui-AW-QpJ2k.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./zeni-epic-state-DR0XRPUQ.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="fc106475-b5f8-4ad7-addb-aef8f1b4f8d0",e._sentryDebugIdIdentifier="sentry-dbid-fc106475-b5f8-4ad7-addb-aef8f1b4f8d0")}catch{}})();const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",E=e=>{const l=[];return e.checkFront!=null&&l.push(e.checkFront.fileId),e.checkBack!=null&&l.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]:l,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,l)=>`${e}.${l}`,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:V}=oe.getLocalizedStrings(),c=ze.zeniAccounts.zeniAccountList,Ae=V.documents;function Ie({checkDeposit:e,analytics:l,filesEndPoint:f,openPopup:w,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,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:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(p)},le=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(()=>le(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 ce=x.handleSubmit(()=>{if(re){l.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(Ve,{color:Se(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(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(X,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(X,{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(We,{}),t.jsxs(Ge,{children:[t.jsx(He,{children:e.error?.title}),t.jsx(Xe,{children:e.error?.message})]})]}),t.jsx(Je,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{l.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(Ye,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...x,children:t.jsx("form",{id:Be(ve),onSubmit:ce,children:t.jsxs(Ke,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.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:c.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.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(Ue,{label:{label:c.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:c.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(Qe,{size:r,children:[t.jsxs(Ze,{size:r,children:[t.jsx(Ee,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(Y,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(G,{name:`${D(g,R)}.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:H,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Y,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(G,{name:`${D(g,R)}.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:H,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.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,ab as $,hM as pe,aP as M,i as W,o,aS as he,x as n,b as ee,c as ue,F as oe,ba as me,R as te,aj as ge,am as F,aR as fe,a9 as xe,cH as ke,p as b,ad as De,gg as $e,cM as be,eX as G,cU as H,u as s,fs as we,cj as ye,c1 as je,f4 as Pe,g$ as Se,an as q,h0 as Le}from"./index-BMNWzgy1.js";import{a as k}from"./sentry-OhwUF_66.js";import{n as a}from"./mui-AW-QpJ2k.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./zeni-epic-state-DR0XRPUQ.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="fc106475-b5f8-4ad7-addb-aef8f1b4f8d0",e._sentryDebugIdIdentifier="sentry-dbid-fc106475-b5f8-4ad7-addb-aef8f1b4f8d0")}catch{}})();const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",E=e=>{const l=[];return e.checkFront!=null&&l.push(e.checkFront.fileId),e.checkBack!=null&&l.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]:l,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,l)=>`${e}.${l}`,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:V}=oe.getLocalizedStrings(),c=ze.zeniAccounts.zeniAccountList,Ae=V.documents;function Ie({checkDeposit:e,analytics:l,filesEndPoint:f,openPopup:w,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,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:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(p)},le=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(()=>le(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 ce=x.handleSubmit(()=>{if(re){l.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(Ve,{color:Se(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(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(X,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(X,{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(We,{}),t.jsxs(Ge,{children:[t.jsx(He,{children:e.error?.title}),t.jsx(Xe,{children:e.error?.message})]})]}),t.jsx(Je,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{l.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(Ye,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...x,children:t.jsx("form",{id:Be(ve),onSubmit:ce,children:t.jsxs(Ke,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.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:c.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.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(Ue,{label:{label:c.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:c.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(Qe,{size:r,children:[t.jsxs(Ze,{size:r,children:[t.jsx(Ee,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(Y,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(G,{name:`${D(g,R)}.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:H,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Y,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(G,{name:`${D(g,R)}.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:H,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.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,b4 as _o,ab as x,bO as fe,aP as U,dn as $o,o as s,p as X,aR as bn,J as O,aF as kn,az as Lo,dp as jn,dq as Ao,F as B,u as w,dr as Zn,ds as zt,dt as Tt,cc as Vt,du as Dt,x as V,d3 as Rt,ax as Jn,aa as ot,co as ze,bQ as K,k as Bo,y as le,aW as L,b0 as Qn,dv as Xn,ao as Me,dw as Wo,dx as ae,cb as Gt,c0 as Sn,aj as Oo,an as be,dy as rt,dz as Ie,dA as lt,am as C,cj as ne,dB as Mo,w as Et,dC as Ue,dD as Cn,dE as vn,dF as Io,dG as No,ba as ei,aX as T,b7 as Po,cB as Ht,cA as Kt,dH as Fo,b8 as ti,cE as ni,bS as zo,dI as To,dJ as _n,dK as $n,dL as Vo,dM as Do,bU as Ro,bL as Go,dN as Eo}from"./index-D-BANbLd.js";import{n as a,c as F}from"./mui-AW-QpJ2k.js";import{a as I,P as Ho}from"./sentry-OhwUF_66.js";import{FH as Yt,Gb as Ut,Gc as Te,Gd as qt,Ge as Zt,Gf as Jt,Gg as Qt,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-DR0XRPUQ.js";import{D as ct,R as qo,A as Zo,E as ke,u as _}from"./AccountRow-CwQ210NA-5WmGHDfQ.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]="65ba8c54-2938-4c72-a15e-4cba06c83fc9",e._sentryDebugIdIdentifier="sentry-dbid-65ba8c54-2938-4c72-a15e-4cba06c83fc9")}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 Q(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,b4 as _o,ab as x,bO as fe,aP as U,dn as $o,o as s,p as X,aR as bn,J as O,aF as kn,az as Lo,dp as jn,dq as Ao,F as B,u as w,dr as Zn,ds as zt,dt as Tt,cc as Vt,du as Dt,x as V,d3 as Rt,ax as Jn,aa as ot,co as ze,bQ as K,k as Bo,y as le,aW as L,b0 as Qn,dv as Xn,ao as Me,dw as Wo,dx as ae,cb as Gt,c0 as Sn,aj as Oo,an as be,dy as rt,dz as Ie,dA as lt,am as C,cj as ne,dB as Mo,w as Et,dC as Ue,dD as Cn,dE as vn,dF as Io,dG as No,ba as ei,aX as T,b7 as Po,cB as Ht,cA as Kt,dH as Fo,b8 as ti,cE as ni,bS as zo,dI as To,dJ as _n,dK as $n,dL as Vo,dM as Do,bU as Ro,bL as Go,dN as Eo}from"./index-BMNWzgy1.js";import{n as a,c as F}from"./mui-AW-QpJ2k.js";import{a as I,P as Ho}from"./sentry-OhwUF_66.js";import{FH as Yt,Gb as Ut,Gc as Te,Gd as qt,Ge as Zt,Gf as Jt,Gg as Qt,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-DR0XRPUQ.js";import{D as ct,R as qo,A as Zo,E as ke,u as _}from"./AccountRow-CwQ210NA-DYegH8wL.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]="65ba8c54-2938-4c72-a15e-4cba06c83fc9",e._sentryDebugIdIdentifier="sentry-dbid-65ba8c54-2938-4c72-a15e-4cba06c83fc9")}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 Q(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,cL as Sl,F as de,x as D,aR as zl,V as l,bU as Ol,fL as Il,aq as Xe,g5 as el,o as a,gf as Bl,cW as jl,cM as A,cO as Oe,cT as vl,f3 as Rl,f1 as Ml,cR as $l,cP as Z,gg as al,gh as ql,fD as Wl,cU as Je,fC as ol,cJ as Ul,p as z,cQ as il,b2 as Ne,cV as Hl,fT as Ll,H as Ve,bL as _l,fK as Cl,am as ll,g4 as El,w as Pe,ap as Gl,bI as Yl,u as B,dn as Ql,aw as Jl,gi as Zl,aj as tl,an as Kl,gj as Xl,bJ as ke,b6 as et,a as Dl,d1 as lt,au as tt,bH as at}from"./index-D-BANbLd.js";import{a as m}from"./sentry-OhwUF_66.js";import{a as ot,n as r}from"./mui-AW-QpJ2k.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-DR0XRPUQ.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-CCCOsTBK-Dcm9G4A9.js";import{C as Ze}from"./LabeledAddressValueField-CGnp-ruv-DcIYlcxL.js";import{b as bt}from"./LabeledCountryMultiSelectField-H2s6dgDh-Bk8gsi9y.js";import{I as sl}from"./LabeledCreatableSingleSelectField-DcMbc854-D5zvfJ8D.js";import{Y as nl}from"./LabeledDocumentField-sF7Zoa0k-CZ654oCL.js";import{p as xt,i as wt,t as St}from"./commonTypes-cRbeH9rJ-Bb0mwy34.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]="cd078eed-c743-449e-8ecb-21c7721619f7",e._sentryDebugIdIdentifier="sentry-dbid-cd078eed-c743-449e-8ecb-21c7721619f7")}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]=Jl("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,cL as Sl,F as de,x as D,aR as zl,V as l,bU as Ol,fL as Il,aq as Xe,g5 as el,o as a,gf as Bl,cW as jl,cM as A,cO as Oe,cT as vl,f3 as Rl,f1 as Ml,cR as $l,cP as Z,gg as al,gh as ql,fD as Wl,cU as Je,fC as ol,cJ as Ul,p as z,cQ as il,b2 as Ne,cV as Hl,fT as Ll,H as Ve,bL as _l,fK as Cl,am as ll,g4 as El,w as Pe,ap as Gl,bI as Yl,u as B,dn as Ql,aw as Jl,gi as Zl,aj as tl,an as Kl,gj as Xl,bJ as ke,b6 as et,a as Dl,d1 as lt,au as tt,bH as at}from"./index-BMNWzgy1.js";import{a as m}from"./sentry-OhwUF_66.js";import{a as ot,n as r}from"./mui-AW-QpJ2k.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-DR0XRPUQ.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-CCCOsTBK-IOi2XFdn.js";import{C as Ze}from"./LabeledAddressValueField-CGnp-ruv-D5uIM7Wf.js";import{b as bt}from"./LabeledCountryMultiSelectField-H2s6dgDh-4j0H7ZqI.js";import{I as sl}from"./LabeledCreatableSingleSelectField-DcMbc854-Bm57_2_W.js";import{Y as nl}from"./LabeledDocumentField-sF7Zoa0k-CJ9sd0xe.js";import{p as xt,i as wt,t as St}from"./commonTypes-cRbeH9rJ-Dzz25yXn.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]="cd078eed-c743-449e-8ecb-21c7721619f7",e._sentryDebugIdIdentifier="sentry-dbid-cd078eed-c743-449e-8ecb-21c7721619f7")}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]=Jl("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,aN as E,aO as x,F as p,o as l,ab as M,aT as w,aj as y,aU as H}from"./index-D-BANbLd.js";import{n as o}from"./mui-AW-QpJ2k.js";import{c as j}from"./SummaryCard-DDFWzeCH-DDL0LPzG.js";import{a as t}from"./sentry-OhwUF_66.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./zeni-epic-state-DR0XRPUQ.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";import"./ReloadCard-B1sDYISv-yIhOaL2x.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]="2c1f2a4b-948f-4b41-a3c4-160544918b53",e._sentryDebugIdIdentifier="sentry-dbid-2c1f2a4b-948f-4b41-a3c4-160544918b53")}catch{}})();const 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:"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"})),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:"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})),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:"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:b},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:B},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:D}],v=o(w)`
1
+ import{V as r,aN as E,aO as x,F as p,o as l,ab as M,aT as w,aj as y,aU as H}from"./index-BMNWzgy1.js";import{n as o}from"./mui-AW-QpJ2k.js";import{c as j}from"./SummaryCard-DDFWzeCH-eowXPT8h.js";import{a as t}from"./sentry-OhwUF_66.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./zeni-epic-state-DR0XRPUQ.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";import"./ReloadCard-B1sDYISv-DxRk4wM7.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]="2c1f2a4b-948f-4b41-a3c4-160544918b53",e._sentryDebugIdIdentifier="sentry-dbid-2c1f2a4b-948f-4b41-a3c4-160544918b53")}catch{}})();const 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:"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"})),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:"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})),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:"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:b},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:B},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:D}],v=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,aR as jt,a9 as Dt,cH as vt,F as E,V as t,bD as Ft,ad as Ct,cI as Tt,aS as Nt,x,cJ as ot,cK as kt,b as Lt,o as a,am as xe,cL as lt,cM as P,cN as Re,cO as W,cP as ee,p as N,cQ as ge,b2 as ue,cR as st,cS as Pt,cT as Et,cU as it,ax as zt,cV as Vt,cW as nt,cX as At,cY as _t,cZ as Mt,c_ as Wt,c$ as Bt,bt as Rt,aU as Yt,ba as Q,aj as be,u as I,i as Ye,d0 as Ut,aF as qt,d1 as Gt,cj as Ht,d2 as Xt,an as Zt,d3 as Jt}from"./index-D-BANbLd.js";import{a as q,P as Qt}from"./sentry-OhwUF_66.js";import{n as i,a as Kt,k as ea}from"./mui-AW-QpJ2k.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 Te,bL as aa,bh as Ne,bC as oa,G8 as la}from"./zeni-epic-state-DR0XRPUQ.js";import{I as ft}from"./LabeledCreatableSingleSelectField-DcMbc854-D5zvfJ8D.js";import{Y as ht}from"./LabeledDocumentField-sF7Zoa0k-CZ654oCL.js";import{p as sa,i as ia,t as na}from"./commonTypes-cRbeH9rJ-Bb0mwy34.js";import{b as ra}from"./LabeledCountryMultiSelectField-H2s6dgDh-Bk8gsi9y.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-CCCOsTBK-Dcm9G4A9.js";import{$ as gt}from"./LabeledAddressValue-DTtkpbQD-CqjAk_yZ.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="9aa3ff7e-2388-4f24-854a-a74313c33509",e._sentryDebugIdIdentifier="sentry-dbid-9aa3ff7e-2388-4f24-854a-a74313c33509")}catch{}})();const xt={maxWidth:new x(280,340),contentMaxWidth:new x(200,255)},ha=ea`
1
+ import{J as _,y as St,aR as jt,a9 as Dt,cH as vt,F as E,V as t,bD as Ft,ad as Ct,cI as Tt,aS as Nt,x,cJ as ot,cK as kt,b as Lt,o as a,am as xe,cL as lt,cM as P,cN as Re,cO as W,cP as ee,p as N,cQ as ge,b2 as ue,cR as st,cS as Pt,cT as Et,cU as it,ax as zt,cV as Vt,cW as nt,cX as At,cY as _t,cZ as Mt,c_ as Wt,c$ as Bt,bt as Rt,aU as Yt,ba as Q,aj as be,u as I,i as Ye,d0 as Ut,aF as qt,d1 as Gt,cj as Ht,d2 as Xt,an as Zt,d3 as Jt}from"./index-BMNWzgy1.js";import{a as q,P as Qt}from"./sentry-OhwUF_66.js";import{n as i,a as Kt,k as ea}from"./mui-AW-QpJ2k.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 Te,bL as aa,bh as Ne,bC as oa,G8 as la}from"./zeni-epic-state-DR0XRPUQ.js";import{I as ft}from"./LabeledCreatableSingleSelectField-DcMbc854-Bm57_2_W.js";import{Y as ht}from"./LabeledDocumentField-sF7Zoa0k-CJ9sd0xe.js";import{p as sa,i as ia,t as na}from"./commonTypes-cRbeH9rJ-Dzz25yXn.js";import{b as ra}from"./LabeledCountryMultiSelectField-H2s6dgDh-4j0H7ZqI.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-CCCOsTBK-IOi2XFdn.js";import{$ as gt}from"./LabeledAddressValue-DTtkpbQD-Buoly9s0.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="9aa3ff7e-2388-4f24-854a-a74313c33509",e._sentryDebugIdIdentifier="sentry-dbid-9aa3ff7e-2388-4f24-854a-a74313c33509")}catch{}})();const xt={maxWidth:new x(280,340),contentMaxWidth:new x(200,255)},ha=ea`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -1,4 +1,4 @@
1
- import{a9 as V,gW as v,F as S,V as g,gX as $,aa as l,am as q,ad as J,cM as _,cW as W,cT as T,o as E,gY as Z,cR as z,aS as X,R as AA,c3 as gA,gZ as BA}from"./index-D-BANbLd.js";import{a as B,P as c}from"./sentry-OhwUF_66.js";import{n as o}from"./mui-AW-QpJ2k.js";import{bh as eA}from"./zeni-epic-state-DR0XRPUQ.js";import{$ as EA}from"./LabeledAddressValue-DTtkpbQD-CqjAk_yZ.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="c26bc83a-af79-4e98-a610-4d711c543854",A._sentryDebugIdIdentifier="sentry-dbid-c26bc83a-af79-4e98-a610-4d711c543854")}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+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENw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0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),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=V({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)},K=()=>{a(!0)},U=()=>{a(!1)},b=()=>{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($,{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:K},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?b:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
1
+ import{a9 as V,gW as v,F as S,V as g,gX as $,aa as l,am as q,ad as J,cM as _,cW as W,cT as T,o as E,gY as Z,cR as z,aS as X,R as AA,c3 as gA,gZ as BA}from"./index-BMNWzgy1.js";import{a as B,P as c}from"./sentry-OhwUF_66.js";import{n as o}from"./mui-AW-QpJ2k.js";import{bh as eA}from"./zeni-epic-state-DR0XRPUQ.js";import{$ as EA}from"./LabeledAddressValue-DTtkpbQD-Buoly9s0.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="c26bc83a-af79-4e98-a610-4d711c543854",A._sentryDebugIdIdentifier="sentry-dbid-c26bc83a-af79-4e98-a610-4d711c543854")}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+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QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),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=V({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)},K=()=>{a(!0)},U=()=>{a(!1)},b=()=>{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($,{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:K},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?b: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{d8 as d,aw as f,V as a,b6 as l,o as p}from"./index-D-BANbLd.js";import{a as r}from"./sentry-OhwUF_66.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./zeni-epic-state-DR0XRPUQ.js";import"./mui-AW-QpJ2k.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="da1b269d-58e0-418a-b2b5-b814568d08a1",e._sentryDebugIdIdentifier="sentry-dbid-da1b269d-58e0-418a-b2b5-b814568d08a1")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",_=({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{_ as default};
1
+ import{d8 as d,aw as f,V as a,b6 as l,o as p}from"./index-BMNWzgy1.js";import{a as r}from"./sentry-OhwUF_66.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./zeni-epic-state-DR0XRPUQ.js";import"./mui-AW-QpJ2k.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="da1b269d-58e0-418a-b2b5-b814568d08a1",e._sentryDebugIdIdentifier="sentry-dbid-da1b269d-58e0-418a-b2b5-b814568d08a1")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",_=({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{_ as default};
@@ -1,4 +1,4 @@
1
- import{V as n}from"./index-D-BANbLd.js";import{a as r}from"./sentry-OhwUF_66.js";import{n as s}from"./mui-AW-QpJ2k.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-BMNWzgy1.js";import{a as r}from"./sentry-OhwUF_66.js";import{n as s}from"./mui-AW-QpJ2k.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,aF as Y,cK as Ye,V as t,bD as Je,ab as $,k as Ke,cr as ie,cs as se,ct as le,d4 as qe,aS as Ge,x as J,F as x,c3 as Qe,o,d5 as Ze,bU as D,cj as de,u as w,b8 as ce,aj as pe,am as q,bu as Xe,d1 as me,d6 as et,p as B,d7 as ue,d0 as he}from"./index-D-BANbLd.js";import{a as g}from"./sentry-OhwUF_66.js";import{n as r}from"./mui-AW-QpJ2k.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./zeni-epic-state-DR0XRPUQ.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="987b1662-617e-4e47-9844-1aa7aa9a89c3",e._sentryDebugIdIdentifier="sentry-dbid-987b1662-617e-4e47-9844-1aa7aa9a89c3")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=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:b,children:[t.jsxs(nt,{children:[t.jsxs(q,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(D,{title:C,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:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(ct,{})})})})]})},ot=r.div`
1
+ import{y as He,J as v,aF as Y,cK as Ye,V as t,bD as Je,ab as $,k as Ke,cr as ie,cs as se,ct as le,d4 as qe,aS as Ge,x as J,F as x,c3 as Qe,o,d5 as Ze,bU as D,cj as de,u as w,b8 as ce,aj as pe,am as q,bu as Xe,d1 as me,d6 as et,p as B,d7 as ue,d0 as he}from"./index-BMNWzgy1.js";import{a as g}from"./sentry-OhwUF_66.js";import{n as r}from"./mui-AW-QpJ2k.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./zeni-epic-state-DR0XRPUQ.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="987b1662-617e-4e47-9844-1aa7aa9a89c3",e._sentryDebugIdIdentifier="sentry-dbid-987b1662-617e-4e47-9844-1aa7aa9a89c3")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=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:b,children:[t.jsxs(nt,{children:[t.jsxs(q,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(D,{title:C,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:k=>{k.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,a8 as ye,ab as ae,hy as ea,aP as aa,i as ta,k as na,aS as ze,o as a,F as G,x as m,b as Be,c as oa,ai as ia,y as Me,bU as ra,fl as _e,H as Z,p as J,gt as ce,w as la,ar as Oe,R as ca,aR as we,a9 as sa,fE as da,cH as ma,ad as pa,f4 as ua,fI as ha,cO as ya,hJ as De,hK as ga,gg as fa,u as r,c3 as Ca,ba,fs as xa,cj as wa,am as Ne,g$ as Da,c1 as Sa,aV as $a,hL as ka,d1 as Aa,h0 as La,fU as va,fQ as Ia}from"./index-D-BANbLd.js";import{n as i}from"./mui-AW-QpJ2k.js";import{a as p}from"./sentry-OhwUF_66.js";import{bL as pe,bP as Fa,bh as Se,bJ as Ra,bK as $e,bI as Ta}from"./zeni-epic-state-DR0XRPUQ.js";import{x as Pa}from"./LabeledControlledCheckBoxField-D59MWScK-u0D-4rtN.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="117fbc5b-755d-4e51-934b-0c03706d56ba",e._sentryDebugIdIdentifier="sentry-dbid-117fbc5b-755d-4e51-934b-0c03706d56ba")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},ue={pageTitle:new Z("h6Regular","h5Regular"),integerAmountInput:new Z("h5Regular","largeMedium"),decimalAmountInput:new Z("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:ke}},common:{edit:ja,labels:se,navBar:{back:Ea},to:za,zeniInc:Ba},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ma}},chargeCard:{payEarly:z}}}=G.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:y,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=he(),S=Me(),v=ye().analytics,[M,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:Ma.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:Ba})]}),M?t.jsx(Ka,{children:t.jsxs(Va,{children:[t.jsxs(Za,{children:[t.jsx(Ja,{}),t.jsxs(Ya,{children:[t.jsx(Ha,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Ga,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Wa,{children:[t.jsx(ce,{label:{label:se.paymentMethod,width:F},text:t.jsx(de,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?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:[Ue(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Ua,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.paymentDate,width:F},showAdditionalInfoLabel:!0,additionalInfoLabel:O,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(de,{windowSize:d,children:Se().format(ke)}),style:{width:"auto"}})]})})]}),t.jsx(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}}})]})},Ue=(e,o,h)=>{if(o==="")return t.jsx(st,{});const n=e.find(c=>c.id===o),f=e.findIndex(c=>c.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:h,children:t.jsx(ct,{color: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,a8 as ye,ab as ae,hy as ea,aP as aa,i as ta,k as na,aS as ze,o as a,F as G,x as m,b as Be,c as oa,ai as ia,y as Me,bU as ra,fl as _e,H as Z,p as J,gt as ce,w as la,ar as Oe,R as ca,aR as we,a9 as sa,fE as da,cH as ma,ad as pa,f4 as ua,fI as ha,cO as ya,hJ as De,hK as ga,gg as fa,u as r,c3 as Ca,ba,fs as xa,cj as wa,am as Ne,g$ as Da,c1 as Sa,aV as $a,hL as ka,d1 as Aa,h0 as La,fU as va,fQ as Ia}from"./index-BMNWzgy1.js";import{n as i}from"./mui-AW-QpJ2k.js";import{a as p}from"./sentry-OhwUF_66.js";import{bL as pe,bP as Fa,bh as Se,bJ as Ra,bK as $e,bI as Ta}from"./zeni-epic-state-DR0XRPUQ.js";import{x as Pa}from"./LabeledControlledCheckBoxField-D59MWScK-3Zw20aCx.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="117fbc5b-755d-4e51-934b-0c03706d56ba",e._sentryDebugIdIdentifier="sentry-dbid-117fbc5b-755d-4e51-934b-0c03706d56ba")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},ue={pageTitle:new Z("h6Regular","h5Regular"),integerAmountInput:new Z("h5Regular","largeMedium"),decimalAmountInput:new Z("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:ke}},common:{edit:ja,labels:se,navBar:{back:Ea},to:za,zeniInc:Ba},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ma}},chargeCard:{payEarly:z}}}=G.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:y,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=he(),S=Me(),v=ye().analytics,[M,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:Ma.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:Ba})]}),M?t.jsx(Ka,{children:t.jsxs(Va,{children:[t.jsxs(Za,{children:[t.jsx(Ja,{}),t.jsxs(Ya,{children:[t.jsx(Ha,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Ga,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Wa,{children:[t.jsx(ce,{label:{label:se.paymentMethod,width:F},text:t.jsx(de,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?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:[Ue(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Ua,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.paymentDate,width:F},showAdditionalInfoLabel:!0,additionalInfoLabel:O,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(de,{windowSize:d,children:Se().format(ke)}),style:{width:"auto"}})]})})]}),t.jsx(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}}})]})},Ue=(e,o,h)=>{if(o==="")return t.jsx(st,{});const n=e.find(c=>c.id===o),f=e.findIndex(c=>c.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:h,children:t.jsx(ct,{color: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{cL as M,y as N,ex as _,F as H,V as l,eG as L,bI as P,o,dn as z,ab as x,cv as B,bJ as b,am as Q,w,f5 as T,f6 as X,f7 as G,aj as J,bH as K,b as W,p as m}from"./index-D-BANbLd.js";import{a as S}from"./sentry-OhwUF_66.js";import{n}from"./mui-AW-QpJ2k.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]="424578c9-e163-4933-9b95-4107ab8a0fef",e._sentryDebugIdIdentifier="sentry-dbid-424578c9-e163-4933-9b95-4107ab8a0fef")}catch{}})();const $e=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:f,formState:{errors:y}}=M(),g=N(),[j,k]=S.useState(!1),C=_(y,e??""),D=H.getLocalizedStrings().common.currency,I=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??D.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:g.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,border:`1px solid ${g.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:g.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(L,{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(P,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:I(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Y,Option:Z,Input:U,SingleValue:ee,ValueContainer:A,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:be,MenuList:q},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},Y=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})})},Z=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]})})})},q=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(B,{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]})})},A=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(Q)`
1
+ import{cL as M,y as N,ex as _,F as H,V as l,eG as L,bI as P,o,dn as z,ab as x,cv as B,bJ as b,am as Q,w,f5 as T,f6 as X,f7 as G,aj as J,bH as K,b as W,p as m}from"./index-BMNWzgy1.js";import{a as S}from"./sentry-OhwUF_66.js";import{n}from"./mui-AW-QpJ2k.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]="424578c9-e163-4933-9b95-4107ab8a0fef",e._sentryDebugIdIdentifier="sentry-dbid-424578c9-e163-4933-9b95-4107ab8a0fef")}catch{}})();const $e=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:f,formState:{errors:y}}=M(),g=N(),[j,k]=S.useState(!1),C=_(y,e??""),D=H.getLocalizedStrings().common.currency,I=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??D.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:g.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,border:`1px solid ${g.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:g.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(L,{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(P,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:I(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Y,Option:Z,Input:U,SingleValue:ee,ValueContainer:A,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:be,MenuList:q},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},Y=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})})},Z=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]})})})},q=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(B,{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]})})},A=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(Q)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&T(e)===!1)return l.jsx(l.Fragment,{});{const r=X[`${G(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 u,V as t,F as c,aR as l,ab as p,k as g,o,ag as h,R as x,c as b}from"./index-D-BANbLd.js";import{a as m}from"./sentry-OhwUF_66.js";import{n as i}from"./mui-AW-QpJ2k.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./zeni-epic-state-DR0XRPUQ.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="04318801-3a86-4a58-8bbe-b8bc56800908",e._sentryDebugIdIdentifier="sentry-dbid-04318801-3a86-4a58-8bbe-b8bc56800908")}catch{}})();const f=i.div`
1
+ import{J as u,V as t,F as c,aR as l,ab as p,k as g,o,ag as h,R as x,c as b}from"./index-BMNWzgy1.js";import{a as m}from"./sentry-OhwUF_66.js";import{n as i}from"./mui-AW-QpJ2k.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./zeni-epic-state-DR0XRPUQ.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.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]="04318801-3a86-4a58-8bbe-b8bc56800908",e._sentryDebugIdIdentifier="sentry-dbid-04318801-3a86-4a58-8bbe-b8bc56800908")}catch{}})();const f=i.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -0,0 +1 @@
1
+ import{V as o}from"./index-BMNWzgy1.js";import e from"./CustomerOnboardingNoStepsPage-B7nn9pa6-84oleCJC.js";import i from"./CustomerOnboardingPage-B0UsbJ1P-Dqs1cgy_.js";import"./sentry-OhwUF_66.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./zeni-epic-state-DR0XRPUQ.js";import"./mui-AW-QpJ2k.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";import"./PaymentAccountSetupBillingAddressSection-CrOLi3CM-CLG19bbj.js";import"./commonTypes-cRbeH9rJ-Dzz25yXn.js";import"./SetUpAccountSection-CF5-adzX-DQ4hltDB.js";import"./CustomerOnboardingDetailPageSkeleton-CDkqTFSM-B4i19RLR.js";import"./CompanyOfficerDetailsSection-BaDN_HWQ-DeDKEEKE.js";import"./helper-CCCOsTBK-IOi2XFdn.js";import"./LabeledAddressValueField-CGnp-ruv-D5uIM7Wf.js";import"./LabeledCountryMultiSelectField-H2s6dgDh-4j0H7ZqI.js";import"./LabeledCreatableSingleSelectField-DcMbc854-Bm57_2_W.js";import"./LabeledDocumentField-sF7Zoa0k-CJ9sd0xe.js";import"./QBOSetupSection-D0xw7uYo-CDJmheF3.js";import"./QBOConnectionDialog-DG8GBxXu-DoXcRjHO.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]="1541e90b-ee3a-411e-a42b-382e157531bc",t._sentryDebugIdIdentifier="sentry-dbid-1541e90b-ee3a-411e-a42b-382e157531bc")}catch{}})();const P=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(e,{...t}):o.jsx(i,{...t});export{P as default};
@@ -1,4 +1,4 @@
1
- import{V as s,ab as v,bo as E,y as f,J as T,bQ as b,o as t,u as I,x as $,ag as N,F as R,p as u,N as P,hR as U,fT as L,at as W,an as _,hS as J}from"./index-D-BANbLd.js";import{n as r}from"./mui-AW-QpJ2k.js";import{P as S}from"./sentry-OhwUF_66.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]="3aa64353-bd11-4d49-8d20-a9cb0a4cdb78",e._sentryDebugIdIdentifier="sentry-dbid-3aa64353-bd11-4d49-8d20-a9cb0a4cdb78")}catch{}})();const O=r(J)`
1
+ import{V as s,ab as v,bo as E,y as f,J as T,bQ as b,o as t,u as I,x as $,ag as N,F as R,p as u,N as P,hR as U,fT as L,at as W,an as _,hS as J}from"./index-BMNWzgy1.js";import{n as r}from"./mui-AW-QpJ2k.js";import{P as S}from"./sentry-OhwUF_66.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]="3aa64353-bd11-4d49-8d20-a9cb0a4cdb78",e._sentryDebugIdIdentifier="sentry-dbid-3aa64353-bd11-4d49-8d20-a9cb0a4cdb78")}catch{}})();const O=r(J)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,B=r.div`
4
4
  position: relative;