import{r as e,h as r,H as l}from"./p-a0569a5f.js";let i=class{constructor(r){e(this,r)}render(){const{field:e}=this;return r(l,null,(this.value||[]).map((l=>{var i;const t=l[e.nameOfOtherCollectionInRelationCollection],s=e.imageField?t[e.imageField]:void 0,a=e.titleField?null===(i=t[e.titleField])||void 0===i?void 0:i.split(" ").map((e=>e[0])).join(""):void 0;return r("abbr",{title:t[e.titleField]},r("dvn-image",{bordered:!0,leanedVertically:!0,src:s,text:a}))})))}};i.style=".sc-dvn-field-display-relation-reference-h{display:-ms-flexbox;display:flex;overflow:auto}";export{i as dvn_field_display_relation_reference}