PageSourceSearch

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

js fapemig.br collected 2026-10-01 10:34:28 UTC 2,239 bytes, 1 lines download raw bytes

1import{d as L,D as T,U as E,z as I,w as M,E as H,x as C,c as l,g as t,e as c,t as F,f as A,k as u,n as P,O as U,o as n,l as j}from"./BKRH0lRf.js";import{u as B,F as G,l as N}from"./BSmvl4jT.js";import{u as b,a as S}from"./C45AHZ-z.js";import{u as V}from"./1aJRqN8n.js";import"./D2nVAaMs.js";import"./Bvwp1HFE.js";const $={key:0,class:"flex justify-center"},z={key:1,class:"text-red-500"},O={key:2,class:"wordpress-content dark:text-dark-neutral-white"},R=["innerHTML"],q={key:3,class:"flex justify-center"},J=L({__name:"[slug]",async setup(K){let r,m;const f=U(),d=u(()=>f.params.slug),{formatLegalHtml:k}=b(),{setPageData:p}=T(),{links:w,loadLinks:x}=B(),{loadLaw:y}=S();function g(s){if(!s)return"";{const e=document.createElement("textarea");return e.innerHTML=s,e.value}}const{data:a,pending:D,error:v}=([r,m]=E(()=>P(()=>`law-details-${d.value}`,()=>y(d.value),{server:!0,watch:[d]})),r=await r,m(),r);I(async()=>{await x("a-fapemig","legislacao","/a-fapemig/legislacao")}),M(a,s=>{const e=s?.title?g(s.title):null;p({title:e||"Legislação",acceptsTitleDescription:!0})},{immediate:!0});const{canonicalUrl:h}=V(),_=u(()=>"/images/base-layout-background.jpg"),o=u(()=>a.value?.title?`${g(a.value.title)} - FAPEMIG`:"Legislação - FAPEMIG"),i=u(()=>a.value?.excerpt?a.value.excerpt.replace(/<[^>]+>/g,"").trim():"Detalhes da legislação FAPEMIG");return H({title:()=>o.value,meta:[{name:"description",content:()=>i.value}]}),p({title:o.value,acceptsTitleDescription:!0}),C({title:()=>o.value,description:()=>i.value,ogTitle:()=>o.value,ogDescription:()=>i.value,ogUrl:()=>h.value,ogImage:()=>_.value,twitterTitle:()=>o.value,twitterDescription:()=>i.value,twitterImage:()=>_.value}),(s,e)=>(n(),l("div",null,[t(D)?(n(),l("div",$,[...e[0]||(e[0]=[c("span",{class:"dark:text-dark-neutral-white"},"Carregando dados...",-1)])])):t(v)?(n(),l("div",z,[c("span",null,F(t(v)?.message||"Erro ao carregar dados."),1)])):t(a)?(n(),l("div",O,[c("div",{innerHTML:t(k)(t(a).content)},null,8,R)])):(n(),l("div",q,[...e[1]||(e[1]=[c("span",{class:"dark:text-dark-neutral-white"},"Nenhum dado encontrado.",-1)])])),A(G,{"image-src":t(N),links:t(w)},null,8,["image-src","links"])]))}}),te=j(J,[["__scopeId","data-v-69446d29"]]);export{te 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.