1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/leaflet-src-Dns5h11K.js","assets/index-BrSf5i17.js"])))=>i.map(i=>d[i]); 2import{c as u,r as m,_ as h,j as e}from"./index-BrSf5i17.js";import{S as g}from"./SiteHeader-Dk8odjkB.js";import{S as f}from"./SiteFooter-3vMm4Vj_.js";import{u as w}from"./usePageContent-v0RA13ZJ.js";import"./useQuery-BRcB5UO8.js";import"./useServerFn-LSoXNgu7.js";import"./page-content.functions-Bmqf_qOh.js";const y=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}]],j=u("compass",y);function N(){const t=m.useRef(null),s=m.useRef(null);return m.useEffect(()=>{let c=!1;return(async()=>{if(!t.current||s.current)return;const r="https://unpkg.com/[email protected]/dist/leaflet.css";if(!document.querySelector(`link[href="${r}"]`)){const n=document.createElement("link");n.rel="stylesheet",n.href=r,document.head.appendChild(n)}const l=(await h(async()=>{const{default:n}=await import("./leaflet-src-Dns5h11K.js").then(i=>i.l);return{default:n}},__vite__mapDeps([0,1]))).default;if(c||!t.current)return;const a=l.map(t.current,{scrollWheelZoom:!1});s.current=a,l.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',maxZoom:19}).addTo(a);try{const i=await(await fetch("/planetenwanderweg.gpx")).text(),x=new DOMParser().parseFromString(i,"application/xml"),o=Array.from(x.getElementsByTagName("trkpt")).map(d=>[parseFloat(d.getAttribute("lat")||"0"),parseFloat(d.getAttribute("lon")||"0")]);if(o.length){const d=l.polyline(o,{color:"#e85d3a",weight:4,opacity:.9}).addTo(a);l.marker(o[0]).addTo(a).bindPopup("Start"),l.marker(o[o.length-1]).addTo(a).bindPopup("Ziel"),a.fitBounds(d.getBounds(),{padding:[30,30]})}else a.setView([50.6517,12.9683],13)}catch{a.setView([50.6517,12.9683],13)}})(),()=>{c=!0,s.current&&(s.current.remove(),s.current=null)}},[]),e.jsx("div",{ref:t,className:"w-full h-[500px]"})}const p="https://www.planetarium-drebach.de/wp-content/uploads/2020/11/Planetenweg_Saturn-1024x683.jpg";function E(){const t=w("planetenwanderweg"),s=t.image("hero_image",p),c=t.json("stations",[]);return e.jsxs("div",{className:"min-h-screen",children:[e.jsx(g,{}),e.jsx("section",{className:"relative pt-16 surface-navy overflow-hidden",children:e.jsxs("div",{className:"relative min-h-[70svh] flex items-center",children:[e.jsxs("div",{className:"absolute inset-0",children:[e.jsx("img",{src:s??p,alt:"Planetenwanderweg Drebach",className:"absolute inset-0 w-full h-full object-cover"}),e.jsx("div",{className:"absolute inset-0 bg-black/55"})]}),e.jsxs("div",{className:"relative z-10 mx-auto max-w-7xl w-full px-6 lg:px-10 py-16 lg:py-24 text-primary-foreground",children:[e.jsxs("p",{className:"inline-flex items-center gap-2 text-xs uppercase tracking-[0.3em] text-primary-foreground/80 mb-6 font-display",children:[e.jsx(j,{className:"size-3"})," · ",t.text("hero_eyebrow","Wanderweg")]}),e.jsx("h1",{className:"font-display text-[2rem] sm:text-5xl lg:text-6xl leading-[1.05] uppercase page-html [&_p]:m-0",dangerouslySetInnerHTML:{__html:t.html("hero_title","<p>Planetenwanderweg</p>")}}),e.jsx("div",{className:"mt-6 max-w-xl text-base lg:text-lg text-primary-foreground/85 page-html",dangerouslySetInnerHTML:{__html:t.html("hero_text")}})]})]})}),e.jsx("section",{className:"mx-auto max-w-3xl px-6 py-16",children:e.jsx("div",{className:"text-lg text-muted-foreground leading-relaxed page-html",dangerouslySetInnerHTML:{__html:t.html("intro")}})}),e.jsx("section",{className:"mx-auto max-w-5xl px-6 pb-16",children:e.jsx("div",{className:"rounded-3xl border border-border overflow-hidden",children:e.jsxs("table",{className:"w-full text-sm md:text-base",children:[e.jsx("thead",{className:"bg-muted/50",children:e.jsxs("tr",{className:"text-left",children:[e.jsx("th",{className:"px-4 md:px-6 py-4 font-display uppercase tracking-wider text-xs",children:"Station"}),e.jsx("th",{className:"px-4 md:px-6 py-4 font-display uppercase tracking-wider text-xs",children:"Himmelskörper"}),e.jsx("th",{className:"px-4 md:px-6 py-4 font-display uppercase tracking-wider text-xs",children:"à in cm"}),e.jsx("th",{className:"px-4 md:px-6 py-4 font-display uppercase tracking-wider text-xs",children:"Entfernung zur Sonne (m)"})]})}),e.jsx("tbody",{children:c.map(r=>e.jsxs("tr",{className:"border-t border-border",children:[e.jsx("td",{className:"px-4 md:px-6 py-3 text-muted-foreground",children:r.nr}),e.jsx("td",{className:"px-4 md:px-6 py-3 font-medium",children:r.name}),e.jsx("td",{className:"px-4 md:px-6 py-3",children:r.durchmesser}),e.jsx("td",{className:"px-4 md:px-6 py-3",children:r.entfernung})]},r.nr))})]})})}),e.jsxs("section",{className:"mx-auto max-w-5xl px-6 pb-16",children:[e.jsx("div",{className:"overflow-hidden rounded-3xl border border-border bg-muted/30",children:e.jsx(N,{})}),e.jsxs("p",{className:"mt-3 text-sm text-muted-foreground",children:["Route eingezeichnet aus GPX-Daten. DetailÂansicht, Höhenprofil und GPX-Download auf"," ",e.jsx("a",{href:"https://www.outdooractive.com/de/route/wanderung/greifensteinregion/planetenwanderweg-in-drebach/3636780/",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-foreground",children:"Outdooractive"}),"."]})]}),e.jsx("section",{className:"mx-auto max-w-3xl px-6 pb-16",children:e.jsx("div",{className:"text-lg text-muted-foreground leading-relaxed page-html",dangerouslySetInnerHTML:{__html:t.html("outro")}})}),e.jsx(f,{})]})}
2export{E as component};
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.