1import{_ as x,j as P,b as o,$ as v,c as n,o as s,g as i,d as l,e as m,w as a,Z as p,t as _,F as d,a as t,s as B,a1 as k,n as C}from"./index-sUPB-bMu.js";import{m as w}from"./menuItemNameMixin-D-Sxrcvm.js";const S={name:"MinistryProject",mixins:[w],data(){return{project:null,alertBox:{type:null,message:null}}},computed:{...P(["getProject"]),hasImage(){return!!this.project.imagens.length},hasGallery(){return this.project.imagens.length>1}},created(){this.mountProjectData(),this.project&&this.$useHead({title:`${this.project.nome} - ${this.$t("MINISTRIES.SINGLE.INFO.PROJECT")}`})},methods:{mountProjectData(){this.project=this.getProject}}},E={class:"ministry-project"},D=["src","alt"],G=["src","alt"],T={key:1,class:"ministry-project__gallery"},b={class:"panel-image image-gradient"},F=["src","alt"],O=["src","alt"],R={class:"ministry-project__info"},V={class:"ministry-project__info__title"},H={class:"ministry-project__info__description"};function L(g,M,A,J,e,c){const u=o("PageContentHeader"),h=o("AlertBox"),j=o("Slide"),y=o("Navigation"),f=o("Pagination"),N=o("Carousel"),I=v("dompurify-html");return s(),n("div",E,[i(u,{padded:!0,"color-white":!(e.alertBox.message||!c.hasImage),type:"groups",class:"ministry-project__header"},{default:a(()=>[p(_(g.$t("MINISTRIES.SINGLE.INFO.PROJECT")),1)]),_:1},8,["color-white"]),e.alertBox.message?(s(),l(h,{key:0,type:e.alertBox.type},{default:a(()=>[p(_(e.alertBox.message),1)]),_:1},8,["type"])):m("",!0),e.project?(s(),n(d,{key:1},[c.hasGallery?(s(),l(N,{key:0,"wrap-around":!0,autoplay:3e5,"items-to-show":1,"snap-align":"start",class:"ministry-project__gallery"},{addons:a(()=>[i(y),i(f)]),default:a(()=>[(s(!0),n(d,null,B(e.project.imagens,r=>(s(),l(j,{key:r.id,class:"panel-image image-gradient"},{default:a(()=>[t("picture",null,[t("img",{src:r.imageName,alt:r.descricao,class:"background-image"},null,8,D),t("img",{src:r.imageName,alt:r.descricao,class:"front-image"},null,8,G)])]),_:2},1024))),128))]),_:1})):c.hasImage?(s(),n("section",T,[t("picture",b,[t("img",{src:e.project.imagens[0].imageName,alt:e.project.descricao,class:"background-image"},null,8,F),t("img",{src:e.project.imagens[0].imageName,alt:e.project.descricao,class:"front-image"},null,8,O)])])):m("",!0),t("div",{class:C(["ministry-project__wrapper",{"ministry-project__wrapper--no-image":!c.hasImage}])},[t("section",R,[t("h1",V,_(e.project.nome),1),k(t("div",H,null,512),[[I,e.project.detalhes]])])],2)],64)):m("",!0)])}const q=x(S,[["render",L],["__scopeId","data-v-65da4b2e"]]);export{q 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.