"use strict";(globalThis.webpackChunk_tsparticles_wordpress=globalThis.webpackChunk_tsparticles_wordpress||[]).push([[7164],{7164:(t,s,n)=>{n.d(s,{loadExportJSONPlugin:()=>r});class i{constructor(t,s){this._exportJSON=async()=>{const t=JSON.stringify(this._container.actualOptions,((t,s)=>{if(!t.startsWith("_"))return s}),2);return new Blob([t],{type:"application/json"})},this._container=t,this._engine=s}async export(t){const s={supported:!1};return"json"===t&&(s.supported=!0,s.blob=await this._exportJSON()),s}}class e{constructor(t){this.id="export-json",this._engine=t}getPlugin(t){return new i(t,this._engine)}loadOptions(){}needsPlugin(){return!0}}async function r(t,s=!0){await t.addPlugin(new e(t),s)}}}]);