1import{f as w,j as e,g as m,i as u}from"./main-Bo0oayNO.js";import"./country-visa-Cppajoww.js";import{P as i,C as y}from"./PageLayout-BjI6KKxV.js";import{B as C}from"./BlogLayout-Zr1of7og.js";import{P as h,C as p}from"./ContentWithWidgets-CvXlHN3w.js";import{p as P}from"./utils-_EDrtQdd.js";import{P as k}from"./PuckRenderer-D0XjDRCm.js";import{b as v,t as L}from"./professional-navy-BCkGFNz5.js";import"./Header-Ba4WgGVg.js";import"./HomepageSections-4WnTbsUT.js";import"./ui-utils-CNoARbDA.js";import"./ContactForm-BhbxkAyh.js";import"./PostCard-DUwjTgtE.js";import"./index-BY97ucj0.js";function G(){const{page:t,siteTitle:o,allCategories:f,allTags:g,defaultLayout:x,widgetData:n}=w.useLoaderData(),l=t.layout||"default",s=l==="default"?x:l,a=t.template==="no-hero",r=["prepare-for-your-consultation"].includes(t.slug)?{hideCta:!0,headerProps:{ctaText:"",ctaLink:""}}:{};if(s==="full-bleed")return e.jsx(i,{siteTitle:o,showHero:!a,...r,children:e.jsx(h,{value:n,children:e.jsx(p,{html:m(u(t.content||""))})})});const d=P(t.content);if(d){const b=v(L);return e.jsx(i,{siteTitle:o,showHero:!a,...r,children:e.jsx(k,{config:b,data:d})})}const j=s!=="full-width",c=e.jsxs("article",{className:"bg-background rounded-theme shadow-xs border border-border overflow-hidden",children:[t.featuredImage&&e.jsx("img",{src:t.featuredImage,alt:t.title,loading:"lazy",className:"w-full h-64 md:h-96 object-cover"}),e.jsxs("div",{className:"p-8",children:[e.jsx("header",{className:"mb-8",children:e.jsx("h1",{className:"text-4xl font-bold text-foreground font-heading",children:t.title})}),e.jsx(h,{value:n,children:e.jsx(p,{className:"prose prose-lg max-w-none dark:prose-invert",html:m(u(t.content||""))})})]})]});return j?e.jsx(C,{siteTitle:o,layout:s,allCategories:f,allTags:g,showHero:!a,...r,children:c}):e.jsx(i,{siteTitle:o,showHero:!a,...r,children:e.jsx(y,{className:"py-12",children:c})})}export{G 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.