import*as SDK from"../sdk/sdk.js";import{CategorizedBreakpointsSidebarPane}from"./CategorizedBreakpointsSidebarPane.js";let eventListenerBreakpointsSidebarPaneInstance;export class EventListenerBreakpointsSidebarPane extends CategorizedBreakpointsSidebarPane{constructor(){const e=SDK.DOMDebuggerModel.DOMDebuggerManager.instance().eventListenerBreakpoints().map((e=>e.category()));e.sort();super(e,SDK.DOMDebuggerModel.DOMDebuggerManager.instance().eventListenerBreakpoints(),"sources.eventListenerBreakpoints",Protocol.Debugger.PausedEventReason.EventListener)}static instance(){return eventListenerBreakpointsSidebarPaneInstance||(eventListenerBreakpointsSidebarPaneInstance=new EventListenerBreakpointsSidebarPane),eventListenerBreakpointsSidebarPaneInstance}_getBreakpointFromPausedDetails(e){return SDK.DOMDebuggerModel.DOMDebuggerManager.instance().resolveEventListenerBreakpoint(e.auxData)}}