1import{h as v}from"./optimizedImage-CqpgVSCQ.js";import{_ as y,a as u}from"./celulas-BFNja8my.js";import{_ as b,b as d,c as a,o as l,g as i,w as f,a as e,e as r,F as n,t as c,s as k}from"./index-sUPB-bMu.js";const C={name:"CelulaCard",mixins:[v],props:{celula:{type:Object,required:!0}}},x=y,p=u,B={class:"celulas-cards"},E={class:"thumb"},I=["srcset"],S=["src","alt"],L={class:"text"},O={class:"text__title"},j={class:"celulas-cards__card__schedule"},w={class:"celulas-cards__card__day"},N={class:"text__date"},z={class:"celulas-cards__card__hour"},D={class:"text__date"},V={class:"text__tags"},A={class:"tag__text"},F={key:0,class:"tag"},M={class:"tag__text"};function U(o,t,s,q,T,G){const _=d("SvgElement"),m=d("router-link");return l(),a("article",B,[i(m,{id:s.celula.id,class:"celulas-cards__card",to:{name:"celulaSingle",params:{celulaId:s.celula.id}}},{default:f(()=>[e("picture",E,[s.celula.image&&o.hasOptimizedImage(s.celula)?(l(),a("source",{key:0,srcset:o.hasOptimizedImage(s.celula),type:"image/webp"},null,8,I)):r("",!0),s.celula.image?(l(),a("img",{key:1,class:"thumb__image",src:s.celula.image.url,alt:s.celula.nome},null,8,S)):(l(),a(n,{key:2},[t[0]||(t[0]=e("source",{srcset:x,type:"image/webp"},null,-1)),t[1]||(t[1]=e("source",{srcset:p,type:"image/jpg"},null,-1)),t[2]||(t[2]=e("img",{class:"thumb__image",src:u,alt:"$t('CELULAS.MODULE_NAME')"},null,-1))],64))]),e("div",L,[e("h4",O,c(s.celula.nome),1),e("div",j,[e("div",w,[i(_,{name:"CalendarBorder",title:"CalendarBorder",height:"18",class:"icon"}),e("span",N,c(o.$dayjs().day(s.celula.reunioes[0].diaDaSemana).format("dddd")),1)]),e("div",z,[i(_,{name:"ClockBorder",title:"ClockBorder",height:"18",class:"icon"}),e("span",D,c(o.$dayjs(s.celula.reunioes[0].horarioInicio).utc().format("LT")),1)])]),e("div",V,[(l(!0),a(n,null,k(s.celula.categorias,(g,h)=>(l(),a("button",{key:h,class:"tag"},[t[3]||(t[3]=e("div",{class:"tag__cover"},null,-1)),e("p",A,c(g.nome),1)]))),128)),s.celula.enderecos[0]?.bairro?(l(),a("div",F,[t[4]||(t[4]=e("div",{class:"tag__cover"},null,-1)),e("p",M,c(s.celula.enderecos[0].bairro),1)])):r("",!0)])])]),_:1},8,["id","to"])])}const P=b(C,[["render",U],["__scopeId","data-v-64c31cb2"]]);export{P as default};
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.