@zeniai/web-cockpit-ui 1.15.0-dev → 1.15.1-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 (278) hide show
  1. package/dist/assets/{ACHDetailsPage-DYlcHRQe-lxtPXqrl.js → ACHDetailsPage-CUzXxtOD-D58ed7uT.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DpXZ7sco-B8d5E6QI.js → AIPerformancePage-O2oT7VD7-B6QMOBUy.js} +13 -13
  3. package/dist/assets/{AccountInfoPage-BEOrrVQS-L5aJOIaA.js → AccountInfoPage-B6jxAqA6-BUFslhTv.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BJkLJK6O-CmMcM25y.js → AccountInfoPageContent-Dm4_RVtp-7_DDYrUM.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BeLLlH_Y-DAQUptbF.js → AccountLockedInfoModal-4gi6evfx-WlzE3tch.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-D2Hx_l3u-BYxEEZJn.js → AccountReconDetailsDrawerPage-Cm4KEIyT-DvN83q1j.js} +3 -3
  7. package/dist/assets/{AccountRow-B0gU16A_-Ks_Pft1z.js → AccountRow-B16HgkVQ-dG_dWaCL.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CuLhbb_W-BwlxSNV8.js → AccountsPromoCardStack-D5OgsEYb-3g8gXWBP.js} +1 -1
  9. package/dist/assets/AddAddressForCardDrawer-Cw6wTXEm-Ne9lwqPK.js +6 -0
  10. package/dist/assets/{AddToWalletPage-DNPLnpTq-CxRyEwld.js → AddToWalletPage-vXWBje7k-B9_XOYgG.js} +4 -4
  11. package/dist/assets/{AgingReportsPage-Bff4u7T1-DOBvEqCj.js → AgingReportsPage-CmzapJ6B-B4fRPdaL.js} +3 -3
  12. package/dist/assets/{AllUserItems-D8zdAu_1-C-zZqgmo.js → AllUserItems-CW-BAUK2-B9Q1lPJb.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-2NsAj3gO-DfogwLMb.js → ApAgingDetailPage-DBCM7hZZ-ChVResPi.js} +5 -5
  14. package/dist/assets/{AppBasePage-Uyk9GOud-D7f8hWuo.js → AppBasePage-B3uZsUDM-CkKVhlEN.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-RX7rx40V-DlBxQF_L.js → AppDrawerContent-D4EVpqHP-BynJPN1Q.js} +6 -6
  16. package/dist/assets/{ApprovalRulesSettingsPage-BKxa78xI-BrpnOxmu.js → ApprovalRulesSettingsPage-DTLJUdYp-C8DjXSqL.js} +1 -1
  17. package/dist/assets/{ArAgingChart-BxTkvrC9-BgC5YBPR.js → ArAgingChart-BJ8nRdT6-PCsSRezt.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-CnUgFF1M-Bb_-bJZp.js → ArAgingDetailPage-hd2ALORD-DPaGaG4h.js} +5 -5
  19. package/dist/assets/{AttachmentView-zHGhIkWo-C64qXCAp.js → AttachmentView-2FZ6X1gL-Cy8tYEtq.js} +1 -1
  20. package/dist/assets/{BankAccountSection-HRSyjIxV-CV6PAaFg.js → BankAccountSection-BbX4r1dP-BVn949x0.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CNusQFRM-4Y94-VD5.js → BankAccountWarningSection-CqlrCLSb-4sdBnqih.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-CzumYsEx-f1xJXYSm.js → BankConnectionsSettingsPage-DLeiSryp-DwwrFPU_.js} +1 -1
  23. package/dist/assets/{BillDetailPage-CgCMZFw1-pAtGUG0W.js → BillDetailPage-l0WIOXCJ-DfE-sU4P.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DnhdBw3a-BtwlYdoz.js → BillPayApprovalRuleDetailPage-BOMCy57E-CAzd0WOM.js} +4 -4
  25. package/dist/assets/{BillPayApprovalRulesPage-S80WUW0f-Cw75zLq9.js → BillPayApprovalRulesPage-D_iQkfQr-Dlin1Cm9.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DOEbuNgH-BglT_61W.js → BillPayPromoPage-Dsl0YvUE-DF_BWBKa.js} +9 -9
  27. package/dist/assets/{BillPaySetUpPage-Tb-gBoFT-Po5Zl1ZL.js → BillPaySetUpPage-MLf77bPI-BQQY77ue.js} +3 -3
  28. package/dist/assets/{BillingSettingsPage-ZupDcNHz-B6O6l_7B.js → BillingSettingsPage-n1PkJEDe-CIU_V4L-.js} +8 -8
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CJrUtHKz-B78eSann.js → BillsBulkReviewDrawerPage-C_4lLm2g-CagoY_n4.js} +1 -1
  30. package/dist/assets/{BoxItem-42doFhpg-BDC_fDqi.js → BoxItem-CZdVWyVJ-Ck7WXLSC.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-De9zCAm7-geq4Sk8A.js → BusinessVerificationPage-DKTSnhnQ-CiETQcAD.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-C6jdBRC2-YbNbzp0H.js → CardNumberSubText-BhtdU0IQ-BBiDBBhs.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-B2drd1Nz-BAvHe1xx.js → CashbackDetailPage-BL-JN6N2-DM7Co55u.js} +8 -8
  34. package/dist/assets/{ChargeCardDetailPage-bk-pzoDR-DTGxBulo.js → ChargeCardDetailPage-DeUmuiMY-Dftn0md6.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-DlI8ZfB0-CMLNFzih.js → ChargeCardListPage-B2OEzCZI-DRTpob3Y.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-CooASbVZ-CSvbg9sF.js → ChargeCardListTable-BwYAxG4d-BDrITjcg.js} +1 -1
  37. package/dist/assets/ChargeCardPaymentHistoryPage-COWdn2l7-D7wLS9yc.js +565 -0
  38. package/dist/assets/{ChargeCardPromoPage-DBSmL-ms-DBZo83zK.js → ChargeCardPromoPage-TkHihj_n-DsNKfZLq.js} +10 -10
  39. package/dist/assets/{ChargeCardSetupPage-cou3N3Iv-BSBfzNx6.js → ChargeCardSetupPage-CkonrAnT-D4zZH8iB.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-Z05M_t51-O2I36ZAe.js → ChargeCardStatementsPage-DVgAcNNC-DlapdY_k.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-B-bTb9ct-CleglNSV.js → CheckDepositDrawerPage-DV7strdp-DIjE0Er3.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-DLOi0feI-SZFbl9NV.js → CollapsableReportTable-BS7TgK8B-Ck1A0h-X.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-DVpqCb72-DOikAEBj.js → CompanyOfficerDetailsSection-BotE5oj4-BAJaZgbn.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-B8PLT6MG-BUc5HZU7.js → CompanyPassportCard-Bx4KhQfs-Cq5ggOmg.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-CQZPgrNF-KJN_fT4M.js → CompanyPassportPage-i1SEs7VJ-Djluu3GS.js} +1 -1
  46. package/dist/assets/{CompleteProfile-fNSWTbef-pSYliRNx.js → CompleteProfile-DWOv7odD-C_i36-ce.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-B6ej_xoO-BzptsIBR.js → ConfettiBurst-D52CuNQL-H3h7bAw9.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BO4_TNWg-EUNhPwxD.js → CreateOrEditVendorPage-9LgI-Wd0-BZGgNM2M.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-CsHjU-sm-BX_z_XTl.js → CreditCardPaymentDrawerPage-wHK6Ds5I-BlFWnrY1.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-DsZTOj_T-DmNXNRTP.js → CurrencySelectField-CbGyQ8Yq-BBTidwoM.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-Cvdehiay-Ci2xJTUc.js → CustomerOnboardingActivationPage-LNgj0BYj-DDGYdiCm.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-DLdgYP_E-YLcbGvSV.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DrfNm65u-Bi4SumgH.js → CustomerOnboardingDetailPageSkeleton-BF484X8E-CaE39Z82.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-CtIWYEfR-CA6QH1RJ.js → CustomerOnboardingNoStepsPage-Dri4v3Rf-SMHqZamP.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingPage-Db6sGSGl-C--ab3S1.js → CustomerOnboardingPage-BkdhcwN8-D99zerXB.js} +1 -1
  56. package/dist/assets/CustomerOnboardingProductSuitePage-CDJfucTI-BVV4jNqa.js +202 -0
  57. package/dist/assets/{Dashboard-cbXIPzMy-DLCpLMr4.js → Dashboard-w2AGQi2P-DrVf9Yya.js} +55 -55
  58. package/dist/assets/{DashboardReportPage-Pc0G2Tok-BRmpg3ok.js → DashboardReportPage-NzF6nutN-DSZitKtw.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-CSzhyK4K-DW7vdml5.js → DashboardSidebarBackgroundAnimation-vcuSFRHQ-CXXDOfjW.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-XvCjkHDS-DQ2tNEjM.js → DepositAccTransactionItem-SRWW7dWo-Bq8glEON.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-DqPIPHi9-DnAhb4M6.js → DepositAccTransactionListPage-BSq-FxKT-D5HpKscp.js} +1 -1
  62. package/dist/assets/{DomesticWireDetailsPage-DjUvG0tD-BhbPV8HA.js → DomesticWireDetailsPage-Daor0MDI-BzIX5Sll.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-C7r6PAam-BvXPoC9j.js → DownloadOverlay-DkSROLX2-BV0uInlq.js} +1 -1
  64. package/dist/assets/{DrawerPage-BEV7nWrL-CqfdeYhP.js → DrawerPage-BnMCcEWw-BXOkrI5R.js} +9 -9
  65. package/dist/assets/{EditPeoplePage-BnQqStEx-Cbm0H-hi.js → EditPeoplePage-Ld339aav-BKidG2ge.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-DLjRDR48-DAmxctvz.js → EditReimbursementDetailPage-BaMG1YJG-BZAQQMK3.js} +1 -1
  67. package/dist/assets/EntityDetailPage-DRZiqaCb-B_QVK0o1.js +18 -0
  68. package/dist/assets/{EntitySummarySection-C361-4tS-UJPRLBoI.js → EntitySummarySection-Bs0NywbK-BzG0U_qN.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-BLvAzAmO-JyE5jYzJ.js → ExpenseAutomationOverviewPage-B_-wUXCx-Q7Nf_H07.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-CE_qMXSG-DlDCSSSs.js → ExpenseAutomationPage-CG1Hpwz8-CW8z-7iO.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-CDowSjHC-DolGHHJS.js → ExpressPayPage-CEf0O3S_-C7xNk40H.js} +7 -7
  72. package/dist/assets/{FeaturePreviewPage-DsJEfObK-B9lh1mEQ.js → FeaturePreviewPage-7G9DSgAA-dIRq9Ned.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-h449vQkQ-BXixJ0VK.js → FollowStepsSection-CoXcJ6WL-BDHFkDzZ.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-DGOKRsKI-CAnqX1u0.js → GlobalReviewListPage-BSfJybtY-D-EekdXE.js} +1 -1
  75. package/dist/assets/{InformationCardStack-xhdujEcL-COTShhF9.js → InformationCardStack-DnoAMdjH-BkgD0Khh.js} +2 -2
  76. package/dist/assets/{InsightsCardStack-zRynyTFj-CqnhwImM.js → InsightsCardStack-BLtip0dt-CdpS0MPm.js} +2 -2
  77. package/dist/assets/{InsightsSection-C4fMfxQ4-BGGNiljS.js → InsightsSection-26UEfz7s-DvD8Ccwt.js} +2 -2
  78. package/dist/assets/{IntegrationsSettingsPage-fqQsGUmw-CRKZpnAv.js → IntegrationsSettingsPage-QVOqOc9I-BQQ4M8i8.js} +2 -2
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-CIMxKADX-CYl4ll0M.js → InternationalWireSwiftDetailsPage-B7UVdQjs-Dxjq2-if.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-DpmSzzre-gDdhOqko.js → InternationalWireVerificationPage-Cvita0lc-B390_mEJ.js} +2 -2
  81. package/dist/assets/{InviteFormPage-C7fxnyMS-ChsV2A2J.js → InviteFormPage-ptg2-Do2-Dsr3cxPP.js} +1 -1
  82. package/dist/assets/{InvitePageListView-ktOXziSw-ClMd1Rgx.js → InvitePageListView-CoCiU_RJ-DlHeTkam.js} +20 -20
  83. package/dist/assets/{InvitePeoplePage-C_4adNch-DPbyAjsn.js → InvitePeoplePage-CIiwEl_L-BEUpkDfI.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-W4vdQGvo-DAuF5vcp.js → InvoiceUploadSection-by1gHnS2-ByjzglAY.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-CdV757XH-B0b8pyku.js → IssueChargeCardPage-CawHdTL3-Mn0Xu6jy.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-Ce_wDml5-CoYtFscl.js → LabeledAddressValue-BVpOlAt0-BM8gI0N5.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-BrYbXck--8qVwdGMU.js → LabeledAddressValueField-BW6ytr8f-DmYyMrEv.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-f2c-AeS4-DagKbuzo.js → LabeledControlledCheckBoxField-DEaBzW9R-59_aD_t9.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-BLOMdq_H-CLNHA2Sp.js → LabeledCountryMultiSelectField-DOEcKGdZ-O8xmxgl_.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-BWuogpe6-DITM3Hn0.js → LabeledCreatableSingleSelectField-Bsowq6Ia-CpyK3LNE.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-Ch2zD7s7-Nw7bBUJi.js → LabeledDocumentField-DHqxzbx7-DKNafkiA.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-BA8tzPzQ-Big6_AMJ.js → LabeledDropDownFormattedTextField-C_2HymZs-DpANtqUG.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-CA9PUCf3-CGx9bMTu.js → LabeledMultiSelectField-wuzYNgjQ-D8K8tQ-i.js} +1 -1
  94. package/dist/assets/{LabeledText-D7eLbH80-Bs-kfAE-.js → LabeledText-DMjMKupg-DYP6gFxm.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CleX9Raw-CCmlbQ1T.js → LabeledUserSingleSelectWithSubtitlesField-D2PQRKp0-CAFuEck_.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Cte6kRTw-CB2TIDv8.js → LabeledZeniRolesDropDownField-C2WL6H1u-BXDtctub.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-DicS5kKg-DOb356xm.js → LinkJETransactionPage-6wvu7KQx-BKOAennG.js} +1 -1
  98. package/dist/assets/{LockCardPage-DRYg_fxU-CFGUEJ0X.js → LockCardPage-DHjkslVx-BLTQi4Ro.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-BJfagMN7-DFWlKz1e.js → LowBalancePopup-IPPewOnk-C3ft7dAK.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-BQvuNI4u-DgnKjMFk.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-BEr-7K3J-BdD6RXkL.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-DliPDETx-zEl4JPNd.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-BRWymdWH-suMYBps1.js → MagicLinkSuccessPage-0Pn_6wi4-BDYzvhnJ.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-D5ORaO0D-oMV_fYKL.js → MagicLinkTitleSection-zMEqv8xp-Dw1lipYQ.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-BRCMsb6d-Bg6C6Qx3.js +21 -0
  106. package/dist/assets/{Menu-C9v-W9TY-DRVyGpH4.js → Menu-CjpiRi32-CBwxThCE.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-C4YJleyg-DKQ0iSMd.js → MyBankConnectionsSettingsPage-DsuI81Dg-BZvQVl9M.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-D-6TnbYs-g9LqO-rS.js → MyPendingActivationChargeCardListPage-BP2ZNfJQ-C1IGZ0Aj.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BMNBcdq8-CzuZjUxB.js → MyProfileSettingsPage-Bx776Bw1-B3dkfEvc.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-Cv7tOmjd-BXBZWsng.js → NavBarWithPicker-B7KOipTP-BRApBTO0.js} +1 -1
  111. package/dist/assets/{NavigationArrow-DAs7ECFZ-rFu_aZmo.js → NavigationArrow-qaYGOFR3-BsTNc95E.js} +1 -1
  112. package/dist/assets/{NavigationDots-DISWi4Mq-BdTnuTup.js → NavigationDots-U7wL0ya4-Br1fZ1mY.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-DGFtrDg1-BDtdrE9G.js → NewGlobalMerchantPage-BMLg6RYp-BRiqVwVI.js} +1 -1
  114. package/dist/assets/{NoDataChart-gfqauMvY-CAbYCdyQ.js → NoDataChart-DoN6Mneo-tV8Dt3om.js} +1 -1
  115. package/dist/assets/{NoDataTable-C1_gqVi7-D4ANXF0d.js → NoDataTable-BMDDs83M-Dpk0AfuR.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CdWhiWjz-DDjAX_Ng.js → NotFoundPage-ys6HcZUO-byf07x0N.js} +8 -8
  117. package/dist/assets/{NotificationSettingsPage-C4SZ6Qwg-DbitLXBD.js → NotificationSettingsPage-Cfrj3b7B-DQREI7pG.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-B-g9kb6x-CND-RON9.js → NotificationsListConfig-Cqcn0C6L-mVPCNJk6.js} +1 -1
  119. package/dist/assets/{NotificationsPage-jxpX3iRG-UGS5Y_9i.js → NotificationsPage-Bri7Dj80-Cv5FRQtl.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-B13tAq03-Dd8cq0hz.js → OpExByVendorPage-Dwk6JAu7-BDuhx0f7.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-Daz3A7cI-DlMlal7_.js → OverlayContainerPage-Daz3A7cI-CNivODsb.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-D3kcPKd0-sYhFB1EB.js → PandLWithForecastPage-D9muoIzS-BHKR537x.js} +2 -2
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DjdhL9mT-4CseF2mz.js → PaymentAccountSetupBillingAddressSection-BcQ07YZL-sTtrymnZ.js} +1 -1
  124. package/dist/assets/{PeoplePage-Du_TRX4h-C2Rmmn5d.js → PeoplePage-BZwxMiLM-5s0-HkTL.js} +13 -13
  125. package/dist/assets/{Preview-CSeZ_uBx.js → Preview-mA1nVDX3.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-y6q9BbqK-B9m9tH0o.js → ProductsCarousel-HFHMMFnQ-DrHOVGTY.js} +1 -1
  127. package/dist/assets/{PromoBaseCards-CLQMN7aT-BxeQG0rP.js → PromoBaseCards-Bwm7huaB-m2dOzdVj.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-R4ZWjJsY-DNCk7fny.js → QBOConnectionDialog-B5v60lo1-GNrkjfxe.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-D--nxfIh-Difre144.js → QBOSetupSection-BFxjIzV1-B2t1VavS.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-OXenWhiy-Cj4gr0h0.js → ReimbursementApprovalRuleDetailPage-D7eJT6hf-BQOWuUEe.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-BJaSXRQF-DF9kihjD.js → ReimbursementApprovalRulesPage-B6WJ19jK-CKNTvHH7.js} +1 -1
  132. package/dist/assets/{ReimbursementDetailPage-BeFEzgmP-DZ-1wgaR.js → ReimbursementDetailPage-CEyFEPK5-BstF-oGE.js} +1 -1
  133. package/dist/assets/{ReimbursementPromoPage-C0sHIJm4-YN1RP5MA.js → ReimbursementPromoPage-BjhlxlPR-BZ1GzMRv.js} +4 -4
  134. package/dist/assets/{ReimbursementSetUpPage-C85Q6ZnB-DbK7lPyD.js → ReimbursementSetUpPage-pC4KuigM-BDlDJUML.js} +4 -4
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B5RzRA4c-PwRYjy1t.js → ReimbursementsBulkReviewDrawerPage-CucXnBt6-CAc1E2XO.js} +1 -1
  136. package/dist/assets/{ReloadCard-BT0lSFUP-CF34SUO7.js → ReloadCard-DhRbLcVA-DIQafdWZ.js} +1 -1
  137. package/dist/assets/{ReportTableViewSelector-rl6XGWA_-CSxPHelL.js → ReportTableViewSelector-ByxUIrcT-BjUKZAAK.js} +1 -1
  138. package/dist/assets/{ReportsPage-DV0bbi_D-1o0LJL4r.js → ReportsPage-e1xmk9Ua-DWkV6LH_.js} +5 -5
  139. package/dist/assets/{RevenueChart-CxvHfkxr-BmSB0A7U.js → RevenueChart-C7uaOhqz-CyB_o3bQ.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-CX2XB44j-BHiKofo4.js → ReviewDetailsPage-Dk0Rw7L_-B6ijKV2H.js} +1 -1
  141. package/dist/assets/{ReviewOverlay-DdOo3pcK-BVp3d9bK.js → ReviewOverlay-Bthl69qw-RmWq0Cob.js} +1 -1
  142. package/dist/assets/{RoleWithToolTip-C08wfnGb-CFjb8VCB.js → RoleWithToolTip-New3P2vC-2KCZppVG.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BmZgiTVc-C4es4cDL.js → ScheduleDetailsFixedAssetsPage-DiwkB2J--BPJp47yZ.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsPage-BqX1EZGE-B4pi2I25.js → ScheduleDetailsPage-BLc828ST-CP2yCdiU.js} +1 -1
  145. package/dist/assets/{ScheduleSequenceTable-DU3dXX6V-BMdU_3TL.js → ScheduleSequenceTable-CEQZEbUs-BdHNsPry.js} +1 -1
  146. package/dist/assets/{ScreenRoutes-BOb1-zin.js → ScreenRoutes-D_sWKkhc.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-Clz60vjw-CDcwloM0.js → SetUpAccountSection-CywFKgZo-MmKR4ndQ.js} +1 -1
  148. package/dist/assets/{SignIn-B79R5ayU-BtVW5pl0.js → SignIn-D7PmDE-R-DymRL_3M.js} +12 -12
  149. package/dist/assets/{SignInScreen-CsaRmLqD.js → SignInScreen-C-VG_lKe.js} +1 -1
  150. package/dist/assets/{SpendManagementListViewPage-C3gJ8vag-CRVtgLhw.js → SpendManagementListViewPage-DJgNAGhp-JXA21DLB.js} +3 -3
  151. package/dist/assets/{SpendManagementPerTabPage-DmCZhFWY-Dsjzi1bn.js → SpendManagementPerTabPage-B_muN4XH-u8KoBsHd.js} +1 -1
  152. package/dist/assets/{SpendManagementSection-mtTZeiX8-DB_R_dFU.js → SpendManagementSection-BO--0F_T-COrpCsmV.js} +1 -1
  153. package/dist/assets/StatementItem-_50yBwO1-CwjTPUgJ.js +31 -0
  154. package/dist/assets/{StatementsPage-DgoXqABR-NsGiWIFr.js → StatementsPage-DkcgOLaa-BdVtg5cn.js} +1 -1
  155. package/dist/assets/{StatusSwitcher-DRDFuzoj-DFWyQSIu.js → StatusSwitcher-Bcqhq2ht-tjRFz3FC.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-Bj1N3zLn-DocBm2NX.js → SubTabSwitcher-BNSMaUoP-C0dI-kdw.js} +1 -1
  157. package/dist/assets/{SummaryCard-BNrPt21W-z-I2nOL_.js → SummaryCard-DUTikTiQ-CorF8AqM.js} +1 -1
  158. package/dist/assets/{TaskManagementPage-svW7FNT3-CdR83JXD.js → TaskManagementPage-K2ahivqx-Cw8lnZhf.js} +1 -1
  159. package/dist/assets/{TimeRangeSwitcher-wio5OjI3-BFQK4ykL.js → TimeRangeSwitcher-CaV1qK_v-9kKZ6AfJ.js} +11 -11
  160. package/dist/assets/{TimeframeSwitcher-234cbGUX-GrV_gRdd.js → TimeframeSwitcher-COkEJy3J-45wKe_Sn.js} +1 -1
  161. package/dist/assets/{TimeframeSwitcherWithToggle-B65LibQx-O8FBApDz.js → TimeframeSwitcherWithToggle-CPP1tWQ_-D4EHb91u.js} +2 -2
  162. package/dist/assets/{TopExCard-DFm0V6Sa-CuS6D-g2.js → TopExCard-CLkfO6zN-v91Jdaeu.js} +1 -1
  163. package/dist/assets/{TopExDetailPage-B4UamIS--DvTevd6J.js → TopExDetailPage-CUoODDhA-zH5Xy9H2.js} +4 -4
  164. package/dist/assets/{TransactionDetailPage-BiGPVM2O-BIqR8D1A.js → TransactionDetailPage-BTonMpH2-DgSPoDVR.js} +1 -1
  165. package/dist/assets/{TransactionList-BQ2dvALf-DExPb7_Y.js → TransactionList-B8eL6jhA-Di9L9RKc.js} +1 -1
  166. package/dist/assets/{TransactionListBig-Ca4yYTqY-DpBtFr0L.js → TransactionListBig-BI0Egbwq-BwzSPZzZ.js} +1 -1
  167. package/dist/assets/{TransactionListPage-CaSfmS5A-B8TNgEwP.js → TransactionListPage-DxGLszcx-DAoYnm1i.js} +2 -2
  168. package/dist/assets/{TransactionVendorDetailPage-CH7qHDUF-CdstXkoA.js → TransactionVendorDetailPage-BnqP7rIa-BU85_A7u.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-5IgzdfVN-CuTPVgyu.js → TransferDrawerPage-BvKebmux-o6Yl4bGU.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-CyMGJE8x-BqzDON9-.js → TreasuryOverviewPage-DqlUffnH-Bn5k5ejI.js} +27 -27
  171. package/dist/assets/{TreasuryPromoPage-DQabp_BI-lYWtZagK.js → TreasuryPromoPage-DqZE9SWj-Bp0vqbWD.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-DyJbkTPX-DQbO4X2A.js → TreasuryStatementsPage-Cyj4xmLP-DxZc3Yqs.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-BSIqzP7E-BachcLIH.js → TreasuryTaxLetterPage-04gxKt0a-DDLLJmzC.js} +2 -2
  174. package/dist/assets/{TrendChart-DLlQzxzM-PPRPEN_l.js → TrendChart-Cb8wnBqS-Di_U3EIl.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-CjGbUTLS-CZ3CCR3q.js → TrendWithTransactions-_49jEzFf-D4MyPHxb.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-CgJuXRnT-4h1DDmrY.js → UncategorizedAccountsMappingPage-WTwSitI6-BqjGQcpf.js} +1 -1
  177. package/dist/assets/{UnitIntegrationPage-Dew9WP2L-B7QG_5u7.js → UnitIntegrationPage-C3HFSJ9I-BVEgdEbm.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-CoO-S_pc-DdAruGua.js → UploadAdditionalDocumentOverlay-UdsrwN9K-D09XF6PT.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-2JZx7Ouz-DmIxVSxV.js → Vendor2FAPopup-BS-3oZPR-C_3L-M1N.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-DBr7crZ5-FdMIuie9.js +1 -0
  181. package/dist/assets/{VendorDetailPage-DcpigP-V-CLpuuI3V.js → VendorDetailPage-CJQeB1km-B4OkDlMh.js} +5 -5
  182. package/dist/assets/VendorDomesticWireDetailsPage-BRIKuuUP-j1Nnt0f3.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-BK_AfMvG-BcMvx9ZT.js → VendorFiling1099EditablePage-C2zwrfg_-BSkCYiG1.js} +1 -1
  184. package/dist/assets/{VendorFirstReviewPage-BnGpb03v-CQ1grmaD.js → VendorFirstReviewPage-BeDtBSt0-DLLC2Nix.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-Bs_MIbDV-D_-xScY6.js → VendorInternationalWireDetailsPage-BVI-FIhY-DxEIS0E-.js} +1 -1
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-D4H4XkkY-B3GBnsRt.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-V7IwNhkN-D-eiPu30.js → VendorsAccountsSection-DlO_YtSs-DR5OkKrn.js} +1 -1
  188. package/dist/assets/{VerifyDevice-Dc3oeJbw-D5d8Wn7A.js → VerifyDevice-CVr0FwHa-DAB6OPBb.js} +1 -1
  189. package/dist/assets/{VideoPlayer-XU1YwohK-BaDXYiVP.js → VideoPlayer-HL-oU9Ri-BnQLsV6M.js} +2 -2
  190. package/dist/assets/{VideoPopup-BKLcIVcV-C8tsI7gn.js → VideoPopup-Dw57i43Q-BXsiVF5S.js} +5 -5
  191. package/dist/assets/{WarningsDrawerPage-DE6hNSem-DTjl6BDC.js → WarningsDrawerPage-DOFirhc3-Ch_HhDH0.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-B3txxml4-BrnXOri_.js → ZeniAccountDetailPage-ByCgz534-Dsg1GtqQ.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-D8AbqSI--lXEmxuQ-.js → ZeniAccountListViewPage-yATacDeU-5emCk5r8.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-CNM-e6b3-CrP6I6p5.js → ZeniAccountNavBarPieces-Yb3HCUq4-CdqCHII0.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-CcZOtFpv-D5dUYpiY.js → ZeniAccountPromoPage-4iBPGLEt-CS6doMp4.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-COA09GMm-BsBo4Yw_.js → ZeniAccountSetupPage-bdXuLfgB-Cy2PUDIb.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-DqbjGQWk-D3uyyuTN.js → ZeniCopyright-C_Hgn3Qx-CHqYLJwq.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-NJ7GeTlf-DqVr8V-Q.js → ZeniTransferAmountSlider-DBhodWDh-BViJCc8g.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-CF63trjm.js → add-to-wallet-DgdBD8_G-B2xhCimT.js} +1 -1
  200. package/dist/assets/{analytics-D0z7Cz17.js → analytics-CO_4s2X8.js} +1 -1
  201. package/dist/assets/{analyticsHelper-D1UvETVa.js → analyticsHelper-C-V4F33Q.js} +1 -1
  202. package/dist/assets/{analyticsHelper-C2PAija--B2XRbUD9.js → analyticsHelper-DTl4FgRU-DCg1Wj_c.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-Cun1Cxd1.js → arrow-south-east-round-PEovUgvH-BLOUsrLT.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-DPk-N0wE.js → auto-transfer-rule-mbafm5D3-DXWlGTms.js} +1 -1
  205. package/dist/assets/{chartTypes-B9jQTJLQ-B-uICCus.js → chartTypes-wLUiIPlP-CGvYnBXb.js} +1 -1
  206. package/dist/assets/{commonDimensions-BgvFMAEM-jw0M4GDE.js → commonDimensions-DGz_YafU-DaJiwvC8.js} +1 -1
  207. package/dist/assets/{commonTypes-PtDfk70--ByVvU-Tm.js → commonTypes-Gv0Fff59-KWmxkMG2.js} +1 -1
  208. package/dist/assets/{constants-DleDZ7Hr.js → constants-B80Lbuf7.js} +1 -1
  209. package/dist/assets/{core-9PMMelIA.js → core-D7_k1EhP.js} +1 -1
  210. package/dist/assets/{dash.all.min-ClWxXI22.js → dash.all.min-D84aFlTu.js} +1 -1
  211. package/dist/assets/{detailCommon-BjRXEZFj-BMuJy_GS.js → detailCommon-C-kv1ST5-00YEtv_m.js} +6 -6
  212. package/dist/assets/{downloadPdf-ZSABdzxr-CSS_LmUU.js → downloadPdf-a0dx3Bka-DXudTOPx.js} +1 -1
  213. package/dist/assets/{empty-Bp9uyDV_.js → empty-BK-FM9Fc.js} +1 -1
  214. package/dist/assets/{empty-D5Zf29Ub.js → empty-D7ZL3ibO.js} +1 -1
  215. package/dist/assets/{epic-Di7g1fbQ.js → epic-BKSpf58y.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-m0hJlqL5.js → gift-box-Cmt9OgIZ-BvDbzpBs.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-cg6FAACa.js → graphic-no-data-l-DU4J8fDt-DnBDJsPD.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-qDT1cGx5.js → graphic-no-data-net-burn-l-CzmycA0m-D8mbIWvo.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-DFhtOw8z.js → handshake-BPg58FML-B-s0K2Gk.js} +1 -1
  220. package/dist/assets/{index-DNxMom6d.js → index-AC1SIzUs.js} +1 -1
  221. package/dist/assets/{index-DW6fMwk4.js → index-BCqMlt2D.js} +1 -1
  222. package/dist/assets/{index-4hZvJwkO.js → index-CIdXBggf.js} +1 -1
  223. package/dist/assets/{index-0WIxY_w_.js → index-CN_MjJna.js} +1 -1
  224. package/dist/assets/{index-CbXRL6aP.js → index-CocAByQY.js} +1 -1
  225. package/dist/assets/{index-Bs2B-MQ4.js → index-qaSB49F0.js} +9 -9
  226. package/dist/assets/{index-BLOmj_st.js → index-yGtk6ceJ.js} +1 -1
  227. package/dist/assets/{lexical-CaQwXIc3.js → lexical-CGMN4tXG.js} +1 -1
  228. package/dist/assets/{liveblocks-48Yy2aTy.js → liveblocks-BmXYR5uO.js} +1 -1
  229. package/dist/assets/{lottie-ChwWMuYN.js → lottie--pGIoexZ.js} +1 -1
  230. package/dist/assets/mapLoadingInProgressToTreeNode-Dn79CwqB-DWPPY5_g.js +1 -0
  231. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DCsXPZ77-B7l0JH-0.js → mapSectionWithAcOnlyToTreeNode-DXbOFz3E-BdYTpUAO.js} +1 -1
  232. package/dist/assets/mapSpacerToTreeNode-D7hBnjRr-B3iPFPg7.js +1 -0
  233. package/dist/assets/{mapTimeframeBalancesToTreeNode-q_WorOhv-vY1YncA0.js → mapTimeframeBalancesToTreeNode-CQWxQdJu-UtXiI9zI.js} +1 -1
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-ph17cvaS-DS1-lnZY.js +1 -0
  235. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DFZvknEc-BH5TYlER.js → mapTimeframeHeaderLoadingInProgressToTreeNode-FwPcTyoF-D6D_67kw.js} +1 -1
  236. package/dist/assets/{mui-snKYaegN.js → mui-Fyk6sRCR.js} +1 -1
  237. package/dist/assets/{page-detail-CWX5S47F-D1nl1r9M.js → page-detail-CWX5S47F-CTsT95lG.js} +1 -1
  238. package/dist/assets/{radio-default-CiSgisfh-BY9nqKUM.js → radio-default-CiSgisfh-DyFeMuig.js} +1 -1
  239. package/dist/assets/{react-B2deW7HO.js → react-89jLopxj.js} +1 -1
  240. package/dist/assets/{react-CiQEdtzT.js → react-8lAMKDVs.js} +1 -1
  241. package/dist/assets/{react-C-MrqhIX.js → react-CZ_9akaZ.js} +1 -1
  242. package/dist/assets/{react-o70ZlKb0.js → react-CazNrypD.js} +1 -1
  243. package/dist/assets/{react-BpEW9tPq.js → react-Cw0TtY4U.js} +1 -1
  244. package/dist/assets/{react-BNn_K56n.js → react-DywPl4iN.js} +1 -1
  245. package/dist/assets/{react-DHTHtXgj.js → react-E7ETqwTX.js} +1 -1
  246. package/dist/assets/{react-BddMC_36.js → react-OOqLEgIT.js} +2 -2
  247. package/dist/assets/{recharts-DGmpNqLb.js → recharts-j_eh1fXg.js} +1 -1
  248. package/dist/assets/{sentry-gm2R3TtK.js → sentry-D4D7HRQR.js} +1 -1
  249. package/dist/assets/{shield-DOlUxcFf-DNx-Nq5U.js → shield-DOlUxcFf-D9ihfdgR.js} +1 -1
  250. package/dist/assets/toCOABalancesWithID-CdKQhpIb-CFgx5sWA.js +1 -0
  251. package/dist/assets/{toChartData-CVxc3i6E-Jb1kbIeZ.js → toChartData-BlyUYoV7-DsdeBaUU.js} +1 -1
  252. package/dist/assets/{uploadAttachment-CBATb9_e-Bf8RMkbX.js → uploadAttachment-BkEbu6k9-DdujAAv5.js} +1 -1
  253. package/dist/assets/{uploadReceipts-CPw64UYa-DwtdWb2a.js → uploadReceipts-CPw64UYa-C1oywu4M.js} +1 -1
  254. package/dist/assets/{url-B3spPAaB.js → url-BwHZRaSJ.js} +1 -1
  255. package/dist/assets/{url-CsktLD4A.js → url-DStI5MA9.js} +1 -1
  256. package/dist/assets/{useLongPress-GCK2COYQ-5GfLl0ml.js → useLongPress-GCK2COYQ-BS3t10_q.js} +1 -1
  257. package/dist/assets/{usp-line-BBd1wKwW-DO5-Shw0.js → usp-line-BBd1wKwW-DELeCmm4.js} +1 -1
  258. package/dist/assets/{utils-C7Aiy3iw.js → utils-BTQ24URD.js} +1 -1
  259. package/dist/assets/{zeni-epic-state-D2RxwWrl.js → zeni-epic-state-I555vKHy.js} +3 -3
  260. package/dist/index.html +1 -1
  261. package/package.json +4 -4
  262. package/dist/assets/AddAddressForCardDrawer-CNkdq378-DvUXwFrO.js +0 -6
  263. package/dist/assets/ChargeCardPaymentHistoryPage-DnxJwv-T-SsEma55z.js +0 -553
  264. package/dist/assets/CustomerOnboardingContainerPage-ZVvSCumS-nk4WVXpw.js +0 -1
  265. package/dist/assets/CustomerOnboardingProductSuitePage-DHSPLF5F-BeorfiRM.js +0 -202
  266. package/dist/assets/EntityDetailPage-BaKoO9FG-BDiZrnyD.js +0 -18
  267. package/dist/assets/MagicLinkACHDetailsPage-BeUu65LP-h79CD54_.js +0 -1
  268. package/dist/assets/MagicLinkDomesticWireDetailsPage-CO7IswK8-3R9uoHM3.js +0 -1
  269. package/dist/assets/MagicLinkInternationalWireDetailsPage-bKdrX7dk-BH9XfZTx.js +0 -1
  270. package/dist/assets/MailingDetailsSection-B_0EH3Eh-Dx6cptzU.js +0 -21
  271. package/dist/assets/StatementItem-C9KsTdoM-CvW9SwJx.js +0 -31
  272. package/dist/assets/VendorACHDetailsPage-DVqS0EVe-BvHJQnhv.js +0 -1
  273. package/dist/assets/VendorDomesticWireDetailsPage-BrvN0BZx-Cb_0-TC6.js +0 -1
  274. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CJMBOb8y-CNYkR-9e.js +0 -1
  275. package/dist/assets/mapLoadingInProgressToTreeNode-ilouYnTd-DoZ0huih.js +0 -1
  276. package/dist/assets/mapSpacerToTreeNode-CEKoJAIb-Ca0optUS.js +0 -1
  277. package/dist/assets/mapTimeframeBalancesToTreeNode-Cki-np8X-STcH44eC.js +0 -1
  278. package/dist/assets/toCOABalancesWithID-CcsM8Vr1-Ca_vxtPe.js +0 -1
