Liferay.Loader.define("@liferay/comment-taglib@4.0.29/discussion/js/components/UserIcon",["module","exports","require","@frontend-taglib-clay$clayui/icon","@frontend-taglib-clay$clayui/sticker","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=s(t("@frontend-taglib-clay$clayui/icon")),l=s(t("@frontend-taglib-clay$clayui/sticker")),c=s(t("liferay!frontend-js-react-web$classnames")),n=(s(t("liferay!frontend-js-react-web$prop-types")),s(t("liferay!frontend-js-react-web$react")));function s(e){return e&&e.__esModule?e:{default:e}}var i=({fullName:e="",portraitURL:a="",size:t="lg",userId:s})=>{const i=parseInt(s,10)%10;return n.default.createElement(l.default,{className:(0,c.default)("sticker-use-icon",{["user-icon-color-".concat(i)]:!a}),displayType:"secondary",shape:"circle",size:t},a?n.default.createElement("div",{className:"sticker-overlay"},n.default.createElement("img",{alt:"".concat(e,"."),className:"sticker-img",src:a})):n.default.createElement(r.default,{symbol:"user"}))};a.default=i}}));
//# sourceMappingURL=UserIcon.js.map