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