import{createTrackingEvent as m}from"./creator.js";import{AnalyticsEventType as n}from"./types.js";const d=m(n.CodeSampleCopied),l=({operation:e,type:o,lang:t="",label:p="",activeMimeName:a,activeExampleName:r})=>d({resource:"Redocly_CodeSample",action:"CodeSampleCopied",operationId:e.id,operationPath:e.path,operationHttpVerb:e.httpVerb,operationSummary:e.name,exampleId:r,exampleMimeType:a,label:p,lang:t,type:o});export{l as createCodeSampleCopyEvent};
