1import{_ as w}from"./index.vue.DjeLCayZ.js";import{_ as y,a as P,b as z}from"./index.vue.DA0ReY_R.js";import{_ as L}from"./index.vue.CqBmBtkV.js";import{D as S,A as B,E}from"./entry.C6NAXwym.js";import{u as A}from"./asyncData.DIV8UA66.js";import{o as U,am as D,d as M,U as m,i as H,n as b,ab as a,g as d,h as g}from"./swiper-vue.CT7r2VF_.js";import"./FaqStore.BxpIBhXB.js";import"./card.vue.B4Hzdbwh.js";import"./startCase.DDW5Laji.js";import"./ResourceComposable.CrzXGAdb.js";/* empty css */import"./markdown.vue.BM_yuw6f.js";import"./slugify.3SE0EvEo.js";const Y=U({__name:"index",async setup(N){let l,f;const p=E();S();const{setBreadcrumbs:C,setPageTitle:k,setPageDescription:v}=B();C([{text:"Resources"},{text:"Restringir a Porta 25",href:"/restringir-a-porta-25/"}]),k("Restringir a Porta 25"),v("");const $=e=>{if(e){const c=e.startsWith("#"),i=e.indexOf(` 2#`);if(c){const t=e.match(/^#+ [^#]*(?:#(?!#)[^#]*)*/gm),n=new RegExp(/(#+)\s(.*)/);return t==null?void 0:t.map(o=>{const[,,r]=n.exec(o);return{heading:r,content:o,hash:r.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"")}})}else{if(i===-1)return[{heading:null,content:e,chunk:null}];if(new RegExp(/(#+)\s(.*)/).exec(e)){const t=[];t.push({heading:null,content:e.slice(0,i),chunk:null});const n=e.slice(i).match(/^#+ [^#]*(?:#(?!#)[^#]*)*/gm),o=new RegExp(/(#+)\s(.*)/);return n&&t.push(...n.map(r=>{const[,,u]=o.exec(r);return{heading:u,content:r,hash:u.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"")}})),t}return[{heading:null,content:e,chunk:null}]}}},{data:s}=([l,f]=D(()=>A("endgame",()=>$fetch(`${p.public.CMS_URL?p.public.CMS_URL:p.CMS_URL}port_25_br?fields=*.*.*.*`))),l=await l,f(),l),_=M(()=>{var c;if(!s.value)return;const e=((c=s.value)==null?void 0:c.data.content)??"";return $(e)});return(e,c)=>{var u,h,x,R;const i=w,t=y,n=L,o=P,r=z;return m(),H("main",null,[b(i,{heading:"Restringir a Porta 25",class:"z-50 relative"}),(h=(u=a(s))==null?void 0:u.data)!=null&&h.about?(m(),d(t,{key:0,about:a(s).data.about,title:a(s).data.title,class:"z-40 relative"},null,8,["about","title"])):g("",!0),a(_)?(m(),d(n,{key:1,type:"Content",content:a(_),headings:a(_),class:"z-40-relative",narrow:""},null,8,["content","headings"])):g("",!0),b(o,{class:"z-30 relative"}),(R=(x=a(s))==null?void 0:x.data)!=null&&R.resources?(m(),d(r,{key:2,resources:a(s).data.resources,class:"z-40 relative"},null,8,["resources"])):g("",!0)])}}});export{Y 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.