Module 47868

1,124 characters · in dff926949c6c9816.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(906212);function h(e){let{className:n,iconContainerClassName:t,icon:s,title:h,description:C,userCount:p,onClick:g,highlight:E,onDismiss:f}=e,x=i.useCallback(e=>{e.stopPropagation(),f?.()},[f]);return(0,l.jsxs)(o.D,{className:a()(m.kL,n,null!=E&&{[m.U6]:E}),onClick:g,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!=p&&p>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:p})})]}):null]}),null!=f?(0,l.jsx)("div",{className:m.r,children:(0,l.jsx)(r.J,{size:"xs",onClick:x})}):(0,l.jsx)(d._,{size:"xs",color:"currentColor",className:m.OW})]})}}