PageSourceSearch

https://efis.de/_nuxt/B3U7aI51.js

js efis.de collected 2026-10-06 18:33:24 UTC 3,617 bytes, 1 lines download raw bytes

1import{_ as M}from"./UFUkG8dh.js";import{_ as H}from"./Gs7w4TkS.js";import{_ as K}from"./XjvSXNU6.js";import{_ as T}from"./Df5ty6Mp.js";import{_ as Y}from"./DCn_UzKs.js";import{_ as F}from"./6xfMhct5.js";import{d as J,a as Q,m as W,f as X,_ as Z}from"./DE-q9Fwk.js";import{_ as tt}from"./CQ2E0M-n.js";import{_ as et}from"./BXrcTezs.js";import{_ as ot}from"./BdW_VUpj.js";import{_ as nt}from"./CirIXIR8.js";import{d as at,u as st,a as rt,G as it,w as y,a5 as ct,D as mt,l as m,c as x,b as l,a6 as lt,o as r,e as a,i as u,h as e,f as i,y as ut,g as h,t as p,v as _t,s as pt}from"./Bo-wmlOf.js";import{u as w,q as dt,a as ft}from"./C7kLVewA.js";import{u as gt}from"./C1tiKnnk.js";import{f as xt}from"./BZmpO_pw.js";import"./DyBRPSFA.js";import"./Cp5Emgj7.js";import"./DM8UWGAX.js";import"./BIxQniGe.js";import"./BCyP31Z3.js";import"./aDJ57QfZ.js";import"./BrURJ2Jm.js";import"./BN_7HF1G.js";import"./DbxR6kPM.js";const ht={class:"flex flex-col gap-3 mt-8"},vt={class:"flex text-xs text-muted items-center justify-center gap-2"},yt={key:0},wt={key:1},Ct={key:2},$t={class:"text-4xl text-center font-medium max-w-3xl mx-auto mt-4"},kt={class:"text-muted text-center max-w-2xl mx-auto"},bt={class:"flex items-center justify-center gap-2 mt-2"},Ut={class:"flex items-center justify-end gap-2 text-sm text-muted"},Zt=at({__name:"[...slug]",async setup(It){let n,_;const{locale:d}=st(),v=rt(),f=it(),C=Array.isArray(f.params.slug)?f.params.slug.join("/"):f.params.slug,c=`/${d.value}/news/${C}`,{data:t}=([n,_]=y(()=>w(c,()=>dt("news").path(c).first(),"$kGC9H2OtnY")),n=await n,_(),n);gt(t);const{data:$}=([n,_]=y(()=>w(`${c}-surround`,()=>ft("news",c,{fields:["description"]}).where("path","LIKE",`/${d.value}/%`))),n=await n,_(),n),k=ct("navigation",mt([])),b=m(()=>k.value.find(o=>o.path==="/news")?.children||[]),U=m(()=>W(X(b?.value,c)).map(({icon:o,...s})=>s));t.value?.image?J({url:t.value.image}):Q("News",{headline:U.value.map(o=>o.label).join(" > ")},{fonts:["Geist:400","Geist:600"]});const I=m(()=>lt().href),N=["news5.webp"],j=m(()=>{const o=t.value?.image;return typeof o=="string"&&N.some(g=>o.includes(g))?"rounded-lg h-56 md:h-72 w-auto mx-auto object-contain":"rounded-lg w-full object-center"}),P=o=>xt(o,d.value,{year:"numeric",month:"short",day:"numeric"}),R=o=>o.replace(/^\/(de|en)(\/|$)/,"/"),A=m(()=>$.value?.map(o=>o&&{...o,path:v(R(o.path))}));return(o,s)=>{const g=M,B=H,D=K,L=T,S=Y,q=F,G=Z,V=tt,E=et,O=ot,z=nt;return r(),x(z,{class:"mt-20 px-2"},{default:l(()=>[a(O,{class:"relative min-h-screen"},{default:l(()=>[e(t)?(r(),x(E,{key:0},{default:l(()=>[a(B,{to:e(v)("/news"),class:"text-sm flex items-center gap-1"},{default:l(()=>[a(g,{name:"lucide:chevron-left"}),s[1]||(s[1]=ut(" News ",-1))]),_:1},8,["to"]),i("div",ht,[i("div",vt,[e(t).date?(r(),h("span",yt,p(P(e(t).date)),1)):u("",!0),e(t).date&&e(t).minRead?(r(),h("span",wt," - ")):u("",!0),e(t).minRead?(r(),h("span",Ct,p(e(t).minRead)+" MIN READ ",1)):u("",!0)]),a(D,{src:e(t).image,alt:e(t).title,class:_t(e(j))},null,8,["src","alt","class"]),i("h1",$t,p(e(t).title),1),i("p",kt,p(e(t).description),1),i("div",bt,[a(L,pt({orientation:"vertical",color:"neutral",variant:"outline",class:"justify-center items-center text-center"},e(t).author),null,16)])]),a(V,{class:"max-w-3xl mx-auto"},{default:l(()=>[e(t).body?(r(),x(S,{key:0,value:e(t)},null,8,["value"])):u("",!0),i("div",Ut,[a(q,{size:"sm",variant:"link",color:"neutral",label:"Copy link",onClick:s[0]||(s[0]=Nt=>console.log(e(I),"Article link copied to clipboard"))})]),a(G,{surround:e(A)},null,8,["surround"])]),_:1})]),_:1})):u("",!0)]),_:1})]),_:1})}}});
1export{Zt 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.