Loading
function(e,n,t){var s=t(477900),i=t(582128),l=t(503698),a=t.n(l),r=t(317097),o=t(36075),c=t(939249),d=t(232042),u=t(209599);t.d(n,{},{A:function(e){let{ref:n,children:t,className:l,color:m,roleColors:h,iconType:x,onMouseEnter:g,onMouseLeave:j,...p}=e,[b,N]=i.useState(!1),{gradientStyle:I,gradientClassname:f}=(0,o.v5)({colorStrings:h??null,roleStyle:"username",animateGradient:b}),v=i.useCallback(e=>{N(!0),g?.(e)},[N,g]),C=i.useCallback(e=>{N(!1),j?.(e)},[N,j]),A={};return null!=m&&(A={color:(0,r.Hl)(m),backgroundColor:b?(0,r.gq)(m,.3):(0,r.gq)(m,.1)}),(0,s.jsx)(c.D,{...p,innerRef:n,tag:"span",className:a()(l,{[u.i]:!0,interactive:p.onClick}),onMouseEnter:v,onMouseLeave:C,style:A,tabIndex:null!=p.onClick?0:-1,children:null!=x?(0,s.jsx)(d.A,{iconType:x,children:t}):null!=h?(0,s.jsx)("span",{style:{...I},className:f,children:t}):t})}})}