@@ -1,28 +1,28 @@
1
- import{d as V,q as j,V as o,bA as Te,gW as A,ao as Me,g_ as Be,c as s,F as b,o as r,aL as k,n as Y,b as B,cr as We,y as p,R as M,M as W,al as H,p as S,a_ as De,ag as U,u as X,gZ as Z,ai as z,aq as Oe,jT as Ee,bP as Ne,bM as Ve,aR as Ae,l as fe,am as D,at as He,a as $e,b8 as Fe,jU as Q,iW as Ke,cw as Ge,jV as ye,k as be,cc as ve,gr as v,ja as Ye,jW as je,cg as Ce,g2 as Je}from"./index-Bs2B-MQ4.js";import{a as f}from"./sentry-gm2R3TtK.js";import{n as t}from"./mui-snKYaegN.js";import{C as ke}from"./gift-box-Cmt9OgIZ-m0hJlqL5.js";import{G8 as te,G9 as y,Ga as P}from"./zeni-epic-state-D2RxwWrl.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="1434b0da-23c8-406c-ac10-dbecc6cf7431",e._sentryDebugIdIdentifier="sentry-dbid-1434b0da-23c8-406c-ac10-dbecc6cf7431")}catch{}})();const Se=(e,i)=>{f.useEffect(()=>{const n=e.current;if(window.IntersectionObserver==null)return;const c=new IntersectionObserver(([a])=>{i&&i(a.isIntersecting)},{root:null,rootMargin:r.sp0,threshold:.1});return n&&c.observe(n),()=>{n&&c.unobserve(n)}})},qe={pageTitleMarginLeft:new p(s[4],s[6])},Ue=t.div`
1
+ import{d as V,q as j,V as o,bA as Te,gW as A,ao as Me,g_ as Be,c as s,F as b,o as r,aL as k,n as Y,b as B,cr as We,y as p,R as M,M as W,al as H,p as S,a_ as De,ag as q,u as U,gZ as Z,ai as z,aq as Oe,jU as Ee,bP as Ne,bM as Ve,aR as Ae,l as fe,am as D,at as He,a as $e,b8 as Fe,jV as Q,iW as Ke,cw as Ge,jW as ye,k as be,cc as ve,gr as v,ja as Ye,jX as je,cg as Ce,g2 as Je}from"./index-qaSB49F0.js";import{a as f}from"./sentry-D4D7HRQR.js";import{n as t}from"./mui-Fyk6sRCR.js";import{C as ke}from"./gift-box-Cmt9OgIZ-BvDbzpBs.js";import{G8 as te,G9 as y,Ga as P}from"./zeni-epic-state-I555vKHy.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.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]="177f0b32-43e7-4157-9704-66046391b0b7",e._sentryDebugIdIdentifier="sentry-dbid-177f0b32-43e7-4157-9704-66046391b0b7")}catch{}})();const Se=(e,i)=>{f.useEffect(()=>{const n=e.current;if(window.IntersectionObserver==null)return;const c=new IntersectionObserver(([a])=>{i&&i(a.isIntersecting)},{root:null,rootMargin:r.sp0,threshold:.1});return n&&c.observe(n),()=>{n&&c.unobserve(n)}})},Xe={pageTitleMarginLeft:new p(s[4],s[6])},qe=t.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
  display: flex;
