Module 47868

1,124 characters · in fc2f7e69e7c947a9.js
Dependencies
Required by (2)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,n,t){t.d(n,{A:()=>h});var l=t(477900),i=t(582128),s=t(503698),a=t.n(s),r=t(815021),o=t(939249),c=t(297264),u=t(834730),d=t(320448),A=t(375708),m=t(898491);function h(e){let{className:n,iconContainerClassName:t,icon:s,title:h,description:C,userCount:E,onClick:p,highlight:g,onDismiss:x}=e,f=i.useCallback(e=>{e.stopPropagation(),x?.()},[x]);return(0,l.jsxs)(o.D,{className:a()(m.kL,n,null!=g&&{[m.U6]:g}),onClick:p,children:[(0,l.jsx)("div",{className:a()(m.Kk,t),children:s}),(0,l.jsxs)("div",{className:m.FS,children:[(0,l.jsx)(c.D,{variant:"heading-md/semibold",color:"text-strong",children:h}),(0,l.jsx)(u.E,{variant:"text-xs/normal",color:"text-strong",className:m.mG,children:C}),null!=E&&E>0?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u.E,{variant:"text-xs/normal",color:"text-strong",className:m.Om,children:"\u2022"}),(0,l.jsx)(u.E,{variant:"text-xs/normal",color:"text-strong",className:m.mG,children:A.intl.format(A.t.NywdIj,{count:E})})]}):null]}),null!=x?(0,l.jsx)("div",{className:m.r,children:(0,l.jsx)(r.J,{size:"xs",onClick:f})}):(0,l.jsx)(d._,{size:"xs",color:"currentColor",className:m.OW})]})}}