import*as Root from"../root/root.js";import*as UI from"../ui/ui.js";let loadedConsoleCountersModule;async function loadConsoleCountersModule(){return loadedConsoleCountersModule||(await Root.Runtime.Runtime.instance().loadModulePromise("console_counters"),loadedConsoleCountersModule=await import("./console_counters.js")),loadedConsoleCountersModule}UI.Toolbar.registerToolbarItem({loadItem:async()=>(await loadConsoleCountersModule()).WarningErrorCounter.WarningErrorCounter.instance(),order:1,location:UI.Toolbar.ToolbarItemLocation.MAIN_TOOLBAR_RIGHT,showLabel:void 0,condition:void 0,separator:void 0,actionId:void 0});