1import{D as a,E as e,F as s,Ht as n,L as r,O as t,P as o,T as l,bt as c,k as i,ln as _,nt as d,st as f}from"./B6EpUQT1.js";import{t as p}from"./VUv554Bt.js";import{t as u}from"./DgLP3hnZ2.js";import{t as g}from"./BbRwNEk32.js";import{i as m}from"./BPdlrh1c2.js";var v={class:"ecard__image-wrap"},b=["src","alt"],h={class:"ecard__body"},j={class:"ecard__date"},x={class:"ecard__title"},w={key:0,class:"ecard__location"},z=r({__name:"EventCard",props:{event:{}},setup(r){const u=r,z=g(),A=l(()=>{const a=u.event;return"photo"in a&&a.photo?a.photo.urls["720x540"]??z:"photos"in a&&(a.photos?.length??0)>0?a.photos?.[0]?.urls["720x540"]??z:z}),y=l(()=>m(u.event)),C=l(()=>{const a=u.event.address;return a.location?.label?a.postcode?`${a.location.label} (${a.postcode})`:a.location.label:a.postcode??""});return(l,u)=>{const g=f("font-awesome-icon"),m=p;return d(),a(m,{to:`/agenda/${r.event.slug}`,class:"ecard"},{default:c(()=>[e("div",v,[e("img",{src:n(A),alt:r.event.label,class:"ecard__img",loading:"lazy"},null,8,b)]),e("div",h,[e("span",j,[s(g,{icon:"fa-regular fa-calendar",size:"xs"}),o(" "+_(n(y)),1)]),e("h3",x,_(r.event.label),1),n(C)?(d(),i("span",w,[s(g,{icon:"fa-regular fa-location-dot",size:"xs"}),o(" "+_(n(C)),1)])):t("",!0)])]),_:1},8,["to"])}}}),A=Object.assign(u(z,[["__scopeId","data-v-c6c024a5"]]),{__name:"SharedEventCard"}),y={class:"ref-banner__content"},C={class:"ref-banner__cta"},k=r({__name:"AgendaRefCta",props:{variant:{}},setup:n=>(r,t)=>{const l=f("font-awesome-icon"),i=p;return"banner"===n.variant?(d(),a(i,{key:0,to:"/agenda/referencement",class:"ref-banner"},{default:c(()=>[e("div",y,[s(l,{icon:"fa-regular fa-calendar",class:"ref-banner__icon"}),t[0]||(t[0]=e("div",{class:"ref-banner__text"},[e("p",{class:"ref-banner__title"}," Vous organisez un salon, une expo, un festival ? "),e("p",{class:"ref-banner__sub"}," Ajoutez-le gratuitement sur ABC Salles ")],-1))]),e("span",C,[t[1]||(t[1]=o(" Ajouter ",-1)),s(l,{icon:"fa-regular fa-arrow-right",class:"ref-banner__arrow"})])]),_:1})):(d(),a(i,{key:1,to:"/agenda/referencement",class:"ref-inline"},{default:c(()=>[t[2]||(t[2]=e("span",null,"Proposer un événement",-1)),s(l,{icon:"fa-regular fa-arrow-right",size:"xs",class:"ref-inline__arrow"})]),_:1}))}}),E=Object.assign(u(k,[["__scopeId","data-v-c03005ce"]]),{__name:"PagesAgendaRefCta"});export{A as n,E as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.