import{createTrackingEvent as n}from"./creator.js";import{AnalyticsEventType as o}from"./types.js";const r=n(o.PanelToggle),c=({operation:e,isExpanded:t,panelType:a})=>r({resource:"Redocly_Operation",action:"PanelToggled",operationId:e.id,operationPath:e.path,operationHttpVerb:e.httpVerb,operationSummary:e.name,panelType:a,state:t?"expanded":"collapsed"});export{c as createPanelToggleEvent};
