import{_ as w,c as h,E as a,s as y}from"./app.js";import{E as V}from"./EditorSwiper.js";import"./swiper.js";const k={name:"SoylentTeamList",components:{EditorSwiper:V,CmmsResponsiveImage:h,ElementHeader:a},props:["element"],computed:{elementHeader:function(){return y.getByName("elementHeader",a)}}},v=window.Vue.resolveDynamicComponent,n=window.Vue.openBlock,s=window.Vue.createBlock,i=window.Vue.createCommentVNode,f=window.Vue.renderList,g=window.Vue.Fragment,r=window.Vue.createElementBlock,m=window.Vue.resolveComponent,o=window.Vue.createElementVNode,l=window.Vue.toDisplayString,C=window.Vue.withCtx,E=window.Vue.normalizeClass,B={key:1,class:"persons-container"},S={class:"persons-wrapper"},N={class:"thumb"},L={class:"meta"},x={class:"function",itemprop:"jobTitle"},D={class:"name",itemprop:"name"};function H(c,I,e,b,P,d){const _=m("CmmsResponsiveImage"),u=m("router-link"),p=m("EditorSwiper");return e.element.data.items.length>0?(n(),r("div",{key:0,class:E(["element",e.element.type,e.element.subtype])},[e.element.data.headline?(n(),s(v(d.elementHeader),{key:0,headline:e.element.data.headline},null,8,["headline"])):i("",!0),e.element.data.slider!==1?(n(),r("div",B,[o("div",S,[(n(!0),r(g,null,f(e.element.data.items,t=>(n(),s(u,{key:t.post_id,class:"person",itemscope:"",itemtype:"http://schema.org/Person",href:t.url,to:c.$routerLink(t.url)},{default:C(()=>[o("div",N,[t.image?(n(),s(_,{key:0,fill:!0,image:t.image},null,8,["image"])):i("",!0)]),o("div",L,[o("div",x,l(t.function),1),o("div",D,l(t.name),1)])]),_:2},1032,["href","to"]))),128))])])):(n(),s(p,{key:2,className:["swiper"],items:e.element.data.items,"item-type":"SwiperItemPerson"},null,8,["items"]))],2)):i("",!0)}const F=w(k,[["render",H]]);export{F as default};