1import{u as A,_ as F}from"./DfP57L6C.js";import{_ as S}from"./DALBRwA_.js";import{u as V,_ as L}from"./reNwsG80.js";import{a as M,r as T,w as f,b as j,d as q,e as u,f as m,j as e,_ as z,k as t,l as d,t as c,m as a,n as D,F as w,q as h,v as y,x as I,y as b}from"./Du8bl5Fj.js";import{u as G}from"./CJ1kWvL2.js";import"./D8pybCV1.js";import"./DVT8H4R9.js";const H={key:0,id:"news-list",class:"mb-5"},J={key:1},K={key:1,id:"events-list"},O={class:"mb-5"},te={__name:"news",async setup(P){let s,r;const{t:k}=M(),o=T(k("news2")),{data:l,error:C}=([s,r]=f(()=>A()),s=await s,r(),s),{data:_,error:g}=([s,r]=f(()=>V()),s=await s,r(),s),p=b(()=>l.value?l.value.length:0),B=b(()=>_.value?_.value.length:0),{routeBreadcrumb:N}=G(o);return j({title:o.value}),q({ogTitle:o.value}),(i,Q)=>{const $=F,v=S,E=L,x=z;return t(),u(x,{breadcrumb:e(N)},{default:m(()=>[d("h1",null,c(e(o)),1),e(C)?y("",!0):(t(),a("div",H,[d("h2",{class:D({"mb-5":e(p)>0})},c(i.$t("news")),3),e(p)>0?(t(),u(v,{key:0,"list-type":"autofit"},{default:m(()=>[(t(!0),a(w,null,h(e(l),n=>(t(),u($,{key:n.id,news:n},null,8,["news"]))),128))]),_:1})):(t(),a("p",J,c(i.$t("v1.views.archive.news.empty")),1))])),!e(g)&&e(B)>0?(t(),a("div",K,[d("h2",O,c(i.$t("events")),1),I(v,{"list-type":"autofit"},{default:m(()=>[(t(!0),a(w,null,h(e(_),n=>(t(),u(E,{key:n.id,event:n},null,8,["event"]))),128))]),_:1})])):y("",!0)]),_:1},8,["breadcrumb"])}}};export{te 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.