import{bh as s}from"./index-CYs9MVUz.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new r.Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="e5a1a0d2-0689-43b7-bef9-e43b5c1769ea",r._sentryDebugIdIdentifier="sentry-dbid-e5a1a0d2-0689-43b7-bef9-e43b5c1769ea")}catch{}})();class c{static async getNextLeClubEvents(){return(await s.get("/v3/community-homepage/events/leclub")).data}static async getEventStreamReplayRequest(e){return(await s.get(`/event/${e}/request-replay`)).data}static async postEventStreamReplayRequest(e){return(await s.post(`/event/${e}/request-replay`)).data}static async postCancelationParticipation(e,t){return(await s.post(`/public/v3/events/${e}/cancel`,t)).data}static async getActions(e,t,n){return(await s.get(`/public/event-v2/${e}/actions`,{params:{publicParticipantId:t},headers:n?{"Accept-Language":n}:void 0})).data}static async getUpcomingEventsOld(e){return(await s.get("/public/event-v2/incoming",{params:e})).data}static async getUpcomingEvents(e,t){return(await s.get("/v3/events/incoming",{params:{page:e,categoryIds:t}})).data}static async getPublicUpcomingEvents(e,t){return(await s.get(`public/v3/events/incoming${t&&"?hub="+t}`,{params:{page:e}})).data}static async getHomePageIncomingEvents(){return(await s.get("v3/public-homepage/incoming-events")).data}static async searchUpcomingEvents(e,t){return(await s.get(`/public/event-v2/search/upcoming/${e}`,{params:t})).data}static async getSuggestedEvents(){return(await s.get("/v3/events/events-networking/suggested")).data}static async getSuggestedReplayList(e){return(await s.get(`/event-v2/suggested/${e}/replay`)).data}static async getMyEvents(){return(await s.get("/v3/events/me")).data}static async getNetworkingOrEvents(e){return(await s.get("/v3/events/events-networking",{params:e})).data}static async searchAllEvents(e){return(await s.get("/public/event-v2/search/upcoming/all",{params:e})).data}static async searchPhysicalEvents(e){return(await s.get("/public/event-v2/search/upcoming/physical",{params:e})).data}static async searchStreamingEvents(e){return(await s.get("/public/event-v2/search/upcoming/remote",{params:e})).data}static async searchPastEvents(e){return(await s.get("/public/event-v2/search/past",{params:e})).data}static async getSuggestedEventList(e){return(await s.get("/event-v2/suggested",{params:e})).data}static async getEventReplays(e){return(await s.get(`/event-v2/${e}/replays`)).data}static async getNetworkingSession(e){return(await s.get(`/v3/networking/sessions/${e}`)).data}static async getNetworkingSubscriptions(){return(await s.get("/v3/networking/sessions/subscriptions")).data}static async subscribeToNetworking(e){await s.post(`/v3/networking/sessions/${e}/participant`,{subscribing:!0})}static async unsubscribeToNetworking(e){await s.delete(`/v3/networking/sessions/${e}/participant`)}static async getEventDetails(e,t){return(await s.get(`/public/event-v2/${e}/details`,{params:{leadId:t||void 0}})).data}static async getEventDetailsV3(e,t){return(await s.get(`/public/v3/events/${e}/details`,{params:{leadId:t||void 0}})).data}static async getEventListDetails(e){return{data:(await Promise.allSettled(e.map(a=>c.getEventDetailsV3(a)))).reduce((a,o)=>o.status==="fulfilled"?[...a,o.value.data]:a,[]),meta:{}}}static async getEventParticipants(e){return(await s.get(`/public/v3/events/${e}/participants`,{})).data}static async getGuestInvited(e){return(await s.get(`/event-v2/${e}/guests`)).data}static async postEventAskToSponsor(e,t){await s.post(`/v3/events/${e}/ask-to-sponsor`,{message:t})}static async postEventAskToSponsorPublic(e,t){await s.post(`public/v3/events/${e}/ask-to-sponsor`,t)}static async getPastEvents(e=1){return(await s.get("/public/event-v2/pasts",{params:{page:e}})).data}static async getMemberPaymentInfos(e,t){return(await s.get(`/event-v2/${e}/payment`,{params:{streaming:!!t}})).data}static async getPublicPaymentInfos(e,t,n){return(await s.get(`/public/event-v2/${e}/payment/${t}`,{params:{streaming:!!n}})).data}static async postUseCoupon(e,t,n,a){return(await s.post(`/public/event-v2/${e}/coupon/${t}`,{streaming:!!n,publicParticipantId:a})).data}static async postEventAction(e,t,n){return(await s.post(`/event-v2/${e}/action/${t}`,{...n})).data}static async postPublicEventAction(e,t,n,a){return(await s.post(`/public/event-v2/${e}/action/${t}`,{...n,publicParticipantId:a},{params:{publicParticipantId:a}})).data}static async postStreamEventAction(e,t,n){return(await s.post(`/event-stream/${e}/action/${t}`,{...n})).data}static async postPublicStreamEventAction(e,t,n,a){return(await s.post(`/public/event-stream/${e}/action/${t}`,{...n,publicParticipantId:a},{params:{publicParticipantId:a}})).data}static async getRoom(e){const{data:t}=await s.get(`/room/${e}`);return t}static async getEstimatePayment(e,t,n){return(await s.post(`/public/v3/events/payment/${e}/estimate`,t,n)).data}static async sendEventCartInfo(e,t){return(await s.post(`/public/v3/events/payment/${e}/cart`,t)).data}static async postEventJoinPayment(e,t){return(await s.post(`/public/v3/events/${e}/join`,t)).data}static async getWelcomeBreakfastEvents(){return(await s.get("/event-v2/welcome-breakfasts")).data}static async getEventTickets(e){return(await s.get(`/public/v3/events/${e}/tickets`)).data}static async getExternalEvents(e,t){return(await s.get("/v3/external-events/incoming",{params:{...e,...t}})).data}static async postExternalEventAttendance(e){return(await s.post("/v3/external-events/attending",e)).data}}export{c as E}; //# sourceMappingURL=Event.api-Ci-FYDcb.js.map