import{_ as f,I as r,H as u,k as h,aQ as v,r as o,o as t,b as i,p as l,n as x,a as c,F as d,q as a,v as k}from"./main-DtyiNRRn.js";const y={name:"IconTextElementFi",components:{IconFi:r,HeadlineFi:u},mixins:[h,v],props:{icon:{type:Object,default:()=>({})},headline:{type:Object,default:()=>({})},text:{type:Object,default:()=>({})}}},M={key:0,class:"icon-text-element-fi"},b={class:"icon-text-element-fi__container"},H=["innerHTML"],T=["innerHTML"],E=["innerHTML"],F={key:1,class:"icon-text-element-fi__text"};function L(n,g,e,I,z,B){var s;const _=o("icon-fi"),m=o("headline-fi");return n.isEditMode||e.headline.value||e.text.value?(t(),i("div",M,[l("div",b,[l("span",{class:x({"icon-text-element-fi__icon":!0,"icon-text-element-fi__icon--default":n.iconName==="check"&&!n.isEditMode})},[n.isEditMode&&n.iconModified?(t(),i("span",{key:0,class:"icon-text-element-fi__icon-svg",innerHTML:n.iconModified.editable},null,8,H)):(t(),c(_,{key:1,class:"icon-text-element-fi__icon-svg",icon:n.iconName,size:n.isSM?"2":"1"},null,8,["icon","size"]))],2),n.isEditMode?(t(),i(d,{key:0},[e.headline?(t(),i("div",{key:0,class:"icon-text-element-fi__headline sm:fi-mb-6",innerHTML:e.headline.editable},null,8,T)):a("",!0),e.text?(t(),i("div",{key:1,class:"icon-text-element-fi__text",innerHTML:e.text.editable},null,8,E)):a("",!0)],64)):(t(),i(d,{key:1},[(s=e.headline)!=null&&s.value?(t(),c(m,{key:0,class:"icon-text-element-fi__headline sm:fi-mb-6",tag:"div",size:24,field:e.headline},null,8,["field"])):a("",!0),e.text.value?(t(),i("div",F,k(e.text.value),1)):a("",!0)],64))])])):a("",!0)}const j=f(y,[["render",L],["__scopeId","data-v-21b83f28"]]);export{j as default};