"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCodeSampleCopyEvent=void 0;const creator_1=require("./creator"),types_1=require("./types"),codeSampleCopyEvent=(0,creator_1.createTrackingEvent)(types_1.AnalyticsEventType.CodeSampleCopied),createCodeSampleCopyEvent=({operation:e,type:t,lang:a="",label:o="",activeMimeName:p,activeExampleName:r})=>codeSampleCopyEvent({resource:"Redocly_CodeSample",action:"CodeSampleCopied",operationId:e.id,operationPath:e.path,operationHttpVerb:e.httpVerb,operationSummary:e.name,exampleId:r,exampleMimeType:p,label:o,lang:a,type:t});exports.createCodeSampleCopyEvent=createCodeSampleCopyEvent;
//# sourceMappingURL=codeSampleCopy.js.map