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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/dist/assets/{ACHDetailsPage-B_Q7H7vZ-BArjZITD.js → ACHDetailsPage-B_Q7H7vZ-CAJbLxpf.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-I03C8PSW-CA1s90X_.js → AIPerformancePage-I03C8PSW-B7Efxn7H.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-DzO1hdnr-qS-XRYJz.js → AccountInfoPage-DzO1hdnr-CuG-Edtu.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-sA3Gcnqp-CL_vzrPR.js → AccountInfoPageContent-sA3Gcnqp-CqzMwvje.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BZYAopgt-BqB0lffx.js → AccountLockedInfoModal-BZYAopgt-BKG0KqSC.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-ViRClh97-BJ7clwL9.js → AccountReconDetailsDrawerPage-ViRClh97-BJ3d9TWf.js} +1 -1
  7. package/dist/assets/{AccountRow-CjgOf4O_-Ct2P2Loi.js → AccountRow-CjgOf4O_-DsrFoIaP.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-DBAX4q__-Bh8ZoDe1.js → AccountsPromoCardStack-DBAX4q__-BU1of02S.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-DY8hJwaV-DctQgajm.js → AddAddressForCardDrawer-DY8hJwaV-Dy2CQCeN.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CyhCQttf-QhVHXwqj.js → AddToWalletPage-CyhCQttf-DBKSbNsK.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-R0h2M4Pa-BPDo1WWy.js → AgingReportsPage-R0h2M4Pa-DfUiWy6U.js} +1 -1
  12. package/dist/assets/{AllUserItems-DwCmOyqn-BB9lm9aN.js → AllUserItems-DwCmOyqn-Ca_U6xAP.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-BI6tCRap-BxldxrIf.js → ApAgingDetailPage-BI6tCRap-VGHckKj6.js} +1 -1
  14. package/dist/assets/{AppBasePage-5AD8mjXH-d-vQz4Ip.js → AppBasePage-5AD8mjXH-DXNy3X2t.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-ClNaiJrv-81YLeDsl.js → AppDrawerContent-ClNaiJrv-DOhjlrfG.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DLomT572-B5aUz-1X.js → ApprovalRulesSettingsPage-DLomT572-BqROAIDZ.js} +1 -1
  17. package/dist/assets/{ArAgingChart-B_Moc1is-BFtidcAa.js → ArAgingChart-B_Moc1is-twXbr3gP.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-ToyZzpCy-Czu_myTL.js → ArAgingDetailPage-ToyZzpCy-DSFJ7J15.js} +1 -1
  19. package/dist/assets/{AttachmentView-MrO6p_bS-C09_HPJU.js → AttachmentView-MrO6p_bS-DdIIWCPs.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DodjM0QY-JKnRSQjs.js → BankAccountSection-DodjM0QY-FOYtvxtd.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CEqWR1Zw-CrO5LlLC.js → BankAccountWarningSection-CEqWR1Zw-DcG6VJNo.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-Ctmnk9S5-CBdNOgni.js → BankConnectionsSettingsPage-Ctmnk9S5-D1sttFaQ.js} +1 -1
  23. package/dist/assets/{BillDetailPage-Cq-0ezLC-D59A1hVS.js → BillDetailPage-Cq-0ezLC-CQ2JwPYj.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-Cm-kRPtE-D0mYWAGA.js → BillPayApprovalRuleDetailPage-Cm-kRPtE-CizJkgjX.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DYYmdAGI-BXif4TSd.js → BillPayApprovalRulesPage-DYYmdAGI-CaqJ7fPH.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CRKiPcgQ-Db7mTibL.js → BillPayPromoPage-CRKiPcgQ-Qwlu9WFK.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-CRk1JPlQ-DfwvUS-u.js → BillPaySetUpPage-CRk1JPlQ-CyDsTlw7.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-CT9shZjq-Dml3b8SY.js → BillingSettingsPage-CT9shZjq-foYfZpNo.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CnBjsecR-KAi_DzA4.js → BillsBulkReviewDrawerPage-CnBjsecR-C0viHvKi.js} +1 -1
  30. package/dist/assets/{BoxItem-B7JwjEHS-GLe4e95X.js → BoxItem-B7JwjEHS-CL7o7jWo.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-AgvJgvCM-VS3BHlkX.js → BusinessVerificationPage-AgvJgvCM-D-vvZoSU.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-C-RZAUkR-Be1AIDeL.js → CardNumberSubText-C-RZAUkR-9J-OX21m.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-yBXvMZer-3Hcjmbs4.js → CashbackDetailPage-yBXvMZer-DTHRZQc6.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-8bFbBt9K-Dk9PfZM8.js → ChargeCardDetailPage-8bFbBt9K-CcmlSaOr.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-B9O5pzNX-D8EvLErv.js → ChargeCardListPage-B9O5pzNX-B0ay9GHm.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-BzxR1456-I7z_YYot.js → ChargeCardListTable-BzxR1456-C0IPFjmm.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-HfkJGYyo-CVlVN9y1.js → ChargeCardPaymentHistoryPage-HfkJGYyo-DYxLjugK.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-CB2uJfB7-CBexbuVE.js → ChargeCardPromoPage-CB2uJfB7-vjuDdoAd.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-D7kUlVmU-BYJYzLpH.js → ChargeCardSetupPage-D7kUlVmU-Cj0ngHug.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-DLea2BFg-Bzq1bWTF.js → ChargeCardStatementsPage-DLea2BFg-CbFR-9jS.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-UFggEfV1-DeaowvSn.js → CheckDepositDrawerPage-UFggEfV1-2M_nralI.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-BwRNFt9D-D3w6E4nX.js → CollapsableReportTable-BwRNFt9D-DkQB6FR6.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-Czd9OA0I-PpNc4QNR.js → CompanyOfficerDetailsSection-Czd9OA0I-fdFspTVp.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-nT7OaLPI-u1s9N1Jh.js → CompanyPassportCard-nT7OaLPI-DOp_Fa6S.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-CwgpT7Ns-1ZhURb_8.js → CompanyPassportPage-CwgpT7Ns-DYye0Mbt.js} +1 -1
  46. package/dist/assets/{CompleteProfile-C8v6Tp9b-B_GnJ4t1.js → CompleteProfile-C8v6Tp9b-BgHNwWmF.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-BHW_-EIc-D-04DoWU.js → ConfettiBurst-BHW_-EIc-B7rjmV9q.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cf9Qlgny.js → ConstrainedInnerElement-BeIpAPjB-CRLuvlCU.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CESiqFO_-VLQw4dZj.js → CreateOrEditVendorPage-CESiqFO_-D9OIq5cu.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-BjETaVSt-DsfV5dnO.js → CreditCardPaymentDrawerPage-BjETaVSt-DD87KhOm.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-BGGEXCd2-CqXdOTD3.js → CurrencySelectField-BGGEXCd2-CqnZuDCu.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-BGsyeSIX-DnrwiTHK.js → CustomerOnboardingActivationPage-BGsyeSIX-BxvMnRd-.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-9chhNs4E-B311UXRi.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DyX4Fa7j-D4Zm7ptp.js → CustomerOnboardingDetailPageSkeleton-DyX4Fa7j-DIWIRHiN.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-ColynPuZ-DWaQRfo3.js → CustomerOnboardingNoStepsPage-ColynPuZ-CO3zsctG.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-D8_HJZHo-m6dhWrve.js → CustomerOnboardingPage-D8_HJZHo-C_ZTnaoJ.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CNhvXIab-2akibz5Z.js → CustomerOnboardingProductSuitePage-CNhvXIab-mrtLUmCr.js} +1 -1
  58. package/dist/assets/{Dashboard-DzmaFlfB-D7bnMHAs.js → Dashboard-DzmaFlfB-jX1XIYRl.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-D0ovdT-D-CXiKEBw-.js → DashboardReportPage-D0ovdT-D-BZnoWdRU.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-BIfSgNTQ-CEApsFHe.js → DashboardSidebarBackgroundAnimation-BIfSgNTQ-BRTwO6W5.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-Rfwk9Wzj-BXfqyh-p.js → DepositAccTransactionItem-Rfwk9Wzj-DRd5TSF4.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-BYLJexH0-Dnn16jUZ.js → DepositAccTransactionListPage-BYLJexH0-CU_uU5V3.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-QIt_abg6-BNV70TDF.js → DomesticWireDetailsPage-QIt_abg6-BYeI33FK.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-FFq5FG7J-BLLib_kt.js → DownloadOverlay-FFq5FG7J-BxffjMiP.js} +1 -1
  65. package/dist/assets/{DrawerPage-J3bl7ehG-s3OJdWrr.js → DrawerPage-J3bl7ehG-DKbPB_Ra.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-DiNmwQ-b-8j5oiktm.js → EditPeoplePage-DiNmwQ-b-BdXwboXb.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-CEKrHDfb-1z4jpKGf.js → EditReimbursementDetailPage-CEKrHDfb-DQtSGLjr.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-Iu7CxuAk-C6MAecNn.js → EntityDetailPage-Iu7CxuAk-BFnuCmFE.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-CYzQp7PK-i354Lc1S.js → EntitySummarySection-CYzQp7PK-BHijUDd-.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Cc0dU-zf-Zw16F7j6.js → ExpenseAutomationOverviewPage-Cc0dU-zf-IqLC3Vcz.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-CmkSNeYT-DCM38YVH.js → ExpenseAutomationPage-CmkSNeYT-pp8OVGLR.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-BFL-q602-DvZaGtIb.js → ExpressPayPage-BFL-q602-hdUB9dZB.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-CRDanEsJ-Bg8uJihv.js → FeaturePreviewPage-CRDanEsJ-jalfqSk7.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-lbStDJrW-xgtm7xaE.js → FollowStepsSection-lbStDJrW-Cj9fAgat.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-CkF4IYGm-BvTLjQUn.js → GlobalReviewListPage-CkF4IYGm-xiLQAlyk.js} +1 -1
  76. package/dist/assets/{InformationCardStack-D2FybDBG-DK4mKE9F.js → InformationCardStack-D2FybDBG-DA5OKFLP.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-BIaW6smi-DdCDTa8t.js → InsightsCardStack-BIaW6smi-DePjBzQ8.js} +1 -1
  78. package/dist/assets/{InsightsSection-BGx81rZp-C-CAmhUU.js → InsightsSection-BGx81rZp-C6S_wS0Z.js} +1 -1
  79. package/dist/assets/{IntegrationsSettingsPage-DPyXd24p-hHMYoNkO.js → IntegrationsSettingsPage-DPyXd24p-DtD8EwOR.js} +1 -1
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-BaHqqJqA-DqqqsAXq.js → InternationalWireSwiftDetailsPage-BaHqqJqA-BtrRmBHY.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-X3YGxUsL-CGf1mCm5.js → InternationalWireVerificationPage-X3YGxUsL-V7RTjyCo.js} +1 -1
  82. package/dist/assets/{InviteFormPage-CuqQsolW-CdPGGN0E.js → InviteFormPage-CuqQsolW-BdBmhkLz.js} +1 -1
  83. package/dist/assets/{InvitePageListView-Cm5bZIk7-CHfi-pbC.js → InvitePageListView-Cm5bZIk7-DlzG5Wo-.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-TC4ogHvA-UvjbDy0v.js → InvitePeoplePage-TC4ogHvA-CVXEHCF3.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-Ch-_e-be-CsDyuXie.js → InvoiceUploadSection-Ch-_e-be-CUu8gu3T.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-CvXBQgkF-Pp1RMyhu.js → IssueChargeCardPage-CvXBQgkF-DKATdt1s.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-BzZgMorl-B2WmXaZs.js → LabeledAddressValue-BzZgMorl-D4JbW9BB.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-DS32l0xi-ffR5_IMa.js → LabeledAddressValueField-DS32l0xi-C3mF5HOv.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-1F7zUTc1-w--4KVN8.js → LabeledControlledCheckBoxField-1F7zUTc1-CyKvuq1M.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-uVIlAv9_-Cr-pLwSj.js → LabeledCountryMultiSelectField-uVIlAv9_-XG8oijhW.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CKBw0XOi-B5ltv_kq.js → LabeledCreatableSingleSelectField-CKBw0XOi-BwKzi1Sg.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-D8KhtX0K-Cm1Aq1-V.js → LabeledDocumentField-D8KhtX0K-DHDNNvc8.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-B8sjZQO1-DCDhvZp_.js → LabeledDropDownFormattedTextField-B8sjZQO1-BqCmJV-k.js} +1 -1
  94. package/dist/assets/{LabeledText-C8euMqJ4-Bp0HFgot.js → LabeledText-C8euMqJ4-Bnfanzgj.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DIzGOREd-Bc8PoiiU.js → LabeledUserSingleSelectWithSubtitlesField-DIzGOREd-tJ0wSROv.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DM9r7_1v-DcV8WbWY.js → LabeledZeniRolesDropDownField-DM9r7_1v-BGDO1SSv.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-C198tset-DnJPfd0_.js → LinkJETransactionPage-C198tset-Bkcl7h2F.js} +1 -1
  98. package/dist/assets/{LockCardPage-C9qzP7dO-D1jjqQ7s.js → LockCardPage-C9qzP7dO-YCDVKdLH.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-BUPGnvH6-Fyq6gZkv.js → LowBalancePopup-BUPGnvH6-CEHScimA.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-CHe6VKLu-BMPkOrFd.js → MagicLinkACHDetailsPage-CHe6VKLu-BD6UWN5G.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-v-awQlBJ-BH2pOvpz.js → MagicLinkDomesticWireDetailsPage-v-awQlBJ-yL7VNpNc.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-i7QBjsV2-D2g_4xZk.js → MagicLinkInternationalWireDetailsPage-i7QBjsV2--h-YRkKh.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-RrSqrccZ-BaK1c286.js → MagicLinkSuccessPage-RrSqrccZ-L80ZtfRw.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-jOwfp5xN-_Wo4I2rc.js → MagicLinkTitleSection-jOwfp5xN-q32J52mG.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-ChDYluge-BR5jsra0.js → MailingDetailsSection-ChDYluge-Cp-JGZ20.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CLSFozv6-BbHYYCjp.js → MyBankConnectionsSettingsPage-CLSFozv6-CPGbqnZy.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-CMh7keGL-sXZJss6g.js → MyPendingActivationChargeCardListPage-CMh7keGL-Cy8rznOa.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-BOoyzeho-CzfkubXL.js → MyProfileSettingsPage-BOoyzeho-CKDbDftC.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-DDXQ7Sku-vOTr_Eko.js → NavBarWithPicker-DDXQ7Sku-DCpmH80s.js} +1 -1
  110. package/dist/assets/{NavigationArrow-CocIRiS9-D_aGlTJv.js → NavigationArrow-CocIRiS9-CC-1y7TO.js} +1 -1
  111. package/dist/assets/{NavigationDots-BrrmV8fC-C-pOglim.js → NavigationDots-BrrmV8fC-DSzDsxhc.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-D9NZKb2--bmJmDKdY.js → NewGlobalMerchantPage-D9NZKb2--D5azo664.js} +1 -1
  113. package/dist/assets/{NoDataChart-CeZTA9_3-DPu9FogX.js → NoDataChart-CeZTA9_3-DpvGxlEF.js} +1 -1
  114. package/dist/assets/{NoDataTable-C6ryanfQ-BGrQrBkr.js → NoDataTable-C6ryanfQ-CIwrttrx.js} +1 -1
  115. package/dist/assets/{NotFoundPage-nSaJJjUJ-CGdqaTEf.js → NotFoundPage-nSaJJjUJ-DpC0a2rY.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-DmkglhXS-DKDAc0L1.js → NotificationSettingsPage-DmkglhXS-oVlhAERO.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-k8axPWyo-CLFHQwy0.js → NotificationsListConfig-k8axPWyo-CdpB6oB5.js} +1 -1
  118. package/dist/assets/{NotificationsPage-DAxEmGFd-Dm4A-ui3.js → NotificationsPage-DAxEmGFd-C8_INUy0.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-Doliski--xXvwkmsq.js → OpExByVendorPage-Doliski--DOjTQ8Qv.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-CZWZkEqC.js → OverlayContainerPage-D4QU0p4o-YCgiw6Em.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-CzegKoaH-B0moQiWV.js → PandLWithForecastPage-CzegKoaH-BdwSWIyh.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BwtVSnia-C7hSU-EC.js → PaymentAccountSetupBillingAddressSection-BwtVSnia-BQFedw-c.js} +1 -1
  123. package/dist/assets/{PeoplePage-DRSSRNHe-ClqNeLjT.js → PeoplePage-DRSSRNHe-BrlReQGF.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-DecdL2J--CA_efZNI.js → ProductsCarousel-DecdL2J--C-Ktacpl.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-CN21NM41-DhBLPQmY.js → PromoBaseCards-CN21NM41-C-6MmVSO.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-BZsRQAbh-D2VVdab9.js → QBOConnectionDialog-BZsRQAbh-pk51hHHk.js} +1 -1
  127. package/dist/assets/{QBOSetupSection-Cxm1PJVl-Cg3a5k3R.js → QBOSetupSection-Cxm1PJVl-Dmu08tt6.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-B4fcDJjA-I7W9UCB5.js → ReimbursementApprovalRuleDetailPage-B4fcDJjA-BMOtasfn.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRulesPage-ZBgAwbiy-aZ1DJzW_.js → ReimbursementApprovalRulesPage-ZBgAwbiy-C4qi0KUp.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-DlBiOxIu-CVqJmNIl.js → ReimbursementDetailPage-DlBiOxIu-qysnx9NM.js} +1 -1
  131. package/dist/assets/{ReimbursementPromoPage-BykDW05i-QdFq0_ja.js → ReimbursementPromoPage-BykDW05i-4NQsSvx-.js} +1 -1
  132. package/dist/assets/{ReimbursementSetUpPage-D-c1G4Yp-D8qpk2At.js → ReimbursementSetUpPage-D-c1G4Yp-gh8Qh-Rv.js} +1 -1
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-fcozBEdQ-Dwe_Lhpv.js → ReimbursementsBulkReviewDrawerPage-fcozBEdQ-BcXBkKcN.js} +1 -1
  134. package/dist/assets/{ReloadCard-B1utQoNe-BgcT-L3D.js → ReloadCard-B1utQoNe-Cbj5aZK_.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-Dv5KMclT-vopRz_0Z.js → ReportTableViewSelector-Dv5KMclT-sD56HQVN.js} +1 -1
  136. package/dist/assets/{ReportsPage-BYl25tCa-DJAhkt3B.js → ReportsPage-BYl25tCa-CwwuVA8V.js} +1 -1
  137. package/dist/assets/{RevenueChart-CsH-ABMc-DFPXH0sB.js → RevenueChart-CsH-ABMc-C4NseRkX.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-NtC0bXjE-CiX3qT7_.js → ReviewDetailsPage-NtC0bXjE-BsxH0yjP.js} +1 -1
  139. package/dist/assets/{ReviewOverlay-toDIU4kV-D7cJ-CaI.js → ReviewOverlay-toDIU4kV-DLV4kpAQ.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-5cp6EPl_-BFxPWWfA.js → RoleWithToolTip-5cp6EPl_-Bsoc7cC1.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CGhwVGkS-BkYGdAWq.js → ScheduleDetailsFixedAssetsPage-CGhwVGkS-DaMrprWq.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsPage-Dpm8LTi5-ceBvcbCK.js → ScheduleDetailsPage-Dpm8LTi5-BEfBMBPr.js} +1 -1
  143. package/dist/assets/{ScheduleSequenceTable-imPIfH2y-BnVlZREz.js → ScheduleSequenceTable-imPIfH2y-BYLTXJsM.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-BsccKPz_.js → ScreenRoutes-CtdBWwq2.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-D1u5qaQy-BfLHCJ7_.js → SetUpAccountSection-D1u5qaQy-xqADEENa.js} +1 -1
  146. package/dist/assets/{SignIn-DI57GJYJ-BrvCN9BT.js → SignIn-DI57GJYJ-CIFrNvtw.js} +1 -1
  147. package/dist/assets/{SignInScreen-Db8_UPVb.js → SignInScreen-Cntd4znj.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-DxZ5ZwoM-Dngtiu4y.js → SpendManagementListViewPage-DxZ5ZwoM-D1FSI0Wu.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-DASIEooE-BlZ1Uenl.js → SpendManagementPerTabPage-DASIEooE-C54XYqSw.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-fQq7rBRb-B6t2uSf8.js → SpendManagementSection-fQq7rBRb-Drowkbt2.js} +1 -1
  151. package/dist/assets/{StatementItem-CoVXNSDb-BShn5DUw.js → StatementItem-CoVXNSDb-BnVVldBd.js} +1 -1
  152. package/dist/assets/{StatementsPage-BvGLyYRh-DoAREV67.js → StatementsPage-BvGLyYRh-BwWslTQe.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-fb1FvNod-CKz_fWO7.js → StatusSwitcher-fb1FvNod-BmMqFztB.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-DiseUTbE-Bc7dZsGz.js → SubTabSwitcher-DiseUTbE-RF0UCScW.js} +1 -1
  155. package/dist/assets/{SummaryCard-C95uhnrw-Cz4Ul3rj.js → SummaryCard-C95uhnrw-CFrAeWpB.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-CmEmxJHm-I1qb7uu5.js → TaskManagementPage-CmEmxJHm-BrDGkHto.js} +1 -1
  157. package/dist/assets/{TimeRangeSwitcher-C3criwDK-MjZzatMd.js → TimeRangeSwitcher-C3criwDK-WPXqTLAP.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-B-NCBgZo-Bzw6DaTx.js → TimeframeSwitcher-B-NCBgZo-DjvnKKpK.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-DFjeQWwK-DmJGkI9O.js → TimeframeSwitcherWithToggle-DFjeQWwK-BxPvYB5f.js} +1 -1
  160. package/dist/assets/{TopExCard-D7QZLM8i-BjdgFU_s.js → TopExCard-D7QZLM8i-D0b3KsuS.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-CzoQPsjz-CzDcKIu9.js → TopExDetailPage-CzoQPsjz-BEy1j5Yh.js} +1 -1
  162. package/dist/assets/{TransactionActivityLogPage-Dh4TKmlz-CMXoSaEf.js → TransactionActivityLogPage-Dh4TKmlz-Dl3buFGh.js} +1 -1
  163. package/dist/assets/{TransactionDetailPage-8CwgUGKw-DD8WTcLz.js → TransactionDetailPage-8CwgUGKw-Dtp27K3e.js} +1 -1
  164. package/dist/assets/{TransactionList-ClznvtnK-B-6z-9wK.js → TransactionList-ClznvtnK-BdyU7yQ3.js} +1 -1
  165. package/dist/assets/{TransactionListBig-CLc3iY_0-BH8MZJQ3.js → TransactionListBig-CLc3iY_0-CFQOsSIo.js} +1 -1
  166. package/dist/assets/{TransactionListPage-DDsLCL1i-CqFnzZ3q.js → TransactionListPage-DDsLCL1i-DF1pBjPC.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-Be0u4Eqx-Bsk0zx1y.js → TransactionVendorDetailPage-Be0u4Eqx-PAqJj23I.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-Bzs9K_99-DBIJAwyN.js → TransferDrawerPage-Bzs9K_99-D2PPRqAd.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-CUbZn5Ys-DIa06mwp.js → TreasuryOverviewPage-CUbZn5Ys-C36HkGRS.js} +1 -1
  170. package/dist/assets/{TreasuryPromoPage-BNVeuqGo-DMkqkWBp.js → TreasuryPromoPage-BNVeuqGo-Cwkvs8C9.js} +1 -1
  171. package/dist/assets/{TreasuryStatementsPage-B5QuiNBh-DSjV2_O7.js → TreasuryStatementsPage-B5QuiNBh-C-57EAI2.js} +1 -1
  172. package/dist/assets/{TreasuryTaxLetterPage-DrX0Tsbc-D9ADPjC9.js → TreasuryTaxLetterPage-DrX0Tsbc-Dqm2z_jK.js} +1 -1
  173. package/dist/assets/{TrendChart-CH1XG3_9-D9c8V-0T.js → TrendChart-CH1XG3_9-lvJf5nfu.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-B_QntlQg-Dz5h1Emg.js → TrendWithTransactions-B_QntlQg-C83d-V0Z.js} +1 -1
  175. package/dist/assets/{UncategorizedAccountsMappingPage-D1vMrtZi-DJgzrM0G.js → UncategorizedAccountsMappingPage-D1vMrtZi-h-H9O2QH.js} +1 -1
  176. package/dist/assets/{UnitIntegrationPage-CVG0dKQJ-Bv-lPBzY.js → UnitIntegrationPage-CVG0dKQJ-ubXG_LZV.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-BzbMHbg1-JP-yDb8X.js → UploadAdditionalDocumentOverlay-BzbMHbg1-ZePyWsNp.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-DUxtkJUS-DOxbbG7j.js → Vendor2FAPopup-DUxtkJUS-CnxHG-v0.js} +1 -1
  179. package/dist/assets/{VendorACHDetailsPage-hlpQV7jq-D-V9LE3V.js → VendorACHDetailsPage-hlpQV7jq-4ve_aIDd.js} +1 -1
  180. package/dist/assets/{VendorDetailPage-BdEwRV2m-BuocGx2U.js → VendorDetailPage-BdEwRV2m-BL9ObeyB.js} +1 -1
  181. package/dist/assets/{VendorDomesticWireDetailsPage-C2IflKW2-F74-Y4ZV.js → VendorDomesticWireDetailsPage-C2IflKW2-CqNFwCk0.js} +1 -1
  182. package/dist/assets/{VendorFiling1099EditablePage-CrSOkq5V-Be8Sq3Qg.js → VendorFiling1099EditablePage-CrSOkq5V-ClmRcxFU.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-DoJKNdG9-kEHrc5RF.js → VendorFirstReviewPage-DoJKNdG9-DkFlKR6g.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-DEYSLqar-C48z8lC2.js → VendorInternationalWireDetailsPage-DEYSLqar-DM19IJs2.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DgyDtAJk-C4yDMI1s.js → VendorInternationalWireSwiftDetailsPage-DgyDtAJk-BCBHTe-3.js} +1 -1
  186. package/dist/assets/{VendorsAccountsSection-k1NLZ5FW-Bzs1aGaQ.js → VendorsAccountsSection-k1NLZ5FW-C_fhnoYe.js} +1 -1
  187. package/dist/assets/{VerifyDevice-IP50KOC9-D_-Qo9mu.js → VerifyDevice-IP50KOC9-CeXXQ9Gk.js} +1 -1
  188. package/dist/assets/{VideoPlayer-DTv2btpq-BL2iPrVd.js → VideoPlayer-DTv2btpq-Cwr8B-bm.js} +1 -1
  189. package/dist/assets/{VideoPopup-Cfko0G7e-D5lj185C.js → VideoPopup-Cfko0G7e-CoUY2g5F.js} +1 -1
  190. package/dist/assets/{WarningsDrawerPage-D9HiCb7D-BcR8odVm.js → WarningsDrawerPage-D9HiCb7D-BL3Rdw9p.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-Dp0Vq-3v-CZkbiffo.js → ZeniAccountDetailPage-Dp0Vq-3v-B8LhDkgo.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-BAsaZTdW-iSN2fNgn.js → ZeniAccountListViewPage-BAsaZTdW-CDakgKh-.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-ChSFLPtf-YUYBoYMy.js → ZeniAccountNavBarPieces-ChSFLPtf-ChwrZkSM.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-BSL3C3i2-8AHAiFx8.js → ZeniAccountPromoPage-BSL3C3i2-BSzt7Oul.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-CnaM-8qN-CMYBKyhj.js → ZeniAccountSetupPage-CnaM-8qN-BBzvLLIc.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-lBSuqA9X-zKVr6SPe.js → ZeniCopyright-lBSuqA9X-BHRDTviH.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-oYwV27SH-CZr7NskK.js → ZeniTransferAmountSlider-oYwV27SH-B3-ZBOVt.js} +1 -1
  198. package/dist/assets/{analyticsHelper-BaxudydG-DT2Lyeh-.js → analyticsHelper-BaxudydG-B3DCaf7w.js} +1 -1
  199. package/dist/assets/{analyticsHelper-fVkT15J2.js → analyticsHelper-l2Me-ZZx.js} +1 -1
  200. package/dist/assets/{chartTypes-DyOVuWqI-BARYdpSf.js → chartTypes-DyOVuWqI-jSuDc2IM.js} +1 -1
  201. package/dist/assets/{commonDimensions-0tYCNmAf-yzUUGq5J.js → commonDimensions-0tYCNmAf-CUqtVqS0.js} +1 -1
  202. package/dist/assets/{commonTypes-dj64oD5Z-Bwky3r-I.js → commonTypes-dj64oD5Z-C-7AuAiE.js} +1 -1
  203. package/dist/assets/{detailCommon-BnHMV3Xh-ChdSHt8G.js → detailCommon-BnHMV3Xh-CNmGmUGb.js} +1 -1
  204. package/dist/assets/{downloadPdf-CdObX2oB-DpdxICbX.js → downloadPdf-CdObX2oB-CJ4xRuyg.js} +1 -1
  205. package/dist/assets/{helper-Dh2z35ok-DVFikn_X.js → helper-Dh2z35ok-R0TRkRqA.js} +1 -1
  206. package/dist/assets/{index-D0RCZvbR.js → index-BwMwEGov.js} +5 -5
  207. package/dist/assets/{mapLoadingInProgressToTreeNode-BT2nAyCO-BOa6vUQ9.js → mapLoadingInProgressToTreeNode-BT2nAyCO-CRwfGSZI.js} +1 -1
  208. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DKn1K1pr--4wnUEOR.js → mapSectionWithAcOnlyToTreeNode-DKn1K1pr-Che2xWrk.js} +1 -1
  209. package/dist/assets/{mapSpacerToTreeNode-C_jfkzeN-Ch0OV83d.js → mapSpacerToTreeNode-C_jfkzeN-CO3qex5q.js} +1 -1
  210. package/dist/assets/{mapTimeframeBalancesToTreeNode-DOVnv_Y6-PQ-Rs5PV.js → mapTimeframeBalancesToTreeNode-DOVnv_Y6-Del_AyX4.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-HEnxthuN-MtID2XPF.js → mapTimeframeBalancesToTreeNode-HEnxthuN-CdJJBJLl.js} +1 -1
  212. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DHwya3AR-BunX61SQ.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DHwya3AR-64V_cuoE.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-r6SROS7c-DIO7gzfN.js → toCOABalancesWithID-r6SROS7c-DQQa1DfS.js} +1 -1
  214. package/dist/assets/{toChartData-BLR_ax7l-DRu3ACUZ.js → toChartData-BLR_ax7l-db9aDQmY.js} +1 -1
  215. package/dist/assets/{uploadAttachment-DbWJ8gRE-sZ5TPM-C.js → uploadAttachment-DbWJ8gRE-CNwojo5y.js} +1 -1
  216. package/dist/assets/{uploadReceipts-Dge0cNF1-NDnD_ECQ.js → uploadReceipts-Dge0cNF1-50TovDpj.js} +1 -1
  217. package/dist/index.html +1 -1
  218. package/package.json +1 -1
  219. package/dist/assets/CustomerOnboardingContainerPage-9chhNs4E-4nf9VU4U.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a9 as se,V as o,fC as Ce,K as Pe,y as be,aa as we,aS as xe,cI as ke,bE as Ie,o as i,ac as Ae,ae as Ve,aT as ve,bp as $e,hV as Oe,b as Te,f2 as je,f3 as oe,ah as Le,x as J,an as Ee,u as A}from"./index-D0RCZvbR.js";import{n as c}from"./mui-CWpKo4a_.js";import{a as V}from"./sentry-D6_R-0PO.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-BwtVSnia-C7hSU-EC.js";import{f as ze}from"./CustomerOnboardingDetailPageSkeleton-DyX4Fa7j-D4Zm7ptp.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./zeni-epic-state-CQm7BABf.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./commonTypes-dj64oD5Z-Bwky3r-I.js";import"./SetUpAccountSection-D1u5qaQy-BfLHCJ7_.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]="4ce4776a-5f22-440a-9473-7d3dcf70fada",e._sentryDebugIdIdentifier="sentry-dbid-4ce4776a-5f22-440a-9473-7d3dcf70fada")}catch{}})();const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},Be=e=>`${e}_form`,De=Te.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:$,googleAPIKey:O,signedInUser:P,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:E,updateCardPaymentModalState:b,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:w,onUpdateCustomerView:B,...D})=>{const m=Pe(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:F,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,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:X,uiState:le,allNationalityCountries:Y,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)}};V.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),V.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);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(X).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"),B(me,!1,!0))};V.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=V.useState(!1);return o.jsxs(Fe,{children:[o.jsxs(Me,{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(Ve,{...r,children:o.jsx(Ne,{id:Be(ie),children:o.jsxs(Re,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:F,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:b,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx($e,{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(_e,{handleConfirmCardSetupIntent:E,updateCardPaymentModalState:b,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:$,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:z,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Fe=c.div`
1
+ import{a9 as se,V as o,fC as Ce,K as Pe,y as be,aa as we,aS as xe,cI as ke,bE as Ie,o as i,ac as Ae,ae as Ve,aT as ve,bp as $e,hV as Oe,b as Te,f2 as je,f3 as oe,ah as Le,x as J,an as Ee,u as A}from"./index-BwMwEGov.js";import{n as c}from"./mui-CWpKo4a_.js";import{a as V}from"./sentry-D6_R-0PO.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-BwtVSnia-BQFedw-c.js";import{f as ze}from"./CustomerOnboardingDetailPageSkeleton-DyX4Fa7j-DIWIRHiN.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./zeni-epic-state-CQm7BABf.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./commonTypes-dj64oD5Z-C-7AuAiE.js";import"./SetUpAccountSection-D1u5qaQy-xqADEENa.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]="4ce4776a-5f22-440a-9473-7d3dcf70fada",e._sentryDebugIdIdentifier="sentry-dbid-4ce4776a-5f22-440a-9473-7d3dcf70fada")}catch{}})();const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},Be=e=>`${e}_form`,De=Te.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:$,googleAPIKey:O,signedInUser:P,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:E,updateCardPaymentModalState:b,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:w,onUpdateCustomerView:B,...D})=>{const m=Pe(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:F,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,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:X,uiState:le,allNationalityCountries:Y,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)}};V.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),V.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);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(X).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"),B(me,!1,!0))};V.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=V.useState(!1);return o.jsxs(Fe,{children:[o.jsxs(Me,{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(Ve,{...r,children:o.jsx(Ne,{id:Be(ie),children:o.jsxs(Re,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:F,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:b,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx($e,{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(_e,{handleConfirmCardSetupIntent:E,updateCardPaymentModalState:b,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:$,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:z,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Fe=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{V as l,fC as tn,K as Me,y as nn,aa as an,cI as me,aS as He,J as yt,aG as Qe,bE as on,o as re,ae as sn,u as K,aT as rn,hV as ln,gg as cn,fD as ft,f2 as Pt,b as Ye,f3 as gt,x as ye,gj as fe,cM as dn,an as pn,hW as ht,af as St,cW as un,gi as mn}from"./index-D0RCZvbR.js";import{a as m}from"./sentry-D6_R-0PO.js";import{n as O,k as wt}from"./mui-CWpKo4a_.js";import{bi as j,G8 as yn,G9 as fn}from"./zeni-epic-state-CQm7BABf.js";import{r as Ct,t as gn}from"./PaymentAccountSetupBillingAddressSection-BwtVSnia-C7hSU-EC.js";import{b as bt,f as hn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DyX4Fa7j-D4Zm7ptp.js";import{z as Sn,r as Cn}from"./CompanyOfficerDetailsSection-Czd9OA0I-PpNc4QNR.js";import{t as bn}from"./QBOSetupSection-Cxm1PJVl-Cg3a5k3R.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./commonTypes-dj64oD5Z-Bwky3r-I.js";import"./SetUpAccountSection-D1u5qaQy-BfLHCJ7_.js";import"./helper-Dh2z35ok-DVFikn_X.js";import"./LabeledAddressValueField-DS32l0xi-ffR5_IMa.js";import"./LabeledCountryMultiSelectField-uVIlAv9_-Cr-pLwSj.js";import"./LabeledCreatableSingleSelectField-CKBw0XOi-B5ltv_kq.js";import"./LabeledDocumentField-D8KhtX0K-Cm1Aq1-V.js";import"./QBOConnectionDialog-BZsRQAbh-D2VVdab9.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]="1f50d214-2fc8-4254-972b-1763e1bec879",n._sentryDebugIdIdentifier="sentry-dbid-1f50d214-2fc8-4254-972b-1763e1bec879")}catch{}})();const In=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:i,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:P,onPhoneVerified:h,...w})=>{const f=Me(),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:v}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(On,{children:l.jsx(Cn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:i,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:P,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...w})})},On=O.div`
1
+ import{V as l,fC as tn,K as Me,y as nn,aa as an,cI as me,aS as He,J as yt,aG as Qe,bE as on,o as re,ae as sn,u as K,aT as rn,hV as ln,gg as cn,fD as ft,f2 as Pt,b as Ye,f3 as gt,x as ye,gj as fe,cM as dn,an as pn,hW as ht,af as St,cW as un,gi as mn}from"./index-BwMwEGov.js";import{a as m}from"./sentry-D6_R-0PO.js";import{n as O,k as wt}from"./mui-CWpKo4a_.js";import{bi as j,G8 as yn,G9 as fn}from"./zeni-epic-state-CQm7BABf.js";import{r as Ct,t as gn}from"./PaymentAccountSetupBillingAddressSection-BwtVSnia-BQFedw-c.js";import{b as bt,f as hn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DyX4Fa7j-DIWIRHiN.js";import{z as Sn,r as Cn}from"./CompanyOfficerDetailsSection-Czd9OA0I-fdFspTVp.js";import{t as bn}from"./QBOSetupSection-Cxm1PJVl-Dmu08tt6.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./commonTypes-dj64oD5Z-C-7AuAiE.js";import"./SetUpAccountSection-D1u5qaQy-xqADEENa.js";import"./helper-Dh2z35ok-R0TRkRqA.js";import"./LabeledAddressValueField-DS32l0xi-C3mF5HOv.js";import"./LabeledCountryMultiSelectField-uVIlAv9_-XG8oijhW.js";import"./LabeledCreatableSingleSelectField-CKBw0XOi-BwKzi1Sg.js";import"./LabeledDocumentField-D8KhtX0K-DHDNNvc8.js";import"./QBOConnectionDialog-BZsRQAbh-pk51hHHk.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]="1f50d214-2fc8-4254-972b-1763e1bec879",n._sentryDebugIdIdentifier="sentry-dbid-1f50d214-2fc8-4254-972b-1763e1bec879")}catch{}})();const In=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:i,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:P,onPhoneVerified:h,...w})=>{const f=Me(),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:v}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(On,{children:l.jsx(Cn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:i,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:P,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...w})})},On=O.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{K as M,a9 as _,ay as F,y as I,V as e,bE as U,o as t,ac as k,bp as V,fC as W,b as A,an as H,ah as J,p as l,w as C,ai as N,h as R,e as Z,as as G,b1 as K}from"./index-D0RCZvbR.js";import{a as n}from"./sentry-D6_R-0PO.js";import{n as o}from"./mui-CWpKo4a_.js";import{GM as q}from"./zeni-epic-state-CQm7BABf.js";import Q from"./ConfettiBurst-BHW_-EIc-D-04DoWU.js";import{T as X}from"./ProductsCarousel-DecdL2J--CA_efZNI.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.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]="33116f91-cf3f-4310-9747-7e26eef9a604",i._sentryDebugIdIdentifier="sentry-dbid-33116f91-cf3f-4310-9747-7e26eef9a604")}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(),Fe=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:f=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=M(),x=_().analytics,w=F(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=L,O=I(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=B;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]},D=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,q(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:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:f?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>D(a),children:[e.jsx(ke,{}),e.jsx(be,{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(b,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(b,{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(V,{signedInUser:S,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:x,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=o.div`
1
+ import{K as M,a9 as _,ay as F,y as I,V as e,bE as U,o as t,ac as k,bp as V,fC as W,b as A,an as H,ah as J,p as l,w as C,ai as N,h as R,e as Z,as as G,b1 as K}from"./index-BwMwEGov.js";import{a as n}from"./sentry-D6_R-0PO.js";import{n as o}from"./mui-CWpKo4a_.js";import{GM as q}from"./zeni-epic-state-CQm7BABf.js";import Q from"./ConfettiBurst-BHW_-EIc-B7rjmV9q.js";import{T as X}from"./ProductsCarousel-DecdL2J--C-Ktacpl.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.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]="33116f91-cf3f-4310-9747-7e26eef9a604",i._sentryDebugIdIdentifier="sentry-dbid-33116f91-cf3f-4310-9747-7e26eef9a604")}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(),Fe=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:f=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=M(),x=_().analytics,w=F(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=L,O=I(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=B;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]},D=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,q(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:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:f?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>D(a),children:[e.jsx(ke,{}),e.jsx(be,{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(b,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(b,{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(V,{signedInUser:S,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:x,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{ax as OA,K as V,ay as Ee,V as e,az as qt,b as Q,aA as Xt,aB as Vt,o as r,aC as Zt,aD as $t,J as UA,p as m,aE as _t,aF as Ar,aG as er,aH as Ie,aI as tr,aJ as rr,aK as or,aL as ar,aM as ir,aN as gr,aO as P,aP as N,aQ as Y,aR as X,ac as D,aa as nr,aS as We,d as qe,ae as Cr,aT as sr,x as eA,aU as G,aV as tA,ao as rA,aW as Xe,aX as J,aY as U,aZ as VA,aq as Er,y as gA,a_ as dr,a$ as Br,b0 as lr,b1 as Qr,ak as F,b2 as TA,u as S,as as ZA,an as HA,b3 as Ve,b4 as Ze,b5 as $e,b6 as Ir,b7 as $A,c as cr,M as hr,b8 as pr,b9 as _e,ba as mr,bb as ur,bc as _A,bd as xr,be as fr,bf as wr,bg as kr,L as At,w as Dr,bh as yr,g as jr,bi as et,bj as tt,ap as vr,bk as br,ai as Mr,au as rt}from"./index-D0RCZvbR.js";import{a as t,P as k}from"./sentry-D6_R-0PO.js";import{n as g,a as Sr,c as fA,k as R}from"./mui-CWpKo4a_.js";import{L as Rr}from"./lottie-DGC6TFh6.js";import{bg as Lr,bh as ot,Fy as at}from"./zeni-epic-state-CQm7BABf.js";import{v as Fr}from"./DashboardSidebarBackgroundAnimation-BIfSgNTQ-CEApsFHe.js";import{L as Jr,k as Pr}from"./ArAgingChart-B_Moc1is-BFtidcAa.js";import{E as Ur,T as de,I as it}from"./ReloadCard-B1utQoNe-BgcT-L3D.js";import{L as Or,A as YA,c as QA}from"./TopExCard-D7QZLM8i-BjdgFU_s.js";import{Y as Tr,X as Hr,H as Yr,P as Kr,G as Nr}from"./RevenueChart-CsH-ABMc-DFPXH0sB.js";import Gr from"./InsightsCardStack-BIaW6smi-DdCDTa8t.js";import{a as zr}from"./AccountsPromoCardStack-DBAX4q__-Bh8ZoDe1.js";import{c as Z}from"./SummaryCard-C95uhnrw-Cz4Ul3rj.js";import{t as Wr,o as qr}from"./arrow-south-east-round-PEovUgvH-aoBvaeWN.js";import{N as iA}from"./NavigationArrow-CocIRiS9-D_aGlTJv.js";import{k as Ae}from"./NavigationDots-BrrmV8fC-C-pOglim.js";import Xr from"./CompanyPassportCard-nT7OaLPI-u1s9N1Jh.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-xlgqjeRa.js";import Zr from"./InformationCardStack-D2FybDBG-DK4mKE9F.js";import{p as gt}from"./chartTypes-DyOVuWqI-BARYdpSf.js";import{h as $r}from"./toCOABalancesWithID-r6SROS7c-DIO7gzfN.js";import{V as _r}from"./toChartData-BLR_ax7l-DRu3ACUZ.js";import{r as Ao,i as eo}from"./graphic-no-data-net-burn-l-CzmycA0m-Rpwe6ATQ.js";import{N as to,J as ro}from"./PromoBaseCards-CN21NM41-DhBLPQmY.js";import{r as oo}from"./core-BzTCCyMo.js";import{N as ao,I as io}from"./VideoPlayer-DTv2btpq-BL2iPrVd.js";import go from"./ConfettiBurst-BHW_-EIc-D-04DoWU.js";import{F as no,G as Co,Y as so,X as Eo,R as Bo}from"./recharts-DgmMLsfg.js";import"./liveblocks-CKHUw5rb.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./graphic-no-data-l-DU4J8fDt-d8YRoWN5.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="12b9662c-48b7-4be6-ae60-e383e63ff81c",A._sentryDebugIdIdentifier="sentry-dbid-12b9662c-48b7-4be6-ae60-e383e63ff81c")}catch{}})();const lo=g(tA)`
1
+ import{ax as OA,K as V,ay as Ee,V as e,az as qt,b as Q,aA as Xt,aB as Vt,o as r,aC as Zt,aD as $t,J as UA,p as m,aE as _t,aF as Ar,aG as er,aH as Ie,aI as tr,aJ as rr,aK as or,aL as ar,aM as ir,aN as gr,aO as P,aP as N,aQ as Y,aR as X,ac as D,aa as nr,aS as We,d as qe,ae as Cr,aT as sr,x as eA,aU as G,aV as tA,ao as rA,aW as Xe,aX as J,aY as U,aZ as VA,aq as Er,y as gA,a_ as dr,a$ as Br,b0 as lr,b1 as Qr,ak as F,b2 as TA,u as S,as as ZA,an as HA,b3 as Ve,b4 as Ze,b5 as $e,b6 as Ir,b7 as $A,c as cr,M as hr,b8 as pr,b9 as _e,ba as mr,bb as ur,bc as _A,bd as xr,be as fr,bf as wr,bg as kr,L as At,w as Dr,bh as yr,g as jr,bi as et,bj as tt,ap as vr,bk as br,ai as Mr,au as rt}from"./index-BwMwEGov.js";import{a as t,P as k}from"./sentry-D6_R-0PO.js";import{n as g,a as Sr,c as fA,k as R}from"./mui-CWpKo4a_.js";import{L as Rr}from"./lottie-DGC6TFh6.js";import{bg as Lr,bh as ot,Fy as at}from"./zeni-epic-state-CQm7BABf.js";import{v as Fr}from"./DashboardSidebarBackgroundAnimation-BIfSgNTQ-BRTwO6W5.js";import{L as Jr,k as Pr}from"./ArAgingChart-B_Moc1is-twXbr3gP.js";import{E as Ur,T as de,I as it}from"./ReloadCard-B1utQoNe-Cbj5aZK_.js";import{L as Or,A as YA,c as QA}from"./TopExCard-D7QZLM8i-D0b3KsuS.js";import{Y as Tr,X as Hr,H as Yr,P as Kr,G as Nr}from"./RevenueChart-CsH-ABMc-C4NseRkX.js";import Gr from"./InsightsCardStack-BIaW6smi-DePjBzQ8.js";import{a as zr}from"./AccountsPromoCardStack-DBAX4q__-BU1of02S.js";import{c as Z}from"./SummaryCard-C95uhnrw-CFrAeWpB.js";import{t as Wr,o as qr}from"./arrow-south-east-round-PEovUgvH-aoBvaeWN.js";import{N as iA}from"./NavigationArrow-CocIRiS9-CC-1y7TO.js";import{k as Ae}from"./NavigationDots-BrrmV8fC-DSzDsxhc.js";import Xr from"./CompanyPassportCard-nT7OaLPI-DOp_Fa6S.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-xlgqjeRa.js";import Zr from"./InformationCardStack-D2FybDBG-DA5OKFLP.js";import{p as gt}from"./chartTypes-DyOVuWqI-jSuDc2IM.js";import{h as $r}from"./toCOABalancesWithID-r6SROS7c-DQQa1DfS.js";import{V as _r}from"./toChartData-BLR_ax7l-db9aDQmY.js";import{r as Ao,i as eo}from"./graphic-no-data-net-burn-l-CzmycA0m-Rpwe6ATQ.js";import{N as to,J as ro}from"./PromoBaseCards-CN21NM41-C-6MmVSO.js";import{r as oo}from"./core-BzTCCyMo.js";import{N as ao,I as io}from"./VideoPlayer-DTv2btpq-Cwr8B-bm.js";import go from"./ConfettiBurst-BHW_-EIc-B7rjmV9q.js";import{F as no,G as Co,Y as so,X as Eo,R as Bo}from"./recharts-DgmMLsfg.js";import"./liveblocks-CKHUw5rb.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./graphic-no-data-l-DU4J8fDt-d8YRoWN5.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="12b9662c-48b7-4be6-ae60-e383e63ff81c",A._sentryDebugIdIdentifier="sentry-dbid-12b9662c-48b7-4be6-ae60-e383e63ff81c")}catch{}})();const lo=g(tA)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,ce=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{K as B,y as Z,b as _,ay as ke,V as s,bE as Xe,L as qe,J as Je,bF as Ke,o as d,x as N,aG as K,bG as Qe,bH as et,ak as oe,u as $,b5 as tt,aX as st,d as Oe,a as Be,p as D,as as Pe,aW as ot,bc as at,ap as nt,bI as it,av as rt,bJ as ct,bK as ne,bL as lt,au as dt,ao as pt,bM as ut,bN as gt}from"./index-D0RCZvbR.js";import{a as S,P as Q}from"./sentry-D6_R-0PO.js";import{n as u,k as Ie}from"./mui-CWpKo4a_.js";import{bg as mt,FA as ht,EW as ft,FB as bt,FC as xt,FD as _t,FE as wt,FF as yt,FG as St,FH as vt,FI as Ct}from"./zeni-epic-state-CQm7BABf.js";import{m as Y,l as se}from"./analyticsHelper-BaxudydG-DT2Lyeh-.js";import{g as jt,x as $t}from"./ReportTableViewSelector-Dv5KMclT-vopRz_0Z.js";import{F as kt}from"./InsightsSection-BGx81rZp-C-CAmhUU.js";import{q as Ot,G as Bt,k as xe,H as ee,N as pe}from"./detailCommon-BnHMV3Xh-ChdSHt8G.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-CsH-ABMc-DFPXH0sB.js";import{C as Nt}from"./NoDataChart-CeZTA9_3-DPu9FogX.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-C3criwDK-MjZzatMd.js";import{j as Ne}from"./TimeframeSwitcher-B-NCBgZo-Bzw6DaTx.js";import{I as Rt,R as E,p as Dt,u as ue,D as Tt}from"./CollapsableReportTable-BwRNFt9D-D3w6E4nX.js";import{S as zt,M as At,g as Ft,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-DKn1K1pr--4wnUEOR.js";import{d as Mt}from"./NoDataTable-C6ryanfQ-BGrQrBkr.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-DHwya3AR-BunX61SQ.js";import{d as he}from"./mapLoadingInProgressToTreeNode-BT2nAyCO-BOa6vUQ9.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./NavigationDots-BrrmV8fC-C-pOglim.js";import"./chartTypes-DyOVuWqI-BARYdpSf.js";import"./toCOABalancesWithID-r6SROS7c-DIO7gzfN.js";import"./toChartData-BLR_ax7l-DRu3ACUZ.js";import"./AccountRow-CjgOf4O_-Ct2P2Loi.js";import"./graphic-no-data-l-DU4J8fDt-d8YRoWN5.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]="06676461-76b7-40d0-82d7-4e9263f74068",e._sentryDebugIdIdentifier="sentry-dbid-06676461-76b7-40d0-82d7-4e9263f74068")}catch{}})();const Et=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{K as B,y as Z,b as _,ay as ke,V as s,bE as Xe,L as qe,J as Je,bF as Ke,o as d,x as N,aG as K,bG as Qe,bH as et,ak as oe,u as $,b5 as tt,aX as st,d as Oe,a as Be,p as D,as as Pe,aW as ot,bc as at,ap as nt,bI as it,av as rt,bJ as ct,bK as ne,bL as lt,au as dt,ao as pt,bM as ut,bN as gt}from"./index-BwMwEGov.js";import{a as S,P as Q}from"./sentry-D6_R-0PO.js";import{n as u,k as Ie}from"./mui-CWpKo4a_.js";import{bg as mt,FA as ht,EW as ft,FB as bt,FC as xt,FD as _t,FE as wt,FF as yt,FG as St,FH as vt,FI as Ct}from"./zeni-epic-state-CQm7BABf.js";import{m as Y,l as se}from"./analyticsHelper-BaxudydG-B3DCaf7w.js";import{g as jt,x as $t}from"./ReportTableViewSelector-Dv5KMclT-sD56HQVN.js";import{F as kt}from"./InsightsSection-BGx81rZp-C6S_wS0Z.js";import{q as Ot,G as Bt,k as xe,H as ee,N as pe}from"./detailCommon-BnHMV3Xh-CNmGmUGb.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-CsH-ABMc-C4NseRkX.js";import{C as Nt}from"./NoDataChart-CeZTA9_3-DpvGxlEF.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-C3criwDK-WPXqTLAP.js";import{j as Ne}from"./TimeframeSwitcher-B-NCBgZo-DjvnKKpK.js";import{I as Rt,R as E,p as Dt,u as ue,D as Tt}from"./CollapsableReportTable-BwRNFt9D-DkQB6FR6.js";import{S as zt,M as At,g as Ft,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-DKn1K1pr-Che2xWrk.js";import{d as Mt}from"./NoDataTable-C6ryanfQ-CIwrttrx.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-DHwya3AR-64V_cuoE.js";import{d as he}from"./mapLoadingInProgressToTreeNode-BT2nAyCO-CRwfGSZI.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./NavigationDots-BrrmV8fC-DSzDsxhc.js";import"./chartTypes-DyOVuWqI-jSuDc2IM.js";import"./toCOABalancesWithID-r6SROS7c-DQQa1DfS.js";import"./toChartData-BLR_ax7l-db9aDQmY.js";import"./AccountRow-CjgOf4O_-DsrFoIaP.js";import"./graphic-no-data-l-DU4J8fDt-d8YRoWN5.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]="06676461-76b7-40d0-82d7-4e9263f74068",e._sentryDebugIdIdentifier="sentry-dbid-06676461-76b7-40d0-82d7-4e9263f74068")}catch{}})();const Et=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{ax as b,V as o,b7 as f,o as p}from"./index-D0RCZvbR.js";import{a as s}from"./sentry-D6_R-0PO.js";import{a as h,n as m}from"./mui-CWpKo4a_.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]="037aa97a-20aa-4ac5-84c4-9b2dfa9d146b",e._sentryDebugIdIdentifier="sentry-dbid-037aa97a-20aa-4ac5-84c4-9b2dfa9d146b")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[i,d]=b(l,r),[a,c]=s.useState(null);i!=null&&a==null&&!d&&c(i);const u=e&&t.mode==="light"?.7:.2;return(e||n)&&a!=null?o.jsx(y,{contextWiseOpacity:u,newYearAnimationEnabled:n,children:o.jsx(f,{style:{width:"inherit",height:"inherit",display:"block"},animationData:a,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
1
+ import{ax as b,V as o,b7 as f,o as p}from"./index-BwMwEGov.js";import{a as s}from"./sentry-D6_R-0PO.js";import{a as h,n as m}from"./mui-CWpKo4a_.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]="037aa97a-20aa-4ac5-84c4-9b2dfa9d146b",e._sentryDebugIdIdentifier="sentry-dbid-037aa97a-20aa-4ac5-84c4-9b2dfa9d146b")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[i,d]=b(l,r),[a,c]=s.useState(null);i!=null&&a==null&&!d&&c(i);const u=e&&t.mode==="light"?.7:.2;return(e||n)&&a!=null?o.jsx(y,{contextWiseOpacity:u,newYearAnimationEnabled:n,children:o.jsx(f,{style:{width:"inherit",height:"inherit",display:"block"},animationData:a,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{aQ as y,hK as u,K as $,V as l,o as i,an as c,ao as w}from"./index-D0RCZvbR.js";import{n as t}from"./mui-CWpKo4a_.js";import{g as k}from"./BoxItem-B7JwjEHS-GLe4e95X.js";import{o as v}from"./commonDimensions-0tYCNmAf-yzUUGq5J.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]="a4cd8f4d-ffd1-49ed-adbd-bf40fa8de04f",e._sentryDebugIdIdentifier="sentry-dbid-a4cd8f4d-ffd1-49ed-adbd-bf40fa8de04f")}catch{}})();function Q({data:e,boxType:n}){const{counterParty:d,typeName:s,amount:f,logo:p,summary:x,direction:b,status:m}=e,g=d.length>0?d:x,a=y("0,0.00",f),r=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}),r!=null?l.jsxs(K,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:r?.color,children:r?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(P,{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{aQ as y,hK as u,K as $,V as l,o as i,an as c,ao as w}from"./index-BwMwEGov.js";import{n as t}from"./mui-CWpKo4a_.js";import{g as k}from"./BoxItem-B7JwjEHS-CL7o7jWo.js";import{o as v}from"./commonDimensions-0tYCNmAf-CUqtVqS0.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]="a4cd8f4d-ffd1-49ed-adbd-bf40fa8de04f",e._sentryDebugIdIdentifier="sentry-dbid-a4cd8f4d-ffd1-49ed-adbd-bf40fa8de04f")}catch{}})();function Q({data:e,boxType:n}){const{counterParty:d,typeName:s,amount:f,logo:p,summary:x,direction:b,status:m}=e,g=d.length>0?d:x,a=y("0,0.00",f),r=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}),r!=null?l.jsxs(K,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:r?.color,children:r?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(P,{windowSize:o,children:b==="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{y as M,K as S,V as t,bE as I,b5 as E,hT as Y,o,b as z,p as u,cw as C,di as F,dj as T,dd as _,dk as L,x as B,ak as R,an as V,u as g}from"./index-D0RCZvbR.js";import{a as x}from"./sentry-D6_R-0PO.js";import{n as a}from"./mui-CWpKo4a_.js";import{bh as q}from"./zeni-epic-state-CQm7BABf.js";import{$ as A}from"./BoxItem-B7JwjEHS-GLe4e95X.js";import{o as N}from"./commonDimensions-0tYCNmAf-yzUUGq5J.js";import{q as P}from"./DepositAccTransactionItem-Rfwk9Wzj-BXfqyh-p.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.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]="f80cedcc-2ea0-4aba-b8df-782629edca57",e._sentryDebugIdIdentifier="sentry-dbid-f80cedcc-2ea0-4aba-b8df-782629edca57")}catch{}})();const l=z.getLocalizedStrings(),K={listItemMargin:new B(g[3],g[8])};function O(e){const i=F(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),c=T(i,r=>r.length>0);return _(c,r=>({date:r[0].transactionDate,transactions:L(r,m=>m.transactionDate,"desc")}))}const X=Y(O),pe=({transactionListView:e,onBackClick:i})=>{const c=M(),r=S(),m=x.createRef(),p=x.useRef(null),d=X(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(w,{style:{...h},children:t.jsx(y,{windowSize:r,children:t.jsxs($,{children:[t.jsx(Q,{children:q().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:A(b,s.transactions.length)},b))})]})})})}else return t.jsx(w,{style:{...h},children:t.jsx(G,{children:t.jsx(y,{windowSize:r,children:t.jsx(J,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(H,{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(E,{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})})})]})},w=a.div``,y=a.div`
1
+ import{y as M,K as S,V as t,bE as I,b5 as E,hT as Y,o,b as z,p as u,cw as C,di as F,dj as T,dd as _,dk as L,x as B,ak as R,an as V,u as g}from"./index-BwMwEGov.js";import{a as x}from"./sentry-D6_R-0PO.js";import{n as a}from"./mui-CWpKo4a_.js";import{bh as q}from"./zeni-epic-state-CQm7BABf.js";import{$ as A}from"./BoxItem-B7JwjEHS-CL7o7jWo.js";import{o as N}from"./commonDimensions-0tYCNmAf-CUqtVqS0.js";import{q as P}from"./DepositAccTransactionItem-Rfwk9Wzj-DRd5TSF4.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.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]="f80cedcc-2ea0-4aba-b8df-782629edca57",e._sentryDebugIdIdentifier="sentry-dbid-f80cedcc-2ea0-4aba-b8df-782629edca57")}catch{}})();const l=z.getLocalizedStrings(),K={listItemMargin:new B(g[3],g[8])};function O(e){const i=F(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),c=T(i,r=>r.length>0);return _(c,r=>({date:r[0].transactionDate,transactions:L(r,m=>m.transactionDate,"desc")}))}const X=Y(O),pe=({transactionListView:e,onBackClick:i})=>{const c=M(),r=S(),m=x.createRef(),p=x.useRef(null),d=X(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(w,{style:{...h},children:t.jsx(y,{windowSize:r,children:t.jsxs($,{children:[t.jsx(Q,{children:q().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:A(b,s.transactions.length)},b))})]})})})}else return t.jsx(w,{style:{...h},children:t.jsx(G,{children:t.jsx(y,{windowSize:r,children:t.jsx(J,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(H,{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(E,{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})})})]})},w=a.div``,y=a.div`
2
2
  margin: ${e=>`${o.sp0} ${K.listItemMargin.valuePx(e.windowSize)}`};
3
3
  `,G=a.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{K as O,aa as U,b as N,cI as G,aG as H,V as n,cs as J,ct as K,cu as Q,ae as q,aT as X,x as b,e$ as Y,o as Z,bb as ee,u as o}from"./index-D0RCZvbR.js";import{a as w}from"./sentry-D6_R-0PO.js";import{n as h}from"./mui-CWpKo4a_.js";import{bi as S}from"./zeni-epic-state-CQm7BABf.js";import{e as ne}from"./BankAccountSection-DodjM0QY-JKnRSQjs.js";import{M as ae}from"./MagicLinkTitleSection-jOwfp5xN-_Wo4I2rc.js";import{W as te,A as oe}from"./BankAccountWarningSection-CEqWR1Zw-CrO5LlLC.js";import{T as ie}from"./MailingDetailsSection-ChDYluge-BR5jsra0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="c1aaa545-b497-495c-ae6f-5df7fba82563",e._sentryDebugIdIdentifier="sentry-dbid-c1aaa545-b497-495c-ae6f-5df7fba82563")}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",$="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:a,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:f,currencySymbol:v,amount:P,onSaveHandler:I,onWireDetailsUpdated:z,onFetchBankName:R,onAddressClick:L,onBackClick:C}=e,u=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:w.useMemo(()=>se(s,r),[s,r])}),[W,g]=w.useState(!1),t=N.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=N.getLocalizedStrings().common.footer,M=t.wireDetails.domestic,_={onOkClick:()=>{g(!1),c.reset(),C?.()},onCancelClick:()=>{g(!1)}},V=async(p,m)=>{const d=m[k].bankRoutingNumber;z(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&R?.(d)};w.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&G(()=>V(d,m))});return()=>{p.unsubscribe()}});const F=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&I("wire")}),T=!H(x!=null?S(x):x,r!=null?S(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(J,{titleComponent:n.jsx(Q,{children:t.discardTitle}),descriptionComponent:n.jsx(K,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:_}):null,n.jsx(te,{header:f?n.jsx(ae,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:f,isDirty:T,onBackClick:C,setShowConfirmationPopup:g}),a?.fetchState==="Error"&&a.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(q,{...c,children:n.jsxs("form",{id:B(D),onSubmit:F,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:B(D),primaryBtn:{label:f?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:a.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{T?g(!0):(c.reset(),C?.())}}})]})},se=(e,a)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:a}}),re=e=>{if(e==null)return!1;const{bankAccountName:a,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!a||!!l||!!y||!!s},ce=h.div`
1
+ import{K as O,aa as U,b as N,cI as G,aG as H,V as n,cs as J,ct as K,cu as Q,ae as q,aT as X,x as b,e$ as Y,o as Z,bb as ee,u as o}from"./index-BwMwEGov.js";import{a as w}from"./sentry-D6_R-0PO.js";import{n as h}from"./mui-CWpKo4a_.js";import{bi as S}from"./zeni-epic-state-CQm7BABf.js";import{e as ne}from"./BankAccountSection-DodjM0QY-FOYtvxtd.js";import{M as ae}from"./MagicLinkTitleSection-jOwfp5xN-q32J52mG.js";import{W as te,A as oe}from"./BankAccountWarningSection-CEqWR1Zw-DcG6VJNo.js";import{T as ie}from"./MailingDetailsSection-ChDYluge-Cp-JGZ20.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="c1aaa545-b497-495c-ae6f-5df7fba82563",e._sentryDebugIdIdentifier="sentry-dbid-c1aaa545-b497-495c-ae6f-5df7fba82563")}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",$="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:a,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:f,currencySymbol:v,amount:P,onSaveHandler:I,onWireDetailsUpdated:z,onFetchBankName:R,onAddressClick:L,onBackClick:C}=e,u=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:w.useMemo(()=>se(s,r),[s,r])}),[W,g]=w.useState(!1),t=N.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=N.getLocalizedStrings().common.footer,M=t.wireDetails.domestic,_={onOkClick:()=>{g(!1),c.reset(),C?.()},onCancelClick:()=>{g(!1)}},V=async(p,m)=>{const d=m[k].bankRoutingNumber;z(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&R?.(d)};w.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&G(()=>V(d,m))});return()=>{p.unsubscribe()}});const F=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&I("wire")}),T=!H(x!=null?S(x):x,r!=null?S(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(J,{titleComponent:n.jsx(Q,{children:t.discardTitle}),descriptionComponent:n.jsx(K,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:_}):null,n.jsx(te,{header:f?n.jsx(ae,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:f,isDirty:T,onBackClick:C,setShowConfirmationPopup:g}),a?.fetchState==="Error"&&a.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(q,{...c,children:n.jsxs("form",{id:B(D),onSubmit:F,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:B(D),primaryBtn:{label:f?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:a.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{T?g(!0):(c.reset(),C?.())}}})]})},se=(e,a)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:a}}),re=e=>{if(e==null)return!1;const{bankAccountName:a,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!a||!!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,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b as F,c7 as dt,bQ as Ue,u as B,bb as We,an as L,bT as ke,w as te,ao as be,a as ae,y as qe,bV as ct,c8 as xe,c9 as ge,L as Ge,ca as Ze,bO as pt,bc as mt,aq as ye,cb as Z,cc as ft,cd as ht,bM as ut,bU as bt,as as xt,ce as gt,c1 as yt,av as $t}from"./index-D0RCZvbR.js";import{a as h,P as $e}from"./sentry-D6_R-0PO.js";import{n,k as Ke}from"./mui-CWpKo4a_.js";import{FT as me,FU as C,FV as K,bL as P,FW as X,FX as we,FY as U,bh as wt,FZ as k,F_ as Ft,F$ as vt,G0 as jt,G1 as Ot,G2 as Yt}from"./zeni-epic-state-CQm7BABf.js";import{m as Dt}from"./analyticsHelper-BaxudydG-DT2Lyeh-.js";import{g as _t,x as kt}from"./ReportTableViewSelector-Dv5KMclT-vopRz_0Z.js";import{t as Ct}from"./page-detail-CWX5S47F-CVwCMYq3.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./CollapsableReportTable-BwRNFt9D-D3w6E4nX.js";import"./AccountRow-CjgOf4O_-Ct2P2Loi.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]="f3c71902-86cb-4c36-9160-8081c6d23d36",e._sentryDebugIdIdentifier="sentry-dbid-f3c71902-86cb-4c36-9160-8081c6d23d36")}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=K(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,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b as F,c7 as dt,bQ as Ue,u as B,bb as We,an as L,bT as ke,w as te,ao as be,a as ae,y as qe,bV as ct,c8 as xe,c9 as ge,L as Ge,ca as Ze,bO as pt,bc as mt,aq as ye,cb as Z,cc as ft,cd as ht,bM as ut,bU as bt,as as xt,ce as gt,c1 as yt,av as $t}from"./index-BwMwEGov.js";import{a as h,P as $e}from"./sentry-D6_R-0PO.js";import{n,k as Ke}from"./mui-CWpKo4a_.js";import{FT as me,FU as C,FV as K,bL as P,FW as X,FX as we,FY as U,bh as wt,FZ as k,F_ as Ft,F$ as vt,G0 as jt,G1 as Ot,G2 as Yt}from"./zeni-epic-state-CQm7BABf.js";import{m as Dt}from"./analyticsHelper-BaxudydG-B3DCaf7w.js";import{g as _t,x as kt}from"./ReportTableViewSelector-Dv5KMclT-sD56HQVN.js";import{t as Ct}from"./page-detail-CWX5S47F-CVwCMYq3.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./CollapsableReportTable-BwRNFt9D-DkQB6FR6.js";import"./AccountRow-CjgOf4O_-DsrFoIaP.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]="f3c71902-86cb-4c36-9160-8081c6d23d36",e._sentryDebugIdIdentifier="sentry-dbid-f3c71902-86cb-4c36-9160-8081c6d23d36")}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=K(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{K as a,V as i,bV as y,o as r,x as s,b as h,c4 as b,c,M as g,d as P,u as t,aQ as k,k9 as L,ka as D,kb as C}from"./index-D0RCZvbR.js";import{n as o}from"./mui-CWpKo4a_.js";import"./sentry-D6_R-0PO.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./zeni-epic-state-CQm7BABf.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.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]="25a9e82b-6bfc-4c66-b4a5-f712ead8b7ad",e._sentryDebugIdIdentifier="sentry-dbid-25a9e82b-6bfc-4c66-b4a5-f712ead8b7ad")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,_=({rewardsPlan:e})=>{const n=[I(),R(),M({rewardsPlan:e})],d=a();return i.jsx(E,{children:n.map((j,f)=>i.jsxs(A,{children:[i.jsx(K,{children:j}),f<n.length-1?i.jsx(H,{windowSize:d}):null]},`step_${f}`))})},I=()=>{const e=a(),n=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(B,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),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(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=x.item3;return i.jsxs(p,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(V,{windowSize:n})}),i.jsx(z,{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{K as a,V as i,bV as y,o as r,x as s,b as h,c4 as b,c,M as g,d as P,u as t,aQ as k,k9 as L,ka as D,kb as C}from"./index-BwMwEGov.js";import{n as o}from"./mui-CWpKo4a_.js";import"./sentry-D6_R-0PO.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./zeni-epic-state-CQm7BABf.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.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]="25a9e82b-6bfc-4c66-b4a5-f712ead8b7ad",e._sentryDebugIdIdentifier="sentry-dbid-25a9e82b-6bfc-4c66-b4a5-f712ead8b7ad")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,_=({rewardsPlan:e})=>{const n=[I(),R(),M({rewardsPlan:e})],d=a();return i.jsx(E,{children:n.map((j,f)=>i.jsxs(A,{children:[i.jsx(K,{children:j}),f<n.length-1?i.jsx(H,{windowSize:d}):null]},`step_${f}`))})},I=()=>{const e=a(),n=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(B,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),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(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=x.item3;return i.jsxs(p,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(V,{windowSize:n})}),i.jsx(z,{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{K as ie,fY as ae,y as de,aa as pe,aS as ce,V as s,cs as ue,ar as me,ct as ge,cu as fe,gY as he,cy as ye,o as n,bV as be,ac as U,ae as ve,aT as xe,x as j,b as $e,cE as we,f$ as Re,g0 as Ce,g1 as Ie,bb as ke,p as F,d1 as Oe,u}from"./index-D0RCZvbR.js";import{a as w}from"./sentry-D6_R-0PO.js";import{n as l}from"./mui-CWpKo4a_.js";import{Gu as Pe,bg as _e}from"./zeni-epic-state-CQm7BABf.js";import{f as je}from"./AllUserItems-DwCmOyqn-BB9lm9aN.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./LabeledUserSingleSelectWithSubtitlesField-DIzGOREd-Bc8PoiiU.js";import"./RoleWithToolTip-5cp6EPl_-BFxPWWfA.js";import"./LabeledZeniRolesDropDownField-DM9r7_1v-DcV8WbWY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="140be4c7-444c-423d-9bfe-036484f7dd70",e._sentryDebugIdIdentifier="sentry-dbid-140be4c7-444c-423d-9bfe-036484f7dd70")}catch{}})();const I={containerPaddingTop:new j(u[3],u[3]),containerPaddingLeft:new j(u[3],u[6],u[6]),containerPaddingRight:new j(u[3],u[6],u[8]),buttonWidth:new j(85,85)},W="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,ts=({peopleDetails:e,managersList:r,classList:y,controllersList:k,mode:p,isZeniTenant:T,onCloseClick:O,onResetClick:P,onSaveClick:m,onDeleteUser:J,onPeopleLocalDataUpdated:M,analytics:z,isReimbursementDisabled:B,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:V})=>{const C=ie(),[Q,S]=w.useState(!1),[X,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,se=w.useRef(null),D=w.useMemo(()=>ae(B,N,Z,b,v,V,q),[B,N,Z,b,v,V,q]),A=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:G(e.people,r,y,p,D,b,v),values:G(e.people,r,y,p,D,b,v)}),te=i.handleSubmit(()=>{K()&&m()},()=>{K(),console.warn("Edit Profile form error")}),K=()=>{const g=i.getValues();let o=!0;return g.userItems.forEach((f,x)=>{const{role:L,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const t=L.selectedOptions;(!t?.length||t?.length===1&&t?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),o=!1)}else{const t=h?.userRole.selectedRole;(t!=null&&h!=null?h.productsByUserRole[t].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),o=!1),t!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),o=!1)),c?.selectedUser==null&&t!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),o=!1)}}),o},ne=async(g,o)=>{const f=[],{userItems:x}=o,L=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(L!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let t=[];c==="admin"||c==="investor_or_banker"?t.push(c):t=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(E=>Pe(E.selectedOption?.value)).filter(E=>E!=null):[],c==="employee"&&t.length===0&&t.push("reimbursements_user");const $=_e(t);h={email:a.email,role:t,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),M(f)};w.useEffect(()=>{const g=i.watch((o,{name:f})=>{f!=null&&o!=null&&ne(f,o)});return()=>{g.unsubscribe()}});const re=()=>{S(!0)},oe={onOkClick:()=>{const g=e.person;z?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),J?.(e.person)},onCancelClick:()=>{S(!1)}},Y=ce(e.person?.update),_=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{_==null&&Y==="removeUsers"&&(S(!1),P?.())},[_,Y]),s.jsxs(s.Fragment,{children:[Q===!0?s.jsx(ue,{titleComponent:s.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:s.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:oe,proceedButtonVariant:"danger",isLoading:_==="removeUsers",isDisabled:_==="removeUsers",style:{background:A.colors.overlayColor},children:e.person?.user!=null?s.jsxs(s.Fragment,{children:[s.jsx(Be,{}),s.jsx(Ue,{children:s.jsx(ze,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,s.jsx(he,{title:ee,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:O,isTitleAlignLeft:C==="small"}),s.jsxs(Te,{"data-testid":U("edit-people-page-container"),windowSize:C,ref:se,children:[s.jsxs(Ee,{children:[s.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),s.jsxs(Se,{children:[s.jsx(De,{children:e.person?.user?.firstName?s.jsxs(Le,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),s.jsx(Ze,{className:"delete-icon-wrapper","data-testid":U("edit-people-page-delete-icon-wrapper"),onClick:re,children:s.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:s.jsx(Ne,{windowsize:C})})})]})]}),s.jsx(ve,{...i,children:s.jsx("form",{id:`${W}_form`,onSubmit:te,children:s.jsx(je,{control:i.control,sectionId:R,deleteConfirmationIndex:X,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:T,classList:y,managersList:r,controllersList:k,customerRoleOptions:D,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:z})})})]}),s.jsx(xe,{formId:`${W}_form`,"data-testid":U("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:O},separatorStyle:{marginRight:n.sp4}})]})},G=(e,r,y,k,p,T,O)=>{const P=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:k==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:k!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(T,O)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:r,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:P,selectedOption:P.find(m=>m.value===e[0]?.departmentId)}}]}},ns=(e,r)=>`${e}.${r}`,Te=l.div`
1
+ import{K as ie,fY as ae,y as de,aa as pe,aS as ce,V as s,cs as ue,ar as me,ct as ge,cu as fe,gY as he,cy as ye,o as n,bV as be,ac as U,ae as ve,aT as xe,x as j,b as $e,cE as we,f$ as Re,g0 as Ce,g1 as Ie,bb as ke,p as F,d1 as Oe,u}from"./index-BwMwEGov.js";import{a as w}from"./sentry-D6_R-0PO.js";import{n as l}from"./mui-CWpKo4a_.js";import{Gu as Pe,bg as _e}from"./zeni-epic-state-CQm7BABf.js";import{f as je}from"./AllUserItems-DwCmOyqn-Ca_U6xAP.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./LabeledUserSingleSelectWithSubtitlesField-DIzGOREd-tJ0wSROv.js";import"./RoleWithToolTip-5cp6EPl_-Bsoc7cC1.js";import"./LabeledZeniRolesDropDownField-DM9r7_1v-BGDO1SSv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="140be4c7-444c-423d-9bfe-036484f7dd70",e._sentryDebugIdIdentifier="sentry-dbid-140be4c7-444c-423d-9bfe-036484f7dd70")}catch{}})();const I={containerPaddingTop:new j(u[3],u[3]),containerPaddingLeft:new j(u[3],u[6],u[6]),containerPaddingRight:new j(u[3],u[6],u[8]),buttonWidth:new j(85,85)},W="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,ts=({peopleDetails:e,managersList:r,classList:y,controllersList:k,mode:p,isZeniTenant:T,onCloseClick:O,onResetClick:P,onSaveClick:m,onDeleteUser:J,onPeopleLocalDataUpdated:M,analytics:z,isReimbursementDisabled:B,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:V})=>{const C=ie(),[Q,S]=w.useState(!1),[X,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,se=w.useRef(null),D=w.useMemo(()=>ae(B,N,Z,b,v,V,q),[B,N,Z,b,v,V,q]),A=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:G(e.people,r,y,p,D,b,v),values:G(e.people,r,y,p,D,b,v)}),te=i.handleSubmit(()=>{K()&&m()},()=>{K(),console.warn("Edit Profile form error")}),K=()=>{const g=i.getValues();let o=!0;return g.userItems.forEach((f,x)=>{const{role:L,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const t=L.selectedOptions;(!t?.length||t?.length===1&&t?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),o=!1)}else{const t=h?.userRole.selectedRole;(t!=null&&h!=null?h.productsByUserRole[t].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),o=!1),t!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),o=!1)),c?.selectedUser==null&&t!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),o=!1)}}),o},ne=async(g,o)=>{const f=[],{userItems:x}=o,L=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(L!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let t=[];c==="admin"||c==="investor_or_banker"?t.push(c):t=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(E=>Pe(E.selectedOption?.value)).filter(E=>E!=null):[],c==="employee"&&t.length===0&&t.push("reimbursements_user");const $=_e(t);h={email:a.email,role:t,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),M(f)};w.useEffect(()=>{const g=i.watch((o,{name:f})=>{f!=null&&o!=null&&ne(f,o)});return()=>{g.unsubscribe()}});const re=()=>{S(!0)},oe={onOkClick:()=>{const g=e.person;z?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),J?.(e.person)},onCancelClick:()=>{S(!1)}},Y=ce(e.person?.update),_=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{_==null&&Y==="removeUsers"&&(S(!1),P?.())},[_,Y]),s.jsxs(s.Fragment,{children:[Q===!0?s.jsx(ue,{titleComponent:s.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:s.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:oe,proceedButtonVariant:"danger",isLoading:_==="removeUsers",isDisabled:_==="removeUsers",style:{background:A.colors.overlayColor},children:e.person?.user!=null?s.jsxs(s.Fragment,{children:[s.jsx(Be,{}),s.jsx(Ue,{children:s.jsx(ze,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,s.jsx(he,{title:ee,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:O,isTitleAlignLeft:C==="small"}),s.jsxs(Te,{"data-testid":U("edit-people-page-container"),windowSize:C,ref:se,children:[s.jsxs(Ee,{children:[s.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),s.jsxs(Se,{children:[s.jsx(De,{children:e.person?.user?.firstName?s.jsxs(Le,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),s.jsx(Ze,{className:"delete-icon-wrapper","data-testid":U("edit-people-page-delete-icon-wrapper"),onClick:re,children:s.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:s.jsx(Ne,{windowsize:C})})})]})]}),s.jsx(ve,{...i,children:s.jsx("form",{id:`${W}_form`,onSubmit:te,children:s.jsx(je,{control:i.control,sectionId:R,deleteConfirmationIndex:X,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:T,classList:y,managersList:r,controllersList:k,customerRoleOptions:D,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:z})})})]}),s.jsx(xe,{formId:`${W}_form`,"data-testid":U("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:O},separatorStyle:{marginRight:n.sp4}})]})},G=(e,r,y,k,p,T,O)=>{const P=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:k==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:k!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(T,O)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:r,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:P,selectedOption:P.find(m=>m.value===e[0]?.departmentId)}}]}},ns=(e,r)=>`${e}.${r}`,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{ay as yt,V as t,gm as po,aS as un,y as $t,aa as di,aA as On,aG as ui,K as Ae,gL as ho,gn as go,gp as yo,gq as bo,gM as fo,ae as mi,cs as pn,ct as pi,cu as hi,ac as H,o as n,x as s,bE as Pn,bq as xo,dx as wo,gr as So,gC as gi,gx as Ln,aT as yi,aq as bi,gy as vo,gN as qe,eG as Ye,f8 as hn,gO as Mt,b as Se,L as Ct,gP as $o,p as L,d as fi,as as gn,u as l,bz as Co,gA as ko,cJ as Io,eO as yn,gQ as Ft,fn as ge,cN as bn,fq as ye,cM as rt,eq as To,fm as xi,w as At,cQ as wi,cP as ot,ey as Oe,ak as fn,gR as Do,fF as jo,cI as Oo,aX as Rn,fz as Po,by as Lo,gS as An,bc as Si,g as Ro,ep as Ao,b9 as Et,gs as zo,bX as vi,c as xn,M as $i,d2 as Ci,ck as Nt,e$ as Bo,bb as Mo,d6 as Fo,ft as Eo,an as wn,a as zn,bV as ki,b3 as Bn,d1 as No,ao as Wo,cU as Ii,aQ as Uo,gT as Ti,gU as mn,gV as Di,gh as Mn,gW as zt,cR as _o,gl as Vo,bM as qo,d0 as Ho}from"./index-D0RCZvbR.js";import{a as v,P as Dt}from"./sentry-D6_R-0PO.js";import{n as i}from"./mui-CWpKo4a_.js";import{GB as Ko,bL as at,bZ as ji,bo as Oi,bm as Fn,GC as En,bh as Sn}from"./zeni-epic-state-CQm7BABf.js";import Pi from"./InvoiceUploadSection-Ch-_e-be-CsDyuXie.js";import{r as Go,f as Bt,d as vt,p as vn,u as Nn,h as we}from"./types-DyvtCprH-NFPm5TaG.js";import{I as Yo}from"./LabeledCreatableSingleSelectField-CKBw0XOi-B5ltv_kq.js";import{S as Jo}from"./CurrencySelectField-BGGEXCd2-CqXdOTD3.js";import{e as Qo}from"./BankAccountSection-DodjM0QY-JKnRSQjs.js";import{W as Xo,A as Zo}from"./BankAccountWarningSection-CEqWR1Zw-CrO5LlLC.js";import{o as ea}from"./radio-default-CiSgisfh-B6651goD.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./AttachmentView-MrO6p_bS-C09_HPJU.js";import"./uploadReceipts-Dge0cNF1-NDnD_ECQ.js";import"./upload-reimbursement-receipt-O2N8vcO7-RL1l3ZIL.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]="c8011b94-db3b-4dec-81a2-76f3f73d7086",e._sentryDebugIdIdentifier="sentry-dbid-c8011b94-db3b-4dec-81a2-76f3f73d7086")}catch{}})();const De=(e,o)=>`${e}.${o}`,Wn={largeLabelWidth:new s(120,120,160),paddingBottom:new s(l[3],l[2])},{spendManagement:{reimbursement:{reimbursementDetail:fe}},dateFormat:ta,common:na}=Se.getLocalizedStrings(),ia=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:T,isDisabled:m,isAddReimbursementDisabled:I,companyMileageConfigInfo:D,customerSearchAutoComplete:h,reimbursementId:a,classHierarchyList:$})=>{const d=Ae(),y=yt(),w=Ft(),O=`dashboard_${y.currentTenant?.companyId}`,R=$t(),{formState:{errors:A},getValues:S,trigger:P}=rt(),f=na.strings.empty,B=S(De(p,"distanceInMiles")),te=Wn.largeLabelWidth.value(d),ne=S(De(p,"class")),re=r.find(j=>j.classId===ne?.selectedOption),K=De(p,"class"),J=Oe(A,K);v.useEffect(()=>{ne?.selectedOption!=null&&(re?.isDeleted===!0||J)&&P(K)},[ne?.selectedOption,re?.isDeleted,r,K,P]);const W={application:"dashboard",companyId:y.currentTenant?.companyId,tab:"reimbursement",entityId:a},G=j=>r.filter(ie=>ie.classId===j)[0]?.accountingClassNumber,V=r.find(j=>j.classId===o.class),ue={valueContainer:j=>({...j,padding:`2px ${n.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})},Pe={valueContainer:j=>({...j,padding:`2px ${n.sp3} !important`,overflow:"unset"})};return t.jsxs(t.Fragment,{children:[t.jsx(ge,{isThreadAllowed:T&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.transactionDate`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("transactionDate",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Ii,{isDisabled:m,label:{label:fe.transactionDate,width:te},style:{paddingBottom:Wn.paddingBottom.valuePx(d),width:"auto"},dateField:{name:De(p,"transactionDate"),placeholder:fe.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:ta.visual.defaultInput,autoComplete:"off",maxDate:Sn(),registerOptions:{required:!0,validate:j=>!!j}}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:T&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Mn,{isDisabled:I?"disabled":void 0,style:{width:"auto"},label:{label:fe.distanceInMiles,width:te},formattedTextField:{type:"number",name:De(p,"distanceInMiles"),placeholder:fe.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:j=>j!=null?j>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:T&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.amount`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("amount",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Mn,{isDisabled:"disabled",label:{label:fe.amount,width:te},formattedTextField:{type:"number",name:De(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:ot(fe.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:j=>j!=null?j>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:B!=null&&D?.mileageUnitAmount!=null?`${c.currencySymbol}${D?.mileageUnitAmount} per mile x ${B}`:void 0})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:T&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.memo`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("memo",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(bn,{isDisabled:m,label:{label:fe.memo,width:te},style:{width:"auto"},text:{type:"text",name:De(p,"memo"),placeholder:ot(fe.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:Ti}}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:T&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.class`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("class",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(mn,{isLoading:!1,label:{label:fe.department,width:te},additionalLabelInfo:re?.isDeleted===!0&&Oe(A,De(p,"class"))?fe.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:De(p,"class"),placeholder:ot(fe.department),valueToId:j=>G(j),defaultValue:{selectedOption:V?.classId,allOptions:Ye($,[])},style:{width:"100%"},customStyleConfig:ue,registerOptions:{required:!0,validate:j=>j?.selectedOption==null?!1:r.find(ie=>ie.classId===j?.selectedOption)?.isDeleted===!0?fe.deletedClassError:!0}},style:{borderBottom:`1px solid ${R.colors.grey3}`},fullWidthSelect:!0},De(p,"class"))}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:T&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.customer`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("customer",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${n.sp2} ${n.sp2}`},children:t.jsx(Di,{label:{label:fe.customer,width:te},isDisabled:m,autoCompleteSingleSelectField:{name:De(p,"customer"),placeholder:fe.customerPlaceholder,isDisabled:m,valueToId:j=>j,defaultValue:{selectedOption:o.customer?.selectedOption,defaultOptions:o.customer?.defaultOptions??[]},style:{width:"100%"},customStyleConfig:Pe,loadOptions:h?.loadOptions},style:{justifyContent:"space-between"},fullWidthSelect:!0},De(p,"customer"))})]})},wt=i.div`
1
+ import{ay as yt,V as t,gm as po,aS as un,y as $t,aa as di,aA as On,aG as ui,K as Ae,gL as ho,gn as go,gp as yo,gq as bo,gM as fo,ae as mi,cs as pn,ct as pi,cu as hi,ac as H,o as n,x as s,bE as Pn,bq as xo,dx as wo,gr as So,gC as gi,gx as Ln,aT as yi,aq as bi,gy as vo,gN as qe,eG as Ye,f8 as hn,gO as Mt,b as Se,L as Ct,gP as $o,p as L,d as fi,as as gn,u as l,bz as Co,gA as ko,cJ as Io,eO as yn,gQ as Ft,fn as ge,cN as bn,fq as ye,cM as rt,eq as To,fm as xi,w as At,cQ as wi,cP as ot,ey as Oe,ak as fn,gR as Do,fF as jo,cI as Oo,aX as Rn,fz as Po,by as Lo,gS as An,bc as Si,g as Ro,ep as Ao,b9 as Et,gs as zo,bX as vi,c as xn,M as $i,d2 as Ci,ck as Nt,e$ as Bo,bb as Mo,d6 as Fo,ft as Eo,an as wn,a as zn,bV as ki,b3 as Bn,d1 as No,ao as Wo,cU as Ii,aQ as Uo,gT as Ti,gU as mn,gV as Di,gh as Mn,gW as zt,cR as _o,gl as Vo,bM as qo,d0 as Ho}from"./index-BwMwEGov.js";import{a as v,P as Dt}from"./sentry-D6_R-0PO.js";import{n as i}from"./mui-CWpKo4a_.js";import{GB as Ko,bL as at,bZ as ji,bo as Oi,bm as Fn,GC as En,bh as Sn}from"./zeni-epic-state-CQm7BABf.js";import Pi from"./InvoiceUploadSection-Ch-_e-be-CUu8gu3T.js";import{r as Go,f as Bt,d as vt,p as vn,u as Nn,h as we}from"./types-DyvtCprH-NFPm5TaG.js";import{I as Yo}from"./LabeledCreatableSingleSelectField-CKBw0XOi-BwKzi1Sg.js";import{S as Jo}from"./CurrencySelectField-BGGEXCd2-CqnZuDCu.js";import{e as Qo}from"./BankAccountSection-DodjM0QY-FOYtvxtd.js";import{W as Xo,A as Zo}from"./BankAccountWarningSection-CEqWR1Zw-DcG6VJNo.js";import{o as ea}from"./radio-default-CiSgisfh-B6651goD.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./AttachmentView-MrO6p_bS-DdIIWCPs.js";import"./uploadReceipts-Dge0cNF1-50TovDpj.js";import"./upload-reimbursement-receipt-O2N8vcO7-RL1l3ZIL.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]="c8011b94-db3b-4dec-81a2-76f3f73d7086",e._sentryDebugIdIdentifier="sentry-dbid-c8011b94-db3b-4dec-81a2-76f3f73d7086")}catch{}})();const De=(e,o)=>`${e}.${o}`,Wn={largeLabelWidth:new s(120,120,160),paddingBottom:new s(l[3],l[2])},{spendManagement:{reimbursement:{reimbursementDetail:fe}},dateFormat:ta,common:na}=Se.getLocalizedStrings(),ia=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:T,isDisabled:m,isAddReimbursementDisabled:I,companyMileageConfigInfo:D,customerSearchAutoComplete:h,reimbursementId:a,classHierarchyList:$})=>{const d=Ae(),y=yt(),w=Ft(),O=`dashboard_${y.currentTenant?.companyId}`,R=$t(),{formState:{errors:A},getValues:S,trigger:P}=rt(),f=na.strings.empty,B=S(De(p,"distanceInMiles")),te=Wn.largeLabelWidth.value(d),ne=S(De(p,"class")),re=r.find(j=>j.classId===ne?.selectedOption),K=De(p,"class"),J=Oe(A,K);v.useEffect(()=>{ne?.selectedOption!=null&&(re?.isDeleted===!0||J)&&P(K)},[ne?.selectedOption,re?.isDeleted,r,K,P]);const W={application:"dashboard",companyId:y.currentTenant?.companyId,tab:"reimbursement",entityId:a},G=j=>r.filter(ie=>ie.classId===j)[0]?.accountingClassNumber,V=r.find(j=>j.classId===o.class),ue={valueContainer:j=>({...j,padding:`2px ${n.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})},Pe={valueContainer:j=>({...j,padding:`2px ${n.sp3} !important`,overflow:"unset"})};return t.jsxs(t.Fragment,{children:[t.jsx(ge,{isThreadAllowed:T&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.transactionDate`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("transactionDate",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Ii,{isDisabled:m,label:{label:fe.transactionDate,width:te},style:{paddingBottom:Wn.paddingBottom.valuePx(d),width:"auto"},dateField:{name:De(p,"transactionDate"),placeholder:fe.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:ta.visual.defaultInput,autoComplete:"off",maxDate:Sn(),registerOptions:{required:!0,validate:j=>!!j}}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:T&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Mn,{isDisabled:I?"disabled":void 0,style:{width:"auto"},label:{label:fe.distanceInMiles,width:te},formattedTextField:{type:"number",name:De(p,"distanceInMiles"),placeholder:fe.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:j=>j!=null?j>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:T&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.amount`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("amount",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Mn,{isDisabled:"disabled",label:{label:fe.amount,width:te},formattedTextField:{type:"number",name:De(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:ot(fe.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:j=>j!=null?j>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:B!=null&&D?.mileageUnitAmount!=null?`${c.currencySymbol}${D?.mileageUnitAmount} per mile x ${B}`:void 0})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:T&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.memo`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("memo",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(bn,{isDisabled:m,label:{label:fe.memo,width:te},style:{width:"auto"},text:{type:"text",name:De(p,"memo"),placeholder:ot(fe.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:Ti}}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:T&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.class`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("class",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(mn,{isLoading:!1,label:{label:fe.department,width:te},additionalLabelInfo:re?.isDeleted===!0&&Oe(A,De(p,"class"))?fe.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:De(p,"class"),placeholder:ot(fe.department),valueToId:j=>G(j),defaultValue:{selectedOption:V?.classId,allOptions:Ye($,[])},style:{width:"100%"},customStyleConfig:ue,registerOptions:{required:!0,validate:j=>j?.selectedOption==null?!1:r.find(ie=>ie.classId===j?.selectedOption)?.isDeleted===!0?fe.deletedClassError:!0}},style:{borderBottom:`1px solid ${R.colors.grey3}`},fullWidthSelect:!0},De(p,"class"))}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:T&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.customer`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("customer",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${n.sp2} ${n.sp2}`},children:t.jsx(Di,{label:{label:fe.customer,width:te},isDisabled:m,autoCompleteSingleSelectField:{name:De(p,"customer"),placeholder:fe.customerPlaceholder,isDisabled:m,valueToId:j=>j,defaultValue:{selectedOption:o.customer?.selectedOption,defaultOptions:o.customer?.defaultOptions??[]},style:{width:"100%"},customStyleConfig:Pe,loadOptions:h?.loadOptions},style:{justifyContent:"space-between"},fullWidthSelect:!0},De(p,"customer"))})]})},wt=i.div`
2
2
  display: flex;
3
3
  flex: 1;
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{y as x,b as w,aX as v,V as o,bD as D,az as I,o as i,J as l}from"./index-D0RCZvbR.js";import{n as a}from"./mui-CWpKo4a_.js";import{R as k}from"./TrendWithTransactions-B_QntlQg-Dz5h1Emg.js";import"./sentry-D6_R-0PO.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./zeni-epic-state-CQm7BABf.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./TrendChart-CH1XG3_9-D9c8V-0T.js";import"./chartTypes-DyOVuWqI-BARYdpSf.js";import"./toCOABalancesWithID-r6SROS7c-DIO7gzfN.js";import"./toChartData-BLR_ax7l-DRu3ACUZ.js";import"./NoDataChart-CeZTA9_3-DPu9FogX.js";import"./InsightsSection-BGx81rZp-C-CAmhUU.js";import"./NavigationDots-BrrmV8fC-C-pOglim.js";import"./TransactionList-ClznvtnK-B-6z-9wK.js";import"./ConstrainedInnerElement-BeIpAPjB-Cf9Qlgny.js";import"./BoxItem-B7JwjEHS-GLe4e95X.js";import"./commonDimensions-0tYCNmAf-yzUUGq5J.js";import"./panelSelectedMixin-Cddsb26L-Cjeo9h__.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="217355ef-c120-4001-8a44-d82f8f308501",t._sentryDebugIdIdentifier="sentry-dbid-217355ef-c120-4001-8a44-d82f8f308501")}catch{}})();const P=a.div`
1
+ import{y as x,b as w,aX as v,V as o,bD as D,az as I,o as i,J as l}from"./index-BwMwEGov.js";import{n as a}from"./mui-CWpKo4a_.js";import{R as k}from"./TrendWithTransactions-B_QntlQg-C83d-V0Z.js";import"./sentry-D6_R-0PO.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./zeni-epic-state-CQm7BABf.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./TrendChart-CH1XG3_9-lvJf5nfu.js";import"./chartTypes-DyOVuWqI-jSuDc2IM.js";import"./toCOABalancesWithID-r6SROS7c-DQQa1DfS.js";import"./toChartData-BLR_ax7l-db9aDQmY.js";import"./NoDataChart-CeZTA9_3-DpvGxlEF.js";import"./InsightsSection-BGx81rZp-C6S_wS0Z.js";import"./NavigationDots-BrrmV8fC-DSzDsxhc.js";import"./TransactionList-ClznvtnK-BdyU7yQ3.js";import"./ConstrainedInnerElement-BeIpAPjB-CRLuvlCU.js";import"./BoxItem-B7JwjEHS-CL7o7jWo.js";import"./commonDimensions-0tYCNmAf-CUqtVqS0.js";import"./panelSelectedMixin-Cddsb26L-Cjeo9h__.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="217355ef-c120-4001-8a44-d82f8f308501",t._sentryDebugIdIdentifier="sentry-dbid-217355ef-c120-4001-8a44-d82f8f308501")}catch{}})();const P=a.div`
2
2
  display: flex;