5
5
  flex-wrap: wrap;
6
- gap: ${e=>qe.pageTitleMarginLeft.valuePx(e.windowSize)};
6
+ gap: ${e=>Xe.pageTitleMarginLeft.valuePx(e.windowSize)};
7
7
  margin-top: ${r.sp4};
8
- `,Xe=t.div`
8
+ `,Ue=t.div`
9
9
  display: flex;
10
10
  justify-content: center;
11
11
  align-items: center;
12
12
  flex: 1 1 auto;
13
13
  min-width: 154px;
14
- `,Ze=t(U)`
14
+ `,Ze=t(q)`
15
15
  height: ${r.sp3};
16
16
  width: ${r.sp3};
17
17
  color: ${e=>e.theme.colors.hero};
18
18
  `,Qe=t(Z)`
19
19
  width: ${r.sp3};
20
20
  height: ${r.sp3};
21
- `,eo=t(X)`
21
+ `,eo=t(U)`
22
22
  width: ${r.sp3};
23
23
  height: ${r.sp3};
24
24
  color: ${S.success};
25
- `;function ze({referralLink:e,onInviteClick:i,onCopyReferral:n,setShowNavButton:c}){const[,a]=A(),[l,d]=f.useState(!1),h=j(),g=V(),x=()=>{n(),l||(a(e.toString()),d(!0))};f.useEffect(()=>{l===!0&&setTimeout(()=>{d(!1)},2e3)},[l]);const u=f.useRef(null);Se(u,c);const w=b.getLocalizedStrings().rewardsPage.rewardsCard;return o.jsxs(Ue,{windowSize:h,children:[o.jsx(Xe,{ref:u,children:o.jsx(Y,{variant:"secondary",label:w.inviteViaEmail,onClick:i,prefixIcon:o.jsx(Ze,{}),textStyle:{...B.smallRegular.cssObject,color:`${g.colors.hero}`},style:{borderRadius:`${r.sp1}`,border:`1px solid ${g.colors.grey1}`,backgroundColor:"transparent",padding:`${r.sp2} 12px`,minWidth:"154px",flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center"}})}),o.jsx(Y,{variant:"secondary",label:l?w.copied:w.copyReferralLink,onClick:x,prefixIcon:l?o.jsx(eo,{}):o.jsx(Qe,{}),textStyle:{...B.smallRegular.cssObject,color:`${g.colors.hero}`},style:{borderRadius:`${r.sp1}`,border:`1px solid ${g.colors.grey1}`,backgroundColor:"transparent",padding:`${r.sp2} ${l?"47px":"12px"}`,minWidth:"154px",flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center"}})]})}const J={logoWidth:new p(95,135),minWidth:new p(256,360),maxWidth:new p(270,380)},Pe={title:new M("smallRegular","largeRegular"),cardDetail:new M("h5Regular","h2Regular")};function Re({planAmount:e}){const i=j(),{rewardsPage:{rewardsCard:n}}=b.getLocalizedStrings();return o.jsxs(oo,{windowSize:i,children:[o.jsxs(ro,{children:[o.jsx(no,{windowSize:i,children:n.bonus}),o.jsx(so,{windowSize:i,children:k("0,0",e)})]}),o.jsx(to,{windowSize:i,children:o.jsx(io,{})})]})}const oo=t.div`
25
+ `;function ze({referralLink:e,onInviteClick:i,onCopyReferral:n,setShowNavButton:c}){const[,a]=A(),[l,d]=f.useState(!1),h=j(),g=V(),x=()=>{n(),l||(a(e.toString()),d(!0))};f.useEffect(()=>{l===!0&&setTimeout(()=>{d(!1)},2e3)},[l]);const u=f.useRef(null);Se(u,c);const w=b.getLocalizedStrings().rewardsPage.rewardsCard;return o.jsxs(qe,{windowSize:h,children:[o.jsx(Ue,{ref:u,children:o.jsx(Y,{variant:"secondary",label:w.inviteViaEmail,onClick:i,prefixIcon:o.jsx(Ze,{}),textStyle:{...B.smallRegular.cssObject,color:`${g.colors.hero}`},style:{borderRadius:`${r.sp1}`,border:`1px solid ${g.colors.grey1}`,backgroundColor:"transparent",padding:`${r.sp2} 12px`,minWidth:"154px",flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center"}})}),o.jsx(Y,{variant:"secondary",label:l?w.copied:w.copyReferralLink,onClick:x,prefixIcon:l?o.jsx(eo,{}):o.jsx(Qe,{}),textStyle:{...B.smallRegular.cssObject,color:`${g.colors.hero}`},style:{borderRadius:`${r.sp1}`,border:`1px solid ${g.colors.grey1}`,backgroundColor:"transparent",padding:`${r.sp2} ${l?"47px":"12px"}`,minWidth:"154px",flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center"}})]})}const J={logoWidth:new p(95,135),minWidth:new p(256,360),maxWidth:new p(270,380)},Pe={title:new M("smallRegular","largeRegular"),cardDetail:new M("h5Regular","h2Regular")};function Re({planAmount:e}){const i=j(),{rewardsPage:{rewardsCard:n}}=b.getLocalizedStrings();return o.jsxs(oo,{windowSize:i,children:[o.jsxs(ro,{children:[o.jsx(no,{windowSize:i,children:n.bonus}),o.jsx(so,{windowSize:i,children:k("0,0",e)})]}),o.jsx(to,{windowSize:i,children:o.jsx(io,{})})]})}const oo=t.div`
26
26
  display: flex;
27
27
  height: 100%;
28
28
  min-width: ${e=>J.minWidth.valuePx(e.windowSize)};
@@ -118,7 +118,7 @@ import{d as V,q as j,V as o,bA as Te,gW as A,ao as Me,g_ as Be,c as s,F as b,o a
118
118
  background-color: ${e=>e.theme.colors.champion};
119
119
  border: 1px solid ${e=>e.theme.colors.champion};
120
120
  }
121
- `,wo=t(U)`
121
+ `,wo=t(q)`
122
122
  height: ${r.sp3};
123
123
  width: ${r.sp3};
124
124
  margin-right: ${r.sp2};
