PageSourceSearch

https://www.abcsalles.com/dist/CwGdSyHX2.js

js abcsalles.com collected 2026-10-02 05:00:33 UTC 2,864 bytes, 1 lines download raw bytes

1import{D as e,E as a,F as t,Ht as s,L as o,O as n,P as r,T as l,bt as d,k as i,ln as p,nt as c,st as u}from"./B6EpUQT1.js";import{vt as _}from"./ULF0pKjI.js";import{t as f}from"./VUv554Bt.js";import{t as v}from"./DgLP3hnZ2.js";import{t as g}from"./BbRwNEk32.js";import{i as m}from"./BPdlrh1c2.js";var b={class:"featured__image-wrap"},h=["src","alt"],y={class:"featured__badge"},x={key:0,class:"featured__type"},j={class:"featured__body"},k={class:"featured__date"},T={class:"featured__title"},w={key:0,class:"featured__location"},A={key:0},M={key:0,class:"featured__postcode"},$={key:1},z={key:1,class:"featured__excerpt"},B={class:"featured__cta"},E=o({__name:"FeaturedEvent",props:{event:{}},setup(o){const _=o,v=l(()=>m(_.event)),E=l(()=>{const e=_.event;return"photo"in e&&e.photo?e.photo?.urls?.["960x640"]??g("960x640"):"photos"in e&&e.photos?.length>0?e.photos[0]?.urls?.["960x640"]??g("960x640"):g("960x640")}),F=l(()=>{const e=_.event;return"photo"in e&&e.photo?e.photo.label??e.label:"photos"in e&&(e.photos?.length??0)>0?e.photos?.[0]?.label??e.label:e.label}),L=l(()=>{const e=_.event.address;return e.location?.label?e.postcode?`${e.location.label} (${e.postcode})`:e.location.label:""}),O=l(()=>{if(!_.event.presentation)return"";const e=_.event.presentation.replace(/<[^>]*>/g,"");return e.length>180?e.slice(0,180)+"...":e}),P=l(()=>"eventType"in _.event&&_.event.eventType?_.event.eventType.label:null);return(l,_)=>{const g=u("font-awesome-icon"),m=f;return c(),e(m,{to:`/agenda/${o.event.slug}`,class:"featured"},{default:d(()=>[a("div",b,[a("img",{src:s(E),alt:s(F),class:"featured__img"},null,8,h),a("span",y,[t(g,{icon:"fa-regular fa-star",size:"xs"}),_[0]||(_[0]=r(" A la une ",-1))]),s(P)?(c(),i("span",x,p(s(P)),1)):n("",!0)]),a("div",j,[a("div",k,[t(g,{icon:"fa-regular fa-calendar"}),r(" "+p(s(v)),1)]),a("h2",T,p(o.event.label),1),s(L)?(c(),i("p",w,[t(g,{icon:"fa-regular fa-location-dot"}),o.event.address.location?.pageUri?(c(),i("span",A,[r(p(o.event.address.location.label)+" ",1),o.event.address.postcode?(c(),i("span",M,"("+p(o.event.address.postcode)+")",1)):n("",!0)])):(c(),i("span",$,p(s(L)),1))])):n("",!0),s(O)?(c(),i("p",z,p(s(O)),1)):n("",!0),a("span",B,[_[1]||(_[1]=r(" Voir l'événement ",-1)),t(g,{icon:"fa-regular fa-arrow-right",size:"xs",class:"featured__cta-arrow"})])])]),_:1},8,["to"])}}}),F=Object.assign(v(E,[["__scopeId","data-v-336fb013"]]),{__name:"PagesAgendaFeaturedEvent"}),L={class:"text-center my-8"},O=o({__name:"LoadMoreButton",props:{loading:{type:Boolean}},emits:["loadMore"],setup:e=>(a,s)=>(c(),i("div",L,[t(_,{variant:"outlined",color:"primary",size:"large",loading:e.loading,onClick:s[0]||(s[0]=e=>a.$emit("loadMore"))},{default:d(()=>[...s[1]||(s[1]=[r(" Voir plus d'événements ",-1)])]),_:1},8,["loading"])]))}),P=Object.assign(O,{__name:"PagesAgendaLoadMoreButton"});export{F as n,P 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.