1import{_ as c}from"./img-ministerios-placeholder-BYFzsDt-.js";import{_,b as m,c as t,o as s,g as l,w as d,a,e as r,t as n}from"./index-sUPB-bMu.js";const h={name:"MinistriesCard",props:{ministry:{type:Object,required:!0}},computed:{returnMinistry(){return`${this.$t("MINISTRIES.CARD.COORDINATION")}: ${this.ministry?.responsavel}`},hasLeader(){return this.ministry.responsavel!==" "},hasPhone(){return this.ministry.telefone!==" "},hasMail(){return this.ministry.email!==" "}}},u={class:"ministry-card"},y={class:"thumb"},f=["src","alt"],g=["alt"],k={class:"info"},N={class:"info__title"},p={key:0,class:"info__content coordenation"},C={key:1,class:"info__content mail"},I={key:2,class:"info__content phone"};function b(M,v,e,x,O,i){const o=m("router-link");return s(),t("article",u,[l(o,{class:"ministry-card__wrapper",to:{name:"ministriesSingle",params:{ministryId:e.ministry.id}}},{default:d(()=>[a("figure",y,[e.ministry.imageName?(s(),t("img",{key:0,class:"thumb__image",src:e.ministry.imageName,alt:e.ministry.nome},null,8,f)):(s(),t("img",{key:1,class:"thumb__image",src:c,alt:e.ministry.nome},null,8,g))]),a("div",k,[a("h4",N,n(e.ministry.nome),1),i.hasLeader?(s(),t("p",p,n(i.returnMinistry),1)):r("",!0),i.hasMail?(s(),t("p",C,n(e.ministry.email),1)):r("",!0),i.hasPhone?(s(),t("p",I,n(e.ministry.telefone),1)):r("",!0)])]),_:1},8,["to"])])}const B=_(h,[["render",b],["__scopeId","data-v-3ffeeb34"]]);export{B 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.