1import{f as e}from"./formatar-CB6uSzNw.js";import{g as s}from"./getFileSrc-Du9ih3ZQ.js";import{_ as a}from"./index-C5GhW9sY.js";import{a as l}from"./index-DbMVp6NT.js";import{M as t,r as o,aa as c,o as n,c as r,t as i,d,Q as m,x as u,B as x,k as v,f as p,q as f,b as h}from"./vue-vendor-C4LtToJo.js";import"./datefns-vendor-CmiML7te.js";import"./jspdf-vendor-Dg11MAxS.js";import"./primevue-B-Os_Qve.js";import"./datepicker-vendor-DX2zwzgb.js";const b={key:0,class:"max-w-5xl mx-auto px-4 sm:px-6 py-8"},w={class:"flex flex-col items-center -mt-16"},g={class:"mt-8 space-y-6"},y={key:1,class:"max-w-5xl mx-auto px-4 sm:px-6 py-8"},j={class:"show-banner rounded-2xl overflow-hidden"},k={key:0,class:"h-64 overflow-hidden"},_=["src","alt"],S={key:1,class:"show-banner-bg h-64 relative"},B={class:"flex flex-col items-center -mt-20 px-4 sm:px-6 pb-6"},D={class:"w-40 h-40 rounded-full ring-4 shadow-lg overflow-hidden show-avatar-ring"},G=["src","alt"],I={key:1,class:"w-full h-full flex items-center justify-center bg-base-200 show-icon-placeholder"},M={class:"mt-4 text-2xl sm:text-3xl font-bold text-base-content text-center"},N={key:0,class:"mt-2 text-sm text-muted-color"},q={class:"font-medium text-base-content"},z={class:"mt-6 grid grid-cols-1 lg:grid-cols-2 gap-6"},F={key:0,class:"show-card rounded-xl p-6"},P={class:"flex items-center gap-2 text-base font-semibold text-base-content mb-3"},Q={class:"text-sm text-muted-color leading-relaxed"},R={class:"show-card rounded-xl p-6"},A={class:"flex items-center gap-2 text-base font-semibold text-base-content mb-4"},C={class:"space-y-3"},E={class:"text-sm text-base-content mt-0.5"},H={key:0},J={class:"text-sm text-base-content mt-0.5"},K={key:0,class:"mt-6 show-card rounded-xl p-6"},L={class:"flex items-center gap-2 text-base font-semibold text-base-content mb-4"},O={class:"flex justify-center"},T=["src"],U={key:2,class:"max-w-5xl mx-auto px-4 sm:px-6 py-16 text-center"},V={class:"text-5xl mb-4 show-section-icon"},W=a(t({__name:"Show",props:{id:{}},setup(a){const t=a,W=o(!1),X=o(null),Y=o(!1),Z=async()=>{W.value=!0;try{X.value=await l(Number(t.id))}catch(e){}W.value=!1};return c(async()=>{await Z(),Y.value=!0}),n(()=>{Y.value||Z()}),(a,l)=>{const t=f("Skeleton"),o=f("app-icon"),c=f("Galleria");return W.value?(h(),r("div",b,[i(t,{class:"w-full h-64 rounded-2xl"}),d("div",w,[i(t,{shape:"circle",size:"8rem",class:"ring-4 ring-base"}),i(t,{class:"w-48 h-7 mt-4"}),i(t,{class:"w-32 h-5 mt-2"})]),d("div",g,[i(t,{class:"w-full h-48 rounded-xl"}),i(t,{class:"w-full h-48 rounded-xl"}),i(t,{class:"w-full h-64 rounded-xl"})])])):X.value?(h(),r("div",y,[d("div",j,[X.value.foto_capa?.url?(h(),r("div",k,[d("img",{src:m(s)(X.value.foto_capa.url),alt:X.value.nome,class:"w-full h-full object-cover"},null,8,_)])):(h(),r("div",S)),d("div",B,[d("div",D,[X.value.foto_capa?.url?(h(),r("img",{key:0,src:m(s)(X.value.foto_capa.url),alt:X.value.nome,class:"w-full h-full object-cover"},null,8,G)):(h(),r("div",I,[i(o,{nome:"bi:folder",class:"text-4xl"})]))]),d("h1",M,u(X.value.nome),1),X.value.responsavel?(h(),r("div",N,[l[0]||(l[0]=x(" Responsavel: ",-1)),d("span",q,u(X.value.responsavel.nome_social),1)])):v("",!0)])]),d("div",z,[X.value.descricao?(h(),r("div",F,[d("h3",P,[i(o,{nome:"bi:text-left",class:"show-section-icon"}),l[1]||(l[1]=x(" Descricao ",-1))]),d("p",Q,u(X.value.descricao),1)])):v("",!0),d("div",R,[d("h3",A,[i(o,{nome:"bi:info-circle",class:"show-section-icon"}),l[2]||(l[2]=x(" Informacoes ",-1))]),d("div",C,[d("div",null,[l[3]||(l[3]=d("p",{class:"text-xs font-medium show-label uppercase tracking-wider"},"Nome",-1)),d("p",E,u(X.value.nome),1)]),X.value.data?(h(),r("div",H,[l[4]||(l[4]=d("p",{class:"text-xs font-medium show-label uppercase tracking-wider"},"Data",-1)),d("p",J,u(m(e)(X.value.data)),1)])):v("",!0)])])]),X.value.fotos?.length?(h(),r("div",K,[d("h3",L,[i(o,{nome:"bi:images",class:"show-section-icon"}),l[5]||(l[5]=x(" Galeria ",-1))]),i(c,{value:X.value.fotos,"num-visible":5,circular:!0,"show-item-navigators":!0,"show-thumbnails":!1,"show-item-navigators-on-hover":!0,"show-indicators":!0,"transition-interval":5e3,"auto-play":!0},{item:p(({item:e})=>[d("div",O,[d("img",{src:m(s)(e.url),class:"max-h-96 w-full object-contain rounded-lg"},null,8,T)])]),_:1},8,["value"])])):v("",!0)])):(h(),r("div",U,[d("div",V,[i(o,{nome:"bi:folder-open"})]),l[6]||(l[6]=d("h2",{class:"text-xl font-semibold text-surface-400"}
1,"Projeto nao encontrado",-1))]))}}}),[["__scopeId","data-v-f9988e45"]]);export{W 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.