import{d as b,ak as h,p as k,q as y,h as e,e as s,f as o,g as m,j as i,B as d,s as u,X as l,m as g}from"./index-B4gewkxT.js";import{u as $}from"./useEventDetailsQuery-By4FCaJV.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="b0105bd9-8c10-4df2-8e60-2d067a68a1a4",a._sentryDebugIdIdentifier="sentry-dbid-b0105bd9-8c10-4df2-8e60-2d067a68a1a4")}catch{}})();const D={class:"item menu"},I={class:"items"},w=["href"],B=["href"],E=["href"],x=["href"],V=b({__name:"EventDetailsFab",setup(a){const t="https://admin.frenchfounders.com",v=h(),{data:n,isLoading:_}=$(v.params.id),r=k(!1);return(M,f)=>{const c=y("tooltip");return e(n)&&!e(_)?(s(),o("div",{key:0,class:"fab",onMouseenter:f[0]||(f[0]=p=>r.value=!0),onMouseleave:f[1]||(f[1]=p=>r.value=!1)},[m("div",D,[i(d,{name:"menu"})]),m("div",I,[r.value?u((s(),o("a",{key:0,target:"_blank",rel:"noopener noreferrer",href:`${e(t)}/mvb/event/event/${e(n).data.id}/invite`,class:"item item--1"},[i(d,{name:"send"})],8,w)),[[c,"Inviter",void 0,{left:!0}]]):l("",!0),r.value?u((s(),o("a",{key:1,target:"_blank",rel:"noopener noreferrer",href:`${e(t)}/mvb/event/event/${e(n).data.id}/moderate`,class:"item item--1"},[i(d,{name:"pan_tool"})],8,B)),[[c,"Modérer",void 0,{left:!0}]]):l("",!0),r.value?u((s(),o("a",{key:2,target:"_blank",rel:"noopener noreferrer",href:`${e(t)}/mvb/event/event/${e(n).data.id}/participants`,class:"item item--2"},[i(d,{name:"groups"})],8,E)),[[c,"Gérer les participants",void 0,{left:!0}]]):l("",!0),r.value?u((s(),o("a",{key:3,target:"_blank",rel:"noopener noreferrer",href:`${e(t)}/mvb/event/event/${e(n).data.id}/edit`,class:"item item--3"},[i(d,{name:"lock"})],8,x)),[[c,"Voir dans le Back-Office",void 0,{left:!0}]]):l("",!0)])],32)):l("",!0)}}}),F=g(V,[["__scopeId","data-v-48490946"]]);export{F as E};
//# sourceMappingURL=EventDetailsFab-BMH0_Fyh.js.map