@zeniai/web-app-ui 4.14.33-dev → 4.14.33-prod

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 (347) hide show
  1. package/dist/assets/{ACHDetailsPage-DKTSwNyl-CDIFOfdq.js → ACHDetailsPage-DKTSwNyl-TXl1b9xz.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BzTlSxeg-BuDeNPSy.js → AIPerformancePage-BzTlSxeg-BS_hlzNx.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-CrEEthms-45HqRER7.js → AccountInfoPage-CrEEthms-CShh3lti.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-B0ZnsyrQ-BWluBgsD.js → AccountInfoPageContent-B0ZnsyrQ-KbE96BJf.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-B6A-nGIq-Dg3p8NEN.js → AccountLockedInfoModal-B6A-nGIq-D-IFTFOu.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BTmjrd8b-CvWGr60v.js → AccountReconDetailsDrawerPage-BTmjrd8b-DiiqLtA-.js} +1 -1
  7. package/dist/assets/{AccountRow-C-Iunc36-CWR0-Stg.js → AccountRow-C-Iunc36-YQldrlVW.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-D6xN5A4_-DaMwJmFg.js → AccountsPromoCardStack-D6xN5A4_-WA3fSxPL.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-B6tLAOA_-DSLXld5A.js → AddAddressForCardDrawer-B6tLAOA_-CrWgXG6W.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-Bw1oz9Y2-D8T9ntRu.js → AddToWalletPage-Bw1oz9Y2-DkLHI9hz.js} +1 -1
  11. package/dist/assets/{AddressRoutes-Du2U1_wy.js → AddressRoutes-CL0Pq_Ys.js} +1 -1
  12. package/dist/assets/{AddressScreen-Do5YL4Hs.js → AddressScreen-S2Le0Iyl.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-BK3PXwnr-sRb89fRD.js → AgingReportsPage-BK3PXwnr-D17kQP-y.js} +1 -1
  14. package/dist/assets/{AiCfoScreen-m0mtpC7v.js → AiCfoScreen-Cg_pdlQK.js} +1 -1
  15. package/dist/assets/{AllUserItems-B42zEFpe-Dt3QyoOE.js → AllUserItems-B42zEFpe-CIjlkzgM.js} +1 -1
  16. package/dist/assets/{ApAgingDetailPage-vzW4qF2Y-Be_AyJp4.js → ApAgingDetailPage-vzW4qF2Y-BD1Qrsku.js} +1 -1
  17. package/dist/assets/{AppBasePage-yAU5vW5D-DRiBAUPT.js → AppBasePage-yAU5vW5D-CQC_mBlM.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-nnh5cFf7-LHEC_nmn.js → AppDrawerContent-nnh5cFf7-CD40ny3-.js} +1 -1
  19. package/dist/assets/{ApprovalRulesSettingsPage-B-Y2YjpT-Di6q3Tts.js → ApprovalRulesSettingsPage-B-Y2YjpT-Cmxno3qR.js} +1 -1
  20. package/dist/assets/{ArAgingChart-CCc6eh55-fg322qhA.js → ArAgingChart-CCc6eh55-gFVrqmo_.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-CYXVPEzK-BXygZJWM.js → ArAgingDetailPage-CYXVPEzK-DJfFgL4N.js} +1 -1
  22. package/dist/assets/{AttachmentView-DqrQDEWc-bqv6C4yz.js → AttachmentView-DqrQDEWc-xCZ214JL.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-D1_dZg5k-Cp5teLbH.js → BalancesInsightWithToolTip-D1_dZg5k-DQ_IxlP9.js} +1 -1
  24. package/dist/assets/{BankAccountSection-4vXBKCFA-DKXdSrK9.js → BankAccountSection-4vXBKCFA-Clz7a1S8.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-Dhmxhwx--DZdDHKDy.js → BankAccountWarningSection-Dhmxhwx--Yk0j00ZU.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-z52fh-wH-8ecSlDkf.js → BankConnectionsSettingsPage-z52fh-wH-3DxfIBNE.js} +1 -1
  27. package/dist/assets/{BillDetailPage-DRpctLxu-LXI19q8V.js → BillDetailPage-DRpctLxu-DXfbZDoG.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-KGuDCnTY.js → BillPayApprovalRoutes-BgvqlrUy.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-CJtb4oOG-D3VWhKCe.js → BillPayApprovalRuleDetailPage-CJtb4oOG-CtgAcmuQ.js} +1 -1
  30. package/dist/assets/{BillPayApprovalRulesPage-HG32jtX9-BIhcv1hk.js → BillPayApprovalRulesPage-HG32jtX9-BUVTGWgu.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-DwxNDF0k-CcLPK5n4.js → BillPayPromoPage-DwxNDF0k-B5FuLPhY.js} +1 -1
  32. package/dist/assets/{BillPayRoutes-Ce5JVkt4.js → BillPayRoutes-YLpt2aCD.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-B-kmDrpB-DqUJzo3-.js → BillPaySetUpPage-B-kmDrpB-BcgtlVH-.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-CNZyUOpM-KCtCCu_U.js → BillingSettingsPage-CNZyUOpM-CkmyE4GR.js} +1 -1
  35. package/dist/assets/{BillsBulkReviewDrawerPage-DbIDTE51-jz6OelMc.js → BillsBulkReviewDrawerPage-DbIDTE51-BfhLnWA9.js} +1 -1
  36. package/dist/assets/{BoxItem-CIyMdw2s-BlAcmWAT.js → BoxItem-CIyMdw2s-C09MUjaB.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-DQ34qLUA-DQ_EHnlJ.js → BusinessVerificationPage-DQ34qLUA-DG-QnMwN.js} +1 -1
  38. package/dist/assets/{BusinessVerificationPageScreen-iODPCcKg.js → BusinessVerificationPageScreen-CXN2pQXQ.js} +1 -1
  39. package/dist/assets/{BusyIndication-YMYY0Pff-BY32OnMI.js → BusyIndication-YMYY0Pff-BT75hsR0.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-CN1RN7Tf-Crkz5sd9.js → CardNumberSubText-CN1RN7Tf-D2xaj4U6.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-CyYkVa0H-YXMN_DEG.js → CashbackDetailPage-CyYkVa0H-ZVP6lSdv.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-DFUAF2OM-DP6SPQkf.js → ChargeCardDetailPage-DFUAF2OM-CMq79ons.js} +1 -1
  43. package/dist/assets/{ChargeCardListPage-BTHDGtJ6-Cjssvtzk.js → ChargeCardListPage-BTHDGtJ6-Cf4tW6na.js} +1 -1
  44. package/dist/assets/{ChargeCardListTable-BiKjkqVs-C2Q47jri.js → ChargeCardListTable-BiKjkqVs-DmEZHkoe.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-sPGU7qmY-D7s1gonC.js → ChargeCardPaymentHistoryPage-sPGU7qmY-De2tWjhC.js} +1 -1
  46. package/dist/assets/{ChargeCardPromoPage-6JwKgWli-CuEACLDU.js → ChargeCardPromoPage-6JwKgWli-3qEX8CR5.js} +1 -1
  47. package/dist/assets/{ChargeCardRoutes-R82vHuIV.js → ChargeCardRoutes-Q_AcVfPK.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-DmhPAnYT-kDmietjf.js → ChargeCardSetupPage-DmhPAnYT-CZCQ5HNb.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-DUXupPSN-BYaTogVZ.js → ChargeCardStatementsPage-DUXupPSN-5KsVWQ3X.js} +1 -1
  50. package/dist/assets/{CheckDepositDrawerPage-C8nbDVSz-fCr2LZZm.js → CheckDepositDrawerPage-C8nbDVSz-KV4EdXpf.js} +1 -1
  51. package/dist/assets/{CollapsableReportTable-C_bWRP7w-ybv6uXaY.js → CollapsableReportTable-C_bWRP7w-B5XVOChU.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-6LXCxWYP-N1CjwGwi.js → CompanyOfficerDetailsSection-6LXCxWYP-BUFWf_Jt.js} +1 -1
  53. package/dist/assets/{CompanyPassportCard-DVJS9xE7-WQAczivM.js → CompanyPassportCard-DVJS9xE7-D3yBGMbD.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-FJ30paB0-B650xBRc.js → CompanyPassportPage-FJ30paB0-DEw2KSMR.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-v4ozfRkw.js → CompanyPassportScreen-7B6uf7gM.js} +1 -1
  56. package/dist/assets/{CompleteProfile-D3Im5rsm-DOcwDl2N.js → CompleteProfile-D3Im5rsm-UkElY7yx.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-BJrOe5Fg-B4cWwrd1.js → ConfettiBurst-BJrOe5Fg-zHdUBtAM.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CRf6FtAm.js → ConnectionAuthScreen-LV19LrUf.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-Dk4QFttG.js → ConstrainedInnerElement-CgdnMeoA-CIRoVGoS.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-C8dK3_XQ-BF1JDoLL.js → CreateOrEditVendorPage-C8dK3_XQ-B7BE5vbO.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-Dp5mS2Hc-CeHtX3in.js → CreditCardPaymentDrawerPage-Dp5mS2Hc-CdWmI3zd.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-BAQ5aoHk-DH5SrL5M.js → CurrencySelectField-BAQ5aoHk-CLSx3dj2.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-D8T1akbN-CiWQ4BME.js → CustomerOnboardingActivationPage-D8T1akbN-CqBRQYAW.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-7W5EArl5.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-UuDDkSt5.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DSvvHqR_-B6nZNBwn.js → CustomerOnboardingDetailPageSkeleton-DSvvHqR_-DDxDa7To.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-CSLO3M7E-qZci9B5e.js → CustomerOnboardingNoStepsPage-CSLO3M7E-DfrADWrN.js} +1 -1
  68. package/dist/assets/{CustomerOnboardingPage-weza3x24-BkXOFQX9.js → CustomerOnboardingPage-weza3x24-89JMVlty.js} +1 -1
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-3YH4y1e1-JkiatwoQ.js → CustomerOnboardingProductSuitePage-3YH4y1e1-aePXzh9B.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-BH4p4U2x.js → CustomerOnboardingRoutes-CIx1-GM_.js} +1 -1
  71. package/dist/assets/{Dashboard-Bpuy-Pez-CGeVqi25.js → Dashboard-Bpuy-Pez-BVeBVlwV.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-1p79NBF9-PsndgGNB.js → DashboardReportPage-1p79NBF9-DWbFRbgX.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-BpbDpYw3.js → DashboardRoutes-0ryBDIPF.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CBg2tWHO-BrEJtieY.js → DashboardSidebarBackgroundAnimation-CBg2tWHO-Cyc1B4hB.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-dh0i9bS7.js → DefaultTenantHome-CfqvxZPL.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-DlztlGZL-BabOldBp.js → DepositAccTransactionItem-DlztlGZL-CezsIYfK.js} +1 -1
  77. package/dist/assets/{DepositAccTransactionListPage-BO43c3Uz-DAiR329Z.js → DepositAccTransactionListPage-BO43c3Uz-Zcue0IvK.js} +1 -1
  78. package/dist/assets/{DomesticWireDetailScreen-73EFUwYw.js → DomesticWireDetailScreen-Dt7o6kAb.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-SEql3I0P-DopSoItu.js → DomesticWireDetailsPage-SEql3I0P-CwtZcgDr.js} +1 -1
  80. package/dist/assets/{DownloadOverlay-PhrwF2iZ-DE41QNaR.js → DownloadOverlay-PhrwF2iZ-BOGlUpUv.js} +1 -1
  81. package/dist/assets/{DrawerPage-Bf3AP3Lj-Ca4Hlb-5.js → DrawerPage-Bf3AP3Lj-CuJ6OWfo.js} +1 -1
  82. package/dist/assets/{DrawerScreen-DHeqOl2i.js → DrawerScreen-BoLS3cEF.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-B-rBzonN-uBCjqsHV.js → EditPeoplePage-B-rBzonN-CS3sxfIN.js} +1 -1
  84. package/dist/assets/{EditReimbursementDetailPage-CUiIHNgT-8PuUQb7F.js → EditReimbursementDetailPage-CUiIHNgT-HAw3keDO.js} +1 -1
  85. package/dist/assets/{EntityDetailPage-CvLzsrUE-BBux-0Uo.js → EntityDetailPage-CvLzsrUE-Dr8rmeD7.js} +1 -1
  86. package/dist/assets/{EntityDetailRoutes-DBLMB4dw.js → EntityDetailRoutes-BToXXZKQ.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-mXeSjiuZ-B9FERucG.js → EntitySummarySection-mXeSjiuZ-BvfGPJV_.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-DQCoy1O9-BZfo9th3.js → ExpenseAutomationOverviewPage-DQCoy1O9-DKKO1Jrc.js} +1 -1
  89. package/dist/assets/{ExpenseAutomationPage-BeAzQ7Qx-Dz7fhupP.js → ExpenseAutomationPage-BeAzQ7Qx-C48GQ06z.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-Ciow3RJ2.js → ExpenseAutomationRoutes-GuaeYvX3.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-C-isOU1b-CVmq_SpS.js → ExpressPayPage-C-isOU1b-DYMWp0fl.js} +1 -1
  92. package/dist/assets/{FeaturePreviewPage-Cyre9YzV-Cftfc0PA.js → FeaturePreviewPage-Cyre9YzV-DesOgA9M.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-2RPLc4Gf.js → FeaturePreviewScreen-DKVtqlmL.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-DZNWzSvo-BRkqWsPS.js → FollowStepsSection-DZNWzSvo-CEWgMRa8.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-Dp--ugNc-Dtv4hNaC.js → GlobalReviewListPage-Dp--ugNc-CR5AVKkp.js} +1 -1
  96. package/dist/assets/{InformationCardStack-D7naFDX0-DgOmsE3E.js → InformationCardStack-D7naFDX0-CJPEq7Jn.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-DexUl4h--CD8yzPkl.js → InsightsCardStack-DexUl4h--Bl8IGBl8.js} +1 -1
  98. package/dist/assets/{InsightsSection-D9PJ55E6-BZ3NURYW.js → InsightsSection-D9PJ55E6-Br2S_mzj.js} +1 -1
  99. package/dist/assets/{IntegrationsSettingsPage-hFTe3wiP-BhlDRzBS.js → IntegrationsSettingsPage-hFTe3wiP-BbqUP31g.js} +1 -1
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-DLkE5bXp-CEjk6OlM.js → InternationalWireSwiftDetailsPage-DLkE5bXp-CVUjdU_d.js} +1 -1
  101. package/dist/assets/{InternationalWireVerificationPage-DYGjEqNz-BHv8RAGX.js → InternationalWireVerificationPage-DYGjEqNz-OdDFheAC.js} +1 -1
  102. package/dist/assets/{InviteFormPage-CGAsWQn7-CTMj3TWe.js → InviteFormPage-CGAsWQn7-BQX11ciA.js} +1 -1
  103. package/dist/assets/{InvitePageListView-BSPE9f03-DiWtDrPd.js → InvitePageListView-BSPE9f03-CSYqsy-x.js} +1 -1
  104. package/dist/assets/{InvitePeoplePage-ANvLB-mB-bW0ZLS4w.js → InvitePeoplePage-ANvLB-mB-CwQaZHmv.js} +1 -1
  105. package/dist/assets/{InvoiceUploadSection-OGMswY7c-CziQJBl6.js → InvoiceUploadSection-OGMswY7c-JnVeVq04.js} +1 -1
  106. package/dist/assets/{IssueChargeCardPage-sLInqAsW-C2PmO3GP.js → IssueChargeCardPage-sLInqAsW-Cl_MHNbe.js} +1 -1
  107. package/dist/assets/{LabeledAddressValue-DBJ236tZ-DRwoxJhK.js → LabeledAddressValue-DBJ236tZ-DU9mrQ8B.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-CAr-IiTa-hz8acdw2.js → LabeledAddressValueField-CAr-IiTa-Coj2vGIo.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-BdWZgcQc-Dj_Rq1GV.js → LabeledControlledCheckBoxField-BdWZgcQc-CSRUO8Mc.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-C6z1v9S1-B3o5vQAY.js → LabeledCountryMultiSelectField-C6z1v9S1-0fn76-gA.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-Dhi0n2ky-DMTYZTz6.js → LabeledCreatableSingleSelectField-Dhi0n2ky-C4cpdoPU.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-B3QSq1eM-IGzby_k8.js → LabeledDocumentField-B3QSq1eM-CQ4OV_q7.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-B39DlufR-DdaTss6V.js → LabeledDropDownFormattedTextField-B39DlufR-OSl5UgSA.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-CY2mGhJG-CWnMQ78-.js → LabeledEmailInputField-CY2mGhJG-DsHOn9-h.js} +1 -1
  115. package/dist/assets/{LabeledNameField-CYN5kdQi-86Gkfv4K.js → LabeledNameField-CYN5kdQi-C2knR9hx.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-CBXzDXMd-Bb2Vdxcj.js → LabeledSingleSelectField-CBXzDXMd-Be-7ukpv.js} +1 -1
  117. package/dist/assets/{LabeledText-GEbY3-bB-BUisrQ9a.js → LabeledText-GEbY3-bB-a8-4xrHX.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-CSkej6UT.js → LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-jZMMsugI.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-DJfE1qQb-B_HO08cO.js → LabeledZeniRolesDropDownField-DJfE1qQb-C9jHsUlw.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-B2ROo3VS-YhdCoxbn.js → LinkJETransactionPage-B2ROo3VS-CD9ycgeo.js} +1 -1
  121. package/dist/assets/{LockCardPage-D2dUPnNL-tuQUusRC.js → LockCardPage-D2dUPnNL-CjHU-BzP.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-DTtl3SIc-jw3rRGRn.js → LowBalancePopup-DTtl3SIc-aNudwoSx.js} +1 -1
  123. package/dist/assets/{MagicLinkACHDetailsPage-BC6_cyO0-C-40wwsX.js → MagicLinkACHDetailsPage-BC6_cyO0-BH-mUM2m.js} +1 -1
  124. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CdG5oCPl-DLQOqv2b.js → MagicLinkDomesticWireDetailsPage-CdG5oCPl-BJlbALp7.js} +1 -1
  125. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C046BNUz-Du-Hf2Rs.js → MagicLinkInternationalWireDetailsPage-C046BNUz-B5CdjKd2.js} +1 -1
  126. package/dist/assets/{MagicLinkRoutes-Ce7UoZ3g.js → MagicLinkRoutes-B_At_wkT.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-BzoOowms.js → MagicLinkSignInScreen-CB2sh4Tk.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-Ctt1pLiv-DgUpkUDW.js → MagicLinkSuccessPage-Ctt1pLiv-B1_3zL4I.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-CtsQ_c44-DD1X6fG2.js → MagicLinkTitleSection-CtsQ_c44-DzfsAoNb.js} +1 -1
  130. package/dist/assets/{MailingDetailsSection-DiZwQ9QV-Zw0hJwAt.js → MailingDetailsSection-DiZwQ9QV-DS2ZtXrV.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-qasrJsA4.js → MobileAppDrawer-D9B1riEd.js} +1 -1
  132. package/dist/assets/{MoreMenuButton--MxUyTqX-BRissmUy.js → MoreMenuButton--MxUyTqX-DxfOtpkn.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-6ltpx62E-D6KFe-KP.js → MyBankConnectionsSettingsPage-6ltpx62E-vyWVBa3l.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-CwDedcXl-Dxd2fyLg.js → MyPendingActivationChargeCardListPage-CwDedcXl-BfNnXoNe.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-Bmhu2lrK-CTluZRHn.js → MyProfileSettingsPage-Bmhu2lrK-BTNTNmEK.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-jqJCHGvR-DMu0y4Qb.js → NavBarWithPicker-jqJCHGvR-dfmiqqqq.js} +1 -1
  137. package/dist/assets/{NavigationArrow-DY_BhITD-gGit-4br.js → NavigationArrow-DY_BhITD-BQwiFtSS.js} +1 -1
  138. package/dist/assets/{NavigationDots-Kh5ODrCQ-DwZ3hrog.js → NavigationDots-Kh5ODrCQ-DBa52_8H.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-BYTROFvX-DwdJUPSt.js → NewGlobalMerchantPage-BYTROFvX-Bjv2RB8-.js} +1 -1
  140. package/dist/assets/{NoDataChart-CuiKDcAB-DcvOdNkO.js → NoDataChart-CuiKDcAB-BwyLAmy8.js} +1 -1
  141. package/dist/assets/{NoDataTable-BpH8puX--CKc9Uumk.js → NoDataTable-BpH8puX--CRikf6dL.js} +1 -1
  142. package/dist/assets/{NotFoundPage-BKvCYyvc-CVW4jAzU.js → NotFoundPage-BKvCYyvc-C4zGt610.js} +1 -1
  143. package/dist/assets/{NotFoundScreen-BGyIaLbV.js → NotFoundScreen-DGF4ewvh.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-g75WljLy.js → NotificationRoutes-BOCajdcJ.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-F2xXUCSE-1aLSD_P9.js → NotificationSettingsPage-F2xXUCSE-Exk6EXhh.js} +1 -1
  146. package/dist/assets/{NotificationsListConfig-C9r-O2kH-aq3nwp_9.js → NotificationsListConfig-C9r-O2kH-YO8sPuy3.js} +1 -1
  147. package/dist/assets/{NotificationsPage-CZZ9GTVy-CjLasA13.js → NotificationsPage-CZZ9GTVy-BlxqoNKc.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-Crvcsx0U-D2kbC2Nh.js → OpExByVendorPage-Crvcsx0U-DV1gdTtR.js} +1 -1
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-DpfAmCAx.js → OverlayContainerPage-BG9y5C0t-Bb0zlii5.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-CkDCt5NK-CZTB6HyP.js → PandLWithForecastPage-CkDCt5NK-BXsQyBSk.js} +1 -1
  151. package/dist/assets/{PandLWithForecastRoutes-BIm6SNTl.js → PandLWithForecastRoutes-DUjvSQn1.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D1ZDh1GY-CDM1qPvj.js → PaymentAccountSetupBillingAddressSection-D1ZDh1GY-CQR83EXw.js} +1 -1
  153. package/dist/assets/{PeoplePage-D2CtRlrd-By7K7MoK.js → PeoplePage-D2CtRlrd-CyfJaF0_.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-DYEYoT-Z.js → PeopleRoutes-DWTFCJOs.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-DfWgoWPO.js → PerformanceRoutes-DAqkD2US.js} +1 -1
  156. package/dist/assets/{Preview-CBFJfLMb.js → Preview-BOuv1ApV.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-sNagRI0c-61XsnGmO.js → ProductsCarousel-sNagRI0c-CXROneWv.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BUk-u73S-BOYyiMks.js → PromoBaseCards-BUk-u73S-CdxIVd7h.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-C1rEAxUE-DfW1Uzaj.js → QBOConnectionDialog-C1rEAxUE-Bns4Q1dD.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-Rp-2rn0k.js → QBOConnectionScreen-BzZBkC05.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-iQJCHR-K-Cozk6L0j.js → QBOSetupSection-iQJCHR-K-CCZ1VagE.js} +1 -1
  162. package/dist/assets/{ReferralListScreen-CBuGWNNX.js → ReferralListScreen-CRs7Pk4b.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-D0ehNmsg.js → ReimbursementApprovalRoutes-XjY3gDt6.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BPIKZ9v1-_Rw4LFib.js → ReimbursementApprovalRuleDetailPage-BPIKZ9v1-CWKcEqcV.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen--zBLN-vr.js → ReimbursementApprovalRuleDetailScreen-CxSdKHi9.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-AE810nQZ-CKLvlvGT.js → ReimbursementApprovalRulesPage-AE810nQZ-CChCQ3Ja.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-CYuZJL_J-Dc9Q5SmJ.js → ReimbursementDetailPage-CYuZJL_J-BWOIR-bJ.js} +1 -1
  168. package/dist/assets/{ReimbursementPromoPage-CaxjSwrz-BqYGPT-x.js → ReimbursementPromoPage-CaxjSwrz-DwHvaE_-.js} +1 -1
  169. package/dist/assets/{ReimbursementRoutes-Dw1HmBPZ.js → ReimbursementRoutes-CvpKnwwj.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-Bw77MBHF-CqZyhccg.js → ReimbursementSetUpPage-Bw77MBHF-CscUt_mO.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B-svIloS-u7x5I4fB.js → ReimbursementsBulkReviewDrawerPage-B-svIloS-B1Lp4xHp.js} +1 -1
  172. package/dist/assets/{ReloadCard-D5kxTfzJ-CHGlYP1Y.js → ReloadCard-D5kxTfzJ-f2yTtdPG.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-BZU8yltx-BXz0jYWq.js → ReportTableViewSelector-BZU8yltx-DSV7knFo.js} +1 -1
  174. package/dist/assets/{ReportsPage-CdN9MEVy-VFwi_Sta.js → ReportsPage-CdN9MEVy-DTQ_WR-z.js} +1 -1
  175. package/dist/assets/{ReportsRoutes-BxP48mVj.js → ReportsRoutes-CuJzeSSZ.js} +1 -1
  176. package/dist/assets/{RevenueChart-B_RMeweH-sORV0ExB.js → RevenueChart-B_RMeweH-BaW-ee-H.js} +1 -1
  177. package/dist/assets/{ReviewDetailsPage-a73YIZSO-BwRkWQP6.js → ReviewDetailsPage-a73YIZSO-DpkHrzHu.js} +1 -1
  178. package/dist/assets/{ReviewOverlay-Ubmz06uP-Dq2e8WZF.js → ReviewOverlay-Ubmz06uP-BJLc1VC5.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-kNiN5XKd.js → RewardsRoutes-DR53o9JA.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-BYO1YG6N-CpH6tY8x.js → RoleWithToolTip-BYO1YG6N-BFoZQpPA.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-vgqilDC8-BtW6gR7z.js → ScheduleDetailsFixedAssetsPage-vgqilDC8-DDQ83sDS.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-DdEeFryA-D3pgpVcx.js → ScheduleDetailsPage-DdEeFryA-DsuykU2q.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-poNEzbqS-Bn1GkRq3.js → ScheduleSequenceTable-poNEzbqS-CnUEqaUu.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-D1xPWhMn.js → ScreenRoutes-Cj2iuXVM.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-BSOGwHCj-BawfFLHE.js → SetUpAccountSection-BSOGwHCj-l5hcQr16.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-CQFKHlBE.js → SettingsRoutes-BxSbNmrP.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-Khrg4fmZ.js → SetupPagesScreen-zQ3NX2lR.js} +1 -1
  188. package/dist/assets/{SignIn-q4J9wRx8-CmY6_2-N.js → SignIn-q4J9wRx8-HA_1dqj8.js} +1 -1
  189. package/dist/assets/{SignInScreen-DE5iszhl.js → SignInScreen-CELs0Aza.js} +1 -1
  190. package/dist/assets/{SignOutScreen-BrEmVZ7k.js → SignOutScreen-Drnn4I9w.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-DKRkSADM-CyVMAS6i.js → SpendManagementListViewPage-DKRkSADM-B4S5gwAW.js} +3 -3
  192. package/dist/assets/{SpendManagementPerTabPage-Cd30NnXU-CuxG4XXm.js → SpendManagementPerTabPage-Cd30NnXU-Doh8LRUx.js} +1 -1
  193. package/dist/assets/{SpendManagementSection-CPBOh_J5-VebfRScE.js → SpendManagementSection-CPBOh_J5-Cx9bexj6.js} +1 -1
  194. package/dist/assets/{StatementItem-NyOORj5f-CGBabGx-.js → StatementItem-NyOORj5f-DBo43N4H.js} +1 -1
  195. package/dist/assets/{StatementsPage-Cp77wyFS-BNWHu83c.js → StatementsPage-Cp77wyFS-DaxbhsSQ.js} +1 -1
  196. package/dist/assets/{StatusSwitcher-DN-yYdli-C38uA7vA.js → StatusSwitcher-DN-yYdli-Cu3f5bfq.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-D1LNrhUn-k7hSwnGE.js → SubTabSwitcher-D1LNrhUn-CAQ9zzl5.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-DdyAYe1e-CRBZLEcw.js → SuccessAnimation-DdyAYe1e-CEynHwH0.js} +1 -1
  199. package/dist/assets/{SummaryCard-DgIPSt4y-BreXikds.js → SummaryCard-DgIPSt4y-9lOT4ZI5.js} +1 -1
  200. package/dist/assets/{TaskDetailPage-DXTLNhtf-DSitOXq0.js → TaskDetailPage-DXTLNhtf-Bv_CIrcO.js} +1 -1
  201. package/dist/assets/{TaskListScreen-DkpddMj-.js → TaskListScreen-DF7HvN9h.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-BaLJR4-7-CF4lQh5a.js → TaskManagementPage-BaLJR4-7-CcdtHiNd.js} +1 -1
  203. package/dist/assets/{TaskRoutes-FkwKuuJe.js → TaskRoutes-DxF_jRUO.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-CkgGEwEw-BPD6p-o-.js → TimeRangeSwitcher-CkgGEwEw-Cje_LjEs.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-B8fpnYS8-DN6x7QeB.js → TimeframeSwitcher-B8fpnYS8-9PZp4BSK.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-DwFo6jY4-D-j20nY7.js → TimeframeSwitcherWithToggle-DwFo6jY4-D0eIiKbV.js} +1 -1
  207. package/dist/assets/{TopExCard-PayAZZY--CN7knT9a.js → TopExCard-PayAZZY--Bj-aVuk-.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-Mp2KcYf6-DF6BJLe1.js → TopExDetailPage-Mp2KcYf6-C_nzfxYJ.js} +1 -1
  209. package/dist/assets/{TransactionActivityLogPage-CnmL_hUz-xxBYOo0V.js → TransactionActivityLogPage-CnmL_hUz-DdEnXJ8f.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-Bqlnmn8Y-C-G32l9E.js → TransactionDetailPage-Bqlnmn8Y-JVQYT9QH.js} +1 -1
  211. package/dist/assets/{TransactionDetailRoutes-Bur6XOBC.js → TransactionDetailRoutes-Dsu-ghiL.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-TsmDBl7P.js → TransactionDetailScreen-8GuKlcKa.js} +1 -1
  213. package/dist/assets/{TransactionList-BOmlsfpv-P61oqFED.js → TransactionList-BOmlsfpv-qlUBYIHt.js} +1 -1
  214. package/dist/assets/{TransactionListBig-CaMT-rq_-CyI8cEhp.js → TransactionListBig-CaMT-rq_-7hp5f6-i.js} +1 -1
  215. package/dist/assets/{TransactionListPage-D_dgwnFp-D9ucLBYe.js → TransactionListPage-D_dgwnFp-ChsX6wWw.js} +1 -1
  216. package/dist/assets/{TransactionListRoutes-Bze4GklF.js → TransactionListRoutes-DVQtuZtB.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DlXuiPC5-CVKs_i6q.js → TransactionVendorDetailPage-DlXuiPC5-DR6QT97k.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C2VcssbM-BdJwka8r.js → TransferDrawerPage-C2VcssbM-Cu4oX3M3.js} +1 -1
  219. package/dist/assets/{TreasuryOverviewPage-DyyoGY23-8NjmnIXR.js → TreasuryOverviewPage-DyyoGY23-C8QrAhwL.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-B9Hf7oxZ-CY7Z2jR8.js → TreasuryPromoPage-B9Hf7oxZ-exH2M4Kq.js} +1 -1
  221. package/dist/assets/{TreasuryRoutes-BcEhSPu-.js → TreasuryRoutes-NYBhe4Sz.js} +1 -1
  222. package/dist/assets/{TreasuryStatementsPage-DOzJzfTG-COamdHZN.js → TreasuryStatementsPage-DOzJzfTG-D2BPEanX.js} +1 -1
  223. package/dist/assets/{TreasuryTaxLetterPage-BcTBr9x9-DQ6bAdf9.js → TreasuryTaxLetterPage-BcTBr9x9-DmWWAi8g.js} +1 -1
  224. package/dist/assets/{TrendChart-BvXDrgUJ-D_jexAAy.js → TrendChart-BvXDrgUJ-DaPNeQha.js} +1 -1
  225. package/dist/assets/{TrendWithTransactions-RCpzdPf3-B6dzBDBs.js → TrendWithTransactions-RCpzdPf3-xFzViS9J.js} +1 -1
  226. package/dist/assets/{UncategorizedAccountsMappingPage-B1m3iXh5-Ip2N2jHp.js → UncategorizedAccountsMappingPage-B1m3iXh5-CWDJigyo.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-lVg_8mQ4-CG7xv8GT.js → UnitIntegrationPage-lVg_8mQ4-BqTrIaLn.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-DrAWxBXn-_zHsjfu5.js → UploadAdditionalDocumentOverlay-DrAWxBXn-CvQ8tJ-8.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-C8m_OJEH-D165qdUh.js → Vendor2FAPopup-C8m_OJEH-CGjK9uo8.js} +1 -1
  230. package/dist/assets/{VendorACHDetailsPage-JhO6KtMC-CANKU5ry.js → VendorACHDetailsPage-JhO6KtMC-Vnc2qc0g.js} +1 -1
  231. package/dist/assets/{VendorDetailPage-Y9_hsgjs-C9Wt_5QU.js → VendorDetailPage-Y9_hsgjs-Bs6JWCG0.js} +1 -1
  232. package/dist/assets/{VendorDomesticWireDetailsPage-D0RsDHxf-Bxd9GX1z.js → VendorDomesticWireDetailsPage-D0RsDHxf-BA4CpK_P.js} +1 -1
  233. package/dist/assets/{VendorFiling1099EditablePage-CPevpiim-qmsYTkLB.js → VendorFiling1099EditablePage-CPevpiim-Dbk4Mp2s.js} +1 -1
  234. package/dist/assets/{VendorFirstReviewPage-CXftFNl_-CCYTLrD_.js → VendorFirstReviewPage-CXftFNl_-_y9eg1t7.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-88NtGE3e-C0C0m4pv.js → VendorInternationalWireDetailsPage-88NtGE3e-DhB1w2yC.js} +1 -1
  236. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BTh-VP1b-C-5vzJEN.js → VendorInternationalWireSwiftDetailsPage-BTh-VP1b-r4FuxoOX.js} +1 -1
  237. package/dist/assets/{VendorsAccountsSection-DorsKXyL-B5FHsSOL.js → VendorsAccountsSection-DorsKXyL-DqIvcWpM.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-FQkb12pI.js → VendorsRoutes-KueNgBM0.js} +1 -1
  239. package/dist/assets/{VerifyDevice-DAym8rUN-BlHFuMzS.js → VerifyDevice-DAym8rUN-M7g6H0jm.js} +1 -1
  240. package/dist/assets/{VideoPlayer-53OvOC7l-pPI6Q2OV.js → VideoPlayer-53OvOC7l-RvSvHksJ.js} +1 -1
  241. package/dist/assets/{VideoPopup-v9quqdro-CKa7Hhxk.js → VideoPopup-v9quqdro-7jf9bldH.js} +1 -1
  242. package/dist/assets/{WiseConfirmationScreen-DsF9s3cq.js → WiseConfirmationScreen-ZA8zS_nU.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-CFEGqW5l-Cc3o93o-.js → ZeniAccountDetailPage-CFEGqW5l-typbF83j.js} +1 -1
  244. package/dist/assets/{ZeniAccountListViewPage-j85TO5tM-D8dMZ6jp.js → ZeniAccountListViewPage-j85TO5tM-DjfKcyrL.js} +1 -1
  245. package/dist/assets/{ZeniAccountNavBarPieces-Bv34Vsqj-S8eWsLxK.js → ZeniAccountNavBarPieces-Bv34Vsqj-DzYraOow.js} +1 -1
  246. package/dist/assets/{ZeniAccountPromoPage-DeHmh4My-CfY9P4dJ.js → ZeniAccountPromoPage-DeHmh4My-DJyZmW1d.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-CfCvabZR.js → ZeniAccountRoutes-_rESdYK7.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-ofkQR72l-CBlKDRVk.js → ZeniAccountSetupPage-ofkQR72l-DbUwbU98.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-CGYScuoU.js → ZeniAccountStatementScreen-CXTN4TcP.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-Ct7MPW2X-BHlw9FbG.js → ZeniAvatar-Ct7MPW2X-Dr9Hk39M.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-CmCqmJmV-3KycUvio.js → ZeniCopyright-CmCqmJmV-DYheSP80.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-RNJ2ukKC-BM4oYXJe.js → ZeniDatePicker-RNJ2ukKC-CtKXessM.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-BpfqM032-CVzLkYGE.js → ZeniTransferAmountSlider-BpfqM032-BwOaWtqI.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-rwWvpsms.js → accountMappingHelper-BLU8hIq_.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-CzXhL1Ym.js → add-to-wallet-DgdBD8_G-Cv2WBwY-.js} +1 -1
  256. package/dist/assets/{analytics-DIWVqtXV.js → analytics-DuMT4wpV.js} +1 -1
  257. package/dist/assets/{analyticsHelper-CLBcUDc5.js → analyticsHelper-CtwnuYac.js} +1 -1
  258. package/dist/assets/{analyticsHelper-qtejXlXH-UFbrYbZ_.js → analyticsHelper-qtejXlXH-d-w7uTbl.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-CWRd961V.js → arrow-south-east-round-PEovUgvH-DWItiKv4.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-Bjm-l3iW.js → auto-transfer-rule-mbafm5D3-DVkawdL2.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-CKqFD1L0.js → avatar-Dz7aEm3d-VXKNqIyu.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-BhxkRonC.js → bank-letter-BOcVjN6J-v-zvGYkf.js} +1 -1
  263. package/dist/assets/{calculateSize-CzpGCfNE-CNrV3_Iu.js → calculateSize-CzpGCfNE-DkEz7M5T.js} +1 -1
  264. package/dist/assets/{chartTypes-BqRsL6eJ-D0sv3zgU.js → chartTypes-BqRsL6eJ-DnPOTdta.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-9m-0TbEY.js → clock-CJkylEKt-DTBXHHGh.js} +1 -1
  266. package/dist/assets/{common-BxjzMhDO-M6F2cReY.js → common-BxjzMhDO-DjrSaNg9.js} +1 -1
  267. package/dist/assets/{commonDimensions-CzWWgDTA-C5sl3WWf.js → commonDimensions-CzWWgDTA-CkwNwI_N.js} +1 -1
  268. package/dist/assets/{commonTypes-CF6UyWSv-BQXpwXby.js → commonTypes-CF6UyWSv-CFnrHGdI.js} +1 -1
  269. package/dist/assets/{core-BAxGDYbL.js → core-Dbakk1VU.js} +1 -1
  270. package/dist/assets/{dash.all.min-DLVq1nc5.js → dash.all.min-C8PYPQo3.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-Bypqq6TF.js → decodeURIComponentSafe-EYVZFaGG.js} +1 -1
  272. package/dist/assets/{dnd-BEk5qqV2.js → dnd-CoZK9h43.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-DgPiQ4X2.js → dollar-round-D18u7nlm-PE8nVeMR.js} +1 -1
  274. package/dist/assets/{downloadPdf-BFFM3Hea-CZaqSBqv.js → downloadPdf-BFFM3Hea-2RXX_qzA.js} +1 -1
  275. package/dist/assets/{empty-C6XM9c0M.js → empty-C3KqHyA9.js} +1 -1
  276. package/dist/assets/{empty-BWHMm5Kr.js → empty-CjUOQS3C.js} +1 -1
  277. package/dist/assets/{epic-CkteLEKR.js → epic-BGBLm-VW.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-yDtIQZZZ.js → filter-cZIFUNvj-KJVxW4YT.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-DIET8R83.js → getLocaleForTenant-BAO89gke.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-a88q6Sec.js → gift-box-Cmt9OgIZ-Bfn5R-O9.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BXu_Erqy.js → graphic-no-data-l-DU4J8fDt-BFYI8sfE.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CDJ9LscK.js → graphic-no-data-net-burn-l-CzmycA0m-DgQOtljq.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-DXXhI3e_.js → handshake-BPg58FML-DOXeNqAW.js} +1 -1
  284. package/dist/assets/{helper-COxPEvgL-B99qx9wP.js → helper-COxPEvgL-DjqGilVF.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-DDEc353Q.js → hyperlink-DQyCeXx2-BPv_vjnI.js} +1 -1
  286. package/dist/assets/{index-CVjW2ppf.js → index-BG4JRo3L.js} +1 -1
  287. package/dist/assets/{index-CkLoBdAM.js → index-BdbGtEP2.js} +1 -1
  288. package/dist/assets/{index-CDtqLLbw.js → index-CH6Xem9w.js} +1 -1
  289. package/dist/assets/{index-rcznrhDB.js → index-DD0lDka6.js} +1 -1
  290. package/dist/assets/{index-BUTnHeUk.js → index-dCAlFLzb.js} +1 -1
  291. package/dist/assets/{index-CVe1fo1a.js → index-iSEGT9xi.js} +6 -6
  292. package/dist/assets/{lexical-eSt6-8-s.js → lexical-Dk5TD4lX.js} +1 -1
  293. package/dist/assets/{liveblocks-DIb7UiB5.js → liveblocks-DdnYk2Co.js} +1 -1
  294. package/dist/assets/{lottie-DR43ghJ6.js → lottie-DBYzZfO9.js} +1 -1
  295. package/dist/assets/{mapLoadingInProgressToTreeNode-COOJxneh-Dn5oaOob.js → mapLoadingInProgressToTreeNode-COOJxneh-C62pjQWQ.js} +1 -1
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CcuLqf_I-DlLPz3lr.js → mapSectionWithAcOnlyToTreeNode-CcuLqf_I-D5MLuJek.js} +1 -1
  297. package/dist/assets/{mapSpacerToTreeNode-Ci5bdH6P-L9lviHBs.js → mapSpacerToTreeNode-Ci5bdH6P-1RH2DZQ7.js} +1 -1
  298. package/dist/assets/{mapTimeframeBalancesToTreeNode-CCZ9A7A6-m60AXXy6.js → mapTimeframeBalancesToTreeNode-CCZ9A7A6-C2Dl8nFW.js} +1 -1
  299. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cql9mEn3-BI70JNWv.js → mapTimeframeBalancesToTreeNode-Cql9mEn3-acr__MkP.js} +1 -1
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-C3md0v2d.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-DcnMdcWy.js} +1 -1
  301. package/dist/assets/{media-player-t6imgqTs.js → media-player-C20hpg6W.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-BKLw88Z7.js → money-2cg1MuG4-DnxgWofF.js} +1 -1
  303. package/dist/assets/{mui-DcvwYC51.js → mui-Bg5IRLA2.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-DYwfMchM.js → page-detail-CWX5S47F-XQ_ZOvdt.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-Ccsx0X5Z.js → page-summary-D7_VQHwN-DKN2ai-q.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-oybQQD8A.js → panelSelectedMixin-Cddsb26L-C6CCGzAz.js} +1 -1
  307. package/dist/assets/{pathToGoBack-DgCvIIns.js → pathToGoBack-BLk7pE4i.js} +1 -1
  308. package/dist/assets/{pdf-DA3UteIy.js → pdf-2PUMrtF-.js} +3 -3
  309. package/dist/assets/{pdf-lib-CB0YH404.js → pdf-lib-DlaDOnMS.js} +1 -1
  310. package/dist/assets/{plaid-Dma9BWZs.js → plaid-DCRMdnUX.js} +1 -1
  311. package/dist/assets/{pusher-BpsMW-yL.js → pusher-DjPz7AVp.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-DhACFBeo.js → radio-default-CiSgisfh-B6m2tow9.js} +1 -1
  313. package/dist/assets/{react-DSe89Cs9.js → react-BRYNjAhe.js} +1 -1
  314. package/dist/assets/{react-DIlTJIev.js → react-BpovbSPi.js} +1 -1
  315. package/dist/assets/{react-Gk8q99af.js → react-BtDFM6dw.js} +1 -1
  316. package/dist/assets/{react-DYy5XxA9.js → react-BtvC2hyM.js} +1 -1
  317. package/dist/assets/{react-Da-tqkFZ.js → react-C1B10AWi.js} +1 -1
  318. package/dist/assets/{react-CHYwPjVO.js → react-Cu5T4aA9.js} +1 -1
  319. package/dist/assets/{react-CGustVKo.js → react-DPKlRGpY.js} +1 -1
  320. package/dist/assets/{react-B399TF4z.js → react-mssibIlX.js} +3 -3
  321. package/dist/assets/{recharts-LOG_L3Q0.js → recharts-Bztd37V0.js} +1 -1
  322. package/dist/assets/{routePaths-B9s6SzIs.js → routePaths-BxZ6qL2m.js} +1 -1
  323. package/dist/assets/{sentry-CFYfTv_F.js → sentry-DwNPvXBL.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-DouOIUSu.js → shield-DOlUxcFf-BW1Lfeco.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-DTJkvAlS.js → spend-limit-D6SyboD4-BsKlbYVQ.js} +1 -1
  326. package/dist/assets/{toCOABalancesWithID-B70YK7cw-CXnt8iTO.js → toCOABalancesWithID-B70YK7cw-Cqus0iZx.js} +1 -1
  327. package/dist/assets/{toChartData-CWgd8E5c-DiIGKIgi.js → toChartData-CWgd8E5c-vscPIv0G.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-9RLgCBK-.js → transaction-placeholder-CpOwZAMG-BWj2A57R.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-4JO3_5lb.js → undo-b_3XZ5CX-CGq1U42f.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-CncAfPJ6.js → unlock-BPWn2I5L-C6sn8W4Z.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CX9b95cy.js → upload-reimbursement-receipt-O2N8vcO7-DPTiDKCC.js} +1 -1
  332. package/dist/assets/{uploadAttachment-D1ybl0Fy-CsdIaI-4.js → uploadAttachment-D1ybl0Fy-DXUbgDE0.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-BTLELte6.js → uploadReceipts-CIgkuVpu-b3VtRXVk.js} +1 -1
  334. package/dist/assets/{url-Cds_9Ffk.js → url-Cxz1BfkB.js} +1 -1
  335. package/dist/assets/{url-CG3dVLHq.js → url-DIYU8sPo.js} +1 -1
  336. package/dist/assets/{useDeviceId-Dzb269rv.js → useDeviceId-TTbuzrLv.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-D4Yk6niJ.js → useInitialThreadRequest-BftSmmiq.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-BCXZNFDE.js → useLongPress-GCK2COYQ-Cv3WvBA2.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-D0lXP7am.js → usp-line-BBd1wKwW-DX-ha8_c.js} +1 -1
  340. package/dist/assets/{utils-B0HnpOzO.js → utils-D8l6svaX.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-BBzl-sYH.js → withTransactionSidePanel-B9lAl4_T.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-BZiG8B71.js → zeni-epic-state-DQF5EBoo.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-DWQkIW-o.js → zeni-icon-only-CG_yKzSn.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +1 -1
  346. package/dist/assets/CustomerOnboardingAuthScreen-BP0HWrE7.js +0 -1
  347. package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-B6eAJyRQ.js +0 -1
@@ -1 +1 @@
1
- import{j as l}from"./pdf-DA3UteIy.js";import{a as g}from"./sentry-CFYfTv_F.js";import{j as k,i as w,h as x,l as T,u as O,k as j}from"./core-BAxGDYbL.js";import{y as E,js as C,jQ as P,k_ as F,bk as V,jz as A,J as L,ki as b,k$ as U,kv as _,ev as B,jO as M}from"./index-CVe1fo1a.js";import{ct as N,dl as G,oD as R,dg as z,bE as K,Kl as J,bm as Y,mK as $,my as H,hj as Q,iP as S,Km as X,bG as Z,bJ as D,iX as q,i_ as W}from"./zeni-epic-state-BZiG8B71.js";import"./mui-DcvwYC51.js";import{c as ee}from"./routePaths-B9s6SzIs.js";import{M as te}from"./MobileAppDrawer-qasrJsA4.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new n.Error().stack;s&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[s]="cd11c1cd-f7b1-4c92-8b8a-1ee6e1b4759a",n._sentryDebugIdIdentifier="sentry-dbid-cd11c1cd-f7b1-4c92-8b8a-1ee6e1b4759a")}catch{}})();const ne=j(function(n){const s=z(n),r=C.getSignedInUser(),p=N(n),u=p.tenantId,d={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:u??""},f=K(p?.userRole??[])&&s.localData.updateStatus.fetchState!=="In-Progress"?void 0:"readonly",e=J(n.companyConfigState),t=n.countryListState?.byCountryListCode?.nationalityCountryList?.countries??[];return{isCompanyVerified:s.companyView?.company?.company?.companyBillPayInfo?.companyVerificationStatus?.code==="verified",companyPassportView:s,allIndustries:e.companyIndustries??[],allNationalityCountries:t,isDisabled:f,authParams:d,filesEndPoint:`${_.fileMicroServiceBaseUrl}`,isZeniUser:Y(r)}},function(n,s){const{companyId:r,currentTenant:p,navigate:u,location:d}=s,{tenantEmailDomain:f}=p;return{onScheduleClick:e=>{let t=e.href;t.includes("http")||(t="https://".concat(t)),window.open(t,"_blank")},onSaveAll:()=>{n(W())},onAddressClick:e=>{const t=ee(f,e),a=M(d.state?.pathnameStackToGoBack,d.pathname);u(t,{state:{pathnameStackToGoBack:a}})},onResetClick:()=>{n(q({companyId:r}))},onBackClick:()=>{u("../")},onCompanyDetailsChanged:e=>{const{companyInfo:t,incInfo:a,taxDetails:o,zeniFinanceTeam:I}=e,{website:c}=t,{meetingLink:m}=I,{incDate:i}=a,{taxesFiledYears:h}=o,v={companyInfo:{...t,website:c!=""&&c!=null?D(c):void 0,meetingLink:m!=""&&m!=null?D(m):void 0,industry:t.industry.selectedOption,companyIndustryType:t.companyIndustryType?.selectedOption??void 0,companySubIndustry:t.subIndustry?.selectedOption??void 0,businessModel:t.businessModel.selectedOption??"",companySourceOfFunds:t.companySourceOfFunds?.selectedOption,companySourceOfFundsDescription:t.companySourceOfFundsDescription??void 0,countriesOfOperations:t.countriesOfOperations?.selectedOptions?.map(y=>y.length===2?y:B(y))??[],transactionVolume:t.transactionVolume?.selectedOption??void 0,transactionVolumeDescription:t.transactionVolumeDescription??void 0,regulatedStatus:t.regulatedStatus??void 0,regulatedStatusDescription:t.regulatedStatusDescription??void 0,usNexus:t.usNexus??void 0,usNexusTypes:t.usNexusTypes?.selectedOptions??[],purposeOfAccount:t.purposeOfAccount?.selectedOption??void 0,purposeOfAccountDescription:t.purposeOfAccountDescription??void 0},incInfo:{typeOfInc:a.typeOfInc.selectedOption??"",stateOfInc:a.stateOfInc.selectedOption??"",incDate:i!=null?Z(i?.toString()):i,fileId:a.fileIds[0]},taxDetails:{taxIdOrEIN:o.taxIdOrEIN,sicCode:o.sicCode,naicsCode:o.naicsCode,dunsNumber:o.dunsNumber,taxesFiledYears:h.selectedOptions.map(y=>parseInt(y)),fileId:o.fileIds[0]}};n(S({companyDetails:v}))},onPrimaryContactDetailsUpdated:e=>{n(S({primaryContact:{userId:e.userId,email:e.email.trim(),firstName:e.name.firstName,lastName:e.name.lastName}}))},onNewCompanyOfficerAdded:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:void 0}]}))},onNewCompanyOfficerRemoved:e=>{n(X(e))},onCompanyOfficerUpdated:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:e.userId}]}))},updateFilesEntity:e=>{n(Q({files:e}))},onDeleteFile:e=>{n(H(e))},onEditFileName:(e,t)=>{n($(e,t.split(".")[0]))}}})(U);function pe(){const n=k(),s=w(),r=x(),{tenantEmailDomain:p}=T(),u=E(),[d,f]=g.useState(!1),[e,t]=g.useState(!1),a=O(i=>i.companyViewState.passportView.fetchState),o=O(i=>i.companyConfigState.fetchState),I=O(i=>N(i)),c=I.companyId??C.getSignedInUserTenant(p)?.companyId;if(C.getSignedInUser()==null)throw Error("Can't access company details page without signing in...");g.useEffect(()=>{d||a!=="Not-Started"||c==null||(f(!0),s(G(c)))},[d,a,c,s]),g.useEffect(()=>{o==="Not-Started"&&s(R())},[o,s]);const m=i=>{t(i)};return a==="Not-Started"||a==="In-Progress"||o==="Not-Started"||o==="In-Progress"?l.jsx(P,{fetchState:a==="In-Progress"?a:o,style:{backgroundColor:u.colors.grey5}}):c!=null&&a==="Error"?l.jsx(F,{onGoHome:()=>n("../",{replace:!0}),onReload:()=>window.location.reload()}):l.jsxs(l.Fragment,{children:[l.jsx(V,{analytics:A,onLoad:i=>i.trackPageLoaded(L.Event.companyPassport,b(r)?"Settings":"Company Passport")}),b(r)?l.jsx(te,{isAppContentDrawerOpen:e,handleDrawerToggle:m}):null,l.jsx(ne,{companyId:c,navigate:n,location:r,currentTenant:I,isSettings:b(r),onClickMenuIcon:()=>{m(!0)}})]})}export{pe as C};
1
+ import{j as l}from"./pdf-2PUMrtF-.js";import{a as g}from"./sentry-DwNPvXBL.js";import{j as k,i as w,h as x,l as T,u as O,k as j}from"./core-Dbakk1VU.js";import{y as E,js as C,jQ as P,k_ as F,bk as V,jz as A,J as L,ki as b,k$ as U,kv as _,ev as B,jO as M}from"./index-iSEGT9xi.js";import{ct as N,dl as G,oD as R,dg as z,bE as K,Kl as J,bm as Y,mK as $,my as H,hj as Q,iP as S,Km as X,bG as Z,bJ as D,iX as q,i_ as W}from"./zeni-epic-state-DQF5EBoo.js";import"./mui-Bg5IRLA2.js";import{c as ee}from"./routePaths-BxZ6qL2m.js";import{M as te}from"./MobileAppDrawer-D9B1riEd.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new n.Error().stack;s&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[s]="cd11c1cd-f7b1-4c92-8b8a-1ee6e1b4759a",n._sentryDebugIdIdentifier="sentry-dbid-cd11c1cd-f7b1-4c92-8b8a-1ee6e1b4759a")}catch{}})();const ne=j(function(n){const s=z(n),r=C.getSignedInUser(),p=N(n),u=p.tenantId,d={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:u??""},f=K(p?.userRole??[])&&s.localData.updateStatus.fetchState!=="In-Progress"?void 0:"readonly",e=J(n.companyConfigState),t=n.countryListState?.byCountryListCode?.nationalityCountryList?.countries??[];return{isCompanyVerified:s.companyView?.company?.company?.companyBillPayInfo?.companyVerificationStatus?.code==="verified",companyPassportView:s,allIndustries:e.companyIndustries??[],allNationalityCountries:t,isDisabled:f,authParams:d,filesEndPoint:`${_.fileMicroServiceBaseUrl}`,isZeniUser:Y(r)}},function(n,s){const{companyId:r,currentTenant:p,navigate:u,location:d}=s,{tenantEmailDomain:f}=p;return{onScheduleClick:e=>{let t=e.href;t.includes("http")||(t="https://".concat(t)),window.open(t,"_blank")},onSaveAll:()=>{n(W())},onAddressClick:e=>{const t=ee(f,e),a=M(d.state?.pathnameStackToGoBack,d.pathname);u(t,{state:{pathnameStackToGoBack:a}})},onResetClick:()=>{n(q({companyId:r}))},onBackClick:()=>{u("../")},onCompanyDetailsChanged:e=>{const{companyInfo:t,incInfo:a,taxDetails:o,zeniFinanceTeam:I}=e,{website:c}=t,{meetingLink:m}=I,{incDate:i}=a,{taxesFiledYears:h}=o,v={companyInfo:{...t,website:c!=""&&c!=null?D(c):void 0,meetingLink:m!=""&&m!=null?D(m):void 0,industry:t.industry.selectedOption,companyIndustryType:t.companyIndustryType?.selectedOption??void 0,companySubIndustry:t.subIndustry?.selectedOption??void 0,businessModel:t.businessModel.selectedOption??"",companySourceOfFunds:t.companySourceOfFunds?.selectedOption,companySourceOfFundsDescription:t.companySourceOfFundsDescription??void 0,countriesOfOperations:t.countriesOfOperations?.selectedOptions?.map(y=>y.length===2?y:B(y))??[],transactionVolume:t.transactionVolume?.selectedOption??void 0,transactionVolumeDescription:t.transactionVolumeDescription??void 0,regulatedStatus:t.regulatedStatus??void 0,regulatedStatusDescription:t.regulatedStatusDescription??void 0,usNexus:t.usNexus??void 0,usNexusTypes:t.usNexusTypes?.selectedOptions??[],purposeOfAccount:t.purposeOfAccount?.selectedOption??void 0,purposeOfAccountDescription:t.purposeOfAccountDescription??void 0},incInfo:{typeOfInc:a.typeOfInc.selectedOption??"",stateOfInc:a.stateOfInc.selectedOption??"",incDate:i!=null?Z(i?.toString()):i,fileId:a.fileIds[0]},taxDetails:{taxIdOrEIN:o.taxIdOrEIN,sicCode:o.sicCode,naicsCode:o.naicsCode,dunsNumber:o.dunsNumber,taxesFiledYears:h.selectedOptions.map(y=>parseInt(y)),fileId:o.fileIds[0]}};n(S({companyDetails:v}))},onPrimaryContactDetailsUpdated:e=>{n(S({primaryContact:{userId:e.userId,email:e.email.trim(),firstName:e.name.firstName,lastName:e.name.lastName}}))},onNewCompanyOfficerAdded:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:void 0}]}))},onNewCompanyOfficerRemoved:e=>{n(X(e))},onCompanyOfficerUpdated:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:e.userId}]}))},updateFilesEntity:e=>{n(Q({files:e}))},onDeleteFile:e=>{n(H(e))},onEditFileName:(e,t)=>{n($(e,t.split(".")[0]))}}})(U);function pe(){const n=k(),s=w(),r=x(),{tenantEmailDomain:p}=T(),u=E(),[d,f]=g.useState(!1),[e,t]=g.useState(!1),a=O(i=>i.companyViewState.passportView.fetchState),o=O(i=>i.companyConfigState.fetchState),I=O(i=>N(i)),c=I.companyId??C.getSignedInUserTenant(p)?.companyId;if(C.getSignedInUser()==null)throw Error("Can't access company details page without signing in...");g.useEffect(()=>{d||a!=="Not-Started"||c==null||(f(!0),s(G(c)))},[d,a,c,s]),g.useEffect(()=>{o==="Not-Started"&&s(R())},[o,s]);const m=i=>{t(i)};return a==="Not-Started"||a==="In-Progress"||o==="Not-Started"||o==="In-Progress"?l.jsx(P,{fetchState:a==="In-Progress"?a:o,style:{backgroundColor:u.colors.grey5}}):c!=null&&a==="Error"?l.jsx(F,{onGoHome:()=>n("../",{replace:!0}),onReload:()=>window.location.reload()}):l.jsxs(l.Fragment,{children:[l.jsx(V,{analytics:A,onLoad:i=>i.trackPageLoaded(L.Event.companyPassport,b(r)?"Settings":"Company Passport")}),b(r)?l.jsx(te,{isAppContentDrawerOpen:e,handleDrawerToggle:m}):null,l.jsx(ne,{companyId:c,navigate:n,location:r,currentTenant:I,isSettings:b(r),onClickMenuIcon:()=>{m(!0)}})]})}export{pe as C};
@@ -1,4 +1,4 @@
1
- import{T as P,gf as O,O as G,V as g,gg as j,E as n,l as H,A as N,cd as q,ci as v,o as E,gh as J,ch as V,a9 as $,c2 as _,bx as W,gi as T}from"./index-CVe1fo1a.js";import{a as B,b as c}from"./sentry-CFYfTv_F.js";import{n as o}from"./mui-DcvwYC51.js";import{bs as Z}from"./zeni-epic-state-BZiG8B71.js";import{Z as z}from"./LabeledNameField-CYN5kdQi-86Gkfv4K.js";import{$ as X}from"./LabeledAddressValue-DBJ236tZ-DRwoxJhK.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.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]="31aee852-55c4-4b70-9e75-1bf76750fab8",A._sentryDebugIdIdentifier="sentry-dbid-31aee852-55c4-4b70-9e75-1bf76750fab8")}catch{}})();const AA=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,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"}))),e=G.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",l=(A,i)=>`${A}.${i}`,SA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:S,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:y,onResendOtp:f})=>{const[I,a]=B.useState(!1),[k,Y]=B.useState(!1),t=P({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=O({control:t.control,name:`${Q}.address`}),{dateFormat:F}=G.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=t.handleSubmit(C=>{C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone?h():D&&D(C)}),{sendOtpStatus:R,otpVerificationStatus:s,otpChallenge:b,phone:U}=r,K=g.jsxs(CA,{children:[g.jsx(AA,{}),g.jsxs(QA,{children:[g.jsxs(oA,{children:[g.jsx(j,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(n,{controller:s.fetchState==="Completed",children:g.jsx(IA,{})})]}),g.jsx(H,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(gA,{children:[g.jsxs(BA,{children:[g.jsxs(eA,{children:[I&&g.jsx(EA,{onClick:()=>{a(!1)}}),e.completeProfile.title]}),g.jsx(N,{...t,children:g.jsxs("form",{id:`${p}_form`,onSubmit:L,children:[g.jsx(n,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(n,{controller:I===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(q,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:l(Q,"email")}}),g.jsx(z,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:l(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(v,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:l(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:Z().subtract(18,"year")}}),g.jsx(X,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:()=>{a(!0)}},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(n,{controller:I===!0,children:g.jsx(c.Fragment,{children:g.jsx(J,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(V,{infoBox:K,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:l(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:b,showOtpButton:!0,onGetOtp:h,onVerifyOtp:(C,d)=>{y(C,d)},onResendOtp:C=>{C!=null&&C.trim().length>0&&f(C)},isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:R,verifiedPhoneNumber:s.fetchState==="Completed"?U:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx($,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?()=>{const C=t.getValues(`${m}`);if(C!=null){const d=T(C);t.setValue(`${Q}.address`,d)}a(!1)}:void 0,isLoading:S.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},gA=o.div`
1
+ import{T as P,gf as O,O as G,V as g,gg as j,E as n,l as H,A as N,cd as q,ci as v,o as E,gh as J,ch as V,a9 as $,c2 as _,bx as W,gi as T}from"./index-iSEGT9xi.js";import{a as B,b as c}from"./sentry-DwNPvXBL.js";import{n as o}from"./mui-Bg5IRLA2.js";import{bs as Z}from"./zeni-epic-state-DQF5EBoo.js";import{Z as z}from"./LabeledNameField-CYN5kdQi-C2knR9hx.js";import{$ as X}from"./LabeledAddressValue-DBJ236tZ-DU9mrQ8B.js";import"./pdf-2PUMrtF-.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.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]="31aee852-55c4-4b70-9e75-1bf76750fab8",A._sentryDebugIdIdentifier="sentry-dbid-31aee852-55c4-4b70-9e75-1bf76750fab8")}catch{}})();const AA=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,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"}))),e=G.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",l=(A,i)=>`${A}.${i}`,SA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:S,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:y,onResendOtp:f})=>{const[I,a]=B.useState(!1),[k,Y]=B.useState(!1),t=P({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=O({control:t.control,name:`${Q}.address`}),{dateFormat:F}=G.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=t.handleSubmit(C=>{C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone?h():D&&D(C)}),{sendOtpStatus:R,otpVerificationStatus:s,otpChallenge:b,phone:U}=r,K=g.jsxs(CA,{children:[g.jsx(AA,{}),g.jsxs(QA,{children:[g.jsxs(oA,{children:[g.jsx(j,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(n,{controller:s.fetchState==="Completed",children:g.jsx(IA,{})})]}),g.jsx(H,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(gA,{children:[g.jsxs(BA,{children:[g.jsxs(eA,{children:[I&&g.jsx(EA,{onClick:()=>{a(!1)}}),e.completeProfile.title]}),g.jsx(N,{...t,children:g.jsxs("form",{id:`${p}_form`,onSubmit:L,children:[g.jsx(n,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(n,{controller:I===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(q,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:l(Q,"email")}}),g.jsx(z,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:l(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(v,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:l(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:Z().subtract(18,"year")}}),g.jsx(X,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:()=>{a(!0)}},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(n,{controller:I===!0,children:g.jsx(c.Fragment,{children:g.jsx(J,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(V,{infoBox:K,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:l(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:b,showOtpButton:!0,onGetOtp:h,onVerifyOtp:(C,d)=>{y(C,d)},onResendOtp:C=>{C!=null&&C.trim().length>0&&f(C)},isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:R,verifiedPhoneNumber:s.fetchState==="Completed"?U:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx($,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?()=>{const C=t.getValues(`${m}`);if(C!=null){const d=T(C);t.setValue(`${Q}.address`,d)}a(!1)}:void 0,isLoading:S.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},gA=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-height: 100vh;
@@ -1 +1 @@
1
- import{cx as a,z as f,V as d,ap as l,o as r}from"./index-CVe1fo1a.js";import{a as n}from"./sentry-CFYfTv_F.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./mui-DcvwYC51.js";import"./recharts-LOG_L3Q0.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.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]="d15d4434-d032-478d-9e53-2fe60deee7d5",e._sentryDebugIdIdentifier="sentry-dbid-d15d4434-d032-478d-9e53-2fe60deee7d5")}catch{}})();const z=({showConfetti:e})=>{const[t,o]=n.useState(e),[s,i]=a("https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",e),[p]=f("ConfettiSuccess");return n.useEffect(()=>{e&&o(!0)},[e]),n.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),d.jsx(d.Fragment,{children:t&&s&&p!=null?d.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:r.sp0,left:r.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:p,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{z as default};
1
+ import{cx as a,z as f,V as d,ap as l,o as r}from"./index-iSEGT9xi.js";import{a as n}from"./sentry-DwNPvXBL.js";import"./pdf-2PUMrtF-.js";import"./zeni-epic-state-DQF5EBoo.js";import"./core-Dbakk1VU.js";import"./mui-Bg5IRLA2.js";import"./recharts-Bztd37V0.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.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]="d15d4434-d032-478d-9e53-2fe60deee7d5",e._sentryDebugIdIdentifier="sentry-dbid-d15d4434-d032-478d-9e53-2fe60deee7d5")}catch{}})();const z=({showConfetti:e})=>{const[t,o]=n.useState(e),[s,i]=a("https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",e),[p]=f("ConfettiSuccess");return n.useEffect(()=>{e&&o(!0)},[e]),n.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),d.jsx(d.Fragment,{children:t&&s&&p!=null?d.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:r.sp0,left:r.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:p,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{z as default};
@@ -1,4 +1,4 @@
1
- import{j as I}from"./pdf-DA3UteIy.js";import{a}from"./sentry-CFYfTv_F.js";import{i as x,u as c,N as S}from"./core-BAxGDYbL.js";import{H7 as y,ct as N,d0 as T,jC as D,ds as h,c$ as j,cu as v,Hh as w}from"./zeni-epic-state-BZiG8B71.js";import{jr as O,js as u,jt as C,O as A,o as U}from"./index-CVe1fo1a.js";import{n as _}from"./mui-DcvwYC51.js";import{t as H}from"./getLocaleForTenant-DIET8R83.js";import{Q as F}from"./QBOConnectionScreen-Rp-2rn0k.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./empty-C6XM9c0M.js";import"./pdf-lib-CB0YH404.js";import"./index-rcznrhDB.js";import"./url-CG3dVLHq.js";import"./index-CDtqLLbw.js";import"./decodeURIComponentSafe-Bypqq6TF.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="874cc0a1-81b7-4c02-a61b-43c62defb135",t._sentryDebugIdIdentifier="sentry-dbid-874cc0a1-81b7-4c02-a61b-43c62defb135")}catch{}})();const $=_.div`
1
+ import{j as I}from"./pdf-2PUMrtF-.js";import{a}from"./sentry-DwNPvXBL.js";import{i as x,u as c,N as S}from"./core-Dbakk1VU.js";import{H7 as y,ct as N,d0 as T,jC as D,ds as h,c$ as j,cu as v,Hh as w}from"./zeni-epic-state-DQF5EBoo.js";import{jr as O,js as u,jt as C,O as A,o as U}from"./index-iSEGT9xi.js";import{n as _}from"./mui-Bg5IRLA2.js";import{t as H}from"./getLocaleForTenant-BAO89gke.js";import{Q as F}from"./QBOConnectionScreen-BzZBkC05.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";import"./empty-C3KqHyA9.js";import"./pdf-lib-DlaDOnMS.js";import"./index-DD0lDka6.js";import"./url-DIYU8sPo.js";import"./index-CH6Xem9w.js";import"./decodeURIComponentSafe-EYVZFaGG.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="874cc0a1-81b7-4c02-a61b-43c62defb135",t._sentryDebugIdIdentifier="sentry-dbid-874cc0a1-81b7-4c02-a61b-43c62defb135")}catch{}})();const $=_.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{V as d}from"./index-CVe1fo1a.js";import{a as i}from"./sentry-CFYfTv_F.js";import{n}from"./mui-DcvwYC51.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="87455e39-86a6-4ca5-9a52-0eaaa23d834c",e._sentryDebugIdIdentifier="sentry-dbid-87455e39-86a6-4ca5-9a52-0eaaa23d834c")}catch{}})();const s=n.div`
1
+ import{V as d}from"./index-iSEGT9xi.js";import{a as i}from"./sentry-DwNPvXBL.js";import{n}from"./mui-Bg5IRLA2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="87455e39-86a6-4ca5-9a52-0eaaa23d834c",e._sentryDebugIdIdentifier="sentry-dbid-87455e39-86a6-4ca5-9a52-0eaaa23d834c")}catch{}})();const s=n.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 We,e as v,S as W,cb as _e,V as t,a_ as He,b as $,L as Ye,bR as re,bS as ne,bT as ae,ct as qe,a9 as Ge,x as _,O as x,bx as Je,o,cu as Ke,bo as S,bH as ie,m as w,ar as se,C as le,l as Y,aR as Qe,cq as de,cv as Xe,f as z,cw as ce,cp as pe}from"./index-CVe1fo1a.js";import{a as g}from"./sentry-CFYfTv_F.js";import{n as r}from"./mui-DcvwYC51.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.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]="8035d80c-48e4-4903-8eb9-c528bf0a3eaf",e._sentryDebugIdIdentifier="sentry-dbid-8035d80c-48e4-4903-8eb9-c528bf0a3eaf")}catch{}})();const Ze=({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(et,{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!==""?Xe(l.toLowerCase()):l??""})]})]});return t.jsxs(nt,{size:b,children:[t.jsxs(ot,{children:[t.jsxs(Y,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(it,{children:t.jsx(st,{})})})]}),t.jsx(tt,{children:f??h.emptyPlaceholderString})]}),t.jsx(rt,{children:t.jsx(S,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(at,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(lt,{})})})})]})},et=r.div`
1
+ import{y as We,e as v,S as W,cb as _e,V as t,a_ as He,b as $,L as Ye,bR as re,bS as ne,bT as ae,ct as qe,a9 as Ge,x as _,O as x,bx as Je,o,cu as Ke,bo as S,bH as ie,m as w,ar as se,C as le,l as Y,aR as Qe,cq as de,cv as Xe,f as z,cw as ce,cp as pe}from"./index-iSEGT9xi.js";import{a as g}from"./sentry-DwNPvXBL.js";import{n as r}from"./mui-Bg5IRLA2.js";import"./pdf-2PUMrtF-.js";import"./zeni-epic-state-DQF5EBoo.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.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]="8035d80c-48e4-4903-8eb9-c528bf0a3eaf",e._sentryDebugIdIdentifier="sentry-dbid-8035d80c-48e4-4903-8eb9-c528bf0a3eaf")}catch{}})();const Ze=({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(et,{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!==""?Xe(l.toLowerCase()):l??""})]})]});return t.jsxs(nt,{size:b,children:[t.jsxs(ot,{children:[t.jsxs(Y,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(it,{children:t.jsx(st,{})})})]}),t.jsx(tt,{children:f??h.emptyPlaceholderString})]}),t.jsx(rt,{children:t.jsx(S,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(at,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(lt,{})})})})]})},et=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,e as ge,h as ye,b as ae,gT as ea,a5 as aa,a as ta,L as na,a9 as Me,o as a,O as K,x as m,a8 as Be,n as oa,R as ia,y as _e,bo as ra,eO as Oe,d as X,f as J,fP as se,w as la,D as Ne,c2 as ca,a7 as De,T as sa,c8 as da,A as ma,ex as pa,f6 as ua,cf as ha,h4 as Se,h5 as ga,fD as ya,m as r,bx as fa,at as Ca,eT as ba,bH as xa,l as We,gk as wa,bv as Da,ac as Sa,h6 as $a,cq as ka,gl as Aa,fi as La,fe as va}from"./index-CVe1fo1a.js";import{n as i}from"./mui-DcvwYC51.js";import{a as p}from"./sentry-CFYfTv_F.js";import{u as Ia}from"./plaid-Dma9BWZs.js";import{bG as ue,c6 as Ra,bs as $e,cg as Fa,ch as ke,bY as Ta}from"./zeni-epic-state-BZiG8B71.js";import{x as Pa}from"./LabeledControlledCheckBoxField-BdWZgcQc-Dj_Rq1GV.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./utils-B0HnpOzO.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]="17ceee8c-64a0-4153-8372-57e82d517d43",e._sentryDebugIdIdentifier="sentry-dbid-17ceee8c-64a0-4153-8372-57e82d517d43")}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])},he={pageTitle:new X("h6Regular","h5Regular"),integerAmountInput:new X("h5Regular","largeMedium"),decimalAmountInput:new X("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:Ae}},common:{edit:ja,labels:de,navBar:{back:za},to:Ea,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=K.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:u,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:l,cashbackInformation:h,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=ge(),S=_e(),v=ye().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const R=te.largeLabelWidth.value(d),F=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=F?1:3,P=ue(Ra($e().toDate(),[0,6],T).toDateString()).format(Ae),B=F?z.timeline01BusinessDay:z.timeline23BusinessDays,_=F?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",B);return t.jsxs(t.Fragment,{children:[t.jsxs(Ga,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:za,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Le,{children:t.jsx(Oe,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:he.integerAmountInput.styleObject(d),decimalStyles:he.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",Ea," ",t.jsx(Le,{children:Ma})]}),M?t.jsx(Za,{children:t.jsxs(Ya,{children:[t.jsxs(Xa,{children:[t.jsx(Ja,{}),t.jsxs(Va,{children:[t.jsx(Ha,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Ka,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(se,{label:{label:de.paymentMethod,width:R},text:t.jsx(me,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(ve,{}),t.jsx(se,{label:{label:de.sourceAccount,width:R},text:t.jsxs(me,{windowSize:d,children:[Ue(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(ve,{}),t.jsx(se,{label:{label:de.paymentDate,width:R},showAdditionalInfoLabel:!0,additionalInfoLabel:_,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(me,{windowSize:d,children:$e().format(Ae)}),style:{width:"auto"}})]})})]}),t.jsx(Me,{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&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"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,u)=>{if(o==="")return t.jsx(st,{});const n=e.find(l=>l.id===o),f=e.findIndex(l=>l.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:u,children:t.jsx(ct,{color:wa(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:u,loading:"lazy"}):t.jsx(it,{isOptionSelected:u,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${La}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(Ca)`
1
+ import{V as t,e as ge,h as ye,b as ae,gT as ea,a5 as aa,a as ta,L as na,a9 as Me,o as a,O as K,x as m,a8 as Be,n as oa,R as ia,y as _e,bo as ra,eO as Oe,d as X,f as J,fP as se,w as la,D as Ne,c2 as ca,a7 as De,T as sa,c8 as da,A as ma,ex as pa,f6 as ua,cf as ha,h4 as Se,h5 as ga,fD as ya,m as r,bx as fa,at as Ca,eT as ba,bH as xa,l as We,gk as wa,bv as Da,ac as Sa,h6 as $a,cq as ka,gl as Aa,fi as La,fe as va}from"./index-iSEGT9xi.js";import{n as i}from"./mui-Bg5IRLA2.js";import{a as p}from"./sentry-DwNPvXBL.js";import{u as Ia}from"./plaid-DCRMdnUX.js";import{bG as ue,c6 as Ra,bs as $e,cg as Fa,ch as ke,bY as Ta}from"./zeni-epic-state-DQF5EBoo.js";import{x as Pa}from"./LabeledControlledCheckBoxField-BdWZgcQc-CSRUO8Mc.js";import"./pdf-2PUMrtF-.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./utils-D8l6svaX.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]="17ceee8c-64a0-4153-8372-57e82d517d43",e._sentryDebugIdIdentifier="sentry-dbid-17ceee8c-64a0-4153-8372-57e82d517d43")}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])},he={pageTitle:new X("h6Regular","h5Regular"),integerAmountInput:new X("h5Regular","largeMedium"),decimalAmountInput:new X("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:Ae}},common:{edit:ja,labels:de,navBar:{back:za},to:Ea,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=K.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:u,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:l,cashbackInformation:h,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=ge(),S=_e(),v=ye().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const R=te.largeLabelWidth.value(d),F=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=F?1:3,P=ue(Ra($e().toDate(),[0,6],T).toDateString()).format(Ae),B=F?z.timeline01BusinessDay:z.timeline23BusinessDays,_=F?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",B);return t.jsxs(t.Fragment,{children:[t.jsxs(Ga,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:za,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Le,{children:t.jsx(Oe,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:he.integerAmountInput.styleObject(d),decimalStyles:he.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",Ea," ",t.jsx(Le,{children:Ma})]}),M?t.jsx(Za,{children:t.jsxs(Ya,{children:[t.jsxs(Xa,{children:[t.jsx(Ja,{}),t.jsxs(Va,{children:[t.jsx(Ha,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Ka,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(se,{label:{label:de.paymentMethod,width:R},text:t.jsx(me,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(ve,{}),t.jsx(se,{label:{label:de.sourceAccount,width:R},text:t.jsxs(me,{windowSize:d,children:[Ue(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(ve,{}),t.jsx(se,{label:{label:de.paymentDate,width:R},showAdditionalInfoLabel:!0,additionalInfoLabel:_,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(me,{windowSize:d,children:$e().format(Ae)}),style:{width:"auto"}})]})})]}),t.jsx(Me,{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&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"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,u)=>{if(o==="")return t.jsx(st,{});const n=e.find(l=>l.id===o),f=e.findIndex(l=>l.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:u,children:t.jsx(ct,{color:wa(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:u,loading:"lazy"}):t.jsx(it,{isOptionSelected:u,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${La}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(Ca)`
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{cc as M,y as N,dX as P,O as _,V as l,e4 as H,b3 as L,o,cM as z,b as x,bV as B,b4 as g,l as A,w,ey as T,ez as X,eA as q,C as G,b2 as J,a8 as K,f as m}from"./index-CVe1fo1a.js";import{a as S}from"./sentry-CFYfTv_F.js";import{n}from"./mui-DcvwYC51.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]="dad3b012-6129-47dc-834d-4fbc0a7a3761",e._sentryDebugIdIdentifier="sentry-dbid-dad3b012-6129-47dc-834d-4fbc0a7a3761")}catch{}})();const $e=({name:e,registerOptions:t,defaultValue:r,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[j,C]=S.useState(!1),k=P(f,e??""),I=_.getLocalizedStrings().common.currency,D=s=>{if(s!=null&&s)return{value:s,label:r.allOptions.find(h=>h.value===s)?.label??s,countryCode:r.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.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:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(H,{name:e,control:y,defaultValue:r,rules:t,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return S.createElement(L,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:r.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:r.allOptions}):s({selectedOption:$?.value,allOptions:r.allOptions})},onMenuClose:()=>C(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Q,Option:U,Input:Z,SingleValue:ee,ValueContainer:Y,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:W},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},Q=e=>{const{menuIsOpen:t,isFocused:r,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(re,{controlStyle:u,menuIsOpen:t,isFocused:r,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},U=e=>{const{data:t,isSelected:r,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=t.countryCode,p=typeof t.label=="string"?t.label:t.value;return l.jsx(te,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:r,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:r,children:l.jsx(ne,{isSelected:r,isDisabled:a,children:t.label})}),r?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},W=e=>{const{options:t,children:r,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=t.indexOf(u)*i;return l.jsx(B,{height:r.length>7?a:r.length*i,width:"100%",itemCount:r.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:r[y]})})},Y=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),Z=e=>{const{selectProps:t}=e,{placeholder:r,value:a}=t;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?r:void 0,children:e.children})})},ee=e=>{const{data:t}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:t.label})})},O=n(A)`
1
+ import{cc as M,y as N,dX as P,O as _,V as l,e4 as H,b3 as L,o,cM as z,b as x,bV as B,b4 as g,l as A,w,ey as T,ez as X,eA as q,C as G,b2 as J,a8 as K,f as m}from"./index-iSEGT9xi.js";import{a as S}from"./sentry-DwNPvXBL.js";import{n}from"./mui-Bg5IRLA2.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]="dad3b012-6129-47dc-834d-4fbc0a7a3761",e._sentryDebugIdIdentifier="sentry-dbid-dad3b012-6129-47dc-834d-4fbc0a7a3761")}catch{}})();const $e=({name:e,registerOptions:t,defaultValue:r,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[j,C]=S.useState(!1),k=P(f,e??""),I=_.getLocalizedStrings().common.currency,D=s=>{if(s!=null&&s)return{value:s,label:r.allOptions.find(h=>h.value===s)?.label??s,countryCode:r.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.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:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(H,{name:e,control:y,defaultValue:r,rules:t,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return S.createElement(L,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:r.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:r.allOptions}):s({selectedOption:$?.value,allOptions:r.allOptions})},onMenuClose:()=>C(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Q,Option:U,Input:Z,SingleValue:ee,ValueContainer:Y,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:W},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},Q=e=>{const{menuIsOpen:t,isFocused:r,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(re,{controlStyle:u,menuIsOpen:t,isFocused:r,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},U=e=>{const{data:t,isSelected:r,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=t.countryCode,p=typeof t.label=="string"?t.label:t.value;return l.jsx(te,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:r,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:r,children:l.jsx(ne,{isSelected:r,isDisabled:a,children:t.label})}),r?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},W=e=>{const{options:t,children:r,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=t.indexOf(u)*i;return l.jsx(B,{height:r.length>7?a:r.length*i,width:"100%",itemCount:r.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:r[y]})})},Y=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),Z=e=>{const{selectProps:t}=e,{placeholder:r,value:a}=t;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?r:void 0,children:e.children})})},ee=e=>{const{data:t}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:t.label})})},O=n(A)`
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 t=X[`${q(e??"")}`];return l.jsx(ie,{children:l.jsx(t,{width:o.sp4,height:o.sp3})})}},re=n.span`
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{e as f,V as i,O as c,a7 as l,b as p,L as g,o,r as h,c2 as x,n as m}from"./index-CVe1fo1a.js";import{a as b}from"./sentry-CFYfTv_F.js";import{n as t}from"./mui-DcvwYC51.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.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]="b764bfce-eec9-4469-927e-ef1788fb9d05",e._sentryDebugIdIdentifier="sentry-dbid-b764bfce-eec9-4469-927e-ef1788fb9d05")}catch{}})();const u=t.div`
1
+ import{e as f,V as i,O as c,a7 as l,b as p,L as g,o,r as h,c2 as x,n as m}from"./index-iSEGT9xi.js";import{a as b}from"./sentry-DwNPvXBL.js";import{n as t}from"./mui-Bg5IRLA2.js";import"./pdf-2PUMrtF-.js";import"./zeni-epic-state-DQF5EBoo.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.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]="b764bfce-eec9-4469-927e-ef1788fb9d05",e._sentryDebugIdIdentifier="sentry-dbid-b764bfce-eec9-4469-927e-ef1788fb9d05")}catch{}})();const u=t.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -0,0 +1 @@
1
+ import{j as i}from"./pdf-2PUMrtF-.js";import{js as n}from"./index-iSEGT9xi.js";import{g as m}from"./QBOConnectionScreen-BzZBkC05.js";import"./sentry-DwNPvXBL.js";import{h as p,N as s}from"./core-Dbakk1VU.js";import"./zeni-epic-state-DQF5EBoo.js";import"./mui-Bg5IRLA2.js";import"./recharts-Bztd37V0.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";import"./empty-C3KqHyA9.js";import"./pdf-lib-DlaDOnMS.js";import"./index-DD0lDka6.js";import"./url-DIYU8sPo.js";import"./index-CH6Xem9w.js";import"./decodeURIComponentSafe-EYVZFaGG.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="7ac95620-f74d-498f-94d1-f3c260499359",t._sentryDebugIdIdentifier="sentry-dbid-7ac95620-f74d-498f-94d1-f3c260499359")}catch{}})();const S=()=>{const t=p(),{code:o,realmId:r,state:e}=m(t.search),d=n.getSignedInUser()?.userId??"";if(f(o,r,e,d)===!0){const a=`../../${e}/onboarding?code=${o}&realmId=${r}&state=auth_flow`;return i.jsx(s,{to:a})}return i.jsx(s,{to:"../../"})},f=(t,o,r,e)=>t!=""&&o!=""&&r!=""&&e!=null&&e!="";export{S as default,f as hasValidParams};
@@ -0,0 +1 @@
1
+ import{V as o}from"./index-iSEGT9xi.js";import i from"./CustomerOnboardingNoStepsPage-CSLO3M7E-DfrADWrN.js";import p from"./CustomerOnboardingPage-weza3x24-89JMVlty.js";import"./sentry-DwNPvXBL.js";import"./pdf-2PUMrtF-.js";import"./zeni-epic-state-DQF5EBoo.js";import"./core-Dbakk1VU.js";import"./mui-Bg5IRLA2.js";import"./recharts-Bztd37V0.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";import"./PaymentAccountSetupBillingAddressSection-D1ZDh1GY-CQR83EXw.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-CF6UyWSv-CFnrHGdI.js";import"./SetUpAccountSection-BSOGwHCj-l5hcQr16.js";import"./CustomerOnboardingDetailPageSkeleton-DSvvHqR_-DDxDa7To.js";import"./CompanyOfficerDetailsSection-6LXCxWYP-BUFWf_Jt.js";import"./helper-COxPEvgL-DjqGilVF.js";import"./LabeledAddressValueField-CAr-IiTa-Coj2vGIo.js";import"./LabeledCountryMultiSelectField-C6z1v9S1-0fn76-gA.js";import"./LabeledCreatableSingleSelectField-Dhi0n2ky-C4cpdoPU.js";import"./LabeledDocumentField-B3QSq1eM-CQ4OV_q7.js";import"./LabeledNameField-CYN5kdQi-C2knR9hx.js";import"./avatar-Dz7aEm3d-VXKNqIyu.js";import"./QBOSetupSection-iQJCHR-K-CCZ1VagE.js";import"./QBOConnectionDialog-C1rEAxUE-Bns4Q1dD.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]="76087715-f0ed-4514-9b15-8db3609bff5d",t._sentryDebugIdIdentifier="sentry-dbid-76087715-f0ed-4514-9b15-8db3609bff5d")}catch{}})();const B=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(i,{...t}):o.jsx(p,{...t});export{B as default};
@@ -1,4 +1,4 @@
1
- import{y as x,e as H,V as s,bg as b,o as t,m as z,x as f,b as y,aL as I,r as T,O as E,f as u,er as N,hc as R,fh as L,t as P,H as U,hd as O}from"./index-CVe1fo1a.js";import{n as r}from"./mui-DcvwYC51.js";import{b as S}from"./sentry-CFYfTv_F.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]="727666d9-656d-42dd-840d-60108b6c76ba",e._sentryDebugIdIdentifier="sentry-dbid-727666d9-656d-42dd-840d-60108b6c76ba")}catch{}})();const W=r(O)`
1
+ import{y as x,e as H,V as s,bg as b,o as t,m as z,x as f,b as y,aL as I,r as T,O as E,f as u,er as N,hc as R,fh as L,t as P,H as U,hd as O}from"./index-iSEGT9xi.js";import{n as r}from"./mui-Bg5IRLA2.js";import{b as S}from"./sentry-DwNPvXBL.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]="727666d9-656d-42dd-840d-60108b6c76ba",e._sentryDebugIdIdentifier="sentry-dbid-727666d9-656d-42dd-840d-60108b6c76ba")}catch{}})();const W=r(O)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,_=r.div`
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{h as de,V as n,f0 as Se,e as fe,y as Ce,T as Pe,a7 as be,c8 as we,a_ as xe,o as i,b as ke,A as Ie,a9 as Ae,aL as ve,ha as $e,O as Oe,eu as Ve,ev as je,r as Te,x as X,l as Le,m as $}from"./index-CVe1fo1a.js";import{n as l}from"./mui-DcvwYC51.js";import{a as O}from"./sentry-CFYfTv_F.js";import{r as _e,t as ze}from"./PaymentAccountSetupBillingAddressSection-D1ZDh1GY-CDM1qPvj.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-DSvvHqR_-B6nZNBwn.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-CF6UyWSv-BQXpwXby.js";import"./SetUpAccountSection-BSOGwHCj-BawfFLHE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="91f5ccda-1ec6-4e96-95dd-1286ee64491c",e._sentryDebugIdIdentifier="sentry-dbid-91f5ccda-1ec6-4e96-95dd-1286ee64491c")}catch{}})();const ee="onboardingPaymentAccountSetupSection",re="customerOnboardingNoStepsDetailPage",t="onboardingSubscriptionBillingAddress",Y={titleWidth:new X(343,580,726,826),subTitlePaddingTop:new X($[3],$[3]),subTitlePaddingBottom:new X($[3],$[3])},Ee=e=>`${e}_form`,Ue=Oe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:j,googleAPIKey:T,signedInUser:w,currentTenant:L,onUpdateStep:_,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:B,updateCardPaymentModalState:x,handleAddCardPaymentSource:E,resetCardPaymentViewState:U,handleResetCardPaymentErrorStatuses:D,redirectToProductSuitePage:k,onUpdateCustomerView:F,...K})=>{const m=fe(),M=de(),{analytics:C}=M,{onFetchLinkTokenClick:R,onUpdatePaymentAccountStatus:G,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionClick:P,onEstablishConnectionSuccess:W,handleLogOutClick:Z,onZeniLogoClick:q,onAddressEditHandler:I}=K,H=Ce(),o=Pe({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:V(e),values:V(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:ce,saveStatus:g,paymentAccount:A,paymentAccountStatus:le,plaidConnectionDetails:te,uiState:ue,allNationalityCountries:ne,subscriptionBillingAddress:y}=e,{customerOnboardingPage:pe,common:h}=Ue,{footer:me,steps:ge}=pe,{buttons:J}=me,ie=ge.link_payment_account,v=be(g.fetchState),ae=Object.values(ce).findIndex(d=>d?.isSelectedForVerification===!0)??0,ye=`Officer_${ae<0?1:ae+1}`;O.useEffect(()=>{const d=o.watch((c,{name:a})=>{a!=null&&c!=null&&we(()=>(async(r,s)=>{if(r.includes(t)&&s[t]!=null){const S=o.getValues(`${t}`).country;let f=s[t];if(r.includes(`${t}.street`)&&s[t].street!=null){const{addressValue:b}=s[t].street,Q=Ve(b?.country);f={street:s[t].street??h.strings.empty,city:b?.locality??h.strings.empty,state:b?.administrativeAreaLevel1??h.strings.empty,country:Q,countryCode:b?.countryCode??h.strings.empty,postalCode:b?.postalCode??h.strings.empty,secondaryInfo:s[t].secondaryInfo,suite:s[t].suite},S.selectedOption!==Q.selectedOption&&(f={...f,country:Q})}else(r===`${t}.country`&&S.selectedOption!=null||S.selectedOption!=null&&r.includes(`${t}.street`)===!1)&&(f={...f,countryCode:je(S.selectedOption)});I(f)}})(a,c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{v==="In-Progress"&&g.fetchState==="Completed"&&o.reset(V(e),{keepDirtyValues:!1})},[o,e,v,g.fetchState,ne]);const oe=()=>{const d=Object.values(te).some(s=>s.fetchStatus.fetchState==="Completed"),c=A?.providerVerificationStatus?.code?.includes("verified")??!1,a=p.cardsList.length>0,r=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return d&&c||!c&&!A&&a||!a&&!A&&r};O.useEffect(()=>{v==="In-Progress"&&g.fetchState==="Completed"&&(o.reset(V(e),{keepDirtyValues:!1}),k())},[o,e,v,g.fetchState,ne,k]);const[se,he]=O.useState(!1);return n.jsxs(Fe,{children:[n.jsxs(Ke,{windowSize:m,children:[n.jsx(xe,{title:ie.sectionTitle,showBackButton:!1,backgroundColor:H.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:n.jsx(Ne,{children:n.jsx(We,{"data-testid":ke("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:q})})}),n.jsx(Ie,{...o,children:n.jsx(Re,{id:Ee(re),children:n.jsxs(Me,{children:[n.jsx(Ze,{windowSize:m,children:ie.sectionSubTitle}),n.jsx(_e,{connectedAccountProvider:u,paymentAccount:A,accountStatus:le,plaidConnectionDetails:te,subscriptionBillingAddressSectionId:t,sectionId:ee,analytics:C,isValid:oe(),onFetchLinkTokenClick:R,onEstablishConnectionClick:P,onUpdatePaymentAccountStatus:G,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionSuccess:W,updateCardPaymentModalState:x,cardPaymentView:p,resetCardPaymentViewState:U,cardSetupInProgress:se,googleAPIKey:T,subscriptionBillingAddress:y})]},"link_payment_account")})}),n.jsx(Ae,{formId:`${re}`,leftSideComponent:n.jsx(Ge,{windowSize:m,children:n.jsx(ve,{signedInUser:w,currentTenant:L,onLogOutClick:Z})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:async()=>{const d=await o.trigger(t),c=await o.trigger(ee);d&&c&&((()=>{const a=o.getValues(t),r={street:a.street.addressString,suite:a.suite,city:a.city,state:a.state,postalCode:a.postalCode,country:a.country.selectedOption??h.strings.empty,secondaryInfo:a.secondaryInfo};C.trackOnboardingBillingAddressSave(r)})(),_("link_payment_account"),F(ye,!1,!0))},label:J.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(function(){if(o.getFieldState(t).error)return!1;const d=o.getValues(t),c=y?.street.join("").trim(),a=y?.city,r=y?.state,s=y?.country,S=y?.postalCode!=null&&y.postalCode||d.postalCode||h.strings.empty;return!!(c&&a&&r&&s&&S)}()&&oe())},containerStyle:{width:"auto",justifyContent:"center"},helperText:J.submitText.replace("__action__",J.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),n.jsx(ze,{handleConfirmCardSetupIntent:B,updateCardPaymentModalState:x,handleCreateCardSetupIntent:z,handleAddCardPaymentSource:E,cardPaymentView:p,stripeKey:j,isCardPaymentOpen:ue.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:D,cardSetupInProgress:se,setCardSetupInProgress:he})]})},Fe=l.div`
1
+ import{h as de,V as n,f0 as Se,e as fe,y as Ce,T as Pe,a7 as be,c8 as we,a_ as xe,o as i,b as ke,A as Ie,a9 as Ae,aL as ve,ha as $e,O as Oe,eu as Ve,ev as je,r as Te,x as X,l as Le,m as $}from"./index-iSEGT9xi.js";import{n as l}from"./mui-Bg5IRLA2.js";import{a as O}from"./sentry-DwNPvXBL.js";import{r as _e,t as ze}from"./PaymentAccountSetupBillingAddressSection-D1ZDh1GY-CQR83EXw.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-DSvvHqR_-DDxDa7To.js";import"./pdf-2PUMrtF-.js";import"./zeni-epic-state-DQF5EBoo.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-CF6UyWSv-CFnrHGdI.js";import"./SetUpAccountSection-BSOGwHCj-l5hcQr16.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="91f5ccda-1ec6-4e96-95dd-1286ee64491c",e._sentryDebugIdIdentifier="sentry-dbid-91f5ccda-1ec6-4e96-95dd-1286ee64491c")}catch{}})();const ee="onboardingPaymentAccountSetupSection",re="customerOnboardingNoStepsDetailPage",t="onboardingSubscriptionBillingAddress",Y={titleWidth:new X(343,580,726,826),subTitlePaddingTop:new X($[3],$[3]),subTitlePaddingBottom:new X($[3],$[3])},Ee=e=>`${e}_form`,Ue=Oe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:j,googleAPIKey:T,signedInUser:w,currentTenant:L,onUpdateStep:_,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:B,updateCardPaymentModalState:x,handleAddCardPaymentSource:E,resetCardPaymentViewState:U,handleResetCardPaymentErrorStatuses:D,redirectToProductSuitePage:k,onUpdateCustomerView:F,...K})=>{const m=fe(),M=de(),{analytics:C}=M,{onFetchLinkTokenClick:R,onUpdatePaymentAccountStatus:G,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionClick:P,onEstablishConnectionSuccess:W,handleLogOutClick:Z,onZeniLogoClick:q,onAddressEditHandler:I}=K,H=Ce(),o=Pe({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:V(e),values:V(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:ce,saveStatus:g,paymentAccount:A,paymentAccountStatus:le,plaidConnectionDetails:te,uiState:ue,allNationalityCountries:ne,subscriptionBillingAddress:y}=e,{customerOnboardingPage:pe,common:h}=Ue,{footer:me,steps:ge}=pe,{buttons:J}=me,ie=ge.link_payment_account,v=be(g.fetchState),ae=Object.values(ce).findIndex(d=>d?.isSelectedForVerification===!0)??0,ye=`Officer_${ae<0?1:ae+1}`;O.useEffect(()=>{const d=o.watch((c,{name:a})=>{a!=null&&c!=null&&we(()=>(async(r,s)=>{if(r.includes(t)&&s[t]!=null){const S=o.getValues(`${t}`).country;let f=s[t];if(r.includes(`${t}.street`)&&s[t].street!=null){const{addressValue:b}=s[t].street,Q=Ve(b?.country);f={street:s[t].street??h.strings.empty,city:b?.locality??h.strings.empty,state:b?.administrativeAreaLevel1??h.strings.empty,country:Q,countryCode:b?.countryCode??h.strings.empty,postalCode:b?.postalCode??h.strings.empty,secondaryInfo:s[t].secondaryInfo,suite:s[t].suite},S.selectedOption!==Q.selectedOption&&(f={...f,country:Q})}else(r===`${t}.country`&&S.selectedOption!=null||S.selectedOption!=null&&r.includes(`${t}.street`)===!1)&&(f={...f,countryCode:je(S.selectedOption)});I(f)}})(a,c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{v==="In-Progress"&&g.fetchState==="Completed"&&o.reset(V(e),{keepDirtyValues:!1})},[o,e,v,g.fetchState,ne]);const oe=()=>{const d=Object.values(te).some(s=>s.fetchStatus.fetchState==="Completed"),c=A?.providerVerificationStatus?.code?.includes("verified")??!1,a=p.cardsList.length>0,r=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return d&&c||!c&&!A&&a||!a&&!A&&r};O.useEffect(()=>{v==="In-Progress"&&g.fetchState==="Completed"&&(o.reset(V(e),{keepDirtyValues:!1}),k())},[o,e,v,g.fetchState,ne,k]);const[se,he]=O.useState(!1);return n.jsxs(Fe,{children:[n.jsxs(Ke,{windowSize:m,children:[n.jsx(xe,{title:ie.sectionTitle,showBackButton:!1,backgroundColor:H.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:n.jsx(Ne,{children:n.jsx(We,{"data-testid":ke("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:q})})}),n.jsx(Ie,{...o,children:n.jsx(Re,{id:Ee(re),children:n.jsxs(Me,{children:[n.jsx(Ze,{windowSize:m,children:ie.sectionSubTitle}),n.jsx(_e,{connectedAccountProvider:u,paymentAccount:A,accountStatus:le,plaidConnectionDetails:te,subscriptionBillingAddressSectionId:t,sectionId:ee,analytics:C,isValid:oe(),onFetchLinkTokenClick:R,onEstablishConnectionClick:P,onUpdatePaymentAccountStatus:G,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionSuccess:W,updateCardPaymentModalState:x,cardPaymentView:p,resetCardPaymentViewState:U,cardSetupInProgress:se,googleAPIKey:T,subscriptionBillingAddress:y})]},"link_payment_account")})}),n.jsx(Ae,{formId:`${re}`,leftSideComponent:n.jsx(Ge,{windowSize:m,children:n.jsx(ve,{signedInUser:w,currentTenant:L,onLogOutClick:Z})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:async()=>{const d=await o.trigger(t),c=await o.trigger(ee);d&&c&&((()=>{const a=o.getValues(t),r={street:a.street.addressString,suite:a.suite,city:a.city,state:a.state,postalCode:a.postalCode,country:a.country.selectedOption??h.strings.empty,secondaryInfo:a.secondaryInfo};C.trackOnboardingBillingAddressSave(r)})(),_("link_payment_account"),F(ye,!1,!0))},label:J.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(function(){if(o.getFieldState(t).error)return!1;const d=o.getValues(t),c=y?.street.join("").trim(),a=y?.city,r=y?.state,s=y?.country,S=y?.postalCode!=null&&y.postalCode||d.postalCode||h.strings.empty;return!!(c&&a&&r&&s&&S)}()&&oe())},containerStyle:{width:"auto",justifyContent:"center"},helperText:J.submitText.replace("__action__",J.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),n.jsx(ze,{handleConfirmCardSetupIntent:B,updateCardPaymentModalState:x,handleCreateCardSetupIntent:z,handleAddCardPaymentSource:E,cardPaymentView:p,stripeKey:j,isCardPaymentOpen:ue.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:D,cardSetupInProgress:se,setCardSetupInProgress:he})]})},Fe=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{V as l,f0 as Qt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Me,J as ft,S as Qe,a_ as Gt,o as ce,A as Zt,m as Y,a9 as Jt,ha as Xt,fC as en,f1 as gt,eu as Ot,O as Ge,ev as tn,x as fe,fF as ge,cc as nn,l as an,hb as ht,W as St,ck as on,fE as sn}from"./index-CVe1fo1a.js";import{a as m}from"./sentry-CFYfTv_F.js";import{n as x,k as xt}from"./mui-DcvwYC51.js";import{bQ as B,FH as rn,FI as cn}from"./zeni-epic-state-BZiG8B71.js";import{r as Ct,t as ln}from"./PaymentAccountSetupBillingAddressSection-D1ZDh1GY-CDM1qPvj.js";import{b as bt,f as dn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DSvvHqR_-B6nZNBwn.js";import{z as pn,r as un}from"./CompanyOfficerDetailsSection-6LXCxWYP-N1CjwGwi.js";import{t as mn}from"./QBOSetupSection-iQJCHR-K-Cozk6L0j.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-CF6UyWSv-BQXpwXby.js";import"./SetUpAccountSection-BSOGwHCj-BawfFLHE.js";import"./helper-COxPEvgL-B99qx9wP.js";import"./LabeledAddressValueField-CAr-IiTa-hz8acdw2.js";import"./LabeledCountryMultiSelectField-C6z1v9S1-B3o5vQAY.js";import"./LabeledCreatableSingleSelectField-Dhi0n2ky-DMTYZTz6.js";import"./LabeledDocumentField-B3QSq1eM-IGzby_k8.js";import"./LabeledNameField-CYN5kdQi-86Gkfv4K.js";import"./avatar-Dz7aEm3d-CKqFD1L0.js";import"./QBOConnectionDialog-C1rEAxUE-DfW1Uzaj.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new a.Error().stack;C&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[C]="7ec7ce86-31e9-4f25-8e10-6e14ab88e1fa",a._sentryDebugIdIdentifier="sentry-dbid-7ec7ce86-31e9-4f25-8e10-6e14ab88e1fa")}catch{}})();const yn=({companyView:a,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:w,onPhoneVerified:h,...k})=>{const f=Ye(),T=a?.companyOfficers.slice(0,10).sort((I,te)=>I.user.createTime?.isAfter(te.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:d}=Ge.getLocalizedStrings().customerOnboardingPage.sections,{title:V}=d,D=a?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(fn,{children:l.jsx(un,{companyOfficerData:C,allOfficers:T??[],allNationalityCountries:r,sectionHeader:V,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:w,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...k})})},fn=x.div`
1
+ import{V as l,f0 as Qt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Me,J as ft,S as Qe,a_ as Gt,o as ce,A as Zt,m as Y,a9 as Jt,ha as Xt,fC as en,f1 as gt,eu as Ot,O as Ge,ev as tn,x as fe,fF as ge,cc as nn,l as an,hb as ht,W as St,ck as on,fE as sn}from"./index-iSEGT9xi.js";import{a as m}from"./sentry-DwNPvXBL.js";import{n as x,k as xt}from"./mui-Bg5IRLA2.js";import{bQ as B,FH as rn,FI as cn}from"./zeni-epic-state-DQF5EBoo.js";import{r as Ct,t as ln}from"./PaymentAccountSetupBillingAddressSection-D1ZDh1GY-CQR83EXw.js";import{b as bt,f as dn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DSvvHqR_-DDxDa7To.js";import{z as pn,r as un}from"./CompanyOfficerDetailsSection-6LXCxWYP-BUFWf_Jt.js";import{t as mn}from"./QBOSetupSection-iQJCHR-K-CCZ1VagE.js";import"./pdf-2PUMrtF-.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-CF6UyWSv-CFnrHGdI.js";import"./SetUpAccountSection-BSOGwHCj-l5hcQr16.js";import"./helper-COxPEvgL-DjqGilVF.js";import"./LabeledAddressValueField-CAr-IiTa-Coj2vGIo.js";import"./LabeledCountryMultiSelectField-C6z1v9S1-0fn76-gA.js";import"./LabeledCreatableSingleSelectField-Dhi0n2ky-C4cpdoPU.js";import"./LabeledDocumentField-B3QSq1eM-CQ4OV_q7.js";import"./LabeledNameField-CYN5kdQi-C2knR9hx.js";import"./avatar-Dz7aEm3d-VXKNqIyu.js";import"./QBOConnectionDialog-C1rEAxUE-Bns4Q1dD.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new a.Error().stack;C&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[C]="7ec7ce86-31e9-4f25-8e10-6e14ab88e1fa",a._sentryDebugIdIdentifier="sentry-dbid-7ec7ce86-31e9-4f25-8e10-6e14ab88e1fa")}catch{}})();const yn=({companyView:a,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:w,onPhoneVerified:h,...k})=>{const f=Ye(),T=a?.companyOfficers.slice(0,10).sort((I,te)=>I.user.createTime?.isAfter(te.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:d}=Ge.getLocalizedStrings().customerOnboardingPage.sections,{title:V}=d,D=a?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(fn,{children:l.jsx(un,{companyOfficerData:C,allOfficers:T??[],allNationalityCountries:r,sectionHeader:V,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:w,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...k})})},fn=x.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{e as _,h as B,_ as F,y as I,V as e,a_ as U,o as t,b as k,aL as M,f0 as W,O as A,l as V,r as H,f as l,w as b,u as N,n as R,c2 as J,D as Z,aj as G}from"./index-CVe1fo1a.js";import{a as n}from"./sentry-CFYfTv_F.js";import{n as o}from"./mui-DcvwYC51.js";import{Gk as q}from"./zeni-epic-state-BZiG8B71.js";import K from"./ConfettiBurst-BJrOe5Fg-B4cWwrd1.js";import{T as Q}from"./ProductsCarousel-sNagRI0c-61XsnGmO.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new i.Error().stack;p&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[p]="02a0257d-76c9-4f2c-9ca6-31c01b8175df",i._sentryDebugIdIdentifier="sentry-dbid-02a0257d-76c9-4f2c-9ca6-31c01b8175df")}catch{}})();const X=A.getLocalizedStrings(),Ie=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=_(),f=B().analytics,w=F(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,O=I(),{customerOnboardingPage:c}=X,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:D}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=D;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]};return e.jsxs(e.Fragment,{children:[e.jsx(Y,{children:e.jsxs(ee,{windowSize:d,children:[e.jsx(te,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(xe,{children:e.jsx(fe,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:x?e.jsxs(ye,{"data-testid":k("update-to-payment-address-details"),onClick:()=>(s=>{if(v(),!s)return;let r="";r=i?"bank_account":"credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,q(s.productSettings))})(a),children:[e.jsx(we,{}),e.jsx(ke,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(be,{})})}),e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(re,{children:[e.jsxs(C,{children:[e.jsx(ne,{children:e.jsx(se,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(ae,{children:e.jsx(le,{children:c.productSuite.sectionTitle})}),e.jsx(de,{children:e.jsx(Q,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(ce,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(pe,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(he,{className:"discover-class"})]})]}),e.jsx(ge,{children:e.jsxs(ue,{children:[e.jsx(me,{windowSize:d,children:e.jsx(M,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},Y=o.div`
1
+ import{e as _,h as B,_ as F,y as I,V as e,a_ as U,o as t,b as k,aL as M,f0 as W,O as A,l as V,r as H,f as l,w as b,u as N,n as R,c2 as J,D as Z,aj as G}from"./index-iSEGT9xi.js";import{a as n}from"./sentry-DwNPvXBL.js";import{n as o}from"./mui-Bg5IRLA2.js";import{Gk as q}from"./zeni-epic-state-DQF5EBoo.js";import K from"./ConfettiBurst-BJrOe5Fg-zHdUBtAM.js";import{T as Q}from"./ProductsCarousel-sNagRI0c-CXROneWv.js";import"./pdf-2PUMrtF-.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new i.Error().stack;p&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[p]="02a0257d-76c9-4f2c-9ca6-31c01b8175df",i._sentryDebugIdIdentifier="sentry-dbid-02a0257d-76c9-4f2c-9ca6-31c01b8175df")}catch{}})();const X=A.getLocalizedStrings(),Ie=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=_(),f=B().analytics,w=F(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,O=I(),{customerOnboardingPage:c}=X,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:D}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=D;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]};return e.jsxs(e.Fragment,{children:[e.jsx(Y,{children:e.jsxs(ee,{windowSize:d,children:[e.jsx(te,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(xe,{children:e.jsx(fe,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:x?e.jsxs(ye,{"data-testid":k("update-to-payment-address-details"),onClick:()=>(s=>{if(v(),!s)return;let r="";r=i?"bank_account":"credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,q(s.productSettings))})(a),children:[e.jsx(we,{}),e.jsx(ke,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(be,{})})}),e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(re,{children:[e.jsxs(C,{children:[e.jsx(ne,{children:e.jsx(se,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(ae,{children:e.jsx(le,{children:c.productSuite.sectionTitle})}),e.jsx(de,{children:e.jsx(Q,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(ce,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(pe,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(he,{className:"discover-class"})]})]}),e.jsx(ge,{children:e.jsxs(ue,{children:[e.jsx(me,{windowSize:d,children:e.jsx(M,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},Y=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{j as a}from"./pdf-DA3UteIy.js";import{t as $e,A as Ce}from"./AddressScreen-Do5YL4Hs.js";import ze from"./NotFoundScreen-BGyIaLbV.js";import{a as g}from"./sentry-CFYfTv_F.js";import{j as oe,h as se,i as ie,l as re,u as P,N as E,k as ce,g as Qe,R as Me,m as Q}from"./core-BAxGDYbL.js";import{N as de,_ as le,js as B,aE as ue,y as qe,aG as _,jO as V,bk as J,jz as N,jQ as we,J as X,ks as Ke,e as Ze,a7 as Ie,jD as te,kt as He,ku as ke,o as Je,kv as We,ev as Ee,kw as Xe}from"./index-CVe1fo1a.js";import{bm as Ye,ct as ee,cV as et,cA as pe,cy as me,bt as tt,jA as at,cQ as nt,G7 as ot,gp as ae,gs as ve,Hi as st,F3 as it,bE as ge,oR as he,oC as rt,I0 as Y,oS as _e,Dv as ct,hr as Ue,I1 as Ve,I2 as dt,I3 as lt,I4 as ut,gn as pt,gq as mt,oE as Be,oQ as gt,bG as Te,bJ as ht,p2 as xe,mK as yt,my as ft,hj as St,dj as bt,di as Ct,dh as It,I5 as kt,ow as Et,p3 as Tt,p6 as xt,p9 as Ot,pf as At,Gk as Dt}from"./zeni-epic-state-BZiG8B71.js";import{n as ye}from"./mui-DcvwYC51.js";import{g as Pt,h as Ft,q as ne}from"./QBOConnectionScreen-Rp-2rn0k.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./empty-C6XM9c0M.js";import"./pdf-lib-CB0YH404.js";import"./index-rcznrhDB.js";import"./url-CG3dVLHq.js";import"./index-CDtqLLbw.js";import"./decodeURIComponentSafe-Bypqq6TF.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="769e9de8-ee45-4754-a0ed-2384ecaa384d",t._sentryDebugIdIdentifier="sentry-dbid-769e9de8-ee45-4754-a0ed-2384ecaa384d")}catch{}})();const jt=ce(function(t,o){const s=[];o.isApAgingFeatureEnabled===!1&&s.push("accounts_payable_aging"),o.isArAgingFeatureEnabled===!1&&s.push("accounts_receivable_aging"),o.shouldFetchZeniAccountsPromoCard===!1&&s.push("zeni_accounts_promo_card"),o.shouldFetchRewardsPlanCard===!1&&s.push("rewards_card"),o.isExpenseAutomationEnabledForUser===!1&&s.push("expense_automation_card");const u=nt(t,s,o.signedInUser,o.isExpenseAutomationFeatureEnabledV2,o.isExpenseAutomationEnabledForUser,o.isTreasuryEnabled);return{dashboardFetchState:ot(u.reportsInOrder.map(d=>({fetchState:d.fetchState,error:d.error}))).fetchState}},function(t,o){const{themeState:s,navigate:u,location:d}=o;return{onZeniLogoClick:()=>{s.toggle()},onDashboardFetchDone:()=>{const r=V(d.state?.pathnameStackToGoBack,d.pathname);u("../../dashboard",{state:{pathnameStackToGoBack:r,message:"activation"}})}}})(Ke),wt=()=>{const t=oe(),o=se(),s=ie(),u=de(),[d,r]=g.useState(!1),[p,S]=g.useState(!1),{tenantEmailDomain:e}=re(),n=le(),i=B.getSignedInUser(),h=Ye(i),{useFeatureGate:m}=ue(),k=qe(),{isFeatureEnabled:T}=m(_.isApAgingFeatureEnabled),{isFeatureEnabled:x}=m(_.isArAgingFeatureEnabled),{isFeatureEnabled:I}=m(_.isDepositAccountsFeatureEnabled),{isFeatureEnabled:y}=m(_.isReferralFeatureEnabled),{isFeatureEnabled:U}=m(_.isExpenseAutomationEnabled),{isFeatureEnabled:C}=m(_.isExpenseAutomationEnabledV2),{isFeatureEnabled:F}=m(_.isDebitCardFeatureEnabled),$=C||U&&h,c=P(l=>ee(l)),{isFeatureEnabled:G}=m(_.isTreasuryEnabled),j=c.company!=null&&et(c.company),L=G&&j,O=P(l=>l.onboardingCustomerViewState.fetchState),b=c.excludedResources,R=c.companyId??B.getSignedInUserTenant(e)?.companyId;if(i==null)throw Error("Can't access onboarding flow without signing in...");const w=pe(F,c),A=me(c),D=[],K=b?.resources?.find(l=>l.resource==="/reports/top_expenses")==null,z=b?.resources?.find(l=>l.resource==="/reports/task_card")==null,M=c?.userRole!=null&&tt(c?.userRole),v=b?.resources?.find(l=>l.resource==="/bills")==null&&!M,q=b?.resources?.find(l=>l.resource==="/reimbursements")==null;if(K===!1&&D.push("top_expenses"),z===!1&&D.push("task_card"),v===!1&&D.push("bill_pay_card","bill_pay_promo_card"),q===!1&&D.push("reimbursement_card","reimbursement_promo_card"),I===!1&&D.push("zeni_accounts_promo_card"),y===!1&&D.push("rewards_card"),g.useEffect(()=>{O!=="Completed"||d||w||A||(r(!0),s(at(i.userId,R,c.tenantId,!0,!1,D)))},[d,O,w,A,i,c.tenantId,s]),g.useEffect(()=>{(w||A)&&setTimeout(()=>{S(!0)},5e3)},[w,A]),O!=="Completed")return a.jsx(E,{to:"../"});if(O==="Completed"&&p){const l=V(o.state?.pathnameStackToGoBack,o.pathname);if(w)return a.jsx(E,{to:"../../checking",state:{...o.state,pathnameStackToGoBack:l,message:"activation"}});if(A)return a.jsx(E,{to:"../../cards",state:{...o.state,pathnameStackToGoBack:l,message:"activation"}})}return n?.loggedInUserRoleMap!=null?a.jsxs(a.Fragment,{children:[a.jsx(J,{analytics:N,onLoad:l=>(Z=>Z.trackPageLoaded(X.Event.onboardingDashboardActivation))(l)}),a.jsx(jt,{navigate:t,location:o,themeState:u,signedInUser:i,isApAgingFeatureEnabled:T,isArAgingFeatureEnabled:x,shouldFetchZeniAccountsPromoCard:I,shouldFetchRewardsPlanCard:y,isExpenseAutomationEnabledForUser:$,isExpenseAutomationFeatureEnabledV2:C,isTreasuryEnabled:L,loggedInUserRoleMap:n?.loggedInUserRoleMap})]}):a.jsx(we,{fetchState:"In-Progress",style:{backgroundColor:k.colors.grey5}})},Oe=ye.div`
1
+ import{j as a}from"./pdf-2PUMrtF-.js";import{t as $e,A as Ce}from"./AddressScreen-S2Le0Iyl.js";import ze from"./NotFoundScreen-DGF4ewvh.js";import{a as g}from"./sentry-DwNPvXBL.js";import{j as oe,h as se,i as ie,l as re,u as P,N as E,k as ce,g as Qe,R as Me,m as Q}from"./core-Dbakk1VU.js";import{N as de,_ as le,js as B,aE as ue,y as qe,aG as _,jO as V,bk as J,jz as N,jQ as we,J as X,ks as Ke,e as Ze,a7 as Ie,jD as te,kt as He,ku as ke,o as Je,kv as We,ev as Ee,kw as Xe}from"./index-iSEGT9xi.js";import{bm as Ye,ct as ee,cV as et,cA as pe,cy as me,bt as tt,jA as at,cQ as nt,G7 as ot,gp as ae,gs as ve,Hi as st,F3 as it,bE as ge,oR as he,oC as rt,I0 as Y,oS as _e,Dv as ct,hr as Ue,I1 as Ve,I2 as dt,I3 as lt,I4 as ut,gn as pt,gq as mt,oE as Be,oQ as gt,bG as Te,bJ as ht,p2 as xe,mK as yt,my as ft,hj as St,dj as bt,di as Ct,dh as It,I5 as kt,ow as Et,p3 as Tt,p6 as xt,p9 as Ot,pf as At,Gk as Dt}from"./zeni-epic-state-DQF5EBoo.js";import{n as ye}from"./mui-Bg5IRLA2.js";import{g as Pt,h as Ft,q as ne}from"./QBOConnectionScreen-BzZBkC05.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";import"./empty-C3KqHyA9.js";import"./pdf-lib-DlaDOnMS.js";import"./index-DD0lDka6.js";import"./url-DIYU8sPo.js";import"./index-CH6Xem9w.js";import"./decodeURIComponentSafe-EYVZFaGG.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="769e9de8-ee45-4754-a0ed-2384ecaa384d",t._sentryDebugIdIdentifier="sentry-dbid-769e9de8-ee45-4754-a0ed-2384ecaa384d")}catch{}})();const jt=ce(function(t,o){const s=[];o.isApAgingFeatureEnabled===!1&&s.push("accounts_payable_aging"),o.isArAgingFeatureEnabled===!1&&s.push("accounts_receivable_aging"),o.shouldFetchZeniAccountsPromoCard===!1&&s.push("zeni_accounts_promo_card"),o.shouldFetchRewardsPlanCard===!1&&s.push("rewards_card"),o.isExpenseAutomationEnabledForUser===!1&&s.push("expense_automation_card");const u=nt(t,s,o.signedInUser,o.isExpenseAutomationFeatureEnabledV2,o.isExpenseAutomationEnabledForUser,o.isTreasuryEnabled);return{dashboardFetchState:ot(u.reportsInOrder.map(d=>({fetchState:d.fetchState,error:d.error}))).fetchState}},function(t,o){const{themeState:s,navigate:u,location:d}=o;return{onZeniLogoClick:()=>{s.toggle()},onDashboardFetchDone:()=>{const r=V(d.state?.pathnameStackToGoBack,d.pathname);u("../../dashboard",{state:{pathnameStackToGoBack:r,message:"activation"}})}}})(Ke),wt=()=>{const t=oe(),o=se(),s=ie(),u=de(),[d,r]=g.useState(!1),[p,S]=g.useState(!1),{tenantEmailDomain:e}=re(),n=le(),i=B.getSignedInUser(),h=Ye(i),{useFeatureGate:m}=ue(),k=qe(),{isFeatureEnabled:T}=m(_.isApAgingFeatureEnabled),{isFeatureEnabled:x}=m(_.isArAgingFeatureEnabled),{isFeatureEnabled:I}=m(_.isDepositAccountsFeatureEnabled),{isFeatureEnabled:y}=m(_.isReferralFeatureEnabled),{isFeatureEnabled:U}=m(_.isExpenseAutomationEnabled),{isFeatureEnabled:C}=m(_.isExpenseAutomationEnabledV2),{isFeatureEnabled:F}=m(_.isDebitCardFeatureEnabled),$=C||U&&h,c=P(l=>ee(l)),{isFeatureEnabled:G}=m(_.isTreasuryEnabled),j=c.company!=null&&et(c.company),L=G&&j,O=P(l=>l.onboardingCustomerViewState.fetchState),b=c.excludedResources,R=c.companyId??B.getSignedInUserTenant(e)?.companyId;if(i==null)throw Error("Can't access onboarding flow without signing in...");const w=pe(F,c),A=me(c),D=[],K=b?.resources?.find(l=>l.resource==="/reports/top_expenses")==null,z=b?.resources?.find(l=>l.resource==="/reports/task_card")==null,M=c?.userRole!=null&&tt(c?.userRole),v=b?.resources?.find(l=>l.resource==="/bills")==null&&!M,q=b?.resources?.find(l=>l.resource==="/reimbursements")==null;if(K===!1&&D.push("top_expenses"),z===!1&&D.push("task_card"),v===!1&&D.push("bill_pay_card","bill_pay_promo_card"),q===!1&&D.push("reimbursement_card","reimbursement_promo_card"),I===!1&&D.push("zeni_accounts_promo_card"),y===!1&&D.push("rewards_card"),g.useEffect(()=>{O!=="Completed"||d||w||A||(r(!0),s(at(i.userId,R,c.tenantId,!0,!1,D)))},[d,O,w,A,i,c.tenantId,s]),g.useEffect(()=>{(w||A)&&setTimeout(()=>{S(!0)},5e3)},[w,A]),O!=="Completed")return a.jsx(E,{to:"../"});if(O==="Completed"&&p){const l=V(o.state?.pathnameStackToGoBack,o.pathname);if(w)return a.jsx(E,{to:"../../checking",state:{...o.state,pathnameStackToGoBack:l,message:"activation"}});if(A)return a.jsx(E,{to:"../../cards",state:{...o.state,pathnameStackToGoBack:l,message:"activation"}})}return n?.loggedInUserRoleMap!=null?a.jsxs(a.Fragment,{children:[a.jsx(J,{analytics:N,onLoad:l=>(Z=>Z.trackPageLoaded(X.Event.onboardingDashboardActivation))(l)}),a.jsx(jt,{navigate:t,location:o,themeState:u,signedInUser:i,isApAgingFeatureEnabled:T,isArAgingFeatureEnabled:x,shouldFetchZeniAccountsPromoCard:I,shouldFetchRewardsPlanCard:y,isExpenseAutomationEnabledForUser:$,isExpenseAutomationFeatureEnabledV2:C,isTreasuryEnabled:L,loggedInUserRoleMap:n?.loggedInUserRoleMap})]}):a.jsx(we,{fetchState:"In-Progress",style:{backgroundColor:k.colors.grey5}})},Oe=ye.div`
2
2
  display: flex;
3
3
  height: 100vh;
4
4
  background-color: ${t=>t.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{z as OA,e as AA,_ as se,V as e,K as Ut,O as Q,B as Ot,F as Tt,o as r,G as Ht,I as Yt,J as UA,f as x,P as Kt,Q as Nt,S as zt,U as Ee,X as Gt,Y as Wt,Z as qt,a0 as Xt,a1 as Vt,a2 as Zt,a3 as P,a4 as G,a5 as K,a6 as _,b as k,T as $t,a7 as Ye,a8 as Ke,A as _t,a9 as Ar,x as tA,aa as W,ab as rA,H as oA,ac as Ne,ad as J,ae as U,af as XA,k as er,y as sA,ag as tr,ah as rr,ai as or,aj as ar,C as R,ak as TA,m as v,D as VA,l as HA,al as ze,am as Ge,an as We,ao as ir,ap as ZA,d as gr,M as nr,aq as Cr,ar as qe,as as sr,at as dr,au as $A,av as Er,aw as Br,ax as lr,ay as Qr,L as Xe,w as Ir,az as cr,aA as hr,aB as Ve,aC as Ze,j as pr,aD as mr,u as ur,t as $e}from"./index-CVe1fo1a.js";import{a as t,b as w}from"./sentry-CFYfTv_F.js";import{n as g,d as xr,c as kA,k as b}from"./mui-DcvwYC51.js";import{L as fr}from"./lottie-DR43ghJ6.js";import{bt as wr,bs as _e,F4 as At}from"./zeni-epic-state-BZiG8B71.js";import{v as kr}from"./DashboardSidebarBackgroundAnimation-CBg2tWHO-BrEJtieY.js";import{L as Dr,k as yr}from"./ArAgingChart-CCc6eh55-fg322qhA.js";import{E as jr,T as de,I as et}from"./ReloadCard-D5kxTfzJ-CHGlYP1Y.js";import{L as vr,O as YA,c as cA}from"./TopExCard-PayAZZY--CN7knT9a.js";import{Y as br,X as Mr,H as Sr,P as Rr,G as Fr}from"./RevenueChart-B_RMeweH-sORV0ExB.js";import Lr from"./InsightsCardStack-DexUl4h--CD8yzPkl.js";import{a as Jr}from"./AccountsPromoCardStack-D6xN5A4_-DaMwJmFg.js";import{c as eA}from"./SummaryCard-DgIPSt4y-BreXikds.js";import{t as Pr,o as Ur}from"./arrow-south-east-round-PEovUgvH-CWRd961V.js";import{N as CA}from"./NavigationArrow-DY_BhITD-gGit-4br.js";import{x as _A}from"./NavigationDots-Kh5ODrCQ-DwZ3hrog.js";import Or from"./CompanyPassportCard-DVJS9xE7-WQAczivM.js";import{C as Tr}from"./gift-box-Cmt9OgIZ-a88q6Sec.js";import Hr from"./InformationCardStack-D7naFDX0-DgOmsE3E.js";import{p as tt}from"./chartTypes-BqRsL6eJ-D0sv3zgU.js";import{h as Yr}from"./toCOABalancesWithID-B70YK7cw-CXnt8iTO.js";import{V as Kr}from"./toChartData-CWgd8E5c-DiIGKIgi.js";import{r as Nr,i as zr}from"./graphic-no-data-net-burn-l-CzmycA0m-CDJ9LscK.js";import{N as Gr,J as Wr}from"./PromoBaseCards-BUk-u73S-BOYyiMks.js";import{r as qr}from"./core-BAxGDYbL.js";import{N as Xr,I as Vr}from"./VideoPlayer-53OvOC7l-pPI6Q2OV.js";import Zr from"./ConfettiBurst-BJrOe5Fg-B4cWwrd1.js";import{N as $r,O as _r,Y as Ao,X as eo,Q as to}from"./recharts-LOG_L3Q0.js";import"./pdf-DA3UteIy.js";import"./liveblocks-DIb7UiB5.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./graphic-no-data-l-DU4J8fDt-BXu_Erqy.js";import"./media-player-t6imgqTs.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new A.Error().stack;a&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[a]="5ec180a9-a639-473c-8c7f-6ae28d8a4353",A._sentryDebugIdIdentifier="sentry-dbid-5ec180a9-a639-473c-8c7f-6ae28d8a4353")}catch{}})();const ro=g(rA)`
1
+ import{z as OA,e as AA,_ as se,V as e,K as Ut,O as Q,B as Ot,F as Tt,o as r,G as Ht,I as Yt,J as UA,f as x,P as Kt,Q as Nt,S as zt,U as Ee,X as Gt,Y as Wt,Z as qt,a0 as Xt,a1 as Vt,a2 as Zt,a3 as P,a4 as G,a5 as K,a6 as _,b as k,T as $t,a7 as Ye,a8 as Ke,A as _t,a9 as Ar,x as tA,aa as W,ab as rA,H as oA,ac as Ne,ad as J,ae as U,af as XA,k as er,y as sA,ag as tr,ah as rr,ai as or,aj as ar,C as R,ak as TA,m as v,D as VA,l as HA,al as ze,am as Ge,an as We,ao as ir,ap as ZA,d as gr,M as nr,aq as Cr,ar as qe,as as sr,at as dr,au as $A,av as Er,aw as Br,ax as lr,ay as Qr,L as Xe,w as Ir,az as cr,aA as hr,aB as Ve,aC as Ze,j as pr,aD as mr,u as ur,t as $e}from"./index-iSEGT9xi.js";import{a as t,b as w}from"./sentry-DwNPvXBL.js";import{n as g,d as xr,c as kA,k as b}from"./mui-Bg5IRLA2.js";import{L as fr}from"./lottie-DBYzZfO9.js";import{bt as wr,bs as _e,F4 as At}from"./zeni-epic-state-DQF5EBoo.js";import{v as kr}from"./DashboardSidebarBackgroundAnimation-CBg2tWHO-Cyc1B4hB.js";import{L as Dr,k as yr}from"./ArAgingChart-CCc6eh55-gFVrqmo_.js";import{E as jr,T as de,I as et}from"./ReloadCard-D5kxTfzJ-f2yTtdPG.js";import{L as vr,O as YA,c as cA}from"./TopExCard-PayAZZY--Bj-aVuk-.js";import{Y as br,X as Mr,H as Sr,P as Rr,G as Fr}from"./RevenueChart-B_RMeweH-BaW-ee-H.js";import Lr from"./InsightsCardStack-DexUl4h--Bl8IGBl8.js";import{a as Jr}from"./AccountsPromoCardStack-D6xN5A4_-WA3fSxPL.js";import{c as eA}from"./SummaryCard-DgIPSt4y-9lOT4ZI5.js";import{t as Pr,o as Ur}from"./arrow-south-east-round-PEovUgvH-DWItiKv4.js";import{N as CA}from"./NavigationArrow-DY_BhITD-BQwiFtSS.js";import{x as _A}from"./NavigationDots-Kh5ODrCQ-DBa52_8H.js";import Or from"./CompanyPassportCard-DVJS9xE7-D3yBGMbD.js";import{C as Tr}from"./gift-box-Cmt9OgIZ-Bfn5R-O9.js";import Hr from"./InformationCardStack-D7naFDX0-CJPEq7Jn.js";import{p as tt}from"./chartTypes-BqRsL6eJ-DnPOTdta.js";import{h as Yr}from"./toCOABalancesWithID-B70YK7cw-Cqus0iZx.js";import{V as Kr}from"./toChartData-CWgd8E5c-vscPIv0G.js";import{r as Nr,i as zr}from"./graphic-no-data-net-burn-l-CzmycA0m-DgQOtljq.js";import{N as Gr,J as Wr}from"./PromoBaseCards-BUk-u73S-CdxIVd7h.js";import{r as qr}from"./core-Dbakk1VU.js";import{N as Xr,I as Vr}from"./VideoPlayer-53OvOC7l-RvSvHksJ.js";import Zr from"./ConfettiBurst-BJrOe5Fg-zHdUBtAM.js";import{N as $r,O as _r,Y as Ao,X as eo,Q as to}from"./recharts-Bztd37V0.js";import"./pdf-2PUMrtF-.js";import"./liveblocks-DdnYk2Co.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";import"./graphic-no-data-l-DU4J8fDt-BFYI8sfE.js";import"./media-player-C20hpg6W.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new A.Error().stack;a&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[a]="5ec180a9-a639-473c-8c7f-6ae28d8a4353",A._sentryDebugIdIdentifier="sentry-dbid-5ec180a9-a639-473c-8c7f-6ae28d8a4353")}catch{}})();const ro=g(rA)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,Be=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{e as I,y as Z,O as y,_ as Pe,V as a,a_ as Xe,L as Ke,J as Qe,a$ as et,o as i,x as D,S as K,b0 as tt,b1 as st,C as ae,m as L,an as at,ad as ot,a8 as Le,a as Ne,f as M,D as Ie,ac as nt,au as it,j as rt,b2 as ct,$ as lt,b3 as dt,b4 as oe,b5 as pt,t as gt,H as ht,b6 as mt,b7 as ut}from"./index-CVe1fo1a.js";import{a as k,b as ee}from"./sentry-CFYfTv_F.js";import{n as p,k as Re}from"./mui-DcvwYC51.js";import{bt as ft,F6 as bt,F3 as xt,F7 as _t,F8 as wt,F9 as yt,Fa as St,Fb as vt,Fc as jt,Fd as Ct,Fe as kt}from"./zeni-epic-state-BZiG8B71.js";import{m as G,l as se}from"./analyticsHelper-qtejXlXH-UFbrYbZ_.js";import{x as $t,b as Ot}from"./ReportTableViewSelector-BZU8yltx-BXz0jYWq.js";import{F as Bt}from"./InsightsSection-D9PJ55E6-BZ3NURYW.js";import{H as te}from"./BalancesInsightWithToolTip-D1_dZg5k-Cp5teLbH.js";import{y as Pt,$ as Lt,v as Nt,M as xe,b as fe}from"./TimeRangeSwitcher-CkgGEwEw-BPD6p-o-.js";import{G as It,P as Rt,Y as _e,X as we,H as ye}from"./RevenueChart-B_RMeweH-sORV0ExB.js";import{C as Tt}from"./NoDataChart-CuiKDcAB-DcvOdNkO.js";import{n as F}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{T as Te}from"./TimeframeSwitcher-B8fpnYS8-DN6x7QeB.js";import{n as Dt,t as W,j as zt,h as me,D as At}from"./CollapsableReportTable-C_bWRP7w-ybv6uXaY.js";import{S as Ft,M as Mt,g as Et,C as J,L as Se,D as ve,T as je}from"./mapSectionWithAcOnlyToTreeNode-CcuLqf_I-DlLPz3lr.js";import{d as Vt}from"./NoDataTable-BpH8puX--CKc9Uumk.js";import{d as ne,l as ie}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-C3md0v2d.js";import{d as re}from"./mapLoadingInProgressToTreeNode-COOJxneh-Dn5oaOob.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./filter-cZIFUNvj-yDtIQZZZ.js";import"./NavigationDots-Kh5ODrCQ-DwZ3hrog.js";import"./chartTypes-BqRsL6eJ-D0sv3zgU.js";import"./toCOABalancesWithID-B70YK7cw-CXnt8iTO.js";import"./toChartData-CWgd8E5c-DiIGKIgi.js";import"./AccountRow-C-Iunc36-CWR0-Stg.js";import"./clock-CJkylEKt-9m-0TbEY.js";import"./graphic-no-data-l-DU4J8fDt-BXu_Erqy.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]="4aa13d7d-097b-4e04-9e7a-c0c9e6bf3cb0",e._sentryDebugIdIdentifier="sentry-dbid-4aa13d7d-097b-4e04-9e7a-c0c9e6bf3cb0")}catch{}})();const Wt=e=>k.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},k.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),k.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),k.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),k.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),k.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Ht=p.div`
1
+ import{e as I,y as Z,O as y,_ as Pe,V as a,a_ as Xe,L as Ke,J as Qe,a$ as et,o as i,x as D,S as K,b0 as tt,b1 as st,C as ae,m as L,an as at,ad as ot,a8 as Le,a as Ne,f as M,D as Ie,ac as nt,au as it,j as rt,b2 as ct,$ as lt,b3 as dt,b4 as oe,b5 as pt,t as gt,H as ht,b6 as mt,b7 as ut}from"./index-iSEGT9xi.js";import{a as k,b as ee}from"./sentry-DwNPvXBL.js";import{n as p,k as Re}from"./mui-Bg5IRLA2.js";import{bt as ft,F6 as bt,F3 as xt,F7 as _t,F8 as wt,F9 as yt,Fa as St,Fb as vt,Fc as jt,Fd as Ct,Fe as kt}from"./zeni-epic-state-DQF5EBoo.js";import{m as G,l as se}from"./analyticsHelper-qtejXlXH-d-w7uTbl.js";import{x as $t,b as Ot}from"./ReportTableViewSelector-BZU8yltx-DSV7knFo.js";import{F as Bt}from"./InsightsSection-D9PJ55E6-Br2S_mzj.js";import{H as te}from"./BalancesInsightWithToolTip-D1_dZg5k-DQ_IxlP9.js";import{y as Pt,$ as Lt,v as Nt,M as xe,b as fe}from"./TimeRangeSwitcher-CkgGEwEw-Cje_LjEs.js";import{G as It,P as Rt,Y as _e,X as we,H as ye}from"./RevenueChart-B_RMeweH-BaW-ee-H.js";import{C as Tt}from"./NoDataChart-CuiKDcAB-BwyLAmy8.js";import{n as F}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{T as Te}from"./TimeframeSwitcher-B8fpnYS8-9PZp4BSK.js";import{n as Dt,t as W,j as zt,h as me,D as At}from"./CollapsableReportTable-C_bWRP7w-B5XVOChU.js";import{S as Ft,M as Mt,g as Et,C as J,L as Se,D as ve,T as je}from"./mapSectionWithAcOnlyToTreeNode-CcuLqf_I-D5MLuJek.js";import{d as Vt}from"./NoDataTable-BpH8puX--CRikf6dL.js";import{d as ne,l as ie}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-DcnMdcWy.js";import{d as re}from"./mapLoadingInProgressToTreeNode-COOJxneh-C62pjQWQ.js";import"./pdf-2PUMrtF-.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";import"./filter-cZIFUNvj-KJVxW4YT.js";import"./NavigationDots-Kh5ODrCQ-DBa52_8H.js";import"./chartTypes-BqRsL6eJ-DnPOTdta.js";import"./toCOABalancesWithID-B70YK7cw-Cqus0iZx.js";import"./toChartData-CWgd8E5c-vscPIv0G.js";import"./AccountRow-C-Iunc36-YQldrlVW.js";import"./clock-CJkylEKt-DTBXHHGh.js";import"./graphic-no-data-l-DU4J8fDt-BFYI8sfE.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]="4aa13d7d-097b-4e04-9e7a-c0c9e6bf3cb0",e._sentryDebugIdIdentifier="sentry-dbid-4aa13d7d-097b-4e04-9e7a-c0c9e6bf3cb0")}catch{}})();const Wt=e=>k.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},k.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),k.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),k.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),k.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),k.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Ht=p.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{j as l}from"./pdf-DA3UteIy.js";import{l as V,u as k,h as K,i as Y,j as z,k as $,R as Ze,m as T}from"./core-BAxGDYbL.js";import{ct as P,Il as De,bG as Mt,bs as de,Jy as Na,ff as Ka,Jz as It,JA as za,fi as He,JB as xe,JC as $a,fn as Ja,JD as wt,JE as qa,fr as Qe,JF as Ee,JG as Za,F5 as et,JH as Ha,JI as Qa,IF as Xa,gj as Wa,JJ as en,bm as _e,JK as Lt,I9 as Q,bc as Ut,gx as Yt,jK as Gt,gg as Vt,Ib as X,Ia as N,JL as tn,JM as an,JN as Nt,JO as pe,qD as Ce,qE as ke,q$ as ue,qV as W,qI as ye,JP as nn,JQ as on,JR as rn,JS as Kt,JT as he,JU as sn,Fh as Fe,nj as zt,JV as cn,JW as ln,JX as dn,JY as tt,HB as at,r7 as nt,nr as un,JZ as mn,qF as Tt,nm as ie,ni as $t,J_ as ne,J$ as pn,K0 as ot,HA as rt,pj as Jt,K1 as hn,K2 as fn,K3 as gn,K4 as st,pw as bn,K5 as _n,qH as xt,pi as qt,K6 as oe,K7 as Cn,bt as Zt,rb as Ht,K8 as kn,K9 as yn,Ka as Sn,Kb as ct,r6 as vn,Kc as In,qG as Et,ra as Qt,Kd as re,Ke as wn,Kf as Tn,Kg as Xt,gC as Wt,jH as ea,gH as ta,jF as aa,jE as na,jD as oa,oH as xn,cV as En,bN as An,bO as Dn,jA as Fn,cQ as On,jQ as Pn,Kh as jn,z$ as Bn,Ki as Rn,Kj as Mn,Kk as Ln,b5 as it,cG as Un,ee as Yn,dl as Gn,jL as Vn,g9 as Nn,jI as Kn,jG as zn,cA as $n,cy as Jn}from"./zeni-epic-state-BZiG8B71.js";import{js as O,k4 as J,jO as x,jz as v,O as G,kS as qn,bk as Se,kT as ra,J as M,kU as Zn,_ as ve,kV as sa,aE as lt,aG as j,e as ca,y as ia,jQ as la,kW as Hn,x as Qn,m as Ve,kX as Ie,kY as Xn,jx as Wn,a7 as eo,aF as to,jM as ao,k2 as no,I as oo,kZ as ro,a2 as ge}from"./index-CVe1fo1a.js";import{n as dt}from"./mui-DcvwYC51.js";import{a as C}from"./sentry-CFYfTv_F.js";import{w as da}from"./withTransactionSidePanel-BBzl-sYH.js";import{b as ua,t as me,e as ee,a as ut,v as so}from"./routePaths-B9s6SzIs.js";import Xe from"./NotFoundScreen-BGyIaLbV.js";import{t as ma}from"./analyticsHelper-CLBcUDc5.js";import{C as co}from"./CompanyPassportScreen-v4ozfRkw.js";import{F as io}from"./FeaturePreviewScreen-2RPLc4Gf.js";import{R as lo}from"./ReferralListScreen-CBuGWNNX.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./TransactionDetailScreen-TsmDBl7P.js";import"./decodeURIComponentSafe-Bypqq6TF.js";import"./MobileAppDrawer-qasrJsA4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="8893327a-be8f-4f60-bca3-802afbd5946c",e._sentryDebugIdIdentifier="sentry-dbid-8893327a-be8f-4f60-bca3-802afbd5946c")}catch{}})();const uo=da(function({openTransactionPanel:e,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n}){const{vendorId:o,reportDate:s}=V(),r=O.getSignedInUser(),c=k(I=>I.tenantState.currentTenantId),u=k(I=>P(I)),{tenantEmailDomain:m}=V(),_=K(),b=u?.companyName??"",h={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:c??""},i=C.useMemo(()=>({authParams:h,companyName:b,downloadEndPoint:`${J}/agingDetailedReport`,timezone:De()}),[]),d=C.useMemo(()=>s!=null?Mt(s):de(),[s]),p=Y(),g=z(),f=k(I=>Na(I,d,o)),y=C.useCallback(()=>{o!=null&&f.fetchState!=="In-Progress"&&f.fetchState!=="Completed"&&p(Ka(o,d))},[d]),E=C.useCallback(()=>{g("../../",{relative:"path"})},[]),U=C.useCallback((I,q)=>{p(It({sortKey:I,sortOrder:q}))},[]),se=C.useCallback(I=>{p(It({downloadState:I}))},[]),te=C.useCallback(I=>{if(e)e(I.transactionId,I.transactionType);else if(m!=null){const q=ua({id:I.transactionId,type:I.transactionType},m);g(q);const Pe=x(_.state?.pathnameStackToGoBack,_.pathname);g(q,{state:{pathnameStackToGoBack:Pe}})}},[m,e]),D=C.useCallback(()=>{f.vendor!=null&&v.trackApAgingDetail("AP Aging",d.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),f.vendor.id,f.vendor.name)},[f.vendor,d]);return C.useEffect(()=>{y()},[]),C.useEffect(()=>{f.fetchState==="Completed"&&D()},[D,f.fetchState]),l.jsx(qn,{apAgingDetail:f,downloadParams:i,reportDate:d,analytics:v,onTransactionClick:te,onReload:y,onBackClick:E,onColumnSortConfigChanged:U,updateDownloadStateHandler:se,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n})}),mo=()=>{const e=Y(),a=z(),t=k(y=>za(y)),n=O.getSignedInUser(),o=k(y=>y.tenantState.currentTenantId),s=k(y=>P(y)),r=s?.companyName??"",c={userId:n?.userId??"",sessionId:n?.zeniSessionId??"",tenantId:o??""},u=C.useMemo(()=>({authParams:c,companyName:r,downloadEndPoint:`${J}/agingReport`,timezone:De()}),[]),m=t.apAgingUIState.selectedDate??de(),_=C.useCallback(()=>{t.fetchState!=="In-Progress"&&t.fetchState!=="Completed"&&e(He(m))},[]);C.useEffect(()=>{_()},[]);const b=C.useCallback(()=>{a("../",{relative:"path"})},[]),h=C.useCallback(y=>{e(xe({searchString:y}))},[]),i=C.useCallback((y,E)=>{e(xe({sortKey:E,sortOrder:y}))},[]),d=C.useCallback(y=>{a(`./${y}/${m.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat)}`)},[m]),p=C.useCallback(y=>{e(xe({downloadState:y}))},[]),g=C.useCallback((y,E)=>{},[]),f=C.useCallback((y,E)=>{e(xe({selectedDate:y,agingDateSelectionType:E})),e(He(y))},[]);return l.jsxs(l.Fragment,{children:[t.fetchState==="Completed"?l.jsx(Se,{analytics:v,onLoad:y=>y.trackPageLoaded(M.Event.agingReport,"AP Aging")}):null,l.jsx(ra,{uiState:t.apAgingUIState,report:t,downloadParams:u,analytics:v,onReloadReport:_,onBackClick:b,onSearchTextChange:h,onSortOrderChange:i,onEntityNameClick:d,updateDownloadStateHandler:p,onSelectedDateChanged:f,onNodeCollapseToggled:g})]})},po=da(function({openTransactionPanel:e,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n}){const{customerId:o,reportDate:s}=V(),r=O.getSignedInUser(),c=k(D=>P(D)),{tenantEmailDomain:u}=V(),m=K(),_=c.companyName,b={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:c.tenantId},h=C.useMemo(()=>({authParams:b,companyName:_,downloadEndPoint:`${J}/agingDetailedReport`,timezone:De()}),[]),i=C.useMemo(()=>s!=null?Mt(s):de(),[s]),d=Y(),p=z(),g=k(D=>$a(D,i,o)),f=C.useCallback(()=>{o!=null&&g.fetchState!=="In-Progress"&&g.fetchState!=="Completed"&&d(Ja(o,i))},[i]),y=C.useCallback(()=>{p("../../",{relative:"path"})},[]),E=C.useCallback((D,I)=>{d(wt({sortKey:D,sortOrder:I}))},[]),U=C.useCallback(D=>{d(wt({downloadState:D}))},[]),se=C.useCallback(D=>{if(e)e(D.transactionId,D.transactionType);else if(u!=null){const I=ua({id:D.transactionId,type:D.transactionType},u);p(I);const q=x(m.state?.pathnameStackToGoBack,m.pathname);p(I,{state:{pathnameStackToGoBack:q}})}},[u,e]),te=C.useCallback(()=>{g.customer!=null&&v.trackArAgingDetail("AR Aging",i.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),g.customer.id,g.customer.name)},[g.customer,i]);return C.useEffect(()=>{f()},[]),C.useEffect(()=>{g.fetchState==="Completed"&&te()},[g.fetchState,te]),l.jsx(Zn,{arAgingDetail:g,downloadParams:h,reportDate:i,analytics:v,onTransactionClick:se,onReload:f,onBackClick:y,onColumnSortConfigChanged:E,updateDownloadStateHandler:U,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n})}),ho=()=>{const e=Y(),a=z(),t=k(f=>qa(f)),n=O.getSignedInUser(),o=k(f=>P(f)),s=o.companyName,r={userId:n?.userId??"",sessionId:n?.zeniSessionId??"",tenantId:o.tenantId},c=C.useMemo(()=>({authParams:r,companyName:s,downloadEndPoint:`${J}/agingReport`,timezone:De()}),[]),u=t.arAgingUIState.selectedDate??de(),m=C.useCallback(()=>{t.fetchState!=="In-Progress"&&t.fetchState!=="Completed"&&e(Qe(u))},[]);C.useEffect(()=>{m()},[]);const _=C.useCallback(()=>{a("../",{relative:"path"})},[]),b=C.useCallback(f=>{e(Ee({searchString:f}))},[]),h=C.useCallback((f,y)=>{e(Ee({sortKey:y,sortOrder:f}))},[]),i=C.useCallback(f=>{a(`./${f}/${u.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat)}`)},[u]),d=C.useCallback(f=>{e(Ee({downloadState:f}))},[]),p=C.useCallback((f,y)=>{e(Ee({selectedDate:f,agingDateSelectionType:y})),e(Qe(f))},[]),g=C.useCallback((f,y)=>{e(Za({nodeId:f,isCollapsed:y}))},[]);return l.jsxs(l.Fragment,{children:[t.fetchState==="Completed"?l.jsx(Se,{analytics:v,onLoad:f=>f.trackPageLoaded(M.Event.agingReport,"AR Aging")}):null,l.jsx(ra,{uiState:t.arAgingUIState,report:t,downloadParams:c,analytics:v,onReloadReport:m,onBackClick:_,onSearchTextChange:b,onSortOrderChange:h,onEntityNameClick:i,updateDownloadStateHandler:d,onSelectedDateChanged:p,onNodeCollapseToggled:g})]})},pa=(e,a)=>({key:a,title:e.accountName,amount:e.balance?.available,logoUri:e.logo?.toString(),source:e});function ha(e,a){const t=Xa(a.firstMonthOfFY);return{onItemClick:(n,o)=>{const s=o.accountName===""?o.accountDescription:o.accountName,r=me(a.tenantEmailDomain,o.accountId,o.accountType,s,"quarter",t,!1),c=x(a.location.state?.pathnameStackToGoBack,a.location.pathname);a.navigate(r,{state:{pathnameStackToGoBack:c,referrer:a.referrerType}})},onSetAccountsStatementDate:(n,o)=>{e(Wa(n,o))},onPromoCardBtnClick:n=>{if(a.isZeniAccountsAdmin){let o=`../../checking/${n}`;n?v.trackZeniAccountsCashBalancePromoClicked("Move Money"):(v.trackZeniAccountsCashBalancePromoClicked("Sign Up for Free"),o="../../checking/promo");const s=x(a.location.state?.pathnameStackToGoBack,a.location.pathname);a.navigate(o,{state:{pathnameStackToGoBack:s}})}else v.trackZeniAccountsCashBalancePromoClicked("Learn More"),window.open("https://www.zeni.ai/product/business-checking-accounts","_blank")}}}const fo=$(function(e){const a=Ha(e).accountsInOrder.map((n,o)=>pa(n,o)),t=Qa(e);return{sectionTitle:G.getLocalizedStrings().balanceCard.cashBalanceSectionTitle,transactionArray:a,zeniAccountsPromoCardReport:t,analytics:v}},ha)(sa),go=$(function(e){const a=en(e).accountsInOrder.map((o,s)=>pa(o,s)),t=O.getSignedInUser(),n=_e(t);return{sectionTitle:G.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,transactionArray:a,isZeniUser:n,analytics:v}},ha)(sa);function bo(){const e=z(),a=K(),{tenantEmailDomain:t}=V(),n=ve(),o=k(r=>P(r).company?.companyInfo.firstMonthOfFY??1),s=et(n?.loggedInUserRoleMap);return l.jsx(fo,{tenantEmailDomain:t,location:a,referrerType:"Cash Balance",navigate:e,isZeniAccountsAdmin:s,firstMonthOfFY:o})}function _o(){const e=z(),a=K(),{tenantEmailDomain:t}=V(),n=ve(),o=et(n?.loggedInUserRoleMap),s=k(r=>P(r).company?.companyInfo.firstMonthOfFY??1);return l.jsx(go,{tenantEmailDomain:t,location:a,referrerType:"Card Balance",navigate:e,isZeniAccountsAdmin:o,firstMonthOfFY:s})}const At={contentContainerLeftRightMargin:new Qn(Ve[3],Ve[3],Ve[8])},Co=dt.div`
1
+ import{j as l}from"./pdf-2PUMrtF-.js";import{l as V,u as k,h as K,i as Y,j as z,k as $,R as Ze,m as T}from"./core-Dbakk1VU.js";import{ct as P,Il as De,bG as Mt,bs as de,Jy as Na,ff as Ka,Jz as It,JA as za,fi as He,JB as xe,JC as $a,fn as Ja,JD as wt,JE as qa,fr as Qe,JF as Ee,JG as Za,F5 as et,JH as Ha,JI as Qa,IF as Xa,gj as Wa,JJ as en,bm as _e,JK as Lt,I9 as Q,bc as Ut,gx as Yt,jK as Gt,gg as Vt,Ib as X,Ia as N,JL as tn,JM as an,JN as Nt,JO as pe,qD as Ce,qE as ke,q$ as ue,qV as W,qI as ye,JP as nn,JQ as on,JR as rn,JS as Kt,JT as he,JU as sn,Fh as Fe,nj as zt,JV as cn,JW as ln,JX as dn,JY as tt,HB as at,r7 as nt,nr as un,JZ as mn,qF as Tt,nm as ie,ni as $t,J_ as ne,J$ as pn,K0 as ot,HA as rt,pj as Jt,K1 as hn,K2 as fn,K3 as gn,K4 as st,pw as bn,K5 as _n,qH as xt,pi as qt,K6 as oe,K7 as Cn,bt as Zt,rb as Ht,K8 as kn,K9 as yn,Ka as Sn,Kb as ct,r6 as vn,Kc as In,qG as Et,ra as Qt,Kd as re,Ke as wn,Kf as Tn,Kg as Xt,gC as Wt,jH as ea,gH as ta,jF as aa,jE as na,jD as oa,oH as xn,cV as En,bN as An,bO as Dn,jA as Fn,cQ as On,jQ as Pn,Kh as jn,z$ as Bn,Ki as Rn,Kj as Mn,Kk as Ln,b5 as it,cG as Un,ee as Yn,dl as Gn,jL as Vn,g9 as Nn,jI as Kn,jG as zn,cA as $n,cy as Jn}from"./zeni-epic-state-DQF5EBoo.js";import{js as O,k4 as J,jO as x,jz as v,O as G,kS as qn,bk as Se,kT as ra,J as M,kU as Zn,_ as ve,kV as sa,aE as lt,aG as j,e as ca,y as ia,jQ as la,kW as Hn,x as Qn,m as Ve,kX as Ie,kY as Xn,jx as Wn,a7 as eo,aF as to,jM as ao,k2 as no,I as oo,kZ as ro,a2 as ge}from"./index-iSEGT9xi.js";import{n as dt}from"./mui-Bg5IRLA2.js";import{a as C}from"./sentry-DwNPvXBL.js";import{w as da}from"./withTransactionSidePanel-B9lAl4_T.js";import{b as ua,t as me,e as ee,a as ut,v as so}from"./routePaths-BxZ6qL2m.js";import Xe from"./NotFoundScreen-DGF4ewvh.js";import{t as ma}from"./analyticsHelper-CtwnuYac.js";import{C as co}from"./CompanyPassportScreen-7B6uf7gM.js";import{F as io}from"./FeaturePreviewScreen-DKVtqlmL.js";import{R as lo}from"./ReferralListScreen-CRs7Pk4b.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";import"./TransactionDetailScreen-8GuKlcKa.js";import"./decodeURIComponentSafe-EYVZFaGG.js";import"./MobileAppDrawer-D9B1riEd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="8893327a-be8f-4f60-bca3-802afbd5946c",e._sentryDebugIdIdentifier="sentry-dbid-8893327a-be8f-4f60-bca3-802afbd5946c")}catch{}})();const uo=da(function({openTransactionPanel:e,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n}){const{vendorId:o,reportDate:s}=V(),r=O.getSignedInUser(),c=k(I=>I.tenantState.currentTenantId),u=k(I=>P(I)),{tenantEmailDomain:m}=V(),_=K(),b=u?.companyName??"",h={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:c??""},i=C.useMemo(()=>({authParams:h,companyName:b,downloadEndPoint:`${J}/agingDetailedReport`,timezone:De()}),[]),d=C.useMemo(()=>s!=null?Mt(s):de(),[s]),p=Y(),g=z(),f=k(I=>Na(I,d,o)),y=C.useCallback(()=>{o!=null&&f.fetchState!=="In-Progress"&&f.fetchState!=="Completed"&&p(Ka(o,d))},[d]),E=C.useCallback(()=>{g("../../",{relative:"path"})},[]),U=C.useCallback((I,q)=>{p(It({sortKey:I,sortOrder:q}))},[]),se=C.useCallback(I=>{p(It({downloadState:I}))},[]),te=C.useCallback(I=>{if(e)e(I.transactionId,I.transactionType);else if(m!=null){const q=ua({id:I.transactionId,type:I.transactionType},m);g(q);const Pe=x(_.state?.pathnameStackToGoBack,_.pathname);g(q,{state:{pathnameStackToGoBack:Pe}})}},[m,e]),D=C.useCallback(()=>{f.vendor!=null&&v.trackApAgingDetail("AP Aging",d.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),f.vendor.id,f.vendor.name)},[f.vendor,d]);return C.useEffect(()=>{y()},[]),C.useEffect(()=>{f.fetchState==="Completed"&&D()},[D,f.fetchState]),l.jsx(qn,{apAgingDetail:f,downloadParams:i,reportDate:d,analytics:v,onTransactionClick:te,onReload:y,onBackClick:E,onColumnSortConfigChanged:U,updateDownloadStateHandler:se,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n})}),mo=()=>{const e=Y(),a=z(),t=k(y=>za(y)),n=O.getSignedInUser(),o=k(y=>y.tenantState.currentTenantId),s=k(y=>P(y)),r=s?.companyName??"",c={userId:n?.userId??"",sessionId:n?.zeniSessionId??"",tenantId:o??""},u=C.useMemo(()=>({authParams:c,companyName:r,downloadEndPoint:`${J}/agingReport`,timezone:De()}),[]),m=t.apAgingUIState.selectedDate??de(),_=C.useCallback(()=>{t.fetchState!=="In-Progress"&&t.fetchState!=="Completed"&&e(He(m))},[]);C.useEffect(()=>{_()},[]);const b=C.useCallback(()=>{a("../",{relative:"path"})},[]),h=C.useCallback(y=>{e(xe({searchString:y}))},[]),i=C.useCallback((y,E)=>{e(xe({sortKey:E,sortOrder:y}))},[]),d=C.useCallback(y=>{a(`./${y}/${m.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat)}`)},[m]),p=C.useCallback(y=>{e(xe({downloadState:y}))},[]),g=C.useCallback((y,E)=>{},[]),f=C.useCallback((y,E)=>{e(xe({selectedDate:y,agingDateSelectionType:E})),e(He(y))},[]);return l.jsxs(l.Fragment,{children:[t.fetchState==="Completed"?l.jsx(Se,{analytics:v,onLoad:y=>y.trackPageLoaded(M.Event.agingReport,"AP Aging")}):null,l.jsx(ra,{uiState:t.apAgingUIState,report:t,downloadParams:u,analytics:v,onReloadReport:_,onBackClick:b,onSearchTextChange:h,onSortOrderChange:i,onEntityNameClick:d,updateDownloadStateHandler:p,onSelectedDateChanged:f,onNodeCollapseToggled:g})]})},po=da(function({openTransactionPanel:e,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n}){const{customerId:o,reportDate:s}=V(),r=O.getSignedInUser(),c=k(D=>P(D)),{tenantEmailDomain:u}=V(),m=K(),_=c.companyName,b={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:c.tenantId},h=C.useMemo(()=>({authParams:b,companyName:_,downloadEndPoint:`${J}/agingDetailedReport`,timezone:De()}),[]),i=C.useMemo(()=>s!=null?Mt(s):de(),[s]),d=Y(),p=z(),g=k(D=>$a(D,i,o)),f=C.useCallback(()=>{o!=null&&g.fetchState!=="In-Progress"&&g.fetchState!=="Completed"&&d(Ja(o,i))},[i]),y=C.useCallback(()=>{p("../../",{relative:"path"})},[]),E=C.useCallback((D,I)=>{d(wt({sortKey:D,sortOrder:I}))},[]),U=C.useCallback(D=>{d(wt({downloadState:D}))},[]),se=C.useCallback(D=>{if(e)e(D.transactionId,D.transactionType);else if(u!=null){const I=ua({id:D.transactionId,type:D.transactionType},u);p(I);const q=x(m.state?.pathnameStackToGoBack,m.pathname);p(I,{state:{pathnameStackToGoBack:q}})}},[u,e]),te=C.useCallback(()=>{g.customer!=null&&v.trackArAgingDetail("AR Aging",i.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),g.customer.id,g.customer.name)},[g.customer,i]);return C.useEffect(()=>{f()},[]),C.useEffect(()=>{g.fetchState==="Completed"&&te()},[g.fetchState,te]),l.jsx(Zn,{arAgingDetail:g,downloadParams:h,reportDate:i,analytics:v,onTransactionClick:se,onReload:f,onBackClick:y,onColumnSortConfigChanged:E,updateDownloadStateHandler:U,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n})}),ho=()=>{const e=Y(),a=z(),t=k(f=>qa(f)),n=O.getSignedInUser(),o=k(f=>P(f)),s=o.companyName,r={userId:n?.userId??"",sessionId:n?.zeniSessionId??"",tenantId:o.tenantId},c=C.useMemo(()=>({authParams:r,companyName:s,downloadEndPoint:`${J}/agingReport`,timezone:De()}),[]),u=t.arAgingUIState.selectedDate??de(),m=C.useCallback(()=>{t.fetchState!=="In-Progress"&&t.fetchState!=="Completed"&&e(Qe(u))},[]);C.useEffect(()=>{m()},[]);const _=C.useCallback(()=>{a("../",{relative:"path"})},[]),b=C.useCallback(f=>{e(Ee({searchString:f}))},[]),h=C.useCallback((f,y)=>{e(Ee({sortKey:y,sortOrder:f}))},[]),i=C.useCallback(f=>{a(`./${f}/${u.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat)}`)},[u]),d=C.useCallback(f=>{e(Ee({downloadState:f}))},[]),p=C.useCallback((f,y)=>{e(Ee({selectedDate:f,agingDateSelectionType:y})),e(Qe(f))},[]),g=C.useCallback((f,y)=>{e(Za({nodeId:f,isCollapsed:y}))},[]);return l.jsxs(l.Fragment,{children:[t.fetchState==="Completed"?l.jsx(Se,{analytics:v,onLoad:f=>f.trackPageLoaded(M.Event.agingReport,"AR Aging")}):null,l.jsx(ra,{uiState:t.arAgingUIState,report:t,downloadParams:c,analytics:v,onReloadReport:m,onBackClick:_,onSearchTextChange:b,onSortOrderChange:h,onEntityNameClick:i,updateDownloadStateHandler:d,onSelectedDateChanged:p,onNodeCollapseToggled:g})]})},pa=(e,a)=>({key:a,title:e.accountName,amount:e.balance?.available,logoUri:e.logo?.toString(),source:e});function ha(e,a){const t=Xa(a.firstMonthOfFY);return{onItemClick:(n,o)=>{const s=o.accountName===""?o.accountDescription:o.accountName,r=me(a.tenantEmailDomain,o.accountId,o.accountType,s,"quarter",t,!1),c=x(a.location.state?.pathnameStackToGoBack,a.location.pathname);a.navigate(r,{state:{pathnameStackToGoBack:c,referrer:a.referrerType}})},onSetAccountsStatementDate:(n,o)=>{e(Wa(n,o))},onPromoCardBtnClick:n=>{if(a.isZeniAccountsAdmin){let o=`../../checking/${n}`;n?v.trackZeniAccountsCashBalancePromoClicked("Move Money"):(v.trackZeniAccountsCashBalancePromoClicked("Sign Up for Free"),o="../../checking/promo");const s=x(a.location.state?.pathnameStackToGoBack,a.location.pathname);a.navigate(o,{state:{pathnameStackToGoBack:s}})}else v.trackZeniAccountsCashBalancePromoClicked("Learn More"),window.open("https://www.zeni.ai/product/business-checking-accounts","_blank")}}}const fo=$(function(e){const a=Ha(e).accountsInOrder.map((n,o)=>pa(n,o)),t=Qa(e);return{sectionTitle:G.getLocalizedStrings().balanceCard.cashBalanceSectionTitle,transactionArray:a,zeniAccountsPromoCardReport:t,analytics:v}},ha)(sa),go=$(function(e){const a=en(e).accountsInOrder.map((o,s)=>pa(o,s)),t=O.getSignedInUser(),n=_e(t);return{sectionTitle:G.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,transactionArray:a,isZeniUser:n,analytics:v}},ha)(sa);function bo(){const e=z(),a=K(),{tenantEmailDomain:t}=V(),n=ve(),o=k(r=>P(r).company?.companyInfo.firstMonthOfFY??1),s=et(n?.loggedInUserRoleMap);return l.jsx(fo,{tenantEmailDomain:t,location:a,referrerType:"Cash Balance",navigate:e,isZeniAccountsAdmin:s,firstMonthOfFY:o})}function _o(){const e=z(),a=K(),{tenantEmailDomain:t}=V(),n=ve(),o=et(n?.loggedInUserRoleMap),s=k(r=>P(r).company?.companyInfo.firstMonthOfFY??1);return l.jsx(go,{tenantEmailDomain:t,location:a,referrerType:"Card Balance",navigate:e,isZeniAccountsAdmin:o,firstMonthOfFY:s})}const At={contentContainerLeftRightMargin:new Qn(Ve[3],Ve[3],Ve[8])},Co=dt.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{z as b,V as o,ap as p,o as h}from"./index-CVe1fo1a.js";import{a as d}from"./sentry-CFYfTv_F.js";import{d as u,n as m}from"./mui-DcvwYC51.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]="01c4f5ef-cabb-4dad-b2af-0ee7c4d65a0c",e._sentryDebugIdIdentifier="sentry-dbid-01c4f5ef-cabb-4dad-b2af-0ee7c4d65a0c")}catch{}})();const D=d.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=u(),s=e||n,r=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,l]=b(r,s),[i,c]=d.useState(null);a!=null&&i==null&&!l&&c(a);const f=e&&t.mode==="light"?.7:.2;return(e||n)&&i!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:i,play:!0,loop:!n||5,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
1
+ import{z as b,V as o,ap as p,o as h}from"./index-iSEGT9xi.js";import{a as d}from"./sentry-DwNPvXBL.js";import{d as u,n as m}from"./mui-Bg5IRLA2.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]="01c4f5ef-cabb-4dad-b2af-0ee7c4d65a0c",e._sentryDebugIdIdentifier="sentry-dbid-01c4f5ef-cabb-4dad-b2af-0ee7c4d65a0c")}catch{}})();const D=d.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=u(),s=e||n,r=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,l]=b(r,s),[i,c]=d.useState(null);a!=null&&i==null&&!l&&c(a);const f=e&&t.mode==="light"?.7:.2;return(e||n)&&i!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:i,play:!0,loop:!n||5,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1 +1 @@
1
- import{j as v}from"./pdf-DA3UteIy.js";import{a as u}from"./sentry-CFYfTv_F.js";import{i as y,u as b,k as w,h as A,N as j}from"./core-BAxGDYbL.js";import{H7 as k,ct as _,d0 as N,H8 as U,jC as R,H9 as L}from"./zeni-epic-state-BZiG8B71.js";import{jr as O,js as f,jt as T,ju as I,O as z,jv as $}from"./index-CVe1fo1a.js";import"./mui-DcvwYC51.js";import{t as H}from"./getLocaleForTenant-DIET8R83.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="abeba583-fa96-4e9d-8d04-242caf81f8eb",t._sentryDebugIdIdentifier="sentry-dbid-abeba583-fa96-4e9d-8d04-242caf81f8eb")}catch{}})();const P=w(function(t){return{fetchState:t.tenantState.fetchState,activeTenantFetchState:t.tenantState.activeTenantFetchState.fetchState,currentTenant:_(t),tenantsInOrder:L(t).tenantsInOrder}})(function({fetchState:t,activeTenantFetchState:s,currentTenant:o,tenantsInOrder:h}){const r=A(),p=new URLSearchParams(r.search);if(o==null||t!=="Completed"&&s!=="Completed")return null;{let m="";const n=h.map(l=>l.tenantEmailDomain),i=r.state?.origin,a=r.state?.queryParams;let c=`../${o.tenantEmailDomain}`,d=null,e=!1,g=null,S=null;const C=E(r.pathname);if(C!=null)c=`../${o.tenantEmailDomain}/${C}`,m="comingFromV2UrlPath",C==="ai-cfo/explore"&&(d=p.get("question")?.replace(/^["']|["']$/g,"")??null,e=p.get("should_submit")==="true");else if(i!=null)if(n.reduce((l,F)=>l||i.split("/").find(D=>D===F)!=null,!1))c=i,i.includes("ai-cfo")&&a!=null&&(g=a.aiCfoRef??null,S=a.aiCfoEmailRefId??null);else{const l=E(i);l!=null?(c=`../${o.tenantEmailDomain}/${l}`,m="comingFromV2UrlPath",l==="ai-cfo/explore"&&a!=null&&(a.aiCfoQuestion!=null&&(d=a.aiCfoQuestion),a.aiCfoShouldSubmit==="true"&&(e=!0))):console.warn("Don't have access to previous path tenant!")}const x=$(c,p);return v.jsx(j,{to:x,replace:!0,state:{...r.state,origin:"",message:m,aiCfoInitialQuestion:d,aiCfoShouldSubmit:e,aiCfoRef:g,aiCfoEmailRefId:S}})}});function re(){const t=y(),{setLoading:s,clearAllLoading:o}=O(),h=u.useRef(!1),r=u.useRef(!1),p=u.useRef(null),m=b(e=>k(e)),n=b(e=>e.tenantState.fetchState),i=b(e=>e.tenantState.error),a=b(e=>e.tenantState.activeTenantFetchState.fetchState),c=b(e=>_(e)),d=f.getSignedInUser();return u.useLayoutEffect(()=>{const e=f.getActiveTenantForUser()?.tenantId??null;p.current!==e&&(p.current=e,h.current=!1,r.current=!1,s(T.TENANT_FETCHING)),!h.current||a!=="Completed"&&a!=="Error"||(h.current=!1),!r.current||n!=="Completed"&&n!=="Error"||(r.current=!1)},[a,n]),u.useEffect(()=>{const e=f.getActiveTenantForUser()?.tenantId;h.current===!1&&d!=null&&e!=null&&I.shouldFetchActiveTenant(e)&&(h.current=!0,I.markActiveTenantFetchStarted(e),n==="Completed"||a!=="Not-Started"&&a!=="Error"||(s(T.TENANT_FETCHING),t(N(d.userId,e))))},[n,a,d,t]),u.useEffect(()=>{const e=f.getSignedInUser(),g=f.getActiveTenantForUser()?.tenantId,S=g==null||a==="Completed"||a==="Error";r.current===!1&&e!=null&&S&&I.shouldFetchAllTenants()&&(r.current=!0,I.markAllTenantsFetchStarted(),(n==="Not-Started"||n==="Error"&&!U(i))&&t(R(e.userId)))},[n,a,i,d,t]),u.useEffect(()=>{f.isSignedIn()&&n==="Completed"&&m.tenantsCoreDetailsInOrder.length>0&&(f.saveSignedInUserTenants(m.tenantsCoreDetailsInOrder),o())},[m.tenantsCoreDetailsInOrder,n]),u.useEffect(()=>{!f.isSignedIn()||n!=="Completed"&&a!=="Completed"||c==null||(z.updateAppLocaleID(H(c)),o())},[n,a,c]),v.jsx(P,{})}const Q=["dashboard/cash-balance","dashboard/card-balance","dashboard/operating-expenses","dashboard/revenue","dashboard/burn-rate","dashboard/cash-position","dashboard/top-expenses","dashboard/cash-in-cash-out","dashboard","reports","forecast","uncategorized-expense","uncategorized-income","missing-receipts","bills","cards/activate","cards","reimbursements","wise","checking","aicfo"],q={"dashboard/cash-balance":"dashboard/cash_balance","dashboard/card-balance":"dashboard/card_balance","dashboard/operating-expenses":"dashboard/operating_expenses","dashboard/revenue":"dashboard/revenue","dashboard/burn-rate":"dashboard/net_burn_or_income","dashboard/cash-position":"dashboard/cash_position","dashboard/top-expenses":"dashboard/top_expenses","dashboard/cash-in-cash-out":"dashboard/cash_in_cash_out",dashboard:"dashboard",reports:"reports",forecast:"forecast","uncategorized-expense":"transactions/uncategorized-expense","uncategorized-income":"transactions/uncategorized-income","missing-receipts":"transactions/missing-receipts",bills:"bills",reimbursements:"reimbursements","cards/activate":"cards/activate",cards:"cards",wise:"bills/wise/callback/link-account",checking:"checking",aicfo:"ai-cfo/explore"};function E(t){for(const s of Q)if(t.toLocaleLowerCase().includes(s))return q[s]}export{re as default};
1
+ import{j as v}from"./pdf-2PUMrtF-.js";import{a as u}from"./sentry-DwNPvXBL.js";import{i as y,u as b,k as w,h as A,N as j}from"./core-Dbakk1VU.js";import{H7 as k,ct as _,d0 as N,H8 as U,jC as R,H9 as L}from"./zeni-epic-state-DQF5EBoo.js";import{jr as O,js as f,jt as T,ju as I,O as z,jv as $}from"./index-iSEGT9xi.js";import"./mui-Bg5IRLA2.js";import{t as H}from"./getLocaleForTenant-BAO89gke.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="abeba583-fa96-4e9d-8d04-242caf81f8eb",t._sentryDebugIdIdentifier="sentry-dbid-abeba583-fa96-4e9d-8d04-242caf81f8eb")}catch{}})();const P=w(function(t){return{fetchState:t.tenantState.fetchState,activeTenantFetchState:t.tenantState.activeTenantFetchState.fetchState,currentTenant:_(t),tenantsInOrder:L(t).tenantsInOrder}})(function({fetchState:t,activeTenantFetchState:s,currentTenant:o,tenantsInOrder:h}){const r=A(),p=new URLSearchParams(r.search);if(o==null||t!=="Completed"&&s!=="Completed")return null;{let m="";const n=h.map(l=>l.tenantEmailDomain),i=r.state?.origin,a=r.state?.queryParams;let c=`../${o.tenantEmailDomain}`,d=null,e=!1,g=null,S=null;const C=E(r.pathname);if(C!=null)c=`../${o.tenantEmailDomain}/${C}`,m="comingFromV2UrlPath",C==="ai-cfo/explore"&&(d=p.get("question")?.replace(/^["']|["']$/g,"")??null,e=p.get("should_submit")==="true");else if(i!=null)if(n.reduce((l,F)=>l||i.split("/").find(D=>D===F)!=null,!1))c=i,i.includes("ai-cfo")&&a!=null&&(g=a.aiCfoRef??null,S=a.aiCfoEmailRefId??null);else{const l=E(i);l!=null?(c=`../${o.tenantEmailDomain}/${l}`,m="comingFromV2UrlPath",l==="ai-cfo/explore"&&a!=null&&(a.aiCfoQuestion!=null&&(d=a.aiCfoQuestion),a.aiCfoShouldSubmit==="true"&&(e=!0))):console.warn("Don't have access to previous path tenant!")}const x=$(c,p);return v.jsx(j,{to:x,replace:!0,state:{...r.state,origin:"",message:m,aiCfoInitialQuestion:d,aiCfoShouldSubmit:e,aiCfoRef:g,aiCfoEmailRefId:S}})}});function re(){const t=y(),{setLoading:s,clearAllLoading:o}=O(),h=u.useRef(!1),r=u.useRef(!1),p=u.useRef(null),m=b(e=>k(e)),n=b(e=>e.tenantState.fetchState),i=b(e=>e.tenantState.error),a=b(e=>e.tenantState.activeTenantFetchState.fetchState),c=b(e=>_(e)),d=f.getSignedInUser();return u.useLayoutEffect(()=>{const e=f.getActiveTenantForUser()?.tenantId??null;p.current!==e&&(p.current=e,h.current=!1,r.current=!1,s(T.TENANT_FETCHING)),!h.current||a!=="Completed"&&a!=="Error"||(h.current=!1),!r.current||n!=="Completed"&&n!=="Error"||(r.current=!1)},[a,n]),u.useEffect(()=>{const e=f.getActiveTenantForUser()?.tenantId;h.current===!1&&d!=null&&e!=null&&I.shouldFetchActiveTenant(e)&&(h.current=!0,I.markActiveTenantFetchStarted(e),n==="Completed"||a!=="Not-Started"&&a!=="Error"||(s(T.TENANT_FETCHING),t(N(d.userId,e))))},[n,a,d,t]),u.useEffect(()=>{const e=f.getSignedInUser(),g=f.getActiveTenantForUser()?.tenantId,S=g==null||a==="Completed"||a==="Error";r.current===!1&&e!=null&&S&&I.shouldFetchAllTenants()&&(r.current=!0,I.markAllTenantsFetchStarted(),(n==="Not-Started"||n==="Error"&&!U(i))&&t(R(e.userId)))},[n,a,i,d,t]),u.useEffect(()=>{f.isSignedIn()&&n==="Completed"&&m.tenantsCoreDetailsInOrder.length>0&&(f.saveSignedInUserTenants(m.tenantsCoreDetailsInOrder),o())},[m.tenantsCoreDetailsInOrder,n]),u.useEffect(()=>{!f.isSignedIn()||n!=="Completed"&&a!=="Completed"||c==null||(z.updateAppLocaleID(H(c)),o())},[n,a,c]),v.jsx(P,{})}const Q=["dashboard/cash-balance","dashboard/card-balance","dashboard/operating-expenses","dashboard/revenue","dashboard/burn-rate","dashboard/cash-position","dashboard/top-expenses","dashboard/cash-in-cash-out","dashboard","reports","forecast","uncategorized-expense","uncategorized-income","missing-receipts","bills","cards/activate","cards","reimbursements","wise","checking","aicfo"],q={"dashboard/cash-balance":"dashboard/cash_balance","dashboard/card-balance":"dashboard/card_balance","dashboard/operating-expenses":"dashboard/operating_expenses","dashboard/revenue":"dashboard/revenue","dashboard/burn-rate":"dashboard/net_burn_or_income","dashboard/cash-position":"dashboard/cash_position","dashboard/top-expenses":"dashboard/top_expenses","dashboard/cash-in-cash-out":"dashboard/cash_in_cash_out",dashboard:"dashboard",reports:"reports",forecast:"forecast","uncategorized-expense":"transactions/uncategorized-expense","uncategorized-income":"transactions/uncategorized-income","missing-receipts":"transactions/missing-receipts",bills:"bills",reimbursements:"reimbursements","cards/activate":"cards/activate",cards:"cards",wise:"bills/wise/callback/link-account",checking:"checking",aicfo:"ai-cfo/explore"};function E(t){for(const s of Q)if(t.toLocaleLowerCase().includes(s))return q[s]}export{re as default};