@zeniai/web-cockpit-ui 1.15.26-dev → 1.15.27-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 (280) hide show
  1. package/dist/assets/{ACHDetailsPage-CxpLuJpQ-oljmG-aN.js → ACHDetailsPage-49jTvZnX-Be-zaLi0.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BtDuOBey-B5mBQCVW.js → AIPerformancePage-DJea2aE9-B9iO1fyz.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Dv1rJn72-BUHG0zde.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BLF92_vF-CW7wtofP.js → AccountInfoPageContent-zf4BRg29-DZX6BB3M.js} +7 -7
  5. package/dist/assets/{AccountLockedInfoModal-AsMkXu1I-CUepwrH5.js → AccountLockedInfoModal-CxoC-scs-DZJuQo5m.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CkaBrm5K-KV-fem_5.js → AccountReconDetailsDrawerPage-DI40FQGK-9O64pVIg.js} +1 -1
  7. package/dist/assets/{AccountRow-aEmcYP8T-NzxiJ7E0.js → AccountRow-CxEUX108-Ctuhzest.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-C0At5pn8-BVyntxD9.js → AccountsPromoCardStack-ugkcP4hS-Bj_Nb7Iz.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CbjThbsA-DCBhdPbu.js → AddAddressForCardDrawer-KZ-LVrwR-BRcI_JTS.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CMJwUbgf-CbZx4F8y.js → AddToWalletPage-CmBtO-Jx-CFwvepkh.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-B_BSfude-DZk6eQ7D.js → AgingReportsPage-BgZqIoFH-CBXVGn8J.js} +1 -1
  12. package/dist/assets/{AllUserItems-CGlWa60t-Bsvj0Bul.js → AllUserItems-CMkg4gXl-Dbiuf_va.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-DT3vkmLG-hWexPQ-R.js → ApAgingDetailPage-CIc4rs2--CTxo3gfJ.js} +1 -1
  14. package/dist/assets/{AppBasePage-CDy7wPlv-BdtLe6Er.js → AppBasePage-Ch3JOqQA-CkD3FaNp.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-CEsXm_i6-DvQRPFBq.js → AppDrawerContent-DK3tTd88-Ebl_NVYT.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-CB2_4-2f-DqEewSSN.js → ApprovalRulesSettingsPage-8myNAB_M-Bfi0yOAc.js} +1 -1
  17. package/dist/assets/{ArAgingChart-qxhWsIQb-BR0MyGhc.js → ArAgingChart-D8yl6Fco-iPMSgvYP.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BbzQryp_-si9TyFWf.js → ArAgingDetailPage-DMPLqLKl-D3301L0t.js} +4 -4
  19. package/dist/assets/{AttachmentView-duTVxc9g-Cx51cWLo.js → AttachmentView-Cxyodtel-B24U0bgX.js} +1 -1
  20. package/dist/assets/{BankAccountSection-CAwAf9xK-dEu3iigm.js → BankAccountSection-DGuhn7CN-DmUf2oBe.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CaDnP9_--B_s5lRpF.js → BankAccountWarningSection-l79_AN7P-wzRxiGEn.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-CDV7O8cl-CKVB9msh.js → BankConnectionsSettingsPage-CkF3K8e8-C4TR4rEL.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DJxh2CIc-BDq5xtCx.js → BillDetailPage-CaAXVwe3-C9NFzEPg.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-B2ZPbqtr-DoqAcsu7.js → BillPayApprovalRuleDetailPage-CFiMiJVw-BuCRs1eu.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-MM7v8ZMx-BqexuGBp.js → BillPayApprovalRulesPage-qpF8Wy4I-B3HFhggf.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-JK-VOx4W-CHt5RuWY.js → BillPayPromoPage-CNUoM-3L-1wklXGZ-.js} +7 -7
  27. package/dist/assets/{BillPaySetUpPage-h0uoCWMl-B3vp9xYH.js → BillPaySetUpPage-D_hRCBF5-Imf9v1rc.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-gJG9OxD6-sAZcxvhc.js → BillingSettingsPage-BfvQsRnJ-VinZfITV.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CPPDFsZt-D7n_HeTo.js → BillsBulkReviewDrawerPage-BRVd0a8c-DFmDsImO.js} +1 -1
  30. package/dist/assets/{BoxItem-CYe_gTmA-3TpRGAgq.js → BoxItem-COPJh7Lh-BtEwjrhv.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Dos8Bnvb-tV078-eh.js → BusinessVerificationPage-CdRHA3h2-CIWKUgi1.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-CFDhtij8-Dsv6kEZQ.js → CardNumberSubText-Md18DQb7-Ci7Q_wrC.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BBGGzKh7-DUHJlZVl.js → CashbackDetailPage-CfB0mGdX-DgwWmp2K.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BQhago53-wjHuLhkC.js → ChargeCardDetailPage-ByOcHh0H-DEou_IlL.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-B0E-C3RH-B7k2t4T5.js → ChargeCardListPage-9aL08yGW-Ba0oB6VC.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-ByGv0xWl-DMSCDnKA.js → ChargeCardListTable-CbqF_9f3-C6X1RqBh.js} +16 -16
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-LCY9rFqO-BkZDtpLS.js → ChargeCardPaymentHistoryPage-Dp_vLjiJ-C_QznI13.js} +1 -1
  38. package/dist/assets/ChargeCardPromoPage-8Oz0DmQv-CtVY_-8P.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-BHv2VOdc-7YAt9Um1.js → ChargeCardSetupPage-DYOCe46h-e0p7QaI6.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-UpRXyPTS-DMihpC1F.js → ChargeCardStatementsPage-BLws2jOd-DH79p6d7.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-0zbTQ3Fa-BLYoChOi.js → CheckDepositDrawerPage-Bc3a4vVO-QMFCIXbb.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-DlYIKSlQ-CcB96aJz.js → CollapsableReportTable-4-6Wne7j-Bn8DnqeK.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-Ck0xqZ0d-BRXSA5bv.js → CompanyOfficerDetailsSection-C_S5WXms-iJZMGPb2.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-DeVPuuje-pYw0P8-e.js → CompanyPassportCard-DPwqwt8k-UccZMyh-.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-F_GUET9a-DyWAWfST.js → CompanyPassportPage-DDjpq5T1-zONxBEPm.js} +13 -13
  46. package/dist/assets/{CompleteProfile-Y6HwKtpz-CAD13Y73.js → CompleteProfile-C6o_Ez-L-Do1B6QH5.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-BGE3Okwr-BH3P6Vot.js → ConfettiBurst-DNR3qv8X-ptw_T_Cq.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BElBEfq9.js → ConstrainedInnerElement-BeIpAPjB-DchKqY-F.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-BlZe6gmh-CQZW25xI.js → CreateOrEditVendorPage-Bcj3U0s_-5vJHklRM.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-flPmyCaF-BN_zrabq.js → CreditCardPaymentDrawerPage-CI3GD2-u-DH6MMFER.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-RiKAivD8-Men9-Qs8.js → CurrencySelectField-98tevzzy-BlqO4MuW.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-B7dLMk4g-9XWjuxWa.js → CustomerOnboardingActivationPage-BSsdFKhb-BMSgiMMy.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-DgiK94cf-CHSTlWE8.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-AWsst0XH-Dm9ock3U.js → CustomerOnboardingDetailPageSkeleton-D5gblIdv-CFqfFpT0.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-Bqid4-rH-1Q4j5GPR.js → CustomerOnboardingNoStepsPage-DCt6wtfH-Cjj8y-RZ.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-B5LrMzZS-C9Fs1CgW.js → CustomerOnboardingPage-_HuMZOrd-CaMRm4tt.js} +4 -4
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DqgoBLWp-CqOyrhHJ.js → CustomerOnboardingProductSuitePage-DcX7v8VV-DCl6Er8S.js} +3 -3
  58. package/dist/assets/{Dashboard-D0KlujCx-DnjbaQQd.js → Dashboard-C12cMR4f-BJHxNm8C.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-bxKyMsG7-D9LgF6Vc.js → DashboardReportPage-C8FygWL_-zsIsDvlx.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-Ch0OiH1g-8bPW9HsA.js → DashboardSidebarBackgroundAnimation-eTAs_vdL-CSWEzD2n.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-BdZVCAx--B5mbkfQv.js → DepositAccTransactionItem-BuwWbrWB-LoOAd3VM.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-LU0QMdSV-BPGsYfzN.js → DepositAccTransactionListPage-C1XXM6Qy-C72sFA4v.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-CFt5GgZ1-DPIozVv0.js → DomesticWireDetailsPage-t6W8wYH8-BW3aYQzE.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-CH_bA3On-JFXgpsko.js → DownloadOverlay-CJYnXgCn-odTawGXc.js} +1 -1
  65. package/dist/assets/{DrawerPage-Cpdp-IFb-6O8ALZwh.js → DrawerPage-isFPi2CS-BP0DVAOi.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-BYnuNojX-COJTJTYl.js → EditPeoplePage-4fN2aCBr-BHmm7eYD.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-DnyyPZ26-CW_m0PAT.js → EditReimbursementDetailPage-CVMvR_xa-Y5W6LDDw.js} +1 -1
  68. package/dist/assets/EntityDetailPage-C8dRi0hQ-ChhHQBUx.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BFpgAYAM-CKlhnXLV.js → EntitySummarySection-BXo9RrQK-BuIKOVzl.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-YjOVm_Bw-BDJuPgHE.js → ExpenseAutomationOverviewPage-DPfeujDA-5Pkl4JAF.js} +59 -59
  71. package/dist/assets/ExpenseAutomationPage-CWEo8JL8-DDq4rvWb.js +1700 -0
  72. package/dist/assets/{ExpressPayPage-CKqPEfbR-pk0o4BxB.js → ExpressPayPage-Dlku9oMT-sidjttl1.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-Cs1Y3nP0-BgQT4DqF.js → FeaturePreviewPage-qJmxWW10-BCL41LPf.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-BCyL8Jdr-CPpGgHn-.js → FollowStepsSection-DxAp4i9T-Cs3p7RFB.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-CBQFcVHd-XH4CFBRM.js → GlobalReviewListPage-Cadf7AIC-BB24FYDU.js} +1 -1
  76. package/dist/assets/{InformationCardStack-nFMetrAy-CMfT3sbg.js → InformationCardStack-BZhYP37l-Dd2otSYf.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-CEMeGJXy-DkdJ-vVc.js → InsightsCardStack-CPZtVqq5-BUF_fSK4.js} +1 -1
  78. package/dist/assets/{InsightsSection-BYiN2xB7-Tq3IZNKc.js → InsightsSection-0ekovQH4-BlPNJh_U.js} +2 -2
  79. package/dist/assets/{IntegrationsSettingsPage-BQ7g3a3K-BdOaL4VS.js → IntegrationsSettingsPage-CNis_Wk3-DA1OiLg5.js} +2 -2
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-BHRYsZgm-DSuBLSD4.js → InternationalWireSwiftDetailsPage-8g16Kgfi-B71tbLSL.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-tJbVtzQP-CQvYGebF.js → InternationalWireVerificationPage-ofzwcymr-CT3lnfto.js} +1 -1
  82. package/dist/assets/{InviteFormPage-BVXte8w8-MDAVTXGi.js → InviteFormPage-pQDs7n3f-Dvolqiav.js} +1 -1
  83. package/dist/assets/{InvitePageListView-DFPyLLrA-CONqmQCs.js → InvitePageListView-DJYwE5Il-BdRMo6ep.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-B-uxjkke-6b_Qz0Yf.js → InvitePeoplePage-CgSGdi3i-BzFWBUb-.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-B9q7nIs0-DhF51Ukp.js → InvoiceUploadSection-BEp8eQB4-DHRScRES.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-BuLj1bOl-DtlAMUV4.js → IssueChargeCardPage-DX3kJ72T--bI6SGG9.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-D2t8ti-C-Z0RI74Eh.js → LabeledAddressValue-DWDFf_hN-e4LanhXy.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-DMcor_I8-C6G1J4Y2.js → LabeledAddressValueField-Ckm80g0_-fddiRWcN.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-B6w2HGJK-6LsZxWHa.js → LabeledControlledCheckBoxField-Dhta-oad-BOgGTnpX.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-DHNAX5Pu-BPIIBKMF.js → LabeledCreatableSingleSelectField-CWhimq6W-CiffZWxa.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-Bx1u7vv_-DaqPO373.js → LabeledDocumentField-z2O1tykl-BOR0XPyM.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-BBS4da2b-Pp7kOChU.js → LabeledDropDownFormattedTextField-BZu90SFF-CT4k7JQd.js} +1 -1
  93. package/dist/assets/{LabeledText-zjKn4Cw--WpJNibWz.js → LabeledText-DlIRkA7r-DGwEr03s.js} +1 -1
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CIofqRT6-l_A9LTk7.js → LabeledUserSingleSelectWithSubtitlesField-CXwZdQ0K-DDygkuei.js} +3 -3
  95. package/dist/assets/{LabeledZeniRolesDropDownField-DiBtAWQ3-_N52HAlB.js → LabeledZeniRolesDropDownField-CWui0vqF-DJaOZiml.js} +1 -1
  96. package/dist/assets/{LinkJETransactionPage-D66bzDh_-B4JreFf6.js → LinkJETransactionPage-DJfFhIWc-DH9uk_Nk.js} +1 -1
  97. package/dist/assets/{LockCardPage-B1g2TZWL-hWz0sEAN.js → LockCardPage-Cv9rUAY7-DKakaJGE.js} +6 -6
  98. package/dist/assets/{LowBalancePopup-DbtHeVY--8cU4w1E0.js → LowBalancePopup-DnRpH2rk-CPocaNr6.js} +1 -1
  99. package/dist/assets/MagicLinkACHDetailsPage-CdmfROQK-B3EIdmd3.js +1 -0
  100. package/dist/assets/MagicLinkDomesticWireDetailsPage-BqqCZBUT-3K5d9lKn.js +1 -0
  101. package/dist/assets/MagicLinkInternationalWireDetailsPage-QDfBddvz-DxlDIcb0.js +1 -0
  102. package/dist/assets/{MagicLinkSuccessPage-BkxuITX--B7psstiC.js → MagicLinkSuccessPage-ABpq3GEM-347FQa8F.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-CqkZ9wOf-BR_t9OGm.js → MagicLinkTitleSection-ygghGjqi-CPCSmIlY.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-DRFGCM2W-D_ajBet8.js → MailingDetailsSection-DtuTgXeV-BAt57tta.js} +1 -1
  105. package/dist/assets/{MyBankConnectionsSettingsPage-CE2ZqHBJ-DRRK16jW.js → MyBankConnectionsSettingsPage-BRy7gQIK-D0ljHEmg.js} +1 -1
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-BffxXDZg-DDMywOmd.js → MyPendingActivationChargeCardListPage-eCLt21RY-DdeT-VxA.js} +1 -1
  107. package/dist/assets/{MyProfileSettingsPage-DrsAlesY-CW5UQDbf.js → MyProfileSettingsPage-C-GlfSxD-BPv3bj5w.js} +5 -5
  108. package/dist/assets/{NavBarWithPicker-C4VfP_Kw-BlN6D07W.js → NavBarWithPicker-MP4pdS6O-ETw04dfI.js} +1 -1
  109. package/dist/assets/{NavigationArrow-DCCxx6H7-HhnIS8HH.js → NavigationArrow-CxS8-9O0-BQImrbmZ.js} +1 -1
  110. package/dist/assets/{NavigationDots-tWCw6Bpk-Mo0z1mhF.js → NavigationDots--7KEcIuu-eftMXpdw.js} +1 -1
  111. package/dist/assets/{NewGlobalMerchantPage-UIA8zAjd-D_Ilslhf.js → NewGlobalMerchantPage-wYBwn2dL-D2xZN2Wq.js} +1 -1
  112. package/dist/assets/{NoDataChart-Bvetk9za-Dz6Kgiua.js → NoDataChart-Bd0aKX8D-BMtoTVvu.js} +1 -1
  113. package/dist/assets/{NoDataTable-9xF1_3XS-gmK0ApJv.js → NoDataTable-Bjbt7lt9-QawSofKO.js} +1 -1
  114. package/dist/assets/{NotFoundPage-CdH-3upl-BWvfv-me.js → NotFoundPage-CxAhFmy2-D61A-JG3.js} +7 -7
  115. package/dist/assets/{NotificationSettingsPage-DP2gGIz1-CAx-Ob95.js → NotificationSettingsPage-BwTc94Y4-DxMem3GE.js} +1 -1
  116. package/dist/assets/{NotificationsListConfig-DG-DH2Aj-B1EWk1B7.js → NotificationsListConfig-f-Y-UtEy-BzHeGbqt.js} +1 -1
  117. package/dist/assets/{NotificationsPage-CgFMmR2X-DW2MYafR.js → NotificationsPage-Cds6qhVt-Dyww7PRK.js} +1 -1
  118. package/dist/assets/{OpExByVendorPage-eUvIAWzt-J9dFs64l.js → OpExByVendorPage-CF6Q-SV2-DWalefYD.js} +1 -1
  119. package/dist/assets/{OverlayContainerPage-D4QU0p4o-CRh-4TRn.js → OverlayContainerPage-D4QU0p4o-DiYJgmmr.js} +1 -1
  120. package/dist/assets/{PandLWithForecastPage-8S06Nyi5-Bs1OiKUY.js → PandLWithForecastPage-DwWcx5eK-szNL9FCt.js} +2 -2
  121. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DQtrANhI-CgW6kWBO.js → PaymentAccountSetupBillingAddressSection-DIP_uznB-B7DNBV4H.js} +1 -1
  122. package/dist/assets/{PeoplePage-D1BLHtO0-Cm2cmSqy.js → PeoplePage-BgP7kTw9-CG9DTLLQ.js} +1 -1
  123. package/dist/assets/{Preview-CyX-vurX.js → Preview-CyY8fFSj.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-BKSXWnFR-BT4vvSaJ.js → ProductsCarousel-CJlGSrBH-C82GY9tH.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-BYT9nEJT-1c2PW57m.js → PromoBaseCards-fx9bhHkF-5GD0MDQm.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-C2-omQMZ-CW3-Jgl1.js → QBOConnectionDialog-CGAr0mXC-CrSLQG4V.js} +1 -1
  127. package/dist/assets/{QBOSetupSection-lgv5wVlg-Db43UmDc.js → QBOSetupSection-D-fnn99E-yQD39UVj.js} +7 -7
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CbJViS3x-DEQyVs-F.js → ReimbursementApprovalRuleDetailPage-DvhdOKpF-CHqGgBzD.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRulesPage-BuNt-Bmb-qkoyA-iD.js → ReimbursementApprovalRulesPage-BB4c1_YZ-B3-dzOHa.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-CK3-Jqkd-ComGCWG4.js → ReimbursementDetailPage-DpWhzOF9-Dixn1uCw.js} +1 -1
  131. package/dist/assets/{ReimbursementPromoPage-fptOAJna-UPQyz9k9.js → ReimbursementPromoPage-CYS1ZeFL-DbUZbWTa.js} +8 -8
  132. package/dist/assets/{ReimbursementSetUpPage-CidrpT2g-C4LYSo0t.js → ReimbursementSetUpPage-CoOFmpfw-CzqYPddc.js} +1 -1
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cy_Hediw-DbKZBLTq.js → ReimbursementsBulkReviewDrawerPage-DAYEgH4V-CKgr6iyS.js} +1 -1
  134. package/dist/assets/{ReloadCard-C81rGzOp-DY4k84ea.js → ReloadCard-clq1KPzy-DLLVDS4G.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-neRSjrhV-C6WBlOcq.js → ReportTableViewSelector-CU3PZ-xy-CDmAbwqP.js} +1 -1
  136. package/dist/assets/{ReportsPage-BhzQVaer-B4A4M4e5.js → ReportsPage-C5QPXAa--D9Rm-qp8.js} +5 -5
  137. package/dist/assets/{RevenueChart-x7uTbFlm-CNwMod8g.js → RevenueChart-BM8cNGoZ-OoJdgTQW.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-jXZCylzg-BIFUDhZH.js → ReviewDetailsPage-Dp29TV8A-pDKCfw94.js} +2 -2
  139. package/dist/assets/{ReviewOverlay-nlm2HnGw-9bQU05T1.js → ReviewOverlay-OXnAkRJ_-Di_D_VlI.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-C29QOzxS-BIz3hnmq.js → RoleWithToolTip-BCeMfqCC-DiZyrWD_.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CkPzofLN-BgCHEx2z.js → ScheduleDetailsFixedAssetsPage-BUWOvDMW-DaI6ZQoZ.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsPage-BSZefKOh-6HOYgX85.js → ScheduleDetailsPage-F2KQ46TD-VVV77yxd.js} +1 -1
  143. package/dist/assets/{ScheduleSequenceTable-BW5M7Zfq-Cc7Psi6L.js → ScheduleSequenceTable-c-8N2OvE-DWSKrTJR.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-DOxgrmyz.js → ScreenRoutes-BYoqwzEO.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-C703iFL6-DWHc95vH.js → SetUpAccountSection-CPw8BhAT-Bu28TndH.js} +1 -1
  146. package/dist/assets/{SignIn-D9K5FklU-C-Fq_guN.js → SignIn-DT4-gKMD-DgVi8USa.js} +6 -6
  147. package/dist/assets/{SignInScreen-pGoo9woj.js → SignInScreen-CdADJVAt.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-CBNtC74m-DqpxdGQ6.js → SpendManagementListViewPage-YoHK4LrJ-DYhZa44h.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-D_sa7WRd-CzMD5xEZ.js → SpendManagementPerTabPage-CEJxlQwu-D8XVtvOY.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-DpZUTV6m-Dyv3RP83.js → SpendManagementSection-Dbk_Ojop-DcKtjVjR.js} +1 -1
  151. package/dist/assets/{StatementItem-DvdSsb8I-4NJSevH0.js → StatementItem-DO9WpE-R-Do-IIiY-.js} +5 -5
  152. package/dist/assets/StatementsPage-Cf8pwDhO-RC289M0h.js +58 -0
  153. package/dist/assets/{StatusSwitcher-hKYgwNLC-CE1foddz.js → StatusSwitcher-B523Fhna-CVWspTKV.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-aeDd9xiF-D4uOjs0t.js → SubTabSwitcher-Dgwgj3Si-U0zspkd_.js} +1 -1
  155. package/dist/assets/SummaryCard-CGteKBHk-27q94esm.js +1 -0
  156. package/dist/assets/{TaskManagementPage-D2Ooq8DR-DrMY4gdr.js → TaskManagementPage-CIQeYwEY-C7-23Lr5.js} +1 -1
  157. package/dist/assets/{TimeRangeSwitcher-DEqlZxa6-BNFFHAst.js → TimeRangeSwitcher-8lNpLdVr-Dj19rYPc.js} +11 -11
  158. package/dist/assets/{TimeframeSwitcher-BppC6giF-D-wC9bQx.js → TimeframeSwitcher-B-l9fJ1Q-ByHm5vUq.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-CbX9ElMN-Txpnr2g5.js → TimeframeSwitcherWithToggle-3yKIUhvE-DaSH_yQW.js} +2 -2
  160. package/dist/assets/{TopExCard-Cy6tPVSx-B-keVDu8.js → TopExCard-C-CBza7t-C8HWdf71.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-Rtrcdkcp-BJDfbujg.js → TopExDetailPage-Dx_w2Wmt-By36tBTS.js} +8 -8
  162. package/dist/assets/{TransactionActivityLogPage-DbwSsjPJ-BIwIVqy-.js → TransactionActivityLogPage-CA6FGjPI-DoUnK6pL.js} +1 -1
  163. package/dist/assets/{TransactionDetailPage-D-vXAAB7-Bzb02Sjl.js → TransactionDetailPage-CpNGUBqP-gfLrfFlK.js} +1 -1
  164. package/dist/assets/{TransactionList-BruCNjQg-CPy3bOrg.js → TransactionList-CvRmT2Lq-C1JZRVpn.js} +1 -1
  165. package/dist/assets/{TransactionListBig-bp7q3prH-B3o9La4k.js → TransactionListBig-v8qd1Ec7-hwFVnuVq.js} +1 -1
  166. package/dist/assets/{TransactionListPage-ZfJsaVb8--vXsSJCl.js → TransactionListPage-C23zWqxy-DgePPgum.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-CldkuO2--QReUEWYz.js → TransactionVendorDetailPage-vpDqNBSu-BIkJjCOi.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-DswS6KZf-BpK3RBCC.js → TransferDrawerPage-5FY_zDCE-DJ5J1SOB.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-DWo7iRpO-gYNjYUSH.js → TreasuryOverviewPage-DDjaj1jW-B4JtoLhv.js} +1 -1
  170. package/dist/assets/{TreasuryPromoPage-DQxCF3-4-BI9m1Cpo.js → TreasuryPromoPage-D3y0Te0d-DmBRPB0W.js} +1 -1
  171. package/dist/assets/TreasuryStatementsPage-BF_EZUjg-suQxt6u_.js +58 -0
  172. package/dist/assets/{TreasuryTaxLetterPage-DH3su_rX-Dyk_wpPB.js → TreasuryTaxLetterPage-C1nYfVbO-eUqGz6CJ.js} +2 -2
  173. package/dist/assets/{TrendChart-BMHDaOeh-DUFeSEwp.js → TrendChart-DwYxYNR7-JcI7qpjF.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-DDLrmIrt-D7YkaYJE.js → TrendWithTransactions-BJnpKKqL-DKCgJJvT.js} +1 -1
  175. package/dist/assets/{UncategorizedAccountsMappingPage-3SW8Gj0Z-DxcmP_9M.js → UncategorizedAccountsMappingPage-CxlG2JUW-Cij2klA0.js} +5 -5
  176. package/dist/assets/{UnitIntegrationPage-DPMy8dXP-Ds2V7iqZ.js → UnitIntegrationPage-DaIJxSo2-GGpI7ByY.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-BHpT2al--Bh-cR8rL.js → UploadAdditionalDocumentOverlay-Bw9ymrDY-BTVIu0dz.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-C6gEOhUv-DnLG0jax.js → Vendor2FAPopup-DxlOTzWL-DAG_NkfZ.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-CQ6OiO4V-vWpnVdE1.js +1 -0
  180. package/dist/assets/{VendorDetailPage-BC1FhaQA-BTYI8FHa.js → VendorDetailPage-BGrtc6EE-DmQ5F0In.js} +1 -1
  181. package/dist/assets/VendorDomesticWireDetailsPage-D5yME16K-CGPyvaCT.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-DYyPOA8D-SaXokDu7.js → VendorFiling1099EditablePage-A5wcCVBF-DUjQTYJL.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-Cpmk7rDk-CLDuk2Z1.js → VendorFirstReviewPage-Dr6MMvIq-LfXi6VDf.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CWAWq6kq-BqWv0FEj.js → VendorInternationalWireDetailsPage-BJUaxg9g-C6pvbY6G.js} +1 -1
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-v2icyO6w-6aTsJwry.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-CGQ35Mhp-CZRiYNTG.js → VendorsAccountsSection-B9OpiDDc-Ck5imuYH.js} +1 -1
  187. package/dist/assets/{VerifyDevice-CfMJW1Vh-CQyEdsek.js → VerifyDevice-CViWQbOn-CG6KWpvG.js} +7 -7
  188. package/dist/assets/{VideoPlayer-BNBpjXJk-S1NV6cBn.js → VideoPlayer-D5QP-myQ-CVNLOpWk.js} +2 -2
  189. package/dist/assets/{VideoPopup-BF6lmB7l-C8AjwQYx.js → VideoPopup-_4nnxGFK-rc_W8uy0.js} +2 -2
  190. package/dist/assets/{WarningsDrawerPage-Crj70lnR-CqPc_yNz.js → WarningsDrawerPage-D8X9a6pX-DcE35uzS.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-CaA6m3tQ-BxjiYTPx.js → ZeniAccountDetailPage-B2gRhBJz-BpnCGmCc.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-x_51gDs1-BURzAUSX.js → ZeniAccountListViewPage-Dc4IWyQw-6oEyCUyL.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-Csr24dri-Dtq04dNH.js → ZeniAccountNavBarPieces-CYTd-7fg-D7gLlXGG.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-lxKBk2r5-B3car8p6.js → ZeniAccountPromoPage-B5rTE2aZ-DtGW6mZ_.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-DUI4-2Zw-CqTcY3yC.js → ZeniAccountSetupPage-BlS6FEcT-D8fD5QNH.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-DxEZ4DiK-Bx5L4V4v.js → ZeniCopyright-DbOXr6hr-D49zDt7K.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-4Nq4Sm9J-CWNMmcE5.js → ZeniTransferAmountSlider-DMdKnrKk-BOekYkfn.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-Ckn7-tS3.js → add-to-wallet-DgdBD8_G-Z21-4-a3.js} +1 -1
  199. package/dist/assets/{analytics-DgE91yP9.js → analytics-Dd9GkS_R.js} +1 -1
  200. package/dist/assets/{analyticsHelper-CL-t3Y2i-DqLgDKAm.js → analyticsHelper-BLLOc8oW-Bb5BI_Zu.js} +1 -1
  201. package/dist/assets/{analyticsHelper-qCgSbR3t.js → analyticsHelper-Cn36jH2S.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-6_ok8u4n.js → arrow-south-east-round-PEovUgvH-K7zlCGlW.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-DaMjzKK3.js → auto-transfer-rule-mbafm5D3-rBHUDSkc.js} +1 -1
  204. package/dist/assets/{chartTypes-B3501CSI-Eia1dEGg.js → chartTypes-zuOlWPZo-CqRIct--.js} +1 -1
  205. package/dist/assets/{commonDimensions-YcBBlmYP-HRUAmifl.js → commonDimensions-aMGDpjmW-UhXAGxHS.js} +1 -1
  206. package/dist/assets/{constants-DU2Tv8MD.js → constants-BydUCFaZ.js} +1 -1
  207. package/dist/assets/{core-CEu4PzGb.js → core-DjXOmtSJ.js} +1 -1
  208. package/dist/assets/{dash.all.min-wN4tXsVF.js → dash.all.min-CWcs0-Ft.js} +1 -1
  209. package/dist/assets/{detailCommon-C19MYPnq-B5eEk_1Z.js → detailCommon-CdZh0YNF-Bty6HpPL.js} +2 -2
  210. package/dist/assets/{downloadPdf-DPAqxw6u-DccTm81d.js → downloadPdf-BnXVGESU-CGO5_V0v.js} +1 -1
  211. package/dist/assets/{empty-CarmpCiV.js → empty-Be_kj3Mu.js} +1 -1
  212. package/dist/assets/{empty-SBaJLmT7.js → empty-BpWqyf7V.js} +1 -1
  213. package/dist/assets/{epic-jB8ji6P2.js → epic-B6XzQXM_.js} +1 -1
  214. package/dist/assets/{gift-box-Cmt9OgIZ-Cfao5pzw.js → gift-box-Cmt9OgIZ-DJPtxuMD.js} +1 -1
  215. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CtMgv3E2.js → graphic-no-data-l-DU4J8fDt-znOHf3Hs.js} +1 -1
  216. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CxhhGXfI.js → graphic-no-data-net-burn-l-CzmycA0m-53oymvWB.js} +1 -1
  217. package/dist/assets/{handshake-BPg58FML-Cr0KvGET.js → handshake-BPg58FML-ttNYOOdS.js} +1 -1
  218. package/dist/assets/{index-qEET5oej.js → index-B0Fm_ZMY.js} +1 -1
  219. package/dist/assets/{index-CM4tXRl_.js → index-BsyBnYxZ.js} +1 -1
  220. package/dist/assets/{index-DotN2qpo.js → index-COyPtNQ2.js} +1 -1
  221. package/dist/assets/{index-C65pc_ms.js → index-DhICZ-la.js} +1 -1
  222. package/dist/assets/{index-GSKpJ8ET.js → index-Dm-b67Hf.js} +6 -6
  223. package/dist/assets/{index-DdSqYqAO.js → index-SgTym3_u.js} +1 -1
  224. package/dist/assets/{index-CTIRcS5n.js → index-w81TKwF8.js} +1 -1
  225. package/dist/assets/{lexical-CnqcqOEB.js → lexical-C3TbZeLl.js} +1 -1
  226. package/dist/assets/{liveblocks-D1OOExFG.js → liveblocks-EGukjQZF.js} +1 -1
  227. package/dist/assets/{lottie-fNTw06NH.js → lottie-DiLnfF8e.js} +1 -1
  228. package/dist/assets/mapLoadingInProgressToTreeNode-B0oj9Ot5-CWtpcdPC.js +1 -0
  229. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BDWD3x8r-CFpEHrc_.js → mapSectionWithAcOnlyToTreeNode-rtn-dPyU-DWwT8Nhv.js} +1 -1
  230. package/dist/assets/mapSpacerToTreeNode-8mFwNdh5-CeSJa54a.js +1 -0
  231. package/dist/assets/mapTimeframeBalancesToTreeNode-BkHI2m3e-DSk1PCnB.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-bQ2VDSub-CJiyKqIU.js +1 -0
  233. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CcMctgAq-lqSBZOT1.js +1 -0
  234. package/dist/assets/{mui-DenpH-hx.js → mui-BLkKBV85.js} +1 -1
  235. package/dist/assets/{page-detail-CWX5S47F-CMu9po0A.js → page-detail-CWX5S47F-D6GzdE4M.js} +1 -1
  236. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-Z09J1JBQ.js → panelSelectedMixin-CzfD5-Zs-CBMeGjo8.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh--A7TRB5H.js → radio-default-CiSgisfh-B552CYET.js} +1 -1
  238. package/dist/assets/{react-BbEkWrBm.js → react-4oUCwWHz.js} +1 -1
  239. package/dist/assets/{react-BNXAqjdV.js → react-BCL5SMXn.js} +1 -1
  240. package/dist/assets/{react-CX4zcxjw.js → react-BDnWTul0.js} +1 -1
  241. package/dist/assets/{react-BGO_hhif.js → react-CXrmdcVg.js} +1 -1
  242. package/dist/assets/{react-BbsHWhNi.js → react-ChBDOzx3.js} +2 -2
  243. package/dist/assets/{react-D97zLppZ.js → react-CkV5VFp3.js} +1 -1
  244. package/dist/assets/{react-DvuAhc__.js → react-DiNjY5yl.js} +1 -1
  245. package/dist/assets/{react-B5LP5NK7.js → react-FSAp6Eni.js} +1 -1
  246. package/dist/assets/{recharts-9NtTDQfo.js → recharts-B8tzuQ8V.js} +1 -1
  247. package/dist/assets/{sentry-BZBky1_g.js → sentry-C2Rgx3zV.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-DnxNebOP.js → shield-DOlUxcFf-BI7xxvqa.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-DUpgxtrc-n-6zkqkw.js +1 -0
  250. package/dist/assets/{toChartData-DzatRnt8-Cq2-M4CL.js → toChartData-BNPIbcXQ-DT2tu_Ad.js} +1 -1
  251. package/dist/assets/{uploadAttachment-Bq8dk-Sm-DirS4o1A.js → uploadAttachment-4MEQNz0J-C1Mi8_qq.js} +1 -1
  252. package/dist/assets/{uploadReceipts-Dge0cNF1-BKdcUL2b.js → uploadReceipts-Dge0cNF1-C7ahzxC1.js} +1 -1
  253. package/dist/assets/{url-0W_uXmZ-.js → url-DdNhcJXF.js} +1 -1
  254. package/dist/assets/{url-Z1gMB4SW.js → url-i42p6QIP.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-B8bxkfF-.js → useLongPress-GCK2COYQ-Cz3dEUgW.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-BPsPtX_C.js → usp-line-BBd1wKwW-DBnWZzCO.js} +1 -1
  257. package/dist/assets/{utils-CHibiken.js → utils-CQTOz44B.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-BKgIzPpM.js → zeni-epic-state-TdgpFmku.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +2 -2
  261. package/dist/assets/AccountInfoPage-DkpBGfrR-BAuNBIod.js +0 -18
  262. package/dist/assets/ChargeCardPromoPage-CKEnOseD-C5Oe_CBA.js +0 -222
  263. package/dist/assets/CustomerOnboardingContainerPage-BHPDhC3d-CAVfCCXg.js +0 -1
  264. package/dist/assets/EntityDetailPage-DSfZZ1JW-NbMT0IAK.js +0 -18
  265. package/dist/assets/ExpenseAutomationPage-DlhH-R-e-DCW88pdW.js +0 -1700
  266. package/dist/assets/MagicLinkACHDetailsPage-X1pXkZYT-7knh_ltw.js +0 -1
  267. package/dist/assets/MagicLinkDomesticWireDetailsPage-BDl8k_bB-ESO2QI-z.js +0 -1
  268. package/dist/assets/MagicLinkInternationalWireDetailsPage-Q4lIsHtG-J3sKHPD3.js +0 -1
  269. package/dist/assets/StatementsPage-73jGj5P2-DfWSq1-t.js +0 -58
  270. package/dist/assets/SummaryCard-CK8Gxbiu-DemkEVCq.js +0 -1
  271. package/dist/assets/TreasuryStatementsPage-CYkPtmaT-BgyV-fq7.js +0 -58
  272. package/dist/assets/VendorACHDetailsPage-LNCcubjL-BnzYtLeS.js +0 -1
  273. package/dist/assets/VendorDomesticWireDetailsPage-CLudahOt-DWedRRGC.js +0 -1
  274. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CUtums8t-Cnhhvl1i.js +0 -1
  275. package/dist/assets/mapLoadingInProgressToTreeNode-D2u9MDI--Bj-YdG55.js +0 -1
  276. package/dist/assets/mapSpacerToTreeNode-Blr3egSm-C65_6eW3.js +0 -1
  277. package/dist/assets/mapTimeframeBalancesToTreeNode-3Hd8QHr2-D-fvMaDb.js +0 -1
  278. package/dist/assets/mapTimeframeBalancesToTreeNode-D-LTfKnD-D-V0iqTB.js +0 -1
  279. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CffU-RPP-Cn_Z85da.js +0 -1
  280. package/dist/assets/toCOABalancesWithID-D35Fk0m2-dL9iDsOU.js +0 -1
@@ -1,4 +1,4 @@
1
- import{J as x,cT as y,c$ as w,V as d,cZ as v,y as a,eZ as $,aQ as T,F as D,p as g,u as i,N as z}from"./index-GSKpJ8ET.js";import{n as s}from"./mui-DenpH-hx.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]="352f1082-8a87-4b43-8748-22b509bb3e82",e._sentryDebugIdIdentifier="sentry-dbid-352f1082-8a87-4b43-8748-22b509bb3e82")}catch{}})();const t={width:new a(343,580,726),height:new a(i[6],i[6]),controlMinHeight:new a(i[4],i[4]),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])},B={infoLabel:new z("extraSmallRegular","smallRegular")},L=D.getLocalizedStrings();function H({isDisabled:e,label:o,addressValueField:r,additionalInfoLabel:b,showAdditionalInfoLabel:h=!1,style:p,hasHoverBorder:f,isOptional:u}){const l=x(),{formState:{errors:m}}=y(),n=w(m,r.name),c=n?b:L.commonSetUp.businessVerification.addressAdditionInfo;return d.jsxs(M,{size:l,style:p,isDisabled:e!=null,isError:n,hasHoverBorder:f??!0,"data-testid":T("labeled-address-value-field",r.name),children:[d.jsx(v,{isDisabled:e,isOptional:u,label:o.label,htmlFor:r.name,style:{marginLeft:t.labelMarginLeft.value(l),marginRight:t.labelMarginRight.value(l),marginTop:t.labelMarginTop.value(l),width:o.width??"auto"}}),d.jsxs(I,{labelWidth:o.width,children:[d.jsx($,{...r,isDisabled:e,style:{minHeight:t.controlMinHeight.value(l),paddingTop:t.paddingTopBottom.valuePx(l),paddingBottom:t.paddingTopBottom.valuePx(l),width:"-webkit-fill-available",display:"flex",flexGrow:1,...r.style}}),(h||n)&&d.jsx(R,{size:l,isError:n,children:c})]})]})}const M=s.div`
1
+ import{J as x,cT as y,c$ as w,V as d,cZ as v,y as a,eZ as $,aQ as T,F as D,p as g,u as i,N as z}from"./index-Dm-b67Hf.js";import{n as s}from"./mui-BLkKBV85.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]="352f1082-8a87-4b43-8748-22b509bb3e82",e._sentryDebugIdIdentifier="sentry-dbid-352f1082-8a87-4b43-8748-22b509bb3e82")}catch{}})();const t={width:new a(343,580,726),height:new a(i[6],i[6]),controlMinHeight:new a(i[4],i[4]),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])},B={infoLabel:new z("extraSmallRegular","smallRegular")},L=D.getLocalizedStrings();function H({isDisabled:e,label:o,addressValueField:r,additionalInfoLabel:b,showAdditionalInfoLabel:h=!1,style:p,hasHoverBorder:f,isOptional:u}){const l=x(),{formState:{errors:m}}=y(),n=w(m,r.name),c=n?b:L.commonSetUp.businessVerification.addressAdditionInfo;return d.jsxs(M,{size:l,style:p,isDisabled:e!=null,isError:n,hasHoverBorder:f??!0,"data-testid":T("labeled-address-value-field",r.name),children:[d.jsx(v,{isDisabled:e,isOptional:u,label:o.label,htmlFor:r.name,style:{marginLeft:t.labelMarginLeft.value(l),marginRight:t.labelMarginRight.value(l),marginTop:t.labelMarginTop.value(l),width:o.width??"auto"}}),d.jsxs(I,{labelWidth:o.width,children:[d.jsx($,{...r,isDisabled:e,style:{minHeight:t.controlMinHeight.value(l),paddingTop:t.paddingTopBottom.valuePx(l),paddingBottom:t.paddingTopBottom.valuePx(l),width:"-webkit-fill-available",display:"flex",flexGrow:1,...r.style}}),(h||n)&&d.jsx(R,{size:l,isError:n,children:c})]})]})}const M=s.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{J as a,V as i,eM as o,cZ as n,o as s,aQ as r,y as c}from"./index-GSKpJ8ET.js";import{c as b,n as y}from"./mui-DenpH-hx.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]="212e1873-f4b3-486d-8a3a-e3c963c7dc97",e._sentryDebugIdIdentifier="sentry-dbid-212e1873-f4b3-486d-8a3a-e3c963c7dc97")}catch{}})();const f={width:new c(343,580,726)};function u({label:e,checkBoxField:l,style:t}){const d=a();return i.jsxs(h,{size:d,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=y.div`
1
+ import{J as a,V as i,eM as o,cZ as n,o as s,aQ as r,y as c}from"./index-Dm-b67Hf.js";import{c as b,n as y}from"./mui-BLkKBV85.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]="212e1873-f4b3-486d-8a3a-e3c963c7dc97",e._sentryDebugIdIdentifier="sentry-dbid-212e1873-f4b3-486d-8a3a-e3c963c7dc97")}catch{}})();const f={width:new c(343,580,726)};function u({label:e,checkBoxField:l,style:t}){const d=a();return i.jsxs(h,{size:d,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=y.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{J as W,cT as F,c$ as z,V as t,cZ as B,y as x,aQ as I,p,u as s,d0 as G,o as i,N as J,e as Q,F as U,eU as X,B as Z,dn as q,cu as A,bJ as S,d1 as K,dO as Y,b as k,bH as ee,c as le}from"./index-GSKpJ8ET.js";import{n as a}from"./mui-DenpH-hx.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]="fa80039f-e4bc-446c-91dd-c7e06423af5e",e._sentryDebugIdIdentifier="sentry-dbid-fa80039f-e4bc-446c-91dd-c7e06423af5e")}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=Q(),$=Se(e,m),C=U.getLocalizedStrings().dropDowns,O=$.sort((l,u)=>l.label.localeCompare(u.label)),v=r!=null&&r?R(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:u})=>({...l,":after":{width:u.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(fe,{children:[t.jsx(me,{children:t.jsx(K,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(xe,{children:`${C.createOption} "${l}"`})]}),T=l=>{const{menuIsOpen:u,isFocused:D,isDisabled:L,selectProps:_}=l,{value:H}=_;return t.jsx(se,{menuIsOpen:u,isFocused:D,isDisabled:L,selectedValue:H,hasError:j,"data-testid":I("creatable-single-select-control",o),children:t.jsx(S.Control,{...l,className:"select-control",children:l.children})})},M=l=>t.jsx($e,{children:t.jsxs(S.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]})}),N=l=>{const{selectProps:u}=l,{placeholder:D,value:L}=u;return t.jsx(S.Input,{...l,autoComplete:"new-password",placeholder:L==null?D:void 0,"data-testid":I("creatable-single-select-input",o),children:l.children})};return t.jsx(X,{isMulti:!1,onCreateOption:l=>{const u=Z(l);n(u)},onChange:l=>{w!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>b===!0?E(l):`${C.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:T,Option:ae,Input:N,SingleValue:M,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:Ie,ClearIndicator:je,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},q())},ie=e=>t.jsx(S.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(A,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:w,children:({index:b,style:m})=>t.jsx(ue,{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(S.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(pe,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(be,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
1
+ import{J as W,cT as F,c$ as z,V as t,cZ as B,y as x,aQ as I,p,u as s,d0 as G,o as i,N as J,e as Q,F as U,eU as X,B as Z,dn as q,cu as A,bJ as S,d1 as K,dO as Y,b as k,bH as ee,c as le}from"./index-Dm-b67Hf.js";import{n as a}from"./mui-BLkKBV85.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]="fa80039f-e4bc-446c-91dd-c7e06423af5e",e._sentryDebugIdIdentifier="sentry-dbid-fa80039f-e4bc-446c-91dd-c7e06423af5e")}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=Q(),$=Se(e,m),C=U.getLocalizedStrings().dropDowns,O=$.sort((l,u)=>l.label.localeCompare(u.label)),v=r!=null&&r?R(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:u})=>({...l,":after":{width:u.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(fe,{children:[t.jsx(me,{children:t.jsx(K,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(xe,{children:`${C.createOption} "${l}"`})]}),T=l=>{const{menuIsOpen:u,isFocused:D,isDisabled:L,selectProps:_}=l,{value:H}=_;return t.jsx(se,{menuIsOpen:u,isFocused:D,isDisabled:L,selectedValue:H,hasError:j,"data-testid":I("creatable-single-select-control",o),children:t.jsx(S.Control,{...l,className:"select-control",children:l.children})})},M=l=>t.jsx($e,{children:t.jsxs(S.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]})}),N=l=>{const{selectProps:u}=l,{placeholder:D,value:L}=u;return t.jsx(S.Input,{...l,autoComplete:"new-password",placeholder:L==null?D:void 0,"data-testid":I("creatable-single-select-input",o),children:l.children})};return t.jsx(X,{isMulti:!1,onCreateOption:l=>{const u=Z(l);n(u)},onChange:l=>{w!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>b===!0?E(l):`${C.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:T,Option:ae,Input:N,SingleValue:M,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:Ie,ClearIndicator:je,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},q())},ie=e=>t.jsx(S.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(A,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:w,children:({index:b,style:m})=>t.jsx(ue,{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(S.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(pe,{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 N,cT as W,c$ as g,V as r,cZ as j,y as a,eV as U,F as k,aQ as O,u as i,o,p as V,N as _}from"./index-GSKpJ8ET.js";import{n as d}from"./mui-DenpH-hx.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]="92e73269-4576-4baf-b1c7-508e8e808233",e._sentryDebugIdIdentifier="sentry-dbid-92e73269-4576-4baf-b1c7-508e8e808233")}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])},A={infoLabel:new _("extraSmallRegular","smallRegular")};function Y({label:e,isDisabled:l,isOptional:p,style:u,file:h,name:n,registerOptions:c,additionalInfoLabel:f,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:F,hasError:D=!1,placeholderText:E,showPhotoPicker:S,useMobileCam:T,showUploadSuccessAnimation:v,showWebCamPopUpCloseIcon:I,updateFilesEntity:L,onDeleteFile:B,onEditFileName:M,onFileSizeError:R}){const s=N(),{formState:{errors:m}}=W(),b=g(m,n),C=g(m,`${n}.fileName`);return r.jsxs(J,{size:s,style:u,isDisabled:l!=null,"data-testid":O("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(q,{labelWidth:e.width,size:s,children:[r.jsx(U,{name:n,filesEndPoint:P,authParams:F,registerOptions:c,file:h,sizeLimit:w,acceptableTypes:y,isDisabled:l==="disabled"||l==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:D,updateFilesEntity:L,onFileSizeError:R,onDeleteFile:B,onEditFileName:M,placeholderText:E,showPhotoPicker:S,useMobileCam:T,showWebCamPopUpCloseIcon:I,showUploadSuccessAnimation:v}),b&&r.jsx(G,{size:s,isError:b,children:C&&h!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const J=d.div`
1
+ import{J as N,cT as W,c$ as g,V as r,cZ as j,y as a,eV as U,F as k,aQ as O,u as i,o,p as V,N as _}from"./index-Dm-b67Hf.js";import{n as d}from"./mui-BLkKBV85.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]="92e73269-4576-4baf-b1c7-508e8e808233",e._sentryDebugIdIdentifier="sentry-dbid-92e73269-4576-4baf-b1c7-508e8e808233")}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])},A={infoLabel:new _("extraSmallRegular","smallRegular")};function Y({label:e,isDisabled:l,isOptional:p,style:u,file:h,name:n,registerOptions:c,additionalInfoLabel:f,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:F,hasError:D=!1,placeholderText:E,showPhotoPicker:S,useMobileCam:T,showUploadSuccessAnimation:v,showWebCamPopUpCloseIcon:I,updateFilesEntity:L,onDeleteFile:B,onEditFileName:M,onFileSizeError:R}){const s=N(),{formState:{errors:m}}=W(),b=g(m,n),C=g(m,`${n}.fileName`);return r.jsxs(J,{size:s,style:u,isDisabled:l!=null,"data-testid":O("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(q,{labelWidth:e.width,size:s,children:[r.jsx(U,{name:n,filesEndPoint:P,authParams:F,registerOptions:c,file:h,sizeLimit:w,acceptableTypes:y,isDisabled:l==="disabled"||l==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:D,updateFilesEntity:L,onFileSizeError:R,onDeleteFile:B,onEditFileName:M,placeholderText:E,showPhotoPicker:S,useMobileCam:T,showWebCamPopUpCloseIcon:I,showUploadSuccessAnimation:v}),b&&r.jsx(G,{size:s,isError:b,children:C&&h!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const J=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,e as C,cT as h,c$ as R,V as r,o,d0 as P,bS as _,b as J,gh as M,p as s,N as A,bH as F}from"./index-GSKpJ8ET.js";import{n as i}from"./mui-DenpH-hx.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]="a064712e-3430-41f5-ba6c-893aef13ef52",e._sentryDebugIdIdentifier="sentry-dbid-a064712e-3430-41f5-ba6c-893aef13ef52")}catch{}})();const H={infoLabel:new A("extraSmallRegular","smallRegular")};function q({isDisabled:e,label:a,formattedText:t,dropdownStyle:b,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:w=!0,isSaveError:d=!1,showTickIcon:x,showErrorInfoLabel:$,errorInfoLabel:D,registerOptions:L,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:S,placeholderLabel:j}){const n=V(),g=C(),{formState:{errors:E}}=h(),c=R(E,t.name),{control:I}=h(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(N,{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",...b},children:r.jsx(P,{name:S,control:I,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:g.colors.hero,valueOpacity:1,backgroundColor:g.colors.grey5,placeholder:j})})})}),r.jsxs(O,{children:[r.jsx(M,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(w||c||d)&&r.jsxs(f,{size:n,isError:c||d,children:[x===!0?r.jsx(U,{children:r.jsx(B,{})}):null,y]}),$===!0&&r.jsx(f,{size:n,isError:!0,children:D})]})]})}const N=i.div`
1
+ import{J as V,e as C,cT as h,c$ as R,V as r,o,d0 as P,bS as _,b as J,gh as M,p as s,N as A,bH as F}from"./index-Dm-b67Hf.js";import{n as i}from"./mui-BLkKBV85.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]="a064712e-3430-41f5-ba6c-893aef13ef52",e._sentryDebugIdIdentifier="sentry-dbid-a064712e-3430-41f5-ba6c-893aef13ef52")}catch{}})();const H={infoLabel:new A("extraSmallRegular","smallRegular")};function q({isDisabled:e,label:a,formattedText:t,dropdownStyle:b,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:w=!0,isSaveError:d=!1,showTickIcon:x,showErrorInfoLabel:$,errorInfoLabel:D,registerOptions:L,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:S,placeholderLabel:j}){const n=V(),g=C(),{formState:{errors:E}}=h(),c=R(E,t.name),{control:I}=h(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(N,{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",...b},children:r.jsx(P,{name:S,control:I,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:g.colors.hero,valueOpacity:1,backgroundColor:g.colors.grey5,placeholder:j})})})}),r.jsxs(O,{children:[r.jsx(M,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(w||c||d)&&r.jsxs(f,{size:n,isError:c||d,children:[x===!0?r.jsx(U,{children:r.jsx(B,{})}):null,y]}),$===!0&&r.jsx(f,{size:n,isError:!0,children:D})]})]})}const N=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,cZ as u,y as l,aQ as g,u as t,o as a,al as f,N as y}from"./index-GSKpJ8ET.js";import{n as r}from"./mui-DenpH-hx.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]="84044989-2e9b-4b5d-a5a4-71abd2873453",e._sentryDebugIdIdentifier="sentry-dbid-84044989-2e9b-4b5d-a5a4-71abd2873453")}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])},c={infoLabel:new y("extraSmallRegular","smallRegular")};function T({label:e,value:o,additionalInfoLabel:s,style:b,infoLabelStyle:h}){const n=p();return d.jsxs(m,{size:n,style:b,"data-testid":g("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":g("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 p,V as d,cZ as u,y as l,aQ as g,u as t,o as a,al as f,N as y}from"./index-Dm-b67Hf.js";import{n as r}from"./mui-BLkKBV85.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]="84044989-2e9b-4b5d-a5a4-71abd2873453",e._sentryDebugIdIdentifier="sentry-dbid-84044989-2e9b-4b5d-a5a4-71abd2873453")}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])},c={infoLabel:new y("extraSmallRegular","smallRegular")};function T({label:e,value:o,additionalInfoLabel:s,style:b,infoLabelStyle:h}){const n=p();return d.jsxs(m,{size:n,style:b,"data-testid":g("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":g("labeled-text-input",e.label),children:o}),s!=null?d.jsx($,{size:n,style:h,children:s}):null]})]})}const m=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{J as U,V as l,cZ as me,o as s,y as I,aQ as q,u as m,cT as B,d0 as ge,c$ as fe,e as be,g0 as xe,F,N as we,bJ as H,g1 as K,ap as W,g2 as J,bH as Y,p as R,b as G,al as X,g3 as $e,am as ye,ai as ve}from"./index-GSKpJ8ET.js";import{n as r}from"./mui-DenpH-hx.js";import{T as je}from"./RoleWithToolTip-C29QOzxS-BIz3hnmq.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]="b860f765-c84f-4ff9-9846-84dae2670e2d",e._sentryDebugIdIdentifier="sentry-dbid-b860f765-c84f-4ff9-9846-84dae2670e2d")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
1
+ import{J as U,V as l,cZ as me,o as s,y as I,aQ as q,u as m,cT as B,d0 as ge,c$ as be,e as fe,g0 as xe,F,N as we,bJ as H,g1 as K,ap as W,g2 as J,bH as Y,p as R,b as G,al as X,g3 as $e,am as ye,ai as ve}from"./index-Dm-b67Hf.js";import{n as r}from"./mui-BLkKBV85.js";import{T as je}from"./RoleWithToolTip-BCeMfqCC-DiZyrWD_.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]="bb5f519f-b2d4-4051-b930-b548fd7a04ce",e._sentryDebugIdIdentifier="sentry-dbid-bb5f519f-b2d4-4051-b930-b548fd7a04ce")}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;
@@ -180,7 +180,7 @@ import{J as U,V as l,cZ as me,o as s,y as I,aQ as q,u as m,cT as B,d0 as ge,c$ a
180
180
  border-radius: ${s.sp1};
181
181
  margin-top: ${({windowSize:e})=>ee.marginTop.valuePx(e)};
182
182
  width: fit-content;
183
- `;function _e({allUsers:e,selectedValue:a,showOneOffLabel:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:f,optionStyles:A,isValuePlacedAtEnd:D=!0,isDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:P=!1}){const{formState:{errors:k}}=B(),L=fe(k,j??""),c=U(),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(Fe,{menuIsOpen:i,isError:L,children:l.jsx(Ce,{children:n})})},re=({labelDetails:t})=>l.jsxs(Ne,{hasSelectedUser:a===t.value,children:[l.jsxs(Re,{children:[l.jsx(Me,{}),l.jsx(Q,{children:l.jsx(N,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(Y,{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(M,{children:[S||C?l.jsx(K,{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(Ae,{src:p?.user?.photo.href,alt:F.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=W},loading:"lazy"}):l.jsx(J,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(N,{children:i})]}),S?l.jsx(_,{subtitleList:b,menuIsOpen:u.menuIsOpen,member:p}):null]})},_=({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(T=>T.userId===i.value),b=e[p],y=x(i.value);return l.jsxs(De,{style:A,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Le,{children:b?.user?.photo!=null?l.jsx(Te,{src:b?.user?.photo.href,alt:F.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:T})=>{T.onerror=null,T.src=W},loading:"lazy"}):l.jsx(J,{firstName:b?.user?.firstName??"",lastName:b?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(Q,{children:[l.jsx(N,{children:t.label}),l.jsx(_,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:b}),c==="small"&&d&&$!=null?l.jsx(Z,{windowSize:c,children:$}):null]})]}),!!n&&l.jsx(l.Fragment,{children:l.jsx(Y,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(Z,{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(Ee,{menuIsOpen:i,isFocused:n,isDisabled:u,selectedValue:d,isError:L,isValuePlacedAtEnd:D,windowSize:c,bigMarginRightForSmallScreens:P,children:l.jsx(H.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(H.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ue,{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??F.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 He={infoLabel:new we("smallRegular","smallRegular")},We=({name:e,placeholderLabel:a,registerOptions:o,value:g,valueToSubtitle:v,showOneOffLabel:x,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:f,isDisabled:A,additionalLabelInfo:D,isOptionDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:P}=B(),k=U();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":q("user-single-select",e),children:[l.jsx(_e,{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:A,isOptionDisabled:V,showAvatarAndSubtitles:S,showOnlyAvatar:C,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),D!==null&&l.jsx(Ye,{size:k,children:D})]})})},Je=r.div`
183
+ `;function _e({allUsers:e,selectedValue:a,showOneOffLabel:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:b,optionStyles:A,isValuePlacedAtEnd:D=!0,isDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:P=!1}){const{formState:{errors:k}}=B(),L=be(k,j??""),c=U(),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(Fe,{menuIsOpen:i,isError:L,children:l.jsx(Ce,{children:n})})},re=({labelDetails:t})=>l.jsxs(Ne,{hasSelectedUser:a===t.value,children:[l.jsxs(Re,{children:[l.jsx(Me,{}),l.jsx(Q,{children:l.jsx(N,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(Y,{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(M,{children:[S||C?l.jsx(K,{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],f=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(Ae,{src:p?.user?.photo.href,alt:F.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=W},loading:"lazy"}):l.jsx(J,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(N,{children:i})]}),S?l.jsx(_,{subtitleList:f,menuIsOpen:u.menuIsOpen,member:p}):null]})},_=({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(T=>T.userId===i.value),f=e[p],y=x(i.value);return l.jsxs(De,{style:A,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Le,{children:f?.user?.photo!=null?l.jsx(Te,{src:f?.user?.photo.href,alt:F.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:T})=>{T.onerror=null,T.src=W},loading:"lazy"}):l.jsx(J,{firstName:f?.user?.firstName??"",lastName:f?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(Q,{children:[l.jsx(N,{children:t.label}),l.jsx(_,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:f}),c==="small"&&d&&$!=null?l.jsx(Z,{windowSize:c,children:$}):null]})]}),!!n&&l.jsx(l.Fragment,{children:l.jsx(Y,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(Z,{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(Ee,{menuIsOpen:i,isFocused:n,isDisabled:u,selectedValue:d,isError:L,isValuePlacedAtEnd:D,windowSize:c,bigMarginRightForSmallScreens:P,children:l.jsx(H.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(H.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ue,{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=fe();return l.jsx(xe,{placeholder:g??F.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:b,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 He={infoLabel:new we("smallRegular","smallRegular")},We=({name:e,placeholderLabel:a,registerOptions:o,value:g,valueToSubtitle:v,showOneOffLabel:x,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:b,isDisabled:A,additionalLabelInfo:D,isOptionDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:P}=B(),k=U();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":q("user-single-select",e),children:[l.jsx(_e,{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:b,isDisabled:A,isOptionDisabled:V,showAvatarAndSubtitles:S,showOnlyAvatar:C,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),D!==null&&l.jsx(Ye,{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"};
@@ -189,7 +189,7 @@ import{J as U,V as l,cZ as me,o as s,y as I,aQ as q,u as m,cT as B,d0 as ge,c$ a
189
189
  ${e=>`${He.infoLabel.style(e.size)}`};
190
190
  text-align: right;
191
191
  padding-right: ${s.sp3};
192
- `,E={width:new I(343,580,726),labelMarginLeft:new I(m[3],m[4]),labelMarginRight:new I(m[3],m[4])};function Be({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:o,style:g,showTooltip:v=!1,tooltipTitle:x,toolTipWidth:w,opacity:j=1}){const f=U();return l.jsxs(Ge,{size:f,style:g,isDisabled:e!=null,opacity:j,"data-testid":q("labeled-user-single-select",o.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:o.name,style:{marginLeft:E.labelMarginLeft.value(f),marginRight:E.labelMarginRight.value(f),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:x,toolTipWidth:w}),l.jsx(We,{...o,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...o.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:o.value.selectedUser==null||o.value.selectedUser!=null&&o.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Ge=r.div`
192
+ `,E={width:new I(343,580,726),labelMarginLeft:new I(m[3],m[4]),labelMarginRight:new I(m[3],m[4])};function Be({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:o,style:g,showTooltip:v=!1,tooltipTitle:x,toolTipWidth:w,opacity:j=1}){const b=U();return l.jsxs(Ge,{size:b,style:g,isDisabled:e!=null,opacity:j,"data-testid":q("labeled-user-single-select",o.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:o.name,style:{marginLeft:E.labelMarginLeft.value(b),marginRight:E.labelMarginRight.value(b),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:x,toolTipWidth:w}),l.jsx(We,{...o,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...o.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:o.value.selectedUser==null||o.value.selectedUser!=null&&o.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Ge=r.div`
193
193
  display: flex;
194
194
  flex-direction: row;
195
195
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{J as M,V as l,cZ as G,y as m,o,aQ as N,u as n,cT as E,d0 as K,c$ as Q,e as q,b as V,bI as ie,F as te,fZ as se,g4 as ae,aK as ne,b2 as de,bJ as B,bb as ce,bH as pe,cD as ue,p as C,g5 as U,cj as X,i as he,ai as Y,al as ge,am as me,fL as be,fK as fe,bx as xe,fM as ye,bj as we,g6 as ve}from"./index-GSKpJ8ET.js";import{n as d,c as $e}from"./mui-DenpH-hx.js";import{a as k}from"./sentry-BZBky1_g.js";import{FE as A,FF as Re}from"./zeni-epic-state-BKgIzPpM.js";import{T as je}from"./RoleWithToolTip-C29QOzxS-BIz3hnmq.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]="3581c68d-9a60-46e4-8eb3-5672a33d4365",e._sentryDebugIdIdentifier="sentry-dbid-3581c68d-9a60-46e4-8eb3-5672a33d4365")}catch{}})();const H={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
1
+ import{J as M,V as l,cZ as G,y as m,o,aQ as N,u as n,cT as E,d0 as K,c$ as Q,e as q,b as V,bI as ie,F as te,fZ as se,g4 as ae,aK as ne,b2 as de,bJ as B,bb as ce,bH as pe,cD as ue,p as C,g5 as U,cj as X,i as he,ai as Y,al as ge,am as me,fL as be,fK as fe,bx as xe,fM as ye,bj as we,g6 as ve}from"./index-Dm-b67Hf.js";import{n as d,c as $e}from"./mui-BLkKBV85.js";import{a as k}from"./sentry-C2Rgx3zV.js";import{FE as A,FF as Re}from"./zeni-epic-state-TdgpFmku.js";import{T as je}from"./RoleWithToolTip-BCeMfqCC-DiZyrWD_.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]="091e9724-306d-4b26-98ef-e59a1926c9ea",e._sentryDebugIdIdentifier="sentry-dbid-091e9724-306d-4b26-98ef-e59a1926c9ea")}catch{}})();const H={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=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
4
  margin-bottom: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{J as G,aR as ue,a9 as pe,cG as me,iK as E,iv as P,cH as he,V as n,ac as ge,g7 as fe,aS as be,F as H,o as t,y as m,d as xe,c as ye,cJ as F,iL as we,p as je,b as I,bi as Ce,u as r}from"./index-GSKpJ8ET.js";import{a as J}from"./sentry-BZBky1_g.js";import{n as i}from"./mui-DenpH-hx.js";import{G5 as Q,G2 as Se,G3 as De}from"./zeni-epic-state-BKgIzPpM.js";import $e from"./TransactionDetailPage-D-vXAAB7-Bzb02Sjl.js";import"./liveblocks-D1OOExFG.js";import"./core-CEu4PzGb.js";import"./recharts-9NtTDQfo.js";import"./lottie-fNTw06NH.js";import"./analytics-DgE91yP9.js";import"./lexical-CnqcqOEB.js";import"./utils-CHibiken.js";import"./LabeledControlledCheckBoxField-B6w2HGJK-6LsZxWHa.js";import"./TrendWithTransactions-DDLrmIrt-D7YkaYJE.js";import"./TrendChart-BMHDaOeh-DUFeSEwp.js";import"./chartTypes-B3501CSI-Eia1dEGg.js";import"./toCOABalancesWithID-D35Fk0m2-dL9iDsOU.js";import"./toChartData-DzatRnt8-Cq2-M4CL.js";import"./NoDataChart-Bvetk9za-Dz6Kgiua.js";import"./InsightsSection-BYiN2xB7-Tq3IZNKc.js";import"./NavigationDots-tWCw6Bpk-Mo0z1mhF.js";import"./TransactionList-BruCNjQg-CPy3bOrg.js";import"./ConstrainedInnerElement-BeIpAPjB-BElBEfq9.js";import"./BoxItem-CYe_gTmA-3TpRGAgq.js";import"./commonDimensions-YcBBlmYP-HRUAmifl.js";import"./panelSelectedMixin-CzfD5-Zs-Z09J1JBQ.js";import"./uploadAttachment-Bq8dk-Sm-DirS4o1A.js";import"./radio-default-CiSgisfh--A7TRB5H.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]="445e77d8-e0ed-40f4-864a-a606dd25a9f6",e._sentryDebugIdIdentifier="sentry-dbid-445e77d8-e0ed-40f4-864a-a606dd25a9f6")}catch{}})();const V={labelWidth:new m(120,145,160)},ve=i.div`
1
+ import{J as G,aR as ue,a9 as pe,cG as me,iK as E,iv as P,cH as he,V as n,ac as ge,g7 as fe,aS as be,F as H,o as t,y as m,d as xe,c as ye,cJ as F,iL as we,p as je,b as I,bi as Ce,u as r}from"./index-Dm-b67Hf.js";import{a as J}from"./sentry-C2Rgx3zV.js";import{n as i}from"./mui-BLkKBV85.js";import{G5 as Q,G2 as Se,G3 as De}from"./zeni-epic-state-TdgpFmku.js";import $e from"./TransactionDetailPage-CpNGUBqP-gfLrfFlK.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./LabeledControlledCheckBoxField-Dhta-oad-BOgGTnpX.js";import"./TrendWithTransactions-BJnpKKqL-DKCgJJvT.js";import"./TrendChart-DwYxYNR7-JcI7qpjF.js";import"./chartTypes-zuOlWPZo-CqRIct--.js";import"./toCOABalancesWithID-DUpgxtrc-n-6zkqkw.js";import"./toChartData-BNPIbcXQ-DT2tu_Ad.js";import"./NoDataChart-Bd0aKX8D-BMtoTVvu.js";import"./InsightsSection-0ekovQH4-BlPNJh_U.js";import"./NavigationDots--7KEcIuu-eftMXpdw.js";import"./TransactionList-CvRmT2Lq-C1JZRVpn.js";import"./ConstrainedInnerElement-BeIpAPjB-DchKqY-F.js";import"./BoxItem-COPJh7Lh-BtEwjrhv.js";import"./commonDimensions-aMGDpjmW-UhXAGxHS.js";import"./panelSelectedMixin-CzfD5-Zs-CBMeGjo8.js";import"./uploadAttachment-4MEQNz0J-C1Mi8_qq.js";import"./radio-default-CiSgisfh-B552CYET.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]="26ae4589-055a-4307-a228-d6b7b6b50ffb",e._sentryDebugIdIdentifier="sentry-dbid-26ae4589-055a-4307-a228-d6b7b6b50ffb")}catch{}})();const V={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,e as Me,a9 as me,y as d,c$ as ue,V as t,fc as He,ac as ge,ap as Be,g2 as Ue,o as r,b as We,bU as Ve,aO as re,cZ as Ye,b2 as X,es as Xe,T as qe,aS as Ge,F as U,ao as Ke,cJ as gr,i as pe,a8 as xr,aw as wr,gT as $r,gd as fr,aQ as de,u as y,c as Je,bW as xe,R as Ze,al as j,b8 as we,ai as G,dw as Qe,b0 as er,cD as rr,p as q,am as tr,iP as oe,i_ as br,j3 as yr,j4 as jr,dx as Pe,ft as vr,eL as Sr}from"./index-GSKpJ8ET.js";import{a as ae}from"./sentry-BZBky1_g.js";import{n as i}from"./mui-DenpH-hx.js";import{EP as Cr}from"./zeni-epic-state-BKgIzPpM.js";import{T as ir}from"./RoleWithToolTip-C29QOzxS-BIz3hnmq.js";import{j as or}from"./CardNumberSubText-CFDhtij8-Dsv6kEZQ.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]="b3bdb863-1ac7-494f-89ad-9c6798b4680a",e._sentryDebugIdIdentifier="sentry-dbid-b3bdb863-1ac7-494f-89ad-9c6798b4680a")}catch{}})();const Q="cardName",fe=U.getLocalizedStrings().spendManagement.chargeCard.renamePopup;function vi({currentCardName:e,renameFetchState:h,onCancelClick:c,onSubmitClick:p}){const l=he(),b="RenameCardForm",n=me({mode:"all",defaultValues:{[Q]:e},values:{[Q]:e}});ae.useEffect(()=>{n.setFocus(Q)},[]);const m=()=>{c()},R=n.handleSubmit(()=>{const $=n.getValues(Q);$!=null&&p($)}),N=ue(n.formState.errors,Q),o=U.getLocalizedStrings().common,T=le.largeLabelWidth.value(l);return t.jsx(zr,{windowSize:l,role:"presentation",children:t.jsx(Ke,{onClickAway:()=>c(),children:t.jsxs(kr,{windowSize:l,children:[t.jsx(ge,{...n,children:t.jsxs(Ir,{id:b,onSubmit:$=>{$.preventDefault(),R()},children:[t.jsx(Pr,{windowSize:l,children:fe.heading}),t.jsx(Nr,{hasError:N,children:t.jsx(gr,{label:{label:fe.newName,width:T},style:{width:"auto"},text:{type:"text",name:Q,defaultValue:e,placeholder:fe.placeholder,options:{required:!0,validate:$=>$!=null}}})})]})}),t.jsx(Dr,{children:t.jsxs(Lr,{children:[t.jsx(pe,{label:o.cancel,onClick:m,style:{width:84}}),t.jsx(Tr,{}),t.jsx(pe,{variant:"primary",label:o.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:h==="In-Progress",type:"submit",form:b})]})})]})})})}const le={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(y[5],y[6]),popupTopBottomPadding:new d(y[5],y[5])},zr=i.div`
1
+ import{J as he,e as Me,a9 as me,y as d,c$ as ue,V as t,fc as He,ac as ge,ap as Be,g2 as Ue,o as r,b as We,bU as Ve,aO as re,cZ as Ye,b2 as X,es as Xe,T as qe,aS as Ge,F as U,ao as Ke,cJ as gr,i as pe,a8 as xr,aw as wr,gT as $r,gd as fr,aQ as de,u as b,c as Je,bW as xe,R as Ze,al as j,b8 as we,ai as G,dw as Qe,b0 as er,cD as rr,p as q,am as tr,iP as oe,i_ as yr,j3 as br,j4 as jr,dx as Pe,ft as vr,eL as Sr}from"./index-Dm-b67Hf.js";import{a as ae}from"./sentry-C2Rgx3zV.js";import{n as i}from"./mui-BLkKBV85.js";import{EP as Cr}from"./zeni-epic-state-TdgpFmku.js";import{T as ir}from"./RoleWithToolTip-BCeMfqCC-DiZyrWD_.js";import{j as or}from"./CardNumberSubText-Md18DQb7-Ci7Q_wrC.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]="55bb96c9-591f-441f-a9ca-d1461c38fa03",e._sentryDebugIdIdentifier="sentry-dbid-55bb96c9-591f-441f-a9ca-d1461c38fa03")}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()},R=n.handleSubmit(()=>{const $=n.getValues(Q);$!=null&&p($)}),N=ue(n.formState.errors,Q),o=U.getLocalizedStrings().common,T=le.largeLabelWidth.value(l);return t.jsx(zr,{windowSize:l,role:"presentation",children:t.jsx(Ke,{onClickAway:()=>c(),children:t.jsxs(kr,{windowSize:l,children:[t.jsx(ge,{...n,children:t.jsxs(Ir,{id:y,onSubmit:$=>{$.preventDefault(),R()},children:[t.jsx(Pr,{windowSize:l,children:fe.heading}),t.jsx(Nr,{hasError:N,children:t.jsx(gr,{label:{label:fe.newName,width:T},style:{width:"auto"},text:{type:"text",name:Q,defaultValue:e,placeholder:fe.placeholder,options:{required:!0,validate:$=>$!=null}}})})]})}),t.jsx(Dr,{children:t.jsxs(Lr,{children:[t.jsx(pe,{label:o.cancel,onClick:m,style:{width:84}}),t.jsx(Tr,{}),t.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])},zr=i.div`
2
2
  position: fixed;
3
3
  top: ${r.sp0};
4
4
  left: ${r.sp0};
@@ -49,7 +49,7 @@ import{J as he,e as Me,a9 as me,y as d,c$ as ue,V as t,fc as He,ac as ge,ap as B
49
49
  }
50
50
  `,Ir=i.form`
51
51
  display: contents;
52
- `,ee="spendLimit",Z=U.getLocalizedStrings().spendManagement.chargeCard.updateSpendLimitPopup,{dateFormat:be}=U.getLocalizedStrings();function Si({controllerEmails:e,isChargeCardFeatureEnabled:h,isDebitCardFeatureEnabled:c,isDebitCardSetupEnabled:p,isChargeCardSetupEnabled:l,cardDetail:b,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:R,creditAccountRepayment:N,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:H,currentSpentAmount:B,productInformation:v,creditAccountInformation:W,debitAccountInformation:V,maxLimitAmount:O,isDisabled:K,updateLimitFetchState:J,recommendations:I,cardIssuedByRoles:Y,cardHolderRoles:u,loggedInUserRole:F,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,onCancelClick:s,onSubmitClick:g}){const x=xr().analytics,f=he(),se="SpendLimitForm",ar=wr();Cr(ar.loggedInUserRoleMap);const te=me({mode:"onBlur",reValidateMode:"onBlur",defaultValues:{[ee]:void 0}}),{control:sr,formState:{errors:nr}}=te,[dr,lr]=ae.useState(void 0),ne=$r({control:sr,name:ee}),Ce=b?.type.code.includes("physical")===!0?b.cardActivationAttemptHistory[0]?.timestamp:b?.createTime,ze=(b?.recommendations??[]).map(w=>w.creditLimit.amount),cr=()=>{b!=null&&Le({analytics:x,controllerEmails:e,isChargeCardFeatureEnabled:h,cardDetail:b,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:R,creditAccountRepayment:N,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:H,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:u,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:F,clickItem:"Cancel",newSpendLimitAmount:ne,productInformation:v,creditAccountInformation:W,debitAccountInformation:V}),s()},pr=te.handleSubmit(()=>{const w=te.getValues(ee);w!=null&&(Le({analytics:x,controllerEmails:e,isChargeCardFeatureEnabled:h,cardDetail:b,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:R,creditAccountRepayment:N,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:H,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:u,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:F,productInformation:v,creditAccountInformation:W,debitAccountInformation:V,clickItem:"Update",newSpendLimitAmount:w}),g(w))}),hr=w=>{te.setValue(ee,w,{shouldValidate:!0})},ke=ue(nr,ee),$e=U.getLocalizedStrings().common,mr=ce.largeLabelWidth.value(f);ae.useEffect(()=>{lr(Fr(B,O,ne))},[ne,B,O]);const ur=(w,ie)=>t.jsxs(Wr,{isSelected:ne===w.amount,onClick:()=>hr(w.amount),"data-testid":de("quick-amount-button",ie.toString()),children:[ie===1&&t.jsx(Vr,{}),re("0,0.[00]",w)]},ie);return t.jsx(Ar,{windowSize:f,role:"presentation","data-testid":de("update-spend-limit-popup"),children:t.jsx(Ke,{onClickAway:()=>s(),children:t.jsxs(Er,{windowSize:f,children:[t.jsx(ge,{...te,children:t.jsxs(Yr,{id:se,onSubmit:w=>{w.preventDefault(),pr()},children:[t.jsx(Rr,{windowSize:f,children:Z.heading}),t.jsxs(Or,{windowSize:f,children:[Z.currentLimit,$e.strings.space," ",re("0,0.[00]",H),Z.slashMonth]}),t.jsxs(Br,{hasError:ke,children:[t.jsx(fr,{label:{label:Z.newLimit,width:mr},showAdditionalInfoLabel:ke,additionalInfoLabel:dr,formattedTextField:{type:"number",name:ee,defaultValue:void 0,placeholder:Z.placeholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:w=>!!w&&w>0&&w>B.amount&&(O!=null?w<=O.amount:!0)},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},showOutlineOnFocus:!1}),I?.length?t.jsx(Ur,{windowSize:f,children:I?.map((w,ie)=>ur(w.creditLimit,ie))}):null]})]})}),t.jsx(Hr,{children:t.jsxs(_r,{children:[t.jsx(pe,{label:$e.cancel,onClick:cr,style:{width:84},"data-testid":de("update-spend-limit-cancel-button")}),t.jsx(Mr,{}),t.jsx(pe,{variant:"primary",label:$e.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:J==="In-Progress",type:"submit",form:se,"data-testid":de("update-spend-limit-submit-button"),disabled:K})]})})]})})})}const Fr=(e,h,c)=>{if(c!=null){if(c<=e.amount)return Z.amountBelowError.replace("_amount_",re("0,0.[00]",e));if(h!=null&&c>h.amount)return Z.amountExceedError.replace("_amount_",re("0,0.[00]",h))}},Le=({analytics:e,controllerEmails:h,isChargeCardFeatureEnabled:c,productInformation:p,creditAccountInformation:l,debitAccountInformation:b,cardDetail:n,transactionStatistics:m,depositAccountLimitFetchState:R,creditAccount:N,creditAccountRepayment:o,signedInUser:T,isDebitCard:$,classListFetchState:H,currentLimitAmount:B,recommendedLimitAmounts:v,cardActivationDate:W,cardIssuedByRoles:V,cardHolderRoles:O,cardIssuedByDepartmentName:K,cardHolderDepartmentName:J,loggedInUserRole:I,clickItem:Y,newSpendLimitAmount:u})=>{n!=null&&H==="Completed"&&m!=null&&m.fetchState==="Completed"&&(!c||N.fetchState==="Completed"&&o.fetchState==="Completed")&&(!$||R==="Completed")&&e.trackCardsUpdateSpendLimitClick(h,p,{cardId:n.id,cardName:n.cardName,cardType:jr(n.type.code),cardCategory:n.type.code.includes("physical")?"physical":"virtual",cardLimit:oe(n.limit.amount),cardLastFourDigits:n.accountLast4,cardStatus:n.status.code,cardAssignedDate:n.createTime?.format(be.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:n.providerCardCreateTime?.format(be.analytics.MMMDashDDDashYYYYFormat),cardActivatedDate:W?.format(be.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:n.creditLimitFrequency.name,cardSpentAmount:oe(n.balance.amount),cardAvailableLimit:oe(n.available.amount),cardUtilizationPercent:yr(n.limit.amount,n.available.amount),cardUtilizationAmount:oe(br(n)),totalNumberOfDeclinedTransactions:m.statistics.totalNumberOfDeclinedTransactions,numberOfDeclinedTransactionsCurrentMonth:m.statistics.numberOfDeclinedTransactionsCurrentMonth,totalNumberOfPaidTransactions:m.statistics.totalNumberOfPaidTransactions,numberOfPaidTransactionsCurrentMonth:m.statistics.numberOfPaidTransactionsCurrentMonth,totalNumberOfCanceledTransactions:m.statistics.totalNumberOfCanceledTransactions,numberOfCanceledTransactionsCurrentMonth:m.statistics.numberOfCanceledTransactionsCurrentMonth,totalNumberOfAuthorizedTransactions:m.statistics.totalNumberOfAuthorizedTransactions,numberOfAuthorizedTransactionsCurrentMonth:m.statistics.numberOfAuthorizedTransactionsCurrentMonth,totalNumberOfTransactionsWithReceipts:m.statistics.totalNumberOfTransactionsWithReceipts,numberOfTransactionsWithReceiptsCurrentMonth:m.statistics.numberOfTransactionsWithReceiptsCurrentMonth},{cardIssuedByName:Pe(n.cardCreatedByUser,!1),cardIssuedByEmail:n.cardCreatedByUser?.email,cardIssuedByUserId:n.cardCreatedByUser?.userId,cardIssuedByRole:V,cardIssuedByDepartment:K},{cardholderName:Pe(n.cardHolderUser,!1),cardholderEmail:n.cardHolderUser?.email,cardholderRole:O,cardholderUserId:n.cardHolderUser?.userId,cardholderDepartment:J},{cardLimitUpdatedByName:vr(T),cardLimitUpdatedByEmail:T.userEmail,cardLimitUpdatedByRole:I,cardLimitUpdatedByUserId:T.userId},Y,oe(B.amount),v,u!=null?v.includes(u):!1,u,l,b)},ce={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(y[5],y[6]),popupTopBottomPadding:new d(y[5],y[5])},Ar=i.div`
52
+ `,ee="spendLimit",Z=U.getLocalizedStrings().spendManagement.chargeCard.updateSpendLimitPopup,{dateFormat:ye}=U.getLocalizedStrings();function Si({controllerEmails:e,isChargeCardFeatureEnabled:h,isDebitCardFeatureEnabled:c,isDebitCardSetupEnabled:p,isChargeCardSetupEnabled:l,cardDetail:y,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:R,creditAccountRepayment:N,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:H,currentSpentAmount:B,productInformation:v,creditAccountInformation:W,debitAccountInformation:V,maxLimitAmount:O,isDisabled:K,updateLimitFetchState:J,recommendations:I,cardIssuedByRoles:Y,cardHolderRoles:u,loggedInUserRole:F,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,onCancelClick:s,onSubmitClick:g}){const x=xr().analytics,f=he(),se="SpendLimitForm",ar=wr();Cr(ar.loggedInUserRoleMap);const te=me({mode:"onBlur",reValidateMode:"onBlur",defaultValues:{[ee]:void 0}}),{control:sr,formState:{errors:nr}}=te,[dr,lr]=ae.useState(void 0),ne=$r({control:sr,name:ee}),Ce=y?.type.code.includes("physical")===!0?y.cardActivationAttemptHistory[0]?.timestamp:y?.createTime,ze=(y?.recommendations??[]).map(w=>w.creditLimit.amount),cr=()=>{y!=null&&Le({analytics:x,controllerEmails:e,isChargeCardFeatureEnabled:h,cardDetail:y,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:R,creditAccountRepayment:N,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:H,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:u,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:F,clickItem:"Cancel",newSpendLimitAmount:ne,productInformation:v,creditAccountInformation:W,debitAccountInformation:V}),s()},pr=te.handleSubmit(()=>{const w=te.getValues(ee);w!=null&&(Le({analytics:x,controllerEmails:e,isChargeCardFeatureEnabled:h,cardDetail:y,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:R,creditAccountRepayment:N,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:H,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:u,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:F,productInformation:v,creditAccountInformation:W,debitAccountInformation:V,clickItem:"Update",newSpendLimitAmount:w}),g(w))}),hr=w=>{te.setValue(ee,w,{shouldValidate:!0})},ke=ue(nr,ee),$e=U.getLocalizedStrings().common,mr=ce.largeLabelWidth.value(f);ae.useEffect(()=>{lr(Fr(B,O,ne))},[ne,B,O]);const ur=(w,ie)=>t.jsxs(Wr,{isSelected:ne===w.amount,onClick:()=>hr(w.amount),"data-testid":de("quick-amount-button",ie.toString()),children:[ie===1&&t.jsx(Vr,{}),re("0,0.[00]",w)]},ie);return t.jsx(Ar,{windowSize:f,role:"presentation","data-testid":de("update-spend-limit-popup"),children:t.jsx(Ke,{onClickAway:()=>s(),children:t.jsxs(Er,{windowSize:f,children:[t.jsx(ge,{...te,children:t.jsxs(Yr,{id:se,onSubmit:w=>{w.preventDefault(),pr()},children:[t.jsx(Rr,{windowSize:f,children:Z.heading}),t.jsxs(Or,{windowSize:f,children:[Z.currentLimit,$e.strings.space," ",re("0,0.[00]",H),Z.slashMonth]}),t.jsxs(Br,{hasError:ke,children:[t.jsx(fr,{label:{label:Z.newLimit,width:mr},showAdditionalInfoLabel:ke,additionalInfoLabel:dr,formattedTextField:{type:"number",name:ee,defaultValue:void 0,placeholder:Z.placeholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:w=>!!w&&w>0&&w>B.amount&&(O!=null?w<=O.amount:!0)},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},showOutlineOnFocus:!1}),I?.length?t.jsx(Ur,{windowSize:f,children:I?.map((w,ie)=>ur(w.creditLimit,ie))}):null]})]})}),t.jsx(Hr,{children:t.jsxs(_r,{children:[t.jsx(pe,{label:$e.cancel,onClick:cr,style:{width:84},"data-testid":de("update-spend-limit-cancel-button")}),t.jsx(Mr,{}),t.jsx(pe,{variant:"primary",label:$e.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:J==="In-Progress",type:"submit",form:se,"data-testid":de("update-spend-limit-submit-button"),disabled:K})]})})]})})})}const Fr=(e,h,c)=>{if(c!=null){if(c<=e.amount)return Z.amountBelowError.replace("_amount_",re("0,0.[00]",e));if(h!=null&&c>h.amount)return Z.amountExceedError.replace("_amount_",re("0,0.[00]",h))}},Le=({analytics:e,controllerEmails:h,isChargeCardFeatureEnabled:c,productInformation:p,creditAccountInformation:l,debitAccountInformation:y,cardDetail:n,transactionStatistics:m,depositAccountLimitFetchState:R,creditAccount:N,creditAccountRepayment:o,signedInUser:T,isDebitCard:$,classListFetchState:H,currentLimitAmount:B,recommendedLimitAmounts:v,cardActivationDate:W,cardIssuedByRoles:V,cardHolderRoles:O,cardIssuedByDepartmentName:K,cardHolderDepartmentName:J,loggedInUserRole:I,clickItem:Y,newSpendLimitAmount:u})=>{n!=null&&H==="Completed"&&m!=null&&m.fetchState==="Completed"&&(!c||N.fetchState==="Completed"&&o.fetchState==="Completed")&&(!$||R==="Completed")&&e.trackCardsUpdateSpendLimitClick(h,p,{cardId:n.id,cardName:n.cardName,cardType:jr(n.type.code),cardCategory:n.type.code.includes("physical")?"physical":"virtual",cardLimit:oe(n.limit.amount),cardLastFourDigits:n.accountLast4,cardStatus:n.status.code,cardAssignedDate:n.createTime?.format(ye.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:n.providerCardCreateTime?.format(ye.analytics.MMMDashDDDashYYYYFormat),cardActivatedDate:W?.format(ye.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:n.creditLimitFrequency.name,cardSpentAmount:oe(n.balance.amount),cardAvailableLimit:oe(n.available.amount),cardUtilizationPercent:br(n.limit.amount,n.available.amount),cardUtilizationAmount:oe(yr(n)),totalNumberOfDeclinedTransactions:m.statistics.totalNumberOfDeclinedTransactions,numberOfDeclinedTransactionsCurrentMonth:m.statistics.numberOfDeclinedTransactionsCurrentMonth,totalNumberOfPaidTransactions:m.statistics.totalNumberOfPaidTransactions,numberOfPaidTransactionsCurrentMonth:m.statistics.numberOfPaidTransactionsCurrentMonth,totalNumberOfCanceledTransactions:m.statistics.totalNumberOfCanceledTransactions,numberOfCanceledTransactionsCurrentMonth:m.statistics.numberOfCanceledTransactionsCurrentMonth,totalNumberOfAuthorizedTransactions:m.statistics.totalNumberOfAuthorizedTransactions,numberOfAuthorizedTransactionsCurrentMonth:m.statistics.numberOfAuthorizedTransactionsCurrentMonth,totalNumberOfTransactionsWithReceipts:m.statistics.totalNumberOfTransactionsWithReceipts,numberOfTransactionsWithReceiptsCurrentMonth:m.statistics.numberOfTransactionsWithReceiptsCurrentMonth},{cardIssuedByName:Pe(n.cardCreatedByUser,!1),cardIssuedByEmail:n.cardCreatedByUser?.email,cardIssuedByUserId:n.cardCreatedByUser?.userId,cardIssuedByRole:V,cardIssuedByDepartment:K},{cardholderName:Pe(n.cardHolderUser,!1),cardholderEmail:n.cardHolderUser?.email,cardholderRole:O,cardholderUserId:n.cardHolderUser?.userId,cardholderDepartment:J},{cardLimitUpdatedByName:vr(T),cardLimitUpdatedByEmail:T.userEmail,cardLimitUpdatedByRole:I,cardLimitUpdatedByUserId:T.userId},Y,oe(B.amount),v,u!=null?v.includes(u):!1,u,l,y)},ce={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])},Ar=i.div`
53
53
  position: fixed;
54
54
  top: ${r.sp0};
55
55
  left: ${r.sp0};
@@ -127,7 +127,7 @@ import{J as he,e as Me,a9 as me,y as d,c$ as ue,V as t,fc as He,ac as ge,ap as B
127
127
  height: ${r.sp3};
128
128
  `,Yr=i.form`
129
129
  display: contents;
130
- `,P={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(y[3],y[4]),cardNameSectionMarginLeft:new d(y[7],0),cardHolderDetailsGap:new d(y[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(y[3],0)},{common:S,closeCard:_}=U.getLocalizedStrings().spendManagement.chargeCard,z="reasonSection",Te="closeCardPage",A=(e,h)=>`${e}.${h}`,De=e=>`${e}_form`,{common:ye,dateFormat:Xr,cockpit:qr}=U.getLocalizedStrings(),Ci=({showCloseCardDrawer:e,onCloseCloseCardDrawer:h,isChargeCardAdmin:c,chargeCardsByCardId:p,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:b,closeCardFetchState:n,onRemoveCardClick:m,onConfirmClick:R,onDismissClick:N})=>{const o=he(),T=Me(),[$,H]=ae.useState(Object.fromEntries(Object.keys(l).map((a,s)=>[a,s===0]))),B=a=>{H(s=>s[a]?{...s,[a]:!1}:{...Object.fromEntries(Object.keys(s).map(g=>[g,!1])),[a]:!0})},v=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[z]:{reason:void 0,reasonType:void 0}},values:{[z]:{reason:void 0,reasonType:void 0}}}),W=P.largeLabelWidth.value(o),{isValid:V,errors:O}=v.formState,K=a=>`${p[a].cardHolderUser?.firstName??""} ${p[a].cardHolderUser?.lastName??""}`,J=ue(O,A(z,"reasonType")),I=v.watch("reasonSection.reasonType"),Y=v.handleSubmit(()=>{if(V){const a=v.getValues(),s={reason:a[z].reason,reasonType:a[z].reasonType};R(s)}}),u=Object.keys(l).length>1,F=Object.keys(l).length,D=Object.values(l).reduce((a,s)=>a+s.length,0);return t.jsx(He,{anchor:"right",open:e,onClose:h,PaperProps:{style:{width:P.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:T.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(Gr,{windowSize:o,children:[t.jsxs(Kr,{windowSize:o,children:[t.jsx(Jr,{windowSize:o,children:t.jsx(Qr,{onClick:()=>{N()}})}),o==="small"?t.jsx(nt,{windowSize:o,children:u?_.closeCards:_.closeCard}):t.jsx(dt,{children:u?_.closeCards:_.closeCard}),b==="Completed"?t.jsx(ge,{...v,children:t.jsxs("form",{id:De(Te),onSubmit:Y,children:[t.jsxs(lt,{children:[t.jsx(ct,{windowSize:o,children:u?D>0?`${_.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",F.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?S.expense:S.expenses} ${_.multipleCardsHasRecurringExpensesSuffix}`:_.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",F.toString()):_.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?S.expense:S.expenses)}),u&&t.jsx(Pt,{children:`${F} ${F===1?S.card:S.cards} ${S.selected}`}),Object.keys(l).map((a,s)=>{const g=l[a].length>0;return t.jsxs(pt,{onClick:()=>g?B(a):void 0,isMoreThanOneCard:u,isLastCard:s===Object.keys(l).length-1,children:[t.jsxs(mt,{windowSize:o,children:[t.jsxs(ut,{windowSize:o,children:[t.jsxs(gt,{windowSize:o,children:[p[a].cardHolderUser?.photo!==void 0?t.jsx(et,{src:p[a].cardHolderUser?.photo.href,alt:qr.userProfileAltText,onError:({currentTarget:x})=>{x.onerror=null,x.src=Be},loading:"lazy"}):t.jsx(Ue,{firstName:p[a].cardHolderUser?.firstName??"",lastName:p[a].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(ht,{children:K(a)}),t.jsx(xt,{children:t.jsx(ir,{roles:p[a].cardHolderRoles.userRoles})})]})]}),o==="small"&&g&&($[a]?t.jsx(Ie,{}):t.jsx(Fe,{}))]}),t.jsxs(wt,{windowSize:o,children:[p[a].cardName,t.jsx(or,{cardDetail:p[a],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs($t,{windowSize:o,children:[t.jsxs(Ct,{children:[t.jsx(zt,{children:l[a].length}),t.jsx(St,{children:S.recurringExpenses})]}),o!=="small"&&g&&($[a]?t.jsx(Ie,{}):t.jsx(Fe,{}))]})]}),u&&t.jsx(it,{children:t.jsx(Ve,{variant:"standard",title:ye.remove,children:t.jsx(tt,{onClick:()=>m(a)})})}),$[a]&&g&&t.jsxs(t.Fragment,{children:[t.jsx(Ne,{}),t.jsxs(ft,{children:[t.jsxs(kt,{children:[t.jsx(ve,{width:o==="small"?112:240,children:S.merchant}),t.jsx(ve,{width:o==="small"?112:104,children:S.nextPaymentDate}),t.jsx(Lt,{width:o==="small"?100:312,children:S.amount})]}),l[a].map((x,f)=>t.jsxs("div",{children:[f>0&&t.jsx(Ne,{}),t.jsxs(bt,{children:[t.jsxs(yt,{windowSize:o,children:[t.jsx(ot,{src:x.merchant.logo?.url?.href}),t.jsx(rt,{windowSize:o,children:x.merchant.brandName??x.merchant.name})]}),t.jsx(jt,{windowSize:o,children:x.nextPaymentDate.format(Xr.visual.MMMDCommaYYYYformat)}),t.jsx(vt,{windowSize:o,children:re("0,0.00",x.amount)})]},x.merchant.name)]},x.merchant.name))]})]})]},a)})]}),t.jsx(Dt,{windowSize:o,children:S.letUsKnowWhy}),t.jsxs(Tt,{isReasonTextFieldVisible:I==="other",children:[t.jsxs(at,{size:o,children:[t.jsx(Ye,{label:S.reasonLabel,htmlFor:A(z,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(st,{labelWidth:W,size:o,children:[t.jsx(X,{label:{label:S.reason.lost},style:{width:"auto"},radioField:{name:A(z,"reasonType"),id:`${A(z,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(X,{label:{label:S.reason.fraud},style:{width:"auto"},radioField:{name:A(z,"reasonType"),id:`${A(z,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(X,{label:{label:S.reason.not_needed},style:{width:"auto"},radioField:{name:A(z,"reasonType"),id:`${A(z,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(X,{label:{label:S.reason.other},style:{width:"auto"},radioField:{name:A(z,"reasonType"),id:`${A(z,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}})]})]}),I==="other"?t.jsx(Xe,{style:{height:r.sp6,width:"100%",backgroundColor:T.colors.background,marginTop:`${P.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:A(z,"reason"),placeholder:_.reasonPlaceholder,className:"reason-text-field",registerOptions:{required:!c,validate:a=>c?!0:!!a}}):I==null&&!c&&J?t.jsx(Zr,{children:_.youNeedToProvideReasonToCloseCard}):null]})]})}):t.jsx(qe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),b==="Completed"&&t.jsx(Ge,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:De(Te),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:ye.confirm,isLoading:n==="In-Progress",variant:"danger"},cancelBtn:{label:ye.cancel,style:{width:"90px"},onClick:()=>{N?.()}}})]})})},Gr=i.div`
130
+ `,P={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(b[3],b[4]),cardNameSectionMarginLeft:new d(b[7],0),cardHolderDetailsGap:new d(b[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(b[3],0)},{common:S,closeCard:_}=U.getLocalizedStrings().spendManagement.chargeCard,z="reasonSection",Te="closeCardPage",A=(e,h)=>`${e}.${h}`,De=e=>`${e}_form`,{common:be,dateFormat:Xr,cockpit:qr}=U.getLocalizedStrings(),Ci=({showCloseCardDrawer:e,onCloseCloseCardDrawer:h,isChargeCardAdmin:c,chargeCardsByCardId:p,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:y,closeCardFetchState:n,onRemoveCardClick:m,onConfirmClick:R,onDismissClick:N})=>{const o=he(),T=Me(),[$,H]=ae.useState(Object.fromEntries(Object.keys(l).map((a,s)=>[a,s===0]))),B=a=>{H(s=>s[a]?{...s,[a]:!1}:{...Object.fromEntries(Object.keys(s).map(g=>[g,!1])),[a]:!0})},v=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[z]:{reason:void 0,reasonType:void 0}},values:{[z]:{reason:void 0,reasonType:void 0}}}),W=P.largeLabelWidth.value(o),{isValid:V,errors:O}=v.formState,K=a=>`${p[a].cardHolderUser?.firstName??""} ${p[a].cardHolderUser?.lastName??""}`,J=ue(O,A(z,"reasonType")),I=v.watch("reasonSection.reasonType"),Y=v.handleSubmit(()=>{if(V){const a=v.getValues(),s={reason:a[z].reason,reasonType:a[z].reasonType};R(s)}}),u=Object.keys(l).length>1,F=Object.keys(l).length,D=Object.values(l).reduce((a,s)=>a+s.length,0);return t.jsx(He,{anchor:"right",open:e,onClose:h,PaperProps:{style:{width:P.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:T.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(Gr,{windowSize:o,children:[t.jsxs(Kr,{windowSize:o,children:[t.jsx(Jr,{windowSize:o,children:t.jsx(Qr,{onClick:()=>{N()}})}),o==="small"?t.jsx(nt,{windowSize:o,children:u?_.closeCards:_.closeCard}):t.jsx(dt,{children:u?_.closeCards:_.closeCard}),y==="Completed"?t.jsx(ge,{...v,children:t.jsxs("form",{id:De(Te),onSubmit:Y,children:[t.jsxs(lt,{children:[t.jsx(ct,{windowSize:o,children:u?D>0?`${_.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",F.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?S.expense:S.expenses} ${_.multipleCardsHasRecurringExpensesSuffix}`:_.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",F.toString()):_.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?S.expense:S.expenses)}),u&&t.jsx(Pt,{children:`${F} ${F===1?S.card:S.cards} ${S.selected}`}),Object.keys(l).map((a,s)=>{const g=l[a].length>0;return t.jsxs(pt,{onClick:()=>g?B(a):void 0,isMoreThanOneCard:u,isLastCard:s===Object.keys(l).length-1,children:[t.jsxs(mt,{windowSize:o,children:[t.jsxs(ut,{windowSize:o,children:[t.jsxs(gt,{windowSize:o,children:[p[a].cardHolderUser?.photo!==void 0?t.jsx(et,{src:p[a].cardHolderUser?.photo.href,alt:qr.userProfileAltText,onError:({currentTarget:x})=>{x.onerror=null,x.src=Be},loading:"lazy"}):t.jsx(Ue,{firstName:p[a].cardHolderUser?.firstName??"",lastName:p[a].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(ht,{children:K(a)}),t.jsx(xt,{children:t.jsx(ir,{roles:p[a].cardHolderRoles.userRoles})})]})]}),o==="small"&&g&&($[a]?t.jsx(Ie,{}):t.jsx(Fe,{}))]}),t.jsxs(wt,{windowSize:o,children:[p[a].cardName,t.jsx(or,{cardDetail:p[a],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs($t,{windowSize:o,children:[t.jsxs(Ct,{children:[t.jsx(zt,{children:l[a].length}),t.jsx(St,{children:S.recurringExpenses})]}),o!=="small"&&g&&($[a]?t.jsx(Ie,{}):t.jsx(Fe,{}))]})]}),u&&t.jsx(it,{children:t.jsx(Ve,{variant:"standard",title:be.remove,children:t.jsx(tt,{onClick:()=>m(a)})})}),$[a]&&g&&t.jsxs(t.Fragment,{children:[t.jsx(Ne,{}),t.jsxs(ft,{children:[t.jsxs(kt,{children:[t.jsx(ve,{width:o==="small"?112:240,children:S.merchant}),t.jsx(ve,{width:o==="small"?112:104,children:S.nextPaymentDate}),t.jsx(Lt,{width:o==="small"?100:312,children:S.amount})]}),l[a].map((x,f)=>t.jsxs("div",{children:[f>0&&t.jsx(Ne,{}),t.jsxs(yt,{children:[t.jsxs(bt,{windowSize:o,children:[t.jsx(ot,{src:x.merchant.logo?.url?.href}),t.jsx(rt,{windowSize:o,children:x.merchant.brandName??x.merchant.name})]}),t.jsx(jt,{windowSize:o,children:x.nextPaymentDate.format(Xr.visual.MMMDCommaYYYYformat)}),t.jsx(vt,{windowSize:o,children:re("0,0.00",x.amount)})]},x.merchant.name)]},x.merchant.name))]})]})]},a)})]}),t.jsx(Dt,{windowSize:o,children:S.letUsKnowWhy}),t.jsxs(Tt,{isReasonTextFieldVisible:I==="other",children:[t.jsxs(at,{size:o,children:[t.jsx(Ye,{label:S.reasonLabel,htmlFor:A(z,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(st,{labelWidth:W,size:o,children:[t.jsx(X,{label:{label:S.reason.lost},style:{width:"auto"},radioField:{name:A(z,"reasonType"),id:`${A(z,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(X,{label:{label:S.reason.fraud},style:{width:"auto"},radioField:{name:A(z,"reasonType"),id:`${A(z,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(X,{label:{label:S.reason.not_needed},style:{width:"auto"},radioField:{name:A(z,"reasonType"),id:`${A(z,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(X,{label:{label:S.reason.other},style:{width:"auto"},radioField:{name:A(z,"reasonType"),id:`${A(z,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}})]})]}),I==="other"?t.jsx(Xe,{style:{height:r.sp6,width:"100%",backgroundColor:T.colors.background,marginTop:`${P.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:A(z,"reason"),placeholder:_.reasonPlaceholder,className:"reason-text-field",registerOptions:{required:!c,validate:a=>c?!0:!!a}}):I==null&&!c&&J?t.jsx(Zr,{children:_.youNeedToProvideReasonToCloseCard}):null]})]})}):t.jsx(qe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),y==="Completed"&&t.jsx(Ge,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:De(Te),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:be.confirm,isLoading:n==="In-Progress",variant:"danger"},cancelBtn:{label:be.cancel,style:{width:"90px"},onClick:()=>{N?.()}}})]})})},Gr=i.div`
131
131
  display: flex;
132
132
  flex-direction: column;
133
133
  background-color: ${e=>e.theme.colors.grey4};
@@ -298,7 +298,7 @@ import{J as he,e as Me,a9 as me,y as d,c$ as ue,V as t,fc as He,ac as ge,ap as B
298
298
  `,ft=i.div`
299
299
  margin: ${r.sp3} ${r.sp4} ${r.sp0} ${r.sp4};
300
300
  padding-bottom: ${r.sp2};
301
- `,bt=i.div`
301
+ `,yt=i.div`
302
302
  display: flex;
303
303
  justify-content: space-between;
304
304
  margin: ${r.sp2} ${r.sp0};
@@ -307,7 +307,7 @@ import{J as he,e as Me,a9 as me,y as d,c$ as ue,V as t,fc as He,ac as ge,ap as B
307
307
  min-height: 1px;
308
308
  max-height: 1px;
309
309
  width: 100%;
310
- `,yt=i(j)`
310
+ `,bt=i(j)`
311
311
  width: ${e=>`${P.recurringExpenseMerchantWidth.valuePx(e.windowSize)}`};
312
312
  text-align: left;
313
313
  color: inherit;
@@ -374,7 +374,7 @@ import{J as he,e as Me,a9 as me,y as d,c$ as ue,V as t,fc as He,ac as ge,ap as B
374
374
  margin-bottom: ${r.sp3};
375
375
  margin-top: ${r.sp7};
376
376
  color: ${e=>e.theme.colors.primary};
377
- `,L={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(y[3],y[4]),cardNameSectionMarginLeft:new d(y[7],0),cardHolderDetailsGap:new d(y[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(y[3],0)},{lockCard:M,common:C}=U.getLocalizedStrings().spendManagement.chargeCard,k="reasonSection",Ae="lockCardPage",E=(e,h)=>`${e}.${h}`,Ee=e=>`${e}_form`,{common:je,dateFormat:Nt,cockpit:It}=U.getLocalizedStrings(),zi=({showLockCardDrawer:e,onCloseLockCardDrawer:h,isChargeCardAdmin:c,chargeCardsByCardId:p,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:b,lockCardFetchState:n,onRemoveCardClick:m,onConfirmClick:R,onDismissClick:N})=>{const o=he(),T=Me(),[$,H]=ae.useState(Object.fromEntries(Object.keys(l).map((s,g)=>[s,g===0]))),B=s=>{H(g=>g[s]?{...g,[s]:!1}:{...Object.fromEntries(Object.keys(g).map(x=>[x,!1])),[s]:!0})},v=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[k]:{reason:void 0,reasonType:void 0}},values:{[k]:{reason:void 0,reasonType:void 0}}}),W=L.largeLabelWidth.value(o),{isValid:V,errors:O}=v.formState,K=s=>`${p[s].cardHolderUser?.firstName??""} ${p[s].cardHolderUser?.lastName??""}`,J=ue(O,E(k,"reasonType")),I=v.watch("reasonSection.reasonType"),Y=v.handleSubmit(()=>{if(V){const s=v.getValues(),g={reason:s[k].reason,reasonType:s[k].reasonType};R(g)}}),u=Object.keys(l).length>1,F=Object.keys(l).length,D=Object.values(l).reduce((s,g)=>s+g.length,0),a=l[Object.keys(l)[0]].length>0;return t.jsx(He,{anchor:"right",open:e,onClose:h,PaperProps:{style:{width:L.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:T.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(Ft,{windowSize:o,children:[t.jsxs(At,{windowSize:o,children:[t.jsx(Ot,{windowSize:o,children:t.jsx(Mt,{onClick:()=>{N()}})}),o==="small"?t.jsx(Xt,{windowSize:o,children:u?M.lockCards:M.lockCard}):t.jsx(qt,{children:u?M.lockCards:M.lockCard}),b==="Completed"?t.jsx(ge,{...v,children:t.jsxs("form",{id:Ee(Ae),onSubmit:Y,children:[t.jsxs(Gt,{children:[t.jsx(Kt,{windowSize:o,children:u?D>0?`${M.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",F.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?C.expense:C.expenses}.`:M.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",F.toString()):a?M.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?C.expense:C.expenses):M.firstCardNoRecurringExpenses}),u&&t.jsx(mi,{children:`${F} ${F===1?C.card:C.cards} ${C.selected}`}),Object.keys(l).map((s,g)=>{const x=l[s].length>0;return t.jsxs(Jt,{onClick:()=>x?B(s):void 0,isMoreThanOneCard:u,isLastCard:g===Object.keys(l).length-1,children:[t.jsxs(Qt,{windowSize:o,children:[t.jsxs(Rt,{windowSize:o,children:[t.jsxs(ei,{windowSize:o,children:[p[s].cardHolderUser?.photo!==void 0?t.jsx(Ht,{src:p[s].cardHolderUser?.photo.href,alt:It.userProfileAltText,onError:({currentTarget:f})=>{f.onerror=null,f.src=Be},loading:"lazy"}):t.jsx(Ue,{firstName:p[s].cardHolderUser?.firstName??"",lastName:p[s].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(Zt,{children:K(s)}),t.jsx(ri,{children:t.jsx(ir,{roles:p[s].cardHolderRoles.userRoles})})]})]}),o==="small"&&x&&($[s]?t.jsx(Oe,{}):t.jsx(_e,{}))]}),t.jsxs(ti,{windowSize:o,children:[p[s].cardName,t.jsx(or,{cardDetail:p[s],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs(ii,{windowSize:o,children:[t.jsxs(li,{children:[t.jsx(pi,{children:l[s].length}),t.jsx(ci,{children:C.recurringExpenses})]}),o!=="small"&&x&&($[s]?t.jsx(Oe,{}):t.jsx(_e,{}))]})]}),u&&t.jsx(Et,{children:t.jsx(Ve,{variant:"standard",title:je.remove,children:t.jsx(Ut,{onClick:()=>m(s)})})}),$[s]&&x&&t.jsxs(t.Fragment,{children:[t.jsx(Re,{}),t.jsxs(oi,{children:[t.jsxs(hi,{children:[t.jsx(Se,{width:o==="small"?112:240,children:C.merchant}),t.jsx(Se,{width:o==="small"?112:104,children:C.nextPaymentDate}),t.jsx(ui,{width:o==="small"?100:312,children:C.amount})]}),l[s].map((f,se)=>t.jsxs("div",{children:[se>0&&t.jsx(Re,{}),t.jsxs(ai,{children:[t.jsxs(si,{windowSize:o,children:[t.jsx(Wt,{src:f.merchant.logo?.url?.href}),t.jsx(Bt,{windowSize:o,children:f.merchant.brandName??f.merchant.name})]}),t.jsx(ni,{windowSize:o,children:f.nextPaymentDate.format(Nt.visual.MMMDCommaYYYYformat)}),t.jsx(di,{windowSize:o,children:re("0,0.00",f.amount)})]},f.merchant.name)]},f.merchant.name))]})]})]},s)})]}),t.jsx(xi,{windowSize:o,children:C.letUsKnowWhy}),t.jsxs(gi,{isReasonTextFieldVisible:I==="other",children:[t.jsxs(Vt,{size:o,children:[t.jsx(Ye,{label:C.reasonLabel,htmlFor:E(k,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(Yt,{labelWidth:W,size:o,children:[t.jsx(X,{label:{label:C.reason.lost},style:{width:"auto"},radioField:{name:E(k,"reasonType"),id:`${E(k,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(X,{label:{label:C.reason.fraud},style:{width:"auto"},radioField:{name:E(k,"reasonType"),id:`${E(k,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(X,{label:{label:C.reason.not_needed},style:{width:"auto"},radioField:{name:E(k,"reasonType"),id:`${E(k,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(X,{label:{label:C.reason.other},style:{width:"auto"},radioField:{name:E(k,"reasonType"),id:`${E(k,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},radioSize:"small"}})]})]}),I==="other"?t.jsx(Xe,{style:{height:r.sp6,width:"100%",backgroundColor:T.colors.background,marginTop:`${L.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:E(k,"reason"),placeholder:M.reasonPlaceholder,className:"reason-text-field"}):I==null&&!c&&J?t.jsx(_t,{children:M.youNeedToProvideReasonToLockCard}):null]})]})}):t.jsx(qe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),b==="Completed"&&t.jsx(Ge,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:Ee(Ae),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:je.confirm,isLoading:n==="In-Progress"},cancelBtn:{label:je.cancel,style:{width:"90px"},onClick:()=>{N?.()}}})]})})},Ft=i.div`
377
+ `,L={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(b[3],b[4]),cardNameSectionMarginLeft:new d(b[7],0),cardHolderDetailsGap:new d(b[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(b[3],0)},{lockCard:M,common:C}=U.getLocalizedStrings().spendManagement.chargeCard,k="reasonSection",Ae="lockCardPage",E=(e,h)=>`${e}.${h}`,Ee=e=>`${e}_form`,{common:je,dateFormat:Nt,cockpit:It}=U.getLocalizedStrings(),zi=({showLockCardDrawer:e,onCloseLockCardDrawer:h,isChargeCardAdmin:c,chargeCardsByCardId:p,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:y,lockCardFetchState:n,onRemoveCardClick:m,onConfirmClick:R,onDismissClick:N})=>{const o=he(),T=Me(),[$,H]=ae.useState(Object.fromEntries(Object.keys(l).map((s,g)=>[s,g===0]))),B=s=>{H(g=>g[s]?{...g,[s]:!1}:{...Object.fromEntries(Object.keys(g).map(x=>[x,!1])),[s]:!0})},v=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[k]:{reason:void 0,reasonType:void 0}},values:{[k]:{reason:void 0,reasonType:void 0}}}),W=L.largeLabelWidth.value(o),{isValid:V,errors:O}=v.formState,K=s=>`${p[s].cardHolderUser?.firstName??""} ${p[s].cardHolderUser?.lastName??""}`,J=ue(O,E(k,"reasonType")),I=v.watch("reasonSection.reasonType"),Y=v.handleSubmit(()=>{if(V){const s=v.getValues(),g={reason:s[k].reason,reasonType:s[k].reasonType};R(g)}}),u=Object.keys(l).length>1,F=Object.keys(l).length,D=Object.values(l).reduce((s,g)=>s+g.length,0),a=l[Object.keys(l)[0]].length>0;return t.jsx(He,{anchor:"right",open:e,onClose:h,PaperProps:{style:{width:L.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:T.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(Ft,{windowSize:o,children:[t.jsxs(At,{windowSize:o,children:[t.jsx(Ot,{windowSize:o,children:t.jsx(Mt,{onClick:()=>{N()}})}),o==="small"?t.jsx(Xt,{windowSize:o,children:u?M.lockCards:M.lockCard}):t.jsx(qt,{children:u?M.lockCards:M.lockCard}),y==="Completed"?t.jsx(ge,{...v,children:t.jsxs("form",{id:Ee(Ae),onSubmit:Y,children:[t.jsxs(Gt,{children:[t.jsx(Kt,{windowSize:o,children:u?D>0?`${M.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",F.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?C.expense:C.expenses}.`:M.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",F.toString()):a?M.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?C.expense:C.expenses):M.firstCardNoRecurringExpenses}),u&&t.jsx(mi,{children:`${F} ${F===1?C.card:C.cards} ${C.selected}`}),Object.keys(l).map((s,g)=>{const x=l[s].length>0;return t.jsxs(Jt,{onClick:()=>x?B(s):void 0,isMoreThanOneCard:u,isLastCard:g===Object.keys(l).length-1,children:[t.jsxs(Qt,{windowSize:o,children:[t.jsxs(Rt,{windowSize:o,children:[t.jsxs(ei,{windowSize:o,children:[p[s].cardHolderUser?.photo!==void 0?t.jsx(Ht,{src:p[s].cardHolderUser?.photo.href,alt:It.userProfileAltText,onError:({currentTarget:f})=>{f.onerror=null,f.src=Be},loading:"lazy"}):t.jsx(Ue,{firstName:p[s].cardHolderUser?.firstName??"",lastName:p[s].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(Zt,{children:K(s)}),t.jsx(ri,{children:t.jsx(ir,{roles:p[s].cardHolderRoles.userRoles})})]})]}),o==="small"&&x&&($[s]?t.jsx(Oe,{}):t.jsx(_e,{}))]}),t.jsxs(ti,{windowSize:o,children:[p[s].cardName,t.jsx(or,{cardDetail:p[s],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs(ii,{windowSize:o,children:[t.jsxs(li,{children:[t.jsx(pi,{children:l[s].length}),t.jsx(ci,{children:C.recurringExpenses})]}),o!=="small"&&x&&($[s]?t.jsx(Oe,{}):t.jsx(_e,{}))]})]}),u&&t.jsx(Et,{children:t.jsx(Ve,{variant:"standard",title:je.remove,children:t.jsx(Ut,{onClick:()=>m(s)})})}),$[s]&&x&&t.jsxs(t.Fragment,{children:[t.jsx(Re,{}),t.jsxs(oi,{children:[t.jsxs(hi,{children:[t.jsx(Se,{width:o==="small"?112:240,children:C.merchant}),t.jsx(Se,{width:o==="small"?112:104,children:C.nextPaymentDate}),t.jsx(ui,{width:o==="small"?100:312,children:C.amount})]}),l[s].map((f,se)=>t.jsxs("div",{children:[se>0&&t.jsx(Re,{}),t.jsxs(ai,{children:[t.jsxs(si,{windowSize:o,children:[t.jsx(Wt,{src:f.merchant.logo?.url?.href}),t.jsx(Bt,{windowSize:o,children:f.merchant.brandName??f.merchant.name})]}),t.jsx(ni,{windowSize:o,children:f.nextPaymentDate.format(Nt.visual.MMMDCommaYYYYformat)}),t.jsx(di,{windowSize:o,children:re("0,0.00",f.amount)})]},f.merchant.name)]},f.merchant.name))]})]})]},s)})]}),t.jsx(xi,{windowSize:o,children:C.letUsKnowWhy}),t.jsxs(gi,{isReasonTextFieldVisible:I==="other",children:[t.jsxs(Vt,{size:o,children:[t.jsx(Ye,{label:C.reasonLabel,htmlFor:E(k,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(Yt,{labelWidth:W,size:o,children:[t.jsx(X,{label:{label:C.reason.lost},style:{width:"auto"},radioField:{name:E(k,"reasonType"),id:`${E(k,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(X,{label:{label:C.reason.fraud},style:{width:"auto"},radioField:{name:E(k,"reasonType"),id:`${E(k,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(X,{label:{label:C.reason.not_needed},style:{width:"auto"},radioField:{name:E(k,"reasonType"),id:`${E(k,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(X,{label:{label:C.reason.other},style:{width:"auto"},radioField:{name:E(k,"reasonType"),id:`${E(k,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},radioSize:"small"}})]})]}),I==="other"?t.jsx(Xe,{style:{height:r.sp6,width:"100%",backgroundColor:T.colors.background,marginTop:`${L.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:E(k,"reason"),placeholder:M.reasonPlaceholder,className:"reason-text-field"}):I==null&&!c&&J?t.jsx(_t,{children:M.youNeedToProvideReasonToLockCard}):null]})]})}):t.jsx(qe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),y==="Completed"&&t.jsx(Ge,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:Ee(Ae),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:je.confirm,isLoading:n==="In-Progress"},cancelBtn:{label:je.cancel,style:{width:"90px"},onClick:()=>{N?.()}}})]})})},Ft=i.div`
378
378
  display: flex;
379
379
  flex-direction: column;
380
380
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{F as M,J as A,a9 as W,V as a,ac as R,cq as v,cM as V,y as m,cP as z,o as t,cs as E,u,bb as U,aV as J,bW as Y}from"./index-GSKpJ8ET.js";import{n as d}from"./mui-DenpH-hx.js";import{tM as _,bL as $,bh as S}from"./zeni-epic-state-BKgIzPpM.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]="3edace9a-6466-43c3-b042-96eb75a25fc3",e._sentryDebugIdIdentifier="sentry-dbid-3edace9a-6466-43c3-b042-96eb75a25fc3")}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{F as M,J as A,a9 as W,V as a,ac as R,cq as v,cM as V,y as m,cP as z,o as t,cs as E,u,bb as U,aV as J,bW as Y}from"./index-Dm-b67Hf.js";import{n as d}from"./mui-BLkKBV85.js";import{tM as _,bL as $,bh as S}from"./zeni-epic-state-TdgpFmku.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]="3edace9a-6466-43c3-b042-96eb75a25fc3",e._sentryDebugIdIdentifier="sentry-dbid-3edace9a-6466-43c3-b042-96eb75a25fc3")}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-Dm-b67Hf.js";import{f as l}from"./ACHDetailsPage-49jTvZnX-Be-zaLi0.js";import"./sentry-C2Rgx3zV.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./zeni-epic-state-TdgpFmku.js";import"./mui-BLkKBV85.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./BankAccountWarningSection-l79_AN7P-wzRxiGEn.js";import"./MagicLinkTitleSection-ygghGjqi-CPCSmIlY.js";import"./BankAccountSection-DGuhn7CN-DmUf2oBe.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="2d251fbf-0481-46b6-950f-62c6733af0c1",t._sentryDebugIdIdentifier="sentry-dbid-2d251fbf-0481-46b6-950f-62c6733af0c1")}catch{}})();const _=({magicLinkViewState:t,magicLinkBankAccountDetails:e,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:f,bankAccountToCreate:s,fetchBankNameByRoutingStatus:d}=e,{currencySymbol:u,amount:p}=t;return b.jsx(l,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:f,fetchBankNameByRoutingStatus:d,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:u,amount:p})};export{_ as default};
@@ -0,0 +1 @@
1
+ import{V as y}from"./index-Dm-b67Hf.js";import{D as g}from"./DomesticWireDetailsPage-t6W8wYH8-BW3aYQzE.js";import"./sentry-C2Rgx3zV.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./zeni-epic-state-TdgpFmku.js";import"./mui-BLkKBV85.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./BankAccountSection-DGuhn7CN-DmUf2oBe.js";import"./MagicLinkTitleSection-ygghGjqi-CPCSmIlY.js";import"./BankAccountWarningSection-l79_AN7P-wzRxiGEn.js";import"./MailingDetailsSection-DtuTgXeV-BAt57tta.js";import"./LabeledAddressValueField-Ckm80g0_-fddiRWcN.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]="9a8b0cf6-f125-4e7a-aba5-85dff53216d7",e._sentryDebugIdIdentifier="sentry-dbid-9a8b0cf6-f125-4e7a-aba5-85dff53216d7")}catch{}})();const E=({magicLinkViewState:e,magicLinkBankAccountDetails:t,mailingAddressDetails:a,isDisabled:o,companyName:n,onSaveHandler:r,onWireDetailsUpdated:i,onFetchBankName:d,onAddressClick:s})=>{const{fetchState:m,error:c,bankNameByRouting:f,bankAccountToCreate:p,fetchBankNameByRoutingStatus:u}=t,{currencySymbol:l,amount:b}=e;return y.jsx(g,{bankAccountToCreate:p,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:f,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:u,isDisabled:o,onSaveHandler:r,onWireDetailsUpdated:i,onAddressClick:s,onFetchBankName:d,companyName:n,isMagicLink:!0,currencySymbol:l,amount:b})};export{E as default};
@@ -0,0 +1 @@
1
+ import{V as y}from"./index-Dm-b67Hf.js";import{f as b}from"./InternationalWireSwiftDetailsPage-8g16Kgfi-B71tbLSL.js";import"./sentry-C2Rgx3zV.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./zeni-epic-state-TdgpFmku.js";import"./mui-BLkKBV85.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./BankAccountWarningSection-l79_AN7P-wzRxiGEn.js";import"./MailingDetailsSection-DtuTgXeV-BAt57tta.js";import"./LabeledAddressValueField-Ckm80g0_-fddiRWcN.js";import"./MagicLinkTitleSection-ygghGjqi-CPCSmIlY.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="377ca030-c6e7-4721-90c9-13a0be4ba5a9",t._sentryDebugIdIdentifier="sentry-dbid-377ca030-c6e7-4721-90c9-13a0be4ba5a9")}catch{}})();const x=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:s,onAddressClick:d})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:m,fetchBankNameBySwiftStatus:l,bankNameBySwift:f}=e,{currencySymbol:p,amount:u}=t;return y.jsx(b,{bankAccountToCreate:m,bankAccountCreationState:c,bankNameBySwift:f,addressToEdit:a,addressType:"vendor_address",fetchBankNameBySwiftStatus:l,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:d,onFetchBankNameBySwift:s,companyName:i,isMagicLink:!0,currencySymbol:p,amount:u})};export{x as default};
@@ -1,4 +1,4 @@
1
- import{av as s,F as n,V as t,b6 as l,o as r,af as a,R as c,d}from"./index-GSKpJ8ET.js";import{n as o}from"./mui-DenpH-hx.js";import"./sentry-BZBky1_g.js";import"./liveblocks-D1OOExFG.js";import"./core-CEu4PzGb.js";import"./recharts-9NtTDQfo.js";import"./zeni-epic-state-BKgIzPpM.js";import"./lottie-fNTw06NH.js";import"./analytics-DgE91yP9.js";import"./lexical-CnqcqOEB.js";import"./utils-CHibiken.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]="0a4ed58b-26b8-4fa3-9939-3eed35ea9503",e._sentryDebugIdIdentifier="sentry-dbid-0a4ed58b-26b8-4fa3-9939-3eed35ea9503")}catch{}})();const _=()=>{const[e]=s("Confetti"),i=n.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(b,{})}),t.jsxs(m,{children:[t.jsx(f,{children:i.successTitle}),t.jsx(g,{children:i.successNote})]})]}):null},p=o.div`
1
+ import{av as s,F as n,V as t,b6 as l,o as r,af as a,R as c,d}from"./index-Dm-b67Hf.js";import{n as o}from"./mui-BLkKBV85.js";import"./sentry-C2Rgx3zV.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./zeni-epic-state-TdgpFmku.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.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]="0a4ed58b-26b8-4fa3-9939-3eed35ea9503",e._sentryDebugIdIdentifier="sentry-dbid-0a4ed58b-26b8-4fa3-9939-3eed35ea9503")}catch{}})();const _=()=>{const[e]=s("Confetti"),i=n.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(b,{})}),t.jsxs(m,{children:[t.jsx(f,{children:i.successTitle}),t.jsx(g,{children:i.successNote})]})]}):null},p=o.div`
2
2
  z-index: 999;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{F as d,aZ as p,V as n,R as C,o as t,al as f,p as m,cj as g}from"./index-GSKpJ8ET.js";import{n as a}from"./mui-DenpH-hx.js";import{a as c}from"./sentry-BZBky1_g.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]="c34881db-2dc4-4f40-ad86-e0dc882c28f3",e._sentryDebugIdIdentifier="sentry-dbid-c34881db-2dc4-4f40-ad86-e0dc882c28f3")}catch{}})();const y=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.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"})),$=({companyName:e,currencySymbol:s,amount:r})=>{const i=d.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,l=r>0?` ${p("0,0.[00]",r,s)}`:"",o=i.title.replace(/<tenant_name>/,e)+l;return n.jsxs(n.Fragment,{children:[n.jsx(w,{children:o}),n.jsxs(b,{children:[i.description.replace(/<tenant_name>/,e),n.jsxs(u,{children:[n.jsx(h,{}),i.encrypted]})]})]})},u=a(g)`
1
+ import{F as d,aZ as p,V as n,R as C,o as t,al as f,p as m,cj as g}from"./index-Dm-b67Hf.js";import{n as a}from"./mui-BLkKBV85.js";import{a as c}from"./sentry-C2Rgx3zV.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]="c34881db-2dc4-4f40-ad86-e0dc882c28f3",e._sentryDebugIdIdentifier="sentry-dbid-c34881db-2dc4-4f40-ad86-e0dc882c28f3")}catch{}})();const y=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.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"})),$=({companyName:e,currencySymbol:s,amount:r})=>{const i=d.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,l=r>0?` ${p("0,0.[00]",r,s)}`:"",o=i.title.replace(/<tenant_name>/,e)+l;return n.jsxs(n.Fragment,{children:[n.jsx(w,{children:o}),n.jsxs(b,{children:[i.description.replace(/<tenant_name>/,e),n.jsxs(u,{children:[n.jsx(h,{}),i.encrypted]})]})]})},u=a(g)`
2
2
  display: flex;
3
3
  gap: ${t.sp1};
4
4
  color: ${m.successDark};
@@ -1,4 +1,4 @@
1
- import{J as b,F as u,y as r,V as s,o as a,cL as h,ba as $,u as i}from"./index-GSKpJ8ET.js";import{n as g}from"./mui-DenpH-hx.js";import{C as y}from"./LabeledAddressValueField-DMcor_I8-C6G1J4Y2.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]="550f668d-1fc1-433a-9212-6945039a28d4",e._sentryDebugIdIdentifier="sentry-dbid-550f668d-1fc1-433a-9212-6945039a28d4")}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:m,onAddressClick:p})=>{const l=b(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,f=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(y,{isDisabled:m,label:{label:t.address,width:f},addressValueField:{name:w(e,"mailingAddress"),placeholder:h(t.address),defaultValue:o,registerOptions:{validate:c=>c!=null},onClick:()=>{p(n)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,o)=>`${e}.${o}`,x=g.div`
1
+ import{J as f,F as u,y as r,V as s,o as a,cL as h,ba as $,u as i}from"./index-Dm-b67Hf.js";import{n as g}from"./mui-BLkKBV85.js";import{C as y}from"./LabeledAddressValueField-Ckm80g0_-fddiRWcN.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]="c0f3faab-1c39-4573-be5c-8d398d69194e",e._sentryDebugIdIdentifier="sentry-dbid-c0f3faab-1c39-4573-be5c-8d398d69194e")}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:m,onAddressClick:p})=>{const l=f(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,c=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(y,{isDisabled:m,label:{label:t.address,width:c},addressValueField:{name:w(e,"mailingAddress"),placeholder:h(t.address),defaultValue:o,registerOptions:{validate:b=>b!=null},onClick:()=>{p(n)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,o)=>`${e}.${o}`,x=g.div`
2
2
  width: auto;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{e as z,J as M,fB as I,F as v,aW as x,V as i,bD as _,aa as $,fv as H,o,bx as P,y as d,am as L,al as B,b as N,N as W,fH as j,fI as C,u,fR as R,p as T,ai as F}from"./index-GSKpJ8ET.js";import{a as y}from"./sentry-BZBky1_g.js";import{n as t}from"./mui-DenpH-hx.js";import{bL as J}from"./zeni-epic-state-BKgIzPpM.js";import"./liveblocks-D1OOExFG.js";import"./core-CEu4PzGb.js";import"./recharts-9NtTDQfo.js";import"./lottie-fNTw06NH.js";import"./analytics-DgE91yP9.js";import"./lexical-CnqcqOEB.js";import"./utils-CHibiken.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="61a52ed5-4f82-4b24-9436-fb52ed2b51b8",e._sentryDebugIdIdentifier="sentry-dbid-61a52ed5-4f82-4b24-9436-fb52ed2b51b8")}catch{}})();const s={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},V={title:new W("standardMedium","largeMedium")},E=t.img`
1
+ import{e as z,J as M,fB as I,F as v,aW as x,V as i,bD as _,aa as $,fv as H,o,bx as P,y as d,am as L,al as B,b as N,N as W,fH as j,fI as C,u,fR as R,p as T,ai as F}from"./index-Dm-b67Hf.js";import{a as y}from"./sentry-C2Rgx3zV.js";import{n as t}from"./mui-BLkKBV85.js";import{bL as J}from"./zeni-epic-state-TdgpFmku.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="61a52ed5-4f82-4b24-9436-fb52ed2b51b8",e._sentryDebugIdIdentifier="sentry-dbid-61a52ed5-4f82-4b24-9436-fb52ed2b51b8")}catch{}})();const s={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},V={title:new W("standardMedium","largeMedium")},E=t.img`
2
2
  width: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
3
3
  height: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
4
4
  border-radius: ${o.sp11};
@@ -1,4 +1,4 @@
1
- import{e as D,aw as N,iP as a,V as n,bD as B,g7 as x,F as P,o as M}from"./index-GSKpJ8ET.js";import{n as O}from"./mui-DenpH-hx.js";import{EP as V}from"./zeni-epic-state-BKgIzPpM.js";import{r as $,i as j}from"./ChargeCardListTable-ByGv0xWl-DMSCDnKA.js";import"./sentry-BZBky1_g.js";import"./liveblocks-D1OOExFG.js";import"./core-CEu4PzGb.js";import"./recharts-9NtTDQfo.js";import"./lottie-fNTw06NH.js";import"./analytics-DgE91yP9.js";import"./lexical-CnqcqOEB.js";import"./utils-CHibiken.js";import"./RoleWithToolTip-C29QOzxS-BIz3hnmq.js";import"./CardNumberSubText-CFDhtij8-Dsv6kEZQ.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]="73a40350-ad87-4819-8d0c-537b97d43275",e._sentryDebugIdIdentifier="sentry-dbid-73a40350-ad87-4819-8d0c-537b97d43275")}catch{}})();const{spendManagement:{chargeCard:u}}=P.getLocalizedStrings(),at=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:i,isDebitCardFeatureEnabled:o,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:r,creditAccount:d,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:c,controllerEmails:b,signedInUser:S,onChargeCardRowClick:p,onBackClick:f,onReloadCards:g,onColumnSortConfigChanged:k})=>{const A=D(),y=N(),h=V(y.loggedInUserRoleMap),F=e.cards.some(t=>t.type.code.includes("credit")),m=e.cards.some(t=>t.type.code.includes("debit")),I=F&&m?u.cardList.title.cards:m?u.cardList.title.debit:u.cardList.title.credit,v=h===!0?{creditCardCashbackOffer:`${r.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${r.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:a(r.cashbackSummary.cashbackEarned.amount),redeemedCashback:a(r.cashbackSummary.cashbackRedeemed.amount),availableCashback:a(r.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:r.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:r.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,w=i&&l&&h===!0?{creditAccountId:d.id,creditAccountLimit:a(d.limit.amount),creditAccountAvailableAmount:a(d.available.amount),creditAccountSpentAmount:a(d.balance.amount+d.hold.amount),creditAccountStatus:d.status,outstandingBalance:a(C.remainingAmountDue.amount)}:void 0,E=o&&s?{debitAccountId:c.depositAccounts.map(t=>t.id),debitAccountName:c.depositAccounts.map(t=>t.accountName),debitAccountBalance:c.depositAccounts.map(t=>a(t.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:c.depositAccounts.map(t=>t.accountStatus)}:void 0,L={isCreditCardOffered:i,isDebitCardOffered:o,isDebitCardEnabled:s,isCreditCardEnabled:l},R={revokeChargeCardFetchState:{fetchState:"Not-Started"},unlockChargeCardsFetchState:{fetchState:"Not-Started"},lockChargeCardsFetchState:{fetchState:"Not-Started"},closeChargeCardsFetchState:{fetchState:"Not-Started"},updateChargeCardLimitFetchState:{fetchState:"Not-Started"},updateChargeCardNameFetchState:{fetchState:"Not-Started"},depositAccountLimitFetchState:{fetchState:"Not-Started"},recurringExpenses:[],recurringExpensesFetchState:{fetchState:"Not-Started"}};return n.jsxs(T,{children:[n.jsx(B,{title:I,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:f,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?n.jsx(x,{fetchState:e.fetchState,styles:{margin:"auto"}}):n.jsx($,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:j,isCardControlsEnabled:!1,cardsSelectedForBulkAction:[],isBulkActionAllowed:!1,firstSelectedCardStatus:void 0,setActionTypeForRowAction:()=>{},setCardIdForRowAction:()=>{},controllerEmails:b,isChargeCardFeatureEnabled:i,isDebitCardFeatureEnabled:o,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:d,creditAccountRepayment:C,productInformation:L,cashbackInformation:v,creditAccountInformation:w,debitAccountInformation:E,depositAccountListWithDebitCardIssued:c,cardList:e.cards,showViewForCardUser:!0,signedInUser:S,fetchState:e.fetchState,unlockChargeCardsFetchState:"Not-Started",revokeChargeCardsInviteFetchState:"Not-Started",rowActionView:R,onProceedForBulkActionClick:t=>{},removeAllCardsFromBulkActionList:()=>{},setShowBulkChangeSpendLimitPopup:t=>{},updateBulkActionList:t=>{},onReloadCards:g,onChargeCardRowClick:(t,U)=>{p(t)},uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{}})]})},T=O.div`
1
+ import{e as D,aw as N,iP as a,V as n,bD as B,g7 as x,F as P,o as M}from"./index-Dm-b67Hf.js";import{n as O}from"./mui-BLkKBV85.js";import{EP as V}from"./zeni-epic-state-TdgpFmku.js";import{r as $,i as j}from"./ChargeCardListTable-CbqF_9f3-C6X1RqBh.js";import"./sentry-C2Rgx3zV.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./RoleWithToolTip-BCeMfqCC-DiZyrWD_.js";import"./CardNumberSubText-Md18DQb7-Ci7Q_wrC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="21d61a52-23ab-4228-98b0-595435246f92",e._sentryDebugIdIdentifier="sentry-dbid-21d61a52-23ab-4228-98b0-595435246f92")}catch{}})();const{spendManagement:{chargeCard:u}}=P.getLocalizedStrings(),at=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:d,isDebitCardFeatureEnabled:o,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:r,creditAccount:i,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:c,controllerEmails:b,signedInUser:S,onChargeCardRowClick:p,onBackClick:f,onReloadCards:g,onColumnSortConfigChanged:k})=>{const A=D(),y=N(),h=V(y.loggedInUserRoleMap),F=e.cards.some(t=>t.type.code.includes("credit")),m=e.cards.some(t=>t.type.code.includes("debit")),I=F&&m?u.cardList.title.cards:m?u.cardList.title.debit:u.cardList.title.credit,v=h===!0?{creditCardCashbackOffer:`${r.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${r.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:a(r.cashbackSummary.cashbackEarned.amount),redeemedCashback:a(r.cashbackSummary.cashbackRedeemed.amount),availableCashback:a(r.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:r.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:r.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,w=d&&l&&h===!0?{creditAccountId:i.id,creditAccountLimit:a(i.limit.amount),creditAccountAvailableAmount:a(i.available.amount),creditAccountSpentAmount:a(i.balance.amount+i.hold.amount),creditAccountStatus:i.status,outstandingBalance:a(C.remainingAmountDue.amount)}:void 0,E=o&&s?{debitAccountId:c.depositAccounts.map(t=>t.id),debitAccountName:c.depositAccounts.map(t=>t.accountName),debitAccountBalance:c.depositAccounts.map(t=>a(t.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:c.depositAccounts.map(t=>t.accountStatus)}:void 0,L={isCreditCardOffered:d,isDebitCardOffered:o,isDebitCardEnabled:s,isCreditCardEnabled:l},R={revokeChargeCardFetchState:{fetchState:"Not-Started"},unlockChargeCardsFetchState:{fetchState:"Not-Started"},lockChargeCardsFetchState:{fetchState:"Not-Started"},closeChargeCardsFetchState:{fetchState:"Not-Started"},updateChargeCardLimitFetchState:{fetchState:"Not-Started"},updateChargeCardNameFetchState:{fetchState:"Not-Started"},depositAccountLimitFetchState:{fetchState:"Not-Started"},recurringExpenses:[],recurringExpensesFetchState:{fetchState:"Not-Started"}};return n.jsxs(T,{children:[n.jsx(B,{title:I,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:f,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?n.jsx(x,{fetchState:e.fetchState,styles:{margin:"auto"}}):n.jsx($,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:j,isCardControlsEnabled:!1,cardsSelectedForBulkAction:[],isBulkActionAllowed:!1,firstSelectedCardStatus:void 0,setActionTypeForRowAction:()=>{},setCardIdForRowAction:()=>{},controllerEmails:b,isChargeCardFeatureEnabled:d,isDebitCardFeatureEnabled:o,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:i,creditAccountRepayment:C,productInformation:L,cashbackInformation:v,creditAccountInformation:w,debitAccountInformation:E,depositAccountListWithDebitCardIssued:c,cardList:e.cards,showViewForCardUser:!0,signedInUser:S,fetchState:e.fetchState,unlockChargeCardsFetchState:"Not-Started",revokeChargeCardsInviteFetchState:"Not-Started",rowActionView:R,onProceedForBulkActionClick:t=>{},removeAllCardsFromBulkActionList:()=>{},setShowBulkChangeSpendLimitPopup:t=>{},updateBulkActionList:t=>{},onReloadCards:g,onChargeCardRowClick:(t,U)=>{p(t)},uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{}})]})},T=O.div`
2
2
  display: flex;
3
3
  min-height: ${`calc(100vh - ${M.sp9})`};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{J as ie,fU as te,e as ge,aw as be,fV as ye,a9 as we,aE as xe,cH as Pe,cG as $e,F as re,V as l,fW as De,bD as ve,ac as Se,aS as Oe,o as s,cC as ne,fX as de,fY as ce,fZ as ue,y as L,am as me,b as Re,N as je,aK as ee,cS as Ce,cJ as Le,f_ as E,cP as Te,cN as Ie,f$ as Ve,b0 as Ne,u as W}from"./index-GSKpJ8ET.js";import{a as $}from"./sentry-BZBky1_g.js";import{n as m}from"./mui-DenpH-hx.js";import{bi as le,bg as pe,bL as Be,bh as ke}from"./zeni-epic-state-BKgIzPpM.js";import{C as ze}from"./LabeledAddressValueField-DMcor_I8-C6G1J4Y2.js";import{Y as Fe}from"./LabeledUserSingleSelectWithSubtitlesField-CIofqRT6-l_A9LTk7.js";import{C as Ae,j as Me}from"./LabeledZeniRolesDropDownField-DiBtAWQ3-_N52HAlB.js";import"./liveblocks-D1OOExFG.js";import"./core-CEu4PzGb.js";import"./recharts-9NtTDQfo.js";import"./lottie-fNTw06NH.js";import"./analytics-DgE91yP9.js";import"./lexical-CnqcqOEB.js";import"./utils-CHibiken.js";import"./RoleWithToolTip-C29QOzxS-BIz3hnmq.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]="82e7dde7-c066-4e47-8979-c7486a4027e8",e._sentryDebugIdIdentifier="sentry-dbid-82e7dde7-c066-4e47-8979-c7486a4027e8")}catch{}})();const b=(e,o)=>`${e}.${o}`,k={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(W[2],W[3]),toolTipWidth:new L(215,237),notePadding:new L(W[3],W[4]),noteGap:new L(W[0],6)},{peoplePage:a,common:{settings:se,labels:J,placeholder:B,errorMessage:_e},dateFormat:We}=re.getLocalizedStrings(),Ue=({myProfileView:e,isZeniFinopsRolesUser:o,sectionId:t,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:i,isBankingOnlyTenant:f,isCardsOnlyTenant:D,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:w})=>{const n=ie(),{person:r,managersList:z,classList:F,manager:G,department:g,controllersList:A,myProfileLocalData:M,addressData:K}=e,H=e.person.user?.birthday!=null?"readonly":void 0,v=k.largeLabelWidth.value(n),I=k.largeLabelWidth.value(n),Y=$.useMemo(()=>te(y,p,i,f,D,T,h),[y,p,i,f,D,T,h]),{firstController:x,restControllerEmailsStr:S}=$.useMemo(()=>{const c=ee(A),O=c.splice(0,1),R=c.reduce((V,N)=>V.concat(`${N.email},`),"");return{firstController:O,restControllerEmailsStr:R}},[A]),q=$.useMemo(()=>ee(ne.roles),[]),d=pe(r.userRole!=null?r.userRole.userRoles:[]),U=$.useMemo(()=>F.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[F]);return l.jsxs(Ee,{windowSize:n,children:[l.jsx(Ce,{isDisabled:u,label:{label:J.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:B.firstNamePlaceholder,lastName:B.lastNamePlaceholder,name:B.namePlaceholder},showFullNameError:!0},errorInfoLabel:_e.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Le,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:v},text:{type:"text",name:b(t,"email"),placeholder:E(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${k.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Te,{label:{label:J.dateOfBirth,width:I},style:{width:"auto"},isDisabled:H,dateField:{name:b(t,"dateOfBirth"),placeholder:B.datePlaceholder,defaultValue:M.dateOfBirth,dateFormat:We.visual.defaultInput,autoComplete:"off",maxDate:ke().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(ze,{label:{label:J.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:B.addressPlaceholder,defaultValue:K?.addressToCreate,onClick:()=>{w("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Ie,{label:{label:J.phone,width:I},text:{name:b(t,"phone"),placeholder:B.phonePlaceholder,defaultValue:M.phone,autoComplete:"off"},showVerified:M.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),o?l.jsx(Ae,{label:{label:a.invitePage.role,width:v},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:q},registerOptions:{required:!0},placeholderLabel:E(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(Me,{label:{label:a.invitePage.role,width:v},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ue(r.userRole?.userRoles??[]),allRootRole:ce(f,D)},productsByUserRole:de(r.userRole?.userRoles??[],Y)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(Fe,{label:{label:a.invitePage.manager,width:v},showTooltip:!0,toolTipWidth:k.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(Ze,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:z,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const O=z.findIndex(R=>R.userId===c);if(O!==-1){const R=z[O],V=F.find(Q=>Q.classId===R.userRole.accountingClassIDs[0]),N=[];return V!=null&&N.push(V.className),N}else return[]},placeholderLabel:d?a.notApplicable:E(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(C,{}),l.jsx(Ve,{label:{label:a.invitePage.department,width:v},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:U,selectedOption:d?void 0:U.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:E(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),o?null:l.jsxs(Je,{windowSize:n,children:[a.invitePage.controllerText,x[0]?l.jsxs(Ge,{href:`mailto:${x[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ke,{children:`${x[0].firstName} ${x[0].lastName}`}),l.jsx(Ne,{className:"arrowIcon"})]}):null]})]})]})},Ze=()=>a.invitePage.managerTooltipText,Ee=m.div`
1
+ import{J as ie,fU as te,e as ge,aw as be,fV as ye,a9 as we,aE as xe,cH as Pe,cG as $e,F as re,V as l,fW as De,bD as ve,ac as Se,aS as Oe,o as s,cC as ne,fX as de,fY as ce,fZ as ue,y as L,am as me,b as Re,N as je,aK as ee,cS as Ce,cJ as Le,f_ as E,cP as Te,cN as Ie,f$ as Ve,b0 as Ne,u as W}from"./index-Dm-b67Hf.js";import{a as $}from"./sentry-C2Rgx3zV.js";import{n as m}from"./mui-BLkKBV85.js";import{bi as le,bg as pe,bL as Be,bh as ke}from"./zeni-epic-state-TdgpFmku.js";import{C as ze}from"./LabeledAddressValueField-Ckm80g0_-fddiRWcN.js";import{Y as Fe}from"./LabeledUserSingleSelectWithSubtitlesField-CXwZdQ0K-DDygkuei.js";import{C as Ae,j as Me}from"./LabeledZeniRolesDropDownField-CWui0vqF-DJaOZiml.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./RoleWithToolTip-BCeMfqCC-DiZyrWD_.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]="41cf192f-d57a-4447-9904-6d16dc1ff049",e._sentryDebugIdIdentifier="sentry-dbid-41cf192f-d57a-4447-9904-6d16dc1ff049")}catch{}})();const b=(e,o)=>`${e}.${o}`,k={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(W[2],W[3]),toolTipWidth:new L(215,237),notePadding:new L(W[3],W[4]),noteGap:new L(W[0],6)},{peoplePage:a,common:{settings:se,labels:J,placeholder:B,errorMessage:_e},dateFormat:We}=re.getLocalizedStrings(),Ue=({myProfileView:e,isZeniFinopsRolesUser:o,sectionId:t,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:i,isBankingOnlyTenant:h,isCardsOnlyTenant:D,isLiteRoleDisabled:T,isTreasuryDisabled:f,onAddressClick:w})=>{const n=ie(),{person:r,managersList:z,classList:F,manager:G,department:g,controllersList:A,myProfileLocalData:M,addressData:K}=e,H=e.person.user?.birthday!=null?"readonly":void 0,v=k.largeLabelWidth.value(n),I=k.largeLabelWidth.value(n),Y=$.useMemo(()=>te(y,p,i,h,D,T,f),[y,p,i,h,D,T,f]),{firstController:x,restControllerEmailsStr:S}=$.useMemo(()=>{const c=ee(A),O=c.splice(0,1),R=c.reduce((V,N)=>V.concat(`${N.email},`),"");return{firstController:O,restControllerEmailsStr:R}},[A]),q=$.useMemo(()=>ee(ne.roles),[]),d=pe(r.userRole!=null?r.userRole.userRoles:[]),U=$.useMemo(()=>F.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[F]);return l.jsxs(Ee,{windowSize:n,children:[l.jsx(Ce,{isDisabled:u,label:{label:J.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:B.firstNamePlaceholder,lastName:B.lastNamePlaceholder,name:B.namePlaceholder},showFullNameError:!0},errorInfoLabel:_e.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Le,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:v},text:{type:"text",name:b(t,"email"),placeholder:E(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${k.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Te,{label:{label:J.dateOfBirth,width:I},style:{width:"auto"},isDisabled:H,dateField:{name:b(t,"dateOfBirth"),placeholder:B.datePlaceholder,defaultValue:M.dateOfBirth,dateFormat:We.visual.defaultInput,autoComplete:"off",maxDate:ke().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(ze,{label:{label:J.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:B.addressPlaceholder,defaultValue:K?.addressToCreate,onClick:()=>{w("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Ie,{label:{label:J.phone,width:I},text:{name:b(t,"phone"),placeholder:B.phonePlaceholder,defaultValue:M.phone,autoComplete:"off"},showVerified:M.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),o?l.jsx(Ae,{label:{label:a.invitePage.role,width:v},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:q},registerOptions:{required:!0},placeholderLabel:E(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(Me,{label:{label:a.invitePage.role,width:v},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ue(r.userRole?.userRoles??[]),allRootRole:ce(h,D)},productsByUserRole:de(r.userRole?.userRoles??[],Y)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(Fe,{label:{label:a.invitePage.manager,width:v},showTooltip:!0,toolTipWidth:k.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(Ze,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:z,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const O=z.findIndex(R=>R.userId===c);if(O!==-1){const R=z[O],V=F.find(Q=>Q.classId===R.userRole.accountingClassIDs[0]),N=[];return V!=null&&N.push(V.className),N}else return[]},placeholderLabel:d?a.notApplicable:E(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(C,{}),l.jsx(Ve,{label:{label:a.invitePage.department,width:v},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:U,selectedOption:d?void 0:U.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:E(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),o?null:l.jsxs(Je,{windowSize:n,children:[a.invitePage.controllerText,x[0]?l.jsxs(Ge,{href:`mailto:${x[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ke,{children:`${x[0].firstName} ${x[0].lastName}`}),l.jsx(Ne,{className:"arrowIcon"})]}):null]})]})]})},Ze=()=>a.invitePage.managerTooltipText,Ee=m.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -43,7 +43,7 @@ import{J as ie,fU as te,e as ge,aw as be,fV as ye,a9 as we,aE as xe,cH as Pe,cG
43
43
  color: ${e=>e.theme.colors.primary};
44
44
  }
45
45
  }
46
- `,Ke=m.span``,he={sectionWidth:new L(343,580,726),subtitleSectionWidth:new L(343,580,1200)},He={title:new je("standardMedium","largeMedium")},P="userDetails",yl=({myProfileView:e,isReimbursementDisabled:o,isZeniAccountsDisabled:t,isChargeCardDisabled:u,isTreasuryDisabled:y,isBankingOnlyTenant:p,isCardsOnlyTenant:i,isLiteRoleDisabled:f,onClickMenuIcon:D,onAddressClick:T,updateMyProfileLocalData:h,onCancelClick:w,onGetOtp:n,onResendOtp:r,onSaveClick:z,onVerifyOtp:F,onVerifyOtpSuccess:G})=>{const g=ie(),A=$.useMemo(()=>te(o,t,u,p,i,f,y),[o,t,u,p,i,f,y]),[M,K]=$.useState(!1),[H,v]=$.useState(!1),I=ge(),Y=be(),x=ye(Y),S=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:oe(e,x,A,p,i),values:oe(e,x,A,p,i)}),q=e.myProfileLocalData.dateOfBirth!=null&&e.person.user?.birthday!=null&&!e.myProfileLocalData.dateOfBirth.isSame(e.person.user?.birthday)||e.myProfileLocalData.dateOfBirth!=null&&e.person.user?.birthday==null,d=e.myProfileLocalData.phone!==e.person.user?.phone,U=e.addressData?.addressToCreate!=null&&e.person.address!=null&&!xe(le(e.addressData?.addressToCreate),le(e.person.address))||e.addressData?.addressToCreate!=null&&e.person.address==null,c=q||d||U,O=Object.keys(S.formState.errors).length===0,R=Pe(S.formState.dirtyFields),V=O&&(R||c),N=async(X,Z)=>{if(X!=null){const j={...Z},fe={...e.myProfileLocalData,phone:j[P].phone,isPhoneVerified:j[P].phone!==e.person.user?.phone?!1:e.person.user?.isPhoneVerified??!1,dateOfBirth:j[P].dateOfBirth!=null?Be(j[P].dateOfBirth.toString()):void 0};h(fe)}};$.useEffect(()=>{const X=S.watch((Z,{name:j})=>{j!=null&&Z!=null&&$e(()=>N(j,Z))});return()=>{X.unsubscribe()}});const Q=S.handleSubmit(()=>{O&&(e.myProfileLocalData.phone!=null&&(e.myProfileLocalData.isPhoneVerified==null||e.myProfileLocalData.isPhoneVerified===!1)?n(e.myProfileLocalData.phone):z())}),{common:_}=re.getLocalizedStrings();return l.jsxs(Ye,{children:[l.jsx(De,{showOtpPopup:M,phoneNumberPopupDescription:"show something",showPhoneNumberPopup:H,twoFactorAuthenticationView:e.twoFAView,loggedInUserPhone:e.myProfileLocalData.phone,onVerifyOtp:F,onVerifyOtpSuccess:G,setShowOtpPopup:K,onResendOtp:r,setShowPhoneNumberPopup:v,onGetOtp:n}),l.jsx(ve,{source:"MyProfileSettingsPage",title:_.settings.title.myProfile,backgroundColor:I.colors.grey4,showBackButton:!1,showMenuIcon:g==="medium-compact"||g==="small",onClickMenuIcon:D}),l.jsxs(qe,{windowSize:g,children:[l.jsx(Qe,{windowSize:g,children:l.jsx(Xe,{windowSize:g,children:_.settings.infoText.myProfile})}),l.jsx(Se,{...S,children:l.jsxs("form",{id:ae(P),onSubmit:Q,children:[l.jsx(el,{windowSize:g,children:l.jsx(ll,{windowSize:g,children:_.settings.subtitle.myProfile})}),l.jsx(Ue,{myProfileView:e,isZeniFinopsRolesUser:x,isDisabled:"readonly",isReimbursementDisabled:o,sectionId:P,isZeniAccountsDisabled:t,isChargeCardDisabled:u,isTreasuryDisabled:y,isBankingOnlyTenant:p,isCardsOnlyTenant:i,isLiteRoleDisabled:f,onAddressClick:T})]})})]}),V?l.jsx(Oe,{style:{zIndex:1,paddingTop:s.sp3,paddingBottom:s.sp3},formId:ae(P),helperStyle:{paddingTop:s.sp0,paddingBottom:s.sp0},primaryBtn:{label:_.footer.save,isLoading:e.updateProfileStatus.fetchState==="In-Progress",style:{minWidth:103}},cancelBtn:{label:_.cancel,onClick:w,shouldResetOnCancel:!0,style:{minWidth:103}}}):null]})},ae=e=>`${e}_form`,Ye=m.div`
46
+ `,Ke=m.span``,fe={sectionWidth:new L(343,580,726),subtitleSectionWidth:new L(343,580,1200)},He={title:new je("standardMedium","largeMedium")},P="userDetails",yl=({myProfileView:e,isReimbursementDisabled:o,isZeniAccountsDisabled:t,isChargeCardDisabled:u,isTreasuryDisabled:y,isBankingOnlyTenant:p,isCardsOnlyTenant:i,isLiteRoleDisabled:h,onClickMenuIcon:D,onAddressClick:T,updateMyProfileLocalData:f,onCancelClick:w,onGetOtp:n,onResendOtp:r,onSaveClick:z,onVerifyOtp:F,onVerifyOtpSuccess:G})=>{const g=ie(),A=$.useMemo(()=>te(o,t,u,p,i,h,y),[o,t,u,p,i,h,y]),[M,K]=$.useState(!1),[H,v]=$.useState(!1),I=ge(),Y=be(),x=ye(Y),S=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:oe(e,x,A,p,i),values:oe(e,x,A,p,i)}),q=e.myProfileLocalData.dateOfBirth!=null&&e.person.user?.birthday!=null&&!e.myProfileLocalData.dateOfBirth.isSame(e.person.user?.birthday)||e.myProfileLocalData.dateOfBirth!=null&&e.person.user?.birthday==null,d=e.myProfileLocalData.phone!==e.person.user?.phone,U=e.addressData?.addressToCreate!=null&&e.person.address!=null&&!xe(le(e.addressData?.addressToCreate),le(e.person.address))||e.addressData?.addressToCreate!=null&&e.person.address==null,c=q||d||U,O=Object.keys(S.formState.errors).length===0,R=Pe(S.formState.dirtyFields),V=O&&(R||c),N=async(X,Z)=>{if(X!=null){const j={...Z},he={...e.myProfileLocalData,phone:j[P].phone,isPhoneVerified:j[P].phone!==e.person.user?.phone?!1:e.person.user?.isPhoneVerified??!1,dateOfBirth:j[P].dateOfBirth!=null?Be(j[P].dateOfBirth.toString()):void 0};f(he)}};$.useEffect(()=>{const X=S.watch((Z,{name:j})=>{j!=null&&Z!=null&&$e(()=>N(j,Z))});return()=>{X.unsubscribe()}});const Q=S.handleSubmit(()=>{O&&(e.myProfileLocalData.phone!=null&&(e.myProfileLocalData.isPhoneVerified==null||e.myProfileLocalData.isPhoneVerified===!1)?n(e.myProfileLocalData.phone):z())}),{common:_}=re.getLocalizedStrings();return l.jsxs(Ye,{children:[l.jsx(De,{showOtpPopup:M,phoneNumberPopupDescription:"show something",showPhoneNumberPopup:H,twoFactorAuthenticationView:e.twoFAView,loggedInUserPhone:e.myProfileLocalData.phone,onVerifyOtp:F,onVerifyOtpSuccess:G,setShowOtpPopup:K,onResendOtp:r,setShowPhoneNumberPopup:v,onGetOtp:n}),l.jsx(ve,{source:"MyProfileSettingsPage",title:_.settings.title.myProfile,backgroundColor:I.colors.grey4,showBackButton:!1,showMenuIcon:g==="medium-compact"||g==="small",onClickMenuIcon:D}),l.jsxs(qe,{windowSize:g,children:[l.jsx(Qe,{windowSize:g,children:l.jsx(Xe,{windowSize:g,children:_.settings.infoText.myProfile})}),l.jsx(Se,{...S,children:l.jsxs("form",{id:ae(P),onSubmit:Q,children:[l.jsx(el,{windowSize:g,children:l.jsx(ll,{windowSize:g,children:_.settings.subtitle.myProfile})}),l.jsx(Ue,{myProfileView:e,isZeniFinopsRolesUser:x,isDisabled:"readonly",isReimbursementDisabled:o,sectionId:P,isZeniAccountsDisabled:t,isChargeCardDisabled:u,isTreasuryDisabled:y,isBankingOnlyTenant:p,isCardsOnlyTenant:i,isLiteRoleDisabled:h,onAddressClick:T})]})})]}),V?l.jsx(Oe,{style:{zIndex:1,paddingTop:s.sp3,paddingBottom:s.sp3},formId:ae(P),helperStyle:{paddingTop:s.sp0,paddingBottom:s.sp0},primaryBtn:{label:_.footer.save,isLoading:e.updateProfileStatus.fetchState==="In-Progress",style:{minWidth:103}},cancelBtn:{label:_.cancel,onClick:w,shouldResetOnCancel:!0,style:{minWidth:103}}}):null]})},ae=e=>`${e}_form`,Ye=m.div`
47
47
  display: flex;
48
48
  height: 100vh;
49
49
  width: 100%;
@@ -63,7 +63,7 @@ import{J as ie,fU as te,e as ge,aw as be,fV as ye,a9 as we,aE as xe,cH as Pe,cG
63
63
  display: flex;
64
64
  justify-content: center;
65
65
  align-items: center;
66
- width: ${e=>he.subtitleSectionWidth.valuePx(e.windowSize)};
66
+ width: ${e=>fe.subtitleSectionWidth.valuePx(e.windowSize)};
67
67
  margin-bottom: ${s.sp5};
68
68
  `,Xe=m.div`
69
69
  display: flex;
@@ -74,7 +74,7 @@ import{J as ie,fU as te,e as ge,aw as be,fV as ye,a9 as we,aE as xe,cH as Pe,cG
74
74
  `,el=m.div`
75
75
  display: flex;
76
76
  align-items: center;
77
- width: ${e=>he.sectionWidth.valuePx(e.windowSize)};
77
+ width: ${e=>fe.sectionWidth.valuePx(e.windowSize)};
78
78
  margin-bottom: ${s.sp3};
79
79
  `,ll=m.div`
80
80
  display: flex;
@@ -82,4 +82,4 @@ import{J as ie,fU as te,e as ge,aw as be,fV as ye,a9 as we,aE as xe,cH as Pe,cG
82
82
 
83
83
  color: ${e=>e.theme.colors.primary};
84
84
  ${e=>`${He.title.style(e.windowSize)}`};
85
- `,oe=(e,o,t,u,y)=>{const{classList:p,person:i,managersList:f,manager:D,department:T,myProfileLocalData:h}=e,w=pe(i.userRole!=null?i.userRole.userRoles:[]),n=p.map(r=>({label:r.fullyQualifiedAccountingClassName,value:r.classId,hoverText:r.accountingClassNumber}));return{[P]:{name:{firstName:i.user?.firstName??"",lastName:i.user?.lastName??""},email:i.user?.email??"",role:o?{allOptions:ne.roles,selectedOptions:i.userRole?.userRoles??[]}:void 0,nonZeniRole:o?void 0:{userRole:{selectedRole:ue(i.userRole?.userRoles??[]),allRootRole:ce(u,y)},productsByUserRole:de(i.userRole?.userRoles??[],t)},manager:{allUsers:w?[]:f,selectedUser:sl(w,D)},department:{allOptions:w?[]:n,selectedOption:w?void 0:n.find(r=>r.value===T?.classId)},dateOfBirth:h.dateOfBirth?.toDate(),phone:h.phone,syncToken:h?.syncToken,isPhoneVerified:h?.isPhoneVerified,otpChallenge:h?.otpChallenge,mailingAddress:e.addressData?.addressToCreate}}},sl=(e,o)=>{if(!e)return o!=null?o.userId:"no_manager"};export{yl as default,ae as uniqueFormName};
85
+ `,oe=(e,o,t,u,y)=>{const{classList:p,person:i,managersList:h,manager:D,department:T,myProfileLocalData:f}=e,w=pe(i.userRole!=null?i.userRole.userRoles:[]),n=p.map(r=>({label:r.fullyQualifiedAccountingClassName,value:r.classId,hoverText:r.accountingClassNumber}));return{[P]:{name:{firstName:i.user?.firstName??"",lastName:i.user?.lastName??""},email:i.user?.email??"",role:o?{allOptions:ne.roles,selectedOptions:i.userRole?.userRoles??[]}:void 0,nonZeniRole:o?void 0:{userRole:{selectedRole:ue(i.userRole?.userRoles??[]),allRootRole:ce(u,y)},productsByUserRole:de(i.userRole?.userRoles??[],t)},manager:{allUsers:w?[]:h,selectedUser:sl(w,D)},department:{allOptions:w?[]:n,selectedOption:w?void 0:n.find(r=>r.value===T?.classId)},dateOfBirth:f.dateOfBirth?.toDate(),phone:f.phone,syncToken:f?.syncToken,isPhoneVerified:f?.isPhoneVerified,otpChallenge:f?.otpChallenge,mailingAddress:e.addressData?.addressToCreate}}},sl=(e,o)=>{if(!e)return o!=null?o.userId:"no_manager"};export{yl as default,ae as uniqueFormName};
@@ -1,4 +1,4 @@
1
- import{e as g,J as b,V as o,aQ as h,bU as p,o as l,bG as y,eT as f,F as m,c3 as k,bS as x,b as w}from"./index-GSKpJ8ET.js";import{n}from"./mui-DenpH-hx.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]="d436dd65-0f61-4676-9fa1-25d15e3d4503",e._sentryDebugIdIdentifier="sentry-dbid-d436dd65-0f61-4676-9fa1-25d15e3d4503")}catch{}})();const C=n.div`
1
+ import{e as g,J as b,V as o,aQ as h,bU as p,o as l,bG as y,eT as f,F as m,c3 as k,bS as x,b as w}from"./index-Dm-b67Hf.js";import{n}from"./mui-BLkKBV85.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]="d436dd65-0f61-4676-9fa1-25d15e3d4503",e._sentryDebugIdIdentifier="sentry-dbid-d436dd65-0f61-4676-9fa1-25d15e3d4503")}catch{}})();const C=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{V as t,o as r,b0 as h,c3 as c}from"./index-GSKpJ8ET.js";import{c as l,n}from"./mui-DenpH-hx.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="39a69dc9-3001-41c0-9b74-0013360561b5",o._sentryDebugIdIdentifier="sentry-dbid-39a69dc9-3001-41c0-9b74-0013360561b5")}catch{}})();const f=l`
1
+ import{V as t,o as r,b0 as h,c3 as c}from"./index-Dm-b67Hf.js";import{c as l,n}from"./mui-BLkKBV85.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="39a69dc9-3001-41c0-9b74-0013360561b5",o._sentryDebugIdIdentifier="sentry-dbid-39a69dc9-3001-41c0-9b74-0013360561b5")}catch{}})();const f=l`
2
2
  border-left-style: none;
3
3
  margin-left: -${r.sp3};
4
4
  border-top-right-radius: ${r.sp2};