"use client"
import{q as a}from"./chunk-D2UYR6SE.mjs";import{jsx as n}from"react/jsx-runtime";function l({user:e={},className:r}){return e?n("img",{alt:`Avatar for ${e.name||e.email}`,referrerPolicy:"no-referrer",src:e.image||`https://api.dicebear.com/7.x/micah/svg?seed=${e.id||e.email}`,className:a("h-10 w-10 rounded-full border border-gray-300",r),draggable:!1}):n("div",{className:a("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",r)})}function d({id:e,className:r}){return n("img",{src:`https://api.dicebear.com/9.x/shapes/svg?seed=${e}`,alt:"avatar",className:a("h-10 w-10 rounded-full",r),draggable:!1})}export{l as a,d as b};
