PageSourceSearch

https://jcnetwork.de/_nuxt/CoX6rymu.js

js jcnetwork.de collected 2026-10-04 14:07:01 UTC 1,553 bytes, 1 lines download raw bytes

1import{O as x,e as E,C as k,D as B,E as C,c as n,a as y,t as d,u as l,j as f,F as h,r as g,x as j,o as a}from"./BpzC0diX.js";import{u as v}from"./Cm8JCN4b.js";const S=()=>{const o=x();return{find:(e,t,s)=>o(`/${e}`,{method:"GET",params:t,...s}),findOne:(e,t,s,r)=>{const i=[e,t].filter(Boolean).join("/");return o(i,{method:"GET",params:s,...r})},create:(e,t,s={})=>o(`/${e}`,{method:"POST",body:{data:t},params:s}),update:(e,t,s,r={})=>{typeof t=="object"&&(s=t,t=void 0);const i=[e,t].filter(Boolean).join("/");return o(i,{method:"PUT",body:{data:s},params:r})},delete:(e,t,s)=>{const r=[e,t].filter(Boolean).join("/");return o(r,{method:"DELETE",params:s})}}},T={style:{"font-family":"sans-serif","max-width":"800px",margin:"2rem auto",padding:"0 1rem"}},w={key:0,style:{color:"#666"}},D={key:1},O={key:0},A=E({__name:"[slug]",async setup(o){let u,c;const p=k(),{find:m}=S(),{data:_}=([u,c]=B(()=>v(`page-${p.params.slug}`,()=>m("pages",{filters:{slug:{$eq:p.params.slug}}}))),u=await u,c(),u),e=j(()=>_.value?.data?.[0]);if(!e.value)throw C({statusCode:404,statusMessage:"Seite nicht gefunden"});return(t,s)=>(a(),n("main",T,[s[0]||(s[0]=y("a",{href:"/",style:{"font-size":"0.9rem"}},"← Zurück",-1)),y("h1",null,d(l(e)?.title),1),l(e)?.excerpt?(a(),n("p",w,d(l(e).excerpt),1)):f("",!0),l(e)?.body?(a(),n("div",D,[(a(!0),n(h,null,g(l(e).body,r=>(a(),n("div",{key:r.id},[r.type==="paragraph"?(a(),n("p",O,[(a(!0),n(h,null,g(r.children,i=>(a(),n("span",{key:i.text},d(i.text),1))),128))])):f("",!0)]))),128))])):f("",!0)]))}});export{A 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.