PageSourceSearch

https://transparencia.araguaina.to.gov.br/js/Show-2e4J2YDU.js

js araguaina.to.gov.br collected 2026-09-24 20:06:52 UTC 9,832 bytes, 1 lines download raw bytes

1import{E as e,_ as s}from"./index-C5GhW9sY.js";import{i as a}from"./formatar-CB6uSzNw.js";import{g as t}from"./getFileSrc-Du9ih3ZQ.js";import{M as l,r as o,aa as r,o as n,w as i,c as d,d as c,t as m,x as u,Q as p,k as v,B as b,F as x,s as g,f,q as y,a0 as h,b as w,e as k}from"./vue-vendor-C4LtToJo.js";import{c as j}from"./index-BTXEAViz.js";import"./jspdf-vendor-Dg11MAxS.js";import"./primevue-B-Os_Qve.js";import"./datepicker-vendor-DX2zwzgb.js";import"./datefns-vendor-CmiML7te.js";const _={class:"conteudo bg-base-100 border border-[#e5ebec] rounded-lg shadow-lg my-3"},C={class:"title relative flex gap-2 lg:flex-row flex-col mb-8 items-center rounded-t-lg p-8",style:{background:"linear-gradient(180deg, var(--p, #0b66a3) 0%, color-mix(in srgb, var(--p) 35%, black) 100%)"}},B={class:"w-24 h-24 backdrop-blur-sm rounded-2xl flex items-center justify-center shadow-md border",style:{background:"color-mix(in srgb, var(--p) 90%, white)","border-color":"rgb(255 255 255 / 0.3)"}},E={class:"text-white text-2xl"},F={class:"pt-4 pb-8 px-8"},H={class:"grid grid-cols-12"},I={class:"lg:col-span-4 sm:col-span-12 flex flex-col p-0 lg:mb-0 mb-8 col-span-12"},L={key:0,class:"bg-base rounded-lg p-4 border border-[#eeeded]"},M={class:"flex items-center gap-3 mb-3 pb-3 border-b border-base-content/10"},S={class:"w-10 h-10 bg-secondary/10 rounded-lg flex items-center justify-center"},T={class:"flex flex-col lg:flex-row gap-4 items-center"},N={key:0,class:"w-[120px] h-[160px] flex-shrink-0 rounded-lg shadow-md overflow-hidden bg-base-100 flex items-center justify-center"},U=["src","alt"],q={class:"flex flex-col justify-center text-center lg:text-left"},z={class:"text-sm font-semibold text-base-content"},D={key:1,class:"bg-base rounded-lg border border-base-content/10 overflow-hidden lg:mt-6 mt-8"},G={class:"bg-primary px-6 py-4"},Q={class:"text-lg font-semibold text-white flex items-center"},R={class:"p-6 space-y-4"},$={class:"flex items-center gap-3 p-3 bg-base-100 dark:bg-slate-700 rounded-lg"},A={class:"w-10 h-10 bg-secondary/10 rounded-lg flex items-center justify-center"},J={class:"text-sm text-muted-color"},K={class:"flex items-center gap-3 p-3 bg-base-100 dark:bg-slate-700 rounded-lg"},O={class:"w-10 h-10 bg-secondary/10 rounded-lg flex items-center justify-center"},P={class:"flex-1 min-w-0"},V={class:"text-sm text-muted-color break-words"},W={class:"flex items-center gap-3 p-3 bg-base-100 dark:bg-slate-700 rounded-lg"},X={class:"w-10 h-10 bg-secondary/10 rounded-lg flex items-center justify-center"},Y={class:"flex-1 min-w-0"},Z={class:"text-sm text-muted-color break-words"},ee={class:"flex items-center gap-3 p-3 bg-base-100 dark:bg-slate-700 rounded-lg"},se={class:"w-10 h-10 bg-secondary/10 rounded-lg flex items-center justify-center"},ae={class:"flex-1 min-w-0"},te={class:"text-sm text-muted-color break-words"},le={class:"lg:col-span-7 ml-4 sm:col-span-12 col-span-12"},oe={class:"bg-base border border-[#eeeded] rounded-lg my-4 p-4"},re={key:0},ne=["innerHTML"],ie={key:2},de={class:"grid grid-cols-1 md:grid-cols-2 gap-4 p-3"},ce={class:"relative z-10"},me={class:"flex items-start justify-between mb-4"},ue={class:"text-lg font-bold text-base-content line-clamp-2 pr-4 leading-tight"},pe={class:"space-y-2.5"},ve={class:"flex items-center gap-3 text-sm text-muted-color group-hover:text-base-content transition-colors"},be={class:"w-8 h-8 bg-secondary/10 rounded-lg flex items-center justify-center flex-shrink-0 group-hover:bg-secondary/15 transition-colors"},xe={class:"truncate font-medium"},ge={class:"flex items-center gap-3 text-sm text-muted-color group-hover:text-base-content transition-colors"},fe={class:"w-8 h-8 bg-secondary/10 rounded-lg flex items-center justify-center flex-shrink-0 group-hover:bg-secondary/15 transition-colors"},ye={class:"truncate"},he={class:"flex items-center gap-3 text-sm text-muted-color group-hover:text-base-content transition-colors"},we={class:"w-8 h-8 bg-secondary/10 rounded-lg flex items-center justify-center flex-shrink-0 group-hover:bg-secondary/15 transition-colors"},ke={key:2,class:"col-span-full bg-base border border-base-content/10 rounded-lg p-8 text-center text-muted-color"},je={class:"flex flex-col items-center gap-3"},_e={class:"w-16 h-16 bg-base-100 rounded-full flex items-center justify-center"},Ce={class:"flex gap-2 flex-col md:flex-row w-[80vw] md:w-[50vw]"}
1,Be=["src","alt"],Ee={class:"text-base-content text-justify"},Fe=s(l({__name:"Show",props:{id:{}},setup(s){const l=s,Fe=h(),He=o(!1),Ie=o(!1),Le=o({responsavel:{foto:null}}),Me=o(!1),Se=async s=>{Ie.value=!0;try{Le.value=await j(Number(s));let a=[...Fe.meta.breadcrump];a=a.slice(0,1),a.push({label:Le.value.pessoa.nome,to:`/orgao/${Le.value.id}`}),e.emit("override-breadcrump",a),Fe.meta.breadcrump=[...a]}catch(a){}finally{Ie.value=!1}};return r(async()=>{l.id&&(await Se(l.id),He.value=!0)}),n(async()=>{He.value||l.id&&await Se(l.id)}),i(()=>l.id,e=>{e&&Se(e)}),(e,s)=>{const l=y("app-icon"),o=y("Skeleton"),r=y("router-link"),n=y("Dialog");return w(),d(x,null,[c("div",_,[c("div",C,[c("div",B,[m(l,{nome:"bi:building",class:"text-4xl text-white"})]),c("div",null,[c("h1",E,u(Le.value?.pessoa?.nome),1)])]),c("div",F,[c("div",H,[c("div",I,[Ie.value?v("",!0):(w(),d("div",L,[c("div",M,[c("div",S,[m(l,{nome:"bi:person-workspace",class:"text-secondary text-lg"})]),s[2]||(s[2]=c("span",{class:"text-xs uppercase font-semibold text-muted-color tracking-wide"},"Responsável",-1))]),c("div",T,[(i=Le.value?.responsavel?.foto,!i||"string"==typeof i&&i.includes("semImagem.webp")?v("",!0):(w(),d("div",N,[c("img",{class:"w-full h-full object-cover cursor-pointer hover:opacity-90 transition-opacity",src:p(t)(Le.value?.responsavel?.foto),alt:Le.value?.responsavel?.nome,onClick:s[0]||(s[0]=e=>Me.value=!0)},null,8,U)]))),c("div",q,[c("p",z,u(Le.value?.responsavel?.nome||"[não informado]"),1),s[3]||(s[3]=c("span",{class:"text-sm text-base-content mt-1"},"Gestor",-1))])])])),Ie.value?v("",!0):(w(),d("div",D,[c("div",G,[c("h3",Q,[m(l,{nome:"bi:person-vcard",class:"mr-2"}),s[4]||(s[4]=b(" Informações de Contato ",-1))])]),c("div",R,[c("div",$,[c("div",A,[m(l,{nome:"bi:telephone",class:"text-secondary"})]),c("div",null,[s[5]||(s[5]=c("p",{class:"text-sm font-medium text-base-content"},"Telefone",-1)),c("p",J,u(Le.value?.pessoa?.fone||"[sem informação]"),1)])]),c("div",K,[c("div",O,[m(l,{nome:"bi:envelope",class:"text-secondary"})]),c("div",P,[c("p",V,[s[6]||(s[6]=c("span",{class:"font-medium text-base-content"},"Email:",-1)),b(" "+u(Le.value?.pessoa?.email||"[sem informação]"),1)])])]),c("div",W,[c("div",X,[m(l,{nome:"bi:clock",class:"text-secondary"})]),c("div",Y,[c("p",Z,[s[7]||(s[7]=c("span",{class:"font-medium text-base-content"},"Horário de Funcionamento:",-1)),b(" "+u(Le.value?.horario?.toLowerCase()||"[sem informação]"),1)])])]),c("div",ee,[c("div",se,[m(l,{nome:"bi:geo-alt",class:"text-secondary"})]),c("div",ae,[c("p",te,[s[8]||(s[8]=c("span",{class:"font-medium text-base-content"},"Endereço:",-1)),b(" "+u(Le.value?.pessoa?p(a)(Le.value?.pessoa):"[sem informação]"),1)])])])])]))]),c("div",le,[c("div",null,[s[9]||(s[9]=c("div",{class:"flex gap-2 items-center"},[c("div",{class:"bg-component-bg bg-primary w-[3.5px] h-[28px] border rounded-lg border-transparent"},"  "),c("h2",null,"Competência")],-1)),c("div",oe,[Ie.value?(w(),d("div",re,[m(o,{class:"w-full h-[400px]"})])):Le.value?.competencia?(w(),d("div",{key:1,class:"text-base-content text-justify",innerHTML:Le.value.competencia},null,8,ne)):v("",!0),Le.value?.competencia||Ie.value?v("",!0):(w(),d("div",ie,"Competência não informada."))])]),c("div",null,[s[13]||(s[13]=c("div",{class:"flex gap-2 items-center mb-4"},[c("div",{class:"bg-primary w-[3.5px] h-[28px] rounded-lg"}," "),c("h2",null,"Unidades")],-1)),c("div",de,[Ie.value?(w(),d(x,{key:0},g(6,e=>m(o,{key:e,class:"h-[200px] rounded-lg"})),64)):Le.value.unidades?.length>0?(w(!0),d(x,{key:1},g(Le.value.unidades,e=>(w(),k(r,{key:e.id,to:{name:"unidade.show",params:{id:e.id}},class:"group relative bg-base border border-base-content/10 rounded-lg p-6 hover:shadow-xl hover:border-secondary/40 hover:-translate-y-1 transition-all duration-300 overflow-hidden"},{default:f(()=>[c("div",ce,[c("div",me,[c("h3",ue,u(e.nome),1),s[10]||(s[10]=c("div",{class:"w-8 h-8 bg-secondary/10 rounded-lg flex items-center justify-center flex-shrink-0 group-hover:bg-secondary/20 transition-colors"},[c("i",{class:"bi-arrow-right text-secondary text-sm group-hover:translate-x-0.5 transition-transform"})],-1))]),c("div",pe,[c("div",ve,[c("div",be,[m(l,{nome:"bi:person-fill",class:"text-secondary"})]),c("span",xe,u(e.responsavel?.nome||"[sem informação]"),1)]),c("div",ge,[c("div",fe,[m(l,{nome:"bi:envelope-at-fill",class:"text-secondary"})]),c("span",ye,u(e.email||"[sem informação]"),1)]),c("div",he,[c("div",we,[m(l,{nome:"bi:telephone-fill",class:"text-secondary"})]),c("span",null,u(e.fone||"[sem informação]"),1)])])]),s[11]||(s[11]=c("div",{class:"absolute bottom-0 left-0 w-full h-1 bg-secondary transform scale-x-0 group-hover:scale-x-100 transition-transform duration-300 origin-left"},null,-1))]),_:2},1032,["to"]))),128)):(w(),d("div",ke,[c("div",je,[c("div",_e,[m(l,{nome:"bi:buildings",class:"text-3xl text-gray-300"})]),s[12]||(s[12]=c("p",{class:"text-base font-medium"},"Nenhuma unidade cadastrada",-1))])]))])])])])])]),m(n,{visible:Me.value,"onUpdate:visible":s[1]||(s[1]=e=>Me.value=e),header:Le.value?.responsavel?.nome,modal:""},{default:f(()=>
1[c("div",Ce,[c("img",{class:"w-[200px] h-[200px] rounded-lgfull mb-4 text-center",src:p(t)(Le.value?.responsavel?.foto),alt:Le.value?.responsavel?.nome},null,8,Be),c("p",Ee,u(Le.value?.responsavel?.biografia||"Biografia não informada."),1)])]),_:1},8,["visible","header"])],64);var i}}}),[["__scopeId","data-v-ce0aec2d"]]);export{Fe 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.