"use strict";(globalThis.webpackChunk_tsparticles_wordpress=globalThis.webpackChunk_tsparticles_wordpress||[]).push([[6804,2709],{2709:(e,t,a)=>{a.d(t,{U:()=>i,loadCurvesPath:()=>r});var n=a(9201);class o{constructor(){this.options={rndFunc:null,period:100,nbHarmonics:2,attenHarmonics:.8,lowValue:-.03,highValue:.03}}generate(e){if(!e.pathGen){const t=this.options;e.pathGen=function(e,t,a,o,i=0,r=1){const l=[],c=[],s=[],u=[],d=[],h=e??n.sZ;let p=0;a<1&&(a=1);for(let e=1;e<=a;++e)l[e]=h(),c[e]=h(),s[e]=1===e?1:s[e-1]*o,p+=s[e],u[e]=e/t,d[e]=h();return s.forEach(((e,t)=>s[t]=e/p*(r-i))),()=>{let e,t,n=0;for(let o=a;o>=1;--o)e=d[o]+=u[o],d[o]>=1&&(e=d[o]-=1,l[o]=c[o],c[o]=h()),t=e**2*(3-2*e),n+=(l[o]*(1-t)+c[o]*t)*s[o];return n+i}}(t.rndFunc,t.period,t.nbHarmonics,t.attenHarmonics,t.lowValue,t.highValue)}return e.curveVelocity?(e.curveVelocity.length+=.01,e.curveVelocity.angle=(e.curveVelocity.angle+e.pathGen())%(2*Math.PI)):(e.curveVelocity=n.OW.origin,e.curveVelocity.length=.6*(0,n.sZ)()+.8,e.curveVelocity.angle=(0,n.sZ)()*Math.PI*2),e.velocity.x=0,e.velocity.y=0,e.curveVelocity}init(e){const t=e.actualOptions.particles.move.path.options,{options:a}=this;(0,n.mf)(t.rndFunc)?a.rndFunc=t.rndFunc:(0,n.HD)(t.rndFunc)&&(a.rndFunc=window[t.rndFunc]||this.options.rndFunc),a.period=t.period??a.period,a.nbHarmonics=t.nbHarmonics??a.nbHarmonics,a.attenHarmonics=t.attenHarmonics??a.attenHarmonics,a.lowValue=t.lowValue??a.lowValue,a.highValue=t.highValue??a.highValue}reset(e){delete e.pathGen,delete e.curveVelocity}update(){}}const i="curvesPathGenerator";async function r(e,t=!0){await e.addPathGenerator(i,new o,t)}},6804:(e,t,a)=>{a.d(t,{loadSeaAnemonePreset:()=>c});var n=a(2709);const o="seaAnemone",i={fpsLimit:120,particles:{color:{value:"#FF0000"},move:{direction:"none",enable:!0,outModes:{default:"destroy"},path:{clamp:!1,enable:!0,delay:{value:0},generator:n.U},random:!1,speed:2,straight:!1,trail:{fill:{color:"#000"},length:30,enable:!0}},number:{value:0,limit:{value:300}},opacity:{value:1},shape:{type:"circle"},size:{value:{min:1,max:10},animation:{count:1,startValue:"min",enable:!0,speed:10,sync:!0}}},background:{color:"#000"},detectRetina:!0,emitters:{direction:"none",rate:{quantity:10,delay:.3},size:{width:0,height:0,mode:"precise"},spawnColor:{value:"#ff0000",animation:{h:{enable:!0,offset:{min:-1.4,max:1.4},speed:5,sync:!1},l:{enable:!0,offset:{min:20,max:80},speed:0,sync:!1}}},position:{x:50,y:50}}};var r=a(1373),l=a(1814);async function c(e,t=!0){await(0,r.loadBasic)(e,!1),await(0,l.loadEmittersPlugin)(e,!1),await(0,n.loadCurvesPath)(e,!1),await e.addPreset(o,i,t)}}}]);