@zeniai/web-cockpit-ui 1.15.46-dev → 1.15.47-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) hide show
  1. package/dist/assets/{ACHDetailsPage-D87WwXK_-CBHF5jjP.js → ACHDetailsPage-qOWGYckl-DjJAccbn.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DNhHi_BA-DVKmGARz.js → AIPerformancePage-DJBLMHvs-iLI9KDLf.js} +18 -18
  3. package/dist/assets/AccountInfoPage-BulzquHY-COb5jSNJ.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-WRX3aOoA-BND3wWTU.js → AccountInfoPageContent-C0dKzQoF-BOCBaroQ.js} +12 -12
  5. package/dist/assets/{AccountLockedInfoModal-hM0l2JoS-BM4SnK9N.js → AccountLockedInfoModal-Cy1ahm9k-BxoMcyLt.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-D6AdnAnF-BP-45utn.js → AccountReconDetailsDrawerPage-DQdf3Wk4-CbpITftp.js} +1 -1
  7. package/dist/assets/{AccountRow-kn3U0JbW-CqKCifJj.js → AccountRow-D1Jqgk7o-DewC0XFv.js} +15 -15
  8. package/dist/assets/{AccountsPromoCardStack-D5XHZwyh-DkX-4Lp4.js → AccountsPromoCardStack-Vwu9llOu-CnOXSXsq.js} +1 -1
  9. package/dist/assets/AddAddressForCardDrawer-DK5lnDS9-Ctbcl8_3.js +6 -0
  10. package/dist/assets/{AddToWalletPage-D7DeS_0t-DEAoUKiM.js → AddToWalletPage-C6oLCkE7-C3vtPZC0.js} +3 -3
  11. package/dist/assets/{AgingReportsPage-bssKBslp-BzwEfw-z.js → AgingReportsPage-DAe2E6ey-BAsTv0B2.js} +1 -1
  12. package/dist/assets/{AllUserItems-DodKPXrb-CcYwQFSA.js → AllUserItems-6sLrlL8E-DpxFsjkv.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-NVrKyHd2-Bw462lTM.js → ApAgingDetailPage-4SahVbGx-ZM0Bqd_F.js} +3 -3
  14. package/dist/assets/{AppBasePage-8vs83psd-DYOlChcn.js → AppBasePage-CtA9oCF7-D92abhWD.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-D_del0Ko-C7wcXF5_.js → AppDrawerContent-BBkCJjf8-BybjdyD6.js} +2 -2
  16. package/dist/assets/{ApprovalRulesSettingsPage-GZSj0TP5-DNVzaP3v.js → ApprovalRulesSettingsPage-XgvVBRfh-DhsteiN3.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DPWhkZ92-C-OV2nhV.js → ArAgingChart-zTqy57EG-Dm-WcY4b.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-60QCPZos-BlpsMiLT.js → ArAgingDetailPage-DohpExH8-CLRbt3qX.js} +1 -1
  19. package/dist/assets/{AttachmentView-CbtcWV-6-CFsaig-u.js → AttachmentView-DAEi6O2i-CRQnb5l5.js} +1 -1
  20. package/dist/assets/{BankAccountSection-CNsbo5NW-D5-9rntY.js → BankAccountSection-I-uZ-Yd2-0VZeMO0Z.js} +13 -13
  21. package/dist/assets/{BankAccountWarningSection-DNsentDt-DXrUqr4R.js → BankAccountWarningSection-BR28A3L4-D_D37qnN.js} +8 -8
  22. package/dist/assets/{BankConnectionsSettingsPage-CLotTlUf-Cr8Fvyc2.js → BankConnectionsSettingsPage-D8V4bq-1-wYDIpQQB.js} +9 -9
  23. package/dist/assets/{BillDetailPage-Cg3qZdsc-Bu00bZom.js → BillDetailPage-BxfrpUM5-DDyFcvs1.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DbA9lF8v-D3H9v0x8.js → BillPayApprovalRuleDetailPage-fsIdZfeP-CA1hTToh.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-D5H-E5f4-Cy9lWX0_.js → BillPayApprovalRulesPage-CawYbj9Y-C8NzV5so.js} +10 -10
  26. package/dist/assets/{BillPayPromoPage-x2Q3c9G9-CVZuA77d.js → BillPayPromoPage-DmRx1E8m-Busj2ugi.js} +6 -6
  27. package/dist/assets/{BillPaySetUpPage-CwRy-Uno-xx3edT5K.js → BillPaySetUpPage-BiMDn7ZO-Bk6vBQAJ.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-D7PgDMId-BnPPtdGW.js → BillingSettingsPage-Co8Gw-go-BVCxX7gI.js} +8 -8
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DStkOLXt-BhfIlk7A.js → BillsBulkReviewDrawerPage-CfqxLPzs-BaPIvRkm.js} +1 -1
  30. package/dist/assets/{BoxItem-djG6IQ4o-2WZ3HHBU.js → BoxItem-mA2l070e-DKIWhdy7.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-fTHIGXBy-a0eiadoT.js → BusinessVerificationPage-iHBNaf7w-DrLXb-Iq.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BNT6moWK-CsPKCw8x.js → CardNumberSubText-H4wtwe6R-CVi7j9Nt.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-G5wL_XNp-CJEFraK5.js → CashbackDetailPage-Bo_bsGqF-ButLTwgN.js} +5 -5
  34. package/dist/assets/{ChargeCardDetailPage-CSPeag3v-BP9bsRfj.js → ChargeCardDetailPage-DKWkYV7Z-CddIMjKt.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-BqN-1uhQ-rbpM72ul.js → ChargeCardListPage-Dfa_PX3G-CgibIpQD.js} +5 -5
  36. package/dist/assets/{ChargeCardListTable-Bii0Wthf-T5JYYMDA.js → ChargeCardListTable-GyVhj7uY-DDdTqmU3.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-jnLm7dsX-BCjpKu7L.js → ChargeCardPaymentHistoryPage-7dGO_5iu-lPBFnLZd.js} +1 -1
  38. package/dist/assets/ChargeCardPromoPage-CdWji5S5-BrnExXgk.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-CORgMz4D-B3XpYA3g.js → ChargeCardSetupPage-vwbBIYjC-BAacWjKb.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-CyFh62V3-CVApFNSe.js → ChargeCardStatementsPage-wAqoDc2D-BFeCByOF.js} +2 -2
  41. package/dist/assets/{CheckDepositDrawerPage-4OsC9vnS-C8KgAtNZ.js → CheckDepositDrawerPage-C3wR53BH-B78xbDtI.js} +4 -4
  42. package/dist/assets/{CollapsableReportTable-BBZQoM0P-CNldMsB_.js → CollapsableReportTable-D2dtXfS_-BdWkgbsB.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BxcbL0xy-CPql_B00.js → CompanyOfficerDetailsSection-C1yoAdZ6-B9_PbeF5.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-DZkmzhcF-DdwaCSTK.js → CompanyPassportCard-BZ_FCAKT-Cwwjpb-3.js} +3 -3
  45. package/dist/assets/{CompanyPassportPage-FbqUpLTv-C5g27TMH.js → CompanyPassportPage-Cq6S4mp6-UdzUDRuj.js} +24 -24
  46. package/dist/assets/{CompleteProfile-CHAiqldO-Bdzud2Sl.js → CompleteProfile-CBT17ax6-DYIsbIsy.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-D44X4kyc-CoZYKMrw.js → ConfettiBurst-DgE_527a-D7rXkSFC.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cf0vGOip.js → ConstrainedInnerElement-BeIpAPjB-BmJp_gGJ.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-DDLhdHIQ-DkYXq-0b.js → CreateOrEditVendorPage-ClqI4j2U-BHL0P8Te.js} +6 -6
  50. package/dist/assets/{CreditCardPaymentDrawerPage-Cqp3cX11-Ch0fJLe_.js → CreditCardPaymentDrawerPage-CtM4-nS0-BKJTmcZU.js} +6 -6
  51. package/dist/assets/{CurrencySelectField-BsReHqXI-Cpmmr7ON.js → CurrencySelectField-CP7MSQnS-BpXGyUMj.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-COSoNwiL-XcudDVcs.js → CustomerOnboardingActivationPage-DejhV7FX-8Rok_hOE.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-B1gZ-xOx-BCHT9pOT.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CkVIT-8v-D6-I3CVi.js → CustomerOnboardingDetailPageSkeleton-DTd8-dHU-BMw7YnFS.js} +6 -6
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-g9MUens3-BHwD_Moa.js → CustomerOnboardingNoStepsPage-DW7kpMxd-lyLq4A0Q.js} +2 -2
  56. package/dist/assets/{CustomerOnboardingPage-BMwDeAmg-Dk5C_vBC.js → CustomerOnboardingPage-LCVn__U7-BhQ2ekET.js} +4 -4
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-cfTmZUUq-DFjdDHbL.js → CustomerOnboardingProductSuitePage-CniahiZc-DWeQdDUe.js} +10 -10
  58. package/dist/assets/{Dashboard-CIMGd6vk-C9Y8AV96.js → Dashboard-CnwoksS9-Cj6x2TqP.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-C4vCCh_n-BRXPWSt1.js → DashboardReportPage-qKhiq9te-FT01lDlD.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-DAlY419Q-DP9sfj2H.js → DashboardSidebarBackgroundAnimation-CHpFVLim-B5TP9TTq.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-BerAtS0--BKjebtYX.js → DepositAccTransactionItem-CIY2jU_O-CNSGbCvC.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-CZ1vmnPr-B4TVnkzE.js → DepositAccTransactionListPage-DfhVFXvq-B738llu8.js} +3 -3
  63. package/dist/assets/{DomesticWireDetailsPage-E4qLX6pw-Bw3PSNwc.js → DomesticWireDetailsPage-DSdkrnnn-5AqQiSCx.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-Boa6Fcbv-D-65-zcn.js → DownloadOverlay-DLbD0wMn-DFyBDJuM.js} +1 -1
  65. package/dist/assets/{DrawerPage-Cb-dsS3c-DReTV4LX.js → DrawerPage-CCZXoj1F-DCS5WSNv.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-CndPSw44-DxRcWXPA.js → EditPeoplePage-CDUEfjvF-CJoR5dq4.js} +4 -4
  67. package/dist/assets/{EditReimbursementDetailPage-wT1IlD4U-Va_HPFVw.js → EditReimbursementDetailPage-BopPLndD-Dub2o4ld.js} +1 -1
  68. package/dist/assets/EntityDetailPage-C8mC_pOt-DoBBFGRj.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BOEYtn_o-CPte8tJh.js → EntitySummarySection-BVG0N8QO-B29acNJ9.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-DXZjyYrU-ShMVKnR0.js → ExpenseAutomationOverviewPage-DDTNyUiN-C6hbKIHH.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-B8ptcdZd-BOgjzwCH.js → ExpenseAutomationPage-DG1EbsCZ-Cpa7UC9R.js} +73 -73
  72. package/dist/assets/{ExpressPayPage-DitysgOF-CIeBsr4O.js → ExpressPayPage-DBxaDfRz-CvEgT1Dz.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-G9whxotT-BiSE24Wc.js → FeaturePreviewPage-ezX4YJ8n-DZlh_My6.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-BERdmvvn-UqgRbJ9-.js → FollowStepsSection-BCWwwk1I-Dr0Igucn.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-DXH3le_Z-jpZIGute.js → GlobalReviewListPage-C1Tf-wcw-PWdcxabv.js} +1 -1
  76. package/dist/assets/{InformationCardStack-CXqr6wgh-ChZD3ssd.js → InformationCardStack-Czrqxdi_-DFscx6Un.js} +2 -2
  77. package/dist/assets/{InsightsCardStack-DHmkYfCM-wxboA7g4.js → InsightsCardStack-B50r1AKc-Fu1xeA5s.js} +5 -5
  78. package/dist/assets/{InsightsSection-o1r7-jTU-BEvpe3bJ.js → InsightsSection-BJeBGbPg-Bqi1LIqW.js} +5 -5
  79. package/dist/assets/{IntegrationsSettingsPage-BngX4y9j-DAbz7zwm.js → IntegrationsSettingsPage-BMSATQJz-pQzp159S.js} +2 -2
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-B6OWKscw-Ami9wVCG.js → InternationalWireSwiftDetailsPage-OirC9N1X-BxespejQ.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-D-h205ua-C2Fi9WeW.js → InternationalWireVerificationPage-CqRSwMQj-e_Ufmweg.js} +3 -3
  82. package/dist/assets/{InviteFormPage-Cpx6GKXE-BjzkKS1U.js → InviteFormPage-DlqcSLWX-NYU1sZxR.js} +1 -1
  83. package/dist/assets/{InvitePageListView-R9GI99rG-Lu6_t1J3.js → InvitePageListView--BKiq1KG-ChG4UMr4.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-nhoOZCwu-CevGBmSS.js → InvitePeoplePage-i3nljXL1-BmSEgqup.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-IRD6N1t0-e8npmlKC.js → InvoiceUploadSection-BTcYpKEd-Di1o68Bp.js} +4 -4
  86. package/dist/assets/{IssueChargeCardPage-ztNdugMI-ni4X5-nS.js → IssueChargeCardPage-kFsPFGzp-XYgLhons.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-CTGbS3xZ-BV3lWB3L.js → LabeledAddressValue-COZsPbp0-DczoqRAG.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-BPAdd5QC-DJSlRcrD.js → LabeledAddressValueField-ig7qAURp-BZ_M96P1.js} +8 -8
  89. package/dist/assets/LabeledControlledCheckBoxField-BL_01jee-D2U3D5J4.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-BQNPVmeO-w6euYfRf.js → LabeledCountryMultiSelectField-H4Sug2-M-CL-o7tf1.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-BaooQYnP-CHclcBym.js → LabeledCreatableSingleSelectField-DWEYfaTn-33WE7LED.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-13QPp-85-BBjOcC33.js → LabeledDocumentField-heF_7XXJ-Bpbc_iNk.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-BY230oMD-CrAT0eng.js → LabeledDropDownFormattedTextField-C3Vxy6UO-D0-FCpWt.js} +1 -1
  94. package/dist/assets/{LabeledText-DNr87c0J-DsOX7s5A.js → LabeledText-wJQ0djD--Dnw-us69.js} +4 -4
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C5jC6DTy-D9w1YJzr.js → LabeledUserSingleSelectWithSubtitlesField-Cd04mYwQ-B8JTmQUc.js} +4 -4
  96. package/dist/assets/{LabeledZeniRolesDropDownField-cBcF5EGS-BkGlWFfU.js → LabeledZeniRolesDropDownField-5M654Yu--Ciiad84H.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-KzSZJjAE-D1T5_exi.js → LinkJETransactionPage-DwNoJ7YB-DNfE-nTn.js} +1 -1
  98. package/dist/assets/{LockCardPage-_gavDDon-Blle7NDi.js → LockCardPage-L5EAfQK5-CrxGoWXN.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-DLIUSW0S-B-zpTP7v.js → LowBalancePopup-CIN_PWxf-CcAZgcPw.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-DGLKqo6T-DNpDGuyV.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cvp9N2Q2-CSBjjhkO.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-CB_rrPUd-Dl0YcL-A.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-C_-bPKst-D0jsLGP2.js → MagicLinkSuccessPage-Da-ZSMMO-DzPXDbZC.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-CL4kaSh4-CQQBDKMG.js → MagicLinkTitleSection-B33mBOG9-35QrlIpm.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-qtLrrSYF-CTuCvSpe.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-BRZy0odC-BOBb3itW.js → MyBankConnectionsSettingsPage-Br6kJVpd-CbTGDrzB.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-CpKTrDUb-CccCbcXy.js → MyPendingActivationChargeCardListPage-DkhJVWBZ-Bfy4AAuw.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-BblMMN2f-ckIUFFkd.js → MyProfileSettingsPage-CSY7ZEU4-BWI8MuR_.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-DqS6nFbq-DgwLutRx.js → NavBarWithPicker-Csqyzu5C-DIH1ugF7.js} +5 -5
  110. package/dist/assets/{NavigationArrow-DIFM2upZ-Dnb7czTw.js → NavigationArrow-2B-EgvgC-BK9qtbBJ.js} +1 -1
  111. package/dist/assets/{NavigationDots-Db1I_vts-Bg46VZRN.js → NavigationDots-BrWdpJ3R-DuPdXi3_.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-CC8HJjFw-HIuSKnJN.js → NewGlobalMerchantPage-BSX2ajAh-B0IxS0GP.js} +1 -1
  113. package/dist/assets/{NoDataChart-BpVOzQOW-DKnao5o4.js → NoDataChart-CggIXqiK-C19sXnTb.js} +1 -1
  114. package/dist/assets/{NoDataTable-BfkONzLU--qJ2Vge1.js → NoDataTable-CX24L0oK-DtsfPk0l.js} +1 -1
  115. package/dist/assets/{NotFoundPage-DOlS4ELp-8diqNBZH.js → NotFoundPage-Brtxr86A-Bnm1jjAT.js} +7 -7
  116. package/dist/assets/{NotificationSettingsPage-BdWAxlcA-FUERqOBl.js → NotificationSettingsPage-BV3iZaL6-CCJncOdH.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-DEVHMfQH-Dgi-054y.js → NotificationsListConfig-DWL6JqJ8-BmoQcL7E.js} +1 -1
  118. package/dist/assets/{NotificationsPage-DpnFQdLV-CIDAlFuB.js → NotificationsPage-CMVuwCT_-BEJSVcvU.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-CQxchyEe-CO-1QL4H.js → OpExByVendorPage-CbcnZ2ea-Di7lgu5r.js} +4 -4
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-B4ZkmBb9.js → OverlayContainerPage-D4QU0p4o-BsMR9Xyx.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-B3RkfhSi-Dsp_T8tg.js → PandLWithForecastPage-BrBPv1Bg-Du_wsqJx.js} +2 -2
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-6eOH3fw_-DdzzCUgo.js → PaymentAccountSetupBillingAddressSection-Bvo4Jnoy-D8BlefcU.js} +7 -7
  123. package/dist/assets/{PeoplePage-koDszqCP-CWui0d4h.js → PeoplePage-BruWpkMP-BXfRWFlI.js} +1 -1
  124. package/dist/assets/{Preview-yyD_tsB_.js → Preview-CngKNrtz.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-DLd90FFJ-BgsIDisq.js → ProductsCarousel-CYHholgU-BXEP4AT5.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-QcN1Q7jq-J94-Tlmy.js → PromoBaseCards-CT84iiQE-BQw_xgzZ.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-CdkgNo4F-DpPxxrHx.js → QBOConnectionDialog-D3ymRiGZ-Ci8f_0BR.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-DqsDS8kk-DVOL9KAa.js → QBOSetupSection-DWIulUc2-DlIiV7jG.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-5hcvF_79--V70BOOS.js → ReimbursementApprovalRuleDetailPage-p0TDyMiG-CZeD0AHX.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-D2S6QByB-BzvCV9yX.js → ReimbursementApprovalRulesPage-B_EfFwpz-_OWCEpKq.js} +9 -9
  131. package/dist/assets/{ReimbursementDetailPage-DUzei4Rg-9uRBue4P.js → ReimbursementDetailPage-CK_qij-l-D-oREEKY.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-GXdDXSVY-DHkphGMK.js → ReimbursementPromoPage-DCiu630p-D5gOb-J0.js} +1 -1
  133. package/dist/assets/{ReimbursementSetUpPage-CNWWhLUf-CNnBxBJq.js → ReimbursementSetUpPage-BbtZutE2-DuU_ZUl9.js} +5 -5
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C-1xyI7u-Bz3-f1Cr.js → ReimbursementsBulkReviewDrawerPage-CyLz0tNA-CsTtoUoK.js} +1 -1
  135. package/dist/assets/{ReloadCard-CKhoNNOP-CkJThvIh.js → ReloadCard-CU39OBXS-B7fXlVdj.js} +6 -6
  136. package/dist/assets/{ReportTableViewSelector-BOX3zhPs-DuwxGH5U.js → ReportTableViewSelector-YjVuyNWv-DzbC_6W1.js} +26 -26
  137. package/dist/assets/{ReportsPage-CnYVgGpw-C9lM7ze2.js → ReportsPage-gqc75ljk-7NT5JGPF.js} +1 -1
  138. package/dist/assets/{RevenueChart-BXDE5rdI-C91Sl-p2.js → RevenueChart-CtFVmX84-uni5BcG_.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-Dsh7uv3t-BTN4xADy.js → ReviewDetailsPage-Kew5uZCA-Mv30WXv0.js} +1 -1
  140. package/dist/assets/{ReviewOverlay-BL4VJPxb-D6vjuRhs.js → ReviewOverlay-f-2s-XBM-D-MuCoTz.js} +17 -17
  141. package/dist/assets/RoleWithToolTip-Cw9gD3N5-ConmKNG4.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Tx2QB7zA-BWh0cJz3.js → ScheduleDetailsFixedAssetsPage-DjjYlUtf-D-MjZ88W.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-2-cPD7pl-BswK6aMa.js → ScheduleDetailsPage-BzJS3UZ5-DmfXVQSd.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-CffdpR_k-C5zU_dG9.js → ScheduleSequenceTable-CVDT5FaP-B8HlWODo.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-BdAMCIyo.js → ScreenRoutes-BOS_ZMWh.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-Tadm9fSr-BLYLZVyR.js → SetUpAccountSection-6NXF_yfU-BamPpzSM.js} +1 -1
  147. package/dist/assets/{SignIn-CycvPOGI-yT6O4yeb.js → SignIn-C81zFae4-Dea-gjSZ.js} +7 -7
  148. package/dist/assets/{SignInScreen-DxWsWFRM.js → SignInScreen-m5WxZ3Sy.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-BPxaXJqk-DXMLFfi6.js → SpendManagementListViewPage-BXVWjBXG-BD6dR01P.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-CalVz_KS-CFkJlE5z.js → SpendManagementPerTabPage-BpguVSB_-Lttm8QGO.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-CP-KDJ9X-Dxdtv7cA.js → SpendManagementSection-DOQIJFeZ-ivgPfXva.js} +1 -1
  152. package/dist/assets/{StatementItem-BAgGJRW5-h7PpQoEN.js → StatementItem-Pie3qV6--QBqzedQj.js} +5 -5
  153. package/dist/assets/{StatementsPage-048VbBNB-CIAI8-Iv.js → StatementsPage-BgsnClLk-8ec-Me8v.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-DNe-TFW4-DzQawzTp.js → StatusSwitcher-CmZuoA5C-CAazKXUL.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-CWofxHNl-pctfLicv.js → SubTabSwitcher-DnAcWm4k-BiidkdTF.js} +1 -1
  156. package/dist/assets/SummaryCard-DiwOZob1-BzF2DJC-.js +1 -0
  157. package/dist/assets/{TaskManagementPage-sIeRkoyx-CqhyR_rs.js → TaskManagementPage-Bf7M2Lb4-4_bmrGgs.js} +7 -7
  158. package/dist/assets/{TimeRangeSwitcher-CYfi7lfO-C8IVJ8KX.js → TimeRangeSwitcher-BnA1fDfm-DKZWrMD_.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcher-B9NumYID-CA44AiEF.js → TimeframeSwitcher-B-jhZqzy-C0mIaCAr.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-DJL42rcY-4fJfrmHh.js → TimeframeSwitcherWithToggle-uBvB9Y4U-DEm424X-.js} +2 -2
  161. package/dist/assets/{TopExCard-GHdLZwGT-BhuLE57u.js → TopExCard-8Ddo4t8T-CqjPXnoc.js} +2 -2
  162. package/dist/assets/{TopExDetailPage-CIlBZ2oX-BaF6_sM0.js → TopExDetailPage-B6xtk1Bx-Dvdbf_Im.js} +8 -8
  163. package/dist/assets/{TransactionActivityLogPage-C2Jr7QHc-SAiLB9JP.js → TransactionActivityLogPage-DD1J0Vka-DWx7bBrg.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-RfrmUngB-Dci0je89.js → TransactionDetailPage-B5jASgT3-CgTo1hvB.js} +1 -1
  165. package/dist/assets/TransactionList-C4_0d8Yi-D_b8rDHf.js +153 -0
  166. package/dist/assets/{TransactionListBig-D-kOZVLs-B-ad9ErK.js → TransactionListBig-hJjsZlZZ-BQM8cKJz.js} +1 -1
  167. package/dist/assets/{TransactionListPage-BRF55dM4-DYeZNtak.js → TransactionListPage-BzIAUEs8-MKD80iuh.js} +2 -2
  168. package/dist/assets/{TransactionVendorDetailPage-Bsk6E8Zm-7lohsHvf.js → TransactionVendorDetailPage-DGcg2hX5-BY5R8KAA.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-CPUqGXjs-Cm1krXS2.js → TransferDrawerPage-CqMRBO0T-DRSuLibB.js} +12 -12
  170. package/dist/assets/{TreasuryOverviewPage-DfYRAHE1-CizOCyjr.js → TreasuryOverviewPage-DkwHC8f4-Bn0V9kOv.js} +15 -15
  171. package/dist/assets/{TreasuryPromoPage-F1X4qcwd-BHd14a_i.js → TreasuryPromoPage-DSF3PsLc-CzfjJZli.js} +8 -8
  172. package/dist/assets/{TreasuryStatementsPage-CGbvRTgR-Dmch4a9K.js → TreasuryStatementsPage-Dw1TLve3-B04-8PQ3.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-BMDJFFj--CncIwwwI.js → TreasuryTaxLetterPage-DVLliaXS-BaPntd_i.js} +1 -1
  174. package/dist/assets/{TrendChart-DQwanU50-BV-_y5G5.js → TrendChart-DjYTskVA-gHskLbo_.js} +5 -5
  175. package/dist/assets/{TrendWithTransactions-Iz0QVdZP-CDHQCqNH.js → TrendWithTransactions-hxM7e0EM-DQsX5Fpa.js} +1 -1
  176. package/dist/assets/{UncategorizedAccountsMappingPage-DDBZnuaT-D87xZWEc.js → UncategorizedAccountsMappingPage-CZLuQw-9-BWV6B4bF.js} +1 -1
  177. package/dist/assets/{UnitIntegrationPage-6gZ_g7Zz-DL7Eef_0.js → UnitIntegrationPage-DRwdsemz--LS2beFi.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-CcTFuMyK-D2kgY2Ed.js → UploadAdditionalDocumentOverlay-N-_Kdezc-3iy-UCwO.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-DnG7s1Ks-D9O6BUwp.js → Vendor2FAPopup-CvMY6aLD-DqZVC04g.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-Dj1SW5L_-CF6jGaAx.js +1 -0
  181. package/dist/assets/{VendorDetailPage-D7zN9Vtl-BBAI0eRq.js → VendorDetailPage-Ck-kEx6Y-DlVLyDuR.js} +1 -1
  182. package/dist/assets/VendorDomesticWireDetailsPage-LJc1Pntx-BkWcT3Mq.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-Rslpct1I-cPFmgRgW.js → VendorFiling1099EditablePage-BMAc4Y0L-swSK5unq.js} +4 -4
  184. package/dist/assets/{VendorFirstReviewPage-CGye9HoK-D-UUNB_d.js → VendorFirstReviewPage-Cv0DMrBa-D-qTdl-e.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage--CSkHPFy-DdqJlqoM.js → VendorInternationalWireDetailsPage-Bp-fiJYj-kdX1GwW6.js} +8 -8
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CG6w1RiA-mOhQd5bG.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-ziR6oNlY-CZuH9lY0.js → VendorsAccountsSection-C5L3gr2G-B_pD6zSq.js} +1 -1
  188. package/dist/assets/{VerifyDevice-C-zisSaI-L64KEJ3l.js → VerifyDevice-CkbL9enV-JKJb0VZk.js} +9 -9
  189. package/dist/assets/{VideoPlayer-CQQljSJC-Ckm25ZkZ.js → VideoPlayer-zSNzleMo-B3Hzh9ni.js} +2 -2
  190. package/dist/assets/{VideoPopup-BgqoT4JJ-BIfkB45X.js → VideoPopup-BTjM2GvI-CfrQhQ9p.js} +4 -4
  191. package/dist/assets/{WarningsDrawerPage-D5OicOK4-BvVf8AIm.js → WarningsDrawerPage-C_3XLtV5-DXtwxZOZ.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-C_lM66OT-G87IDGZW.js → ZeniAccountDetailPage-BlqcQ5a_-C6V_463T.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-CQvrxw6f-CqVpV0PW.js → ZeniAccountListViewPage-_jeL_k5F-BYvSnCDl.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-8VXHXUPK-CX9FAlJO.js → ZeniAccountNavBarPieces-BeWOH_VI-D3WeJkvf.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-Cr-MnJVm-tTwQCBew.js → ZeniAccountPromoPage-BUDBWd8m-CIMCfIY6.js} +12 -12
  196. package/dist/assets/{ZeniAccountSetupPage-Bpqw-wqp-BvxvHEo0.js → ZeniAccountSetupPage-BD0OhX5Z-CotZyeZ5.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-Hh9chHJi-RwVTsccT.js → ZeniCopyright-DPQzZYUR-KHcq5VOQ.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-sf0kghb5-n3R2asqM.js → ZeniTransferAmountSlider-BM8wKUEY-DlBYyOPL.js} +7 -7
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-Db5fod9i.js → add-to-wallet-DgdBD8_G-D4tNYjqP.js} +1 -1
  200. package/dist/assets/{analytics-CQziHS33.js → analytics-BTo2lvc5.js} +1 -1
  201. package/dist/assets/{analyticsHelper-DQHFgahw-Cp99KaIG.js → analyticsHelper-BOam8HWk-DTVMIEqW.js} +1 -1
  202. package/dist/assets/{analyticsHelper-OLJ9to1y.js → analyticsHelper-BeNcAjzu.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-Cxk5-yTi.js → arrow-south-east-round-PEovUgvH-BpAbcXNu.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-CNtOqhU-.js → auto-transfer-rule-mbafm5D3-DUd0RNlG.js} +1 -1
  205. package/dist/assets/{chartTypes-B53kfwdO-BhCsc3sU.js → chartTypes-DWf4SAOE-BXMQEiqd.js} +1 -1
  206. package/dist/assets/{commonDimensions-Om-6fiMl-CN-97Hnw.js → commonDimensions-BgUllk7Z-mJRWeU7K.js} +1 -1
  207. package/dist/assets/{commonTypes-DXJEXDhr-CsYzRDog.js → commonTypes-B6f3YP8V-CbYlRzb2.js} +1 -1
  208. package/dist/assets/{constants-Dg8hvPMb.js → constants-CfG3jptV.js} +1 -1
  209. package/dist/assets/{core-BPh6D8v5.js → core-CDOHNO2G.js} +1 -1
  210. package/dist/assets/{dash.all.min-Cz3Fm_5M.js → dash.all.min-C7dNtldN.js} +1 -1
  211. package/dist/assets/{detailCommon-ufPAtMvc-DhnVaCE8.js → detailCommon-ceDAo_fs-K8aKPC4G.js} +6 -6
  212. package/dist/assets/{downloadPdf-sghpXX-r-hphDTF7O.js → downloadPdf-CKymFYOO-BOWpMv5t.js} +1 -1
  213. package/dist/assets/{empty-DbW3pZ4D.js → empty-EVjF_gMV.js} +1 -1
  214. package/dist/assets/{empty-CwSMnfMr.js → empty-hw3sN7vf.js} +1 -1
  215. package/dist/assets/{epic-Chew0UQN.js → epic-CaPascl_.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ--Zu0Eh-z.js → gift-box-Cmt9OgIZ-C8C7NLZp.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CIZ3GcrY.js → graphic-no-data-l-DU4J8fDt-DrMXjgQT.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-B95c8T1V.js → graphic-no-data-net-burn-l-CzmycA0m-Bc0Qno8i.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-Dbohbn58.js → handshake-BPg58FML-1LlZ_i0d.js} +1 -1
  220. package/dist/assets/{helper-BBJS-iD4-DcHpxRaM.js → helper-C1Mwnd6M-CNavDJqc.js} +1 -1
  221. package/dist/assets/{index-DrZJrwI9.js → index-B6ONklHc.js} +1 -1
  222. package/dist/assets/{index-Dzi9AcqX.js → index-Bp4xtOn5.js} +1 -1
  223. package/dist/assets/{index-CZZQCAd2.js → index-CGTxoCJp.js} +7 -7
  224. package/dist/assets/{index-C8B9pQsQ.js → index-DE_CqoFx.js} +1 -1
  225. package/dist/assets/{index-Bvx6EJi7.js → index-DHoIuE2i.js} +1 -1
  226. package/dist/assets/{index-Di5sPRAu.js → index-DyMFy4lV.js} +1 -1
  227. package/dist/assets/{index-dJzBovkm.js → index-MbFkHHWb.js} +1 -1
  228. package/dist/assets/{lexical-CO_PvSmH.js → lexical-BeF2ZgkW.js} +1 -1
  229. package/dist/assets/{liveblocks-DYmELrdC.js → liveblocks-Dn-9djA8.js} +1 -1
  230. package/dist/assets/{lottie-BRpRA-Un.js → lottie-BYfhMHcn.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-9nfc1Ewm-CsweZHn5.js +1 -0
  232. package/dist/assets/mapSectionWithAcOnlyToTreeNode-Bi6hurdk-xVLnW0yh.js +1 -0
  233. package/dist/assets/mapSpacerToTreeNode-CHRtVS3Z-DLe2zU1L.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-B9QHM6dt-Be8Q8L2y.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-fbKpuzss-DR9K1lqX.js → mapTimeframeBalancesToTreeNode-EhyCSWUM-BVeTsmlg.js} +1 -1
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DB6zUXCA-CmA6qGT1.js +1 -0
  237. package/dist/assets/{mui-1V4DDk1u.js → mui-CD7xFf2d.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-B4o0uLRm.js → page-detail-CWX5S47F-CEsHow4e.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-DCdVDlSE.js → panelSelectedMixin-Cddsb26L-ChVQUbpx.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-DveETCoH.js → radio-default-CiSgisfh-CmFHLU8c.js} +1 -1
  241. package/dist/assets/{react-DAYLTVXK.js → react-B6PWZDXX.js} +1 -1
  242. package/dist/assets/{react-CwXZyl3z.js → react-BLzPWySR.js} +1 -1
  243. package/dist/assets/{react-CTTbIL85.js → react-BVvI-Vbl.js} +1 -1
  244. package/dist/assets/{react-BGRZeN4_.js → react-CRe95M2Y.js} +2 -2
  245. package/dist/assets/{react-BfMx9RWN.js → react-Cxxg-6rQ.js} +1 -1
  246. package/dist/assets/{react-DvMoib_r.js → react-DJKM9DI1.js} +1 -1
  247. package/dist/assets/{react-BhKvphZC.js → react-Dc3Fbg1h.js} +1 -1
  248. package/dist/assets/{react-DrvHBxOA.js → react-DtCoLsdE.js} +1 -1
  249. package/dist/assets/{recharts-W_ILlOEk.js → recharts-CeYsUNdm.js} +1 -1
  250. package/dist/assets/{sentry-KKNtqb_g.js → sentry-CuNQ_GI9.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-DYMhAzvU.js → shield-DOlUxcFf-BIELJ6pj.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-BHpR5IjE-BC__zjt5.js +1 -0
  253. package/dist/assets/{toChartData-DJeOVqss-Ckap6Mgt.js → toChartData-wLoMfnuk-B5A976Ge.js} +1 -1
  254. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-DHlUSExT.js → upload-reimbursement-receipt-O2N8vcO7-wGaBLxcB.js} +1 -1
  255. package/dist/assets/{uploadAttachment-BjSr5jfA-5o3rK0wU.js → uploadAttachment-DiB8ywoD-CoooZKCI.js} +4 -4
  256. package/dist/assets/{uploadReceipts-Dge0cNF1-BxDjc4Mk.js → uploadReceipts-Dge0cNF1-DYfDjXeu.js} +1 -1
  257. package/dist/assets/{url-BOcnt56d.js → url-CLDcbK8W.js} +1 -1
  258. package/dist/assets/{url-DpR8Zh5r.js → url-DvLmNXM-.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-BWV9Umwr.js → useLongPress-GCK2COYQ-D_m3f9kb.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-DkxZf2LY.js → usp-line-BBd1wKwW-BHWavx9j.js} +1 -1
  261. package/dist/assets/{utils-DuPmVt2f.js → utils-i_tuliLj.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-BIDncbwZ.js → zeni-epic-state-BJYsNVul.js} +3 -3
  263. package/dist/index.html +1 -1
  264. package/package.json +2 -2
  265. package/dist/assets/AccountInfoPage-rFTZmOvo-DL0RDmZu.js +0 -18
  266. package/dist/assets/AddAddressForCardDrawer-BmEFIMt4-CVY0gF8P.js +0 -6
  267. package/dist/assets/ChargeCardPromoPage-CR7Jo6Il-OQWmOWWv.js +0 -222
  268. package/dist/assets/CustomerOnboardingContainerPage-DD9nA6Bu-Bp08bFX-.js +0 -1
  269. package/dist/assets/EntityDetailPage-BdsjHAh4-D2cQRotr.js +0 -18
  270. package/dist/assets/LabeledControlledCheckBoxField-DlQqluVv-BVJ5kTmb.js +0 -16
  271. package/dist/assets/MagicLinkACHDetailsPage-D9dtxxoU-CUE02Q_7.js +0 -1
  272. package/dist/assets/MagicLinkDomesticWireDetailsPage-BakTLi7l-DD27DPrq.js +0 -1
  273. package/dist/assets/MagicLinkInternationalWireDetailsPage-BeRb8gxx-DwqfWI26.js +0 -1
  274. package/dist/assets/MailingDetailsSection-DXKO0Y-W-Ds1E0EkO.js +0 -21
  275. package/dist/assets/RoleWithToolTip-BIBVAADS-DMOgVdZw.js +0 -22
  276. package/dist/assets/SummaryCard-63rY1JXk-BoPHME_4.js +0 -1
  277. package/dist/assets/TransactionList-4mJl7knT-DqG87PM9.js +0 -153
  278. package/dist/assets/VendorACHDetailsPage-CF8jFtK9-Bo23tOjB.js +0 -1
  279. package/dist/assets/VendorDomesticWireDetailsPage-BeqW1jo4-D9Dx30c9.js +0 -1
  280. package/dist/assets/VendorInternationalWireSwiftDetailsPage-z04tKP7M-CcKSJMfU.js +0 -1
  281. package/dist/assets/mapLoadingInProgressToTreeNode-Wii9H08B-DMwkFEgt.js +0 -1
  282. package/dist/assets/mapSectionWithAcOnlyToTreeNode-9zuQ7sNi-Wfqd9hcz.js +0 -1
  283. package/dist/assets/mapSpacerToTreeNode-BAzbdSwd-DpMVDymh.js +0 -1
  284. package/dist/assets/mapTimeframeBalancesToTreeNode-CtMEj9WJ-CRNATqeg.js +0 -1
  285. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DIE9gcY0-BMQnsLW7.js +0 -1
  286. package/dist/assets/toCOABalancesWithID-shajGRBP-BsWBm72Q.js +0 -1