3
3
  margin: ${i.sp0} ${i.sp0} ${i.sp0} ${i.sp0};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{K as C,x as d,V as i,b5 as E,cw as F,b as k,dv as K,d4 as N,o as s,ab as S,aQ as z,dT as D,u as a,e as R,ao as B,an as Y,bb as U,ak as V,cC as G,p as M,cF as X}from"./index-D0RCZvbR.js";import{a as m}from"./sentry-D6_R-0PO.js";import{n}from"./mui-CWpKo4a_.js";import{l as Q}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="1b53cd0b-ccd0-4f75-adc9-e142f6b455d1",e._sentryDebugIdIdentifier="sentry-dbid-1b53cd0b-ccd0-4f75-adc9-e142f6b455d1")}catch{}})();const y=k.getLocalizedStrings().reports.aging.agingDetail.header,g=[{key:"date",value:y.date,sortOrder:"ascending",width:new d(212,212),compressedWidth:new d(300,300)},{key:"invoiceNumber",value:y.invoiceNumber,sortOrder:"ascending",width:new d(188,188)},{key:"dueDate",value:y.dueDate,sortOrder:"ascending",width:new d(188,188)},{key:"daysPastDue",value:y.daysPastDue,sortOrder:"ascending",width:new d(188,188)},{key:"amount",value:y.amount,sortOrder:"ascending",width:new d(188,188),compressedWidth:new d(100,100)},{key:"balance",value:y.balance,sortOrder:"ascending",width:new d(120,120)}],T={headerHeight:new d(45,58)},q=n.div`
1
+ import{K as C,x as d,V as i,b5 as E,cw as F,b as k,dv as K,d4 as N,o as s,ab as S,aQ as z,dT as D,u as a,e as R,ao as B,an as Y,bb as U,ak as V,cC as G,p as M,cF as X}from"./index-BwMwEGov.js";import{a as m}from"./sentry-D6_R-0PO.js";import{n}from"./mui-CWpKo4a_.js";import{l as Q}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="1b53cd0b-ccd0-4f75-adc9-e142f6b455d1",e._sentryDebugIdIdentifier="sentry-dbid-1b53cd0b-ccd0-4f75-adc9-e142f6b455d1")}catch{}})();const y=k.getLocalizedStrings().reports.aging.agingDetail.header,g=[{key:"date",value:y.date,sortOrder:"ascending",width:new d(212,212),compressedWidth:new d(300,300)},{key:"invoiceNumber",value:y.invoiceNumber,sortOrder:"ascending",width:new d(188,188)},{key:"dueDate",value:y.dueDate,sortOrder:"ascending",width:new d(188,188)},{key:"daysPastDue",value:y.daysPastDue,sortOrder:"ascending",width:new d(188,188)},{key:"amount",value:y.amount,sortOrder:"ascending",width:new d(188,188),compressedWidth:new d(100,100)},{key:"balance",value:y.balance,sortOrder:"ascending",width:new d(120,120)}],T={headerHeight:new d(45,58)},q=n.div`
2
2
  top: ${s.sp0};
