Module 409463

718 characters · in 8bc28a2da3944aab.js
Dependencies
Required by (1)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{A:()=>c}),n(321073);var i=n(627968),s=n(64700),l=n(280513),r=n(397927),a=n(837011),o=n(90084),d=n(975571),h=n(652215),u=n(985018);function c(e){let{guildId:t,channelType:n,className:c}=e,{guildProfile:g,fetchGuildProfile:p,fetchStatus:m}=(0,o.u)(t),A=m!==a.X.FETCHED,C=null!=g&&l.i.VISIBLE.has(g.visibility);s.useEffect(()=>{p()},[t,p]);let E=[];if(n===h.rbe.GUILD_ANNOUNCEMENT&&(E.push(u.intl.format(u.t.tI7KNX,{documentationLink:d.A.getArticleURL(h.MVz.ANNOUNCEMENT_CHANNELS)})),!A&&!C)){let e=u.intl.string(u.t["2Ab4Id"]);E.push(e)}return 0===E.length?null:(0,i.jsx)(i.Fragment,{children:E.map((e,t)=>(0,i.jsx)(r.Text,{className:c,variant:"text-sm/normal",children:e},`description-${t}`))})}}