@@ -1,4 +1,4 @@
1
- import{J as H,fY as X,y as ee,aa as te,u as f,V as d,gY as le,ae as ne,ac as oe,aT as se,o as re,x as D,cE as Z,f$ as N,g0 as V,g1 as A,b as ie,e as ae}from"./index-CZZQCAd2.js";import{a as I}from"./sentry-KKNtqb_g.js";import{n as M}from"./mui-1V4DDk1u.js";import{Gs as de,bg as ce}from"./zeni-epic-state-BIDncbwZ.js";import{f as ue}from"./AllUserItems-DodKPXrb-CcYwQFSA.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";import"./LabeledUserSingleSelectWithSubtitlesField-C5jC6DTy-D9w1YJzr.js";import"./RoleWithToolTip-BIBVAADS-DMOgVdZw.js";import"./LabeledZeniRolesDropDownField-cBcF5EGS-BkGlWFfU.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]="3a8ad73a-c84b-4d59-8f2f-0fd9e5fd1d74",e._sentryDebugIdIdentifier="sentry-dbid-3a8ad73a-c84b-4d59-8f2f-0fd9e5fd1d74")}catch{}})();const S={containerPaddingLeft:new D(f[3],f[6],f[8]),containerPaddingRight:new D(f[3],f[6],f[8]),buttonWidth:new D(85,85)},K="editPeoplePage",w="userItems",p=ie.getLocalizedStrings().peoplePage,Le=({peopleDetails:e,managersList:t,classList:g,controllersList:z,mode:o,isZeniTenant:T,onPeopleLocalDataUpdated:_,onCloseClick:O,onSaveClick:r,isReimbursementDisabled:P,isZeniAccountsDisabled:s,isChargeCardDisabled:E,isTreasuryDisabled:k,isBankingOnlyTenant:R,isCardsOnlyTenant:x,isLiteRoleDisabled:U})=>{const c=H(),[Q,W]=I.useState(-1),[B,L]=I.useState(""),j=I.useRef(null),$=I.useMemo(()=>X(P,s,E,R,x,U,k),[P,s,E,R,x,U,k]),Y=ee(),i=te({mode:"onBlur",reValidateMode:"onChange",defaultValues:q(e.people,o,$,t,g,R,x),values:q(e.people,o,$,t,g,R,x)}),F=i.handleSubmit(()=>{G()?r():console.warn("Invite People form error")}),G=()=>{const l=i.getValues();let n=!0;return l.userItems.forEach((v,C)=>{const{role:a,nonZeniRole:y,department:u,manager:m}=v;if(o==="zeni_only")a?.selectedOptions==null&&(i.setError(`${w}.${C}.role`,{type:"required"}),n=!1);else{const b=y?.userRole.selectedRole;(b!=null&&y!=null?y.productsByUserRole[b].map(h=>h.selectedOption).filter(h=>h!=null):[]).length<1&&(i.setError(`${w}.${C}.nonZeniRole.userRole.selectedRole`,{type:"required"}),n=!1),u?.selectedOption==null&&b!=="investor_or_banker"&&!R&&!x&&(i.setError(`${w}.${C}.department`,{type:"required"}),n=!1),m?.selectedUser==null&&b!=="investor_or_banker"&&(i.setError(`${w}.${C}.manager`,{type:"required"}),n=!1)}}),n},J=async(l,n)=>{const v=[],{userItems:C}=n;C.forEach(a=>{let y={};if(o==="zeni_only")y={email:a.email,role:[a.role?.selectedOptions]};else{const u=a.nonZeniRole?.userRole.selectedRole;let m=[];u==="admin"||u==="investor_or_banker"?m.push(u):m=u!=null?(a.nonZeniRole?.productsByUserRole[u]??[]).map(h=>de(h.selectedOption?.value)).filter(h=>h!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const b=ce(m);y={email:a.email,role:m,departmentId:b?void 0:a.department?.selectedOption?.value,managerId:b?void 0:a.manager?.selectedUser}}v.push(y)}),_(v)};return I.useEffect(()=>{const l=i.watch((n,{name:v})=>{v!=null&&n!=null&&J(v,n)});return()=>{l.unsubscribe()}}),I.useEffect(()=>{const l=j.current,n=()=>{c!=="small"&&(l&&l?.scrollTop>f[9]?L(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):L(""))};return c==="small"?L(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):l&&l?.scrollTop<=f[9]&&L(""),l&&l.addEventListener("scroll",n),()=>{l&&l.removeEventListener("scroll",n)}},[o,B,c]),d.jsxs(d.Fragment,{children:[d.jsx(le,{title:B,backgroundColor:Y.colors.grey4,style:{zIndex:4},onCloseClick:O,isTitleAlignLeft:c==="small"}),d.jsxs(me,{"data-testid":oe("invite-people-container"),windowSize:c,ref:j,children:[c!=="small"?d.jsx(pe,{children:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ne,{...i,children:d.jsx("form",{id:`${K}_form`,onSubmit:F,children:d.jsx(ue,{control:i.control,sectionId:w,deleteConfirmationIndex:Q,updateDeleteConfirmationIndex:W,mode:o,isZeniTenant:T,classList:g,managersList:t,controllersList:z,isBankingOnlyTenant:R,isCardsOnlyTenant:x,customerRoleOptions:$,isEdit:!1})})})]}),d.jsx(se,{formId:`${K}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:S.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:S.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:O},separatorStyle:{marginRight:re.sp4}})]})},q=(e,t,g,z,o,T,_)=>{const O=[{userIndex:0,email:[],role:t==="zeni_only"?{allOptions:Z.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:e[0]?.role.length>0?A(e[0].role):void 0,allRootRole:V(T,_)},productsByUserRole:N(e[0]?.role??[],g)}:void 0,department:void 0,manager:void 0}];return{[w]:e.length>0?e.map((r,P)=>({userIndex:P,email:r.email,role:t==="zeni_only"?{allOptions:Z.roles,selectedOptions:r.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:r.role.length>0?A(r.role):void 0,allRootRole:V(T,_)},productsByUserRole:N(r.role,g)}:void 0,department:{allOptions:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})),selectedOption:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})).find(s=>s.value===r.departmentId)},manager:{allUsers:z,selectedUser:r.managerId}})):O}},Se=(e,t)=>`${e}.${t}`,me=M.div`
1
+ import{J as H,fY as X,y as ee,aa as te,u as f,V as d,gY as le,ae as ne,ac as oe,aT as se,o as re,x as D,cE as Z,f$ as N,g0 as V,g1 as A,b as ie,e as ae}from"./index-CGTxoCJp.js";import{a as w}from"./sentry-CuNQ_GI9.js";import{n as M}from"./mui-CD7xFf2d.js";import{Gs as de,bg as ce}from"./zeni-epic-state-BJYsNVul.js";import{f as ue}from"./AllUserItems-6sLrlL8E-DpxFsjkv.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./LabeledUserSingleSelectWithSubtitlesField-Cd04mYwQ-B8JTmQUc.js";import"./RoleWithToolTip-Cw9gD3N5-ConmKNG4.js";import"./LabeledZeniRolesDropDownField-5M654Yu--Ciiad84H.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]="313b7179-7baf-49e6-86ee-d4961a825f03",e._sentryDebugIdIdentifier="sentry-dbid-313b7179-7baf-49e6-86ee-d4961a825f03")}catch{}})();const S={containerPaddingLeft:new D(f[3],f[6],f[8]),containerPaddingRight:new D(f[3],f[6],f[8]),buttonWidth:new D(85,85)},K="editPeoplePage",I="userItems",p=ie.getLocalizedStrings().peoplePage,Le=({peopleDetails:e,managersList:t,classList:g,controllersList:z,mode:o,isZeniTenant:T,onPeopleLocalDataUpdated:_,onCloseClick:O,onSaveClick:r,isReimbursementDisabled:P,isZeniAccountsDisabled:s,isChargeCardDisabled:E,isTreasuryDisabled:k,isBankingOnlyTenant:R,isCardsOnlyTenant:x,isLiteRoleDisabled:U})=>{const c=H(),[Q,W]=w.useState(-1),[B,L]=w.useState(""),j=w.useRef(null),$=w.useMemo(()=>X(P,s,E,R,x,U,k),[P,s,E,R,x,U,k]),Y=ee(),i=te({mode:"onBlur",reValidateMode:"onChange",defaultValues:q(e.people,o,$,t,g,R,x),values:q(e.people,o,$,t,g,R,x)}),F=i.handleSubmit(()=>{G()?r():console.warn("Invite People form error")}),G=()=>{const l=i.getValues();let n=!0;return l.userItems.forEach((v,C)=>{const{role:a,nonZeniRole:y,department:u,manager:m}=v;if(o==="zeni_only")a?.selectedOptions==null&&(i.setError(`${I}.${C}.role`,{type:"required"}),n=!1);else{const b=y?.userRole.selectedRole;(b!=null&&y!=null?y.productsByUserRole[b].map(h=>h.selectedOption).filter(h=>h!=null):[]).length<1&&(i.setError(`${I}.${C}.nonZeniRole.userRole.selectedRole`,{type:"required"}),n=!1),u?.selectedOption==null&&b!=="investor_or_banker"&&!R&&!x&&(i.setError(`${I}.${C}.department`,{type:"required"}),n=!1),m?.selectedUser==null&&b!=="investor_or_banker"&&(i.setError(`${I}.${C}.manager`,{type:"required"}),n=!1)}}),n},J=async(l,n)=>{const v=[],{userItems:C}=n;C.forEach(a=>{let y={};if(o==="zeni_only")y={email:a.email,role:[a.role?.selectedOptions]};else{const u=a.nonZeniRole?.userRole.selectedRole;let m=[];u==="admin"||u==="investor_or_banker"?m.push(u):m=u!=null?(a.nonZeniRole?.productsByUserRole[u]??[]).map(h=>de(h.selectedOption?.value)).filter(h=>h!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const b=ce(m);y={email:a.email,role:m,departmentId:b?void 0:a.department?.selectedOption?.value,managerId:b?void 0:a.manager?.selectedUser}}v.push(y)}),_(v)};return w.useEffect(()=>{const l=i.watch((n,{name:v})=>{v!=null&&n!=null&&J(v,n)});return()=>{l.unsubscribe()}}),w.useEffect(()=>{const l=j.current,n=()=>{c!=="small"&&(l&&l?.scrollTop>f[9]?L(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):L(""))};return c==="small"?L(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):l&&l?.scrollTop<=f[9]&&L(""),l&&l.addEventListener("scroll",n),()=>{l&&l.removeEventListener("scroll",n)}},[o,B,c]),d.jsxs(d.Fragment,{children:[d.jsx(le,{title:B,backgroundColor:Y.colors.grey4,style:{zIndex:4},onCloseClick:O,isTitleAlignLeft:c==="small"}),d.jsxs(me,{"data-testid":oe("invite-people-container"),windowSize:c,ref:j,children:[c!=="small"?d.jsx(pe,{children:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ne,{...i,children:d.jsx("form",{id:`${K}_form`,onSubmit:F,children:d.jsx(ue,{control:i.control,sectionId:I,deleteConfirmationIndex:Q,updateDeleteConfirmationIndex:W,mode:o,isZeniTenant:T,classList:g,managersList:t,controllersList:z,isBankingOnlyTenant:R,isCardsOnlyTenant:x,customerRoleOptions:$,isEdit:!1})})})]}),d.jsx(se,{formId:`${K}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:S.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:S.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:O},separatorStyle:{marginRight:re.sp4}})]})},q=(e,t,g,z,o,T,_)=>{const O=[{userIndex:0,email:[],role:t==="zeni_only"?{allOptions:Z.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:e[0]?.role.length>0?A(e[0].role):void 0,allRootRole:V(T,_)},productsByUserRole:N(e[0]?.role??[],g)}:void 0,department:void 0,manager:void 0}];return{[I]:e.length>0?e.map((r,P)=>({userIndex:P,email:r.email,role:t==="zeni_only"?{allOptions:Z.roles,selectedOptions:r.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:r.role.length>0?A(r.role):void 0,allRootRole:V(T,_)},productsByUserRole:N(r.role,g)}:void 0,department:{allOptions:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})),selectedOption:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})).find(s=>s.value===r.departmentId)},manager:{allUsers:z,selectedUser:r.managerId}})):O}},Se=(e,t)=>`${e}.${t}`,me=M.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,11 +1,11 @@
1
- import{y as se,J as de,b as J,V as t,L as q,o as l,p as d,x as z,gF as ve,gG as ze,ac as K,cs as Le,ct as Ee,cu as Pe,au as Te,bb as ce,u as g,w as ie,M as Be,h as Ie,ak as pe,gH as Ae}from"./index-CZZQCAd2.js";import{a as o}from"./sentry-KKNtqb_g.js";import{n as i}from"./mui-1V4DDk1u.js";import De from"./AttachmentView-CbtcWV-6-CFsaig-u.js";import{l as Me}from"./uploadReceipts-Dge0cNF1-BxDjc4Mk.js";import{t as Re}from"./upload-reimbursement-receipt-O2N8vcO7-DHlUSExT.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./zeni-epic-state-BIDncbwZ.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new e.Error().stack;C&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[C]="461a8aa3-558a-406a-a315-285c0c3b198d",e._sentryDebugIdIdentifier="sentry-dbid-461a8aa3-558a-406a-a315-285c0c3b198d")}catch{}})();const He=e=>o.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},o.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),o.createElement("g",{mask:"url(#mask0_623_1439)"},o.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),o.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),o.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),o.createElement("defs",null,o.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},o.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),o.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),_e=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M15.4931 3.87109H11.4776C10.5275 3.89973 9.62765 4.30445 8.97582 4.99631C8.324 5.68817 7.97357 6.61054 8.00156 7.56068C7.99312 8.23377 8.16758 8.89652 8.50634 9.47821C8.84509 10.0599 9.33542 10.5387 9.92501 10.8635L13.5771 12.8038C14.1642 13.1295 14.6523 13.6079 14.9896 14.1884C15.3269 14.7688 15.5009 15.4297 15.4931 16.101C15.5211 17.0505 15.1712 17.9724 14.5202 18.6641C13.8691 19.3559 12.9702 19.761 12.0208 19.7906H8.00156",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.2829 19.7908V22.6001",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M13.1558 1V3.87113",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),f={memoPaddingTopBottomRight:new z(12,g[3]),billReceiptSize:new z(60,g[10]),rootContainerPaddingTop:new z(g[3],62),rootContainerPaddingRight:new z(g[3],g[6]),rootContainerPaddingBottom:new z(g[5],g[9]),rootContainerPaddingLeft:new z(g[3],g[8])},re=i(Be)`
1
+ import{y as se,J as de,b as J,V as t,L as q,o as l,p as d,x as z,gF as ve,gG as ze,ac as K,cs as Le,ct as Ee,cu as Pe,au as Te,bb as ce,u as g,w as ie,M as Be,h as Ae,ak as pe,gH as Ie}from"./index-CGTxoCJp.js";import{a as o}from"./sentry-CuNQ_GI9.js";import{n as i}from"./mui-CD7xFf2d.js";import De from"./AttachmentView-DAEi6O2i-CRQnb5l5.js";import{l as Me}from"./uploadReceipts-Dge0cNF1-DYfDjXeu.js";import{t as Re}from"./upload-reimbursement-receipt-O2N8vcO7-wGaBLxcB.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new e.Error().stack;C&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[C]="ebc3ccfa-3888-4c2b-a264-b046792c9e93",e._sentryDebugIdIdentifier="sentry-dbid-ebc3ccfa-3888-4c2b-a264-b046792c9e93")}catch{}})();const He=e=>o.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},o.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),o.createElement("g",{mask:"url(#mask0_623_1439)"},o.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),o.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),o.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),o.createElement("defs",null,o.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},o.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),o.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),_e=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M15.4931 3.87109H11.4776C10.5275 3.89973 9.62765 4.30445 8.97582 4.99631C8.324 5.68817 7.97357 6.61054 8.00156 7.56068C7.99312 8.23377 8.16758 8.89652 8.50634 9.47821C8.84509 10.0599 9.33542 10.5387 9.92501 10.8635L13.5771 12.8038C14.1642 13.1295 14.6523 13.6079 14.9896 14.1884C15.3269 14.7688 15.5009 15.4297 15.4931 16.101C15.5211 17.0505 15.1712 17.9724 14.5202 18.6641C13.8691 19.3559 12.9702 19.761 12.0208 19.7906H8.00156",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.2829 19.7908V22.6001",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M13.1558 1V3.87113",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),f={memoPaddingTopBottomRight:new z(12,g[3]),billReceiptSize:new z(60,g[10]),rootContainerPaddingTop:new z(g[3],62),rootContainerPaddingRight:new z(g[3],g[6]),rootContainerPaddingBottom:new z(g[5],g[9]),rootContainerPaddingLeft:new z(g[3],g[8])},re=i(Be)`
2
2
  color: ${e=>e.isPlaceholderText===!0?e.theme.colors.grey1:e.theme.colors.hero};
3
3
  white-space: pre-wrap;
4
4
  text-align: center;
5
5
  ${e=>e.isPlaceholderText===!0?ie.largeRegular.css:ie.extraSmallRegular.css};
6
6
  display: flex;
7
7
  align-items: baseline;
8
- `,ne=i(Ie)`
8
+ `,ne=i(Ae)`
9
9
  color: ${e=>e.theme.colors.hero};
10
10
  white-space: pre-wrap;
11
11
  text-align: center;
@@ -126,7 +126,7 @@ import{y as se,J as de,b as J,V as t,L as q,o as l,p as d,x as z,gF as ve,gG as
126
126
  color: ${e=>e.theme.colors.hero};
127
127
  `,G=i(pe)`
128
128
  color: ${d.important};
129
- `,Ye=({type:e="bill",attachmentIdBeingUploaded:C,uploadError:w,uploadErrorMsg:y,showAutofill:m,allowMultiFiles:E=!1,customError:P,dropFilePlaceholder:n,showInfoText:D,showTitlebar:T,pdfTitle:M,openSizeLimitPopup:R,onUploadAttachment:k,uploadStatus:B})=>{const x=se(),[H,b]=o.useState(!1),j=function(r){r.preventDefault(),r.stopPropagation(),r.type==="dragenter"||r.type==="dragover"?b(!0):r.type==="dragleave"&&H&&b(!1)},_=function(r){if(r.preventDefault(),r.stopPropagation(),b(!1),r.dataTransfer.files.length>0){const s=r.dataTransfer.files;if(E){const a=[],h=[];for(let c=0;c<s.length;c++)a.push(s[c].name),h.push(s[c]);k?.(h,a,"dragdrop")}else{const a=s[0];k?.([a],[a.name],"dragdrop")}}},p=de(),I=o.useRef(null),$=J.getLocalizedStrings().spendManagement.billPay.billDetails,v=()=>{I.current?.click()},V=r=>{if(r.target.files!=null){const s=r.target.files;if(E){const a=[],h=[];for(let c=0;c<s.length;c++)a.push(s[c].name),h.push(s[c]);k?.(h,a,"dragdrop")}else{const a=s[0];k?.([a],[a.name],"upload")}}},F=B!=null?B.fetchState=="In-Progress":C;return t.jsxs(Fe,{showTitlebar:T,windowSize:p,type:e,children:[T===!0?t.jsx(Xe,{windowSize:p,type:e,children:M}):null,F==!0?t.jsx(he,{children:e==="receipt"?t.jsx(q,{size:"Large",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"1.5rem",borderRadius:"100%",backgroundColor:`${x.mode==="light"?d.backgroundThemeLight:d.backgroundThemeDark}`,border:`2px solid ${x.mode==="light"?d.neutralGrey3Light:d.neutralGrey3Dark}`,boxShadow:`${l.sp0} 2px ${l.sp1} ${x.mode==="light"?d.dropShadowNormalLight:d.dropShadowNormalDark}`}}):t.jsx(q,{size:"ExtraLarge",start:!0})}):t.jsx(Qe,{windowSize:p,showAutofill:m,type:e,children:t.jsxs(Ve,{windowSize:p,onClick:()=>v(),onDragEnter:j,onDragLeave:j,onDragOver:j,onDrop:_,"data-testid":K("upload-tag",e),children:[t.jsxs(Ze,{onDragEnter:j,children:[e==="receipt"?t.jsx(Je,{width:f.billReceiptSize.valuePx(p),height:f.billReceiptSize.valuePx(p)}):t.jsx(qe,{width:f.billReceiptSize.valuePx(p),height:f.billReceiptSize.valuePx(p)}),e==="receipt"?t.jsxs(re,{isPlaceholderText:!0,children:[n?.upload!=null?t.jsx(L,{children:n?.upload}):null,n?.single!=null?t.jsx(L,{children:t.jsx(ae,{themeContext:x,children:n?.single})}):null,n?.or!=null?t.jsx(L,{children:n?.or}):null,n?.multiple!=null?t.jsx(L,{children:t.jsx(ae,{themeContext:x,children:n?.multiple})}):null,n?.receipts!=null?t.jsx(L,{children:n?.receipts}):null,n?.receipt!=null?t.jsx(L,{children:n?.receipt}):null]}):e==="w9"?t.jsx(ne,{children:$.dropW9}):t.jsx(ne,{children:$.dropInvoice}),P!=null&&t.jsx(N,{children:t.jsx(G,{children:P})}),w&&y==="File size is too large"&&t.jsx(N,{children:t.jsx(G,{children:$.uploadFileSizeExceedError})}),w&&y!=="File size is too large"&&t.jsx(N,{children:t.jsx(G,{children:$.uploadError.replace("__type__",e)})})]}),t.jsx(ve,{fileRef:I,name:"invoice",onFileChange:V,multiple:E,sizeLimit:ze,onFileSizeError:R}),D===!0?t.jsxs(Oe,{children:[t.jsx(Ke,{}),t.jsx(re,{isPlaceholderText:!1,style:{marginLeft:l.sp1},children:$.currencyInfo})]}):null]})})]})},Qe=i.div`
129
+ `,Ye=({type:e="bill",attachmentIdBeingUploaded:C,uploadError:w,uploadErrorMsg:y,showAutofill:m,allowMultiFiles:E=!1,customError:P,dropFilePlaceholder:n,showInfoText:D,showTitlebar:T,pdfTitle:M,openSizeLimitPopup:R,onUploadAttachment:k,uploadStatus:B})=>{const x=se(),[H,b]=o.useState(!1),j=function(r){r.preventDefault(),r.stopPropagation(),r.type==="dragenter"||r.type==="dragover"?b(!0):r.type==="dragleave"&&H&&b(!1)},_=function(r){if(r.preventDefault(),r.stopPropagation(),b(!1),r.dataTransfer.files.length>0){const s=r.dataTransfer.files;if(E){const a=[],h=[];for(let c=0;c<s.length;c++)a.push(s[c].name),h.push(s[c]);k?.(h,a,"dragdrop")}else{const a=s[0];k?.([a],[a.name],"dragdrop")}}},p=de(),A=o.useRef(null),$=J.getLocalizedStrings().spendManagement.billPay.billDetails,v=()=>{A.current?.click()},V=r=>{if(r.target.files!=null){const s=r.target.files;if(E){const a=[],h=[];for(let c=0;c<s.length;c++)a.push(s[c].name),h.push(s[c]);k?.(h,a,"dragdrop")}else{const a=s[0];k?.([a],[a.name],"upload")}}},F=B!=null?B.fetchState=="In-Progress":C;return t.jsxs(Fe,{showTitlebar:T,windowSize:p,type:e,children:[T===!0?t.jsx(Xe,{windowSize:p,type:e,children:M}):null,F==!0?t.jsx(he,{children:e==="receipt"?t.jsx(q,{size:"Large",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"1.5rem",borderRadius:"100%",backgroundColor:`${x.mode==="light"?d.backgroundThemeLight:d.backgroundThemeDark}`,border:`2px solid ${x.mode==="light"?d.neutralGrey3Light:d.neutralGrey3Dark}`,boxShadow:`${l.sp0} 2px ${l.sp1} ${x.mode==="light"?d.dropShadowNormalLight:d.dropShadowNormalDark}`}}):t.jsx(q,{size:"ExtraLarge",start:!0})}):t.jsx(Qe,{windowSize:p,showAutofill:m,type:e,children:t.jsxs(Ve,{windowSize:p,onClick:()=>v(),onDragEnter:j,onDragLeave:j,onDragOver:j,onDrop:_,"data-testid":K("upload-tag",e),children:[t.jsxs(Ze,{onDragEnter:j,children:[e==="receipt"?t.jsx(Je,{width:f.billReceiptSize.valuePx(p),height:f.billReceiptSize.valuePx(p)}):t.jsx(qe,{width:f.billReceiptSize.valuePx(p),height:f.billReceiptSize.valuePx(p)}),e==="receipt"?t.jsxs(re,{isPlaceholderText:!0,children:[n?.upload!=null?t.jsx(L,{children:n?.upload}):null,n?.single!=null?t.jsx(L,{children:t.jsx(ae,{themeContext:x,children:n?.single})}):null,n?.or!=null?t.jsx(L,{children:n?.or}):null,n?.multiple!=null?t.jsx(L,{children:t.jsx(ae,{themeContext:x,children:n?.multiple})}):null,n?.receipts!=null?t.jsx(L,{children:n?.receipts}):null,n?.receipt!=null?t.jsx(L,{children:n?.receipt}):null]}):e==="w9"?t.jsx(ne,{children:$.dropW9}):t.jsx(ne,{children:$.dropInvoice}),P!=null&&t.jsx(N,{children:t.jsx(G,{children:P})}),w&&y==="File size is too large"&&t.jsx(N,{children:t.jsx(G,{children:$.uploadFileSizeExceedError})}),w&&y!=="File size is too large"&&t.jsx(N,{children:t.jsx(G,{children:$.uploadError.replace("__type__",e)})})]}),t.jsx(ve,{fileRef:A,name:"invoice",onFileChange:V,multiple:E,sizeLimit:ze,onFileSizeError:R}),D===!0?t.jsxs(Oe,{children:[t.jsx(Ke,{}),t.jsx(re,{isPlaceholderText:!1,style:{marginLeft:l.sp1},children:$.currencyInfo})]}):null]})})]})},Qe=i.div`
130
130
  padding: ${e=>e.type==="w9"?l.sp0:e.windowSize==="small"&&e.showAutofill===!1?l.sp3:l.sp0};
131
131
  background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey3:e.theme.colors.grey4};
132
132
  height: 100%;
@@ -137,4 +137,4 @@ import{y as se,J as de,b as J,V as t,L as q,o as l,p as d,x as z,gF as ve,gG as
137
137
  background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey4:e.theme.colors.grey3};
138
138
  width: 100%;
139
139
  color: ${e=>e.theme.colors.primary};
140
- `,ut=({uploadInvoiceEndPoint:e,authParams:C,showAutofill:w,allowMultiFiles:y,type:m="bill",customError:E,pdfTitle:P,entityId:n,shouldNotShowAttachment:D,analytics:T,style:M,noAttachmentText:R,dropFilePlaceholder:k,showInfoText:B,showTitlebar:x,showTitlebarIcon:H,file:b,attachmentTitle:j,vendorLegalName:_,onInvoiceUpload:p,onSkipAutofill:I,setFileUploaded:$,updateInvoiceUploadFetchState:v,onReplaceClick:V,onDeleteClick:F,uploadStatus:r,isLoading:s=!1})=>{const a=se(),h=de(),[c,Y]=o.useState(!1),Q=J.getLocalizedStrings().spendManagement.billPay.billDetails,[me,U]=o.useState(!1),[ue,X]=o.useState(!1),[ge,fe]=o.useState(""),[we,Z]=o.useState(!1),[O,xe]=o.useState({title:"",description:"",primaryButtonText:""});o.useEffect(()=>{b!=null?U(!0):U(!1)},[b]);async function ee(S,u,A,le,ye){Y(!0),X(!1);const be=y===!0?A:[A[0]],$e=y===!0?le:[le[0]],{blobs:Se,names:ke}=await Ae(be,$e);await Me(`${S}/1.0/processors/${m}`,u,Se,ke,fe).then(je=>{p?.(je),U(!0),$?.()}).catch(()=>{X(!0),ye?.("Error")}),Y(!1)}const te=S=>{const u=J.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;S?(xe({title:u.uploadLimitTitle,description:u.uploadLimitDescription,primaryButtonText:u.buttons.okay}),Z(!0)):Z(!1)},Ce={onOkClick:()=>{Z(!1)}};let oe=n!=null||(r!=null?r?.fetchState=="Completed":me);m==="bill"&&D===!0&&(oe=!1);const W=m==="bill"?"bill_pay":m==="receipt"?"reimbursement":"w9";return t.jsx(Ue,{showAutofill:w,windowSize:h,style:M,type:m,"data-testid":K("upload-section",W),children:s?t.jsx(he,{children:t.jsx(q,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[we?t.jsx(Le,{titleComponent:t.jsx(Pe,{children:O.title}),descriptionComponent:t.jsx(Ee,{children:O.description}),primaryButtonText:O.primaryButtonText,action:Ce}):null,!s&&r?.fetchState!=="In-Progress"&&oe?t.jsx(De,{title:j,type:m,file:b,noAttachmentText:R,showTitlebar:x,showTitlebarIcon:H,pdfTitle:P,onReplaceClick:V,onDeleteClick:F,allowMultiFiles:y,openSizeLimitPopup:te,onUploadAttachment:(S,u)=>{v?.("In-Progress"),ee(e,C,S,u,v)}}):t.jsx(Ye,{type:m,uploadError:ue,uploadErrorMsg:ge,attachmentIdBeingUploaded:c,dropFilePlaceholder:k,showInfoText:B,allowMultiFiles:y,customError:E,showTitlebar:x,pdfTitle:P,showAutofill:w,openSizeLimitPopup:te,uploadStatus:r,onUploadAttachment:(S,u,A)=>{T?.trackUploadInvoice(A,W,_),v?.("In-Progress"),ee(e,C,S,u,v)}}),w?t.jsxs(We,{windowSize:h,children:[t.jsx(Ne,{windowSize:h,themeContext:a,children:Q.skipAutofillInfo}),t.jsx(Ge,{windowSize:h,themeContext:a,"data-testid":K("skip-autofill",W),onClick:()=>I?.(!w),children:t.jsx(Te,{children:Q.skipAutofill})})]}):null]})})};export{Ye as AttachmentElement,ut as default};
140
+ `,ut=({uploadInvoiceEndPoint:e,authParams:C,showAutofill:w,allowMultiFiles:y,type:m="bill",customError:E,pdfTitle:P,entityId:n,shouldNotShowAttachment:D,analytics:T,style:M,noAttachmentText:R,dropFilePlaceholder:k,showInfoText:B,showTitlebar:x,showTitlebarIcon:H,file:b,attachmentTitle:j,vendorLegalName:_,onInvoiceUpload:p,onSkipAutofill:A,setFileUploaded:$,updateInvoiceUploadFetchState:v,onReplaceClick:V,onDeleteClick:F,uploadStatus:r,isLoading:s=!1})=>{const a=se(),h=de(),[c,Y]=o.useState(!1),Q=J.getLocalizedStrings().spendManagement.billPay.billDetails,[me,U]=o.useState(!1),[ue,X]=o.useState(!1),[ge,fe]=o.useState(""),[we,Z]=o.useState(!1),[O,xe]=o.useState({title:"",description:"",primaryButtonText:""});o.useEffect(()=>{b!=null?U(!0):U(!1)},[b]);async function ee(S,u,I,le,ye){Y(!0),X(!1);const be=y===!0?I:[I[0]],$e=y===!0?le:[le[0]],{blobs:Se,names:ke}=await Ie(be,$e);await Me(`${S}/1.0/processors/${m}`,u,Se,ke,fe).then(je=>{p?.(je),U(!0),$?.()}).catch(()=>{X(!0),ye?.("Error")}),Y(!1)}const te=S=>{const u=J.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;S?(xe({title:u.uploadLimitTitle,description:u.uploadLimitDescription,primaryButtonText:u.buttons.okay}),Z(!0)):Z(!1)},Ce={onOkClick:()=>{Z(!1)}};let oe=n!=null||(r!=null?r?.fetchState=="Completed":me);m==="bill"&&D===!0&&(oe=!1);const W=m==="bill"?"bill_pay":m==="receipt"?"reimbursement":"w9";return t.jsx(Ue,{showAutofill:w,windowSize:h,style:M,type:m,"data-testid":K("upload-section",W),children:s?t.jsx(he,{children:t.jsx(q,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[we?t.jsx(Le,{titleComponent:t.jsx(Pe,{children:O.title}),descriptionComponent:t.jsx(Ee,{children:O.description}),primaryButtonText:O.primaryButtonText,action:Ce}):null,!s&&r?.fetchState!=="In-Progress"&&oe?t.jsx(De,{title:j,type:m,file:b,noAttachmentText:R,showTitlebar:x,showTitlebarIcon:H,pdfTitle:P,onReplaceClick:V,onDeleteClick:F,allowMultiFiles:y,openSizeLimitPopup:te,onUploadAttachment:(S,u)=>{v?.("In-Progress"),ee(e,C,S,u,v)}}):t.jsx(Ye,{type:m,uploadError:ue,uploadErrorMsg:ge,attachmentIdBeingUploaded:c,dropFilePlaceholder:k,showInfoText:B,allowMultiFiles:y,customError:E,showTitlebar:x,pdfTitle:P,showAutofill:w,openSizeLimitPopup:te,uploadStatus:r,onUploadAttachment:(S,u,I)=>{T?.trackUploadInvoice(I,W,_),v?.("In-Progress"),ee(e,C,S,u,v)}}),w?t.jsxs(We,{windowSize:h,children:[t.jsx(Ne,{windowSize:h,themeContext:a,children:Q.skipAutofillInfo}),t.jsx(Ge,{windowSize:h,themeContext:a,"data-testid":K("skip-autofill",W),onClick:()=>A?.(!w),children:t.jsx(Te,{children:Q.skipAutofill})})]}):null]})})};export{Ye as AttachmentElement,ut as default};
@@ -1,4 +1,4 @@
1
- import{J as oe,aa as Oa,cI as _a,V as r,ac as je,jw as Da,c1 as Ra,ae as za,aT as Ua,o as a,x as C,b as le,bz as Fa,b9 as Na,c as be,M as na,d as Ma,e as qa,p as ie,n as Ea,ck as ka,cM as fe,eq as Ba,u as d,bV as Va,b3 as Y,cR as me,d2 as oa,jx as Ha,jy as Wa,d1 as Ga,y as Te,jz as Ie,cN as Ae,gh as Oe,f5 as xe,w as de,f1 as he,gd as ca,ak as _e,aQ as Ka,h4 as Xa,ao as Ja,h5 as Ya}from"./index-CZZQCAd2.js";import{a as q}from"./sentry-KKNtqb_g.js";import{n as l}from"./mui-1V4DDk1u.js";import{Y as ua}from"./LabeledUserSingleSelectWithSubtitlesField-C5jC6DTy-D9w1YJzr.js";import{bd as Za}from"./zeni-epic-state-BIDncbwZ.js";import{T as pa}from"./RoleWithToolTip-BIBVAADS-DMOgVdZw.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.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]="32f85d43-1d94-480b-b9d3-f2bf16a4efd7",e._sentryDebugIdIdentifier="sentry-dbid-32f85d43-1d94-480b-b9d3-f2bf16a4efd7")}catch{}})();const ge=e=>{const{common:i,spendManagement:{chargeCard:{issueCard:t}}}=le.getLocalizedStrings();switch(e){case"monthly":return t.frequencySubLabels.monthly;case"quarterly":return t.frequencySubLabels.quarterly;case"weekly":return t.frequencySubLabels.weekly;case"yearly":return t.frequencySubLabels.yearly;default:return i.strings.empty}},Qa=["creditCard","debitCard"],ke=e=>Za(e,Qa),u=(e,i)=>`${e}.${i}`,{commonSetUp:{businessVerification:{addressPlaceholder:Be,customAddressPlaceholder:er}},spendManagement:{chargeCard:{issueCard:N}}}=le.getLocalizedStrings(),k={largeLabelWidth:new C(120,120,200),labelMarginRight:new C(d[3],d[4]),labelMarginBottom:new C(d[2],d[0]),infoLabelMarginTop:new C(d[1],d[0]),radioLabelPaddingLeftRight:new C(d[2],d[3]),radioLabelPaddingLeft:new C(d[0],d[3]),radioLabelPaddingRight:new C(10,d[3])},ar={infoLabel:new be("smallRegular","smallRegular")},rr="creditCard.physicalCard.amount",ir="creditCard.physicalCard.cardName",dr="creditCard.physicalCard.user",lr="creditCard.physicalCard.frequency",te="creditCard.physicalCard.addressType",tr=({lineData:e,issueCardSectionId:i,limit:t,creditLimitFrequency:m,activeChargeCardCount:v,allRoles:f,allAccountingClasses:D,companyAddress:b,customAddress:T,userAddress:A,userList:o,maxPhysicalChargeCardPerUser:S,openAddAddressDrawerHandler:g})=>{const s=oe(),M=Te(),{getValues:B}=fe(),$=k.largeLabelWidth.value(s),V=()=>{g(e.lineId,"creditCard")},c=(h,U)=>r.jsx(nr,{isOptionSelected:U,children:ge(h)}),n=e.creditCard.physicalCard.addressType,x=e.creditCard.physicalCard.amount,L=Ie(t.amount),I=x!=null&&x>t.amount,z=I?N.amountExceedError.replace("_amount_",L):void 0,j=e.creditCard.physicalCard.user,O=j.allUsers.find(h=>h.userId===j.selectedUser),G=O?.userId,Z=G!=null?A[G]:void 0,p=h=>{let U=v[h]?.physicalCardCount??0;return B().lineInfo.forEach(y=>{y.creditCard.cardType==="business_physical_credit_card"&&y.creditCard.physicalCard.user.selectedUser===h&&(U+=1)}),U>=S};return r.jsxs(r.Fragment,{children:[r.jsx(ua,{label:{label:N.cardholderLabel,width:$},userSingleSelectWithSubTitlesField:{name:u(i,dr),placeholderLabel:N.usersPlaceholder,value:{allUsers:o,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:h=>h?.selectedUser?.length>0},valueToSubtitle:h=>{const U=f.find(R=>R.userId===h),y=[];return U?.accountingClassIDs.forEach(R=>{const J=D.find(De=>De.classId===R);J!=null&&J.className&&y.push(J.className)}),y},additionalLabelInfo:N.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:p,disabledOptionHint:N.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(Ae,{label:{label:N.cardNameLabel,width:$},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)},text:{type:"text",name:u(i,ir),defaultValue:e.creditCard.physicalCard.cardName,placeholder:N.cardNamePlaceholder,options:{required:!0,validate:h=>h!=null}}}),r.jsx(we,{}),r.jsx(Oe,{label:{label:N.amountLabel,width:$},showAdditionalInfoLabel:I,additionalInfoLabel:z,formattedTextField:{type:"number",name:u(i,rr),defaultValue:e.creditCard.physicalCard.amount,placeholder:N.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:h=>!!h&&h>0&&h<=t.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:I,style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(xe,{isDisabled:"readonly",label:{label:N.frequencyLabel,width:$,style:{marginBottom:k.labelMarginBottom.valuePx(s),marginRight:k.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:k.labelMarginBottom.valuePx(s)},infoLabelStyle:{...de.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:k.infoLabelMarginTop.valuePx(s),color:M.colors.hero},valueToAdditionalLabel:h=>ge(h),singleSelectPickerField:{name:u(i,lr),placeholder:N.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:m.map(h=>({label:h.name,value:h.code}))},valueToSubLabels:(h,U)=>c(h,U),textAlignment:"right",registerOptions:{required:!0,validate:h=>h!=null&&!!h.selectedOption}}}),r.jsx(we,{}),r.jsxs(or,{windowSize:s,children:[r.jsxs(pr,{windowSize:s,children:[r.jsx(me,{label:N.address.shippingAddressLabel,htmlFor:u(i,te),style:{marginLeft:a.sp4,marginRight:k.labelMarginRight.valuePx(s),marginTop:a.sp2,width:s==="small"?"auto":$}}),r.jsx(cr,{windowSize:s,children:r.jsxs(hr,{isDisabled:O==null,children:[Z!=null&&r.jsx(Y,{isContainerClickable:!0,label:{label:N.address.personal},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeftRight.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Y,{isContainerClickable:!0,label:{label:N.address.company},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Y,{isContainerClickable:!0,label:{label:N.address.custom},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingLeftRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsx(ur,{windowSize:s,children:O?.user!=null&&n!=null&&r.jsx(sr,{children:n==="card_holder_personal_address"?r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"personal_address_value_field",defaultValue:Z,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(Ve,{windowSize:s,children:N.address.personalAddressText.replace("_name_",O.user.firstName)})]}):n==="company_address"?r.jsx(he,{name:"company_address_value_field",defaultValue:b,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"custom_address_value_field",defaultValue:T[e.lineId],placeholder:er,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:V}),r.jsx(Ve,{windowSize:s,children:N.address.customAddressText})]})})})]})]})},sr=l.div`
1
+ import{J as oe,aa as Oa,cI as _a,V as r,ac as je,jw as Da,c1 as Ra,ae as za,aT as Ua,o as a,x as C,b as le,bz as Fa,b9 as Na,c as be,M as na,d as Ma,e as qa,p as ie,n as Ea,ck as ka,cM as fe,eq as Ba,u as d,bV as Va,b3 as Y,cR as me,d2 as oa,jx as Ha,jy as Wa,d1 as Ga,y as Te,jz as Ie,cN as Ae,gh as Oe,f5 as xe,w as de,f1 as he,gd as ca,ak as _e,aQ as Ka,h4 as Xa,ao as Ja,h5 as Ya}from"./index-CGTxoCJp.js";import{a as q}from"./sentry-CuNQ_GI9.js";import{n as l}from"./mui-CD7xFf2d.js";import{Y as ua}from"./LabeledUserSingleSelectWithSubtitlesField-Cd04mYwQ-B8JTmQUc.js";import{bd as Za}from"./zeni-epic-state-BJYsNVul.js";import{T as pa}from"./RoleWithToolTip-Cw9gD3N5-ConmKNG4.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.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]="904deb5b-caf2-4358-b817-f7ab7350dd8e",e._sentryDebugIdIdentifier="sentry-dbid-904deb5b-caf2-4358-b817-f7ab7350dd8e")}catch{}})();const ge=e=>{const{common:i,spendManagement:{chargeCard:{issueCard:t}}}=le.getLocalizedStrings();switch(e){case"monthly":return t.frequencySubLabels.monthly;case"quarterly":return t.frequencySubLabels.quarterly;case"weekly":return t.frequencySubLabels.weekly;case"yearly":return t.frequencySubLabels.yearly;default:return i.strings.empty}},Qa=["creditCard","debitCard"],ke=e=>Za(e,Qa),u=(e,i)=>`${e}.${i}`,{commonSetUp:{businessVerification:{addressPlaceholder:Be,customAddressPlaceholder:er}},spendManagement:{chargeCard:{issueCard:N}}}=le.getLocalizedStrings(),k={largeLabelWidth:new C(120,120,200),labelMarginRight:new C(d[3],d[4]),labelMarginBottom:new C(d[2],d[0]),infoLabelMarginTop:new C(d[1],d[0]),radioLabelPaddingLeftRight:new C(d[2],d[3]),radioLabelPaddingLeft:new C(d[0],d[3]),radioLabelPaddingRight:new C(10,d[3])},ar={infoLabel:new be("smallRegular","smallRegular")},rr="creditCard.physicalCard.amount",ir="creditCard.physicalCard.cardName",dr="creditCard.physicalCard.user",lr="creditCard.physicalCard.frequency",te="creditCard.physicalCard.addressType",tr=({lineData:e,issueCardSectionId:i,limit:t,creditLimitFrequency:m,activeChargeCardCount:v,allRoles:f,allAccountingClasses:D,companyAddress:b,customAddress:T,userAddress:A,userList:o,maxPhysicalChargeCardPerUser:S,openAddAddressDrawerHandler:g})=>{const s=oe(),M=Te(),{getValues:B}=fe(),$=k.largeLabelWidth.value(s),V=()=>{g(e.lineId,"creditCard")},c=(h,U)=>r.jsx(nr,{isOptionSelected:U,children:ge(h)}),n=e.creditCard.physicalCard.addressType,x=e.creditCard.physicalCard.amount,L=Ie(t.amount),I=x!=null&&x>t.amount,z=I?N.amountExceedError.replace("_amount_",L):void 0,j=e.creditCard.physicalCard.user,O=j.allUsers.find(h=>h.userId===j.selectedUser),G=O?.userId,Z=G!=null?A[G]:void 0,p=h=>{let U=v[h]?.physicalCardCount??0;return B().lineInfo.forEach(y=>{y.creditCard.cardType==="business_physical_credit_card"&&y.creditCard.physicalCard.user.selectedUser===h&&(U+=1)}),U>=S};return r.jsxs(r.Fragment,{children:[r.jsx(ua,{label:{label:N.cardholderLabel,width:$},userSingleSelectWithSubTitlesField:{name:u(i,dr),placeholderLabel:N.usersPlaceholder,value:{allUsers:o,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:h=>h?.selectedUser?.length>0},valueToSubtitle:h=>{const U=f.find(R=>R.userId===h),y=[];return U?.accountingClassIDs.forEach(R=>{const J=D.find(De=>De.classId===R);J!=null&&J.className&&y.push(J.className)}),y},additionalLabelInfo:N.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:p,disabledOptionHint:N.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(Ae,{label:{label:N.cardNameLabel,width:$},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)},text:{type:"text",name:u(i,ir),defaultValue:e.creditCard.physicalCard.cardName,placeholder:N.cardNamePlaceholder,options:{required:!0,validate:h=>h!=null}}}),r.jsx(we,{}),r.jsx(Oe,{label:{label:N.amountLabel,width:$},showAdditionalInfoLabel:I,additionalInfoLabel:z,formattedTextField:{type:"number",name:u(i,rr),defaultValue:e.creditCard.physicalCard.amount,placeholder:N.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:h=>!!h&&h>0&&h<=t.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:I,style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(xe,{isDisabled:"readonly",label:{label:N.frequencyLabel,width:$,style:{marginBottom:k.labelMarginBottom.valuePx(s),marginRight:k.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:k.labelMarginBottom.valuePx(s)},infoLabelStyle:{...de.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:k.infoLabelMarginTop.valuePx(s),color:M.colors.hero},valueToAdditionalLabel:h=>ge(h),singleSelectPickerField:{name:u(i,lr),placeholder:N.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:m.map(h=>({label:h.name,value:h.code}))},valueToSubLabels:(h,U)=>c(h,U),textAlignment:"right",registerOptions:{required:!0,validate:h=>h!=null&&!!h.selectedOption}}}),r.jsx(we,{}),r.jsxs(or,{windowSize:s,children:[r.jsxs(pr,{windowSize:s,children:[r.jsx(me,{label:N.address.shippingAddressLabel,htmlFor:u(i,te),style:{marginLeft:a.sp4,marginRight:k.labelMarginRight.valuePx(s),marginTop:a.sp2,width:s==="small"?"auto":$}}),r.jsx(cr,{windowSize:s,children:r.jsxs(hr,{isDisabled:O==null,children:[Z!=null&&r.jsx(Y,{isContainerClickable:!0,label:{label:N.address.personal},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeftRight.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Y,{isContainerClickable:!0,label:{label:N.address.company},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Y,{isContainerClickable:!0,label:{label:N.address.custom},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingLeftRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsx(ur,{windowSize:s,children:O?.user!=null&&n!=null&&r.jsx(sr,{children:n==="card_holder_personal_address"?r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"personal_address_value_field",defaultValue:Z,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(Ve,{windowSize:s,children:N.address.personalAddressText.replace("_name_",O.user.firstName)})]}):n==="company_address"?r.jsx(he,{name:"company_address_value_field",defaultValue:b,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"custom_address_value_field",defaultValue:T[e.lineId],placeholder:er,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:V}),r.jsx(Ve,{windowSize:s,children:N.address.customAddressText})]})})})]})]})},sr=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{J as u,V as d,cR as h,x as o,e_ as c,u as t,c as f}from"./index-CZZQCAd2.js";import{n as r}from"./mui-1V4DDk1u.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]="038f8654-42cc-4af1-872b-1dd2031dd0ce",e._sentryDebugIdIdentifier="sentry-dbid-038f8654-42cc-4af1-872b-1dd2031dd0ce")}catch{}})();const i={width:new o(343,580,726),height:new o(t[6],t[6]),controlMinHeight:new o(t[4],t[4]),paddingTopBottom:new o(t[2],t[2]),marginRight:new o(t[2],t[2]),labelMarginLeft:new o(t[3],t[4]),labelMarginRight:new o(t[3],t[4]),labelMarginTop:new o(t[2],t[2])},b={infoLabel:new f("extraSmallRegular","smallRegular")};function $({isDisabled:e,label:a,additionalInfoLabel:n,addressValue:s,isOptional:g,style:p}){const l=u();return d.jsxs(y,{size:l,style:p,isDisabled:e!=null,children:[d.jsxs(x,{children:[d.jsx(h,{isOptional:g,isDisabled:e,label:a.label,style:{marginLeft:i.labelMarginLeft.value(l),marginRight:i.labelMarginRight.value(l),marginTop:i.labelMarginTop.value(l),width:a.width??"auto"}}),d.jsx(c,{...s,isDisabled:e,style:{minHeight:i.controlMinHeight.value(l),paddingTop:i.paddingTopBottom.valuePx(l),paddingBottom:i.paddingTopBottom.valuePx(l),maxWidth:a.width!=null?`calc(100% - ${a.width}px)`:"auto",display:"flex",flexGrow:1,...s.style}})]}),n?d.jsx(m,{size:l,children:n}):null]})}const m=r.label`
1
+ import{J as u,V as d,cR as h,x as o,e_ as c,u as t,c as f}from"./index-CGTxoCJp.js";import{n as r}from"./mui-CD7xFf2d.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]="038f8654-42cc-4af1-872b-1dd2031dd0ce",e._sentryDebugIdIdentifier="sentry-dbid-038f8654-42cc-4af1-872b-1dd2031dd0ce")}catch{}})();const i={width:new o(343,580,726),height:new o(t[6],t[6]),controlMinHeight:new o(t[4],t[4]),paddingTopBottom:new o(t[2],t[2]),marginRight:new o(t[2],t[2]),labelMarginLeft:new o(t[3],t[4]),labelMarginRight:new o(t[3],t[4]),labelMarginTop:new o(t[2],t[2])},b={infoLabel:new f("extraSmallRegular","smallRegular")};function $({isDisabled:e,label:a,additionalInfoLabel:n,addressValue:s,isOptional:g,style:p}){const l=u();return d.jsxs(y,{size:l,style:p,isDisabled:e!=null,children:[d.jsxs(x,{children:[d.jsx(h,{isOptional:g,isDisabled:e,label:a.label,style:{marginLeft:i.labelMarginLeft.value(l),marginRight:i.labelMarginRight.value(l),marginTop:i.labelMarginTop.value(l),width:a.width??"auto"}}),d.jsx(c,{...s,isDisabled:e,style:{minHeight:i.controlMinHeight.value(l),paddingTop:i.paddingTopBottom.valuePx(l),paddingBottom:i.paddingTopBottom.valuePx(l),maxWidth:a.width!=null?`calc(100% - ${a.width}px)`:"auto",display:"flex",flexGrow:1,...s.style}})]}),n?d.jsx(m,{size:l,children:n}):null]})}const m=r.label`
2
2
  color: ${e=>e.theme.colors.grey1};
