import{r as e,h as s,H as t}from"./p-ec7718e6.js";import"./p-d66fb38c.js";import{A as r}from"./p-67db8424.js";const d=class{constructor(s){e(this,s)}render(){const{field:e}=this;if(e.sourceType===r.RawUrl)return s(t,null,s("dvn-image",{leaned:!0,bordered:!0,src:this.value}));let d=[];return e.sourceType===r.AttachmentObject?d=[this.value]:e.sourceType===r.AttachmentObjects&&(d=this.value),s(t,null,d.map((e=>s("dvn-image",{leaned:!0,bordered:!0,src:e.url,scale:"small"}))))}};d.style=".sc-dvn-field-display-attachment-h{display:block;padding:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}";export{d as dvn_field_display_attachment}