{"version":3,"file":"ProfileCard.cjs","sources":["../../../../../src/components/ui/cards/ProfileCard.tsx"],"sourcesContent":["import React from \"react\";\nimport { ProfileCardPropsType } from \"@/types/card\";\nimport CardComponent from \"./Card\";\n\n/**\n * Profile Card - For displaying user information\n */\nconst ProfileCard = ({\n  imageUrl,\n  name,\n  role,\n  bio,\n  socialLinks,\n  children,\n  ...cardProps\n}: ProfileCardPropsType) => {\n  return (\n    <CardComponent {...cardProps} title={null}>\n      <div className=\"ihub-profile-card\">\n        <img src={imageUrl} alt={name} className=\"ihub-profile-image\" />\n        <h4>{name}</h4>\n        {role && <p className=\"tw-500\">{role}</p>}\n        {bio && <p>{bio}</p>}\n        {children}\n\n        {socialLinks && socialLinks.length > 0 && (\n          <div className=\"ihub-profile-social\">\n            {socialLinks.map((link, index) => (\n              <a\n                key={index}\n                href={link.url}\n                target=\"_blank\"\n                rel=\"noopener noreferrer\"\n                aria-label={link.label}\n              >\n                {link.icon}\n              </a>\n            ))}\n          </div>\n        )}\n      </div>\n    </CardComponent>\n  );\n};\n\nexport default ProfileCard;\n"],"names":["_ref","imageUrl","name","role","bio","socialLinks","children","cardProps","_objectWithoutProperties","objectWithoutProperties","_excluded","_jsx","CardComponent","_objectSpread","objectSpread2","title","_jsxs","jsxs","className","jsx","src","alt","length","map","link","index","href","url","target","rel","label","icon"],"mappings":"2QAOoB,SAAHA,GAQU,IAPzBC,EAAQD,EAARC,SACAC,EAAIF,EAAJE,KACAC,EAAIH,EAAJG,KACAC,EAAGJ,EAAHI,IACAC,EAAWL,EAAXK,YACAC,EAAQN,EAARM,SACGC,EAASC,EAAAC,wBAAAT,EAAAU,GAEZ,OACEC,EAAAA,IAACC,EAAAA,QAAaC,EAAAC,cAAAD,EAAAC,iBAAKP,GAAS,GAAA,CAAEQ,MAAO,KAAIT,SACvCU,EAAKC,KAAA,MAAA,CAAAC,UAAU,oBAAmBZ,SAAA,CAChCK,EAAKQ,IAAA,MAAA,CAAAC,IAAKnB,EAAUoB,IAAKnB,EAAMgB,UAAU,uBACzCP,EAAKQ,IAAA,KAAA,CAAAb,SAAAJ,IACJC,GAAQQ,EAAAQ,IAAA,IAAA,CAAGD,UAAU,SAAQZ,SAAEH,IAC/BC,GAAOO,EAAIQ,IAAA,IAAA,CAAAb,SAAAF,IACXE,EAEAD,GAAeA,EAAYiB,OAAS,GACnCX,EAAAQ,IAAA,MAAA,CAAKD,UAAU,sBACZZ,SAAAD,EAAYkB,IAAI,SAACC,EAAMC,GAAK,OAC3Bd,EAAAA,IAAA,IAAA,CAEEe,KAAMF,EAAKG,IACXC,OAAO,SACPC,IAAI,sBAAqB,aACbL,EAAKM,MAAKxB,SAErBkB,EAAKO,MANDN,YAcrB"}