@zeniai/web-cockpit-ui 1.14.44-qa → 1.14.45-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 (226) hide show
  1. package/dist/assets/{ACHDetailsPage-CmrHphBc-BSc57asr.js → ACHDetailsPage-Dt6biYUe-x9rtHiTM.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DVLZQQLx-TJL1UOFJ.js → AIPerformancePage-CM9AM70q-CVnEii0f.js} +10 -10
  3. package/dist/assets/{AccountInfoPage-imteGSK1-C7FNjZiy.js → AccountInfoPage-CPF9bJN8-D7BCOq_s.js} +4 -4
  4. package/dist/assets/{AccountInfoPageContent-DIjQnfrv-Bx8ZGbnv.js → AccountInfoPageContent-BpnR6Xwt-DVOag3Ni.js} +19 -19
  5. package/dist/assets/{AccountLockedInfoModal-LYiLlZrv-W5eyNZln.js → AccountLockedInfoModal-ZoEeOTMM-CFpvfMaR.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CSzw7Xdo-BUbqervM.js → AccountReconDetailsDrawerPage-CfQ2mY97-Dg9-ZXo-.js} +1 -1
  7. package/dist/assets/{AccountRow-DnMX1pTV-Dch-yrS1.js → AccountRow-B8_6Pf4a-BXi7G1sU.js} +13 -13
  8. package/dist/assets/{AccountsPromoCardStack-BY9-YdTi-DAKDIFdR.js → AccountsPromoCardStack-BiCUsUG_-CKpOKtGv.js} +11 -11
  9. package/dist/assets/{AddAddressForCardDrawer-BY8rla0d-DwYWRebM.js → AddAddressForCardDrawer-Dqd20TwG-CLEU-fTU.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BND3tkMk-B2Q1vX5B.js → AddToWalletPage-Dztl0YPb-CTUWx1Uw.js} +10 -10
  11. package/dist/assets/{AgingReportsPage-C1HG4wzc-BP7ywoVs.js → AgingReportsPage-B4XxsXj8-qCOhN7V-.js} +14 -14
  12. package/dist/assets/{AllUserItems-rYc34keO-eneNLhbV.js → AllUserItems-B0rWTi3M-q17-8wHB.js} +4 -4
  13. package/dist/assets/{ApAgingDetailPage-CNG6prpn-zUDMXulF.js → ApAgingDetailPage-Y9K0Ueeu-fEOm7-dZ.js} +2 -2
  14. package/dist/assets/{AppBasePage-Dk4672v_-BU3yLG7X.js → AppBasePage-Co9r45oA-_5jrWDUp.js} +3 -3
  15. package/dist/assets/{AppDrawerContent-Y99P1DCR-BotvEcVh.js → AppDrawerContent-BBI2DM1O-BZ9TCfuC.js} +13 -13
  16. package/dist/assets/{ApprovalRulesSettingsPage-CO8-E7dA-D4Ayb7gE.js → ApprovalRulesSettingsPage-DP26gqoH-S91hGwuF.js} +1 -1
  17. package/dist/assets/{ArAgingChart-CsuanjH1-C1MocSZP.js → ArAgingChart-D07CrcX6-Bb-ubg6P.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-D6CHRGxo-CwwmVZk4.js → ArAgingDetailPage-GZw1b2sA-z9jAw9p9.js} +1 -1
  19. package/dist/assets/{AttachmentView-B3p8mkIi-BrJeaiQh.js → AttachmentView-xH7J89rG-DOMjMRfr.js} +6 -6
  20. package/dist/assets/{BankAccountSection--gqsJj6B-Cl0xvfi6.js → BankAccountSection-C74XNBn5-CY0uI2wa.js} +6 -6
  21. package/dist/assets/{BankAccountWarningSection-BM-Bu8CI-NIomJVMY.js → BankAccountWarningSection-DISZecgw-BXaqSDbn.js} +8 -8
  22. package/dist/assets/{BankConnectionsSettingsPage-B_RVLsvX-Bh3jK4p-.js → BankConnectionsSettingsPage-DVfrZI5k-y_eb2M3D.js} +7 -7
  23. package/dist/assets/{BillDetailPage-Bu20m9VL-x6bX1pWj.js → BillDetailPage-BB2dqRCc-DDaLt-vn.js} +5 -5
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CR168utn-D04RgUHd.js → BillPayApprovalRuleDetailPage-DULz7z7T-DY6u14Tx.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DQbLEENj-BXlH5X6q.js → BillPayApprovalRulesPage-BRy0P1G6-VP3zI7Gw.js} +5 -5
  26. package/dist/assets/{BillPayPromoPage-DqUNPVeq-BY__dpe7.js → BillPayPromoPage-CbJdDHD0-DZ-M6IZC.js} +4 -4
  27. package/dist/assets/{BillPaySetUpPage-BO8V-KVh-BVLQO0ZS.js → BillPaySetUpPage-DqnFvCOb-BeutT-e1.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-clzpJwrI-aUUpavsg.js → BillingSettingsPage-BC-uZXJ5-lq1RYTMm.js} +5 -5
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CFldRiX8-CF_81QlR.js → BillsBulkReviewDrawerPage-GdAORV0l-CHEn6W3_.js} +1 -1
  30. package/dist/assets/{BoxItem-CnpQOIVn-QBDxILBm.js → BoxItem-BVzRQmWm-DnawUpOb.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-DKmaCoDK-BokUPZc8.js → BusinessVerificationPage-Vmjh5B5Q-DyyMw-EQ.js} +6 -6
  32. package/dist/assets/{CardNumberSubText-uaXIushe-mziisRlF.js → CardNumberSubText-Rjo6M8UU-CcXRlHUY.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-DrW60zjw-CAOfeHjk.js → CashbackDetailPage-CiSuiJsI-CCZeXshW.js} +16 -16
  34. package/dist/assets/{ChargeCardDetailPage-X1HoUp96-Dq0xewvB.js → ChargeCardDetailPage-RTQvA6Uw-C4pe-icE.js} +41 -41
  35. package/dist/assets/{ChargeCardListPage-_0lUmAxM-FS4GdQcB.js → ChargeCardListPage-ByQZiwkP-DXG0mm5T.js} +15 -15
  36. package/dist/assets/{ChargeCardListTable-mfIUvL0A-BZYAUn-T.js → ChargeCardListTable-BIiwOFhF-DyaZW1I2.js} +13 -13
  37. package/dist/assets/{ChargeCardPromoPage-Bo2JJ5g4-Cbfgp8i_.js → ChargeCardPromoPage-DDs4hLZ8-yzbnAU_m.js} +10 -10
  38. package/dist/assets/{ChargeCardSetupPage-D9IikPGO-DQ37eBAM.js → ChargeCardSetupPage-C5Ay4ZmX-SxGdOPuA.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-Ck3qug5N-PNsbLhik.js → ChargeCardStatementsPage-5htSDEnC-Nw5bKfZm.js} +4 -4
  40. package/dist/assets/{ChargeCardUtils-BEBqV4Ri-CPRRvpNp.js → ChargeCardUtils-D8nxmniw-0B3L7zeg.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-CauClKmi-CmKTvW2Q.js → ChaseOverlay-BsUhQ0Hl-DFaxFI1c.js} +10 -10
  42. package/dist/assets/CheckDepositDrawerPage-CpQke8aO-CtJ3A36H.js +206 -0
  43. package/dist/assets/{CollapsableReportTable-CHthdzdj-DiXbx-o4.js → CollapsableReportTable-s_gsuEBP-C1aC-SHP.js} +85 -85
  44. package/dist/assets/{CompanyOfficerDetailsSection-BEb3_zYO-Dqtv0jSU.js → CompanyOfficerDetailsSection-BgVQxl1Y-CwOozNod.js} +15 -15
  45. package/dist/assets/{CompanyPassportCard-FhjZyorS-BrEmcU5l.js → CompanyPassportCard-BA3ilbJb-BLkylNR4.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-BlhNB8Ah-CKfKsscn.js → CompanyPassportPage-CAsHDLIg-DHWATnhm.js} +21 -21
  47. package/dist/assets/{CompleteProfile-Bk9Oyn1_-DoR6qaZF.js → CompleteProfile-CYCDpreV-BIRl_rEJ.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-DZLI1m4w-Dpj1p9Kd.js → ConfettiBurst-C6h5WEkY-CkKDQczO.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-C3CFRcUl-aaHtvw8x.js → CreateOrEditVendorPage-PQOg943K-BIJqg_Xb.js} +4 -4
  50. package/dist/assets/{CreditCardPaymentDrawerPage-Drl9yZi5-CKvSiGF-.js → CreditCardPaymentDrawerPage-DKW50EM6-DVNOyIoX.js} +10 -10
  51. package/dist/assets/{CreditCardPaymentPlgSection-D-Ptzdeo-BK_hLYo8.js → CreditCardPaymentPlgSection-C5Qn4uPW--juf3I9b.js} +8 -8
  52. package/dist/assets/{CurrencySelectField-CTAalWEI-iuON3W6y.js → CurrencySelectField-CQuKsZt--4BzRH7ns.js} +2 -2
  53. package/dist/assets/{CustomerOnboardingActivationPage-BkPgpEPw-Cxokqqc5.js → CustomerOnboardingActivationPage-DltZPaG9-CuOVbV8z.js} +6 -6
  54. package/dist/assets/CustomerOnboardingContainerPage-BLfK3HuK-D58EIOXR.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DzG4nVbk-DUDJYwqd.js → CustomerOnboardingDetailPageSkeleton-BX1ALiCI-pRGEY_jl.js} +8 -8
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-Czttv30c-CPtfEMDH.js → CustomerOnboardingNoStepsPage-D-_NhEaR-DoNrEgc_.js} +7 -7
  57. package/dist/assets/{CustomerOnboardingPage-CNXBzMG5-DzdSjywh.js → CustomerOnboardingPage-Cxw6ju1Q-iVE3rRJz.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-BArjfUBb-DiIVJ-QZ.js → CustomerOnboardingProductSuitePage-B7D59sC_-ClANKKoE.js} +5 -5
  59. package/dist/assets/{Dashboard-DyA5sBz3-CRkt-_C_.js → Dashboard-BNvsGTf3-DfRYC8MF.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-DvUvM8lA-TbzG3eRo.js → DashboardReportPage-CUDj-apD-ts1UyW1y.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-CAa8yETt-DQCrZOMm.js → DashboardSidebarBackgroundAnimation-CqoYqd3k-CpbMxsi5.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-VZZvr2Gl-DJKdJrGG.js → DepositAccTransactionItem-By315-ia-B67a47Nt.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-xt11Y65Z-XwfRqCiv.js → DepositAccTransactionListPage-BmdduHVH-CuW0haDa.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-DmE3TVQk-C-QBeWMe.js → DomesticWireDetailsPage-BycRPXWv-BEmLm9iF.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-DBhAvmRv-Cj3ahlAG.js → DownloadOverlay-CD44fdp2-CcGw9J34.js} +12 -12
  66. package/dist/assets/{DrawerPage-BSy9zQ8e-VOTcl_Us.js → DrawerPage-DttoShZY-B4SEX4Vc.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-DyaHesFS-Bus9x57q.js → EditPeoplePage-Cwz1PxMH-D0oC_7he.js} +3 -3
  68. package/dist/assets/{EditReimbursementDetailPage-EEKR__zQ-BoWF0JFB.js → EditReimbursementDetailPage-B8EIR_aw-BLg2ffib.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-BECoxBfR-BiJ_8Jzz.js → EntityDetailPage-BSRVaRvy-DmyuhLfY.js} +3 -3
  70. package/dist/assets/{EntitySummarySection-wzMCZjZE-2-RWnlxw.js → EntitySummarySection-D3_1EeVb-4HGU6F7u.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-MlPZZ_Mz-C8FIABO0.js → ExpenseAutomationOverviewPage-BumVHdQ7-Dr0SJny6.js} +13 -13
  72. package/dist/assets/{ExpenseAutomationPage-mdYWsafr-BLvFXWYb.js → ExpenseAutomationPage-DL86YKcI-D7VmjVTK.js} +55 -55
  73. package/dist/assets/{ExpressPayPage-Dg03hVzu-Bd-Xf2bN.js → ExpressPayPage-B2ZL_U_8-Ct1T6Hqd.js} +7 -7
  74. package/dist/assets/{FeaturePreviewPage-BePsYONK-DM7rJpB4.js → FeaturePreviewPage-abZRtNJ_-DtOlQ1ve.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-BqqrsOIP-DLXO6q5D.js → FollowStepsSection-UY5sAJeD-D9y-FlM_.js} +9 -9
  76. package/dist/assets/{GlobalReviewListPage-BVpHhHli-BA06L24b.js → GlobalReviewListPage-ao32krvU-CyxgvmBU.js} +10 -10
  77. package/dist/assets/{HelpButton-DXDj1Qju-6dCR8Tek.js → HelpButton-Dz3Ra_Sl-C1T3rERY.js} +4 -4
  78. package/dist/assets/{InformationCardStack-CauWOEJQ-DKSteiOb.js → InformationCardStack-CeLIUYk5-Cx3xXrtg.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-C-52awo8-BWPPl14z.js → InsightsCardStack-CabSexOm-CpBekjTt.js} +8 -8
  80. package/dist/assets/{InsightsSection-Bq2ZlQ8--AuQEFpFd.js → InsightsSection-CaYMAnck-vZ6q8Jpt.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-CQCxjOHh-B1T5nZLs.js → IntegrationsSettingsPage-BI7RHtQ2-DWoQgO4y.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-Bi3ERJ96-C62elPax.js → InternationalWireSwiftDetailsPage-iR-F32ot-BUfcTb0n.js} +6 -6
  83. package/dist/assets/{InternationalWireVerificationPage-DhX_OpJ6-DhDVwdIK.js → InternationalWireVerificationPage--IRCwUc5-BK__pdsC.js} +5 -5
  84. package/dist/assets/{InviteFormPage-BJkMxjIE-DGYtt6Bs.js → InviteFormPage-D-YEfvJT-B46eQD-N.js} +8 -8
  85. package/dist/assets/{InvitePageListView-0zD-YAJA-DGIFJ6Lx.js → InvitePageListView-CNvU2ppT-BsPD9T0R.js} +20 -20
  86. package/dist/assets/{InvitePeoplePage-CvQNFpjb-MEqiKB1j.js → InvitePeoplePage-CteRDO3k-CzXdrj66.js} +3 -3
  87. package/dist/assets/{InvoiceUploadSection-BrnUjxIH-BMdRzxGt.js → InvoiceUploadSection-BQXqcLvW-YGmVjGWZ.js} +3 -3
  88. package/dist/assets/{IssueChargeCardPage-agEqgGPg-BMz7PYBf.js → IssueChargeCardPage-BIgcCnpo-PcUOQWwy.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-DphNZz4y-D0KCXzO6.js → LabeledAddressValue-CiDQX1xa-x9cH1NH3.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-DBlBlkO_-DoPRS3as.js → LabeledAddressValueField-C5jrFFUs-CwCL74Dg.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-CBRqbUDe-UzdHSUCG.js → LabeledControlledCheckBoxField-jqiHQZso-Y1bdaQMv.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-DOjtbusw-TXDXUD5J.js → LabeledCreatableSingleSelectField-DGZvzuxH-BpSZ7zl7.js} +7 -7
  93. package/dist/assets/{LabeledDocumentField-Bxggz66t-Cn_PeJ5g.js → LabeledDocumentField-hUiqS32j-vbaQx3SD.js} +4 -4
  94. package/dist/assets/{LabeledDropDownFormattedTextField-1dqcE0E4-t0ucdhBH.js → LabeledDropDownFormattedTextField-CZdzpmL1-pUn4RDCV.js} +5 -5
  95. package/dist/assets/{LabeledText-BJFW2h6S-G87zH92R.js → LabeledText-DopMzeZ3-CYS48zTu.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CLzwYw4O-Cs6PJnR2.js → LabeledUserSingleSelectWithSubtitlesField-CkRg249v-BoH-kRZ0.js} +5 -5
  97. package/dist/assets/{LabeledZeniRolesDropDownField-DGsJbILm-CWOq9g0f.js → LabeledZeniRolesDropDownField-CwkMUU9L-CBkGnuEd.js} +11 -11
  98. package/dist/assets/{LinkJETransactionPage-CvdbDO5J-Dcaiimar.js → LinkJETransactionPage-CcnQYwcu-Cpho8XzH.js} +3 -3
  99. package/dist/assets/{LowBalancePopup-BhLxnyK0-C1-HIC13.js → LowBalancePopup-_1OrPez7-DZkbi_Py.js} +2 -2
  100. package/dist/assets/{MagicLinkACHDetailsPage-CcD-_iOV-Cmloa6Sl.js → MagicLinkACHDetailsPage-DXP0qFGK-DoB9MNyO.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-C-YfhiNr-DU52Xxm4.js → MagicLinkDomesticWireDetailsPage-BycJq6br-DGH4aq0c.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DXZBFcUc-DORqbysw.js → MagicLinkInternationalWireDetailsPage-NjVjY4fp-D6XTRyzt.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-OikwemO4-2MjmaIoT.js → MagicLinkSuccessPage-y19ecMSL-Bjh9JkfG.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-CcsVjT5g-m8-ZbWiA.js → MagicLinkTitleSection-CdijIZYn-kUHi3mP3.js} +4 -4
  105. package/dist/assets/{MailingDetailsSection-ClULuPML-c4uvK-xV.js → MailingDetailsSection-Cw-CO-oE-9IZJYTUD.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-DJHrBVXi-YYH5fhwe.js → MeetingCalenderPopup-CQ2sUCtg-BBwyYnnQ.js} +1 -1
  107. package/dist/assets/{Menu-C3EXvt9P-HAcVl0uR.js → Menu-Cz6zGt86-BijWmw2b.js} +3 -3
  108. package/dist/assets/{MyBankConnectionsSettingsPage-Cn-dlR5V-D5W9TQDI.js → MyBankConnectionsSettingsPage-DRmOdZ9_-D1GaIeKu.js} +7 -7
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-B3xeafnf-LCbTSPzT.js → MyPendingActivationChargeCardListPage-CtFUm3NW-ChKpZI-w.js} +1 -1
  110. package/dist/assets/{MyProfileSettingsPage-CcyS0ijJ-CTU0B5fO.js → MyProfileSettingsPage-ejULQTzV-CUdJEZnq.js} +7 -7
  111. package/dist/assets/{NavBarWithPicker-C3MsVwsg-BuAxA6W9.js → NavBarWithPicker-C-QfNv7i-BGeKGKav.js} +3 -3
  112. package/dist/assets/{NavigationArrow-DSMn_azz-Bn7cke7g.js → NavigationArrow-kQmX-M7U-Qn8Td-4a.js} +1 -1
  113. package/dist/assets/{NavigationDots-BiiEFlFj-xZJ5-o7_.js → NavigationDots-nUALE4y--DPaRfQ3k.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-DJ0zT8Xy-Cj0gRV8r.js → NewGlobalMerchantPage-D1NQ_h-e-CCmfop3O.js} +5 -5
  115. package/dist/assets/{NoDataChart-O6Mg_gf4-BzMtzTAz.js → NoDataChart-BmcrokSp-mktpp4Ge.js} +4 -4
  116. package/dist/assets/{NoDataTable-BgKg_U0s-CmmkF752.js → NoDataTable-BKAiKOOM-BMD8AGW2.js} +1 -1
  117. package/dist/assets/{NotFoundPage-DA6cvlNW-DlMJJWcU.js → NotFoundPage-B-wGvM-5-CoGsI8QE.js} +3 -3
  118. package/dist/assets/{NotificationSettingsPage-BwqCG-6J-DWqf_cVg.js → NotificationSettingsPage-BKQcK-_r-CZ2o6aQV.js} +4 -4
  119. package/dist/assets/{NotificationsListConfig-DqM-Z8oE-CAKzU3R_.js → NotificationsListConfig-C5pyiij--CMy_5rqB.js} +1 -1
  120. package/dist/assets/{NotificationsPage-iYF222-C-DUKthO_-.js → NotificationsPage-kpBbd-do-DQ3PZPcz.js} +13 -13
  121. package/dist/assets/{OpExByVendorPage-BwekpbHo-BjGBd6JN.js → OpExByVendorPage-CWi3CBRt-C5BCEXdz.js} +4 -4
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo-BQsfSCAm.js → OverlayContainerPage-Bmu909Fo-A-nPKfyl.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-B7IxSSMo-BTaoWXQH.js → PandLWithForecastPage-DyWdR8ii-sU4Bj-a8.js} +5 -5
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CJk4EUwr-ABl4cOzL.js → PaymentAccountSetupBillingAddressSection-Cq7pdtPH-CzJADBF9.js} +8 -8
  125. package/dist/assets/{PeoplePage-97Qe6dqr-DdMIC7eB.js → PeoplePage-CPaoZBpL-Dgke3QJy.js} +25 -25
  126. package/dist/assets/{PortfolioAllocationFormPage-Df2lZK30-l0pxfNTg.js → PortfolioAllocationFormPage-DX6o84wl-DSlUdRlT.js} +3 -3
  127. package/dist/assets/{PortfolioDetails-CGVqC5q--CSueTA8J.js → PortfolioDetails-C1iLJHLZ-CesK17A1.js} +1 -1
  128. package/dist/assets/{ProductsCarousel-DqvLLayZ-CS-GjIhF.js → ProductsCarousel-DjFdVKD1-hE-u6a08.js} +1 -1
  129. package/dist/assets/{PromoBaseCards-Bq-mwvkh-p9T1FVNn.js → PromoBaseCards-CizR6Pvp-CqSOUop-.js} +2 -2
  130. package/dist/assets/{QBOConnectionDialog-DWZd5o0q-K6Wt7Neh.js → QBOConnectionDialog-2HqFAb-Q-sQRSSCIF.js} +4 -4
  131. package/dist/assets/{QBOSetupSection-B_V2Y6DW-BLaB9-z0.js → QBOSetupSection-9O9ML9R8-BXn0JWS0.js} +4 -4
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-hWUoXT59-Y3oG-ekm.js → ReimbursementApprovalRuleDetailPage-CQOS4wJ2-zxPk7wqx.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-C20mPnJH-DBrdoBR7.js → ReimbursementApprovalRulesPage-VuQN7m71-BZUH-GLu.js} +4 -4
  134. package/dist/assets/{ReimbursementDetailPage-DAVdVUp0-DebCxtKg.js → ReimbursementDetailPage-D2pO4hgr-vjcNMRqh.js} +6 -6
  135. package/dist/assets/{ReimbursementPromoPage-TKdLARUD-DsJNpIcv.js → ReimbursementPromoPage-D3p8iwHa-z2IAojJU.js} +9 -9
  136. package/dist/assets/{ReimbursementSetUpPage-CW10ZPs7-CIw76iEF.js → ReimbursementSetUpPage-OR8ECt9X-Bx512tje.js} +4 -4
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-_rgixsBG-BMXQONLy.js → ReimbursementsBulkReviewDrawerPage-DhjfNcO4-DvhEuIE0.js} +1 -1
  138. package/dist/assets/{ReloadCard-Bzt6gIzi-D5O4Gcf_.js → ReloadCard-NvfxlEQu-BnXQfMVk.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-CPc3yRAI-BKmgR9zr.js → ReportTableViewSelector-B599qAeN-BwwOFFi3.js} +1 -1
  140. package/dist/assets/{ReportsPage-DIHjl3Xd-DULYM4bB.js → ReportsPage-Bc-rf7lL-BubUWknL.js} +1 -1
  141. package/dist/assets/{RevenueChart-MkoD0EoE-D92CgGXq.js → RevenueChart-BtTx8haN-Ci6KFTHz.js} +12 -12
  142. package/dist/assets/{ReviewDetailsPage-B96vIWt9-BUkzSnt4.js → ReviewDetailsPage-Bm9qlI1L-DnX2Wm0A.js} +5 -5
  143. package/dist/assets/{ReviewOverlay-CKOAcLzJ-BPHtj3ml.js → ReviewOverlay-C90OnldQ-BJwck8Vp.js} +9 -9
  144. package/dist/assets/{RoleWithToolTip-BiydziFE-VYITxPfh.js → RoleWithToolTip-Cav6Dtwi-DQjRjWwX.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ce2BDLCX-CXENWEZF.js → ScheduleDetailsFixedAssetsPage-BIbtbzlS-Dq-JIBXg.js} +3 -3
  146. package/dist/assets/{ScheduleDetailsPage-ClK-ymjD-DRsYGv0y.js → ScheduleDetailsPage-BSVBoMe5-DfcysezY.js} +3 -3
  147. package/dist/assets/{ScheduleSequenceTable-BOFaTbv5-CCscivOS.js → ScheduleSequenceTable-C9IcAd6X-B0s-FwXu.js} +5 -5
  148. package/dist/assets/{ScreenRoutes-CUUBxQES.js → ScreenRoutes-C_yyAtD4.js} +1 -1
  149. package/dist/assets/{SetUpAccountSection-DPEjJt-s-BxHjDLDI.js → SetUpAccountSection-Daj9lEze-CHRC6PUj.js} +4 -4
  150. package/dist/assets/{SetUpDefaultSection-Br-a1ECs-BuLgUcqJ.js → SetUpDefaultSection-CKg9xvyM-V31Vr9Jm.js} +2 -2
  151. package/dist/assets/{SignIn-B7p2vrI4-CBu4DRgp.js → SignIn-BFm1M4_6-R5KiOJ_3.js} +18 -18
  152. package/dist/assets/{SignInScreen-Dum3srgp.js → SignInScreen-CPbq6PuC.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-Ds1WRCNc-B03dml86.js → SpendManagementListViewPage-D6fZPLMz-Z_0NC1QS.js} +3 -3
  154. package/dist/assets/{SpendManagementPerTabPage-uBi60ESx-Dq7iQQx4.js → SpendManagementPerTabPage-jQjzrKl2-CR9tWVBr.js} +18 -18
  155. package/dist/assets/{SpendManagementSection-CESND8ho-DCrlaUqA.js → SpendManagementSection-BaiWgwp--Dp3HO5CH.js} +5 -5
  156. package/dist/assets/{SpendMgmtSetupAccountSection-CiPoUdg_-CelUMY-y.js → SpendMgmtSetupAccountSection-BUSFBsmA-Wg-n8Wde.js} +7 -7
  157. package/dist/assets/{StatementItem-BSfAH9fl-diu3-gbg.js → StatementItem-BeGyTVOf-Ccqz_NBL.js} +4 -4
  158. package/dist/assets/{StatementsPage-BQ-wkg9f-DMW87IGZ.js → StatementsPage-2uPMvTEy-De7Uac1v.js} +1 -1
  159. package/dist/assets/{StatusSwitcher-CoX1TvcC-B2wGlPZJ.js → StatusSwitcher-CwLbXjIU-CJO3kP8v.js} +1 -1
  160. package/dist/assets/{SubTabSwitcher-C4Kvmep7-DJj8T55V.js → SubTabSwitcher-D3bFqk8P-DL4oUfiQ.js} +1 -1
  161. package/dist/assets/{SummaryCard-Cdh_w38m-yg2TCiEc.js → SummaryCard-BNrQ7g3--CGMMw0Tk.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-CCiARHPO-CeRR-xF8.js → TaskManagementPage-Y58wtgRN-CUHNN86c.js} +15 -15
  163. package/dist/assets/{TimeRangeSwitcher-CMNnx0hW-DfOU0-FY.js → TimeRangeSwitcher-CQd079aU-C6Twt9kC.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcher-BAkn3cys-dF_t-50z.js → TimeframeSwitcher-Du60ffZv-BeSFHMlL.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-Bp8FBsnD-NXYHSu6I.js → TimeframeSwitcherWithToggle-DPManiX8-CS5OwAMc.js} +1 -1
  166. package/dist/assets/{TopExCard-CH7QX8Xe-Dq7lj8sK.js → TopExCard-sH5ZVrBJ-i2TO4vcJ.js} +2 -2
  167. package/dist/assets/{TopExDetailPage-CJuOpApW-D7FKWD-V.js → TopExDetailPage-DiOHO_q9-BJm1edqQ.js} +11 -11
  168. package/dist/assets/{TransactionDetailPage-280hbOwA-B8cgDD3N.js → TransactionDetailPage-NaMbYUr8-Da3GPc9Y.js} +13 -13
  169. package/dist/assets/{TransactionList-BV18tWaE-BQKRF29H.js → TransactionList-Bsma20IC-CJ7iiCLF.js} +4 -4
  170. package/dist/assets/{TransactionListBig-DmVgWxvf-DHGIWOoC.js → TransactionListBig-BwMUiFzK-_BeDx_E5.js} +10 -10
  171. package/dist/assets/{TransactionListPage-CE61eqZh-vtVmAgv2.js → TransactionListPage-BRKVdJ4P-D3ULhVil.js} +4 -4
  172. package/dist/assets/{TransactionVendorDetailPage-CKRUJzG5-D3thb3cP.js → TransactionVendorDetailPage-DuJ1piCd-Z4okEL-Q.js} +3 -3
  173. package/dist/assets/{TransferDrawerPage-DdIXX8dR-DrExDhl3.js → TransferDrawerPage-PmiYXfAU-BQhQZtnl.js} +15 -15
  174. package/dist/assets/{TreasuryOverviewPage-D9NcFBhg-iy_GLL-M.js → TreasuryOverviewPage-M6fv3b34-CcznAXU3.js} +101 -104
  175. package/dist/assets/{TreasuryPromoPage-BKXMayjO-B4uiGon7.js → TreasuryPromoPage-D48c4Ulh-B2QYQTc4.js} +12 -12
  176. package/dist/assets/{TreasurySetupPage-Bo24F7wL-DuPfGbF_.js → TreasurySetupPage-BPsw-DhK-BqfOjb-x.js} +4 -4
  177. package/dist/assets/{TreasuryStatementsPage-DUKtmwwf-D1_Zhdj-.js → TreasuryStatementsPage-BEun-dwQ-D-vCxxYM.js} +1 -1
  178. package/dist/assets/{TreasuryTaxLetterPage-vqThZpY5-DG75nAAt.js → TreasuryTaxLetterPage-CsQ5biUP-CG-uin7p.js} +1 -1
  179. package/dist/assets/{TreasuryTransferOrReviewPage-1Kqod57a-DA3XAHpW.js → TreasuryTransferOrReviewPage-CxhE8fh7-Cf05TRJh.js} +39 -39
  180. package/dist/assets/{TrendChart-uCE73Vf8-XEufcUTW.js → TrendChart-CkUKN6L9-CYj8AG4h.js} +3 -3
  181. package/dist/assets/{TrendWithTransactions-lNYrtUkf-CsE_Q_OW.js → TrendWithTransactions-4pDf20tw-Bfat4sT9.js} +4 -4
  182. package/dist/assets/{UncategorizedAccountsMappingPage-CbLMkBab-DyTfUg06.js → UncategorizedAccountsMappingPage-DZBy-Goh-5f67nsQo.js} +7 -7
  183. package/dist/assets/{UnitIntegrationPage-DzfchgLS-CZgF7SP-.js → UnitIntegrationPage-DG-KGQDb-BLUtVLjp.js} +2 -2
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-CJwjYpvy-DECImHlx.js → UploadAdditionalDocumentOverlay-DrZAnHqz-c6P-4NDi.js} +1 -1
  185. package/dist/assets/{Vendor2FAPopup-BDatjVhv-DiVAW67d.js → Vendor2FAPopup-CaiUvPMo-By8aU9uB.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-BTo9s38E-DN6GrIjX.js → VendorACHDetailsPage-CHoh0E0P-EqmntQKd.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-DOdRZKwE-DrZ4pQ2p.js → VendorDetailPage-CroHdVMA-C-Wc1kYJ.js} +9 -9
  188. package/dist/assets/{VendorDomesticWireDetailsPage-Ch_HedkY-DDDapGI9.js → VendorDomesticWireDetailsPage-DC17Qom9-C3oEikuC.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-ChgTi2cq-osgHnUPX.js → VendorFiling1099EditablePage-Bom6X8Sg-DHjxnakQ.js} +14 -14
  190. package/dist/assets/{VendorFirstReviewPage-C_HBOo29-Cun14S2s.js → VendorFirstReviewPage-6eptnez2-B7div4WL.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireDetailsPage-Ct42LbtQ-DOq8ZA0S.js → VendorInternationalWireDetailsPage-C_CH7xDF-fHUjobrM.js} +9 -9
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CalHOqYH-DlK1SL0S.js → VendorInternationalWireSwiftDetailsPage-BEzPWQbD-DdQpKH5i.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-Briqd_pt-BkWk4En6.js → VendorsAccountsSection-Z-ebKmVQ-DbcI_-8-.js} +2 -2
  194. package/dist/assets/{VerifyDevice-DxP4a4YR-hED-bTkI.js → VerifyDevice-76nFunfs-3WPg6QL8.js} +1 -1
  195. package/dist/assets/{VideoPlayer-DqRss8fV-B4rpzoFE.js → VideoPlayer-CV7o-_bq-BWNDFwag.js} +1 -1
  196. package/dist/assets/{VideoPopup-CwEiOVHQ-SE5re7pU.js → VideoPopup-CbaFtkFn-BG3oU3yl.js} +1 -1
  197. package/dist/assets/{WarningsDrawerPage-Cdd0mag5-Bja6dfag.js → WarningsDrawerPage-Bg7iDQqy-BITRncLa.js} +1 -1
  198. package/dist/assets/{ZeniAccountDetailPage-5sn9Wphj-CqKMTn67.js → ZeniAccountDetailPage-DYidbJtT-qtM4JbUS.js} +14 -14
  199. package/dist/assets/{ZeniAccountListViewPage-BLCYWphf-DSieyxJQ.js → ZeniAccountListViewPage-CVkzRUil-DQ8A3VZl.js} +7 -7
  200. package/dist/assets/{ZeniAccountNavBarPieces-Cwo5QtoT-0DDIjO4b.js → ZeniAccountNavBarPieces-DaHGosco-D-yA-Drc.js} +1 -1
  201. package/dist/assets/{ZeniAccountPromoPage-CKQOu6Ab-B0_2BOIj.js → ZeniAccountPromoPage-CXr_ud4S-C9YOWT8M.js} +10 -10
  202. package/dist/assets/{ZeniAccountSetupPage-BW1l7qJf-KyzYMO16.js → ZeniAccountSetupPage-Bqng7laZ-DKzqXw5c.js} +4 -4
  203. package/dist/assets/{ZeniCopyright-B6fSw5kZ-BEYdzvFL.js → ZeniCopyright-1d-n5uOX-ChnFnWfn.js} +1 -1
  204. package/dist/assets/{ZeniTransferAmountSlider-DgkjDK9D-C-vYTTkf.js → ZeniTransferAmountSlider-C63JbsJx-BbpyFTKu.js} +4 -4
  205. package/dist/assets/{analyticsHelper-sMuDd6mq.js → analyticsHelper-Cjbr9XB0.js} +1 -1
  206. package/dist/assets/{analyticsHelper-BIYs-BU5-DiR7zn-J.js → analyticsHelper-I0lsXzXl-DMfD2BoN.js} +1 -1
  207. package/dist/assets/{chartTypes-BFc-FQm9-DH8jC-PX.js → chartTypes-D1Bn4xHa-xYwPwpPb.js} +1 -1
  208. package/dist/assets/{commonDimensions-B_ShoU61-DERccKE1.js → commonDimensions-0W6wokPG-Cd83l0QX.js} +1 -1
  209. package/dist/assets/{detailCommon-CoFrLjgw-DYR8VDfk.js → detailCommon-CtOYz9rQ-C2GqRiaA.js} +6 -6
  210. package/dist/assets/{downloadPdf-yID9qiGz-DQvfiOaT.js → downloadPdf-BZd85Ssn-CFK_x6gO.js} +1 -1
  211. package/dist/assets/{index-BKug3-eP.js → index-0QGih61V.js} +1871 -1871
  212. package/dist/assets/{mapLoadingInProgressToTreeNode-xaG_j34l-BbRC2p3V.js → mapLoadingInProgressToTreeNode-CMYVZuQF-Dz_C0WS4.js} +1 -1
  213. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Cf1Q8iLQ-Dl9HYo3q.js → mapSectionWithAcOnlyToTreeNode-DTb8IvgM-B1dWpiWC.js} +1 -1
  214. package/dist/assets/{mapSpacerToTreeNode-CiLMcagY-B9z3eGZE.js → mapSpacerToTreeNode-B_jfScE8-BZjIqfg0.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-VuMYRsaA-Bkr18cUs.js → mapTimeframeBalancesToTreeNode-BEOhNOy1-DAEXm4ZG.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-BpcCExFt-aaQ9hedR.js → mapTimeframeBalancesToTreeNode-Gxa-yiq_-Dyh-lexC.js} +1 -1
  217. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Cfz6o8XS-DipjgrJy.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BD4cN4l4-6Aq9xydh.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-CL2W-2Ks-BJ5hpOjH.js → toCOABalancesWithID-BVyQC9pt-C2mN3lRp.js} +1 -1
  219. package/dist/assets/{toChartData-CD4rOlNx-CQ_TJxU1.js → toChartData-BRdwPc1X-CHkEigWV.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-DHqBe6al-lMeWD10s.js → treasuryColorHelper-DrayAnYl-DEH_6Uhe.js} +1 -1
  221. package/dist/assets/{uploadAttachment-Bqf6VI3L-BGJCHQ2n.js → uploadAttachment-Cx3js1c7-BXnz9UFJ.js} +16 -16
  222. package/dist/assets/{uploadReceipts-dxsKhm9I-DS2NFPcM.js → uploadReceipts-dxsKhm9I-DUj1wGX2.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +4 -4
  225. package/dist/assets/CheckDepositDrawerPage-DmszT7bh-1ikOwRZW.js +0 -206
  226. package/dist/assets/CustomerOnboardingContainerPage-BAZbPHa2-AeHBObO9.js +0 -1
@@ -1,28 +1,28 @@
1
- import{u as E,e as j,j as o,aX as Te,R as v,fj as N,p as Ie,gs as _e,q as s,o as r,a0 as C,Q as Y,v as M,b_ as Me,C as p,X as _,g as B,y as V,f as k,af as Be,h as J,az as X,fl as q,w as z,r as We,j6 as Ae,bn as Oe,l as x,bg as De,a6 as Ee,T as xe,n as W,aD as Ne,c7 as we,ao as Ve,j7 as U,id as Ke,c3 as He,j8 as fe,m as $e,bK as ye,f$ as b,ip as Fe,j9 as ve,bO as be,fF as Ye}from"./index-BKug3-eP.js";import{b as $,n as t}from"./vendor-rkTZJa59.js";import{C as je}from"./gift-box-Cmt9OgIZ-BqWjP_Ex.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const Se=(e,i)=>{$.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)}})},Ge={pageTitleMarginLeft:new p(s[4],s[6])},Qe=t.div`
1
+ import{u as E,e as j,j as o,aX as Te,R as v,fj as N,p as Ie,gs as _e,q as s,o as r,a0 as C,Q as Y,v as M,b_ as Me,C as p,X as _,g as B,x as V,f as k,af as Be,y as q,az as X,fl as Q,w as z,r as We,j6 as Ae,bn as Oe,l as x,bg as De,a6 as Ee,T as xe,n as W,aD as Ne,c7 as we,ao as Ve,j7 as U,id as Ke,c3 as He,j8 as fe,m as $e,bK as ye,f$ as b,ip as Fe,j9 as ve,bO as be,fF as Ye}from"./index-0QGih61V.js";import{b as $,n as t}from"./vendor-rkTZJa59.js";import{C as je}from"./gift-box-Cmt9OgIZ-BqWjP_Ex.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const Se=(e,i)=>{$.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)}})},Ge={pageTitleMarginLeft:new p(s[4],s[6])},Je=t.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
  display: flex;
5
5
  flex-wrap: wrap;
6
6
  gap: ${e=>Ge.pageTitleMarginLeft.valuePx(e.windowSize)};
7
7
  margin-top: ${r.sp4};
8
- `,Je=t.div`
8
+ `,qe=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
- `,Xe=t(J)`
14
+ `,Xe=t(q)`
15
15
  height: ${r.sp3};
16
16
  width: ${r.sp3};
17
17
  color: ${e=>e.theme.colors.hero};
18
- `,qe=t(q)`
18
+ `,Qe=t(Q)`
19
19
  width: ${r.sp3};
20
20
  height: ${r.sp3};
21
21
  `,Ue=t(X)`
22
22
  width: ${r.sp3};
23
23
  height: ${r.sp3};
24
24
  color: ${k.success};
25
- `;function Ce({referralLink:e,onInviteClick:i,onCopyReferral:n,setShowNavButton:c}){const[,a]=N(),[l,d]=$.useState(!1),h=j(),g=E(),w=()=>{n(),l||(a(e.toString()),d(!0))};$.useEffect(()=>{l===!0&&setTimeout(()=>{d(!1)},2e3)},[l]);const u=$.useRef(null);Se(u,c);const f=v.getLocalizedStrings().rewardsPage.rewardsCard;return o.jsxs(Qe,{windowSize:h,children:[o.jsx(Je,{ref:u,children:o.jsx(Y,{variant:"secondary",label:f.inviteViaEmail,onClick:i,prefixIcon:o.jsx(Xe,{}),textStyle:{...M.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?f.copied:f.copyReferralLink,onClick:w,prefixIcon:l?o.jsx(Ue,{}):o.jsx(qe,{}),textStyle:{...M.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 G={logoWidth:new p(95,135),minWidth:new p(256,360),maxWidth:new p(270,380)},ke={title:new _("smallRegular","largeRegular"),cardDetail:new _("h5Regular","h2Regular")};function ze({planAmount:e}){const i=j(),{rewardsPage:{rewardsCard:n}}=v.getLocalizedStrings();return o.jsxs(Ze,{windowSize:i,children:[o.jsxs(eo,{children:[o.jsx(to,{windowSize:i,children:n.bonus}),o.jsx(io,{windowSize:i,children:C("0,0",e)})]}),o.jsx(oo,{windowSize:i,children:o.jsx(ro,{})})]})}const Ze=t.div`
25
+ `;function Ce({referralLink:e,onInviteClick:i,onCopyReferral:n,setShowNavButton:c}){const[,a]=N(),[l,d]=$.useState(!1),h=j(),g=E(),w=()=>{n(),l||(a(e.toString()),d(!0))};$.useEffect(()=>{l===!0&&setTimeout(()=>{d(!1)},2e3)},[l]);const u=$.useRef(null);Se(u,c);const f=v.getLocalizedStrings().rewardsPage.rewardsCard;return o.jsxs(Je,{windowSize:h,children:[o.jsx(qe,{ref:u,children:o.jsx(Y,{variant:"secondary",label:f.inviteViaEmail,onClick:i,prefixIcon:o.jsx(Xe,{}),textStyle:{...M.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?f.copied:f.copyReferralLink,onClick:w,prefixIcon:l?o.jsx(Ue,{}):o.jsx(Qe,{}),textStyle:{...M.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 G={logoWidth:new p(95,135),minWidth:new p(256,360),maxWidth:new p(270,380)},ke={title:new _("smallRegular","largeRegular"),cardDetail:new _("h5Regular","h2Regular")};function ze({planAmount:e}){const i=j(),{rewardsPage:{rewardsCard:n}}=v.getLocalizedStrings();return o.jsxs(Ze,{windowSize:i,children:[o.jsxs(eo,{children:[o.jsx(to,{windowSize:i,children:n.bonus}),o.jsx(io,{windowSize:i,children:C("0,0",e)})]}),o.jsx(oo,{windowSize:i,children:o.jsx(ro,{})})]})}const Ze=t.div`
26
26
  display: flex;
27
27
  height: 100%;
28
28
  min-width: ${e=>G.minWidth.valuePx(e.windowSize)};
@@ -118,7 +118,7 @@ import{u as E,e as j,j as o,aX as Te,R as v,fj as N,p as Ie,gs as _e,q as s,o as
118
118
  background-color: ${e=>e.theme.colors.champion};
119
119
  border: 1px solid ${e=>e.theme.colors.champion};
120
120
  }
121
- `,uo=t(J)`
121
+ `,uo=t(q)`
122
122
  height: ${r.sp3};
123
123
  width: ${r.sp3};
124
124
  margin-right: ${r.sp2};
@@ -143,7 +143,7 @@ import{u as E,e as j,j as o,aX as Te,R as v,fj as N,p as Ie,gs as _e,q as s,o as
143
143
  background-color: ${e=>e.theme.colors.champion};
144
144
  border: 1px solid ${e=>e.theme.colors.champion};
145
145
  }
146
- `,fo=t(q)`
146
+ `,fo=t(Q)`
147
147
  width: ${r.sp3};
148
148
  height: ${r.sp3};
149
149
  margin-right: ${r.sp2};
@@ -222,7 +222,7 @@ import{u as E,e as j,j as o,aX as Te,R as v,fj as N,p as Ie,gs as _e,q as s,o as
222
222
  `,Mo=t(we)`
223
223
  color: ${e=>e.theme.colors.brandColorGold};
224
224
  margin-bottom: ${r.sp2};
225
- `,Bo={backgroundSize:new p(75,100,75)};function Wo({rewardsPlan:e,onInviteClick:i,setShowNavButton:n,onCopyReferral:c}){const a=E(),l=j(),[,d]=N(),[h,g]=$.useState(!1),[w,u]=$.useState(!1),f=()=>{c(),h||(d(e.referralLink.toString()),g(!0))},S=()=>{u(!0)},m=()=>{u(!1)};$.useEffect(()=>{h===!0&&setTimeout(()=>{g(!1)},2e3)},[h]);const{rewardsCard:y,referAndEarn:T}=v.getLocalizedStrings().rewardsPage,P=$.useRef(null);Se(P,n);const H=w?o.jsx(re,{showCopyText:w,isCopied:h,children:y.copyReferralLink}):null;return o.jsxs(Ao,{windowSize:l,children:[o.jsxs(Oo,{children:[o.jsx(No,{children:T}),o.jsx(Vo,{children:y.rewardsSummary[e.planName].replace("__reward-amount__",C("0,0",e.referrerAmount))}),o.jsxs(Do,{ref:P,children:[o.jsx(Y,{variant:"secondary",label:y.inviteViaEmail,onClick:i,prefixIcon:o.jsx(Ko,{}),textStyle:{...M.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(Ho,{onClick:f,onMouseOver:S,onMouseLeave:m,showCopyText:w,isCopied:h,children:o.jsx(Yo,{showCopyText:w,isCopied:h,children:o.jsx(Fo,{})})}),o.jsx(Qo,{children:h?o.jsxs(o.Fragment,{children:[o.jsx(Go,{}),o.jsx(re,{showCopyText:w,isCopied:h,children:y.copied})]}):H})]})]}),l==="medium-compact"||l==="medium-regular"?null:o.jsx(Eo,{children:o.jsx(Po,{planAmount:e.referrerAmount})})]})}const Ao=t.div`
225
+ `,Bo={backgroundSize:new p(75,100,75)};function Wo({rewardsPlan:e,onInviteClick:i,setShowNavButton:n,onCopyReferral:c}){const a=E(),l=j(),[,d]=N(),[h,g]=$.useState(!1),[w,u]=$.useState(!1),f=()=>{c(),h||(d(e.referralLink.toString()),g(!0))},S=()=>{u(!0)},m=()=>{u(!1)};$.useEffect(()=>{h===!0&&setTimeout(()=>{g(!1)},2e3)},[h]);const{rewardsCard:y,referAndEarn:T}=v.getLocalizedStrings().rewardsPage,P=$.useRef(null);Se(P,n);const H=w?o.jsx(re,{showCopyText:w,isCopied:h,children:y.copyReferralLink}):null;return o.jsxs(Ao,{windowSize:l,children:[o.jsxs(Oo,{children:[o.jsx(No,{children:T}),o.jsx(Vo,{children:y.rewardsSummary[e.planName].replace("__reward-amount__",C("0,0",e.referrerAmount))}),o.jsxs(Do,{ref:P,children:[o.jsx(Y,{variant:"secondary",label:y.inviteViaEmail,onClick:i,prefixIcon:o.jsx(Ko,{}),textStyle:{...M.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(Ho,{onClick:f,onMouseOver:S,onMouseLeave:m,showCopyText:w,isCopied:h,children:o.jsx(Yo,{showCopyText:w,isCopied:h,children:o.jsx(Fo,{})})}),o.jsx(Jo,{children:h?o.jsxs(o.Fragment,{children:[o.jsx(Go,{}),o.jsx(re,{showCopyText:w,isCopied:h,children:y.copied})]}):H})]})]}),l==="medium-compact"||l==="medium-regular"?null:o.jsx(Eo,{children:o.jsx(Po,{planAmount:e.referrerAmount})})]})}const Ao=t.div`
226
226
  display: flex;
227
227
  align-items: center;
228
228
  justify-content: space-between;
@@ -264,7 +264,7 @@ import{u as E,e as j,j as o,aX as Te,R as v,fj as N,p as Ie,gs as _e,q as s,o as
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(J)`
267
+ `,Ko=t(q)`
268
268
  height: ${r.sp3};
269
269
  width: ${r.sp3};
270
270
  flex-shrink: 0;
@@ -279,7 +279,7 @@ import{u as E,e as j,j as o,aX as Te,R as v,fj as N,p as Ie,gs as _e,q as s,o as
279
279
  cursor: pointer;
280
280
  background-color: ${e=>e.showCopyText||e.isCopied?e.theme.colors.champion:"transparent"};
281
281
  border: 1px solid ${e=>e.theme.colors.primary};
282
- `,Fo=t(q)`
282
+ `,Fo=t(Q)`
283
283
  width: ${r.sp3};
284
284
  height: ${r.sp3};
285
285
  cursor: pointer;
@@ -292,7 +292,7 @@ import{u as E,e as j,j as o,aX as Te,R as v,fj as N,p as Ie,gs as _e,q as s,o as
292
292
  height: ${r.sp4};
293
293
  color: ${k.success};
294
294
  margin-right: ${r.sp1};
295
- `,Qo=t.div`
295
+ `,Jo=t.div`
296
296
  position: absolute;
297
297
  bottom: -35px;
298
298
  right: -55px;
@@ -305,13 +305,13 @@ import{u as E,e as j,j as o,aX as Te,R as v,fj as N,p as Ie,gs as _e,q as s,o as
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
- `,Jo={height:new p(200,280)},K={earningValue:new _("h6Regular","h5Regular"),cardTitle:new _("extraSmallRegular","smallRegular"),buttonText:new _("extraSmallRegular","smallRegular")};function te({pendingBonus:e,earnedBonus:i,pendingReferrals:n,onHowItWorksClick:c}){const{rewardsPage:{statisticsCard:a},common:{strings:l}}=v.getLocalizedStrings(),d=j();return o.jsxs(Xo,{windowSize:d,children:[o.jsx(qo,{children:o.jsx(Uo,{windowSize:d,children:a.title})}),o.jsxs(Zo,{windowSize:d,children:[o.jsxs(ie,{children:[o.jsx(ne,{children:a.earned}),o.jsx(se,{windowSize:d,type:"earned",children:C("0,0",i)})]}),d==="medium-compact"?o.jsx(or,{}):o.jsx(er,{}),o.jsxs(ie,{children:[o.jsx(ne,{children:a.pending}),o.jsx(se,{windowSize:d,type:"pending",children:C("0,0",e)})]})]}),o.jsxs(rr,{children:[o.jsxs(tr,{windowSize:d,children:[a.pendingReferrals," ",l.colon," ",n]}),o.jsxs(nr,{windowSize:d,onClick:c,children:[a.knowMore," ",o.jsx(ir,{})]})]})]})}const Xo=t.div`
308
+ `,qo={height:new p(200,280)},K={earningValue:new _("h6Regular","h5Regular"),cardTitle:new _("extraSmallRegular","smallRegular"),buttonText:new _("extraSmallRegular","smallRegular")};function te({pendingBonus:e,earnedBonus:i,pendingReferrals:n,onHowItWorksClick:c}){const{rewardsPage:{statisticsCard:a},common:{strings:l}}=v.getLocalizedStrings(),d=j();return o.jsxs(Xo,{windowSize:d,children:[o.jsx(Qo,{children:o.jsx(Uo,{windowSize:d,children:a.title})}),o.jsxs(Zo,{windowSize:d,children:[o.jsxs(ie,{children:[o.jsx(ne,{children:a.earned}),o.jsx(se,{windowSize:d,type:"earned",children:C("0,0",i)})]}),d==="medium-compact"?o.jsx(or,{}):o.jsx(er,{}),o.jsxs(ie,{children:[o.jsx(ne,{children:a.pending}),o.jsx(se,{windowSize:d,type:"pending",children:C("0,0",e)})]})]}),o.jsxs(rr,{children:[o.jsxs(tr,{windowSize:d,children:[a.pendingReferrals," ",l.colon," ",n]}),o.jsxs(nr,{windowSize:d,onClick:c,children:[a.knowMore," ",o.jsx(ir,{})]})]})]})}const Xo=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=>Jo.height.valuePx(e.windowSize)};
314
+ height: ${e=>qo.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;
@@ -319,7 +319,7 @@ import{u as E,e as j,j as o,aX as Te,R as v,fj as N,p as Ie,gs as _e,q as s,o as
319
319
  box-shadow: ${e=>`${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
320
320
  border: ${r.sp1} solid ${e=>e.theme.colors.grey5};
321
321
  border-radius: ${r.sp2};
322
- `,qo=t.div`
322
+ `,Qo=t.div`
323
323
  display: flex;
324
324
  flex: 0 1 auto;
325
325
  width: 100%;
@@ -384,7 +384,7 @@ import{u as E,e as j,j as o,aX as Te,R as v,fj as N,p as Ie,gs as _e,q as s,o as
384
384
  padding-right: 12px;
385
385
  color: ${e=>e.theme.colors.primary};
386
386
  ${e=>`${K.buttonText.style(e.windowSize)}`};
387
- `,sr=90,Q=114,Pe=160,ar=1,lr=58,dr=45,ae=(e,i)=>i!=="small"?sr:Ae(e,{...M.standardRegular.cssPartialObject(["fontSize","fontFamily","fontWeight"])}).width<Pe?Q:Q+24,{rewardsPage:{header:Z},common:{strings:le}}=v.getLocalizedStrings(),cr={key:"invitee_email",value:Z.invitee_email,sortOrder:"ascending",width:new p(s[7],s[8],s[8],s[9])},pr={key:"amount",value:Z.amount,sortOrder:"ascending",width:new p(s[4],20,20,s[3])},hr={key:"status",value:Z.status,sortOrder:"ascending",width:new p(s[3],s[4],s[4],20)},D=[cr,hr,pr],gr=e=>{const i=e.toLowerCase().split(le.space).join(le.underscore);switch(e){case x.StatusTypes.invite_processing:return{value:e,color:b.invite_processing.color,borderColor:b.invite_processing.borderColor,code:i};case x.StatusTypes.invite_sent:return{value:e,color:b.invite_sent.color,borderColor:b.invite_sent.borderColor,code:i};case x.StatusTypes.onboarding:return{value:e,color:b.onboarding.color,borderColor:b.onboarding.borderColor,code:i};case x.StatusTypes.active:case x.StatusTypes.reward_sent:return{value:e,color:b.active.color,borderColor:b.active.borderColor,code:i};case x.StatusTypes.declined:return{value:e,color:b.declined.color,borderColor:b.declined.borderColor,code:i};case x.StatusTypes.resend_invite:return{value:e,color:b.resend_invite.color,borderColor:b.resend_invite.borderColor,code:i};default:return{value:e,color:b.in_progress.color,borderColor:"",code:i}}},I={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(dr,lr)};function mr({companyNameSticky:e,sortConfig:i,onColumnSortConfigChanged:n}){const c=E(),a=j(),[l,d]=$.useState(D);$.useEffect(()=>{const m=[...l];for(const y of m)y.key===i.sortKey?y.sortOrder=i.sortOrder:y.sortOrder="ascending";d(m)},[i.sortKey,i.sortOrder]);const h=(m,y)=>{let T=y;i.sortKey===m&&(T=y==="ascending"?"descending":"ascending"),n(m,T)},g=l.find(m=>m.key===i.sortKey)??l[0],w=m=>l.find(y=>y.key===m)?.value??S.strings.empty,u=l.map(m=>m.key),{rewardsPage:{inviteList:f},common:S}=v.getLocalizedStrings();return a==="small"?o.jsxs(de,{windowSize:a,companyNameSticky:!1,children:[o.jsxs(xr,{children:[o.jsx(fr,{children:o.jsx(wr,{})}),o.jsx(Oe,{title:f.sortBy,placeholder:f.sortBy,pickerValues:u,valueToLabel:w,selectedValue:i.sortKey,onPickerSelectionChanged:m=>{m&&h(x.toReferralListViewSortKeyType(m),"ascending")},optionTextStyle:M.smallRegular,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4,titleTextStyle:M.smallRegular,titleColor:c.colors.hero})]}),o.jsxs(yr,{onClick:()=>{h(g.key,g.sortOrder)},children:[o.jsx(z,{children:g.value}),o.jsx(ce,{sortDataValue:i.sortKey,headerdata:g,children:o.jsx(pe,{})})]})]}):o.jsx(de,{companyNameSticky:e,windowSize:a,children:l.map(m=>o.jsx(ur,{companyNameSticky:e&&m.key==="invitee_email",sortDataValue:i.sortKey,actualDataValue:m.key,wrapperWidth:m.width,windowSize:a,shouldRightAlign:m.value==="Amount",children:o.jsxs($r,{onClick:()=>{h(x.toReferralListViewSortKeyType(m.key),m.sortOrder)},children:[o.jsx(z,{children:m.value}),o.jsx(ce,{sortDataValue:i.sortKey,headerdata:m,children:o.jsx(pe,{})})]})},m.key))})}const de=t(z)`
387
+ `,sr=90,J=114,Pe=160,ar=1,lr=58,dr=45,ae=(e,i)=>i!=="small"?sr:Ae(e,{...M.standardRegular.cssPartialObject(["fontSize","fontFamily","fontWeight"])}).width<Pe?J:J+24,{rewardsPage:{header:Z},common:{strings:le}}=v.getLocalizedStrings(),cr={key:"invitee_email",value:Z.invitee_email,sortOrder:"ascending",width:new p(s[7],s[8],s[8],s[9])},pr={key:"amount",value:Z.amount,sortOrder:"ascending",width:new p(s[4],20,20,s[3])},hr={key:"status",value:Z.status,sortOrder:"ascending",width:new p(s[3],s[4],s[4],20)},D=[cr,hr,pr],gr=e=>{const i=e.toLowerCase().split(le.space).join(le.underscore);switch(e){case x.StatusTypes.invite_processing:return{value:e,color:b.invite_processing.color,borderColor:b.invite_processing.borderColor,code:i};case x.StatusTypes.invite_sent:return{value:e,color:b.invite_sent.color,borderColor:b.invite_sent.borderColor,code:i};case x.StatusTypes.onboarding:return{value:e,color:b.onboarding.color,borderColor:b.onboarding.borderColor,code:i};case x.StatusTypes.active:case x.StatusTypes.reward_sent:return{value:e,color:b.active.color,borderColor:b.active.borderColor,code:i};case x.StatusTypes.declined:return{value:e,color:b.declined.color,borderColor:b.declined.borderColor,code:i};case x.StatusTypes.resend_invite:return{value:e,color:b.resend_invite.color,borderColor:b.resend_invite.borderColor,code:i};default:return{value:e,color:b.in_progress.color,borderColor:"",code:i}}},I={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(dr,lr)};function mr({companyNameSticky:e,sortConfig:i,onColumnSortConfigChanged:n}){const c=E(),a=j(),[l,d]=$.useState(D);$.useEffect(()=>{const m=[...l];for(const y of m)y.key===i.sortKey?y.sortOrder=i.sortOrder:y.sortOrder="ascending";d(m)},[i.sortKey,i.sortOrder]);const h=(m,y)=>{let T=y;i.sortKey===m&&(T=y==="ascending"?"descending":"ascending"),n(m,T)},g=l.find(m=>m.key===i.sortKey)??l[0],w=m=>l.find(y=>y.key===m)?.value??S.strings.empty,u=l.map(m=>m.key),{rewardsPage:{inviteList:f},common:S}=v.getLocalizedStrings();return a==="small"?o.jsxs(de,{windowSize:a,companyNameSticky:!1,children:[o.jsxs(xr,{children:[o.jsx(fr,{children:o.jsx(wr,{})}),o.jsx(Oe,{title:f.sortBy,placeholder:f.sortBy,pickerValues:u,valueToLabel:w,selectedValue:i.sortKey,onPickerSelectionChanged:m=>{m&&h(x.toReferralListViewSortKeyType(m),"ascending")},optionTextStyle:M.smallRegular,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4,titleTextStyle:M.smallRegular,titleColor:c.colors.hero})]}),o.jsxs(yr,{onClick:()=>{h(g.key,g.sortOrder)},children:[o.jsx(z,{children:g.value}),o.jsx(ce,{sortDataValue:i.sortKey,headerdata:g,children:o.jsx(pe,{})})]})]}):o.jsx(de,{companyNameSticky:e,windowSize:a,children:l.map(m=>o.jsx(ur,{companyNameSticky:e&&m.key==="invitee_email",sortDataValue:i.sortKey,actualDataValue:m.key,wrapperWidth:m.width,windowSize:a,shouldRightAlign:m.value==="Amount",children:o.jsxs($r,{onClick:()=>{h(x.toReferralListViewSortKeyType(m.key),m.sortOrder)},children:[o.jsx(z,{children:m.value}),o.jsx(ce,{sortDataValue:i.sortKey,headerdata:m,children:o.jsx(pe,{})})]})},m.key))})}const de=t(z)`
388
388
  top: ${r.sp0};
389
389
  left: ${r.sp0};
390
390
  min-height: ${e=>I.headerHeight.valuePx(e.windowSize)};
@@ -548,7 +548,7 @@ import{u as E,e as j,j as o,aX as Te,R as v,fj as N,p as Ie,gs as _e,q as s,o as
548
548
  margin-right: ${r.sp1};
549
549
  `,Or=t.div`
550
550
  display: flex;
551
- `,L={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:Dr,rewardsPage:{inviteList:Er},common:ge}=v.getLocalizedStrings(),Nr=({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(Dr.visual.YYYYDashMMDashDFormat));h=fe(72,u)}const g=n.value===x.StatusTypes.active?x.AmountStatusTypes.received:x.AmountStatusTypes.to_be_received,w=c.fetchState==="In-Progress"?o.jsx($e,{size:"Small",start:!0}):o.jsxs(o.Fragment,{children:[o.jsx(Ur,{color:n.color,onClick:()=>{l(e)},children:Er.status.resend_invite}),o.jsx(Zr,{children:`${ge.sent} ${ye(a)}`})]});return o.jsx(Vr,{windowSize:d,children:o.jsxs(Kr,{children:[o.jsxs(ot,{children:[o.jsxs(Hr,{children:[o.jsx(Fr,{children:o.jsx(et,{})}),o.jsx(Yr,{windowSize:d,children:e})]}),o.jsx(Gr,{amountStatus:g,children:n.value===x.StatusTypes.declined?o.jsx(Qr,{children:ge.strings.hyphen}):o.jsxs(o.Fragment,{children:[C("0,0.[00]",i),o.jsx(Jr,{amountStatus:g,children:g})]})})]}),o.jsx(rt,{children:o.jsx(qr,{children:n.value===x.StatusTypes.invite_sent&&h?w:o.jsx(tt,{children:o.jsx(Xr,{color:n.color,borderColor:n.borderColor,children:n.value})})})})]})})},Vr=t.div`
551
+ `,L={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:Dr,rewardsPage:{inviteList:Er},common:ge}=v.getLocalizedStrings(),Nr=({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(Dr.visual.YYYYDashMMDashDFormat));h=fe(72,u)}const g=n.value===x.StatusTypes.active?x.AmountStatusTypes.received:x.AmountStatusTypes.to_be_received,w=c.fetchState==="In-Progress"?o.jsx($e,{size:"Small",start:!0}):o.jsxs(o.Fragment,{children:[o.jsx(Ur,{color:n.color,onClick:()=>{l(e)},children:Er.status.resend_invite}),o.jsx(Zr,{children:`${ge.sent} ${ye(a)}`})]});return o.jsx(Vr,{windowSize:d,children:o.jsxs(Kr,{children:[o.jsxs(ot,{children:[o.jsxs(Hr,{children:[o.jsx(Fr,{children:o.jsx(et,{})}),o.jsx(Yr,{windowSize:d,children:e})]}),o.jsx(Gr,{amountStatus:g,children:n.value===x.StatusTypes.declined?o.jsx(Jr,{children:ge.strings.hyphen}):o.jsxs(o.Fragment,{children:[C("0,0.[00]",i),o.jsx(qr,{amountStatus:g,children:g})]})})]}),o.jsx(rt,{children:o.jsx(Qr,{children:n.value===x.StatusTypes.invite_sent&&h?w:o.jsx(tt,{children:o.jsx(Xr,{color:n.color,borderColor:n.borderColor,children:n.value})})})})]})})},Vr=t.div`
552
552
  display: flex;
553
553
  margin-bottom: ${r.sp3};
554
554
  background-color: ${e=>e.theme.colors.grey5};
@@ -594,9 +594,9 @@ import{u as E,e as j,j as o,aX as Te,R as v,fj as N,p as Ie,gs as _e,q as s,o as
594
594
  color: ${e=>e.amountStatus===x.AmountStatusTypes.to_be_received?e.theme.colors.grey2:e.theme.colors.primary};
595
595
  width: 100%;
596
596
  margin-left: ${r.sp5};
597
- `,Qr=t(be)`
597
+ `,Jr=t(be)`
598
598
  color: ${e=>e.theme.colors.hero};
599
- `,Jr=t(W)`
599
+ `,qr=t(W)`
600
600
  color: ${e=>e.amountStatus===x.AmountStatusTypes.to_be_received?e.theme.colors.grey2:e.theme.colors.success};
601
601
  `,Xr=t(W)`
602
602
  color: ${e=>e.color};
@@ -611,7 +611,7 @@ import{u as E,e as j,j as o,aX as Te,R as v,fj as N,p as Ie,gs as _e,q as s,o as
611
611
  display: inline-flex;
612
612
  border: ${e=>`1px solid ${e.borderColor}`};
613
613
  border-radius: ${r.sp1};
614
- `,qr=t.div`
614
+ `,Qr=t.div`
615
615
  width: 100%;
616
616
  color: ${e=>e.theme.colors.hero};
617
617
  box-sizing: border-box;
@@ -658,7 +658,7 @@ import{u as E,e as j,j as o,aX as Te,R as v,fj as N,p as Ie,gs as _e,q as s,o as
658
658
  display: flex;
659
659
  flex-direction: column;
660
660
  align-items: flex-end;
661
- `,A={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])},it={pageTitle:new _("standardSemiBold","largeSemiBold")},me=v.getLocalizedStrings(),nt=({index:e,style:i,inviteList:n,onResendInviteClick:c})=>{const a=j(),l=n[e],d=a==="small"?Nr:jr;return o.jsx(mt,{style:{...i,width:"100%"},children:o.jsx(d,{email:l.refereeEmailId,amount:l.amount,status:gr(l.statusCode),resendInviteStatus:l.resendInviteStatus,onResendInviteClick:c,inviteSendDate:l.lastInviteTimestamp})})},st=({inviteList:e,uiState:i,fetchState:n,onResendInviteClick:c,onReloadInvitees:a,onColumnSortConfigChanged:l})=>{const d=j(),h=f=>{const S=e[f].refereeEmailId;return ae(S,d)},g=e.reduce((f,S)=>f+ae(S.refereeEmailId,d),0),w=$.useRef(null);$.useEffect(()=>{w.current?.resetAfterIndex(0)},[d,w]);let u=null;switch(n){case"Not-Started":case"In-Progress":u=o.jsx(Ye,{fetchState:n});break;case"Error":u=o.jsxs(lt,{children:[o.jsx(dt,{onClick:a,children:o.jsx(ct,{})}),o.jsx(pt,{children:me.peoplePage.reloadPage.label})]});break;case"Completed":e.length!==0&&(u=o.jsxs(gt,{windowSize:d,children:[o.jsx(ht,{windowSize:d,children:me.rewardsPage.inviteList.pageTitle}),o.jsx(mr,{companyNameSticky:!1,onColumnSortConfigChanged:l,sortConfig:{sortKey:i.sortKey,sortOrder:i.sortOrder}}),o.jsx(Me,{ref:w,height:g,width:"100%",itemCount:e.length,itemSize:h,estimatedItemSize:Q,itemKey:f=>e[f].refereeEmailId,overscanCount:ar,initialScrollOffset:0,children:f=>o.jsx(nt,{...f,inviteList:e,onResendInviteClick:c})})]}))}return o.jsx(at,{children:u})},at=t.div`
661
+ `,A={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])},it={pageTitle:new _("standardSemiBold","largeSemiBold")},me=v.getLocalizedStrings(),nt=({index:e,style:i,inviteList:n,onResendInviteClick:c})=>{const a=j(),l=n[e],d=a==="small"?Nr:jr;return o.jsx(mt,{style:{...i,width:"100%"},children:o.jsx(d,{email:l.refereeEmailId,amount:l.amount,status:gr(l.statusCode),resendInviteStatus:l.resendInviteStatus,onResendInviteClick:c,inviteSendDate:l.lastInviteTimestamp})})},st=({inviteList:e,uiState:i,fetchState:n,onResendInviteClick:c,onReloadInvitees:a,onColumnSortConfigChanged:l})=>{const d=j(),h=f=>{const S=e[f].refereeEmailId;return ae(S,d)},g=e.reduce((f,S)=>f+ae(S.refereeEmailId,d),0),w=$.useRef(null);$.useEffect(()=>{w.current?.resetAfterIndex(0)},[d,w]);let u=null;switch(n){case"Not-Started":case"In-Progress":u=o.jsx(Ye,{fetchState:n});break;case"Error":u=o.jsxs(lt,{children:[o.jsx(dt,{onClick:a,children:o.jsx(ct,{})}),o.jsx(pt,{children:me.peoplePage.reloadPage.label})]});break;case"Completed":e.length!==0&&(u=o.jsxs(gt,{windowSize:d,children:[o.jsx(ht,{windowSize:d,children:me.rewardsPage.inviteList.pageTitle}),o.jsx(mr,{companyNameSticky:!1,onColumnSortConfigChanged:l,sortConfig:{sortKey:i.sortKey,sortOrder:i.sortOrder}}),o.jsx(Me,{ref:w,height:g,width:"100%",itemCount:e.length,itemSize:h,estimatedItemSize:J,itemKey:f=>e[f].refereeEmailId,overscanCount:ar,initialScrollOffset:0,children:f=>o.jsx(nt,{...f,inviteList:e,onResendInviteClick:c})})]}))}return o.jsx(at,{children:u})},at=t.div`
662
662
  display: block;
663
663
  height: 100%;
664
664
  `,lt=t.div`
@@ -1,4 +1,4 @@
1
- import{e as Y,fq as ee,u as te,a as le,j as d,R as oe,q as g,gi as ne,W as se,F as ie,a4 as re,o as ae,C as E,ft as q,fu as Z,fv as A,c5 as N,l as Q,c7 as de}from"./index-BKug3-eP.js";import{b as P,n as F}from"./vendor-rkTZJa59.js";import{x as ce}from"./AllUserItems-rYc34keO-eneNLhbV.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./LabeledUserSingleSelectWithSubtitlesField-CLzwYw4O-Cs6PJnR2.js";import"./RoleWithToolTip-BiydziFE-VYITxPfh.js";import"./LabeledZeniRolesDropDownField-DGsJbILm-CWOq9g0f.js";const L={containerPaddingLeft:new E(g[3],g[6],g[8]),containerPaddingRight:new E(g[3],g[6],g[8]),buttonWidth:new E(85,85)},V="editPeoplePage",O="userItems",p=oe.getLocalizedStrings().peoplePage,Te=({peopleDetails:e,managersList:s,classList:R,controllersList:z,mode:o,isZeniTenant:S,onPeopleLocalDataUpdated:T,onCloseClick:_,onSaveClick:i,isReimbursementDisabled:$,isZeniAccountsDisabled:n,isChargeCardDisabled:k,isTreasuryDisabled:j,isBankingOnlyTenant:b,isCardsOnlyTenant:x,isLiteRoleDisabled:U})=>{const c=Y(),[J,M]=P.useState(-1),[B,w]=P.useState(""),D=P.useRef(null),I=P.useMemo(()=>ee($,n,k,b,x,U,j),[$,n,k,b,x,U,j]),G=te(),r=le({mode:"onBlur",reValidateMode:"onChange",defaultValues:W(e.people,o,I,s,R,b,x),values:W(e.people,o,I,s,R,b,x)}),H=r.handleSubmit(()=>{K()?i():console.warn("Invite People form error")}),K=()=>{const t=r.getValues();let l=!0;return t.userItems.forEach((f,C)=>{const{role:a,nonZeniRole:v,department:u,manager:m}=f;if(o==="zeni_only")a?.selectedOptions==null&&(r.setError(`${O}.${C}.role`,{type:"required"}),l=!1);else{const h=v?.userRole.selectedRole;(h!=null&&v!=null?v.productsByUserRole[h].map(y=>y.selectedOption).filter(y=>y!=null):[]).length<1&&(r.setError(`${O}.${C}.nonZeniRole.userRole.selectedRole`,{type:"required"}),l=!1),u?.selectedOption==null&&h!=="investor_or_banker"&&!b&&!x&&(r.setError(`${O}.${C}.department`,{type:"required"}),l=!1),m?.selectedUser==null&&h!=="investor_or_banker"&&(r.setError(`${O}.${C}.manager`,{type:"required"}),l=!1)}}),l},X=async(t,l)=>{const f=[],{userItems:C}=l;C.forEach(a=>{let v={};if(o==="zeni_only")v={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(y=>Q.toUserRoleTypeStrict(y.selectedOption?.value)).filter(y=>y!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const h=Q.hasInvestorBankerLevelAccess(m);v={email:a.email,role:m,departmentId:h?void 0:a.department?.selectedOption?.value,managerId:h?void 0:a.manager?.selectedUser}}f.push(v)}),T(f)};return P.useEffect(()=>{const t=r.watch((l,{name:f})=>{f!=null&&l!=null&&X(f,l)});return()=>{t.unsubscribe()}}),P.useEffect(()=>{const t=D.current,l=()=>{c!=="small"&&(t&&t?.scrollTop>g[9]?w(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):w(""))};return c==="small"?w(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):t&&t?.scrollTop<=g[9]&&w(""),t&&t.addEventListener("scroll",l),()=>{t&&t.removeEventListener("scroll",l)}},[o,B,c]),d.jsxs(d.Fragment,{children:[d.jsx(ne,{title:B,backgroundColor:G.colors.grey4,style:{zIndex:4},onCloseClick:_,isTitleAlignLeft:c==="small"}),d.jsxs(ue,{"data-testid":se("invite-people-container"),windowSize:c,ref:D,children:[c!=="small"?d.jsx(me,{children:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ie,{...r,children:d.jsx("form",{id:`${V}_form`,onSubmit:H,children:d.jsx(ce,{control:r.control,sectionId:O,deleteConfirmationIndex:J,updateDeleteConfirmationIndex:M,mode:o,isZeniTenant:S,classList:R,managersList:s,controllersList:z,isBankingOnlyTenant:b,isCardsOnlyTenant:x,customerRoleOptions:I,isEdit:!1})})})]}),d.jsx(re,{formId:`${V}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:L.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:L.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:_},separatorStyle:{marginRight:ae.sp4}})]})},W=(e,s,R,z,o,S,T)=>{const _=[{userIndex:0,email:[],role:s==="zeni_only"?{allOptions:N.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:s==="off"?{userRole:{selectedRole:e[0]?.role.length>0?A(e[0].role):void 0,allRootRole:Z(S,T)},productsByUserRole:q(e[0]?.role??[],R)}:void 0,department:void 0,manager:void 0}];return{[O]:e.length>0?e.map((i,$)=>({userIndex:$,email:i.email,role:s==="zeni_only"?{allOptions:N.roles,selectedOptions:i.role}:void 0,nonZeniRole:s==="off"?{userRole:{selectedRole:i.role.length>0?A(i.role):void 0,allRootRole:Z(S,T)},productsByUserRole:q(i.role,R)}:void 0,department:{allOptions:o.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})),selectedOption:o.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})).find(n=>n.value===i.departmentId)},manager:{allUsers:z,selectedUser:i.managerId}})):_}},_e=(e,s)=>`${e}.${s}`,ue=F.div`
1
+ import{e as Y,fq as ee,u as te,a as le,j as d,R as oe,q as g,gi as ne,W as se,F as ie,a4 as re,o as ae,C as E,ft as q,fu as Z,fv as A,c5 as N,l as V,c7 as de}from"./index-0QGih61V.js";import{b as P,n as J}from"./vendor-rkTZJa59.js";import{x as ce}from"./AllUserItems-B0rWTi3M-q17-8wHB.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./LabeledUserSingleSelectWithSubtitlesField-CkRg249v-BoH-kRZ0.js";import"./RoleWithToolTip-Cav6Dtwi-DQjRjWwX.js";import"./LabeledZeniRolesDropDownField-CwkMUU9L-CBkGnuEd.js";const L={containerPaddingLeft:new E(g[3],g[6],g[8]),containerPaddingRight:new E(g[3],g[6],g[8]),buttonWidth:new E(85,85)},W="editPeoplePage",O="userItems",p=oe.getLocalizedStrings().peoplePage,Se=({peopleDetails:e,managersList:s,classList:R,controllersList:z,mode:o,isZeniTenant:$,onPeopleLocalDataUpdated:S,onCloseClick:T,onSaveClick:i,isReimbursementDisabled:_,isZeniAccountsDisabled:n,isChargeCardDisabled:k,isTreasuryDisabled:j,isBankingOnlyTenant:b,isCardsOnlyTenant:x,isLiteRoleDisabled:U})=>{const c=Y(),[Q,M]=P.useState(-1),[B,w]=P.useState(""),D=P.useRef(null),I=P.useMemo(()=>ee(_,n,k,b,x,U,j),[_,n,k,b,x,U,j]),G=te(),r=le({mode:"onBlur",reValidateMode:"onChange",defaultValues:F(e.people,o,I,s,R,b,x),values:F(e.people,o,I,s,R,b,x)}),H=r.handleSubmit(()=>{K()?i():console.warn("Invite People form error")}),K=()=>{const t=r.getValues();let l=!0;return t.userItems.forEach((f,C)=>{const{role:a,nonZeniRole:v,department:u,manager:m}=f;if(o==="zeni_only")a?.selectedOptions==null&&(r.setError(`${O}.${C}.role`,{type:"required"}),l=!1);else{const h=v?.userRole.selectedRole;(h!=null&&v!=null?v.productsByUserRole[h].map(y=>y.selectedOption).filter(y=>y!=null):[]).length<1&&(r.setError(`${O}.${C}.nonZeniRole.userRole.selectedRole`,{type:"required"}),l=!1),u?.selectedOption==null&&h!=="investor_or_banker"&&!b&&!x&&(r.setError(`${O}.${C}.department`,{type:"required"}),l=!1),m?.selectedUser==null&&h!=="investor_or_banker"&&(r.setError(`${O}.${C}.manager`,{type:"required"}),l=!1)}}),l},X=async(t,l)=>{const f=[],{userItems:C}=l;C.forEach(a=>{let v={};if(o==="zeni_only")v={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(y=>V.toUserRoleTypeStrict(y.selectedOption?.value)).filter(y=>y!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const h=V.hasInvestorBankerLevelAccess(m);v={email:a.email,role:m,departmentId:h?void 0:a.department?.selectedOption?.value,managerId:h?void 0:a.manager?.selectedUser}}f.push(v)}),S(f)};return P.useEffect(()=>{const t=r.watch((l,{name:f})=>{f!=null&&l!=null&&X(f,l)});return()=>{t.unsubscribe()}}),P.useEffect(()=>{const t=D.current,l=()=>{c!=="small"&&(t&&t?.scrollTop>g[9]?w(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):w(""))};return c==="small"?w(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):t&&t?.scrollTop<=g[9]&&w(""),t&&t.addEventListener("scroll",l),()=>{t&&t.removeEventListener("scroll",l)}},[o,B,c]),d.jsxs(d.Fragment,{children:[d.jsx(ne,{title:B,backgroundColor:G.colors.grey4,style:{zIndex:4},onCloseClick:T,isTitleAlignLeft:c==="small"}),d.jsxs(ue,{"data-testid":se("invite-people-container"),windowSize:c,ref:D,children:[c!=="small"?d.jsx(me,{children:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ie,{...r,children:d.jsx("form",{id:`${W}_form`,onSubmit:H,children:d.jsx(ce,{control:r.control,sectionId:O,deleteConfirmationIndex:Q,updateDeleteConfirmationIndex:M,mode:o,isZeniTenant:$,classList:R,managersList:s,controllersList:z,isBankingOnlyTenant:b,isCardsOnlyTenant:x,customerRoleOptions:I,isEdit:!1})})})]}),d.jsx(re,{formId:`${W}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:L.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:L.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:T},separatorStyle:{marginRight:ae.sp4}})]})},F=(e,s,R,z,o,$,S)=>{const T=[{userIndex:0,email:[],role:s==="zeni_only"?{allOptions:N.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:s==="off"?{userRole:{selectedRole:e[0]?.role.length>0?A(e[0].role):void 0,allRootRole:Z($,S)},productsByUserRole:q(e[0]?.role??[],R)}:void 0,department:void 0,manager:void 0}];return{[O]:e.length>0?e.map((i,_)=>({userIndex:_,email:i.email,role:s==="zeni_only"?{allOptions:N.roles,selectedOptions:i.role}:void 0,nonZeniRole:s==="off"?{userRole:{selectedRole:i.role.length>0?A(i.role):void 0,allRootRole:Z($,S)},productsByUserRole:q(i.role,R)}:void 0,department:{allOptions:o.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})),selectedOption:o.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})).find(n=>n.value===i.departmentId)},manager:{allUsers:z,selectedUser:i.managerId}})):T}},Te=(e,s)=>`${e}.${s}`,ue=J.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -7,6 +7,6 @@ import{e as Y,fq as ee,u as te,a as le,j as d,R as oe,q as g,gi as ne,W as se,F
7
7
  padding-right: ${e=>`${L.containerPaddingRight.valuePx(e.windowSize)}`};
8
8
  overflow-x: hidden;
9
9
  height: 100%;
10
- `,me=F(de)`
10
+ `,me=J(de)`
11
11
  color: ${e=>e.theme.colors.primary};
12
- `;export{Te as default,_e as uniqueName};
12
+ `;export{Se as default,Te as uniqueName};
@@ -1,4 +1,4 @@
1
- import{u as s1,e as d1,R as q,j as l,m as Q,o,f as d,W as K,C as $,g4 as v1,g5 as k1,bV as b1,bX as L1,bY as $1,aD as j1,ao as c1,q as C,v as i1,g as E1,T as B1,w as p1}from"./index-BKug3-eP.js";import{b as t,n as i}from"./vendor-rkTZJa59.js";import z1 from"./AttachmentView-B3p8mkIi-BrJeaiQh.js";import{l as T1}from"./uploadReceipts-dxsKhm9I-DS2NFPcM.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const A1=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"})))),H1=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"})))),P1=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 $(12,C[3]),billReceiptSize:new $(60,C[10]),rootContainerPaddingTop:new $(C[3],62),rootContainerPaddingRight:new $(C[3],C[6]),rootContainerPaddingBottom:new $(C[5],C[9]),rootContainerPaddingLeft:new $(C[3],C[8])},r1=i(E1)`
1
+ import{u as s1,e as d1,R as q,j as l,m as J,o,f as d,W as K,C as $,g4 as v1,g5 as k1,bV as b1,bX as L1,bY as $1,aD as j1,ao as c1,q as C,v as i1,g as E1,T as B1,w as p1}from"./index-0QGih61V.js";import{b as t,n as i}from"./vendor-rkTZJa59.js";import z1 from"./AttachmentView-xH7J89rG-DOMjMRfr.js";import{l as T1}from"./uploadReceipts-dxsKhm9I-DUj1wGX2.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const A1=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"})))),H1=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"})))),P1=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 $(12,C[3]),billReceiptSize:new $(60,C[10]),rootContainerPaddingTop:new $(C[3],62),rootContainerPaddingRight:new $(C[3],C[6]),rootContainerPaddingBottom:new $(C[5],C[9]),rootContainerPaddingLeft:new $(C[3],C[8])},r1=i(E1)`
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;
@@ -126,7 +126,7 @@ import{u as s1,e as d1,R as q,j as l,m as Q,o,f as d,W as K,C as $,g4 as v1,g5 a
126
126
  color: ${e=>e.theme.colors.hero};
127
127
  `,N=i(p1)`
128
128
  color: ${d.important};
129
- `,G1=({type:e="bill",attachmentIdBeingUploaded:z,uploadError:x,uploadErrorMsg:w,showAutofill:h,allowMultiFiles:E=!1,customError:B,dropFilePlaceholder:n,showInfoText:R,showTitlebar:T,pdfTitle:M,openSizeLimitPopup:V,onUploadAttachment:k,uploadStatus:A})=>{const f=s1(),[_,y]=t.useState(!1),b=function(r){r.preventDefault(),r.stopPropagation(),r.type==="dragenter"||r.type==="dragover"?y(!0):r.type==="dragleave"&&_&&y(!1)},I=function(r){if(r.preventDefault(),r.stopPropagation(),y(!1),r.dataTransfer.files.length>0){const s=r.dataTransfer.files;if(E){const a=[],m=[];for(let c=0;c<s.length;c++)a.push(s[c].name),m.push(s[c]);k?.(m,a,"dragdrop")}else{const a=s[0];k?.([a],[a.name],"dragdrop")}}},p=d1(),H=t.useRef(null),S=q.getLocalizedStrings().spendManagement.billPay.billDetails,L=()=>{H.current?.click()},D=r=>{if(r.target.files!=null){const s=r.target.files;if(E){const a=[],m=[];for(let c=0;c<s.length;c++)a.push(s[c].name),m.push(s[c]);k?.(m,a,"dragdrop")}else{const a=s[0];k?.([a],[a.name],"upload")}}},U=A!=null?A.fetchState=="In-Progress":z;return l.jsxs(M1,{showTitlebar:T,windowSize:p,type:e,children:[T===!0?l.jsx(q1,{windowSize:p,type:e,children:M}):null,U==!0?l.jsx(m1,{children:e==="receipt"?l.jsx(Q,{size:"Large",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"1.5rem",borderRadius:"100%",backgroundColor:`${f.mode==="light"?d.backgroundThemeLight:d.backgroundThemeDark}`,border:`2px solid ${f.mode==="light"?d.neutralGrey3Light:d.neutralGrey3Dark}`,boxShadow:`${o.sp0} 2px ${o.sp1} ${f.mode==="light"?d.dropShadowNormalLight:d.dropShadowNormalDark}`}}):l.jsx(Q,{size:"ExtraLarge",start:!0})}):l.jsx(N1,{windowSize:p,showAutofill:h,type:e,children:l.jsxs(R1,{windowSize:p,onClick:()=>L(),onDragEnter:b,onDragLeave:b,onDragOver:b,onDrop:I,"data-testid":K("upload-tag",e),children:[l.jsxs(_1,{onDragEnter:b,children:[e==="receipt"?l.jsx(F1,{width:g.billReceiptSize.valuePx(p),height:g.billReceiptSize.valuePx(p)}):l.jsx(W1,{width:g.billReceiptSize.valuePx(p),height:g.billReceiptSize.valuePx(p)}),e==="receipt"?l.jsxs(r1,{isPlaceholderText:!0,children:[n?.upload!=null?l.jsx(j,{children:n?.upload}):null,n?.single!=null?l.jsx(j,{children:l.jsx(a1,{themeContext:f,children:n?.single})}):null,n?.or!=null?l.jsx(j,{children:n?.or}):null,n?.multiple!=null?l.jsx(j,{children:l.jsx(a1,{themeContext:f,children:n?.multiple})}):null,n?.receipts!=null?l.jsx(j,{children:n?.receipts}):null,n?.receipt!=null?l.jsx(j,{children:n?.receipt}):null]}):e==="w9"?l.jsx(n1,{children:S.dropW9}):l.jsx(n1,{children:S.dropInvoice}),B!=null&&l.jsx(G,{children:l.jsx(N,{children:B})}),x&&w==="File size is too large"&&l.jsx(G,{children:l.jsx(N,{children:S.uploadFileSizeExceedError})}),x&&w!=="File size is too large"&&l.jsx(G,{children:l.jsx(N,{children:S.uploadError.replace("__type__",e)})})]}),l.jsx(v1,{fileRef:H,name:"invoice",onFileChange:D,multiple:E,sizeLimit:k1,onFileSizeError:V}),R===!0?l.jsxs(I1,{children:[l.jsx(O1,{}),l.jsx(r1,{isPlaceholderText:!1,style:{marginLeft:o.sp1},children:S.currencyInfo})]}):null]})})]})},N1=i.div`
129
+ `,G1=({type:e="bill",attachmentIdBeingUploaded:z,uploadError:x,uploadErrorMsg:w,showAutofill:h,allowMultiFiles:E=!1,customError:B,dropFilePlaceholder:n,showInfoText:R,showTitlebar:T,pdfTitle:M,openSizeLimitPopup:V,onUploadAttachment:k,uploadStatus:A})=>{const f=s1(),[_,y]=t.useState(!1),b=function(r){r.preventDefault(),r.stopPropagation(),r.type==="dragenter"||r.type==="dragover"?y(!0):r.type==="dragleave"&&_&&y(!1)},I=function(r){if(r.preventDefault(),r.stopPropagation(),y(!1),r.dataTransfer.files.length>0){const s=r.dataTransfer.files;if(E){const a=[],m=[];for(let c=0;c<s.length;c++)a.push(s[c].name),m.push(s[c]);k?.(m,a,"dragdrop")}else{const a=s[0];k?.([a],[a.name],"dragdrop")}}},p=d1(),H=t.useRef(null),S=q.getLocalizedStrings().spendManagement.billPay.billDetails,L=()=>{H.current?.click()},D=r=>{if(r.target.files!=null){const s=r.target.files;if(E){const a=[],m=[];for(let c=0;c<s.length;c++)a.push(s[c].name),m.push(s[c]);k?.(m,a,"dragdrop")}else{const a=s[0];k?.([a],[a.name],"upload")}}},U=A!=null?A.fetchState=="In-Progress":z;return l.jsxs(M1,{showTitlebar:T,windowSize:p,type:e,children:[T===!0?l.jsx(q1,{windowSize:p,type:e,children:M}):null,U==!0?l.jsx(m1,{children:e==="receipt"?l.jsx(J,{size:"Large",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"1.5rem",borderRadius:"100%",backgroundColor:`${f.mode==="light"?d.backgroundThemeLight:d.backgroundThemeDark}`,border:`2px solid ${f.mode==="light"?d.neutralGrey3Light:d.neutralGrey3Dark}`,boxShadow:`${o.sp0} 2px ${o.sp1} ${f.mode==="light"?d.dropShadowNormalLight:d.dropShadowNormalDark}`}}):l.jsx(J,{size:"ExtraLarge",start:!0})}):l.jsx(N1,{windowSize:p,showAutofill:h,type:e,children:l.jsxs(R1,{windowSize:p,onClick:()=>L(),onDragEnter:b,onDragLeave:b,onDragOver:b,onDrop:I,"data-testid":K("upload-tag",e),children:[l.jsxs(_1,{onDragEnter:b,children:[e==="receipt"?l.jsx(F1,{width:g.billReceiptSize.valuePx(p),height:g.billReceiptSize.valuePx(p)}):l.jsx(W1,{width:g.billReceiptSize.valuePx(p),height:g.billReceiptSize.valuePx(p)}),e==="receipt"?l.jsxs(r1,{isPlaceholderText:!0,children:[n?.upload!=null?l.jsx(j,{children:n?.upload}):null,n?.single!=null?l.jsx(j,{children:l.jsx(a1,{themeContext:f,children:n?.single})}):null,n?.or!=null?l.jsx(j,{children:n?.or}):null,n?.multiple!=null?l.jsx(j,{children:l.jsx(a1,{themeContext:f,children:n?.multiple})}):null,n?.receipts!=null?l.jsx(j,{children:n?.receipts}):null,n?.receipt!=null?l.jsx(j,{children:n?.receipt}):null]}):e==="w9"?l.jsx(n1,{children:S.dropW9}):l.jsx(n1,{children:S.dropInvoice}),B!=null&&l.jsx(G,{children:l.jsx(N,{children:B})}),x&&w==="File size is too large"&&l.jsx(G,{children:l.jsx(N,{children:S.uploadFileSizeExceedError})}),x&&w!=="File size is too large"&&l.jsx(G,{children:l.jsx(N,{children:S.uploadError.replace("__type__",e)})})]}),l.jsx(v1,{fileRef:H,name:"invoice",onFileChange:D,multiple:E,sizeLimit:k1,onFileSizeError:V}),R===!0?l.jsxs(I1,{children:[l.jsx(O1,{}),l.jsx(r1,{isPlaceholderText:!1,style:{marginLeft:o.sp1},children:S.currencyInfo})]}):null]})})]})},N1=i.div`
130
130
  padding: ${e=>e.type==="w9"?o.sp0:e.windowSize==="small"&&e.showAutofill===!1?o.sp3:o.sp0};
131
131
  background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey3:e.theme.colors.grey4};
132
132
  height: 100%;
@@ -137,4 +137,4 @@ import{u as s1,e as d1,R as q,j as l,m as Q,o,f as d,W as K,C as $,g4 as v1,g5 a
137
137
  background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey4:e.theme.colors.grey3};
138
138
  width: 100%;
139
139
  color: ${e=>e.theme.colors.primary};
140
- `,ne=({uploadInvoiceEndPoint:e,authParams:z,showAutofill:x,allowMultiFiles:w,type:h="bill",customError:E,pdfTitle:B,entityId:n,shouldNotShowAttachment:R,analytics:T,style:M,noAttachmentText:V,dropFilePlaceholder:k,showInfoText:A,showTitlebar:f,showTitlebarIcon:_,file:y,attachmentTitle:b,vendorLegalName:I,onInvoiceUpload:p,onSkipAutofill:H,setFileUploaded:S,updateInvoiceUploadFetchState:L,onReplaceClick:D,onDeleteClick:U,uploadStatus:r,isLoading:s=!1})=>{const a=s1(),m=d1(),[c,X]=t.useState(!1),Y=q.getLocalizedStrings().spendManagement.billPay.billDetails,[h1,Z]=t.useState(!1),[u1,J]=t.useState(!1),[C1,g1]=t.useState(""),[f1,F]=t.useState(!1),[W,x1]=t.useState({title:"",description:"",primaryButtonText:""});t.useEffect(()=>{y!=null?Z(!0):Z(!1)},[y]);async function e1(v,u,P,o1,y1){X(!0),J(!1),await T1(`${v}/1.0/processors/${h}`,u,w===!0?P:[P[0]],w===!0?o1:[o1[0]],g1).then(S1=>{p?.(S1),Z(!0),S?.()}).catch(()=>{J(!0),y1?.("Error")}),X(!1)}const t1=v=>{const u=q.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;v?(x1({title:u.uploadLimitTitle,description:u.uploadLimitDescription,primaryButtonText:u.buttons.okay}),F(!0)):F(!1)},w1={onOkClick:()=>{F(!1)}};let l1=n!=null||(r!=null?r?.fetchState=="Completed":h1);h==="bill"&&R===!0&&(l1=!1);const O=h==="bill"?"bill_pay":h==="receipt"?"reimbursement":"w9";return l.jsx(V1,{showAutofill:x,windowSize:m,style:M,type:h,"data-testid":K("upload-section",O),children:s?l.jsx(m1,{children:l.jsx(Q,{size:"ExtraLarge",start:!0})}):l.jsxs(l.Fragment,{children:[f1?l.jsx(b1,{titleComponent:l.jsx($1,{children:W.title}),descriptionComponent:l.jsx(L1,{children:W.description}),primaryButtonText:W.primaryButtonText,action:w1}):null,!s&&r?.fetchState!=="In-Progress"&&l1?l.jsx(z1,{title:b,type:h,file:y,noAttachmentText:V,showTitlebar:f,showTitlebarIcon:_,pdfTitle:B,onReplaceClick:D,onDeleteClick:U,allowMultiFiles:w,openSizeLimitPopup:t1,onUploadAttachment:(v,u)=>{L?.("In-Progress"),e1(e,z,v,u,L)}}):l.jsx(G1,{type:h,uploadError:u1,uploadErrorMsg:C1,attachmentIdBeingUploaded:c,dropFilePlaceholder:k,showInfoText:A,allowMultiFiles:w,customError:E,showTitlebar:f,pdfTitle:B,showAutofill:x,openSizeLimitPopup:t1,uploadStatus:r,onUploadAttachment:(v,u,P)=>{T?.trackUploadInvoice(P,O,I),L?.("In-Progress"),e1(e,z,v,u,L)}}),x?l.jsxs(D1,{windowSize:m,children:[l.jsx(U1,{windowSize:m,themeContext:a,children:Y.skipAutofillInfo}),l.jsx(Z1,{windowSize:m,themeContext:a,"data-testid":K("skip-autofill",O),onClick:()=>H?.(!x),children:l.jsx(j1,{children:Y.skipAutofill})})]}):null]})})};export{G1 as AttachmentElement,ne as default};
140
+ `,ne=({uploadInvoiceEndPoint:e,authParams:z,showAutofill:x,allowMultiFiles:w,type:h="bill",customError:E,pdfTitle:B,entityId:n,shouldNotShowAttachment:R,analytics:T,style:M,noAttachmentText:V,dropFilePlaceholder:k,showInfoText:A,showTitlebar:f,showTitlebarIcon:_,file:y,attachmentTitle:b,vendorLegalName:I,onInvoiceUpload:p,onSkipAutofill:H,setFileUploaded:S,updateInvoiceUploadFetchState:L,onReplaceClick:D,onDeleteClick:U,uploadStatus:r,isLoading:s=!1})=>{const a=s1(),m=d1(),[c,Q]=t.useState(!1),X=q.getLocalizedStrings().spendManagement.billPay.billDetails,[h1,Z]=t.useState(!1),[u1,Y]=t.useState(!1),[C1,g1]=t.useState(""),[f1,F]=t.useState(!1),[W,x1]=t.useState({title:"",description:"",primaryButtonText:""});t.useEffect(()=>{y!=null?Z(!0):Z(!1)},[y]);async function e1(v,u,P,o1,y1){Q(!0),Y(!1),await T1(`${v}/1.0/processors/${h}`,u,w===!0?P:[P[0]],w===!0?o1:[o1[0]],g1).then(S1=>{p?.(S1),Z(!0),S?.()}).catch(()=>{Y(!0),y1?.("Error")}),Q(!1)}const t1=v=>{const u=q.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;v?(x1({title:u.uploadLimitTitle,description:u.uploadLimitDescription,primaryButtonText:u.buttons.okay}),F(!0)):F(!1)},w1={onOkClick:()=>{F(!1)}};let l1=n!=null||(r!=null?r?.fetchState=="Completed":h1);h==="bill"&&R===!0&&(l1=!1);const O=h==="bill"?"bill_pay":h==="receipt"?"reimbursement":"w9";return l.jsx(V1,{showAutofill:x,windowSize:m,style:M,type:h,"data-testid":K("upload-section",O),children:s?l.jsx(m1,{children:l.jsx(J,{size:"ExtraLarge",start:!0})}):l.jsxs(l.Fragment,{children:[f1?l.jsx(b1,{titleComponent:l.jsx($1,{children:W.title}),descriptionComponent:l.jsx(L1,{children:W.description}),primaryButtonText:W.primaryButtonText,action:w1}):null,!s&&r?.fetchState!=="In-Progress"&&l1?l.jsx(z1,{title:b,type:h,file:y,noAttachmentText:V,showTitlebar:f,showTitlebarIcon:_,pdfTitle:B,onReplaceClick:D,onDeleteClick:U,allowMultiFiles:w,openSizeLimitPopup:t1,onUploadAttachment:(v,u)=>{L?.("In-Progress"),e1(e,z,v,u,L)}}):l.jsx(G1,{type:h,uploadError:u1,uploadErrorMsg:C1,attachmentIdBeingUploaded:c,dropFilePlaceholder:k,showInfoText:A,allowMultiFiles:w,customError:E,showTitlebar:f,pdfTitle:B,showAutofill:x,openSizeLimitPopup:t1,uploadStatus:r,onUploadAttachment:(v,u,P)=>{T?.trackUploadInvoice(P,O,I),L?.("In-Progress"),e1(e,z,v,u,L)}}),x?l.jsxs(D1,{windowSize:m,children:[l.jsx(U1,{windowSize:m,themeContext:a,children:X.skipAutofillInfo}),l.jsx(Z1,{windowSize:m,themeContext:a,"data-testid":K("skip-autofill",O),onClick:()=>H?.(!x),children:l.jsx(j1,{children:X.skipAutofill})})]}):null]})})};export{G1 as AttachmentElement,ne as default};
@@ -1,4 +1,4 @@
1
- import{e as oe,a as Aa,ca as Oa,R as de,j as r,W as Pe,iy as Ra,bv as _a,F as za,a4 as Da,o as a,C as y,l as Fa,aT as Ua,am as Na,X as be,g as sa,a3 as qa,c7 as Ea,f as re,eW as Ma,bO as ka,cn as xe,ek as Ba,q as d,bp as Va,ah as Z,ct as me,cx as na,iz as Ha,iA as Wa,cu as Ga,u as Te,iB as Ae,cd as Oe,fK as Re,cG as ve,v as ie,eY as he,fH as oa,w as _e,a0 as Xa,fe as Ya,n as Za,fg as Ja}from"./index-BKug3-eP.js";import{b as E,n as t}from"./vendor-rkTZJa59.js";import{X as ca}from"./LabeledUserSingleSelectWithSubtitlesField-CLzwYw4O-Cs6PJnR2.js";import{T as ua}from"./RoleWithToolTip-BiydziFE-VYITxPfh.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const ge=e=>{const{common:i,spendManagement:{chargeCard:{issueCard:l}}}=de.getLocalizedStrings();switch(e){case"monthly":return l.frequencySubLabels.monthly;case"quarterly":return l.frequencySubLabels.quarterly;case"weekly":return l.frequencySubLabels.weekly;case"yearly":return l.frequencySubLabels.yearly;default:return i.strings.empty}},Ka=["creditCard","debitCard"],Me=e=>Fa.stringToUnion(e,Ka),m=(e,i)=>`${e}.${i}`,{commonSetUp:{businessVerification:{addressPlaceholder:ke,customAddressPlaceholder:Qa}},spendManagement:{chargeCard:{issueCard:F}}}=de.getLocalizedStrings(),k={largeLabelWidth:new y(120,120,200),labelMarginRight:new y(d[3],d[4]),labelMarginBottom:new y(d[2],d[0]),infoLabelMarginTop:new y(d[1],d[0]),radioLabelPaddingLeftRight:new y(d[2],d[3]),radioLabelPaddingLeft:new y(d[0],d[3]),radioLabelPaddingRight:new y(10,d[3])},er={infoLabel:new be("smallRegular","smallRegular")},ar="creditCard.physicalCard.amount",rr="creditCard.physicalCard.cardName",ir="creditCard.physicalCard.user",dr="creditCard.physicalCard.frequency",le="creditCard.physicalCard.addressType",tr=({lineData:e,issueCardSectionId:i,limit:l,creditLimitFrequency:b,activeChargeCardCount:v,allRoles:f,allAccountingClasses:R,companyAddress:h,customAddress:I,userAddress:T,userList:o,maxPhysicalChargeCardPerUser:z,openAddAddressDrawerHandler:u})=>{const s=oe(),U=Te(),{getValues:N}=xe(),S=k.largeLabelWidth.value(s),B=()=>{u(e.lineId,"creditCard")},c=(g,C)=>r.jsx(sr,{isOptionSelected:C,children:ge(g)}),n=e.creditCard.physicalCard.addressType,x=e.creditCard.physicalCard.amount,_=Ae(l.amount),w=x!=null&&x>l.amount,A=w?F.amountExceedError.replace("_amount_",_):void 0,P=e.creditCard.physicalCard.user,q=P.allUsers.find(g=>g.userId===P.selectedUser),Y=q?.userId,K=Y!=null?T[Y]:void 0,p=g=>{let C=v[g]?.physicalCardCount??0;return N().lineInfo.forEach(L=>{L.creditCard.cardType==="business_physical_credit_card"&&L.creditCard.physicalCard.user.selectedUser===g&&(C+=1)}),C>=z};return r.jsxs(r.Fragment,{children:[r.jsx(ca,{label:{label:F.cardholderLabel,width:S},userSingleSelectWithSubTitlesField:{name:m(i,ir),placeholderLabel:F.usersPlaceholder,value:{allUsers:o,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:g=>g?.selectedUser?.length>0},valueToSubtitle:g=>{const C=f.find(V=>V.userId===g),L=[];return C?.accountingClassIDs.forEach(V=>{const te=R.find(Ce=>Ce.classId===V);te!=null&&te.className&&L.push(te.className)}),L},additionalLabelInfo:F.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:p,disabledOptionHint:F.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx($e,{}),r.jsx(Oe,{label:{label:F.cardNameLabel,width:S},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)},text:{type:"text",name:m(i,rr),defaultValue:e.creditCard.physicalCard.cardName,placeholder:F.cardNamePlaceholder,options:{required:!0,validate:g=>g!=null}}}),r.jsx($e,{}),r.jsx(Re,{label:{label:F.amountLabel,width:S},showAdditionalInfoLabel:w,additionalInfoLabel:A,formattedTextField:{type:"number",name:m(i,ar),defaultValue:e.creditCard.physicalCard.amount,placeholder:F.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:g=>!!g&&g>0&&g<=l.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:w,style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx($e,{}),r.jsx(ve,{isDisabled:"readonly",label:{label:F.frequencyLabel,width:S,style:{marginBottom:k.labelMarginBottom.valuePx(s),marginRight:k.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:k.labelMarginBottom.valuePx(s)},infoLabelStyle:{...ie.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:k.infoLabelMarginTop.valuePx(s),color:U.colors.hero},valueToAdditionalLabel:g=>ge(g),singleSelectPickerField:{name:m(i,dr),placeholder:F.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:b.map(g=>({label:g.name,value:g.code}))},valueToSubLabels:(g,C)=>c(g,C),textAlignment:"right",registerOptions:{required:!0,validate:g=>g!=null&&!!g.selectedOption}}}),r.jsx($e,{}),r.jsxs(nr,{windowSize:s,children:[r.jsxs(ur,{windowSize:s,children:[r.jsx(me,{label:F.address.shippingAddressLabel,htmlFor:m(i,le),style:{marginLeft:a.sp4,marginRight:k.labelMarginRight.valuePx(s),marginTop:a.sp2,width:s==="small"?"auto":S}}),r.jsx(or,{windowSize:s,children:r.jsxs(pr,{isDisabled:q==null,children:[K!=null&&r.jsx(Z,{isContainerClickable:!0,label:{label:F.address.personal},isDisabled:q==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:m(i,le),id:`${m(i,le)}.${F.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Z,{isContainerClickable:!0,label:{label:F.address.company},isDisabled:q==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:m(i,le),id:`${m(i,le)}.${F.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Z,{isContainerClickable:!0,label:{label:F.address.custom},isDisabled:q==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:m(i,le),id:`${m(i,le)}.${F.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsx(cr,{windowSize:s,children:q?.user!=null&&n!=null&&r.jsx(lr,{children:n==="card_holder_personal_address"?r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"personal_address_value_field",defaultValue:K,isDisabled:"readonly",placeholder:ke,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(Be,{windowSize:s,children:F.address.personalAddressText.replace("_name_",q.user.firstName)})]}):n==="company_address"?r.jsx(he,{name:"company_address_value_field",defaultValue:h,isDisabled:"readonly",placeholder:ke,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:I[e.lineId],placeholder:Qa,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:B}),r.jsx(Be,{windowSize:s,children:F.address.customAddressText})]})})})]})]})},lr=t.div`
1
+ import{e as oe,a as Aa,ca as Oa,R as de,j as r,W as Pe,iy as Ra,bv as _a,F as za,a4 as Da,o as a,C as y,l as Fa,aT as Ua,am as Na,X as be,g as sa,a3 as qa,c7 as Ea,f as re,eW as Ma,bO as ka,cn as xe,ek as Ba,q as d,bp as Va,ah as Z,ct as me,cx as na,iz as Ha,iA as Wa,cu as Ga,u as Te,iB as Ae,cd as Oe,fK as Re,cG as ve,v as ie,eY as he,fH as oa,w as _e,a0 as Xa,fe as Ya,n as Za,fg as Ja}from"./index-0QGih61V.js";import{b as E,n as t}from"./vendor-rkTZJa59.js";import{X as ca}from"./LabeledUserSingleSelectWithSubtitlesField-CkRg249v-BoH-kRZ0.js";import{T as ua}from"./RoleWithToolTip-Cav6Dtwi-DQjRjWwX.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const ge=e=>{const{common:i,spendManagement:{chargeCard:{issueCard:l}}}=de.getLocalizedStrings();switch(e){case"monthly":return l.frequencySubLabels.monthly;case"quarterly":return l.frequencySubLabels.quarterly;case"weekly":return l.frequencySubLabels.weekly;case"yearly":return l.frequencySubLabels.yearly;default:return i.strings.empty}},Ka=["creditCard","debitCard"],Me=e=>Fa.stringToUnion(e,Ka),m=(e,i)=>`${e}.${i}`,{commonSetUp:{businessVerification:{addressPlaceholder:ke,customAddressPlaceholder:Qa}},spendManagement:{chargeCard:{issueCard:F}}}=de.getLocalizedStrings(),k={largeLabelWidth:new y(120,120,200),labelMarginRight:new y(d[3],d[4]),labelMarginBottom:new y(d[2],d[0]),infoLabelMarginTop:new y(d[1],d[0]),radioLabelPaddingLeftRight:new y(d[2],d[3]),radioLabelPaddingLeft:new y(d[0],d[3]),radioLabelPaddingRight:new y(10,d[3])},er={infoLabel:new be("smallRegular","smallRegular")},ar="creditCard.physicalCard.amount",rr="creditCard.physicalCard.cardName",ir="creditCard.physicalCard.user",dr="creditCard.physicalCard.frequency",le="creditCard.physicalCard.addressType",tr=({lineData:e,issueCardSectionId:i,limit:l,creditLimitFrequency:b,activeChargeCardCount:v,allRoles:f,allAccountingClasses:R,companyAddress:h,customAddress:I,userAddress:T,userList:o,maxPhysicalChargeCardPerUser:z,openAddAddressDrawerHandler:u})=>{const s=oe(),U=Te(),{getValues:N}=xe(),S=k.largeLabelWidth.value(s),B=()=>{u(e.lineId,"creditCard")},c=(g,C)=>r.jsx(sr,{isOptionSelected:C,children:ge(g)}),n=e.creditCard.physicalCard.addressType,x=e.creditCard.physicalCard.amount,_=Ae(l.amount),w=x!=null&&x>l.amount,A=w?F.amountExceedError.replace("_amount_",_):void 0,P=e.creditCard.physicalCard.user,q=P.allUsers.find(g=>g.userId===P.selectedUser),Y=q?.userId,K=Y!=null?T[Y]:void 0,p=g=>{let C=v[g]?.physicalCardCount??0;return N().lineInfo.forEach(L=>{L.creditCard.cardType==="business_physical_credit_card"&&L.creditCard.physicalCard.user.selectedUser===g&&(C+=1)}),C>=z};return r.jsxs(r.Fragment,{children:[r.jsx(ca,{label:{label:F.cardholderLabel,width:S},userSingleSelectWithSubTitlesField:{name:m(i,ir),placeholderLabel:F.usersPlaceholder,value:{allUsers:o,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:g=>g?.selectedUser?.length>0},valueToSubtitle:g=>{const C=f.find(V=>V.userId===g),L=[];return C?.accountingClassIDs.forEach(V=>{const te=R.find(Ce=>Ce.classId===V);te!=null&&te.className&&L.push(te.className)}),L},additionalLabelInfo:F.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:p,disabledOptionHint:F.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx($e,{}),r.jsx(Oe,{label:{label:F.cardNameLabel,width:S},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)},text:{type:"text",name:m(i,rr),defaultValue:e.creditCard.physicalCard.cardName,placeholder:F.cardNamePlaceholder,options:{required:!0,validate:g=>g!=null}}}),r.jsx($e,{}),r.jsx(Re,{label:{label:F.amountLabel,width:S},showAdditionalInfoLabel:w,additionalInfoLabel:A,formattedTextField:{type:"number",name:m(i,ar),defaultValue:e.creditCard.physicalCard.amount,placeholder:F.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:g=>!!g&&g>0&&g<=l.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:w,style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx($e,{}),r.jsx(ve,{isDisabled:"readonly",label:{label:F.frequencyLabel,width:S,style:{marginBottom:k.labelMarginBottom.valuePx(s),marginRight:k.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:k.labelMarginBottom.valuePx(s)},infoLabelStyle:{...ie.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:k.infoLabelMarginTop.valuePx(s),color:U.colors.hero},valueToAdditionalLabel:g=>ge(g),singleSelectPickerField:{name:m(i,dr),placeholder:F.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:b.map(g=>({label:g.name,value:g.code}))},valueToSubLabels:(g,C)=>c(g,C),textAlignment:"right",registerOptions:{required:!0,validate:g=>g!=null&&!!g.selectedOption}}}),r.jsx($e,{}),r.jsxs(nr,{windowSize:s,children:[r.jsxs(ur,{windowSize:s,children:[r.jsx(me,{label:F.address.shippingAddressLabel,htmlFor:m(i,le),style:{marginLeft:a.sp4,marginRight:k.labelMarginRight.valuePx(s),marginTop:a.sp2,width:s==="small"?"auto":S}}),r.jsx(or,{windowSize:s,children:r.jsxs(pr,{isDisabled:q==null,children:[K!=null&&r.jsx(Z,{isContainerClickable:!0,label:{label:F.address.personal},isDisabled:q==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:m(i,le),id:`${m(i,le)}.${F.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Z,{isContainerClickable:!0,label:{label:F.address.company},isDisabled:q==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:m(i,le),id:`${m(i,le)}.${F.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Z,{isContainerClickable:!0,label:{label:F.address.custom},isDisabled:q==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:m(i,le),id:`${m(i,le)}.${F.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsx(cr,{windowSize:s,children:q?.user!=null&&n!=null&&r.jsx(lr,{children:n==="card_holder_personal_address"?r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"personal_address_value_field",defaultValue:K,isDisabled:"readonly",placeholder:ke,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(Be,{windowSize:s,children:F.address.personalAddressText.replace("_name_",q.user.firstName)})]}):n==="company_address"?r.jsx(he,{name:"company_address_value_field",defaultValue:h,isDisabled:"readonly",placeholder:ke,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:I[e.lineId],placeholder:Qa,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:B}),r.jsx(Be,{windowSize:s,children:F.address.customAddressText})]})})})]})]})},lr=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{e as h,j as a,ct as m,C as o,eU as u,q as t,X as x}from"./index-BKug3-eP.js";import{n as r}from"./vendor-rkTZJa59.js";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])},c={infoLabel:new x("extraSmallRegular","smallRegular")};function $({isDisabled:e,label:n,additionalInfoLabel:d,addressValue:s,isOptional:g,style:p}){const l=h();return a.jsxs(w,{size:l,style:p,isDisabled:e!=null,children:[a.jsxs(f,{children:[a.jsx(m,{isOptional:g,isDisabled:e,label:n.label,style:{marginLeft:i.labelMarginLeft.value(l),marginRight:i.labelMarginRight.value(l),marginTop:i.labelMarginTop.value(l),width:n.width??"auto"}}),a.jsx(u,{...s,isDisabled:e,style:{minHeight:i.controlMinHeight.value(l),paddingTop:i.paddingTopBottom.valuePx(l),paddingBottom:i.paddingTopBottom.valuePx(l),maxWidth:n.width!=null?`calc(100% - ${n.width}px)`:"auto",display:"flex",flexGrow:1,...s.style}})]}),d?a.jsx(b,{size:l,children:d}):null]})}const b=r.label`
1
+ import{e as h,j as a,ct as m,C as o,eU as u,q as t,X as x}from"./index-0QGih61V.js";import{n as r}from"./vendor-rkTZJa59.js";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])},c={infoLabel:new x("extraSmallRegular","smallRegular")};function $({isDisabled:e,label:n,additionalInfoLabel:d,addressValue:s,isOptional:g,style:p}){const l=h();return a.jsxs(w,{size:l,style:p,isDisabled:e!=null,children:[a.jsxs(f,{children:[a.jsx(m,{isOptional:g,isDisabled:e,label:n.label,style:{marginLeft:i.labelMarginLeft.value(l),marginRight:i.labelMarginRight.value(l),marginTop:i.labelMarginTop.value(l),width:n.width??"auto"}}),a.jsx(u,{...s,isDisabled:e,style:{minHeight:i.controlMinHeight.value(l),paddingTop:i.paddingTopBottom.valuePx(l),paddingBottom:i.paddingTopBottom.valuePx(l),maxWidth:n.width!=null?`calc(100% - ${n.width}px)`:"auto",display:"flex",flexGrow:1,...s.style}})]}),d?a.jsx(b,{size:l,children:d}):null]})}const b=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{e as f,cn as w,cv as v,R as y,j as r,W as $,ct as z,C as l,eY as R,f as g,q as i,X as B}from"./index-BKug3-eP.js";import{n as d}from"./vendor-rkTZJa59.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),controlMinHeight:new l(i[4],i[4]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},T={infoLabel:new B("extraSmallRegular","smallRegular")},j=y.getLocalizedStrings();function E({isDisabled:e,label:n,addressValueField:o,additionalInfoLabel:h,showAdditionalInfoLabel:m=!1,style:p,hasHoverBorder:u,isOptional:b}){const a=f(),{formState:{errors:x}}=w(),s=v(x,o.name),c=s?h:j.commonSetUp.businessVerification.addressAdditionInfo;return r.jsxs(L,{size:a,style:p,isDisabled:e!=null,isError:s,hasHoverBorder:u??!0,"data-testid":$("labeled-address-value-field",o.name),children:[r.jsx(z,{isDisabled:e,isOptional:b,label:n.label,htmlFor:o.name,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:n.width??"auto"}}),r.jsxs(M,{labelWidth:n.width,children:[r.jsx(R,{...o,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,...o.style}}),(m||s)&&r.jsx(D,{size:a,isError:s,children:c})]})]})}const L=d.div`
1
+ import{e as f,cn as w,cv as v,R as y,j as r,W as $,ct as z,C as l,eY as R,f as g,q as i,X as B}from"./index-0QGih61V.js";import{n as d}from"./vendor-rkTZJa59.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),controlMinHeight:new l(i[4],i[4]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},T={infoLabel:new B("extraSmallRegular","smallRegular")},j=y.getLocalizedStrings();function E({isDisabled:e,label:n,addressValueField:o,additionalInfoLabel:h,showAdditionalInfoLabel:m=!1,style:p,hasHoverBorder:u,isOptional:b}){const a=f(),{formState:{errors:x}}=w(),s=v(x,o.name),c=s?h:j.commonSetUp.businessVerification.addressAdditionInfo;return r.jsxs(L,{size:a,style:p,isDisabled:e!=null,isError:s,hasHoverBorder:u??!0,"data-testid":$("labeled-address-value-field",o.name),children:[r.jsx(z,{isDisabled:e,isOptional:b,label:n.label,htmlFor:o.name,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:n.width??"auto"}}),r.jsxs(M,{labelWidth:n.width,children:[r.jsx(R,{...o,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,...o.style}}),(m||s)&&r.jsx(D,{size:a,isError:s,children:c})]})]})}const L=d.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{e as d,j as i,W as o,eH as r,ct as n,o as s,C as c}from"./index-BKug3-eP.js";import{j as b,n as h}from"./vendor-rkTZJa59.js";const m={width:new c(343,580,726)};function f({label:e,checkBoxField:l,style:t}){const a=d();return i.jsxs(x,{size:a,style:t,isDisabled:l.isDisabled,"data-testid":o(l.name,"labeled-check-box-field"),isSelected:l.defaultChecked??!1,children:[i.jsx(r,{...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 x=h.div`
1
+ import{e as d,j as i,W as o,eH as r,ct as n,o as s,C as c}from"./index-0QGih61V.js";import{j as b,n as h}from"./vendor-rkTZJa59.js";const m={width:new c(343,580,726)};function f({label:e,checkBoxField:l,style:t}){const a=d();return i.jsxs(x,{size:a,style:t,isDisabled:l.isDisabled,"data-testid":o(l.name,"labeled-check-box-field"),isSelected:l.defaultChecked??!1,children:[i.jsx(r,{...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 x=h.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{e as _,cn as R,cv as z,j as t,W as j,ct as B,C as f,f as u,q as s,cw as G,X as K,o as i,u as X,R as q,eR as Q,eS as Y,dj as A,b_ as J,b4 as C,cx as U,dK as Z,v as D,b1 as ee,a3 as le}from"./index-BKug3-eP.js";import{n as a}from"./vendor-rkTZJa59.js";const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:$=!0,addIconInCreateLabel:m,getLabelForId:b,tagProperties:x,hasError:S,style:c})=>{const w=X(),y=Ce(e,b),I=q.getLocalizedStrings().dropDowns,O=y.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?F(r,b):void 0,P={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:w.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${w.colors.dropShadowHover}`,border:`1px solid ${w.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(xe,{children:[t.jsx(be,{children:t.jsx(U,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(fe,{children:`${I.createOption} "${l}"`})]}),T=l=>{const{menuIsOpen:p,isFocused:L,isDisabled:k,selectProps:W}=l,{value:H}=W;return t.jsx(se,{menuIsOpen:p,isFocused:L,isDisabled:k,selectedValue:H,hasError:S,"data-testid":j("creatable-single-select-control",o),children:t.jsx(C.Control,{...l,className:"select-control",children:l.children})})},M=l=>t.jsx(ye,{children:t.jsxs(C.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&x!=null&&x.isTagShownForOption(l.data.value)===!0&&t.jsx($e,{children:t.jsx(we,{style:x.style,children:x.tagName})}),l.children]})}),N=l=>{const{selectProps:p}=l,{placeholder:L,value:k}=p;return t.jsx(C.Input,{...l,autoComplete:"new-password",placeholder:k==null?L:void 0,"data-testid":j("creatable-single-select-input",o),children:l.children})};return t.jsx(Q,{isMulti:!1,onCreateOption:l=>{const p=Y(l);n(p)},onChange:l=>{$!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>m===!0?E(l):`${I.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":j("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:T,Option:ae,Input:N,SingleValue:M,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:je,ClearIndicator:Se,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},A())},ie=e=>t.jsx(C.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),$=r.indexOf(h)*40;return t.jsx(J,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:$,children:({index:m,style:b})=>t.jsx(pe,{style:b,children:o[m]})})},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(C.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":j("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(me,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
1
+ import{e as _,cn as R,cv as z,j as t,W as j,ct as B,C as f,f as u,q as s,cw as G,X as K,o as i,u as X,R as q,eR as J,eS as A,dj as Q,b_ as U,b4 as C,cx as Y,dK as Z,v as k,b1 as ee,a3 as le}from"./index-0QGih61V.js";import{n as a}from"./vendor-rkTZJa59.js";const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:$=!0,addIconInCreateLabel:m,getLabelForId:b,tagProperties:x,hasError:S,style:c})=>{const w=X(),y=Ce(e,b),I=q.getLocalizedStrings().dropDowns,O=y.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?F(r,b):void 0,P={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:w.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${w.colors.dropShadowHover}`,border:`1px solid ${w.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(xe,{children:[t.jsx(be,{children:t.jsx(Y,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(fe,{children:`${I.createOption} "${l}"`})]}),T=l=>{const{menuIsOpen:p,isFocused:L,isDisabled:V,selectProps:W}=l,{value:H}=W;return t.jsx(se,{menuIsOpen:p,isFocused:L,isDisabled:V,selectedValue:H,hasError:S,"data-testid":j("creatable-single-select-control",o),children:t.jsx(C.Control,{...l,className:"select-control",children:l.children})})},M=l=>t.jsx(ye,{children:t.jsxs(C.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&x!=null&&x.isTagShownForOption(l.data.value)===!0&&t.jsx($e,{children:t.jsx(we,{style:x.style,children:x.tagName})}),l.children]})}),N=l=>{const{selectProps:p}=l,{placeholder:L,value:V}=p;return t.jsx(C.Input,{...l,autoComplete:"new-password",placeholder:V==null?L:void 0,"data-testid":j("creatable-single-select-input",o),children:l.children})};return t.jsx(J,{isMulti:!1,onCreateOption:l=>{const p=A(l);n(p)},onChange:l=>{$!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>m===!0?E(l):`${I.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":j("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:T,Option:ae,Input:N,SingleValue:M,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:je,ClearIndicator:Se,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},Q())},ie=e=>t.jsx(C.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),$=r.indexOf(h)*40;return t.jsx(U,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:$,children:({index:m,style:b})=>t.jsx(pe,{style:b,children:o[m]})})},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(C.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":j("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(me,{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"};
@@ -34,7 +34,7 @@ import{e as _,cn as R,cv as z,j as t,W as j,ct as B,C as f,f as u,q as s,cw as G
34
34
  border-radius: ${i.sp0};
35
35
  margin: ${i.sp0};
36
36
  color: ${e=>e.hasError===!0?u.important:e.theme.colors.primary};
37
- ${D.standardRegular.css};
37
+ ${k.standardRegular.css};
38
38
  box-sizing: border-box;
39
39
  overflow: hidden;
40
40
  text-overflow: ellipsis;
@@ -45,7 +45,7 @@ import{e as _,cn as R,cv as z,j as t,W as j,ct as B,C as f,f as u,q as s,cw as G
45
45
  display: flex;
46
46
  width: ${e=>e.menuIsOpen===!1&&e.selectedValue!=null?i.sp0:"100%"};
47
47
  position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
48
- ${D.standardRegular.css};
48
+ ${k.standardRegular.css};
49
49
  color: ${e=>e.hasError===!0?u.important:e.theme.colors.primary};
50
50
  margin: ${i.sp0};
51
51
  cursor: inherit;
@@ -67,7 +67,7 @@ import{e as _,cn as R,cv as z,j as t,W as j,ct as B,C as f,f as u,q as s,cw as G
67
67
  `,ne=a.div`
68
68
  border-radius: inherit;
69
69
  .select-option {
70
- ${D.smallRegular.css};
70
+ ${k.smallRegular.css};
71
71
  height: ${i.sp6};
72
72
  padding: 9px ${i.sp3};
73
73
  color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.champion};
@@ -153,7 +153,7 @@ import{e as _,cn as R,cv as z,j as t,W as j,ct as B,C as f,f as u,q as s,cw as G
153
153
  justify-content: inherit;
154
154
  align-items: center;
155
155
  width: 100%;
156
- `,ve=()=>null,je=()=>null,Se=()=>null,Ce=(e,r)=>e.map(o=>F(o,r)),F=(e,r)=>({value:e,label:r!==void 0?r(e):e}),Ie=({name:e,registerOptions:r,defaultValue:o,placeholder:n,isDisabled:d,style:h,addIconInCreateLabel:$,isOptionRemovable:m,tagProperties:b,onSelectChange:x,getLabelForId:S})=>{const{control:c,formState:{errors:w}}=R(),y=z(w,e??"");return t.jsx(G,{name:e,control:c,defaultValue:o,"data-testid":j("creatable-single-select-field",e),rules:r,render:({field:{value:I,onChange:O}})=>t.jsx(t.Fragment,{children:t.jsx(te,{onSelectedValueChanged:v=>{x?.(v??""),O({allOptions:o.allOptions,selectedOption:v})},placeholder:n,style:h,isDisabled:d,selectedValue:I.selectedOption,allValues:o.allOptions,addIconInCreateLabel:$,isOptionRemovable:m,getLabelForId:S,tagProperties:b,hasError:y,name:e})})})},g={width:new f(343,580,726),height:new f(s[6],s[6]),controlHeight:new f(s[6],s[6]),paddingTopBottom:new f(s[2],s[2]),marginRight:new f(s[2],s[2]),labelMarginLeft:new f(s[3],s[4]),labelMarginRight:new f(s[3],s[4]),labelMarginTop:new f(s[2],s[2])},Oe={infoLabel:new K("extraSmallRegular","smallRegular")};function Re({isDisabled:e,label:r,creatableSingleSelectField:o,style:n,additionalInfoLabel:d,errorInfoLabel:h,isOptionRemovable:$,addIconInCreateLabel:m,additionalInfoTextColor:b,onSelectChange:x,getLabelForId:S}){const c=_(),{formState:{errors:w}}=R(),y=z(w,o.name??"");return t.jsxs(Le,{size:c,style:n,isDisabled:e!=null,hasError:y,"data-testid":j("labeled-creatable-single-select-field",o.name),children:[t.jsx(B,{isDisabled:e,label:r.label,htmlFor:o.name,style:{marginLeft:g.labelMarginLeft.value(c),marginRight:g.labelMarginRight.value(c),marginTop:g.labelMarginTop.value(c),width:r.width??"auto"}}),t.jsxs(ke,{labelWidth:r.width,children:[t.jsx(Ie,{...o,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:r.width!==null&&m===!1?`calc(100% - ${r.width}px)`:"auto",height:g.controlHeight.value(c)},onSelectChange:x,isOptionRemovable:$,addIconInCreateLabel:m,getLabelForId:S}),t.jsx(V,{size:c,additionalInfoTextColor:b,children:d}),y&&t.jsx(V,{size:c,hasError:y,children:h})]})]})}const Le=a.div`
156
+ `,ve=()=>null,je=()=>null,Se=()=>null,Ce=(e,r)=>e.map(o=>F(o,r)),F=(e,r)=>({value:e,label:r!==void 0?r(e):e}),Ie=({name:e,registerOptions:r,defaultValue:o,placeholder:n,isDisabled:d,style:h,addIconInCreateLabel:$,isOptionRemovable:m,tagProperties:b,onSelectChange:x,getLabelForId:S})=>{const{control:c,formState:{errors:w}}=R(),y=z(w,e??"");return t.jsx(G,{name:e,control:c,defaultValue:o,"data-testid":j("creatable-single-select-field",e),rules:r,render:({field:{value:I,onChange:O}})=>t.jsx(t.Fragment,{children:t.jsx(te,{onSelectedValueChanged:v=>{x?.(v??""),O({allOptions:o.allOptions,selectedOption:v})},placeholder:n,style:h,isDisabled:d,selectedValue:I.selectedOption,allValues:o.allOptions,addIconInCreateLabel:$,isOptionRemovable:m,getLabelForId:S,tagProperties:b,hasError:y,name:e})})})},g={width:new f(343,580,726),height:new f(s[6],s[6]),controlHeight:new f(s[6],s[6]),paddingTopBottom:new f(s[2],s[2]),marginRight:new f(s[2],s[2]),labelMarginLeft:new f(s[3],s[4]),labelMarginRight:new f(s[3],s[4]),labelMarginTop:new f(s[2],s[2])},Oe={infoLabel:new K("extraSmallRegular","smallRegular")};function Re({isDisabled:e,label:r,creatableSingleSelectField:o,style:n,additionalInfoLabel:d,errorInfoLabel:h,isOptionRemovable:$,addIconInCreateLabel:m,additionalInfoTextColor:b,onSelectChange:x,getLabelForId:S}){const c=_(),{formState:{errors:w}}=R(),y=z(w,o.name??"");return t.jsxs(Le,{size:c,style:n,isDisabled:e!=null,hasError:y,"data-testid":j("labeled-creatable-single-select-field",o.name),children:[t.jsx(B,{isDisabled:e,label:r.label,htmlFor:o.name,style:{marginLeft:g.labelMarginLeft.value(c),marginRight:g.labelMarginRight.value(c),marginTop:g.labelMarginTop.value(c),width:r.width??"auto"}}),t.jsxs(Ve,{labelWidth:r.width,children:[t.jsx(Ie,{...o,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:r.width!==null&&m===!1?`calc(100% - ${r.width}px)`:"auto",height:g.controlHeight.value(c)},onSelectChange:x,isOptionRemovable:$,addIconInCreateLabel:m,getLabelForId:S}),t.jsx(D,{size:c,additionalInfoTextColor:b,children:d}),y&&t.jsx(D,{size:c,hasError:y,children:h})]})]})}const Le=a.div`
157
157
  display: flex;
158
158
  flex-direction: row;
159
159
  align-items: flex-start;
@@ -189,13 +189,13 @@ import{e as _,cn as R,cv as z,j as t,W as j,ct as B,C as f,f as u,q as s,cw as G
189
189
  background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.hasError===!0?u.importantLight:e.theme.colors.background};
190
190
  }
191
191
  }
192
- `,ke=a.div`
192
+ `,Ve=a.div`
193
193
  display: flex;
194
194
  width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
195
195
  justify-content: flex-end;
196
196
  flex-direction: column;
197
197
  position: relative;
198
- `,V=a.label`
198
+ `,D=a.label`
199
199
  color: ${e=>e.hasError===!0?u.important:e.additionalInfoTextColor!=null?e.additionalInfoTextColor:e.theme.colors.grey1};
200
200
  width: auto;
201
201
  ${e=>`${Oe.infoLabel.style(e.size)}`};
@@ -1,4 +1,4 @@
1
- import{e as I,cn as W,cv as g,j as o,W as U,ct as k,C as l,eT as N,R as O,q as i,o as s,f as A,X as q}from"./index-BKug3-eP.js";import{n as d}from"./vendor-rkTZJa59.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},V={infoLabel:new q("extraSmallRegular","smallRegular")};function G({label:e,isDisabled:r,isOptional:u,style:c,file:p,name:n,registerOptions:b,additionalInfoLabel:f,acceptableTypes:x,sizeLimit:y,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:S,showPhotoPicker:v,useMobileCam:T,showUploadSuccessAnimation:R,showWebCamPopUpCloseIcon:L,updateFilesEntity:j,onDeleteFile:C,onEditFileName:M,onFileSizeError:B}){const a=I(),{formState:{errors:m}}=W(),h=g(m,n),D=g(m,`${n}.fileName`);return o.jsxs(X,{size:a,style:c,isDisabled:r!=null,"data-testid":U("document-field",n),children:[o.jsx(k,{isDisabled:r,label:e.label,isOptional:u,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:e.width??"auto",...e.style}}),o.jsxs(J,{labelWidth:e.width,size:a,children:[o.jsx(N,{name:n,filesEndPoint:P,authParams:E,registerOptions:b,file:p,sizeLimit:y,acceptableTypes:x,isDisabled:r==="disabled"||r==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:j,onFileSizeError:B,onDeleteFile:C,onEditFileName:M,placeholderText:S,showPhotoPicker:v,useMobileCam:T,showWebCamPopUpCloseIcon:L,showUploadSuccessAnimation:R}),h&&o.jsx(K,{size:a,isError:h,children:D&&p!=null?O.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const X=d.div`
1
+ import{e as I,cn as W,cv as g,j as o,W as U,ct as k,C as l,eT as N,R as O,q as i,o as s,f as A,X as q}from"./index-0QGih61V.js";import{n as d}from"./vendor-rkTZJa59.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},J={infoLabel:new q("extraSmallRegular","smallRegular")};function H({label:e,isDisabled:r,isOptional:u,style:c,file:p,name:n,registerOptions:b,additionalInfoLabel:f,acceptableTypes:x,sizeLimit:y,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:S,showPhotoPicker:v,useMobileCam:T,showUploadSuccessAnimation:R,showWebCamPopUpCloseIcon:L,updateFilesEntity:j,onDeleteFile:C,onEditFileName:M,onFileSizeError:B}){const a=I(),{formState:{errors:m}}=W(),h=g(m,n),D=g(m,`${n}.fileName`);return o.jsxs(V,{size:a,style:c,isDisabled:r!=null,"data-testid":U("document-field",n),children:[o.jsx(k,{isDisabled:r,label:e.label,isOptional:u,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:e.width??"auto",...e.style}}),o.jsxs(X,{labelWidth:e.width,size:a,children:[o.jsx(N,{name:n,filesEndPoint:P,authParams:E,registerOptions:b,file:p,sizeLimit:y,acceptableTypes:x,isDisabled:r==="disabled"||r==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:j,onFileSizeError:B,onDeleteFile:C,onEditFileName:M,placeholderText:S,showPhotoPicker:v,useMobileCam:T,showWebCamPopUpCloseIcon:L,showUploadSuccessAnimation:R}),h&&o.jsx(K,{size:a,isError:h,children:D&&p!=null?O.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=d.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.size==="small"?"column":"row"};
4
4
  align-items: flex-start;
@@ -24,7 +24,7 @@ import{e as I,cn as W,cv as g,j as o,W as U,ct as k,C as l,eT as N,R as O,q as i
24
24
  outline: 1px solid
25
25
  ${e=>e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary};
26
26
  }
27
- `,J=d.div`
27
+ `,X=d.div`
28
28
  display: flex;
29
29
  flex-direction: column;
30
30
  width: ${e=>e.size==="small"?"100%":e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
@@ -35,7 +35,7 @@ import{e as I,cn as W,cv as g,j as o,W as U,ct as k,C as l,eT as N,R as O,q as i
35
35
  `,K=d.label`
36
36
  display: flex;
37
37
  color: ${e=>e.isError?A.important:e.theme.colors.grey1};
38
- ${e=>`${V.infoLabel.style(e.size)}`};
38
+ ${e=>`${J.infoLabel.style(e.size)}`};
39
39
  padding-right: ${s.sp3};
40
40
  text-align: right;
41
- `;export{G as Y};
41
+ `;export{H as Y};
@@ -1,4 +1,4 @@
1
- import{e as R,u as T,cn as p,cv as V,j as r,o,cw as O,bn as P,v as A,fO as F,f as l,X as M,b1 as U}from"./index-BKug3-eP.js";import{n as i}from"./vendor-rkTZJa59.js";const X={infoLabel:new M("extraSmallRegular","smallRegular")};function Q({isDisabled:e,label:m,formattedText:s,dropdownStyle:f,style:b,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:u,isSelectDisabled:v,menuPlacement:k,name:E,placeholderLabel:S}){const a=R(),h=T(),{formState:{errors:D}}=p(),d=V(D,s.name),{control:z}=p(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(Y,{size:a,style:b,isDisabled:e!=null,isError:d||n,children:[r.jsx(K,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(G,{style:{width:"auto",...f},children:r.jsx(O,{name:E,control:z,defaultValue:u.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(P,{pickerValues:u.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||v,onPickerSelectionChanged:c=>{I(c)},menuPlacement:k,titleTextStyle:A.standardRegular,titleColor:h.colors.hero,valueOpacity:1,backgroundColor:h.colors.grey5,placeholder:S})})})}),r.jsxs(q,{children:[r.jsx(F,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(B,{children:r.jsx(J,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const Y=i.div`
1
+ import{e as V,u as R,cn as h,cv as T,j as r,o,cw as O,bn as P,v as A,fO as F,f as l,X as M,b1 as U}from"./index-0QGih61V.js";import{n as i}from"./vendor-rkTZJa59.js";const X={infoLabel:new M("extraSmallRegular","smallRegular")};function Q({isDisabled:e,label:m,formattedText:s,dropdownStyle:f,style:b,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:p,isSelectDisabled:v,menuPlacement:k,name:E,placeholderLabel:S}){const a=V(),u=R(),{formState:{errors:D}}=h(),d=T(D,s.name),{control:z}=h(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(q,{size:a,style:b,isDisabled:e!=null,isError:d||n,children:[r.jsx(Y,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(G,{style:{width:"auto",...f},children:r.jsx(O,{name:E,control:z,defaultValue:p.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(P,{pickerValues:p.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||v,onPickerSelectionChanged:c=>{I(c)},menuPlacement:k,titleTextStyle:A.standardRegular,titleColor:u.colors.hero,valueOpacity:1,backgroundColor:u.colors.grey5,placeholder:S})})})}),r.jsxs(B,{children:[r.jsx(F,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(J,{children:r.jsx(K,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const q=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -33,7 +33,7 @@ import{e as R,u as T,cn as p,cv as V,j as r,o,cw as O,bn as P,v as A,fO as F,f a
33
33
  background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?l.importantLight:e.theme.colors.background};
34
34
  }
35
35
  }
36
- `,q=i.div`
36
+ `,B=i.div`
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  align-items: flex-end;
@@ -44,15 +44,15 @@ import{e as R,u as T,cn as p,cv as V,j as r,o,cw as O,bn as P,v as A,fO as F,f a
44
44
  ${e=>`${X.infoLabel.style(e.size)}`};
45
45
  padding-right: ${o.sp3};
46
46
  text-align: right;
47
- `,B=i.div`
47
+ `,J=i.div`
48
48
  display: flex;
49
49
  margin-right: ${o.sp1};
50
50
  align-items: center;
51
- `,J=i(U)`
51
+ `,K=i(U)`
52
52
  width: ${o.sp3};
53
53
  height: ${o.sp3};
54
54
  color: ${l.successDark};
55
- `,K=i.div`
55
+ `,Y=i.div`
56
56
  display: flex;
57
57
  width: 100%;
58
58
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
@@ -1,4 +1,4 @@
1
- import{e as b,j as r,W as s,ct as u,C as l,q as t,o as a,y as m,X as x}from"./index-BKug3-eP.js";import{n}from"./vendor-rkTZJa59.js";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])},f={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:g,additionalInfoLabel:d,style:h,infoLabelStyle:p}){const o=b();return r.jsxs(c,{size:o,style:h,"data-testid":s("labeled-text",e.label),children:[r.jsx(u,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:g}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const c=n.div`
1
+ import{e as b,j as r,W as s,ct as u,C as l,q as t,o as a,x as m,X as x}from"./index-0QGih61V.js";import{n}from"./vendor-rkTZJa59.js";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])},f={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:g,additionalInfoLabel:d,style:h,infoLabelStyle:p}){const o=b();return r.jsxs(c,{size:o,style:h,"data-testid":s("labeled-text",e.label),children:[r.jsx(u,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:g}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const c=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;