"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PathIn = void 0; const utils_1 = require("./utils"); /** * Transform mark from transparent to solid. */ const PathIn = (options) => { return (from, to, value, coordinate, defaults) => { var _a, _b; const [shape] = from; const length = ((_b = (_a = shape).getTotalLength) === null || _b === void 0 ? void 0 : _b.call(_a)) || 0; const keyframes = [ { lineDash: [0, length] }, { lineDash: [length, 0] }, ]; return shape.animate(keyframes, (0, utils_1.effectTiming)(defaults, value, options)); }; }; exports.PathIn = PathIn; exports.PathIn.props = {}; //# sourceMappingURL=pathIn.js.map