"use strict";(globalThis.webpackChunk_tsparticles_wordpress=globalThis.webpackChunk_tsparticles_wordpress||[]).push([[6171],{6171(l,i,a){a.d(i,{loadTrailPlugin:()=>r});var e=a(3199);class n{color;image;load(l){(0,e.kZJ)(l)||(void 0!==l.color&&(this.color=e.Oit.create(this.color,l.color)),(0,e.kBH)(this,"image",l.image))}}class t{enable=!1;fill=new n;length=10;load(l){(0,e.kZJ)(l)||((0,e.kBH)(this,"enable",l.enable),void 0!==l.fill&&this.fill.load(l.fill),(0,e.kBH)(this,"length",l.length))}}class s{id="trail";#l;constructor(l){this.#l=l}async getPlugin(l){const{TrailPluginInstance:i}=await a.e(1100).then(a.bind(a,1100));return new i(this.#l,l)}loadOptions(l,i,a){if(!this.needsPlugin())return;let e=i.trail;e?.load||(i.trail=e=new t),e.load(a?.trail)}needsPlugin(){return!0}}async function r(l){l.checkVersion("4.1.3"),await l.pluginManager.register(l=>{l.pluginManager.addPlugin(new s(l.pluginManager))})}}}]);