import"./chunk-QTnfLwEv.js";import{i as e,o as t,r as n,t as r}from"./jsx-runtime-DHSfUA5-.js";import{t as i}from"./useAttachmentThumbUrl-D6z1SOlU.js";t();var a=r();function o({name:t,className:r,textClassName:i}){let o=t.trim().slice(0,1).toUpperCase()||`?`;return(0,a.jsx)(`span`,{className:n(e.NotebookCover.Initial,r,i),"aria-hidden":`true`,children:o})}function s({attachment:t,className:r}){let o=i(t,{role:`avatar`});return o?(0,a.jsx)(`img`,{className:n(e.NotebookCover.ThumbImage,r),src:o,alt:``}):(0,a.jsx)(`span`,{className:n(e.NotebookCover.Thumb,r),"aria-hidden":`true`})}export{o as n,s as t};
//# sourceMappingURL=CoverThumb-BNESRCXk.js.map