PageSourceSearch

https://tupirama.to.gov.br/js/Show-DdN7ohCu.js

js tupirama.to.gov.br collected 2026-10-02 23:41:28 UTC 4,422 bytes, 1 lines download raw bytes

1import{g as e}from"./getFileSrc-Du9ih3ZQ.js";import{_ as a}from"./index-r3O2Rl_T.js";import{u as l,b as o}from"./useConselhoList-CLIHHLkC.js";import{M as s,I as r,c as t,d as i,e as d,x as n,Q as c,F as f,s as m,q as b,b as u,l as p,t as v}from"./vue-vendor-C4LtToJo.js";import"./jspdf-vendor-BmQZnK13.js";import"./primevue-DnZyMtkr.js";import"./datepicker-vendor-DX2zwzgb.js";import"./datefns-vendor-CmiML7te.js";import"./index-BxKscjE8.js";import"./notify-DZ6C-o79.js";const x={class:"bg-base-100 border border-[#e5ebec] rounded-md shadow-lg p-8 conteudo flex flex-col md:flex-row my-3 items-start gap-8"},h={class:"flex-1 flex flex-col gap-8"},k={class:"pb-3 border-b border-[#ccd3d5]"},g={class:"text-3xl font-bold text-[#3d4147] tracking-tight"},y={key:1,class:"break-all"},w={class:"flex flex-col md:flex-row gap-8"},j={class:"p-0 flex flex-col items-center w-[230px] mx-auto md:mx-0"},N={key:1,class:"w-full h-full rounded-lg overflow-hidden shadow-md border border-[#dcdada]"},_=["src","alt"],A={class:"grid grid-cols-1 sm:grid-cols-2 gap-5 flex-1"},I={class:"text-xs uppercase font-semibold text-base-content"},L={class:"font-bold mt-1 text-[#3d4147]"},$=["href"],C={class:"flex gap-4 text-2xl justify-center md:justify-start"},S=["href","aria-label","title"],T={class:"w-full md:w-1/3 lg:w-1/4 flex flex-col self-start mt-[7px]"},B={class:"flex flex-col gap-3 mt-3"},F=a(s({__name:"Show",props:{id:{default:null}},setup(a){const s=a,F=l(),M=r(()=>F.carregandoConselheiro),q=r(()=>F.conselheiro),E=r(()=>q.value?.mandatos_conselho?.[0]),P=r(()=>s.id),Q=r(()=>{const e=q.value?.site,a=E.value?.inativo,l=E.value?.motivo_inatividade;return[{label:"Nome Completo",value:q.value?.nome||"Nao Informado",isLink:!1,breakAll:!1},{label:"Site",value:e||"Nao Informado",isLink:Boolean(e),breakAll:!0},{label:"Inativo",value:a?`Motivo: ${l||"Nao Informado"}`:"Nao",isLink:!1,breakAll:!1},{label:"Tipo",value:E.value?.tipo_conselheiro||"Nao Informado",isLink:!1,breakAll:!1},{label:"Telefone",value:q.value?.fone||"Nao Informado",isLink:!1,breakAll:!1},{label:"Email",value:q.value?.email||"Nao Informado",isLink:!1,breakAll:!0}]}),W=r(()=>{const e="text-white px-2 py-1 rounded-md hover:opacity-90 transition-opacity";return[{platform:"Facebook",href:q.value?.facebook||void 0,icon:"bi:facebook",className:`bg-[#1877f2] ${e}`},{platform:"WhatsApp",href:q.value?.whatsapp||void 0,icon:"bi:whatsapp",className:`bg-[#25d366] ${e}`},{platform:"Twitter",href:q.value?.twitter||void 0,icon:"bi:twitter",className:`bg-[#1da1f2] ${e}`},{platform:"Instagram",href:q.value?.instagram||void 0,icon:"bi:instagram",className:`bg-gradient-to-br from-[#f58529] via-[#dd2a7b] to-[#8134af] ${e}`},{platform:"YouTube",href:q.value?.youtube||void 0,icon:"bi:youtube",className:`bg-[#ff0000] ${e}`}].filter(e=>Boolean(e.href))});return o(P),(a,l)=>{const o=b("Skeleton");return u(),t("section",x,[i("div",h,[i("header",k,[i("h2",g,[M.value?(u(),d(o,{key:0,class:"my-3"})):(u(),t("span",y,n(q.value?.nome),1))])]),i("div",w,[i("div",j,[M.value?(u(),d(o,{key:0,class:"w-full h-full"})):(u(),t("div",N,[i("img",{src:c(e)(q.value?.foto),alt:q.value?.nome,class:"w-full object-center h-full object-cover"},null,8,_)]))]),i("div",A,[(u(!0),t(f,null,m(Q.value,e=>(u(),t("article",{key:e.label,class:"bg-base rounded-md border border-[#eeeded] shadow p-4"},[i("span",I,n(e.label),1),i("p",L,[M.value?(u(),d(o,{key:0})):e.isLink?(u(),t("a",{key:1,href:e.value,target:"_blank",rel:"noopener noreferrer",class:"text-sm text-blue-600 hover:underline break-all"},n(e.value),9,$)):(u(),t("span",{key:2,class:p(["text-sm",e.breakAll?"break-all":""])},n(e.value),3))])]))),128))])]),i("div",C,[(u(!0),t(f,null,m(W.value,e=>(u(),t("a",{key:e.platform,href:e.href,target:"_blank",rel:"noopener noreferrer","aria-label":`Abrir ${e.platform}`,title:e.platform,class:p(e.className)},[i("i",{class:p(e.icon)},null,2)],10,S))),128))])]),i("aside",T,[l[0]||(l[0]=i("div",{class:"pb-3 border-b border-[#ccd3d5] mt-0 pt-0"},[i("h2",{class:"text-xl font-bold text-[#3d4147]"},"Mandatos")],-1)),i("div",B,[M.value?(u(),t(f,{key:0},m(4,e=>v(o,{key:e,height:"2rem"})),64)):(u(!0),t(f,{key:1},m(q.value?.mandatos_conselho,e=>(u(),t("div",{key:e?.id,class:"px-4 py-2 bg-secondary text-white border border-secondary rounded-lg font-semibold shadow-sm text-sm"},n(e?.plenario?.numero)+"° Plenario ",1))),128))])])])}}}),[["__scopeId","data-v-75683871"]]);export{F 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.