import{ls as o}from"../platform/platform.js";import{Runtime as e}from"../root/root.js";import{ViewManager as n}from"../ui/ui.js";let i;async function t(){return i||(await e.Runtime.instance().loadModulePromise("console"),i=await import("./console.js")),i}n.registerViewExtension({location:"panel",id:"console",title:()=>o`Console`,commandPrompt:"Show Console",order:20,loadView:async()=>(await t()).ConsolePanel.ConsolePanel.instance()}),n.registerViewExtension({location:"drawer-view",id:"console-view",title:()=>o`Console`,commandPrompt:"Show Console",persistence:"permanent",order:0,loadView:async()=>(await t()).ConsolePanel.WrapperView.instance()});