3
3
  display: flex;
4
4
  flex-direction: row;
@@ -1,13 +1,13 @@
1
- import{J as x,cM as y,ey as w,V as d,cR as v,x as o,f1 as $,ac as T,b as z,p as g,u as i,c as B}from"./index-CZZQCAd2.js";import{n as s}from"./mui-1V4DDk1u.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]="7a7cee75-1002-4403-81fb-2ad6bf40a4c8",e._sentryDebugIdIdentifier="sentry-dbid-7a7cee75-1002-4403-81fb-2ad6bf40a4c8")}catch{}})();const t={width:new o(343,580,726),height:new o(i[6],i[6]),controlMinHeight:new o(i[4],i[4]),paddingTopBottom:new o(i[2],i[2]),marginRight:new o(i[2],i[2]),labelMarginLeft:new o(i[3],i[4]),labelMarginRight:new o(i[3],i[4]),labelMarginTop:new o(i[2],i[2])},D={infoLabel:new B("extraSmallRegular","smallRegular")},M=z.getLocalizedStrings();function H({isDisabled:e,label:l,addressValueField:r,additionalInfoLabel:h,showAdditionalInfoLabel:b=!1,style:f,hasHoverBorder:p,isOptional:u}){const a=x(),{formState:{errors:c}}=y(),n=w(c,r.name),m=n?h:M.commonSetUp.businessVerification.addressAdditionInfo;return d.jsxs(I,{size:a,style:f,isDisabled:e!=null,isError:n,hasHoverBorder:p??!0,"data-testid":T("labeled-address-value-field",r.name),children:[d.jsx(v,{isDisabled:e,isOptional:u,label:l.label,htmlFor:r.name,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:l.width??"auto"}}),d.jsxs(L,{labelWidth:l.width,children:[d.jsx($,{...r,isDisabled:e,style:{minHeight:t.controlMinHeight.value(a),paddingTop:t.paddingTopBottom.valuePx(a),paddingBottom:t.paddingTopBottom.valuePx(a),width:"-webkit-fill-available",display:"flex",flexGrow:1,...r.style}}),(b||n)&&d.jsx(R,{size:a,isError:n,children:m})]})]})}const I=s.div`
1
+ import{J as x,cM as y,ey as w,V as d,cR as v,x as o,f1 as $,ac as T,b as z,p as g,u as i,c as B}from"./index-CGTxoCJp.js";import{n as s}from"./mui-CD7xFf2d.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]="496b3143-5597-4320-aa17-d008aa26e17a",e._sentryDebugIdIdentifier="sentry-dbid-496b3143-5597-4320-aa17-d008aa26e17a")}catch{}})();const a={width:new o(343,580,726),height:new o(i[6],i[6]),controlMinHeight:new o(i[4],i[4]),paddingTopBottom:new o(i[2],i[2]),marginRight:new o(i[2],i[2]),labelMarginLeft:new o(i[3],i[4]),labelMarginRight:new o(i[3],i[4]),labelMarginTop:new o(i[2],i[2])},D={infoLabel:new B("extraSmallRegular","smallRegular")},M=z.getLocalizedStrings();function H({isDisabled:e,label:l,addressValueField:r,additionalInfoLabel:h,showAdditionalInfoLabel:b=!1,style:p,hasHoverBorder:u,isOptional:f}){const t=x(),{formState:{errors:m}}=y(),n=w(m,r.name),c=n?h:M.commonSetUp.businessVerification.addressAdditionInfo;return d.jsxs(L,{size:t,style:p,isDisabled:e!=null,isError:n,hasHoverBorder:u??!0,"data-testid":T("labeled-address-value-field",r.name),children:[d.jsx(v,{isDisabled:e,isOptional:f,label:l.label,htmlFor:r.name,style:{marginLeft:a.labelMarginLeft.value(t),marginRight:a.labelMarginRight.value(t),marginTop:a.labelMarginTop.value(t),width:l.width??"auto"}}),d.jsxs(R,{labelWidth:l.width,children:[d.jsx($,{...r,isDisabled:e,style:{minHeight:a.controlMinHeight.value(t),paddingTop:a.paddingTopBottom.valuePx(t),paddingBottom:a.paddingTopBottom.valuePx(t),width:"-webkit-fill-available",display:"flex",flexGrow:1,...r.style}}),(b||n)&&d.jsx(I,{size:t,isError:n,children:c})]})]})}const L=s.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
5
5
  background-color: ${e=>e.theme.colors.grey5};
