"use strict";(globalThis.webpackChunk_tsparticles_wordpress=globalThis.webpackChunk_tsparticles_wordpress||[]).push([[3035],{3035(n,i,a){a.d(i,{loadManualParticlesPlugin:()=>l});var s=a(3199);class t{options;position;load(n){(0,s.kZJ)(n)||(n.position&&(this.position={x:n.position.x??50,y:n.position.y??50,mode:n.position.mode??s.qiC.percent}),n.options&&(this.options=(0,s.zwS)({},n.options)))}}class e{id="manual-particles";async getPlugin(n){const{ManualParticlesPluginInstance:i}=await a.e(2).then(a.bind(a,2));return new i(n)}loadOptions(n,i,a){(this.needsPlugin(i)||this.needsPlugin(a))&&(i.manualParticles??=[],a?.manualParticles&&(i.manualParticles=a.manualParticles.map(n=>{const i=new t;return i.load(n),i})))}needsPlugin(n){return!!n?.manualParticles?.length}}async function l(n){n.checkVersion("4.1.3"),await n.pluginManager.register(n=>{n.pluginManager.addPlugin(new e)})}}}]);