import{_ as F,i as M,G as C,H as T,k as w,r as n,o as t,a as s,w as l,l as B,p as o,q as c,b as p,e as E,F as H,n as I,u as N,v as V}from"./main-DtyiNRRn.js";import D from"./IconTextElementFi-6z_E8Ej5.js";const L={name:"IconTextFi",components:{ComponentWrapper:M,GridContainerFi:C,IconTextElementFi:D,HeadlineFi:T},mixins:[w],props:{fields:{type:Object,default:()=>({})}}},z={class:"fi-col-start-1 fi-col-end-13 md:fi-col-start-2 md:fi-col-end-12 lg:fi-col-start-3 lg:fi-col-end-11"},G={class:"icon-text-fi__elements"},j={class:"icon-text-fi__controls"},q=["innerHTML"];function O(i,S,e,W,A,J){const k=n("headline-fi"),x=n("icon-text-element-fi"),v=n("button-fi"),b=n("grid-container-fi"),g=n("component-wrapper");return t(),s(g,{class:"icon-text-fi"},{default:l(()=>[B(b,null,{default:l(()=>{var d,f,r,_;return[o("div",z,[i.isEditMode&&e.fields.headline||(d=e.fields.headline)!=null&&d.value?(t(),s(k,{key:0,tag:"h2",class:"icon-text-fi__headline",size:30,field:e.fields.headline},null,8,["field"])):c("",!0),o("div",G,[(t(!0),p(H,null,E(e.fields.iconTextElements,(a,y)=>{var m,u,h;return t(),s(x,{key:y,icon:(m=a.fields)==null?void 0:m.icon,headline:(u=a.fields)==null?void 0:u.headline,text:(h=a.fields)==null?void 0:h.text},null,8,["icon","headline","text"])}),128))]),o("div",j,[!i.isEditMode&&((r=(f=e.fields.link)==null?void 0:f.value)!=null&&r.href)?(t(),s(v,{key:0,href:(_=e.fields.link.value)==null?void 0:_.href,class:I({"button-fi__primary fi-mt-48 sm:fi-mt-72 lg:fi-mt-96":!0,"button-fi--large":i.isMD,"button-fi--medium":!i.isMD}),"natural-events":""},{default:l(()=>[N(V(e.fields.link.value.text),1)]),_:1},8,["href","class"])):c("",!0),i.isEditMode&&e.fields.link?(t(),p("span",{key:1,class:"button-fi__primary button-fi--large fi-mt-96",innerHTML:e.fields.link.editable},null,8,q)):c("",!0)])])]}),_:1})]),_:1})}const Q=F(L,[["render",O],["__scopeId","data-v-9e2ec369"]]);export{Q as default};