@@ -147,7 +147,7 @@ import{d as V,q as j,V as o,bA as Te,gW as A,ao as Me,g_ as Be,c as s,F as b,o a
147
147
  width: ${r.sp3};
148
148
  height: ${r.sp3};
149
149
  margin-right: ${r.sp2};
150
- `,bo=t(X)`
150
+ `,bo=t(U)`
151
151
  width: ${r.sp3};
152
152
  height: ${r.sp3};
153
153
  color: ${S.success};
@@ -222,7 +222,7 @@ import{d as V,q as j,V as o,bA as Te,gW as A,ao as Me,g_ as Be,c as s,F as b,o a
222
222
  `,Wo=t($e)`
223
223
  color: ${e=>e.theme.colors.brandColorGold};
224
224
  margin-bottom: ${r.sp2};
225
- `,Do={backgroundSize:new p(75,100,75)};function Oo({rewardsPlan:e,onInviteClick:i,setShowNavButton:n,onCopyReferral:c}){const a=V(),l=j(),[,d]=A(),[h,g]=f.useState(!1),[x,u]=f.useState(!1),w=()=>{c(),h||(d(e.referralLink.toString()),g(!0))},C=()=>{u(!0)},m=()=>{u(!1)};f.useEffect(()=>{h===!0&&setTimeout(()=>{g(!1)},2e3)},[h]);const{rewardsCard:$,referAndEarn:_}=b.getLocalizedStrings().rewardsPage,R=f.useRef(null);Se(R,n);const K=x?o.jsx(ie,{showCopyText:x,isCopied:h,children:$.copyReferralLink}):null;return o.jsxs(Eo,{windowSize:l,children:[o.jsxs(No,{children:[o.jsx(Ho,{children:_}),o.jsx(Fo,{children:$.rewardsSummary[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))}),o.jsxs(Vo,{ref:R,children:[o.jsx(Y,{variant:"secondary",label:$.inviteViaEmail,onClick:i,prefixIcon:o.jsx(Ko,{}),textStyle:{...B.standardRegular.cssObject},buttonColors:{borderColor:{default:a.colors.primary,hover:a.colors.champion,disabled:a.colors.primary},backgroundColor:{default:a.colors.primary,hover:a.colors.champion,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.grey5}},style:{borderRadius:r.sp1,padding:`${r.sp1} 12px`,flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center",marginRight:r.sp3}}),o.jsx(Go,{onClick:w,onMouseOver:C,onMouseLeave:m,showCopyText:x,isCopied:h,children:o.jsx(Jo,{showCopyText:x,isCopied:h,children:o.jsx(Yo,{})})}),o.jsx(Uo,{children:h?o.jsxs(o.Fragment,{children:[o.jsx(qo,{}),o.jsx(ie,{showCopyText:x,isCopied:h,children:$.copied})]}):K})]})]}),l==="medium-compact"||l==="medium-regular"?null:o.jsx(Ao,{children:o.jsx(Lo,{planAmount:e.referrerAmount})})]})}const Eo=t.div`
225
+ `,Do={backgroundSize:new p(75,100,75)};function Oo({rewardsPlan:e,onInviteClick:i,setShowNavButton:n,onCopyReferral:c}){const a=V(),l=j(),[,d]=A(),[h,g]=f.useState(!1),[x,u]=f.useState(!1),w=()=>{c(),h||(d(e.referralLink.toString()),g(!0))},C=()=>{u(!0)},m=()=>{u(!1)};f.useEffect(()=>{h===!0&&setTimeout(()=>{g(!1)},2e3)},[h]);const{rewardsCard:$,referAndEarn:_}=b.getLocalizedStrings().rewardsPage,R=f.useRef(null);Se(R,n);const K=x?o.jsx(ie,{showCopyText:x,isCopied:h,children:$.copyReferralLink}):null;return o.jsxs(Eo,{windowSize:l,children:[o.jsxs(No,{children:[o.jsx(Ho,{children:_}),o.jsx(Fo,{children:$.rewardsSummary[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))}),o.jsxs(Vo,{ref:R,children:[o.jsx(Y,{variant:"secondary",label:$.inviteViaEmail,onClick:i,prefixIcon:o.jsx(Ko,{}),textStyle:{...B.standardRegular.cssObject},buttonColors:{borderColor:{default:a.colors.primary,hover:a.colors.champion,disabled:a.colors.primary},backgroundColor:{default:a.colors.primary,hover:a.colors.champion,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.grey5}},style:{borderRadius:r.sp1,padding:`${r.sp1} 12px`,flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center",marginRight:r.sp3}}),o.jsx(Go,{onClick:w,onMouseOver:C,onMouseLeave:m,showCopyText:x,isCopied:h,children:o.jsx(Jo,{showCopyText:x,isCopied:h,children:o.jsx(Yo,{})})}),o.jsx(qo,{children:h?o.jsxs(o.Fragment,{children:[o.jsx(Xo,{}),o.jsx(ie,{showCopyText:x,isCopied:h,children:$.copied})]}):K})]})]}),l==="medium-compact"||l==="medium-regular"?null:o.jsx(Ao,{children:o.jsx(Lo,{planAmount:e.referrerAmount})})]})}const Eo=t.div`
226
226
  display: flex;
227
227
  align-items: center;
228
228
  justify-content: space-between;
@@ -264,7 +264,7 @@ import{d as V,q as j,V as o,bA as Te,gW as A,ao as Me,g_ as Be,c as s,F as b,o a
264
264
  color: ${e=>e.theme.mode==="light"?e.theme.colors.brandColorSapphire:e.theme.colors.brandColorJade};
265
265
  max-width: 210px;
266
266
  margin-bottom: ${r.sp5};
267
- `,Ko=t(U)`
267
+ `,Ko=t(q)`
268
268
  height: ${r.sp3};
269
269
  width: ${r.sp3};
270
270
  flex-shrink: 0;
@@ -287,12 +287,12 @@ import{d as V,q as j,V as o,bA as Te,gW as A,ao as Me,g_ as Be,c as s,F as b,o a
287
287
  display: flex;
288
288
  align-items: center;
289
289
  color: ${e=>e.showCopyText||e.isCopied?e.theme.colors.grey3:e.theme.colors.primary};
290
- `,qo=t(X)`
290
+ `,Xo=t(U)`
291
291
  width: ${r.sp4};
292
292
  height: ${r.sp4};
293
293
  color: ${S.success};
294
294
  margin-right: ${r.sp1};
295
- `,Uo=t.div`
295
+ `,qo=t.div`
296
296
  position: absolute;
297
297
  bottom: -35px;
298
298
  right: -55px;
@@ -305,13 +305,13 @@ import{d as V,q as j,V as o,bA as Te,gW as A,ao as Me,g_ as Be,c as s,F as b,o a
305
305
  background-color: ${e=>e.showCopyText||e.isCopied?e.theme.colors.black:"transparent"};
306
306
  padding: ${r.sp1} ${r.sp2};
307
307
  border-radius: ${r.sp1};
308
- `,Xo={height:new p(200,280)},F={earningValue:new M("h6Regular","h5Regular"),cardTitle:new M("extraSmallRegular","smallRegular"),buttonText:new M("extraSmallRegular","smallRegular")};function ne({pendingBonus:e,earnedBonus:i,pendingReferrals:n,onHowItWorksClick:c}){const{rewardsPage:{statisticsCard:a},common:{strings:l}}=b.getLocalizedStrings(),d=j();return o.jsxs(Zo,{windowSize:d,children:[o.jsx(Qo,{children:o.jsx(er,{windowSize:d,children:a.title})}),o.jsxs(or,{windowSize:d,children:[o.jsxs(se,{children:[o.jsx(ae,{children:a.earned}),o.jsx(le,{windowSize:d,type:"earned",children:k("0,0",i)})]}),d==="medium-compact"?o.jsx(tr,{}):o.jsx(rr,{}),o.jsxs(se,{children:[o.jsx(ae,{children:a.pending}),o.jsx(le,{windowSize:d,type:"pending",children:k("0,0",e)})]})]}),o.jsxs(ir,{children:[o.jsxs(nr,{windowSize:d,children:[a.pendingReferrals," ",l.colon," ",n]}),o.jsxs(ar,{windowSize:d,onClick:c,children:[a.knowMore," ",o.jsx(sr,{})]})]})]})}const Zo=t.div`
308
+ `,Uo={height:new p(200,280)},F={earningValue:new M("h6Regular","h5Regular"),cardTitle:new M("extraSmallRegular","smallRegular"),buttonText:new M("extraSmallRegular","smallRegular")};function ne({pendingBonus:e,earnedBonus:i,pendingReferrals:n,onHowItWorksClick:c}){const{rewardsPage:{statisticsCard:a},common:{strings:l}}=b.getLocalizedStrings(),d=j();return o.jsxs(Zo,{windowSize:d,children:[o.jsx(Qo,{children:o.jsx(er,{windowSize:d,children:a.title})}),o.jsxs(or,{windowSize:d,children:[o.jsxs(se,{children:[o.jsx(ae,{children:a.earned}),o.jsx(le,{windowSize:d,type:"earned",children:k("0,0",i)})]}),d==="medium-compact"?o.jsx(tr,{}):o.jsx(rr,{}),o.jsxs(se,{children:[o.jsx(ae,{children:a.pending}),o.jsx(le,{windowSize:d,type:"pending",children:k("0,0",e)})]})]}),o.jsxs(ir,{children:[o.jsxs(nr,{windowSize:d,children:[a.pendingReferrals," ",l.colon," ",n]}),o.jsxs(ar,{windowSize:d,onClick:c,children:[a.knowMore," ",o.jsx(sr,{})]})]})]})}const Zo=t.div`
309
309
  display: flex;
310
310
  flex-direction: column;
311
311
  align-items: center;
312
312
  justify-content: space-between;
313
313
  flex: 1 1 auto;
314
- height: ${e=>Xo.height.valuePx(e.windowSize)};
314
+ height: ${e=>Uo.height.valuePx(e.windowSize)};
315
315
  background-color: ${e=>e.theme.colors.grey5};
316
316
  background-image: url(https://storage.googleapis.com/zeni-apis.appspot.com/images/confetti.svg);
317
317
  background-repeat: no-repeat;
@@ -384,7 +384,7 @@ import{d as V,q as j,V as o,bA as Te,gW as A,ao as Me,g_ as Be,c as s,F as b,o a
384
384
  padding-right: 12px;
385
385
  color: ${e=>e.theme.colors.primary};
386
386
  ${e=>`${F.buttonText.style(e.windowSize)}`};
387
- `,lr=90,q=114,Le=160,dr=1,cr=58,pr=45,de=(e,i)=>i!=="small"?lr:Ee(e,{...B.standardRegular.cssPartialObject(["fontSize","fontFamily","fontWeight"])}).width<Le?q:q+24,{rewardsPage:{header:ee},common:{strings:ce}}=b.getLocalizedStrings(),hr={key:"invitee_email",value:ee.invitee_email,sortOrder:"ascending",width:new p(s[7],s[8],s[8],s[9])},gr={key:"amount",value:ee.amount,sortOrder:"ascending",width:new p(s[4],20,20,s[3])},mr={key:"status",value:ee.status,sortOrder:"ascending",width:new p(s[3],s[4],s[4],20)},N=[hr,mr,gr],ur=e=>{const i=e.toLowerCase().split(ce.space).join(ce.underscore);switch(e){case y.invite_processing:return{value:e,color:v.invite_processing.color,borderColor:v.invite_processing.borderColor,code:i};case y.invite_sent:return{value:e,color:v.invite_sent.color,borderColor:v.invite_sent.borderColor,code:i};case y.onboarding:return{value:e,color:v.onboarding.color,borderColor:v.onboarding.borderColor,code:i};case y.active:case y.reward_sent:return{value:e,color:v.active.color,borderColor:v.active.borderColor,code:i};case y.declined:return{value:e,color:v.declined.color,borderColor:v.declined.borderColor,code:i};case y.resend_invite:return{value:e,color:v.resend_invite.color,borderColor:v.resend_invite.borderColor,code:i};default:return{value:e,color:v.in_progress.color,borderColor:"",code:i}}},T={headerLastColumnTopPadding:new p(s[0],s[4]),headerLastColumnRightPadding:new p(s[3],s[11]),headerLastColumnBottomPadding:new p(s[0],s[4]),headerLastColumnLeftPadding:new p(s[3],s[11]),headerHeight:new p(pr,cr)};function xr({companyNameSticky:e,sortConfig:i,onColumnSortConfigChanged:n}){const c=V(),a=j(),[l,d]=f.useState(N);f.useEffect(()=>{const m=[...l];for(const $ of m)$.key===i.sortKey?$.sortOrder=i.sortOrder:$.sortOrder="ascending";d(m)},[i.sortKey,i.sortOrder]);const h=(m,$)=>{let _=$;i.sortKey===m&&(_=$==="ascending"?"descending":"ascending"),n(m,_)},g=l.find(m=>m.key===i.sortKey)??l[0],x=m=>l.find($=>$.key===m)?.value??C.strings.empty,u=l.map(m=>m.key),{rewardsPage:{inviteList:w},common:C}=b.getLocalizedStrings();return a==="small"?o.jsxs(pe,{windowSize:a,companyNameSticky:!1,children:[o.jsxs(fr,{children:[o.jsx(yr,{children:o.jsx($r,{})}),o.jsx(Ne,{title:w.sortBy,placeholder:w.sortBy,pickerValues:u,valueToLabel:x,selectedValue:i.sortKey,onPickerSelectionChanged:m=>{m&&h(te(m),"ascending")},optionTextStyle:B.smallRegular,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4,titleTextStyle:B.smallRegular,titleColor:c.colors.hero})]}),o.jsxs(vr,{onClick:()=>{h(g.key,g.sortOrder)},children:[o.jsx(z,{children:g.value}),o.jsx(he,{sortDataValue:i.sortKey,headerdata:g,children:o.jsx(ge,{})})]})]}):o.jsx(pe,{companyNameSticky:e,windowSize:a,children:l.map(m=>o.jsx(wr,{companyNameSticky:e&&m.key==="invitee_email",sortDataValue:i.sortKey,actualDataValue:m.key,wrapperWidth:m.width,windowSize:a,shouldRightAlign:m.value==="Amount",children:o.jsxs(br,{onClick:()=>{h(te(m.key),m.sortOrder)},children:[o.jsx(z,{children:m.value}),o.jsx(he,{sortDataValue:i.sortKey,headerdata:m,children:o.jsx(ge,{})})]})},m.key))})}const pe=t(z)`
387
+ `,lr=90,X=114,Le=160,dr=1,cr=58,pr=45,de=(e,i)=>i!=="small"?lr:Ee(e,{...B.standardRegular.cssPartialObject(["fontSize","fontFamily","fontWeight"])}).width<Le?X:X+24,{rewardsPage:{header:ee},common:{strings:ce}}=b.getLocalizedStrings(),hr={key:"invitee_email",value:ee.invitee_email,sortOrder:"ascending",width:new p(s[7],s[8],s[8],s[9])},gr={key:"amount",value:ee.amount,sortOrder:"ascending",width:new p(s[4],20,20,s[3])},mr={key:"status",value:ee.status,sortOrder:"ascending",width:new p(s[3],s[4],s[4],20)},N=[hr,mr,gr],ur=e=>{const i=e.toLowerCase().split(ce.space).join(ce.underscore);switch(e){case y.invite_processing:return{value:e,color:v.invite_processing.color,borderColor:v.invite_processing.borderColor,code:i};case y.invite_sent:return{value:e,color:v.invite_sent.color,borderColor:v.invite_sent.borderColor,code:i};case y.onboarding:return{value:e,color:v.onboarding.color,borderColor:v.onboarding.borderColor,code:i};case y.active:case y.reward_sent:return{value:e,color:v.active.color,borderColor:v.active.borderColor,code:i};case y.declined:return{value:e,color:v.declined.color,borderColor:v.declined.borderColor,code:i};case y.resend_invite:return{value:e,color:v.resend_invite.color,borderColor:v.resend_invite.borderColor,code:i};default:return{value:e,color:v.in_progress.color,borderColor:"",code:i}}},T={headerLastColumnTopPadding:new p(s[0],s[4]),headerLastColumnRightPadding:new p(s[3],s[11]),headerLastColumnBottomPadding:new p(s[0],s[4]),headerLastColumnLeftPadding:new p(s[3],s[11]),headerHeight:new p(pr,cr)};function xr({companyNameSticky:e,sortConfig:i,onColumnSortConfigChanged:n}){const c=V(),a=j(),[l,d]=f.useState(N);f.useEffect(()=>{const m=[...l];for(const $ of m)$.key===i.sortKey?$.sortOrder=i.sortOrder:$.sortOrder="ascending";d(m)},[i.sortKey,i.sortOrder]);const h=(m,$)=>{let _=$;i.sortKey===m&&(_=$==="ascending"?"descending":"ascending"),n(m,_)},g=l.find(m=>m.key===i.sortKey)??l[0],x=m=>l.find($=>$.key===m)?.value??C.strings.empty,u=l.map(m=>m.key),{rewardsPage:{inviteList:w},common:C}=b.getLocalizedStrings();return a==="small"?o.jsxs(pe,{windowSize:a,companyNameSticky:!1,children:[o.jsxs(fr,{children:[o.jsx(yr,{children:o.jsx($r,{})}),o.jsx(Ne,{title:w.sortBy,placeholder:w.sortBy,pickerValues:u,valueToLabel:x,selectedValue:i.sortKey,onPickerSelectionChanged:m=>{m&&h(te(m),"ascending")},optionTextStyle:B.smallRegular,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4,titleTextStyle:B.smallRegular,titleColor:c.colors.hero})]}),o.jsxs(vr,{onClick:()=>{h(g.key,g.sortOrder)},children:[o.jsx(z,{children:g.value}),o.jsx(he,{sortDataValue:i.sortKey,headerdata:g,children:o.jsx(ge,{})})]})]}):o.jsx(pe,{companyNameSticky:e,windowSize:a,children:l.map(m=>o.jsx(wr,{companyNameSticky:e&&m.key==="invitee_email",sortDataValue:i.sortKey,actualDataValue:m.key,wrapperWidth:m.width,windowSize:a,shouldRightAlign:m.value==="Amount",children:o.jsxs(br,{onClick:()=>{h(te(m.key),m.sortOrder)},children:[o.jsx(z,{children:m.value}),o.jsx(he,{sortDataValue:i.sortKey,headerdata:m,children:o.jsx(ge,{})})]})},m.key))})}const pe=t(z)`
388
388
  top: ${r.sp0};
389
389
  left: ${r.sp0};
390
390
  min-height: ${e=>T.headerHeight.valuePx(e.windowSize)};
@@ -548,7 +548,7 @@ import{d as V,q as j,V as o,bA as Te,gW as A,ao as Me,g_ as Be,c as s,F as b,o a
548
548
  margin-right: ${r.sp1};
549
549
  `,Nr=t.div`
550
550
  display: flex;
551
- `,I={containerPaddingLeft:new p(s[3],s[4]),containerPaddingRight:new p(s[3],s[4]),containerPaddingTop:new p(s[3],s[3]),containerPaddingBottom:new p(s[3],s[3]),containerMarginLeft:new p(s[3],s[8]),containerMarginRight:new p(s[3],s[8]),webkitLineClamp:new p(2,2,1,1,1)},{dateFormat:Vr,rewardsPage:{inviteList:Ar},common:ue}=b.getLocalizedStrings(),Hr=({email:e,amount:i,status:n,resendInviteStatus:c,inviteSendDate:a,onResendInviteClick:l})=>{const d=j();let h=!1;if(a){const u=new Date(a.format(Vr.visual.YYYYDashMMDashDFormat));h=ye(72,u)}const g=n.value===y.active?P.received:P.to_be_received,x=c.fetchState==="In-Progress"?o.jsx(be,{size:"Small",start:!0}):o.jsxs(o.Fragment,{children:[o.jsx(et,{color:n.color,onClick:()=>{l(e)},children:Ar.status.resend_invite}),o.jsx(ot,{children:`${ue.sent} ${ve(a)}`})]});return o.jsx(Fr,{windowSize:d,children:o.jsxs(Kr,{children:[o.jsxs(tt,{children:[o.jsxs(Gr,{children:[o.jsx(Yr,{children:o.jsx(rt,{})}),o.jsx(Jr,{windowSize:d,children:e})]}),o.jsx(qr,{amountStatus:g,children:n.value===y.declined?o.jsx(Ur,{children:ue.strings.hyphen}):o.jsxs(o.Fragment,{children:[k("0,0.[00]",i),o.jsx(Xr,{amountStatus:g,children:g})]})})]}),o.jsx(it,{children:o.jsx(Qr,{children:n.value===y.invite_sent&&h?x:o.jsx(nt,{children:o.jsx(Zr,{color:n.color,borderColor:n.borderColor,children:n.value})})})})]})})},Fr=t.div`
551
+ `,I={containerPaddingLeft:new p(s[3],s[4]),containerPaddingRight:new p(s[3],s[4]),containerPaddingTop:new p(s[3],s[3]),containerPaddingBottom:new p(s[3],s[3]),containerMarginLeft:new p(s[3],s[8]),containerMarginRight:new p(s[3],s[8]),webkitLineClamp:new p(2,2,1,1,1)},{dateFormat:Vr,rewardsPage:{inviteList:Ar},common:ue}=b.getLocalizedStrings(),Hr=({email:e,amount:i,status:n,resendInviteStatus:c,inviteSendDate:a,onResendInviteClick:l})=>{const d=j();let h=!1;if(a){const u=new Date(a.format(Vr.visual.YYYYDashMMDashDFormat));h=ye(72,u)}const g=n.value===y.active?P.received:P.to_be_received,x=c.fetchState==="In-Progress"?o.jsx(be,{size:"Small",start:!0}):o.jsxs(o.Fragment,{children:[o.jsx(et,{color:n.color,onClick:()=>{l(e)},children:Ar.status.resend_invite}),o.jsx(ot,{children:`${ue.sent} ${ve(a)}`})]});return o.jsx(Fr,{windowSize:d,children:o.jsxs(Kr,{children:[o.jsxs(tt,{children:[o.jsxs(Gr,{children:[o.jsx(Yr,{children:o.jsx(rt,{})}),o.jsx(Jr,{windowSize:d,children:e})]}),o.jsx(Xr,{amountStatus:g,children:n.value===y.declined?o.jsx(qr,{children:ue.strings.hyphen}):o.jsxs(o.Fragment,{children:[k("0,0.[00]",i),o.jsx(Ur,{amountStatus:g,children:g})]})})]}),o.jsx(it,{children:o.jsx(Qr,{children:n.value===y.invite_sent&&h?x:o.jsx(nt,{children:o.jsx(Zr,{color:n.color,borderColor:n.borderColor,children:n.value})})})})]})})},Fr=t.div`
552
552
  display: flex;
553
553
  margin-bottom: ${r.sp3};
554
554
  background-color: ${e=>e.theme.colors.grey5};
@@ -586,7 +586,7 @@ import{d as V,q as j,V as o,bA as Te,gW as A,ao as Me,g_ as Be,c as s,F as b,o a
586
586
  overflow: hidden;
587
587
  text-overflow: ellipsis;
588
588
  max-width: ${Le}px;
589
- `,qr=t(z)`
589
+ `,Xr=t(z)`
590
590
  display: flex;
591
591
  flex-direction: column;
592
592
  align-items: flex-start;
@@ -594,9 +594,9 @@ import{d as V,q as j,V as o,bA as Te,gW as A,ao as Me,g_ as Be,c as s,F as b,o a
594
594
  color: ${e=>e.amountStatus===P.to_be_received?e.theme.colors.grey2:e.theme.colors.primary};
595
595
  width: 100%;
596
596
  margin-left: ${r.sp5};
597
- `,Ur=t(Ce)`
597
+ `,qr=t(Ce)`
598
598
  color: ${e=>e.theme.colors.hero};
599
- `,Xr=t(D)`
599
+ `,Ur=t(D)`
600
600
  color: ${e=>e.amountStatus===P.to_be_received?e.theme.colors.grey2:e.theme.colors.success};
601
601
  `,Zr=t(D)`
602
602
  color: ${e=>e.color};
@@ -658,7 +658,7 @@ import{d as V,q as j,V as o,bA as Te,gW as A,ao as Me,g_ as Be,c as s,F as b,o a
658
658
  display: flex;
659
659
  flex-direction: column;
660
660
  align-items: flex-end;
661
- `,O={pageTitleMarginLeft:new p(s[3],s[8]),pageTitleMarginRight:new p(s[3],s[8]),pageTitleMarginTop:new p(s[4],s[5]),pageTitleMarginBottom:new p(s[3],s[3])},st={pageTitle:new M("standardSemiBold","largeSemiBold")},xe=b.getLocalizedStrings(),at=({index:e,style:i,inviteList:n,onResendInviteClick:c})=>{const a=j(),l=n[e],d=a==="small"?Hr:kr;return o.jsx(xt,{style:{...i,width:"100%"},children:o.jsx(d,{email:l.refereeEmailId,amount:l.amount,status:ur(l.statusCode),resendInviteStatus:l.resendInviteStatus,onResendInviteClick:c,inviteSendDate:l.lastInviteTimestamp})})},lt=({inviteList:e,uiState:i,fetchState:n,onResendInviteClick:c,onReloadInvitees:a,onColumnSortConfigChanged:l})=>{const d=j(),h=w=>{const C=e[w].refereeEmailId;return de(C,d)},g=e.reduce((w,C)=>w+de(C.refereeEmailId,d),0),x=f.useRef(null);f.useEffect(()=>{x.current?.resetAfterIndex(0)},[d,x]);let u=null;switch(n){case"Not-Started":case"In-Progress":u=o.jsx(Je,{fetchState:n});break;case"Error":u=o.jsxs(ct,{children:[o.jsx(pt,{onClick:a,children:o.jsx(ht,{})}),o.jsx(gt,{children:xe.peoplePage.reloadPage.label})]});break;case"Completed":e.length!==0&&(u=o.jsxs(ut,{windowSize:d,children:[o.jsx(mt,{windowSize:d,children:xe.rewardsPage.inviteList.pageTitle}),o.jsx(xr,{companyNameSticky:!1,onColumnSortConfigChanged:l,sortConfig:{sortKey:i.sortKey,sortOrder:i.sortOrder}}),o.jsx(We,{ref:x,height:g,width:"100%",itemCount:e.length,itemSize:h,estimatedItemSize:q,itemKey:w=>e[w].refereeEmailId,overscanCount:dr,initialScrollOffset:0,children:w=>o.jsx(at,{...w,inviteList:e,onResendInviteClick:c})})]}))}return o.jsx(dt,{children:u})},dt=t.div`
661
+ `,O={pageTitleMarginLeft:new p(s[3],s[8]),pageTitleMarginRight:new p(s[3],s[8]),pageTitleMarginTop:new p(s[4],s[5]),pageTitleMarginBottom:new p(s[3],s[3])},st={pageTitle:new M("standardSemiBold","largeSemiBold")},xe=b.getLocalizedStrings(),at=({index:e,style:i,inviteList:n,onResendInviteClick:c})=>{const a=j(),l=n[e],d=a==="small"?Hr:kr;return o.jsx(xt,{style:{...i,width:"100%"},children:o.jsx(d,{email:l.refereeEmailId,amount:l.amount,status:ur(l.statusCode),resendInviteStatus:l.resendInviteStatus,onResendInviteClick:c,inviteSendDate:l.lastInviteTimestamp})})},lt=({inviteList:e,uiState:i,fetchState:n,onResendInviteClick:c,onReloadInvitees:a,onColumnSortConfigChanged:l})=>{const d=j(),h=w=>{const C=e[w].refereeEmailId;return de(C,d)},g=e.reduce((w,C)=>w+de(C.refereeEmailId,d),0),x=f.useRef(null);f.useEffect(()=>{x.current?.resetAfterIndex(0)},[d,x]);let u=null;switch(n){case"Not-Started":case"In-Progress":u=o.jsx(Je,{fetchState:n});break;case"Error":u=o.jsxs(ct,{children:[o.jsx(pt,{onClick:a,children:o.jsx(ht,{})}),o.jsx(gt,{children:xe.peoplePage.reloadPage.label})]});break;case"Completed":e.length!==0&&(u=o.jsxs(ut,{windowSize:d,children:[o.jsx(mt,{windowSize:d,children:xe.rewardsPage.inviteList.pageTitle}),o.jsx(xr,{companyNameSticky:!1,onColumnSortConfigChanged:l,sortConfig:{sortKey:i.sortKey,sortOrder:i.sortOrder}}),o.jsx(We,{ref:x,height:g,width:"100%",itemCount:e.length,itemSize:h,estimatedItemSize:X,itemKey:w=>e[w].refereeEmailId,overscanCount:dr,initialScrollOffset:0,children:w=>o.jsx(at,{...w,inviteList:e,onResendInviteClick:c})})]}))}return o.jsx(dt,{children:u})},dt=t.div`
662
662
  display: block;
663
663
  height: 100%;
664
664
  `,ct=t.div`
@@ -1,4 +1,4 @@
1
- import{q as Y,fP as H,d as ee,a9 as te,c as f,V as d,gM as le,ac as ne,aN as oe,aP as se,o as re,y as z,cy as j,fS as q,fT as A,fU as G,F as ie,a as ae}from"./index-Bs2B-MQ4.js";import{a as x}from"./sentry-gm2R3TtK.js";import{n as M}from"./mui-snKYaegN.js";import{FB as de,bg as ce}from"./zeni-epic-state-D2RxwWrl.js";import{f as ue}from"./AllUserItems-D8zdAu_1-C-zZqgmo.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./LabeledUserSingleSelectWithSubtitlesField-CleX9Raw-CCmlbQ1T.js";import"./RoleWithToolTip-C08wfnGb-CFjb8VCB.js";import"./LabeledZeniRolesDropDownField-Cte6kRTw-CB2TIDv8.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]="3480a784-6ada-4db1-a3c6-2f6eb51b6b49",e._sentryDebugIdIdentifier="sentry-dbid-3480a784-6ada-4db1-a3c6-2f6eb51b6b49")}catch{}})();const S={containerPaddingLeft:new z(f[3],f[6],f[8]),containerPaddingRight:new z(f[3],f[6],f[8]),buttonWidth:new z(85,85)},V="editPeoplePage",I="userItems",p=ie.getLocalizedStrings().peoplePage,Oe=({peopleDetails:e,managersList:t,classList:g,controllersList:L,mode:o,isZeniTenant:P,onPeopleLocalDataUpdated:T,onCloseClick:C,onSaveClick:r,isReimbursementDisabled:$,isZeniAccountsDisabled:s,isChargeCardDisabled:D,isTreasuryDisabled:E,isBankingOnlyTenant:R,isCardsOnlyTenant:_,isLiteRoleDisabled:B})=>{const c=Y(),[Q,W]=x.useState(-1),[U,O]=x.useState(""),Z=x.useRef(null),k=x.useMemo(()=>H($,s,D,R,_,B,E),[$,s,D,R,_,B,E]),F=ee(),i=te({mode:"onBlur",reValidateMode:"onChange",defaultValues:N(e.people,o,k,t,g,R,_),values:N(e.people,o,k,t,g,R,_)}),J=i.handleSubmit(()=>{K()?r():console.warn("Invite People form error")}),K=()=>{const l=i.getValues();let n=!0;return l.userItems.forEach((v,w)=>{const{role:a,nonZeniRole:y,department:u,manager:m}=v;if(o==="zeni_only")a?.selectedOptions==null&&(i.setError(`${I}.${w}.role`,{type:"required"}),n=!1);else{const b=y?.userRole.selectedRole;(b!=null&&y!=null?y.productsByUserRole[b].map(h=>h.selectedOption).filter(h=>h!=null):[]).length<1&&(i.setError(`${I}.${w}.nonZeniRole.userRole.selectedRole`,{type:"required"}),n=!1),u?.selectedOption==null&&b!=="investor_or_banker"&&!R&&!_&&(i.setError(`${I}.${w}.department`,{type:"required"}),n=!1),m?.selectedUser==null&&b!=="investor_or_banker"&&(i.setError(`${I}.${w}.manager`,{type:"required"}),n=!1)}}),n},X=async(l,n)=>{const v=[],{userItems:w}=n;w.forEach(a=>{let y={};if(o==="zeni_only")y={email:a.email,role:[a.role?.selectedOptions]};else{const u=a.nonZeniRole?.userRole.selectedRole;let m=[];u==="admin"||u==="investor_or_banker"?m.push(u):m=u!=null?(a.nonZeniRole?.productsByUserRole[u]??[]).map(h=>de(h.selectedOption?.value)).filter(h=>h!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const b=ce(m);y={email:a.email,role:m,departmentId:b?void 0:a.department?.selectedOption?.value,managerId:b?void 0:a.manager?.selectedUser}}v.push(y)}),T(v)};return x.useEffect(()=>{const l=i.watch((n,{name:v})=>{v!=null&&n!=null&&X(v,n)});return()=>{l.unsubscribe()}}),x.useEffect(()=>{const l=Z.current,n=()=>{c!=="small"&&(l&&l?.scrollTop>f[9]?O(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):O(""))};return c==="small"?O(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):l&&l?.scrollTop<=f[9]&&O(""),l&&l.addEventListener("scroll",n),()=>{l&&l.removeEventListener("scroll",n)}},[o,U,c]),d.jsxs(d.Fragment,{children:[d.jsx(le,{title:U,backgroundColor:F.colors.grey4,style:{zIndex:4},onCloseClick:C,isTitleAlignLeft:c==="small"}),d.jsxs(me,{"data-testid":oe("invite-people-container"),windowSize:c,ref:Z,children:[c!=="small"?d.jsx(pe,{children:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ne,{...i,children:d.jsx("form",{id:`${V}_form`,onSubmit:J,children:d.jsx(ue,{control:i.control,sectionId:I,deleteConfirmationIndex:Q,updateDeleteConfirmationIndex:W,mode:o,isZeniTenant:P,classList:g,managersList:t,controllersList:L,isBankingOnlyTenant:R,isCardsOnlyTenant:_,customerRoleOptions:k,isEdit:!1})})})]}),d.jsx(se,{formId:`${V}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:S.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:S.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:C},separatorStyle:{marginRight:re.sp4}})]})},N=(e,t,g,L,o,P,T)=>{const C=[{userIndex:0,email:[],role:t==="zeni_only"?{allOptions:j.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:e[0]?.role.length>0?G(e[0].role):void 0,allRootRole:A(P,T)},productsByUserRole:q(e[0]?.role??[],g)}:void 0,department:void 0,manager:void 0}];return{[I]:e.length>0?e.map((r,$)=>({userIndex:$,email:r.email,role:t==="zeni_only"?{allOptions:j.roles,selectedOptions:r.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:r.role.length>0?G(r.role):void 0,allRootRole:A(P,T)},productsByUserRole:q(r.role,g)}:void 0,department:{allOptions:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})),selectedOption:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})).find(s=>s.value===r.departmentId)},manager:{allUsers:L,selectedUser:r.managerId}})):C}},Se=(e,t)=>`${e}.${t}`,me=M.div`
1
+ import{q as Y,fP as H,d as ee,a9 as te,c as f,V as d,gM as le,ac as ne,aN as oe,aP as se,o as re,y as z,cy as j,fS as q,fT as A,fU as G,F as ie,a as ae}from"./index-qaSB49F0.js";import{a as x}from"./sentry-D4D7HRQR.js";import{n as M}from"./mui-Fyk6sRCR.js";import{FB as de,bg as ce}from"./zeni-epic-state-I555vKHy.js";import{f as ue}from"./AllUserItems-CW-BAUK2-B9Q1lPJb.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./LabeledUserSingleSelectWithSubtitlesField-D2PQRKp0-CAFuEck_.js";import"./RoleWithToolTip-New3P2vC-2KCZppVG.js";import"./LabeledZeniRolesDropDownField-C2WL6H1u-BXDtctub.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]="897973b7-f0fe-4c7e-a6af-2bc3d973f77b",e._sentryDebugIdIdentifier="sentry-dbid-897973b7-f0fe-4c7e-a6af-2bc3d973f77b")}catch{}})();const S={containerPaddingLeft:new z(f[3],f[6],f[8]),containerPaddingRight:new z(f[3],f[6],f[8]),buttonWidth:new z(85,85)},V="editPeoplePage",I="userItems",p=ie.getLocalizedStrings().peoplePage,Oe=({peopleDetails:e,managersList:t,classList:g,controllersList:L,mode:o,isZeniTenant:P,onPeopleLocalDataUpdated:T,onCloseClick:C,onSaveClick:r,isReimbursementDisabled:$,isZeniAccountsDisabled:s,isChargeCardDisabled:D,isTreasuryDisabled:E,isBankingOnlyTenant:R,isCardsOnlyTenant:_,isLiteRoleDisabled:B})=>{const c=Y(),[Q,W]=x.useState(-1),[U,O]=x.useState(""),Z=x.useRef(null),k=x.useMemo(()=>H($,s,D,R,_,B,E),[$,s,D,R,_,B,E]),F=ee(),i=te({mode:"onBlur",reValidateMode:"onChange",defaultValues:N(e.people,o,k,t,g,R,_),values:N(e.people,o,k,t,g,R,_)}),J=i.handleSubmit(()=>{K()?r():console.warn("Invite People form error")}),K=()=>{const l=i.getValues();let n=!0;return l.userItems.forEach((v,w)=>{const{role:a,nonZeniRole:y,department:u,manager:m}=v;if(o==="zeni_only")a?.selectedOptions==null&&(i.setError(`${I}.${w}.role`,{type:"required"}),n=!1);else{const b=y?.userRole.selectedRole;(b!=null&&y!=null?y.productsByUserRole[b].map(h=>h.selectedOption).filter(h=>h!=null):[]).length<1&&(i.setError(`${I}.${w}.nonZeniRole.userRole.selectedRole`,{type:"required"}),n=!1),u?.selectedOption==null&&b!=="investor_or_banker"&&!R&&!_&&(i.setError(`${I}.${w}.department`,{type:"required"}),n=!1),m?.selectedUser==null&&b!=="investor_or_banker"&&(i.setError(`${I}.${w}.manager`,{type:"required"}),n=!1)}}),n},X=async(l,n)=>{const v=[],{userItems:w}=n;w.forEach(a=>{let y={};if(o==="zeni_only")y={email:a.email,role:[a.role?.selectedOptions]};else{const u=a.nonZeniRole?.userRole.selectedRole;let m=[];u==="admin"||u==="investor_or_banker"?m.push(u):m=u!=null?(a.nonZeniRole?.productsByUserRole[u]??[]).map(h=>de(h.selectedOption?.value)).filter(h=>h!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const b=ce(m);y={email:a.email,role:m,departmentId:b?void 0:a.department?.selectedOption?.value,managerId:b?void 0:a.manager?.selectedUser}}v.push(y)}),T(v)};return x.useEffect(()=>{const l=i.watch((n,{name:v})=>{v!=null&&n!=null&&X(v,n)});return()=>{l.unsubscribe()}}),x.useEffect(()=>{const l=Z.current,n=()=>{c!=="small"&&(l&&l?.scrollTop>f[9]?O(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):O(""))};return c==="small"?O(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):l&&l?.scrollTop<=f[9]&&O(""),l&&l.addEventListener("scroll",n),()=>{l&&l.removeEventListener("scroll",n)}},[o,U,c]),d.jsxs(d.Fragment,{children:[d.jsx(le,{title:U,backgroundColor:F.colors.grey4,style:{zIndex:4},onCloseClick:C,isTitleAlignLeft:c==="small"}),d.jsxs(me,{"data-testid":oe("invite-people-container"),windowSize:c,ref:Z,children:[c!=="small"?d.jsx(pe,{children:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ne,{...i,children:d.jsx("form",{id:`${V}_form`,onSubmit:J,children:d.jsx(ue,{control:i.control,sectionId:I,deleteConfirmationIndex:Q,updateDeleteConfirmationIndex:W,mode:o,isZeniTenant:P,classList:g,managersList:t,controllersList:L,isBankingOnlyTenant:R,isCardsOnlyTenant:_,customerRoleOptions:k,isEdit:!1})})})]}),d.jsx(se,{formId:`${V}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:S.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:S.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:C},separatorStyle:{marginRight:re.sp4}})]})},N=(e,t,g,L,o,P,T)=>{const C=[{userIndex:0,email:[],role:t==="zeni_only"?{allOptions:j.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:e[0]?.role.length>0?G(e[0].role):void 0,allRootRole:A(P,T)},productsByUserRole:q(e[0]?.role??[],g)}:void 0,department:void 0,manager:void 0}];return{[I]:e.length>0?e.map((r,$)=>({userIndex:$,email:r.email,role:t==="zeni_only"?{allOptions:j.roles,selectedOptions:r.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:r.role.length>0?G(r.role):void 0,allRootRole:A(P,T)},productsByUserRole:q(r.role,g)}:void 0,department:{allOptions:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})),selectedOption:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})).find(s=>s.value===r.departmentId)},manager:{allUsers:L,selectedUser:r.managerId}})):C}},Se=(e,t)=>`${e}.${t}`,me=M.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{d as s1,q as d1,F as q,V as l,k as J,o,p as d,y as B,gw as L1,gx as B1,aN as Q,cn as E1,co as j1,cp as z1,at as T1,b8 as c1,c as C,b as i1,M as A1,l as H1,ai as p1,gy as P1}from"./index-Bs2B-MQ4.js";import{a as t}from"./sentry-gm2R3TtK.js";import{n as i}from"./mui-snKYaegN.js";import R1 from"./AttachmentView-zHGhIkWo-C64qXCAp.js";import{l as M1}from"./uploadReceipts-CPw64UYa-DwtdWb2a.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},x=new e.Error().stack;x&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[x]="de7668d7-6ef0-45cf-b792-b0a348f8af11",e._sentryDebugIdIdentifier="sentry-dbid-de7668d7-6ef0-45cf-b792-b0a348f8af11")}catch{}})();const V1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),t.createElement("g",{mask:"url(#mask0_623_1439)"},t.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),_1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_836_6609",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_836_6609)"})),t.createElement("g",{mask:"url(#mask0_836_6609)"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 18.25C5.41421 18.25 5.75 18.5858 5.75 19V61C5.75 63.8995 8.10051 66.25 11 66.25H35C35.4142 66.25 35.75 66.5858 35.75 67C35.75 67.4142 35.4142 67.75 35 67.75H11C7.27208 67.75 4.25 64.7279 4.25 61V19C4.25 18.5858 4.58579 18.25 5 18.25Z",fill:"#A6B0B1"}),t.createElement("path",{d:"M24.4561 10.7549C24.8703 10.7549 25.2061 11.0907 25.2061 11.5049V13.6938L28.3843 13.6938C28.7985 13.6938 29.1343 14.0296 29.1343 14.4438C29.1343 14.8581 28.7985 15.1938 28.3843 15.1938H22.4218C21.6804 15.1944 20.9623 15.4529 20.3906 15.925C19.8189 16.3972 19.4292 17.0536 19.2885 17.7816C19.1478 18.5096 19.2648 19.264 19.6194 19.9152C19.974 20.5662 20.5439 21.0736 21.2316 21.3505L27.2978 23.7781C28.3087 24.1849 29.1467 24.9308 29.6679 25.8878C30.1891 26.8448 30.361 27.9534 30.1542 29.0234C29.9474 30.0933 29.3748 31.058 28.5345 31.7519C27.6942 32.4458 26.6387 32.8257 25.5489 32.8265H25.2061V35.0149C25.2061 35.4292 24.8703 35.7649 24.4561 35.7649C24.0418 35.7649 23.7061 35.4292 23.7061 35.0149V32.8265H19.568C19.1538 32.8265 18.818 32.4907 18.818 32.0765C18.818 31.6623 19.1538 31.3265 19.568 31.3265H24.4337C24.4411 31.3263 24.4486 31.3262 24.4561 31.3262C24.4635 31.3262 24.471 31.3263 24.4785 31.3265H25.5479C26.2894 31.326 27.0076 31.0675 27.5794 30.5953C28.1511 30.1232 28.5408 29.4668 28.6815 28.7387C28.8222 28.0107 28.7052 27.2564 28.3506 26.6052C27.9961 25.9543 27.4263 25.4469 26.7388 25.1701L26.7378 25.1697L20.6722 22.7422C19.6612 22.3355 18.8233 21.5896 18.3021 20.6325C17.7809 19.6755 17.609 18.5669 17.8158 17.497C18.0226 16.427 18.5952 15.4624 19.4355 14.7684C20.2757 14.0745 21.3318 13.6946 22.4216 13.6938H23.7061V11.5049C23.7061 11.0907 24.0418 10.7549 24.4561 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 42.2959C17.7305 41.8817 18.0663 41.5459 18.4805 41.5459H42.5631C42.9773 41.5459 43.3131 41.8817 43.3131 42.2959C43.3131 42.7101 42.9773 43.0459 42.5631 43.0459H18.4805C18.0663 43.0459 17.7305 42.7101 17.7305 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 52.2962C17.7305 51.882 18.0663 51.5462 18.4805 51.5462L40.7116 51.5461C41.1258 51.5461 41.4616 51.8819 41.4616 52.2961C41.4616 52.7104 41.1258 53.0461 40.7116 53.0461L18.4805 53.0462C18.0663 53.0462 17.7305 52.7104 17.7305 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7305 31.9541C37.7305 31.5399 38.0663 31.2041 38.4805 31.2041H48.1273C48.5415 31.2041 48.8773 31.5399 48.8773 31.9541C48.8773 32.3683 48.5415 32.7041 48.1273 32.7041H38.4805C38.0663 32.7041 37.7305 32.3683 37.7305 31.9541Z",fill:"#A6B0B1"})),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5512 49.191C55.6649 49.0732 55.8244 49 56.001 49C56.001 49 56.001 49 56.001 49C56.0081 49 56.0153 49.0001 56.0224 49.0004C56.1752 49.0055 56.3264 49.0664 56.4431 49.1831L61.0145 53.7545C61.2586 53.9986 61.2586 54.3943 61.0145 54.6384C60.7704 54.8824 60.3747 54.8824 60.1306 54.6384L56.626 51.1337V60.7976C56.626 61.1427 56.3462 61.4226 56.001 61.4226C55.6558 61.4226 55.376 61.1427 55.376 60.7976V51.134L51.8716 54.6384C51.6276 54.8824 51.2318 54.8824 50.9877 54.6384C50.7437 54.3943 50.7437 53.9986 50.9877 53.7545L55.5512 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_836_6609",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),I1=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M15.4931 3.87109H11.4776C10.5275 3.89973 9.62765 4.30445 8.97582 4.99631C8.324 5.68817 7.97357 6.61054 8.00156 7.56068C7.99312 8.23377 8.16758 8.89652 8.50634 9.47821C8.84509 10.0599 9.33542 10.5387 9.92501 10.8635L13.5771 12.8038C14.1642 13.1295 14.6523 13.6079 14.9896 14.1884C15.3269 14.7688 15.5009 15.4297 15.4931 16.101C15.5211 17.0505 15.1712 17.9724 14.5202 18.6641C13.8691 19.3559 12.9702 19.761 12.0208 19.7906H8.00156",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.2829 19.7908V22.6001",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.1558 1V3.87113",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),g={memoPaddingTopBottomRight:new B(12,C[3]),billReceiptSize:new B(60,C[10]),rootContainerPaddingTop:new B(C[3],62),rootContainerPaddingRight:new B(C[3],C[6]),rootContainerPaddingBottom:new B(C[5],C[9]),rootContainerPaddingLeft:new B(C[3],C[8])},r1=i(A1)`
1
+ import{d as s1,q as d1,F as q,V as l,k as J,o,p as d,y as B,gw as L1,gx as B1,aN as Q,cn as E1,co as j1,cp as z1,at as T1,b8 as c1,c as C,b as i1,M as A1,l as H1,ai as p1,gy as P1}from"./index-qaSB49F0.js";import{a as t}from"./sentry-D4D7HRQR.js";import{n as i}from"./mui-Fyk6sRCR.js";import R1 from"./AttachmentView-2FZ6X1gL-Cy8tYEtq.js";import{l as M1}from"./uploadReceipts-CPw64UYa-C1oywu4M.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./zeni-epic-state-I555vKHy.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},x=new e.Error().stack;x&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[x]="d0a29211-d0f5-4797-8087-4bab0d279cb9",e._sentryDebugIdIdentifier="sentry-dbid-d0a29211-d0f5-4797-8087-4bab0d279cb9")}catch{}})();const V1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),t.createElement("g",{mask:"url(#mask0_623_1439)"},t.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),_1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_836_6609",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_836_6609)"})),t.createElement("g",{mask:"url(#mask0_836_6609)"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 18.25C5.41421 18.25 5.75 18.5858 5.75 19V61C5.75 63.8995 8.10051 66.25 11 66.25H35C35.4142 66.25 35.75 66.5858 35.75 67C35.75 67.4142 35.4142 67.75 35 67.75H11C7.27208 67.75 4.25 64.7279 4.25 61V19C4.25 18.5858 4.58579 18.25 5 18.25Z",fill:"#A6B0B1"}),t.createElement("path",{d:"M24.4561 10.7549C24.8703 10.7549 25.2061 11.0907 25.2061 11.5049V13.6938L28.3843 13.6938C28.7985 13.6938 29.1343 14.0296 29.1343 14.4438C29.1343 14.8581 28.7985 15.1938 28.3843 15.1938H22.4218C21.6804 15.1944 20.9623 15.4529 20.3906 15.925C19.8189 16.3972 19.4292 17.0536 19.2885 17.7816C19.1478 18.5096 19.2648 19.264 19.6194 19.9152C19.974 20.5662 20.5439 21.0736 21.2316 21.3505L27.2978 23.7781C28.3087 24.1849 29.1467 24.9308 29.6679 25.8878C30.1891 26.8448 30.361 27.9534 30.1542 29.0234C29.9474 30.0933 29.3748 31.058 28.5345 31.7519C27.6942 32.4458 26.6387 32.8257 25.5489 32.8265H25.2061V35.0149C25.2061 35.4292 24.8703 35.7649 24.4561 35.7649C24.0418 35.7649 23.7061 35.4292 23.7061 35.0149V32.8265H19.568C19.1538 32.8265 18.818 32.4907 18.818 32.0765C18.818 31.6623 19.1538 31.3265 19.568 31.3265H24.4337C24.4411 31.3263 24.4486 31.3262 24.4561 31.3262C24.4635 31.3262 24.471 31.3263 24.4785 31.3265H25.5479C26.2894 31.326 27.0076 31.0675 27.5794 30.5953C28.1511 30.1232 28.5408 29.4668 28.6815 28.7387C28.8222 28.0107 28.7052 27.2564 28.3506 26.6052C27.9961 25.9543 27.4263 25.4469 26.7388 25.1701L26.7378 25.1697L20.6722 22.7422C19.6612 22.3355 18.8233 21.5896 18.3021 20.6325C17.7809 19.6755 17.609 18.5669 17.8158 17.497C18.0226 16.427 18.5952 15.4624 19.4355 14.7684C20.2757 14.0745 21.3318 13.6946 22.4216 13.6938H23.7061V11.5049C23.7061 11.0907 24.0418 10.7549 24.4561 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 42.2959C17.7305 41.8817 18.0663 41.5459 18.4805 41.5459H42.5631C42.9773 41.5459 43.3131 41.8817 43.3131 42.2959C43.3131 42.7101 42.9773 43.0459 42.5631 43.0459H18.4805C18.0663 43.0459 17.7305 42.7101 17.7305 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 52.2962C17.7305 51.882 18.0663 51.5462 18.4805 51.5462L40.7116 51.5461C41.1258 51.5461 41.4616 51.8819 41.4616 52.2961C41.4616 52.7104 41.1258 53.0461 40.7116 53.0461L18.4805 53.0462C18.0663 53.0462 17.7305 52.7104 17.7305 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7305 31.9541C37.7305 31.5399 38.0663 31.2041 38.4805 31.2041H48.1273C48.5415 31.2041 48.8773 31.5399 48.8773 31.9541C48.8773 32.3683 48.5415 32.7041 48.1273 32.7041H38.4805C38.0663 32.7041 37.7305 32.3683 37.7305 31.9541Z",fill:"#A6B0B1"})),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5512 49.191C55.6649 49.0732 55.8244 49 56.001 49C56.001 49 56.001 49 56.001 49C56.0081 49 56.0153 49.0001 56.0224 49.0004C56.1752 49.0055 56.3264 49.0664 56.4431 49.1831L61.0145 53.7545C61.2586 53.9986 61.2586 54.3943 61.0145 54.6384C60.7704 54.8824 60.3747 54.8824 60.1306 54.6384L56.626 51.1337V60.7976C56.626 61.1427 56.3462 61.4226 56.001 61.4226C55.6558 61.4226 55.376 61.1427 55.376 60.7976V51.134L51.8716 54.6384C51.6276 54.8824 51.2318 54.8824 50.9877 54.6384C50.7437 54.3943 50.7437 53.9986 50.9877 53.7545L55.5512 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_836_6609",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),I1=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M15.4931 3.87109H11.4776C10.5275 3.89973 9.62765 4.30445 8.97582 4.99631C8.324 5.68817 7.97357 6.61054 8.00156 7.56068C7.99312 8.23377 8.16758 8.89652 8.50634 9.47821C8.84509 10.0599 9.33542 10.5387 9.92501 10.8635L13.5771 12.8038C14.1642 13.1295 14.6523 13.6079 14.9896 14.1884C15.3269 14.7688 15.5009 15.4297 15.4931 16.101C15.5211 17.0505 15.1712 17.9724 14.5202 18.6641C13.8691 19.3559 12.9702 19.761 12.0208 19.7906H8.00156",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.2829 19.7908V22.6001",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.1558 1V3.87113",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),g={memoPaddingTopBottomRight:new B(12,C[3]),billReceiptSize:new B(60,C[10]),rootContainerPaddingTop:new B(C[3],62),rootContainerPaddingRight:new B(C[3],C[6]),rootContainerPaddingBottom:new B(C[5],C[9]),rootContainerPaddingLeft:new B(C[3],C[8])},r1=i(A1)`
2
2
  color: ${e=>e.isPlaceholderText===!0?e.theme.colors.grey1:e.theme.colors.hero};
3
3
  white-space: pre-wrap;
4
4
  text-align: center;
@@ -1,4 +1,4 @@
1
- import{q as oe,a9 as Oa,cC as Da,V as r,aN as je,jj as _a,bZ as Ra,ac as za,aP as Ua,o as a,y as C,F as le,bw as Fa,b6 as Na,R as be,M as na,L as qa,a as Ma,p as ie,g as Ea,cg as ka,cP as fe,eg as Ba,c as d,bR as Va,b0 as J,cV as me,cX as oa,jk as Ha,jl as Wa,cW as Ga,d as Te,jm as Ie,cF as Ae,g8 as Oe,eY as xe,b as de,eU as he,g4 as ca,ai as De,aL as Ka,gU as Ya,am as Za,gV as Ja}from"./index-Bs2B-MQ4.js";import{a as M}from"./sentry-gm2R3TtK.js";import{n as l}from"./mui-snKYaegN.js";import{Y as ua}from"./LabeledUserSingleSelectWithSubtitlesField-CleX9Raw-CCmlbQ1T.js";import{bd as Qa}from"./zeni-epic-state-D2RxwWrl.js";import{T as pa}from"./RoleWithToolTip-C08wfnGb-CFjb8VCB.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="77d99a77-8065-42fb-9e75-8fe0798c24f6",e._sentryDebugIdIdentifier="sentry-dbid-77d99a77-8065-42fb-9e75-8fe0798c24f6")}catch{}})();const ge=e=>{const{common:i,spendManagement:{chargeCard:{issueCard:t}}}=le.getLocalizedStrings();switch(e){case"monthly":return t.frequencySubLabels.monthly;case"quarterly":return t.frequencySubLabels.quarterly;case"weekly":return t.frequencySubLabels.weekly;case"yearly":return t.frequencySubLabels.yearly;default:return i.strings.empty}},Xa=["creditCard","debitCard"],ke=e=>Qa(e,Xa),u=(e,i)=>`${e}.${i}`,{commonSetUp:{businessVerification:{addressPlaceholder:Be,customAddressPlaceholder:er}},spendManagement:{chargeCard:{issueCard:N}}}=le.getLocalizedStrings(),k={largeLabelWidth:new C(120,120,200),labelMarginRight:new C(d[3],d[4]),labelMarginBottom:new C(d[2],d[0]),infoLabelMarginTop:new C(d[1],d[0]),radioLabelPaddingLeftRight:new C(d[2],d[3]),radioLabelPaddingLeft:new C(d[0],d[3]),radioLabelPaddingRight:new C(10,d[3])},ar={infoLabel:new be("smallRegular","smallRegular")},rr="creditCard.physicalCard.amount",ir="creditCard.physicalCard.cardName",dr="creditCard.physicalCard.user",lr="creditCard.physicalCard.frequency",te="creditCard.physicalCard.addressType",tr=({lineData:e,issueCardSectionId:i,limit:t,creditLimitFrequency:m,activeChargeCardCount:v,allRoles:f,allAccountingClasses:_,companyAddress:b,customAddress:T,userAddress:A,userList:o,maxPhysicalChargeCardPerUser:S,openAddAddressDrawerHandler:g})=>{const s=oe(),q=Te(),{getValues:B}=fe(),$=k.largeLabelWidth.value(s),V=()=>{g(e.lineId,"creditCard")},c=(h,U)=>r.jsx(nr,{isOptionSelected:U,children:ge(h)}),n=e.creditCard.physicalCard.addressType,x=e.creditCard.physicalCard.amount,L=Ie(t.amount),I=x!=null&&x>t.amount,z=I?N.amountExceedError.replace("_amount_",L):void 0,j=e.creditCard.physicalCard.user,O=j.allUsers.find(h=>h.userId===j.selectedUser),G=O?.userId,Q=G!=null?A[G]:void 0,p=h=>{let U=v[h]?.physicalCardCount??0;return B().lineInfo.forEach(y=>{y.creditCard.cardType==="business_physical_credit_card"&&y.creditCard.physicalCard.user.selectedUser===h&&(U+=1)}),U>=S};return r.jsxs(r.Fragment,{children:[r.jsx(ua,{label:{label:N.cardholderLabel,width:$},userSingleSelectWithSubTitlesField:{name:u(i,dr),placeholderLabel:N.usersPlaceholder,value:{allUsers:o,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:h=>h?.selectedUser?.length>0},valueToSubtitle:h=>{const U=f.find(R=>R.userId===h),y=[];return U?.accountingClassIDs.forEach(R=>{const Z=_.find(_e=>_e.classId===R);Z!=null&&Z.className&&y.push(Z.className)}),y},additionalLabelInfo:N.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:p,disabledOptionHint:N.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(Ae,{label:{label:N.cardNameLabel,width:$},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)},text:{type:"text",name:u(i,ir),defaultValue:e.creditCard.physicalCard.cardName,placeholder:N.cardNamePlaceholder,options:{required:!0,validate:h=>h!=null}}}),r.jsx(we,{}),r.jsx(Oe,{label:{label:N.amountLabel,width:$},showAdditionalInfoLabel:I,additionalInfoLabel:z,formattedTextField:{type:"number",name:u(i,rr),defaultValue:e.creditCard.physicalCard.amount,placeholder:N.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:h=>!!h&&h>0&&h<=t.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:I,style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(xe,{isDisabled:"readonly",label:{label:N.frequencyLabel,width:$,style:{marginBottom:k.labelMarginBottom.valuePx(s),marginRight:k.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:k.labelMarginBottom.valuePx(s)},infoLabelStyle:{...de.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:k.infoLabelMarginTop.valuePx(s),color:q.colors.hero},valueToAdditionalLabel:h=>ge(h),singleSelectPickerField:{name:u(i,lr),placeholder:N.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:m.map(h=>({label:h.name,value:h.code}))},valueToSubLabels:(h,U)=>c(h,U),textAlignment:"right",registerOptions:{required:!0,validate:h=>h!=null&&!!h.selectedOption}}}),r.jsx(we,{}),r.jsxs(or,{windowSize:s,children:[r.jsxs(pr,{windowSize:s,children:[r.jsx(me,{label:N.address.shippingAddressLabel,htmlFor:u(i,te),style:{marginLeft:a.sp4,marginRight:k.labelMarginRight.valuePx(s),marginTop:a.sp2,width:s==="small"?"auto":$}}),r.jsx(cr,{windowSize:s,children:r.jsxs(hr,{isDisabled:O==null,children:[Q!=null&&r.jsx(J,{isContainerClickable:!0,label:{label:N.address.personal},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeftRight.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(J,{isContainerClickable:!0,label:{label:N.address.company},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(J,{isContainerClickable:!0,label:{label:N.address.custom},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingLeftRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsx(ur,{windowSize:s,children:O?.user!=null&&n!=null&&r.jsx(sr,{children:n==="card_holder_personal_address"?r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"personal_address_value_field",defaultValue:Q,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(Ve,{windowSize:s,children:N.address.personalAddressText.replace("_name_",O.user.firstName)})]}):n==="company_address"?r.jsx(he,{name:"company_address_value_field",defaultValue:b,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"custom_address_value_field",defaultValue:T[e.lineId],placeholder:er,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:V}),r.jsx(Ve,{windowSize:s,children:N.address.customAddressText})]})})})]})]})},sr=l.div`
1
+ import{q as oe,a9 as Oa,cC as Da,V as r,aN as je,jk as _a,bZ as Ra,ac as za,aP as Ua,o as a,y as C,F as le,bw as Fa,b6 as Na,R as be,M as na,L as qa,a as Ma,p as ie,g as Ea,cg as ka,cP as fe,eg as Ba,c as d,bR as Va,b0 as J,cV as me,cX as oa,jl as Ha,jm as Wa,cW as Ga,d as Te,jn as Ie,cF as Ae,g8 as Oe,eY as xe,b as de,eU as he,g4 as ca,ai as De,aL as Ka,gU as Ya,am as Za,gV as Ja}from"./index-qaSB49F0.js";import{a as M}from"./sentry-D4D7HRQR.js";import{n as l}from"./mui-Fyk6sRCR.js";import{Y as ua}from"./LabeledUserSingleSelectWithSubtitlesField-D2PQRKp0-CAFuEck_.js";import{bd as Qa}from"./zeni-epic-state-I555vKHy.js";import{T as pa}from"./RoleWithToolTip-New3P2vC-2KCZppVG.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.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]="c2060d17-40b1-4d0c-abd2-9193c0896f76",e._sentryDebugIdIdentifier="sentry-dbid-c2060d17-40b1-4d0c-abd2-9193c0896f76")}catch{}})();const ge=e=>{const{common:i,spendManagement:{chargeCard:{issueCard:t}}}=le.getLocalizedStrings();switch(e){case"monthly":return t.frequencySubLabels.monthly;case"quarterly":return t.frequencySubLabels.quarterly;case"weekly":return t.frequencySubLabels.weekly;case"yearly":return t.frequencySubLabels.yearly;default:return i.strings.empty}},Xa=["creditCard","debitCard"],ke=e=>Qa(e,Xa),u=(e,i)=>`${e}.${i}`,{commonSetUp:{businessVerification:{addressPlaceholder:Be,customAddressPlaceholder:er}},spendManagement:{chargeCard:{issueCard:N}}}=le.getLocalizedStrings(),k={largeLabelWidth:new C(120,120,200),labelMarginRight:new C(d[3],d[4]),labelMarginBottom:new C(d[2],d[0]),infoLabelMarginTop:new C(d[1],d[0]),radioLabelPaddingLeftRight:new C(d[2],d[3]),radioLabelPaddingLeft:new C(d[0],d[3]),radioLabelPaddingRight:new C(10,d[3])},ar={infoLabel:new be("smallRegular","smallRegular")},rr="creditCard.physicalCard.amount",ir="creditCard.physicalCard.cardName",dr="creditCard.physicalCard.user",lr="creditCard.physicalCard.frequency",te="creditCard.physicalCard.addressType",tr=({lineData:e,issueCardSectionId:i,limit:t,creditLimitFrequency:m,activeChargeCardCount:v,allRoles:f,allAccountingClasses:_,companyAddress:b,customAddress:T,userAddress:A,userList:o,maxPhysicalChargeCardPerUser:S,openAddAddressDrawerHandler:g})=>{const s=oe(),q=Te(),{getValues:B}=fe(),$=k.largeLabelWidth.value(s),V=()=>{g(e.lineId,"creditCard")},c=(h,U)=>r.jsx(nr,{isOptionSelected:U,children:ge(h)}),n=e.creditCard.physicalCard.addressType,x=e.creditCard.physicalCard.amount,L=Ie(t.amount),I=x!=null&&x>t.amount,z=I?N.amountExceedError.replace("_amount_",L):void 0,j=e.creditCard.physicalCard.user,O=j.allUsers.find(h=>h.userId===j.selectedUser),G=O?.userId,Q=G!=null?A[G]:void 0,p=h=>{let U=v[h]?.physicalCardCount??0;return B().lineInfo.forEach(y=>{y.creditCard.cardType==="business_physical_credit_card"&&y.creditCard.physicalCard.user.selectedUser===h&&(U+=1)}),U>=S};return r.jsxs(r.Fragment,{children:[r.jsx(ua,{label:{label:N.cardholderLabel,width:$},userSingleSelectWithSubTitlesField:{name:u(i,dr),placeholderLabel:N.usersPlaceholder,value:{allUsers:o,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:h=>h?.selectedUser?.length>0},valueToSubtitle:h=>{const U=f.find(R=>R.userId===h),y=[];return U?.accountingClassIDs.forEach(R=>{const Z=_.find(_e=>_e.classId===R);Z!=null&&Z.className&&y.push(Z.className)}),y},additionalLabelInfo:N.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:p,disabledOptionHint:N.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(Ae,{label:{label:N.cardNameLabel,width:$},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)},text:{type:"text",name:u(i,ir),defaultValue:e.creditCard.physicalCard.cardName,placeholder:N.cardNamePlaceholder,options:{required:!0,validate:h=>h!=null}}}),r.jsx(we,{}),r.jsx(Oe,{label:{label:N.amountLabel,width:$},showAdditionalInfoLabel:I,additionalInfoLabel:z,formattedTextField:{type:"number",name:u(i,rr),defaultValue:e.creditCard.physicalCard.amount,placeholder:N.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:h=>!!h&&h>0&&h<=t.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:I,style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(xe,{isDisabled:"readonly",label:{label:N.frequencyLabel,width:$,style:{marginBottom:k.labelMarginBottom.valuePx(s),marginRight:k.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:k.labelMarginBottom.valuePx(s)},infoLabelStyle:{...de.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:k.infoLabelMarginTop.valuePx(s),color:q.colors.hero},valueToAdditionalLabel:h=>ge(h),singleSelectPickerField:{name:u(i,lr),placeholder:N.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:m.map(h=>({label:h.name,value:h.code}))},valueToSubLabels:(h,U)=>c(h,U),textAlignment:"right",registerOptions:{required:!0,validate:h=>h!=null&&!!h.selectedOption}}}),r.jsx(we,{}),r.jsxs(or,{windowSize:s,children:[r.jsxs(pr,{windowSize:s,children:[r.jsx(me,{label:N.address.shippingAddressLabel,htmlFor:u(i,te),style:{marginLeft:a.sp4,marginRight:k.labelMarginRight.valuePx(s),marginTop:a.sp2,width:s==="small"?"auto":$}}),r.jsx(cr,{windowSize:s,children:r.jsxs(hr,{isDisabled:O==null,children:[Q!=null&&r.jsx(J,{isContainerClickable:!0,label:{label:N.address.personal},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeftRight.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(J,{isContainerClickable:!0,label:{label:N.address.company},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(J,{isContainerClickable:!0,label:{label:N.address.custom},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingLeftRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsx(ur,{windowSize:s,children:O?.user!=null&&n!=null&&r.jsx(sr,{children:n==="card_holder_personal_address"?r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"personal_address_value_field",defaultValue:Q,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(Ve,{windowSize:s,children:N.address.personalAddressText.replace("_name_",O.user.firstName)})]}):n==="company_address"?r.jsx(he,{name:"company_address_value_field",defaultValue:b,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"custom_address_value_field",defaultValue:T[e.lineId],placeholder:er,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:V}),r.jsx(Ve,{windowSize:s,children:N.address.customAddressText})]})})})]})]})},sr=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{q as u,V as n,cV as h,y as o,eR as b,c as t,R as c}from"./index-Bs2B-MQ4.js";import{n as r}from"./mui-snKYaegN.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]="c1308b38-869a-454a-9362-5bd5ede5ea33",e._sentryDebugIdIdentifier="sentry-dbid-c1308b38-869a-454a-9362-5bd5ede5ea33")}catch{}})();const i={width:new o(343,580,726),height:new o(t[6],t[6]),controlMinHeight:new o(t[4],t[4]),paddingTopBottom:new o(t[2],t[2]),marginRight:new o(t[2],t[2]),labelMarginLeft:new o(t[3],t[4]),labelMarginRight:new o(t[3],t[4]),labelMarginTop:new o(t[2],t[2])},f={infoLabel:new c("extraSmallRegular","smallRegular")};function $({isDisabled:e,label:a,additionalInfoLabel:d,addressValue:s,isOptional:g,style:p}){const l=u();return n.jsxs(y,{size:l,style:p,isDisabled:e!=null,children:[n.jsxs(x,{children:[n.jsx(h,{isOptional:g,isDisabled:e,label:a.label,style:{marginLeft:i.labelMarginLeft.value(l),marginRight:i.labelMarginRight.value(l),marginTop:i.labelMarginTop.value(l),width:a.width??"auto"}}),n.jsx(b,{...s,isDisabled:e,style:{minHeight:i.controlMinHeight.value(l),paddingTop:i.paddingTopBottom.valuePx(l),paddingBottom:i.paddingTopBottom.valuePx(l),maxWidth:a.width!=null?`calc(100% - ${a.width}px)`:"auto",display:"flex",flexGrow:1,...s.style}})]}),d?n.jsx(m,{size:l,children:d}):null]})}const m=r.label`
1
+ import{q as u,V as n,cV as h,y as o,eR as b,c as t,R as c}from"./index-qaSB49F0.js";import{n as r}from"./mui-Fyk6sRCR.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]="c1308b38-869a-454a-9362-5bd5ede5ea33",e._sentryDebugIdIdentifier="sentry-dbid-c1308b38-869a-454a-9362-5bd5ede5ea33")}catch{}})();const i={width:new o(343,580,726),height:new o(t[6],t[6]),controlMinHeight:new o(t[4],t[4]),paddingTopBottom:new o(t[2],t[2]),marginRight:new o(t[2],t[2]),labelMarginLeft:new o(t[3],t[4]),labelMarginRight:new o(t[3],t[4]),labelMarginTop:new o(t[2],t[2])},f={infoLabel:new c("extraSmallRegular","smallRegular")};function $({isDisabled:e,label:a,additionalInfoLabel:d,addressValue:s,isOptional:g,style:p}){const l=u();return n.jsxs(y,{size:l,style:p,isDisabled:e!=null,children:[n.jsxs(x,{children:[n.jsx(h,{isOptional:g,isDisabled:e,label:a.label,style:{marginLeft:i.labelMarginLeft.value(l),marginRight:i.labelMarginRight.value(l),marginTop:i.labelMarginTop.value(l),width:a.width??"auto"}}),n.jsx(b,{...s,isDisabled:e,style:{minHeight:i.controlMinHeight.value(l),paddingTop:i.paddingTopBottom.valuePx(l),paddingBottom:i.paddingTopBottom.valuePx(l),maxWidth:a.width!=null?`calc(100% - ${a.width}px)`:"auto",display:"flex",flexGrow:1,...s.style}})]}),d?n.jsx(m,{size:l,children:d}):null]})}const m=r.label`
2
2
  color: ${e=>e.theme.colors.grey1};
