Module 770804

563 characters · in 30a277b9d32d70b1.js
Dependencies
Required by (1)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{c:()=>u});var i=n(735438),l=n.n(i),a=n(189081),r=n(242286),s=n(256415),o=n(636401),d=n(613057),c=n(652215);let u={[c.ZE4.OVERLAY_UPDATE]:{scope:d.hj,handler(e){let{args:{pid:t},socket:n}=e;if("number"!=typeof t||t<10)throw new o.A({errorCode:c.Lw6.INVALID_EVENT},"Invalid pid");return e=>{let{prevState:i,dispatch:o}=e,d=r.default.enabled,c=!0,u=n.application.id;if(null!=u){let e=a.A.getActiveLibraryApplication(u);null!=e&&(d=d&&e.isOverlayEnabled()),c=s.default.isLocked(t)}let A={enabled:d,locked:c};return l().isEqual(A,i)||o(A),A}}}}}