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