1import{u as p,j as e,g as n,C as u,S as j,B as b,b as f,v as h,n as N}from"./index-BHKyTGiK.js";import{i as v,N as D,L as d}from"./vendor-react-BK3hO__s.js";import{b as x}from"./blogPosts-rmYYXjtW.js";import{d as w}from"./david-woods-portrait-D1bg0jpY.js";import"./vendor-helmet-CV_Aq258.js";import"./vendor-supabase-TbPYTrVH.js";import"./david-woods-office-CkxnPzVW.js";function $(){var m;const{slug:l}=v(),{language:a,country:y,t:A}=p(),r=a!=="en",t=x.find(s=>s.slug===l);if(!t)return e.jsx(D,{to:n("blog",a),replace:!0});const g=Math.ceil((((m=t.contentText)==null?void 0:m.length)||500)/250),c=n("home",a),o={"@context":"https://schema.org","@type":"Article",headline:t.title,description:t.metaDescription,image:t.featuredImage||`${u}/david_woods_og.jpg`,author:{"@type":"Person",name:"David J. Woods",url:"https://david-j-woods.com/de/ch/ueber-uns",jobTitle:"Lic.Psych., NGH International Trainer"},publisher:{"@type":"Organization",name:"David J. Woods Hypnosetherapie",url:"https://david-j-woods.com"},mainEntityOfPage:{"@type":"WebPage","@id":`https://david-j-woods.com/${a}/blog/${l}`},inLanguage:r?"de":"en"};return t.publishedDate&&(o.datePublished=t.publishedDate),t.updatedDate&&(o.dateModified=t.updatedDate),e.jsxs(e.Fragment,{children:[e.jsx(j,{titleDE:t.title,titleEN:t.title,descriptionDE:t.metaDescription,descriptionEN:t.metaDescription,ogImage:t.featuredImage,jsonLd:o,breadcrumbs:[{name:r?"Startseite":"Home",path:c},{name:"Blog",path:n("blog",a)},{name:t.title,path:`/${a}/blog/${l}`}]}),e.jsx(b,{items:[{name:"Home",path:c},{name:"Blog",path:n("blog",a)},{name:t.title.length>40?t.title.slice(0,40)+"â¦":t.title,path:`/${a}/blog/${l}`}]}),e.jsx("article",{className:"py-12 bg-white",children:e.jsxs("div",{className:"container-main max-w-3xl mx-auto",children:[e.jsxs("div",{className:"flex items-center gap-3 text-sm text-muted-foreground mb-6",children:[e.jsx(f,{className:"w-4 h-4"}),e.jsx("span",{children:r?"Fachartikel":"Expert Article"}),e.jsx("span",{children:"·"}),e.jsxs("span",{children:[g," min ",r?"Lesezeit":"read"]}),e.jsx("span",{children:"·"}),e.jsx("span",{children:"David J. Woods"})]}),t.featuredImage&&e.jsx("div",{className:"mb-8 border border-border",children:e.jsx("img",{src:t.featuredImage,alt:t.title,className:"w-full h-auto"})}),e.jsx("div",{className:"prose prose-lg max-w-none",children:t.content.map((s,i)=>{switch(s.tag){case"h1":return e.jsx("h1",{className:"text-3xl md:text-4xl font-light text-[#1B3A5C] mb-6 tracking-tight",children:s.text},i);case"h2":return e.jsx("h2",{className:"text-2xl font-light text-[#1B3A5C] mt-10 mb-4 tracking-tight",children:s.text},i);case"h3":return e.jsx("h3",{className:"text-xl font-light text-[#1B3A5C] mt-8 mb-3 tracking-tight",children:s.text},i);case"h4":return e.jsx("h4",{className:"text-lg font-bold text-[#1B3A5C] mt-6 mb-2",children:s.text},i);case"li":return e.jsx("li",{className:"text-foreground leading-relaxed ml-6 list-disc",children:s.text},i);default:return e.jsx("p",{className:"text-foreground leading-relaxed mb-4",children:s.text},i)}})}),e.jsxs("div",{className:"mt-12 p-6 bg-[#f4f3ef] border border-border flex gap-5 items-start",children:[e.jsx("img",{src:w,alt:"David J. Woods â Lic.Psych., Hypnotherapeut und Autor",className:"w-20 h-20 object-cover rounded-full flex-shrink-0",loading:"lazy"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-bold text-[#1B3A5C]",children:"David J. Woods"}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:["Lic.Psych. · NGH International Trainer · ",r?"Ãber 35+ Jahre Erfahrung":"Over 35+ years experience"]}),e.jsx("p",{className:"text-sm text-muted-foreground mt-2",children:r?"David J. Woods ist einer der erfahrensten Hypnosetherapeuten im deutschsprachigen Raum mit über 30.000 durchgeführten Sitzungen.":"David J. Woods is one of the most experienced hypnotherapists in the German-speaking world with over 30,000 sessions conducted."})]})]}),e.jsxs("div",{className:"mt-8 flex justify-between items-center",children:[e.jsx(d,{to:n("blog",a),children:e.jsxs(h,{variant:"outline",className:"gap-2",children:[e.jsx(N,{className:"w-4 h-4"})," ",r?"Alle Artikel":"All Articles"]})}),e.jsx(d,{to:n("contact",a),children:e.jsx(h,{className:"bg-[#c8e6c9] hover:bg-[#a5d6a7] text-[#1B3A1F] gap-2",children:r?"Kostenloses Erstgespräch":"Free Discovery Call"})})]})]})}),e.jsx("section",{className:"py-12 bg-[#f4f3ef] border-t border-border",children:e.jsxs("div",{className:"container-main",children:[e.jsx("h2",{className:"text-2xl font-light text-[#1B3A5C] mb-8 tracking-tight",children:r?"Weitere Artikel":"More Articles"}),e.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:x.filter(s=>s.slug!==t.slug).slice(0,3).map(s=>e.jsx(d,{to:`/${a}/blog/${s.slug}`,children:e.jsxs("div",{className:"bg-white border border-border p-4 hover:shadow-md transition-shadow",children:[e.jsx("h3",{className:"font-light text-[#1B3A5C] text-sm mb-2 line-clamp-2 tracking-tight",children:s.title}),e.jsx("p",{className:"text-xs text-muted-foreground line-clamp-2",children:s.metaDescription})]})},s.slug))})]})})]})}export{$ 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.