import{d as m,i as r,a7 as f,o as i,c as n,b as p,a as o,n as l,t as g,H as h,I as _,s as w,f as c,e as I}from"./app.DYjcs_9P.js";import{C as v}from"./CenteredCarousel.BpxMVXBM.js";import{u as P}from"./usePropParseJson.BsMW6Nhg.js";import{I as S}from"./ImageEl.BKEiVcHK.js";import{_ as y}from"./_plugin-vue_export-helper.DlAUqK2U.js";import"./forEachObjIndexed.Ccg_b8Br.js";import"./Dots.Bm9k77x-.js";const $=["innerHTML"],j=m({__name:"PageInfo",props:{widgets:{},images:{}},setup(d){const t=d;P(t);const u=r(()=>t.widgets.details.categories&&t.widgets.details.categories.length>0?t.widgets.details.categories:[]),a=r(()=>{var e;return t.widgets.blogs?t.widgets.blogs.length>0:(((e=t.widgets.details.additionalInformation)==null?void 0:e.length)??0)>0});return f(()=>{}),(e,E)=>(i(),n("div",null,[p(v,{images:e.images,title:e.widgets.details.title},null,8,["images","title"]),o("div",{class:l(e.$style.content)},[o("div",{class:l({[e.$style.leftSection]:!0,[e.$style.fullWidth]:!a.value})},[o("h2",{class:l(e.$style.contentTitle)},g(e.widgets.details.title),3),o("div",{innerHTML:e.widgets.details.content},null,8,$),(i(!0),n(h,null,_(u.value,s=>(i(),n("div",{key:s.title},[s.imageUrlFull?(i(),I(S,{key:0,src:s.imageUrlFull,alt:s.title,class:l(e.$style.image)},null,8,["src","alt","class"])):c("",!0),o("div",null,g(s.title),1)]))),128))],2),a.value?(i(),n("div",{key:0,class:l(e.$style.rightSection)},[w(e.$slots,"right-section",{widgets:e.widgets})],2)):c("",!0)],2)]))}}),k="PageInfo__content--qpg18oij",q="PageInfo__leftSection--qpg18oij",C="PageInfo__fullWidth--qpg18oij",T="PageInfo__rightSection--qpg18oij",B="PageInfo__contentTitle--qpg18oij",M="PageInfo__image--qpg18oij",W={content:k,leftSection:q,fullWidth:C,rightSection:T,contentTitle:B,image:M},b={$style:W},D=y(j,[["__cssModules",b],["__file","PageInfo.vue"]]);export{D as default};