import{t as e}from"./jsx-runtime-B6e-FjZo.js";import{t}from"./marketing-shell-BgmMHIlN.js";import{Ar as n,Ht as r,Sr as i}from"./app-figJB8d1.js";var a=n(),o=e();function s(e){let n=(0,a.c)(19),{shell:s,brand:c,page:l}=e,{t:u}=r(),d=`${l.title} — ${c}`,f;n[0]===d?f=n[1]:(f=(0,o.jsx)(i,{title:d}),n[0]=d,n[1]=f);let p;n[2]===l.title?p=n[3]:(p=(0,o.jsx)(`h1`,{className:`text-4xl font-bold tracking-tight text-slate-950 sm:text-5xl`,children:l.title}),n[2]=l.title,n[3]=p);let m;n[4]===l.html?m=n[5]:(m=(0,o.jsx)(`div`,{className:`page-content mt-8 text-base leading-7 text-slate-900`,dangerouslySetInnerHTML:{__html:l.html}}),n[4]=l.html,n[5]=m);let h;n[6]!==l.updated_at||n[7]!==u?(h=l.updated_at&&(0,o.jsxs)(`p`,{className:`mt-12 border-t border-slate-900/10 pt-4 text-xs text-slate-500`,children:[u(`Last updated:`),` `,(0,o.jsx)(`time`,{dateTime:l.updated_at,children:new Date(l.updated_at).toLocaleDateString(void 0,{year:`numeric`,month:`long`,day:`numeric`})})]}),n[6]=l.updated_at,n[7]=u,n[8]=h):h=n[8];let g;n[9]!==p||n[10]!==m||n[11]!==h?(g=(0,o.jsxs)(`article`,{className:`mx-auto max-w-3xl px-6 pt-16 pb-20 lg:pt-20`,children:[p,m,h]}),n[9]=p,n[10]=m,n[11]=h,n[12]=g):g=n[12];let _;n[13]!==s||n[14]!==g?(_=(0,o.jsx)(t,{content:s,children:g}),n[13]=s,n[14]=g,n[15]=_):_=n[15];let v;return n[16]!==f||n[17]!==_?(v=(0,o.jsxs)(o.Fragment,{children:[f,_]}),n[16]=f,n[17]=_,n[18]=v):v=n[18],v}export{s as default};