window.__REACT_DEVTOOLS_SHOW_INLINE_WARNINGS_AND_ERRORS__ !== false;
        
        
        
        
        
        
        
        if (appendComponentStack || breakOnConsoleErrors) {
          registerRendererWithConsole(renderer);
          patchConsole({
            appendComponentStack,
            breakOnConsoleErrors,
            showInlineWarningsAndErrors,
          });
        }
      } catch (error) {}
    }
    
    
    const attach = target.__REACT_DEVTOOLS_ATTACH__;
    if (typeof attach === 'function') {
      const rendererInterface = attach(hook, id, renderer, target);
      hook.rendererInterfaces.set(id, rendererInterface);
    }
    hook.emit('renderer', {id, renderer, reactBuildType});
    return id;
  }
  let hasDetectedBadDCE = false;
  function sub(event, fn) {