import{_ as g,A as L,i as y,G as M,I as E,r as o,o as i,a as w,w as h,l as d,p as s,b as n,q as t,F as T,e as x,v as F,u as H}from"./main-DtyiNRRn.js";const C={name:"LinkListFi",components:{ArrowIcon:L,ComponentWrapper:y,GridContainerFi:M,IconFi:E},props:{fields:{type:Object,default:()=>({})}}},B={class:"fi-col-start-1 lg:fi-col-start-2 fi-col-span-12 lg:fi-col-span-7"},N=["innerHTML"],V=["innerHTML"],I={key:0,class:"fi-col-start-1 lg:fi-col-start-2 fi-col-span-12 lg:fi-col-span-10"},A={class:"link-list-fi__list"},G=["href","target","rel"],j={class:"link-list-fi__link-span"},q={class:"link-list-fi__link-icon"},D={key:1,class:"link-list-fi__link fi-text-18"},O=["innerHTML"],S={class:"link-list-fi__link-icon"},W={key:1,class:"fi-col-start-2 fi-col-span-10 fi-mt-24 link-list-fi__xpe__no-elements"};function z(a,c,e,J,K,P){const _=o("arrow-icon"),m=o("icon-fi"),v=o("grid-container-fi"),p=o("component-wrapper");return i(),w(p,null,{default:h(()=>[d(v,null,{default:h(()=>{var f;return[s("div",B,[e.fields.subheadline&&(e.fields.subheadline.value||e.fields.subheadline.editable)?(i(),n("div",{key:0,class:"link-list-fi__subheadline",innerHTML:a.isEditMode?e.fields.subheadline.editable:e.fields.subheadline.value},null,8,N)):t("",!0),e.fields.headline&&(e.fields.headline.value||e.fields.headline.editable)?(i(),n("h3",{key:1,class:"link-list-fi__headline",innerHTML:a.isEditMode?e.fields.headline.editable:e.fields.headline.value},null,8,V)):t("",!0)]),(f=e.fields.linkListElements)!=null&&f.length?(i(),n("div",I,[s("ul",A,[(i(!0),n(T,null,x(e.fields.linkListElements,(l,b)=>{var r,u,k;return i(),n("li",{key:b},[!a.isEditMode&&((k=(u=(r=l.fields)==null?void 0:r.link)==null?void 0:u.value)!=null&&k.text)?(i(),n("a",{key:0,href:l.fields.link.value.href||l.fields.link.value.url,target:l.fields.link.value.target,rel:l.fields.link.value.url&&l.fields.link.value.target==="_blank"?"noopener noreferrer":null,class:"link-list-fi__link fi-text-24"},[s("span",j,F(l.fields.link.value.text),1),s("span",q,[d(_)])],8,G)):(i(),n("div",D,[l.fields?(i(),n("span",{key:0,class:"link-list-fi__link-span",innerHTML:l.fields.link.editable},null,8,O)):t("",!0),s("span",S,[d(_)])]))])}),128))])])):t("",!0),a.isEditMode&&!e.fields.linkListElements.length?(i(),n("div",W,[d(m,{icon:"info"}),c[0]||(c[0]=H(" no link list elements ! "))])):t("",!0)]}),_:1})]),_:1})}const R=g(C,[["render",z]]);export{R as default};