Module 280483

411 characters · in 32aec2cb5b58082a.js
Dependencies
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(t,e,i){i.d(e,{A:()=>u});var s=i(582128),a=i(451988),c=i(293246),n=i(696016);let p=0,r=new a.Ep;function o(t){try{c.Ay.getMediaEngine().setClipsUIActive(t)}catch(t){n.nx.error("Failed to push clips UI active state to native:",t)}}function u(){s.useEffect(()=>(!function(){if(1===(p+=1)){if(r.isStarted())return r.stop();o(!0)}}(),()=>void(0===(p=Math.max(0,p-1))&&r.start(250,()=>{0===p&&o(!1)}))),[])}}