Module 286710

736 characters · in 3fbd72f0da4e010f.js
Dependencies
Required by (2)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{A:()=>p});var i=n(627968);n(64700);var r=n(17928),l=n(192308),a=n(477782),d=n(742023),s=n(401843),u=n(616356),o=n(495544),A=n(513963),c=n(951829),f=n(375708);function p(e,t){let n,p,[b,h,m]=(n=(0,r.bG)([o.default],()=>o.default.getId()),p=(0,r.bG)([u.A],()=>{let t=u.A.getCurrentUserActiveStream();return null!=t&&t.channelId===e},[e]),[(null==t||t===n)&&p,(0,r.bG)([u.A],()=>u.A.isSelfStreamHidden(e),[e]),t=>{(0,s.Ho)(e,t)}]),S=(0,r.bG)([d.Ay],()=>d.Ay.disableHideSelfStreamAndVideoConfirmationAlert);return b?(0,i.jsx)(a.sL,{id:"self-stream-hide",label:f.intl.string(f.t.aol7iW),checked:!h,action:()=>{if(S||h)return m(!h);(0,l.openModal)(e=>(0,i.jsx)(A.A,{...e,type:c.f.STREAM,onConfirm:()=>m(!h)}))}}):null}}