3
3
  display: flex;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{q as x,cP as y,eo as w,V as d,cV as v,y as o,eU as $,aN as D,F as T,p as g,c as i,R as z}from"./index-Bs2B-MQ4.js";import{n as s}from"./mui-snKYaegN.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]="c7e16ba1-865f-479d-a864-a01d49d91f8c",e._sentryDebugIdIdentifier="sentry-dbid-c7e16ba1-865f-479d-a864-a01d49d91f8c")}catch{}})();const t={width:new o(343,580,726),height:new o(i[6],i[6]),controlMinHeight:new o(i[4],i[4]),paddingTopBottom:new o(i[2],i[2]),marginRight:new o(i[2],i[2]),labelMarginLeft:new o(i[3],i[4]),labelMarginRight:new o(i[3],i[4]),labelMarginTop:new o(i[2],i[2])},B={infoLabel:new z("extraSmallRegular","smallRegular")},R=T.getLocalizedStrings();function H({isDisabled:e,label:l,addressValueField:r,additionalInfoLabel:h,showAdditionalInfoLabel:b=!1,style:f,hasHoverBorder:p,isOptional:u}){const a=x(),{formState:{errors:c}}=y(),n=w(c,r.name),m=n?h:R.commonSetUp.businessVerification.addressAdditionInfo;return d.jsxs(L,{size:a,style:f,isDisabled:e!=null,isError:n,hasHoverBorder:p??!0,"data-testid":D("labeled-address-value-field",r.name),children:[d.jsx(v,{isDisabled:e,isOptional:u,label:l.label,htmlFor:r.name,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:l.width??"auto"}}),d.jsxs(M,{labelWidth:l.width,children:[d.jsx($,{...r,isDisabled:e,style:{minHeight:t.controlMinHeight.value(a),paddingTop:t.paddingTopBottom.valuePx(a),paddingBottom:t.paddingTopBottom.valuePx(a),width:"-webkit-fill-available",display:"flex",flexGrow:1,...r.style}}),(b||n)&&d.jsx(I,{size:a,isError:n,children:m})]})]})}const L=s.div`
