PageSourceSearch

https://pix.fr/_nuxt/Db87AvQ-.js

js pix.fr collected 2026-09-24 08:45:54 UTC 2,220 bytes, 1 lines download raw bytes

1import{l as g,d as p,c as f,f as e,i as d,s as x,k as a,t as h,v as y,j as I,m as $,w as b,g as D,h as z,u as P,q as k}from"./CGqCi60S.js";import{_ as B}from"./DztgW2h5.js";import{u as M}from"./DzvCLrF8.js";import{u as N}from"./DDgwAaWi.js";import{u as T}from"./ChVGmf4U.js";import"./COT82IW4.js";import"./wRGRg8BU.js";import"./CKvYnSsi.js";import"./Bf4jsCfz.js";const C={class:"news-item-post"},L={class:"news-item-post__header"},R={class:"news-item-post__meta"},S={class:"news-item-post__date"},V={class:"news-item-post__body"},Y={class:"news-item-post__excerpt"},j=e("footer",{class:"news-item-post__footer"},null,-1),A={__name:"NewsItemPost",props:{newsItem:{type:Object,default:null}},setup(o){const{locale:s}=g(),{customPrismicRichTextSerializer:c}=M(),n=o,l=n.newsItem.data.category.toLowerCase(),r=n.newsItem.first_publication_date?"Preview":N(n.newsItem.data.date,"DD MMMM YYYY",{locales:s.value});return(t,m)=>{const i=I,_=B;return p(),f("div",C,[e("header",L,[d(i,{class:"news-item-post__title",field:o.newsItem.data.title},null,8,["field"]),e("p",R,[e("span",{class:x(`news-item-post__category ${`news-item-card__category--${a(l)}`}`)},h(t.$t(a(l))),3),y(" • "),e("span",S,h(a(r)),1)])]),e("div",V,[e("div",Y,[d(i,{field:o.newsItem.data.body,serializer:a(c)},null,8,["field","serializer"]),d(_,{slices:o.newsItem.data.slices},null,8,["slices"])])]),j])}}},q={class:"page news-show"},E={class:"page-banner-layout"},F=e("div",{class:"page-banner"},null,-1),O={class:"container padding-container page-banner-content"},se={__name:"[slug]",async setup(o){var m,i,_,u,w;let s,c;const{client:n}=P(),{locale:l}=g(),r=$(),{data:t}=([s,c]=b(()=>k(`news-item-${r.params.slug}`,()=>n.getByUID("news_item",r.params.slug,{lang:l.value}))),s=await s,c(),s);return T({title:(m=t.value.data.title[0])==null?void 0:m.text,ogTitle:(i=t.value.data.title[0])==null?void 0:i.text,description:(_=t.value.data.excerpt[0])==null?void 0:_.text,ogDescription:(u=t.value.data.excerpt[0])==null?void 0:u.text,ogImage:(w=t.value.data.illustration)==null?void 0:w.url}),(U,G)=>{const v=A;return p(),f("div",q,[e("div",E,[F,e("div",O,[a(t)?(p(),D(v,{key:0,"news-item":a(t)},null,8,["news-item"])):z("",!0)])])])}}};export{se 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.