import{ls as e}from"../platform/platform.js";import{Runtime as t}from"../root/root.js";import{ViewManager as i}from"../ui/ui.js";let o;async function n(){return o||(await t.Runtime.instance().loadModulePromise("browser_debugger"),o=await import("./browser_debugger.js")),o}i.registerViewExtension({loadView:async()=>(await n()).EventListenerBreakpointsSidebarPane.EventListenerBreakpointsSidebarPane.instance(),id:"sources.eventListenerBreakpoints",location:"sources.sidebar-bottom",commandPrompt:"Show Elements",title:()=>e`Event Listener Breakpoints`,order:9,persistence:"permanent"}),i.registerViewExtension({loadView:async()=>(await n()).CSPViolationBreakpointsSidebarPane.CSPViolationBreakpointsSidebarPane.instance(),id:"sources.cspViolationBreakpoints",location:"sources.sidebar-bottom",commandPrompt:"Show CSP Violation Breakpoints",title:()=>e`CSP Violation Breakpoints`,order:10,persistence:"permanent"}),i.registerViewExtension({loadView:async()=>(await n()).XHRBreakpointsSidebarPane.XHRBreakpointsSidebarPane.instance(),id:"sources.xhrBreakpoints",location:"sources.sidebar-bottom",commandPrompt:"Show XHR/fetch Breakpoints",title:()=>e`XHR/fetch Breakpoints`,order:5,persistence:"permanent",hasToolbar:!0}),i.registerViewExtension({loadView:async()=>(await n()).DOMBreakpointsSidebarPane.DOMBreakpointsSidebarPane.instance(),id:"sources.domBreakpoints",location:"sources.sidebar-bottom",commandPrompt:"Show DOM Breakpoints",title:()=>e`DOM Breakpoints`,order:7,persistence:"permanent"}),i.registerViewExtension({loadView:async()=>(await n()).ObjectEventListenersSidebarPane.ObjectEventListenersSidebarPane.instance(),id:"sources.globalListeners",location:"sources.sidebar-bottom",commandPrompt:"Show Global Listeners",title:()=>e`Global Listeners`,order:8,persistence:"permanent",hasToolbar:!0}),i.registerViewExtension({loadView:async()=>(await n()).DOMBreakpointsSidebarPane.DOMBreakpointsSidebarPane.instance(),id:"elements.domBreakpoints",location:"elements-sidebar",commandPrompt:"Show DOM Breakpoints",title:()=>e`DOM Breakpoints`,order:6,persistence:"permanent"});
