@zeniai/web-cockpit-ui 1.15.12-qa → 1.15.13-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/dist/assets/{ACHDetailsPage-BY65AQjO-q0-VEdaA.js → ACHDetailsPage-BlujuoRH-D3z2m9vf.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-B0a7EX_p-CUKcx2_x.js → AIPerformancePage-DfgPUakC-C7_4KJtd.js} +12 -12
  3. package/dist/assets/AccountInfoPage-BYwGsz6J-ilS3p_4u.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BsSGhNw9-BWyqBMAX.js → AccountInfoPageContent-CTvsml8u-HiMO1t4f.js} +7 -7
  5. package/dist/assets/{AccountLockedInfoModal-uPOYP0OH-bsLRvnWB.js → AccountLockedInfoModal-DeYVMh3B-Dec8Ripp.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BgPmbG_g-Bn_SVxy6.js → AccountReconDetailsDrawerPage-D6WT5Co_-Boi6JvlJ.js} +1 -1
  7. package/dist/assets/{AccountRow-B9ZIzZy7-nqAM-ApD.js → AccountRow-FmhkZVL4-BiCaU5gp.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BLcpWU3T-BEekLLpR.js → AccountsPromoCardStack-B5Mri6qW-C55uOtTG.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-B1oucxyM-BKATlAhG.js → AddAddressForCardDrawer-Bs4dQyRL-ChMzAqlj.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-B1GVnxRf-F5GFpdse.js → AddToWalletPage-fBplELoj-BbSWfj-_.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-Bpp4te8m-CjLFji3g.js → AgingReportsPage-CgeLN6Su-mjdbj-V7.js} +1 -1
  12. package/dist/assets/{AllUserItems-CzugF5fn-BYhJDkGl.js → AllUserItems-vOFCgjs7-BawEw1bw.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-CyUQeZY0-AUrs3Xvn.js → ApAgingDetailPage-CF5WKuOc-DwzZ4J6w.js} +4 -4
  14. package/dist/assets/{AppBasePage-Di7hObbX-DqNRoXJs.js → AppBasePage-DrIjva6e-BEoSV9em.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-KdrUuifo-BFEQULkA.js → AppDrawerContent-Co1DpiWD-BseTWq0X.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BRIgTh7x-DokiC4yA.js → ApprovalRulesSettingsPage-tYbxBThK-Cp_BZtLr.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DeE5uhiT-D8be3NMH.js → ArAgingChart-B2zTJJgb-BW-4V4KX.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-CFiIUBWl-O24WqKiv.js → ArAgingDetailPage-0nCr6crv-CVAwjIoB.js} +5 -5
  19. package/dist/assets/{AttachmentView-CfacSLcU-C7ky07Zs.js → AttachmentView-vlVaH4YF-DjHAa-jm.js} +1 -1
  20. package/dist/assets/{BankAccountSection-Bm8vdxFd-iMMvW9M5.js → BankAccountSection-CDKiTWgn-CtT_fqlj.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-M3w6kP33-Csqm1mAu.js → BankAccountWarningSection-tSnRJm3S-Xh7INFxm.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-Dfrp0CKz-CJ243lny.js → BankConnectionsSettingsPage-O_L8CHJf-Lbkg03Kb.js} +1 -1
  23. package/dist/assets/{BillDetailPage-BA1D1bO3-DApjnN-q.js → BillDetailPage-DR3JefXf-CT_vRh92.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DR8YzZt1-BRUIZf-H.js → BillPayApprovalRuleDetailPage-2w8HO-NU-BrDPRKpx.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CfZ4aSPM-JoH4IuAQ.js → BillPayApprovalRulesPage-yFoEpHK8-mn4XE1DW.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CP9Nvd2Q-2b0Qc16o.js → BillPayPromoPage-DZkA_0AV-wh6M-Qtv.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-BwEONKu_-CI1Rqte-.js → BillPaySetUpPage-B2j-es9G-Cgscrq-x.js} +7 -7
  28. package/dist/assets/{BillingSettingsPage-DicGyWCt-B49766hY.js → BillingSettingsPage-ayQNGWSW-BH36NbEd.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-fS3-YEdi-CTAYP-O5.js → BillsBulkReviewDrawerPage-B2LDJ9-N-Bz6yNrUs.js} +1 -1
  30. package/dist/assets/{BoxItem-Cr0Y9YBV-Bmt5X20Y.js → BoxItem-B0bHU_KA-CwJAi_XO.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CvL9cdJm-DEZpdeeF.js → BusinessVerificationPage-DZ27apcr-60B1XBNo.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-CXBKzGK5-BwltAmEE.js → CardNumberSubText-CpqumrS--C5H93W0D.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-DOdPOiws-DwTNfkbM.js → CashbackDetailPage-C3oNmfln-Cjfl1QQU.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DfhAyysD-0xuiWfZI.js → ChargeCardDetailPage-C9XhHqSo-C6G4QIZB.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-Bnnu4TVk-CKyOvO2V.js → ChargeCardListPage-B_PxtkQX-D4XUj6S4.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-D7zGM8uo-Drwo-scW.js → ChargeCardListTable-kp0WwIZo-C7S3-nFL.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-U00GbINt-C6amBa3G.js → ChargeCardPaymentHistoryPage-D1l3Qgr_-CcXK8zox.js} +8 -8
  38. package/dist/assets/{ChargeCardPromoPage-BpBiwjfr-BtfnCKg8.js → ChargeCardPromoPage-DcmgTF8u-uElL894v.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-Duj6901M-DdgFwgus.js → ChargeCardSetupPage-BX9fPIf_-CJBf2z8R.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-IkU86L31-CmZ2Pmyo.js → ChargeCardStatementsPage-a5u9wGDg-CReuXYls.js} +4 -4
  41. package/dist/assets/{CheckDepositDrawerPage-fHeTkRJF-DwmgEJgb.js → CheckDepositDrawerPage-_DvlXSse-DhB3lKOy.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-DUo-9gOh-Cw4xLjxV.js → CollapsableReportTable-DgteU0nB-DwU6xqcB.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-DzDZe6MU-9yW_ivyy.js → CompanyOfficerDetailsSection-DG1ZQ-UL-BWPYN3Ux.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-BwiwJ82k-C2q6dbpi.js → CompanyPassportCard-JfMVwFHV-DIdzwTm1.js} +3 -3
  45. package/dist/assets/{CompanyPassportPage-Bz3rzG9k-Ao6blc7S.js → CompanyPassportPage-2j8z-oge-D6U4VneL.js} +1 -1
  46. package/dist/assets/{CompleteProfile-CRXV-nNq-DoWl-XQs.js → CompleteProfile-Cm8XlcS3-h3qANDX9.js} +2 -2
  47. package/dist/assets/{ConfettiBurst-CapRdPno-B98cKZne.js → ConfettiBurst-BtmMysff-DXW2t6JP.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BjPotKnf-CAR8sXHy.js → CreateOrEditVendorPage-BxSAnKo6-BT1rzueh.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-BTZ2Lph6-BM88xtMu.js → CreditCardPaymentDrawerPage-a2j9Vyid-B5YbQ1Qy.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-DY0HeU0G-BVDIGiRU.js → CurrencySelectField-CbBlYqRB-D1pLCzjN.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-BIKXkkcY-DZsnHmTE.js → CustomerOnboardingActivationPage-CG508vOx-CLWU-GVx.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-CuP19GYc-BdzG4LPd.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYiAmFsM-BUeNNOfg.js → CustomerOnboardingDetailPageSkeleton-BszHZi0e-DON_7YLk.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-gssFllMT-bVWBXpNE.js → CustomerOnboardingNoStepsPage-Cg8ti5NY-DlxEJtW7.js} +9 -9
  55. package/dist/assets/{CustomerOnboardingPage-CBJHj8BH-D-kXTXkI.js → CustomerOnboardingPage-DM-gDkp1-rcTTcpJq.js} +1 -1
  56. package/dist/assets/CustomerOnboardingProductSuitePage-BryLMJRG-DDfHjs9L.js +202 -0
  57. package/dist/assets/{Dashboard-BVvkfPf9-ZblcIrM6.js → Dashboard-BRm1rkFD-sRJsQcvd.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-DHQ79h9V-WygEP18z.js → DashboardReportPage-rtbUwJSW-Cfsk6TQp.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-B8Q-YA_s-CCN0cnLd.js → DashboardSidebarBackgroundAnimation-DVTdlTEZ-LE3GU0DJ.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-DZnqI7IQ-D6E_iN90.js → DepositAccTransactionItem-BbKLxsPR-Dpo7wVCS.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-BMNdp-3Q-8Vs72QzQ.js → DepositAccTransactionListPage-0AV-fx2Z-BFJB16zN.js} +2 -2
  62. package/dist/assets/{DomesticWireDetailsPage-CCP6xoW_-mXF3TugY.js → DomesticWireDetailsPage-BKumlfKE-Cqz9aujw.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-B2bK30rG-DnbM30eK.js → DownloadOverlay-C6GFjg2N-DrkN4pip.js} +1 -1
  64. package/dist/assets/{DrawerPage-BRJDrBlv-FSUn2F7N.js → DrawerPage-BjfQ_wvz-BRg4aJBc.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-I8E1Rs3x-CD3sx5sS.js → EditPeoplePage-59PeI1Ul-cMTnU9vy.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-C7BPmFMR-7Ig8N6HD.js → EditReimbursementDetailPage-D5cPRveU--6MVI5yI.js} +1 -1
  67. package/dist/assets/{EntityDetailPage-BraBJ2k1-DJcqsMGT.js → EntityDetailPage-CiO1dOzo-BB1u6uOD.js} +2 -2
  68. package/dist/assets/{EntitySummarySection-DPmL3Bnf-C7B18nNx.js → EntitySummarySection-DBQxz0Ak-YgKNz1nX.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-CDaO_5Vj-Gf0yJA6c.js → ExpenseAutomationOverviewPage-D9JnRKeQ-bE2V-UEo.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-DUenmMQD-DtCZvWXA.js → ExpenseAutomationPage-isWf-Yjm-BEj6GzxJ.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-DxO1mXNE-yBHIybFP.js → ExpressPayPage-iL1BYLic-BqUwfpLY.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-BWPNZcYs-DGaxWzIh.js → FeaturePreviewPage-CFz7RpI6-DbRQaCew.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-DhVGeocZ-Cve1TP8k.js → FollowStepsSection-Crd9GwnW-RQu2gQ-V.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-8eiQXg7N-CW817Gtm.js → GlobalReviewListPage-xUatsnwu-Dx9d2TTm.js} +1 -1
  75. package/dist/assets/{InformationCardStack-CHVjIv01-CQbjGUU9.js → InformationCardStack-CgSYiHdK-Cf9Cjw1k.js} +2 -2
  76. package/dist/assets/{InsightsCardStack-x_tohY2Z-BhRbnJpc.js → InsightsCardStack-dkuf5D9A-Duqx5-xn.js} +2 -2
  77. package/dist/assets/{InsightsSection-D7g00fg7-BNrxlueb.js → InsightsSection-CUk29Ace-BKDJK0uo.js} +2 -2
  78. package/dist/assets/{IntegrationsSettingsPage-DVRtPRi9-BpKu2CSN.js → IntegrationsSettingsPage-As-313jz-BWoXfvd2.js} +2 -2
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-DnWbUuiD-DwG99aWQ.js → InternationalWireSwiftDetailsPage-CqMsBHlO-CbK2_2UB.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-CHvUYgd8-B0kLyPu3.js → InternationalWireVerificationPage-BJ9-Rvqo-C5xNuG17.js} +1 -1
  81. package/dist/assets/{InviteFormPage-Cw0TIkwc-CxbkYSe8.js → InviteFormPage-D7yOmbjN-B6cNY2j6.js} +1 -1
  82. package/dist/assets/{InvitePageListView-B4gEzFp2-C5MhLhQ9.js → InvitePageListView-CUeSQD7S-BB-ili2p.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-Bnsqv_IY-BBN3hPVg.js → InvitePeoplePage-BY6iz4UW-16zeXtyQ.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-CW4hHmAi-BVn8WXx-.js → InvoiceUploadSection-fjn4uF_l-DBvp2GNb.js} +20 -20
  85. package/dist/assets/{IssueChargeCardPage-sM826Uvu-BiJnDa7q.js → IssueChargeCardPage-B30u11O2-BHXfiwVd.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-AuzW29LK-Dghtfwfx.js → LabeledAddressValue-CJZ_1zh1-dIyC1ckB.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-C_KatgTA-D3T6clVz.js → LabeledAddressValueField-3BEuHr_a-BAXHOnek.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-CEd7DSmU-VOrHoRB-.js → LabeledControlledCheckBoxField-DqtbWhaH-Ct8s61sn.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-CffMX6f1-BKMXK8fg.js → LabeledCountryMultiSelectField-t7lnpz15-B8MvgThW.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-CoS6DIi_-ngKPnxm3.js → LabeledCreatableSingleSelectField-DSrFEwMO-BtK2wHhP.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-CVBhbPHv-DJhUy7mJ.js → LabeledDocumentField-CYvUm3Rk-DLfE-kKo.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-CNru68eT-D_bPtxxF.js → LabeledDropDownFormattedTextField-IohlqRi7-BoY6bhCM.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-CTqXa2Rh-C1DiyLKK.js → LabeledMultiSelectField-CveBXp8L-BAd1gTI4.js} +1 -1
  94. package/dist/assets/{LabeledText-Da0Yn6u8-CEq8NxeA.js → LabeledText-C9CoADG4-BsL6jbJB.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CE332GjA-B_uNoSAj.js → LabeledUserSingleSelectWithSubtitlesField-B6q4n0f5-BWHNFjm5.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DU4-ho4X-CcdwnXmo.js → LabeledZeniRolesDropDownField-B-0ZfQFs-BLpCJZWp.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-Dx4OE1-O-BP-Re_Mp.js → LinkJETransactionPage-CLo-jbfZ-CgODjcQ0.js} +2 -2
  98. package/dist/assets/{LockCardPage-B3P6wcK_-DXiVYe6A.js → LockCardPage-CmWzTH0n-B_X-TwZ4.js} +6 -6
  99. package/dist/assets/{LowBalancePopup-Dp1vEYQQ-CZf2OgxD.js → LowBalancePopup-BUAKDPHL-BfDsvGUL.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-v539jeyl-sH7kLHfx.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-CU9g_d2_-gcBn5f-G.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-CYupqopA-BhBR0cCB.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-Iva17nX0-BicACDFK.js → MagicLinkSuccessPage-BGSpNBaK-DRZ7k8D2.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-B726bP_P-Ds-g77rC.js → MagicLinkTitleSection-BKIOmha4-ChpstG69.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-BwgWy_VZ-Do6nH1qr.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-Ad6xGN08-DfX8Kieh.js → MyBankConnectionsSettingsPage-B3HEwRST-BMNPEzRQ.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-BYZ61huS-BBPAzIaW.js → MyPendingActivationChargeCardListPage-Cy_JIUO5-CXr2StVT.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-bEru4GQJ-DrklNR_0.js → MyProfileSettingsPage-D4XR8lj4-Cx77Yc0W.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-BAKrtv3g-BAVuswcj.js → NavBarWithPicker-Brxnh3kz-BBzh1_Q6.js} +1 -1
  110. package/dist/assets/{NavigationArrow-CKvBs9-h-DGrwATOY.js → NavigationArrow-C1HvrCIx-DFOmLMLf.js} +1 -1
  111. package/dist/assets/{NavigationDots-BdcVrwsL-DI6uVlju.js → NavigationDots-Ttv3r4BR-v2ws1TaA.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-Cx38uQAS-CVS2RS0h.js → NewGlobalMerchantPage-rrVa4Iiv-lDEd0itd.js} +1 -1
  113. package/dist/assets/{NoDataChart-BbyxZE2g-DftC8NAQ.js → NoDataChart--T7v827k-zXeqjU35.js} +1 -1
  114. package/dist/assets/{NoDataTable-BNZWGvtm-zaSGOsX8.js → NoDataTable-cJmfr934-D57XH4Vn.js} +1 -1
  115. package/dist/assets/{NotFoundPage-CssnEz-k-CscSjgs7.js → NotFoundPage-C-RS1j9W-DH4NAkkX.js} +9 -9
  116. package/dist/assets/{NotificationSettingsPage-DmgxnO9I-CblGBNGe.js → NotificationSettingsPage-Bt94GV9--r7sgcB96.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-DdMKLqFI-CuDQgdEu.js → NotificationsListConfig-CbWdzORJ-BsmAt2Aw.js} +1 -1
  118. package/dist/assets/{NotificationsPage-B9XIE39J-Dv9gZ3DU.js → NotificationsPage-kZGgGVaC-BAHmfRGl.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-5wnFvYXt-CUJLUo3V.js → OpExByVendorPage-BSoM5hsv-8kUubW4x.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-IDTUbuAC-i9WtyG5H.js → OverlayContainerPage-IDTUbuAC-C05m2YxE.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-CrtKdSaD-Cg5pRrge.js → PandLWithForecastPage-C181kEf--CfV2ma5M.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CQki5l4P-Be_S4DkR.js → PaymentAccountSetupBillingAddressSection-DqDvhQwH-C-RxqOsn.js} +7 -7
  123. package/dist/assets/{PeoplePage-BCjxJl1y-BwCs0QjE.js → PeoplePage-ByvK4lsu-B40YfrBC.js} +1 -1
  124. package/dist/assets/{Preview-DMKZka6j.js → Preview-B0RnB2Yn.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-BYvlY6Jl-COI4qyxl.js → ProductsCarousel-CCLEQfr4-D3JLfCUB.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-6vRaZnUg-DGHSU3hX.js → PromoBaseCards-BESaQCrl-gKsHUW_9.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-C-v9bhUW-D7_9Yx1q.js → QBOConnectionDialog-BhmH5aji-CM5T8oTr.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-DPhwp1AB-nomlRQHL.js → QBOSetupSection-BevEEFTb-Jbk-oPo7.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Crz8RArL-eCodUMWf.js → ReimbursementApprovalRuleDetailPage-Dklp8fND-C3LBVHUX.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-CHrPVveg-B9drd8bS.js → ReimbursementApprovalRulesPage-CCo730ny-q5c8fyV0.js} +1 -1
  131. package/dist/assets/{ReimbursementDetailPage-BlfifQuc-C5dxX6t8.js → ReimbursementDetailPage-D8G3Aoci-DIVONTh0.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-B6rhhOye-Ci78-bdN.js → ReimbursementPromoPage-B8BSm0-k-Bt9GjQuu.js} +4 -4
  133. package/dist/assets/{ReimbursementSetUpPage-BQwRjKZ5-9ywNGg0I.js → ReimbursementSetUpPage-KRQIL0VK-DR0ER4Yx.js} +4 -4
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BTaFn0Mh-C3-rGgMU.js → ReimbursementsBulkReviewDrawerPage-B77ypxnc-BkObb0RE.js} +1 -1
  135. package/dist/assets/{ReloadCard-DETUOoLJ-_Fd6TJ7d.js → ReloadCard-0KQtayY--Cg4JfrF6.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-DSDclygb-D5Zoy-OT.js → ReportTableViewSelector-wrUJSIfk-Dns-QQbX.js} +26 -26
  137. package/dist/assets/{ReportsPage-BrmMmYET-BygmNMmE.js → ReportsPage-D-r0S90r-CtLOp9ey.js} +1 -1
  138. package/dist/assets/{RevenueChart-B711QWTX-D44_xm0q.js → RevenueChart-4kIDtnAc-WBQ50ylJ.js} +14 -14
  139. package/dist/assets/{ReviewDetailsPage-Bkw0FfE--ucoSwwAH.js → ReviewDetailsPage-BqIBTewY-C8DdFF_e.js} +1 -1
  140. package/dist/assets/{ReviewOverlay-CkB3Z8hH-DQ6keQIz.js → ReviewOverlay-DjazNKfI-D9LHGfoS.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-CkpqxMzB-DW17agFY.js → RoleWithToolTip-CjvIxkPO-Bi_70Hu8.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-C-4zVu03-DYoR267j.js → ScheduleDetailsFixedAssetsPage-DBfwlnR1-bCnucyiC.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-D4mYRUnv-CjMIcOlV.js → ScheduleDetailsPage-CLEKOymC-B3NLZeIV.js} +1 -1
  144. package/dist/assets/{ScheduleSequenceTable-q-031a_C-DXAL0Amh.js → ScheduleSequenceTable-Dnapx3YK-Be50KNDE.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-C64P_VXE.js → ScreenRoutes-S2WD5yPN.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-Mm8JelXc-DfhOL8wt.js → SetUpAccountSection-D7Nf4cYj-UGNHCsDO.js} +1 -1
  147. package/dist/assets/{SignIn-faWXqi7o-YaN7ZeJL.js → SignIn-Cl1If8Mq-CvFGHXZ8.js} +15 -15
  148. package/dist/assets/{SignInScreen-BXUvBYr5.js → SignInScreen-CFwIVPDY.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-BLWEPKWO-DJ6V5hr0.js → SpendManagementListViewPage-B8AdQD7w-DscL1E8I.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-vZNK6DuA-BdFiNmKW.js → SpendManagementPerTabPage-BJxGbUNp-CTR6zi4P.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-CeDmloNd-BJA7uFu3.js → SpendManagementSection-CJ-vMwcf-DAIvaE36.js} +1 -1
  152. package/dist/assets/{StatementItem-CJShifEl-DRrukgl3.js → StatementItem-CCXoBC0x-B0aqg_M_.js} +2 -2
  153. package/dist/assets/StatementsPage-BaDmSL9L-t79Ai808.js +58 -0
  154. package/dist/assets/{StatusSwitcher-CPuONMOx-D0oIu0Qt.js → StatusSwitcher-BZ2svcz0-BTZEKNgF.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-ibTbIxr5-BUb197Os.js → SubTabSwitcher-C3216C6m-CK-Qtqj3.js} +1 -1
  156. package/dist/assets/{SummaryCard-vWpHXMPE-tDmDqGFE.js → SummaryCard-CSkw4qa9-i9KCkyV3.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-COs5ebo9-DcEgMhRU.js → TaskManagementPage-BO9Fcar1-BB1pU97E.js} +8 -8
  158. package/dist/assets/{TimeRangeSwitcher-fD5vvYGO-BbCK6XMB.js → TimeRangeSwitcher-C9jo91ZR-BexBx71o.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcher-BYXKRKtc-EVZ4kF7R.js → TimeframeSwitcher-453JT8qD-dl4gBr1v.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-f92qNjEk-BwCpya0J.js → TimeframeSwitcherWithToggle-CkiICrjF-BzFnMJO-.js} +2 -2
  161. package/dist/assets/{TopExCard-Bs4nI9Q9-BvGdik_r.js → TopExCard-Qae08TpE-B5FSxtbi.js} +10 -10
  162. package/dist/assets/{TopExDetailPage-B0kS11k0-C7cMKktV.js → TopExDetailPage-BpwMO-8K-qWr97Eft.js} +4 -4
  163. package/dist/assets/{TransactionDetailPage-BXl6y7sy-DWOSpAKu.js → TransactionDetailPage-CF5tZCkv-ND1Ih8Rd.js} +1 -1
  164. package/dist/assets/{TransactionList-BYXPQXN1-BM4vAbRF.js → TransactionList-BuFcrTEd-Pd5NkKsR.js} +1 -1
  165. package/dist/assets/{TransactionListBig-lrbHUS38-CE8fM-1y.js → TransactionListBig-B6-3iOkU-brDnQ-dC.js} +1 -1
  166. package/dist/assets/{TransactionListPage-OOLJzsmw-CFQFZS_d.js → TransactionListPage-cSSv81G2-C84Nagsy.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-CmjrngD2-ERYJimV4.js → TransactionVendorDetailPage-BJzVtpnF-BD1O-dJA.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-CnFrzA_M-C7WYDeKL.js → TransferDrawerPage-DCxNnGwu-R8tXJhB-.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-CGxccIcU-CCbh6Id9.js → TreasuryOverviewPage-DfIkj3v1-DGzCSt8t.js} +9 -9
  170. package/dist/assets/{TreasuryPromoPage-BmMVa8cX-9zbF1fVS.js → TreasuryPromoPage-BBdOyiO--DBYyvSzX.js} +1 -1
  171. package/dist/assets/{TreasuryStatementsPage-DL94A9mN-DpTNh_sB.js → TreasuryStatementsPage-NgiurO36-wIt2qVvF.js} +2 -2
  172. package/dist/assets/{TreasuryTaxLetterPage-BJ9-ZsCQ-Dyu4pa2N.js → TreasuryTaxLetterPage-DcI8sKk8-CiTg5Fth.js} +2 -2
  173. package/dist/assets/{TrendChart-ClyJQTBF-D44HAeBZ.js → TrendChart-DVp0Led--C8WSZxuE.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-D4m4sVkf-QwX2lUKl.js → TrendWithTransactions-C5Zfe4RN-BXIMOZup.js} +1 -1
  175. package/dist/assets/{UncategorizedAccountsMappingPage-BLwx8CVj-BAqznk7L.js → UncategorizedAccountsMappingPage-DKQj6Y2Z-CJmiPan8.js} +5 -5
  176. package/dist/assets/{UnitIntegrationPage-CgbOyIBt-CSgJkBuk.js → UnitIntegrationPage-DzP4Z8GG-Dy6PuJhN.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-CmVwCxA2-C7-U_wzd.js → UploadAdditionalDocumentOverlay-BGFTh8Ed-BM9KBkkU.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-DQtP0bm--BEzqoIh4.js → Vendor2FAPopup-CyeLsWVA-Bvm0fc8m.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-Ch6V5aiE-C8mQ2zAb.js +1 -0
  180. package/dist/assets/{VendorDetailPage-CFkDOdUe-DIj0i7H9.js → VendorDetailPage-CrEIBnBt-BV5_7SzR.js} +1 -1
  181. package/dist/assets/VendorDomesticWireDetailsPage-GMtYv721-BHj1SZ-2.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-Bkn9p2Sf-88PzLnV7.js → VendorFiling1099EditablePage-Bw_Igktf-DBjJgjbY.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-CKvnB4Q7-DZzeN8iV.js → VendorFirstReviewPage-CCCVS8n7-E428xFy1.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage--B2XU_hP-DBzJCsVC.js → VendorInternationalWireDetailsPage-DsBGMjtN-CQvN_vWC.js} +1 -1
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BeXxE9Qn-ym6eVDNw.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-DJP1yZx7-BqI85Inv.js → VendorsAccountsSection-Bd1rg5Tw-DRUi6jIP.js} +1 -1
  187. package/dist/assets/{VerifyDevice-dFsnt44d-0hToiTH4.js → VerifyDevice-B52Vuja4-0E_pm_dD.js} +7 -7
  188. package/dist/assets/{VideoPlayer-Dy6rImBJ-Nn9JCyBx.js → VideoPlayer-Cfh9VY-B-CLXI1KSM.js} +2 -2
  189. package/dist/assets/{VideoPopup-DM5Buf4j-BT63lz9k.js → VideoPopup-BLRMOVnP-CAsXJ3um.js} +3 -3
  190. package/dist/assets/{WarningsDrawerPage-C8i8v3rq-BxiZP-Sa.js → WarningsDrawerPage-CnUUMlFZ-C2O6kI2F.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-CI7znfzM-DwgvfHfU.js → ZeniAccountDetailPage-DrBVs3G5-BGnEJzEM.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-CBnYQpc8-B7PVBM8v.js → ZeniAccountListViewPage-C3WwakQr-CVBB5Etq.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-sMjtAlej-BOgDzxse.js → ZeniAccountNavBarPieces-CP2pkywN-CGbioXtu.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-B_NJMHHV-CZKDfR6n.js → ZeniAccountPromoPage-DYAVwX1I-CACWm6_J.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-C9cJ0F8e-BoeTxbpP.js → ZeniAccountSetupPage-D4y3RRC0-VwyN8R98.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-DzWFQiAt-FnULaX9M.js → ZeniCopyright-DxhdQ6XJ-DxZgbZ2B.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-B424bcSV-CtzwxU3E.js → ZeniTransferAmountSlider-COT3DDGF-CcOgiNdg.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-pWZi41H8.js → add-to-wallet-DgdBD8_G-DsgRUVgA.js} +1 -1
  199. package/dist/assets/{analytics-BvXI56dE.js → analytics-CSlaNB19.js} +1 -1
  200. package/dist/assets/{analyticsHelper-BRAy7K8G.js → analyticsHelper-BSMq6Y2P.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CzevEN9D-C9y7y7M8.js → analyticsHelper-C35dM-yG-D6b8wU4U.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-B9_UwdI_.js → arrow-south-east-round-PEovUgvH-yHNADvS4.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-CRwly3T1.js → auto-transfer-rule-mbafm5D3-Ccdjr6D8.js} +1 -1
  204. package/dist/assets/{chartTypes-n3TS0IBf-WFvbt09f.js → chartTypes-BDwrrz9S-CO6_cPbC.js} +1 -1
  205. package/dist/assets/{commonDimensions-6BcP8EhU-Dj5Bh5k0.js → commonDimensions-Pu55v5lV-fIykEmeD.js} +1 -1
  206. package/dist/assets/{commonTypes-Q1WP-Ym3-DAex-kP3.js → commonTypes-BElGElM--Bg_ac7b3.js} +1 -1
  207. package/dist/assets/{constants-B97TsRRb.js → constants-D-PeI_mM.js} +1 -1
  208. package/dist/assets/{core-CIefpDlV.js → core-CqdPXR9B.js} +1 -1
  209. package/dist/assets/{dash.all.min-RUznf6Xj.js → dash.all.min-DbcV3v7u.js} +1 -1
  210. package/dist/assets/{detailCommon-D3YbmSu3-DW6HHLj8.js → detailCommon-CM8F8nQy-BjrXwaKv.js} +3 -3
  211. package/dist/assets/{downloadPdf-Bf11NXjY-ge3y_x4j.js → downloadPdf-BF8--IAB-lQpphdcn.js} +1 -1
  212. package/dist/assets/{empty-BQQX0XD1.js → empty-DPq645sP.js} +1 -1
  213. package/dist/assets/{empty-DJIJO66a.js → empty-DTh_Ij2M.js} +1 -1
  214. package/dist/assets/{epic-C6ygjjdM.js → epic-96Yt9tV8.js} +1 -1
  215. package/dist/assets/{gift-box-Cmt9OgIZ-BWCTqneo.js → gift-box-Cmt9OgIZ-Bn-y1hvl.js} +1 -1
  216. package/dist/assets/{graphic-no-data-l-DU4J8fDt-C8GXOUxr.js → graphic-no-data-l-DU4J8fDt-a_iKaRv1.js} +1 -1
  217. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BQAFQuCs.js → graphic-no-data-net-burn-l-CzmycA0m-C9dTXMJH.js} +1 -1
  218. package/dist/assets/{handshake-BPg58FML-BCnezDN8.js → handshake-BPg58FML-DqlUuE7u.js} +1 -1
  219. package/dist/assets/{index-smQbM7l5.js → index-BTSZX0gU.js} +1 -1
  220. package/dist/assets/{index-BzA0Xv0P.js → index-Bs6vtzGR.js} +1 -1
  221. package/dist/assets/{index-Dnx8_gCi.js → index-D4DdpT1f.js} +8 -8
  222. package/dist/assets/{index-rikpsdq-.js → index-DQJyhSzl.js} +1 -1
  223. package/dist/assets/{index-CQs92n2L.js → index-DeNk0spl.js} +1 -1
  224. package/dist/assets/{index-DAj0zPwk.js → index-DfNzwEf5.js} +1 -1
  225. package/dist/assets/{index-DtRGsySN.js → index-DzUx431K.js} +1 -1
  226. package/dist/assets/{lexical-Dp1JhPKz.js → lexical-D6mU3oV8.js} +1 -1
  227. package/dist/assets/{liveblocks-CrODURpx.js → liveblocks-DXNKZvWw.js} +1 -1
  228. package/dist/assets/{lottie-hIwSKdQS.js → lottie-BGCmjFH9.js} +1 -1
  229. package/dist/assets/{mapLoadingInProgressToTreeNode-BArKDqgr-DI-rDhH2.js → mapLoadingInProgressToTreeNode-4ruPPd2Y-CXJTu75z.js} +1 -1
  230. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BCmFQbuz-BKHYuXjj.js → mapSectionWithAcOnlyToTreeNode-B77EOrVX-heqCPLrc.js} +1 -1
  231. package/dist/assets/mapSpacerToTreeNode-DbVBrfUp-DCvPMvjH.js +1 -0
  232. package/dist/assets/{mapTimeframeBalancesToTreeNode-ClmNRrTo-CsvdIbZF.js → mapTimeframeBalancesToTreeNode-DA60r528-sldeiWG8.js} +1 -1
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-IkKV62Jb-JqYi47LI.js +1 -0
  234. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DT4LUXl9-oCV9zxla.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BPtN2Cj0-BxEY8256.js} +1 -1
  235. package/dist/assets/{mui-BTtN6lbG.js → mui-CooLgaJO.js} +1 -1
  236. package/dist/assets/{page-detail-CWX5S47F-vL4oE1Hd.js → page-detail-CWX5S47F-D0SYshoo.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-CzTG_UVX.js → radio-default-CiSgisfh-aKay5Aup.js} +1 -1
  238. package/dist/assets/{react-DTawl0rf.js → react-B3adtom7.js} +1 -1
  239. package/dist/assets/{react-RUf-G1wy.js → react-BBgs2Til.js} +1 -1
  240. package/dist/assets/{react-dGc0O2tO.js → react-BOYN8kx1.js} +1 -1
  241. package/dist/assets/{react-D8h_J9ua.js → react-CEyM_Slo.js} +1 -1
  242. package/dist/assets/{react-yNxKnTJa.js → react-CrELMTJL.js} +1 -1
  243. package/dist/assets/{react-BZDhaeWn.js → react-DHuOianZ.js} +1 -1
  244. package/dist/assets/{react-FdUpWGdd.js → react-MtwZeeNV.js} +2 -2
  245. package/dist/assets/{react-CZT8R2xg.js → react-_XrYtXDi.js} +1 -1
  246. package/dist/assets/{recharts-BfU_srYC.js → recharts-DHPcYqKb.js} +1 -1
  247. package/dist/assets/{sentry-B0WgNUxa.js → sentry-Dlcq8VjX.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-Z1Xg2OMK.js → shield-DOlUxcFf-D8h0VGFI.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-C8uaUoxX-n7EZ1iwJ.js +1 -0
  250. package/dist/assets/{toChartData-Bl-lEYbQ-DPT0fPCU.js → toChartData-CTG-a8va-B2RC0Eyi.js} +1 -1
  251. package/dist/assets/{uploadAttachment-B_0cN84g-Ckl6Bt52.js → uploadAttachment-n14_2p7o-3Yaegacg.js} +1 -1
  252. package/dist/assets/{uploadReceipts-DJRtId-4-C4iSXmi-.js → uploadReceipts-DJRtId-4-D8fSq3Gx.js} +1 -1
  253. package/dist/assets/{url-D-l_68oE.js → url-CfIahVCp.js} +1 -1
  254. package/dist/assets/{url-CHEcUoer.js → url-d3WjAGv6.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-BysG3lqG.js → useLongPress-GCK2COYQ-B0lPuhDh.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-ZROsAmzr.js → usp-line-BBd1wKwW-CZ22OQAj.js} +1 -1
  257. package/dist/assets/{utils-DZQMbqmw.js → utils-CXbV7y1T.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-DnAAAEmj.js → zeni-epic-state-pmiItBju.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +2 -2
  261. package/dist/assets/AccountInfoPage-DUYpaV3v-D8V_x8JO.js +0 -18
  262. package/dist/assets/CustomerOnboardingContainerPage-DZfFYnVw-CcQtO8ja.js +0 -1
  263. package/dist/assets/CustomerOnboardingProductSuitePage-2V3vSjB8-CrV4E8jt.js +0 -202
  264. package/dist/assets/MagicLinkACHDetailsPage-BeRQFYX3-CqJj4aaT.js +0 -1
  265. package/dist/assets/MagicLinkDomesticWireDetailsPage-C1DDZC2_-DOjgkjgD.js +0 -1
  266. package/dist/assets/MagicLinkInternationalWireDetailsPage-DyDp04Vn-CqH7JVCF.js +0 -1
  267. package/dist/assets/MailingDetailsSection-IQJY4Yl0-Do7gR0xz.js +0 -21
  268. package/dist/assets/StatementsPage-BRxP-Jwn-CGUonpt7.js +0 -58
  269. package/dist/assets/VendorACHDetailsPage-CuCteqbL-Dv65rfW2.js +0 -1
  270. package/dist/assets/VendorDomesticWireDetailsPage-Cr1fyB0u-3kSZSoJb.js +0 -1
  271. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CJFB7SEO-3h4SwLlt.js +0 -1
  272. package/dist/assets/mapSpacerToTreeNode-DdwRxjlP-CUGNOSas.js +0 -1
  273. package/dist/assets/mapTimeframeBalancesToTreeNode-CR-gDA51-BV8MPG6G.js +0 -1
  274. package/dist/assets/toCOABalancesWithID-BzzH0Io4-bO3H7SPc.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a8 as se,V as o,fv as Ce,J as Pe,g as be,a9 as we,aQ as xe,cE as ke,bB as Ie,o as i,aP as Ae,ac as $e,aR as ve,bn as Oe,hK as Ve,F as Te,eX as je,eY as oe,af as Le,y as J,al as ze,u as A}from"./index-Dnx8_gCi.js";import{n as l}from"./mui-BTtN6lbG.js";import{a as $}from"./sentry-B0WgNUxa.js";import{r as Be,t as Ee}from"./PaymentAccountSetupBillingAddressSection-CQki5l4P-Be_S4DkR.js";import{f as Ue}from"./CustomerOnboardingDetailPageSkeleton-DYiAmFsM-BUeNNOfg.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./commonTypes-Q1WP-Ym3-DAex-kP3.js";import"./SetUpAccountSection-Mm8JelXc-DfhOL8wt.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]="a74c6299-4f6c-479c-a49a-c6532cccae0b",e._sentryDebugIdIdentifier="sentry-dbid-a74c6299-4f6c-479c-a49a-c6532cccae0b")}catch{}})();const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",X={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},_e=e=>`${e}_form`,De=Te.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:O,googleAPIKey:V,signedInUser:P,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:z,updateCardPaymentModalState:b,handleAddCardPaymentSource:B,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:w,onUpdateCustomerView:_,...D})=>{const m=Pe(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:F,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=D,W=be(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:Y,uiState:ce,allNationalityCountries:q,subscriptionBillingAddress:y}=e,{customerOnboardingPage:le,common:f}=De,{footer:ue,steps:pe}=le,{buttons:Z}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:c}=a[n].street,C=je(c?.country);d={street:a[n].street??f.strings.empty,city:c?.locality??f.strings.empty,state:c?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:c?.countryCode??f.strings.empty,postalCode:c?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,q]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(Y).some(c=>c.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,c=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!c&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),j("link_payment_account"),_(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,q,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Fe,{children:[o.jsxs(Re,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:_e(ie),children:o.jsxs(Me,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Be,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:Y,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:F,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionSuccess:N,updateCardPaymentModalState:b,cardPaymentView:p,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(Oe,{signedInUser:P,currentTenant:T,onLogOutClick:G})}),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:he,label:Z.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:z,updateCardPaymentModalState:b,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:B,cardPaymentView:p,stripeKey:O,isCardPaymentOpen:ce.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:U,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Fe=l.div`
1
+ import{a8 as se,V as o,fv as Ce,J as Pe,g as be,a9 as we,aQ as xe,cE as ke,bB as Ie,o as i,aP as Ae,ac as $e,aR as ve,bn as Oe,hK as Ve,F as Te,eX as je,eY as oe,af as Le,y as J,al as ze,u as A}from"./index-D4DdpT1f.js";import{n as c}from"./mui-CooLgaJO.js";import{a as $}from"./sentry-Dlcq8VjX.js";import{r as Be,t as Ee}from"./PaymentAccountSetupBillingAddressSection-DqDvhQwH-C-RxqOsn.js";import{f as Ue}from"./CustomerOnboardingDetailPageSkeleton-BszHZi0e-DON_7YLk.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./zeni-epic-state-pmiItBju.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";import"./commonTypes-BElGElM--Bg_ac7b3.js";import"./SetUpAccountSection-D7Nf4cYj-UGNHCsDO.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]="d7e6f514-986c-48d4-bf78-509f0565ce60",e._sentryDebugIdIdentifier="sentry-dbid-d7e6f514-986c-48d4-bf78-509f0565ce60")}catch{}})();const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",X={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},_e=e=>`${e}_form`,De=Te.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:O,googleAPIKey:V,signedInUser:P,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:z,updateCardPaymentModalState:b,handleAddCardPaymentSource:B,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:w,onUpdateCustomerView:_,...D})=>{const m=Pe(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:F,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=D,W=be(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:Y,uiState:le,allNationalityCountries:q,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:Z}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,q]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(Y).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),j("link_payment_account"),_(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,q,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Fe,{children:[o.jsxs(Re,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:_e(ie),children:o.jsxs(Me,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Be,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:Y,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:F,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionSuccess:N,updateCardPaymentModalState:b,cardPaymentView:p,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(Oe,{signedInUser:P,currentTenant:T,onLogOutClick:G})}),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:he,label:Z.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:z,updateCardPaymentModalState:b,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:B,cardPaymentView:p,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:U,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Fe=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -6,7 +6,7 @@ import{a8 as se,V as o,fv as Ce,J as Pe,g as be,a9 as we,aQ as xe,cE as ke,bB as
6
6
  width: 100%;
7
7
  padding-left: ${i.sp0};
8
8
  }
9
- `,Re=l.div`
9
+ `,Re=c.div`
10
10
  display: flex;
11
11
  flex-direction: column;
12
12
  align-items: center;
@@ -23,15 +23,15 @@ import{a8 as se,V as o,fv as Ce,J as Pe,g as be,a9 as we,aQ as xe,cE as ke,bB as
23
23
  ${e=>e.theme.breakpoints.down("lg")} {
24
24
  background-size: cover;
25
25
  }
26
- `,Me=l.div`
26
+ `,Me=c.div`
27
27
  display: flex;
28
28
  height: 100%;
29
29
  flex-direction: column;
30
30
  padding-bottom: ${i.sp0};
31
- `,Ne=l.form`
31
+ `,Ne=c.form`
32
32
  padding-top: ${i.sp0};
33
33
  flex: 1;
34
- `,Ge=l.div`
34
+ `,Ge=c.div`
35
35
  display: flex;
36
36
  height: ${i.sp7};
37
37
  left: ${i.sp4};
@@ -40,16 +40,16 @@ import{a8 as se,V as o,fv as Ce,J as Pe,g as be,a9 as we,aQ as xe,cE as ke,bB as
40
40
  justify-content: center;
41
41
  align-items: center;
42
42
  cursor: default;
43
- `,He=l.div`
43
+ `,He=c.div`
44
44
  display: flex;
45
- `,We=l(Le)`
45
+ `,We=c(Le)`
46
46
  height: ${i.sp4};
47
47
  width: 102px;
48
48
  color: ${e=>e.theme.colors.primary};
49
49
  cursor: pointer;
50
50
  flex-shrink: 0;
51
51
  margin-left: -${i.sp4};
52
- `,Ze=l(ze)`
52
+ `,Ze=c(ze)`
53
53
  color: ${e=>e.theme.colors.hero};
54
54
  display: flex;
55
55
  justify-content: center;
@@ -58,7 +58,7 @@ import{a8 as se,V as o,fv as Ce,J as Pe,g as be,a9 as we,aQ as xe,cE as ke,bB as
58
58
  padding-bottom: ${e=>X.subTitlePaddingBottom.valuePx(e.windowSize)};
59
59
  text-align: ${e=>e.windowSize==="small"?"initial":"center"};
60
60
  width: 100%;
61
- `,v=e=>({[Q]:{account:{allOptions:[],selectedOption:void 0}},[n]:Ve(n,e?.subscriptionBillingAddress)[n]}),ut=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:O,currentTenant:V,isOnAddressPage:P,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:z,onZeniLogoClick:b,handleLogOutClick:B,handleCockpitClick:E,handleCreateCardSetupIntent:U,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:_,updateCardPaymentModalState:D,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...F}=e,{allSteps:R,currentStep:M,fetchStatus:S}=u,N=se(),{analytics:G}=N,H={allSteps:R,isOnAddressPage:P,currentStep:M,fetchStatus:S,signedInUser:O,currentTenant:V,onUpdateStep:W=>{z(W)},onZeniLogoClick:b,handleLogOutClick:B,handleCockpitClick:E,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Je,{isOnAddressPage:P,children:[x?o.jsx(Ue,{isNoStepsPage:!0}):o.jsx(Ke,{...H,onboardingCustomerView:u,handleCreateCardSetupIntent:U,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:D,handleFetchPaymentSources:_,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...F}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},Je=l.div`
61
+ `,v=e=>({[Q]:{account:{allOptions:[],selectedOption:void 0}},[n]:Ve(n,e?.subscriptionBillingAddress)[n]}),ut=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:O,currentTenant:V,isOnAddressPage:P,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:z,onZeniLogoClick:b,handleLogOutClick:B,handleCockpitClick:E,handleCreateCardSetupIntent:U,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:_,updateCardPaymentModalState:D,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...F}=e,{allSteps:R,currentStep:M,fetchStatus:S}=u,N=se(),{analytics:G}=N,H={allSteps:R,isOnAddressPage:P,currentStep:M,fetchStatus:S,signedInUser:O,currentTenant:V,onUpdateStep:W=>{z(W)},onZeniLogoClick:b,handleLogOutClick:B,handleCockpitClick:E,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Je,{isOnAddressPage:P,children:[x?o.jsx(Ue,{isNoStepsPage:!0}):o.jsx(Ke,{...H,onboardingCustomerView:u,handleCreateCardSetupIntent:U,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:D,handleFetchPaymentSources:_,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...F}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},Je=c.div`
62
62
  display: flex;
63
63
  flex-direction: column;
64
64
  width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
@@ -1,4 +1,4 @@
1
- import{V as l,fv as tn,J as We,g as nn,a9 as an,cE as me,aQ as Ke,G as ft,aD as Qe,bB as on,o as re,ac as sn,u as M,aR as rn,hK as ln,g9 as cn,fw as yt,eX as Ot,F as Ye,eY as gt,y as fe,gd as ye,cI as dn,al as pn,hL as ht,ad as St,cS as un,gb as mn}from"./index-Dnx8_gCi.js";import{a as m}from"./sentry-B0WgNUxa.js";import{n as P,k as xt}from"./mui-BTtN6lbG.js";import{bi as j}from"./zeni-epic-state-DnAAAEmj.js";import{r as Ct,t as fn}from"./PaymentAccountSetupBillingAddressSection-CQki5l4P-Be_S4DkR.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DYiAmFsM-BUeNNOfg.js";import{z as gn,n as hn}from"./CompanyOfficerDetailsSection-DzDZe6MU-9yW_ivyy.js";import{t as Sn}from"./QBOSetupSection-DPhwp1AB-nomlRQHL.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./commonTypes-Q1WP-Ym3-DAex-kP3.js";import"./SetUpAccountSection-Mm8JelXc-DfhOL8wt.js";import"./LabeledAddressValueField-C_KatgTA-D3T6clVz.js";import"./LabeledCountryMultiSelectField-CffMX6f1-BKMXK8fg.js";import"./LabeledCreatableSingleSelectField-CoS6DIi_-ngKPnxm3.js";import"./LabeledDocumentField-CVBhbPHv-DJhUy7mJ.js";import"./LabeledMultiSelectField-CTqXa2Rh-C1DiyLKK.js";import"./QBOConnectionDialog-C-v9bhUW-D7_9Yx1q.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="fce08653-a14a-4ee2-a926-06a76913c020",n._sentryDebugIdIdentifier="sentry-dbid-fce08653-a14a-4ee2-a926-06a76913c020")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:v,verifiedPhoneNumber:O,onPhoneVerified:h,...x})=>{const y=We(),A=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:N}=c,V=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:r,sectionHeader:N,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:V,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...x})})},bn=P.div`
1
+ import{V as l,fv as tn,J as We,g as nn,a9 as an,cE as me,aQ as Ke,G as ft,aD as Qe,bB as on,o as re,ac as sn,u as M,aR as rn,hK as ln,g9 as cn,fw as yt,eX as Ot,F as Ye,eY as gt,y as fe,gd as ye,cI as dn,al as pn,hL as ht,ad as St,cS as un,gb as mn}from"./index-D4DdpT1f.js";import{a as m}from"./sentry-Dlcq8VjX.js";import{n as P,k as xt}from"./mui-CooLgaJO.js";import{bi as j}from"./zeni-epic-state-pmiItBju.js";import{r as Ct,t as fn}from"./PaymentAccountSetupBillingAddressSection-DqDvhQwH-C-RxqOsn.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-BszHZi0e-DON_7YLk.js";import{z as gn,n as hn}from"./CompanyOfficerDetailsSection-DG1ZQ-UL-BWPYN3Ux.js";import{t as Sn}from"./QBOSetupSection-BevEEFTb-Jbk-oPo7.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";import"./commonTypes-BElGElM--Bg_ac7b3.js";import"./SetUpAccountSection-D7Nf4cYj-UGNHCsDO.js";import"./LabeledAddressValueField-3BEuHr_a-BAXHOnek.js";import"./LabeledCountryMultiSelectField-t7lnpz15-B8MvgThW.js";import"./LabeledCreatableSingleSelectField-DSrFEwMO-BtK2wHhP.js";import"./LabeledDocumentField-CYvUm3Rk-DLfE-kKo.js";import"./LabeledMultiSelectField-CveBXp8L-BAd1gTI4.js";import"./QBOConnectionDialog-BhmH5aji-CM5T8oTr.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="14b5f3ed-96e1-4474-a47f-84e001ee5774",n._sentryDebugIdIdentifier="sentry-dbid-14b5f3ed-96e1-4474-a47f-84e001ee5774")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:v,verifiedPhoneNumber:O,onPhoneVerified:h,...x})=>{const y=We(),A=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:N}=c,V=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:r,sectionHeader:N,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:V,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...x})})},bn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -0,0 +1,202 @@
1
+ import{J as D,a8 as I,aw as M,g as _,V as e,bB as U,o as t,aP as k,bn as W,fv as V,F as A,al as H,af as R,p as l,b,ag as J,f as N,M as Z,aq as q,a$ as G}from"./index-D4DdpT1f.js";import{a as n}from"./sentry-Dlcq8VjX.js";import{n as o}from"./mui-CooLgaJO.js";import{FT as K}from"./zeni-epic-state-pmiItBju.js";import Q from"./ConfettiBurst-BtmMysff-DXW2t6JP.js";import{T as X}from"./ProductsCarousel-CCLEQfr4-D3JLfCUB.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.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]="ef628708-d3a1-4dae-9d9c-4a6a71be67a3",i._sentryDebugIdIdentifier="sentry-dbid-ef628708-d3a1-4dae-9d9c-4a6a71be67a3")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:f=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=D(),x=I().analytics,w=M(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,B=_(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=F;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]},O=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,K(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:B.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(we,{children:e.jsx(ye,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:f?e.jsxs(be,{"data-testid":k("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(ke,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{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(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),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(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:f,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(fe,{children:[e.jsx(xe,{windowSize:d,children:e.jsx(W,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:x,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=o.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: center;
5
+ min-width: 100%;
6
+ overflow: visible;
7
+ `,ie=o.div`
8
+ display: flex;
9
+ flex-direction: column;
10
+ align-items: center;
11
+ flex: 1;
12
+ width: 100%;
13
+ height: 100%;
14
+ min-height: 100vh;
15
+ background-image: ${i=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${i.windowSize==="small"?"m":"w"}-${i.theme.mode==="dark"?"d":"l"}.svg)`};
16
+ background-color: ${i=>i.theme.colors.grey4};
17
+ background-size: inherit;
18
+ background-attachment: fixed;
19
+ background-position: ${i=>i.windowSize==="small"?"center center":"right center"};
20
+ background-repeat: no-repeat;
21
+
22
+ ${i=>i.theme.breakpoints.down("lg")} {
23
+ background-size: cover;
24
+ }
25
+ `,oe=o.div`
26
+ position: fixed;
27
+ width: 100%;
28
+ top: ${t.sp0};
29
+ left: 0;
30
+ right: 0;
31
+ height: 62px;
32
+ padding: 0 ${t.sp2};
33
+ display: flex;
34
+ align-items: center;
35
+ justify-content: space-between;
36
+ z-index: 3;
37
+ `,re=o.div`
38
+ display: flex;
39
+ position: relative;
40
+ flex-direction: column;
41
+ align-items: center;
42
+ justify-content: center;
43
+ width: 100%;
44
+ margin: 86px 0 0 0;
45
+ `,ne=o.div`
46
+ position: relative;
47
+ display: flex;
48
+ align-items: center;
49
+ justify-content: center;
50
+ width: fit-content;
51
+ border-radius: 50px;
52
+ margin-bottom: ${t.sp7};
53
+ cursor: default;
54
+ overflow: hidden;
55
+
56
+ &::before {
57
+ content: "";
58
+ position: absolute;
59
+ top: 0;
60
+ right: 0;
61
+ bottom: 0;
62
+ left: 0;
63
+ background-color: ${l.brandColorJadeLight};
64
+ opacity: 0.5;
65
+ z-index: 0;
66
+ }
67
+
68
+ > * {
69
+ position: relative;
70
+ z-index: 1;
71
+ }
72
+ `,se=o.div`
73
+ display: flex;
74
+ flex-direction: column;
75
+ justify-content: center;
76
+ width: 100%;
77
+ height: 100%;
78
+ `,C=o.div`
79
+ display: flex;
80
+ align-items: flex-start;
81
+ justify-content: center;
82
+ `,ae=o.div`
83
+ display: flex;
84
+ align-items: center;
85
+ justify-content: center;
86
+ width: ${b.largeRegular.lineHeight};
87
+ height: ${b.largeRegular.lineHeight};
88
+ border-radius: 50%;
89
+ outline: 1px solid ${l.brandColorJadeDark};
90
+ background-color: ${l.brandColorPearl};
91
+ `,le=o(J)`
92
+ width: ${t.sp3};
93
+ height: ${t.sp3};
94
+ color: ${l.brandColorSapphire};
95
+ `,j=o(N)`
96
+ color: ${l.brandColorSapphire};
97
+ text-align: center;
98
+ margin-left: ${t.sp2};
99
+ `,de=o.div`
100
+ display: flex;
101
+ align-items: center;
102
+ justify-content: center;
103
+ width: 100%;
104
+ margin-bottom: ${t.sp4};
105
+ cursor: default;
106
+ `,ce=o(Z)`
107
+ color: ${i=>i.theme.colors.primary};
108
+ text-align: center;
109
+ margin-left: ${t.sp2};
110
+ margin-right: ${t.sp2};
111
+ `,pe=o.div`
112
+ width: 1328px;
113
+ height: 512px;
114
+ display: flex;
115
+ align-items: center;
116
+ justify-content: center;
117
+ overflow: visible;
118
+ margin-bottom: ${t.sp4};
119
+ `,he=o.a`
120
+ display: flex;
121
+ align-items: center;
122
+ justify-content: center;
123
+ text-decoration: none;
124
+ width: 100%;
125
+ cursor: pointer;
126
+ color: ${l.brandColorSapphire};
127
+ &:hover {
128
+ .discover-class {
129
+ color: ${i=>i.theme.colors.primary};
130
+ }
131
+ }
132
+ `,ge=o(q)`
133
+ color: inherit;
134
+ text-align: center;
135
+ `,ue=o(G)`
136
+ width: ${t.sp3};
137
+ height: ${t.sp3};
138
+ color: inherit;
139
+ margin-left: 6px;
140
+ margin-top: ${t.sp1};
141
+ `,me=o.div`
142
+ width: 100%;
143
+ padding: 10px ${t.sp3};
144
+ position: sticky;
145
+ bottom: 0;
146
+ left: 0;
147
+ right: 0;
148
+ z-index: 3;
149
+ display: flex;
150
+ justify-content: space-between;
151
+ align-items: center;
152
+ flex-direction: column;
153
+ `,fe=o.div`
154
+ display: flex;
155
+ position: relative;
156
+ justify-content: space-between;
157
+ width: 100%;
158
+ align-items: center;
159
+ `,xe=o.div`
160
+ display: flex;
161
+ left: ${t.sp4};
162
+ bottom: ${t.sp3};
163
+ position: fixed;
164
+ justify-content: center;
165
+ align-items: center;
166
+ cursor: default;
167
+ `,we=o.div`
168
+ display: flex;
169
+ `,ye=o(R)`
170
+ height: ${t.sp4};
171
+ width: 102px;
172
+ color: ${i=>i.theme.colors.primary};
173
+ cursor: pointer;
174
+ flex-shrink: 0;
175
+ margin-left: -${t.sp5};
176
+ `,ke=o(Y)`
177
+ width: ${t.sp4};
178
+ min-width: ${t.sp4};
179
+ height: ${t.sp4};
180
+ `,be=o.div`
181
+ display: flex;
182
+ flex-direction: row;
183
+ align-items: center;
184
+ width: fit-content;
185
+ white-space: nowrap;
186
+ cursor: pointer;
187
+ color: ${i=>i.theme.colors.hero};
188
+ &:hover {
189
+ .btnText {
190
+ color: ${i=>i.theme.colors.primary};
191
+ }
192
+ svg {
193
+ color: ${i=>i.theme.colors.primary};
194
+ }
195
+ }
196
+ margin-right: ${t.sp2};
197
+ `,Ce=o(H)`
198
+ margin-left: ${t.sp2};
199
+ `,je=o.div`
200
+ width: 200px;
201
+ height: ${t.sp4};
202
+ `;export{Me as CustomerOnboardingProductSuitePage,Me as default};
@@ -1,4 +1,4 @@
1
- import{av as FA,aw as Ee,V as e,ax as Yt,F as Q,ay as Ht,az as Kt,o,aA as Nt,G as LA,p as u,aB as Gt,aC as zt,aD as Wt,aE as Be,aF as qt,aG as Xt,aH as Vt,aI as Zt,aJ as $t,aK as _t,aL as P,J as eA,aM as N,aN as Y,aO as X,aP as D,a9 as Ar,aQ as Ke,x as Ne,ac as er,aR as tr,y as AA,aS as G,aT as tA,am as rA,aU as Ge,aV as J,aW as U,aX as qA,ao as rr,g as nA,aY as or,aZ as ar,a_ as ir,a$ as gr,ai as F,b0 as JA,u as S,aq as XA,al as PA,b1 as ze,b2 as We,b3 as qe,b4 as nr,b5 as VA,a as Cr,d as sr,b6 as Er,b7 as Xe,b8 as dr,b9 as Br,ba as ZA,bb as lr,bc as Qr,bd as Ir,be as cr,T as Ve,b as hr,bf as pr,e as mr,bg as Ze,bh as $e,an as ur,bi as xr,ag as fr,as as _e}from"./index-Dnx8_gCi.js";import{a as t,P as k}from"./sentry-B0WgNUxa.js";import{n as g,a as wr,c as xA,k as R}from"./mui-BTtN6lbG.js";import{L as kr}from"./lottie-hIwSKdQS.js";import{bg as Dr,bh as At,EL as et}from"./zeni-epic-state-DnAAAEmj.js";import{v as yr}from"./DashboardSidebarBackgroundAnimation-B8Q-YA_s-CCN0cnLd.js";import{L as jr,k as vr}from"./ArAgingChart-DeE5uhiT-D8be3NMH.js";import{E as br,I as de,A as tt}from"./ReloadCard-DETUOoLJ-_Fd6TJ7d.js";import{L as Mr,O as UA,c as lA}from"./TopExCard-Bs4nI9Q9-BvGdik_r.js";import{Y as Sr,X as Rr,H as Lr,P as Fr,G as Jr}from"./RevenueChart-B711QWTX-D44_xm0q.js";import Pr from"./InsightsCardStack-x_tohY2Z-BhRbnJpc.js";import{a as Ur}from"./AccountsPromoCardStack-BLcpWU3T-BEekLLpR.js";import{c as V}from"./SummaryCard-vWpHXMPE-tDmDqGFE.js";import{t as Or,o as Tr}from"./arrow-south-east-round-PEovUgvH-B9_UwdI_.js";import{N as gA}from"./NavigationArrow-CKvBs9-h-DGrwATOY.js";import{k as $A}from"./NavigationDots-BdcVrwsL-DI6uVlju.js";import Yr from"./CompanyPassportCard-BwiwJ82k-C2q6dbpi.js";import{C as Hr}from"./gift-box-Cmt9OgIZ-BWCTqneo.js";import Kr from"./InformationCardStack-CHVjIv01-CQbjGUU9.js";import{p as rt}from"./chartTypes-n3TS0IBf-WFvbt09f.js";import{h as Nr}from"./toCOABalancesWithID-BzzH0Io4-bO3H7SPc.js";import{V as Gr}from"./toChartData-Bl-lEYbQ-DPT0fPCU.js";import{r as zr,i as Wr}from"./graphic-no-data-net-burn-l-CzmycA0m-BQAFQuCs.js";import{N as qr,J as Xr}from"./PromoBaseCards-6vRaZnUg-DGHSU3hX.js";import{r as Vr}from"./core-CIefpDlV.js";import{N as Zr,I as $r}from"./VideoPlayer-Dy6rImBJ-Nn9JCyBx.js";import _r from"./ConfettiBurst-CapRdPno-B98cKZne.js";import{F as Ao,G as eo,Y as to,X as ro,R as oo}from"./recharts-BfU_srYC.js";import"./liveblocks-CrODURpx.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./graphic-no-data-l-DU4J8fDt-C8GXOUxr.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]="5843b34c-39c4-4cc3-81d5-57ad8f3438ba",A._sentryDebugIdIdentifier="sentry-dbid-5843b34c-39c4-4cc3-81d5-57ad8f3438ba")}catch{}})();const ao=g(tA)`
1
+ import{av as FA,aw as Ee,V as e,ax as Yt,F as Q,ay as Ht,az as Kt,o,aA as Nt,G as LA,p as u,aB as Gt,aC as zt,aD as Wt,aE as Be,aF as qt,aG as Xt,aH as Vt,aI as Zt,aJ as $t,aK as _t,aL as P,J as eA,aM as N,aN as Y,aO as X,aP as D,a9 as Ar,aQ as Ke,x as Ne,ac as er,aR as tr,y as AA,aS as G,aT as tA,am as rA,aU as Ge,aV as J,aW as U,aX as qA,ao as rr,g as nA,aY as or,aZ as ar,a_ as ir,a$ as gr,ai as F,b0 as JA,u as S,aq as XA,al as PA,b1 as ze,b2 as We,b3 as qe,b4 as nr,b5 as VA,a as Cr,d as sr,b6 as Er,b7 as Xe,b8 as dr,b9 as Br,ba as ZA,bb as lr,bc as Qr,bd as Ir,be as cr,T as Ve,b as hr,bf as pr,e as mr,bg as Ze,bh as $e,an as ur,bi as xr,ag as fr,as as _e}from"./index-D4DdpT1f.js";import{a as t,P as k}from"./sentry-Dlcq8VjX.js";import{n as g,a as wr,c as xA,k as R}from"./mui-CooLgaJO.js";import{L as kr}from"./lottie-BGCmjFH9.js";import{bg as Dr,bh as At,EL as et}from"./zeni-epic-state-pmiItBju.js";import{v as yr}from"./DashboardSidebarBackgroundAnimation-DVTdlTEZ-LE3GU0DJ.js";import{L as jr,k as vr}from"./ArAgingChart-B2zTJJgb-BW-4V4KX.js";import{E as br,I as de,A as tt}from"./ReloadCard-0KQtayY--Cg4JfrF6.js";import{L as Mr,O as UA,c as lA}from"./TopExCard-Qae08TpE-B5FSxtbi.js";import{Y as Sr,X as Rr,H as Lr,P as Fr,G as Jr}from"./RevenueChart-4kIDtnAc-WBQ50ylJ.js";import Pr from"./InsightsCardStack-dkuf5D9A-Duqx5-xn.js";import{a as Ur}from"./AccountsPromoCardStack-B5Mri6qW-C55uOtTG.js";import{c as V}from"./SummaryCard-CSkw4qa9-i9KCkyV3.js";import{t as Or,o as Tr}from"./arrow-south-east-round-PEovUgvH-yHNADvS4.js";import{N as gA}from"./NavigationArrow-C1HvrCIx-DFOmLMLf.js";import{k as $A}from"./NavigationDots-Ttv3r4BR-v2ws1TaA.js";import Yr from"./CompanyPassportCard-JfMVwFHV-DIdzwTm1.js";import{C as Hr}from"./gift-box-Cmt9OgIZ-Bn-y1hvl.js";import Kr from"./InformationCardStack-CgSYiHdK-Cf9Cjw1k.js";import{p as rt}from"./chartTypes-BDwrrz9S-CO6_cPbC.js";import{h as Nr}from"./toCOABalancesWithID-C8uaUoxX-n7EZ1iwJ.js";import{V as Gr}from"./toChartData-CTG-a8va-B2RC0Eyi.js";import{r as zr,i as Wr}from"./graphic-no-data-net-burn-l-CzmycA0m-C9dTXMJH.js";import{N as qr,J as Xr}from"./PromoBaseCards-BESaQCrl-gKsHUW_9.js";import{r as Vr}from"./core-CqdPXR9B.js";import{N as Zr,I as $r}from"./VideoPlayer-Cfh9VY-B-CLXI1KSM.js";import _r from"./ConfettiBurst-BtmMysff-DXW2t6JP.js";import{F as Ao,G as eo,Y as to,X as ro,R as oo}from"./recharts-DHPcYqKb.js";import"./liveblocks-DXNKZvWw.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";import"./graphic-no-data-l-DU4J8fDt-a_iKaRv1.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]="39834fde-dbbc-4b91-8bab-54e95b3311fe",A._sentryDebugIdIdentifier="sentry-dbid-39834fde-dbbc-4b91-8bab-54e95b3311fe")}catch{}})();const ao=g(tA)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,le=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{J as B,g as Z,F as _,aw as ke,V as s,bB as qe,T as Je,G as Qe,bC as Xe,o as d,y as N,aD as X,bD as Ke,bE as et,ai as oe,u as j,b3 as tt,aV as st,x as Oe,r as Be,p as D,aq as Pe,aU as ot,ba as at,an as nt,bF as it,at as rt,bG as ct,bH as ne,bI as lt,as as dt,am as pt,bJ as ut,bK as gt}from"./index-Dnx8_gCi.js";import{a as S,P as K}from"./sentry-B0WgNUxa.js";import{n as u,k as Ie}from"./mui-BTtN6lbG.js";import{bg as mt,EN as ht,E7 as ft,EO as bt,EP as xt,EQ as _t,ER as wt,ES as yt,ET as St,EU as vt,EV as $t}from"./zeni-epic-state-DnAAAEmj.js";import{m as Y,l as se}from"./analyticsHelper-CzevEN9D-C9y7y7M8.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-DSDclygb-D5Zoy-OT.js";import{q as kt}from"./InsightsSection-D7g00fg7-BNrxlueb.js";import{k as Ot,q as Bt,U as xe,H as ee,N as pe}from"./detailCommon-D3YbmSu3-DW6HHLj8.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-B711QWTX-D44_xm0q.js";import{C as Nt}from"./NoDataChart-BbyxZE2g-DftC8NAQ.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-fD5vvYGO-BbCK6XMB.js";import{b as Ne}from"./TimeframeSwitcher-BYXKRKtc-EVZ4kF7R.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-DUo-9gOh-Cw4xLjxV.js";import{S as zt,M as At,g as Et,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-BCmFQbuz-BKHYuXjj.js";import{d as Mt}from"./NoDataTable-BNZWGvtm-zaSGOsX8.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-DT4LUXl9-oCV9zxla.js";import{d as he}from"./mapLoadingInProgressToTreeNode-BArKDqgr-DI-rDhH2.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./NavigationDots-BdcVrwsL-DI6uVlju.js";import"./chartTypes-n3TS0IBf-WFvbt09f.js";import"./toCOABalancesWithID-BzzH0Io4-bO3H7SPc.js";import"./toChartData-Bl-lEYbQ-DPT0fPCU.js";import"./AccountRow-B9ZIzZy7-nqAM-ApD.js";import"./graphic-no-data-l-DU4J8fDt-C8GXOUxr.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]="eb027f6a-989d-4c20-b2e6-f7bef594482d",e._sentryDebugIdIdentifier="sentry-dbid-eb027f6a-989d-4c20-b2e6-f7bef594482d")}catch{}})();const Ft=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.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"}),S.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"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.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"}),S.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"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.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"})),Vt=u.div`
1
+ import{J as B,g as Z,F as _,aw as ke,V as s,bB as qe,T as Je,G as Qe,bC as Xe,o as d,y as N,aD as X,bD as Ke,bE as et,ai as oe,u as j,b3 as tt,aV as st,x as Oe,r as Be,p as D,aq as Pe,aU as ot,ba as at,an as nt,bF as it,at as rt,bG as ct,bH as ne,bI as lt,as as dt,am as pt,bJ as ut,bK as gt}from"./index-D4DdpT1f.js";import{a as S,P as K}from"./sentry-Dlcq8VjX.js";import{n as u,k as Ie}from"./mui-CooLgaJO.js";import{bg as mt,EN as ht,E7 as ft,EO as bt,EP as xt,EQ as _t,ER as wt,ES as yt,ET as St,EU as vt,EV as $t}from"./zeni-epic-state-pmiItBju.js";import{m as Y,l as se}from"./analyticsHelper-C35dM-yG-D6b8wU4U.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-wrUJSIfk-Dns-QQbX.js";import{q as kt}from"./InsightsSection-CUk29Ace-BKDJK0uo.js";import{k as Ot,q as Bt,U as xe,H as ee,N as pe}from"./detailCommon-CM8F8nQy-BjrXwaKv.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-4kIDtnAc-WBQ50ylJ.js";import{C as Nt}from"./NoDataChart--T7v827k-zXeqjU35.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-C9jo91ZR-BexBx71o.js";import{b as Ne}from"./TimeframeSwitcher-453JT8qD-dl4gBr1v.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-DgteU0nB-DwU6xqcB.js";import{S as zt,M as At,g as Et,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-B77EOrVX-heqCPLrc.js";import{d as Mt}from"./NoDataTable-cJmfr934-D57XH4Vn.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BPtN2Cj0-BxEY8256.js";import{d as he}from"./mapLoadingInProgressToTreeNode-4ruPPd2Y-CXJTu75z.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";import"./NavigationDots-Ttv3r4BR-v2ws1TaA.js";import"./chartTypes-BDwrrz9S-CO6_cPbC.js";import"./toCOABalancesWithID-C8uaUoxX-n7EZ1iwJ.js";import"./toChartData-CTG-a8va-B2RC0Eyi.js";import"./AccountRow-FmhkZVL4-BiCaU5gp.js";import"./graphic-no-data-l-DU4J8fDt-a_iKaRv1.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]="249c87a7-442b-4900-a182-434351484288",e._sentryDebugIdIdentifier="sentry-dbid-249c87a7-442b-4900-a182-434351484288")}catch{}})();const Ft=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.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"}),S.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"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.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"}),S.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"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.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"})),Vt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{av as u,V as o,b5 as b,o as p}from"./index-Dnx8_gCi.js";import{a as s}from"./sentry-B0WgNUxa.js";import{a as h,n as m}from"./mui-BTtN6lbG.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]="a74d6bf1-0ec9-48c1-abf5-55d92e19ccd4",e._sentryDebugIdIdentifier="sentry-dbid-a74d6bf1-0ec9-48c1-abf5-55d92e19ccd4")}catch{}})();const v=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),r=e||n,d=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,l]=u(d,r),[t,c]=s.useState(null);a!=null&&t==null&&!l&&c(a);const f=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(b,{style:{width:"inherit",height:"inherit",display:"block"},animationData:t,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
1
+ import{av as u,V as o,b5 as b,o as p}from"./index-D4DdpT1f.js";import{a as s}from"./sentry-Dlcq8VjX.js";import{a as h,n as m}from"./mui-CooLgaJO.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]="a74d6bf1-0ec9-48c1-abf5-55d92e19ccd4",e._sentryDebugIdIdentifier="sentry-dbid-a74d6bf1-0ec9-48c1-abf5-55d92e19ccd4")}catch{}})();const v=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),r=e||n,d=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,l]=u(d,r),[t,c]=s.useState(null);a!=null&&t==null&&!l&&c(a);const f=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(b,{style:{width:"inherit",height:"inherit",display:"block"},animationData:t,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aN as y,hz as u,J as $,V as l,o as i,al as c,am as w}from"./index-Dnx8_gCi.js";import{n as t}from"./mui-BTtN6lbG.js";import{g as k}from"./BoxItem-Cr0Y9YBV-Bmt5X20Y.js";import{o as v}from"./commonDimensions-6BcP8EhU-Dj5Bh5k0.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]="aef36d44-1977-46fb-9d81-f7048888c76e",e._sentryDebugIdIdentifier="sentry-dbid-aef36d44-1977-46fb-9d81-f7048888c76e")}catch{}})();function K({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:f,logo:p,summary:x,direction:b,status:m}=e,g=r.length>0?r:x,a=y("0,0.00",f),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(N,{src:p?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(T,{children:g}),s!=null?l.jsxs(C,{windowSize:o,children:[l.jsx(P,{windowSize:o}),l.jsx(E,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(V,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aN as y,hz as u,J as $,V as l,o as i,al as c,am as w}from"./index-D4DdpT1f.js";import{n as t}from"./mui-CooLgaJO.js";import{g as k}from"./BoxItem-B0bHU_KA-CwJAi_XO.js";import{o as v}from"./commonDimensions-Pu55v5lV-fIykEmeD.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]="3628e10d-0b82-4897-a48b-3bf8daac37f7",e._sentryDebugIdIdentifier="sentry-dbid-3628e10d-0b82-4897-a48b-3bf8daac37f7")}catch{}})();function K({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:p,logo:b,summary:f,direction:x,status:m}=e,g=r.length>0?r:f,a=y("0,0.00",p),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(N,{src:b?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(T,{children:g}),s!=null?l.jsxs(C,{windowSize:o,children:[l.jsx(P,{windowSize:o}),l.jsx(E,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(V,{windowSize:o,children:x==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -1,4 +1,4 @@
1
- import{g as M,J as S,V as t,bB as I,b3 as F,hI as Y,o,F as z,p as u,cs as C,de as E,df as _,d9 as B,dg as L,y as T,ai as R,al as V,u as g}from"./index-Dnx8_gCi.js";import{a as x}from"./sentry-B0WgNUxa.js";import{n as a}from"./mui-BTtN6lbG.js";import{bh as A}from"./zeni-epic-state-DnAAAEmj.js";import{$ as J}from"./BoxItem-Cr0Y9YBV-Bmt5X20Y.js";import{o as N}from"./commonDimensions-6BcP8EhU-Dj5Bh5k0.js";import{H as P}from"./DepositAccTransactionItem-DZnqI7IQ-D6E_iN90.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.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]="6a781549-3f6f-4eab-a283-bbb123c55758",e._sentryDebugIdIdentifier="sentry-dbid-6a781549-3f6f-4eab-a283-bbb123c55758")}catch{}})();const l=z.getLocalizedStrings(),H={listItemMargin:new T(g[3],g[8])};function X(e){const i=E(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),c=_(i,r=>r.length>0);return B(c,r=>({date:r[0].transactionDate,transactions:L(r,m=>m.transactionDate,"desc")}))}const q=Y(X),pe=({transactionListView:e,onBackClick:i})=>{const c=M(),r=S(),m=x.createRef(),p=x.useRef(null),d=q(e.transactions),k=e.depositAccountName,f=d.length===0,j=n=>f===!1?d[n].transactions.length*N.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=d[n];return t.jsx(y,{style:{...h},children:t.jsx(w,{windowSize:r,children:t.jsxs($,{children:[t.jsx(Q,{children:A().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,b)=>t.jsx(P,{data:D,boxType:J(b,s.transactions.length)},b))})]})})})}else return t.jsx(y,{style:{...h},children:t.jsx(G,{children:t.jsx(w,{windowSize:r,children:t.jsx(O,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(K,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:c.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(F,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:d.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},y=a.div``,w=a.div`
1
+ import{g as M,J as S,V as t,bB as I,b3 as F,hI as Y,o,F as z,p as u,cs as C,de as E,df as _,d9 as B,dg as L,y as T,ai as R,al as V,u as g}from"./index-D4DdpT1f.js";import{a as x}from"./sentry-Dlcq8VjX.js";import{n as a}from"./mui-CooLgaJO.js";import{bh as A}from"./zeni-epic-state-pmiItBju.js";import{$ as J}from"./BoxItem-B0bHU_KA-CwJAi_XO.js";import{o as N}from"./commonDimensions-Pu55v5lV-fIykEmeD.js";import{H as P}from"./DepositAccTransactionItem-BbKLxsPR-Dpo7wVCS.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.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]="ebc90bb5-cbe3-4bc5-8b91-4e811f2f60b5",e._sentryDebugIdIdentifier="sentry-dbid-ebc90bb5-cbe3-4bc5-8b91-4e811f2f60b5")}catch{}})();const l=z.getLocalizedStrings(),H={listItemMargin:new T(g[3],g[8])};function X(e){const i=E(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),c=_(i,r=>r.length>0);return B(c,r=>({date:r[0].transactionDate,transactions:L(r,m=>m.transactionDate,"desc")}))}const q=Y(X),be=({transactionListView:e,onBackClick:i})=>{const c=M(),r=S(),m=x.createRef(),b=x.useRef(null),d=q(e.transactions),k=e.depositAccountName,p=d.length===0,j=n=>p===!1?d[n].transactions.length*N.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(p===!1){const s=d[n];return t.jsx(y,{style:{...h},children:t.jsx(w,{windowSize:r,children:t.jsxs($,{children:[t.jsx(Q,{children:A().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,f)=>t.jsx(P,{data:D,boxType:J(f,s.transactions.length)},f))})]})})})}else return t.jsx(y,{style:{...h},children:t.jsx(G,{children:t.jsx(w,{windowSize:r,children:t.jsx(O,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(K,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:c.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:b.current!=null?b:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(F,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:b,itemKey:s=>s,itemCount:d.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},y=a.div``,w=a.div`
2
2
  margin: ${e=>`${o.sp0} ${H.listItemMargin.valuePx(e.windowSize)}`};
3
3
  `,G=a.div`
4
4
  display: flex;
@@ -63,4 +63,4 @@ import{g as M,J as S,V as t,bB as I,b3 as F,hI as Y,o,F as z,p as u,cs as C,de a
63
63
  border-radius: 2px;
64
64
  }
65
65
  }
66
- `;export{pe as default};
66
+ `;export{be as default};
@@ -1,4 +1,4 @@
1
- import{J as U,a9 as J,F as S,cE as O,aD as q,V as n,co as G,cp as H,cq as K,ac as Q,aR as X,y as b,eU as Y,o as Z,b9 as ee,u as o}from"./index-Dnx8_gCi.js";import{a as C}from"./sentry-B0WgNUxa.js";import{n as h}from"./mui-BTtN6lbG.js";import{bi as T}from"./zeni-epic-state-DnAAAEmj.js";import{e as ne}from"./BankAccountSection-Bm8vdxFd-iMMvW9M5.js";import{M as te}from"./MagicLinkTitleSection-B726bP_P-Ds-g77rC.js";import{W as ae,A as oe}from"./BankAccountWarningSection-M3w6kP33-Csqm1mAu.js";import{T as ie}from"./MailingDetailsSection-IQJY4Yl0-Do7gR0xz.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]="a80ed78b-3051-402a-9879-8662c29b4081",e._sentryDebugIdIdentifier="sentry-dbid-a80ed78b-3051-402a-9879-8662c29b4081")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},D="domesticWireDetailsPage",k="bankAccountSection",j="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:$,isMagicLink:g,currencySymbol:v,amount:P,onSaveHandler:R,onWireDetailsUpdated:z,onFetchBankName:I,onAddressClick:L,onBackClick:w}=e,u=U(),c=J({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[E,f]=C.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{f(!1),c.reset(),w?.()},onCancelClick:()=>{f(!1)}},F=async(p,m)=>{const d=m[k].bankRoutingNumber;z(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&I?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&O(()=>F(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&R("wire")}),N=!q(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[E===!0?n.jsx(G,{titleComponent:n.jsx(K,{children:a.discardTitle}),descriptionComponent:n.jsx(H,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:$??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:w,setShowConfirmationPopup:f}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(Q,{...c,children:n.jsxs("form",{id:B(D),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:j,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:B(D),primaryBtn:{label:g?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?f(!0):(c.reset(),w?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[j]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
1
+ import{J as U,a9 as J,F as S,cE as O,aD as q,V as n,co as G,cp as H,cq as K,ac as Q,aR as X,y as b,eU as Y,o as Z,b9 as ee,u as o}from"./index-D4DdpT1f.js";import{a as C}from"./sentry-Dlcq8VjX.js";import{n as h}from"./mui-CooLgaJO.js";import{bi as T}from"./zeni-epic-state-pmiItBju.js";import{e as ne}from"./BankAccountSection-CDKiTWgn-CtT_fqlj.js";import{M as te}from"./MagicLinkTitleSection-BKIOmha4-ChpstG69.js";import{W as ae,A as oe}from"./BankAccountWarningSection-tSnRJm3S-Xh7INFxm.js";import{T as ie}from"./MailingDetailsSection-BwgWy_VZ-Do6nH1qr.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]="061ac16d-0ec6-4403-b070-ba9dec28d430",e._sentryDebugIdIdentifier="sentry-dbid-061ac16d-0ec6-4403-b070-ba9dec28d430")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},D="domesticWireDetailsPage",k="bankAccountSection",j="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:$,isMagicLink:g,currencySymbol:v,amount:P,onSaveHandler:R,onWireDetailsUpdated:z,onFetchBankName:I,onAddressClick:L,onBackClick:w}=e,u=U(),c=J({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[E,f]=C.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{f(!1),c.reset(),w?.()},onCancelClick:()=>{f(!1)}},F=async(p,m)=>{const d=m[k].bankRoutingNumber;z(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&I?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&O(()=>F(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&R("wire")}),N=!q(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[E===!0?n.jsx(G,{titleComponent:n.jsx(K,{children:a.discardTitle}),descriptionComponent:n.jsx(H,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:$??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:w,setShowConfirmationPopup:f}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(Q,{...c,children:n.jsxs("form",{id:B(D),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:j,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:B(D),primaryBtn:{label:g?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?f(!0):(c.reset(),w?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[j]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
2
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{V as t,c2 as it,o as s,J as he,c3 as nt,an as He,p as ue,y as W,x as lt,F,c4 as dt,bN as Ue,u as B,b9 as qe,al as R,bQ as ke,b as te,am as be,r as ae,g as We,bS as ct,c5 as xe,c6 as ge,T as Ge,c7 as Ze,bL as pt,ba as mt,ao as ye,c8 as Z,c9 as ft,ca as ht,bJ as ut,bR as bt,aq as xt,cb as gt,b_ as yt,at as $t}from"./index-Dnx8_gCi.js";import{a as h,P as $e}from"./sentry-B0WgNUxa.js";import{n,k as Je}from"./mui-BTtN6lbG.js";import{F4 as me,F5 as C,F6 as J,bL as P,F7 as X,F8 as we,F9 as U,bh as wt,Fa as k,Fb as Ft,Fc as vt,Fd as jt,Fe as Ot,Ff as Yt}from"./zeni-epic-state-DnAAAEmj.js";import{m as Dt}from"./analyticsHelper-CzevEN9D-C9y7y7M8.js";import{g as _t,x as kt}from"./ReportTableViewSelector-DSDclygb-D5Zoy-OT.js";import{t as Ct}from"./page-detail-CWX5S47F-vL4oE1Hd.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./CollapsableReportTable-DUo-9gOh-Cw4xLjxV.js";import"./AccountRow-B9ZIzZy7-nqAM-ApD.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]="064031a6-8cd7-490b-83b1-118eb515f526",e._sentryDebugIdIdentifier="sentry-dbid-064031a6-8cd7-490b-83b1-118eb515f526")}catch{}})();const Pt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function ie(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=J(r,e,a-1,o),{startOfTimeframeFY:l}=C(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return oe(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=C(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=k(l,e);const{fyYear:u}=k(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
1
+ import{V as t,c2 as it,o as s,J as he,c3 as nt,an as He,p as ue,y as W,x as lt,F,c4 as dt,bN as Ue,u as B,b9 as qe,al as R,bQ as ke,b as te,am as be,r as ae,g as We,bS as ct,c5 as xe,c6 as ge,T as Ge,c7 as Ze,bL as pt,ba as mt,ao as ye,c8 as Z,c9 as ft,ca as ht,bJ as ut,bR as bt,aq as xt,cb as gt,b_ as yt,at as $t}from"./index-D4DdpT1f.js";import{a as h,P as $e}from"./sentry-Dlcq8VjX.js";import{n,k as Je}from"./mui-CooLgaJO.js";import{F4 as me,F5 as C,F6 as J,bL as P,F7 as X,F8 as we,F9 as U,bh as wt,Fa as k,Fb as Ft,Fc as vt,Fd as jt,Fe as Ot,Ff as Yt}from"./zeni-epic-state-pmiItBju.js";import{m as Dt}from"./analyticsHelper-C35dM-yG-D6b8wU4U.js";import{g as _t,x as kt}from"./ReportTableViewSelector-wrUJSIfk-Dns-QQbX.js";import{t as Ct}from"./page-detail-CWX5S47F-D0SYshoo.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";import"./CollapsableReportTable-DgteU0nB-DwU6xqcB.js";import"./AccountRow-FmhkZVL4-BiCaU5gp.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]="e94cc966-c238-4e84-a8ac-4dc6c8a38011",e._sentryDebugIdIdentifier="sentry-dbid-e94cc966-c238-4e84-a8ac-4dc6c8a38011")}catch{}})();const Pt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function ie(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=J(r,e,a-1,o),{startOfTimeframeFY:l}=C(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return oe(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=C(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=k(l,e);const{fyYear:u}=k(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
2
2
  padding: ${s.sp3};
3
3
  border: 1px solid ${e=>e.borderColor.default};
4
4
  border-radius: ${s.sp1};
@@ -1,4 +1,4 @@
1
- import{J as s,V as i,bS as y,o as r,y as a,F as h,c1 as b,a as c,d as g,x as P,u as t,aN as k,j_ as L,j$ as D,k0 as _}from"./index-Dnx8_gCi.js";import{n as o}from"./mui-BTtN6lbG.js";import"./sentry-B0WgNUxa.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.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]="eeba55af-7ebc-45ba-ba6b-ffad0ebfa547",e._sentryDebugIdIdentifier="sentry-dbid-eeba55af-7ebc-45ba-ba6b-ffad0ebfa547")}catch{}})();const l={drawerItemPadding:new a(t[3],t[3],t[4]),styledDivMarginLeft:new a(t[6],t[7]),verticalLineLeftMargin:new a(32,42),iconWidth:new a(t[5],t[6]),iconHeight:new a(t[5],t[6]),iconSize:new a(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,C=({rewardsPlan:e})=>{const n=[I(),R(),B({rewardsPlan:e})],d=s();return i.jsx(A,{children:n.map((j,z)=>i.jsxs(F,{children:[i.jsx(J,{children:j}),z<n.length-1?i.jsx(H,{windowSize:d}):null]},`step_${z}`))})},I=()=>{const e=s(),n=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(M,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},R=()=>{const e=s(),n=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},B=({rewardsPlan:e})=>{const n=s(),d=x.item3;return i.jsxs(p,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(E,{windowSize:n})}),i.jsx(f,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(S,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},p=o.div`
1
+ import{J as s,V as i,bS as y,o as r,y as a,F as h,c1 as b,a as c,d as g,x as P,u as t,aN as k,j_ as L,j$ as D,k0 as _}from"./index-D4DdpT1f.js";import{n as o}from"./mui-CooLgaJO.js";import"./sentry-Dlcq8VjX.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./zeni-epic-state-pmiItBju.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.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]="eeba55af-7ebc-45ba-ba6b-ffad0ebfa547",e._sentryDebugIdIdentifier="sentry-dbid-eeba55af-7ebc-45ba-ba6b-ffad0ebfa547")}catch{}})();const l={drawerItemPadding:new a(t[3],t[3],t[4]),styledDivMarginLeft:new a(t[6],t[7]),verticalLineLeftMargin:new a(32,42),iconWidth:new a(t[5],t[6]),iconHeight:new a(t[5],t[6]),iconSize:new a(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,C=({rewardsPlan:e})=>{const n=[I(),R(),B({rewardsPlan:e})],d=s();return i.jsx(A,{children:n.map((j,z)=>i.jsxs(F,{children:[i.jsx(J,{children:j}),z<n.length-1?i.jsx(H,{windowSize:d}):null]},`step_${z}`))})},I=()=>{const e=s(),n=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(M,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},R=()=>{const e=s(),n=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},B=({rewardsPlan:e})=>{const n=s(),d=x.item3;return i.jsxs(p,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(E,{windowSize:n})}),i.jsx(f,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(S,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},p=o.div`
2
2
  border: 1px solid ${e=>e.theme.colors.grey3};
3
3
  border-radius: ${r.sp2};
4
4
  box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.dropShadowNormal}`};
@@ -1,4 +1,4 @@
1
- import{J as ie,fR as ae,g as de,a9 as pe,aQ as ce,V as t,co as ue,ap as me,cp as ge,cq as fe,gO as he,cu as ye,o as n,bS as be,aP as U,ac as ve,aR as xe,y as P,F as $e,cA as we,fU as Re,fV as je,fW as Ce,b9 as Ie,p as W,cZ as Oe,u}from"./index-Dnx8_gCi.js";import{a as w}from"./sentry-B0WgNUxa.js";import{n as l}from"./mui-BTtN6lbG.js";import{FB as _e,bg as ke}from"./zeni-epic-state-DnAAAEmj.js";import{f as Pe}from"./AllUserItems-CzugF5fn-BYhJDkGl.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./LabeledUserSingleSelectWithSubtitlesField-CE332GjA-B_uNoSAj.js";import"./RoleWithToolTip-CkpqxMzB-DW17agFY.js";import"./LabeledZeniRolesDropDownField-DU4-ho4X-CcdwnXmo.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]="dc0dd4b9-b98c-471b-b7a9-2e6e64439920",e._sentryDebugIdIdentifier="sentry-dbid-dc0dd4b9-b98c-471b-b7a9-2e6e64439920")}catch{}})();const C={containerPaddingTop:new P(u[3],u[3]),containerPaddingLeft:new P(u[3],u[6],u[6]),containerPaddingRight:new P(u[3],u[6],u[8]),buttonWidth:new P(85,85)},Y="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:I,mode:p,isZeniTenant:T,onCloseClick:O,onResetClick:_,onSaveClick:m,onDeleteUser:M,onPeopleLocalDataUpdated:Q,analytics:E,isReimbursementDisabled:z,isZeniAccountsDisabled:q,isChargeCardDisabled:N,isTreasuryDisabled:Z,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const j=ie(),[X,B]=w.useState(!1),[H,K]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),S=w.useMemo(()=>ae(z,q,N,b,v,A,Z),[z,q,N,b,v,A,Z]),V=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:G(e.people,o,y,p,S,b,v),values:G(e.people,o,y,p,S,b,v)}),se=i.handleSubmit(()=>{F()&&m()},()=>{F(),console.warn("Edit Profile form error")}),F=()=>{const g=i.getValues();let r=!0;return g.userItems.forEach((f,x)=>{const{role:D,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const s=D.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(g,r)=>{const f=[],{userItems:x}=r,D=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(D!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(L=>_e(L.selectedOption?.value)).filter(L=>L!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=ke(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),Q(f)};w.useEffect(()=>{const g=i.watch((r,{name:f})=>{f!=null&&r!=null&&ne(f,r)});return()=>{g.unsubscribe()}});const oe=()=>{B(!0)},re={onOkClick:()=>{const g=e.person;E?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),M?.(e.person)},onCancelClick:()=>{B(!1)}},J=ce(e.person?.update),k=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{k==null&&J==="removeUsers"&&(B(!1),_?.())},[k,J]),t.jsxs(t.Fragment,{children:[X===!0?t.jsx(ue,{titleComponent:t.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:k==="removeUsers",isDisabled:k==="removeUsers",style:{background:V.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Ue,{children:t.jsx(Ee,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:V.colors.grey4,style:{zIndex:4},onCloseClick:O,isTitleAlignLeft:j==="small"}),t.jsxs(Te,{"data-testid":U("edit-people-page-container"),windowSize:j,ref:te,children:[t.jsxs(Le,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Be,{children:[t.jsx(Se,{children:e.person?.user?.firstName?t.jsxs(De,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ne,{className:"delete-icon-wrapper","data-testid":U("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(qe,{windowsize:j})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${Y}_form`,onSubmit:se,children:t.jsx(Pe,{control:i.control,sectionId:R,deleteConfirmationIndex:H,updateDeleteConfirmationIndex:K,mode:p,isZeniTenant:T,classList:y,managersList:o,controllersList:I,customerRoleOptions:S,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:E})})})]}),t.jsx(xe,{formId:`${Y}_form`,"data-testid":U("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:C.buttonWidth.value(j)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:C.buttonWidth.value(j)},shouldResetOnCancel:!1,onClick:O},separatorStyle:{marginRight:n.sp4}})]})},G=(e,o,y,I,p,T,O)=>{const _=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:I==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:I!=="zeni_only"?{userRole:{selectedRole:Ce(e[0]?.role),allRootRole:je(T,O)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:_,selectedOption:_.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,Te=l.div`
1
+ import{J as ie,fR as ae,g as de,a9 as pe,aQ as ce,V as t,co as ue,ap as me,cp as fe,cq as ge,gO as he,cu as ye,o as n,bS as be,aP as U,ac as ve,aR as xe,y as P,F as $e,cA as we,fU as Re,fV as je,fW as Ce,b9 as Ie,p as W,cZ as Oe,u}from"./index-D4DdpT1f.js";import{a as w}from"./sentry-Dlcq8VjX.js";import{n as l}from"./mui-CooLgaJO.js";import{FB as _e,bg as ke}from"./zeni-epic-state-pmiItBju.js";import{f as Pe}from"./AllUserItems-vOFCgjs7-BawEw1bw.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";import"./LabeledUserSingleSelectWithSubtitlesField-B6q4n0f5-BWHNFjm5.js";import"./RoleWithToolTip-CjvIxkPO-Bi_70Hu8.js";import"./LabeledZeniRolesDropDownField-B-0ZfQFs-BLpCJZWp.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]="2da260ff-b52d-4d75-9bf1-77ed5d78839c",e._sentryDebugIdIdentifier="sentry-dbid-2da260ff-b52d-4d75-9bf1-77ed5d78839c")}catch{}})();const C={containerPaddingTop:new P(u[3],u[3]),containerPaddingLeft:new P(u[3],u[6],u[6]),containerPaddingRight:new P(u[3],u[6],u[8]),buttonWidth:new P(85,85)},Y="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:I,mode:p,isZeniTenant:T,onCloseClick:O,onResetClick:_,onSaveClick:m,onDeleteUser:M,onPeopleLocalDataUpdated:Q,analytics:E,isReimbursementDisabled:z,isZeniAccountsDisabled:q,isChargeCardDisabled:N,isTreasuryDisabled:Z,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const j=ie(),[X,B]=w.useState(!1),[H,K]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),S=w.useMemo(()=>ae(z,q,N,b,v,A,Z),[z,q,N,b,v,A,Z]),V=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:G(e.people,o,y,p,S,b,v),values:G(e.people,o,y,p,S,b,v)}),se=i.handleSubmit(()=>{F()&&m()},()=>{F(),console.warn("Edit Profile form error")}),F=()=>{const f=i.getValues();let r=!0;return f.userItems.forEach((g,x)=>{const{role:D,department:a,nonZeniRole:h,manager:c}=g;if(p==="zeni_only"){const s=D.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(f,r)=>{const g=[],{userItems:x}=r,D=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(D!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(L=>_e(L.selectedOption?.value)).filter(L=>L!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=ke(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}g.push(h)}}),Q(g)};w.useEffect(()=>{const f=i.watch((r,{name:g})=>{g!=null&&r!=null&&ne(g,r)});return()=>{f.unsubscribe()}});const oe=()=>{B(!0)},re={onOkClick:()=>{const f=e.person;E?.trackRemoveUserAccess(f.userRole.userRoles,f.userRole.userEmail),M?.(e.person)},onCancelClick:()=>{B(!1)}},J=ce(e.person?.update),k=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{k==null&&J==="removeUsers"&&(B(!1),_?.())},[k,J]),t.jsxs(t.Fragment,{children:[X===!0?t.jsx(ue,{titleComponent:t.jsx(ge,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(fe,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:k==="removeUsers",isDisabled:k==="removeUsers",style:{background:V.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Ue,{children:t.jsx(Ee,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:V.colors.grey4,style:{zIndex:4},onCloseClick:O,isTitleAlignLeft:j==="small"}),t.jsxs(Te,{"data-testid":U("edit-people-page-container"),windowSize:j,ref:te,children:[t.jsxs(Le,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Be,{children:[t.jsx(Se,{children:e.person?.user?.firstName?t.jsxs(De,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ne,{className:"delete-icon-wrapper","data-testid":U("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(qe,{windowsize:j})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${Y}_form`,onSubmit:se,children:t.jsx(Pe,{control:i.control,sectionId:R,deleteConfirmationIndex:H,updateDeleteConfirmationIndex:K,mode:p,isZeniTenant:T,classList:y,managersList:o,controllersList:I,customerRoleOptions:S,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:E})})})]}),t.jsx(xe,{formId:`${Y}_form`,"data-testid":U("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:C.buttonWidth.value(j)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:C.buttonWidth.value(j)},shouldResetOnCancel:!1,onClick:O},separatorStyle:{marginRight:n.sp4}})]})},G=(e,o,y,I,p,T,O)=>{const _=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:I==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:I!=="zeni_only"?{userRole:{selectedRole:Ce(e[0]?.role),allRootRole:je(T,O)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:_,selectedOption:_.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,Te=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{aQ as li,g as ft,aw as wt,a9 as an,ay as Ii,aD as rn,J as Re,gg as ao,gi as ro,gj as lo,V as t,gE as so,ac as ln,co as di,cp as sn,cq as dn,aP as H,o as i,y as d,bB as Ti,bo as co,dt as uo,gk as mo,gv as cn,gq as Di,aR as un,ao as mn,gr as po,gF as _e,ez as Ke,f1 as ci,gG as Bt,F as fe,T as xt,gH as ho,p as j,x as pn,aq as ui,u as a,bx as go,gt as yo,cF as bo,eH as mi,gI as Mt,fg as Se,cJ as pi,fj as $e,cI as nt,ej as fo,ff as hn,b as Rt,cM as gn,cL as tt,er as Te,ai as hi,gJ as wo,fy as xo,cE as So,aV as ji,fs as $o,bw as vo,ba as yn,e as Co,ei as ko,b7 as Ft,gl as Io,bU as bn,a as gi,d as fn,c_ as wn,ch as Et,eU as To,b9 as Do,d2 as jo,fm as Oo,al as yi,r as Oi,bS as xn,b1 as Pi,cZ as Po,am as Lo,cQ as Sn,aN as Ro,gK as $n,gL as si,ga as Li,gM as At,cN as Ao,gf as zo,bJ as Bo,cY as Mo}from"./index-Dnx8_gCi.js";import{a as S,P as kt}from"./sentry-B0WgNUxa.js";import{n}from"./mui-BTtN6lbG.js";import{a as Fo}from"./liveblocks-CrODURpx.js";import{FI as Eo,bL as it,bP as vn,bo as Cn,bm as Ri,FJ as Ai,bh as bi}from"./zeni-epic-state-DnAAAEmj.js";import kn from"./InvoiceUploadSection-CW4hHmAi-BVn8WXx-.js";import{r as No,f as zt,d as bt,p as fi,u as zi,h as ke}from"./types-DyvtCprH-NFPm5TaG.js";import{I as Wo}from"./LabeledCreatableSingleSelectField-CoS6DIi_-ngKPnxm3.js";import{S as Uo}from"./CurrencySelectField-DY0HeU0G-BVDIGiRU.js";import{e as Vo}from"./BankAccountSection-Bm8vdxFd-iMMvW9M5.js";import{W as _o,A as Ho}from"./BankAccountWarningSection-M3w6kP33-Csqm1mAu.js";import{o as qo}from"./radio-default-CiSgisfh-CzTG_UVX.js";import"./core-CIefpDlV.js";import"./lottie-hIwSKdQS.js";import"./recharts-BfU_srYC.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./AttachmentView-CfacSLcU-C7ky07Zs.js";import"./uploadReceipts-DJRtId-4-C4iSXmi-.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]="38186de4-67f5-44b2-9118-a662ad946739",e._sentryDebugIdIdentifier="sentry-dbid-38186de4-67f5-44b2-9118-a662ad946739")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Ce}},dateFormat:Ko,common:Go}=fe.getLocalizedStrings(),Jo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const w=Re(),s=wt(),y=Mt(),$=`dashboard_${s.currentTenant?.companyId}`,P=ft(),{formState:{errors:I},getValues:L,trigger:q}=nt(),R=Go.strings.empty,T=L(Me(p,"distanceInMiles")),B=Bi.largeLabelWidth.value(w),te=L(Me(p,"class")),ne=r.find(z=>z.classId===te?.selectedOption),oe=Me(p,"class"),J=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||J)&&q(oe)},[te?.selectedOption,ne?.isDeleted,r,oe,q]);const K={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=z=>r.filter(ae=>ae.classId===z)[0]?.accountingClassNumber,Y=r.find(z=>z.classId===o.class),_={valueContainer:z=>({...z,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("transactionDate",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Sn,{isDisabled:m,label:{label:Ce.transactionDate,width:B},style:{paddingBottom:Bi.paddingBottom.valuePx(w),width:"auto"},dateField:{name:Me(p,"transactionDate"),placeholder:Ce.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Ko.visual.defaultInput,autoComplete:"off",maxDate:bi(),registerOptions:{required:!0,validate:z=>!!z}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:v?"disabled":void 0,style:{width:"auto"},label:{label:Ce.distanceInMiles,width:B},formattedTextField:{type:"number",name:Me(p,"distanceInMiles"),placeholder:Ce.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.amount`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("amount",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:"disabled",label:{label:Ce.amount,width:B},formattedTextField:{type:"number",name:Me(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:tt(Ce.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:T!=null&&f?.mileageUnitAmount!=null?`${c.currencySymbol}${f?.mileageUnitAmount} per mile x ${T}`:void 0})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.memo`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("memo",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(pi,{isDisabled:m,label:{label:Ce.memo,width:B},style:{width:"auto"},text:{type:"text",name:Me(p,"memo"),placeholder:tt(Ce.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:$n}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.class`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("class",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(si,{isLoading:!1,label:{label:Ce.department,width:B},additionalLabelInfo:ne?.isDeleted===!0&&Te(I,Me(p,"class"))?Ce.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Me(p,"class"),placeholder:tt(Ce.department),valueToId:z=>F(z),defaultValue:{selectedOption:Y?.classId,allOptions:Ke(k,[])},style:{width:"100%"},customStyleConfig:_,registerOptions:{required:!0,validate:z=>z?.selectedOption==null?!1:r.find(ae=>ae.classId===z?.selectedOption)?.isDeleted===!0?Ce.deletedClassError:!0}},style:{borderBottom:`1px solid ${P.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},It=n.div`
1
+ import{aQ as li,g as ft,aw as wt,a9 as an,ay as Ii,aD as rn,J as Re,gg as ao,gi as ro,gj as lo,V as t,gE as so,ac as ln,co as di,cp as sn,cq as dn,aP as H,o as i,y as d,bB as Ti,bo as co,dt as uo,gk as mo,gv as cn,gq as Di,aR as un,ao as mn,gr as po,gF as _e,ez as Ke,f1 as ci,gG as Bt,F as fe,T as xt,gH as ho,p as j,x as pn,aq as ui,u as a,bx as go,gt as yo,cF as bo,eH as mi,gI as Mt,fg as Se,cJ as pi,fj as $e,cI as nt,ej as fo,ff as hn,b as Rt,cM as gn,cL as tt,er as Te,ai as hi,gJ as wo,fy as xo,cE as So,aV as ji,fs as $o,bw as vo,ba as yn,e as Co,ei as ko,b7 as Ft,gl as Io,bU as bn,a as gi,d as fn,c_ as wn,ch as Et,eU as To,b9 as Do,d2 as jo,fm as Oo,al as yi,r as Oi,bS as xn,b1 as Pi,cZ as Po,am as Lo,cQ as Sn,aN as Ro,gK as $n,gL as si,ga as Li,gM as At,cN as Ao,gf as zo,bJ as Bo,cY as Mo}from"./index-D4DdpT1f.js";import{a as S,P as kt}from"./sentry-Dlcq8VjX.js";import{n}from"./mui-CooLgaJO.js";import{a as Fo}from"./liveblocks-DXNKZvWw.js";import{FI as Eo,bL as it,bP as vn,bo as Cn,bm as Ri,FJ as Ai,bh as bi}from"./zeni-epic-state-pmiItBju.js";import kn from"./InvoiceUploadSection-fjn4uF_l-DBvp2GNb.js";import{r as No,f as zt,d as bt,p as fi,u as zi,h as ke}from"./types-DyvtCprH-NFPm5TaG.js";import{I as Wo}from"./LabeledCreatableSingleSelectField-DSrFEwMO-BtK2wHhP.js";import{S as Uo}from"./CurrencySelectField-CbBlYqRB-D1pLCzjN.js";import{e as Vo}from"./BankAccountSection-CDKiTWgn-CtT_fqlj.js";import{W as _o,A as Ho}from"./BankAccountWarningSection-tSnRJm3S-Xh7INFxm.js";import{o as qo}from"./radio-default-CiSgisfh-aKay5Aup.js";import"./core-CqdPXR9B.js";import"./lottie-BGCmjFH9.js";import"./recharts-DHPcYqKb.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";import"./AttachmentView-vlVaH4YF-DjHAa-jm.js";import"./uploadReceipts-DJRtId-4-D8fSq3Gx.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]="b03795f5-ef38-4bca-b508-c4273e3e12e4",e._sentryDebugIdIdentifier="sentry-dbid-b03795f5-ef38-4bca-b508-c4273e3e12e4")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Ce}},dateFormat:Ko,common:Go}=fe.getLocalizedStrings(),Jo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const w=Re(),s=wt(),y=Mt(),$=`dashboard_${s.currentTenant?.companyId}`,P=ft(),{formState:{errors:I},getValues:L,trigger:q}=nt(),R=Go.strings.empty,T=L(Me(p,"distanceInMiles")),B=Bi.largeLabelWidth.value(w),te=L(Me(p,"class")),ne=r.find(z=>z.classId===te?.selectedOption),oe=Me(p,"class"),J=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||J)&&q(oe)},[te?.selectedOption,ne?.isDeleted,r,oe,q]);const K={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=z=>r.filter(ae=>ae.classId===z)[0]?.accountingClassNumber,Y=r.find(z=>z.classId===o.class),_={valueContainer:z=>({...z,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("transactionDate",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Sn,{isDisabled:m,label:{label:Ce.transactionDate,width:B},style:{paddingBottom:Bi.paddingBottom.valuePx(w),width:"auto"},dateField:{name:Me(p,"transactionDate"),placeholder:Ce.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Ko.visual.defaultInput,autoComplete:"off",maxDate:bi(),registerOptions:{required:!0,validate:z=>!!z}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:v?"disabled":void 0,style:{width:"auto"},label:{label:Ce.distanceInMiles,width:B},formattedTextField:{type:"number",name:Me(p,"distanceInMiles"),placeholder:Ce.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.amount`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("amount",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:"disabled",label:{label:Ce.amount,width:B},formattedTextField:{type:"number",name:Me(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:tt(Ce.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:T!=null&&f?.mileageUnitAmount!=null?`${c.currencySymbol}${f?.mileageUnitAmount} per mile x ${T}`:void 0})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.memo`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("memo",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(pi,{isDisabled:m,label:{label:Ce.memo,width:B},style:{width:"auto"},text:{type:"text",name:Me(p,"memo"),placeholder:tt(Ce.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:$n}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.class`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("class",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(si,{isLoading:!1,label:{label:Ce.department,width:B},additionalLabelInfo:ne?.isDeleted===!0&&Te(I,Me(p,"class"))?Ce.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Me(p,"class"),placeholder:tt(Ce.department),valueToId:z=>F(z),defaultValue:{selectedOption:Y?.classId,allOptions:Ke(k,[])},style:{width:"100%"},customStyleConfig:_,registerOptions:{required:!0,validate:z=>z?.selectedOption==null?!1:r.find(ae=>ae.classId===z?.selectedOption)?.isDeleted===!0?Ce.deletedClassError:!0}},style:{borderBottom:`1px solid ${P.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},It=n.div`
2
2
  display: flex;
3
3
  flex: 1;
4
4
  background-color: ${e=>e.theme.colors.grey3};