import { Analytics } from "../../../utils";
export var onCodeCopy = function (category, action) {
    Analytics.trackEvent({
        category: category,
        action: action,
    });
};
export var generatedHighlightedLines = function (lineNumbers) {
    var highlightedDecorator = { color: "teal" };
    var highlights = lineNumbers.reduce(function (acc, number) {
        acc[number] = highlightedDecorator;
        return acc;
    }, {});
    return highlights;
};
