"use client"
import{i as r}from"./chunk-GLZ42MLM.mjs";import{jsx as a}from"react/jsx-runtime";function d({user:e={},className:n}){return e?a("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:r("h-10 w-10 rounded-full border border-gray-300",n),draggable:!1}):a("div",{className:r("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",n)})}function l({id:e}){return a("img",{src:`https://api.dicebear.com/7.x/shapes/svg?seed=${e}`,alt:"avatar",className:"h-10 w-10 rounded-full",draggable:!1})}export{d as a,l as b};
