PageSourceSearch

https://data.corsica/_nuxt/Dtdur5WT.js

js data.corsica collected 2026-10-02 06:10:28 UTC 2,891 bytes, 1 lines download raw bytes

1import{_ as C}from"./U8TAV6UX.js";import{_ as A}from"./CcIAkKZv.js";import{_ as F}from"./BpDTQHil.js";import{aj as S,dM as T,dn as B,dE as E,dA as I,e7 as m,cH as P,e5 as J,cD as i,a4 as u,e8 as $,d2 as o,a5 as D,a1 as d,df as _,cJ as L}from"./6xPxVB48.js";import{u as M}from"./CM508EtF.js";import{u as j}from"./CC8WQYfx.js";import"./CAOqzc1-.js";import"./DlAUqK2U.js";import"./D9hTuUyw.js";import"./B6b22WC2.js";import"./ClYQe4Oq.js";import"./vZevx6bH.js";import"./ClEsTShU.js";import"./CEn39nVT.js";import"./DYilelM5.js";import"./Bg7nMWAu.js";import"./Ci2it7hI.js";import"./DLPDV_2y.js";import"./CcKgr4uT.js";import"./BmPvg4I-.js";import"./BsytbXi7.js";import"./ZWEB_OZh.js";import"./Cc8WqgmT.js";import"./Cs3SijNX.js";import"./C_2vPyLp.js";import"./fL5SIvJq.js";import"./DM7IWnci.js";import"./C8lcdldv.js";import"./BG7r7zrD.js";const q=S({__name:"[slug]",async setup(l){let t,r;const c=T().params.slug,{t:s}=B(),{portalConfig:f}=E(),{setBreadcrumbs:g,setShowBreadcrumbs:v}=I(),h=L("news",c),b=([t,r]=m(()=>_("/portal/api/pages/standard-exists",{watch:!1},"$YaaVcIjDqm")),t=await t,r(),t),p=d(()=>b.data.value?.["news-catalog"]||!1),e=([t,r]=m(()=>_(`/portal/api/pages/news/${c}`,{watch:!1},"$JOsAJMD1Me")),t=await t,r(),t);P("page-config",e.data);const y=d(()=>{const a=e.error.value?.statusCode;if(!(a===401||a===403))return s(a===404?"newsNotFound":"newsError")});return J([()=>e.data.value,p],([a])=>{const n=[];p.value&&n.push({type:"standard",subtype:"news-catalog"}),n.push({title:a?.title||s("news")}),g(n),v(a?.showBreadcrumbs)},{immediate:!0}),M({title:()=>(e.data.value?.title||s("news"))+" - "+f.value.title,description:()=>e.data.value?.description,ogImage:()=>e.data.value?.thumbnail?h(e.data.value.thumbnail):void 0,ogType:"article"}),j(),(a,n)=>{const k=C,N=A,x=F;return i(),u(x,{"is-fluid":o(e).data.value?.fluid},{default:$(()=>[o(e).error.value?(i(),u(k,{key:0,"status-code":o(e).error.value.statusCode||500,title:o(y),link:{type:"standard",subtype:"news-catalog",title:o(s)("backToNews")}},null,8,["status-code","title","link"])):o(e).data.value?(i(),u(N,{key:1,"model-value":o(e).data.value.elements},null,8,["model-value"])):D("",!0)]),_:1},8,["is-fluid"])}}});function w(l){const t=l;t.__i18n=t.__i18n||[],t.__i18n.push({locale:"",resource:{en:{backToNews:{t:0,b:{t:2,i:[{t:3}],s:"Go to News List"}},news:{t:0,b:{t:2,i:[{t:3}],s:"News"}},newsNotFound:{t:0,b:{t:2,i:[{t:3}],s:"The requested news article was not found"}},newsError:{t:0,b:{t:2,i:[{t:3}],s:"An error occurred while loading the news article"}}},fr:{backToNews:{t:0,b:{t:2,i:[{t:3}],s:"Aller à la liste des actualités"}},news:{t:0,b:{t:2,i:[{t:3}],s:"Actualité"}},newsNotFound:{t:0,b:{t:2,i:[{t:3}],s:"L'actualité demandée n'a pas été trouvée"}},newsError:{t:0,b:{t:2,i:[{t:3}],s:"Une erreur est survenue lors du chargement de l'actualité"}}}}})}typeof w=="function"&&w(q);export{q 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.