Module 959

1,378 characters · in no known chunk
Dependencies
Required by (2)
Lazily required by (0)none
Lazily requires (1)
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>h});var i=n(477900),r=n(17928),a=n(364522),s=n(86182),l=n(922016),o=n(442433),d=n(538451),c=n(342296),u=n(363195),_=n(562153),E=n(239662);function A(e){let{participants:t,channel:r}=e;return(0,i.jsx)(a.Ip,{className:E.S,children:t.map(e=>(0,i.jsx)(d.A,{user:e,guildId:r?.guild_id,channelId:r?.id,nick:_.Ay.getNickname(r?.guild_id,r?.id,e),onContextMenu:t=>{(0,o.L3)(t,async()=>{let{default:t}=await Promise.all([n.e("97422"),n.e("97705"),n.e("26132"),n.e("46652"),n.e("93190"),n.e("34552"),n.e("8757"),n.e("85968"),n.e("89673"),n.e("68403"),n.e("29787"),n.e("82073"),n.e("97558"),n.e("91994"),n.e("76665"),n.e("76273"),n.e("24198"),n.e("56753"),n.e("14461"),n.e("72883"),n.e("25486"),n.e("42204"),n.e("49644"),n.e("42191"),n.e("32418")]).then(n.bind(n,668569));return n=>(0,i.jsx)(t,{...n,user:e})})}},e.id))})}function h(e){let{children:t,participants:n,channel:a,onPopoutClosed:o,targetElementRef:d}=e,_=(0,r.bG)([u.A],()=>u.A.theme),E=1===n.length?n[0]:null;return null!=E?(0,i.jsx)(s.w,{theme:_,children:(0,i.jsx)(c.A,{targetElementRef:d,user:E,guildId:a?.guild_id,channelId:a?.id,onClosePopout:o,children:t})}):(0,i.jsx)(s.w,{theme:_,children:(0,i.jsx)(l.Y,{targetElementRef:d,renderPopout:()=>{if(null!=n)return(0,i.jsx)(A,{participants:n,channel:a});throw Error("One of participant or participants is required")},children:t})})}}