import{o as e,c as s,a as r,d as a,u as l,h as b,_ as d,k as g,t as o,F as h}from"./app-D4Dqsdnh.js";const _={key:0,class:""},k={class:"h-60 lg:h-[31.25rem]"},x=["src"],y={key:1,class:"back grid items-center max-w-[81.625rem] h-10 mx-auto bg-bpi-gray lg:h-11"},f={class:"container"},B={__name:"PageHeader",props:{attributes:Object},setup(t){const u=t;let i=()=>{window.history.back()};return(c,n)=>(e(),s(h,null,[t.attributes.hero_image?(e(),s("section",_,[r("figure",k,[t.attributes.hero_image?(e(),s("img",{key:0,src:t.attributes.hero_image,class:"object-cover object-center w-full h-full",alt:"",loading:"lazy"},null,8,x)):a("",!0)])])):a("",!0),t.attributes.hero_image?(e(),s("section",y,[r("div",f,[r("a",{nohref:"",onClick:n[0]||(n[0]=(...m)=>l(i)&&l(i)(...m)),class:"ml-4 text-lg cursor-pointer btn btn-link"},[b(d,{class:"rotate-180 text-bpi-yellow lg:scale-75"}),g(" "+o(c.$t("back")),1)])])])):a("",!0)],64))}},$={class:"container mt-10 lg:mt-20"},p={class:"grid grid-cols-[1fr_auto] gap-4"},w={key:0,class:"text-[2rem] lg:text-[3.125rem]"},j={key:1,class:"mb-2 text-[1.125rem] lg:text-[1.5rem]"},v=r("hr",{class:"my-5 w-[6.25rem] border-t-[5px] border-gray rounded-r-[5px] lg:my-8"},null,-1),N=["innerHTML"],H={__name:"Prolog",props:{attributes:Object},setup(t){const u=t;return(i,c)=>(e(),s("section",$,[r("div",p,[t.attributes.title?(e(),s("h1",w,o(t.attributes.title),1)):a("",!0),t.attributes.author?(e(),s("p",j,o(t.attributes.author)+" | "+o(t.attributes.updated_at),1)):a("",!0)]),v,t.attributes.intro?(e(),s("div",{key:0,innerHTML:t.attributes.intro,class:"prose mb-2 font-semibold lg:prose-2xl lg:mb-8 lg:leading-tight"},null,8,N)):a("",!0)]))}};export{B as _,H as a};