6
- width: ${e=>t.width.valuePx(e.size)};
7
- min-height: ${e=>t.height.valuePx(e.size)};
8
- padding-right: ${e=>t.marginRight.valuePx(e.size)};
9
- padding-top: ${e=>t.paddingTopBottom.valuePx(e.size)};
10
- padding-bottom: ${e=>t.paddingTopBottom.valuePx(e.size)};
6
+ width: ${e=>a.width.valuePx(e.size)};
7
+ min-height: ${e=>a.height.valuePx(e.size)};
8
+ padding-right: ${e=>a.marginRight.valuePx(e.size)};
9
+ padding-top: ${e=>a.paddingTopBottom.valuePx(e.size)};
10
+ padding-bottom: ${e=>a.paddingTopBottom.valuePx(e.size)};
11
11
 
12
12
  &:focus-within {
13
13
  z-index: 1;
@@ -30,13 +30,13 @@ import{J as x,cM as y,ey as w,V as d,cR as v,x as o,f1 as $,ac as T,b as z,p as
30
30
  background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?g.importantLight:e.theme.colors.background};
31
31
  }
32
32
  }
33
- `,L=s.div`
33
+ `,R=s.div`
34
34
  display: flex;
35
35
  flex-direction: column;
36
36
  width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
37
37
  align-items: flex-end;
