1import{_ as S}from"./DoAmsOPD.js";import{u as w,b as v,_ as B}from"./Ds5tBMu9.js";import{_ as U}from"./D7QcP1jw.js";import{_ as k}from"./R-H0osL8.js";import{bF as A,c7 as I,bb as u,bz as C,b4 as a,b7 as i,b5 as _,bc as n,b6 as m,bi as D,bk as l,c6 as E,bj as p,b3 as r,bq as N}from"./DVKR6D2q.js";import"./BQ77zyE_.js";import"./8YS-q7nV.js";import"./BfH2CooI.js";import"./DnRWIRB3.js";import"./Q6_apbK7.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="b65f1e77-cd2e-42fc-ad08-6b67b9304bd3",t._sentryDebugIdIdentifier="sentry-dbid-b65f1e77-cd2e-42fc-ad08-6b67b9304bd3")}catch{}})();const $=()=>{const{headers:t}=A();return{getSectionByUrl:async c=>$fetch(`/api/sections/${encodeURIComponent(c)}/relations`,{headers:t}).catch(s=>{throw s?.response?.status?I({statusCode:s.response?.status,statusMessage:s.response?.statusText||"Erro ao buscar seção",data:s.response?._data}):s})}},T={class:"bg-[var(--sections-bg-color)] text-[var(--sections-text-color)]"},V={class:"container py-10 md:py-20 px-6"},j={key:0,class:"mx-auto w-full max-w-4xl md:max-w-7xl md:px-36"},q={key:0},F={class:"text-sm md:text-3xl font-semibold md:mb-2"},R={class:"text-xs md:text-base"},z=u({__name:"Sections",props:{sectionUrl:{}},async setup(t){let e,c;w("var(--sections-bg-color)");const s=t,{getSectionByUrl:d}=$(),{data:o,error:b}=([e,c]=C(()=>E("section:"+s.sectionUrl,()=>d(s.sectionUrl),{server:!0})),e=await e,c(),e),f=p(()=>v(o.value?.breadcrumb));return(M,O)=>{const x=S,y=B,g=U,h=k;return r(),a("div",T,[i(x,{tiny:""}),_("main",V,[n(b)?(r(),l(h,{key:1,title:"Seção não encontrada",description:"A seção que você está procurando não existe ou foi removida."})):(r(),a("div",j,[i(y,{items:n(f)},null,8,["items"]),n(o)?(r(),a("article",q,[_("h1",F,m(n(o).title),1),_("p",R,m(n(o).description),1),i(g,{class:"mt-4 md:mt-6",articles:n(o).articles,sections:n(o).sections},null,8,["articles","sections"])])):D("",!0)]))])])}}}),H=Object.assign(z,{__name:"Sections"}),tt=u({__name:"[sectionUrl]",setup(t){const e=N(),c=p(()=>e.params.sectionUrl);return(s,d)=>{const o=H;return r(),l(o,{"section-url":n(c)},null,8,["section-url"])}}});export{tt 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.