"use strict";(globalThis.webpackChunk_tsparticles_wordpress=globalThis.webpackChunk_tsparticles_wordpress||[]).push([[1859,2796],{2796(e,a,n){n.d(a,{loadRandomPath:()=>s});var r=n(1859),t=n(3199);class i{#e;constructor(){this.#e=t.Miz.origin}generate(){return this.#e.x=(0,t.e4g)(-1,1),this.#e.y=(0,t.e4g)(-1,1),this.#e}init(){}reset(){}update(){}}async function s(e){e.checkVersion("4.1.3"),await e.pluginManager.register(e=>{(0,r.g)(e),e.pluginManager.addPathGenerator?.("randomPathGenerator",()=>Promise.resolve(new i))})}},1859(e,a,n){n.d(a,{g:()=>s,loadMovePlugin:()=>i});var r=n(3199);class t{id="move";#a;constructor(e){this.#a=e}async getPlugin(e){const{MovePluginInstance:a}=await n.e(5272).then(n.bind(n,5272));return new a(this.#a,e)}loadOptions(){}needsPlugin(){return!0}}async function i(e){e.checkVersion("4.1.3"),await e.pluginManager.register(e=>{const a=e.pluginManager;a.initializers.pathGenerators??=new Map,a.pathGenerators??=new Map,a.addPathGenerator=(e,n)=>{a.initializers.pathGenerators??=new Map,a.initializers.pathGenerators.set(e,n)},a.getPathGenerators=async(e,n=!1)=>(a.initializers.pathGenerators??=new Map,a.pathGenerators??=new Map,(0,r.OtU)(e,a.pathGenerators,a.initializers.pathGenerators,n)),e.pluginManager.addPlugin(new t(e.pluginManager))})}function s(e){if(!e.pluginManager.addPathGenerator)throw new Error("tsParticles Base Mover is not loaded")}}}]);