import{d as Y,ak as J,h as n,e as s,f as l,dJ as q,t as _,X as f,F as U,r as Z,i as M,w as S,k as F,ag as Ee,m as G,A as ie,u as j,c as k,g as u,n as ee,ar as de,a6 as be,V as H,B as K,j as v,I as ke,H as St,J as Ct,al as ct,b$ as $t,aC as he,ap as re,a3 as ge,a4 as Te,Q as fe,p as Ae,bb as Re,az as It,W as Lt,q as ut,s as ye,K as Dt,bc as Rt,C as wt,a as Pt,S as Bt,l as Ft,G as oe,c_ as Mt,v as Nt,bh as Ut,cu as xt,au as dt,b3 as Ot,b4 as Vt,aD as qt,aE as Yt,bA as Gt,bG as jt,aw as Ht,a5 as _t,aG as Qt,bI as Kt,b_ as Wt,Y as we,bw as Pe,ad as Zt,aY as Jt,E as Xt,bl as en,dp as tn,aN as Be,a0 as se,aA as Fe,x as nn,aq as an,dx as on,aS as sn,b9 as rn,T as ln,R as Me,Z as cn,aj as un,aJ as dn,aK as _n}from"./index-B4gewkxT.js";import{C as Ne}from"./ContentWithAsideTemplate-C97o6Brr.js";import{u as te}from"./useEventDetailsQuery-By4FCaJV.js";import{W as mn}from"./WysiwygWrapper-D8ikrT_U.js";import{A as vn}from"./AvatarList-CXbRGmrx.js";import{E as Se}from"./Event.api-V1luc04U.js";import{_ as Ue,A as xe,e as Oe,f as Ve,g as qe,h as Ye,i as Ge,j as je,k as pn,u as hn,a as fn,b as yn,E as bn,l as gn,d as kn}from"./EventDetailsAside-4x2EEUy3.js";import{E as zn}from"./EventDetailsAsideNeedCompleteProfile-B5i_IOXY.js";import{u as En}from"./useIsCompletedProfile-BnltKpZe.js";import{E as An}from"./EventDetailsFab-BMH0_Fyh.js";import{E as Tn}from"./EmptyList-BNOWoO-N.js";import{B as ze}from"./BasePlaceholder-Cm5ycjnX.js";import{a as Sn}from"./index-BBtxBH0G.js";import{u as Cn}from"./useSeo-2IfVNzZf.js";import"./useSubscriptionsQuery-COeR7IO4.js";import"./Account.api-DXjYphb3.js";import"./useSubscriptions-Dn4fFRpS.js";import"./PaymentModule-l4Pqvkxf.js";import"./FormRadio-BfNDr13S.js";import"./Payment.api-CfcoEfFS.js";import"./payment-method-1-Bfj5e8hF.js";import"./StepWrapper.vue_vue_type_style_index_0_lang-CgJ-P5zw.js";import"./ShareDropdown-CMK7vK6u.js";import"./social-share-vSgg1TaY.js";import"./BaseBanner-DIEEW_sV.js";import"./useUpdateMemberMutation-RUX48jw0.js";import"./FormGoogleLocation-ggJ5k1gY.js";import"./index.esm-Cw6omFHi.js";import"./useMetaTag-B24ht-l8.js";(function(){try{var p=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new p.Error().stack;r&&(p._sentryDebugIds=p._sentryDebugIds||{},p._sentryDebugIds[r]="4a823b06-0faf-43eb-94a4-d5bdc25d688d",p._sentryDebugIdIdentifier="sentry-dbid-4a823b06-0faf-43eb-94a4-d5bdc25d688d")}catch{}})();const $n={key:0},In={key:0,class:"titlecontainer__title"},Ln={key:1},Dn={key:0,class:"subtitle"},Rn={key:1,class:"subtitle__labels-container"},wn=Y({__name:"EventDetailsTitle",setup(p){const r=J(),{data:e,isLoading:t}=te(r.params.id);return(o,a)=>!n(t)&&n(e)?(s(),l("section",$n,[n(e).data.id!==n(q).AMBASSADE_FR_MADRID?(s(),l("h1",In,_(n(e).data.title),1)):f("",!0),n(e).data.subtitle||n(e).data.labels&&n(e).data.labels.length?(s(),l("div",Ln,[n(e).data.subtitle?(s(),l("div",Dn,_(n(e).data.subtitle),1)):f("",!0),n(e).data.labels&&n(e).data.labels.length?(s(),l("div",Rn,[(s(!0),l(U,null,Z(n(e).data.labels,m=>(s(),M(Ee,{key:m,class:"subtitle__labels-container--label"},{default:S(()=>[F(_(m),1)]),_:2},1024))),128))])):f("",!0)])):f("",!0)])):f("",!0)}}),Pn=G(wn,[["__scopeId","data-v-f3d95548"]]),Bn={class:"container"},Fn={class:"container__title"},Mn={class:"container__speakers--speaker-picture"},Nn=["href"],Un=["src","alt"],xn={key:1},On=["src","alt"],Vn={class:"container__speakers--speaker-name"},qn=["href"],Yn={key:0},mt=Y({__name:"EventDetailsSpeakers",setup(p){const r=ie(),{t:e}=j(),t=J(),{data:o,isLoading:a,isSuccess:m,isError:z}=te(t.params.id),I=k(()=>{var L;return((L=r.authentifiedUser)==null?void 0:L.isCommunity)||!1});return(L,P)=>{var c;return s(),M(be,{"is-error":n(z),"is-loading":n(a),"is-success":n(m),"is-empty":!((c=n(o))!=null&&c.data.speakerList)||n(o).data.speakerList.length===0},{success:S(()=>{var E,w,$;return[P[0]||(P[0]=u("div",{class:"separator"},null,-1)),u("div",Bn,[u("h2",Fn,_(n(e)("speaker",((E=n(o))==null?void 0:E.data.speakerList.length)||0)),1),u("div",{class:ee(["container__speakers",{"container__speakers--grid":((w=n(o))==null?void 0:w.data.speakerList.length)&&n(o).data.speakerList.length>3}])},[(s(!0),l(U,null,Z(($=n(o))==null?void 0:$.data.speakerList,h=>{var T;return s(),l("div",{key:h!=null&&h.member?h.member.id:(T=h==null?void 0:h.lead)==null?void 0:T.id,class:"container__speakers--speaker"},[u("div",Mn,[h.member&&!I.value?(s(),l("a",{key:0,href:n(de).MEMBER_CLUB_PROFILE(h.member.idff)},[u("img",{src:h.picture,alt:h.fullname},null,8,Un)],8,Nn)):(s(),l("div",xn,[u("img",{src:h.picture,alt:h.fullname},null,8,On)]))]),u("div",Vn,[h.member&&!I.value?(s(),l("a",{key:0,href:n(de).MEMBER_CLUB_PROFILE(h.member.idff)},_(h.fullname),9,qn)):(s(),l(U,{key:1},[F(_(h.fullname),1)],64))]),u("p",null,[h.position?(s(),l(U,{key:0},[F(_(h.position),1)],64)):f("",!0),h.company?(s(),l(U,{key:1},[F(" @"+_(h.company),1)],64)):f("",!0)]),h.pitch?(s(),l("p",Yn,_(h.pitch),1)):f("",!0)])}),128))],2)])]}),_:1},8,["is-error","is-loading","is-success","is-empty"])}}});function He(p){const r=p;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{en:{speaker:e=>{const{normalize:t,plural:o}=e;return o([t(["Speaker"]),t(["Speakers"])])}},fr:{speaker:e=>{const{normalize:t,plural:o}=e;return o([t(["Intervenant"]),t(["Intervenants"])])}}}})}typeof He=="function"&&He(mt);const Gn=G(mt,[["__scopeId","data-v-c41261ec"]]),jn={key:0},Hn={key:0,class:"separator"},Qn={class:"about"},Kn={key:0,class:"about__title"},Wn={class:"about__content"},Zn={key:1,class:"about__attending"},Jn={class:"about__attending--title"},Xn={class:"about__attending--list"},vt=Y({__name:"EventDetailsAbout",setup(p){const{t:r}=j(),e=J(),{data:t,isLoading:o}=te(e.params.id);return(a,m)=>{var z,I,L,P,c,E;return!n(o)&&((z=n(t))!=null&&z.data)&&((L=(I=n(t))==null?void 0:I.data)!=null&&L.about||(E=(c=(P=n(t))==null?void 0:P.data)==null?void 0:c.attending)!=null&&E.length)?(s(),l("div",jn,[n(t).data.id!==n(q).AMBASSADE_FR_MADRID?(s(),l("hr",Hn)):f("",!0),u("section",Qn,[n(t).data.id!==n(q).AMBASSADE_FR_MADRID?(s(),l("h2",Kn,_(n(r)("thread")),1)):f("",!0),u("div",Wn,[n(t).data.about?(s(),M(mn,{key:0,class:"about__content--description",content:n(t).data.about},null,8,["content"])):f("",!0),n(t).data.attending&&n(t).data.attending.length>0?(s(),l("div",Zn,[u("div",Jn,_(n(r)("who_is_attending")),1),u("ul",Xn,[(s(!0),l(U,null,Z(n(t).data.attending,(w,$)=>(s(),l("li",{key:$},_(w),1))),128))])])):f("",!0)])])])):f("",!0)}}});function Qe(p){const r=p;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{en:{thread:e=>{const{normalize:t}=e;return t(["About the event"])},who_is_attending:e=>{const{normalize:t}=e;return t(["For who ?"])}},fr:{thread:e=>{const{normalize:t}=e;return t(["Discussion"])},who_is_attending:e=>{const{normalize:t}=e;return t(["Pour qui ?"])}}}})}typeof Qe=="function"&&Qe(vt);const ea=G(vt,[["__scopeId","data-v-e8f3842a"]]),ta="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAANCAYAAAA5QzeRAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAUDSURBVHgBzVZZbJRVFP7u/beZdgqUKkspm4LSUAJlsZKIRGNkUUBR0RhxAWN8UIk+uMTwRggSJZEoAQQXfABD1IBaEpeKQSi0JYBBKkrZC6Ut3ex0Ov9yr+e/dzrtTOvy6M3Mv9x7zznfOec75/5syttS4h9HzzLD/22YPQ+CBQSPaYgyBZUuoWuM7oImmeS9kkyqxXCfDDfIlED2IL2kHOBS38O9WopUSJLl9NfPvfKMViV4qDT8qWn+9+DXL/QwdaQ5YHz9QKLyvIs1P0aVirIiF4/NBCYWGIgnBWqbJDZXGmjoMJTJ0DQjd++dFGBxcYDxBSY6EgInGgTerzTR3mVixGAP79wHlJ/yMXs8x003GLgeD989fHbcxiNTfTw4GRgUtVDX4mHzYYZfr9oZAWI9tFlS4mPlLA/5OVZ6MVzIpVfTIFC0bf42HwtvEXhxDilhAm7AYHIGg/S1xAO8Ue7jyKUIBTnAa3cn8WhpVBnrJudt8ppT9K+0+njhiwDd0kT5Sgs8ld0uTyBqMeX0ySseSgodegI8EcqSDk/ilb0eDl2I9AcPFbNAAdYzAtNHJbFhkY188uCbU0nsPOrj0+UxtHZ52FIN7D4qkR/lWFEm8fgMA41xiaVbBeZMYli3wERTp4+13wfYX8dQEONYNdvDoikOahslXi8PsOdpW9Fv0+EAHx0QmFzo463FDkbkGbjW3o2XvwJqr3E8NcvHqjtzUNfs4aGPTUW1LCKFPtMC/RkzMH2kj41LHQyJmfj8RAJv7rPwHEWcE2c37Pexq8YiVx00Jyys32/iu9PA8FyDwAVYXko8lwKvfu2j4kyE9DrkiIXV3zo4dtlF8XCOstGe4n99u4+tP5tIchvHGnLw5clA8X1vLcOphoiy8WG1g6sdLm4mauVGRBoxH4DimFnUhfcethGzTeyocrG2IqK8HRWT8AlUzRUzqzYZDp4LFM/GDgUm3GgjSa/H6zP3CUp/db2l2sKYwYbKcke3pDpOtwqqDc2CS21S1bceBi63kkuSZZjNBE98KS3sxLsPOMixGXYdTWDjQYsAG2qrR/dQYHBUA+4jiCFOoO5xF0i4vuLyIFuvpV0k48NiuoN0eoGWVMB794hUhxGSZdgQsn8v430B3FYUxwfLIgSc45PqJNb9FKGCMVNGgINnQ1AcT0wLYDE/ZVRiaCTAslKFFJWXgAN1ArbB8czsQLdTqdtqUZ6LueOp0On5l/qeeaa6bi8KrZXJvlCZdisLfbpVTqP2t2GJRUYN1Lcl8KfL8WyZUEJhNBo7JLZXc8yb5GJRiYOSIomK37qVo/OKOTnAsOdkAjUXo7jYksTcCR6enGFSJn1UXRSUGYkFxSZijoHtVUmca7NTR0PqIElnR0cq++QM20n2ZBp82Pa4oVM1akgOXroD/ca6ijie382xej5labSDlbdHVUy8QGBHTQJbjjgqmY2dUazY2YU195uYWmhhWqEGF6dC2HQoiW1HTAzP0wdcXaNPmOx0hM+16APKyLL9R7NA2Vjog0vnJrNVzixKYuIwnsWt1GlI1zPXKYrUZxmdmrMo8uMKGAICfryBoa7JTAWml4mW4ZGTAmPyOVxqLlUXBC53OOpEzXME7rnVww+/cypaK2UFikp3TQhwvtXF2ZbctK6C3ABzxgXYd9pA0teusX//thloSF1o/1FScVV9SmSHRabCkq29f3HqnSxj9S/1ZCkn0ocDhwAAAABJRU5ErkJggg==",na={key:1,class:"text"},pt=Y({__name:"AddScheduleSessionToCalendar",props:{session:{},event:{},useIcon:{type:Boolean}},setup(p){const{t:r}=j(),e=p,t=k(()=>{var I;const a=e.session.speakers.map(L=>L.fullname).join(", "),m=H.fromISO(e.session.startDate,{setZone:!0}).toFormat("yyyyLLdd'T'HHmmss"),z=H.fromISO(e.session.endDate,{setZone:!0}).toFormat("yyyyLLdd'T'HHmmss");return["https://www.google.com/calendar/render?action=TEMPLATE",((I=e.session)==null?void 0:I.title)&&`text=${encodeURIComponent(e.session.title)}`,`details=${encodeURIComponent(a)}`,`dates=${m}/${z}`,e.event.timezone&&`ctz=${encodeURIComponent(e.event.timezone)}`].filter(Boolean).join("&")}),o=k(()=>e.event?`https://private.frenchfounders.com/public/event/${e.event.id}/${e.event.slug}/ical`:"");return(a,m)=>(s(),M(Ct,{absolute:!0},{activator:S(()=>[a.useIcon?(s(),M(K,{key:0,name:"calendar_month",class:"icon"})):(s(),l("div",na,_(n(r)("add_calendar")),1))]),dropdown:S(()=>[v(St,{class:"nav__content"},{default:S(()=>{var z,I,L,P;return[v(ke,{target:"_blank",href:t.value,rel:"noopener noreferrer"},{default:S(()=>[F(_(n(r)("google_calendar")),1)]),_:1},8,["href"]),v(ke,{download:`${((z=a.event)==null?void 0:z.slug)||((I=a.event)==null?void 0:I.title)}.ical`,href:o.value},{default:S(()=>[F(_(n(r)("ical_calendar")),1)]),_:1},8,["download","href"]),v(ke,{download:`${((L=a.event)==null?void 0:L.slug)||((P=a.event)==null?void 0:P.title)}.ical`,href:o.value},{default:S(()=>[F(_(n(r)("outlook_calendar")),1)]),_:1},8,["download","href"])]}),_:1})]),_:1}))}});function Ke(p){const r=p;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{add_calendar:e=>{const{normalize:t}=e;return t(["Ajouter au calendrier"])},google_calendar:e=>{const{normalize:t}=e;return t(["Google Agenda"])},ical_calendar:e=>{const{normalize:t}=e;return t(["ICAL Agenda"])},outlook_calendar:e=>{const{normalize:t}=e;return t(["Outlook Calendrier"])},calendar_streaming_link:e=>{const{normalize:t,interpolate:o,named:a}=e;return t(["Lien pour rejoindre l'événement (actif 15 minutes avant) : ",o(a("url"))])}},en:{add_calendar:e=>{const{normalize:t}=e;return t(["Add to calendar"])},google_calendar:e=>{const{normalize:t}=e;return t(["Google Calendar"])},ical_calendar:e=>{const{normalize:t}=e;return t(["ICAL Calendar"])},outlook_calendar:e=>{const{normalize:t}=e;return t(["Outlook Calendar"])},calendar_streaming_link:e=>{const{normalize:t,interpolate:o,named:a}=e;return t(["Link to join the event (active 15 minutes before) : ",o(a("url"))])}}}})}typeof Ke=="function"&&Ke(pt);const aa=G(pt,[["__scopeId","data-v-508deb47"]]),oa={class:"schedule"},sa={class:"schedule__time"},ra={key:0},ia={key:1},la={class:"schedule__time--date"},ca={class:"schedule__details"},ua={class:"schedule__details--description"},da=["href"],_a={class:"schedule__details--description-link-text"},ma={key:1,class:"schedule__details--description-link"},va=["alt"],pa=["value"],ha=["href"],fa={class:"schedule__details--description-link-text"},ht=Y({__name:"EventDetailsScheduleItem",props:{liveEventSessions:{},event:{},showAddToCalendar:{type:Boolean}},setup(p){const{t:r,locale:e}=j(),{authentifiedUser:t}=ie(),{toast:o}=ct(),a=p,m=k(()=>{var c;return((c=t==null?void 0:t.business_center)==null?void 0:c.timezone)||Intl.DateTimeFormat().resolvedOptions().timeZone}),z=k(()=>{if(!a.liveEventSessions)return!1;const c=H.fromISO(a.liveEventSessions.startDate,{locale:e.value}).minus({minutes:10}),E=H.fromISO(a.liveEventSessions.endDate,{locale:e.value});return H.now()>=c&&H.now()<E}),I=k(()=>{if(!a.liveEventSessions)return!1;const c=H.fromISO(a.liveEventSessions.endDate,{locale:e.value}),E=H.fromISO(a.liveEventSessions.startDate,{locale:e.value});return H.now()>=E&&H.now()<=c}),L=c=>H.fromISO(c,{locale:"en",zone:m.value}).toLocaleString(H.TIME_SIMPLE),P=c=>{navigator.clipboard.writeText(c),o({type:re.SUCCESS,text:r("copy_link")})};return(c,E)=>(s(),l("div",oa,[u("div",sa,[I.value?(s(),l("div",ra,[v(Ee,{class:"schedule__time--badge"},{default:S(()=>[v(K,{name:"av_timer"}),F(" "+_(n(r)("Now")),1)]),_:1})])):z.value?(s(),l("div",ia,[v(Ee,{class:"schedule__time--badge"},{default:S(()=>[v(K,{name:"av_timer"}),F(" "+_(n(r)("Soon")),1)]),_:1})])):f("",!0),u("div",la,_(L(a.liveEventSessions.startDate))+" - "+_(L(a.liveEventSessions.endDate)),1)]),u("div",ca,[u("div",{class:ee(["schedule__details--calendar",{"schedule__stage--session":!a.liveEventSessions.stage&&a.liveEventSessions.externalUrl}])},[c.showAddToCalendar?(s(),M(aa,{key:0,event:c.event,session:c.liveEventSessions,"use-icon":""},null,8,["event","session"])):a.liveEventSessions.stage?(s(),l(U,{key:1},[F(_(a.liveEventSessions.stage.name),1)],64)):a.liveEventSessions.externalUrl?(s(),l(U,{key:2},[F(_(n(r)("Session")),1)],64)):(s(),l(U,{key:3},[F(_(n(r)("Networking")),1)],64))],2),u("div",ua,[u("div",null,_(a.liveEventSessions.title),1),I.value||z.value?(s(),l(U,{key:0},[a.liveEventSessions.stage?(s(),l("a",{key:0,href:n(de).EVENT_LIVE_STAGE(a.event.id,a.liveEventSessions.stage.id||""),class:"schedule__details--description-link"},[v(K,{name:"arrow_forward"}),u("span",_a,_(n(r)("schedule_go")),1)],8,da)):a.liveEventSessions.externalUrl?(s(),l("div",ma,[v(he,{href:a.liveEventSessions.externalUrl,size:n($t).SMALL},{default:S(()=>[a.liveEventSessions.externalUrl&&a.liveEventSessions.externalUrl.indexOf("zoom")>=0?(s(),l(U,{key:0},[F(_(n(r)("schedule_go_zoom"))+" ",1),u("img",{src:ta,alt:n(r)("zoom"),class:"schedule__zoom"},null,8,va)],64)):(s(),l(U,{key:1},[F(_(n(r)("schedule_go")),1)],64))]),_:1},8,["href","size"]),u("div",null,[u("input",{type:"text",readonly:"",value:a.liveEventSessions.externalUrl},null,8,pa),v(K,{name:"content_copy",onClick:E[0]||(E[0]=w=>P(a.event.externalUrl))})])])):(s(),l("a",{key:2,href:n(de).EVENT_LIVE_NETWORKING(a.event.id),class:"schedule__details--description-link"},[v(K,{name:"arrow_forward"}),u("span",fa,_(n(r)("schedule_go")),1)],8,ha))],64)):f("",!0)]),v(vn,{class:"schedule__details--speakers",pictures:a.liveEventSessions.speakers.map(w=>w.picture)},null,8,["pictures"])])]))}});function We(p){const r=p;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{en:{schedule_go:e=>{const{normalize:t}=e;return t(["Let's go !"])},schedule_go_zoom:e=>{const{normalize:t}=e;return t(["Go to"])},now:e=>{const{normalize:t}=e;return t(["Now"])},soon:e=>{const{normalize:t}=e;return t(["Soon"])},session:e=>{const{normalize:t}=e;return t(["Session"])},networking:e=>{const{normalize:t}=e;return t(["Networking"])},zoom:e=>{const{normalize:t}=e;return t(["Zoom"])},copy_link:e=>{const{normalize:t}=e;return t(["Link copied to clipboard"])}},fr:{schedule_go:e=>{const{normalize:t}=e;return t(["J'y accède !"])},schedule_go_zoom:e=>{const{normalize:t}=e;return t(["J'accède au"])},now:e=>{const{normalize:t}=e;return t(["Now"])},soon:e=>{const{normalize:t}=e;return t(["Soon"])},session:e=>{const{normalize:t}=e;return t(["Session"])},networking:e=>{const{normalize:t}=e;return t(["Networking"])},zoom:e=>{const{normalize:t}=e;return t(["Zoom"])},copy_link:e=>{const{normalize:t}=e;return t(["Lien copié dans le presse-papier"])}}}})}typeof We=="function"&&We(ht);const ya=G(ht,[["__scopeId","data-v-723cd8b2"]]),ba={key:0},ga={class:"title"},ft=Y({__name:"EventDetailsSchedule",setup(p){const{t:r}=j(),e=J(),{data:t,isLoading:o}=te(e.params.id);return(a,m)=>!n(o)&&n(t)&&n(t).data.liveEventSessions.length>0?(s(),l("div",ba,[m[0]||(m[0]=u("div",{class:"separator"},null,-1)),u("h2",ga,_(n(r)("schedule")),1),(s(!0),l(U,null,Z(n(t).data.liveEventSessions,z=>(s(),M(ya,{key:z.id,event:n(t).data,"live-event-sessions":z,"show-current":!1,"show-add-to-calendar":!0},null,8,["event","live-event-sessions"]))),128))])):f("",!0)}});function Ze(p){const r=p;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{en:{schedule:e=>{const{normalize:t}=e;return t(["Planning"])}},fr:{schedule:e=>{const{normalize:t}=e;return t(["Planning"])}}}})}typeof Ze=="function"&&Ze(ft);const ka=G(ft,[["__scopeId","data-v-cea57b5e"]]),za={class:"load-more"},Ea=Y({__name:"BaseLoadMore",emits:["click"],setup(p,{emit:r}){const e=r,t=()=>{e("click")};return(o,a)=>(s(),l("div",za,[v(K,{name:"expand_more",class:"load-more__icon",onClick:t})]))}}),Je=G(Ea,[["__scopeId","data-v-49c9b49a"]]),Aa=["src"],Ta=Y({__name:"FlagHandler",props:{countryCode:{},size:{default:"32"},flagStyle:{default:"flat"}},setup(p){return(r,e)=>r.countryCode?(s(),l("img",{key:0,src:`https://flagsapi.com/${r.countryCode}/${r.flagStyle}/${r.size}.png`,loading:"lazy"},null,8,Aa)):f("",!0)}}),Sa={key:0},Ca={key:0,class:"separator"},$a={class:"title"},Ia={class:"participants__title"},La={class:"participants__container"},Da={class:"participants__container--list"},Ra={class:"participant__avatar-container"},wa={class:"participant__name"},Pa={class:"participant__company"},Ba={class:"guests__title"},Fa={class:"participants__container"},Ma={class:"participants__container--list"},Na={class:"participant__block"},Ua={class:"participant__name"},xa={class:"participant__company"},Xe=10,yt=Y({__name:"EventDetailsParticipantsList",props:{showSeparator:{type:Boolean}},setup(p){const r=q.TLF,{redirectBounding:e}=ge(),t=J(),{data:o,isLoading:a}=te(t.params.id),{data:m}=Te({queryKey:[fe.EVENT_PARTICIPANTS,t.params.id],queryFn:()=>Se.getEventParticipants(t.params.id)}),{t:z}=j(),I=Ae(!1),L=Ae(!1),P=k(()=>{var y,A,i,d;return((A=(y=m.value.data)==null?void 0:y.remoteMembers)==null?void 0:A.length)>0&&((d=(i=m.value.data)==null?void 0:i.members)==null?void 0:d.length)>0?z("hybrid"):""}),c=k(()=>{var y,A,i,d;return((A=(y=m.value.data)==null?void 0:y.remoteGuests)==null?void 0:A.length)>0&&((d=(i=m.value.data)==null?void 0:i.guests)==null?void 0:d.length)>0?z("hybrid"):""}),E=k(()=>{var y,A,i;return m.value?(y=o.value)!=null&&y.data.isOnlyStreaming?(A=m.value.data)==null?void 0:A.remoteCount:(i=m.value.data)==null?void 0:i.count:0}),w=k(()=>{var y,A,i,d,g;return m.value?(y=o.value)!=null&&y.data.isOnlyStreaming?(i=(A=m.value.data)==null?void 0:A.remoteMembers)==null?void 0:i.length:(g=(d=m.value.data)==null?void 0:d.members)==null?void 0:g.length:0}),$=k(()=>{var y,A,i;return(i=(A=(y=m.value)==null?void 0:y.data)==null?void 0:A.allMembers)==null?void 0:i.length}),h=k(()=>{var y,A,i,d,g;return m.value?(y=o.value)!=null&&y.data.isOnlyStreaming?(i=(A=m.value.data)==null?void 0:A.remoteGuests)==null?void 0:i.length:(g=(d=m.value.data)==null?void 0:d.guests)==null?void 0:g.length:0}),T=k(()=>{var A,i,d,g,R,V;const y=(A=o.value)!=null&&A.data.isOnlyStreaming?[...((d=(i=m.value)==null?void 0:i.data)==null?void 0:d.remoteMembers)||[]]:((R=(g=m.value)==null?void 0:g.data)==null?void 0:R.allMembers)||[];return I.value?y:((V=y==null?void 0:y.slice)==null?void 0:V.call(y,0,Xe))||[]}),x=k(()=>{var A,i,d,g;const y=(A=o.value)!=null&&A.data.isOnlyStreaming?[...((i=m.value)==null?void 0:i.data.remoteGuests)||[]]:((d=m.value)==null?void 0:d.data.guests)||[];return L.value?y:((g=y==null?void 0:y.slice)==null?void 0:g.call(y,0,Xe))||[]}),O=y=>{const{is:A,...i}=e({member:y});return{redirectToMemberTag:A,bounding:i}};return(y,A)=>!n(a)&&n(o)&&(n(m)&&(w.value>0||h.value>0)||n(o).data.id===n(q).RETAIL_PARTY_2025_RETAILER)?(s(),l("div",Sa,[y.showSeparator?(s(),l("hr",Ca)):f("",!0),u("section",null,[u("h2",$a,_(n(o).data.id===n(r)?n(z)("participants_tlf"):n(o).data.id===n(q).RETAIL_PARTY_2025_RETAILER?n(z)("participants_retail_party"):n(z)("participants",{count:E.value})),1),T.value.length>0&&n(o).data.id!==n(q).RETAIL_PARTY_2025_RETAILER?(s(),l(U,{key:0},[u("p",Ia,_(n(o).data.id===n(r)?n(z)("among_members_tlf"):n(z)("among_members",{count:w.value,hybrid:P.value})),1),u("section",La,[u("div",Da,[(s(!0),l(U,null,Z(T.value,i=>(s(),l("div",{key:i.idff,class:"participant"},[(s(),M(Lt(O(i).redirectToMemberTag),It({ref_for:!0},O(i).bounding,{class:"participant__block"}),{default:S(()=>[u("div",Ra,[v(Re,{src:i.picture,alt:"participant_image",class:"participant__image","is-ambassador":i.isAmbassador},null,8,["src","is-ambassador"]),i.countryCode!==n(o).data.countryCode?(s(),M(Ta,{key:0,class:"participant__flag","country-code":i.countryCode,"flag-style":"shiny"},null,8,["country-code"])):f("",!0)]),u("div",null,[u("p",wa,_(i.fullname),1),u("p",Pa,_(i.company),1)])]),_:2},1040))]))),128))]),T.value.length<$.value?(s(),M(Je,{key:0,onClick:A[0]||(A[0]=i=>I.value=!0)})):f("",!0)])],64)):f("",!0),x.value.length>0&&n(o).data.id!==n(q).RETAIL_PARTY_2025_RETAILER?(s(),l(U,{key:1},[u("p",Ba,_(n(o).data.id===n(r)?n(z)("other_members_tlf"):T.value.length>0?n(z)("other_members",{count:h.value,hybrid:c.value}):n(z)("only_other_members",{count:h.value,hybrid:c.value})),1),u("section",Fa,[u("div",Ma,[(s(!0),l(U,null,Z(x.value,i=>(s(),l("div",{key:i.id,class:"participant"},[u("div",Na,[v(Re,{src:i.picture,alt:"participant_image",class:"participant__image"},null,8,["src"]),u("div",null,[u("p",Ua,_(i.fullname),1),u("p",xa,_(i.company),1)])])]))),128))]),x.value.length<h.value?(s(),M(Je,{key:0,onClick:A[1]||(A[1]=i=>L.value=!0)})):f("",!0)])],64)):f("",!0)])])):f("",!0)}});function et(p){const r=p;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{en:{participants:e=>{const{normalize:t,interpolate:o,named:a,plural:m}=e;return m([t(["Already ",o(a("count"))," participant"]),t(["Already ",o(a("count"))," participants"])])},participants_tlf:e=>{const{normalize:t}=e;return t(["Already 450+ participants"])},participants_retail_party:e=>{const{normalize:t}=e;return t(["Already 250+ retailers"])},among_members:e=>{const{normalize:t,interpolate:o,named:a,plural:m}=e;return m([t(["including ",o(a("count"))," Club member on site"]),t(["including ",o(a("count"))," Club members ",o(a("hybrid"))])])},among_members_tlf:e=>{const{normalize:t}=e;return t(["including 350+ members of the Club Frenchfounders"])},other_members:e=>{const{normalize:t,interpolate:o,named:a,plural:m}=e;return m([t(["but also ",o(a("count"))," member of the Frenchfounders network on site"]),t(["but also ",o(a("count"))," members of the Frenchfounders network ",o(a("hybrid"))])])},only_other_members:e=>{const{normalize:t,interpolate:o,named:a,plural:m}=e;return m([t(["including ",o(a("count"))," member of the Frenchfounders network on site"]),t(["including ",o(a("count"))," members of the Frenchfounders network ",o(a("hybrid"))])])},other_members_tlf:e=>{const{normalize:t}=e;return t(["but also 100+ members of the Frenchfounders network"])},hybrid:e=>{const{normalize:t}=e;return t(["on site"])}},fr:{participants:e=>{const{normalize:t,interpolate:o,named:a,plural:m}=e;return m([t(["Déjà ",o(a("count"))," inscrit"]),t(["Déjà ",o(a("count"))," inscrits"])])},participants_retail_party:e=>{const{normalize:t}=e;return t(["Déjà +250 inscrits"])},among_members:e=>{const{normalize:t,interpolate:o,named:a,plural:m}=e;return m([t(["dont un membre du Club en physique"]),t(["dont ",o(a("count"))," membres du Club ",o(a("hybrid"))])])},other_members:e=>{const{normalize:t,interpolate:o,named:a,plural:m}=e;return m([t(["et aussi ",o(a("count"))," membre du réseau Frenchfounders en physique"]),t(["et aussi ",o(a("count"))," membres du réseau Frenchfounders ",o(a("hybrid"))])])},only_other_members:e=>{const{normalize:t,interpolate:o,named:a,plural:m}=e;return m([t(["dont ",o(a("count"))," membre du réseau Frenchfounders en physique"]),t(["dont ",o(a("count"))," membres du réseau Frenchfounders ",o(a("hybrid"))])])},hybrid:e=>{const{normalize:t}=e;return t(["en physique"])}}}})}typeof et=="function"&&et(yt);const Oa=G(yt,[["__scopeId","data-v-72f2bb4f"]]),Va={key:0,class:"location"},qa={key:0,class:"separator"},Ya={class:"section-map"},Ga={class:"location__title"},ja={class:"location__container"},Ha={key:0,class:"location__information"},Qa={class:"location__information--title"},Ka={key:1},Wa=["href"],Za=["src"],Ja={class:"location__itinary"},Xa=["href"],bt=Y({__name:"EventDetailsLocation",setup(p){const r="AIzaSyB5yoN7eWndyX4q_36_PuoCHxVcWfzewwM",e=q.RETAIL_PARTY,t=ie(),o=J(),{data:a,isLoading:m}=te(o.params.id),{t:z}=j(),I=k(()=>t.isLoggedIn),L=k(()=>{var $,h;return((h=($=a.value)==null?void 0:$.data)==null?void 0:h.id.toString())===e}),P=k(()=>{var $,h;return!m.value&&a.value?(($=a.value)==null?void 0:$.data.location)!=="TBD"&&!((h=a.value)!=null&&h.data.isOnlyStreaming):!1}),c=k(()=>{var $,h,T,x;return a.value?[($=a.value)==null?void 0:$.data.address1,(h=a.value)==null?void 0:h.data.city,(T=a.value)==null?void 0:T.data.postalCode,(x=a.value)==null?void 0:x.data.country].filter(Boolean).filter(O=>O&&O!=="TBD").join(", "):""}),E=k(()=>{var $,h,T;return($=a.value)!=null&&$.data.latitude&&a.value.data.longitude?`https://www.google.com/maps/dir/?api=1&destination=${`${(h=a.value)==null?void 0:h.data.latitude},${(T=a.value)==null?void 0:T.data.longitude}`}`:`https://www.google.com/maps/dir/?api=1&destination=${encodeURIComponent(c.value)}`}),w=k(()=>{var d,g;const h="600x300",T="roadmap";let O="";const y=(d=a.value)==null?void 0:d.data.latitude,A=(g=a.value)==null?void 0:g.data.longitude,i=c.value;if(y&&A)O=`${y},${A}`;else if(i)O=encodeURIComponent(i);else return"";return`https://maps.googleapis.com/maps/api/staticmap?center=${O}&zoom=16&size=${h}&maptype=${T}&scale=2&markers=color:red%7C${O}&key=${r}`});return($,h)=>{const T=ut("tooltip");return n(a)&&!n(m)?(s(),l("section",Va,[P.value?(s(),l("hr",qa)):f("",!0),ye(u("section",Ya,[u("h2",Ga,_(n(z)("place")),1),u("div",ja,[v(K,{name:"location_on",class:"location__icon"}),u("div",null,[n(a).data.isOnlyStreaming?f("",!0):(s(),l("div",Ha,[u("div",null,[u("div",Qa,[F(_(n(a).data.location||n(a).data.city)+" ",1),n(a).data.addressComment?ye((s(),M(K,{key:0,name:"info",class:"location__information--title-icon"},null,512)),[[T,n(a).data.addressComment,void 0,{bottom:!0}]]):f("",!0)]),I.value?(s(),l(U,{key:0},[u("div",null,_(n(a).data.address1||""),1),u("div",null,_(n(a).data.postalCode)+" "+_(n(a).data.city),1),u("div",null,_(L.value?"USA":n(a).data.country),1)],64)):(s(),l("div",Ka,_(n(a).data.city||n(a).data.country),1))])]))])]),u("a",{href:E.value},[u("img",{class:"location__map",src:w.value},null,8,Za)],8,Wa),u("div",Ja,[v(Rt,{name:"map"}),u("a",{class:"underline",href:E.value},_(n(z)("see_itinerary")),9,Xa)])],512),[[Dt,P.value]])])):f("",!0)}}});function tt(p){const r=p;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{en:{place:e=>{const{normalize:t}=e;return t(["Address"])},see_itinerary:e=>{const{normalize:t}=e;return t(["See itinerary"])},"event.show.see_map":e=>{const{normalize:t}=e;return t(["See on map"])}},fr:{place:e=>{const{normalize:t}=e;return t(["Adresse"])},see_itinerary:e=>{const{normalize:t}=e;return t(["Voir l'itinéraire"])},"event.show.see_map":e=>{const{normalize:t}=e;return t(["Voir sur la carte"])}}}})}typeof tt=="function"&&tt(bt);const eo=G(bt,[["__scopeId","data-v-aeaf9068"]]),to={key:0,class:"container"},no={key:0,class:"container__icon-container"},ao={key:1,class:"container__icon-container"},oo={key:0},so={key:0},ro={key:0},io={key:1},lo={key:1},co={key:1},uo={key:1},_o={key:2},gt=Y({__name:"EventDetailsMobileFooter",props:{event:{},lang:{}},setup(p){const r=wt(),e=p,t=ie(),o=J(),{navigate:a}=ge(),{isMobile:m}=Pt(),z=k(()=>t.isLoggedIn),{data:I,isLoading:L,isError:P,isSuccess:c}=En("event",{enabled:z}),E=Ae(!1),{t:w}=j(),$=q.RETAIL_PARTY,{data:h}=Te({queryKey:[fe.EVENT_ACTIONS,e.event.data.id],enabled:z.value,queryFn:()=>Se.getActions(e.event.data.id,Bt.get(Ft.PUBLIC_PARTICIPANT_ID)||"",e.lang)}),T=k(()=>{var R,V,B,ne;const d=((V=(R=h.value)==null?void 0:R.event)==null?void 0:V.actions)||[],g=((ne=(B=h.value)==null?void 0:B.stream)==null?void 0:ne.actions)||[];return[...d,...g]}),x=k(()=>T.value.find(g=>["action.participate","action.participate_as_guest","action.ask_to_participate_as_member","action.ask_to_participate_as_public","action.ask_to_participate_as_public_and_buy_ticket","action.ask_to_participate_as_member_and_buy_ticket","action.stream.access","action.join_club"].includes(g.key))?T.value.filter(g=>!["action.stream.ask_to_participate_as_member","action.stream.ask_to_participate_as_public","action.stream.participate","action.stream.join_club"].includes(g.key)):T.value),O=k(()=>{var d,g,R,V;return!e.event||!((g=(d=e.event)==null?void 0:d.data)!=null&&g.localStartDate)?null:e.event.data.id===q.RETAIL_PARTY?"January 14, 2024 - 6:00 PM":H.fromFormat((V=(R=e.event)==null?void 0:R.data)==null?void 0:V.localStartDate,"yyyy-MM-dd HH:mm:ss").toFormat("dd MMM yyyy - HH:mm")}),y=()=>{r.refetchQueries({queryKey:[fe.COMPLETED_PROFILE]})},A=()=>{let d="#ticketing";T.value.find(g=>g.key==="action.cancel")&&(d="#action_tlf"),a({name:o.name||dt.EVENT_DETAILS,params:{id:e.event.data.id,slug:e.event.data.slug},hash:d})},i=d=>{try{const g=document.querySelector(".crisp-client span:has([data-is-ongoing])");g&&(d?g.style.cssText+=`
                    position: fixed !important;
                    bottom: 5em !important;
                    right: 2em !important;
                `:(g.style.position="",g.style.bottom="",g.style.right=""))}catch{return}};return oe(m,d=>{i(d)},{immediate:!0}),Mt(()=>{i(!1)}),(d,g)=>(s(),M(xt,{to:"body"},[v(Ut,null,{default:S(()=>{var R,V,B,ne,_e,me,ve,pe,ae,C;return[d.event?(s(),l("div",to,[u("div",null,[O.value?(s(),l("div",no,[v(K,{name:"schedule-1",class:"container__icon"}),F(_(O.value),1)])):f("",!0),d.event&&!((R=d.event.data)!=null&&R.isOnlyStreaming)&&((V=d.event.data)!=null&&V.city)?(s(),l("div",ao,[v(K,{name:"location_on",class:"container__icon"}),F(_((B=d.event.data)==null?void 0:B.city),1)])):f("",!0)]),(_e=(ne=d.event)==null?void 0:ne.data)!=null&&_e.isCommunity?(s(),l("div",oo,[z.value?(s(),l("div",so,[v(be,{"is-loading":n(L),"is-error":n(P),"is-success":n(c)},{success:S(()=>{var b,D,N,W,X;return[n(I)?(s(),l("div",io,[v(Ue,{event:(b=d.event)==null?void 0:b.data,actions:T.value},null,8,["event","actions"]),((N=(D=d.event)==null?void 0:D.data)==null?void 0:N.id)===n($)?(s(),M(xe,{key:0,event:(W=d.event)==null?void 0:W.data,actions:T.value,size:"sm"},null,8,["event","actions"])):(s(),M(Oe,{key:1,event:(X=d.event)==null?void 0:X.data,actions:T.value,size:"sm"},null,8,["event","actions"])),(s(!0),l(U,null,Z(x.value,Q=>{var le,ce;return s(),l("div",{key:Q.key,class:"actions__list"},[v(Ve,{event:(le=d.event)==null?void 0:le.data,action:Q},null,8,["event","action"]),v(qe,{action:Q},null,8,["action"]),v(Ye,{action:Q},null,8,["action"]),v(Ge,{action:Q,event:(ce=d.event)==null?void 0:ce.data},null,8,["action","event"]),v(je,{action:Q},null,8,["action"])])}),128))])):(s(),l("div",ro,[v(zn,{onRefresh:y})]))]}),_:1},8,["is-loading","is-error","is-success"])])):(s(),l("div",lo,[v(he,{theme:n(Nt).PRIMARY,onClick:g[0]||(g[0]=b=>E.value=!0)},{default:S(()=>[F(_(n(w)("register")),1)]),_:1},8,["theme"])])),v(pn,{modelValue:E.value,"onUpdate:modelValue":g[1]||(g[1]=b=>E.value=b)},null,8,["modelValue"])])):(s(),l("div",co,[d.event.data.id===n(q).TLF?(s(),M(he,{key:0,onClick:A},{default:S(()=>[F(_(n(w)("participate")),1)]),_:1})):(s(),l("div",uo,[v(Ue,{event:(me=d.event)==null?void 0:me.data,actions:T.value},null,8,["event","actions"]),((pe=(ve=d.event)==null?void 0:ve.data)==null?void 0:pe.id)===n($)?(s(),M(xe,{key:0,event:(ae=d.event)==null?void 0:ae.data,actions:T.value,size:"sm"},null,8,["event","actions"])):(s(),M(Oe,{key:1,event:(C=d.event)==null?void 0:C.data,actions:T.value,size:"sm"},null,8,["event","actions"]))])),d.event.data.id!==n(q).TLF?(s(),l("div",_o,[(s(!0),l(U,null,Z(x.value,b=>{var D,N;return s(),l("div",{key:b.key,class:"actions__list"},[v(Ve,{event:(D=d.event)==null?void 0:D.data,action:b},null,8,["event","action"]),v(qe,{action:b},null,8,["action"]),v(Ye,{action:b},null,8,["action"]),v(Ge,{action:b,event:(N=d.event)==null?void 0:N.data},null,8,["action","event"]),v(je,{action:b},null,8,["action"])])}),128))])):f("",!0)]))])):f("",!0)]}),_:1})]))}});function nt(p){const r=p;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{register:e=>{const{normalize:t}=e;return t(["S'inscrire"])},participate:e=>{const{normalize:t}=e;return t(["Participer"])}},en:{register:e=>{const{normalize:t}=e;return t(["Register"])},participate:e=>{const{normalize:t}=e;return t(["Participate"])}}}})}typeof nt=="function"&&nt(gt);const mo=G(gt,[["__scopeId","data-v-5aeed5a0"]]),vo={key:0,class:"container"},po={key:0,class:"container__tagscontainer"},ho={key:1},fo={class:"container__tagscontainer--imagecontainer"},yo=["alt","src"],kt=Y({__name:"EventsDetailsTags",setup(p){const r=q.RETAIL_PARTY,e=J(),{t}=j(),{theme:o}=Ot(),{data:a,isLoading:m}=te(e.params.id),z=k(()=>{var c,E,w,$;return m.value||!a.value?!1:((E=(c=a.value.data)==null?void 0:c.tags)==null?void 0:E.length)>0||(($=(w=a.value.data)==null?void 0:w.clubs)==null?void 0:$.length)>0}),I=k(()=>{var c,E,w;return(w=(E=(c=a.value)==null?void 0:c.data)==null?void 0:E.tags)==null?void 0:w.filter($=>$!=="EVENT")}),L=k(()=>{var c,E;return((E=(c=a.value)==null?void 0:c.data)==null?void 0:E.id)===r}),P=k(()=>[t("tags.special"),t("tags.retail_club")]);return(c,E)=>{var w,$,h;return z.value?(s(),l("div",vo,[n(a)&&n(a).data.tags?(s(),l("div",po,[(s(!0),l(U,null,Z(L.value?P.value:I.value,T=>(s(),l("div",{key:T,class:"container__tagscontainer--tag"},_(T),1))),128))])):f("",!0),($=(w=n(a))==null?void 0:w.data)!=null&&$.clubs&&n(o)!==n(Vt).MONDRIAN?(s(),l("div",ho,[u("div",fo,[(s(!0),l(U,null,Z((h=n(a).data)==null?void 0:h.clubs,(T,x)=>(s(),l("img",{key:x,class:"container__tagscontainer--image",alt:T.name,src:`https://cf-uploads-dev.frenchfounders.com${T.logoLight}`},null,8,yo))),128))])])):f("",!0)])):f("",!0)}}});function at(p){const r=p;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{tags:{special:e=>{const{normalize:t}=e;return t(["Spécial"])},retail_club:e=>{const{normalize:t}=e;return t(["Retail Club"])}}},en:{tags:{special:e=>{const{normalize:t}=e;return t(["Special"])},retail_club:e=>{const{normalize:t}=e;return t(["Retail Club"])}}}}})}typeof at=="function"&&at(kt);const bo=G(kt,[["__scopeId","data-v-5423e584"]]),go={class:"field__content"},ko=["data-testid"],zo=["data-testid"],zt=Y({__name:"FormNumber",props:qt({name:{},max:{},min:{},rules:{},step:{default:1},error:{},disabled:{type:Boolean},testIdPlus:{},testIdMinus:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(p){const r=Yt(p,"modelValue"),e=p,{t}=j(),{value:o,errors:a}=Gt(e.name||jt(),e.rules,{standalone:!e.name,syncVModel:!0,initialValue:r.value}),m=k(()=>e.max&&o.value>e.max?t("error.higher_than_max",{max:e.max}):e.min&&o.value<e.min?t("error.lower_than_min",{min:e.min}):null),z=k(()=>e.rules?typeof e.rules=="string"?e.rules.includes("required"):Object.keys(e.rules).includes("required"):!1),I=k(()=>e.error||a.value.join(", ")||m.value),L=()=>{if(e.disabled)return null;if(e.max===void 0){o.value+=e.step;return}o.value=Math.min(o.value+e.step,e.max)},P=()=>{if(e.disabled)return null;if(e.min===void 0){o.value-=e.step;return}o.value=Math.max(o.value-e.step,e.min)};return(c,E)=>(s(),M(Kt,{class:ee(["field",{"field--error":I.value}]),required:z.value},Ht({label:S(()=>[_t(c.$slots,"default",{},void 0,!0)]),default:S(()=>{var w;return[u("div",go,[u("button",{class:ee(["field__button",{"field__button--disabled":c.min&&n(o)<=c.min||c.disabled}]),type:"button","data-testid":c.testIdMinus,onClick:P}," - ",10,ko),u("div",{class:ee(["field__counter",{"field__counter--disabled":c.disabled}]),style:Qt(`--character-count: ${(w=n(o))==null?void 0:w.toString().length}ch`)},_(n(o)?n(o).toLocaleString(void 0):n(o)),7),u("button",{class:ee(["field__button",{"field__button--disabled":c.max&&n(o)>=c.max||c.disabled}]),type:"button","data-testid":c.testIdPlus,onClick:L}," + ",10,zo)])]}),_:2},[I.value?{name:"error",fn:S(()=>[F(_(I.value),1)]),key:"0"}:void 0]),1032,["class","required"]))}});function ot(p){const r=p;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{"error.higher_than_max":e=>{const{normalize:t,interpolate:o,named:a}=e;return t(["La valeur ne doit pas dépasser ",o(a("max"))])},"error.lower_than_min":e=>{const{normalize:t,interpolate:o,named:a}=e;return t(["La valeur doit être plus grande que ",o(a("min"))])}},en:{"error.higher_than_max":e=>{const{normalize:t,interpolate:o,named:a}=e;return t(["The value cannot be higher than ",o(a("max"))])},"error.lower_than_min":e=>{const{normalize:t,interpolate:o,named:a}=e;return t(["The value cannot be lower than ",o(a("min"))])}}}})}typeof ot=="function"&&ot(zt);const Eo=G(zt,[["__scopeId","data-v-f59dbff5"]]),Ao={class:"ticket__price mb-4"},To={key:0,class:"line-through"},So={class:"font-bold"},Co={key:1,class:"text-sm text-ok"},Et=Y({__name:"EventDetailsTicketingTicket",props:{title:{},name:{},price:{},originalPrice:{},disabled:{type:Boolean},maxOrder:{},minOrder:{}},setup(p){const{t:r}=j(),e=p,t=k(()=>{if(e.originalPrice&&e.originalPrice.value>e.price.value)return String((e.originalPrice.value-e.price.value)/100)+Wt(e.originalPrice.currency)});return(o,a)=>(s(),l("div",{class:ee(["ticket",{"ticket--disabled":o.disabled}])},[v(we,{class:"ticket__header"},{default:S(()=>[u("div",null,_(o.title),1),v(Eo,{name:o.name,min:o.minOrder??0,max:o.maxOrder,rules:{min_value:o.minOrder??0},"test-id-minus":`${o.name}_min`,"test-id-plus":`${o.name}_plus`},null,8,["name","min","max","rules","test-id-minus","test-id-plus"])]),_:1}),a[0]||(a[0]=u("div",{class:"ticket__separator"},null,-1)),v(we,null,{default:S(()=>[u("div",Ao,[t.value?(s(),l("div",To,_(n(Pe)(o.originalPrice)),1)):f("",!0),u("div",So,_(n(Pe)(o.price)),1),t.value?(s(),l("div",Co,_(n(r)("save",{computedSaveValue:t.value})),1)):f("",!0)]),_t(o.$slots,"default",{},void 0,!0)]),_:3})],2))}});function st(p){const r=p;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{save:e=>{const{normalize:t,interpolate:o,named:a}=e;return t(["Économisez ",o(a("computedSaveValue"))])}},en:{save:e=>{const{normalize:t,interpolate:o,named:a}=e;return t(["Save ",o(a("computedSaveValue"))])}}}})}typeof st=="function"&&st(Et);const rt=G(Et,[["__scopeId","data-v-8feba71d"]]),$o={id:"ticketing",class:"ticketing"},Io={key:0,class:"mb-4 font-medium"},Lo={key:0,class:"text-sm"},Do={key:0},Ro={class:"font-medium"},wo={key:1},Po={class:"mt-6"},Bo={key:0,class:"mb-4 font-medium"},Fo={class:"text-sm"},Mo={key:0},No={class:"font-medium"},Uo={class:"ticketing__footer"},At=Y({__name:"EventDetailsTicketing",props:{event:{}},setup(p){const r=p,e=ie(),{t,locale:o}=j(),{toast:a}=ct(),{navigate:m}=ge(),{formEstimate:z}=hn(),I=fn(),{analytics:L}=Zt(),P=Jt(),c=Sn("tickets"),{data:E,isLoading:w,isError:$,isSuccess:h}=Te({queryKey:[fe.EVENT_TICKETS,r.event.id],queryFn:()=>Se.getEventTickets(r.event.id)}),{handleSubmit:T,values:x,setFieldValue:O}=Xt({initialValues:{club_member:0,public_ticket:0,coupon:""}}),y=k(()=>{const b=(Array.isArray(c.value)?c.value:[c.value].filter(Boolean)).map(D=>{if(!D)return null;const[N,W]=D.split(":");return{type:N,number:parseInt(W,10)}});return{clubTicket:b.find(D=>(D==null?void 0:D.type)==="memberClubTicket"),publicTicket:b.find(D=>(D==null?void 0:D.type)==="publicTicket")}}),A=(C,b)=>{if(!C.metas.isAvailable)return null;const D=b==="club_member"?y.value.clubTicket:y.value.publicTicket;let N=0;c.value&&D?C.metas.remainingTicketsAvailable>=D.number?N=D.number:C.metas.remainingTicketsAvailable===1&&(N=1):C.metas.remainingTicketsAvailable>=1&&(N=1),O(b,N)},i=k(()=>{var C;return(C=E.value)==null?void 0:C.data.find(b=>b.target==="member-club")}),d=()=>{(y.value.clubTicket||e.hasBusinessLine(se.LECLUB))&&i.value&&A(i.value,"club_member"),(y.value.publicTicket||!e.hasBusinessLine(se.LECLUB))&&B.value&&A(B.value,"public_ticket")};en(E,()=>{E.value&&d()});const g=on(()=>{var b,D,N;let C=x.public_ticket;!e.hasBusinessLine(se.LECLUB)&&!((N=(D=(b=R.data)==null?void 0:b.value)==null?void 0:D.meta)!=null&&N.alreadyPaid)&&C>0&&(C=C-1),I.setFormEstimate({guests:[],additionnalAnonymousGuests:C,payForGuests:!0,couponCode:x.coupon})});oe(x,()=>{g()},{deep:!0,immediate:!0}),oe(()=>z.value.couponCode,()=>{O("coupon",z.value.couponCode||"")});const R=yn({eventId:r.event.id,context:"ticketing",form:z},{placeholderData:tn}),V=k(()=>x.club_member+x.public_ticket>0),B=k(()=>{var C;return(C=E.value)==null?void 0:C.data.find(b=>b.target==="public")}),ne=k(()=>de.LOGIN()+`?redirect=${window.location}`),_e=k(()=>{const C=encodeURIComponent("Request tickets for Transatlantic Leaders Forum"),b=encodeURIComponent(`Hello,

I would like to buy more than 5 tickets for the TLF 2024 event.

First name :
Last name :
Position:
Company :
Phone Number :

I understand that I will be contacted by Frenchfounders to finalize my order.

Thank you,`);return`mailto:transatlantic@frenchfounders.com?subject=${C}&body=${b}`});oe(R.isSuccess,()=>{var C,b,D,N;if(R.isSuccess.value&&(b=(C=R.data.value)==null?void 0:C.meta)!=null&&b.errorCoupon)switch((N=(D=R.data.value)==null?void 0:D.meta)==null?void 0:N.errorCoupon){case"coupon_usage_exceeded":a({type:re.ERROR,text:t("error.coupon.usage_exceeded")});break;case"coupon_rm_exceeded":a({type:re.ERROR,text:t("error.coupon.rm_exceeded")});break;case"coupon_error":default:a({type:re.ERROR,text:t("error.coupon.default")});break}}),oe(R.isError,()=>{var C;if(R.isError.value){if(console.error(R.error.value),an.isAxiosError(R.error.value)){a({type:re.ERROR,text:((C=R.error.value)==null?void 0:C.message)||t("error.generic")});return}a({type:re.ERROR,text:t("error.generic")})}});const me=T(async C=>{var D,N,W,X,Q;const b=[];C.club_member>0&&b.push(((D=i.value)==null?void 0:D.id)+":"+C.club_member),C.public_ticket>0&&b.push(((N=B.value)==null?void 0:N.id)+":"+C.public_ticket),L==null||L.track(Be.EVENT_TICKETING_ORDERED_TICKET,{tickets:b,eventId:r.event.id}),b.length>0&&await P.replace({query:{...P.currentRoute.value.query,tickets:b}}),m({name:dt.EVENT_PAYMENT_TUNNEL,params:{id:r.event.id},query:{tickets:b.length>0?b:void 0,coupon:(Q=(X=(W=R.data.value)==null?void 0:W.data)==null?void 0:X.coupon)==null?void 0:Q.code}})}),ve=C=>{O("coupon",C)},pe=()=>{L==null||L.track(Be.EVENT_TICKETING_CONTACT_US,{eventId:r.event.id})},ae=(C,b,D)=>!!(D&&b&&b.amount!==C.amount);return(C,b)=>{const D=ut("safe-html");return s(),l("div",$o,[v(be,{"is-error":n($),"is-loading":n(w),"is-success":n(h)||!0},{success:S(()=>{var N,W,X,Q,le,ce,Ce;return[u("div",null,[n(e).isLoggedIn&&n(e).hasBusinessLine(n(se).LECLUB)&&i.value?(s(),l("div",Io,_(n(t)("your_tickets")),1)):f("",!0),i.value?(s(),M(rt,{key:1,name:"club_member",title:ae(i.value.price,i.value.originalPrice,i.value.endDate)?n(t)("club_ticket.title_early_bird"):n(t)("club_ticket.title"),price:i.value.price,"original-price":i.value.endDate?i.value.originalPrice:void 0,"max-order":i.value.metas.remainingTicketsAvailable,"min-order":i.value.metas.remainingTicketsAvailable,disabled:!i.value.metas.isAvailable},{default:S(()=>{var ue;return[n(e).hasBusinessLine(n(se).LECLUB)?(s(),l("div",Lo,[(ue=i.value)!=null&&ue.endDate&&ae(i.value.price,i.value.originalPrice,i.value.endDate)?(s(),l("span",Do,_(n(t)("early_bird_date",{endDate:n(Fe)(i.value.endDate,{locale:n(o),customFormat:"d'th' MMMM yyyy"})})),1)):f("",!0),b[0]||(b[0]=F(" • ")),u("span",Ro,_(n(t)("event_moderate")),1)])):ye((s(),l("div",wo,null,512)),[[D,n(t)("club_ticket.login",{href:ne.value})]])]}),_:1},8,["title","price","original-price","max-order","min-order","disabled"])):f("",!0)]),u("div",Po,[n(e).isLoggedIn?(s(),l("div",Bo,_(n(t)("add_guests")),1)):f("",!0),B.value?(s(),M(rt,{key:1,name:"public_ticket",title:ae((N=B.value)==null?void 0:N.price,(W=B.value)==null?void 0:W.originalPrice,(X=B.value)==null?void 0:X.endDate)?n(t)("regular_ticket.title_early_bird"):n(t)("regular_ticket.title"),price:B.value.price,"original-price":B.value.endDate?B.value.originalPrice:void 0,"max-order":B.value.metas.remainingTicketsAvailable,"min-order":n(e).hasBusinessLine(n(se).LECLUB)||(Q=n(R).data.value)!=null&&Q.meta.alreadyPaid?0:1,disabled:!B.value.metas.isAvailable},{default:S(()=>{var ue,$e,Ie,Le,De;return[u("div",Fo,[(ue=B.value)!=null&&ue.endDate&&ae(($e=B.value)==null?void 0:$e.price,(Ie=B.value)==null?void 0:Ie.originalPrice,(Le=B.value)==null?void 0:Le.endDate)?(s(),l("span",Mo,_(n(t)("early_bird_date",{endDate:n(Fe)((De=B.value)==null?void 0:De.endDate,{locale:n(o),customFormat:"d'th' MMMM yyyy"})})),1)):f("",!0),b[1]||(b[1]=F(" • ")),u("span",No,_(n(t)("event_moderate")),1)]),ye(u("div",{class:"mt-6 text-sm",onClick:pe},null,512),[[D,n(t)("regular_ticket.guests_limit",{href:_e.value})]])]}),_:1},8,["title","price","original-price","max-order","min-order","disabled"])):f("",!0)]),v(bn,{class:"mt-6","is-success":!!((le=n(R).data.value)!=null&&le.data.coupon),"is-error-coupon":!!((Ce=(ce=n(R).data.value)==null?void 0:ce.meta)!=null&&Ce.errorCoupon),"is-loading":n(R).isFetching.value,onSendCoupon:ve},null,8,["is-success","is-error-coupon","is-loading"]),u("div",Uo,[v(nn,{class:"ticketing__footer-button",disabled:!V.value,onClick:n(me)},{default:S(()=>[F(_(n(t)("order")),1)]),_:1},8,["disabled","onClick"])])]}),_:1},8,["is-error","is-loading","is-success"])])}}});function it(p){const r=p;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{your_tickets:e=>{const{normalize:t}=e;return t(["Vos tickets"])},add_guests:e=>{const{normalize:t}=e;return t(["Vous voulez ajouter des invités ?"])},event_moderate:e=>{const{normalize:t}=e;return t(["Cet événement est soumis à modération"])},early_bird_date:e=>{const{normalize:t,interpolate:o,named:a}=e;return t(["Fin du early bird le ",o(a("endDate"))])},order:e=>{const{normalize:t}=e;return t(["Commander"])},club_ticket:{title:e=>{const{normalize:t}=e;return t(["Prix membre Club"])},title_early_bird:e=>{const{normalize:t}=e;return t(["Prix membre Club - Ticket Early bird"])},login:e=>{const{normalize:t,interpolate:o,named:a}=e;return t(["<a style='color: var(--theme-primary-color); text-decoration: underline' href=",o(a("href")),">Connectez-vous</a> à votre compte Club pour sélectionner ce billet."])}},regular_ticket:{title:e=>{const{normalize:t}=e;return t(["Prix public"])},title_early_bird:e=>{const{normalize:t}=e;return t(["Prix public - Ticket Early bird"])},guests_limit:e=>{const{normalize:t,interpolate:o,named:a}=e;return t(["Si vous souhaitez acheter plus de 5 billets ou des informations sur nos offres de parrainage, <a style='color: var(--theme-primary-color); text-decoration: underline' href=",o(a("href")),"> contactez-nous </a>."])}},error:{generic:e=>{const{normalize:t}=e;return t(["Nous n'avons pas pu finaliser votre inscription, veuillez réessayer ultérieurement."])},coupon:{default:e=>{const{normalize:t}=e;return t(["Le coupon appliqué n'est pas valide."])},usage_exceeded:e=>{const{normalize:t}=e;return t(["Ce coupon n'est plus utilisable."])},rm_exceeded:e=>{const{normalize:t}=e;return t(["Vous avez déjà utiliser ce coupon pour un autre événement."])}}}},en:{your_tickets:e=>{const{normalize:t}=e;return t(["Your ticket"])},add_guests:e=>{const{normalize:t}=e;return t(["Want to add guests ?"])},event_moderate:e=>{const{normalize:t}=e;return t(["This event is subject to moderation"])},early_bird_date:e=>{const{normalize:t,interpolate:o,named:a}=e;return t(["Early bird end on ",o(a("endDate"))])},order:e=>{const{normalize:t}=e;return t(["Order"])},club_ticket:{title:e=>{const{normalize:t}=e;return t(["Club member price"])},title_early_bird:e=>{const{normalize:t}=e;return t(["Club member price - Early bird ticket"])},login:e=>{const{normalize:t,interpolate:o,named:a}=e;return t(["<a style='color: var(--theme-primary-color); text-decoration: underline' href=",o(a("href")),">Log in<a/> to your Club member account to select this ticket. "])}},regular_ticket:{title:e=>{const{normalize:t}=e;return t(["Regular price"])},title_early_bird:e=>{const{normalize:t}=e;return t(["Regular price - Early bird ticket"])},guests_limit:e=>{const{normalize:t,interpolate:o,named:a}=e;return t(["If you want to buy more than 5 tickets, or information about our sponsorship offers, <a style='color: var(--theme-primary-color); text-decoration: underline' href=",o(a("href")),">contact us</a>."])}},error:{generic:e=>{const{normalize:t}=e;return t(["We were unable to finalize your registration, please try again."])},coupon:{default:e=>{const{normalize:t}=e;return t(["The applied coupon is not valid."])},usage_exceeded:e=>{const{normalize:t}=e;return t(["This coupon is no longer usable."])},rm_exceeded:e=>{const{normalize:t}=e;return t(["You have already used this coupon for another event."])}}}}}})}typeof it=="function"&&it(At);const xo=G(At,[["__scopeId","data-v-2f7b8c6c"]]),Oo={class:"page"},Vo=["src"],qo={class:"page__error-details"},Yo={class:"py-10"},Tt=Y({__name:"EventDetailsPage",setup(p){const{title:r,description:e,imageUrl:t}=Cn(),o=ie(),{breadcrumb:a}=sn(),m=J(),{locale:z}=j({useScope:"global"}),{t:I}=j(),{redirectBounding:L}=ge(),P=window.navigator.userAgent.toLowerCase().includes("prerender"),{data:c,isLoading:E,isError:w,isSuccess:$}=te(m.params.id,void 0,{refetchOnMount:!0}),h=k(()=>{var i;return E.value?!1:((i=c.value)==null?void 0:i.data.id)===q.TLF}),T=k(()=>{var i;return E.value?!1:((i=c.value)==null?void 0:i.data.id)===q.RETAIL_PARTY_2025_PUBLIC}),x=k(()=>{var i;return E.value?!1:((i=c.value)==null?void 0:i.data.id)===q.RETAIL_PARTY_2025_RETAILER}),O=k(()=>{var i,d;return E.value?!1:!!((i=c.value)!=null&&i.data.location||(d=c.value)!=null&&d.data.isStreaming)}),y=k(()=>{var i;return((i=o.authentifiedUser)==null?void 0:i.is_admin)||!1}),A=k(()=>rn.LECLUB==="lenetwork"?{to:{name:ln.EVENTS_LISTING}}:L({name:Me.EVENT_LIST}));return oe($,()=>{var i,d,g,R,V,B;$.value&&(((i=c.value)==null?void 0:i.data.locales.length)===1&&(z.value=(d=c.value)==null?void 0:d.data.locales[0]),(g=c.value)!=null&&g.data.title&&(r.value=(R=c.value)==null?void 0:R.data.title),e.value=((V=c.value)==null?void 0:V.data.about)||"",t.value=((B=c.value)==null?void 0:B.data.image)||"")}),oe(c,()=>{var i;if(!((i=c.value)!=null&&i.data))return null;a.value=[{label:I("events"),to:{name:Me.EVENT_LIST_PUBLIC}},{label:c.value.data.title}]},{immediate:!0}),(i,d)=>(s(),l("div",Oo,[v(be,{"is-error":n(w),"is-loading":n(E),"is-empty":!1,"is-success":!!n(c)},{success:S(()=>{var g,R;return[v(Ne,{class:ee(["page__content",((g=n(c))==null?void 0:g.data.tags)&&((R=n(c))==null?void 0:R.data.tags.length)>0&&"page__content--with-tags"]),"hide-aside":!O.value},{header:S(()=>[d[0]||(d[0]=u("div",{class:"page__header--overlay"},null,-1)),n(c)?(s(),l("img",{key:0,src:n(c).data.image,class:"page__header--image"},null,8,Vo)):f("",!0),v(bo)]),content:S(()=>[v(cn,{class:"card"},{default:S(()=>{var V;return[v(Pn),h.value&&((V=n(c))!=null&&V.data)?(s(),M(xo,{key:0,event:n(c).data},null,8,["event"])):f("",!0),v(Gn),v(ea),v(ka),!h.value&&!T.value?(s(),M(Oa,{key:1,"show-separator":!0})):f("",!0),!n(P)&&!T.value&&!x.value?(s(),M(eo,{key:2})):f("",!0),v(gn,{"show-separator":!0})]}),_:1})]),aside:S(()=>[v(kn)]),_:1},8,["hide-aside","class"]),y.value?(s(),M(An,{key:0})):f("",!0),n(c)?(s(),M(mo,{key:1,event:n(c)},null,8,["event"])):f("",!0)]}),error:S(()=>[v(un,{class:"page__error"},{default:S(()=>[u("div",qo,[v(Tn,null,{title:S(()=>[F(_(n(I)("event_not_found.title")),1)]),message:S(()=>[F(_(n(I)("event_not_found.message")),1)]),_:1}),v(he,dn(_n(A.value)),{default:S(()=>[F(_(n(I)("back_to_events")),1)]),_:1},16)])]),_:1})]),fallback:S(()=>[u("div",Yo,[v(Ne,null,{header:S(()=>[v(ze,{dark:"",class:"page__placeholder page__placeholder--head mb-6r"})]),content:S(()=>[v(ze,{dark:"",class:"page__placeholder page__placeholder--content"})]),aside:S(()=>[v(ze,{dark:"",class:"page__placeholder page__placeholder--aside mb-6r"})]),_:1})])]),_:1},8,["is-error","is-loading","is-success"])]))}});function lt(p){const r=p;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{"event_not_found.title":e=>{const{normalize:t}=e;return t(["Événement introuvable"])},"event_not_found.message":e=>{const{normalize:t}=e;return t(["Il semblerait que l'événement que vous essayez d'afficher n'est pas accessible ou n'existe pas."])},back_to_events:e=>{const{normalize:t}=e;return t(["Retourner à la liste des événements"])},events:e=>{const{normalize:t}=e;return t(["Événements"])}},en:{"event_not_found.title":e=>{const{normalize:t}=e;return t(["Event not found"])},"event_not_found.message":e=>{const{normalize:t}=e;return t(["It seems that the event you are trying to display is not accessible or does not exist."])},back_to_events:e=>{const{normalize:t}=e;return t(["Back to the event list"])},events:e=>{const{normalize:t}=e;return t(["Events"])}}}})}typeof lt=="function"&&lt(Tt);const gs=G(Tt,[["__scopeId","data-v-22f86c2e"]]);export{gs as default};
//# sourceMappingURL=EventDetailsPage-B9r8aash.js.map