1import{_ as C}from"./CTpFBPV0.js";import{_ as D}from"./riqqEK99.js";import{_ as S}from"./Lm4urVJ9.js";import{_ as V}from"./CRqIEsHD.js";import{_ as v}from"./Cwbf_wsF.js";import{_ as x}from"./CvERuiSO.js";import{e as f}from"./Di3931sP.js";import{f as B}from"./BhhudIuH.js";import{e as T,h as R,s as j,m as o,z as t,d as z,j as n,n as s,y as d,I as c,v as e,t as p,l as m}from"./V4KU0JGH.js";import"./B2EM_4o0.js";import"./DlAUqK2U.js";import"./D_0mJ_bM.js";import"./_PSyvPKL.js";import"./ChFNlXNq.js";import"./SFt96b6W.js";import"./DjsvgCXR.js";const E=["href"],Z=T({__name:"NewsDetail",props:{data:{}},setup(a){const _=R(),{isMobile:y,isTablet:b}=j(_),w=z(),{nuxtUrl:$}=w.public,i=a;return(r,I)=>{const u=C,l=D,g=S,k=V,h=v,N=x;return n(),o(N,{data:i.data},{"side-bar":t(()=>[d(l,null,{title:t(()=>[c(e(r.$t("components.aside.type.news")),1)]),content:t(()=>[i.data.type_news?(n(),o(u,{key:0,items:[i.data.type_news.title],"force-type":"primary"},null,8,["items"])):s("",!0)]),_:1}),d(l,{class:"category-topic"},{title:t(()=>[c(e(r.$t("components.aside.type.topic")),1)]),content:t(()=>[d(u,{items:a.data.topic,"force-type":"primary"},null,8,["items"])]),_:1}),a.data.publication_date?(n(),o(l,{key:0,class:"publication-date"},{title:t(()=>[c(e(r.$t("components.aside.publicationDate.label")),1)]),content:t(()=>[p("p",null,e(m(B)(a.data.publication_date)),1)]),_:1})):s("",!0),m(f)(a.data.person)?s("",!0):(n(),o(l,{key:1,class:"contributor"},{title:t(()=>[c(e(a.data.person.title),1)]),content:t(()=>[!m(y)&&!m(b)&&a.data.person.image?(n(),o(k,{key:0,"interaction-mode":"static"},{default:t(()=>[d(g,{asset:a.data.person.image,"max-rendition":"small"},null,8,["asset"])]),_:1})):s("",!0)]),additional:t(()=>[p("p",null,e(a.data.person.position),1)]),_:1})),m(f)(a.data.download?.file)?s("",!0):(n(),o(l,{key:2,class:"download"},{title:t(()=>[c(e(r.$t("components.aside.download.button")),1)]),content:t(()=>[p("a",{href:`${m($)}/api/assets${a.data.download?.file?.url}`,download:"",class:"iconafter-download"},e(a.data.download.label?a.data.download.label:i.data.download.file.url.split("/").slice(-1)[0]),9,E)]),_:1}))]),content:t(()=>[i.data?.main_area?(n(),o(h,{key:0,components:i.data?.main_area},null,8,["components"])):s("",!0)]),_:1},8,["data"])}}});export{Z 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.