import{u as n,j as e,H as i,a6 as m}from"./vendor-laZsiqLO.js";import{G as d}from"./GuestLayout-Bncnlxxo.js";import{u as l}from"./useTranslation-BW0o-tkY.js";import"./SiteLogo-DML5Oulk.js";import"./button-B8f8jW4H.js";import"./utils-RgT4yCq8.js";import"./dropdown-menu-CpMN0BZ0.js";import"./input-CT5MkJwj.js";import"./sheet-Cp4V1hdh.js";import"./useFlashMessages-CQoLOBuv.js";import"./AdSlot-HY9FvbmL.js";import"./RightSidebarFooter-BO77c1r9.js";import"./avatar-1RNhlzAH.js";function p({page:r}){const{t:o}=l(),{locale:s}=n().props,a=t=>{try{return new Intl.DateTimeFormat(s.replace("_","-"),{year:"numeric",month:"long",day:"numeric"}).format(new Date(t))}catch{return new Date(t).toLocaleDateString()}};return e.jsxs(e.Fragment,{children:[e.jsx(i,{title:r.title}),e.jsx("div",{className:"bg-background min-h-screen pb-20",children:e.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 py-12 max-w-4xl",children:[e.jsxs("header",{className:"mb-10 border-b border-border pb-8",children:[e.jsx("h1",{className:"text-3xl md:text-5xl font-extrabold tracking-tight text-foreground mb-4",children:r.title}),e.jsxs("div",{className:"text-sm text-muted-foreground",children:[o("_last_updated","Last Updated"),": ",a(r.updated_at)]})]}),e.jsx("article",{className:`prose prose-lg dark:prose-invert max-w-none \r
                        prose-headings:font-bold prose-headings:text-foreground\r
                        prose-p:text-muted-foreground prose-p:leading-relaxed\r
                        prose-a:text-primary hover:prose-a:underline\r
                        prose-img:rounded-xl prose-img:shadow-sm\r
                        prose-strong:text-foreground\r
                        prose-ul:list-disc prose-ol:list-decimal`,children:m(r.content||"")})]})})]})}p.layout=r=>e.jsx(d,{children:r});export{p as default};
