"use strict";(self.webpackChunkwordpress_particles=self.webpackChunkwordpress_particles||[]).push([[4744],{4744:function(t,s,n){n.r(s),n.d(s,{Push:function(){return r},loadExternalPushInteraction:function(){return u}});var i=n(3563);class r{constructor(){this.default=!0,this.groups=[],this.quantity=4}get particles_nb(){return this.quantity}set particles_nb(t){this.quantity=t}load(t){var s;if(!t)return;void 0!==t.default&&(this.default=t.default),void 0!==t.groups&&(this.groups=t.groups.map((t=>t))),this.groups.length||(this.default=!0);const n=null!==(s=t.quantity)&&void 0!==s?s:t.particles_nb;void 0!==n&&(this.quantity=n)}}class e extends i.L8{constructor(t){super(t),this.handleClickMode=t=>{if("push"!==t)return;const s=this.container,n=s.actualOptions.interactivity.modes.push;if(!n)return;const r=n.quantity;if(r<=0)return;const e=(0,i.c8)([void 0,...n.groups]),u=void 0!==e?s.actualOptions.particles.groups[e]:void 0;s.particles.push(r,s.interactivity.mouse,u,e)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(t){t.push||(t.push=new r);for(var s=arguments.length,n=new Array(s>1?s-1:0),i=1;i<s;i++)n[i-1]=arguments[i];for(const s of n)t.push.load(null==s?void 0:s.push)}reset(){}}async function u(t){await t.addInteractor("externalPush",(t=>new e(t)))}}}]);