"use strict";(globalThis.webpackChunk_tsparticles_wordpress=globalThis.webpackChunk_tsparticles_wordpress||[]).push([[8619],{8619:(t,s,a)=>{a.d(s,{loadEmittersShapeCircle:()=>h});var e=a(1814),r=a(9201);class i extends e.F{constructor(t,s,a,e){super(t,s,a,e)}async init(){}async randomPosition(){const t=this.size,s=this.fill,a=this.position,[e,i]=[t.width/2,t.height/2],n=((t,s)=>{const a=(0,r.sZ)()/4,e=Math.atan(s/t*Math.tan(2*Math.PI*a)),i=(0,r.sZ)();return i<.25?e:i<.5?Math.PI-e:i<.75?Math.PI+e:-e})(e,i),h=(p=n,(c=e)*(l=i)/Math.sqrt((l*Math.cos(p))**2+(c*Math.sin(p))**2)),o=s?h*Math.sqrt((0,r.sZ)()):h;var c,l,p;return{position:{x:a.x+o*Math.cos(n),y:a.y+o*Math.sin(n)}}}}class n{generate(t,s,a,e){return new i(t,s,a,e)}}async function h(t,s=!0){const a=t;a.addEmitterShapeGenerator&&a.addEmitterShapeGenerator("circle",new n),await a.refresh(s)}}}]);