@zeniai/web-cockpit-ui 1.15.31-qa → 1.15.32-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 (309) hide show
  1. package/dist/assets/ACHDetailsPage-tTJc_EMP-DYpFLcu6.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BtDuOBey-DmPphsXg.js → AIPerformancePage-ByUb4gCe-JuDAfC8h.js} +18 -18
  3. package/dist/assets/AccountInfoPage-VLhd4vnL-DXlupn44.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BLF92_vF-YYhij8lg.js → AccountInfoPageContent-BHD9tOzB-DoEbtT2v.js} +15 -15
  5. package/dist/assets/{AccountLockedInfoModal-AsMkXu1I-CVe3Hy3M.js → AccountLockedInfoModal-DNjLeZYt-D2fsUG4f.js} +2 -2
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CkaBrm5K-DIIw5FlK.js → AccountReconDetailsDrawerPage-BEfA1bsG-I47iAx1D.js} +10 -10
  7. package/dist/assets/{AccountRow-aEmcYP8T-BbTS3-CK.js → AccountRow-CK5HLVrf-CkNAMQ2u.js} +19 -19
  8. package/dist/assets/{AccountsPromoCardStack-C0At5pn8-DXWBY6OH.js → AccountsPromoCardStack-CaTnaSn3-FCk-ULE2.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CbjThbsA-CLlWEIxe.js → AddAddressForCardDrawer-DmajBqRK-DEh9VlDB.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CMJwUbgf-rrVXiQw9.js → AddToWalletPage-BSzuByT6-nwQQhLJ_.js} +36 -36
  11. package/dist/assets/{AgingReportsPage-B_BSfude-D0QpW98_.js → AgingReportsPage-D2gPAJKw-DtSYadID.js} +4 -4
  12. package/dist/assets/{AllUserItems-CGlWa60t-h-riUf2G.js → AllUserItems-BIf1v0a5-B9sgoKVP.js} +11 -11
  13. package/dist/assets/{ApAgingDetailPage-DT3vkmLG-C_cL6gbI.js → ApAgingDetailPage-pfP6vTc2-DNdR70Vv.js} +5 -5
  14. package/dist/assets/{AppBasePage-CDy7wPlv-BxqW_Qg2.js → AppBasePage-BGPY0zrb-Cgw6EXRu.js} +11 -11
  15. package/dist/assets/{AppDrawerContent-CEsXm_i6-CW1nkTKX.js → AppDrawerContent-6AX5Y5tK-C6Pu2n78.js} +2 -2
  16. package/dist/assets/{ApprovalRulesSettingsPage-CB2_4-2f-EvDWmVK-.js → ApprovalRulesSettingsPage-BurRfT7n-D8ylQviU.js} +1 -1
  17. package/dist/assets/{ArAgingChart-qxhWsIQb-C4Jx_960.js → ArAgingChart-Dx8jVL0O-CupzM74j.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BbzQryp_-CxVbfpIm.js → ArAgingDetailPage-BcrHD5zT-BoHizRsh.js} +6 -6
  19. package/dist/assets/{AttachmentView-duTVxc9g-BUPi4zJZ.js → AttachmentView-CdIA5zLk-Ccm-n9L1.js} +4 -4
  20. package/dist/assets/{BankAccountSection-CAwAf9xK-CgO5EJAd.js → BankAccountSection-Qe9eRUmE-B6lQ-JzW.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-CaDnP9_--BB5RKb-6.js → BankAccountWarningSection-BfN1KiTF-CqPWwbNY.js} +12 -12
  22. package/dist/assets/{BankConnectionsSettingsPage-CDV7O8cl-CZbYdgLy.js → BankConnectionsSettingsPage-Dmub7xxp-BTbJWWvl.js} +9 -9
  23. package/dist/assets/{BillDetailPage-DJxh2CIc-D5yng4UK.js → BillDetailPage-DHCP-PUd-DpbXdVFf.js} +13 -13
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-B2ZPbqtr-CSSyEtEl.js → BillPayApprovalRuleDetailPage-DS31MPI0-Dn-T4Njh.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-MM7v8ZMx-z7T84rau.js → BillPayApprovalRulesPage-Cc3wkV9k-DMlp8m1G.js} +13 -13
  26. package/dist/assets/{BillPayPromoPage-JK-VOx4W-B_C8DuZu.js → BillPayPromoPage-DslCxm8f-Be4WJJK2.js} +2 -2
  27. package/dist/assets/{BillPaySetUpPage-h0uoCWMl-DvAR3JfV.js → BillPaySetUpPage-DnabCnSI-3IQFcnkB.js} +1 -1
  28. package/dist/assets/BillingSettingsPage-B91NuvxJ-DIg4E4pn.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CPPDFsZt-D-k0WBgw.js → BillsBulkReviewDrawerPage-BOulFH2M-CfBwEemW.js} +1 -1
  30. package/dist/assets/{BoxItem-CYe_gTmA-Bq-cUyHa.js → BoxItem-Dhk2kQlB-ymoj_NmA.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-BU2b5oF1-tm8Rn4Pv.js +138 -0
  32. package/dist/assets/{CardNumberSubText-CFDhtij8-BJ6ircXZ.js → CardNumberSubText-CRjU8jZf-DzA9ggM9.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-BBGGzKh7-CDIItVJw.js → CashbackDetailPage-GNwtsA01-PgGpZ01a.js} +6 -6
  34. package/dist/assets/{ChargeCardDetailPage-BQhago53-CZ9rE-O-.js → ChargeCardDetailPage-DspeEPRm-DHY-84Ch.js} +40 -40
  35. package/dist/assets/{ChargeCardListPage-B0E-C3RH-qI0c9wPw.js → ChargeCardListPage-C4N76196-CL7LpKYX.js} +9 -9
  36. package/dist/assets/{ChargeCardListTable-ByGv0xWl-Dy5_i773.js → ChargeCardListTable-ObawcMuP-BDRD6_-S.js} +49 -49
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-LCY9rFqO-DFgHnoSL.js → ChargeCardPaymentHistoryPage-NBxH70YE-Cj3oOuEC.js} +27 -27
  38. package/dist/assets/{ChargeCardPromoPage-CKEnOseD-nYO2qT_d.js → ChargeCardPromoPage-CN9d98ht-4K-amLMG.js} +7 -7
  39. package/dist/assets/{ChargeCardSetupPage-BHv2VOdc-BfcjRYsg.js → ChargeCardSetupPage-Cie4HjPR-ZtUOiOiR.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-UpRXyPTS-DUoykYJ6.js → ChargeCardStatementsPage-DSUakLyb-fNOGZHcg.js} +4 -4
  41. package/dist/assets/{CheckDepositDrawerPage-0zbTQ3Fa-DZUNeuWX.js → CheckDepositDrawerPage-BK6iLLEA-jWxLf2wl.js} +23 -23
  42. package/dist/assets/{CollapsableReportTable-DlYIKSlQ-CTPvx283.js → CollapsableReportTable-vwzu1AgW-BTLj3VXb.js} +1 -1
  43. package/dist/assets/CompanyOfficerDetailsSection-CtptCfIN-apBFYZGi.js +331 -0
  44. package/dist/assets/{CompanyPassportCard-DeVPuuje-dXTJCMs0.js → CompanyPassportCard-DyasR99R-CYkEVZS_.js} +2 -2
  45. package/dist/assets/CompanyPassportPage-Xp8Bn6ev-Bfcf_ruC.js +417 -0
  46. package/dist/assets/{CompleteProfile-Y6HwKtpz-CKG60-Ev.js → CompleteProfile-CyoPiiWR-xf-bWpXE.js} +2 -2
  47. package/dist/assets/ConfettiBurst-BWYsiO3O-BTrtU6ii.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-COBnQDX5.js → ConstrainedInnerElement-BeIpAPjB-DDbvqxn6.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-BlZe6gmh-LIbnXoCR.js → CreateOrEditVendorPage-CecROHGm-D41yC84M.js} +16 -16
  50. package/dist/assets/{CreditCardPaymentDrawerPage-flPmyCaF-ju95FaYN.js → CreditCardPaymentDrawerPage-C6Tx5HFf-oVWkJDzH.js} +13 -13
  51. package/dist/assets/{CurrencySelectField-RiKAivD8-bvSf14oM.js → CurrencySelectField-DAmYUy85-BWbCVGju.js} +3 -3
  52. package/dist/assets/{CustomerOnboardingActivationPage-B7dLMk4g-BZHZ1dpa.js → CustomerOnboardingActivationPage-CsBXicnS-QAit89b5.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-CNJZIVlJ-BZqVU5dg.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-AWsst0XH-X1brA0-n.js → CustomerOnboardingDetailPageSkeleton-BrWGFePj-DMstYizh.js} +10 -10
  55. package/dist/assets/CustomerOnboardingNoStepsPage-EIhXr3Tb-DznkXuZH.js +66 -0
  56. package/dist/assets/CustomerOnboardingPage-DXoS8Lvh-C2VugePi.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DqgoBLWp-Cv1WT5RL.js → CustomerOnboardingProductSuitePage-BRXSZWKm-BD_syEun.js} +6 -6
  58. package/dist/assets/{Dashboard-D0KlujCx-BSLisJSN.js → Dashboard-Bd774Cwk-AzSeLKy1.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-bxKyMsG7-CUvvzIc4.js → DashboardReportPage-CdyFzIwd-DfVPg9E3.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-Ch0OiH1g-vmCAY7a1.js → DashboardSidebarBackgroundAnimation-NYtLjb5A-C-FYqFtS.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-BdZVCAx--CrDYcfUN.js → DepositAccTransactionItem-DZk4h7x--C88hUVsA.js} +6 -6
  62. package/dist/assets/{DepositAccTransactionListPage-LU0QMdSV-CKNGH1tO.js → DepositAccTransactionListPage-CKgbbZOW-BgK9Zw4Y.js} +3 -3
  63. package/dist/assets/{DomesticWireDetailsPage-CFt5GgZ1-DQv3a0ub.js → DomesticWireDetailsPage-CY2Pv6jd-CheyQF2l.js} +2 -2
  64. package/dist/assets/{DownloadOverlay-CH_bA3On-B69b38U1.js → DownloadOverlay-BflHtA84-B4UfqjFr.js} +16 -16
  65. package/dist/assets/{DrawerPage-Cpdp-IFb-CaiAQFdD.js → DrawerPage-5Q_xvjmz-Co18igPQ.js} +8 -8
  66. package/dist/assets/EditPeoplePage-Dq02jvsi-b5H5H_8q.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-DnyyPZ26-Bd2lr5Lb.js → EditReimbursementDetailPage-CYnqM-2--BRFle9yb.js} +66 -66
  68. package/dist/assets/EntityDetailPage-s91tl4Wk-BAN18nGN.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BFpgAYAM-DJcwKTxQ.js → EntitySummarySection-BUjGJmFT-CjfLlHfk.js} +10 -10
  70. package/dist/assets/{ExpenseAutomationOverviewPage-YjOVm_Bw-DbWbD2ZW.js → ExpenseAutomationOverviewPage-D7_-NOLq-Bds1x68a.js} +19 -19
  71. package/dist/assets/{ExpenseAutomationPage-DlhH-R-e-DP26P-kb.js → ExpenseAutomationPage-CFxbvTbd-VTUN9rRL.js} +44 -44
  72. package/dist/assets/{ExpressPayPage-CKqPEfbR-B9xRjGEZ.js → ExpressPayPage-gyFQBzLO-BnlxI_0_.js} +20 -20
  73. package/dist/assets/{FeaturePreviewPage-Cs1Y3nP0-C736qEjy.js → FeaturePreviewPage-BT-WJozX-m5nY8Cr0.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-BCyL8Jdr-CTurJjBu.js → FollowStepsSection-Du2gzmC6-LTRvUZJY.js} +42 -42
  75. package/dist/assets/{GlobalReviewListPage-CBQFcVHd-BFn41JwP.js → GlobalReviewListPage-B0MxdV0g-O7Eaq9sr.js} +10 -10
  76. package/dist/assets/{InformationCardStack-nFMetrAy-DmLTnFTd.js → InformationCardStack-rAU0N5_N-BNWO8W3c.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-CEMeGJXy-Dl1gxtvy.js → InsightsCardStack-CEkmuCB6-CpJ0Ou6A.js} +9 -9
  78. package/dist/assets/InsightsSection-CK6L0ggh-DiYoPBIp.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-BQ7g3a3K-ZPT5zibV.js → IntegrationsSettingsPage-Do41V6J0-CYPG6GBQ.js} +5 -5
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-BHRYsZgm-hXisNfc-.js → InternationalWireSwiftDetailsPage-BnsnrM3q-TCK2vz36.js} +31 -31
  81. package/dist/assets/InternationalWireVerificationPage-C3EEqPT--COWTCQVg.js +65 -0
  82. package/dist/assets/{InviteFormPage-BVXte8w8-Bv3riR4y.js → InviteFormPage-x40AE2Pw-DcL74k0M.js} +14 -14
  83. package/dist/assets/{InvitePageListView-DFPyLLrA-DwPZnRCN.js → InvitePageListView-CiVNaN8z-BNxs-kv2.js} +44 -44
  84. package/dist/assets/InvitePeoplePage-DGTYEet3-q8LMzEbG.js +12 -0
  85. package/dist/assets/{InvoiceUploadSection-B9q7nIs0-FeM5fM0I.js → InvoiceUploadSection-C4K602QO-edDVc4Pa.js} +4 -4
  86. package/dist/assets/{IssueChargeCardPage-BuLj1bOl-dPJklROU.js → IssueChargeCardPage-BVmxvrlx-Ca71cuKs.js} +15 -15
  87. package/dist/assets/{LabeledAddressValue-D2t8ti-C-DUztl2du.js → LabeledAddressValue-aejn380k-DwlaPoVh.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-DMcor_I8-DnYPVaTw.js → LabeledAddressValueField-DSU3b6xx-SFUhns2M.js} +4 -4
  89. package/dist/assets/{LabeledControlledCheckBoxField-B6w2HGJK-BLA_30cF.js → LabeledControlledCheckBoxField-CKE6Nln6-BoFyY4Lg.js} +2 -2
  90. package/dist/assets/LabeledCountryMultiSelectField-D1bMiaZj-DHyO4cp8.js +237 -0
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DHNAX5Pu-Cxl2v4pk.js → LabeledCreatableSingleSelectField-amXDv508-ayE33Uzo.js} +22 -18
  92. package/dist/assets/LabeledDocumentField-2_VcrmJN-NvvTwxvI.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-BBS4da2b-CKcQYn_8.js → LabeledDropDownFormattedTextField-C6sW-5j7-DVIx7gwf.js} +4 -4
  94. package/dist/assets/{LabeledText-zjKn4Cw--Btj0vmVa.js → LabeledText-CrAhx4_P-BV766MG2.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CIofqRT6-BdB4qtCG.js → LabeledUserSingleSelectWithSubtitlesField-BVZg_rlX-BekpWR05.js} +19 -19
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DiBtAWQ3-CYXjNxbc.js → LabeledZeniRolesDropDownField-DS1icRVA-0u4rotdW.js} +31 -31
  97. package/dist/assets/{LinkJETransactionPage-D66bzDh_-B9FEJF_c.js → LinkJETransactionPage-VdBxLFQc-55c5hzn3.js} +6 -6
  98. package/dist/assets/{LockCardPage-B1g2TZWL-BM1z6LUH.js → LockCardPage-Bs8xkpNa-BjwEOKdz.js} +44 -44
  99. package/dist/assets/{LowBalancePopup-DbtHeVY--C9EswVLY.js → LowBalancePopup-B0-WExEI-lrmES1sf.js} +2 -2
  100. package/dist/assets/MagicLinkACHDetailsPage-BitHcc3I-C98ytwJK.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-BFfxbnHp-N-D8lO-1.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-BncWaxsb-Bxijl5E3.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-DRcOlHnh-CSKpgnmw.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-CqkZ9wOf-DfDEh73I.js → MagicLinkTitleSection-vMBVJSVF-Cq6tgd4r.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-CKtLfBik-Pke0GJpe.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CE2ZqHBJ-BMkFuO3K.js → MyBankConnectionsSettingsPage-D6Gjqgv2-CIp3b4Hf.js} +10 -10
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-BffxXDZg-Dvb6_3Fu.js → MyPendingActivationChargeCardListPage-y9U4DJm9-CBr9crJC.js} +2 -2
  108. package/dist/assets/{MyProfileSettingsPage-DrsAlesY-j3nt47fF.js → MyProfileSettingsPage-D7btjvQI-mZy4329L.js} +8 -8
  109. package/dist/assets/NavBarWithPicker-B_vr1zc6-DAolNzoK.js +30 -0
  110. package/dist/assets/{NavigationArrow-DCCxx6H7-D4B8RREd.js → NavigationArrow-suk7KbA1-xl7E8Abj.js} +7 -7
  111. package/dist/assets/{NavigationDots-tWCw6Bpk-D0d4bwwO.js → NavigationDots-Dqcv5rrC-DzoP8t9X.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-UIA8zAjd-C002A9hY.js → NewGlobalMerchantPage-CRg1E4PG-_ea1Cd7Q.js} +33 -33
  113. package/dist/assets/NoDataChart-CGab-TiT-zyPeOkqC.js +26 -0
  114. package/dist/assets/NoDataTable-B2CS7NPq-CvFUjFVv.js +8 -0
  115. package/dist/assets/{NotFoundPage-CdH-3upl-DLtXDi3d.js → NotFoundPage-DGMaZUli-aSvAxp7G.js} +7 -7
  116. package/dist/assets/{NotificationSettingsPage-DP2gGIz1-DEKmBA8p.js → NotificationSettingsPage-CMkB3Lv2-DA8e_wrR.js} +10 -10
  117. package/dist/assets/{NotificationsListConfig-DG-DH2Aj-C3kn_PJf.js → NotificationsListConfig-8zpkH26L-DVh3_eXQ.js} +1 -1
  118. package/dist/assets/{NotificationsPage-CgFMmR2X-ZazUgOBE.js → NotificationsPage-D7bHfgsd-B-yh8id7.js} +19 -19
  119. package/dist/assets/{OpExByVendorPage-eUvIAWzt-CoPEiZJL.js → OpExByVendorPage-PfMkiQRt-CA9khm55.js} +6 -6
  120. package/dist/assets/OverlayContainerPage-D4QU0p4o-DAP8RqtI.js +11 -0
  121. package/dist/assets/{PandLWithForecastPage-8S06Nyi5-1bcdIh1F.js → PandLWithForecastPage-CtFnhBki-D2LFAlVU.js} +7 -7
  122. package/dist/assets/PaymentAccountSetupBillingAddressSection-gaNLv-zU-S6LvrwnZ.js +107 -0
  123. package/dist/assets/{PeoplePage-D1BLHtO0-C58P6kMk.js → PeoplePage-3Fux2UtP-BH9APgOv.js} +20 -20
  124. package/dist/assets/{Preview-Duq0gQMO.js → Preview-C8AzcAoJ.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-BKSXWnFR-D0XqWdeM.js → ProductsCarousel-BPUh4FO7-CHB-qbx5.js} +4 -4
  126. package/dist/assets/{PromoBaseCards-BYT9nEJT-DW8pd6tD.js → PromoBaseCards-Dmg5PtKw-t6EmiKvL.js} +14 -14
  127. package/dist/assets/{QBOConnectionDialog-C2-omQMZ-BcqWZr4J.js → QBOConnectionDialog-CLBqmpI8-DH4pGPEG.js} +3 -3
  128. package/dist/assets/{QBOSetupSection-lgv5wVlg-BJbJg-e3.js → QBOSetupSection-DwqXfi9i-B1C_WaXE.js} +18 -18
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CbJViS3x-CNPS2kKc.js → ReimbursementApprovalRuleDetailPage-BrfP2xcW-DQMVrjws.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-BuNt-Bmb-C4xV1t6F.js → ReimbursementApprovalRulesPage-BmVVfYZD-BmlPhGFM.js} +7 -7
  131. package/dist/assets/{ReimbursementDetailPage-CK3-Jqkd-BXJxGVOx.js → ReimbursementDetailPage-j-kNxeWY-ZsW0KMFD.js} +5 -5
  132. package/dist/assets/{ReimbursementPromoPage-fptOAJna-kONXX9OV.js → ReimbursementPromoPage-D2kh5AHM-CtzDBBo_.js} +13 -13
  133. package/dist/assets/{ReimbursementSetUpPage-CidrpT2g-BaHYOosV.js → ReimbursementSetUpPage-D2890NEZ-Dgq0MW27.js} +8 -8
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cy_Hediw-CeMENnhM.js → ReimbursementsBulkReviewDrawerPage-qXtPaXjg-CLjTJ8gQ.js} +1 -1
  135. package/dist/assets/{ReloadCard-C81rGzOp-DrV9TjCC.js → ReloadCard-IEyjck4Y-Bypr7i2O.js} +8 -8
  136. package/dist/assets/{ReportTableViewSelector-neRSjrhV-DNMR9-mx.js → ReportTableViewSelector-CQjyJkzR-DZEqJbuf.js} +4 -4
  137. package/dist/assets/{ReportsPage-BhzQVaer-B1sMVpn4.js → ReportsPage-Bzz6If8N-i375FFbW.js} +3 -3
  138. package/dist/assets/{RevenueChart-x7uTbFlm-CjI9a83n.js → RevenueChart-B00OufPH-B5M-AM4i.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-jXZCylzg-B1MM8UC1.js → ReviewDetailsPage-NnD1LDcO-CZs19GX2.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-nlm2HnGw-UufbXYzP.js → ReviewOverlay-CFouRoKn-DAQDEDmS.js} +16 -16
  141. package/dist/assets/RoleWithToolTip-BBbrv_x_-D8MqiafD.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CkPzofLN-BWXCFq3v.js → ScheduleDetailsFixedAssetsPage-B5gQXUI9-DH6Yv6F_.js} +8 -8
  143. package/dist/assets/{ScheduleDetailsPage-BSZefKOh-Bo6woPA8.js → ScheduleDetailsPage-B1Kb9usK-BWyyTA9a.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-BW5M7Zfq-BwchdmgD.js → ScheduleSequenceTable-B973PTTc-C5HNHoNO.js} +14 -14
  145. package/dist/assets/{ScreenRoutes-Dwdg1cdb.js → ScreenRoutes-BUhhsxeL.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-C703iFL6-CHmt5sZt.js → SetUpAccountSection-D6dn2jSD-B2ahVHn3.js} +1 -1
  147. package/dist/assets/{SignIn-D9K5FklU-CRWhJbb6.js → SignIn-CUOfBh48-Cs6fsPrc.js} +25 -25
  148. package/dist/assets/SignInScreen-B9_ZQMfW.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-CBNtC74m-Fd85QGhs.js → SpendManagementListViewPage-DOkp7pHa-D_rDsyPi.js} +14 -14
  150. package/dist/assets/{SpendManagementPerTabPage-D_sa7WRd-CmfTgI85.js → SpendManagementPerTabPage-D_LO55uU-DKDZqq7t.js} +27 -27
  151. package/dist/assets/{SpendManagementSection-DpZUTV6m-4JhWZKtl.js → SpendManagementSection-CEMNFPRO-DOfjR_1U.js} +23 -23
  152. package/dist/assets/{StatementItem-DvdSsb8I-HhjAsWuo.js → StatementItem-BDCdJuBz-C5KxKZf9.js} +4 -4
  153. package/dist/assets/StatementsPage-CgbyzDo5-dOiBmz6G.js +58 -0
  154. package/dist/assets/{StatusSwitcher-hKYgwNLC-DHsQ9BVG.js → StatusSwitcher-BjvUftXD-BmCBIDA6.js} +4 -4
  155. package/dist/assets/{SubTabSwitcher-aeDd9xiF-CP_NcrPb.js → SubTabSwitcher-CqTYhJ6K-C6tI5OUk.js} +1 -1
  156. package/dist/assets/{SummaryCard-CK8Gxbiu-CIbHrisD.js → SummaryCard-BrsOKcrF-DWcUToK_.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-D2Ooq8DR-Cg7nwJeB.js → TaskManagementPage-C5vXcK0R-BbbjC-Tz.js} +16 -16
  158. package/dist/assets/{TimeRangeSwitcher-DEqlZxa6-DEfl1xmz.js → TimeRangeSwitcher-BR-bT1hY-DWqBq-hp.js} +2 -2
  159. package/dist/assets/{TimeframeSwitcher-BppC6giF-C7ddFaNs.js → TimeframeSwitcher-B7EXKmdi-DuvH5agU.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-CbX9ElMN-hszvw3pP.js → TimeframeSwitcherWithToggle-D265f15Y-T64K-skP.js} +1 -1
  161. package/dist/assets/{TopExCard-Cy6tPVSx-Bbwl1jG_.js → TopExCard-l-xo9Vzj-B1PmkJWv.js} +10 -10
  162. package/dist/assets/{TopExDetailPage-Rtrcdkcp-vpPj9dbp.js → TopExDetailPage-DJlHcjKS-Bho9tEuD.js} +10 -10
  163. package/dist/assets/{TransactionActivityLogPage-DbwSsjPJ-C5f3uEbO.js → TransactionActivityLogPage-HLwrGJCG-BzrsUVPS.js} +7 -7
  164. package/dist/assets/{TransactionDetailPage-D-vXAAB7-KMY-seM4.js → TransactionDetailPage-63dqDjgt-B4iYNZGu.js} +35 -35
  165. package/dist/assets/{TransactionList-BruCNjQg-Ccsvct2A.js → TransactionList-BFD8ZfJ--BUbGyMLK.js} +10 -10
  166. package/dist/assets/{TransactionListBig-bp7q3prH-DMAN1AsC.js → TransactionListBig-Cd05cE1H-CAcC3Nig.js} +4 -4
  167. package/dist/assets/{TransactionListPage-ZfJsaVb8-GGjXUKns.js → TransactionListPage-klQ0oBzv-C-lEqqat.js} +2 -2
  168. package/dist/assets/TransactionVendorDetailPage-D93V6PtT-CNzgHcFV.js +80 -0
  169. package/dist/assets/{TransferDrawerPage-DswS6KZf-BDyM8T09.js → TransferDrawerPage-B_Hy3gOY-Clor74dq.js} +12 -12
  170. package/dist/assets/{TreasuryOverviewPage-DWo7iRpO-DSI7EDiH.js → TreasuryOverviewPage-CJrfTwBd-BzblsfCt.js} +1 -1
  171. package/dist/assets/{TreasuryPromoPage-DQxCF3-4-C3eX58kN.js → TreasuryPromoPage-BRwTbEqr-C3oIH7Gd.js} +131 -131
  172. package/dist/assets/TreasuryStatementsPage-CpVaxZhO-BbzJpZN2.js +58 -0
  173. package/dist/assets/TreasuryTaxLetterPage-CUHNWUy--WkFWI_33.js +58 -0
  174. package/dist/assets/{TrendChart-BMHDaOeh-LWC7_lHj.js → TrendChart-DLex57el-Bd2WzCxo.js} +2 -2
  175. package/dist/assets/{TrendWithTransactions-DDLrmIrt-BXL-CVpz.js → TrendWithTransactions-CwB4wDSN-BMowh4TY.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-3SW8Gj0Z-CDWZIxfG.js → UncategorizedAccountsMappingPage-CO7p4-Kx-BZ0VCWbX.js} +17 -17
  177. package/dist/assets/{UnitIntegrationPage-DPMy8dXP-nT8iCa4v.js → UnitIntegrationPage-BDUTrQY0-SS19l8Xm.js} +11 -11
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-BHpT2al--DXABnZU8.js → UploadAdditionalDocumentOverlay-DID6dcux-DPsjTLN9.js} +1 -1
  179. package/dist/assets/Vendor2FAPopup-DySyuG4R-82OgFcz6.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-CS0fu-kk-0b8QPMYJ.js +1 -0
  181. package/dist/assets/{VendorDetailPage-BC1FhaQA-KI0Ch5Gm.js → VendorDetailPage-DRgwiRee-B2tPGfn4.js} +23 -23
  182. package/dist/assets/VendorDomesticWireDetailsPage-B3mJqOdK-BoqOh8HT.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-DYyPOA8D-CxoCgeSh.js → VendorFiling1099EditablePage-CtReDQX3-DVZfKoI-.js} +13 -13
  184. package/dist/assets/{VendorFirstReviewPage-Cpmk7rDk-CFOuqq24.js → VendorFirstReviewPage-BGVFKcId-7yTwYSjG.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-CWAWq6kq-DzcoBHDk.js → VendorInternationalWireDetailsPage-DtFlzIWc-CYBlV4Tg.js} +13 -13
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CfWP7ILx-BygrRGvT.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-CGQ35Mhp-fa4HsF-c.js → VendorsAccountsSection-DlCCF8w7-CQtCi0t6.js} +3 -3
  188. package/dist/assets/{VerifyDevice-CfMJW1Vh-t_8HTul6.js → VerifyDevice-CDChzTa5-fyUSUzra.js} +7 -7
  189. package/dist/assets/{VideoPlayer-BNBpjXJk-jZcx6J3u.js → VideoPlayer-D6snpLby-D_sf9SSM.js} +2 -2
  190. package/dist/assets/{VideoPopup-BF6lmB7l-CPNBV8xg.js → VideoPopup-SylQ4T6l-DUuwzYmi.js} +3 -3
  191. package/dist/assets/{WarningsDrawerPage-Crj70lnR-BFJEBaju.js → WarningsDrawerPage-D67GprmZ-Dc_Jo6Z8.js} +7 -7
  192. package/dist/assets/{ZeniAccountDetailPage-CaA6m3tQ-DsIFFK_h.js → ZeniAccountDetailPage-BfYIZPob-DCZW5ugr.js} +13 -13
  193. package/dist/assets/{ZeniAccountListViewPage-x_51gDs1-CM__NvGD.js → ZeniAccountListViewPage-B5luRVEl-ntYaih24.js} +17 -17
  194. package/dist/assets/{ZeniAccountNavBarPieces-Csr24dri-BqCNAJs9.js → ZeniAccountNavBarPieces-BQXOnqhc-D38WZkNq.js} +2 -2
  195. package/dist/assets/{ZeniAccountPromoPage-lxKBk2r5-KMuyeTSq.js → ZeniAccountPromoPage-CHCmIfff-DDgdwEph.js} +10 -10
  196. package/dist/assets/{ZeniAccountSetupPage-DUI4-2Zw-8cM-uoIc.js → ZeniAccountSetupPage-BzCqTug2-BN8jteFY.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-DxEZ4DiK-DLP_0Pge.js → ZeniCopyright-CiZTMpf7-C6VWdJm_.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-4Nq4Sm9J-VPec2EGj.js → ZeniTransferAmountSlider-C--qNr-a-BTUYZm1a.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-V6ap5s7K.js → add-to-wallet-DgdBD8_G-Cna2JrPi.js} +1 -1
  200. package/dist/assets/{analytics-BFo1DlpM.js → analytics-Cz7GTPb4.js} +1 -1
  201. package/dist/assets/analyticsHelper-D0FSznOb.js +1 -0
  202. package/dist/assets/{analyticsHelper-CL-t3Y2i-D7L_LVJW.js → analyticsHelper-DEOt00qX-3E5keIK0.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-DUYmTke7.js → arrow-south-east-round-PEovUgvH-D7Guqwvj.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-eGlQozxe.js → auto-transfer-rule-mbafm5D3-DemMuLOK.js} +1 -1
  205. package/dist/assets/{chartTypes-B3501CSI-DzRICrvV.js → chartTypes-BqKhmkSG-DaJzMpYW.js} +1 -1
  206. package/dist/assets/{commonDimensions-YcBBlmYP-COMWV7bj.js → commonDimensions-DbvjFx29-M5i-B_2F.js} +1 -1
  207. package/dist/assets/commonTypes-TAIHQ3fk-BCFWsh3s.js +1 -0
  208. package/dist/assets/{constants-D7SXzzFi.js → constants-DAniohK4.js} +1 -1
  209. package/dist/assets/{core-TLZ6PfaT.js → core-BHxev_Cl.js} +1 -1
  210. package/dist/assets/{dash.all.min-B_wsJDV-.js → dash.all.min-CtGtyz3U.js} +1 -1
  211. package/dist/assets/{detailCommon-C19MYPnq-BkT0buD6.js → detailCommon-BEEE23XQ-C9xvv1qO.js} +4 -4
  212. package/dist/assets/downloadPdf-CDTl_Ev--DwC3gr_X.js +1 -0
  213. package/dist/assets/{empty-DHRJKl0l.js → empty-BjQqAnEr.js} +1 -1
  214. package/dist/assets/{empty-Dl7OEA8R.js → empty-ycUigo07.js} +1 -1
  215. package/dist/assets/epic-ouf99YlI.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-BxnAFpgS.js → gift-box-Cmt9OgIZ-DQLMM0Jc.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BXAAbldy.js → graphic-no-data-l-DU4J8fDt-EQfaFxjc.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-RQBIXxmP.js → graphic-no-data-net-burn-l-CzmycA0m-iUVSxIP-.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-B_pRiSxy.js → handshake-BPg58FML-SL3xJab2.js} +1 -1
  220. package/dist/assets/helper-Cl1NuKS2-BXsdA-OL.js +223 -0
  221. package/dist/assets/{index-CZI3Ylli.js → index-BCs-C6Pl.js} +1 -1
  222. package/dist/assets/{index-f03AvpmF.js → index-BVl75ift.js} +1 -1
  223. package/dist/assets/{index-CT7uQHtl.js → index-CZ6iVFod.js} +1 -1
  224. package/dist/assets/{index-Cs8eLM6a.js → index-DDBZjEhE.js} +1 -1
  225. package/dist/assets/{index-CJvK7-J_.js → index-DKIaTfNE.js} +1 -1
  226. package/dist/assets/{index-B4SkrUUS.js → index-DOsjGhSZ.js} +2459 -2446
  227. package/dist/assets/{index-AKtmkw3-.js → index-wXhIQbLd.js} +1 -1
  228. package/dist/assets/{lexical-DGcsrY0x.js → lexical-Dja08wvc.js} +1 -1
  229. package/dist/assets/{liveblocks-Dh9EWLXD.js → liveblocks-KFxhhSr3.js} +1 -1
  230. package/dist/assets/{lottie-osIcf0zV.js → lottie-DDoT_sT4.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-CBq8hzRN-DunJzr3i.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BDWD3x8r-BJJQ7ptw.js → mapSectionWithAcOnlyToTreeNode-DtYXgw-F-TAq1Mekz.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-ycecmJKa-Hd0mRrjF.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-ByLaAQOt-Biy9DgAh.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-C8E1dOPs-B00cM4ms.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-v8qXI-n8-DJfWjA89.js +1 -0
  237. package/dist/assets/{mui-DUBEtzg-.js → mui-B2MHg-Mu.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-C8N6TvJI.js → page-detail-CWX5S47F-Dqz3fZ9M.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-CVhhFPCD.js → panelSelectedMixin-CzfD5-Zs-CL2f5PJh.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-Cr1_qpyQ.js → radio-default-CiSgisfh-CIrmE0sr.js} +1 -1
  241. package/dist/assets/{react-DYqSDMNg.js → react-B5mg5_zl.js} +2 -2
  242. package/dist/assets/{react-DM-hrQxT.js → react-BWSczdFz.js} +1 -1
  243. package/dist/assets/{react-jiKdoZ4l.js → react-BzzxkC3X.js} +1 -1
  244. package/dist/assets/{react-Ld4wkc7L.js → react-CciBBuhn.js} +1 -1
  245. package/dist/assets/{react-Bk-13Lv_.js → react-DJSfrAX2.js} +1 -1
  246. package/dist/assets/{react-DKnK-TxQ.js → react-Dn-7aN5D.js} +1 -1
  247. package/dist/assets/{react-Xrf7IcXX.js → react-DqyAh0nx.js} +1 -1
  248. package/dist/assets/{react-DJtWQPHO.js → react-GWLRtgTU.js} +2 -2
  249. package/dist/assets/{recharts-ZbSULBPo.js → recharts-B7o7FzH2.js} +1 -1
  250. package/dist/assets/{sentry-BBFZ4Apy.js → sentry-otjdlEta.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-CxpeC9Dy.js → shield-DOlUxcFf-DDxUv5Gm.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-DKhXdLyk-D9LH1M_c.js +1 -0
  253. package/dist/assets/{toChartData-DzatRnt8-r7b4SzAV.js → toChartData-B3G_wqcy-uAjzhvaS.js} +1 -1
  254. package/dist/assets/{uploadAttachment-Bq8dk-Sm-BxzYH_e-.js → uploadAttachment-CLjjVoJ0-Do2BBtK7.js} +22 -22
  255. package/dist/assets/uploadReceipts-Dge0cNF1-BhANrZur.js +1 -0
  256. package/dist/assets/{url-B-vFaWHB.js → url-DCdUzyOP.js} +1 -1
  257. package/dist/assets/{url-DieIsDlx.js → url-Dy00DrU7.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-BO__ObzU.js → useLongPress-GCK2COYQ-Sm0Bw4m0.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-Ob7uwwlJ.js → usp-line-BBd1wKwW-BmAEJQI7.js} +1 -1
  260. package/dist/assets/{utils-DvDl_6hs.js → utils-BbmM3Vsp.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-CbQxc4HL.js → zeni-epic-state-DVinyIRY.js} +18 -18
  262. package/dist/index.html +1 -1
  263. package/package.json +3 -3
  264. package/dist/assets/ACHDetailsPage-CxpLuJpQ-Z25Kj8iB.js +0 -21
  265. package/dist/assets/AccountInfoPage-DkpBGfrR-DgJ_l529.js +0 -18
  266. package/dist/assets/BillingSettingsPage-gJG9OxD6-C92nEYt6.js +0 -44
  267. package/dist/assets/BusinessVerificationPage-Dos8Bnvb-BzlY8P7N.js +0 -138
  268. package/dist/assets/CompanyOfficerDetailsSection-Ck0xqZ0d-CiQdQV8c.js +0 -260
  269. package/dist/assets/CompanyPassportPage-F_GUET9a-n_4C1XId.js +0 -574
  270. package/dist/assets/ConfettiBurst-BGE3Okwr-ChtxA3B0.js +0 -1
  271. package/dist/assets/CustomerOnboardingContainerPage-BHPDhC3d-DmiTHP_R.js +0 -1
  272. package/dist/assets/CustomerOnboardingNoStepsPage-Bqid4-rH-BGImJqrF.js +0 -66
  273. package/dist/assets/CustomerOnboardingPage-B5LrMzZS-BM4VGeP8.js +0 -107
  274. package/dist/assets/EditPeoplePage-BYnuNojX-tF0zDJiV.js +0 -55
  275. package/dist/assets/EntityDetailPage-DSfZZ1JW-B8lmLppd.js +0 -18
  276. package/dist/assets/InsightsSection-BYiN2xB7-xEpnMvUU.js +0 -27
  277. package/dist/assets/InternationalWireVerificationPage-tJbVtzQP-CZgDrSPN.js +0 -292
  278. package/dist/assets/InvitePeoplePage-B-uxjkke-DNUKVrZj.js +0 -12
  279. package/dist/assets/LabeledDocumentField-Bx1u7vv_-mKnRKGeb.js +0 -41
  280. package/dist/assets/MagicLinkACHDetailsPage-X1pXkZYT-DFFPBXzS.js +0 -1
  281. package/dist/assets/MagicLinkDomesticWireDetailsPage-BDl8k_bB-BL-x5WX7.js +0 -1
  282. package/dist/assets/MagicLinkInternationalWireDetailsPage-Q4lIsHtG-CqwaJ0sv.js +0 -1
  283. package/dist/assets/MagicLinkSuccessPage-BkxuITX--DbmxzFZs.js +0 -31
  284. package/dist/assets/MailingDetailsSection-DRFGCM2W-D6QU019C.js +0 -21
  285. package/dist/assets/NavBarWithPicker-C4VfP_Kw-BP1hKzBN.js +0 -30
  286. package/dist/assets/NoDataChart-Bvetk9za-ChhbhAl5.js +0 -26
  287. package/dist/assets/NoDataTable-9xF1_3XS-DmyXOk6M.js +0 -8
  288. package/dist/assets/OverlayContainerPage-D4QU0p4o-Bv0v7Lg9.js +0 -11
  289. package/dist/assets/PaymentAccountSetupBillingAddressSection-DQtrANhI-Dbgw6-lm.js +0 -107
  290. package/dist/assets/RoleWithToolTip-C29QOzxS-Dtn3QO2t.js +0 -22
  291. package/dist/assets/SignInScreen-93gtogD5.js +0 -1
  292. package/dist/assets/StatementsPage-73jGj5P2-CMTCSEyj.js +0 -58
  293. package/dist/assets/TransactionVendorDetailPage-CldkuO2--Depffy_Y.js +0 -80
  294. package/dist/assets/TreasuryStatementsPage-CYkPtmaT-D5EUuNcF.js +0 -58
  295. package/dist/assets/TreasuryTaxLetterPage-DH3su_rX-DoShkWFh.js +0 -58
  296. package/dist/assets/Vendor2FAPopup-C6gEOhUv-CYnz9DAX.js +0 -1
  297. package/dist/assets/VendorACHDetailsPage-LNCcubjL-BYnoq0_Z.js +0 -1
  298. package/dist/assets/VendorDomesticWireDetailsPage-CLudahOt-D5L89H8f.js +0 -1
  299. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CUtums8t-DsF3BjGD.js +0 -1
  300. package/dist/assets/analyticsHelper-BeWexRsD.js +0 -1
  301. package/dist/assets/downloadPdf-DPAqxw6u-CTz8FOiE.js +0 -1
  302. package/dist/assets/epic-hSb3tBg_.js +0 -2
  303. package/dist/assets/mapLoadingInProgressToTreeNode-D2u9MDI--C5UhDOED.js +0 -1
  304. package/dist/assets/mapSpacerToTreeNode-Blr3egSm-DTRUivWC.js +0 -1
  305. package/dist/assets/mapTimeframeBalancesToTreeNode-3Hd8QHr2-CJNy6I1V.js +0 -1
  306. package/dist/assets/mapTimeframeBalancesToTreeNode-D-LTfKnD-BwhFvpsB.js +0 -1
  307. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CffU-RPP-zWnJVGsZ.js +0 -1
  308. package/dist/assets/toCOABalancesWithID-D35Fk0m2-devRZ_lq.js +0 -1
  309. package/dist/assets/uploadReceipts-Dge0cNF1-BfejUd9f.js +0 -1
@@ -1,28 +1,28 @@
1
- import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o as r,aO as k,i as G,b as B,cu as Oe,y as p,N as M,a as O,al as H,p as S,b0 as We,ag as U,h as Z,h1 as Q,ai as z,aq as De,jZ as Ne,bS as Ee,bP as Ae,aU as Ve,d as fe,am as W,as as He,R as $e,ba as Fe,j_ as X,i$ as Ke,cA as Ye,j$ as ye,T as be,cf as ve,gu as v,aC as Ge,k0 as je,cj as Ce,g7 as Je}from"./index-B4SkrUUS.js";import{a as f}from"./sentry-BBFZ4Apy.js";import{n as t}from"./mui-DUBEtzg-.js";import{C as ke}from"./gift-box-Cmt9OgIZ-BxnAFpgS.js";import{Gc as te,Gd as y,Ge as P}from"./zeni-epic-state-CbQxc4HL.js";import"./liveblocks-Dh9EWLXD.js";import"./core-TLZ6PfaT.js";import"./recharts-ZbSULBPo.js";import"./lottie-osIcf0zV.js";import"./analytics-BFo1DlpM.js";import"./lexical-DGcsrY0x.js";import"./utils-DvDl_6hs.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="e9c9661c-feb0-4757-b49e-b8dae4aa902c",e._sentryDebugIdIdentifier="sentry-dbid-e9c9661c-feb0-4757-b49e-b8dae4aa902c")}catch{}})();const Se=(e,i)=>{f.useEffect(()=>{const n=e.current;if(window.IntersectionObserver==null)return;const c=new IntersectionObserver(([a])=>{i&&i(a.isIntersecting)},{root:null,rootMargin:r.sp0,threshold:.1});return n&&c.observe(n),()=>{n&&c.unobserve(n)}})},qe={pageTitleMarginLeft:new p(s[4],s[6])},Ue=t.div`
1
+ import{d as N,J as j,V as o,bD as _e,h0 as V,ao as Me,h4 as Be,u as s,F as b,o as r,aO as k,i as G,b as B,cu as We,y as p,H as M,a as W,al as H,p as S,b0 as Oe,ag as U,h as Q,h3 as X,ai as z,aq as De,j$ as Ae,bS as Ee,bP as Ne,aU as Ve,c as fe,am as O,as as He,R as $e,ba as Fe,k0 as Z,j1 as Ke,cA as Ye,k1 as ye,T as be,cf as ve,gw as v,aC as Ge,k2 as je,cj as Ce,g9 as Je}from"./index-DOsjGhSZ.js";import{a as f}from"./sentry-otjdlEta.js";import{n as t}from"./mui-B2MHg-Mu.js";import{C as ke}from"./gift-box-Cmt9OgIZ-DQLMM0Jc.js";import{Gi as te,Gj as y,Gk as P}from"./zeni-epic-state-DVinyIRY.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="305639a2-d766-46b3-87ef-c03a6a433762",e._sentryDebugIdIdentifier="sentry-dbid-305639a2-d766-46b3-87ef-c03a6a433762")}catch{}})();const Se=(e,i)=>{f.useEffect(()=>{const n=e.current;if(window.IntersectionObserver==null)return;const c=new IntersectionObserver(([a])=>{i&&i(a.isIntersecting)},{root:null,rootMargin:r.sp0,threshold:.1});return n&&c.observe(n),()=>{n&&c.unobserve(n)}})},qe={pageTitleMarginLeft:new p(s[4],s[6])},Ue=t.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
  display: flex;
5
5
  flex-wrap: wrap;
6
6
  gap: ${e=>qe.pageTitleMarginLeft.valuePx(e.windowSize)};
7
7
  margin-top: ${r.sp4};
8
- `,Ze=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
- `,Qe=t(U)`
14
+ `,Xe=t(U)`
15
15
  height: ${r.sp3};
16
16
  width: ${r.sp3};
17
17
  color: ${e=>e.theme.colors.hero};
18
- `,Xe=t(Q)`
18
+ `,Ze=t(X)`
19
19
  width: ${r.sp3};
20
20
  height: ${r.sp3};
21
- `,eo=t(Z)`
21
+ `,eo=t(Q)`
22
22
  width: ${r.sp3};
23
23
  height: ${r.sp3};
24
24
  color: ${S.success};
25
- `;function ze({referralLink:e,onInviteClick:i,onCopyReferral:n,setShowNavButton:c}){const[,a]=V(),[l,d]=f.useState(!1),h=j(),g=A(),x=()=>{n(),l||(a(e.toString()),d(!0))};f.useEffect(()=>{l===!0&&setTimeout(()=>{d(!1)},2e3)},[l]);const u=f.useRef(null);Se(u,c);const w=b.getLocalizedStrings().rewardsPage.rewardsCard;return o.jsxs(Ue,{windowSize:h,children:[o.jsx(Ze,{ref:u,children:o.jsx(G,{variant:"secondary",label:w.inviteViaEmail,onClick:i,prefixIcon:o.jsx(Qe,{}),textStyle:{...B.smallRegular.cssObject,color:`${g.colors.hero}`},style:{borderRadius:`${r.sp1}`,border:`1px solid ${g.colors.grey1}`,backgroundColor:"transparent",padding:`${r.sp2} 12px`,minWidth:"154px",flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center"}})}),o.jsx(G,{variant:"secondary",label:l?w.copied:w.copyReferralLink,onClick:x,prefixIcon:l?o.jsx(eo,{}):o.jsx(Xe,{}),textStyle:{...B.smallRegular.cssObject,color:`${g.colors.hero}`},style:{borderRadius:`${r.sp1}`,border:`1px solid ${g.colors.grey1}`,backgroundColor:"transparent",padding:`${r.sp2} ${l?"47px":"12px"}`,minWidth:"154px",flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center"}})]})}const J={logoWidth:new p(95,135),minWidth:new p(256,360),maxWidth:new p(270,380)},Pe={title:new M("smallRegular","largeRegular"),cardDetail:new M("h5Regular","h2Regular")};function Re({planAmount:e}){const i=j(),{rewardsPage:{rewardsCard:n}}=b.getLocalizedStrings();return o.jsxs(oo,{windowSize:i,children:[o.jsxs(ro,{children:[o.jsx(no,{windowSize:i,children:n.bonus}),o.jsx(so,{windowSize:i,children:k("0,0",e)})]}),o.jsx(to,{windowSize:i,children:o.jsx(io,{})})]})}const oo=t.div`
25
+ `;function ze({referralLink:e,onInviteClick:i,onCopyReferral:n,setShowNavButton:c}){const[,a]=V(),[l,d]=f.useState(!1),h=j(),g=N(),x=()=>{n(),l||(a(e.toString()),d(!0))};f.useEffect(()=>{l===!0&&setTimeout(()=>{d(!1)},2e3)},[l]);const u=f.useRef(null);Se(u,c);const w=b.getLocalizedStrings().rewardsPage.rewardsCard;return o.jsxs(Ue,{windowSize:h,children:[o.jsx(Qe,{ref:u,children:o.jsx(G,{variant:"secondary",label:w.inviteViaEmail,onClick:i,prefixIcon:o.jsx(Xe,{}),textStyle:{...B.smallRegular.cssObject,color:`${g.colors.hero}`},style:{borderRadius:`${r.sp1}`,border:`1px solid ${g.colors.grey1}`,backgroundColor:"transparent",padding:`${r.sp2} 12px`,minWidth:"154px",flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center"}})}),o.jsx(G,{variant:"secondary",label:l?w.copied:w.copyReferralLink,onClick:x,prefixIcon:l?o.jsx(eo,{}):o.jsx(Ze,{}),textStyle:{...B.smallRegular.cssObject,color:`${g.colors.hero}`},style:{borderRadius:`${r.sp1}`,border:`1px solid ${g.colors.grey1}`,backgroundColor:"transparent",padding:`${r.sp2} ${l?"47px":"12px"}`,minWidth:"154px",flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center"}})]})}const J={logoWidth:new p(95,135),minWidth:new p(256,360),maxWidth:new p(270,380)},Pe={title:new M("smallRegular","largeRegular"),cardDetail:new M("h5Regular","h2Regular")};function Re({planAmount:e}){const i=j(),{rewardsPage:{rewardsCard:n}}=b.getLocalizedStrings();return o.jsxs(oo,{windowSize:i,children:[o.jsxs(ro,{children:[o.jsx(no,{windowSize:i,children:n.bonus}),o.jsx(so,{windowSize:i,children:k("0,0",e)})]}),o.jsx(to,{windowSize:i,children:o.jsx(io,{})})]})}const oo=t.div`
26
26
  display: flex;
27
27
  height: 100%;
28
28
  min-width: ${e=>J.minWidth.valuePx(e.windowSize)};
@@ -51,10 +51,10 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
51
51
  position: absolute;
52
52
  bottom: 0;
53
53
  right: 0;
54
- `,no=t(O)`
54
+ `,no=t(W)`
55
55
  ${e=>`${Pe.title.style(e.windowSize)}`};
56
56
  color: ${e=>e.theme.colors.graphColor17};
57
- `,so=t(O)`
57
+ `,so=t(W)`
58
58
  color: ${e=>e.theme.colors.brandColorGold};
59
59
  ${e=>`${Pe.cardDetail.style(e.windowSize)}`};
60
60
  `;function ao({rewardsPlan:e,onInviteClick:i,onHowItWorksClick:n,onCopyReferral:c}){const a=j(),[,l]=V(),[d,h]=f.useState(!1),g=()=>{c(),d||(l(e.referralLink.toString()),h(!0))};f.useEffect(()=>{d===!0&&setTimeout(()=>{h(!1)},2e3)},[d]);const{rewardsPage:{referAndEarn:x,rewardsCard:u,statisticsCard:{knowMore:w}}}=b.getLocalizedStrings();return o.jsxs(lo,{children:[o.jsxs(co,{children:[o.jsxs(fo,{children:[o.jsx(go,{children:x}),o.jsx(mo,{children:u.rewardsSummary[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))}),o.jsx(uo,{onClick:n,children:w})]}),o.jsxs(po,{children:[o.jsxs(xo,{onClick:i,children:[o.jsx(wo,{}),u.inviteViaEmail]}),o.jsx($o,{onClick:g,isCopied:d,children:d?o.jsxs(o.Fragment,{children:[o.jsx(bo,{}),u.copied]}):o.jsxs(o.Fragment,{children:[o.jsx(yo,{}),u.copyReferralLink]})})]})]}),a==="medium-compact"||a==="medium-regular"?null:o.jsx(ho,{children:o.jsx(Re,{planAmount:e.referrerAmount})})]})}const lo=t.div`
@@ -103,7 +103,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
103
103
  &:hover {
104
104
  color: ${e=>e.theme.colors.champion};
105
105
  }
106
- `,xo=t(X)`
106
+ `,xo=t(Z)`
107
107
  border: 1px solid ${e=>e.theme.colors.primary};
108
108
  border-radius: ${r.sp2};
109
109
  background-color: ${e=>e.theme.colors.primary};
@@ -128,7 +128,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
128
128
  flex: 0 1 auto;
129
129
  flex-direction: column;
130
130
  align-items: flex-start;
131
- `,$o=t(X)`
131
+ `,$o=t(Z)`
132
132
  border: 1px solid ${e=>e.theme.colors.primary};
133
133
  border-radius: ${r.sp2};
134
134
  background-color: ${e=>e.isCopied?e.theme.colors.champion:e.theme.colors.primary};
@@ -143,11 +143,11 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
143
143
  background-color: ${e=>e.theme.colors.champion};
144
144
  border: 1px solid ${e=>e.theme.colors.champion};
145
145
  }
146
- `,yo=t(Q)`
146
+ `,yo=t(X)`
147
147
  width: ${r.sp3};
148
148
  height: ${r.sp3};
149
149
  margin-right: ${r.sp2};
150
- `,bo=t(Z)`
150
+ `,bo=t(Q)`
151
151
  width: ${r.sp3};
152
152
  height: ${r.sp3};
153
153
  color: ${S.success};
@@ -183,14 +183,14 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
183
183
  `,So=t(fe)`
184
184
  color: ${e=>e.theme.colors.primary};
185
185
  margin-bottom: ${r.sp2};
186
- `,zo=t(W)`
186
+ `,zo=t(O)`
187
187
  color: ${e=>e.theme.colors.champion};
188
188
  margin-bottom: ${r.sp3};
189
189
  `,Po=t(He)`
190
190
  margin-bottom: ${r.sp3};
191
191
  color: ${e=>e.theme.mode==="light"?e.theme.colors.brandColorSapphire:e.theme.colors.brandColorJade};
192
192
  cursor: pointer;
193
- `;function Ro({rewardsPlan:e,onHowItWorksClick:i,onInviteClick:n,onCopyReferral:c}){return j()==="small"?o.jsx(vo,{rewardsPlan:e,onInviteClick:n,onHowItWorksClick:i,onCopyReferral:c}):o.jsx(ao,{rewardsPlan:e,onHowItWorksClick:i,onInviteClick:n,onCopyReferral:c})}function Lo({planAmount:e}){const{rewardsPage:{rewardsCard:i}}=b.getLocalizedStrings();return o.jsxs(Io,{children:[o.jsxs(To,{children:[o.jsx(Bo,{children:i.bonus}),o.jsx(Oo,{children:k("0,0",e)})]}),o.jsx(_o,{children:o.jsx(Mo,{})})]})}const Io=t.div`
193
+ `;function Ro({rewardsPlan:e,onHowItWorksClick:i,onInviteClick:n,onCopyReferral:c}){return j()==="small"?o.jsx(vo,{rewardsPlan:e,onInviteClick:n,onHowItWorksClick:i,onCopyReferral:c}):o.jsx(ao,{rewardsPlan:e,onHowItWorksClick:i,onInviteClick:n,onCopyReferral:c})}function Lo({planAmount:e}){const{rewardsPage:{rewardsCard:i}}=b.getLocalizedStrings();return o.jsxs(Io,{children:[o.jsxs(To,{children:[o.jsx(Bo,{children:i.bonus}),o.jsx(Wo,{children:k("0,0",e)})]}),o.jsx(_o,{children:o.jsx(Mo,{})})]})}const Io=t.div`
194
194
  display: flex;
195
195
  justify-content: space-between;
196
196
  height: 100%;
@@ -219,10 +219,10 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
219
219
  `,Bo=t(z)`
220
220
  color: ${e=>e.theme.colors.graphColor17};
221
221
  text-transform: uppercase;
222
- `,Oo=t($e)`
222
+ `,Wo=t($e)`
223
223
  color: ${e=>e.theme.colors.brandColorGold};
224
224
  margin-bottom: ${r.sp2};
225
- `,Wo={backgroundSize:new p(75,100,75)};function Do({rewardsPlan:e,onInviteClick:i,setShowNavButton:n,onCopyReferral:c}){const a=A(),l=j(),[,d]=V(),[h,g]=f.useState(!1),[x,u]=f.useState(!1),w=()=>{c(),h||(d(e.referralLink.toString()),g(!0))},C=()=>{u(!0)},m=()=>{u(!1)};f.useEffect(()=>{h===!0&&setTimeout(()=>{g(!1)},2e3)},[h]);const{rewardsCard:$,referAndEarn:T}=b.getLocalizedStrings().rewardsPage,R=f.useRef(null);Se(R,n);const K=x?o.jsx(ie,{showCopyText:x,isCopied:h,children:$.copyReferralLink}):null;return o.jsxs(No,{windowSize:l,children:[o.jsxs(Eo,{children:[o.jsx(Ho,{children:T}),o.jsx(Fo,{children:$.rewardsSummary[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))}),o.jsxs(Ao,{ref:R,children:[o.jsx(G,{variant:"secondary",label:$.inviteViaEmail,onClick:i,prefixIcon:o.jsx(Ko,{}),textStyle:{...B.standardRegular.cssObject},buttonColors:{borderColor:{default:a.colors.primary,hover:a.colors.champion,disabled:a.colors.primary},backgroundColor:{default:a.colors.primary,hover:a.colors.champion,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.grey5}},style:{borderRadius:r.sp1,padding:`${r.sp1} 12px`,flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center",marginRight:r.sp3}}),o.jsx(Yo,{onClick:w,onMouseOver:C,onMouseLeave:m,showCopyText:x,isCopied:h,children:o.jsx(Jo,{showCopyText:x,isCopied:h,children:o.jsx(Go,{})})}),o.jsx(Uo,{children:h?o.jsxs(o.Fragment,{children:[o.jsx(qo,{}),o.jsx(ie,{showCopyText:x,isCopied:h,children:$.copied})]}):K})]})]}),l==="medium-compact"||l==="medium-regular"?null:o.jsx(Vo,{children:o.jsx(Lo,{planAmount:e.referrerAmount})})]})}const No=t.div`
225
+ `,Oo={backgroundSize:new p(75,100,75)};function Do({rewardsPlan:e,onInviteClick:i,setShowNavButton:n,onCopyReferral:c}){const a=N(),l=j(),[,d]=V(),[h,g]=f.useState(!1),[x,u]=f.useState(!1),w=()=>{c(),h||(d(e.referralLink.toString()),g(!0))},C=()=>{u(!0)},m=()=>{u(!1)};f.useEffect(()=>{h===!0&&setTimeout(()=>{g(!1)},2e3)},[h]);const{rewardsCard:$,referAndEarn:T}=b.getLocalizedStrings().rewardsPage,R=f.useRef(null);Se(R,n);const K=x?o.jsx(ie,{showCopyText:x,isCopied:h,children:$.copyReferralLink}):null;return o.jsxs(Ao,{windowSize:l,children:[o.jsxs(Eo,{children:[o.jsx(Ho,{children:T}),o.jsx(Fo,{children:$.rewardsSummary[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))}),o.jsxs(No,{ref:R,children:[o.jsx(G,{variant:"secondary",label:$.inviteViaEmail,onClick:i,prefixIcon:o.jsx(Ko,{}),textStyle:{...B.standardRegular.cssObject},buttonColors:{borderColor:{default:a.colors.primary,hover:a.colors.champion,disabled:a.colors.primary},backgroundColor:{default:a.colors.primary,hover:a.colors.champion,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.grey5}},style:{borderRadius:r.sp1,padding:`${r.sp1} 12px`,flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center",marginRight:r.sp3}}),o.jsx(Yo,{onClick:w,onMouseOver:C,onMouseLeave:m,showCopyText:x,isCopied:h,children:o.jsx(Jo,{showCopyText:x,isCopied:h,children:o.jsx(Go,{})})}),o.jsx(Uo,{children:h?o.jsxs(o.Fragment,{children:[o.jsx(qo,{}),o.jsx(ie,{showCopyText:x,isCopied:h,children:$.copied})]}):K})]})]}),l==="medium-compact"||l==="medium-regular"?null:o.jsx(Vo,{children:o.jsx(Lo,{planAmount:e.referrerAmount})})]})}const Ao=t.div`
226
226
  display: flex;
227
227
  align-items: center;
228
228
  justify-content: space-between;
@@ -233,7 +233,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
233
233
  background-position: 160% 110%;
234
234
  background-repeat: no-repeat;
235
235
 
236
- background-size: ${e=>Wo.backgroundSize.valuePercentage(e.windowSize)};
236
+ background-size: ${e=>Oo.backgroundSize.valuePercentage(e.windowSize)};
237
237
  box-shadow: ${e=>`${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
238
238
  border: ${r.sp1} solid ${e=>e.theme.colors.grey5};
239
239
  border-radius: ${r.sp2};
@@ -244,7 +244,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
244
244
  justify-content: space-between;
245
245
  margin-left: ${r.sp6};
246
246
  margin-right: ${r.sp4};
247
- `,Ao=t.div`
247
+ `,No=t.div`
248
248
  display: flex;
249
249
  width: fit-content;
250
250
  flex-direction: row;
@@ -279,7 +279,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
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
- `,Go=t(Q)`
282
+ `,Go=t(X)`
283
283
  width: ${r.sp3};
284
284
  height: ${r.sp3};
285
285
  cursor: pointer;
@@ -287,7 +287,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
287
287
  display: flex;
288
288
  align-items: center;
289
289
  color: ${e=>e.showCopyText||e.isCopied?e.theme.colors.grey3:e.theme.colors.primary};
290
- `,qo=t(Z)`
290
+ `,qo=t(Q)`
291
291
  width: ${r.sp4};
292
292
  height: ${r.sp4};
293
293
  color: ${S.success};
@@ -305,13 +305,13 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
305
305
  background-color: ${e=>e.showCopyText||e.isCopied?e.theme.colors.black:"transparent"};
306
306
  padding: ${r.sp1} ${r.sp2};
307
307
  border-radius: ${r.sp1};
308
- `,Zo={height:new p(200,280)},F={earningValue:new M("h6Regular","h5Regular"),cardTitle:new M("extraSmallRegular","smallRegular"),buttonText:new M("extraSmallRegular","smallRegular")};function ne({pendingBonus:e,earnedBonus:i,pendingReferrals:n,onHowItWorksClick:c}){const{rewardsPage:{statisticsCard:a},common:{strings:l}}=b.getLocalizedStrings(),d=j();return o.jsxs(Qo,{windowSize:d,children:[o.jsx(Xo,{children:o.jsx(er,{windowSize:d,children:a.title})}),o.jsxs(or,{windowSize:d,children:[o.jsxs(se,{children:[o.jsx(ae,{children:a.earned}),o.jsx(le,{windowSize:d,type:"earned",children:k("0,0",i)})]}),d==="medium-compact"?o.jsx(tr,{}):o.jsx(rr,{}),o.jsxs(se,{children:[o.jsx(ae,{children:a.pending}),o.jsx(le,{windowSize:d,type:"pending",children:k("0,0",e)})]})]}),o.jsxs(ir,{children:[o.jsxs(nr,{windowSize:d,children:[a.pendingReferrals," ",l.colon," ",n]}),o.jsxs(ar,{windowSize:d,onClick:c,children:[a.knowMore," ",o.jsx(sr,{})]})]})]})}const Qo=t.div`
308
+ `,Qo={height:new p(200,280)},F={earningValue:new M("h6Regular","h5Regular"),cardTitle:new M("extraSmallRegular","smallRegular"),buttonText:new M("extraSmallRegular","smallRegular")};function ne({pendingBonus:e,earnedBonus:i,pendingReferrals:n,onHowItWorksClick:c}){const{rewardsPage:{statisticsCard:a},common:{strings:l}}=b.getLocalizedStrings(),d=j();return o.jsxs(Xo,{windowSize:d,children:[o.jsx(Zo,{children:o.jsx(er,{windowSize:d,children:a.title})}),o.jsxs(or,{windowSize:d,children:[o.jsxs(se,{children:[o.jsx(ae,{children:a.earned}),o.jsx(le,{windowSize:d,type:"earned",children:k("0,0",i)})]}),d==="medium-compact"?o.jsx(tr,{}):o.jsx(rr,{}),o.jsxs(se,{children:[o.jsx(ae,{children:a.pending}),o.jsx(le,{windowSize:d,type:"pending",children:k("0,0",e)})]})]}),o.jsxs(ir,{children:[o.jsxs(nr,{windowSize:d,children:[a.pendingReferrals," ",l.colon," ",n]}),o.jsxs(ar,{windowSize:d,onClick:c,children:[a.knowMore," ",o.jsx(sr,{})]})]})]})}const 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=>Zo.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,14 +319,14 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
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
- `,Xo=t.div`
322
+ `,Zo=t.div`
323
323
  display: flex;
324
324
  flex: 0 1 auto;
325
325
  width: 100%;
326
326
  align-items: center;
327
327
  justify-content: center;
328
328
  padding-top: ${r.sp4};
329
- `,er=t(O)`
329
+ `,er=t(W)`
330
330
  ${e=>`${F.cardTitle.style(e.windowSize)}`};
331
331
  color: ${e=>e.theme.colors.champion};
332
332
  margin-bottom: ${r.sp1};
@@ -354,7 +354,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
354
354
  border-top: 1px solid ${S.neutralGrey1Light};
355
355
  `,ae=t(H)`
356
356
  color: ${e=>e.theme.colors.primary};
357
- `,le=t(O)`
357
+ `,le=t(W)`
358
358
  ${e=>`${F.earningValue.style(e.windowSize)}`};
359
359
  color: ${e=>e.type==="pending"?S.alert:S.success};
360
360
  `,ir=t.div`
@@ -367,11 +367,11 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
367
367
  border-bottom-left-radius: ${r.sp2};
368
368
  padding: ${r.sp2} 0;
369
369
  background-color: ${e=>e.theme.colors.grey3};
370
- `,nr=t(O)`
370
+ `,nr=t(W)`
371
371
  ${e=>`${F.buttonText.style(e.windowSize)}`};
372
372
  margin-left: 12px;
373
373
  color: ${e=>e.theme.colors.primary};
374
- `,sr=t(We)`
374
+ `,sr=t(Oe)`
375
375
  color: ${e=>e.theme.colors.primary};
376
376
  width: 10px;
377
377
  height: 10px;
@@ -384,7 +384,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
384
384
  padding-right: 12px;
385
385
  color: ${e=>e.theme.colors.primary};
386
386
  ${e=>`${F.buttonText.style(e.windowSize)}`};
387
- `,lr=90,q=114,Le=160,dr=1,cr=58,pr=45,de=(e,i)=>i!=="small"?lr:Ne(e,{...B.standardRegular.cssPartialObject(["fontSize","fontFamily","fontWeight"])}).width<Le?q:q+24,{rewardsPage:{header:ee},common:{strings:ce}}=b.getLocalizedStrings(),hr={key:"invitee_email",value:ee.invitee_email,sortOrder:"ascending",width:new p(s[7],s[8],s[8],s[9])},gr={key:"amount",value:ee.amount,sortOrder:"ascending",width:new p(s[4],20,20,s[3])},mr={key:"status",value:ee.status,sortOrder:"ascending",width:new p(s[3],s[4],s[4],20)},E=[hr,mr,gr],ur=e=>{const i=e.toLowerCase().split(ce.space).join(ce.underscore);switch(e){case y.invite_processing:return{value:e,color:v.invite_processing.color,borderColor:v.invite_processing.borderColor,code:i};case y.invite_sent:return{value:e,color:v.invite_sent.color,borderColor:v.invite_sent.borderColor,code:i};case y.onboarding:return{value:e,color:v.onboarding.color,borderColor:v.onboarding.borderColor,code:i};case y.active:case y.reward_sent:return{value:e,color:v.active.color,borderColor:v.active.borderColor,code:i};case y.declined:return{value:e,color:v.declined.color,borderColor:v.declined.borderColor,code:i};case y.resend_invite:return{value:e,color:v.resend_invite.color,borderColor:v.resend_invite.borderColor,code:i};default:return{value:e,color:v.in_progress.color,borderColor:"",code:i}}},_={headerLastColumnTopPadding:new p(s[0],s[4]),headerLastColumnRightPadding:new p(s[3],s[11]),headerLastColumnBottomPadding:new p(s[0],s[4]),headerLastColumnLeftPadding:new p(s[3],s[11]),headerHeight:new p(pr,cr)};function xr({companyNameSticky:e,sortConfig:i,onColumnSortConfigChanged:n}){const c=A(),a=j(),[l,d]=f.useState(E);f.useEffect(()=>{const m=[...l];for(const $ of m)$.key===i.sortKey?$.sortOrder=i.sortOrder:$.sortOrder="ascending";d(m)},[i.sortKey,i.sortOrder]);const h=(m,$)=>{let T=$;i.sortKey===m&&(T=$==="ascending"?"descending":"ascending"),n(m,T)},g=l.find(m=>m.key===i.sortKey)??l[0],x=m=>l.find($=>$.key===m)?.value??C.strings.empty,u=l.map(m=>m.key),{rewardsPage:{inviteList:w},common:C}=b.getLocalizedStrings();return a==="small"?o.jsxs(pe,{windowSize:a,companyNameSticky:!1,children:[o.jsxs(fr,{children:[o.jsx(yr,{children:o.jsx($r,{})}),o.jsx(Ee,{title:w.sortBy,placeholder:w.sortBy,pickerValues:u,valueToLabel:x,selectedValue:i.sortKey,onPickerSelectionChanged:m=>{m&&h(te(m),"ascending")},optionTextStyle:B.smallRegular,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4,titleTextStyle:B.smallRegular,titleColor:c.colors.hero})]}),o.jsxs(vr,{onClick:()=>{h(g.key,g.sortOrder)},children:[o.jsx(z,{children:g.value}),o.jsx(he,{sortDataValue:i.sortKey,headerdata:g,children:o.jsx(ge,{})})]})]}):o.jsx(pe,{companyNameSticky:e,windowSize:a,children:l.map(m=>o.jsx(wr,{companyNameSticky:e&&m.key==="invitee_email",sortDataValue:i.sortKey,actualDataValue:m.key,wrapperWidth:m.width,windowSize:a,shouldRightAlign:m.value==="Amount",children:o.jsxs(br,{onClick:()=>{h(te(m.key),m.sortOrder)},children:[o.jsx(z,{children:m.value}),o.jsx(he,{sortDataValue:i.sortKey,headerdata:m,children:o.jsx(ge,{})})]})},m.key))})}const pe=t(z)`
387
+ `,lr=90,q=114,Le=160,dr=1,cr=58,pr=45,de=(e,i)=>i!=="small"?lr:Ae(e,{...B.standardRegular.cssPartialObject(["fontSize","fontFamily","fontWeight"])}).width<Le?q:q+24,{rewardsPage:{header:ee},common:{strings:ce}}=b.getLocalizedStrings(),hr={key:"invitee_email",value:ee.invitee_email,sortOrder:"ascending",width:new p(s[7],s[8],s[8],s[9])},gr={key:"amount",value:ee.amount,sortOrder:"ascending",width:new p(s[4],20,20,s[3])},mr={key:"status",value:ee.status,sortOrder:"ascending",width:new p(s[3],s[4],s[4],20)},E=[hr,mr,gr],ur=e=>{const i=e.toLowerCase().split(ce.space).join(ce.underscore);switch(e){case y.invite_processing:return{value:e,color:v.invite_processing.color,borderColor:v.invite_processing.borderColor,code:i};case y.invite_sent:return{value:e,color:v.invite_sent.color,borderColor:v.invite_sent.borderColor,code:i};case y.onboarding:return{value:e,color:v.onboarding.color,borderColor:v.onboarding.borderColor,code:i};case y.active:case y.reward_sent:return{value:e,color:v.active.color,borderColor:v.active.borderColor,code:i};case y.declined:return{value:e,color:v.declined.color,borderColor:v.declined.borderColor,code:i};case y.resend_invite:return{value:e,color:v.resend_invite.color,borderColor:v.resend_invite.borderColor,code:i};default:return{value:e,color:v.in_progress.color,borderColor:"",code:i}}},_={headerLastColumnTopPadding:new p(s[0],s[4]),headerLastColumnRightPadding:new p(s[3],s[11]),headerLastColumnBottomPadding:new p(s[0],s[4]),headerLastColumnLeftPadding:new p(s[3],s[11]),headerHeight:new p(pr,cr)};function xr({companyNameSticky:e,sortConfig:i,onColumnSortConfigChanged:n}){const c=N(),a=j(),[l,d]=f.useState(E);f.useEffect(()=>{const m=[...l];for(const $ of m)$.key===i.sortKey?$.sortOrder=i.sortOrder:$.sortOrder="ascending";d(m)},[i.sortKey,i.sortOrder]);const h=(m,$)=>{let T=$;i.sortKey===m&&(T=$==="ascending"?"descending":"ascending"),n(m,T)},g=l.find(m=>m.key===i.sortKey)??l[0],x=m=>l.find($=>$.key===m)?.value??C.strings.empty,u=l.map(m=>m.key),{rewardsPage:{inviteList:w},common:C}=b.getLocalizedStrings();return a==="small"?o.jsxs(pe,{windowSize:a,companyNameSticky:!1,children:[o.jsxs(fr,{children:[o.jsx(yr,{children:o.jsx($r,{})}),o.jsx(Ee,{title:w.sortBy,placeholder:w.sortBy,pickerValues:u,valueToLabel:x,selectedValue:i.sortKey,onPickerSelectionChanged:m=>{m&&h(te(m),"ascending")},optionTextStyle:B.smallRegular,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4,titleTextStyle:B.smallRegular,titleColor:c.colors.hero})]}),o.jsxs(vr,{onClick:()=>{h(g.key,g.sortOrder)},children:[o.jsx(z,{children:g.value}),o.jsx(he,{sortDataValue:i.sortKey,headerdata:g,children:o.jsx(ge,{})})]})]}):o.jsx(pe,{companyNameSticky:e,windowSize:a,children:l.map(m=>o.jsx(wr,{companyNameSticky:e&&m.key==="invitee_email",sortDataValue:i.sortKey,actualDataValue:m.key,wrapperWidth:m.width,windowSize:a,shouldRightAlign:m.value==="Amount",children:o.jsxs(br,{onClick:()=>{h(te(m.key),m.sortOrder)},children:[o.jsx(z,{children:m.value}),o.jsx(he,{sortDataValue:i.sortKey,headerdata:m,children:o.jsx(ge,{})})]})},m.key))})}const pe=t(z)`
388
388
  top: ${r.sp0};
389
389
  left: ${r.sp0};
390
390
  min-height: ${e=>_.headerHeight.valuePx(e.windowSize)};
@@ -440,7 +440,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
440
440
  cursor: pointer;
441
441
  gap: 5px;
442
442
  color: ${e=>e.theme.colors.hero};
443
- `,L={containerPaddingLeft:new p(s[3],s[4]),containerPaddingRight:new p(s[3],s[4]),containerPaddingTop:new p(s[2],12),containerPaddingBottom:new p(s[2],12),containerMarginLeft:new p(s[4],s[8]),containerMarginRight:new p(s[4],s[8]),webkitLineClamp:new p(2,1,1,1,1)},{dateFormat:jr,rewardsPage:{inviteList:Cr},common:me}=b.getLocalizedStrings(),kr=({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(jr.visual.YYYYDashMMDashDFormat));h=ye(72,u)}const g=n.value===y.reward_sent?P.received:P.to_be_received,x=c.fetchState==="In-Progress"?o.jsx(be,{size:"Small",start:!0}):o.jsxs(o.Fragment,{children:[o.jsx(Or,{color:n.color,onClick:()=>{l(e)},children:Cr.status.resend_invite}),o.jsx(Dr,{children:`${me.sent} ${ve(a)}`})]});return o.jsx(Sr,{windowSize:d,children:o.jsx(zr,{children:o.jsxs(Pr,{children:[o.jsxs(Rr,{windowSize:d,responsiveWidth:E[0].width,children:[o.jsx(Lr,{children:o.jsx(Nr,{})}),o.jsx(Ir,{windowSize:d,children:e})]}),o.jsx(Wr,{windowSize:d,responsiveWidth:E[1].width,children:n.value===y.invite_sent&&h?x:o.jsx(Er,{children:o.jsx(Br,{color:n.color,borderColor:n.borderColor,children:n.value===y.reward_sent?y.active:n.value})})}),o.jsx(Tr,{windowSize:d,responsiveWidth:E[2].width,amountStatus:g,children:n.value===y.declined?o.jsx(_r,{children:me.strings.hyphen}):o.jsxs(o.Fragment,{children:[k("0,0.[00]",i),o.jsx(Mr,{amountStatus:g,children:g})]})})]})})})},Sr=t.div`
443
+ `,L={containerPaddingLeft:new p(s[3],s[4]),containerPaddingRight:new p(s[3],s[4]),containerPaddingTop:new p(s[2],12),containerPaddingBottom:new p(s[2],12),containerMarginLeft:new p(s[4],s[8]),containerMarginRight:new p(s[4],s[8]),webkitLineClamp:new p(2,1,1,1,1)},{dateFormat:jr,rewardsPage:{inviteList:Cr},common:me}=b.getLocalizedStrings(),kr=({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(jr.visual.YYYYDashMMDashDFormat));h=ye(72,u)}const g=n.value===y.reward_sent?P.received:P.to_be_received,x=c.fetchState==="In-Progress"?o.jsx(be,{size:"Small",start:!0}):o.jsxs(o.Fragment,{children:[o.jsx(Wr,{color:n.color,onClick:()=>{l(e)},children:Cr.status.resend_invite}),o.jsx(Dr,{children:`${me.sent} ${ve(a)}`})]});return o.jsx(Sr,{windowSize:d,children:o.jsx(zr,{children:o.jsxs(Pr,{children:[o.jsxs(Rr,{windowSize:d,responsiveWidth:E[0].width,children:[o.jsx(Lr,{children:o.jsx(Ar,{})}),o.jsx(Ir,{windowSize:d,children:e})]}),o.jsx(Or,{windowSize:d,responsiveWidth:E[1].width,children:n.value===y.invite_sent&&h?x:o.jsx(Er,{children:o.jsx(Br,{color:n.color,borderColor:n.borderColor,children:n.value===y.reward_sent?y.active:n.value})})}),o.jsx(Tr,{windowSize:d,responsiveWidth:E[2].width,amountStatus:g,children:n.value===y.declined?o.jsx(_r,{children:me.strings.hyphen}):o.jsxs(o.Fragment,{children:[k("0,0.[00]",i),o.jsx(Mr,{amountStatus:g,children:g})]})})]})})})},Sr=t.div`
444
444
  display: flex;
445
445
  align-items: center;
446
446
  margin-bottom: ${r.sp3};
@@ -498,7 +498,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
498
498
  color: ${e=>e.theme.colors.hero};
499
499
  `,Mr=t(z)`
500
500
  color: ${e=>e.amountStatus===P.to_be_received?e.theme.colors.grey2:S.success};
501
- `,Br=t(W)`
501
+ `,Br=t(O)`
502
502
  display: flex;
503
503
  color: ${e=>e.color};
504
504
  height: 20px;
@@ -511,7 +511,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
511
511
  white-space: nowrap;
512
512
  border: ${e=>`1px solid ${e.borderColor}`};
513
513
  border-radius: ${r.sp1};
514
- `,Or=t(X)`
514
+ `,Wr=t(Z)`
515
515
  display: flex;
516
516
  color: ${e=>e.color};
517
517
  height: 20px;
@@ -525,7 +525,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
525
525
  background-color: transparent;
526
526
  padding: 0;
527
527
  cursor: pointer;
528
- `,Wr=t.div`
528
+ `,Or=t.div`
529
529
  position: relative;
530
530
  top: 2px;
531
531
  width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
@@ -536,11 +536,11 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
536
536
  flex-direction: column;
537
537
  align-items: flex-start;
538
538
  justify-content: center;
539
- `,Dr=t(W)`
539
+ `,Dr=t(O)`
540
540
  position: relative;
541
541
  top: 1px;
542
542
  color: ${e=>e.theme.colors.grey1};
543
- `,Nr=t(je)`
543
+ `,Ar=t(je)`
544
544
  height: ${r.sp6};
545
545
  width: ${r.sp6};
546
546
  flex-shrink: 0;
@@ -548,7 +548,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
548
548
  margin-right: ${r.sp1};
549
549
  `,Er=t.div`
550
550
  display: flex;
551
- `,I={containerPaddingLeft:new p(s[3],s[4]),containerPaddingRight:new p(s[3],s[4]),containerPaddingTop:new p(s[3],s[3]),containerPaddingBottom:new p(s[3],s[3]),containerMarginLeft:new p(s[3],s[8]),containerMarginRight:new p(s[3],s[8]),webkitLineClamp:new p(2,2,1,1,1)},{dateFormat:Ar,rewardsPage:{inviteList:Vr},common:ue}=b.getLocalizedStrings(),Hr=({email:e,amount:i,status:n,resendInviteStatus:c,inviteSendDate:a,onResendInviteClick:l})=>{const d=j();let h=!1;if(a){const u=new Date(a.format(Ar.visual.YYYYDashMMDashDFormat));h=ye(72,u)}const g=n.value===y.active?P.received:P.to_be_received,x=c.fetchState==="In-Progress"?o.jsx(be,{size:"Small",start:!0}):o.jsxs(o.Fragment,{children:[o.jsx(et,{color:n.color,onClick:()=>{l(e)},children:Vr.status.resend_invite}),o.jsx(ot,{children:`${ue.sent} ${ve(a)}`})]});return o.jsx(Fr,{windowSize:d,children:o.jsxs(Kr,{children:[o.jsxs(tt,{children:[o.jsxs(Yr,{children:[o.jsx(Gr,{children:o.jsx(rt,{})}),o.jsx(Jr,{windowSize:d,children:e})]}),o.jsx(qr,{amountStatus:g,children:n.value===y.declined?o.jsx(Ur,{children:ue.strings.hyphen}):o.jsxs(o.Fragment,{children:[k("0,0.[00]",i),o.jsx(Zr,{amountStatus:g,children:g})]})})]}),o.jsx(it,{children:o.jsx(Xr,{children:n.value===y.invite_sent&&h?x:o.jsx(nt,{children:o.jsx(Qr,{color:n.color,borderColor:n.borderColor,children:n.value})})})})]})})},Fr=t.div`
551
+ `,I={containerPaddingLeft:new p(s[3],s[4]),containerPaddingRight:new p(s[3],s[4]),containerPaddingTop:new p(s[3],s[3]),containerPaddingBottom:new p(s[3],s[3]),containerMarginLeft:new p(s[3],s[8]),containerMarginRight:new p(s[3],s[8]),webkitLineClamp:new p(2,2,1,1,1)},{dateFormat:Nr,rewardsPage:{inviteList:Vr},common:ue}=b.getLocalizedStrings(),Hr=({email:e,amount:i,status:n,resendInviteStatus:c,inviteSendDate:a,onResendInviteClick:l})=>{const d=j();let h=!1;if(a){const u=new Date(a.format(Nr.visual.YYYYDashMMDashDFormat));h=ye(72,u)}const g=n.value===y.active?P.received:P.to_be_received,x=c.fetchState==="In-Progress"?o.jsx(be,{size:"Small",start:!0}):o.jsxs(o.Fragment,{children:[o.jsx(et,{color:n.color,onClick:()=>{l(e)},children:Vr.status.resend_invite}),o.jsx(ot,{children:`${ue.sent} ${ve(a)}`})]});return o.jsx(Fr,{windowSize:d,children:o.jsxs(Kr,{children:[o.jsxs(tt,{children:[o.jsxs(Yr,{children:[o.jsx(Gr,{children:o.jsx(rt,{})}),o.jsx(Jr,{windowSize:d,children:e})]}),o.jsx(qr,{amountStatus:g,children:n.value===y.declined?o.jsx(Ur,{children:ue.strings.hyphen}):o.jsxs(o.Fragment,{children:[k("0,0.[00]",i),o.jsx(Qr,{amountStatus:g,children:g})]})})]}),o.jsx(it,{children:o.jsx(Zr,{children:n.value===y.invite_sent&&h?x:o.jsx(nt,{children:o.jsx(Xr,{color:n.color,borderColor:n.borderColor,children:n.value})})})})]})})},Fr=t.div`
552
552
  display: flex;
553
553
  margin-bottom: ${r.sp3};
554
554
  background-color: ${e=>e.theme.colors.grey5};
@@ -596,9 +596,9 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
596
596
  margin-left: ${r.sp5};
597
597
  `,Ur=t(Ce)`
598
598
  color: ${e=>e.theme.colors.hero};
599
- `,Zr=t(W)`
599
+ `,Qr=t(O)`
600
600
  color: ${e=>e.amountStatus===P.to_be_received?e.theme.colors.grey2:e.theme.colors.success};
601
- `,Qr=t(W)`
601
+ `,Xr=t(O)`
602
602
  color: ${e=>e.color};
603
603
  height: 20px;
604
604
  align-items: center;
@@ -611,7 +611,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
611
611
  display: inline-flex;
612
612
  border: ${e=>`1px solid ${e.borderColor}`};
613
613
  border-radius: ${r.sp1};
614
- `,Xr=t.div`
614
+ `,Zr=t.div`
615
615
  width: 100%;
616
616
  color: ${e=>e.theme.colors.hero};
617
617
  box-sizing: border-box;
@@ -633,7 +633,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
633
633
  background-color: transparent;
634
634
  padding: 0;
635
635
  cursor: pointer;
636
- `,ot=t(W)`
636
+ `,ot=t(O)`
637
637
  color: ${e=>e.theme.colors.grey1};
638
638
  box-sizing: border-box;
639
639
  display: flex;
@@ -658,7 +658,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
658
658
  display: flex;
659
659
  flex-direction: column;
660
660
  align-items: flex-end;
661
- `,D={pageTitleMarginLeft:new p(s[3],s[8]),pageTitleMarginRight:new p(s[3],s[8]),pageTitleMarginTop:new p(s[4],s[5]),pageTitleMarginBottom:new p(s[3],s[3])},st={pageTitle:new M("standardSemiBold","largeSemiBold")},xe=b.getLocalizedStrings(),at=({index:e,style:i,inviteList:n,onResendInviteClick:c})=>{const a=j(),l=n[e],d=a==="small"?Hr:kr;return o.jsx(xt,{style:{...i,width:"100%"},children:o.jsx(d,{email:l.refereeEmailId,amount:l.amount,status:ur(l.statusCode),resendInviteStatus:l.resendInviteStatus,onResendInviteClick:c,inviteSendDate:l.lastInviteTimestamp})})},lt=({inviteList:e,uiState:i,fetchState:n,onResendInviteClick:c,onReloadInvitees:a,onColumnSortConfigChanged:l})=>{const d=j(),h=w=>{const C=e[w].refereeEmailId;return de(C,d)},g=e.reduce((w,C)=>w+de(C.refereeEmailId,d),0),x=f.useRef(null);f.useEffect(()=>{x.current?.resetAfterIndex(0)},[d,x]);let u=null;switch(n){case"Not-Started":case"In-Progress":u=o.jsx(Je,{fetchState:n});break;case"Error":u=o.jsxs(ct,{children:[o.jsx(pt,{onClick:a,children:o.jsx(ht,{})}),o.jsx(gt,{children:xe.peoplePage.reloadPage.label})]});break;case"Completed":e.length!==0&&(u=o.jsxs(ut,{windowSize:d,children:[o.jsx(mt,{windowSize:d,children:xe.rewardsPage.inviteList.pageTitle}),o.jsx(xr,{companyNameSticky:!1,onColumnSortConfigChanged:l,sortConfig:{sortKey:i.sortKey,sortOrder:i.sortOrder}}),o.jsx(Oe,{ref:x,height:g,width:"100%",itemCount:e.length,itemSize:h,estimatedItemSize:q,itemKey:w=>e[w].refereeEmailId,overscanCount:dr,initialScrollOffset:0,children:w=>o.jsx(at,{...w,inviteList:e,onResendInviteClick:c})})]}))}return o.jsx(dt,{children:u})},dt=t.div`
661
+ `,D={pageTitleMarginLeft:new p(s[3],s[8]),pageTitleMarginRight:new p(s[3],s[8]),pageTitleMarginTop:new p(s[4],s[5]),pageTitleMarginBottom:new p(s[3],s[3])},st={pageTitle:new M("standardSemiBold","largeSemiBold")},xe=b.getLocalizedStrings(),at=({index:e,style:i,inviteList:n,onResendInviteClick:c})=>{const a=j(),l=n[e],d=a==="small"?Hr:kr;return o.jsx(xt,{style:{...i,width:"100%"},children:o.jsx(d,{email:l.refereeEmailId,amount:l.amount,status:ur(l.statusCode),resendInviteStatus:l.resendInviteStatus,onResendInviteClick:c,inviteSendDate:l.lastInviteTimestamp})})},lt=({inviteList:e,uiState:i,fetchState:n,onResendInviteClick:c,onReloadInvitees:a,onColumnSortConfigChanged:l})=>{const d=j(),h=w=>{const C=e[w].refereeEmailId;return de(C,d)},g=e.reduce((w,C)=>w+de(C.refereeEmailId,d),0),x=f.useRef(null);f.useEffect(()=>{x.current?.resetAfterIndex(0)},[d,x]);let u=null;switch(n){case"Not-Started":case"In-Progress":u=o.jsx(Je,{fetchState:n});break;case"Error":u=o.jsxs(ct,{children:[o.jsx(pt,{onClick:a,children:o.jsx(ht,{})}),o.jsx(gt,{children:xe.peoplePage.reloadPage.label})]});break;case"Completed":e.length!==0&&(u=o.jsxs(ut,{windowSize:d,children:[o.jsx(mt,{windowSize:d,children:xe.rewardsPage.inviteList.pageTitle}),o.jsx(xr,{companyNameSticky:!1,onColumnSortConfigChanged:l,sortConfig:{sortKey:i.sortKey,sortOrder:i.sortOrder}}),o.jsx(We,{ref:x,height:g,width:"100%",itemCount:e.length,itemSize:h,estimatedItemSize:q,itemKey:w=>e[w].refereeEmailId,overscanCount:dr,initialScrollOffset:0,children:w=>o.jsx(at,{...w,inviteList:e,onResendInviteClick:c})})]}))}return o.jsx(dt,{children:u})},dt=t.div`
662
662
  display: block;
663
663
  height: 100%;
664
664
  `,ct=t.div`
@@ -677,7 +677,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
677
677
  background: ${e=>e.theme.colors.background};
678
678
  border-radius: 50%;
679
679
  cursor: pointer;
680
- `,ht=t(Ae)`
680
+ `,ht=t(Ne)`
681
681
  height: ${r.sp5};
682
682
  width: ${r.sp5};
683
683
  color: ${e=>e.theme.colors.grey1};
@@ -687,7 +687,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
687
687
  `,gt=t(Ve)`
688
688
  margin-top: ${r.sp3};
689
689
  color: ${e=>e.theme.colors.hero};
690
- `,mt=t(O)`
690
+ `,mt=t(W)`
691
691
  ${e=>`${st.pageTitle.style(e.windowSize)}`};
692
692
  margin-top: ${e=>D.pageTitleMarginTop.valuePx(e.windowSize)};
693
693
  margin-bottom: ${e=>D.pageTitleMarginBottom.valuePx(e.windowSize)};
@@ -705,7 +705,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
705
705
  &:last-child {
706
706
  padding-bottom: ${r.sp0};
707
707
  }
708
- `,wt={referralButtonRightPosition:new p(-4,28,28,-4)},{rewardsPage:{referButton:Y},common:{texts:N}}=b.getLocalizedStrings();function ft(e){const i=j(),[n,c]=f.useState(!1),[,a]=V(),[l,d]=f.useState(!1),h=()=>{e.onCopyReferralLink(),l||(a(e.referralLink.toString()),d(!0))};return f.useEffect(()=>{l===!0&&setTimeout(()=>{d(!1),c(!1)},2e3)},[l]),o.jsx($t,{windowSize:i,children:o.jsx(Me,{onClickAway:()=>{c(!1)},children:o.jsx(yt,{onClick:()=>{n||e.onClickRefer(),c(!0)},onTouchEnd:()=>{n||e.onClickRefer(),c(!0)},children:o.jsx(Be,{entity:"rewards",isMoreOption:!1,closeMenuOnSelect:!1,isMenuOpen:n,title:N.refer,options:[{label:Y.inviteViaEmail,value:N.invite},{label:l?Y.urlCopied:Y.copyReferralUrl,value:l?N.copied:N.copy}],customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),container:()=>({marginLeft:s[0]}),valueContainer:()=>({display:"flex"})},onOptionSelection:g=>{switch(g){case"invite":e.onInviteClick();break;case"copy":h();break}}})})})})}const $t=t.div`
708
+ `,wt={referralButtonRightPosition:new p(-4,28,28,-4)},{rewardsPage:{referButton:Y},common:{texts:A}}=b.getLocalizedStrings();function ft(e){const i=j(),[n,c]=f.useState(!1),[,a]=V(),[l,d]=f.useState(!1),h=()=>{e.onCopyReferralLink(),l||(a(e.referralLink.toString()),d(!0))};return f.useEffect(()=>{l===!0&&setTimeout(()=>{d(!1),c(!1)},2e3)},[l]),o.jsx($t,{windowSize:i,children:o.jsx(Me,{onClickAway:()=>{c(!1)},children:o.jsx(yt,{onClick:()=>{n||e.onClickRefer(),c(!0)},onTouchEnd:()=>{n||e.onClickRefer(),c(!0)},children:o.jsx(Be,{entity:"rewards",isMoreOption:!1,closeMenuOnSelect:!1,isMenuOpen:n,title:A.refer,options:[{label:Y.inviteViaEmail,value:A.invite},{label:l?Y.urlCopied:Y.copyReferralUrl,value:l?A.copied:A.copy}],customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),container:()=>({marginLeft:s[0]}),valueContainer:()=>({display:"flex"})},onOptionSelection:g=>{switch(g){case"invite":e.onInviteClick();break;case"copy":h();break}}})})})})}const $t=t.div`
709
709
  position: absolute;
710
710
  right: ${e=>wt.referralButtonRightPosition.valuePx(e.windowSize)};
711
711
  `,yt=t.div`
@@ -716,7 +716,7 @@ import{e as A,J as j,V as o,bD as _e,g_ as V,ao as Me,h2 as Be,u as s,F as b,o a
716
716
  &:hover {
717
717
  color: ${e=>e.theme.colors.primary};
718
718
  }
719
- `,bt=b.getLocalizedStrings().rewardsPage,Dt=e=>{const i=A(),n=j(),{pendingBonus:c,earnedBonus:a,rewardsPlan:l,pendingReferrals:d,inviteList:h,uiState:g,fetchState:x,onInviteClick:u,onBackClick:w,onHowItWorksClick:C,onReloadInvitees:m,onResendInviteClick:$,onColumnSortConfigChanged:T,onCopyReferralLink:R,onClickRefer:K,onClickMenuIcon:Ie}=e,[Te,oe]=f.useState(!0);let re=null;return Te||(re=o.jsx(ft,{referralLink:l.referralLink,onInviteClick:u,onClickRefer:K,onCopyReferralLink:R})),o.jsxs(vt,{children:[o.jsx(_e,{source:"InvitePageListView",title:bt.pageTitle,showBackButton:!0,backgroundColor:i.colors.grey4,style:{zIndex:3},onBackClick:w,showMenuIcon:n==="medium-compact"||n==="small",onClickMenuIcon:Ie,rightSideComponent:re}),h.length===0?o.jsx(kt,{children:o.jsx(Ro,{rewardsPlan:l,onHowItWorksClick:C,onInviteClick:u,onCopyReferral:R})}):o.jsxs(o.Fragment,{children:[n==="small"?o.jsxs(Ct,{children:[o.jsx(ne,{pendingBonus:c,earnedBonus:a,pendingReferrals:d,onHowItWorksClick:C}),o.jsx(ze,{referralLink:l.referralLink,onInviteClick:u,onCopyReferral:R,setShowNavButton:oe})]}):o.jsxs(jt,{children:[o.jsx(we,{children:o.jsx(ne,{pendingBonus:c,earnedBonus:a,pendingReferrals:d,onHowItWorksClick:C})}),o.jsx(we,{children:o.jsx(Do,{rewardsPlan:l,onInviteClick:u,setShowNavButton:oe,onCopyReferral:R})})]}),o.jsx(lt,{inviteList:h,fetchState:x,onReloadInvitees:m,onColumnSortConfigChanged:T,uiState:g,onResendInviteClick:$})]})]})},vt=t.div`
719
+ `,bt=b.getLocalizedStrings().rewardsPage,Dt=e=>{const i=N(),n=j(),{pendingBonus:c,earnedBonus:a,rewardsPlan:l,pendingReferrals:d,inviteList:h,uiState:g,fetchState:x,onInviteClick:u,onBackClick:w,onHowItWorksClick:C,onReloadInvitees:m,onResendInviteClick:$,onColumnSortConfigChanged:T,onCopyReferralLink:R,onClickRefer:K,onClickMenuIcon:Ie}=e,[Te,oe]=f.useState(!0);let re=null;return Te||(re=o.jsx(ft,{referralLink:l.referralLink,onInviteClick:u,onClickRefer:K,onCopyReferralLink:R})),o.jsxs(vt,{children:[o.jsx(_e,{source:"InvitePageListView",title:bt.pageTitle,showBackButton:!0,backgroundColor:i.colors.grey4,style:{zIndex:3},onBackClick:w,showMenuIcon:n==="medium-compact"||n==="small",onClickMenuIcon:Ie,rightSideComponent:re}),h.length===0?o.jsx(kt,{children:o.jsx(Ro,{rewardsPlan:l,onHowItWorksClick:C,onInviteClick:u,onCopyReferral:R})}):o.jsxs(o.Fragment,{children:[n==="small"?o.jsxs(Ct,{children:[o.jsx(ne,{pendingBonus:c,earnedBonus:a,pendingReferrals:d,onHowItWorksClick:C}),o.jsx(ze,{referralLink:l.referralLink,onInviteClick:u,onCopyReferral:R,setShowNavButton:oe})]}):o.jsxs(jt,{children:[o.jsx(we,{children:o.jsx(ne,{pendingBonus:c,earnedBonus:a,pendingReferrals:d,onHowItWorksClick:C})}),o.jsx(we,{children:o.jsx(Do,{rewardsPlan:l,onInviteClick:u,setShowNavButton:oe,onCopyReferral:R})})]}),o.jsx(lt,{inviteList:h,fetchState:x,onReloadInvitees:m,onColumnSortConfigChanged:T,uiState:g,onResendInviteClick:$})]})]})},vt=t.div`
720
720
  display: flex;
721
721
  width: 100%;
722
722
  height: 100vh;
@@ -0,0 +1,12 @@
1
+ import{J as X,fW as Y,d as ee,a9 as te,u as f,V as d,gS as le,ac as ne,aQ as oe,aS as se,o as re,y as D,cC as Z,fZ as q,f_ as A,f$ as N,F as ie,R as ae}from"./index-DOsjGhSZ.js";import{a as w}from"./sentry-otjdlEta.js";import{n as K}from"./mui-B2MHg-Mu.js";import{FL as de,bg as ce}from"./zeni-epic-state-DVinyIRY.js";import{f as ue}from"./AllUserItems-BIf1v0a5-B9sgoKVP.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";import"./LabeledUserSingleSelectWithSubtitlesField-BVZg_rlX-BekpWR05.js";import"./RoleWithToolTip-BBbrv_x_-D8MqiafD.js";import"./LabeledZeniRolesDropDownField-DS1icRVA-0u4rotdW.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="067b32df-8ea3-4ffc-9644-79800e950c31",e._sentryDebugIdIdentifier="sentry-dbid-067b32df-8ea3-4ffc-9644-79800e950c31")}catch{}})();const L={containerPaddingLeft:new D(f[3],f[6],f[8]),containerPaddingRight:new D(f[3],f[6],f[8]),buttonWidth:new D(85,85)},V="editPeoplePage",_="userItems",p=ie.getLocalizedStrings().peoplePage,Pe=({peopleDetails:e,managersList:t,classList:g,controllersList:S,mode:o,isZeniTenant:x,onPeopleLocalDataUpdated:I,onCloseClick:T,onSaveClick:r,isReimbursementDisabled:O,isZeniAccountsDisabled:s,isChargeCardDisabled:k,isTreasuryDisabled:E,isBankingOnlyTenant:R,isCardsOnlyTenant:$,isLiteRoleDisabled:U})=>{const c=X(),[Q,W]=w.useState(-1),[B,P]=w.useState(""),j=w.useRef(null),z=w.useMemo(()=>Y(O,s,k,R,$,U,E),[O,s,k,R,$,U,E]),F=ee(),i=te({mode:"onBlur",reValidateMode:"onChange",defaultValues:J(e.people,o,z,t,g,R,$),values:J(e.people,o,z,t,g,R,$)}),M=i.handleSubmit(()=>{G()?r():console.warn("Invite People form error")}),G=()=>{const l=i.getValues();let n=!0;return l.userItems.forEach((y,C)=>{const{role:a,nonZeniRole:v,department:u,manager:m}=y;if(o==="zeni_only")a?.selectedOptions==null&&(i.setError(`${_}.${C}.role`,{type:"required"}),n=!1);else{const b=v?.userRole.selectedRole;(b!=null&&v!=null?v.productsByUserRole[b].map(h=>h.selectedOption).filter(h=>h!=null):[]).length<1&&(i.setError(`${_}.${C}.nonZeniRole.userRole.selectedRole`,{type:"required"}),n=!1),u?.selectedOption==null&&b!=="investor_or_banker"&&!R&&!$&&(i.setError(`${_}.${C}.department`,{type:"required"}),n=!1),m?.selectedUser==null&&b!=="investor_or_banker"&&(i.setError(`${_}.${C}.manager`,{type:"required"}),n=!1)}}),n},H=async(l,n)=>{const y=[],{userItems:C}=n;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(h=>de(h.selectedOption?.value)).filter(h=>h!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const b=ce(m);v={email:a.email,role:m,departmentId:b?void 0:a.department?.selectedOption?.value,managerId:b?void 0:a.manager?.selectedUser}}y.push(v)}),I(y)};return w.useEffect(()=>{const l=i.watch((n,{name:y})=>{y!=null&&n!=null&&H(y,n)});return()=>{l.unsubscribe()}}),w.useEffect(()=>{const l=j.current,n=()=>{c!=="small"&&(l&&l?.scrollTop>f[9]?P(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):P(""))};return c==="small"?P(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):l&&l?.scrollTop<=f[9]&&P(""),l&&l.addEventListener("scroll",n),()=>{l&&l.removeEventListener("scroll",n)}},[o,B,c]),d.jsxs(d.Fragment,{children:[d.jsx(le,{title:B,backgroundColor:F.colors.grey4,style:{zIndex:4},onCloseClick:T,isTitleAlignLeft:c==="small"}),d.jsxs(me,{"data-testid":oe("invite-people-container"),windowSize:c,ref:j,children:[c!=="small"?d.jsx(pe,{children:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ne,{...i,children:d.jsx("form",{id:`${V}_form`,onSubmit:M,children:d.jsx(ue,{control:i.control,sectionId:_,deleteConfirmationIndex:Q,updateDeleteConfirmationIndex:W,mode:o,isZeniTenant:x,classList:g,managersList:t,controllersList:S,isBankingOnlyTenant:R,isCardsOnlyTenant:$,customerRoleOptions:z,isEdit:!1})})})]}),d.jsx(se,{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:T},separatorStyle:{marginRight:re.sp4}})]})},J=(e,t,g,S,o,x,I)=>{const T=[{userIndex:0,email:[],role:t==="zeni_only"?{allOptions:Z.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:e[0]?.role.length>0?N(e[0].role):void 0,allRootRole:A(x,I)},productsByUserRole:q(e[0]?.role??[],g)}:void 0,department:void 0,manager:void 0}];return{[_]:e.length>0?e.map((r,O)=>({userIndex:O,email:r.email,role:t==="zeni_only"?{allOptions:Z.roles,selectedOptions:r.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:r.role.length>0?N(r.role):void 0,allRootRole:A(x,I)},productsByUserRole:q(r.role,g)}:void 0,department:{allOptions:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})),selectedOption:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})).find(s=>s.value===r.departmentId)},manager:{allUsers:S,selectedUser:r.managerId}})):T}},Le=(e,t)=>`${e}.${t}`,me=K.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ background-color: ${e=>e.theme.colors.grey4};
5
+
6
+ padding-left: ${e=>`${L.containerPaddingLeft.valuePx(e.windowSize)}`};
7
+ padding-right: ${e=>`${L.containerPaddingRight.valuePx(e.windowSize)}`};
8
+ overflow-x: hidden;
9
+ height: 100%;
10
+ `,pe=K(ae)`
11
+ color: ${e=>e.theme.colors.primary};
12
+ `;export{Pe as default,Le as uniqueName};
@@ -1,4 +1,4 @@
1
- import{e as s1,J as d1,F as q,V as l,T as K,o as i,p as d,y as B,gA as L1,gB as B1,aQ as J,cq as E1,cr as j1,cs as z1,as as A1,ba as c1,u as C,b as o1,a as T1,d as H1,ai as p1,gC as P1}from"./index-B4SkrUUS.js";import{a as t}from"./sentry-BBFZ4Apy.js";import{n as o}from"./mui-DUBEtzg-.js";import R1 from"./AttachmentView-duTVxc9g-BUPi4zJZ.js";import{l as M1}from"./uploadReceipts-Dge0cNF1-BfejUd9f.js";import"./liveblocks-Dh9EWLXD.js";import"./core-TLZ6PfaT.js";import"./recharts-ZbSULBPo.js";import"./zeni-epic-state-CbQxc4HL.js";import"./lottie-osIcf0zV.js";import"./analytics-BFo1DlpM.js";import"./lexical-DGcsrY0x.js";import"./utils-DvDl_6hs.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},x=new e.Error().stack;x&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[x]="c46cc703-6683-4be6-815e-dd8330bfcd15",e._sentryDebugIdIdentifier="sentry-dbid-c46cc703-6683-4be6-815e-dd8330bfcd15")}catch{}})();const V1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),t.createElement("g",{mask:"url(#mask0_623_1439)"},t.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),I1=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"})))),_1=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M15.4931 3.87109H11.4776C10.5275 3.89973 9.62765 4.30445 8.97582 4.99631C8.324 5.68817 7.97357 6.61054 8.00156 7.56068C7.99312 8.23377 8.16758 8.89652 8.50634 9.47821C8.84509 10.0599 9.33542 10.5387 9.92501 10.8635L13.5771 12.8038C14.1642 13.1295 14.6523 13.6079 14.9896 14.1884C15.3269 14.7688 15.5009 15.4297 15.4931 16.101C15.5211 17.0505 15.1712 17.9724 14.5202 18.6641C13.8691 19.3559 12.9702 19.761 12.0208 19.7906H8.00156",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.2829 19.7908V22.6001",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.1558 1V3.87113",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),g={memoPaddingTopBottomRight:new B(12,C[3]),billReceiptSize:new B(60,C[10]),rootContainerPaddingTop:new B(C[3],62),rootContainerPaddingRight:new B(C[3],C[6]),rootContainerPaddingBottom:new B(C[5],C[9]),rootContainerPaddingLeft:new B(C[3],C[8])},r1=o(T1)`
1
+ import{d as s1,J as d1,F as q,V as l,T as K,o as i,p as d,y as E,gC as L1,gD as E1,aQ as J,cq as B1,cr as j1,cs as z1,as as A1,ba as c1,u as C,b as o1,a as T1,c as H1,ai as p1,gE as P1}from"./index-DOsjGhSZ.js";import{a as t}from"./sentry-otjdlEta.js";import{n as o}from"./mui-B2MHg-Mu.js";import R1 from"./AttachmentView-CdIA5zLk-Ccm-n9L1.js";import{l as M1}from"./uploadReceipts-Dge0cNF1-BhANrZur.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./zeni-epic-state-DVinyIRY.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},x=new e.Error().stack;x&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[x]="596c3e20-f7b5-42f5-a140-52fa93b2994a",e._sentryDebugIdIdentifier="sentry-dbid-596c3e20-f7b5-42f5-a140-52fa93b2994a")}catch{}})();const V1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),t.createElement("g",{mask:"url(#mask0_623_1439)"},t.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),I1=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"})))),_1=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 E(12,C[3]),billReceiptSize:new E(60,C[10]),rootContainerPaddingTop:new E(C[3],62),rootContainerPaddingRight:new E(C[3],C[6]),rootContainerPaddingBottom:new E(C[5],C[9]),rootContainerPaddingLeft:new E(C[3],C[8])},r1=o(T1)`
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;
@@ -13,7 +13,7 @@ import{e as s1,J as d1,F as q,V as l,T as K,o as i,p as d,y as B,gA as L1,gB as
13
13
  align-items: baseline;
14
14
  `,a1=o(c1)`
15
15
  color: ${e=>e.theme.colors.champion};
16
- `,E=o.div`
16
+ `,B=o.div`
17
17
  padding: 0 2px;
18
18
  `,D1=o.div`
19
19
  height: 100%;
@@ -126,7 +126,7 @@ import{e as s1,J as d1,F as q,V as l,T as K,o as i,p as d,y as B,gA as L1,gB as
126
126
  color: ${e=>e.theme.colors.hero};
127
127
  `,G=o(p1)`
128
128
  color: ${d.important};
129
- `,Q1=({type:e="bill",attachmentIdBeingUploaded:x,uploadError:f,uploadErrorMsg:y,showAutofill:h,allowMultiFiles:j=!1,customError:z,dropFilePlaceholder:n,showInfoText:R,showTitlebar:A,pdfTitle:M,openSizeLimitPopup:V,onUploadAttachment:v,uploadStatus:T})=>{const w=s1(),[I,b]=t.useState(!1),S=function(r){r.preventDefault(),r.stopPropagation(),r.type==="dragenter"||r.type==="dragover"?b(!0):r.type==="dragleave"&&I&&b(!1)},_=function(r){if(r.preventDefault(),r.stopPropagation(),b(!1),r.dataTransfer.files.length>0){const s=r.dataTransfer.files;if(j){const a=[],m=[];for(let c=0;c<s.length;c++)a.push(s[c].name),m.push(s[c]);v?.(m,a,"dragdrop")}else{const a=s[0];v?.([a],[a.name],"dragdrop")}}},p=d1(),H=t.useRef(null),k=q.getLocalizedStrings().spendManagement.billPay.billDetails,L=()=>{H.current?.click()},D=r=>{if(r.target.files!=null){const s=r.target.files;if(j){const a=[],m=[];for(let c=0;c<s.length;c++)a.push(s[c].name),m.push(s[c]);v?.(m,a,"dragdrop")}else{const a=s[0];v?.([a],[a.name],"upload")}}},F=T!=null?T.fetchState=="In-Progress":x;return l.jsxs(F1,{showTitlebar:A,windowSize:p,type:e,children:[A===!0?l.jsx(Y1,{windowSize:p,type:e,children:M}):null,F==!0?l.jsx(m1,{children:e==="receipt"?l.jsx(K,{size:"Large",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"1.5rem",borderRadius:"100%",backgroundColor:`${w.mode==="light"?d.backgroundThemeLight:d.backgroundThemeDark}`,border:`2px solid ${w.mode==="light"?d.neutralGrey3Light:d.neutralGrey3Dark}`,boxShadow:`${i.sp0} 2px ${i.sp1} ${w.mode==="light"?d.dropShadowNormalLight:d.dropShadowNormalDark}`}}):l.jsx(K,{size:"ExtraLarge",start:!0})}):l.jsx(X1,{windowSize:p,showAutofill:h,type:e,children:l.jsxs(D1,{windowSize:p,onClick:()=>L(),onDragEnter:S,onDragLeave:S,onDragOver:S,onDrop:_,"data-testid":J("upload-tag",e),children:[l.jsxs(Z1,{onDragEnter:S,children:[e==="receipt"?l.jsx(q1,{width:g.billReceiptSize.valuePx(p),height:g.billReceiptSize.valuePx(p)}):l.jsx(K1,{width:g.billReceiptSize.valuePx(p),height:g.billReceiptSize.valuePx(p)}),e==="receipt"?l.jsxs(r1,{isPlaceholderText:!0,children:[n?.upload!=null?l.jsx(E,{children:n?.upload}):null,n?.single!=null?l.jsx(E,{children:l.jsx(a1,{themeContext:w,children:n?.single})}):null,n?.or!=null?l.jsx(E,{children:n?.or}):null,n?.multiple!=null?l.jsx(E,{children:l.jsx(a1,{themeContext:w,children:n?.multiple})}):null,n?.receipts!=null?l.jsx(E,{children:n?.receipts}):null,n?.receipt!=null?l.jsx(E,{children:n?.receipt}):null]}):e==="w9"?l.jsx(n1,{children:k.dropW9}):l.jsx(n1,{children:k.dropInvoice}),z!=null&&l.jsx(N,{children:l.jsx(G,{children:z})}),f&&y==="File size is too large"&&l.jsx(N,{children:l.jsx(G,{children:k.uploadFileSizeExceedError})}),f&&y!=="File size is too large"&&l.jsx(N,{children:l.jsx(G,{children:k.uploadError.replace("__type__",e)})})]}),l.jsx(L1,{fileRef:H,name:"invoice",onFileChange:D,multiple:j,sizeLimit:B1,onFileSizeError:V}),R===!0?l.jsxs(O1,{children:[l.jsx(J1,{}),l.jsx(r1,{isPlaceholderText:!1,style:{marginLeft:i.sp1},children:k.currencyInfo})]}):null]})})]})},X1=o.div`
129
+ `,Q1=({type:e="bill",attachmentIdBeingUploaded:x,uploadError:f,uploadErrorMsg:y,showAutofill:h,allowMultiFiles:j=!1,customError:z,dropFilePlaceholder:n,showInfoText:R,showTitlebar:A,pdfTitle:M,openSizeLimitPopup:V,onUploadAttachment:$,uploadStatus:T})=>{const w=s1(),[I,b]=t.useState(!1),S=function(r){r.preventDefault(),r.stopPropagation(),r.type==="dragenter"||r.type==="dragover"?b(!0):r.type==="dragleave"&&I&&b(!1)},_=function(r){if(r.preventDefault(),r.stopPropagation(),b(!1),r.dataTransfer.files.length>0){const s=r.dataTransfer.files;if(j){const a=[],m=[];for(let c=0;c<s.length;c++)a.push(s[c].name),m.push(s[c]);$?.(m,a,"dragdrop")}else{const a=s[0];$?.([a],[a.name],"dragdrop")}}},p=d1(),H=t.useRef(null),k=q.getLocalizedStrings().spendManagement.billPay.billDetails,L=()=>{H.current?.click()},D=r=>{if(r.target.files!=null){const s=r.target.files;if(j){const a=[],m=[];for(let c=0;c<s.length;c++)a.push(s[c].name),m.push(s[c]);$?.(m,a,"dragdrop")}else{const a=s[0];$?.([a],[a.name],"upload")}}},F=T!=null?T.fetchState=="In-Progress":x;return l.jsxs(F1,{showTitlebar:A,windowSize:p,type:e,children:[A===!0?l.jsx(Y1,{windowSize:p,type:e,children:M}):null,F==!0?l.jsx(m1,{children:e==="receipt"?l.jsx(K,{size:"Large",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"1.5rem",borderRadius:"100%",backgroundColor:`${w.mode==="light"?d.backgroundThemeLight:d.backgroundThemeDark}`,border:`2px solid ${w.mode==="light"?d.neutralGrey3Light:d.neutralGrey3Dark}`,boxShadow:`${i.sp0} 2px ${i.sp1} ${w.mode==="light"?d.dropShadowNormalLight:d.dropShadowNormalDark}`}}):l.jsx(K,{size:"ExtraLarge",start:!0})}):l.jsx(X1,{windowSize:p,showAutofill:h,type:e,children:l.jsxs(D1,{windowSize:p,onClick:()=>L(),onDragEnter:S,onDragLeave:S,onDragOver:S,onDrop:_,"data-testid":J("upload-tag",e),children:[l.jsxs(Z1,{onDragEnter:S,children:[e==="receipt"?l.jsx(q1,{width:g.billReceiptSize.valuePx(p),height:g.billReceiptSize.valuePx(p)}):l.jsx(K1,{width:g.billReceiptSize.valuePx(p),height:g.billReceiptSize.valuePx(p)}),e==="receipt"?l.jsxs(r1,{isPlaceholderText:!0,children:[n?.upload!=null?l.jsx(B,{children:n?.upload}):null,n?.single!=null?l.jsx(B,{children:l.jsx(a1,{themeContext:w,children:n?.single})}):null,n?.or!=null?l.jsx(B,{children:n?.or}):null,n?.multiple!=null?l.jsx(B,{children:l.jsx(a1,{themeContext:w,children:n?.multiple})}):null,n?.receipts!=null?l.jsx(B,{children:n?.receipts}):null,n?.receipt!=null?l.jsx(B,{children:n?.receipt}):null]}):e==="w9"?l.jsx(n1,{children:k.dropW9}):l.jsx(n1,{children:k.dropInvoice}),z!=null&&l.jsx(N,{children:l.jsx(G,{children:z})}),f&&y==="File size is too large"&&l.jsx(N,{children:l.jsx(G,{children:k.uploadFileSizeExceedError})}),f&&y!=="File size is too large"&&l.jsx(N,{children:l.jsx(G,{children:k.uploadError.replace("__type__",e)})})]}),l.jsx(L1,{fileRef:H,name:"invoice",onFileChange:D,multiple:j,sizeLimit:E1,onFileSizeError:V}),R===!0?l.jsxs(O1,{children:[l.jsx(J1,{}),l.jsx(r1,{isPlaceholderText:!1,style:{marginLeft:i.sp1},children:k.currencyInfo})]}):null]})})]})},X1=o.div`
130
130
  padding: ${e=>e.type==="w9"?i.sp0:e.windowSize==="small"&&e.showAutofill===!1?i.sp3:i.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{e as s1,J as d1,F as q,V as l,T as K,o as i,p as d,y as B,gA as L1,gB as
137
137
  background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey4:e.theme.colors.grey3};
138
138
  width: 100%;
139
139
  color: ${e=>e.theme.colors.primary};
140
- `,he=({uploadInvoiceEndPoint:e,authParams:x,showAutofill:f,allowMultiFiles:y,type:h="bill",customError:j,pdfTitle:z,entityId:n,shouldNotShowAttachment:R,analytics:A,style:M,noAttachmentText:V,dropFilePlaceholder:v,showInfoText:T,showTitlebar:w,showTitlebarIcon:I,file:b,attachmentTitle:S,vendorLegalName:_,onInvoiceUpload:p,onSkipAutofill:H,setFileUploaded:k,updateInvoiceUploadFetchState:L,onReplaceClick:D,onDeleteClick:F,uploadStatus:r,isLoading:s=!1})=>{const a=s1(),m=d1(),[c,Q]=t.useState(!1),X=q.getLocalizedStrings().spendManagement.billPay.billDetails,[h1,U]=t.useState(!1),[u1,Y]=t.useState(!1),[C1,g1]=t.useState(""),[f1,Z]=t.useState(!1),[O,w1]=t.useState({title:"",description:"",primaryButtonText:""});t.useEffect(()=>{b!=null?U(!0):U(!1)},[b]);async function e1($,u,P,i1,y1){Q(!0),Y(!1);const b1=y===!0?P:[P[0]],k1=y===!0?i1:[i1[0]],{blobs:$1,names:v1}=await P1(b1,k1);await M1(`${$}/1.0/processors/${h}`,u,$1,v1,g1).then(S1=>{p?.(S1),U(!0),k?.()}).catch(()=>{Y(!0),y1?.("Error")}),Q(!1)}const t1=$=>{const u=q.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;$?(w1({title:u.uploadLimitTitle,description:u.uploadLimitDescription,primaryButtonText:u.buttons.okay}),Z(!0)):Z(!1)},x1={onOkClick:()=>{Z(!1)}};let l1=n!=null||(r!=null?r?.fetchState=="Completed":h1);h==="bill"&&R===!0&&(l1=!1);const W=h==="bill"?"bill_pay":h==="receipt"?"reimbursement":"w9";return l.jsx(U1,{showAutofill:f,windowSize:m,style:M,type:h,"data-testid":J("upload-section",W),children:s?l.jsx(m1,{children:l.jsx(K,{size:"ExtraLarge",start:!0})}):l.jsxs(l.Fragment,{children:[f1?l.jsx(E1,{titleComponent:l.jsx(z1,{children:O.title}),descriptionComponent:l.jsx(j1,{children:O.description}),primaryButtonText:O.primaryButtonText,action:x1}):null,!s&&r?.fetchState!=="In-Progress"&&l1?l.jsx(R1,{title:S,type:h,file:b,noAttachmentText:V,showTitlebar:w,showTitlebarIcon:I,pdfTitle:z,onReplaceClick:D,onDeleteClick:F,allowMultiFiles:y,openSizeLimitPopup:t1,onUploadAttachment:($,u)=>{L?.("In-Progress"),e1(e,x,$,u,L)}}):l.jsx(Q1,{type:h,uploadError:u1,uploadErrorMsg:C1,attachmentIdBeingUploaded:c,dropFilePlaceholder:v,showInfoText:T,allowMultiFiles:y,customError:j,showTitlebar:w,pdfTitle:z,showAutofill:f,openSizeLimitPopup:t1,uploadStatus:r,onUploadAttachment:($,u,P)=>{A?.trackUploadInvoice(P,W,_),L?.("In-Progress"),e1(e,x,$,u,L)}}),f?l.jsxs(W1,{windowSize:m,children:[l.jsx(N1,{windowSize:m,themeContext:a,children:X.skipAutofillInfo}),l.jsx(G1,{windowSize:m,themeContext:a,"data-testid":J("skip-autofill",W),onClick:()=>H?.(!f),children:l.jsx(A1,{children:X.skipAutofill})})]}):null]})})};export{Q1 as AttachmentElement,he as default};
140
+ `,he=({uploadInvoiceEndPoint:e,authParams:x,showAutofill:f,allowMultiFiles:y,type:h="bill",customError:j,pdfTitle:z,entityId:n,shouldNotShowAttachment:R,analytics:A,style:M,noAttachmentText:V,dropFilePlaceholder:$,showInfoText:T,showTitlebar:w,showTitlebarIcon:I,file:b,attachmentTitle:S,vendorLegalName:_,onInvoiceUpload:p,onSkipAutofill:H,setFileUploaded:k,updateInvoiceUploadFetchState:L,onReplaceClick:D,onDeleteClick:F,uploadStatus:r,isLoading:s=!1})=>{const a=s1(),m=d1(),[c,Q]=t.useState(!1),X=q.getLocalizedStrings().spendManagement.billPay.billDetails,[h1,U]=t.useState(!1),[u1,Y]=t.useState(!1),[C1,g1]=t.useState(""),[f1,Z]=t.useState(!1),[O,w1]=t.useState({title:"",description:"",primaryButtonText:""});t.useEffect(()=>{b!=null?U(!0):U(!1)},[b]);async function e1(v,u,P,i1,y1){Q(!0),Y(!1);const b1=y===!0?P:[P[0]],k1=y===!0?i1:[i1[0]],{blobs:v1,names:$1}=await P1(b1,k1);await M1(`${v}/1.0/processors/${h}`,u,v1,$1,g1).then(S1=>{p?.(S1),U(!0),k?.()}).catch(()=>{Y(!0),y1?.("Error")}),Q(!1)}const t1=v=>{const u=q.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;v?(w1({title:u.uploadLimitTitle,description:u.uploadLimitDescription,primaryButtonText:u.buttons.okay}),Z(!0)):Z(!1)},x1={onOkClick:()=>{Z(!1)}};let l1=n!=null||(r!=null?r?.fetchState=="Completed":h1);h==="bill"&&R===!0&&(l1=!1);const W=h==="bill"?"bill_pay":h==="receipt"?"reimbursement":"w9";return l.jsx(U1,{showAutofill:f,windowSize:m,style:M,type:h,"data-testid":J("upload-section",W),children:s?l.jsx(m1,{children:l.jsx(K,{size:"ExtraLarge",start:!0})}):l.jsxs(l.Fragment,{children:[f1?l.jsx(B1,{titleComponent:l.jsx(z1,{children:O.title}),descriptionComponent:l.jsx(j1,{children:O.description}),primaryButtonText:O.primaryButtonText,action:x1}):null,!s&&r?.fetchState!=="In-Progress"&&l1?l.jsx(R1,{title:S,type:h,file:b,noAttachmentText:V,showTitlebar:w,showTitlebarIcon:I,pdfTitle:z,onReplaceClick:D,onDeleteClick:F,allowMultiFiles:y,openSizeLimitPopup:t1,onUploadAttachment:(v,u)=>{L?.("In-Progress"),e1(e,x,v,u,L)}}):l.jsx(Q1,{type:h,uploadError:u1,uploadErrorMsg:C1,attachmentIdBeingUploaded:c,dropFilePlaceholder:$,showInfoText:T,allowMultiFiles:y,customError:j,showTitlebar:w,pdfTitle:z,showAutofill:f,openSizeLimitPopup:t1,uploadStatus:r,onUploadAttachment:(v,u,P)=>{A?.trackUploadInvoice(P,W,_),L?.("In-Progress"),e1(e,x,v,u,L)}}),f?l.jsxs(W1,{windowSize:m,children:[l.jsx(N1,{windowSize:m,themeContext:a,children:X.skipAutofillInfo}),l.jsx(G1,{windowSize:m,themeContext:a,"data-testid":J("skip-autofill",W),onClick:()=>H?.(!f),children:l.jsx(A1,{children:X.skipAutofill})})]}):null]})})};export{Q1 as AttachmentElement,he as default};