38
38
  flex-grow: 1;
39
- `,R=s.label`
39
+ `,I=s.label`
40
40
  display: flex;
41
41
  color: ${e=>e.isError?g.important:e.theme.colors.grey1};
42
42
  ${e=>`${D.infoLabel.style(e.size)}`};
@@ -0,0 +1,16 @@
1
+ import{J as d,V as i,eP as o,cR as n,o as s,ac as r,x as c}from"./index-CGTxoCJp.js";import{c as b,n as f}from"./mui-CD7xFf2d.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]="c757b09f-3558-40a7-a6ac-e0314ece8314",e._sentryDebugIdIdentifier="sentry-dbid-c757b09f-3558-40a7-a6ac-e0314ece8314")}catch{}})();const y={width:new c(343,580,726)};function u({label:e,checkBoxField:l,style:t}){const a=d();return i.jsxs(h,{size:a,style:t,isDisabled:l.isDisabled,"data-testid":r(l.name,"labeled-check-box-field"),isSelected:l.defaultChecked??!1,children:[i.jsx(o,{...l,style:{...l.style}}),i.jsx(n,{isDisabled:l.isDisabled,label:e.label,labelStyle:e.style,htmlFor:l.name,style:{display:"flex",flex:1,minHeight:s.sp4,marginLeft:s.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const h=f.div`
2
+ display: flex;
3
+ align-items: center;
4
+ flex-direction: row;
5
+ width: ${e=>y.width.valuePx(e.size)};
6
+ min-height: ${s.sp4};
7
+
8
+ label {
9
+ color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
10
+ ${e=>e.isDisabled==="disabled"&&b`
11
+ color: ${e.theme.colors.grey2};
12
+ `};
13
+ cursor: ${e=>e.isDisabled==="disabled"?"not-allowed":"pointer"};
14
+ pointer-events: ${e=>e.isDisabled==="disabled"||e.isDisabled==="readonly"?"none":"initial"};
15
+ }
16
+ `;export{u as x};
@@ -1,4 +1,4 @@
1
- import{J as E,cM as k,ey as S,V as o,cR as V,x as u,p as g,o as l,u as s,y as C,eH as P,bJ as T,c as N,bK as p,eZ as B,d as H,an as J,w as $,bI as A}from"./index-CZZQCAd2.js";import{n}from"./mui-1V4DDk1u.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]="d70d8b01-faf9-49f5-ab48-adf515905a51",e._sentryDebugIdIdentifier="sentry-dbid-d70d8b01-faf9-49f5-ab48-adf515905a51")}catch{}})();const G=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:h,placeholder:b})=>{const{control:f,formState:{errors:d}}=k(),w=C(),x=S(d,e??""),_=i=>({value:i.value,label:i.label}),D=i=>i.map(m=>_(m)),L=i=>{if(!(i==null||!i))return{value:i,label:t.allOptions.find(m=>m.value===i)?.label??i}},I=i=>i.map(m=>L(m)),M={container:i=>({...i,width:"100%",...h}),menu:i=>({...i,backgroundColor:w.colors.grey5,borderRadius:l.sp1,boxShadow:`${l.sp0} 2px ${l.sp2} ${w.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,width:"100%",margin:0}),menuList:i=>({...i,borderRadius:l.sp1})},R={hasError:x};return o.jsx(P,{name:e,control:f,defaultValue:t,rules:r,render:({field:{onChange:i,onBlur:m,value:y,ref:F}})=>o.jsx(T,{...R,ref:F,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:b,value:I(y.selectedOptions),options:D(y.allOptions),onChange:O=>{i({selectedOptions:O.map(z=>z?.value),allOptions:y.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:m,menuPlacement:"auto",maxMenuHeight:210,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:K,Option:ee,Input:W,MultiValue:Z,MultiValueLabel:U,MultiValueRemove:X,ValueContainer:Q,DropdownIndicator:de,IndicatorSeparator:ce,Placeholder:q,ClearIndicator:Y},hideSelectedOptions:!1,styles:M,isDisabled:a!=null})})},K=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:h}=e,{value:b,hasError:f}=h;return o.jsx(oe,{menuIsOpen:r,isFocused:t,isDisabled:a,optionsLen:b.length,hasError:f,children:o.jsx(p.Control,{...e,className:"select-control",children:e.children})})},Q=e=>{const{selectProps:r}=e,{value:t}=r;return o.jsxs(p.ValueContainer,{...e,className:"select-value-container",children:[e.children,o.jsx(le,{className:"selected-options",children:t.map(a=>a.label).join(", ")})]})},W=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return o.jsx(p.Input,{...e,autoComplete:"new-password",placeholder:a.length===0?t:void 0,children:e.children})},Z=e=>o.jsx(p.MultiValue,{...e,children:e.children}),U=e=>{const{data:r}=e;return o.jsx(p.MultiValueLabel,{...e,children:r.label})},X=e=>o.jsx(p.MultiValueRemove,{...e,children:o.jsx(v,{style:{marginTop:"2px"}})}),Y=e=>o.jsx(p.ClearIndicator,{...e,children:o.jsx(v,{})}),q=()=>null,ee=e=>{const{isSelected:r,isDisabled:t,isFocused:a}=e;return o.jsx(ie,{isFocused:a,isSelected:r,isDisabled:t,children:o.jsx(p.Option,{...e,className:"select-option",children:o.jsxs(re,{children:[o.jsx(B,{...e.value.length===2?{countryCode2:e.value}:{countryCode3:e.value}}),o.jsx(se,{children:o.jsx(te,{isSelected:r,isDisabled:t,children:e.label})}),r?o.jsxs(ae,{children:[o.jsx(ne,{className:"right-tick-icon"}),o.jsx(v,{className:"close-tick-icon"})]}):null]})})})},oe=n.div`
1
+ import{J as E,cM as k,ey as S,V as o,cR as V,x as u,p as g,o as l,u as s,y as C,eH as P,bJ as T,c as N,bK as p,eZ as B,d as H,an as J,w as $,bI as A}from"./index-CGTxoCJp.js";import{n}from"./mui-CD7xFf2d.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]="d70d8b01-faf9-49f5-ab48-adf515905a51",e._sentryDebugIdIdentifier="sentry-dbid-d70d8b01-faf9-49f5-ab48-adf515905a51")}catch{}})();const G=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:h,placeholder:b})=>{const{control:f,formState:{errors:d}}=k(),w=C(),x=S(d,e??""),_=i=>({value:i.value,label:i.label}),D=i=>i.map(m=>_(m)),L=i=>{if(!(i==null||!i))return{value:i,label:t.allOptions.find(m=>m.value===i)?.label??i}},I=i=>i.map(m=>L(m)),M={container:i=>({...i,width:"100%",...h}),menu:i=>({...i,backgroundColor:w.colors.grey5,borderRadius:l.sp1,boxShadow:`${l.sp0} 2px ${l.sp2} ${w.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,width:"100%",margin:0}),menuList:i=>({...i,borderRadius:l.sp1})},R={hasError:x};return o.jsx(P,{name:e,control:f,defaultValue:t,rules:r,render:({field:{onChange:i,onBlur:m,value:y,ref:F}})=>o.jsx(T,{...R,ref:F,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:b,value:I(y.selectedOptions),options:D(y.allOptions),onChange:O=>{i({selectedOptions:O.map(z=>z?.value),allOptions:y.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:m,menuPlacement:"auto",maxMenuHeight:210,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:K,Option:ee,Input:W,MultiValue:Z,MultiValueLabel:U,MultiValueRemove:X,ValueContainer:Q,DropdownIndicator:de,IndicatorSeparator:ce,Placeholder:q,ClearIndicator:Y},hideSelectedOptions:!1,styles:M,isDisabled:a!=null})})},K=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:h}=e,{value:b,hasError:f}=h;return o.jsx(oe,{menuIsOpen:r,isFocused:t,isDisabled:a,optionsLen:b.length,hasError:f,children:o.jsx(p.Control,{...e,className:"select-control",children:e.children})})},Q=e=>{const{selectProps:r}=e,{value:t}=r;return o.jsxs(p.ValueContainer,{...e,className:"select-value-container",children:[e.children,o.jsx(le,{className:"selected-options",children:t.map(a=>a.label).join(", ")})]})},W=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return o.jsx(p.Input,{...e,autoComplete:"new-password",placeholder:a.length===0?t:void 0,children:e.children})},Z=e=>o.jsx(p.MultiValue,{...e,children:e.children}),U=e=>{const{data:r}=e;return o.jsx(p.MultiValueLabel,{...e,children:r.label})},X=e=>o.jsx(p.MultiValueRemove,{...e,children:o.jsx(v,{style:{marginTop:"2px"}})}),Y=e=>o.jsx(p.ClearIndicator,{...e,children:o.jsx(v,{})}),q=()=>null,ee=e=>{const{isSelected:r,isDisabled:t,isFocused:a}=e;return o.jsx(ie,{isFocused:a,isSelected:r,isDisabled:t,children:o.jsx(p.Option,{...e,className:"select-option",children:o.jsxs(re,{children:[o.jsx(B,{...e.value.length===2?{countryCode2:e.value}:{countryCode3:e.value}}),o.jsx(se,{children:o.jsx(te,{isSelected:r,isDisabled:t,children:e.label})}),r?o.jsxs(ae,{children:[o.jsx(ne,{className:"right-tick-icon"}),o.jsx(v,{className:"close-tick-icon"})]}):null]})})})},oe=n.div`
2
2
  width: 100%;
3
3
  background-color: ${e=>e.theme.colors.grey5};
4
4
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -1,4 +1,4 @@
1
- import{J as H,cM as F,ey as R,V as t,cR as B,x,ac as I,p as u,u as s,o as i,eH as G,c as X,y as J,b as K,eX as Q,O as q,dp as A,cw as U,bK as O,d2 as Y,dO as Z,w as k,bI as ee,d as le}from"./index-CZZQCAd2.js";import{n as a}from"./mui-1V4DDk1u.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]="21f1a6f2-1490-4a81-b27c-b6dd2cfc437c",e._sentryDebugIdIdentifier="sentry-dbid-21f1a6f2-1490-4a81-b27c-b6dd2cfc437c")}catch{}})();const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:w=!0,addIconInCreateLabel:b,getLabelForId:m,tagProperties:f,hasError:j,style:c})=>{const y=J(),$=Oe(e,m),S=K.getLocalizedStrings().dropDowns,C=$.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?z(r,m):void 0,P={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:y.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${y.colors.dropShadowHover}`,border:`1px solid ${y.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:p})=>({...l,":after":{width:p.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(fe,{children:[t.jsx(me,{children:t.jsx(Y,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(xe,{children:`${S.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:L,isDisabled:D,selectProps:N}=l,{value:W}=N;return t.jsx(se,{menuIsOpen:p,isFocused:L,isDisabled:D,selectedValue:W,hasError:j,"data-testid":I("creatable-single-select-control",o),children:t.jsx(O.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx($e,{children:t.jsxs(O.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&f!=null&&f.isTagShownForOption(l.data.value)===!0&&t.jsx(we,{children:t.jsx(ye,{style:f.style,children:f.tagName})}),l.children]})}),_=l=>{const{selectProps:p}=l,{placeholder:L,value:D}=p;return t.jsx(O.Input,{...l,autoComplete:"new-password",placeholder:D==null?L:void 0,"data-testid":I("creatable-single-select-input",o),children:l.children})};return t.jsx(Q,{isMulti:!1,onCreateOption:l=>{const p=q(l);n(p)},onChange:l=>{w!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>b===!0?E(l):`${S.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":I("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:M,Option:ae,Input:_,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:Ie,ClearIndicator:je,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:C,isClearable:!0,isSearchable:!0,isDisabled:d!=null},A())},ie=e=>t.jsx(O.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),w=r.indexOf(h)*40;return t.jsx(U,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:w,children:({index:b,style:m})=>t.jsx(pe,{style:m,children:o[b]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(O.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":I("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(be,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
1
+ import{J as H,cM as F,ey as R,V as t,cR as B,x,ac as I,p as u,u as s,o as i,eH as G,c as X,y as J,b as K,eX as Q,O as q,dp as A,cw as U,bK as O,d2 as Y,dO as Z,w as k,bI as ee,d as le}from"./index-CGTxoCJp.js";import{n as a}from"./mui-CD7xFf2d.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]="82e85c83-c8e3-417a-931e-88971194dd0d",e._sentryDebugIdIdentifier="sentry-dbid-82e85c83-c8e3-417a-931e-88971194dd0d")}catch{}})();const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:w=!0,addIconInCreateLabel:b,getLabelForId:m,tagProperties:f,hasError:j,style:c})=>{const y=J(),$=Oe(e,m),S=K.getLocalizedStrings().dropDowns,C=$.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?z(r,m):void 0,P={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:y.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${y.colors.dropShadowHover}`,border:`1px solid ${y.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:p})=>({...l,":after":{width:p.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(fe,{children:[t.jsx(me,{children:t.jsx(Y,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(xe,{children:`${S.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:L,isDisabled:D,selectProps:N}=l,{value:W}=N;return t.jsx(se,{menuIsOpen:p,isFocused:L,isDisabled:D,selectedValue:W,hasError:j,"data-testid":I("creatable-single-select-control",o),children:t.jsx(O.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx($e,{children:t.jsxs(O.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&f!=null&&f.isTagShownForOption(l.data.value)===!0&&t.jsx(we,{children:t.jsx(ye,{style:f.style,children:f.tagName})}),l.children]})}),_=l=>{const{selectProps:p}=l,{placeholder:L,value:D}=p;return t.jsx(O.Input,{...l,autoComplete:"new-password",placeholder:D==null?L:void 0,"data-testid":I("creatable-single-select-input",o),children:l.children})};return t.jsx(Q,{isMulti:!1,onCreateOption:l=>{const p=q(l);n(p)},onChange:l=>{w!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>b===!0?E(l):`${S.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":I("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:M,Option:ae,Input:_,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:Ie,ClearIndicator:je,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:C,isClearable:!0,isSearchable:!0,isDisabled:d!=null},A())},ie=e=>t.jsx(O.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),w=r.indexOf(h)*40;return t.jsx(U,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:w,children:({index:b,style:m})=>t.jsx(pe,{style:m,children:o[b]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(O.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":I("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(be,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
2
2
  width: 100%;
3
3
  background-color: ${e=>e.theme.colors.grey5};
4
4
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -1,4 +1,4 @@
1
- import{J as O,cM as W,ey as u,V as r,cR as j,x as a,eY as k,b as U,ac as N,u as i,o,p as _,c as A}from"./index-CZZQCAd2.js";import{n as d}from"./mui-1V4DDk1u.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]="44a1c516-141c-4d37-9822-48a338650224",e._sentryDebugIdIdentifier="sentry-dbid-44a1c516-141c-4d37-9822-48a338650224")}catch{}})();const t={width:new a(343,580,726),height:new a(i[6],i[6]),paddingTopBottom:new a(i[2],i[2]),marginRight:new a(i[2],i[2]),labelMarginLeft:new a(i[3],i[4]),labelMarginRight:new a(i[3],i[4]),labelMarginTop:new a(i[2],i[2])},J={infoLabel:new A("extraSmallRegular","smallRegular")};function H({label:e,isDisabled:l,isOptional:p,style:b,file:h,name:n,registerOptions:c,additionalInfoLabel:f,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:I,showPhotoPicker:S,useMobileCam:v,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:D,updateFilesEntity:L,onDeleteFile:M,onEditFileName:R,onFileSizeError:B}){const s=O(),{formState:{errors:m}}=W(),g=u(m,n),C=u(m,`${n}.fileName`);return r.jsxs(V,{size:s,style:b,isDisabled:l!=null,"data-testid":N("document-field",n),children:[r.jsx(j,{isDisabled:l,label:e.label,isOptional:p,style:{marginLeft:t.labelMarginLeft.value(s),marginRight:t.labelMarginRight.value(s),marginTop:t.labelMarginTop.value(s),width:e.width??"auto",...e.style}}),r.jsxs(Y,{labelWidth:e.width,size:s,children:[r.jsx(k,{name:n,filesEndPoint:P,authParams:E,registerOptions:c,file:h,sizeLimit:w,acceptableTypes:y,isDisabled:l==="disabled"||l==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:L,onFileSizeError:B,onDeleteFile:M,onEditFileName:R,placeholderText:I,showPhotoPicker:S,useMobileCam:v,showWebCamPopUpCloseIcon:D,showUploadSuccessAnimation:T}),g&&r.jsx(q,{size:s,isError:g,children:C&&h!=null?U.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=d.div`
1
+ import{J as O,cM as W,ey as u,V as r,cR as j,x as a,eY as k,b as U,ac as N,u as i,o,p as _,c as A}from"./index-CGTxoCJp.js";import{n as d}from"./mui-CD7xFf2d.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]="34e90d61-98c5-4704-a649-533c7af2c86f",e._sentryDebugIdIdentifier="sentry-dbid-34e90d61-98c5-4704-a649-533c7af2c86f")}catch{}})();const t={width:new a(343,580,726),height:new a(i[6],i[6]),paddingTopBottom:new a(i[2],i[2]),marginRight:new a(i[2],i[2]),labelMarginLeft:new a(i[3],i[4]),labelMarginRight:new a(i[3],i[4]),labelMarginTop:new a(i[2],i[2])},J={infoLabel:new A("extraSmallRegular","smallRegular")};function H({label:e,isDisabled:l,isOptional:p,style:c,file:h,name:n,registerOptions:b,additionalInfoLabel:f,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:S,showPhotoPicker:v,useMobileCam:I,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:D,updateFilesEntity:L,onDeleteFile:M,onEditFileName:R,onFileSizeError:B}){const s=O(),{formState:{errors:m}}=W(),g=u(m,n),C=u(m,`${n}.fileName`);return r.jsxs(V,{size:s,style:c,isDisabled:l!=null,"data-testid":N("document-field",n),children:[r.jsx(j,{isDisabled:l,label:e.label,isOptional:p,style:{marginLeft:t.labelMarginLeft.value(s),marginRight:t.labelMarginRight.value(s),marginTop:t.labelMarginTop.value(s),width:e.width??"auto",...e.style}}),r.jsxs(Y,{labelWidth:e.width,size:s,children:[r.jsx(k,{name:n,filesEndPoint:P,authParams:E,registerOptions:b,file:h,sizeLimit:w,acceptableTypes:y,isDisabled:l==="disabled"||l==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:L,onFileSizeError:B,onDeleteFile:M,onEditFileName:R,placeholderText:S,showPhotoPicker:v,useMobileCam:I,showWebCamPopUpCloseIcon:D,showUploadSuccessAnimation:T}),g&&r.jsx(q,{size:s,isError:g,children:C&&h!=null?U.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=d.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.size==="small"?"column":"row"};
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{J as V,y as C,cM as g,ey as M,V as r,o,eH as R,bT as _,w as J,gl as O,p as s,c as P,bI as A}from"./index-CZZQCAd2.js";import{n as i}from"./mui-1V4DDk1u.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]="2f4c0db8-a84b-4653-9b5f-ad8a30cdb4e6",e._sentryDebugIdIdentifier="sentry-dbid-2f4c0db8-a84b-4653-9b5f-ad8a30cdb4e6")}catch{}})();const F={infoLabel:new P("extraSmallRegular","smallRegular")};function q({isDisabled:e,label:a,formattedText:t,dropdownStyle:f,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:w=!0,isSaveError:d=!1,showTickIcon:x,showErrorInfoLabel:$,errorInfoLabel:D,registerOptions:L,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:j,placeholderLabel:E}){const n=V(),b=C(),{formState:{errors:I}}=g(),c=M(I,t.name),{control:S}=g(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(H,{size:n,style:m,isDisabled:e!=null,isError:c||d,children:[r.jsx(G,{windowSize:n,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(K,{style:{width:"auto",...f},children:r.jsx(R,{name:j,control:S,defaultValue:p.dropDownValue,rules:L,render:({field:{value:l,onChange:T}})=>r.jsx(_,{pickerValues:p.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{T(u)},menuPlacement:v,titleTextStyle:J.standardRegular,titleColor:b.colors.hero,valueOpacity:1,backgroundColor:b.colors.grey5,placeholder:E})})})}),r.jsxs(U,{children:[r.jsx(O,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(w||c||d)&&r.jsxs(h,{size:n,isError:c||d,children:[x===!0?r.jsx(W,{children:r.jsx(B,{})}):null,y]}),$===!0&&r.jsx(h,{size:n,isError:!0,children:D})]})]})}const H=i.div`
1
+ import{J as V,y as C,cM as g,ey as M,V as r,o,eH as R,bT as _,w as J,gl as O,p as s,c as P,bI as A}from"./index-CGTxoCJp.js";import{n as i}from"./mui-CD7xFf2d.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]="2f4c0db8-a84b-4653-9b5f-ad8a30cdb4e6",e._sentryDebugIdIdentifier="sentry-dbid-2f4c0db8-a84b-4653-9b5f-ad8a30cdb4e6")}catch{}})();const F={infoLabel:new P("extraSmallRegular","smallRegular")};function q({isDisabled:e,label:a,formattedText:t,dropdownStyle:f,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:w=!0,isSaveError:d=!1,showTickIcon:x,showErrorInfoLabel:$,errorInfoLabel:D,registerOptions:L,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:j,placeholderLabel:E}){const n=V(),b=C(),{formState:{errors:I}}=g(),c=M(I,t.name),{control:S}=g(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(H,{size:n,style:m,isDisabled:e!=null,isError:c||d,children:[r.jsx(G,{windowSize:n,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(K,{style:{width:"auto",...f},children:r.jsx(R,{name:j,control:S,defaultValue:p.dropDownValue,rules:L,render:({field:{value:l,onChange:T}})=>r.jsx(_,{pickerValues:p.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{T(u)},menuPlacement:v,titleTextStyle:J.standardRegular,titleColor:b.colors.hero,valueOpacity:1,backgroundColor:b.colors.grey5,placeholder:E})})})}),r.jsxs(U,{children:[r.jsx(O,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(w||c||d)&&r.jsxs(h,{size:n,isError:c||d,children:[x===!0?r.jsx(W,{children:r.jsx(B,{})}):null,y]}),$===!0&&r.jsx(h,{size:n,isError:!0,children:D})]})]})}const H=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{J as p,V as d,cR as u,x as l,ac as b,u as t,o as a,an as f,c}from"./index-CZZQCAd2.js";import{n as r}from"./mui-1V4DDk1u.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]="d1a18871-abb7-49d2-bb51-62bacda9b0bb",e._sentryDebugIdIdentifier="sentry-dbid-d1a18871-abb7-49d2-bb51-62bacda9b0bb")}catch{}})();const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},y={infoLabel:new c("extraSmallRegular","smallRegular")};function R({label:e,value:o,additionalInfoLabel:s,style:g,infoLabelStyle:h}){const n=p();return d.jsxs(m,{size:n,style:g,"data-testid":b("labeled-text",e.label),children:[d.jsx(u,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(n),marginRight:i.labelMarginRight.value(n),marginTop:i.labelMarginTop.value(n),width:e.width??"auto"}}),d.jsxs(x,{labelWidth:e.width,children:[d.jsx(w,{"data-testid":b("labeled-text-input",e.label),children:o}),s!=null?d.jsx($,{size:n,style:h,children:s}):null]})]})}const m=r.div`
1
+ import{J as f,V as o,cR as p,x as l,ac as g,u as t,o as a,an as u,c}from"./index-CGTxoCJp.js";import{n as d}from"./mui-CD7xFf2d.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]="371ed243-fbef-4280-997b-a03356c9a903",e._sentryDebugIdIdentifier="sentry-dbid-371ed243-fbef-4280-997b-a03356c9a903")}catch{}})();const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},y={infoLabel:new c("extraSmallRegular","smallRegular")};function R({label:e,value:r,additionalInfoLabel:s,style:b,infoLabelStyle:h}){const n=f();return o.jsxs(m,{size:n,style:b,"data-testid":g("labeled-text",e.label),children:[o.jsx(p,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(n),marginRight:i.labelMarginRight.value(n),marginTop:i.labelMarginTop.value(n),width:e.width??"auto"}}),o.jsxs(x,{labelWidth:e.width,children:[o.jsx(w,{"data-testid":g("labeled-text-input",e.label),children:r}),s!=null?o.jsx($,{size:n,style:h,children:s}):null]})]})}const m=d.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -16,7 +16,7 @@ import{J as p,V as d,cR as u,x as l,ac as b,u as t,o as a,an as f,c}from"./index
16
16
  border-bottom-left-radius: inherit;
17
17
  border-bottom-right-radius: inherit;
18
18
  }
19
- `,w=r(f)`
19
+ `,w=d(u)`
20
20
  display: flex;
21
21
  border-width: ${a.sp0};
22
22
  outline-width: ${a.sp0};
@@ -29,9 +29,9 @@ import{J as p,V as d,cR as u,x as l,ac as b,u as t,o as a,an as f,c}from"./index
29
29
  justify-content: flex-end;
30
30
  margin-top: ${a.sp2};
31
31
  margin-bottom: ${a.sp2};
32
- `,x=r.label`
32
+ `,x=d.label`
33
33
  width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"100%"};
34
- `,$=r.label`
34
+ `,$=d.label`
35
35
  width: 100%;
36
36
  display: flex;
37
37
  justify-content: flex-end;
@@ -1,4 +1,4 @@
1
- import{J as M,V as l,cR as me,o as s,x as I,ac as K,u as m,cM as Q,eH as ge,ey as fe,y as be,g4 as xe,b as R,c as we,bK as _,g5 as Z,ar as H,g6 as J,bI as B,p as F,w as G,an as X,g7 as $e,ao as ye,ak as ve}from"./index-CZZQCAd2.js";import{n as r}from"./mui-1V4DDk1u.js";import{T as je}from"./RoleWithToolTip-BIBVAADS-DMOgVdZw.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]="4764f2e2-6f2f-49d5-a044-e4c9fdb4021b",e._sentryDebugIdIdentifier="sentry-dbid-4764f2e2-6f2f-49d5-a044-e4c9fdb4021b")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
1
+ import{J as M,V as l,cR as me,o as s,x as I,ac as K,u as m,cM as Q,eH as ge,ey as fe,y as be,g4 as xe,b as R,c as we,bK as _,g5 as Z,ar as H,g6 as J,bI as B,p as F,w as G,an as X,g7 as $e,ao as ye,ak as ve}from"./index-CGTxoCJp.js";import{n as r}from"./mui-CD7xFf2d.js";import{T as je}from"./RoleWithToolTip-Cw9gD3N5-ConmKNG4.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]="5c95ffbb-5e00-4925-9f0b-1882c9827139",e._sentryDebugIdIdentifier="sentry-dbid-5c95ffbb-5e00-4925-9f0b-1882c9827139")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
2
2
  display: flex;
3
3
  gap: ${s.sp2};
4
4
  align-items: center;
@@ -55,14 +55,14 @@ import{J as M,V as l,cR as me,o as s,x as I,ac as K,u as m,cM as Q,eH as ge,ey a
55
55
  `,Ve=r(U)`
56
56
  flex-direction: column;
57
57
  gap: ${s.sp0};
58
- `,ke=r.div`
58
+ `,Pe=r.div`
59
59
  display: flex;
60
60
  align-items: center;
61
61
  height: ${s.sp6};
62
62
  gap: ${s.sp2};
63
63
  justify-content: ${e=>e.menuIsOpen?"flex-start":"flex-end"};
64
64
  width: 100%;
65
- `,Pe=r(X)`
65
+ `,ke=r(X)`
66
66
  white-space: nowrap;
67
67
  overflow: hidden;
68
68
  text-overflow: ellipsis;
@@ -180,7 +180,7 @@ import{J as M,V as l,cR as me,o as s,x as I,ac as K,u as m,cM as Q,eH as ge,ey a
180
180
  border-radius: ${s.sp1};
181
181
  margin-top: ${({windowSize:e})=>ee.marginTop.valuePx(e)};
182
182
  width: fit-content;
183
- `;function We({allUsers:e,selectedValue:a,showOneOffLabel:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:f,optionStyles:T,isValuePlacedAtEnd:D=!0,isDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:k=!1}){const{formState:{errors:P}}=Q(),L=fe(P,j??""),c=M(),O=[];o!=null&&O.push(o.value),O.push(...e.map(t=>t.userId));const le=t=>{if(o!=null&&o.value===t)return o.label;const i=e.findIndex(n=>n.userId===t);if(i!==-1){const n=e[i];return n.user?.firstName||n.user?.lastName?`${n.user?.firstName} ${n.user?.lastName}`:`${n.user?.email}`}else return""},se=t=>{const i=e.findIndex(n=>n.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:n}=t;return l.jsx(Re,{menuIsOpen:i,isError:L,children:l.jsx(Ce,{children:n})})},re=({labelDetails:t})=>l.jsxs(Ee,{hasSelectedUser:a===t.value,children:[l.jsxs(Fe,{children:[l.jsx(Ue,{}),l.jsx(Y,{children:l.jsx(E,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(B,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:n,selectProps:u}=t,{menuIsOpen:h}=u;if(o!=null&&n?.value===o.value)return l.jsxs(U,{children:[S||C?l.jsx(Z,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Pe,{children:o.label})]});const d=e.findIndex(y=>y.userId===n.value),p=e[d],b=x(n.value);return l.jsxs(Ve,{children:[l.jsxs(ke,{menuIsOpen:h,children:[S||C?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:R.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=H},loading:"lazy"}):l.jsx(J,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(E,{children:i})]}),S?l.jsx(W,{subtitleList:b,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:n})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:n,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ie,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:n,selectProps:u,value:h}=t,d=!!z?.(h)&&n===!1;if(o!=null&&i?.value===o.value)return l.jsx(re,{labelDetails:o});const p=e.findIndex(A=>A.userId===i.value),b=e[p],y=x(i.value);return l.jsxs(De,{style:T,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Le,{children:b?.user?.photo!=null?l.jsx(Ae,{src:b?.user?.photo.href,alt:R.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=H},loading:"lazy"}):l.jsx(J,{firstName:b?.user?.firstName??"",lastName:b?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(Y,{children:[l.jsx(E,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:b}),c==="small"&&d&&$!=null?l.jsx(q,{windowSize:c,children:$}):null]})]}),!!n&&l.jsx(l.Fragment,{children:l.jsx(B,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(q,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:n,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Ne,{menuIsOpen:i,isFocused:n,isDisabled:u,selectedValue:d,isError:L,isValuePlacedAtEnd:D,windowSize:c,bigMarginRightForSmallScreens:k,children:l.jsx(_.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(_.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Me,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=be();return l.jsx(xe,{placeholder:g??R.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:f,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:V,isOptionDisabled:t=>z?.(t)===!0&&a!==t,filterOption:he})}const _e={infoLabel:new we("smallRegular","smallRegular")},He=({name:e,placeholderLabel:a,registerOptions:o,value:g,valueToSubtitle:v,showOneOffLabel:x,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:f,isDisabled:T,additionalLabelInfo:D,isOptionDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:k}=Q(),P=M();return l.jsx(ge,{name:e,control:k,defaultValue:g,rules:o,render:({field:{value:L,onChange:c}})=>l.jsxs(Je,{width:w?.width,"data-testid":K("user-single-select",e),children:[l.jsx(We,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:L.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:x,userContainerStyles:w,isValuePlacedAtEnd:f,isDisabled:T,isOptionDisabled:V,showAvatarAndSubtitles:S,showOnlyAvatar:C,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),D!==null&&l.jsx(Be,{size:P,children:D})]})})},Je=r.div`
183
+ `;function We({allUsers:e,selectedValue:a,showOneOffLabel:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:f,optionStyles:T,isValuePlacedAtEnd:D=!0,isDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:P=!1}){const{formState:{errors:k}}=Q(),L=fe(k,j??""),c=M(),O=[];o!=null&&O.push(o.value),O.push(...e.map(t=>t.userId));const le=t=>{if(o!=null&&o.value===t)return o.label;const i=e.findIndex(n=>n.userId===t);if(i!==-1){const n=e[i];return n.user?.firstName||n.user?.lastName?`${n.user?.firstName} ${n.user?.lastName}`:`${n.user?.email}`}else return""},se=t=>{const i=e.findIndex(n=>n.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:n}=t;return l.jsx(Re,{menuIsOpen:i,isError:L,children:l.jsx(Ce,{children:n})})},re=({labelDetails:t})=>l.jsxs(Ee,{hasSelectedUser:a===t.value,children:[l.jsxs(Fe,{children:[l.jsx(Ue,{}),l.jsx(Y,{children:l.jsx(E,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(B,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:n,selectProps:u}=t,{menuIsOpen:h}=u;if(o!=null&&n?.value===o.value)return l.jsxs(U,{children:[S||C?l.jsx(Z,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(ke,{children:o.label})]});const d=e.findIndex(y=>y.userId===n.value),p=e[d],b=x(n.value);return l.jsxs(Ve,{children:[l.jsxs(Pe,{menuIsOpen:h,children:[S||C?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:R.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=H},loading:"lazy"}):l.jsx(J,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(E,{children:i})]}),S?l.jsx(W,{subtitleList:b,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:n})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:n,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ie,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:n,selectProps:u,value:h}=t,d=!!z?.(h)&&n===!1;if(o!=null&&i?.value===o.value)return l.jsx(re,{labelDetails:o});const p=e.findIndex(A=>A.userId===i.value),b=e[p],y=x(i.value);return l.jsxs(De,{style:T,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Le,{children:b?.user?.photo!=null?l.jsx(Ae,{src:b?.user?.photo.href,alt:R.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=H},loading:"lazy"}):l.jsx(J,{firstName:b?.user?.firstName??"",lastName:b?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(Y,{children:[l.jsx(E,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:b}),c==="small"&&d&&$!=null?l.jsx(q,{windowSize:c,children:$}):null]})]}),!!n&&l.jsx(l.Fragment,{children:l.jsx(B,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(q,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:n,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Ne,{menuIsOpen:i,isFocused:n,isDisabled:u,selectedValue:d,isError:L,isValuePlacedAtEnd:D,windowSize:c,bigMarginRightForSmallScreens:P,children:l.jsx(_.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(_.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Me,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=be();return l.jsx(xe,{placeholder:g??R.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:f,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:V,isOptionDisabled:t=>z?.(t)===!0&&a!==t,filterOption:he})}const _e={infoLabel:new we("smallRegular","smallRegular")},He=({name:e,placeholderLabel:a,registerOptions:o,value:g,valueToSubtitle:v,showOneOffLabel:x,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:f,isDisabled:T,additionalLabelInfo:D,isOptionDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:P}=Q(),k=M();return l.jsx(ge,{name:e,control:P,defaultValue:g,rules:o,render:({field:{value:L,onChange:c}})=>l.jsxs(Je,{width:w?.width,"data-testid":K("user-single-select",e),children:[l.jsx(We,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:L.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:x,userContainerStyles:w,isValuePlacedAtEnd:f,isDisabled:T,isOptionDisabled:V,showAvatarAndSubtitles:S,showOnlyAvatar:C,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),D!==null&&l.jsx(Be,{size:k,children:D})]})})},Je=r.div`
184
184
  display: flex;
185
185
  flex-direction: column;
186
186
  width: ${e=>e.width!=null?e.width:"auto"};
@@ -1,4 +1,4 @@
1
- import{J as B,V as l,cR as G,x as m,o,ac as H,u as n,cM as E,eH as K,ey as Q,y as q,w as V,bJ as ie,b as te,g1 as se,g8 as ae,aM as ne,b3 as de,bK as M,bc as ce,bI as pe,cF as ue,p as D,g9 as F,ck as X,a as he,ak as Y,an as ge,ao as me,fP as be,fO as fe,by as xe,fQ as ye,bk as we,ga as ve}from"./index-CZZQCAd2.js";import{n as d,c as $e}from"./mui-1V4DDk1u.js";import{a as C}from"./sentry-KKNtqb_g.js";import{Gr as W,Gs as Re}from"./zeni-epic-state-BIDncbwZ.js";import{T as je}from"./RoleWithToolTip-BIBVAADS-DMOgVdZw.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]="6ad0bf7e-058c-41a5-82b5-c6e747736876",e._sentryDebugIdIdentifier="sentry-dbid-6ad0bf7e-058c-41a5-82b5-c6e747736876")}catch{}})();const N={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
1
+ import{J as B,V as l,cR as G,x as m,o,ac as H,u as n,cM as E,eH as K,ey as Q,y as q,w as V,bJ as ie,b as te,g1 as se,g8 as ae,aM as ne,b3 as de,bK as M,bc as ce,bI as pe,cF as ue,p as D,g9 as F,ck as X,a as he,ak as Y,an as ge,ao as me,fP as be,fO as fe,by as xe,fQ as ye,bk as we,ga as ve}from"./index-CGTxoCJp.js";import{n as d,c as $e}from"./mui-CD7xFf2d.js";import{a as C}from"./sentry-CuNQ_GI9.js";import{Gr as W,Gs as Re}from"./zeni-epic-state-BJYsNVul.js";import{T as je}from"./RoleWithToolTip-Cw9gD3N5-ConmKNG4.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]="6e7a7035-24ba-42f0-99b5-f56da231d896",e._sentryDebugIdIdentifier="sentry-dbid-6e7a7035-24ba-42f0-99b5-f56da231d896")}catch{}})();const N={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
2
2
  display: flex;
3
3
  margin-top: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
4
  margin-bottom: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{J as G,aS as ue,aa as pe,cI as me,iS as E,iD as P,cJ as he,V as n,ae as ge,gb as fe,aT as be,b as Q,o as t,x as m,h as xe,d as ye,cN as V,iT as we,p as je,w as I,bj as Se,u as r}from"./index-CZZQCAd2.js";import{a as J}from"./sentry-KKNtqb_g.js";import{n as i}from"./mui-1V4DDk1u.js";import{GU as H,GR as Ce,GS as De}from"./zeni-epic-state-BIDncbwZ.js";import $e from"./TransactionDetailPage-RfrmUngB-Dci0je89.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";import"./LabeledControlledCheckBoxField-DlQqluVv-BVJ5kTmb.js";import"./TrendWithTransactions-Iz0QVdZP-CDHQCqNH.js";import"./TrendChart-DQwanU50-BV-_y5G5.js";import"./chartTypes-B53kfwdO-BhCsc3sU.js";import"./toCOABalancesWithID-shajGRBP-BsWBm72Q.js";import"./toChartData-DJeOVqss-Ckap6Mgt.js";import"./NoDataChart-BpVOzQOW-DKnao5o4.js";import"./InsightsSection-o1r7-jTU-BEvpe3bJ.js";import"./NavigationDots-Db1I_vts-Bg46VZRN.js";import"./TransactionList-4mJl7knT-DqG87PM9.js";import"./ConstrainedInnerElement-BeIpAPjB-Cf0vGOip.js";import"./BoxItem-djG6IQ4o-2WZ3HHBU.js";import"./commonDimensions-Om-6fiMl-CN-97Hnw.js";import"./panelSelectedMixin-Cddsb26L-DCdVDlSE.js";import"./uploadAttachment-BjSr5jfA-5o3rK0wU.js";import"./radio-default-CiSgisfh-DveETCoH.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]="dd253d82-6129-48f1-8394-cf7ad5c86237",e._sentryDebugIdIdentifier="sentry-dbid-dd253d82-6129-48f1-8394-cf7ad5c86237")}catch{}})();const M={labelWidth:new m(120,145,160)},ve=i.div`
1
+ import{J as G,aS as ue,aa as pe,cI as me,iS as E,iD as P,cJ as he,V as n,ae as ge,gb as fe,aT as be,b as Q,o as t,x as m,h as xe,d as ye,cN as V,iT as we,p as je,w as I,bj as Se,u as r}from"./index-CGTxoCJp.js";import{a as J}from"./sentry-CuNQ_GI9.js";import{n as i}from"./mui-CD7xFf2d.js";import{GU as H,GR as Ce,GS as De}from"./zeni-epic-state-BJYsNVul.js";import $e from"./TransactionDetailPage-B5jASgT3-CgTo1hvB.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./LabeledControlledCheckBoxField-BL_01jee-D2U3D5J4.js";import"./TrendWithTransactions-hxM7e0EM-DQsX5Fpa.js";import"./TrendChart-DjYTskVA-gHskLbo_.js";import"./chartTypes-DWf4SAOE-BXMQEiqd.js";import"./toCOABalancesWithID-BHpR5IjE-BC__zjt5.js";import"./toChartData-wLoMfnuk-B5A976Ge.js";import"./NoDataChart-CggIXqiK-C19sXnTb.js";import"./InsightsSection-BJeBGbPg-Bqi1LIqW.js";import"./NavigationDots-BrWdpJ3R-DuPdXi3_.js";import"./TransactionList-C4_0d8Yi-D_b8rDHf.js";import"./ConstrainedInnerElement-BeIpAPjB-BmJp_gGJ.js";import"./BoxItem-mA2l070e-DKIWhdy7.js";import"./commonDimensions-BgUllk7Z-mJRWeU7K.js";import"./panelSelectedMixin-Cddsb26L-ChVQUbpx.js";import"./uploadAttachment-DiB8ywoD-CoooZKCI.js";import"./radio-default-CiSgisfh-CmFHLU8c.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]="5c69e459-a625-49ce-b3e0-d3bc74069c8f",e._sentryDebugIdIdentifier="sentry-dbid-5c69e459-a625-49ce-b3e0-d3bc74069c8f")}catch{}})();const M={labelWidth:new m(120,145,160)},ve=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{J as he,y as Me,aa as me,x as d,ey as ue,V as r,fg as Be,ae as ge,ar as He,g6 as Ue,o as t,w as We,bV as Ve,aQ as te,cR as Ye,b3 as q,et as qe,L as Xe,aT as Ge,b as U,aq as Ke,cN as gt,a as pe,a9 as xt,ay as wt,g$ as $t,gh as ft,ac as de,u as b,d as Je,bX as xe,e as Ze,an as j,b9 as we,ak as G,dw as Qe,b1 as et,cF as tt,p as X,ao as rt,iX as oe,j6 as yt,jb as bt,jc as jt,dx as Pe,fx as vt,eO as St}from"./index-CZZQCAd2.js";import{a as ae}from"./sentry-KKNtqb_g.js";import{n as i}from"./mui-1V4DDk1u.js";import{Fw as Ct}from"./zeni-epic-state-BIDncbwZ.js";import{T as it}from"./RoleWithToolTip-BIBVAADS-DMOgVdZw.js";import{j as ot}from"./CardNumberSubText-BNT6moWK-CsPKCw8x.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new e.Error().stack;h&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[h]="3304131a-791a-4516-ae90-4757f5f54598",e._sentryDebugIdIdentifier="sentry-dbid-3304131a-791a-4516-ae90-4757f5f54598")}catch{}})();const Q="cardName",fe=U.getLocalizedStrings().spendManagement.chargeCard.renamePopup;function vi({currentCardName:e,renameFetchState:h,onCancelClick:c,onSubmitClick:p}){const l=he(),y="RenameCardForm",n=me({mode:"all",defaultValues:{[Q]:e},values:{[Q]:e}});ae.useEffect(()=>{n.setFocus(Q)},[]);const m=()=>{c()},E=n.handleSubmit(()=>{const $=n.getValues(Q);$!=null&&p($)}),N=ue(n.formState.errors,Q),o=U.getLocalizedStrings().common,T=le.largeLabelWidth.value(l);return r.jsx(zt,{windowSize:l,role:"presentation",children:r.jsx(Ke,{onClickAway:()=>c(),children:r.jsxs(kt,{windowSize:l,children:[r.jsx(ge,{...n,children:r.jsxs(It,{id:y,onSubmit:$=>{$.preventDefault(),E()},children:[r.jsx(Pt,{windowSize:l,children:fe.heading}),r.jsx(Nt,{hasError:N,children:r.jsx(gt,{label:{label:fe.newName,width:T},style:{width:"auto"},text:{type:"text",name:Q,defaultValue:e,placeholder:fe.placeholder,options:{required:!0,validate:$=>$!=null}}})})]})}),r.jsx(Dt,{children:r.jsxs(Lt,{children:[r.jsx(pe,{label:o.cancel,onClick:m,style:{width:84}}),r.jsx(Tt,{}),r.jsx(pe,{variant:"primary",label:o.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:h==="In-Progress",type:"submit",form:y})]})})]})})})}const le={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(b[5],b[6]),popupTopBottomPadding:new d(b[5],b[5])},zt=i.div`
1
+ import{J as he,y as Me,aa as me,x as d,ey as ue,V as r,fg as Be,ae as ge,ar as He,g6 as Ue,o as t,w as We,bV as Ve,aQ as te,cR as Ye,b3 as q,et as qe,L as Xe,aT as Ge,b as U,aq as Ke,cN as gt,a as pe,a9 as xt,ay as wt,g$ as $t,gh as ft,ac as de,u as b,d as Je,bX as xe,e as Ze,an as j,b9 as we,ak as G,dw as Qe,b1 as et,cF as tt,p as X,ao as rt,iX as oe,j6 as yt,jb as bt,jc as jt,dx as Pe,fx as vt,eO as St}from"./index-CGTxoCJp.js";import{a as ae}from"./sentry-CuNQ_GI9.js";import{n as i}from"./mui-CD7xFf2d.js";import{Fw as Ct}from"./zeni-epic-state-BJYsNVul.js";import{T as it}from"./RoleWithToolTip-Cw9gD3N5-ConmKNG4.js";import{j as ot}from"./CardNumberSubText-H4wtwe6R-CVi7j9Nt.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new e.Error().stack;h&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[h]="3d048d2c-df3e-4e14-a500-c29877f25aaf",e._sentryDebugIdIdentifier="sentry-dbid-3d048d2c-df3e-4e14-a500-c29877f25aaf")}catch{}})();const Q="cardName",fe=U.getLocalizedStrings().spendManagement.chargeCard.renamePopup;function vi({currentCardName:e,renameFetchState:h,onCancelClick:c,onSubmitClick:p}){const l=he(),y="RenameCardForm",n=me({mode:"all",defaultValues:{[Q]:e},values:{[Q]:e}});ae.useEffect(()=>{n.setFocus(Q)},[]);const m=()=>{c()},E=n.handleSubmit(()=>{const $=n.getValues(Q);$!=null&&p($)}),N=ue(n.formState.errors,Q),o=U.getLocalizedStrings().common,T=le.largeLabelWidth.value(l);return r.jsx(zt,{windowSize:l,role:"presentation",children:r.jsx(Ke,{onClickAway:()=>c(),children:r.jsxs(kt,{windowSize:l,children:[r.jsx(ge,{...n,children:r.jsxs(It,{id:y,onSubmit:$=>{$.preventDefault(),E()},children:[r.jsx(Pt,{windowSize:l,children:fe.heading}),r.jsx(Nt,{hasError:N,children:r.jsx(gt,{label:{label:fe.newName,width:T},style:{width:"auto"},text:{type:"text",name:Q,defaultValue:e,placeholder:fe.placeholder,options:{required:!0,validate:$=>$!=null}}})})]})}),r.jsx(Dt,{children:r.jsxs(Lt,{children:[r.jsx(pe,{label:o.cancel,onClick:m,style:{width:84}}),r.jsx(Tt,{}),r.jsx(pe,{variant:"primary",label:o.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:h==="In-Progress",type:"submit",form:y})]})})]})})})}const le={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(b[5],b[6]),popupTopBottomPadding:new d(b[5],b[5])},zt=i.div`
2
2
  position: fixed;
3
3
  top: ${t.sp0};
4
4
  left: ${t.sp0};
@@ -1,4 +1,4 @@
1
- import{b as C,J as A,aa as W,V as a,ae as R,cs as F,cQ as U,x as m,cU as z,o as t,cu as E,u,bc as J,aW as V,bX as Y}from"./index-CZZQCAd2.js";import{n as d}from"./mui-1V4DDk1u.js";import{uu as _,bL as $,bh as S}from"./zeni-epic-state-BIDncbwZ.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]="c72d4885-c0e9-47d6-9814-90417963c987",e._sentryDebugIdIdentifier="sentry-dbid-c72d4885-c0e9-47d6-9814-90417963c987")}catch{}})();const s={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},N=d.div`
1
+ import{b as C,J as A,aa as W,V as a,ae as R,cs as F,cQ as U,x as m,cU as z,o as t,cu as E,u,bc as J,aW as V,bX as Y}from"./index-CGTxoCJp.js";import{n as d}from"./mui-CD7xFf2d.js";import{uu as _,bL as $,bh as S}from"./zeni-epic-state-BJYsNVul.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]="c72d4885-c0e9-47d6-9814-90417963c987",e._sentryDebugIdIdentifier="sentry-dbid-c72d4885-c0e9-47d6-9814-90417963c987")}catch{}})();const s={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},N=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -0,0 +1 @@
1
+ import{V as b}from"./index-CGTxoCJp.js";import{f as l}from"./ACHDetailsPage-qOWGYckl-DjJAccbn.js";import"./sentry-CuNQ_GI9.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./mui-CD7xFf2d.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./BankAccountWarningSection-BR28A3L4-D_D37qnN.js";import"./MagicLinkTitleSection-B33mBOG9-35QrlIpm.js";import"./BankAccountSection-I-uZ-Yd2-0VZeMO0Z.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]="dda2af25-308e-4c97-8020-c0c880ce6b9a",e._sentryDebugIdIdentifier="sentry-dbid-dda2af25-308e-4c97-8020-c0c880ce6b9a")}catch{}})();const _=({magicLinkViewState:e,magicLinkBankAccountDetails:t,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r})=>{const{fetchState:c,error:m,bankNameByRouting:d,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=t,{currencySymbol:f,amount:p}=e;return b.jsx(l,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:c,error:m},bankNameByRouting:d,fetchBankNameByRoutingStatus:u,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:f,amount:p})};export{_ as default};
@@ -0,0 +1 @@
1
+ import{V as y}from"./index-CGTxoCJp.js";import{D as g}from"./DomesticWireDetailsPage-DSdkrnnn-5AqQiSCx.js";import"./sentry-CuNQ_GI9.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./mui-CD7xFf2d.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./BankAccountSection-I-uZ-Yd2-0VZeMO0Z.js";import"./MagicLinkTitleSection-B33mBOG9-35QrlIpm.js";import"./BankAccountWarningSection-BR28A3L4-D_D37qnN.js";import"./MailingDetailsSection-qtLrrSYF-CTuCvSpe.js";import"./LabeledAddressValueField-ig7qAURp-BZ_M96P1.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]="4135e62d-d7b2-455b-914d-325ef19bdc68",e._sentryDebugIdIdentifier="sentry-dbid-4135e62d-d7b2-455b-914d-325ef19bdc68")}catch{}})();const E=({magicLinkViewState:e,magicLinkBankAccountDetails:t,mailingAddressDetails:o,isDisabled:a,companyName:n,onSaveHandler:r,onWireDetailsUpdated:i,onFetchBankName:d,onAddressClick:s})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:b}=t,{currencySymbol:l,amount:f}=e;return y.jsx(g,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,addressToEdit:o,addressType:"vendor_address",fetchBankNameByRoutingStatus:b,isDisabled:a,onSaveHandler:r,onWireDetailsUpdated:i,onAddressClick:s,onFetchBankName:d,companyName:n,isMagicLink:!0,currencySymbol:l,amount:f})};export{E as default};
@@ -0,0 +1 @@
1
+ import{V as u}from"./index-CGTxoCJp.js";import{f as y}from"./InternationalWireSwiftDetailsPage-OirC9N1X-BxespejQ.js";import"./sentry-CuNQ_GI9.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./mui-CD7xFf2d.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./BankAccountWarningSection-BR28A3L4-D_D37qnN.js";import"./MailingDetailsSection-qtLrrSYF-CTuCvSpe.js";import"./LabeledAddressValueField-ig7qAURp-BZ_M96P1.js";import"./MagicLinkTitleSection-B33mBOG9-35QrlIpm.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]="6b0f2796-acca-4235-bee5-ab3fb1985b5e",e._sentryDebugIdIdentifier="sentry-dbid-6b0f2796-acca-4235-bee5-ab3fb1985b5e")}catch{}})();const x=({magicLinkViewState:e,magicLinkBankAccountDetails:t,mailingAddressDetails:a,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:s,onAddressClick:d})=>{const{internationalBankAccountCreateStatus:m,internationalBankAccountToCreate:c,fetchBankNameBySwiftStatus:f,bankNameBySwift:b}=t,{currencySymbol:l,amount:p}=e;return u.jsx(y,{bankAccountToCreate:c,bankAccountCreationState:m,bankNameBySwift:b,addressToEdit:a,addressType:"vendor_address",fetchBankNameBySwiftStatus:f,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:d,onFetchBankNameBySwift:s,companyName:i,isMagicLink:!0,currencySymbol:l,amount:p})};export{x as default};
@@ -1,4 +1,4 @@
1
- import{ax as n,b as r,V as t,b7 as l,o as s,ah as a,e as c,h as d}from"./index-CZZQCAd2.js";import{n as i}from"./mui-1V4DDk1u.js";import"./sentry-KKNtqb_g.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./zeni-epic-state-BIDncbwZ.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.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]="2ceb6b13-24c1-406b-82b0-4bf5237245a8",e._sentryDebugIdIdentifier="sentry-dbid-2ceb6b13-24c1-406b-82b0-4bf5237245a8")}catch{}})();const S=()=>{const[e]=n("Confetti"),o=r.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(p,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(f,{})}),t.jsxs(b,{children:[t.jsx(m,{children:o.successTitle}),t.jsx(g,{children:o.successNote})]})]}):null},p=i.div`
1
+ import{ax as n,b as r,V as t,b7 as l,o as s,ah as a,e as c,h as d}from"./index-CGTxoCJp.js";import{n as i}from"./mui-CD7xFf2d.js";import"./sentry-CuNQ_GI9.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.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]="2ceb6b13-24c1-406b-82b0-4bf5237245a8",e._sentryDebugIdIdentifier="sentry-dbid-2ceb6b13-24c1-406b-82b0-4bf5237245a8")}catch{}})();const S=()=>{const[e]=n("Confetti"),o=r.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(p,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(f,{})}),t.jsxs(b,{children:[t.jsx(m,{children:o.successTitle}),t.jsx(g,{children:o.successNote})]})]}):null},p=i.div`
2
2
  z-index: 999;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{b as d,a_ as p,V as n,e as C,o as t,an as f,p as g,ck as m}from"./index-CZZQCAd2.js";import{n as s}from"./mui-1V4DDk1u.js";import{a as l}from"./sentry-KKNtqb_g.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]="4aa9c243-ea00-436c-b068-4b6c8d2d606f",e._sentryDebugIdIdentifier="sentry-dbid-4aa9c243-ea00-436c-b068-4b6c8d2d606f")}catch{}})();const y=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),j=({companyName:e,currencySymbol:a,amount:r})=>{const i=d.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,o=r>0?` ${p("0,0.[00]",r,a)}`:"",c=i.title.replace(/<tenant_name>/,e)+o;return n.jsxs(n.Fragment,{children:[n.jsx(w,{children:c}),n.jsxs(u,{children:[i.description.replace(/<tenant_name>/,e),n.jsxs(b,{children:[n.jsx(h,{}),i.encrypted]})]})]})},b=s(m)`
1
+ import{b as d,a_ as p,V as n,e as C,o as t,an as f,p as g,ck as m}from"./index-CGTxoCJp.js";import{n as s}from"./mui-CD7xFf2d.js";import{a as l}from"./sentry-CuNQ_GI9.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]="4aa9c243-ea00-436c-b068-4b6c8d2d606f",e._sentryDebugIdIdentifier="sentry-dbid-4aa9c243-ea00-436c-b068-4b6c8d2d606f")}catch{}})();const y=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),j=({companyName:e,currencySymbol:a,amount:r})=>{const i=d.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,o=r>0?` ${p("0,0.[00]",r,a)}`:"",c=i.title.replace(/<tenant_name>/,e)+o;return n.jsxs(n.Fragment,{children:[n.jsx(w,{children:c}),n.jsxs(u,{children:[i.description.replace(/<tenant_name>/,e),n.jsxs(b,{children:[n.jsx(h,{}),i.encrypted]})]})]})},b=s(m)`
2
2
  display: flex;
3
3
  gap: ${t.sp1};
4
4
  color: ${g.successDark};
@@ -0,0 +1,21 @@
1
+ import{J as c,b as u,x as r,V as s,o as a,cP as h,bb as $,u as i}from"./index-CGTxoCJp.js";import{n as g}from"./mui-CD7xFf2d.js";import{C as w}from"./LabeledAddressValueField-ig7qAURp-BZ_M96P1.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]="a565deab-84b0-4e87-b1f8-68cb2e1d0306",e._sentryDebugIdIdentifier="sentry-dbid-a565deab-84b0-4e87-b1f8-68cb2e1d0306")}catch{}})();const d={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},D=({sectionId:e,addressToEdit:o,addressType:n,isDisabled:b,onAddressClick:m})=>{const l=c(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,p=d.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(v,{size:l,children:t.addressDetailTitle}),s.jsx(x,{size:l,children:s.jsx(w,{isDisabled:b,label:{label:t.address,width:p},addressValueField:{name:y(e,"mailingAddress"),placeholder:h(t.address),defaultValue:o,registerOptions:{validate:f=>f!=null},onClick:()=>{m(n)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},y=(e,o)=>`${e}.${o}`,x=g.div`
2
+ width: auto;
3
+ display: flex;
4
+ flex-direction: column;
5
+ background-color: ${e=>e.theme.colors.grey5};
6
+ border: 1px solid ${e=>e.theme.colors.grey3};
7
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
8
+ border-radius: ${a.sp2};
9
+ margin-left: ${e=>d.marginLeft.valuePx(e.size)};
10
+ margin-right: ${e=>d.marginRight.valuePx(e.size)};
11
+ margin-top: ${e=>d.paddingTopBottom.valuePx(e.size)};
12
+ margin-bottom: ${e=>d.paddingTopBottom.valuePx(e.size)};
13
+ &:hover {
14
+ border: 1px solid ${e=>e.theme.colors.primary};
15
+ }
16
+ `,v=g($)`
17
+ color: ${e=>e.theme.colors.primary};
18
+ margin-bottom: ${a.sp3};
19
+ margin-top: ${a.sp5};
20
+ margin-left: ${e=>d.marginLeftTitle.valuePx(e.size)};
21
+ `;export{D as T};