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