1import{_ as g}from"./sNV-ec2Y.js";import{_ as h}from"./OEeABMT8.js";import{_ as v}from"./BmpD_AXR.js";import{d as C,D as x,l as y,I as D,c as l,s as c,e as _,u as e,n as m,b as s,B as k,t as u,o as n}from"./BxdW20Ub.js";import{u as $}from"./CQ2nXzyS.js";import{u as b}from"./DITm4lyW.js";import"./51z2yfQf.js";import"./teMtHUYD.js";import"./Dwcg0_5Q.js";const B={class:"pt-5"},O={class:"row"},w={class:"article-details-h1"},N={key:0,class:"article-details-excerpt"},V={class:"position-relative article-content",ref:"articleContent"},J={__name:"[slug]",async setup(A){let a,r;const{locale:o,t:E}=C(),i=x(),{data:t}=([a,r]=y(()=>$(`legal_${i.params.slug}_${o.value}`,()=>$fetch(`/api/content/url/${i.params.slug}?lang=${o.value}`))),a=await a,r(),a);return(!t.value||t.value.mainCategory.url!=="legal")&&D(`/${o.value}`,{}),b({localeHead:!0,lang:o.value,metas:{title:t.value.title,description:t.value.intro}}),(H,I)=>{const p=g,d=h,f=v;return n(),l("main",B,[e(t)?(n(),l("section",{key:0,class:m(["container",e(t).tableOfContents?"container-lg":"container-md"])},[s("div",O,[s("div",{class:m(e(t).tableOfContents?"col-md-8":"col-12")},[s("h1",w,u(e(t).title),1),e(t).excerpt?(n(),l("h2",N,u(e(t).excerpt),1)):c("",!0),s("div",V,[_(p,{class:"article-details-content pt-4",html:e(t).htmlContent},null,8,["html"])],512)],2),e(t).tableOfContents?(n(),k(d,{"content-selector":".article-details-content",key:e(t).id})):c("",!0)])],2)):c("",!0),_(f)])}}};export{J 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.