import{_ as y,o as t,c as i,a as n,F as f,x as k,b as p,l as m,t as _,s as b,q as C,p as v,r as x,b8 as g,R as h,k as B}from"./D-M-66OV.js";const $={props:{contacts:{type:Array,required:!0}}},E={class:"company-key-contact-wrapper"},F={class:"details"},I={class:"name"};function N(a,s,o,r,c,d){const l=x,u=g;return t(),i("div",E,[n("div",{class:"company-key-contact",style:v({fontFamily:a.$ss.primaryFontFamily})},[(t(!0),i(f,null,k(o.contacts,e=>(t(),i("div",{key:e.id,class:"contact"},[e.primaryImage?(t(),p(l,{key:0,src:e.primaryImage.src.split("?")[0]+"?w=100&facepad=2&fit=facearea&h=100&mask=ellipse"},null,8,["src"])):m("",!0),n("div",F,[n("h3",I,_(e.fullName),1),n("div",null,_(e.title),1),e.publicEmail?(t(),p(u,{key:0,type:"link",class:"email",link:"mailto:"+e.publicEmail},{default:b(()=>s[0]||(s[0]=[C(" Email ")])),_:2},1032,["link"])):m("",!0)])]))),128))],4)])}const q=y($,[["render",N],["__scopeId","data-v-6d630b23"]]),K={__name:"CompanyKeyContactBlock",props:{data:{type:Object,required:!0,validator(a){return["publicContacts"].every(s=>s in a)}}},setup(a){var r;const o=h((r=a.data.publicContacts.edges)==null?void 0:r.map(({node:c})=>c));return(c,d)=>{const l=q;return t(),p(l,{contacts:B(o)},null,8,["contacts"])}}};export{K as default};