1
+ import{q as x,cP as y,eo as w,V as d,cV as v,y as o,eU as $,aN as D,F as T,p as g,c as i,R as z}from"./index-qaSB49F0.js";import{n as s}from"./mui-Fyk6sRCR.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]="c7e16ba1-865f-479d-a864-a01d49d91f8c",e._sentryDebugIdIdentifier="sentry-dbid-c7e16ba1-865f-479d-a864-a01d49d91f8c")}catch{}})();const t={width:new o(343,580,726),height:new o(i[6],i[6]),controlMinHeight:new o(i[4],i[4]),paddingTopBottom:new o(i[2],i[2]),marginRight:new o(i[2],i[2]),labelMarginLeft:new o(i[3],i[4]),labelMarginRight:new o(i[3],i[4]),labelMarginTop:new o(i[2],i[2])},B={infoLabel:new z("extraSmallRegular","smallRegular")},R=T.getLocalizedStrings();function H({isDisabled:e,label:l,addressValueField:r,additionalInfoLabel:h,showAdditionalInfoLabel:b=!1,style:f,hasHoverBorder:p,isOptional:u}){const a=x(),{formState:{errors:c}}=y(),n=w(c,r.name),m=n?h:R.commonSetUp.businessVerification.addressAdditionInfo;return d.jsxs(L,{size:a,style:f,isDisabled:e!=null,isError:n,hasHoverBorder:p??!0,"data-testid":D("labeled-address-value-field",r.name),children:[d.jsx(v,{isDisabled:e,isOptional:u,label:l.label,htmlFor:r.name,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:l.width??"auto"}}),d.jsxs(M,{labelWidth:l.width,children:[d.jsx($,{...r,isDisabled:e,style:{minHeight:t.controlMinHeight.value(a),paddingTop:t.paddingTopBottom.valuePx(a),paddingBottom:t.paddingTopBottom.valuePx(a),width:"-webkit-fill-available",display:"flex",flexGrow:1,...r.style}}),(b||n)&&d.jsx(I,{size:a,isError:n,children:m})]})]})}const L=s.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{q as a,V as i,eF as o,cV as n,o as s,aN as r,y as b}from"./index-Bs2B-MQ4.js";import{c as f,n as c}from"./mui-snKYaegN.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]="4ad547bb-d20e-492f-a294-3fd864ef37da",e._sentryDebugIdIdentifier="sentry-dbid-4ad547bb-d20e-492f-a294-3fd864ef37da")}catch{}})();const y={width:new b(343,580,726)};function u({label:e,checkBoxField:l,style:d}){const t=a();return i.jsxs(h,{size:t,style:d,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=c.div`
1
+ import{q as a,V as i,eF as o,cV as n,o as s,aN as r,y as b}from"./index-qaSB49F0.js";import{c as f,n as c}from"./mui-Fyk6sRCR.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]="4ad547bb-d20e-492f-a294-3fd864ef37da",e._sentryDebugIdIdentifier="sentry-dbid-4ad547bb-d20e-492f-a294-3fd864ef37da")}catch{}})();const y={width:new b(343,580,726)};function u({label:e,checkBoxField:l,style:d}){const t=a();return i.jsxs(h,{size:t,style:d,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=c.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{q as V,cP as j,eo as k,V as o,cV as C,y as u,p as g,c as s,d as P,ex as T,bF as N,o as l,R as B,bG as p,gd as H,L as D,al as q,b as $,bE as A}from"./index-Bs2B-MQ4.js";import{n}from"./mui-snKYaegN.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]="35159b8c-f6b0-4af5-96d2-ac928217a66d",e._sentryDebugIdIdentifier="sentry-dbid-35159b8c-f6b0-4af5-96d2-ac928217a66d")}catch{}})();const G=({name:e,registerOptions:i,defaultValue:t,isDisabled:a,style:h,placeholder:b})=>{const{control:f,formState:{errors:d}}=j(),w=P(),x=k(d,e??""),_=r=>({value:r.value,label:r.label}),L=r=>r.map(m=>_(m)),R=r=>{if(!(r==null||!r))return{value:r,label:t.allOptions.find(m=>m.value===r)?.label??r}},F=r=>r.map(m=>R(m)),I={container:r=>({...r,width:"100%",...h}),menu:r=>({...r,backgroundColor:w.colors.grey5,borderRadius:l.sp1,boxShadow:`${l.sp0} 2px ${l.sp2} ${w.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,width:"100%",margin:0}),menuList:r=>({...r,borderRadius:l.sp1})},M={hasError:x};return o.jsx(T,{name:e,control:f,defaultValue:t,rules:i,render:({field:{onChange:r,onBlur:m,value:y,ref:E}})=>o.jsx(N,{...M,ref:E,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:b,value:F(y.selectedOptions),options:L(y.allOptions),onChange:O=>{r({selectedOptions:O.map(z=>z?.value),allOptions:y.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:m,menuPlacement:"auto",maxMenuHeight:210,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:Q,Option:ee,Input:K,MultiValue:U,MultiValueLabel:W,MultiValueRemove:X,ValueContainer:J,DropdownIndicator:de,IndicatorSeparator:ce,Placeholder:Z,ClearIndicator:Y},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})})},Q=e=>{const{menuIsOpen:i,isFocused:t,isDisabled:a,selectProps:h}=e,{value:b,hasError:f}=h;return o.jsx(oe,{menuIsOpen:i,isFocused:t,isDisabled:a,optionsLen:b.length,hasError:f,children:o.jsx(p.Control,{...e,className:"select-control",children:e.children})})},J=e=>{const{selectProps:i}=e,{value:t}=i;return o.jsxs(p.ValueContainer,{...e,className:"select-value-container",children:[e.children,o.jsx(le,{className:"selected-options",children:t.map(a=>a.label).join(", ")})]})},K=e=>{const{selectProps:i}=e,{placeholder:t,value:a}=i;return o.jsx(p.Input,{...e,autoComplete:"new-password",placeholder:a.length===0?t:void 0,children:e.children})},U=e=>o.jsx(p.MultiValue,{...e,children:e.children}),W=e=>{const{data:i}=e;return o.jsx(p.MultiValueLabel,{...e,children:i.label})},X=e=>o.jsx(p.MultiValueRemove,{...e,children:o.jsx(S,{style:{marginTop:"2px"}})}),Y=e=>o.jsx(p.ClearIndicator,{...e,children:o.jsx(S,{})}),Z=()=>null,ee=e=>{const{isSelected:i,isDisabled:t,isFocused:a}=e;return o.jsx(re,{isFocused:a,isSelected:i,isDisabled:t,children:o.jsx(p.Option,{...e,className:"select-option",children:o.jsxs(ie,{children:[o.jsx(H,{...e.value.length===2?{countryCode2:e.value}:{countryCode3:e.value}}),o.jsx(se,{children:o.jsx(te,{isSelected:i,isDisabled:t,children:e.label})}),i?o.jsxs(ae,{children:[o.jsx(ne,{className:"right-tick-icon"}),o.jsx(D,{className:"close-tick-icon"})]}):null]})})})},oe=n.div`
1
+ import{q as V,cP as j,eo as k,V as o,cV as C,y as u,p as g,c as s,d as P,ex as T,bF as N,o as l,R as B,bG as p,gd as H,L as D,al as q,b as $,bE as A}from"./index-qaSB49F0.js";import{n}from"./mui-Fyk6sRCR.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]="35159b8c-f6b0-4af5-96d2-ac928217a66d",e._sentryDebugIdIdentifier="sentry-dbid-35159b8c-f6b0-4af5-96d2-ac928217a66d")}catch{}})();const G=({name:e,registerOptions:i,defaultValue:t,isDisabled:a,style:h,placeholder:b})=>{const{control:f,formState:{errors:d}}=j(),w=P(),x=k(d,e??""),_=r=>({value:r.value,label:r.label}),L=r=>r.map(m=>_(m)),R=r=>{if(!(r==null||!r))return{value:r,label:t.allOptions.find(m=>m.value===r)?.label??r}},F=r=>r.map(m=>R(m)),I={container:r=>({...r,width:"100%",...h}),menu:r=>({...r,backgroundColor:w.colors.grey5,borderRadius:l.sp1,boxShadow:`${l.sp0} 2px ${l.sp2} ${w.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,width:"100%",margin:0}),menuList:r=>({...r,borderRadius:l.sp1})},M={hasError:x};return o.jsx(T,{name:e,control:f,defaultValue:t,rules:i,render:({field:{onChange:r,onBlur:m,value:y,ref:E}})=>o.jsx(N,{...M,ref:E,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:b,value:F(y.selectedOptions),options:L(y.allOptions),onChange:O=>{r({selectedOptions:O.map(z=>z?.value),allOptions:y.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:m,menuPlacement:"auto",maxMenuHeight:210,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:Q,Option:ee,Input:K,MultiValue:U,MultiValueLabel:W,MultiValueRemove:X,ValueContainer:J,DropdownIndicator:de,IndicatorSeparator:ce,Placeholder:Z,ClearIndicator:Y},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})})},Q=e=>{const{menuIsOpen:i,isFocused:t,isDisabled:a,selectProps:h}=e,{value:b,hasError:f}=h;return o.jsx(oe,{menuIsOpen:i,isFocused:t,isDisabled:a,optionsLen:b.length,hasError:f,children:o.jsx(p.Control,{...e,className:"select-control",children:e.children})})},J=e=>{const{selectProps:i}=e,{value:t}=i;return o.jsxs(p.ValueContainer,{...e,className:"select-value-container",children:[e.children,o.jsx(le,{className:"selected-options",children:t.map(a=>a.label).join(", ")})]})},K=e=>{const{selectProps:i}=e,{placeholder:t,value:a}=i;return o.jsx(p.Input,{...e,autoComplete:"new-password",placeholder:a.length===0?t:void 0,children:e.children})},U=e=>o.jsx(p.MultiValue,{...e,children:e.children}),W=e=>{const{data:i}=e;return o.jsx(p.MultiValueLabel,{...e,children:i.label})},X=e=>o.jsx(p.MultiValueRemove,{...e,children:o.jsx(S,{style:{marginTop:"2px"}})}),Y=e=>o.jsx(p.ClearIndicator,{...e,children:o.jsx(S,{})}),Z=()=>null,ee=e=>{const{isSelected:i,isDisabled:t,isFocused:a}=e;return o.jsx(re,{isFocused:a,isSelected:i,isDisabled:t,children:o.jsx(p.Option,{...e,className:"select-option",children:o.jsxs(ie,{children:[o.jsx(H,{...e.value.length===2?{countryCode2:e.value}:{countryCode3:e.value}}),o.jsx(se,{children:o.jsx(te,{isSelected:i,isDisabled:t,children:e.label})}),i?o.jsxs(ae,{children:[o.jsx(ne,{className:"right-tick-icon"}),o.jsx(D,{className:"close-tick-icon"})]}):null]})})})},oe=n.div`
2
2
  width: 100%;
3
3
  background-color: ${e=>e.theme.colors.grey5};
4
4
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -1,4 +1,4 @@
1
- import{q as H,cP as F,eo as P,V as t,cV as W,y as x,aN as I,p as u,c as s,ex as G,o as i,R as X,d as q,F as Q,eP as A,B as J,dg as K,cr as U,bG as S,cX as Y,dH as Z,b as k,bE as ee,L as le}from"./index-Bs2B-MQ4.js";import{n as a}from"./mui-snKYaegN.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]="dfbe3a20-08cf-4aee-b014-6b38a0aa0e31",e._sentryDebugIdIdentifier="sentry-dbid-dfbe3a20-08cf-4aee-b014-6b38a0aa0e31")}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=Q.getLocalizedStrings().dropDowns,L=$.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?R(r,m):void 0,z={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:y.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${y.colors.dropShadowHover}`,border:`1px solid ${y.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:p})=>({...l,":after":{width:p.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(fe,{children:[t.jsx(me,{children:t.jsx(Y,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(xe,{children:`${C.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:O,isDisabled:D,selectProps:N}=l,{value:_}=N;return t.jsx(se,{menuIsOpen:p,isFocused:O,isDisabled:D,selectedValue:_,hasError:j,"data-testid":I("creatable-single-select-control",o),children:t.jsx(S.Control,{...l,className:"select-control",children:l.children})})},T=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]})}),B=l=>{const{selectProps:p}=l,{placeholder:O,value:D}=p;return t.jsx(S.Input,{...l,autoComplete:"new-password",placeholder:D==null?O:void 0,"data-testid":I("creatable-single-select-input",o),children:l.children})};return t.jsx(A,{isMulti:!1,onCreateOption:l=>{const p=J(l);n(p)},onChange:l=>{w!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>b===!0?E(l):`${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:M,Option:ae,Input:B,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:Ie,ClearIndicator:je,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:z,options:L,isClearable:!0,isSearchable:!0,isDisabled:d!=null},K())},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(U,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:w,children:({index:b,style:m})=>t.jsx(pe,{style:m,children:o[b]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(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(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(be,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
1
+ import{q as H,cP as F,eo as P,V as t,cV as W,y as x,aN as I,p as u,c as s,ex as G,o as i,R as X,d as q,F as Q,eP as A,B as J,dg as K,cr as U,bG as S,cX as Y,dH as Z,b as k,bE as ee,L as le}from"./index-qaSB49F0.js";import{n as a}from"./mui-Fyk6sRCR.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]="dfbe3a20-08cf-4aee-b014-6b38a0aa0e31",e._sentryDebugIdIdentifier="sentry-dbid-dfbe3a20-08cf-4aee-b014-6b38a0aa0e31")}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=Q.getLocalizedStrings().dropDowns,L=$.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?R(r,m):void 0,z={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:y.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${y.colors.dropShadowHover}`,border:`1px solid ${y.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:p})=>({...l,":after":{width:p.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(fe,{children:[t.jsx(me,{children:t.jsx(Y,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(xe,{children:`${C.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:O,isDisabled:D,selectProps:N}=l,{value:_}=N;return t.jsx(se,{menuIsOpen:p,isFocused:O,isDisabled:D,selectedValue:_,hasError:j,"data-testid":I("creatable-single-select-control",o),children:t.jsx(S.Control,{...l,className:"select-control",children:l.children})})},T=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]})}),B=l=>{const{selectProps:p}=l,{placeholder:O,value:D}=p;return t.jsx(S.Input,{...l,autoComplete:"new-password",placeholder:D==null?O:void 0,"data-testid":I("creatable-single-select-input",o),children:l.children})};return t.jsx(A,{isMulti:!1,onCreateOption:l=>{const p=J(l);n(p)},onChange:l=>{w!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>b===!0?E(l):`${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:M,Option:ae,Input:B,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:Ie,ClearIndicator:je,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:z,options:L,isClearable:!0,isSearchable:!0,isDisabled:d!=null},K())},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(U,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:w,children:({index:b,style:m})=>t.jsx(pe,{style:m,children:o[b]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(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(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(be,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
2
2
  width: 100%;
3
3
  background-color: ${e=>e.theme.colors.grey5};
4
4
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -1,4 +1,4 @@
1
- import{q as W,cP as j,eo as u,V as r,cV as N,y as a,eQ as U,F as k,aN as O,c as i,o as s,p as V,R as _}from"./index-Bs2B-MQ4.js";import{n}from"./mui-snKYaegN.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]="64d05e64-331e-4555-9721-932ea979ad60",e._sentryDebugIdIdentifier="sentry-dbid-64d05e64-331e-4555-9721-932ea979ad60")}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:b,file:h,name:d,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:v,showUploadSuccessAnimation:I,showWebCamPopUpCloseIcon:T,updateFilesEntity:R,onDeleteFile:L,onEditFileName:B,onFileSizeError:M}){const o=W(),{formState:{errors:m}}=j(),g=u(m,d),C=u(m,`${d}.fileName`);return r.jsxs(q,{size:o,style:b,isDisabled:l!=null,"data-testid":O("document-field",d),children:[r.jsx(N,{isDisabled:l,label:e.label,isOptional:p,style:{marginLeft:t.labelMarginLeft.value(o),marginRight:t.labelMarginRight.value(o),marginTop:t.labelMarginTop.value(o),width:e.width??"auto",...e.style}}),r.jsxs(G,{labelWidth:e.width,size:o,children:[r.jsx(U,{name:d,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:R,onFileSizeError:M,onDeleteFile:L,onEditFileName:B,placeholderText:E,showPhotoPicker:S,useMobileCam:v,showWebCamPopUpCloseIcon:T,showUploadSuccessAnimation:I}),g&&r.jsx(J,{size:o,isError:g,children:C&&h!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const q=n.div`
1
+ import{q as W,cP as j,eo as u,V as r,cV as N,y as a,eQ as U,F as k,aN as O,c as i,o as s,p as V,R as _}from"./index-qaSB49F0.js";import{n}from"./mui-Fyk6sRCR.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]="64d05e64-331e-4555-9721-932ea979ad60",e._sentryDebugIdIdentifier="sentry-dbid-64d05e64-331e-4555-9721-932ea979ad60")}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:b,file:h,name:d,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:v,showUploadSuccessAnimation:I,showWebCamPopUpCloseIcon:T,updateFilesEntity:R,onDeleteFile:L,onEditFileName:B,onFileSizeError:M}){const o=W(),{formState:{errors:m}}=j(),g=u(m,d),C=u(m,`${d}.fileName`);return r.jsxs(q,{size:o,style:b,isDisabled:l!=null,"data-testid":O("document-field",d),children:[r.jsx(N,{isDisabled:l,label:e.label,isOptional:p,style:{marginLeft:t.labelMarginLeft.value(o),marginRight:t.labelMarginRight.value(o),marginTop:t.labelMarginTop.value(o),width:e.width??"auto",...e.style}}),r.jsxs(G,{labelWidth:e.width,size:o,children:[r.jsx(U,{name:d,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:R,onFileSizeError:M,onDeleteFile:L,onEditFileName:B,placeholderText:E,showPhotoPicker:S,useMobileCam:v,showWebCamPopUpCloseIcon:T,showUploadSuccessAnimation:I}),g&&r.jsx(J,{size:o,isError:g,children:C&&h!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const q=n.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{q as V,d as C,cP as b,eo as T,V as r,o,ex as P,bP as _,b as q,ge as A,p as s,R as F,bE as M}from"./index-Bs2B-MQ4.js";import{n as i}from"./mui-snKYaegN.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]="50284cd5-e184-4cb8-80f6-b2698339ec9a",e._sentryDebugIdIdentifier="sentry-dbid-50284cd5-e184-4cb8-80f6-b2698339ec9a")}catch{}})();const O={infoLabel:new F("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:a,formattedText:t,dropdownStyle:f,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:x=!0,isSaveError:d=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:D,registerOptions:L,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:E,placeholderLabel:j}){const n=V(),g=C(),{formState:{errors:S}}=b(),c=T(S,t.name),{control:I}=b(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(U,{size:n,style:m,isDisabled:e!=null,isError:c||d,children:[r.jsx(H,{windowSize:n,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(J,{style:{width:"auto",...f},children:r.jsx(P,{name:E,control:I,defaultValue:p.dropDownValue,rules:L,render:({field:{value:l,onChange:R}})=>r.jsx(_,{pickerValues:p.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{R(u)},menuPlacement:v,titleTextStyle:q.standardRegular,titleColor:g.colors.hero,valueOpacity:1,backgroundColor:g.colors.grey5,placeholder:j})})})}),r.jsxs(Y,{children:[r.jsx(A,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(x||c||d)&&r.jsxs(h,{size:n,isError:c||d,children:[w===!0?r.jsx(B,{children:r.jsx(G,{})}):null,y]}),$===!0&&r.jsx(h,{size:n,isError:!0,children:D})]})]})}const U=i.div`
1
+ import{q as V,d as C,cP as b,eo as T,V as r,o,ex as P,bP as _,b as q,ge as A,p as s,R as F,bE as M}from"./index-qaSB49F0.js";import{n as i}from"./mui-Fyk6sRCR.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]="50284cd5-e184-4cb8-80f6-b2698339ec9a",e._sentryDebugIdIdentifier="sentry-dbid-50284cd5-e184-4cb8-80f6-b2698339ec9a")}catch{}})();const O={infoLabel:new F("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:a,formattedText:t,dropdownStyle:f,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:x=!0,isSaveError:d=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:D,registerOptions:L,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:E,placeholderLabel:j}){const n=V(),g=C(),{formState:{errors:S}}=b(),c=T(S,t.name),{control:I}=b(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(U,{size:n,style:m,isDisabled:e!=null,isError:c||d,children:[r.jsx(H,{windowSize:n,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(J,{style:{width:"auto",...f},children:r.jsx(P,{name:E,control:I,defaultValue:p.dropDownValue,rules:L,render:({field:{value:l,onChange:R}})=>r.jsx(_,{pickerValues:p.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{R(u)},menuPlacement:v,titleTextStyle:q.standardRegular,titleColor:g.colors.hero,valueOpacity:1,backgroundColor:g.colors.grey5,placeholder:j})})})}),r.jsxs(Y,{children:[r.jsx(A,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(x||c||d)&&r.jsxs(h,{size:n,isError:c||d,children:[w===!0?r.jsx(B,{children:r.jsx(G,{})}):null,y]}),$===!0&&r.jsx(h,{size:n,isError:!0,children:D})]})]})}const U=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{q as V,V as l,cV as I,y as d,c as t,cP as L,d as O,eo as R,ex as P,bF as z,o as i,bG as p,L as y,al as C,b as h,bE as E,p as f}from"./index-Bs2B-MQ4.js";import{n}from"./mui-snKYaegN.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]="389ba869-c7f9-486c-8fc6-ef103fe28f47",e._sentryDebugIdIdentifier="sentry-dbid-389ba869-c7f9-486c-8fc6-ef103fe28f47")}catch{}})();const T=({name:e,registerOptions:o,defaultValue:r,isDisabled:s,style:a,placeholder:m})=>{const{control:g,formState:{errors:v}}=L(),x=O(),j=R(v,e??""),k={container:u=>({...u,width:"100%",...a}),menu:u=>({...u,backgroundColor:x.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${x.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:u=>({...u,borderRadius:0})},D={hasError:j};return l.jsx(P,{name:e,control:g,defaultValue:r,rules:o,render:({field:{onChange:u,onBlur:S,value:b,ref:_}})=>l.jsx(z,{...D,ref:_,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:m,value:w(b.selectedOptions),options:w(b.allOptions),onChange:F=>{u({selectedOptions:F.map(M=>M.value),allOptions:b.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:S,menuPlacement:"auto",maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:N,Option:J,Input:H,MultiValue:q,MultiValueLabel:G,MultiValueRemove:W,ValueContainer:B,DropdownIndicator:ie,IndicatorSeparator:re,Placeholder:A,ClearIndicator:Q},hideSelectedOptions:!1,styles:k,isDisabled:s!=null})})},N=e=>{const{menuIsOpen:o,isFocused:r,isDisabled:s,selectProps:a}=e,{value:m,hasError:g}=a;return l.jsx(K,{menuIsOpen:o,isFocused:r,isDisabled:s,optionsLen:m.length,hasError:g,children:l.jsx(p.Control,{...e,className:"select-control",children:e.children})})},B=e=>{const{selectProps:o}=e,{value:r}=o;return l.jsxs(p.ValueContainer,{...e,className:"select-value-container",children:[e.children,l.jsx(U,{className:"selected-options",children:r.map(s=>s.value).join(", ")})]})},H=e=>{const{selectProps:o}=e,{placeholder:r,value:s}=o;return l.jsx(p.Input,{...e,autoComplete:"new-password",placeholder:s.length===0?r:void 0,children:e.children})},q=e=>l.jsx(p.MultiValue,{...e,children:e.children}),G=e=>{const{data:o}=e;return l.jsx(p.MultiValueLabel,{...e,children:o.value})},W=e=>l.jsx(p.MultiValueRemove,{...e,children:l.jsx($,{style:{marginTop:"2px"}})}),Q=e=>l.jsx(p.ClearIndicator,{...e,children:l.jsx($,{})}),A=()=>null,J=e=>{const{isSelected:o,isDisabled:r,isFocused:s}=e;return l.jsx(X,{isFocused:s,isSelected:o,isDisabled:r,children:l.jsx(p.Option,{...e,className:"select-option",children:l.jsxs(Y,{children:[l.jsx(ee,{children:l.jsx(Z,{isSelected:o,isDisabled:r,children:e.label})}),o?l.jsxs(oe,{children:[l.jsx(le,{className:"right-tick-icon"}),l.jsx(y,{className:"close-tick-icon"})]}):null]})})})},K=n.div`
1
+ import{q as V,V as l,cV as I,y as d,c as t,cP as L,d as O,eo as R,ex as P,bF as z,o as i,bG as p,L as y,al as C,b as h,bE as E,p as f}from"./index-qaSB49F0.js";import{n}from"./mui-Fyk6sRCR.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]="389ba869-c7f9-486c-8fc6-ef103fe28f47",e._sentryDebugIdIdentifier="sentry-dbid-389ba869-c7f9-486c-8fc6-ef103fe28f47")}catch{}})();const T=({name:e,registerOptions:o,defaultValue:r,isDisabled:s,style:a,placeholder:m})=>{const{control:g,formState:{errors:v}}=L(),x=O(),j=R(v,e??""),k={container:u=>({...u,width:"100%",...a}),menu:u=>({...u,backgroundColor:x.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${x.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:u=>({...u,borderRadius:0})},D={hasError:j};return l.jsx(P,{name:e,control:g,defaultValue:r,rules:o,render:({field:{onChange:u,onBlur:S,value:b,ref:_}})=>l.jsx(z,{...D,ref:_,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:m,value:w(b.selectedOptions),options:w(b.allOptions),onChange:F=>{u({selectedOptions:F.map(M=>M.value),allOptions:b.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:S,menuPlacement:"auto",maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:N,Option:J,Input:H,MultiValue:q,MultiValueLabel:G,MultiValueRemove:W,ValueContainer:B,DropdownIndicator:ie,IndicatorSeparator:re,Placeholder:A,ClearIndicator:Q},hideSelectedOptions:!1,styles:k,isDisabled:s!=null})})},N=e=>{const{menuIsOpen:o,isFocused:r,isDisabled:s,selectProps:a}=e,{value:m,hasError:g}=a;return l.jsx(K,{menuIsOpen:o,isFocused:r,isDisabled:s,optionsLen:m.length,hasError:g,children:l.jsx(p.Control,{...e,className:"select-control",children:e.children})})},B=e=>{const{selectProps:o}=e,{value:r}=o;return l.jsxs(p.ValueContainer,{...e,className:"select-value-container",children:[e.children,l.jsx(U,{className:"selected-options",children:r.map(s=>s.value).join(", ")})]})},H=e=>{const{selectProps:o}=e,{placeholder:r,value:s}=o;return l.jsx(p.Input,{...e,autoComplete:"new-password",placeholder:s.length===0?r:void 0,children:e.children})},q=e=>l.jsx(p.MultiValue,{...e,children:e.children}),G=e=>{const{data:o}=e;return l.jsx(p.MultiValueLabel,{...e,children:o.value})},W=e=>l.jsx(p.MultiValueRemove,{...e,children:l.jsx($,{style:{marginTop:"2px"}})}),Q=e=>l.jsx(p.ClearIndicator,{...e,children:l.jsx($,{})}),A=()=>null,J=e=>{const{isSelected:o,isDisabled:r,isFocused:s}=e;return l.jsx(X,{isFocused:s,isSelected:o,isDisabled:r,children:l.jsx(p.Option,{...e,className:"select-option",children:l.jsxs(Y,{children:[l.jsx(ee,{children:l.jsx(Z,{isSelected:o,isDisabled:r,children:e.label})}),o?l.jsxs(oe,{children:[l.jsx(le,{className:"right-tick-icon"}),l.jsx(y,{className:"close-tick-icon"})]}):null]})})})},K=n.div`
2
2
  width: 100%;
3
3
  background-color: ${e=>e.theme.colors.grey5};
4
4
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -1,4 +1,4 @@
1
- import{q as p,V as n,cV as f,y as l,aN as g,c as t,o as a,al as u,R as c}from"./index-Bs2B-MQ4.js";import{n as r}from"./mui-snKYaegN.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]="41d54e08-94ab-44dd-a13b-3ef58aecad1b",e._sentryDebugIdIdentifier="sentry-dbid-41d54e08-94ab-44dd-a13b-3ef58aecad1b")}catch{}})();const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},y={infoLabel:new c("extraSmallRegular","smallRegular")};function z({label:e,value:o,additionalInfoLabel:s,style:b,infoLabelStyle:h}){const d=p();return n.jsxs(m,{size:d,style:b,"data-testid":g("labeled-text",e.label),children:[n.jsx(f,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(d),marginRight:i.labelMarginRight.value(d),marginTop:i.labelMarginTop.value(d),width:e.width??"auto"}}),n.jsxs(x,{labelWidth:e.width,children:[n.jsx(w,{"data-testid":g("labeled-text-input",e.label),children:o}),s!=null?n.jsx($,{size:d,style:h,children:s}):null]})]})}const m=r.div`
1
+ import{q as p,V as n,cV as f,y as l,aN as g,c as t,o as a,al as u,R as c}from"./index-qaSB49F0.js";import{n as r}from"./mui-Fyk6sRCR.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]="41d54e08-94ab-44dd-a13b-3ef58aecad1b",e._sentryDebugIdIdentifier="sentry-dbid-41d54e08-94ab-44dd-a13b-3ef58aecad1b")}catch{}})();const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},y={infoLabel:new c("extraSmallRegular","smallRegular")};function z({label:e,value:o,additionalInfoLabel:s,style:b,infoLabelStyle:h}){const d=p();return n.jsxs(m,{size:d,style:b,"data-testid":g("labeled-text",e.label),children:[n.jsx(f,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(d),marginRight:i.labelMarginRight.value(d),marginTop:i.labelMarginTop.value(d),width:e.width??"auto"}}),n.jsxs(x,{labelWidth:e.width,children:[n.jsx(w,{"data-testid":g("labeled-text-input",e.label),children:o}),s!=null?n.jsx($,{size:d,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{q as U,V as l,cV as me,o as s,y as I,aN as J,c as m,cP as Q,ex as ge,eo as fe,d as be,fX as xe,F,R as we,bG as W,fY as X,ap as H,fZ as q,bE as G,p as R,b as Y,al as K,f_ as $e,am as ye,ai as ve}from"./index-Bs2B-MQ4.js";import{n as r}from"./mui-snKYaegN.js";import{T as je}from"./RoleWithToolTip-C08wfnGb-CFjb8VCB.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]="cf61a3ae-6bf1-41a8-93fb-f13d7a4d1f23",e._sentryDebugIdIdentifier="sentry-dbid-cf61a3ae-6bf1-41a8-93fb-f13d7a4d1f23")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
1
+ import{q as U,V as l,cV as me,o as s,y as I,aN as J,c as m,cP as Q,ex as ge,eo as fe,d as be,fX as xe,F,R as we,bG as W,fY as X,ap as H,fZ as q,bE as G,p as R,b as Y,al as K,f_ as $e,am as ye,ai as ve}from"./index-qaSB49F0.js";import{n as r}from"./mui-Fyk6sRCR.js";import{T as je}from"./RoleWithToolTip-New3P2vC-2KCZppVG.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]="db902f3d-d9fb-448a-8795-11d24a68acdb",e._sentryDebugIdIdentifier="sentry-dbid-db902f3d-d9fb-448a-8795-11d24a68acdb")}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;
@@ -1,4 +1,4 @@
1
- import{q as V,V as l,cV as q,y as m,o,aN as N,c as n,cP as E,ex as J,eo as Q,d as K,b as I,bF as ie,F as te,fU as se,f$ as ae,aH as ne,b0 as de,bG as B,b9 as ce,bE as pe,cz as ue,p as k,g0 as U,cg as X,n as he,ai as Y,al as ge,am as me,fG as be,fF as fe,bv as xe,fH as ye,bh as we,g1 as ve}from"./index-Bs2B-MQ4.js";import{n as d,c as $e}from"./mui-snKYaegN.js";import{a as D}from"./sentry-gm2R3TtK.js";import{FA as A,FB as Re}from"./zeni-epic-state-D2RxwWrl.js";import{T as je}from"./RoleWithToolTip-C08wfnGb-CFjb8VCB.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]="6a552868-7f04-4d19-b849-84adf512fe3c",e._sentryDebugIdIdentifier="sentry-dbid-6a552868-7f04-4d19-b849-84adf512fe3c")}catch{}})();const H={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
1
+ import{q as V,V as l,cV as q,y as m,o,aN as N,c as n,cP as E,ex as J,eo as Q,d as K,b as I,bF as ie,F as te,fU as se,f$ as ae,aH as ne,b0 as de,bG as B,b9 as ce,bE as pe,cz as ue,p as k,g0 as U,cg as X,n as he,ai as Y,al as ge,am as me,fG as be,fF as fe,bv as xe,fH as ye,bh as we,g1 as ve}from"./index-qaSB49F0.js";import{n as d,c as $e}from"./mui-Fyk6sRCR.js";import{a as D}from"./sentry-D4D7HRQR.js";import{FA as A,FB as Re}from"./zeni-epic-state-I555vKHy.js";import{T as je}from"./RoleWithToolTip-New3P2vC-2KCZppVG.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]="eb04ae90-5b65-41a5-a77e-faab85c1801e",e._sentryDebugIdIdentifier="sentry-dbid-eb04ae90-5b65-41a5-a77e-faab85c1801e")}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{q as G,aO as ue,a9 as pe,cC as me,iF as E,iq as I,cD as he,V as a,ac as ge,g2 as fe,aP as be,F as H,o as t,y as m,l as xe,L as ye,cF as V,iG as we,p as je,b as P,bg as Ce,c as r}from"./index-Bs2B-MQ4.js";import{a as R}from"./sentry-gm2R3TtK.js";import{n as i}from"./mui-snKYaegN.js";import{G1 as W,F_ as Se,F$ as De}from"./zeni-epic-state-D2RxwWrl.js";import $e from"./TransactionDetailPage-BiGPVM2O-BIqR8D1A.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./LabeledControlledCheckBoxField-f2c-AeS4-DagKbuzo.js";import"./TrendWithTransactions-CjGbUTLS-CZ3CCR3q.js";import"./TrendChart-DLlQzxzM-PPRPEN_l.js";import"./chartTypes-B9jQTJLQ-B-uICCus.js";import"./toCOABalancesWithID-CcsM8Vr1-Ca_vxtPe.js";import"./toChartData-CVxc3i6E-Jb1kbIeZ.js";import"./NoDataChart-gfqauMvY-CAbYCdyQ.js";import"./InsightsSection-C4fMfxQ4-BGGNiljS.js";import"./NavigationDots-DISWi4Mq-BdTnuTup.js";import"./TransactionList-BQ2dvALf-DExPb7_Y.js";import"./BoxItem-42doFhpg-BDC_fDqi.js";import"./commonDimensions-BgvFMAEM-jw0M4GDE.js";import"./uploadAttachment-CBATb9_e-Bf8RMkbX.js";import"./radio-default-CiSgisfh-BY9nqKUM.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]="9fef5819-af41-4091-afe1-59a39bcc0e5b",e._sentryDebugIdIdentifier="sentry-dbid-9fef5819-af41-4091-afe1-59a39bcc0e5b")}catch{}})();const B={labelWidth:new m(120,145,160)},ve=i.div`
1
+ import{q as G,aO as ue,a9 as pe,cC as me,iF as E,iq as I,cD as he,V as a,ac as ge,g2 as fe,aP as be,F as H,o as t,y as m,l as xe,L as ye,cF as V,iG as we,p as je,b as P,bg as Ce,c as r}from"./index-qaSB49F0.js";import{a as R}from"./sentry-D4D7HRQR.js";import{n as i}from"./mui-Fyk6sRCR.js";import{G1 as W,F_ as Se,F$ as De}from"./zeni-epic-state-I555vKHy.js";import $e from"./TransactionDetailPage-BTonMpH2-DgSPoDVR.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./LabeledControlledCheckBoxField-DEaBzW9R-59_aD_t9.js";import"./TrendWithTransactions-_49jEzFf-D4MyPHxb.js";import"./TrendChart-Cb8wnBqS-Di_U3EIl.js";import"./chartTypes-wLUiIPlP-CGvYnBXb.js";import"./toCOABalancesWithID-CdKQhpIb-CFgx5sWA.js";import"./toChartData-BlyUYoV7-DsdeBaUU.js";import"./NoDataChart-DoN6Mneo-tV8Dt3om.js";import"./InsightsSection-26UEfz7s-DvD8Ccwt.js";import"./NavigationDots-U7wL0ya4-Br1fZ1mY.js";import"./TransactionList-B8eL6jhA-Di9L9RKc.js";import"./BoxItem-CZdVWyVJ-Ck7WXLSC.js";import"./commonDimensions-DGz_YafU-DaJiwvC8.js";import"./uploadAttachment-BkEbu6k9-DdujAAv5.js";import"./radio-default-CiSgisfh-DyFeMuig.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]="bad177df-4682-466a-8b5c-68dc2f019981",e._sentryDebugIdIdentifier="sentry-dbid-bad177df-4682-466a-8b5c-68dc2f019981")}catch{}})();const B={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{q as he,d as Me,a9 as me,y as d,eo as ue,V as t,f7 as Be,ac as ge,ap as He,fZ as Ue,o as r,b as We,bR as Ve,aL as re,cV as Ye,b0 as q,ej as qe,k as Xe,aP as Ge,F as U,ao as Ke,cF as gr,n as pe,a8 as xr,aw as wr,gP as $r,g8 as fr,aN as de,c as b,L as Je,bT as xe,a as Ze,al as j,b6 as we,ai as G,dp as Qe,a_ as er,cz as rr,p as X,am as tr,iK as oe,iV as yr,i_ as br,i$ as jr,dq as Pe,fo as vr,eE as Sr}from"./index-Bs2B-MQ4.js";import{a as ae}from"./sentry-gm2R3TtK.js";import{n as i}from"./mui-snKYaegN.js";import{EL as Cr}from"./zeni-epic-state-D2RxwWrl.js";import{T as ir}from"./RoleWithToolTip-C08wfnGb-CFjb8VCB.js";import{j as or}from"./CardNumberSubText-C6jdBRC2-YbNbzp0H.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]="dfd365d1-e54a-42ae-93dc-da412569276a",e._sentryDebugIdIdentifier="sentry-dbid-dfd365d1-e54a-42ae-93dc-da412569276a")}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`
1
+ import{q as he,d as Me,a9 as me,y as d,eo as ue,V as t,f7 as Be,ac as ge,ap as He,fZ as Ue,o as r,b as We,bR as Ve,aL as re,cV as Ye,b0 as q,ej as qe,k as Xe,aP as Ge,F as U,ao as Ke,cF as gr,n as pe,a8 as xr,aw as wr,gP as $r,g8 as fr,aN as de,c as b,L as Je,bT as xe,a as Ze,al as j,b6 as we,ai as G,dp as Qe,a_ as er,cz as rr,p as X,am as tr,iK as oe,iV as yr,i_ as br,i$ as jr,dq as Pe,fo as vr,eE as Sr}from"./index-qaSB49F0.js";import{a as ae}from"./sentry-D4D7HRQR.js";import{n as i}from"./mui-Fyk6sRCR.js";import{EL as Cr}from"./zeni-epic-state-I555vKHy.js";import{T as ir}from"./RoleWithToolTip-New3P2vC-2KCZppVG.js";import{j as or}from"./CardNumberSubText-BhtdU0IQ-BBiDBBhs.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]="00f5a70e-738c-468d-af7d-c081c6c2d650",e._sentryDebugIdIdentifier="sentry-dbid-00f5a70e-738c-468d-af7d-c081c6c2d650")}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};
@@ -1,4 +1,4 @@
1
- import{F as C,q as A,a9 as R,V as a,ac as W,cn as F,cI as z,y as m,cL as E,o as t,cp as U,c as u,b9 as V,aS as Y,bT as _}from"./index-Bs2B-MQ4.js";import{n as d}from"./mui-snKYaegN.js";import{tM as q,bL as $,bh as S}from"./zeni-epic-state-D2RxwWrl.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]="5fb4c3fb-bf24-4e2d-80fd-1795684e419e",e._sentryDebugIdIdentifier="sentry-dbid-5fb4c3fb-bf24-4e2d-80fd-1795684e419e")}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 C,q as A,a9 as R,V as a,ac as W,cn as F,cI as z,y as m,cL as E,o as t,cp as U,c as u,b9 as V,aS as Y,bT as _}from"./index-qaSB49F0.js";import{n as d}from"./mui-Fyk6sRCR.js";import{tM as q,bL as $,bh as S}from"./zeni-epic-state-I555vKHy.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]="5fb4c3fb-bf24-4e2d-80fd-1795684e419e",e._sentryDebugIdIdentifier="sentry-dbid-5fb4c3fb-bf24-4e2d-80fd-1795684e419e")}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-qaSB49F0.js";import{f as l}from"./ACHDetailsPage-CUzXxtOD-D58ed7uT.js";import"./sentry-D4D7HRQR.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./zeni-epic-state-I555vKHy.js";import"./mui-Fyk6sRCR.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./BankAccountWarningSection-CqlrCLSb-4sdBnqih.js";import"./MagicLinkTitleSection-zMEqv8xp-Dw1lipYQ.js";import"./BankAccountSection-BbX4r1dP-BVn949x0.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]="47574052-0db8-4da8-a933-3ef14ca9ed34",e._sentryDebugIdIdentifier="sentry-dbid-47574052-0db8-4da8-a933-3ef14ca9ed34")}catch{}})();const _=({magicLinkViewState:e,magicLinkBankAccountDetails:t,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r})=>{const{fetchState:m,error:d,bankNameByRouting:c,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=t,{currencySymbol:f,amount:p}=e;return b.jsx(l,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:d},bankNameByRouting:c,fetchBankNameByRoutingStatus:u,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:f,amount:p})};export{_ as default};