(function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = factory(require, exports); if (v !== undefined) module.exports = v; } else if (typeof define === "function" && define.amd) { define(["require", "exports", "tsparticles-engine"], factory); } })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Trail = void 0; const tsparticles_engine_1 = require("tsparticles-engine"); class Trail { constructor() { this.delay = 1; this.pauseOnStop = false; this.quantity = 1; } load(data) { if (!data) { return; } if (data.delay !== undefined) { this.delay = data.delay; } if (data.quantity !== undefined) { this.quantity = data.quantity; } if (data.particles !== undefined) { this.particles = (0, tsparticles_engine_1.deepExtend)({}, data.particles); } if (data.pauseOnStop !== undefined) { this.pauseOnStop = data.pauseOnStop; } } } exports.Trail = Trail; });