"use strict";(globalThis.webpackChunk_tsparticles_wordpress=globalThis.webpackChunk_tsparticles_wordpress||[]).push([[1639],{1639(i,a,s){s.d(a,{loadSpiralShape:()=>e});var n=s(3199);class r{draw(i){!function(i){const{context:a,particle:s,radius:n}=i;if(void 0===s.spiralInnerRadius||void 0===s.spiralLineSpacing||void 0===s.spiralWidthFactor)return;const r=(n-s.spiralInnerRadius)/s.spiralLineSpacing;for(let i=0;i<10*r;i++){const n=i/10,r=s.spiralInnerRadius+s.spiralLineSpacing*n,e={x:r*Math.cos(n),y:r*Math.sin(n)};a.lineTo(e.x,e.y)}}(i)}particleInit(i,a){const s=i.retina.pixelRatio,r=a.shapeData;a.spiralInnerRadius=(0,n.VGA)(r?.innerRadius??1)*s,a.spiralLineSpacing=(0,n.VGA)(r?.lineSpacing??1)*s,a.spiralWidthFactor=(0,n.VGA)(r?.widthFactor??10)}}async function e(i){i.checkVersion("4.1.3"),await i.pluginManager.register(i=>{i.pluginManager.addShape(["spiral"],()=>Promise.resolve(new r))})}}}]);