Build 533169stable
Module 959
1,090 characters · in no known chunkDependencies
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(627968),i=n(311907),s=n(397927),a=n(442433),o=n(538451),l=n(342296),u=n(544028),c=n(562153),d=n(450422);function _(e){let{participants:t,channel:i}=e;return(0,r.jsx)(s.HOs,{className:d.S,children:t.map(e=>(0,r.jsx)(o.A,{user:e,guildId:i?.guild_id,channelId:i?.id,nick:c.Ay.getNickname(i?.guild_id,i?.id,e),onContextMenu:t=>{(0,a.L3)(t,async()=>{let{default:t}=await Promise.all([n.e("97262"),n.e("3795"),n.e("32418"),n.e("69305")]).then(n.bind(n,668569));return n=>(0,r.jsx)(t,{...n,user:e})})}},e.id))})}function f(e){let{children:t,participants:n,channel:a,onPopoutClosed:o,targetElementRef:c}=e,d=(0,i.bG)([u.A],()=>u.A.theme),f=1===n.length?n[0]:null;return null!=f?(0,r.jsx)(s.wXn,{theme:d,children:(0,r.jsx)(l.A,{targetElementRef:c,user:f,guildId:a?.guild_id,channelId:a?.id,onClosePopout:o,children:t})}):(0,r.jsx)(s.wXn,{theme:d,children:(0,r.jsx)(s.YNO,{targetElementRef:c,renderPopout:()=>{if(null!=n)return(0,r.jsx)(_,{participants:n,channel:a});throw Error("One of participant or participants is required")},children:t})})}}