@tsparticles/all 3.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ /*! For license information please see tsparticles.all.min.js.LICENSE.txt */
2
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/shape-bubble"),require("@tsparticles/plugin-canvas-mask"),require("@tsparticles/shape-cards"),require("@tsparticles/path-curves"),require("@tsparticles/plugin-easing-back"),require("@tsparticles/plugin-easing-circ"),require("@tsparticles/plugin-easing-cubic"),require("@tsparticles/plugin-easing-expo"),require("@tsparticles/plugin-easing-quart"),require("@tsparticles/plugin-easing-quint"),require("@tsparticles/plugin-easing-sine"),require("tsparticles"),require("@tsparticles/updater-gradient"),require("@tsparticles/shape-heart"),require("@tsparticles/plugin-hsv-color"),require("@tsparticles/plugin-infection"),require("@tsparticles/interaction-light"),require("@tsparticles/plugin-motion"),require("@tsparticles/shape-multiline-text"),require("@tsparticles/updater-orbit"),require("@tsparticles/interaction-particles-repulse"),require("@tsparticles/shape-path"),require("@tsparticles/path-perlin-noise"),require("@tsparticles/plugin-polygon-mask"),require("@tsparticles/path-polygon"),require("@tsparticles/shape-rounded-rect"),require("@tsparticles/path-simplex-noise"),require("@tsparticles/plugin-sounds"),require("@tsparticles/shape-spiral"),require("@tsparticles/engine"));else if("function"==typeof define&&define.amd)define(["@tsparticles/shape-bubble","@tsparticles/plugin-canvas-mask","@tsparticles/shape-cards","@tsparticles/path-curves","@tsparticles/plugin-easing-back","@tsparticles/plugin-easing-circ","@tsparticles/plugin-easing-cubic","@tsparticles/plugin-easing-expo","@tsparticles/plugin-easing-quart","@tsparticles/plugin-easing-quint","@tsparticles/plugin-easing-sine","tsparticles","@tsparticles/updater-gradient","@tsparticles/shape-heart","@tsparticles/plugin-hsv-color","@tsparticles/plugin-infection","@tsparticles/interaction-light","@tsparticles/plugin-motion","@tsparticles/shape-multiline-text","@tsparticles/updater-orbit","@tsparticles/interaction-particles-repulse","@tsparticles/shape-path","@tsparticles/path-perlin-noise","@tsparticles/plugin-polygon-mask","@tsparticles/path-polygon","@tsparticles/shape-rounded-rect","@tsparticles/path-simplex-noise","@tsparticles/plugin-sounds","@tsparticles/shape-spiral","@tsparticles/engine"],t);else{var i="object"==typeof exports?t(require("@tsparticles/shape-bubble"),require("@tsparticles/plugin-canvas-mask"),require("@tsparticles/shape-cards"),require("@tsparticles/path-curves"),require("@tsparticles/plugin-easing-back"),require("@tsparticles/plugin-easing-circ"),require("@tsparticles/plugin-easing-cubic"),require("@tsparticles/plugin-easing-expo"),require("@tsparticles/plugin-easing-quart"),require("@tsparticles/plugin-easing-quint"),require("@tsparticles/plugin-easing-sine"),require("tsparticles"),require("@tsparticles/updater-gradient"),require("@tsparticles/shape-heart"),require("@tsparticles/plugin-hsv-color"),require("@tsparticles/plugin-infection"),require("@tsparticles/interaction-light"),require("@tsparticles/plugin-motion"),require("@tsparticles/shape-multiline-text"),require("@tsparticles/updater-orbit"),require("@tsparticles/interaction-particles-repulse"),require("@tsparticles/shape-path"),require("@tsparticles/path-perlin-noise"),require("@tsparticles/plugin-polygon-mask"),require("@tsparticles/path-polygon"),require("@tsparticles/shape-rounded-rect"),require("@tsparticles/path-simplex-noise"),require("@tsparticles/plugin-sounds"),require("@tsparticles/shape-spiral"),require("@tsparticles/engine")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var s in i)("object"==typeof exports?exports:e)[s]=i[s]}}(this,((e,t,i,s,a,r,n,o,p,l,c,u,h,g,d,w,v,x,f,m,y,P,_,q,b,I,T,S,R,M)=>(()=>{"use strict";var O={533:e=>{e.exports=M},55:e=>{e.exports=v},297:e=>{e.exports=y},997:e=>{e.exports=s},228:e=>{e.exports=_},231:e=>{e.exports=b},520:e=>{e.exports=T},72:e=>{e.exports=t},792:e=>{e.exports=a},176:e=>{e.exports=r},922:e=>{e.exports=n},594:e=>{e.exports=o},205:e=>{e.exports=p},144:e=>{e.exports=l},691:e=>{e.exports=c},673:e=>{e.exports=d},521:e=>{e.exports=w},82:e=>{e.exports=x},124:e=>{e.exports=q},490:e=>{e.exports=S},164:t=>{t.exports=e},686:e=>{e.exports=i},12:e=>{e.exports=g},940:e=>{e.exports=f},901:e=>{e.exports=P},550:e=>{e.exports=I},561:e=>{e.exports=R},887:e=>{e.exports=h},193:e=>{e.exports=m},802:e=>{e.exports=u}},E={};function k(e){var t=E[e];if(void 0!==t)return t.exports;var i=E[e]={exports:{}};return O[e](i,i.exports,k),i.exports}k.d=(e,t)=>{for(var i in t)k.o(t,i)&&!k.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},k.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),k.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var F={};return(()=>{k.r(F),k.d(F,{loadAll:()=>W});var e=k(533);class t{draw(e,t,i){const s=2*i,a=s*(t.heightFactor??.5),r=s*(t.headWidthFactor??.2),n=a*(t.bodyHeightFactor??.5);e.moveTo(-s/2,0),e.lineTo(-s/2,-n/2),e.lineTo(s/2-r,-n/2),e.lineTo(s/2-r,-a/2),e.lineTo(s/2+r,0),e.lineTo(s/2-r,a/2),e.lineTo(s/2-r,n/2),e.lineTo(-s/2,n/2),e.lineTo(-s/2,0)}particleInit(t,i){const s=i.shapeData;i.heightFactor=(0,e.getRangeValue)(s?.heightFactor??.5),i.headWidthFactor=(0,e.getRangeValue)(s?.headWidthFactor??.2),i.bodyHeightFactor=(0,e.getRangeValue)(s?.bodyHeightFactor??.5)}}var i=k(164),s=k(72),a=k(686);class r{afterEffect(e,t,i){if(void 0===t.cogHoleRadius||void 0===t.cogInnerRadius||void 0===t.cogInnerTaper||void 0===t.cogNotches||void 0===t.cogOuterTaper)return;const s=2*Math.PI,a=i*t.cogHoleRadius/100;e.globalCompositeOperation="destination-out",e.beginPath(),e.moveTo(a,0),e.arc(0,0,a,0,s),e.closePath(),e.fill(),e.globalCompositeOperation="source-over"}draw(e,t,i){if(void 0===t.cogHoleRadius||void 0===t.cogInnerRadius||void 0===t.cogInnerTaper||void 0===t.cogNotches||void 0===t.cogOuterTaper)return;const s=2*Math.PI,a=s/(2*t.cogNotches),r=a*t.cogInnerTaper*.005,n=a*t.cogOuterTaper*.005,o=i*t.cogInnerRadius/100;let p=a,l=!1;for(e.moveTo(i*Math.cos(n),i*Math.sin(n));p<=s;p+=a)l?(e.lineTo(o*Math.cos(p-r),o*Math.sin(p-r)),e.lineTo(i*Math.cos(p+n),i*Math.sin(p+n))):(e.lineTo(i*Math.cos(p-n),i*Math.sin(p-n)),e.lineTo(o*Math.cos(p+r),o*Math.sin(p+r))),l=!l}particleInit(t,i){const s=i.shapeData;i.cogHoleRadius=(0,e.getRangeValue)(s?.holeRadius??44),i.cogInnerRadius=(0,e.getRangeValue)(s?.innerRadius??72),i.cogInnerTaper=(0,e.getRangeValue)(s?.innerTaper??35),i.cogNotches=(0,e.getRangeValue)(s?.notches??7),i.cogOuterTaper=(0,e.getRangeValue)(s?.outerTaper??50)}}var n=k(997),o=k(792),p=k(176),l=k(922),c=k(594),u=k(205),h=k(144),g=k(691);class d{constructor(e,t){this._exportImage=async e=>{const t=this._container.canvas.element;if(t)return new Promise((i=>{t.toBlob((e=>{i(e||void 0)}),e.type??"image/png",e.quality)}))},this._container=e,this._engine=t}async export(e,t){const i={supported:!1};if("image"===e)i.supported=!0,i.blob=await this._exportImage(t);return i}}class w{constructor(e){this.id="export-image",this._engine=e}getPlugin(e){return new d(e,this._engine)}loadOptions(){}needsPlugin(){return!0}}class v{constructor(e,t){this._exportJSON=async()=>{const e=JSON.stringify(this._container.actualOptions,((e,t)=>{if(!e.startsWith("_"))return t}),2);return new Blob([e],{type:"application/json"})},this._container=e,this._engine=t}async export(e){const t={supported:!1};if("json"===e)t.supported=!0,t.blob=await this._exportJSON();return t}}class x{constructor(e){this.id="export-json",this._engine=e}getPlugin(e){return new v(e,this._engine)}loadOptions(){}needsPlugin(){return!0}}const f=["webm","ogg","mp4","x-matroska"],m=["vp9","vp9.0","vp8","vp8.0","avc1","av1","h265","h.265","h264","h.264","opus","pcm","aac","mpeg","mp4a"];class y{constructor(e,t){this._supportedTypes=[],this._exportVideo=async e=>{const t=this._container.canvas.element;if(t)return new Promise((i=>{const s=t.captureStream(e.fps??this._container.actualOptions.fpsLimit),a=e.mimeType??this._supportedTypes[0],r=new MediaRecorder(s,{mimeType:a}),n=[];r.addEventListener("dataavailable",(e=>{n.push(e.data)})),r.addEventListener("stop",(()=>{i(new Blob(n,{type:a}))})),r.start(),setTimeout((()=>{r.stop()}),e.duration??5e3)}))},this._container=e,this._engine=t,this._supportedTypes=function(){const e=MediaRecorder.isTypeSupported,t=[];return f.forEach((i=>{const s=`video/${i}`;m.forEach((i=>[`${s};codecs=${i}`,`${s};codecs=${i.toUpperCase()}`].forEach((i=>{e(i)&&t.push(i)})))),e(s)&&t.push(s)})),t}()}async export(e,t){const i={supported:!1};if("video"===e)i.supported=!0,i.blob=await this._exportVideo(t);return i}}class P{constructor(e){this.id="export-video",this._engine=e}getPlugin(e){return new y(e,this._engine)}loadOptions(){}needsPlugin(){return!0}}var _=k(802),q=k(887),b=k(12),I=k(673),T=k(521),S=k(55),R=k(82),M=k(940),O=k(193),E=k(297),N=k(901),V=k(228),j=k(124),C=k(231);class z{draw(e,t,i){!function(e,t,i){let s=t[0],a=t[1];const r=t.length;e.moveTo((s.x+a.x)/2,(s.y+a.y)/2);for(let n=1;n<=r;n++)s=a,a=t[(n+1)%r],e.arcTo(s.x,s.y,(s.x+a.x)/2,(s.y+a.y)/2,i)}(e,function(e,t,i=0){const s=2*Math.PI/e,a=[];for(let r=0;r<e;r++)a.push({x:Math.cos(r*s+i)*t,y:Math.sin(r*s+i)*t});return a}(t.sides,i),t.borderRadius??5)}getSidesCount(t){const i=t.shapeData;return Math.round((0,e.getRangeValue)(i?.sides??5))}particleInit(t,i){const s=i.shapeData;i.borderRadius=Math.round((0,e.getRangeValue)(s?.radius??5))*t.retina.pixelRatio}}var D=k(550);class H{constructor(){this._paths=[],this._reverse=!1,this._size={width:0,height:0},this._scale=1,this._offset={x:0,y:0,mode:"percent"},this._width=0}generate(t,i){const s=t.container.retina.pixelRatio;void 0===t.svgDirection&&(t.svgDirection=(0,e.getRandom)()>.5?0:1),void 0===t.svgPathIndex&&(t.svgPathIndex=Math.floor(Math.random()*this._paths.length)),void 0===t.svgSpeed&&(t.svgSpeed=t.velocity.mult((t.retina.moveSpeed??1)/2).length),void 0===t.svgStep&&(t.svgStep=(0,e.randomInRange)({min:0,max:this._paths[t.svgPathIndex].length})*s),void 0===t.svgOffset&&(t.svgOffset={width:(0,e.randomInRange)({min:-this._width/2,max:this._width/2})*s,height:(0,e.randomInRange)({min:-this._width/2,max:this._width/2})*s}),void 0===t.svgInitialPosition&&(t.svgInitialPosition={...t.position}),t.velocity.x=0,t.velocity.y=0,0===t.svgDirection?t.svgStep+=t.svgSpeed*i.factor:t.svgStep-=t.svgSpeed*i.factor;let a=this._paths[t.svgPathIndex];if(a){const e=a.length;t.svgStep>=e?(t.svgPathIndex=t.svgPathIndex+1,t.svgPathIndex>=this._paths.length&&(this._reverse?(t.svgPathIndex=this._paths.length-1,t.svgDirection=1):(t.svgPathIndex=0,t.svgStep=0))):t.svgStep<=0&&(t.svgPathIndex=t.svgPathIndex-1,t.svgPathIndex<0&&(this._reverse?(t.svgPathIndex=0,t.svgDirection=0):(t.svgPathIndex=this._paths.length-1,a=this._paths[t.svgPathIndex],t.svgStep=a.length))),a=this._paths[t.svgPathIndex]}if(a){const i=a.element.getPointAtLength(t.svgStep),r=t.container.canvas.size,n=(0,e.getPosition)(this._offset,r),o=this._scale*s;t.position.x=(i.x-this._size.width/2)*o+t.svgInitialPosition.x+n.x+t.svgOffset.width,t.position.y=(i.y-this._size.height/2)*o+t.svgInitialPosition.y+n.y+t.svgOffset.height}return e.Vector.origin}init(e){const t=e.actualOptions.particles.move.path.options,i=t.position??this._offset;if(this._reverse=t.reverse??this._reverse,this._scale=t.scale??1,this._offset.x=i.x,this._offset.y=i.y,this._offset.mode=i.mode,this._width=t.width??0,t.url&&!t.path){const e=t.url;(async()=>{const t=await fetch(e),i=await t.text(),s=(new DOMParser).parseFromString(i,"image/svg+xml"),a=s.getElementsByTagName("svg")[0];let r=a.getElementsByTagName("path");r.length||(r=s.getElementsByTagName("path")),this._paths=[];for(let e=0;e<r.length;e++){const t=r.item(e);t&&this._paths.push({element:t,length:t.getTotalLength()})}this._size.height=parseFloat(a.getAttribute("height")??"0"),this._size.width=parseFloat(a.getAttribute("width")??"0")})()}else if(t.path){const e=t.path;this._paths=[];for(const t of e.data){const e=document.createElementNS("http://www.w3.org/2000/svg","path");e.setAttribute("d",t),this._paths.push({element:e,length:e.getTotalLength()})}this._size.height=e.size.height,this._size.width=e.size.width}}reset(){}update(){}}const B="svgPathGenerator";var L=k(520),A=k(490),$=k(561);async function W(e,d=!0){await(0,_.loadFull)(e,!1),await(0,I.loadHsvColorPlugin)(),await(0,o.loadEasingBackPlugin)(),await(0,p.loadEasingCircPlugin)(),await(0,l.loadEasingCubicPlugin)(),await(0,c.loadEasingExpoPlugin)(),await(0,u.loadEasingQuartPlugin)(),await(0,h.loadEasingQuintPlugin)(),await(0,g.loadEasingSinePlugin)(),await(0,I.loadHsvColorPlugin)(),await(0,s.loadCanvasMaskPlugin)(e,!1),await(0,T.loadInfectionPlugin)(e,!1),await(0,R.loadMotionPlugin)(e,!1),await(0,j.loadPolygonMaskPlugin)(e,!1),await(0,A.loadSoundsPlugin)(e,!1),await async function(e,t=!0){await e.addPlugin(new w(e),t)}(e,!1),await async function(e,t=!0){await e.addPlugin(new x(e),t)}(e,!1),await async function(e,t=!0){await e.addPlugin(new P(e),t)}(e,!1),await(0,S.loadLightInteraction)(e,!1),await(0,E.loadParticlesRepulseInteraction)(e,!1),await(0,q.loadGradientUpdater)(e,!1),await(0,O.loadOrbitUpdater)(e,!1),await(0,n.loadCurvesPath)(e,!1),await(0,V.loadPerlinNoisePath)(e,!1),await(0,C.loadPolygonPath)(e,!1),await async function(e,t=!0){await e.addPathGenerator(B,new H,t)}(e,!1),await(0,L.loadSimplexNoisePath)(e,!1),await async function(e,i=!0){await e.addShape("arrow",new t,i)}(e,!1),await(0,i.loadBubbleShape)(e,!1),await(0,a.loadCardsShape)(e,!1),await async function(e,t=!0){await e.addShape("cog",new r,t)}(e,!1),await(0,b.loadHeartShape)(e,!1),await(0,M.loadMultilineTextShape)(e,!1),await(0,N.loadPathShape)(e,!1),await async function(e,t=!0){await e.addShape("rounded-polygon",new z,t)}(e,!1),await(0,D.loadRoundedRectShape)(e,!1),await(0,$.loadSpiralShape)(e,!1),await e.refresh(d)}})(),F})()));
@@ -0,0 +1 @@
1
+ /*! tsParticles All v3.0.0-beta.0 by Matteo Bruni */
@@ -0,0 +1,3 @@
1
+ import { loadAll } from ".";
2
+ export { loadAll };
3
+ export * from "@tsparticles/engine";
@@ -0,0 +1,2 @@
1
+ import type { Engine } from "@tsparticles/engine";
2
+ export declare function loadAll(engine: Engine, refresh?: boolean): Promise<void>;
package/umd/bundle.js ADDED
@@ -0,0 +1,32 @@
1
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
2
+ if (k2 === undefined) k2 = k;
3
+ var desc = Object.getOwnPropertyDescriptor(m, k);
4
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
5
+ desc = { enumerable: true, get: function() { return m[k]; } };
6
+ }
7
+ Object.defineProperty(o, k2, desc);
8
+ }) : (function(o, m, k, k2) {
9
+ if (k2 === undefined) k2 = k;
10
+ o[k2] = m[k];
11
+ }));
12
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
13
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
14
+ };
15
+ (function (factory) {
16
+ if (typeof module === "object" && typeof module.exports === "object") {
17
+ var v = factory(require, exports);
18
+ if (v !== undefined) module.exports = v;
19
+ }
20
+ else if (typeof define === "function" && define.amd) {
21
+ define(["require", "exports", ".", "@tsparticles/engine", "@tsparticles/engine"], factory);
22
+ }
23
+ })(function (require, exports) {
24
+ "use strict";
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.loadAll = void 0;
27
+ const _1 = require(".");
28
+ Object.defineProperty(exports, "loadAll", { enumerable: true, get: function () { return _1.loadAll; } });
29
+ const engine_1 = require("@tsparticles/engine");
30
+ (0, _1.loadAll)(engine_1.tsParticles);
31
+ __exportStar(require("@tsparticles/engine"), exports);
32
+ });
package/umd/index.js ADDED
@@ -0,0 +1,90 @@
1
+ (function (factory) {
2
+ if (typeof module === "object" && typeof module.exports === "object") {
3
+ var v = factory(require, exports);
4
+ if (v !== undefined) module.exports = v;
5
+ }
6
+ else if (typeof define === "function" && define.amd) {
7
+ define(["require", "exports", "@tsparticles/shape-arrow", "@tsparticles/shape-bubble", "@tsparticles/plugin-canvas-mask", "@tsparticles/shape-cards", "@tsparticles/shape-cog", "@tsparticles/path-curves", "@tsparticles/plugin-easing-back", "@tsparticles/plugin-easing-circ", "@tsparticles/plugin-easing-cubic", "@tsparticles/plugin-easing-expo", "@tsparticles/plugin-easing-quart", "@tsparticles/plugin-easing-quint", "@tsparticles/plugin-easing-sine", "@tsparticles/plugin-export-image", "@tsparticles/plugin-export-json", "@tsparticles/plugin-export-video", "tsparticles", "@tsparticles/updater-gradient", "@tsparticles/shape-heart", "@tsparticles/plugin-hsv-color", "@tsparticles/plugin-infection", "@tsparticles/interaction-light", "@tsparticles/plugin-motion", "@tsparticles/shape-multiline-text", "@tsparticles/updater-orbit", "@tsparticles/interaction-particles-repulse", "@tsparticles/shape-path", "@tsparticles/path-perlin-noise", "@tsparticles/plugin-polygon-mask", "@tsparticles/path-polygon", "@tsparticles/shape-rounded-polygon", "@tsparticles/shape-rounded-rect", "@tsparticles/path-svg", "@tsparticles/path-simplex-noise", "@tsparticles/plugin-sounds", "@tsparticles/shape-spiral"], factory);
8
+ }
9
+ })(function (require, exports) {
10
+ "use strict";
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.loadAll = void 0;
13
+ const shape_arrow_1 = require("@tsparticles/shape-arrow");
14
+ const shape_bubble_1 = require("@tsparticles/shape-bubble");
15
+ const plugin_canvas_mask_1 = require("@tsparticles/plugin-canvas-mask");
16
+ const shape_cards_1 = require("@tsparticles/shape-cards");
17
+ const shape_cog_1 = require("@tsparticles/shape-cog");
18
+ const path_curves_1 = require("@tsparticles/path-curves");
19
+ const plugin_easing_back_1 = require("@tsparticles/plugin-easing-back");
20
+ const plugin_easing_circ_1 = require("@tsparticles/plugin-easing-circ");
21
+ const plugin_easing_cubic_1 = require("@tsparticles/plugin-easing-cubic");
22
+ const plugin_easing_expo_1 = require("@tsparticles/plugin-easing-expo");
23
+ const plugin_easing_quart_1 = require("@tsparticles/plugin-easing-quart");
24
+ const plugin_easing_quint_1 = require("@tsparticles/plugin-easing-quint");
25
+ const plugin_easing_sine_1 = require("@tsparticles/plugin-easing-sine");
26
+ const plugin_export_image_1 = require("@tsparticles/plugin-export-image");
27
+ const plugin_export_json_1 = require("@tsparticles/plugin-export-json");
28
+ const plugin_export_video_1 = require("@tsparticles/plugin-export-video");
29
+ const tsparticles_1 = require("tsparticles");
30
+ const updater_gradient_1 = require("@tsparticles/updater-gradient");
31
+ const shape_heart_1 = require("@tsparticles/shape-heart");
32
+ const plugin_hsv_color_1 = require("@tsparticles/plugin-hsv-color");
33
+ const plugin_infection_1 = require("@tsparticles/plugin-infection");
34
+ const interaction_light_1 = require("@tsparticles/interaction-light");
35
+ const plugin_motion_1 = require("@tsparticles/plugin-motion");
36
+ const shape_multiline_text_1 = require("@tsparticles/shape-multiline-text");
37
+ const updater_orbit_1 = require("@tsparticles/updater-orbit");
38
+ const interaction_particles_repulse_1 = require("@tsparticles/interaction-particles-repulse");
39
+ const shape_path_1 = require("@tsparticles/shape-path");
40
+ const path_perlin_noise_1 = require("@tsparticles/path-perlin-noise");
41
+ const plugin_polygon_mask_1 = require("@tsparticles/plugin-polygon-mask");
42
+ const path_polygon_1 = require("@tsparticles/path-polygon");
43
+ const shape_rounded_polygon_1 = require("@tsparticles/shape-rounded-polygon");
44
+ const shape_rounded_rect_1 = require("@tsparticles/shape-rounded-rect");
45
+ const path_svg_1 = require("@tsparticles/path-svg");
46
+ const path_simplex_noise_1 = require("@tsparticles/path-simplex-noise");
47
+ const plugin_sounds_1 = require("@tsparticles/plugin-sounds");
48
+ const shape_spiral_1 = require("@tsparticles/shape-spiral");
49
+ async function loadAll(engine, refresh = true) {
50
+ await (0, tsparticles_1.loadFull)(engine, false);
51
+ await (0, plugin_hsv_color_1.loadHsvColorPlugin)();
52
+ await (0, plugin_easing_back_1.loadEasingBackPlugin)();
53
+ await (0, plugin_easing_circ_1.loadEasingCircPlugin)();
54
+ await (0, plugin_easing_cubic_1.loadEasingCubicPlugin)();
55
+ await (0, plugin_easing_expo_1.loadEasingExpoPlugin)();
56
+ await (0, plugin_easing_quart_1.loadEasingQuartPlugin)();
57
+ await (0, plugin_easing_quint_1.loadEasingQuintPlugin)();
58
+ await (0, plugin_easing_sine_1.loadEasingSinePlugin)();
59
+ await (0, plugin_hsv_color_1.loadHsvColorPlugin)();
60
+ await (0, plugin_canvas_mask_1.loadCanvasMaskPlugin)(engine, false);
61
+ await (0, plugin_infection_1.loadInfectionPlugin)(engine, false);
62
+ await (0, plugin_motion_1.loadMotionPlugin)(engine, false);
63
+ await (0, plugin_polygon_mask_1.loadPolygonMaskPlugin)(engine, false);
64
+ await (0, plugin_sounds_1.loadSoundsPlugin)(engine, false);
65
+ await (0, plugin_export_image_1.loadExportImagePlugin)(engine, false);
66
+ await (0, plugin_export_json_1.loadExportJSONPlugin)(engine, false);
67
+ await (0, plugin_export_video_1.loadExportVideoPlugin)(engine, false);
68
+ await (0, interaction_light_1.loadLightInteraction)(engine, false);
69
+ await (0, interaction_particles_repulse_1.loadParticlesRepulseInteraction)(engine, false);
70
+ await (0, updater_gradient_1.loadGradientUpdater)(engine, false);
71
+ await (0, updater_orbit_1.loadOrbitUpdater)(engine, false);
72
+ await (0, path_curves_1.loadCurvesPath)(engine, false);
73
+ await (0, path_perlin_noise_1.loadPerlinNoisePath)(engine, false);
74
+ await (0, path_polygon_1.loadPolygonPath)(engine, false);
75
+ await (0, path_svg_1.loadSVGPath)(engine, false);
76
+ await (0, path_simplex_noise_1.loadSimplexNoisePath)(engine, false);
77
+ await (0, shape_arrow_1.loadArrowShape)(engine, false);
78
+ await (0, shape_bubble_1.loadBubbleShape)(engine, false);
79
+ await (0, shape_cards_1.loadCardsShape)(engine, false);
80
+ await (0, shape_cog_1.loadCogShape)(engine, false);
81
+ await (0, shape_heart_1.loadHeartShape)(engine, false);
82
+ await (0, shape_multiline_text_1.loadMultilineTextShape)(engine, false);
83
+ await (0, shape_path_1.loadPathShape)(engine, false);
84
+ await (0, shape_rounded_polygon_1.loadRoundedPolygonShape)(engine, false);
85
+ await (0, shape_rounded_rect_1.loadRoundedRectShape)(engine, false);
86
+ await (0, shape_spiral_1.loadSpiralShape)(engine, false);
87
+ await engine.refresh(refresh);
88
+ }
89
+ exports.loadAll = loadAll;
90
+ });