3
3
  left: ${s.sp0};
4
4
  min-height: ${e=>T.headerHeight.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{y as U,K as me,cf as ue,V as t,gb as q,ac as v,bQ as ge,p as a,bV as z,o as r,bE as Ce,kk as ke,w as d,hY as R,hX as T,a as xe,by as fe,ai as je,kl as ye,km as ve,b as k,cm as $e,e as be,bM as we,ak as h,aw as ee,an as Le,h as Me,b9 as Ee,b1 as We,bb as te}from"./index-D0RCZvbR.js";import{a as s}from"./sentry-D6_R-0PO.js";import{n as o,c as re,k as Se}from"./mui-CWpKo4a_.js";import{bh as oe,bL as De}from"./zeni-epic-state-CQm7BABf.js";import{U as Ve,F as _e,X as Pe,Y as He,J as Fe,G as ze}from"./recharts-DgmMLsfg.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.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]="57acb086-4882-46d4-9518-b1616a8c8d3e",e._sentryDebugIdIdentifier="sentry-dbid-57acb086-4882-46d4-9518-b1616a8c8d3e")}catch{}})();const Re=k.getLocalizedStrings().expenseAutomation,Te=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:Ye},texts:{score:Ie}}}=k.getLocalizedStrings(),Ze=({active:e,payload:i})=>{if(e===!1||e===void 0||!i||i.length===0)return null;const c=i[0]?.value;return c==null?null:t.jsxs(Ge,{children:[t.jsx(Je,{children:Ie}),t.jsxs(Oe,{children:[c,Ye]})]})};function Be({data:e,height:i}){const c=U(),$=e.map(x=>({month:De(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Te.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ae,{children:[t.jsx(Ne,{children:Re.overview.monthEndCloseTrend}),t.jsx(Ve,{height:i,width:"100%",children:t.jsxs(_e,{data:$,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:a.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:a.brandColorJade,stopOpacity:.1})]})}),t.jsx(Pe,{dataKey:"month",axisLine:{stroke:c.colors.grey3},tickLine:!1,interval:"preserveStartEnd",label:{color:c.colors.hero,fontSize:d.smallRegular.fontSize,fontWeight:d.smallRegular.fontWeight,fontFamily:d.smallRegular.fontFamily}}),t.jsx(He,{hide:!0}),t.jsx(Fe,{content:Ze,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(ze,{type:"monotone",dataKey:"count",stroke:a.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5,fill:a.neutralGrey4Light,stroke:a.brandColorJade,strokeWidth:2}})]})})]})}const Ne=o(h)`
1
+ import{y as U,K as me,cf as ue,V as t,gb as q,ac as v,bQ as ge,p as a,bV as z,o as r,bE as Ce,kk as ke,w as d,hY as R,hX as T,a as xe,by as fe,ai as je,kl as ye,km as ve,b as k,cm as $e,e as be,bM as we,ak as h,aw as ee,an as Le,h as Me,b9 as Ee,b1 as We,bb as te}from"./index-BwMwEGov.js";import{a as s}from"./sentry-D6_R-0PO.js";import{n as o,c as re,k as Se}from"./mui-CWpKo4a_.js";import{bh as oe,bL as De}from"./zeni-epic-state-CQm7BABf.js";import{U as Ve,F as _e,X as Pe,Y as He,J as Fe,G as ze}from"./recharts-DgmMLsfg.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.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]="57acb086-4882-46d4-9518-b1616a8c8d3e",e._sentryDebugIdIdentifier="sentry-dbid-57acb086-4882-46d4-9518-b1616a8c8d3e")}catch{}})();const Re=k.getLocalizedStrings().expenseAutomation,Te=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:Ye},texts:{score:Ie}}}=k.getLocalizedStrings(),Ze=({active:e,payload:i})=>{if(e===!1||e===void 0||!i||i.length===0)return null;const c=i[0]?.value;return c==null?null:t.jsxs(Ge,{children:[t.jsx(Je,{children:Ie}),t.jsxs(Oe,{children:[c,Ye]})]})};function Be({data:e,height:i}){const c=U(),$=e.map(x=>({month:De(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Te.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ae,{children:[t.jsx(Ne,{children:Re.overview.monthEndCloseTrend}),t.jsx(Ve,{height:i,width:"100%",children:t.jsxs(_e,{data:$,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:a.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:a.brandColorJade,stopOpacity:.1})]})}),t.jsx(Pe,{dataKey:"month",axisLine:{stroke:c.colors.grey3},tickLine:!1,interval:"preserveStartEnd",label:{color:c.colors.hero,fontSize:d.smallRegular.fontSize,fontWeight:d.smallRegular.fontWeight,fontFamily:d.smallRegular.fontFamily}}),t.jsx(He,{hide:!0}),t.jsx(Fe,{content:Ze,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(ze,{type:"monotone",dataKey:"count",stroke:a.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5,fill:a.neutralGrey4Light,stroke:a.brandColorJade,strokeWidth:2}})]})})]})}const Ne=o(h)`
2
2
  color: ${e=>e.theme.colors.champion};
3
3
  `,Ae=o.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{o as n,bX as Pl,K as Ce,gn as er,go as tr,V as t,cs as Fl,bD as Bl,ab as Ge,aT as nr,u as f,b as me,ak as ot,an as Re,ct as _l,ac as D,x as Q,y as Tt,bE as Vl,ig as Nl,aQ as nt,bV as xe,dl as zi,es as Ul,bx as Hl,p as he,au as Wl,eJ as Qt,L as Kn,dT as Ze,b5 as Jn,dr as ir,bt as ql,gb as Kl,id as Jl,h6 as Ql,g_ as or,by as Gl,bR as it,b9 as Qn,bM as sr,ks as Yl,ao as Ye,c6 as Zl,h as ar,bb as rr,as as Vo,aa as xn,bQ as No,ae as fn,kt as Xl,ku as ec,kv as tc,kw as Vn,kx as lr,ky as cr,kz as nc,kA as hs,kB as ic,gq as dr,dp as ur,kC as oc,kD as sc,kE as ac,kF as rc,kG as lc,kH as cc,kI as dc,kJ as uc,kK as hc,kL as pc,kM as hr,kN as mc,kO as gc,kP as xc,kQ as fc,gF as Uo,cf as Gn,cw as Pi,P as pr,E as mr,cI as Yn,dX as Ho,d as Wo,kR as yc,bq as wc,cm as bc,c4 as Cc,c1 as Zn,gI as ps,iV as ms,aq as $t,dm as Xn,d4 as Jt,iI as qe,cp as ei,cC as ti,cF as ni,kS as vc,w as yt,iq as gr,fF as Sc,aG as xr,kT as kc,aX as qo,aS as gs,h0 as fr,kU as jc,kV as $c,kW as Ic,bH as yr,aV as Tc,gO as Kt,i3 as Hi,eG as $i,cM as Ko,aA as Lc,eH as wr,gA as Ac,fU as Rc,ha as br,g as Ec,kX as Dc,a_ as Jo,jU as Mc,jV as Oc,dS as Cr,kY as vr,i$ as zc,hS as Pc,gG as Ii,jq as xs,kZ as Fc,a$ as Bc,dv as Sr,a as Wn,iz as kr,iJ as Ro,k_ as Tn,ei as jr,ek as $r,j2 as Eo,j3 as Ir,d1 as Tr,k$ as _c,d2 as Fi,iA as Lr,ft as Ar,l0 as Vc,ex as Wi,aM as Do,l1 as Nc,cR as Uc,iQ as Hc,dV as Wc,l2 as qc,gL as Kc,b3 as qi,et as Jc,fO as Qc,l3 as Gc,dR as Yc,hH as Zc,a9 as Xc,eu as ed,ev as td,ew as nd,ez as fs,eA as ys,eB as id,gS as od,b1 as sd,eL as ad,eM as rd,eN as ld}from"./index-D0RCZvbR.js";import{a as s,P as cd}from"./sentry-D6_R-0PO.js";import{n as o,c as le,k as Bi}from"./mui-CWpKo4a_.js";import{bh as Ki,kM as dd,Hb as ws,Hc as qn,Hd as ud,He as hd,cx as pd,bL as Di,cy as md,c4 as Qo,Hf as gd,FA as bs,cz as xd,cA as fd,lR as Nn,bE as ln,Hg as Cs,Hh as yd,bV as Rr,bo as cn,Hi as wd,Hj as Er,Hk as Dr,Hl as Mr,Hm as Or,Hn as zr,Ho as Go,lj as bd}from"./zeni-epic-state-CQm7BABf.js";import{t as Yo}from"./panelSelectedMixin-Cddsb26L-Cjeo9h__.js";import{h as Pr,I as Fr,n as Ln,R as Ot}from"./CollapsableReportTable-BwRNFt9D-D3w6E4nX.js";import{N as Ji}from"./AccountRow-CjgOf4O_-Ct2P2Loi.js";import{o as Br}from"./mapTimeframeBalancesToTreeNode-HEnxthuN-MtID2XPF.js";import{d as vs}from"./mapLoadingInProgressToTreeNode-BT2nAyCO-BOa6vUQ9.js";import{h as Cd}from"./VendorsAccountsSection-k1NLZ5FW-Bzs1aGaQ.js";import{u as vd,c as Ss,d as Sd,m as kd}from"./uploadAttachment-DbWJ8gRE-sZ5TPM-C.js";import{r as Mi}from"./core-BzTCCyMo.js";import{t as jd}from"./upload-reimbursement-receipt-O2N8vcO7-RL1l3ZIL.js";import"./liveblocks-CKHUw5rb.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.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]="af2e958a-cda9-4f2f-b7ca-6c944fbcea68",e._sentryDebugIdIdentifier="sentry-dbid-af2e958a-cda9-4f2f-b7ca-6c944fbcea68")}catch{}})();const{common:{navBar:{back:$d},texts:{refresh:Id,close:Td,copy:Ld,copied:Ad,open:Rd}},expenseAutomation:{common:{numbers:{maximumCount:Ed}}}}=me.getLocalizedStrings(),Dd=o(Ac)`
1
+ import{o as n,bX as Pl,K as Ce,gn as er,go as tr,V as t,cs as Fl,bD as Bl,ab as Ge,aT as nr,u as f,b as me,ak as ot,an as Re,ct as _l,ac as D,x as Q,y as Tt,bE as Vl,ig as Nl,aQ as nt,bV as xe,dl as zi,es as Ul,bx as Hl,p as he,au as Wl,eJ as Qt,L as Kn,dT as Ze,b5 as Jn,dr as ir,bt as ql,gb as Kl,id as Jl,h6 as Ql,g_ as or,by as Gl,bR as it,b9 as Qn,bM as sr,ks as Yl,ao as Ye,c6 as Zl,h as ar,bb as rr,as as Vo,aa as xn,bQ as No,ae as fn,kt as Xl,ku as ec,kv as tc,kw as Vn,kx as lr,ky as cr,kz as nc,kA as hs,kB as ic,gq as dr,dp as ur,kC as oc,kD as sc,kE as ac,kF as rc,kG as lc,kH as cc,kI as dc,kJ as uc,kK as hc,kL as pc,kM as hr,kN as mc,kO as gc,kP as xc,kQ as fc,gF as Uo,cf as Gn,cw as Pi,P as pr,E as mr,cI as Yn,dX as Ho,d as Wo,kR as yc,bq as wc,cm as bc,c4 as Cc,c1 as Zn,gI as ps,iV as ms,aq as $t,dm as Xn,d4 as Jt,iI as qe,cp as ei,cC as ti,cF as ni,kS as vc,w as yt,iq as gr,fF as Sc,aG as xr,kT as kc,aX as qo,aS as gs,h0 as fr,kU as jc,kV as $c,kW as Ic,bH as yr,aV as Tc,gO as Kt,i3 as Hi,eG as $i,cM as Ko,aA as Lc,eH as wr,gA as Ac,fU as Rc,ha as br,g as Ec,kX as Dc,a_ as Jo,jU as Mc,jV as Oc,dS as Cr,kY as vr,i$ as zc,hS as Pc,gG as Ii,jq as xs,kZ as Fc,a$ as Bc,dv as Sr,a as Wn,iz as kr,iJ as Ro,k_ as Tn,ei as jr,ek as $r,j2 as Eo,j3 as Ir,d1 as Tr,k$ as _c,d2 as Fi,iA as Lr,ft as Ar,l0 as Vc,ex as Wi,aM as Do,l1 as Nc,cR as Uc,iQ as Hc,dV as Wc,l2 as qc,gL as Kc,b3 as qi,et as Jc,fO as Qc,l3 as Gc,dR as Yc,hH as Zc,a9 as Xc,eu as ed,ev as td,ew as nd,ez as fs,eA as ys,eB as id,gS as od,b1 as sd,eL as ad,eM as rd,eN as ld}from"./index-BwMwEGov.js";import{a as s,P as cd}from"./sentry-D6_R-0PO.js";import{n as o,c as le,k as Bi}from"./mui-CWpKo4a_.js";import{bh as Ki,kM as dd,Hb as ws,Hc as qn,Hd as ud,He as hd,cx as pd,bL as Di,cy as md,c4 as Qo,Hf as gd,FA as bs,cz as xd,cA as fd,lR as Nn,bE as ln,Hg as Cs,Hh as yd,bV as Rr,bo as cn,Hi as wd,Hj as Er,Hk as Dr,Hl as Mr,Hm as Or,Hn as zr,Ho as Go,lj as bd}from"./zeni-epic-state-CQm7BABf.js";import{t as Yo}from"./panelSelectedMixin-Cddsb26L-Cjeo9h__.js";import{h as Pr,I as Fr,n as Ln,R as Ot}from"./CollapsableReportTable-BwRNFt9D-DkQB6FR6.js";import{N as Ji}from"./AccountRow-CjgOf4O_-DsrFoIaP.js";import{o as Br}from"./mapTimeframeBalancesToTreeNode-HEnxthuN-CdJJBJLl.js";import{d as vs}from"./mapLoadingInProgressToTreeNode-BT2nAyCO-CRwfGSZI.js";import{h as Cd}from"./VendorsAccountsSection-k1NLZ5FW-C_fhnoYe.js";import{u as vd,c as Ss,d as Sd,m as kd}from"./uploadAttachment-DbWJ8gRE-CNwojo5y.js";import{r as Mi}from"./core-BzTCCyMo.js";import{t as jd}from"./upload-reimbursement-receipt-O2N8vcO7-RL1l3ZIL.js";import"./liveblocks-CKHUw5rb.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.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]="af2e958a-cda9-4f2f-b7ca-6c944fbcea68",e._sentryDebugIdIdentifier="sentry-dbid-af2e958a-cda9-4f2f-b7ca-6c944fbcea68")}catch{}})();const{common:{navBar:{back:$d},texts:{refresh:Id,close:Td,copy:Ld,copied:Ad,open:Rd}},expenseAutomation:{common:{numbers:{maximumCount:Ed}}}}=me.getLocalizedStrings(),Dd=o(Ac)`
2
2
  display: flex;
3
3
  width: ${n.sp4};
4
4
  height: ${n.sp4};
@@ -1,4 +1,4 @@
1
- import{y as Be,K as Q,b as _,aa as et,aS as Fe,cI as tt,V as t,bE as it,ae as at,aT as nt,x as f,o as n,l4 as lt,l5 as ot,l6 as rt,cQ as Re,cN as dt,f5 as st,fJ as ct,fK as pt,cP as Ae,gh as mt,l7 as ut,cU as ht,cV as yt,fc as ze,fd as Oe,fm as ke,w as ge,u,fo as gt,bc as ft,b9 as xe,p as Ee,ao as bt,at as We}from"./index-D0RCZvbR.js";import{a as J}from"./sentry-D6_R-0PO.js";import{n as d}from"./mui-CWpKo4a_.js";import{bL as _e,bh as le,bZ as qe,bH as xt,bo as wt}from"./zeni-epic-state-CQm7BABf.js";import{Y as vt}from"./LabeledDocumentField-D8KhtX0K-Cm1Aq1-V.js";import{S as te}from"./LabeledText-C8euMqJ4-Bp0HFgot.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.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]="d42bf36c-7b76-436d-ba25-102d00126955",e._sentryDebugIdIdentifier="sentry-dbid-d42bf36c-7b76-436d-ba25-102d00126955")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=Q(),a=Be(),s=_.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(Dt,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Tt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
1
+ import{y as Be,K as Q,b as _,aa as et,aS as Fe,cI as tt,V as t,bE as it,ae as at,aT as nt,x as f,o as n,l4 as lt,l5 as ot,l6 as rt,cQ as Re,cN as dt,f5 as st,fJ as ct,fK as pt,cP as Ae,gh as mt,l7 as ut,cU as ht,cV as yt,fc as ze,fd as Oe,fm as ke,w as ge,u,fo as gt,bc as ft,b9 as xe,p as Ee,ao as bt,at as We}from"./index-BwMwEGov.js";import{a as J}from"./sentry-D6_R-0PO.js";import{n as d}from"./mui-CWpKo4a_.js";import{bL as _e,bh as le,bZ as qe,bH as xt,bo as wt}from"./zeni-epic-state-CQm7BABf.js";import{Y as vt}from"./LabeledDocumentField-D8KhtX0K-DHDNNvc8.js";import{S as te}from"./LabeledText-C8euMqJ4-Bnfanzgj.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.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]="d42bf36c-7b76-436d-ba25-102d00126955",e._sentryDebugIdIdentifier="sentry-dbid-d42bf36c-7b76-436d-ba25-102d00126955")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=Q(),a=Be(),s=_.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(Dt,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Tt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-top: ${n.sp3};
@@ -1,4 +1,4 @@
1
- import{y as _,K as w,b as y,aX as n,p as r,V as i,cs as v,x as p,ct as k,cu as x,u as g}from"./index-D0RCZvbR.js";import{n as d}from"./mui-CWpKo4a_.js";import"./sentry-D6_R-0PO.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./zeni-epic-state-CQm7BABf.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="15b0349a-ad63-49f4-a000-c1695be90d98",e._sentryDebugIdIdentifier="sentry-dbid-15b0349a-ad63-49f4-a000-c1695be90d98")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(100,100,85)},z=d.div`
1
+ import{y as _,K as w,b as y,aX as n,p as r,V as i,cs as v,x as p,ct as k,cu as x,u as g}from"./index-BwMwEGov.js";import{n as d}from"./mui-CWpKo4a_.js";import"./sentry-D6_R-0PO.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./zeni-epic-state-CQm7BABf.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="15b0349a-ad63-49f4-a000-c1695be90d98",e._sentryDebugIdIdentifier="sentry-dbid-15b0349a-ad63-49f4-a000-c1695be90d98")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(100,100,85)},z=d.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{K as H,V as l,b as Y,cM as q,ey as G,y as ee,cR as J,x as L,gl as Z,o as i,ac as M,eq as ce,aG as le,gd as pe,ge as ue,a as he,p as u,u as g,gK as ge,d1 as be,eH as ye,aq as ve,bJ as we,w as W,dp as $e,bK as fe,bI as ke}from"./index-D0RCZvbR.js";import{n as d}from"./mui-CWpKo4a_.js";import{a as V}from"./sentry-D6_R-0PO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="934cbcdf-b22c-4be7-ac64-78ac1aef8c6a",e._sentryDebugIdIdentifier="sentry-dbid-934cbcdf-b22c-4be7-ac64-78ac1aef8c6a")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=q(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":M("labeled-multi-text-field",t.name),children:[l.jsx(J,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
1
+ import{K as H,V as l,b as Y,cM as q,ey as G,y as ee,cR as J,x as L,gl as Z,o as i,ac as M,eq as ce,aG as le,gd as pe,ge as ue,a as he,p as u,u as g,gK as ge,d1 as be,eH as ye,aq as ve,bJ as we,w as W,dp as $e,bK as fe,bI as ke}from"./index-BwMwEGov.js";import{n as d}from"./mui-CWpKo4a_.js";import{a as V}from"./sentry-D6_R-0PO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="934cbcdf-b22c-4be7-ac64-78ac1aef8c6a",e._sentryDebugIdIdentifier="sentry-dbid-934cbcdf-b22c-4be7-ac64-78ac1aef8c6a")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=q(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":M("labeled-multi-text-field",t.name),children:[l.jsx(J,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{y as Ke,K as J,aa as Ee,aA as _e,cI as Je,V as t,ac as V,bE as Qe,ae as Ye,cq as Ie,o,a as ye,b as ue,bQ as Xe,co as Ze,b5 as et,dr as tt,cw as lt,ab as ot,L as at,d2 as nt,bH as De,aV as it,x as z,bR as se,u as $,cp as Ce,ak as we,cC as rt,cF as st,cM as dt,dm as je,d4 as me,bV as E,eC as ke,aq as ct,iu as ht,an as mt,bj as gt,ir as pt,iv as Oe,ck as ut,bv as wt,p as We,iw as bt}from"./index-D0RCZvbR.js";import{a as j}from"./sentry-D6_R-0PO.js";import{n as r,c as Se}from"./mui-CWpKo4a_.js";import{c4 as xt,GS as vt}from"./zeni-epic-state-CQm7BABf.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="7e14dc60-01f6-4e9d-8b78-2b725a0a5750",e._sentryDebugIdIdentifier="sentry-dbid-7e14dc60-01f6-4e9d-8b78-2b725a0a5750")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",U="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,n)=>n!=null?`${e}.${l}.${n}`:`${e}.${l}`;function ft(e){const l=J(),{button:{label:n,onClick:a},search:{isOpen:u,placeHolder:g,searchText:b,onTextChange:f},newVendorButtonDataTestId:d,searchBarDataTestId:h}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:u&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ie,{placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"unset",right:o.sp0},onSearchTextChanged:f}):null}),l==="small"?t.jsx(Ie,{keepSearchBoxOpen:!0,placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},onSearchTextChanged:f}):null,l==="small"?t.jsx(St,{"data-testid":d,style:{marginLeft:o.sp5}}):t.jsx(ye,{dataTestId:d,label:n,onClick:a,size:"small",style:{marginLeft:o.sp3},variant:"primary"})]})}const yt=r.div`
1
+ import{y as Ke,K as J,aa as Ee,aA as _e,cI as Je,V as t,ac as V,bE as Qe,ae as Ye,cq as Ie,o,a as ye,b as ue,bQ as Xe,co as Ze,b5 as et,dr as tt,cw as lt,ab as ot,L as at,d2 as nt,bH as De,aV as it,x as z,bR as se,u as $,cp as Ce,ak as we,cC as rt,cF as st,cM as dt,dm as je,d4 as me,bV as E,eC as ke,aq as ct,iu as ht,an as mt,bj as gt,ir as pt,iv as Oe,ck as ut,bv as wt,p as We,iw as bt}from"./index-BwMwEGov.js";import{a as j}from"./sentry-D6_R-0PO.js";import{n as r,c as Se}from"./mui-CWpKo4a_.js";import{c4 as xt,GS as vt}from"./zeni-epic-state-CQm7BABf.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="7e14dc60-01f6-4e9d-8b78-2b725a0a5750",e._sentryDebugIdIdentifier="sentry-dbid-7e14dc60-01f6-4e9d-8b78-2b725a0a5750")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",U="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,n)=>n!=null?`${e}.${l}.${n}`:`${e}.${l}`;function ft(e){const l=J(),{button:{label:n,onClick:a},search:{isOpen:u,placeHolder:g,searchText:b,onTextChange:f},newVendorButtonDataTestId:d,searchBarDataTestId:h}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:u&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ie,{placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"unset",right:o.sp0},onSearchTextChanged:f}):null}),l==="small"?t.jsx(Ie,{keepSearchBoxOpen:!0,placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},onSearchTextChanged:f}):null,l==="small"?t.jsx(St,{"data-testid":d,style:{marginLeft:o.sp5}}):t.jsx(ye,{dataTestId:d,label:n,onClick:a,size:"small",style:{marginLeft:o.sp3},variant:"primary"})]})}const yt=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  padding-right: ${o.sp0};
@@ -1,4 +1,4 @@
1
- import{V as r,aO as D,b as c,ac as E,aZ as b,J as I,aP as Z,aU as j,o as H,ak as x}from"./index-D0RCZvbR.js";import{P as m,a as t}from"./sentry-D6_R-0PO.js";import{c as V}from"./SummaryCard-C95uhnrw-Cz4Ul3rj.js";import{n as d}from"./mui-CWpKo4a_.js";import{N as y}from"./NavigationArrow-CocIRiS9-D_aGlTJv.js";import{k as T}from"./NavigationDots-BrrmV8fC-C-pOglim.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./zeni-epic-state-CQm7BABf.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./ReloadCard-B1utQoNe-BgcT-L3D.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="90d73c3f-0602-422e-833a-058f2e4e44b6",e._sentryDebugIdIdentifier="sentry-dbid-90d73c3f-0602-422e-833a-058f2e4e44b6")}catch{}})();const S=d.div`
1
+ import{V as r,aO as D,b as c,ac as E,aZ as b,J as I,aP as Z,aU as j,o as H,ak as x}from"./index-BwMwEGov.js";import{P as m,a as t}from"./sentry-D6_R-0PO.js";import{c as V}from"./SummaryCard-C95uhnrw-CFrAeWpB.js";import{n as d}from"./mui-CWpKo4a_.js";import{N as y}from"./NavigationArrow-CocIRiS9-CC-1y7TO.js";import{k as T}from"./NavigationDots-BrrmV8fC-DSzDsxhc.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./zeni-epic-state-CQm7BABf.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./ReloadCard-B1utQoNe-Cbj5aZK_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="90d73c3f-0602-422e-833a-058f2e4e44b6",e._sentryDebugIdIdentifier="sentry-dbid-90d73c3f-0602-422e-833a-058f2e4e44b6")}catch{}})();const S=d.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: column;