import{a as w}from"./AHiYuuv4.js";import{_ as $}from"./DNLPUXkS.js";import{_ as C}from"./VCQnWH0d.js";import{_ as N}from"./lZjBw0yj.js";import{u as B}from"./D3xwuTBm.js";import{l as S,al as V,a2 as z,E as t,P as o,L as s,N as m,H as d,Q as i,V as n,F as u,U as f,J as D,Z as E,O as P,a4 as j,u as F}from"./DEIzhR9A.js";import"./McvZN_Cb.js";import"./D0Qws29C.js";const H=["id"],L={key:0,class:"grid justify-items-start gap-8 md:grid-cols-2"},O={class:"max-w-lg"},R={class:"flex flex-row flex-wrap gap-x-8"},T={class:"max-w-lg text-sm text-gray-700"},K=S({__name:"Paragraph",props:{blok:{type:Object,required:!0}},setup(e){const b=e,{containerStyles:k}=B(b.blok),y=l=>{l&&(location.href=`mailto:${l}`)};return(l,c)=>{const x=w,h=$,r=C,_=N,v=V("editable");return z((t(),o("div",{id:e.blok.anchor_id,class:P(["prose-sm mb-[40px] flex scroll-mt-8 flex-col",{"scroll-mt-8":e.blok.anchor_id}]),style:j(F(k))},[s(x,{size:"2sm",tag:"h3",type:"loud"},{default:m(()=>[d(i(e.blok.headline),1)]),_:1}),e.blok.cta&&e.blok.cta.linktype==="email"?(t(),o("div",L,[s(h,{type:"outline","is-full-width":"",onClick:c[0]||(c[0]=a=>y(e.blok.cta.email))},{default:m(()=>[d(i(e.blok.cta.email),1)]),_:1}),n("div",O,[e.blok.body?(t(),u(r,{key:0,document:e.blok.body},null,8,["document"])):f("",!0)])])):e.blok.body?(t(),u(r,{key:1,class:"fill-current",document:e.blok.body},null,8,["document"])):f("",!0),n("div",R,[(t(!0),o(D,null,E(e.blok.images,(a,g)=>(t(),o("div",{key:`store-${g}`,class:"flex flex-row"},[s(_,{src:a.filename,alt:a.alt},null,8,["src","alt"])]))),128))]),n("div",T,i(e.blok.sub_title),1)],14,H)),[[v,e.blok]])}}});export{K as default};