"use strict";(self.webpackChunkwordpress_particles=self.webpackChunkwordpress_particles||[]).push([[4774],{4774:function(t,e,n){n.r(e),n.d(e,{Remove:function(){return i},loadExternalRemoveInteraction:function(){return s}});var r=n(3563);class i{constructor(){this.quantity=2}get particles_nb(){return this.quantity}set particles_nb(t){this.quantity=t}load(t){var e;if(!t)return;const n=null!==(e=t.quantity)&&void 0!==e?e:t.particles_nb;void 0!==n&&(this.quantity=n)}}class o extends r.L8{constructor(t){super(t),this.handleClickMode=t=>{const e=this.container,n=e.actualOptions;if(!n.interactivity.modes.remove||"remove"!==t)return;const r=n.interactivity.modes.remove.quantity;e.particles.removeQuantity(r)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(t){t.remove||(t.remove=new i);for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];for(const e of n)t.remove.load(null==e?void 0:e.remove)}reset(){}}function s(t){t.addInteractor("externalRemove",(t=>new o(t)))}}}]);