PageSourceSearch

https://tocantinopolis.to.gov.br/js/Index-C3atsgxT.js

js tocantinopolis.to.gov.br collected 2026-09-26 11:51:46 UTC 3,638 bytes, 1 lines download raw bytes

1import{_ as e}from"./TituloComLinha.vue_vue_type_script_setup_true_lang-Ctf7-l0w.js";import{m as a,e as t}from"./carregando-Drpinfx4.js";import{y as s,R as o,S as i}from"./datefns-vendor-CmiML7te.js";import{g as l}from"./getFileSrc-Du9ih3ZQ.js";import{_ as r}from"./index-C5GhW9sY.js";import{M as n,ah as c,I as d,r as u,o as m,c as p,d as v,t as g,F as f,s as h,q as x,a0 as y,b as w,Q as b,k as j,x as k}from"./vue-vendor-C4LtToJo.js";import{b as _}from"./index-CKkCOcaB.js";import"./jspdf-vendor-Dg11MAxS.js";import"./primevue-B-Os_Qve.js";import"./datepicker-vendor-DX2zwzgb.js";const P={class:"conteudo mt-2"},M={class:"grid grid-cols-1 sm:grid-cols-3 gap-5 m-0 p-0"},L=["href"],z={key:0,class:"relative z-0 h-42 overflow-hidden rounded-t-2xl"},C=["src"],F=["src"],N={key:1,class:"flex items-center justify-content-center z-4 absolute top-38 w-full"},q={class:"w-full flex flex-col align-items-center justify-content-center mt-3"},A={class:"text-base-content font-bold text-xs"},I={class:"z-1 py-2 px-5"},S={class:"text-center titulo-noticias font-normal"},T={key:1},U={"aria-label":"Paginação de notícias"},$=r(n({__name:"Index",setup(r){const n=y();c({title:"Notícias",description:"Fique por dentro das últimas notícias da Câmara Municipal. Acompanhe as novidades, projetos e eventos legislativos.",ogTitle:"Notícias - Câmara Municipal",ogDescription:"Fique por dentro das últimas notícias da Câmara Municipal. Acompanhe as novidades, projetos e eventos legislativos.",ogUrl:d(()=>"undefined"==typeof window?n.fullPath:`${window.location.origin}${n.fullPath}`),twitterCard:"summary_large_image"});const $=u(!1),B=u({}),D=u(0);return m(()=>{(async()=>{$.value=!0;try{B.value=await _()}catch(e){}$.value=!1})()}),(r,n)=>{const c=x("Skeleton"),d=x("Tag"),u=x("Paginator");return w(),p(f,null,[v("main",P,[g(e,{class:"w-full",title:"Notícias","header-class":"text-3xl"}),v("div",M,[$.value?(w(),p(f,{key:0},h(6,e=>v("div",{key:e},[g(c,{width:"100%",height:"25rem"})])),64)):(w(),p(f,{key:1},[B.value?.data?.length>0?(w(!0),p(f,{key:0},h(B.value?.data,e=>{return w(),p("div",{key:e.id,class:"text-left relative bg-base cursor-pointer rounded-2xl shadow-lg border border-[#e6e6e6] transition duration-200 ease-in-out hover:bg-accent group"},[v("a",{href:"/noticia/"+e?.slug,class:"no-underline text-base-content"},[e?.imagem?(w(),p("div",z,[v("img",{width:"800",height:"600",src:b(l)(e?.imagem),class:"w-full h-full object-center object-contain absolute mx-auto z-2 transition ease-in-out duration-300 group-hover:scale-105"},null,8,C),v("img",{width:"800",height:"600",src:b(l)(e?.imagem),class:"w-full h-full object-center mx-auto blur-xl z-1"},null,8,F)])):j("",!0),e?.categoria?.nome?(w(),p("div",N,[g(d,{value:e?.categoria?.nome,class:"text-[12px] uppercase w-auto h-7 bg-primary text-white"},null,8,["value"])])):j("",!0),v("div",q,[v("div",null,[v("span",A,k((a=e?.data,s(i(a),"dd 'de' MMMM 'de' yyyy",{locale:o}))),1)]),n[2]||(n[2]=v("div",{class:"bg-primary h-[3px] w-[69px] rounded-md mt-1"},null,-1))]),v("div",I,[v("h5",S,k(e?.titulo),1)])],8,L)]);var a}),128)):(w(),p("div",T,[...n[3]||(n[3]=[v("span",null," Ainda não há notícias publicadas! ",-1)])]))],64))])]),v("nav",U,[g(u,{first:D.value,"onUpdate:first":n[0]||(n[0]=e=>D.value=e),rows:B.value.per_page,"total-records":B.value.total,template:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink",onPage:n[1]||(n[1]=e=>(async e=>{$.value=!0,a();try{D.value=e.first;const a=e.page+1;B.value=await _(a)}catch(s){}t(),$.value=!1})(e))},null,8,["first","rows","total-records"])])],64)}}}),[["__scopeId","data-v-884a3c23"]]);export{$ 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.