PageSourceSearch

https://fapemig.br/_nuxt/C82qeA_P.js

js fapemig.br collected 2026-09-24 09:01:59 UTC 3,475 bytes, 1 lines download raw bytes

1import{u as C,F as V}from"./BEcrqIgb.js";import{u as B,F as q,l as A}from"./DUwt3oGo.js";import{F as U}from"./CGXAhkZX.js";import{F as G}from"./rJwsUVCf.js";import{F as S}from"./CXvVGlM9.js";import{u as j}from"./DuVuZ2Xs.js";import{d as H,z as N,w as z,D as R,E as $,x as O,c,e as Z,g as t,t as J,p as k,f as p,q as K,j as _,i as F,r as b,o as i,Z as Q,k as W,l as X}from"./CPl0olws.js";import"./o_5rJdUo.js";import"./BYUpCESC.js";import"./rMsMdmSW.js";import"./BL_6kOxi.js";import"./B9wTcfoM.js";import"./BKESRKmp.js";import"./RaRdeYfi.js";import"./Mw2uc-_D.js";const Y={class:"laws__container"},ee={key:0},ae={key:1},n=25,d="Principais decretos federais e estaduais que orientam as ações da FAPEMIG.",u="Decretos Federais e Estaduais | FAPEMIG",se=H({__name:"index",setup(te){const{loadLaws:g,loadMoreLaws:E,hasMorePages:D,totalItems:h,error:f,isLoading:w,laws:r}=C(),{links:P,loadLinks:T}=B(),x=["A atuação da FAPEMIG está fundamentada em um conjunto robusto de leis e diretrizes que estruturam o sistema de ciência, tecnologia e inovação no Brasil e em Minas Gerais. Esta página apresenta uma curadoria das principais normas federais e estaduais que orientam as ações da Fundação, desde o fomento à pesquisa até os mecanismos de cooperação com universidades, centros de pesquisa, empresas e demais entes públicos."],m=[{name:"decreto estadual",label:"Decreto Estadual"},{name:"decreto federal",label:"Decreto Federal"}],l=b(m[0].name),o=b([]);function y(e){e.src?Q(`/a-fapemig/legislacao/decretos-federais-e-estaduais/${e.src}`):e.archive?window.open(e.archive,"_blank"):e.link&&window.open(e.link,"_blank")}function I(e){const s=document.createElement("textarea");return s.innerHTML=e,s.value}N(async()=>{const e=m.find(s=>s.name===l.value);await g({categories:[e.name],perPage:n,page:1}),o.value=r.value.slice(0,n),await T("a-fapemig","legislacao","/a-fapemig/legislacao")}),z(l,async e=>{o.value=[];const s=m.find(a=>a.name===e);await g({categories:[s.name],perPage:n,page:1}),o.value=r.value.slice(0,n)});const{canonicalUrl:L}=j(),v=W(()=>"/images/base-layout-background.jpg"),{setPageData:M}=R();return $({title:u,meta:[{name:"description",content:d}]}),M({title:"Decretos Federais e Estaduais",acceptsTitleDescription:!0}),O({title:()=>u,description:()=>d,ogTitle:()=>u,ogDescription:()=>d,ogUrl:()=>L.value,ogImage:()=>v.value,twitterTitle:()=>u,twitterDescription:()=>d,twitterImage:()=>v.value}),(e,s)=>(i(),c("div",null,[Z("article",Y,[t(f)?(i(),c("span",ee,J(t(f)),1)):t(w)&&t(r).length===0?(i(),c("span",ae,"carregando dados...")):(i(),c(k,{key:2},[p(V,{paragraphs:x,"show-documents":!0}),p(U,{modelValue:l.value,"onUpdate:modelValue":s[0]||(s[0]=a=>l.value=a),class:"law__tabs",items:m.map(a=>({label:a.label,value:a.name}))},null,8,["modelValue","items"]),o.value.length>0?(i(!0),c(k,{key:0},K(o.value,a=>(i(),F(G,{key:a.id,label:I(a.title),"line-clamp":3,"border-radius":"extralarge",onClick:oe=>y(a)},null,8,["label","onClick"]))),128)):_("",!0),t(r).length&&o.value.length>=n?(i(),F(S,{key:l.value,modelValue:o.value,"onUpdate:modelValue":s[1]||(s[1]=a=>o.value=a),items:t(r),"items-per-page":n,"on-load-more":t(E),"has-more-pages":t(D),"total-items":t(h),"text-pagination-type":"decretos",class:"mt-lg"},null,8,["modelValue","items","on-load-more","has-more-pages","total-items"])):_("",!0)],64))]),p(q,{"image-src":t(A),links:t(P)},null,8,["image-src","links"])]))}}),be=X(se,[["__scopeId","data-v-604407c2"]]);export{be 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.