Module 156652

1,264 characters · in aca7018765200529.js
Dependencies
Required by (2)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{A:()=>m,x:()=>A});var i,l=n(627968),s=n(64700),a=n(503698),r=n.n(a),o=n(397927),d=n(765671),c=n(401685),u=n(919706),h=n(499997),A=((i={})[i.TOP=0]="TOP",i[i.BOTTOM=1]="BOTTOM",i);function _(e){let{disableGradients:t=!1,renderHeader:n,renderBottomLeft:i,renderBottomCenter:a,renderBottomRight:r,renderCenter:u}=e,A=s.useRef(null),{width:_,ref:m}=(0,d.Ay)(),p=(0,c.bf)(_);return(0,l.jsx)(o.xpW,{containerRef:A,children:(0,l.jsxs)("div",{className:h._v,ref:A,children:[0!==t&&!0!==t&&(0,l.jsx)("div",{className:h.aw}),1!==t&&!0!==t&&(0,l.jsx)("div",{className:h.YA}),(0,l.jsx)("div",{className:h.K1,children:n?.()}),u?.(),(0,l.jsx)(c.Ay.Provider,{value:p,children:(0,l.jsxs)("div",{className:h.q6,ref:m,children:[(0,l.jsx)("div",{className:h.i$,children:i?.()}),(0,l.jsx)("div",{className:h.Kz,children:a?.()}),(0,l.jsx)("div",{className:h.i$,children:r?.()})]})})]})})}function m(e){let{screenMessage:t,onDoubleClick:n,onActive:i,onForceIdle:s,idle:a,children:o,renderChatToasts:d,renderVoiceChannelEffects:c,style:A,...m}=e;return(0,l.jsxs)("div",{className:r()(h.zr,{[h.N7]:a}),style:A,onMouseMove:i,onMouseDown:i,onMouseLeave:s,onDoubleClick:n,children:[o,null!=t?(0,l.jsx)(u.A,{size:"large",...t}):null,(0,l.jsx)(_,{...m}),d?.(),c?.()]})}}