@tsparticles/preset-squares 4.1.0 → 4.1.2
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.
- package/README.md +1 -1
- package/browser/bundle.js +3 -2
- package/cjs/bundle.js +3 -2
- package/esm/bundle.js +3 -2
- package/package.json +8 -8
- package/report.html +1 -1
- package/tsparticles.preset.squares.bundle.js +9 -9
- package/tsparticles.preset.squares.bundle.min.js +1 -1
- package/tsparticles.preset.squares.js +1 -1
- package/types/bundle.d.ts +2 -1
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
### CDN / Vanilla JS / jQuery
|
|
26
26
|
|
|
27
27
|
```html
|
|
28
|
-
<script src="https://cdn.jsdelivr.net/npm/@tsparticles/preset-squares@
|
|
28
|
+
<script src="https://cdn.jsdelivr.net/npm/@tsparticles/preset-squares@4/tsparticles.preset.squares.bundle.min.js"></script>
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
### Usage
|
package/browser/bundle.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { loadSquaresPreset } from "./index.js";
|
|
2
|
+
import { tsParticles } from "@tsparticles/engine";
|
|
2
3
|
export { loadSquaresPreset } from "./index.js";
|
|
3
|
-
export { tsParticles }
|
|
4
|
+
export { tsParticles };
|
|
4
5
|
const globalObject = globalThis;
|
|
5
|
-
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
6
|
globalObject.loadSquaresPreset = loadSquaresPreset;
|
|
7
|
+
globalObject.tsParticles = tsParticles;
|
package/cjs/bundle.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { loadSquaresPreset } from "./index.js";
|
|
2
|
+
import { tsParticles } from "@tsparticles/engine";
|
|
2
3
|
export { loadSquaresPreset } from "./index.js";
|
|
3
|
-
export { tsParticles }
|
|
4
|
+
export { tsParticles };
|
|
4
5
|
const globalObject = globalThis;
|
|
5
|
-
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
6
|
globalObject.loadSquaresPreset = loadSquaresPreset;
|
|
7
|
+
globalObject.tsParticles = tsParticles;
|
package/esm/bundle.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { loadSquaresPreset } from "./index.js";
|
|
2
|
+
import { tsParticles } from "@tsparticles/engine";
|
|
2
3
|
export { loadSquaresPreset } from "./index.js";
|
|
3
|
-
export { tsParticles }
|
|
4
|
+
export { tsParticles };
|
|
4
5
|
const globalObject = globalThis;
|
|
5
|
-
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
6
|
globalObject.loadSquaresPreset = loadSquaresPreset;
|
|
7
|
+
globalObject.tsParticles = tsParticles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/preset-squares",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "tsParticles squares preset",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"repository": {
|
|
@@ -106,13 +106,13 @@
|
|
|
106
106
|
"./package.json": "./package.json"
|
|
107
107
|
},
|
|
108
108
|
"dependencies": {
|
|
109
|
-
"@tsparticles/engine": "4.1.
|
|
110
|
-
"@tsparticles/plugin-emitters": "4.1.
|
|
111
|
-
"@tsparticles/plugin-hex-color": "4.1.
|
|
112
|
-
"@tsparticles/shape-square": "4.1.
|
|
113
|
-
"@tsparticles/updater-paint": "4.1.
|
|
114
|
-
"@tsparticles/updater-rotate": "4.1.
|
|
115
|
-
"@tsparticles/updater-size": "4.1.
|
|
109
|
+
"@tsparticles/engine": "4.1.2",
|
|
110
|
+
"@tsparticles/plugin-emitters": "4.1.2",
|
|
111
|
+
"@tsparticles/plugin-hex-color": "4.1.2",
|
|
112
|
+
"@tsparticles/shape-square": "4.1.2",
|
|
113
|
+
"@tsparticles/updater-paint": "4.1.2",
|
|
114
|
+
"@tsparticles/updater-rotate": "4.1.2",
|
|
115
|
+
"@tsparticles/updater-size": "4.1.2"
|
|
116
116
|
},
|
|
117
117
|
"publishConfig": {
|
|
118
118
|
"access": "public"
|
package/report.html
CHANGED
|
@@ -4930,7 +4930,7 @@ var drawChart = (function (exports) {
|
|
|
4930
4930
|
</script>
|
|
4931
4931
|
<script>
|
|
4932
4932
|
/*<!--*/
|
|
4933
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"tsparticles.preset.squares.bundle.js","children":[{"name":"home/workflows/workspace","children":[{"name":"engine/dist/browser","children":[{"name":"Core","children":[{"name":"Utils","children":[{"uid":"d9a4e288-1","name":"Constants.js"},{"uid":"d9a4e288-5","name":"Vectors.js"},{"uid":"d9a4e288-29","name":"PluginManager.js"},{"uid":"d9a4e288-39","name":"Ranges.js"},{"uid":"d9a4e288-185","name":"EventListeners.js"},{"uid":"d9a4e288-189","name":"SpatialHashGrid.js"}]},{"uid":"d9a4e288-33","name":"Engine.js"},{"uid":"d9a4e288-181","name":"RenderManager.js"},{"uid":"d9a4e288-183","name":"CanvasManager.js"},{"uid":"d9a4e288-187","name":"Particle.js"},{"uid":"d9a4e288-191","name":"ParticlesManager.js"},{"uid":"d9a4e288-193","name":"Retina.js"},{"uid":"d9a4e288-195","name":"Container.js"}]},{"name":"Enums","children":[{"name":"Directions","children":[{"uid":"d9a4e288-3","name":"MoveDirection.js"},{"uid":"d9a4e288-17","name":"OutModeDirection.js"},{"uid":"d9a4e288-41","name":"RotateDirection.js"}]},{"name":"Modes","children":[{"uid":"d9a4e288-11","name":"AnimationMode.js"},{"uid":"d9a4e288-19","name":"PixelMode.js"},{"uid":"d9a4e288-43","name":"LimitMode.js"},{"uid":"d9a4e288-45","name":"OutMode.js"}]},{"uid":"d9a4e288-13","name":"AnimationStatus.js"},{"name":"Types","children":[{"uid":"d9a4e288-15","name":"DestroyType.js"},{"uid":"d9a4e288-21","name":"StartValueType.js"},{"uid":"d9a4e288-27","name":"EventType.js"},{"uid":"d9a4e288-47","name":"AlterType.js"},{"uid":"d9a4e288-49","name":"GradientType.js"},{"uid":"d9a4e288-51","name":"ParticleOutType.js"},{"uid":"d9a4e288-53","name":"EasingType.js"}]},{"uid":"d9a4e288-37","name":"RangeType.js"}]},{"name":"Utils","children":[{"uid":"d9a4e288-7","name":"TypeUtils.js"},{"uid":"d9a4e288-9","name":"MathUtils.js"},{"uid":"d9a4e288-23","name":"Utils.js"},{"uid":"d9a4e288-25","name":"EventDispatcher.js"},{"uid":"d9a4e288-31","name":"LogUtils.js"},{"uid":"d9a4e288-111","name":"OptionsUtils.js"},{"uid":"d9a4e288-115","name":"CanvasUtils.js"},{"uid":"d9a4e288-117","name":"ColorUtils.js"}]},{"uid":"d9a4e288-35","name":"initEngine.js"},{"name":"Options/Classes","children":[{"uid":"d9a4e288-55","name":"AnimationOptions.js"},{"uid":"d9a4e288-57","name":"ColorAnimation.js"},{"uid":"d9a4e288-59","name":"HslAnimation.js"},{"uid":"d9a4e288-61","name":"OptionsColor.js"},{"uid":"d9a4e288-63","name":"AnimatableColor.js"},{"name":"Background/Background.js","uid":"d9a4e288-65"},{"name":"FullScreen/FullScreen.js","uid":"d9a4e288-67"},{"uid":"d9a4e288-69","name":"ResizeEvent.js"},{"name":"Particles","children":[{"name":"Effect/Effect.js","uid":"d9a4e288-71"},{"uid":"d9a4e288-73","name":"Fill.js"},{"name":"Move","children":[{"uid":"d9a4e288-75","name":"MoveAngle.js"},{"uid":"d9a4e288-77","name":"MoveCenter.js"},{"uid":"d9a4e288-79","name":"MoveGravity.js"},{"name":"Path/MovePath.js","uid":"d9a4e288-83"},{"uid":"d9a4e288-85","name":"OutModes.js"},{"uid":"d9a4e288-87","name":"Spin.js"},{"uid":"d9a4e288-89","name":"Move.js"}]},{"uid":"d9a4e288-91","name":"Stroke.js"},{"uid":"d9a4e288-93","name":"Paint.js"},{"name":"Bounce","children":[{"uid":"d9a4e288-95","name":"ParticlesBounceFactor.js"},{"uid":"d9a4e288-97","name":"ParticlesBounce.js"}]},{"name":"Number","children":[{"uid":"d9a4e288-99","name":"ParticlesDensity.js"},{"uid":"d9a4e288-101","name":"ParticlesNumberLimit.js"},{"uid":"d9a4e288-103","name":"ParticlesNumber.js"}]},{"name":"Shape/Shape.js","uid":"d9a4e288-105"},{"name":"ZIndex/ZIndex.js","uid":"d9a4e288-107"},{"uid":"d9a4e288-109","name":"ParticlesOptions.js"}]},{"uid":"d9a4e288-81","name":"ValueWithRandom.js"},{"uid":"d9a4e288-113","name":"Options.js"}]},{"uid":"d9a4e288-119","name":"index.js"}]},{"name":"plugins","children":[{"name":"emitters/dist/browser","children":[{"name":"Options/Classes","children":[{"uid":"d9a4e288-121","name":"EmitterLife.js"},{"uid":"d9a4e288-123","name":"EmitterRate.js"},{"uid":"d9a4e288-125","name":"EmitterShapeReplace.js"},{"uid":"d9a4e288-127","name":"EmitterShape.js"},{"uid":"d9a4e288-129","name":"EmitterSize.js"},{"uid":"d9a4e288-131","name":"EmitterSpawn.js"},{"uid":"d9a4e288-133","name":"Emitter.js"}]},{"uid":"d9a4e288-135","name":"EmittersPlugin.js"},{"uid":"d9a4e288-137","name":"addEmittersShapesManager.js"},{"uid":"d9a4e288-139","name":"getEmittersInstancesManager.js"},{"name":"Enums/EmitterClickMode.js","uid":"d9a4e288-141"},{"uid":"d9a4e288-143","name":"plugin.js"},{"uid":"d9a4e288-197","name":"EmittersPluginInstance.js"},{"uid":"d9a4e288-199","name":"ShapeManager.js"},{"uid":"d9a4e288-201","name":"EmittersInstancesManager.js"},{"uid":"d9a4e288-203","name":"EmitterInstance.js"}]},{"name":"colors/hex/dist/browser","children":[{"uid":"d9a4e288-145","name":"HexColorManager.js"},{"uid":"d9a4e288-147","name":"index.js"}]}]},{"name":"updaters","children":[{"name":"paint/dist/browser","children":[{"uid":"d9a4e288-149","name":"PaintUpdater.js"},{"uid":"d9a4e288-151","name":"index.js"}]},{"name":"rotate/dist/browser","children":[{"name":"Options/Classes","children":[{"uid":"d9a4e288-153","name":"RotateAnimation.js"},{"uid":"d9a4e288-155","name":"Rotate.js"}]},{"uid":"d9a4e288-157","name":"RotateUpdater.js"},{"uid":"d9a4e288-159","name":"index.js"}]},{"name":"size/dist/browser","children":[{"name":"Options/Classes","children":[{"uid":"d9a4e288-161","name":"SizeAnimation.js"},{"uid":"d9a4e288-163","name":"Size.js"}]},{"uid":"d9a4e288-165","name":"SizeUpdater.js"},{"uid":"d9a4e288-167","name":"index.js"}]}]},{"name":"shapes/square/dist/browser","children":[{"uid":"d9a4e288-169","name":"Utils.js"},{"uid":"d9a4e288-171","name":"SquareDrawer.js"},{"uid":"d9a4e288-173","name":"index.js"}]}]},{"name":"dist/browser","children":[{"uid":"d9a4e288-175","name":"options.js"},{"uid":"d9a4e288-177","name":"index.js"},{"uid":"d9a4e288-179","name":"bundle.js"}]}]}],"isRoot":true},"nodeParts":{"d9a4e288-1":{"renderedLength":1480,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-0"},"d9a4e288-3":{"renderedLength":599,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-2"},"d9a4e288-5":{"renderedLength":3316,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-4"},"d9a4e288-7":{"renderedLength":469,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-6"},"d9a4e288-9":{"renderedLength":4305,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-8"},"d9a4e288-11":{"renderedLength":281,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-10"},"d9a4e288-13":{"renderedLength":217,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-12"},"d9a4e288-15":{"renderedLength":203,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-14"},"d9a4e288-17":{"renderedLength":289,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-16"},"d9a4e288-19":{"renderedLength":169,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-18"},"d9a4e288-21":{"renderedLength":228,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-20"},"d9a4e288-23":{"renderedLength":14631,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-22"},"d9a4e288-25":{"renderedLength":1416,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-24"},"d9a4e288-27":{"renderedLength":771,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-26"},"d9a4e288-29":{"renderedLength":5067,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-28"},"d9a4e288-31":{"renderedLength":538,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-30"},"d9a4e288-33":{"renderedLength":6107,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-32"},"d9a4e288-35":{"renderedLength":62,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-34"},"d9a4e288-37":{"renderedLength":171,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-36"},"d9a4e288-39":{"renderedLength":2748,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-38"},"d9a4e288-41":{"renderedLength":274,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-40"},"d9a4e288-43":{"renderedLength":161,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-42"},"d9a4e288-45":{"renderedLength":257,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-44"},"d9a4e288-47":{"renderedLength":171,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-46"},"d9a4e288-49":{"renderedLength":226,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-48"},"d9a4e288-51":{"renderedLength":249,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-50"},"d9a4e288-53":{"renderedLength":2495,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-52"},"d9a4e288-55":{"renderedLength":1682,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-54"},"d9a4e288-57":{"renderedLength":711,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-56"},"d9a4e288-59":{"renderedLength":362,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-58"},"d9a4e288-61":{"renderedLength":708,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-60"},"d9a4e288-63":{"renderedLength":1063,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-62"},"d9a4e288-65":{"renderedLength":1129,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-64"},"d9a4e288-67":{"renderedLength":460,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-66"},"d9a4e288-69":{"renderedLength":458,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-68"},"d9a4e288-71":{"renderedLength":850,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-70"},"d9a4e288-73":{"renderedLength":624,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-72"},"d9a4e288-75":{"renderedLength":482,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-74"},"d9a4e288-77":{"renderedLength":709,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-76"},"d9a4e288-79":{"renderedLength":839,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-78"},"d9a4e288-81":{"renderedLength":989,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-80"},"d9a4e288-83":{"renderedLength":790,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-82"},"d9a4e288-85":{"renderedLength":589,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-84"},"d9a4e288-87":{"renderedLength":628,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-86"},"d9a4e288-89":{"renderedLength":3024,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-88"},"d9a4e288-91":{"renderedLength":603,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-90"},"d9a4e288-93":{"renderedLength":598,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-92"},"d9a4e288-95":{"renderedLength":146,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-94"},"d9a4e288-97":{"renderedLength":420,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-96"},"d9a4e288-99":{"renderedLength":673,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-98"},"d9a4e288-101":{"renderedLength":467,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-100"},"d9a4e288-103":{"renderedLength":532,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-102"},"d9a4e288-105":{"renderedLength":851,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-104"},"d9a4e288-107":{"renderedLength":740,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-106"},"d9a4e288-109":{"renderedLength":5295,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-108"},"d9a4e288-111":{"renderedLength":405,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-110"},"d9a4e288-113":{"renderedLength":4492,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-112"},"d9a4e288-115":{"renderedLength":4116,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-114"},"d9a4e288-117":{"renderedLength":11751,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-116"},"d9a4e288-119":{"renderedLength":37,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-118"},"d9a4e288-121":{"renderedLength":689,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-120"},"d9a4e288-123":{"renderedLength":495,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-122"},"d9a4e288-125":{"renderedLength":474,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-124"},"d9a4e288-127":{"renderedLength":600,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-126"},"d9a4e288-129":{"renderedLength":606,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-128"},"d9a4e288-131":{"renderedLength":427,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-130"},"d9a4e288-133":{"renderedLength":2427,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-132"},"d9a4e288-135":{"renderedLength":1145,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-134"},"d9a4e288-137":{"renderedLength":424,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-136"},"d9a4e288-139":{"renderedLength":656,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-138"},"d9a4e288-141":{"renderedLength":162,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-140"},"d9a4e288-143":{"renderedLength":367,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-142"},"d9a4e288-145":{"renderedLength":1680,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-144"},"d9a4e288-147":{"renderedLength":229,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-146"},"d9a4e288-149":{"renderedLength":3448,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-148"},"d9a4e288-151":{"renderedLength":325,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-150"},"d9a4e288-153":{"renderedLength":774,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-152"},"d9a4e288-155":{"renderedLength":709,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-154"},"d9a4e288-157":{"renderedLength":2771,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-156"},"d9a4e288-159":{"renderedLength":311,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-158"},"d9a4e288-161":{"renderedLength":443,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-160"},"d9a4e288-163":{"renderedLength":495,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-162"},"d9a4e288-165":{"renderedLength":2126,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-164"},"d9a4e288-167":{"renderedLength":305,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-166"},"d9a4e288-169":{"renderedLength":234,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-168"},"d9a4e288-171":{"renderedLength":174,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-170"},"d9a4e288-173":{"renderedLength":252,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-172"},"d9a4e288-175":{"renderedLength":1358,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-174"},"d9a4e288-177":{"renderedLength":496,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-176"},"d9a4e288-179":{"renderedLength":177,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-178"},"d9a4e288-181":{"renderedLength":11692,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-180"},"d9a4e288-183":{"renderedLength":12702,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-182"},"d9a4e288-185":{"renderedLength":3151,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-184"},"d9a4e288-187":{"renderedLength":21807,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-186"},"d9a4e288-189":{"renderedLength":3896,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-188"},"d9a4e288-191":{"renderedLength":18184,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-190"},"d9a4e288-193":{"renderedLength":1506,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-192"},"d9a4e288-195":{"renderedLength":13389,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-194"},"d9a4e288-197":{"renderedLength":1512,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-196"},"d9a4e288-199":{"renderedLength":424,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-198"},"d9a4e288-201":{"renderedLength":2849,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-200"},"d9a4e288-203":{"renderedLength":16334,"gzipLength":0,"brotliLength":0,"metaUid":"d9a4e288-202"}},"nodeMetas":{"d9a4e288-0":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Constants.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-1"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-32"},{"uid":"d9a4e288-38"},{"uid":"d9a4e288-4"},{"uid":"d9a4e288-58"},{"uid":"d9a4e288-114"},{"uid":"d9a4e288-116"},{"uid":"d9a4e288-8"},{"uid":"d9a4e288-22"},{"uid":"d9a4e288-24"},{"uid":"d9a4e288-194"},{"uid":"d9a4e288-182"},{"uid":"d9a4e288-184"},{"uid":"d9a4e288-190"},{"uid":"d9a4e288-192"},{"uid":"d9a4e288-180"},{"uid":"d9a4e288-186"}]},"d9a4e288-2":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/MoveDirection.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-3"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-88"},{"uid":"d9a4e288-8"},{"uid":"d9a4e288-186"}]},"d9a4e288-4":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Vectors.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-5"},"imported":[{"uid":"d9a4e288-0"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-8"},{"uid":"d9a4e288-22"},{"uid":"d9a4e288-186"}]},"d9a4e288-6":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/TypeUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-7"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-62"},{"uid":"d9a4e288-54"},{"uid":"d9a4e288-64"},{"uid":"d9a4e288-56"},{"uid":"d9a4e288-66"},{"uid":"d9a4e288-58"},{"uid":"d9a4e288-112"},{"uid":"d9a4e288-60"},{"uid":"d9a4e288-96"},{"uid":"d9a4e288-108"},{"uid":"d9a4e288-72"},{"uid":"d9a4e288-92"},{"uid":"d9a4e288-90"},{"uid":"d9a4e288-88"},{"uid":"d9a4e288-74"},{"uid":"d9a4e288-76"},{"uid":"d9a4e288-78"},{"uid":"d9a4e288-84"},{"uid":"d9a4e288-82"},{"uid":"d9a4e288-86"},{"uid":"d9a4e288-102"},{"uid":"d9a4e288-100"},{"uid":"d9a4e288-98"},{"uid":"d9a4e288-104"},{"uid":"d9a4e288-106"},{"uid":"d9a4e288-68"},{"uid":"d9a4e288-80"},{"uid":"d9a4e288-116"},{"uid":"d9a4e288-8"},{"uid":"d9a4e288-22"},{"uid":"d9a4e288-70"}]},"d9a4e288-8":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/MathUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-9"},"imported":[{"uid":"d9a4e288-2"},{"uid":"d9a4e288-0"},{"uid":"d9a4e288-4"},{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-32"},{"uid":"d9a4e288-38"},{"uid":"d9a4e288-54"},{"uid":"d9a4e288-56"},{"uid":"d9a4e288-112"},{"uid":"d9a4e288-72"},{"uid":"d9a4e288-90"},{"uid":"d9a4e288-88"},{"uid":"d9a4e288-74"},{"uid":"d9a4e288-78"},{"uid":"d9a4e288-86"},{"uid":"d9a4e288-80"},{"uid":"d9a4e288-116"},{"uid":"d9a4e288-22"},{"uid":"d9a4e288-194"},{"uid":"d9a4e288-192"},{"uid":"d9a4e288-186"}]},"d9a4e288-10":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/AnimationMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-11"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-54"},{"uid":"d9a4e288-22"}]},"d9a4e288-12":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/AnimationStatus.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-13"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-116"},{"uid":"d9a4e288-22"}]},"d9a4e288-14":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/DestroyType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-15"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-22"}]},"d9a4e288-16":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/OutModeDirection.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-17"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-22"},{"uid":"d9a4e288-186"}]},"d9a4e288-18":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/PixelMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-19"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-76"},{"uid":"d9a4e288-22"}]},"d9a4e288-20":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/StartValueType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-21"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-54"},{"uid":"d9a4e288-22"}]},"d9a4e288-22":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/Utils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-23"},"imported":[{"uid":"d9a4e288-8"},{"uid":"d9a4e288-0"},{"uid":"d9a4e288-6"},{"uid":"d9a4e288-10"},{"uid":"d9a4e288-12"},{"uid":"d9a4e288-14"},{"uid":"d9a4e288-16"},{"uid":"d9a4e288-18"},{"uid":"d9a4e288-20"},{"uid":"d9a4e288-4"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-32"},{"uid":"d9a4e288-112"},{"uid":"d9a4e288-108"},{"uid":"d9a4e288-82"},{"uid":"d9a4e288-86"},{"uid":"d9a4e288-104"},{"uid":"d9a4e288-116"},{"uid":"d9a4e288-28"},{"uid":"d9a4e288-70"},{"uid":"d9a4e288-182"},{"uid":"d9a4e288-184"},{"uid":"d9a4e288-186"}]},"d9a4e288-24":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/EventDispatcher.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-25"},"imported":[{"uid":"d9a4e288-0"}],"importedBy":[{"uid":"d9a4e288-32"}]},"d9a4e288-26":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/EventType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-27"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-28"},{"uid":"d9a4e288-194"},{"uid":"d9a4e288-190"},{"uid":"d9a4e288-186"}]},"d9a4e288-28":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/PluginManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-29"},"imported":[{"uid":"d9a4e288-22"},{"uid":"d9a4e288-26"}],"importedBy":[{"uid":"d9a4e288-32"}]},"d9a4e288-30":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/LogUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-31"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-32"},{"uid":"d9a4e288-194"},{"uid":"d9a4e288-190"}]},"d9a4e288-32":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Engine.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-33"},"imported":[{"uid":"d9a4e288-0"},{"uid":"d9a4e288-22"},{"uid":"d9a4e288-24"},{"uid":"d9a4e288-28"},{"uid":"d9a4e288-30"},{"uid":"d9a4e288-8"},{"uid":"d9a4e288-194","dynamic":true}],"importedBy":[{"uid":"d9a4e288-34"}]},"d9a4e288-34":{"id":"/home/workflows/workspace/engine/dist/browser/initEngine.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-35"},"imported":[{"uid":"d9a4e288-32"}],"importedBy":[{"uid":"d9a4e288-118"}]},"d9a4e288-36":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/RangeType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-37"},"imported":[],"importedBy":[{"uid":"d9a4e288-38"}]},"d9a4e288-38":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Ranges.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-39"},"imported":[{"uid":"d9a4e288-36"},{"uid":"d9a4e288-8"},{"uid":"d9a4e288-0"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-188"}]},"d9a4e288-40":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/RotateDirection.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-41"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"}]},"d9a4e288-42":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/LimitMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-43"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-100"},{"uid":"d9a4e288-190"}]},"d9a4e288-44":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/OutMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-45"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-84"},{"uid":"d9a4e288-186"}]},"d9a4e288-46":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/AlterType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-47"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-116"}]},"d9a4e288-48":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/GradientType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-49"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"}]},"d9a4e288-50":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/ParticleOutType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-51"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-186"}]},"d9a4e288-52":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/EasingType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-53"},"imported":[],"importedBy":[{"uid":"d9a4e288-204"}]},"d9a4e288-54":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/AnimationOptions.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-55"},"imported":[{"uid":"d9a4e288-10"},{"uid":"d9a4e288-20"},{"uid":"d9a4e288-6"},{"uid":"d9a4e288-8"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-56"},{"uid":"d9a4e288-80"}]},"d9a4e288-56":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ColorAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-57"},"imported":[{"uid":"d9a4e288-54"},{"uid":"d9a4e288-6"},{"uid":"d9a4e288-8"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-58"}]},"d9a4e288-58":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/HslAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-59"},"imported":[{"uid":"d9a4e288-0"},{"uid":"d9a4e288-56"},{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-62"}]},"d9a4e288-60":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/OptionsColor.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-61"},"imported":[{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-62"},{"uid":"d9a4e288-64"}]},"d9a4e288-62":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/AnimatableColor.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-63"},"imported":[{"uid":"d9a4e288-6"},{"uid":"d9a4e288-58"},{"uid":"d9a4e288-60"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-108"},{"uid":"d9a4e288-72"},{"uid":"d9a4e288-92"},{"uid":"d9a4e288-90"}]},"d9a4e288-64":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Background/Background.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-65"},"imported":[{"uid":"d9a4e288-60"},{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-112"}]},"d9a4e288-66":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/FullScreen/FullScreen.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-67"},"imported":[{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-112"}]},"d9a4e288-68":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ResizeEvent.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-69"},"imported":[{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-112"}]},"d9a4e288-70":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Effect/Effect.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-71"},"imported":[{"uid":"d9a4e288-22"},{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-108"}]},"d9a4e288-72":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Fill.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-73"},"imported":[{"uid":"d9a4e288-62"},{"uid":"d9a4e288-6"},{"uid":"d9a4e288-8"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-108"},{"uid":"d9a4e288-92"}]},"d9a4e288-74":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveAngle.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-75"},"imported":[{"uid":"d9a4e288-6"},{"uid":"d9a4e288-8"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-88"}]},"d9a4e288-76":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveCenter.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-77"},"imported":[{"uid":"d9a4e288-18"},{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-88"}]},"d9a4e288-78":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveGravity.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-79"},"imported":[{"uid":"d9a4e288-6"},{"uid":"d9a4e288-8"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-88"}]},"d9a4e288-80":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ValueWithRandom.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-81"},"imported":[{"uid":"d9a4e288-54"},{"uid":"d9a4e288-6"},{"uid":"d9a4e288-8"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-94"},{"uid":"d9a4e288-82"},{"uid":"d9a4e288-106"}]},"d9a4e288-82":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Path/MovePath.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-83"},"imported":[{"uid":"d9a4e288-80"},{"uid":"d9a4e288-22"},{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-88"}]},"d9a4e288-84":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/OutModes.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-85"},"imported":[{"uid":"d9a4e288-44"},{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-88"}]},"d9a4e288-86":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Spin.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-87"},"imported":[{"uid":"d9a4e288-22"},{"uid":"d9a4e288-6"},{"uid":"d9a4e288-8"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-88"}]},"d9a4e288-88":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Move.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-89"},"imported":[{"uid":"d9a4e288-2"},{"uid":"d9a4e288-6"},{"uid":"d9a4e288-74"},{"uid":"d9a4e288-76"},{"uid":"d9a4e288-78"},{"uid":"d9a4e288-82"},{"uid":"d9a4e288-84"},{"uid":"d9a4e288-86"},{"uid":"d9a4e288-8"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-108"}]},"d9a4e288-90":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Stroke.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-91"},"imported":[{"uid":"d9a4e288-62"},{"uid":"d9a4e288-6"},{"uid":"d9a4e288-8"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-92"}]},"d9a4e288-92":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Paint.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-93"},"imported":[{"uid":"d9a4e288-62"},{"uid":"d9a4e288-72"},{"uid":"d9a4e288-90"},{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-108"}]},"d9a4e288-94":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-95"},"imported":[{"uid":"d9a4e288-80"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-96"}]},"d9a4e288-96":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Bounce/ParticlesBounce.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-97"},"imported":[{"uid":"d9a4e288-94"},{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-108"}]},"d9a4e288-98":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesDensity.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-99"},"imported":[{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-102"}]},"d9a4e288-100":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesNumberLimit.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-101"},"imported":[{"uid":"d9a4e288-42"},{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-102"}]},"d9a4e288-102":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesNumber.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-103"},"imported":[{"uid":"d9a4e288-98"},{"uid":"d9a4e288-100"},{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-108"}]},"d9a4e288-104":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Shape/Shape.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-105"},"imported":[{"uid":"d9a4e288-22"},{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-108"}]},"d9a4e288-106":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/ZIndex/ZIndex.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-107"},"imported":[{"uid":"d9a4e288-80"},{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-108"}]},"d9a4e288-108":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/ParticlesOptions.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-109"},"imported":[{"uid":"d9a4e288-22"},{"uid":"d9a4e288-6"},{"uid":"d9a4e288-62"},{"uid":"d9a4e288-70"},{"uid":"d9a4e288-72"},{"uid":"d9a4e288-88"},{"uid":"d9a4e288-92"},{"uid":"d9a4e288-96"},{"uid":"d9a4e288-102"},{"uid":"d9a4e288-104"},{"uid":"d9a4e288-106"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-110"}]},"d9a4e288-110":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/OptionsUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-111"},"imported":[{"uid":"d9a4e288-108"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-112"},{"uid":"d9a4e288-194"},{"uid":"d9a4e288-190"},{"uid":"d9a4e288-186"}]},"d9a4e288-112":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Options.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-113"},"imported":[{"uid":"d9a4e288-22"},{"uid":"d9a4e288-6"},{"uid":"d9a4e288-64"},{"uid":"d9a4e288-66"},{"uid":"d9a4e288-68"},{"uid":"d9a4e288-110"},{"uid":"d9a4e288-8"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-194"}]},"d9a4e288-114":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/CanvasUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-115"},"imported":[{"uid":"d9a4e288-0"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-180"}]},"d9a4e288-116":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/ColorUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-117"},"imported":[{"uid":"d9a4e288-8"},{"uid":"d9a4e288-0"},{"uid":"d9a4e288-6"},{"uid":"d9a4e288-46"},{"uid":"d9a4e288-12"},{"uid":"d9a4e288-22"}],"importedBy":[{"uid":"d9a4e288-204"},{"uid":"d9a4e288-182"},{"uid":"d9a4e288-180"},{"uid":"d9a4e288-186"}]},"d9a4e288-118":{"id":"/home/workflows/workspace/engine/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-119"},"imported":[{"uid":"d9a4e288-34"},{"uid":"d9a4e288-204"}],"importedBy":[{"uid":"d9a4e288-178"},{"uid":"d9a4e288-174"},{"uid":"d9a4e288-134"},{"uid":"d9a4e288-148"},{"uid":"d9a4e288-156"},{"uid":"d9a4e288-164"},{"uid":"d9a4e288-132"},{"uid":"d9a4e288-196"},{"uid":"d9a4e288-200"},{"uid":"d9a4e288-154"},{"uid":"d9a4e288-162"},{"uid":"d9a4e288-168"},{"uid":"d9a4e288-120"},{"uid":"d9a4e288-122"},{"uid":"d9a4e288-126"},{"uid":"d9a4e288-128"},{"uid":"d9a4e288-130"},{"uid":"d9a4e288-202"},{"uid":"d9a4e288-152"},{"uid":"d9a4e288-160"},{"uid":"d9a4e288-124"}]},"d9a4e288-120":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterLife.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-121"},"imported":[{"uid":"d9a4e288-118"}],"importedBy":[{"uid":"d9a4e288-132"}]},"d9a4e288-122":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterRate.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-123"},"imported":[{"uid":"d9a4e288-118"}],"importedBy":[{"uid":"d9a4e288-132"}]},"d9a4e288-124":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterShapeReplace.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-125"},"imported":[{"uid":"d9a4e288-118"}],"importedBy":[{"uid":"d9a4e288-126"}]},"d9a4e288-126":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterShape.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-127"},"imported":[{"uid":"d9a4e288-118"},{"uid":"d9a4e288-124"}],"importedBy":[{"uid":"d9a4e288-132"}]},"d9a4e288-128":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterSize.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-129"},"imported":[{"uid":"d9a4e288-118"}],"importedBy":[{"uid":"d9a4e288-132"},{"uid":"d9a4e288-202"}]},"d9a4e288-130":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterSpawn.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-131"},"imported":[{"uid":"d9a4e288-118"}],"importedBy":[{"uid":"d9a4e288-132"}]},"d9a4e288-132":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/Emitter.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-133"},"imported":[{"uid":"d9a4e288-118"},{"uid":"d9a4e288-120"},{"uid":"d9a4e288-122"},{"uid":"d9a4e288-126"},{"uid":"d9a4e288-128"},{"uid":"d9a4e288-130"}],"importedBy":[{"uid":"d9a4e288-134"},{"uid":"d9a4e288-200"},{"uid":"d9a4e288-202"}]},"d9a4e288-134":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmittersPlugin.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-135"},"imported":[{"uid":"d9a4e288-118"},{"uid":"d9a4e288-132"},{"uid":"d9a4e288-196","dynamic":true}],"importedBy":[{"uid":"d9a4e288-142"}]},"d9a4e288-136":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/addEmittersShapesManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-137"},"imported":[{"uid":"d9a4e288-198","dynamic":true}],"importedBy":[{"uid":"d9a4e288-142"}]},"d9a4e288-138":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/getEmittersInstancesManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-139"},"imported":[{"uid":"d9a4e288-200","dynamic":true}],"importedBy":[{"uid":"d9a4e288-142"}]},"d9a4e288-140":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Enums/EmitterClickMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-141"},"imported":[],"importedBy":[{"uid":"d9a4e288-142"}]},"d9a4e288-142":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/plugin.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-143"},"imported":[{"uid":"d9a4e288-134"},{"uid":"d9a4e288-136"},{"uid":"d9a4e288-138"},{"uid":"d9a4e288-205"},{"uid":"d9a4e288-140"}],"importedBy":[{"uid":"d9a4e288-176"}]},"d9a4e288-144":{"id":"/home/workflows/workspace/plugins/colors/hex/dist/browser/HexColorManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-145"},"imported":[],"importedBy":[{"uid":"d9a4e288-146"}]},"d9a4e288-146":{"id":"/home/workflows/workspace/plugins/colors/hex/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-147"},"imported":[{"uid":"d9a4e288-144"}],"importedBy":[{"uid":"d9a4e288-176"}]},"d9a4e288-148":{"id":"/home/workflows/workspace/updaters/paint/dist/browser/PaintUpdater.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-149"},"imported":[{"uid":"d9a4e288-118"}],"importedBy":[{"uid":"d9a4e288-150"}]},"d9a4e288-150":{"id":"/home/workflows/workspace/updaters/paint/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-151"},"imported":[{"uid":"d9a4e288-148"}],"importedBy":[{"uid":"d9a4e288-176"}]},"d9a4e288-152":{"id":"/home/workflows/workspace/updaters/rotate/dist/browser/Options/Classes/RotateAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-153"},"imported":[{"uid":"d9a4e288-118"}],"importedBy":[{"uid":"d9a4e288-154"}]},"d9a4e288-154":{"id":"/home/workflows/workspace/updaters/rotate/dist/browser/Options/Classes/Rotate.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-155"},"imported":[{"uid":"d9a4e288-118"},{"uid":"d9a4e288-152"}],"importedBy":[{"uid":"d9a4e288-156"}]},"d9a4e288-156":{"id":"/home/workflows/workspace/updaters/rotate/dist/browser/RotateUpdater.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-157"},"imported":[{"uid":"d9a4e288-118"},{"uid":"d9a4e288-154"}],"importedBy":[{"uid":"d9a4e288-158"}]},"d9a4e288-158":{"id":"/home/workflows/workspace/updaters/rotate/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-159"},"imported":[{"uid":"d9a4e288-156"}],"importedBy":[{"uid":"d9a4e288-176"}]},"d9a4e288-160":{"id":"/home/workflows/workspace/updaters/size/dist/browser/Options/Classes/SizeAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-161"},"imported":[{"uid":"d9a4e288-118"}],"importedBy":[{"uid":"d9a4e288-162"}]},"d9a4e288-162":{"id":"/home/workflows/workspace/updaters/size/dist/browser/Options/Classes/Size.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-163"},"imported":[{"uid":"d9a4e288-118"},{"uid":"d9a4e288-160"}],"importedBy":[{"uid":"d9a4e288-164"}]},"d9a4e288-164":{"id":"/home/workflows/workspace/updaters/size/dist/browser/SizeUpdater.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-165"},"imported":[{"uid":"d9a4e288-118"},{"uid":"d9a4e288-162"}],"importedBy":[{"uid":"d9a4e288-166"}]},"d9a4e288-166":{"id":"/home/workflows/workspace/updaters/size/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-167"},"imported":[{"uid":"d9a4e288-164"}],"importedBy":[{"uid":"d9a4e288-176"}]},"d9a4e288-168":{"id":"/home/workflows/workspace/shapes/square/dist/browser/Utils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-169"},"imported":[{"uid":"d9a4e288-118"}],"importedBy":[{"uid":"d9a4e288-170"}]},"d9a4e288-170":{"id":"/home/workflows/workspace/shapes/square/dist/browser/SquareDrawer.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-171"},"imported":[{"uid":"d9a4e288-168"}],"importedBy":[{"uid":"d9a4e288-172"}]},"d9a4e288-172":{"id":"/home/workflows/workspace/shapes/square/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-173"},"imported":[{"uid":"d9a4e288-170"}],"importedBy":[{"uid":"d9a4e288-176"}]},"d9a4e288-174":{"id":"/dist/browser/options.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-175"},"imported":[{"uid":"d9a4e288-118"}],"importedBy":[{"uid":"d9a4e288-176"}]},"d9a4e288-176":{"id":"/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-177"},"imported":[{"uid":"d9a4e288-142"},{"uid":"d9a4e288-146"},{"uid":"d9a4e288-150"},{"uid":"d9a4e288-158"},{"uid":"d9a4e288-166"},{"uid":"d9a4e288-172"},{"uid":"d9a4e288-174"}],"importedBy":[{"uid":"d9a4e288-178"}]},"d9a4e288-178":{"id":"/dist/browser/bundle.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-179"},"imported":[{"uid":"d9a4e288-176"},{"uid":"d9a4e288-118"}],"importedBy":[],"isEntry":true},"d9a4e288-180":{"id":"/home/workflows/workspace/engine/dist/browser/Core/RenderManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-181"},"imported":[{"uid":"d9a4e288-114"},{"uid":"d9a4e288-0"},{"uid":"d9a4e288-116"}],"importedBy":[{"uid":"d9a4e288-182"}]},"d9a4e288-182":{"id":"/home/workflows/workspace/engine/dist/browser/Core/CanvasManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-183"},"imported":[{"uid":"d9a4e288-22"},{"uid":"d9a4e288-0"},{"uid":"d9a4e288-116"},{"uid":"d9a4e288-180"}],"importedBy":[{"uid":"d9a4e288-194"}]},"d9a4e288-184":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/EventListeners.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-185"},"imported":[{"uid":"d9a4e288-22"},{"uid":"d9a4e288-0"}],"importedBy":[{"uid":"d9a4e288-194"}]},"d9a4e288-186":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Particle.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-187"},"imported":[{"uid":"d9a4e288-4"},{"uid":"d9a4e288-116"},{"uid":"d9a4e288-8"},{"uid":"d9a4e288-22"},{"uid":"d9a4e288-0"},{"uid":"d9a4e288-26"},{"uid":"d9a4e288-2"},{"uid":"d9a4e288-44"},{"uid":"d9a4e288-16"},{"uid":"d9a4e288-50"},{"uid":"d9a4e288-110"}],"importedBy":[{"uid":"d9a4e288-190"}]},"d9a4e288-188":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/SpatialHashGrid.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-189"},"imported":[{"uid":"d9a4e288-38"}],"importedBy":[{"uid":"d9a4e288-190"}]},"d9a4e288-190":{"id":"/home/workflows/workspace/engine/dist/browser/Core/ParticlesManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-191"},"imported":[{"uid":"d9a4e288-0"},{"uid":"d9a4e288-26"},{"uid":"d9a4e288-42"},{"uid":"d9a4e288-186"},{"uid":"d9a4e288-188"},{"uid":"d9a4e288-30"},{"uid":"d9a4e288-110"}],"importedBy":[{"uid":"d9a4e288-194"}]},"d9a4e288-192":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Retina.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-193"},"imported":[{"uid":"d9a4e288-0"},{"uid":"d9a4e288-8"}],"importedBy":[{"uid":"d9a4e288-194"}]},"d9a4e288-194":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Container.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-195"},"imported":[{"uid":"d9a4e288-8"},{"uid":"d9a4e288-0"},{"uid":"d9a4e288-182"},{"uid":"d9a4e288-184"},{"uid":"d9a4e288-26"},{"uid":"d9a4e288-112"},{"uid":"d9a4e288-190"},{"uid":"d9a4e288-192"},{"uid":"d9a4e288-30"},{"uid":"d9a4e288-110"}],"importedBy":[{"uid":"d9a4e288-32"}]},"d9a4e288-196":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmittersPluginInstance.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-197"},"imported":[{"uid":"d9a4e288-118"}],"importedBy":[{"uid":"d9a4e288-134"}]},"d9a4e288-198":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/ShapeManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-199"},"imported":[],"importedBy":[{"uid":"d9a4e288-136"}]},"d9a4e288-200":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmittersInstancesManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-201"},"imported":[{"uid":"d9a4e288-118"},{"uid":"d9a4e288-132"},{"uid":"d9a4e288-202","dynamic":true}],"importedBy":[{"uid":"d9a4e288-138"}]},"d9a4e288-202":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmitterInstance.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"d9a4e288-203"},"imported":[{"uid":"d9a4e288-118"},{"uid":"d9a4e288-132"},{"uid":"d9a4e288-128"}],"importedBy":[{"uid":"d9a4e288-200"}]},"d9a4e288-204":{"id":"/home/workflows/workspace/engine/dist/browser/exports.js","moduleParts":{},"imported":[{"uid":"d9a4e288-0"},{"uid":"d9a4e288-38"},{"uid":"d9a4e288-4"},{"uid":"d9a4e288-2"},{"uid":"d9a4e288-40"},{"uid":"d9a4e288-16"},{"uid":"d9a4e288-10"},{"uid":"d9a4e288-42"},{"uid":"d9a4e288-44"},{"uid":"d9a4e288-18"},{"uid":"d9a4e288-46"},{"uid":"d9a4e288-14"},{"uid":"d9a4e288-48"},{"uid":"d9a4e288-50"},{"uid":"d9a4e288-20"},{"uid":"d9a4e288-52"},{"uid":"d9a4e288-26"},{"uid":"d9a4e288-12"},{"uid":"d9a4e288-62"},{"uid":"d9a4e288-54"},{"uid":"d9a4e288-64"},{"uid":"d9a4e288-56"},{"uid":"d9a4e288-66"},{"uid":"d9a4e288-58"},{"uid":"d9a4e288-112"},{"uid":"d9a4e288-60"},{"uid":"d9a4e288-96"},{"uid":"d9a4e288-94"},{"uid":"d9a4e288-108"},{"uid":"d9a4e288-72"},{"uid":"d9a4e288-92"},{"uid":"d9a4e288-90"},{"uid":"d9a4e288-88"},{"uid":"d9a4e288-74"},{"uid":"d9a4e288-76"},{"uid":"d9a4e288-78"},{"uid":"d9a4e288-84"},{"uid":"d9a4e288-82"},{"uid":"d9a4e288-86"},{"uid":"d9a4e288-102"},{"uid":"d9a4e288-100"},{"uid":"d9a4e288-98"},{"uid":"d9a4e288-104"},{"uid":"d9a4e288-106"},{"uid":"d9a4e288-68"},{"uid":"d9a4e288-80"},{"uid":"d9a4e288-114"},{"uid":"d9a4e288-116"},{"uid":"d9a4e288-30"},{"uid":"d9a4e288-8"},{"uid":"d9a4e288-110"},{"uid":"d9a4e288-22"},{"uid":"d9a4e288-6"}],"importedBy":[{"uid":"d9a4e288-118"}]},"d9a4e288-205":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmitterShapeBase.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"d9a4e288-142"}]}},"env":{"rollup":"4.60.4"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
|
|
4933
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"tsparticles.preset.squares.bundle.js","children":[{"name":"home/workflows/workspace","children":[{"name":"engine/dist/browser","children":[{"name":"Core","children":[{"name":"Utils","children":[{"uid":"6fe21027-1","name":"Constants.js"},{"uid":"6fe21027-5","name":"Vectors.js"},{"uid":"6fe21027-29","name":"PluginManager.js"},{"uid":"6fe21027-39","name":"Ranges.js"},{"uid":"6fe21027-185","name":"EventListeners.js"},{"uid":"6fe21027-189","name":"SpatialHashGrid.js"}]},{"uid":"6fe21027-33","name":"Engine.js"},{"uid":"6fe21027-181","name":"RenderManager.js"},{"uid":"6fe21027-183","name":"CanvasManager.js"},{"uid":"6fe21027-187","name":"Particle.js"},{"uid":"6fe21027-191","name":"ParticlesManager.js"},{"uid":"6fe21027-193","name":"Retina.js"},{"uid":"6fe21027-195","name":"Container.js"}]},{"name":"Enums","children":[{"name":"Directions","children":[{"uid":"6fe21027-3","name":"MoveDirection.js"},{"uid":"6fe21027-17","name":"OutModeDirection.js"},{"uid":"6fe21027-41","name":"RotateDirection.js"}]},{"name":"Modes","children":[{"uid":"6fe21027-11","name":"AnimationMode.js"},{"uid":"6fe21027-19","name":"PixelMode.js"},{"uid":"6fe21027-43","name":"LimitMode.js"},{"uid":"6fe21027-45","name":"OutMode.js"}]},{"uid":"6fe21027-13","name":"AnimationStatus.js"},{"name":"Types","children":[{"uid":"6fe21027-15","name":"DestroyType.js"},{"uid":"6fe21027-21","name":"StartValueType.js"},{"uid":"6fe21027-27","name":"EventType.js"},{"uid":"6fe21027-47","name":"AlterType.js"},{"uid":"6fe21027-49","name":"GradientType.js"},{"uid":"6fe21027-51","name":"ParticleOutType.js"},{"uid":"6fe21027-53","name":"EasingType.js"}]},{"uid":"6fe21027-37","name":"RangeType.js"}]},{"name":"Utils","children":[{"uid":"6fe21027-7","name":"TypeUtils.js"},{"uid":"6fe21027-9","name":"MathUtils.js"},{"uid":"6fe21027-23","name":"Utils.js"},{"uid":"6fe21027-25","name":"EventDispatcher.js"},{"uid":"6fe21027-31","name":"LogUtils.js"},{"uid":"6fe21027-111","name":"OptionsUtils.js"},{"uid":"6fe21027-115","name":"CanvasUtils.js"},{"uid":"6fe21027-117","name":"ColorUtils.js"}]},{"uid":"6fe21027-35","name":"initEngine.js"},{"name":"Options/Classes","children":[{"uid":"6fe21027-55","name":"AnimationOptions.js"},{"uid":"6fe21027-57","name":"ColorAnimation.js"},{"uid":"6fe21027-59","name":"HslAnimation.js"},{"uid":"6fe21027-61","name":"OptionsColor.js"},{"uid":"6fe21027-63","name":"AnimatableColor.js"},{"name":"Background/Background.js","uid":"6fe21027-65"},{"name":"FullScreen/FullScreen.js","uid":"6fe21027-67"},{"uid":"6fe21027-69","name":"ResizeEvent.js"},{"name":"Particles","children":[{"name":"Effect/Effect.js","uid":"6fe21027-71"},{"uid":"6fe21027-73","name":"Fill.js"},{"name":"Move","children":[{"uid":"6fe21027-75","name":"MoveAngle.js"},{"uid":"6fe21027-77","name":"MoveCenter.js"},{"uid":"6fe21027-79","name":"MoveGravity.js"},{"name":"Path/MovePath.js","uid":"6fe21027-83"},{"uid":"6fe21027-85","name":"OutModes.js"},{"uid":"6fe21027-87","name":"Spin.js"},{"uid":"6fe21027-89","name":"Move.js"}]},{"uid":"6fe21027-91","name":"Stroke.js"},{"uid":"6fe21027-93","name":"Paint.js"},{"name":"Bounce","children":[{"uid":"6fe21027-95","name":"ParticlesBounceFactor.js"},{"uid":"6fe21027-97","name":"ParticlesBounce.js"}]},{"name":"Number","children":[{"uid":"6fe21027-99","name":"ParticlesDensity.js"},{"uid":"6fe21027-101","name":"ParticlesNumberLimit.js"},{"uid":"6fe21027-103","name":"ParticlesNumber.js"}]},{"name":"Shape/Shape.js","uid":"6fe21027-105"},{"name":"ZIndex/ZIndex.js","uid":"6fe21027-107"},{"uid":"6fe21027-109","name":"ParticlesOptions.js"}]},{"uid":"6fe21027-81","name":"ValueWithRandom.js"},{"uid":"6fe21027-113","name":"Options.js"}]},{"uid":"6fe21027-119","name":"index.js"}]},{"name":"plugins","children":[{"name":"emitters/dist/browser","children":[{"name":"Options/Classes","children":[{"uid":"6fe21027-121","name":"EmitterLife.js"},{"uid":"6fe21027-123","name":"EmitterRate.js"},{"uid":"6fe21027-125","name":"EmitterShapeReplace.js"},{"uid":"6fe21027-127","name":"EmitterShape.js"},{"uid":"6fe21027-129","name":"EmitterSize.js"},{"uid":"6fe21027-131","name":"EmitterSpawn.js"},{"uid":"6fe21027-133","name":"Emitter.js"}]},{"uid":"6fe21027-135","name":"EmittersPlugin.js"},{"uid":"6fe21027-137","name":"addEmittersShapesManager.js"},{"uid":"6fe21027-139","name":"getEmittersInstancesManager.js"},{"name":"Enums/EmitterClickMode.js","uid":"6fe21027-141"},{"uid":"6fe21027-143","name":"plugin.js"},{"uid":"6fe21027-197","name":"EmittersPluginInstance.js"},{"uid":"6fe21027-199","name":"ShapeManager.js"},{"uid":"6fe21027-201","name":"EmittersInstancesManager.js"},{"uid":"6fe21027-203","name":"EmitterInstance.js"}]},{"name":"colors/hex/dist/browser","children":[{"uid":"6fe21027-145","name":"HexColorManager.js"},{"uid":"6fe21027-147","name":"index.js"}]}]},{"name":"updaters","children":[{"name":"paint/dist/browser","children":[{"uid":"6fe21027-149","name":"PaintUpdater.js"},{"uid":"6fe21027-151","name":"index.js"}]},{"name":"rotate/dist/browser","children":[{"name":"Options/Classes","children":[{"uid":"6fe21027-153","name":"RotateAnimation.js"},{"uid":"6fe21027-155","name":"Rotate.js"}]},{"uid":"6fe21027-157","name":"RotateUpdater.js"},{"uid":"6fe21027-159","name":"index.js"}]},{"name":"size/dist/browser","children":[{"name":"Options/Classes","children":[{"uid":"6fe21027-161","name":"SizeAnimation.js"},{"uid":"6fe21027-163","name":"Size.js"}]},{"uid":"6fe21027-165","name":"SizeUpdater.js"},{"uid":"6fe21027-167","name":"index.js"}]}]},{"name":"shapes/square/dist/browser","children":[{"uid":"6fe21027-169","name":"Utils.js"},{"uid":"6fe21027-171","name":"SquareDrawer.js"},{"uid":"6fe21027-173","name":"index.js"}]}]},{"name":"dist/browser","children":[{"uid":"6fe21027-175","name":"options.js"},{"uid":"6fe21027-177","name":"index.js"},{"uid":"6fe21027-179","name":"bundle.js"}]}]}],"isRoot":true},"nodeParts":{"6fe21027-1":{"renderedLength":1480,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-0"},"6fe21027-3":{"renderedLength":599,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-2"},"6fe21027-5":{"renderedLength":3316,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-4"},"6fe21027-7":{"renderedLength":469,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-6"},"6fe21027-9":{"renderedLength":4305,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-8"},"6fe21027-11":{"renderedLength":281,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-10"},"6fe21027-13":{"renderedLength":217,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-12"},"6fe21027-15":{"renderedLength":203,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-14"},"6fe21027-17":{"renderedLength":289,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-16"},"6fe21027-19":{"renderedLength":169,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-18"},"6fe21027-21":{"renderedLength":228,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-20"},"6fe21027-23":{"renderedLength":14631,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-22"},"6fe21027-25":{"renderedLength":1416,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-24"},"6fe21027-27":{"renderedLength":771,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-26"},"6fe21027-29":{"renderedLength":5067,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-28"},"6fe21027-31":{"renderedLength":538,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-30"},"6fe21027-33":{"renderedLength":6107,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-32"},"6fe21027-35":{"renderedLength":62,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-34"},"6fe21027-37":{"renderedLength":171,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-36"},"6fe21027-39":{"renderedLength":2748,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-38"},"6fe21027-41":{"renderedLength":274,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-40"},"6fe21027-43":{"renderedLength":161,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-42"},"6fe21027-45":{"renderedLength":257,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-44"},"6fe21027-47":{"renderedLength":171,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-46"},"6fe21027-49":{"renderedLength":226,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-48"},"6fe21027-51":{"renderedLength":249,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-50"},"6fe21027-53":{"renderedLength":2495,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-52"},"6fe21027-55":{"renderedLength":1682,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-54"},"6fe21027-57":{"renderedLength":711,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-56"},"6fe21027-59":{"renderedLength":362,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-58"},"6fe21027-61":{"renderedLength":708,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-60"},"6fe21027-63":{"renderedLength":1063,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-62"},"6fe21027-65":{"renderedLength":1129,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-64"},"6fe21027-67":{"renderedLength":460,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-66"},"6fe21027-69":{"renderedLength":458,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-68"},"6fe21027-71":{"renderedLength":850,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-70"},"6fe21027-73":{"renderedLength":624,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-72"},"6fe21027-75":{"renderedLength":482,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-74"},"6fe21027-77":{"renderedLength":709,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-76"},"6fe21027-79":{"renderedLength":839,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-78"},"6fe21027-81":{"renderedLength":989,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-80"},"6fe21027-83":{"renderedLength":790,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-82"},"6fe21027-85":{"renderedLength":589,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-84"},"6fe21027-87":{"renderedLength":628,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-86"},"6fe21027-89":{"renderedLength":3024,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-88"},"6fe21027-91":{"renderedLength":603,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-90"},"6fe21027-93":{"renderedLength":598,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-92"},"6fe21027-95":{"renderedLength":146,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-94"},"6fe21027-97":{"renderedLength":420,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-96"},"6fe21027-99":{"renderedLength":673,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-98"},"6fe21027-101":{"renderedLength":467,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-100"},"6fe21027-103":{"renderedLength":532,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-102"},"6fe21027-105":{"renderedLength":851,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-104"},"6fe21027-107":{"renderedLength":740,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-106"},"6fe21027-109":{"renderedLength":5295,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-108"},"6fe21027-111":{"renderedLength":405,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-110"},"6fe21027-113":{"renderedLength":4492,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-112"},"6fe21027-115":{"renderedLength":4116,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-114"},"6fe21027-117":{"renderedLength":11751,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-116"},"6fe21027-119":{"renderedLength":37,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-118"},"6fe21027-121":{"renderedLength":689,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-120"},"6fe21027-123":{"renderedLength":495,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-122"},"6fe21027-125":{"renderedLength":474,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-124"},"6fe21027-127":{"renderedLength":600,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-126"},"6fe21027-129":{"renderedLength":606,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-128"},"6fe21027-131":{"renderedLength":427,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-130"},"6fe21027-133":{"renderedLength":2427,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-132"},"6fe21027-135":{"renderedLength":1145,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-134"},"6fe21027-137":{"renderedLength":424,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-136"},"6fe21027-139":{"renderedLength":656,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-138"},"6fe21027-141":{"renderedLength":162,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-140"},"6fe21027-143":{"renderedLength":367,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-142"},"6fe21027-145":{"renderedLength":1680,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-144"},"6fe21027-147":{"renderedLength":229,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-146"},"6fe21027-149":{"renderedLength":3448,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-148"},"6fe21027-151":{"renderedLength":325,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-150"},"6fe21027-153":{"renderedLength":774,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-152"},"6fe21027-155":{"renderedLength":709,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-154"},"6fe21027-157":{"renderedLength":2771,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-156"},"6fe21027-159":{"renderedLength":311,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-158"},"6fe21027-161":{"renderedLength":443,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-160"},"6fe21027-163":{"renderedLength":495,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-162"},"6fe21027-165":{"renderedLength":2126,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-164"},"6fe21027-167":{"renderedLength":305,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-166"},"6fe21027-169":{"renderedLength":234,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-168"},"6fe21027-171":{"renderedLength":174,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-170"},"6fe21027-173":{"renderedLength":252,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-172"},"6fe21027-175":{"renderedLength":1358,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-174"},"6fe21027-177":{"renderedLength":496,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-176"},"6fe21027-179":{"renderedLength":136,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-178"},"6fe21027-181":{"renderedLength":11692,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-180"},"6fe21027-183":{"renderedLength":12702,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-182"},"6fe21027-185":{"renderedLength":3151,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-184"},"6fe21027-187":{"renderedLength":21807,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-186"},"6fe21027-189":{"renderedLength":3896,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-188"},"6fe21027-191":{"renderedLength":18184,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-190"},"6fe21027-193":{"renderedLength":1506,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-192"},"6fe21027-195":{"renderedLength":13389,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-194"},"6fe21027-197":{"renderedLength":1512,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-196"},"6fe21027-199":{"renderedLength":424,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-198"},"6fe21027-201":{"renderedLength":2849,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-200"},"6fe21027-203":{"renderedLength":16334,"gzipLength":0,"brotliLength":0,"metaUid":"6fe21027-202"}},"nodeMetas":{"6fe21027-0":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Constants.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-1"},"imported":[],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-32"},{"uid":"6fe21027-38"},{"uid":"6fe21027-4"},{"uid":"6fe21027-58"},{"uid":"6fe21027-114"},{"uid":"6fe21027-116"},{"uid":"6fe21027-8"},{"uid":"6fe21027-22"},{"uid":"6fe21027-24"},{"uid":"6fe21027-194"},{"uid":"6fe21027-182"},{"uid":"6fe21027-184"},{"uid":"6fe21027-190"},{"uid":"6fe21027-192"},{"uid":"6fe21027-180"},{"uid":"6fe21027-186"}]},"6fe21027-2":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/MoveDirection.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-3"},"imported":[],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-88"},{"uid":"6fe21027-8"},{"uid":"6fe21027-186"}]},"6fe21027-4":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Vectors.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-5"},"imported":[{"uid":"6fe21027-0"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-8"},{"uid":"6fe21027-22"},{"uid":"6fe21027-186"}]},"6fe21027-6":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/TypeUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-7"},"imported":[],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-62"},{"uid":"6fe21027-54"},{"uid":"6fe21027-64"},{"uid":"6fe21027-56"},{"uid":"6fe21027-66"},{"uid":"6fe21027-58"},{"uid":"6fe21027-112"},{"uid":"6fe21027-60"},{"uid":"6fe21027-96"},{"uid":"6fe21027-108"},{"uid":"6fe21027-72"},{"uid":"6fe21027-92"},{"uid":"6fe21027-90"},{"uid":"6fe21027-88"},{"uid":"6fe21027-74"},{"uid":"6fe21027-76"},{"uid":"6fe21027-78"},{"uid":"6fe21027-84"},{"uid":"6fe21027-82"},{"uid":"6fe21027-86"},{"uid":"6fe21027-102"},{"uid":"6fe21027-100"},{"uid":"6fe21027-98"},{"uid":"6fe21027-104"},{"uid":"6fe21027-106"},{"uid":"6fe21027-68"},{"uid":"6fe21027-80"},{"uid":"6fe21027-116"},{"uid":"6fe21027-8"},{"uid":"6fe21027-22"},{"uid":"6fe21027-70"}]},"6fe21027-8":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/MathUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-9"},"imported":[{"uid":"6fe21027-2"},{"uid":"6fe21027-0"},{"uid":"6fe21027-4"},{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-32"},{"uid":"6fe21027-38"},{"uid":"6fe21027-54"},{"uid":"6fe21027-56"},{"uid":"6fe21027-112"},{"uid":"6fe21027-72"},{"uid":"6fe21027-90"},{"uid":"6fe21027-88"},{"uid":"6fe21027-74"},{"uid":"6fe21027-78"},{"uid":"6fe21027-86"},{"uid":"6fe21027-80"},{"uid":"6fe21027-116"},{"uid":"6fe21027-22"},{"uid":"6fe21027-194"},{"uid":"6fe21027-192"},{"uid":"6fe21027-186"}]},"6fe21027-10":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/AnimationMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-11"},"imported":[],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-54"},{"uid":"6fe21027-22"}]},"6fe21027-12":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/AnimationStatus.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-13"},"imported":[],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-116"},{"uid":"6fe21027-22"}]},"6fe21027-14":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/DestroyType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-15"},"imported":[],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-22"}]},"6fe21027-16":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/OutModeDirection.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-17"},"imported":[],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-22"},{"uid":"6fe21027-186"}]},"6fe21027-18":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/PixelMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-19"},"imported":[],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-76"},{"uid":"6fe21027-22"}]},"6fe21027-20":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/StartValueType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-21"},"imported":[],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-54"},{"uid":"6fe21027-22"}]},"6fe21027-22":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/Utils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-23"},"imported":[{"uid":"6fe21027-8"},{"uid":"6fe21027-0"},{"uid":"6fe21027-6"},{"uid":"6fe21027-10"},{"uid":"6fe21027-12"},{"uid":"6fe21027-14"},{"uid":"6fe21027-16"},{"uid":"6fe21027-18"},{"uid":"6fe21027-20"},{"uid":"6fe21027-4"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-32"},{"uid":"6fe21027-112"},{"uid":"6fe21027-108"},{"uid":"6fe21027-82"},{"uid":"6fe21027-86"},{"uid":"6fe21027-104"},{"uid":"6fe21027-116"},{"uid":"6fe21027-28"},{"uid":"6fe21027-70"},{"uid":"6fe21027-182"},{"uid":"6fe21027-184"},{"uid":"6fe21027-186"}]},"6fe21027-24":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/EventDispatcher.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-25"},"imported":[{"uid":"6fe21027-0"}],"importedBy":[{"uid":"6fe21027-32"}]},"6fe21027-26":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/EventType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-27"},"imported":[],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-28"},{"uid":"6fe21027-194"},{"uid":"6fe21027-190"},{"uid":"6fe21027-186"}]},"6fe21027-28":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/PluginManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-29"},"imported":[{"uid":"6fe21027-22"},{"uid":"6fe21027-26"}],"importedBy":[{"uid":"6fe21027-32"}]},"6fe21027-30":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/LogUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-31"},"imported":[],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-32"},{"uid":"6fe21027-194"},{"uid":"6fe21027-190"}]},"6fe21027-32":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Engine.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-33"},"imported":[{"uid":"6fe21027-0"},{"uid":"6fe21027-22"},{"uid":"6fe21027-24"},{"uid":"6fe21027-28"},{"uid":"6fe21027-30"},{"uid":"6fe21027-8"},{"uid":"6fe21027-194","dynamic":true}],"importedBy":[{"uid":"6fe21027-34"}]},"6fe21027-34":{"id":"/home/workflows/workspace/engine/dist/browser/initEngine.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-35"},"imported":[{"uid":"6fe21027-32"}],"importedBy":[{"uid":"6fe21027-118"}]},"6fe21027-36":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/RangeType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-37"},"imported":[],"importedBy":[{"uid":"6fe21027-38"}]},"6fe21027-38":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/Ranges.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-39"},"imported":[{"uid":"6fe21027-36"},{"uid":"6fe21027-8"},{"uid":"6fe21027-0"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-188"}]},"6fe21027-40":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Directions/RotateDirection.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-41"},"imported":[],"importedBy":[{"uid":"6fe21027-204"}]},"6fe21027-42":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/LimitMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-43"},"imported":[],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-100"},{"uid":"6fe21027-190"}]},"6fe21027-44":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Modes/OutMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-45"},"imported":[],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-84"},{"uid":"6fe21027-186"}]},"6fe21027-46":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/AlterType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-47"},"imported":[],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-116"}]},"6fe21027-48":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/GradientType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-49"},"imported":[],"importedBy":[{"uid":"6fe21027-204"}]},"6fe21027-50":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/ParticleOutType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-51"},"imported":[],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-186"}]},"6fe21027-52":{"id":"/home/workflows/workspace/engine/dist/browser/Enums/Types/EasingType.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-53"},"imported":[],"importedBy":[{"uid":"6fe21027-204"}]},"6fe21027-54":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/AnimationOptions.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-55"},"imported":[{"uid":"6fe21027-10"},{"uid":"6fe21027-20"},{"uid":"6fe21027-6"},{"uid":"6fe21027-8"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-56"},{"uid":"6fe21027-80"}]},"6fe21027-56":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ColorAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-57"},"imported":[{"uid":"6fe21027-54"},{"uid":"6fe21027-6"},{"uid":"6fe21027-8"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-58"}]},"6fe21027-58":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/HslAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-59"},"imported":[{"uid":"6fe21027-0"},{"uid":"6fe21027-56"},{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-62"}]},"6fe21027-60":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/OptionsColor.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-61"},"imported":[{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-62"},{"uid":"6fe21027-64"}]},"6fe21027-62":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/AnimatableColor.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-63"},"imported":[{"uid":"6fe21027-6"},{"uid":"6fe21027-58"},{"uid":"6fe21027-60"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-108"},{"uid":"6fe21027-72"},{"uid":"6fe21027-92"},{"uid":"6fe21027-90"}]},"6fe21027-64":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Background/Background.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-65"},"imported":[{"uid":"6fe21027-60"},{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-112"}]},"6fe21027-66":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/FullScreen/FullScreen.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-67"},"imported":[{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-112"}]},"6fe21027-68":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ResizeEvent.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-69"},"imported":[{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-112"}]},"6fe21027-70":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Effect/Effect.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-71"},"imported":[{"uid":"6fe21027-22"},{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-108"}]},"6fe21027-72":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Fill.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-73"},"imported":[{"uid":"6fe21027-62"},{"uid":"6fe21027-6"},{"uid":"6fe21027-8"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-108"},{"uid":"6fe21027-92"}]},"6fe21027-74":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveAngle.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-75"},"imported":[{"uid":"6fe21027-6"},{"uid":"6fe21027-8"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-88"}]},"6fe21027-76":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveCenter.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-77"},"imported":[{"uid":"6fe21027-18"},{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-88"}]},"6fe21027-78":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/MoveGravity.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-79"},"imported":[{"uid":"6fe21027-6"},{"uid":"6fe21027-8"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-88"}]},"6fe21027-80":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/ValueWithRandom.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-81"},"imported":[{"uid":"6fe21027-54"},{"uid":"6fe21027-6"},{"uid":"6fe21027-8"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-94"},{"uid":"6fe21027-82"},{"uid":"6fe21027-106"}]},"6fe21027-82":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Path/MovePath.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-83"},"imported":[{"uid":"6fe21027-80"},{"uid":"6fe21027-22"},{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-88"}]},"6fe21027-84":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/OutModes.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-85"},"imported":[{"uid":"6fe21027-44"},{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-88"}]},"6fe21027-86":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Spin.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-87"},"imported":[{"uid":"6fe21027-22"},{"uid":"6fe21027-6"},{"uid":"6fe21027-8"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-88"}]},"6fe21027-88":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Move/Move.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-89"},"imported":[{"uid":"6fe21027-2"},{"uid":"6fe21027-6"},{"uid":"6fe21027-74"},{"uid":"6fe21027-76"},{"uid":"6fe21027-78"},{"uid":"6fe21027-82"},{"uid":"6fe21027-84"},{"uid":"6fe21027-86"},{"uid":"6fe21027-8"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-108"}]},"6fe21027-90":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Stroke.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-91"},"imported":[{"uid":"6fe21027-62"},{"uid":"6fe21027-6"},{"uid":"6fe21027-8"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-92"}]},"6fe21027-92":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Paint.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-93"},"imported":[{"uid":"6fe21027-62"},{"uid":"6fe21027-72"},{"uid":"6fe21027-90"},{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-108"}]},"6fe21027-94":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-95"},"imported":[{"uid":"6fe21027-80"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-96"}]},"6fe21027-96":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Bounce/ParticlesBounce.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-97"},"imported":[{"uid":"6fe21027-94"},{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-108"}]},"6fe21027-98":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesDensity.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-99"},"imported":[{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-102"}]},"6fe21027-100":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesNumberLimit.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-101"},"imported":[{"uid":"6fe21027-42"},{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-102"}]},"6fe21027-102":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Number/ParticlesNumber.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-103"},"imported":[{"uid":"6fe21027-98"},{"uid":"6fe21027-100"},{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-108"}]},"6fe21027-104":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/Shape/Shape.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-105"},"imported":[{"uid":"6fe21027-22"},{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-108"}]},"6fe21027-106":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/ZIndex/ZIndex.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-107"},"imported":[{"uid":"6fe21027-80"},{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-108"}]},"6fe21027-108":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Particles/ParticlesOptions.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-109"},"imported":[{"uid":"6fe21027-22"},{"uid":"6fe21027-6"},{"uid":"6fe21027-62"},{"uid":"6fe21027-70"},{"uid":"6fe21027-72"},{"uid":"6fe21027-88"},{"uid":"6fe21027-92"},{"uid":"6fe21027-96"},{"uid":"6fe21027-102"},{"uid":"6fe21027-104"},{"uid":"6fe21027-106"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-110"}]},"6fe21027-110":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/OptionsUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-111"},"imported":[{"uid":"6fe21027-108"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-112"},{"uid":"6fe21027-194"},{"uid":"6fe21027-190"},{"uid":"6fe21027-186"}]},"6fe21027-112":{"id":"/home/workflows/workspace/engine/dist/browser/Options/Classes/Options.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-113"},"imported":[{"uid":"6fe21027-22"},{"uid":"6fe21027-6"},{"uid":"6fe21027-64"},{"uid":"6fe21027-66"},{"uid":"6fe21027-68"},{"uid":"6fe21027-110"},{"uid":"6fe21027-8"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-194"}]},"6fe21027-114":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/CanvasUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-115"},"imported":[{"uid":"6fe21027-0"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-180"}]},"6fe21027-116":{"id":"/home/workflows/workspace/engine/dist/browser/Utils/ColorUtils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-117"},"imported":[{"uid":"6fe21027-8"},{"uid":"6fe21027-0"},{"uid":"6fe21027-6"},{"uid":"6fe21027-46"},{"uid":"6fe21027-12"},{"uid":"6fe21027-22"}],"importedBy":[{"uid":"6fe21027-204"},{"uid":"6fe21027-182"},{"uid":"6fe21027-180"},{"uid":"6fe21027-186"}]},"6fe21027-118":{"id":"/home/workflows/workspace/engine/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-119"},"imported":[{"uid":"6fe21027-34"},{"uid":"6fe21027-204"}],"importedBy":[{"uid":"6fe21027-178"},{"uid":"6fe21027-174"},{"uid":"6fe21027-134"},{"uid":"6fe21027-148"},{"uid":"6fe21027-156"},{"uid":"6fe21027-164"},{"uid":"6fe21027-132"},{"uid":"6fe21027-196"},{"uid":"6fe21027-200"},{"uid":"6fe21027-154"},{"uid":"6fe21027-162"},{"uid":"6fe21027-168"},{"uid":"6fe21027-120"},{"uid":"6fe21027-122"},{"uid":"6fe21027-126"},{"uid":"6fe21027-128"},{"uid":"6fe21027-130"},{"uid":"6fe21027-202"},{"uid":"6fe21027-152"},{"uid":"6fe21027-160"},{"uid":"6fe21027-124"}]},"6fe21027-120":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterLife.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-121"},"imported":[{"uid":"6fe21027-118"}],"importedBy":[{"uid":"6fe21027-132"}]},"6fe21027-122":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterRate.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-123"},"imported":[{"uid":"6fe21027-118"}],"importedBy":[{"uid":"6fe21027-132"}]},"6fe21027-124":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterShapeReplace.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-125"},"imported":[{"uid":"6fe21027-118"}],"importedBy":[{"uid":"6fe21027-126"}]},"6fe21027-126":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterShape.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-127"},"imported":[{"uid":"6fe21027-118"},{"uid":"6fe21027-124"}],"importedBy":[{"uid":"6fe21027-132"}]},"6fe21027-128":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterSize.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-129"},"imported":[{"uid":"6fe21027-118"}],"importedBy":[{"uid":"6fe21027-132"},{"uid":"6fe21027-202"}]},"6fe21027-130":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/EmitterSpawn.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-131"},"imported":[{"uid":"6fe21027-118"}],"importedBy":[{"uid":"6fe21027-132"}]},"6fe21027-132":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Options/Classes/Emitter.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-133"},"imported":[{"uid":"6fe21027-118"},{"uid":"6fe21027-120"},{"uid":"6fe21027-122"},{"uid":"6fe21027-126"},{"uid":"6fe21027-128"},{"uid":"6fe21027-130"}],"importedBy":[{"uid":"6fe21027-134"},{"uid":"6fe21027-200"},{"uid":"6fe21027-202"}]},"6fe21027-134":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmittersPlugin.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-135"},"imported":[{"uid":"6fe21027-118"},{"uid":"6fe21027-132"},{"uid":"6fe21027-196","dynamic":true}],"importedBy":[{"uid":"6fe21027-142"}]},"6fe21027-136":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/addEmittersShapesManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-137"},"imported":[{"uid":"6fe21027-198","dynamic":true}],"importedBy":[{"uid":"6fe21027-142"}]},"6fe21027-138":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/getEmittersInstancesManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-139"},"imported":[{"uid":"6fe21027-200","dynamic":true}],"importedBy":[{"uid":"6fe21027-142"}]},"6fe21027-140":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/Enums/EmitterClickMode.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-141"},"imported":[],"importedBy":[{"uid":"6fe21027-142"}]},"6fe21027-142":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/plugin.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-143"},"imported":[{"uid":"6fe21027-134"},{"uid":"6fe21027-136"},{"uid":"6fe21027-138"},{"uid":"6fe21027-205"},{"uid":"6fe21027-140"}],"importedBy":[{"uid":"6fe21027-176"}]},"6fe21027-144":{"id":"/home/workflows/workspace/plugins/colors/hex/dist/browser/HexColorManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-145"},"imported":[],"importedBy":[{"uid":"6fe21027-146"}]},"6fe21027-146":{"id":"/home/workflows/workspace/plugins/colors/hex/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-147"},"imported":[{"uid":"6fe21027-144"}],"importedBy":[{"uid":"6fe21027-176"}]},"6fe21027-148":{"id":"/home/workflows/workspace/updaters/paint/dist/browser/PaintUpdater.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-149"},"imported":[{"uid":"6fe21027-118"}],"importedBy":[{"uid":"6fe21027-150"}]},"6fe21027-150":{"id":"/home/workflows/workspace/updaters/paint/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-151"},"imported":[{"uid":"6fe21027-148"}],"importedBy":[{"uid":"6fe21027-176"}]},"6fe21027-152":{"id":"/home/workflows/workspace/updaters/rotate/dist/browser/Options/Classes/RotateAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-153"},"imported":[{"uid":"6fe21027-118"}],"importedBy":[{"uid":"6fe21027-154"}]},"6fe21027-154":{"id":"/home/workflows/workspace/updaters/rotate/dist/browser/Options/Classes/Rotate.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-155"},"imported":[{"uid":"6fe21027-118"},{"uid":"6fe21027-152"}],"importedBy":[{"uid":"6fe21027-156"}]},"6fe21027-156":{"id":"/home/workflows/workspace/updaters/rotate/dist/browser/RotateUpdater.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-157"},"imported":[{"uid":"6fe21027-118"},{"uid":"6fe21027-154"}],"importedBy":[{"uid":"6fe21027-158"}]},"6fe21027-158":{"id":"/home/workflows/workspace/updaters/rotate/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-159"},"imported":[{"uid":"6fe21027-156"}],"importedBy":[{"uid":"6fe21027-176"}]},"6fe21027-160":{"id":"/home/workflows/workspace/updaters/size/dist/browser/Options/Classes/SizeAnimation.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-161"},"imported":[{"uid":"6fe21027-118"}],"importedBy":[{"uid":"6fe21027-162"}]},"6fe21027-162":{"id":"/home/workflows/workspace/updaters/size/dist/browser/Options/Classes/Size.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-163"},"imported":[{"uid":"6fe21027-118"},{"uid":"6fe21027-160"}],"importedBy":[{"uid":"6fe21027-164"}]},"6fe21027-164":{"id":"/home/workflows/workspace/updaters/size/dist/browser/SizeUpdater.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-165"},"imported":[{"uid":"6fe21027-118"},{"uid":"6fe21027-162"}],"importedBy":[{"uid":"6fe21027-166"}]},"6fe21027-166":{"id":"/home/workflows/workspace/updaters/size/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-167"},"imported":[{"uid":"6fe21027-164"}],"importedBy":[{"uid":"6fe21027-176"}]},"6fe21027-168":{"id":"/home/workflows/workspace/shapes/square/dist/browser/Utils.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-169"},"imported":[{"uid":"6fe21027-118"}],"importedBy":[{"uid":"6fe21027-170"}]},"6fe21027-170":{"id":"/home/workflows/workspace/shapes/square/dist/browser/SquareDrawer.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-171"},"imported":[{"uid":"6fe21027-168"}],"importedBy":[{"uid":"6fe21027-172"}]},"6fe21027-172":{"id":"/home/workflows/workspace/shapes/square/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-173"},"imported":[{"uid":"6fe21027-170"}],"importedBy":[{"uid":"6fe21027-176"}]},"6fe21027-174":{"id":"/dist/browser/options.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-175"},"imported":[{"uid":"6fe21027-118"}],"importedBy":[{"uid":"6fe21027-176"}]},"6fe21027-176":{"id":"/dist/browser/index.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-177"},"imported":[{"uid":"6fe21027-142"},{"uid":"6fe21027-146"},{"uid":"6fe21027-150"},{"uid":"6fe21027-158"},{"uid":"6fe21027-166"},{"uid":"6fe21027-172"},{"uid":"6fe21027-174"}],"importedBy":[{"uid":"6fe21027-178"}]},"6fe21027-178":{"id":"/dist/browser/bundle.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-179"},"imported":[{"uid":"6fe21027-176"},{"uid":"6fe21027-118"}],"importedBy":[],"isEntry":true},"6fe21027-180":{"id":"/home/workflows/workspace/engine/dist/browser/Core/RenderManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-181"},"imported":[{"uid":"6fe21027-114"},{"uid":"6fe21027-0"},{"uid":"6fe21027-116"}],"importedBy":[{"uid":"6fe21027-182"}]},"6fe21027-182":{"id":"/home/workflows/workspace/engine/dist/browser/Core/CanvasManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-183"},"imported":[{"uid":"6fe21027-22"},{"uid":"6fe21027-0"},{"uid":"6fe21027-116"},{"uid":"6fe21027-180"}],"importedBy":[{"uid":"6fe21027-194"}]},"6fe21027-184":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/EventListeners.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-185"},"imported":[{"uid":"6fe21027-22"},{"uid":"6fe21027-0"}],"importedBy":[{"uid":"6fe21027-194"}]},"6fe21027-186":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Particle.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-187"},"imported":[{"uid":"6fe21027-4"},{"uid":"6fe21027-116"},{"uid":"6fe21027-8"},{"uid":"6fe21027-22"},{"uid":"6fe21027-0"},{"uid":"6fe21027-26"},{"uid":"6fe21027-2"},{"uid":"6fe21027-44"},{"uid":"6fe21027-16"},{"uid":"6fe21027-50"},{"uid":"6fe21027-110"}],"importedBy":[{"uid":"6fe21027-190"}]},"6fe21027-188":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Utils/SpatialHashGrid.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-189"},"imported":[{"uid":"6fe21027-38"}],"importedBy":[{"uid":"6fe21027-190"}]},"6fe21027-190":{"id":"/home/workflows/workspace/engine/dist/browser/Core/ParticlesManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-191"},"imported":[{"uid":"6fe21027-0"},{"uid":"6fe21027-26"},{"uid":"6fe21027-42"},{"uid":"6fe21027-186"},{"uid":"6fe21027-188"},{"uid":"6fe21027-30"},{"uid":"6fe21027-110"}],"importedBy":[{"uid":"6fe21027-194"}]},"6fe21027-192":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Retina.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-193"},"imported":[{"uid":"6fe21027-0"},{"uid":"6fe21027-8"}],"importedBy":[{"uid":"6fe21027-194"}]},"6fe21027-194":{"id":"/home/workflows/workspace/engine/dist/browser/Core/Container.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-195"},"imported":[{"uid":"6fe21027-8"},{"uid":"6fe21027-0"},{"uid":"6fe21027-182"},{"uid":"6fe21027-184"},{"uid":"6fe21027-26"},{"uid":"6fe21027-112"},{"uid":"6fe21027-190"},{"uid":"6fe21027-192"},{"uid":"6fe21027-30"},{"uid":"6fe21027-110"}],"importedBy":[{"uid":"6fe21027-32"}]},"6fe21027-196":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmittersPluginInstance.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-197"},"imported":[{"uid":"6fe21027-118"}],"importedBy":[{"uid":"6fe21027-134"}]},"6fe21027-198":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/ShapeManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-199"},"imported":[],"importedBy":[{"uid":"6fe21027-136"}]},"6fe21027-200":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmittersInstancesManager.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-201"},"imported":[{"uid":"6fe21027-118"},{"uid":"6fe21027-132"},{"uid":"6fe21027-202","dynamic":true}],"importedBy":[{"uid":"6fe21027-138"}]},"6fe21027-202":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmitterInstance.js","moduleParts":{"tsparticles.preset.squares.bundle.js":"6fe21027-203"},"imported":[{"uid":"6fe21027-118"},{"uid":"6fe21027-132"},{"uid":"6fe21027-128"}],"importedBy":[{"uid":"6fe21027-200"}]},"6fe21027-204":{"id":"/home/workflows/workspace/engine/dist/browser/exports.js","moduleParts":{},"imported":[{"uid":"6fe21027-0"},{"uid":"6fe21027-38"},{"uid":"6fe21027-4"},{"uid":"6fe21027-2"},{"uid":"6fe21027-40"},{"uid":"6fe21027-16"},{"uid":"6fe21027-10"},{"uid":"6fe21027-42"},{"uid":"6fe21027-44"},{"uid":"6fe21027-18"},{"uid":"6fe21027-46"},{"uid":"6fe21027-14"},{"uid":"6fe21027-48"},{"uid":"6fe21027-50"},{"uid":"6fe21027-20"},{"uid":"6fe21027-52"},{"uid":"6fe21027-26"},{"uid":"6fe21027-12"},{"uid":"6fe21027-62"},{"uid":"6fe21027-54"},{"uid":"6fe21027-64"},{"uid":"6fe21027-56"},{"uid":"6fe21027-66"},{"uid":"6fe21027-58"},{"uid":"6fe21027-112"},{"uid":"6fe21027-60"},{"uid":"6fe21027-96"},{"uid":"6fe21027-94"},{"uid":"6fe21027-108"},{"uid":"6fe21027-72"},{"uid":"6fe21027-92"},{"uid":"6fe21027-90"},{"uid":"6fe21027-88"},{"uid":"6fe21027-74"},{"uid":"6fe21027-76"},{"uid":"6fe21027-78"},{"uid":"6fe21027-84"},{"uid":"6fe21027-82"},{"uid":"6fe21027-86"},{"uid":"6fe21027-102"},{"uid":"6fe21027-100"},{"uid":"6fe21027-98"},{"uid":"6fe21027-104"},{"uid":"6fe21027-106"},{"uid":"6fe21027-68"},{"uid":"6fe21027-80"},{"uid":"6fe21027-114"},{"uid":"6fe21027-116"},{"uid":"6fe21027-30"},{"uid":"6fe21027-8"},{"uid":"6fe21027-110"},{"uid":"6fe21027-22"},{"uid":"6fe21027-6"}],"importedBy":[{"uid":"6fe21027-118"}]},"6fe21027-205":{"id":"/home/workflows/workspace/plugins/emitters/dist/browser/EmitterShapeBase.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"6fe21027-142"}]}},"env":{"rollup":"4.60.4"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
|
|
4934
4934
|
|
|
4935
4935
|
const run = () => {
|
|
4936
4936
|
const width = window.innerWidth;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(g){g.__tsParticlesInternals=g.__tsParticlesInternals||{};g.__tsParticlesInternals.bundles=g.__tsParticlesInternals.bundles||{};g.__tsParticlesInternals.effects=g.__tsParticlesInternals.effects||{};g.__tsParticlesInternals.engine=g.__tsParticlesInternals.engine||{};g.__tsParticlesInternals.interactions=g.__tsParticlesInternals.interactions||{};g.__tsParticlesInternals.palettes=g.__tsParticlesInternals.palettes||{};g.__tsParticlesInternals.paths=g.__tsParticlesInternals.paths||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins.emittersShapes=g.__tsParticlesInternals.plugins.emittersShapes||{};g.__tsParticlesInternals.presets=g.__tsParticlesInternals.presets||{};g.__tsParticlesInternals.shapes=g.__tsParticlesInternals.shapes||{};g.__tsParticlesInternals.updaters=g.__tsParticlesInternals.updaters||{};g.__tsParticlesInternals.utils=g.__tsParticlesInternals.utils||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas.utils=g.__tsParticlesInternals.canvas.utils||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path.utils=g.__tsParticlesInternals.path.utils||{};var __tsProxyFactory=typeof Proxy!=="undefined"?function(obj){return new Proxy(obj,{get:function(target,key){if(!(key in target)){target[key]={};}return target[key];}});}:function(obj){return obj;};g.__tsParticlesInternals.bundles=__tsProxyFactory(g.__tsParticlesInternals.bundles);g.__tsParticlesInternals.effects=__tsProxyFactory(g.__tsParticlesInternals.effects);g.__tsParticlesInternals.interactions=__tsProxyFactory(g.__tsParticlesInternals.interactions);g.__tsParticlesInternals.palettes=__tsProxyFactory(g.__tsParticlesInternals.palettes);g.__tsParticlesInternals.paths=__tsProxyFactory(g.__tsParticlesInternals.paths);g.__tsParticlesInternals.plugins=__tsProxyFactory(g.__tsParticlesInternals.plugins);g.__tsParticlesInternals.plugins.emittersShapes=__tsProxyFactory(g.__tsParticlesInternals.plugins.emittersShapes);g.__tsParticlesInternals.presets=__tsProxyFactory(g.__tsParticlesInternals.presets);g.__tsParticlesInternals.shapes=__tsProxyFactory(g.__tsParticlesInternals.shapes);g.__tsParticlesInternals.updaters=__tsProxyFactory(g.__tsParticlesInternals.updaters);g.__tsParticlesInternals.utils=__tsProxyFactory(g.__tsParticlesInternals.utils);g.__tsParticlesInternals.canvas=__tsProxyFactory(g.__tsParticlesInternals.canvas);g.__tsParticlesInternals.path=__tsProxyFactory(g.__tsParticlesInternals.path);g.tsparticlesInternalExports=g.tsparticlesInternalExports||{};})(typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:this);
|
|
2
|
-
/* Preset v4.1.
|
|
2
|
+
/* Preset v4.1.2 */
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
5
5
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
@@ -1004,7 +1004,7 @@
|
|
|
1004
1004
|
return this.#domArray;
|
|
1005
1005
|
}
|
|
1006
1006
|
get version() {
|
|
1007
|
-
return "4.1.
|
|
1007
|
+
return "4.1.2";
|
|
1008
1008
|
}
|
|
1009
1009
|
addEventListener(type, listener) {
|
|
1010
1010
|
this.#eventDispatcher.addEventListener(type, listener);
|
|
@@ -3010,7 +3010,7 @@
|
|
|
3010
3010
|
})(EmitterClickMode || (EmitterClickMode = {}));
|
|
3011
3011
|
|
|
3012
3012
|
async function loadEmittersPluginSimple(engine) {
|
|
3013
|
-
engine.checkVersion("4.1.
|
|
3013
|
+
engine.checkVersion("4.1.2");
|
|
3014
3014
|
await engine.pluginManager.register(async (e) => {
|
|
3015
3015
|
const instancesManager = await getEmittersInstancesManager(e);
|
|
3016
3016
|
await addEmittersShapesManager(e);
|
|
@@ -3058,7 +3058,7 @@
|
|
|
3058
3058
|
}
|
|
3059
3059
|
|
|
3060
3060
|
async function loadHexColorPlugin(engine) {
|
|
3061
|
-
engine.checkVersion("4.1.
|
|
3061
|
+
engine.checkVersion("4.1.2");
|
|
3062
3062
|
await engine.pluginManager.register(e => {
|
|
3063
3063
|
e.pluginManager.addColorManager("hex", new HexColorManager());
|
|
3064
3064
|
});
|
|
@@ -3127,7 +3127,7 @@
|
|
|
3127
3127
|
}
|
|
3128
3128
|
|
|
3129
3129
|
async function loadPaintUpdater(engine) {
|
|
3130
|
-
engine.checkVersion("4.1.
|
|
3130
|
+
engine.checkVersion("4.1.2");
|
|
3131
3131
|
await engine.pluginManager.register(e => {
|
|
3132
3132
|
e.pluginManager.addParticleUpdater("paint", container => {
|
|
3133
3133
|
return Promise.resolve(new PaintUpdater(e.pluginManager, container));
|
|
@@ -3261,7 +3261,7 @@
|
|
|
3261
3261
|
}
|
|
3262
3262
|
|
|
3263
3263
|
async function loadRotateUpdater(engine) {
|
|
3264
|
-
engine.checkVersion("4.1.
|
|
3264
|
+
engine.checkVersion("4.1.2");
|
|
3265
3265
|
await engine.pluginManager.register(e => {
|
|
3266
3266
|
e.pluginManager.addParticleUpdater("rotate", container => {
|
|
3267
3267
|
return Promise.resolve(new RotateUpdater(container));
|
|
@@ -3362,7 +3362,7 @@
|
|
|
3362
3362
|
}
|
|
3363
3363
|
|
|
3364
3364
|
async function loadSizeUpdater(engine) {
|
|
3365
|
-
engine.checkVersion("4.1.
|
|
3365
|
+
engine.checkVersion("4.1.2");
|
|
3366
3366
|
await engine.pluginManager.register(e => {
|
|
3367
3367
|
e.pluginManager.addParticleUpdater("size", container => {
|
|
3368
3368
|
return Promise.resolve(new SizeUpdater(container));
|
|
@@ -3386,7 +3386,7 @@
|
|
|
3386
3386
|
}
|
|
3387
3387
|
|
|
3388
3388
|
async function loadSquareShape(engine) {
|
|
3389
|
-
engine.checkVersion("4.1.
|
|
3389
|
+
engine.checkVersion("4.1.2");
|
|
3390
3390
|
await engine.pluginManager.register(e => {
|
|
3391
3391
|
e.pluginManager.addShape(["edge", "square"], () => Promise.resolve(new SquareDrawer()));
|
|
3392
3392
|
});
|
|
@@ -3459,8 +3459,8 @@
|
|
|
3459
3459
|
}
|
|
3460
3460
|
|
|
3461
3461
|
const globalObject = globalThis;
|
|
3462
|
-
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
3463
3462
|
globalObject.loadSquaresPreset = loadSquaresPreset;
|
|
3463
|
+
globalObject.tsParticles = tsParticles;
|
|
3464
3464
|
|
|
3465
3465
|
const fColorIndex = 0, sColorIndex = 1;
|
|
3466
3466
|
function setTransformValue(factor, newFactor, key) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t){t.__tsParticlesInternals=t.__tsParticlesInternals||{},t.__tsParticlesInternals.bundles=t.__tsParticlesInternals.bundles||{},t.__tsParticlesInternals.effects=t.__tsParticlesInternals.effects||{},t.__tsParticlesInternals.engine=t.__tsParticlesInternals.engine||{},t.__tsParticlesInternals.interactions=t.__tsParticlesInternals.interactions||{},t.__tsParticlesInternals.palettes=t.__tsParticlesInternals.palettes||{},t.__tsParticlesInternals.paths=t.__tsParticlesInternals.paths||{},t.__tsParticlesInternals.plugins=t.__tsParticlesInternals.plugins||{},t.__tsParticlesInternals.plugins=t.__tsParticlesInternals.plugins||{},t.__tsParticlesInternals.plugins.emittersShapes=t.__tsParticlesInternals.plugins.emittersShapes||{},t.__tsParticlesInternals.presets=t.__tsParticlesInternals.presets||{},t.__tsParticlesInternals.shapes=t.__tsParticlesInternals.shapes||{},t.__tsParticlesInternals.updaters=t.__tsParticlesInternals.updaters||{},t.__tsParticlesInternals.utils=t.__tsParticlesInternals.utils||{},t.__tsParticlesInternals.canvas=t.__tsParticlesInternals.canvas||{},t.__tsParticlesInternals.canvas=t.__tsParticlesInternals.canvas||{},t.__tsParticlesInternals.canvas.utils=t.__tsParticlesInternals.canvas.utils||{},t.__tsParticlesInternals.path=t.__tsParticlesInternals.path||{},t.__tsParticlesInternals.path=t.__tsParticlesInternals.path||{},t.__tsParticlesInternals.path.utils=t.__tsParticlesInternals.path.utils||{};var e="undefined"!=typeof Proxy?function(t){return new Proxy(t,{get:function(t,e){return e in t||(t[e]={}),t[e]}})}:function(t){return t};t.__tsParticlesInternals.bundles=e(t.__tsParticlesInternals.bundles),t.__tsParticlesInternals.effects=e(t.__tsParticlesInternals.effects),t.__tsParticlesInternals.interactions=e(t.__tsParticlesInternals.interactions),t.__tsParticlesInternals.palettes=e(t.__tsParticlesInternals.palettes),t.__tsParticlesInternals.paths=e(t.__tsParticlesInternals.paths),t.__tsParticlesInternals.plugins=e(t.__tsParticlesInternals.plugins),t.__tsParticlesInternals.plugins.emittersShapes=e(t.__tsParticlesInternals.plugins.emittersShapes),t.__tsParticlesInternals.presets=e(t.__tsParticlesInternals.presets),t.__tsParticlesInternals.shapes=e(t.__tsParticlesInternals.shapes),t.__tsParticlesInternals.updaters=e(t.__tsParticlesInternals.updaters),t.__tsParticlesInternals.utils=e(t.__tsParticlesInternals.utils),t.__tsParticlesInternals.canvas=e(t.__tsParticlesInternals.canvas),t.__tsParticlesInternals.path=e(t.__tsParticlesInternals.path),t.tsparticlesInternalExports=t.tsparticlesInternalExports||{}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:this),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self).__tsParticlesInternals=t.__tsParticlesInternals||{},t.__tsParticlesInternals.presets=t.__tsParticlesInternals.presets||{},t.__tsParticlesInternals.presets.squares=t.__tsParticlesInternals.presets.squares||{}))}(this,function(t){"use strict";const e="generated",i=100,s=.5,n=1e3,a=0,o=0,r=0,l=1,c=0,h=0,d=1,u="random",p=2*Math.PI,f="true",g="false",m="canvas",y=255,v=360,w=100,P=100,b=.25;var z;function x(t){return"z"in t?t.z:r}!function(t){t.bottom="bottom",t.bottomLeft="bottom-left",t.bottomRight="bottom-right",t.left="left",t.none="none",t.right="right",t.top="top",t.topLeft="top-left",t.topRight="top-right",t.outside="outside",t.inside="inside"}(z||(z={}));class S{x;y;z;constructor(t=a,e=o,i=r){this.x=t,this.y=e,this.z=i}static get origin(){return S.create(a,o,r)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this.#t(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this.#t(this.angle,t)}static clone(t){return S.create(t.x,t.y,x(t))}static create(t,e,i){return"number"==typeof t?new S(t,e??o,i??r):new S(t.x,t.y,x(t))}add(t){return S.create(this.x+t.x,this.y+t.y,this.z+x(t))}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=x(t)}copy(){return S.clone(this)}div(t){return S.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**2+this.y**2}mult(t){return S.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;0!=t&&this.multTo(1/t)}rotate(t){return S.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),r)}setTo(t){this.x=t.x,this.y=t.y,this.z=x(t)}sub(t){return S.create(this.x-t.x,this.y-t.y,this.z-x(t))}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=x(t)}#t(t,e){this.x=Math.cos(t)*e,this.y=Math.sin(t)*e}}class M extends S{constructor(t=a,e=o){super(t,e,r)}static get origin(){return M.create(a,o)}static clone(t){return M.create(t.x,t.y)}static create(t,e){return"number"==typeof t?new M(t,e??o):new M(t.x,t.y)}}function C(t){return"boolean"==typeof t}function k(t){return"string"==typeof t}function I(t){return"number"==typeof t}function O(t){return"object"==typeof t&&null!==t}function _(t){return Array.isArray(t)}function D(t){return null==t}const E=Math.PI/180;let R=Math.random;const F=t=>requestAnimationFrame(t),T=t=>{cancelAnimationFrame(t)};function A(){return B(R(),0,1-Number.EPSILON)}function L(t,e){return A()*(e-t)+t}function B(t,e,i){return Math.min(Math.max(t,e),i)}function U(t){const e=V(t);let i=$(t);return e===i&&(i=0),L(i,e)}function q(t){return I(t)?t:U(t)}function $(t){return I(t)?t:t.min}function V(t){return I(t)?t:t.max}function W(t,e){if(t===e||void 0===e&&I(t))return t;const i=$(t),s=V(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(s,e)}:W(i,s)}function H(t){return t*E}function j(t){const e={x:void 0!==t.position?.x?q(t.position.x):void 0,y:void 0!==t.position?.y?q(t.position.y):void 0};return function(t){return{x:(t.position?.x??A()*i)*t.size.width/i,y:(t.position?.y??A()*i)*t.size.height/i}}({size:t.size,position:e})}function N(t){const{position:e,size:i}=t;return{x:e?.x??A()*i.width,y:e?.y??A()*i.height}}var Q,G,X,Y,J,K;!function(t){t.auto="auto",t.increase="increase",t.decrease="decrease",t.random="random"}(Q||(Q={})),function(t){t.increasing="increasing",t.decreasing="decreasing"}(G||(G={})),function(t){t.none="none",t.max="max",t.min="min"}(X||(X={})),function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(Y||(Y={})),function(t){t.precise="precise",t.percent="percent"}(J||(J={})),function(t){t.max="max",t.min="min",t.random="random"}(K||(K={}));function Z(){return globalThis.document}function tt(t){if("undefined"!=typeof matchMedia)return matchMedia(t)}function et(t,e,i=!0){return t[void 0!==e&&i?e%t.length:function(t){return Math.floor(A()*t.length)}(t)]}function it(t,...e){for(const i of e){if(D(i))continue;if(!O(i)){t=i;continue}Array.isArray(i)?Array.isArray(t)||(t=[]):O(t)&&!Array.isArray(t)||(t={});const e=Object.keys(i),s=new Set(["__proto__","constructor","prototype"]);if(!e.some(t=>{const e=i[t];return O(e)||Array.isArray(e)})){const n=i,a=t;for(const t of e)if(!s.has(t)&&t in n){const e=n[t];void 0!==e&&(a[t]=e)}continue}for(const n of e){if(s.has(n))continue;const e=t,a=i[n];e[n]=Array.isArray(a)?a.map(t=>it(void 0,t)):it(e[n],a)}}return t}function st(t,e){return _(t)?t.map((t,i)=>e(t,i)):e(t,0)}function nt(t,e,i){return _(t)?et(t,e,i):t}function at(t,e){if(!(t.mode===J.percent)){const{mode:e,...i}=t;return i}return"x"in t?{x:t.x/i*e.width,y:t.y/i*e.height}:{width:t.width/i*e.width,height:t.height/i*e.height}}function ot(t,e){return at(t,e)}function rt(t,e){return at(t,e)}function lt(t,e,i,s,n){if(t.destroyed||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;const a=(e.velocity??0)*n.factor,o=e.min,r=e.max,l=e.decay??1;if(e.time??=0,(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=n.value),!((e.delayTime??0)>0&&e.time<(e.delayTime??0))){switch(e.status){case G.increasing:e.value+=a;break;case G.decreasing:e.value-=a}switch(e.velocity&&1!==l&&(e.velocity*=l),e.status){case G.increasing:e.value>=r&&(i?e.status=G.decreasing:e.value-=r,e.loops??=0,e.loops++);break;case G.decreasing:e.value<=o&&(i?e.status=G.increasing:e.value+=r,e.loops??=0,e.loops++)}!function(t,e,i,s,n){switch(e){case X.max:i>=n&&t.destroy();break;case X.min:i<=s&&t.destroy()}}(t,s,e.value,o,r),t.destroyed||(e.value=B(e.value,o,r))}}const ct=function(t){const e=new Map,i=(t,e=new WeakSet)=>{if(null===t)return"null";const s=typeof t;if("undefined"===s)return"undefined";if("number"===s||"boolean"===s||"string"===s)return JSON.stringify(t);if("function"===s)try{return t.toString()}catch{return'"[Function]"'}if("symbol"===s)try{return t.toString()}catch{return'"[Symbol]"'}if(Array.isArray(t))return`[${t.map(t=>i(t,e)).join(",")}]`;if(e.has(t))return'"[Circular]"';e.add(t);return`{${Object.keys(t).sort().map(s=>`${JSON.stringify(s)}:${i(t[s],e)}`).join(",")}}`},s=t=>(t=>i(t))(t);return(...i)=>{const n=s(i),a=Date.now(),o=e.get(n);if(void 0!==o)return e.delete(n),e.set(n,{value:o.value,ts:o.ts}),o.value;const r=t(...i);return e.set(n,{value:r,ts:a}),r}}(function(t){const e=Z().createElement("div").style,i={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:t.toString(10),"z-index":t.toString(10),top:"0",left:"0","pointer-events":"none"};for(const t in i){const s=i[t];void 0!==s&&e.setProperty(t,s)}return e});function ht(t,e,i,s,n){if(s){let s={passive:!0};C(n)?s.capture=n:void 0!==n&&(s=n),t.addEventListener(e,i,s)}else{const s=n;t.removeEventListener(e,i,s)}}async function dt(t,e,i,s=!1){let n=e.get(t);if(!n||s){const s=await Promise.all([...i.entries()].map(([e,i])=>i(t).then(t=>[e,t])));n=new Map(s),e.set(t,n)}return n}class ut{#e;constructor(){this.#e=new Map}addEventListener(t,e){this.removeEventListener(t,e);let i=this.#e.get(t);i||(i=[],this.#e.set(t,i)),i.push(e)}dispatchEvent(t,e){const i=this.#e.get(t);i?.forEach(t=>{t(e)})}hasEventListener(t){return!!this.#e.get(t)}removeAllEventListeners(t){t?this.#e.delete(t):this.#e=new Map}removeEventListener(t,e){const i=this.#e.get(t);if(!i)return;const s=i.length,n=i.indexOf(e);n<0||(1===s?this.#e.delete(t):i.splice(n,1))}}var pt;!function(t){t.configAdded="configAdded",t.containerInit="containerInit",t.particlesSetup="particlesSetup",t.containerStarted="containerStarted",t.containerStopped="containerStopped",t.containerDestroyed="containerDestroyed",t.containerPaused="containerPaused",t.containerPlay="containerPlay",t.containerBuilt="containerBuilt",t.particleAdded="particleAdded",t.particleDestroyed="particleDestroyed",t.particleRemoved="particleRemoved"}(pt||(pt={}));class ft{colorManagers=new Map;easingFunctions=new Map;effectDrawers=new Map;initializers={effects:new Map,shapes:new Map,updaters:new Map};palettes=new Map;plugins=[];presets=new Map;shapeDrawers=new Map;updaters=new Map;#i=new Set;#s=new Map;#n;#a=new Set;#o=!1;#r=!1;#l=new Set;constructor(t){this.#n=t}get configs(){const t={};for(const[e,i]of this.#s)t[e]=i;return t}addColorManager(t,e){this.colorManagers.set(t,e)}addConfig(t){const e=t.key??t.name??"default";this.#s.set(e,t),this.#n.dispatchEvent(pt.configAdded,{data:{name:e,config:t}})}addEasing(t,e){this.easingFunctions.get(t)||this.easingFunctions.set(t,e)}addEffect(t,e){this.initializers.effects.set(t,e)}addPalette(t,e){this.palettes.set(t,e)}addParticleUpdater(t,e){this.initializers.updaters.set(t,e)}addPlugin(t){this.getPlugin(t.id)||this.plugins.push(t)}addPreset(t,e,i=!1){!i&&this.getPreset(t)||this.presets.set(t,e)}addShape(t,e){for(const i of t)this.initializers.shapes.set(i,e)}clearPlugins(t){this.effectDrawers.delete(t),this.shapeDrawers.delete(t),this.updaters.delete(t)}getEasing(t){return this.easingFunctions.get(t)??(t=>t)}getEffectDrawers(t,e=!1){return dt(t,this.effectDrawers,this.initializers.effects,e)}getPalette(t){return this.palettes.get(t)}getPlugin(t){return this.plugins.find(e=>e.id===t)}getPreset(t){return this.presets.get(t)}async getShapeDrawers(t,e=!1){return dt(t,this.shapeDrawers,this.initializers.shapes,e)}async getUpdaters(t,e=!1){return async function(t,e,i,s=!1){let n=e.get(t);return n&&!s||(n=await Promise.all([...i.values()].map(e=>e(t))),e.set(t,n)),n}(t,this.updaters,this.initializers.updaters,e)}async init(){if(!this.#o&&!this.#r){this.#r=!0,this.#a=new Set,this.#i=new Set(this.#l);try{for(const t of this.#i)await this.#c(t,this.#a,this.#i)}finally{this.#l.clear(),this.#r=!1,this.#o=!0}}}loadParticlesOptions(t,e,...i){const s=this.updaters.get(t);s&&s.forEach(t=>t.loadOptions?.(e,...i))}async register(...t){if(this.#o)throw new Error("Register plugins can only be done before calling tsParticles.load()");for(const e of t)this.#r?await this.#c(e,this.#a,this.#i):this.#l.add(e)}async#c(t,e,i){e.has(t)||(e.add(t),i.add(t),await t(this.#n))}}const gt=t=>(...e)=>{t(...e)},mt={debug:gt(console.debug),error:(t,...e)=>{console.error(`tsParticles - Error - ${t}`,...e)},info:gt(console.info),log:gt(console.log),trace:gt(console.trace),verbose:gt(console.log),warning:gt(console.warn)};function yt(){return mt}const vt="100%";class wt{pluginManager=new ft(this);#h=[];#d=new ut;#o=!1;get items(){return this.#h}get version(){return"4.1.0"}addEventListener(t,e){this.#d.addEventListener(t,e)}checkVersion(t){if(this.version!==t)throw new Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${t}`)}dispatchEvent(t,e){this.#d.dispatchEvent(t,e)}async init(){this.#o||(await this.pluginManager.init(),this.#o=!0)}item(t){const e=this.items,i=e[t];if(!i?.destroyed)return i;e.splice(t,1)}async load(t){let i;await this.init(),"undefined"!=typeof HTMLElement&&t.element instanceof HTMLElement&&(i=t.element);const{Container:s}=await Promise.resolve().then(function(){return yi}),n=t.id??i?.id??`tsparticles${Math.floor(1e4*A()).toString()}`,{index:a,url:o}=t,r=o?await async function(t){const e=nt(t.url,t.index);if(!e)return t.fallback;const i=await fetch(e);return i.ok?await i.json():(yt().error(`${i.status.toString()} while retrieving config file`),t.fallback)}({fallback:t.options,url:o,index:a}):t.options,l=nt(r,a),{items:c}=this,h=c.findIndex(t=>t.id.description===n),d=new s({dispatchCallback:(t,e)=>{this.dispatchEvent(t,e)},id:n,onDestroy:t=>{if(!t)return;const e=this.items,i=e.indexOf(d);i>=0&&e.splice(i,1)},pluginManager:this.pluginManager,sourceOptions:l});if(h>=0){const t=this.item(h),e=t?1:0;t&&!t.destroyed&&t.destroy(!1),c.splice(h,e,d)}else c.push(d);const u="undefined"!=typeof OffscreenCanvas&&t.element instanceof OffscreenCanvas?t.element:(t=>{const i=Z();let s;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===m)s=t,s.dataset[e]??=g,s.dataset[e]===f&&(s.style.width||=vt,s.style.height||=vt,s.style.pointerEvents="none",s.style.setProperty("pointer-events","none"));else{const n=t.getElementsByTagName(m).item(0);n?(s=n,s.dataset[e]=g):(s=i.createElement(m),s.dataset[e]=f,t.appendChild(s)),s.style.width||=vt,s.style.height||=vt,s.style.pointerEvents="none",s.style.setProperty("pointer-events","none")}return s})(((t,i)=>{const s=Z();let n=i??s.getElementById(t);return n||(n=s.createElement("canvas"),n.id=t,n.dataset[e]=f,s.body.append(n),n)})(n,i));return d.canvas.loadCanvas(u),await d.start(),d}async refresh(t=!0){t&&await Promise.all(this.items.map(t=>t.refresh()))}removeEventListener(t,e){this.#d.removeEventListener(t,e)}}var Pt,bt,zt,xt,St,Mt,Ct,kt;!function(t){t.circle="circle",t.rectangle="rectangle"}(Pt||(Pt={}));class It{position;type;constructor(t,e,i){this.position={x:t,y:e},this.type=i}_resetPosition(t,e){this.position.x=t,this.position.y=e}}class Ot extends It{radius;constructor(t,e,i){super(t,e,Pt.circle),this.radius=i}contains(t){return e=t,i=this.position,s=this.radius,function(t,e){const i=t.x-e.x,s=t.y-e.y;return i*i+s*s}(e,i)<=s*s;var e,i,s}intersects(t){const e=this.position,i=t.position,s=this.radius,n=Math.abs(i.x-e.x),a=Math.abs(i.y-e.y);if(t instanceof Ot||t.type===Pt.circle){return s+t.radius>Math.hypot(n,a)}if(t instanceof _t||t.type===Pt.rectangle){const e=t,{width:i,height:o}=e.size;return Math.pow(n-i,2)+Math.pow(a-o,2)<=s**2||n<=s+i&&a<=s+o||n<=i||a<=o}return!1}reset(t,e,i){return this._resetPosition(t,e),this.radius=i,this}}class _t extends It{size;constructor(t,e,i,s){super(t,e,Pt.rectangle),this.size={height:s,width:i}}contains(t){const e=this.size.width,i=this.size.height,s=this.position;return t.x>=s.x&&t.x<=s.x+e&&t.y>=s.y&&t.y<=s.y+i}intersects(t){if(t instanceof Ot)return t.intersects(this);if(!(t instanceof _t))return!1;const e=this.size.width,i=this.size.height,s=this.position,n=t.position,a=t.size,o=a.width,r=a.height;return n.x<s.x+e&&n.x+o>s.x&&n.y<s.y+i&&n.y+r>s.y}reset(t,e,i,s){return this._resetPosition(t,e),this.size.width=i,this.size.height=s,this}}!function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(bt||(bt={})),function(t){t.delete="delete",t.wait="wait"}(zt||(zt={})),function(t){t.bounce="bounce",t.none="none",t.out="out",t.destroy="destroy",t.split="split"}(xt||(xt={})),function(t){t.darken="darken",t.enlighten="enlighten"}(St||(St={})),function(t){t.linear="linear",t.radial="radial",t.random="random"}(Mt||(Mt={})),function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(Ct||(Ct={})),function(t){t.easeInBack="ease-in-back",t.easeInBounce="ease-in-bounce",t.easeInCirc="ease-in-circ",t.easeInCubic="ease-in-cubic",t.easeInElastic="ease-in-elastic",t.easeInExpo="ease-in-expo",t.easeInGaussian="ease-in-gaussian",t.easeInLinear="ease-in-linear",t.easeInQuad="ease-in-quad",t.easeInQuart="ease-in-quart",t.easeInQuint="ease-in-quint",t.easeInSigmoid="ease-in-sigmoid",t.easeInSine="ease-in-sine",t.easeInSmoothstep="ease-in-smoothstep",t.easeOutBack="ease-out-back",t.easeOutBounce="ease-out-bounce",t.easeOutCirc="ease-out-circ",t.easeOutCubic="ease-out-cubic",t.easeOutElastic="ease-out-elastic",t.easeOutExpo="ease-out-expo",t.easeOutGaussian="ease-out-gaussian",t.easeOutLinear="ease-out-linear",t.easeOutQuad="ease-out-quad",t.easeOutQuart="ease-out-quart",t.easeOutQuint="ease-out-quint",t.easeOutSigmoid="ease-out-sigmoid",t.easeOutSine="ease-out-sine",t.easeOutSmoothstep="ease-out-smoothstep",t.easeInOutBack="ease-in-out-back",t.easeInOutBounce="ease-in-out-bounce",t.easeInOutCirc="ease-in-out-circ",t.easeInOutCubic="ease-in-out-cubic",t.easeInOutElastic="ease-in-out-elastic",t.easeInOutExpo="ease-in-out-expo",t.easeInOutGaussian="ease-in-out-gaussian",t.easeInOutLinear="ease-in-out-linear",t.easeInOutQuad="ease-in-out-quad",t.easeInOutQuart="ease-in-out-quart",t.easeInOutQuint="ease-in-out-quint",t.easeInOutSigmoid="ease-in-out-sigmoid",t.easeInOutSine="ease-in-out-sine",t.easeInOutSmoothstep="ease-in-out-smoothstep"}(kt||(kt={}));class Dt{count;decay;delay;enable;speed;sync;constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){D(t)||(void 0!==t.count&&(this.count=W(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=W(t.speed)),void 0!==t.decay&&(this.decay=W(t.decay)),void 0!==t.delay&&(this.delay=W(t.delay)),void 0!==t.sync&&(this.sync=t.sync))}}class Et extends Dt{mode;startValue;constructor(){super(),this.mode=Q.auto,this.startValue=K.random}load(t){super.load(t),D(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}}class Rt extends Dt{max;min;offset;constructor(t,e){super(),this.min=t,this.max=e,this.offset=0,this.sync=!0}load(t){super.load(t),D(t)||(void 0!==t.max&&(this.max=t.max),void 0!==t.min&&(this.min=t.min),void 0!==t.offset&&(this.offset=W(t.offset)))}}class Ft{h=new Rt(0,v);l=new Rt(0,P);s=new Rt(0,w);load(t){D(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}class Tt{value;constructor(){this.value=""}static create(t,e){const i=new Tt;return i.load(t),void 0!==e&&(k(e)||_(e)?i.load({value:e}):i.load(e)),i}load(t){D(t)||D(t.value)||(this.value=t.value)}}class At extends Tt{animation;constructor(){super(),this.animation=new Ft}static create(t,e){const i=new At;return i.load(t),void 0!==e&&(k(e)||_(e)?i.load({value:e}):i.load(e)),i}load(t){if(super.load(t),D(t))return;const e=t.animation;void 0!==e&&(void 0===e.enable?this.animation.load(t.animation):this.animation.h.load(e))}}class Lt{color;image;opacity;position;repeat;size;constructor(){this.color=new Tt,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){D(t)||(void 0!==t.color&&(this.color=Tt.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.position&&(this.position=t.position),void 0!==t.repeat&&(this.repeat=t.repeat),void 0!==t.size&&(this.size=t.size),void 0!==t.opacity&&(this.opacity=t.opacity))}}class Bt{enable;zIndex;constructor(){this.enable=!0,this.zIndex=0}load(t){D(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}}class Ut{delay;enable;constructor(){this.delay=.5,this.enable=!0}load(t){D(t)||(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.enable&&(this.enable=t.enable))}}class qt{close;options;type;constructor(){this.close=!0,this.options={},this.type=[]}load(t){if(D(t))return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=it(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.type&&(this.type=t.type)}}class $t{color;enable;opacity;constructor(){this.enable=!0,this.opacity=1}load(t){D(t)||(void 0!==t.color&&(this.color=At.create(this.color,t.color)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.opacity&&(this.opacity=W(t.opacity)))}}class Vt{offset;value;constructor(){this.offset=0,this.value=90}load(t){D(t)||(void 0!==t.offset&&(this.offset=W(t.offset)),void 0!==t.value&&(this.value=W(t.value)))}}class Wt{mode;radius;x;y;constructor(){this.x=50,this.y=50,this.mode=J.percent,this.radius=0}load(t){D(t)||(void 0!==t.x&&(this.x=t.x),void 0!==t.y&&(this.y=t.y),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.radius&&(this.radius=t.radius))}}class Ht{acceleration;enable;inverse;maxSpeed;constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){D(t)||(void 0!==t.acceleration&&(this.acceleration=W(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.inverse&&(this.inverse=t.inverse),void 0!==t.maxSpeed&&(this.maxSpeed=W(t.maxSpeed)))}}class jt{value;constructor(){this.value=0}load(t){D(t)||D(t.value)||(this.value=W(t.value))}}class Nt extends jt{animation=new Dt;load(t){if(super.load(t),D(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class Qt extends Nt{animation;constructor(){super(),this.animation=new Et}load(t){super.load(t)}}class Gt{clamp;delay;enable;generator;options;constructor(){this.clamp=!0,this.delay=new jt,this.enable=!1,this.options={}}load(t){D(t)||(void 0!==t.clamp&&(this.clamp=t.clamp),this.delay.load(t.delay),void 0!==t.enable&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=it(this.options,t.options)))}}class Xt{bottom;default;left;right;top;constructor(){this.default=xt.out}load(t){D(t)||(void 0!==t.default&&(this.default=t.default),this.bottom=t.bottom??t.default,this.left=t.left??t.default,this.right=t.right??t.default,this.top=t.top??t.default)}}class Yt{acceleration;enable;position;constructor(){this.acceleration=0,this.enable=!1}load(t){D(t)||(void 0!==t.acceleration&&(this.acceleration=W(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),t.position&&(this.position=it({},t.position)))}}class Jt{angle;center;decay;direction;distance;drift;enable;gravity;outModes;path;random;size;speed;spin;straight;vibrate;warp;constructor(){this.angle=new Vt,this.center=new Wt,this.decay=0,this.distance={},this.direction=z.none,this.drift=0,this.enable=!1,this.gravity=new Ht,this.path=new Gt,this.outModes=new Xt,this.random=!1,this.size=!1,this.speed=2,this.spin=new Yt,this.straight=!1,this.vibrate=!1,this.warp=!1}load(t){if(D(t))return;this.angle.load(I(t.angle)?{value:t.angle}:t.angle),this.center.load(t.center),void 0!==t.decay&&(this.decay=W(t.decay)),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=I(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),void 0!==t.drift&&(this.drift=W(t.drift)),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity);const e=t.outModes;void 0!==e&&(O(e)?this.outModes.load(e):this.outModes.load({default:e})),this.path.load(t.path),void 0!==t.random&&(this.random=t.random),void 0!==t.size&&(this.size=t.size),void 0!==t.speed&&(this.speed=W(t.speed)),this.spin.load(t.spin),void 0!==t.straight&&(this.straight=t.straight),void 0!==t.vibrate&&(this.vibrate=t.vibrate),void 0!==t.warp&&(this.warp=t.warp)}}class Kt{color;opacity;width;constructor(){this.width=0}load(t){D(t)||(void 0!==t.color&&(this.color=At.create(this.color,t.color)),void 0!==t.width&&(this.width=W(t.width)),void 0!==t.opacity&&(this.opacity=W(t.opacity)))}}class Zt{color;fill;stroke;load(t){D(t)||(void 0!==t.color&&(this.color=At.create(this.color,t.color)),void 0!==t.fill&&(this.fill??=new $t,this.fill.load(t.fill)),void 0!==t.stroke&&(this.stroke??=new Kt,this.stroke.load(t.stroke)))}}class te extends jt{constructor(){super(),this.value=1}}class ee{horizontal;vertical;constructor(){this.horizontal=new te,this.vertical=new te}load(t){D(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}class ie{enable;height;width;constructor(){this.enable=!1,this.width=1920,this.height=1080}load(t){if(D(t))return;void 0!==t.enable&&(this.enable=t.enable);const e=t.width;void 0!==e&&(this.width=e);const i=t.height;void 0!==i&&(this.height=i)}}class se{mode;value;constructor(){this.mode=zt.delete,this.value=0}load(t){D(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}class ne{density;limit;value;constructor(){this.density=new ie,this.limit=new se,this.value=0}load(t){D(t)||(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}}class ae{close;options;type;constructor(){this.close=!0,this.options={},this.type="circle"}load(t){if(D(t))return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=it(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.type&&(this.type=t.type)}}class oe extends jt{opacityRate;sizeRate;velocityRate;constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),D(t)||(void 0!==t.opacityRate&&(this.opacityRate=t.opacityRate),void 0!==t.sizeRate&&(this.sizeRate=t.sizeRate),void 0!==t.velocityRate&&(this.velocityRate=t.velocityRate))}}class re{bounce;effect;groups;move;number;paint;palette;reduceDuplicates;shape;zIndex;#u;#p;constructor(t,e){this.#p=t,this.#u=e,this.bounce=new ee,this.effect=new qt,this.groups={},this.move=new Jt,this.number=new ne,this.paint=new Zt,this.paint.color=new At,this.paint.color.value="#fff",this.paint.fill=new $t,this.paint.fill.enable=!0,this.reduceDuplicates=!1,this.shape=new ae,this.zIndex=new oe}load(t){if(D(t))return;if(t.palette&&(this.palette=t.palette,this.#f(this.palette)),void 0!==t.groups)for(const e of Object.keys(t.groups)){if(!(e in t.groups))continue;const i=t.groups[e];void 0!==i&&(this.groups[e]=it(this.groups[e]??{},i))}void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.effect.load(t.effect),this.move.load(t.move),this.number.load(t.number);const e=t.paint;if(e&&(_(e)?this.paint=st(e,t=>{const e=new Zt;return e.load(t),e}):_(this.paint)?(this.paint=new Zt,this.paint.load(e)):this.paint.load(e)),this.shape.load(t.shape),this.zIndex.load(t.zIndex),this.#u){for(const e of this.#p.plugins)e.loadParticlesOptions&&e.loadParticlesOptions(this.#u,this,t);const e=this.#p.updaters.get(this.#u);if(e)for(const i of e)i.loadOptions&&i.loadOptions(this,t)}}#f=t=>{const e=this.#p.getPalette(t);if(!e)return;const i=e.colors,s=(_(i)?i:[i]).flatMap(t=>{const e=t.fill,i=t.stroke,s=e?{color:{value:e.value},enable:e.enable,opacity:e.opacity}:void 0;return i?[{fill:s,stroke:{color:{value:i.value},opacity:i.opacity,width:i.width||0}}]:[{fill:s}]}),n=s.length>1?s:s[0]??{};this.load({paint:n,blend:{enable:!0,mode:e.blendMode}})}}function le(t,...e){for(const i of e)t.load(i)}function ce(t,e,...i){const s=new re(t,e);return le(s,...i),s}class he{autoPlay;background;clear;defaultThemes;delay;detectRetina;duration;fpsLimit;fullScreen;hdr;key;name;palette;particles;pauseOnBlur;pauseOnOutsideViewport;preset;resize;smooth;style;zLayers;#u;#p;constructor(t,e){this.#p=t,this.#u=e,this.autoPlay=!0,this.background=new Lt,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new Bt,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.hdr=!0,this.particles=ce(this.#p,this.#u),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.resize=new Ut,this.smooth=!1,this.style={},this.zLayers=100}load(t){if(D(t))return;void 0!==t.preset&&(this.preset=t.preset,st(this.preset,t=>{this.#g(t)})),void 0!==t.palette&&(this.palette=t.palette,this.#f(this.palette)),void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.clear&&(this.clear=t.clear),void 0!==t.key&&(this.key=t.key),void 0!==t.name&&(this.name=t.name),void 0!==t.delay&&(this.delay=W(t.delay));const e=t.detectRetina;void 0!==e&&(this.detectRetina=e),void 0!==t.duration&&(this.duration=W(t.duration));const i=t.fpsLimit;void 0!==i&&(this.fpsLimit=i),void 0!==t.hdr&&(this.hdr=t.hdr),void 0!==t.pauseOnBlur&&(this.pauseOnBlur=t.pauseOnBlur),void 0!==t.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=t.pauseOnOutsideViewport),void 0!==t.zLayers&&(this.zLayers=t.zLayers),this.background.load(t.background);const s=t.fullScreen;C(s)?this.fullScreen.enable=s:this.fullScreen.load(s),this.particles.load(t.particles),this.resize.load(t.resize),this.style=it(this.style,t.style),void 0!==t.smooth&&(this.smooth=t.smooth),this.#p.plugins.forEach(e=>{e.loadOptions(this.#u,this,t)})}#f=t=>{const e=this.#p.getPalette(t);e&&this.load({background:{color:e.background},blend:{enable:!0,mode:e.blendMode},particles:{palette:t}})};#g=t=>{this.load(this.#p.getPreset(t))}}function de(t,e){t.clearRect(a,o,e.width,e.height)}function ue(t,e,i,s){e.drawParticle&&e.drawParticle(t,i,s)}const pe=new Map;function fe(t,e){let i=pe.get(t);if(!i){if(i=e(),pe.size>=1e3){[...pe.keys()].slice(0,500).forEach(t=>pe.delete(t))}pe.set(t,i)}return i}function ge(t,e,i,s=!0){if(!e)return;const n=k(e)?{value:e}:e;if(k(n.value))return me(t,n.value,i,s);if(_(n.value)){const e=et(n.value,i,s);if(!e)return;return ge(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleRangeColor(n);if(t)return t}}function me(t,e,i,s=!0){if(!e)return;const n=k(e)?{value:e}:e;if(k(n.value))return n.value===u?function(){const t=0,e=256,i=()=>Math.floor(L(t,e));return{b:i(),g:i(),r:i()}}():function(t,e){return function(t,e){if(e)for(const i of t.colorManagers.values())if(i.accepts(e))return i.parseString(e)}(t,e)}(t,n.value);if(_(n.value)){const e=et(n.value,i,s);if(!e)return;return me(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleColor(n);if(t)return t}}function ye(t,e,i,n=!0){const a=ge(t,e,i,n);return a?function(t){const e=t.r/y,i=t.g/y,n=t.b/y,a=Math.max(e,i,n),o=Math.min(e,i,n),r={h:0,l:(a+o)*s,s:0};a!==o&&(r.s=r.l<s?(a-o)/(a+o):(a-o)/(2-a-o),r.h=e===a?(i-n)/(a-o):i===a?2+(n-e)/(a-o):4+(e-i)/(a-o));r.l*=P,r.s*=w,r.h*=60,r.h<0&&(r.h+=v);r.h>=v&&(r.h-=v);return r}(a):void 0}function ve(t,e,i){const s=i??1;return fe(`rgb-${t.r.toFixed(2)}-${t.g.toFixed(2)}-${t.b.toFixed(2)}-${e?"hdr":"sdr"}-${s.toString()}`,()=>e?we(t,i):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(e??1).toString()})`}(t,i))}function we(t,e){return`color(display-p3 ${(t.r/y).toString()} ${(t.g/y).toString()} ${(t.b/y).toString()} / ${(e??1).toString()})`}function Pe(t,e,i){const n=i??1;return fe(`hsl-${t.h.toFixed(2)}-${t.s.toFixed(2)}-${t.l.toFixed(2)}-${e?"hdr":"sdr"}-${n.toString()}`,()=>e?function(t,e){return we(function(t){const e=(t.h%v+v)%v,i=Math.max(0,Math.min(w,t.s)),n=Math.max(0,Math.min(P,t.l)),a=e/v,o=i/w,r=n/P;if(0===i){const t=Math.round(r*y);return{r:t,g:t,b:t}}const l=(t,e,i)=>(i<0&&i++,i>1&&i--,6*i<1?t+6*(e-t)*i:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t),c=r<s?r*(1+o):r+o-r*o,h=2*r-c,d=1/3,u=Math.min(y,y*l(h,c,a+d)),p=Math.min(y,y*l(h,c,a)),f=Math.min(y,y*l(h,c,a-d));return{r:Math.round(u),g:Math.round(p),b:Math.round(f)}}(t),e)}(t,i):function(t,e){return`hsla(${t.h.toString()}, ${t.s.toString()}%, ${t.l.toString()}%, ${(e??1).toString()})`}(t,i))}function be(t){return void 0===t?void 0:{h:t.h.value,s:t.s.value,l:t.l.value}}function ze(t,e,i){const s={h:{enable:!1,value:t.h,min:0,max:v},s:{enable:!1,value:t.s,min:0,max:w},l:{enable:!1,value:t.l,min:0,max:P}};return e&&(xe(s.h,e.h,i),xe(s.s,e.s,i),xe(s.l,e.l,i)),s}function xe(t,e,s){t.enable=e.enable,t.min=e.min,t.max=e.max,t.enable?(t.velocity=q(e.speed)/i*s,t.decay=1-q(e.decay),t.status=G.increasing,t.loops=0,t.maxLoops=q(e.count),t.time=0,t.delayTime=q(e.delay)*n,e.sync||(t.velocity*=A(),t.value*=A()),t.initialValue=t.value,t.offset=W(e.offset)):t.velocity=0}function Se(t,e,i){if(!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;if(t.time??=0,(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=i.value),(t.delayTime??0)>0&&t.time<(t.delayTime??0))return;const s=t.offset?U(t.offset):0,n=(t.velocity??0)*i.factor+3.6*s,a=t.decay??1,o=t.max,r=t.min;e&&t.status!==G.increasing?(t.value-=n,t.value<r&&(t.loops??=0,t.loops++,t.status=G.increasing)):(t.value+=n,t.value>o&&(t.loops??=0,t.loops++,e?t.status=G.decreasing:t.value-=o)),t.velocity&&1!==a&&(t.velocity*=a),t.value=B(t.value,r,o)}function Me(t,e){if(!t)return;const{h:i,s:s,l:n}=t;Se(i,!1,e),Se(s,!0,e),Se(n,!0,e)}const Ce=new wt;class ke{count;delay;duration;wait;constructor(){this.wait=!1}load(t){D(t)||(void 0!==t.count&&(this.count=t.count),void 0!==t.delay&&(this.delay=W(t.delay)),void 0!==t.duration&&(this.duration=W(t.duration)),void 0!==t.wait&&(this.wait=t.wait))}}class Ie{delay;quantity;constructor(){this.quantity=1,this.delay=.1}load(t){D(t)||(void 0!==t.quantity&&(this.quantity=W(t.quantity)),void 0!==t.delay&&(this.delay=W(t.delay)))}}class Oe{color;opacity;constructor(){this.color=!1,this.opacity=!1}load(t){D(t)||(void 0!==t.color&&(this.color=t.color),void 0!==t.opacity&&(this.opacity=t.opacity))}}class _e{options;replace;type;constructor(){this.options={},this.replace=new Oe,this.type="square"}load(t){D(t)||(void 0!==t.options&&(this.options=it({},t.options??{})),this.replace.load(t.replace),void 0!==t.type&&(this.type=t.type))}}class De{height;mode;width;constructor(){this.mode=J.percent,this.height=0,this.width=0}load(t){D(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.height&&(this.height=t.height),void 0!==t.width&&(this.width=t.width))}}class Ee{fill;stroke;load(t){D(t)||(t.fill&&(this.fill??=new $t,this.fill.load(t.fill)),t.stroke&&(this.stroke??=new Kt,this.stroke.load(t.stroke)))}}class Re{autoPlay;direction;domId;fill;life;name;particles;position;rate;shape;size;spawn;spawnFillColor;spawnStrokeColor;startCount;constructor(){this.autoPlay=!0,this.fill=!0,this.life=new ke,this.rate=new Ie,this.shape=new _e,this.spawn=new Ee,this.startCount=0}load(t){D(t)||(void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.size&&(this.size??=new De,this.size.load(t.size)),void 0!==t.direction&&(this.direction=t.direction),this.domId=t.domId,void 0!==t.fill&&(this.fill=t.fill),this.life.load(t.life),this.name=t.name,this.particles=st(t.particles,t=>it({},t)),this.rate.load(t.rate),this.shape.load(t.shape),this.spawn.load(t.spawn),void 0!==t.position&&(this.position={},void 0!==t.position.x&&(this.position.x=W(t.position.x)),void 0!==t.position.y&&(this.position.y=W(t.position.y))),void 0!==t.spawnFillColor&&(this.spawnFillColor??=new At,this.spawnFillColor.load(t.spawnFillColor)),void 0!==t.spawnStrokeColor&&(this.spawnStrokeColor??=new At,this.spawnStrokeColor.load(t.spawnStrokeColor)),void 0!==t.startCount&&(this.startCount=t.startCount))}}class Fe{id="emitters";#m;constructor(t){this.#m=t}async getPlugin(t){const{EmittersPluginInstance:e}=await Promise.resolve().then(function(){return vi});return new e(this.#m,t)}loadOptions(t,e,i){(this.needsPlugin(e)||this.needsPlugin(i))&&i?.emitters&&(e.emitters=st(i.emitters,t=>{const e=new Re;return e.load(t),e}))}needsPlugin(t){if(!t)return!1;const e=t.emitters;return _(e)&&!!e.length||void 0!==e}}const Te=new WeakMap;var Ae,Le;async function Be(t){t.checkVersion("4.1.0"),await t.pluginManager.register(async t=>{const e=await function(t){const e=t.pluginManager;let i=Te.get(e);return i||(i=Promise.resolve().then(function(){return bi}).then(({EmittersInstancesManager:t})=>new t(e)).catch(t=>{throw Te.delete(e),t}),Te.set(e,i)),i}(t);await async function(t){const{ShapeManager:e}=await Promise.resolve().then(function(){return Pi}),i=t.pluginManager;i.emitterShapeManager??=new e,i.addEmitterShapeGenerator??=(t,e)=>{i.emitterShapeManager?.addShapeGenerator(t,e)}}(t),t.pluginManager.addPlugin(new Fe(e))})}!function(t){t.emitter="emitter"}(Ae||(Ae={})),function(t){t[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=4]="a"}(Le||(Le={}));const Ue=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,qe=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i;class $e{accepts(t){return t.startsWith("#")}handleColor(t){return this.#y(t.value)}handleRangeColor(t){return this.#y(t.value)}parseString(t){return this.#y(t)}#y(t){if("string"!=typeof t||!this.accepts(t))return;const e=t.replace(Ue,(t,e,i,s,n)=>e+e+i+i+s+s+(void 0===n?"":n+n)),i=qe.exec(e);return i?{a:i[Le.a]?Number.parseInt(i[Le.a],16)/255:1,b:Number.parseInt(i[Le.b]??"0",16),g:Number.parseInt(i[Le.g]??"0",16),r:Number.parseInt(i[Le.r]??"0",16)}:void 0}}async function Ve(t){t.checkVersion("4.1.0"),await t.pluginManager.register(t=>{t.pluginManager.addColorManager("hex",new $e)})}class We{#u;#p;constructor(t,e){this.#u=e,this.#p=t}init(t){const e=this.#u,i=t.options,s=nt(i.paint,t.id,i.reduceDuplicates),n=s?.color,a=n??void 0,o=s?.fill,r=s?.stroke;if(o){const i=At.create(void 0===a?void 0:At.create(void 0,a),o.color);t.fillEnabled=o.enable,t.fillOpacity=q(o.opacity),t.fillAnimation=i.animation;const s=ye(this.#p,i);s&&(t.fillColor=ze(s,t.fillAnimation,e.retina.reduceFactor))}else t.fillEnabled=!1,t.fillAnimation=void 0,t.fillColor=void 0,t.fillOpacity=1;if(r){const i=At.create(void 0===a?void 0:At.create(void 0,a),r.color);t.strokeWidth=q(r.width)*e.retina.pixelRatio,t.strokeOpacity=q(r.opacity??1),t.strokeAnimation=i.animation;const s=ye(this.#p,i)??t.getFillColor();s&&(t.strokeColor=ze(s,t.strokeAnimation,e.retina.reduceFactor))}else t.strokeAnimation=void 0,t.strokeColor=void 0,t.strokeOpacity=1,t.strokeWidth=0}isEnabled(t){const{fillAnimation:e,fillColor:i,strokeAnimation:s,strokeColor:n}=t,a=!!e&&(void 0!==i?.h.value&&i.h.enable||void 0!==i?.s.value&&i.s.enable||void 0!==i?.l.value&&i.l.enable),o=!!s&&(void 0!==n?.h.value&&n.h.enable||void 0!==n?.s.value&&n.s.enable||void 0!==n?.l.value&&n.l.enable);return!t.destroyed&&!t.spawning&&(a||o)}update(t,e){this.isEnabled(t)&&(Me(t.fillColor,e),Me(t.strokeColor,e))}}async function He(t){t.checkVersion("4.1.0"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("paint",e=>Promise.resolve(new We(t.pluginManager,e)))})}class je{decay;enable;speed;sync;constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(t){D(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=W(t.speed)),void 0!==t.decay&&(this.decay=W(t.decay)),void 0!==t.sync&&(this.sync=t.sync))}}class Ne extends jt{animation;direction;path;constructor(){super(),this.animation=new je,this.direction=bt.clockwise,this.path=!1,this.value=0}load(t){D(t)||(super.load(t),void 0!==t.direction&&(this.direction=t.direction),this.animation.load(t.animation),void 0!==t.path&&(this.path=t.path))}}class Qe{#u;constructor(t){this.#u=t}init(t){const e=t.options.rotate;if(!e)return;t.rotate={enable:e.animation.enable,value:H(q(e.value)),min:0,max:p},t.pathRotation=e.path;let i=e.direction;if(i===bt.random){i=Math.floor(2*A())>0?bt.counterClockwise:bt.clockwise}switch(i){case bt.counterClockwise:case"counterClockwise":t.rotate.status=G.decreasing;break;case bt.clockwise:t.rotate.status=G.increasing}const s=e.animation;s.enable&&(t.rotate.decay=1-q(s.decay),t.rotate.velocity=q(s.speed)/360*this.#u.retina.reduceFactor,s.sync||(t.rotate.velocity*=A())),t.rotation=t.rotate.value}isEnabled(t){const e=t.options.rotate;return!!e&&(!t.destroyed&&!t.spawning&&(!!e.value||e.animation.enable||e.path))}loadOptions(t,...e){t.rotate??=new Ne;for(const i of e)t.rotate.load(i?.rotate)}update(t,e){this.isEnabled(t)&&(t.isRotating=!!t.rotate,t.rotate&&(lt(t,t.rotate,!1,X.none,e),t.rotation=t.rotate.value))}}async function Ge(t){t.checkVersion("4.1.0"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("rotate",t=>Promise.resolve(new Qe(t)))})}class Xe extends Et{destroy;constructor(){super(),this.destroy=X.none,this.speed=5}load(t){super.load(t),D(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}class Ye extends Qt{animation;constructor(){super(),this.animation=new Xe,this.value=3}load(t){if(super.load(t),D(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class Je{#u;constructor(t){this.#u=t}init(t){const e=this.#u,s=t.options.size;if(!s)return;const n=s.animation;n.enable&&(t.size.velocity=t.retina.sizeAnimationSpeed/i*e.retina.reduceFactor,n.sync||(t.size.velocity*=A()))}isEnabled(t){return!t.destroyed&&!t.spawning&&t.size.enable&&((t.size.maxLoops??0)<=0||(t.size.maxLoops??0)>0&&(t.size.loops??0)<(t.size.maxLoops??0))}loadOptions(t,...e){t.size??=new Ye;for(const i of e)t.size.load(i?.size)}preInit(t){const e=this.#u.retina.pixelRatio,i=t.options.size;i&&(t.size=function(t,e){const i=t.value,a=t.animation,o={delayTime:q(a.delay)*n,enable:a.enable,value:q(t.value)*e,max:V(i)*e,min:$(i)*e,loops:0,maxLoops:q(a.count),time:0};if(a.enable){switch(o.decay=1-q(a.decay),a.mode){case Q.increase:o.status=G.increasing;break;case Q.decrease:o.status=G.decreasing;break;case Q.random:o.status=A()>=s?G.increasing:G.decreasing}const t=a.mode===Q.auto;switch(a.startValue){case K.min:o.value=o.min,t&&(o.status=G.increasing);break;case K.max:o.value=o.max,t&&(o.status=G.decreasing);break;case K.random:default:o.value=U(o),t&&(o.status=A()>=s?G.increasing:G.decreasing)}}return o.initialValue=o.value,o}(i,e),t.retina.sizeAnimationSpeed=q(i.animation.speed)*e)}reset(t){t.size.time=0,t.size.loops=0}update(t,e){this.isEnabled(t)&&t.options.size&<(t,t.size,!0,t.options.size.animation.destroy,e)}}async function Ke(t){t.checkVersion("4.1.0"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("size",t=>Promise.resolve(new Je(t)))})}class Ze{draw(t){!function(t){const{context:e,radius:i}=t,s=i*Math.SQRT1_2,n=2*s;e.rect(-s,-s,n,n)}(t)}getSidesCount(){return 4}}async function ti(t){t.checkVersion("4.1.0"),await t.pluginManager.register(t=>{t.pluginManager.addShape(["edge","square"],()=>Promise.resolve(new Ze))})}const ei={particles:{paint:{stroke:{width:5,color:{value:["#5bc0eb","#fde74c","#9bc53d","#e55934","#fa7921","#2FF3E0","#F8D210","#FA26A0","#F51720"]}},fill:{enable:!1}},shape:{type:"square"},rotate:{value:0,direction:bt.counterClockwise,animation:{enable:!0,speed:2,sync:!0}},size:{value:{min:1,max:500},animation:{enable:!0,startValue:K.min,speed:60,sync:!0,destroy:X.max}}},background:{color:"#000"},emitters:{position:{y:50,x:50},rate:{delay:1,quantity:1}}};async function ii(t){await t.pluginManager.register(async t=>{await Promise.all([Ve(t),Be(t),ti(t),Ge(t),Ke(t),He(t)]),t.pluginManager.addPreset("squares",ei)})}const si=globalThis;si.__tsParticlesInternals=si.__tsParticlesInternals??{},si.loadSquaresPreset=ii;function ni(t,e,i){const s=e[i];void 0!==s&&(t[i]=(t[i]??1)*s)}class ai{#v;#w;#P;#b;#z;#u;#x;#S;#M;#C;#k;#I;#O;#_;#p;#D;#E;#R={};#F=[void 0,void 0];#T={};constructor(t,e,i){this.#p=t,this.#u=e,this.#w=i,this.#x=null,this.#E=[],this.#D=[],this.#z=[],this.#v=[],this.#P=[],this.#b=[],this.#M=[],this.#C=[],this.#k=[],this.#I=[],this.#_=[],this.#O=[]}get settings(){return this.#S}canvasClear(){this.#u.actualOptions.clear&&this.draw(t=>{de(t,this.#w.size)})}clear(){let t=!1;for(const e of this.#v)if(t=e.canvasClear?.()??!1,t)break;t||this.canvasClear()}destroy(){this.stop(),this.#E=[],this.#D=[],this.#z=[],this.#v=[],this.#P=[],this.#b=[],this.#M=[],this.#C=[],this.#k=[],this.#I=[],this.#_=[],this.#O=[]}draw(t){const e=this.#x;if(e)return t(e)}drawParticle(t,e){if(t.spawning||t.destroyed)return;const i=t.getRadius();if(i<=0)return;const s=t.getFillColor(),n=t.getStrokeColor();let[a,o]=this.#A(t);if(a??=s,o??=n,!a&&!o)return;const r=this.#u,l=t.options.zIndex,c=1-t.zIndexFactor,{fillOpacity:h,opacity:d,strokeOpacity:u}=t.getOpacity(),p=this.#T,f=this.#R,g=a?Pe(a,r.hdr,h*d):void 0,m=o?Pe(o,r.hdr,u*d):g;p.a=p.b=p.c=p.d=void 0,f.fill=g,f.stroke=m,this.draw(s=>{for(const i of this.#k)i.drawParticleSetup?.(s,t,e);this.#L(s,t,i,d,f,p),function(t){const{container:e,context:i,particle:s,delta:n,colorStyles:a,radius:o,opacity:r,transform:l}=t,{effectDrawers:c,shapeDrawers:h}=e,d=s.getPosition(),u=s.getTransformData(l),p={x:d.x,y:d.y};i.setTransform(u.a,u.b,u.c,u.d,d.x,d.y),a.fill&&(i.fillStyle=a.fill);const f=!!s.fillEnabled,g=s.strokeWidth??0;i.lineWidth=g,a.stroke&&(i.strokeStyle=a.stroke);const m={context:i,particle:s,radius:o,drawRadius:1*o,opacity:r,delta:n,pixelRatio:e.retina.pixelRatio,fill:f,stroke:g>0,transformData:u,position:{...d},drawPosition:p,drawScale:1};for(const t of e.plugins)t.drawParticleTransform?.(m);const y=s.effect?c.get(s.effect):void 0,v=s.shape?h.get(s.shape):void 0;!function(t,e){if(!t?.drawBefore)return;const{particle:i}=e;i.effect&&t.drawBefore(e)}(y,m),function(t,e){if(!t?.beforeDraw)return;const{particle:i}=e;i.shape&&t.beforeDraw(e)}(v,m),function(t,e){if(!t)return;const{context:i,fill:s,particle:n,stroke:a}=e;n.shape&&(i.beginPath(),t.draw(e),n.shapeClose&&i.closePath(),s&&i.fill(),a&&i.stroke())}(v,m),function(t,e){if(!t?.afterDraw)return;const{particle:i}=e;i.shape&&t.afterDraw(e)}(v,m),function(t,e){if(!t?.drawAfter)return;const{particle:i}=e;i.effect&&t.drawAfter(e)}(y,m),i.resetTransform()}({container:r,context:s,particle:t,delta:e,colorStyles:f,radius:i*c**l.sizeRate,opacity:d,transform:p}),this.#B(t);for(const i of this.#C)i.drawParticleCleanup?.(s,t,e)})}drawParticlePlugins(t,e){this.draw(i=>{for(const s of this.#M)ue(i,s,t,e)})}drawParticles(t){const{particles:e}=this.#u;this.clear(),e.update(t),this.draw(i=>{for(const e of this.#_)e.drawSettingsSetup?.(i,t);for(const e of this.#I)e.draw?.(i,t);e.drawParticles(t);for(const e of this.#b)e.clearDraw?.(i,t);for(const e of this.#O)e.drawSettingsCleanup?.(i,t)})}init(){this.initUpdaters(),this.initPlugins(),this.paint()}initPlugins(){this.#z=[],this.#v=[],this.#P=[],this.#b=[],this.#M=[],this.#k=[],this.#C=[],this.#I=[],this.#_=[],this.#O=[];for(const t of this.#u.plugins)(t.particleFillColor??t.particleStrokeColor)&&this.#z.push(t),t.canvasClear&&this.#v.push(t),t.canvasPaint&&this.#P.push(t),t.drawParticle&&this.#M.push(t),t.drawParticleSetup&&this.#k.push(t),t.drawParticleCleanup&&this.#C.push(t),t.draw&&this.#I.push(t),t.drawSettingsSetup&&this.#_.push(t),t.drawSettingsCleanup&&this.#O.push(t),t.clearDraw&&this.#b.push(t)}initUpdaters(){this.#E=[],this.#D=[];for(const t of this.#u.particleUpdaters)t.afterDraw&&this.#D.push(t),(t.getColorStyles??t.getTransformValues??t.beforeDraw)&&this.#E.push(t)}paint(){let t=!1;for(const e of this.#P)if(t=e.canvasPaint?.()??!1,t)break;t||this.paintBase()}paintBase(t){this.draw(e=>{!function(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(a,o,e.width,e.height)}(e,this.#w.size,t)})}paintImage(t,e){this.draw(i=>{!function(t,e,i,s){if(!i)return;const n=t.globalAlpha;t.globalAlpha=s,t.drawImage(i,a,o,e.width,e.height),t.globalAlpha=n}(i,this.#w.size,t,e)})}setContext(t){this.#x=t,this.#x&&(this.#x.globalCompositeOperation="source-over")}setContextSettings(t){this.#S=t}stop(){this.draw(t=>{de(t,this.#w.size)})}#B=t=>{for(const e of this.#D)e.afterDraw?.(t)};#L=(t,e,i,s,n,a)=>{for(const o of this.#E){if(o.getColorStyles){const{fill:a,stroke:r}=o.getColorStyles(e,t,i,s);a&&(n.fill=a),r&&(n.stroke=r)}if(o.getTransformValues){const t=o.getTransformValues(e);for(const e in t)ni(a,t,e)}o.beforeDraw?.(e)}};#A=t=>{let e,i;for(const s of this.#z)if(!e&&s.particleFillColor&&(e=ye(this.#p,s.particleFillColor(t))),!i&&s.particleStrokeColor&&(i=ye(this.#p,s.particleStrokeColor(t))),e&&i)break;return this.#F[0]=e,this.#F[1]=i,this.#F}}const oi=new WeakMap;function ri(t,e,i=!1){if(!e)return;const s=t.style,n=new Set;for(let t=0;t<s.length;t++){const e=s.item(t);e&&n.add(e)}for(let t=0;t<e.length;t++){const i=e.item(t);i&&n.add(i)}for(const t of n){const n=e.getPropertyValue(t);n?s.setProperty(t,n,i?"important":""):s.removeProperty(t)}}class li{domElement;render;renderCanvas;size;zoom=1;#u;#U;#q;#$;#p;#V;#W;#H;#j;constructor(t,e){this.#p=t,this.#u=e,this.render=new ai(t,e,this),this.#H={height:0,width:0};const i=e.retina.pixelRatio,s=this.#H;this.size={height:s.height*i,width:s.width*i},this.#U=!1,this.#W=[],this.#V="none"}get#N(){return this.#u.actualOptions.fullScreen.enable}destroy(){if(this.stop(),this.#U){const t=this.domElement;t?.remove(),this.domElement=void 0,this.renderCanvas=void 0}else this.#Q();this.render.destroy(),this.#W=[]}getZoomCenter(){const t=this.#u.retina.pixelRatio,{width:e,height:i}=this.size;return this.#j?this.#j:{x:e*s/t,y:i*s/t}}init(){this.#G(t=>{t.disconnect()}),this.#q=function(t){if("undefined"!=typeof MutationObserver)return new MutationObserver(t)}(t=>{for(const e of t)"attributes"===e.type&&"style"===e.attributeName&&this.#X()}),this.resize(),this.#Y(),this.initBackground(),this.#G(t=>{const e=this.domElement;e&&e instanceof Node&&t.observe(e,{attributes:!0})}),this.initPlugins(),this.render.init()}initBackground(){const t=this.#u,e=t.actualOptions.background,i=this.domElement;if(!i)return;const s=i.style,n=ge(this.#p,e.color);s.backgroundColor=n?ve(n,t.hdr,e.opacity):"",s.backgroundImage=e.image||"",s.backgroundPosition=e.position||"",s.backgroundRepeat=e.repeat||"",s.backgroundSize=e.size||""}initPlugins(){this.#W=[];for(const t of this.#u.plugins)t.resize&&this.#W.push(t)}loadCanvas(t){this.#U&&this.domElement&&this.domElement.remove();const i=this.#u,s=(t=>"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement)(t)?t:void 0;this.domElement=s,this.#U=!!s&&"true"===s.dataset[e],this.renderCanvas=s?(t=>{const e=oi.get(t);if(e)return e;if("function"!=typeof t.transferControlToOffscreen)throw new TypeError("OffscreenCanvas is required but not supported by this browser");try{const e=t.transferControlToOffscreen();return oi.set(t,e),e}catch{throw new TypeError("OffscreenCanvas transfer failed")}})(s):t;const n=this.domElement;n&&(n.ariaHidden="true",this.#$=function(t){const e=Z().createElement("div").style;for(const i in t){const s=t[i];if(!(i in t)||D(s))continue;const n=t.getPropertyValue?.(s);if(!n)continue;const a=t.getPropertyPriority?.(s);a?e.setProperty(s,n,a):e.setProperty(s,n)}return e}(n.style));const a=this.#H,o=this.renderCanvas;n?(a.height=n.offsetHeight,a.width=n.offsetWidth):(a.height=o.height,a.width=o.width);const r=this.#u.retina.pixelRatio,l=this.size;o.height=l.height=a.height*r,o.width=l.width=a.width*r;const c=tt("(color-gamut: p3)");this.render.setContextSettings({alpha:!0,colorSpace:c?.matches&&i.hdr?"display-p3":"srgb",desynchronized:!0,willReadFrequently:!1}),this.render.setContext(o.getContext("2d",this.render.settings)),this.#G(t=>{t.disconnect()}),i.retina.init(),this.initBackground(),this.#G(t=>{const e=this.domElement;e&&e instanceof Node&&t.observe(e,{attributes:!0})})}resize(){const t=this.domElement;if(!t)return!1;const e=this.#u,i=this.renderCanvas;if(void 0===i)return!1;const s=e.canvas.#H,n={width:t.offsetWidth,height:t.offsetHeight},a=e.retina.pixelRatio,o={width:n.width*a,height:n.height*a};if(n.height===s.height&&n.width===s.width&&o.height===i.height&&o.width===i.width)return!1;const r={...s};s.height=n.height,s.width=n.width;const l=this.size;return i.width=l.width=o.width,i.height=l.height=o.height,this.#u.started&&e.particles.setResizeFactor({width:s.width/r.width,height:s.height/r.height}),!0}setPointerEvents(t){this.domElement&&(this.#V=t,this.#X())}setZoom(t,e){this.zoom=t,this.#j=e}stop(){this.#G(t=>{t.disconnect()}),this.#q=void 0,this.render.stop()}async windowResize(){if(!this.domElement||!this.resize())return;const t=this.#u,e=t.updateActualOptions();t.particles.setDensity(),this.#J(),e&&await t.refresh()}#J=()=>{for(const t of this.#W)t.resize?.()};#Y=()=>{const t=this.domElement,e=this.#u.actualOptions;if(t){this.#N?this.#K():this.#Q();for(const i in e.style){if(!i||!(i in e.style))continue;const s=e.style[i];s&&t.style.setProperty(i,s,"important")}}};#X=()=>{const t=this.domElement;if(!t)return;this.#G(t=>{t.disconnect()}),this.#Y(),this.initBackground();const e=this.#V;t.style.pointerEvents=e,t.style.setProperty("pointer-events",e),this.#G(e=>{t instanceof Node&&e.observe(t,{attributes:!0})})};#Q=()=>{const t=this.domElement,e=this.#$;t&&e&&ri(t,e,!0)};#G=t=>{this.#q&&t(this.#q)};#K=()=>{const t=this.domElement;t&&ri(t,ct(this.#u.actualOptions.fullScreen.zIndex),!0)}}class ci{#u;#Z;#tt;#et;constructor(t){this.#u=t,this.#Z={visibilityChange:()=>{this.#it()},resize:()=>{this.#st()}}}addListeners(){this.#nt(!0)}removeListeners(){this.#nt(!1)}#it=()=>{const t=this.#u;t.actualOptions.pauseOnBlur&&(Z().hidden?(t.pageHidden=!0,t.pause()):(t.pageHidden=!1,t.animationStatus?t.play(!0):t.draw(!0)))};#st=()=>{this.#et&&(clearTimeout(this.#et),this.#et=void 0);const t=async()=>{const t=this.#u.canvas;await t.windowResize()};this.#et=setTimeout(()=>{t()},this.#u.actualOptions.resize.delay*n)};#nt=t=>{const e=this.#Z;this.#at(t),ht(document,"visibilitychange",e.visibilityChange,t,!1)};#at=t=>{const e=this.#Z,i=this.#u;if(!i.actualOptions.resize.enable)return;if("undefined"==typeof ResizeObserver)return void ht(globalThis,"resize",e.resize,t);const s=i.canvas.domElement;this.#tt&&!t?(s&&this.#tt.unobserve(s),this.#tt.disconnect(),this.#tt=void 0):!this.#tt&&t&&s&&(this.#tt=new ResizeObserver(t=>{t.find(t=>t.target===s)&&this.#st()}),this.#tt.observe(s))}}function hi(t){if(e=t.outMode,i=t.checkModes,!(e===i||_(i)&&i.includes(e)))return;var e,i;const s=2*t.radius;t.coord>t.maxCoord-s?t.setCb(-t.radius):t.coord<s&&t.setCb(t.radius)}class di{backColor;bubble;destroyed;direction;effect;effectClose;effectData;fillColor;fillEnabled;fillOpacity;group;id;ignoresResizeRatio;initialPosition;initialVelocity;isRotating;justWarped;lastPathTime;misplaced;moveCenter;offset;opacity;options;outType;pathRotation;position;randomIndexData;retina;roll;rotation;shape;shapeClose;shapeData;sides;size;slow;spawning;strokeColor;strokeOpacity;strokeWidth;unbreakable;velocity;zIndexFactor;#ot={fillOpacity:1,opacity:1,strokeOpacity:1};#rt=S.origin;#lt={sin:0,cos:0};#ct={a:1,b:0,c:0,d:1};#u;#p;constructor(t,e){this.#p=t,this.#u=e}destroy(t){if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const e=this.#u,i=this.shape?e.shapeDrawers.get(this.shape):void 0;i?.particleDestroy?.(this);for(const i of e.particleDestroyedPlugins)i.particleDestroyed?.(this,t);for(const i of e.particleUpdaters)i.particleDestroyed?.(this,t);this.#u.dispatchEvent(pt.particleDestroyed,{particle:this})}draw(t){const e=this.#u.canvas.render;e.drawParticlePlugins(this,t),e.drawParticle(this,t)}getAngle(){return this.rotation+(this.pathRotation?this.velocity.angle:0)}getFillColor(){return this.#ht(this.bubble.color??be(this.fillColor))}getMass(){return this.getRadius()**2*Math.PI*s}getOpacity(){const t=this.options.zIndex,e=(1-this.zIndexFactor)**t.opacityRate,i=this.bubble.opacity??q(this.opacity?.value??1),s=this.fillOpacity??1,n=this.strokeOpacity??1;return this.#ot.fillOpacity=i*s*e,this.#ot.opacity=i*e,this.#ot.strokeOpacity=i*n*e,this.#ot}getPosition(){return this.#rt.x=this.position.x+this.offset.x,this.#rt.y=this.position.y+this.offset.y,this.#rt.z=this.position.z,this.#rt}getRadius(){return this.bubble.radius??this.size.value}getRotateData(){const t=this.getAngle();return this.#lt.sin=Math.sin(t),this.#lt.cos=Math.cos(t),this.#lt}getStrokeColor(){return this.#ht(this.bubble.color??be(this.strokeColor))}getTransformData(t){const e=this.getRotateData(),i=this.isRotating;return this.#ct.a=e.cos*(t.a??l),this.#ct.b=i?e.sin*(t.b??1):t.b??c,this.#ct.c=i?-e.sin*(t.c??1):t.c??h,this.#ct.d=e.cos*(t.d??d),this.#ct}init(t,e,i,s){const n=this.#u;this.id=t,this.group=s,this.justWarped=!1,this.effectClose=!0,this.shapeClose=!0,this.pathRotation=!1,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.isRotating=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{},maxSpeed:0,moveDrift:0,moveSpeed:0,sizeAnimationSpeed:0},this.size={value:1,max:1,min:1,enable:!1},this.outType=Ct.normal,this.ignoresResizeRatio=!0;const a=n.actualOptions,o=ce(this.#p,n,a.particles),r=o.reduceDuplicates,l=o.effect.type,c=o.shape.type;this.effect=nt(l,this.id,r),this.shape=nt(c,this.id,r);const h=o.effect,d=o.shape;if(i){if(i.effect?.type&&i.effect.type!==this.effect){const t=nt(i.effect.type,this.id,r);t&&(this.effect=t,h.load(i.effect))}if(i.shape?.type&&i.shape.type!==this.shape){const t=nt(i.shape.type,this.id,r);t&&(this.shape=t,d.load(i.shape))}}if(this.effect===u){const t=[...this.#u.effectDrawers.keys()];this.effect=t[Math.floor(A()*t.length)]}if(this.shape===u){const t=[...this.#u.shapeDrawers.keys()];this.shape=t[Math.floor(A()*t.length)]}this.effectData=this.effect?function(t,e,i,s){const n=e.options[t];return it({close:e.close},nt(n,i,s))}(this.effect,h,this.id,r):void 0,this.shapeData=this.shape?function(t,e,i,s){const n=e.options[t];return it({close:e.close},nt(n,i,s))}(this.shape,d,this.id,r):void 0,o.load(i);const p=this.effectData,f=this.shapeData;p&&o.load(p.particles),f&&o.load(f.particles),this.effectClose=p?.close??o.effect.close,this.shapeClose=f?.close??o.shape.close,this.options=o,n.retina.initParticle(this);for(const t of n.particleUpdaters)t.preInit?.(this);let g,m;this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this.#dt(e),this.initialVelocity=this.#ut(),this.velocity=this.initialVelocity.copy(),this.zIndexFactor=this.position.z/n.zLayers,this.sides=24,this.effect&&(g=n.effectDrawers.get(this.effect)),g?.loadEffect&&g.loadEffect(this),this.shape&&(m=n.shapeDrawers.get(this.shape)),m?.loadShape&&m.loadShape(this);const y=m?.getSidesCount;y&&(this.sides=y(this)),this.spawning=!1;for(const t of n.particleUpdaters)t.init(this);g?.particleInit?.(n,this),m?.particleInit?.(n,this);for(const t of n.particleCreatedPlugins)t.particleCreated?.(this)}isInsideCanvas(t){return this.#pt({direction:t}).inside}isInsideCanvasForOutMode(t,e){return this.#pt({direction:e,outMode:t}).inside}isShowingBack(){if(!this.roll)return!1;const t=this.roll.angle;if(this.roll.horizontal&&this.roll.vertical){const e=t%p,i=e<0?e+p:e;return i>=Math.PI*s&&i<3*Math.PI*s}if(this.roll.horizontal){const e=(t+Math.PI*s)%(2*Math.PI),i=e<0?e+2*Math.PI:e;return i>=Math.PI&&i<2*Math.PI}if(this.roll.vertical){const e=t%(2*Math.PI),i=e<0?e+2*Math.PI:e;return i>=Math.PI&&i<2*Math.PI}return!1}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){for(const t of this.#u.particleUpdaters)t.reset?.(this)}#ft=(t,e)=>{let i=0,s=t?S.create(t.x,t.y,e):void 0;const n=this.#u,a=n.particlePositionPlugins,o=this.options.move.outModes,r=this.getRadius(),l=n.canvas.size,c=new AbortController,{signal:h}=c;for(;!h.aborted;){for(const t of a){const i=t.particlePosition?.(s,this);if(i)return S.create(i.x,i.y,e)}const t=N({size:l,position:s}),c=S.create(t.x,t.y,e);this.#gt(c,r,o.left??o.default),this.#gt(c,r,o.right??o.default),this.#mt(c,r,o.top??o.default),this.#mt(c,r,o.bottom??o.default);let h=!0;for(const t of n.particles.checkParticlePositionPlugins)if(h=t.checkParticlePosition?.(this,c,i)??!0,!h)break;if(h)return c;i+=1,s=void 0}return s};#ut=()=>{const t=this.options.move,e=function(t){const e=M.origin;return e.length=1,e.angle=t,e}(this.direction).copy();if(t.direction===z.inside||t.direction===z.outside)return e;const i=H(q(t.angle.value)),n=H(q(t.angle.offset)),a={left:n-i*s,right:n+i*s};return t.straight||(e.angle+=U(W(a.left,a.right))),t.random&&"number"==typeof t.speed&&(e.length*=A()),e};#gt=(t,e,i)=>{hi({outMode:i,checkModes:[xt.bounce],coord:t.x,maxCoord:this.#u.canvas.size.width,setCb:e=>t.x+=e,radius:e})};#mt=(t,e,i)=>{hi({outMode:i,checkModes:[xt.bounce],coord:t.y,maxCoord:this.#u.canvas.size.height,setCb:e=>t.y+=e,radius:e})};#yt=(t,e)=>{const i=this.getRadius(),s=this.#u.canvas.size,n=this.position,a=e===xt.bounce;return t===Y.bottom?{inside:a?n.y+i<s.height:n.y-i<s.height,reason:"default"}:t===Y.left?{inside:a?n.x-i>0:n.x+i>0,reason:"default"}:t===Y.right?{inside:a?n.x+i<s.width:n.x-i<s.width,reason:"default"}:t===Y.top?{inside:a?n.y-i>0:n.y+i>0,reason:"default"}:{inside:n.x>=-i&&n.y>=-i&&n.y<=s.height+i&&n.x<=s.width+i,reason:"default"}};#vt=(t,e)=>({canvasSize:this.#u.canvas.size,direction:t,outMode:e,particle:this,radius:this.getRadius()});#pt=t=>{const e=this.#yt(t.direction,t.outMode),i=this.#u,s=this.shape?i.shapeDrawers.get(this.shape):void 0,n=this.effect?i.effectDrawers.get(this.effect):void 0,a=s?.isInsideCanvas,o=n?.isInsideCanvas;if(!a&&!o)return e;const r=this.#vt(t.direction,t.outMode),l=a?this.#wt(a(r),"shape"):void 0,c=o?this.#wt(o(r),"effect"):void 0;if(l&&c){const t=Math.max(l.margin??0,c.margin??0);return{inside:l.inside&&c.inside,margin:t>0?t:void 0,reason:"combined"}}return l??c??e};#ht=t=>t&&this.roll&&(this.backColor||this.roll.alter)&&this.isShowingBack()?this.backColor?this.backColor:this.roll.alter?function(t,e,i){return{h:t.h,s:t.s,l:t.l+(e===St.darken?-1:1)*i}}(t,this.roll.alter.type,this.roll.alter.value):t:t;#dt=t=>{const e=this.#u,i=Math.floor(q(this.options.zIndex.value)),n=this.#ft(t,B(i,0,e.zLayers));if(!n)throw new Error("a valid position cannot be found for particle");this.position=n,this.initialPosition=this.position.copy();const a=e.canvas.size;switch(this.moveCenter={...ot(this.options.move.center,a),radius:this.options.move.center.radius,mode:this.options.move.center.mode},this.direction=function(t,e,i){if(I(t))return H(t);switch(t){case z.top:return-Math.PI*s;case z.topRight:return-Math.PI*b;case z.right:return 0;case z.bottomRight:return Math.PI*b;case z.bottom:return Math.PI*s;case z.bottomLeft:return.75*Math.PI;case z.left:return Math.PI;case z.topLeft:return.75*-Math.PI;case z.inside:return Math.atan2(i.y-e.y,i.x-e.x);case z.outside:return Math.atan2(e.y-i.y,e.x-i.x);default:return A()*p}}(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case z.inside:this.outType=Ct.inside;break;case z.outside:this.outType=Ct.outside}this.offset=M.origin};#wt=(t,e)=>"boolean"==typeof t?{inside:t,reason:e}:{inside:t.inside,margin:t.margin,reason:t.reason??e}}class ui{#Pt;#bt=new Map;#zt=[];#xt;#St;#Mt=[];#Ct;constructor(t){this.#Pt=t,this.#xt=0,this.#Ct=0}clear(){this.#bt.clear();const t=this.#St;t&&(this.#Pt=t),this.#St=void 0}insert(t){const{x:e,y:i}=t.getPosition(),s=this.#kt(e,i);this.#bt.has(s)||this.#bt.set(s,[]),this.#bt.get(s)?.push(t)}query(t,e,i=[]){const s=this.#It(t);if(!s)return i;const n=Math.floor(s.minX/this.#Pt),a=Math.floor(s.maxX/this.#Pt),o=Math.floor(s.minY/this.#Pt),r=Math.floor(s.maxY/this.#Pt);for(let s=n;s<=a;s++)for(let n=o;n<=r;n++){const a=`${s}_${n}`,o=this.#bt.get(a);if(o)for(const s of o)e&&!e(s)||t.contains(s.getPosition())&&i.push(s)}return i}queryCircle(t,e,i,s=[]){const n=this.#Ot(t.x,t.y,e),a=this.query(n,i,s);return this.#_t(),a}queryRectangle(t,e,i,s=[]){const n=this.#Dt(t.x,t.y,e.width,e.height),a=this.query(n,i,s);return this.#_t(),a}setCellSize(t){this.#St=t}#Ot(t,e,i){return(this.#zt[this.#xt++]??=new Ot(t,e,i)).reset(t,e,i)}#Dt(t,e,i,s){return(this.#Mt[this.#Ct++]??=new _t(t,e,i,s)).reset(t,e,i,s)}#kt(t,e){return`${Math.floor(t/this.#Pt)}_${Math.floor(e/this.#Pt)}`}#It(t){if(t instanceof Ot){const e=t.radius,{x:i,y:s}=t.position;return{minX:i-e,maxX:i+e,minY:s-e,maxY:s+e}}if(t instanceof _t){const{x:e,y:i}=t.position,{width:s,height:n}=t.size;return{minX:e,maxX:e+s,minY:i,maxY:i+n}}return null}#_t(){this.#xt=0,this.#Ct=0}}class pi{checkParticlePositionPlugins;grid;#Et;#u;#Rt;#Ft;#Tt;#At;#Lt;#Bt;#p;#Ut;#qt;#$t;#Vt;#Wt;#Ht;constructor(t,e){this.#p=t,this.#u=e,this.#Tt=0,this.#Et=[],this.#Ut=[],this.#Ft=0,this.#Rt=new Map,this.#At=new Map,this.#Ht=this.#jt(this.#u.zLayers),this.grid=new ui(100),this.checkParticlePositionPlugins=[],this.#Lt=[],this.#Bt=[],this.#$t=[],this.#qt=[],this.#Wt=[]}get count(){return this.#Et.length}addParticle(t,e,i,s){const n=this.#u.actualOptions.particles.number.limit.mode,a=void 0===i?this.#Ft:this.#Rt.get(i)??this.#Ft,o=this.count;if(a>0)switch(n){case zt.delete:{const t=o+1-a;t>0&&this.removeQuantity(t);break}case zt.wait:if(o>=a)return}try{const n=this.#Ut.pop()??new di(this.#p,this.#u);n.init(this.#Tt,t,e,i);let a=!0;return s&&(a=s(n)),a?(this.#Et.push(n),this.#Nt(n),this.#Tt++,this.#u.dispatchEvent(pt.particleAdded,{particle:n}),n):void this.#Ut.push(n)}catch(t){yt().warning(`error adding particle: ${t}`)}}clear(){this.#Et=[],this.#At.clear(),this.#Qt(this.#u.zLayers)}destroy(){this.#Et=[],this.#Ut.length=0,this.#At.clear(),this.#Ht=[],this.checkParticlePositionPlugins=[],this.#Lt=[],this.#Bt=[],this.#$t=[],this.#qt=[],this.#Wt=[]}drawParticles(t){for(let e=this.#Ht.length-1;e>=0;e--){const i=this.#Ht[e];if(i)for(const e of i)e.draw(t)}}filter(t){return this.#Et.filter(t)}find(t){return this.#Et.find(t)}get(t){return this.#Et[t]}async init(){const t=this.#u,e=t.actualOptions;this.checkParticlePositionPlugins=[],this.#Wt=[],this.#Bt=[],this.#$t=[],this.#Lt=[],this.#qt=[],this.#At.clear(),this.#Qt(t.zLayers),this.grid=new ui(100*t.retina.pixelRatio);for(const e of t.plugins)e.redrawInit&&await e.redrawInit(),e.checkParticlePosition&&this.checkParticlePositionPlugins.push(e),e.update&&this.#Wt.push(e),e.particleUpdate&&this.#Bt.push(e),e.postUpdate&&this.#$t.push(e),e.particleReset&&this.#Lt.push(e),e.postParticleUpdate&&this.#qt.push(e);await this.#u.initDrawersAndUpdaters();for(const e of this.#u.effectDrawers.values())await(e.init?.(t));for(const e of this.#u.shapeDrawers.values())await(e.init?.(t));let i=!1;for(const e of t.plugins)if(i=e.particlesInitialization?.()??i,i)break;if(!i){const t=e.particles,i=t.groups;for(const e in i){const s=i[e];if(s)for(let i=this.count,n=0;n<s.number.value&&i<t.number.value;i++,n++)this.addParticle(void 0,s,e)}for(let e=this.count;e<t.number.value;e++)this.addParticle()}}push(t,e,i,s){for(let n=0;n<t;n++)this.addParticle(e,i,s)}async redraw(){this.clear(),await this.init(),this.#u.canvas.render.drawParticles({value:0,factor:0})}remove(t,e,i){this.removeAt(this.#Et.indexOf(t),void 0,e,i)}removeAt(t,e=1,i,s){if(t<0||t>this.count)return;let n=0;for(let a=t;n<e&&a<this.count;a++)this.#Gt(a,i,s)&&(a--,n++)}removeQuantity(t,e){this.removeAt(0,t,e)}setDensity(){const t=this.#u.actualOptions,e=t.particles.groups;let i=0;for(const t of this.#u.plugins)t.particlesDensityCount&&(i+=t.particlesDensityCount());for(const t in e){const s=e[t];if(!s)continue;const n=ce(this.#p,this.#u,s);this.#Xt(n,i,t)}this.#Xt(t.particles,i)}setResizeFactor(t){this.#Vt=t}update(t){this.grid.clear();for(const e of this.#Wt)e.update?.(t);const e=this.#Yt(t);for(const e of this.#$t)e.postUpdate?.(t);if(this.#Jt(t,e),e.size)for(const t of e)this.remove(t);this.#Vt=void 0}#Kt=(...t)=>{this.#Ut.push(...t)};#Xt=(t,e,i,s)=>{const n=t.number;if(!n.density.enable)return void(void 0===i?this.#Ft=n.limit.value:(s?.number.limit.value??n.limit.value)&&this.#Rt.set(i,s?.number.limit.value??n.limit.value));const a=this.#Zt(n.density),o=n.value,r=n.limit.value>0?n.limit.value:o,l=Math.min(o,r)*a+e,c=Math.min(this.count,this.filter(t=>t.group===i).length);void 0===i?this.#Ft=n.limit.value*a:this.#Rt.set(i,n.limit.value*a),c<l?this.push(Math.abs(l-c),void 0,t,i):c>l&&this.removeQuantity(c-l,i)};#jt=t=>{const e=Math.max(Math.floor(t),1);return Array.from({length:e},()=>[])};#te=t=>{const e=this.#Ht.length-1;return e<=0?0:Math.min(Math.max(Math.floor(t),0),e)};#ee=(t,e)=>{let i=0,s=t.length;for(;i<s;){const n=Math.floor((i+s)/2),a=t[n];a?a.id<e?i=n+1:s=n:s=n}return i};#Zt=t=>{const e=this.#u;if(!t.enable)return 1;const i=e.canvas.size,s=e.retina.pixelRatio;return i.width&&i.height?i.width*i.height/(t.height*t.width*s**2):1};#Nt=t=>{const e=this.#te(t.position.z),i=this.#Ht[e];i&&(i.splice(this.#ee(i,t.id),0,t),this.#At.set(t.id,e))};#Gt=(t,e,i)=>{const s=this.#Et[t];return!!s&&(s.group===e&&(this.#Et.splice(t,1),this.#ie(s),s.destroy(i),this.#u.dispatchEvent(pt.particleRemoved,{particle:s}),this.#Kt(s),!0))};#ie=t=>{const e=this.#At.get(t.id)??this.#te(t.position.z),i=this.#Ht[e];if(!i)return void this.#At.delete(t.id);const s=this.#ee(i,t.id);i[s]?.id===t.id?(i.splice(s,1),this.#At.delete(t.id)):this.#At.delete(t.id)};#Qt=t=>{const e=Math.max(Math.floor(t),1);if(this.#Ht.length===e)for(const t of this.#Ht)t.length=0;else this.#Ht=this.#jt(e)};#se=t=>{const e=this.#te(t.position.z),i=this.#At.get(t.id);if(void 0===i)return void this.#Nt(t);if(i===e)return;const s=this.#Ht[i];if(s){const e=this.#ee(s,t.id);s[e]?.id===t.id&&s.splice(e,1)}const n=this.#Ht[e];n?(n.splice(this.#ee(n,t.id),0,t),this.#At.set(t.id,e)):this.#At.set(t.id,e)};#Yt=t=>{const e=new Set,i=this.#Vt;for(const s of this.#Et){i&&!s.ignoresResizeRatio&&(s.position.x*=i.width,s.position.y*=i.height,s.initialPosition.x*=i.width,s.initialPosition.y*=i.height),s.ignoresResizeRatio=!1;for(const t of this.#Lt)t.particleReset?.(s);for(const e of this.#Bt){if(s.destroyed)break;e.particleUpdate?.(s,t)}s.destroyed?e.add(s):this.grid.insert(s)}return e};#Jt=(t,e)=>{for(const i of this.#Et)if(i.destroyed)e.add(i);else{for(const e of this.#u.particleUpdaters)e.update(i,t);if(!i.spawning)for(const e of this.#qt)e.postParticleUpdate?.(i,t);this.#se(i)}}}class fi{pixelRatio;reduceFactor;#u;constructor(t){this.#u=t,this.pixelRatio=1,this.reduceFactor=1}init(){const t=this.#u,e=t.actualOptions;this.pixelRatio=e.detectRetina?devicePixelRatio:1,this.reduceFactor=1;const i=this.pixelRatio,s=t.canvas,n=s.domElement;n&&(s.size.width=n.offsetWidth*i,s.size.height=n.offsetHeight*i)}initParticle(t){const e=t.options,i=this.pixelRatio,s=e.move,n=s.distance,a=t.retina;a.maxSpeed=q(s.gravity.maxSpeed)*i,a.moveDrift=q(s.drift)*i,a.moveSpeed=q(s.speed)*i;const o=a.maxDistance;o.horizontal=void 0===n.horizontal?void 0:n.horizontal*i,o.vertical=void 0===n.vertical?void 0:n.vertical*i}}function gi(t){return!t.destroyed}function mi(t,e,...i){const s=new he(t,e);return le(s,...i),s}var yi=Object.freeze({__proto__:null,Container:class{actualOptions;canvas;destroyed;effectDrawers;fpsLimit;hdr;id;pageHidden;particleCreatedPlugins;particleDestroyedPlugins;particlePositionPlugins;particleUpdaters;particles;plugins;retina;shapeDrawers;started;zLayers;#ne;#ae;#oe={value:0,factor:0};#re;#le;#ce;#he;#de;#ue;#pe;#fe;#ge;#me;#ye;#p;#ve;#we;constructor(t){const{dispatchCallback:e,pluginManager:i,id:s,onDestroy:n,sourceOptions:a}=t;this.#p=i,this.#re=e,this.#ge=n,this.id=Symbol(s),this.fpsLimit=120,this.hdr=!1,this.#ve=!1,this.#ne=0,this.#ce=0,this.#fe=0,this.#de=!0,this.started=!1,this.destroyed=!1,this.#ye=!0,this.#pe=0,this.zLayers=100,this.pageHidden=!1,this.#we=a,this.#ue=a,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.particleUpdaters=[],this.retina=new fi(this),this.canvas=new li(this.#p,this),this.particles=new pi(this.#p,this),this.plugins=[],this.particleDestroyedPlugins=[],this.particleCreatedPlugins=[],this.particlePositionPlugins=[],this.#me=mi(this.#p,this),this.actualOptions=mi(this.#p,this),this.#he=new ci(this),this.dispatchEvent(pt.containerBuilt)}get animationStatus(){return!this.#ye&&!this.pageHidden&&gi(this)}get options(){return this.#me}get sourceOptions(){return this.#we}addLifeTime(t){this.#fe+=t}alive(){return!this.#ce||this.#fe<=this.#ce}destroy(t=!0){if(gi(this)){this.stop(),this.particles.destroy(),this.canvas.destroy();for(const[,t]of this.effectDrawers)t.destroy?.(this);for(const[,t]of this.shapeDrawers)t.destroy?.(this);for(const t of this.plugins)t.destroy?.();this.effectDrawers=new Map,this.shapeDrawers=new Map,this.particleUpdaters=[],this.plugins.length=0,this.#p.clearPlugins(this),this.destroyed=!0,this.#ge(t),this.dispatchEvent(pt.containerDestroyed)}}dispatchEvent(t,e){this.#re(t,{container:this,data:e})}draw(t){if(!gi(this))return;let e=t;this.#le=F(t=>{e&&(this.#pe=void 0,e=!1),this.#Pe(t)})}async export(t,e={}){for(const i of this.plugins){if(!i.export)continue;const s=await i.export(t,e);if(s.supported)return s.blob}yt().error(`Export plugin with type ${t} not found`)}async init(){if(!gi(this))return;const t=new Map;for(const e of this.#p.plugins){const i=await e.getPlugin(this);i.preInit&&await i.preInit(),t.set(e,i)}await this.initDrawersAndUpdaters(),this.#me=mi(this.#p,this,this.#ue,this.sourceOptions),this.actualOptions=mi(this.#p,this,this.#me),this.plugins.length=0,this.particleDestroyedPlugins.length=0,this.particleCreatedPlugins.length=0,this.particlePositionPlugins.length=0;for(const[e,i]of t)e.needsPlugin(this.actualOptions)&&(this.plugins.push(i),i.particleCreated&&this.particleCreatedPlugins.push(i),i.particleDestroyed&&this.particleDestroyedPlugins.push(i),i.particlePosition&&this.particlePositionPlugins.push(i));this.retina.init(),this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize();const{delay:e,duration:i,fpsLimit:s,hdr:a,smooth:o,zLayers:r}=this.actualOptions;this.hdr=a,this.zLayers=r,this.#ce=q(i)*n,this.#ne=q(e)*n,this.#fe=0,this.fpsLimit=s>0?s:120,this.#ve=o;for(const t of this.plugins)await(t.init?.());await this.particles.init(),this.dispatchEvent(pt.containerInit),this.particles.setDensity();for(const t of this.plugins)t.particlesSetup?.();this.dispatchEvent(pt.particlesSetup)}async initDrawersAndUpdaters(){const t=this.#p;this.effectDrawers=await t.getEffectDrawers(this,!0),this.shapeDrawers=await t.getShapeDrawers(this,!0),this.particleUpdaters=await t.getUpdaters(this,!0)}pause(){var t;if(gi(this)&&(void 0!==this.#le&&(t=this.#le,T(t),this.#le=void 0),!this.#ye)){for(const t of this.plugins)t.pause?.();this.pageHidden||(this.#ye=!0),this.dispatchEvent(pt.containerPaused)}}play(t){if(!gi(this))return;const e=this.#ye||t;if(!this.#de||this.actualOptions.autoPlay){if(this.#ye&&(this.#ye=!1),e)for(const t of this.plugins)t.play&&t.play();this.dispatchEvent(pt.containerPlay),this.draw(e??!1)}else this.#de=!1}async refresh(){if(gi(this))return this.stop(),this.start()}async reset(t){if(gi(this))return this.#ue=t,this.#we=t,this.#me=mi(this.#p,this,this.#ue,this.sourceOptions),this.actualOptions=mi(this.#p,this,this.#me),this.refresh()}async start(){gi(this)&&!this.started&&(await this.init(),this.started=!0,await new Promise(t=>{const e=async()=>{this.#he.addListeners();for(const t of this.plugins)await(t.start?.());this.dispatchEvent(pt.containerStarted),this.play(),t()};this.#ae=setTimeout(()=>{e()},this.#ne)}))}stop(){if(gi(this)&&this.started){this.#ae&&(clearTimeout(this.#ae),this.#ae=void 0),this.#de=!0,this.started=!1,this.#he.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop();for(const t of this.plugins)t.stop?.();this.particleCreatedPlugins.length=0,this.particleDestroyedPlugins.length=0,this.particlePositionPlugins.length=0,this.#we=this.#me,this.dispatchEvent(pt.containerStopped)}}updateActualOptions(){let t=!1;for(const e of this.plugins)e.updateActualOptions&&(t=e.updateActualOptions()||t);return t}#Pe=t=>{try{if(!this.#ve&&void 0!==this.#pe&&t<this.#pe+n/this.fpsLimit)return void this.draw(!1);if(this.#pe??=t,function(t,e,i=60,s=!1){t.value=e,t.factor=s?60/i:60*e/n}(this.#oe,t-this.#pe,this.fpsLimit,this.#ve),this.addLifeTime(this.#oe.value),this.#pe=t,this.#oe.value>n)return void this.draw(!1);if(this.canvas.render.drawParticles(this.#oe),!this.alive())return void this.destroy();this.animationStatus&&this.draw(!1)}catch(t){yt().error("error in animation loop",t)}}}});var vi=Object.freeze({__proto__:null,EmittersPluginInstance:class{#u;#m;constructor(t,e){this.#m=t,this.#u=e,this.#m.initContainer(e)}async init(){const t=this.#u.actualOptions.emitters;if(_(t))for(const e of t)await this.#m.addEmitter(this.#u,e);else await this.#m.addEmitter(this.#u,t)}pause(){for(const t of this.#m.getArray(this.#u))t.pause()}play(){for(const t of this.#m.getArray(this.#u))t.play()}resize(){for(const t of this.#m.getArray(this.#u))t.resize()}stop(){this.#m.clear(this.#u)}update(t){this.#m.getArray(this.#u).forEach(e=>{e.update(t)})}}});const wi=new Map;var Pi=Object.freeze({__proto__:null,ShapeManager:class{addShapeGenerator(t,e){this.getShapeGenerator(t)||wi.set(t,e)}getShapeGenerator(t){return wi.get(t)}getSupportedShapeGenerators(){return wi.keys()}}});var bi=Object.freeze({__proto__:null,EmittersInstancesManager:class{#be;#p;constructor(t){this.#be=new Map,this.#p=t}async addEmitter(t,e,i){const s=new Re;s.load(e);const{EmitterInstance:n}=await Promise.resolve().then(function(){return Si}),a=new n(this.#p,t,e=>{this.removeEmitter(t,e)},s,i);return await a.init(),this.getArray(t).push(a),a}clear(t){this.initContainer(t),this.#be.set(t,[])}getArray(t){this.initContainer(t);let e=this.#be.get(t);return e||(e=[],this.#be.set(t,e)),e}initContainer(t){this.#be.has(t)||(this.#be.set(t,[]),t.getEmitter=e=>{const i=this.getArray(t);return void 0===e||I(e)?i[e??0]:i.find(t=>t.name===e)},t.addEmitter=async(e,i)=>this.addEmitter(t,e,i),t.removeEmitter=e=>{const i=t.getEmitter?.(e);i&&this.removeEmitter(t,i)},t.playEmitter=e=>{const i=t.getEmitter?.(e);i&&i.externalPlay()},t.pauseEmitter=e=>{const i=t.getEmitter?.(e);i&&i.externalPause()})}removeEmitter(t,e){const i=this.getArray(t).indexOf(e);i>=0&&this.getArray(t).splice(i,1)}}});function zi(t,e,i,s){(t.paint??=new Zt).fill={color:At.create(void 0,{value:e}),enable:s,opacity:i}}function xi(t,e,i,s){(t.paint??=new Zt).stroke={color:At.create(void 0,{value:e}),opacity:i,width:s}}var Si=Object.freeze({__proto__:null,EmitterInstance:class{fill;name;options;position;size;spawnFillColor;spawnFillEnabled;spawnFillOpacity;spawnStrokeColor;spawnStrokeOpacity;spawnStrokeWidth;#u;#ze;#xe;#Se;#ce;#Me;#Ce;#ke;#Ie;#Oe;#q;#_e;#ye;#p;#De;#tt;#Ee;#Re;#Fe;#Te;constructor(t,e,i,s,a){this.#p=t,this.#u=e,this.#De=i,this.#ze=0,this.#xe=0,this.#Se=0,this.#Ie=a,s instanceof Re?this.options=s:(this.options=new Re,this.options.load(s)),this.#Fe=e.retina.reduceFactor?q(this.options.life.delay??0)*n/e.retina.reduceFactor:1/0,this.position=this.#Ie??this.#ft(),this.name=this.options.name,this.fill=this.options.fill,this.#Ce=!this.options.life.wait,this.#Te=!1;const o=it({},this.options.particles);if(o.move??={},o.move.direction??=this.options.direction,this.options.spawn.fill?.color&&(this.spawnFillColor=ye(this.#p,this.options.spawn.fill.color)),this.options.spawn.stroke?.color&&(this.spawnStrokeColor=ye(this.#p,this.options.spawn.stroke.color)),this.#ye=!this.options.autoPlay,this.#_e=o,this.#Re=this.#Ae(),this.size=rt(this.#Re,this.#u.canvas.size),this.#Oe=this.options.life.count??-1,this.#ke=this.#Oe<=0,this.options.domId){const t=Z().getElementById(this.options.domId);t&&(this.#q=new MutationObserver(()=>{this.resize()}),this.#tt=new ResizeObserver(()=>{this.resize()}),this.#q.observe(t,{attributes:!0,attributeFilter:["style","width","height"]}),this.#tt.observe(t))}const r=this.options.shape,l=this.#p.emitterShapeManager?.getShapeGenerator(r.type);l&&(this.#Ee=l.generate(this.#u,this.position,this.size,this.fill,r.options)),this.#u.dispatchEvent("emitterCreated",{emitter:this}),this.play()}externalPause(){this.#ye=!0,this.pause()}externalPlay(){this.#ye=!1,this.play()}async init(){await(this.#Ee?.init())}pause(){this.#ye||(this.#Me=void 0)}play(){if(this.#ye)return;if(!(this.#Oe>0||this.#ke)&&this.options.life.count||!(this.#Ce||this.#Se>=(this.#Fe??0)))return;const t=this.#u;if(void 0===this.#Me){const e=q(this.options.rate.delay);this.#Me=t.retina.reduceFactor?e*n/t.retina.reduceFactor:1/0}(this.#Oe>0||this.#ke)&&this.#Le()}resize(){const t=this.#Ie,e=this.#u;var i,s,n;this.position=t&&(i=t,s=e.canvas.size,n=M.origin,function(t,e,i){let s=!0;return s=t.top<e.height+i.x,s&&(s=t.right>i.x),s&&(s=t.left<e.width+i.y),s&&(s=t.bottom>i.y),s}(function(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}(i,0),s,n))?t:this.#ft(),this.#Re=this.#Ae(),this.size=rt(this.#Re,e.canvas.size),this.#Ee?.resize(this.position,this.size)}update(t){if(this.#ye)return;const e=this.#u;this.#Ce&&(this.#Ce=!1,this.#Se=this.#Fe??0,this.#xe=this.#Me??0),this.#Te||(this.#Te=!0,this.#Be(this.options.startCount)),void 0!==this.#ce&&(this.#ze+=t.value,this.#ze>=this.#ce&&(this.pause(),void 0!==this.#Fe&&(this.#Fe=void 0),this.#ke||this.#Oe--,this.#Oe>0||this.#ke?(this.position=this.#ft(),this.#Ee?.resize(this.position,this.size),this.#Fe=e.retina.reduceFactor?q(this.options.life.delay??0)*n/e.retina.reduceFactor:1/0):this.#Ue(),this.#ze-=this.#ce,this.#ce=void 0)),void 0!==this.#Fe&&(this.#Se+=t.value,this.#Se>=this.#Fe&&(this.#u.dispatchEvent("emitterPlay"),this.play(),this.#Se-=this.#Fe,this.#Fe=void 0)),void 0!==this.#Me&&(this.#xe+=t.value,this.#xe>=this.#Me&&(this.#qe(),this.#xe-=this.#Me))}#ft(){const t=this.#u;if(this.options.domId){const e=Z().getElementById(this.options.domId);if(e){const i=e.getBoundingClientRect(),n=t.retina.pixelRatio;return{x:(i.x+i.width*s)*n,y:(i.y+i.height*s)*n}}}return j({size:t.canvas.size,position:this.options.position})}#Ae(){const t=this.#u;if(this.options.domId){const e=Z().getElementById(this.options.domId);if(e){const i=e.getBoundingClientRect();return{width:i.width*t.retina.pixelRatio,height:i.height*t.retina.pixelRatio,mode:J.precise}}}return this.options.size??(()=>{const t=new De;return t.load({height:0,mode:J.percent,width:0}),t})()}#Ue=()=>{this.#q?.disconnect(),this.#q=void 0,this.#tt?.disconnect(),this.#tt=void 0,this.#De(this),this.#u.dispatchEvent("emitterDestroyed",{emitter:this})};#qe(){if(this.#ye)return;const t=q(this.options.rate.quantity);this.#Be(t)}#Be(t){const e=nt(this.#_e)??{},i=this.options.spawn.fill?.color?.animation,s=this.options.spawn.fill?.enable??!!this.options.spawn.fill?.color,n=void 0===this.options.spawn.fill?.opacity?1:q(this.options.spawn.fill.opacity),a=this.options.spawn.stroke?.color?.animation,o=void 0===this.options.spawn.stroke?.opacity?1:q(this.options.spawn.stroke.opacity),r=void 0===this.options.spawn.stroke?.width?1:q(this.options.spawn.stroke.width),l=this.#u.retina.reduceFactor,c=!!i,h=!!a,d=!!this.#Ee,u=c||h,p=u||d,f=u?{h:v,s:w,l:P}:null,g=this.options.shape;for(let c=0;c<t*l;c++){const t=p?it({},e):e;this.spawnFillOpacity=n,this.spawnFillEnabled=s,this.spawnStrokeOpacity=o,this.spawnStrokeWidth=r,this.spawnFillColor&&(i&&f&&(this.spawnFillColor.h=this.#$e(i.h,this.spawnFillColor.h,f.h,3.6),this.spawnFillColor.s=this.#$e(i.s,this.spawnFillColor.s,f.s),this.spawnFillColor.l=this.#$e(i.l,this.spawnFillColor.l,f.l)),zi(t,this.spawnFillColor,this.spawnFillOpacity,this.spawnFillEnabled)),this.spawnStrokeColor&&(a&&f&&(this.spawnStrokeColor.h=this.#$e(a.h,this.spawnStrokeColor.h,f.h,3.6),this.spawnStrokeColor.s=this.#$e(a.s,this.spawnStrokeColor.s,f.s),this.spawnStrokeColor.l=this.#$e(a.l,this.spawnStrokeColor.l,f.l)),xi(t,this.spawnStrokeColor,this.spawnStrokeOpacity,this.spawnStrokeWidth));let l=this.position;if(this.#Ee){const e=this.#Ee.randomPosition();if(e){l=e.position;const i=g.replace;i.color&&e.color&&zi(t,e.color,i.opacity?e.opacity??1:1,!0)}else l=null}l&&this.#u.particles.addParticle(l,t)}}#Le=()=>{if(this.#ye)return;const t=void 0!==this.options.life.duration?q(this.options.life.duration):void 0;(this.#Oe>0||this.#ke)&&void 0!==t&&t>0&&(this.#ce=t*n)};#$e=(t,e,i,s=1)=>{const a=this.#u;if(!t.enable)return e;const o=U(t.offset),r=q(this.options.rate.delay),l=a.retina.reduceFactor?r*n/a.retina.reduceFactor:1/0;return(e+q(t.speed)*a.fpsLimit/l+o*s)%i}}});t.loadSquaresPreset=ii,t.tsParticles=Ce}),Object.assign(globalThis.window||globalThis,{loadSquaresPreset:(globalThis.__tsParticlesInternals.presets.squares||{}).loadSquaresPreset}),delete(globalThis.window||globalThis).tsparticlesInternalExports;
|
|
1
|
+
!function(t){t.__tsParticlesInternals=t.__tsParticlesInternals||{},t.__tsParticlesInternals.bundles=t.__tsParticlesInternals.bundles||{},t.__tsParticlesInternals.effects=t.__tsParticlesInternals.effects||{},t.__tsParticlesInternals.engine=t.__tsParticlesInternals.engine||{},t.__tsParticlesInternals.interactions=t.__tsParticlesInternals.interactions||{},t.__tsParticlesInternals.palettes=t.__tsParticlesInternals.palettes||{},t.__tsParticlesInternals.paths=t.__tsParticlesInternals.paths||{},t.__tsParticlesInternals.plugins=t.__tsParticlesInternals.plugins||{},t.__tsParticlesInternals.plugins=t.__tsParticlesInternals.plugins||{},t.__tsParticlesInternals.plugins.emittersShapes=t.__tsParticlesInternals.plugins.emittersShapes||{},t.__tsParticlesInternals.presets=t.__tsParticlesInternals.presets||{},t.__tsParticlesInternals.shapes=t.__tsParticlesInternals.shapes||{},t.__tsParticlesInternals.updaters=t.__tsParticlesInternals.updaters||{},t.__tsParticlesInternals.utils=t.__tsParticlesInternals.utils||{},t.__tsParticlesInternals.canvas=t.__tsParticlesInternals.canvas||{},t.__tsParticlesInternals.canvas=t.__tsParticlesInternals.canvas||{},t.__tsParticlesInternals.canvas.utils=t.__tsParticlesInternals.canvas.utils||{},t.__tsParticlesInternals.path=t.__tsParticlesInternals.path||{},t.__tsParticlesInternals.path=t.__tsParticlesInternals.path||{},t.__tsParticlesInternals.path.utils=t.__tsParticlesInternals.path.utils||{};var e="undefined"!=typeof Proxy?function(t){return new Proxy(t,{get:function(t,e){return e in t||(t[e]={}),t[e]}})}:function(t){return t};t.__tsParticlesInternals.bundles=e(t.__tsParticlesInternals.bundles),t.__tsParticlesInternals.effects=e(t.__tsParticlesInternals.effects),t.__tsParticlesInternals.interactions=e(t.__tsParticlesInternals.interactions),t.__tsParticlesInternals.palettes=e(t.__tsParticlesInternals.palettes),t.__tsParticlesInternals.paths=e(t.__tsParticlesInternals.paths),t.__tsParticlesInternals.plugins=e(t.__tsParticlesInternals.plugins),t.__tsParticlesInternals.plugins.emittersShapes=e(t.__tsParticlesInternals.plugins.emittersShapes),t.__tsParticlesInternals.presets=e(t.__tsParticlesInternals.presets),t.__tsParticlesInternals.shapes=e(t.__tsParticlesInternals.shapes),t.__tsParticlesInternals.updaters=e(t.__tsParticlesInternals.updaters),t.__tsParticlesInternals.utils=e(t.__tsParticlesInternals.utils),t.__tsParticlesInternals.canvas=e(t.__tsParticlesInternals.canvas),t.__tsParticlesInternals.path=e(t.__tsParticlesInternals.path),t.tsparticlesInternalExports=t.tsparticlesInternalExports||{}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:this),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self).__tsParticlesInternals=t.__tsParticlesInternals||{},t.__tsParticlesInternals.presets=t.__tsParticlesInternals.presets||{},t.__tsParticlesInternals.presets.squares=t.__tsParticlesInternals.presets.squares||{}))}(this,function(t){"use strict";const e="generated",i=100,s=.5,n=1e3,a=0,o=0,r=0,l=1,c=0,h=0,d=1,u="random",p=2*Math.PI,f="true",g="false",m="canvas",y=255,v=360,w=100,P=100,b=.25;var z;function x(t){return"z"in t?t.z:r}!function(t){t.bottom="bottom",t.bottomLeft="bottom-left",t.bottomRight="bottom-right",t.left="left",t.none="none",t.right="right",t.top="top",t.topLeft="top-left",t.topRight="top-right",t.outside="outside",t.inside="inside"}(z||(z={}));class S{x;y;z;constructor(t=a,e=o,i=r){this.x=t,this.y=e,this.z=i}static get origin(){return S.create(a,o,r)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this.#t(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this.#t(this.angle,t)}static clone(t){return S.create(t.x,t.y,x(t))}static create(t,e,i){return"number"==typeof t?new S(t,e??o,i??r):new S(t.x,t.y,x(t))}add(t){return S.create(this.x+t.x,this.y+t.y,this.z+x(t))}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=x(t)}copy(){return S.clone(this)}div(t){return S.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**2+this.y**2}mult(t){return S.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;0!=t&&this.multTo(1/t)}rotate(t){return S.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),r)}setTo(t){this.x=t.x,this.y=t.y,this.z=x(t)}sub(t){return S.create(this.x-t.x,this.y-t.y,this.z-x(t))}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=x(t)}#t(t,e){this.x=Math.cos(t)*e,this.y=Math.sin(t)*e}}class M extends S{constructor(t=a,e=o){super(t,e,r)}static get origin(){return M.create(a,o)}static clone(t){return M.create(t.x,t.y)}static create(t,e){return"number"==typeof t?new M(t,e??o):new M(t.x,t.y)}}function C(t){return"boolean"==typeof t}function k(t){return"string"==typeof t}function I(t){return"number"==typeof t}function O(t){return"object"==typeof t&&null!==t}function D(t){return Array.isArray(t)}function _(t){return null==t}const E=Math.PI/180;let R=Math.random;const F=t=>requestAnimationFrame(t),T=t=>{cancelAnimationFrame(t)};function A(){return B(R(),0,1-Number.EPSILON)}function L(t,e){return A()*(e-t)+t}function B(t,e,i){return Math.min(Math.max(t,e),i)}function U(t){const e=V(t);let i=$(t);return e===i&&(i=0),L(i,e)}function q(t){return I(t)?t:U(t)}function $(t){return I(t)?t:t.min}function V(t){return I(t)?t:t.max}function W(t,e){if(t===e||void 0===e&&I(t))return t;const i=$(t),s=V(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(s,e)}:W(i,s)}function H(t){return t*E}function j(t){const e={x:void 0!==t.position?.x?q(t.position.x):void 0,y:void 0!==t.position?.y?q(t.position.y):void 0};return function(t){return{x:(t.position?.x??A()*i)*t.size.width/i,y:(t.position?.y??A()*i)*t.size.height/i}}({size:t.size,position:e})}function N(t){const{position:e,size:i}=t;return{x:e?.x??A()*i.width,y:e?.y??A()*i.height}}var Q,G,X,Y,J,K;!function(t){t.auto="auto",t.increase="increase",t.decrease="decrease",t.random="random"}(Q||(Q={})),function(t){t.increasing="increasing",t.decreasing="decreasing"}(G||(G={})),function(t){t.none="none",t.max="max",t.min="min"}(X||(X={})),function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(Y||(Y={})),function(t){t.precise="precise",t.percent="percent"}(J||(J={})),function(t){t.max="max",t.min="min",t.random="random"}(K||(K={}));function Z(){return globalThis.document}function tt(t){if("undefined"!=typeof matchMedia)return matchMedia(t)}function et(t,e,i=!0){return t[void 0!==e&&i?e%t.length:function(t){return Math.floor(A()*t.length)}(t)]}function it(t,...e){for(const i of e){if(_(i))continue;if(!O(i)){t=i;continue}Array.isArray(i)?Array.isArray(t)||(t=[]):O(t)&&!Array.isArray(t)||(t={});const e=Object.keys(i),s=new Set(["__proto__","constructor","prototype"]);if(!e.some(t=>{const e=i[t];return O(e)||Array.isArray(e)})){const n=i,a=t;for(const t of e)if(!s.has(t)&&t in n){const e=n[t];void 0!==e&&(a[t]=e)}continue}for(const n of e){if(s.has(n))continue;const e=t,a=i[n];e[n]=Array.isArray(a)?a.map(t=>it(void 0,t)):it(e[n],a)}}return t}function st(t,e){return D(t)?t.map((t,i)=>e(t,i)):e(t,0)}function nt(t,e,i){return D(t)?et(t,e,i):t}function at(t,e){if(!(t.mode===J.percent)){const{mode:e,...i}=t;return i}return"x"in t?{x:t.x/i*e.width,y:t.y/i*e.height}:{width:t.width/i*e.width,height:t.height/i*e.height}}function ot(t,e){return at(t,e)}function rt(t,e){return at(t,e)}function lt(t,e,i,s,n){if(t.destroyed||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;const a=(e.velocity??0)*n.factor,o=e.min,r=e.max,l=e.decay??1;if(e.time??=0,(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=n.value),!((e.delayTime??0)>0&&e.time<(e.delayTime??0))){switch(e.status){case G.increasing:e.value+=a;break;case G.decreasing:e.value-=a}switch(e.velocity&&1!==l&&(e.velocity*=l),e.status){case G.increasing:e.value>=r&&(i?e.status=G.decreasing:e.value-=r,e.loops??=0,e.loops++);break;case G.decreasing:e.value<=o&&(i?e.status=G.increasing:e.value+=r,e.loops??=0,e.loops++)}!function(t,e,i,s,n){switch(e){case X.max:i>=n&&t.destroy();break;case X.min:i<=s&&t.destroy()}}(t,s,e.value,o,r),t.destroyed||(e.value=B(e.value,o,r))}}const ct=function(t){const e=new Map,i=(t,e=new WeakSet)=>{if(null===t)return"null";const s=typeof t;if("undefined"===s)return"undefined";if("number"===s||"boolean"===s||"string"===s)return JSON.stringify(t);if("function"===s)try{return t.toString()}catch{return'"[Function]"'}if("symbol"===s)try{return t.toString()}catch{return'"[Symbol]"'}if(Array.isArray(t))return`[${t.map(t=>i(t,e)).join(",")}]`;if(e.has(t))return'"[Circular]"';e.add(t);return`{${Object.keys(t).sort().map(s=>`${JSON.stringify(s)}:${i(t[s],e)}`).join(",")}}`},s=t=>(t=>i(t))(t);return(...i)=>{const n=s(i),a=Date.now(),o=e.get(n);if(void 0!==o)return e.delete(n),e.set(n,{value:o.value,ts:o.ts}),o.value;const r=t(...i);return e.set(n,{value:r,ts:a}),r}}(function(t){const e=Z().createElement("div").style,i={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:t.toString(10),"z-index":t.toString(10),top:"0",left:"0","pointer-events":"none"};for(const t in i){const s=i[t];void 0!==s&&e.setProperty(t,s)}return e});function ht(t,e,i,s,n){if(s){let s={passive:!0};C(n)?s.capture=n:void 0!==n&&(s=n),t.addEventListener(e,i,s)}else{const s=n;t.removeEventListener(e,i,s)}}async function dt(t,e,i,s=!1){let n=e.get(t);if(!n||s){const s=await Promise.all([...i.entries()].map(([e,i])=>i(t).then(t=>[e,t])));n=new Map(s),e.set(t,n)}return n}class ut{#e;constructor(){this.#e=new Map}addEventListener(t,e){this.removeEventListener(t,e);let i=this.#e.get(t);i||(i=[],this.#e.set(t,i)),i.push(e)}dispatchEvent(t,e){const i=this.#e.get(t);i?.forEach(t=>{t(e)})}hasEventListener(t){return!!this.#e.get(t)}removeAllEventListeners(t){t?this.#e.delete(t):this.#e=new Map}removeEventListener(t,e){const i=this.#e.get(t);if(!i)return;const s=i.length,n=i.indexOf(e);n<0||(1===s?this.#e.delete(t):i.splice(n,1))}}var pt;!function(t){t.configAdded="configAdded",t.containerInit="containerInit",t.particlesSetup="particlesSetup",t.containerStarted="containerStarted",t.containerStopped="containerStopped",t.containerDestroyed="containerDestroyed",t.containerPaused="containerPaused",t.containerPlay="containerPlay",t.containerBuilt="containerBuilt",t.particleAdded="particleAdded",t.particleDestroyed="particleDestroyed",t.particleRemoved="particleRemoved"}(pt||(pt={}));class ft{colorManagers=new Map;easingFunctions=new Map;effectDrawers=new Map;initializers={effects:new Map,shapes:new Map,updaters:new Map};palettes=new Map;plugins=[];presets=new Map;shapeDrawers=new Map;updaters=new Map;#i=new Set;#s=new Map;#n;#a=new Set;#o=!1;#r=!1;#l=new Set;constructor(t){this.#n=t}get configs(){const t={};for(const[e,i]of this.#s)t[e]=i;return t}addColorManager(t,e){this.colorManagers.set(t,e)}addConfig(t){const e=t.key??t.name??"default";this.#s.set(e,t),this.#n.dispatchEvent(pt.configAdded,{data:{name:e,config:t}})}addEasing(t,e){this.easingFunctions.get(t)||this.easingFunctions.set(t,e)}addEffect(t,e){this.initializers.effects.set(t,e)}addPalette(t,e){this.palettes.set(t,e)}addParticleUpdater(t,e){this.initializers.updaters.set(t,e)}addPlugin(t){this.getPlugin(t.id)||this.plugins.push(t)}addPreset(t,e,i=!1){!i&&this.getPreset(t)||this.presets.set(t,e)}addShape(t,e){for(const i of t)this.initializers.shapes.set(i,e)}clearPlugins(t){this.effectDrawers.delete(t),this.shapeDrawers.delete(t),this.updaters.delete(t)}getEasing(t){return this.easingFunctions.get(t)??(t=>t)}getEffectDrawers(t,e=!1){return dt(t,this.effectDrawers,this.initializers.effects,e)}getPalette(t){return this.palettes.get(t)}getPlugin(t){return this.plugins.find(e=>e.id===t)}getPreset(t){return this.presets.get(t)}async getShapeDrawers(t,e=!1){return dt(t,this.shapeDrawers,this.initializers.shapes,e)}async getUpdaters(t,e=!1){return async function(t,e,i,s=!1){let n=e.get(t);return n&&!s||(n=await Promise.all([...i.values()].map(e=>e(t))),e.set(t,n)),n}(t,this.updaters,this.initializers.updaters,e)}async init(){if(!this.#o&&!this.#r){this.#r=!0,this.#a=new Set,this.#i=new Set(this.#l);try{for(const t of this.#i)await this.#c(t,this.#a,this.#i)}finally{this.#l.clear(),this.#r=!1,this.#o=!0}}}loadParticlesOptions(t,e,...i){const s=this.updaters.get(t);s&&s.forEach(t=>t.loadOptions?.(e,...i))}async register(...t){if(this.#o)throw new Error("Register plugins can only be done before calling tsParticles.load()");for(const e of t)this.#r?await this.#c(e,this.#a,this.#i):this.#l.add(e)}async#c(t,e,i){e.has(t)||(e.add(t),i.add(t),await t(this.#n))}}const gt=t=>(...e)=>{t(...e)},mt={debug:gt(console.debug),error:(t,...e)=>{console.error(`tsParticles - Error - ${t}`,...e)},info:gt(console.info),log:gt(console.log),trace:gt(console.trace),verbose:gt(console.log),warning:gt(console.warn)};function yt(){return mt}const vt="100%";class wt{pluginManager=new ft(this);#h=[];#d=new ut;#o=!1;get items(){return this.#h}get version(){return"4.1.2"}addEventListener(t,e){this.#d.addEventListener(t,e)}checkVersion(t){if(this.version!==t)throw new Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${t}`)}dispatchEvent(t,e){this.#d.dispatchEvent(t,e)}async init(){this.#o||(await this.pluginManager.init(),this.#o=!0)}item(t){const e=this.items,i=e[t];if(!i?.destroyed)return i;e.splice(t,1)}async load(t){let i;await this.init(),"undefined"!=typeof HTMLElement&&t.element instanceof HTMLElement&&(i=t.element);const{Container:s}=await Promise.resolve().then(function(){return yi}),n=t.id??i?.id??`tsparticles${Math.floor(1e4*A()).toString()}`,{index:a,url:o}=t,r=o?await async function(t){const e=nt(t.url,t.index);if(!e)return t.fallback;const i=await fetch(e);return i.ok?await i.json():(yt().error(`${i.status.toString()} while retrieving config file`),t.fallback)}({fallback:t.options,url:o,index:a}):t.options,l=nt(r,a),{items:c}=this,h=c.findIndex(t=>t.id.description===n),d=new s({dispatchCallback:(t,e)=>{this.dispatchEvent(t,e)},id:n,onDestroy:t=>{if(!t)return;const e=this.items,i=e.indexOf(d);i>=0&&e.splice(i,1)},pluginManager:this.pluginManager,sourceOptions:l});if(h>=0){const t=this.item(h),e=t?1:0;t&&!t.destroyed&&t.destroy(!1),c.splice(h,e,d)}else c.push(d);const u="undefined"!=typeof OffscreenCanvas&&t.element instanceof OffscreenCanvas?t.element:(t=>{const i=Z();let s;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===m)s=t,s.dataset[e]??=g,s.dataset[e]===f&&(s.style.width||=vt,s.style.height||=vt,s.style.pointerEvents="none",s.style.setProperty("pointer-events","none"));else{const n=t.getElementsByTagName(m).item(0);n?(s=n,s.dataset[e]=g):(s=i.createElement(m),s.dataset[e]=f,t.appendChild(s)),s.style.width||=vt,s.style.height||=vt,s.style.pointerEvents="none",s.style.setProperty("pointer-events","none")}return s})(((t,i)=>{const s=Z();let n=i??s.getElementById(t);return n||(n=s.createElement("canvas"),n.id=t,n.dataset[e]=f,s.body.append(n),n)})(n,i));return d.canvas.loadCanvas(u),await d.start(),d}async refresh(t=!0){t&&await Promise.all(this.items.map(t=>t.refresh()))}removeEventListener(t,e){this.#d.removeEventListener(t,e)}}var Pt,bt,zt,xt,St,Mt,Ct,kt;!function(t){t.circle="circle",t.rectangle="rectangle"}(Pt||(Pt={}));class It{position;type;constructor(t,e,i){this.position={x:t,y:e},this.type=i}_resetPosition(t,e){this.position.x=t,this.position.y=e}}class Ot extends It{radius;constructor(t,e,i){super(t,e,Pt.circle),this.radius=i}contains(t){return e=t,i=this.position,s=this.radius,function(t,e){const i=t.x-e.x,s=t.y-e.y;return i*i+s*s}(e,i)<=s*s;var e,i,s}intersects(t){const e=this.position,i=t.position,s=this.radius,n=Math.abs(i.x-e.x),a=Math.abs(i.y-e.y);if(t instanceof Ot||t.type===Pt.circle){return s+t.radius>Math.hypot(n,a)}if(t instanceof Dt||t.type===Pt.rectangle){const e=t,{width:i,height:o}=e.size;return Math.pow(n-i,2)+Math.pow(a-o,2)<=s**2||n<=s+i&&a<=s+o||n<=i||a<=o}return!1}reset(t,e,i){return this._resetPosition(t,e),this.radius=i,this}}class Dt extends It{size;constructor(t,e,i,s){super(t,e,Pt.rectangle),this.size={height:s,width:i}}contains(t){const e=this.size.width,i=this.size.height,s=this.position;return t.x>=s.x&&t.x<=s.x+e&&t.y>=s.y&&t.y<=s.y+i}intersects(t){if(t instanceof Ot)return t.intersects(this);if(!(t instanceof Dt))return!1;const e=this.size.width,i=this.size.height,s=this.position,n=t.position,a=t.size,o=a.width,r=a.height;return n.x<s.x+e&&n.x+o>s.x&&n.y<s.y+i&&n.y+r>s.y}reset(t,e,i,s){return this._resetPosition(t,e),this.size.width=i,this.size.height=s,this}}!function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(bt||(bt={})),function(t){t.delete="delete",t.wait="wait"}(zt||(zt={})),function(t){t.bounce="bounce",t.none="none",t.out="out",t.destroy="destroy",t.split="split"}(xt||(xt={})),function(t){t.darken="darken",t.enlighten="enlighten"}(St||(St={})),function(t){t.linear="linear",t.radial="radial",t.random="random"}(Mt||(Mt={})),function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(Ct||(Ct={})),function(t){t.easeInBack="ease-in-back",t.easeInBounce="ease-in-bounce",t.easeInCirc="ease-in-circ",t.easeInCubic="ease-in-cubic",t.easeInElastic="ease-in-elastic",t.easeInExpo="ease-in-expo",t.easeInGaussian="ease-in-gaussian",t.easeInLinear="ease-in-linear",t.easeInQuad="ease-in-quad",t.easeInQuart="ease-in-quart",t.easeInQuint="ease-in-quint",t.easeInSigmoid="ease-in-sigmoid",t.easeInSine="ease-in-sine",t.easeInSmoothstep="ease-in-smoothstep",t.easeOutBack="ease-out-back",t.easeOutBounce="ease-out-bounce",t.easeOutCirc="ease-out-circ",t.easeOutCubic="ease-out-cubic",t.easeOutElastic="ease-out-elastic",t.easeOutExpo="ease-out-expo",t.easeOutGaussian="ease-out-gaussian",t.easeOutLinear="ease-out-linear",t.easeOutQuad="ease-out-quad",t.easeOutQuart="ease-out-quart",t.easeOutQuint="ease-out-quint",t.easeOutSigmoid="ease-out-sigmoid",t.easeOutSine="ease-out-sine",t.easeOutSmoothstep="ease-out-smoothstep",t.easeInOutBack="ease-in-out-back",t.easeInOutBounce="ease-in-out-bounce",t.easeInOutCirc="ease-in-out-circ",t.easeInOutCubic="ease-in-out-cubic",t.easeInOutElastic="ease-in-out-elastic",t.easeInOutExpo="ease-in-out-expo",t.easeInOutGaussian="ease-in-out-gaussian",t.easeInOutLinear="ease-in-out-linear",t.easeInOutQuad="ease-in-out-quad",t.easeInOutQuart="ease-in-out-quart",t.easeInOutQuint="ease-in-out-quint",t.easeInOutSigmoid="ease-in-out-sigmoid",t.easeInOutSine="ease-in-out-sine",t.easeInOutSmoothstep="ease-in-out-smoothstep"}(kt||(kt={}));class _t{count;decay;delay;enable;speed;sync;constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){_(t)||(void 0!==t.count&&(this.count=W(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=W(t.speed)),void 0!==t.decay&&(this.decay=W(t.decay)),void 0!==t.delay&&(this.delay=W(t.delay)),void 0!==t.sync&&(this.sync=t.sync))}}class Et extends _t{mode;startValue;constructor(){super(),this.mode=Q.auto,this.startValue=K.random}load(t){super.load(t),_(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}}class Rt extends _t{max;min;offset;constructor(t,e){super(),this.min=t,this.max=e,this.offset=0,this.sync=!0}load(t){super.load(t),_(t)||(void 0!==t.max&&(this.max=t.max),void 0!==t.min&&(this.min=t.min),void 0!==t.offset&&(this.offset=W(t.offset)))}}class Ft{h=new Rt(0,v);l=new Rt(0,P);s=new Rt(0,w);load(t){_(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}class Tt{value;constructor(){this.value=""}static create(t,e){const i=new Tt;return i.load(t),void 0!==e&&(k(e)||D(e)?i.load({value:e}):i.load(e)),i}load(t){_(t)||_(t.value)||(this.value=t.value)}}class At extends Tt{animation;constructor(){super(),this.animation=new Ft}static create(t,e){const i=new At;return i.load(t),void 0!==e&&(k(e)||D(e)?i.load({value:e}):i.load(e)),i}load(t){if(super.load(t),_(t))return;const e=t.animation;void 0!==e&&(void 0===e.enable?this.animation.load(t.animation):this.animation.h.load(e))}}class Lt{color;image;opacity;position;repeat;size;constructor(){this.color=new Tt,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){_(t)||(void 0!==t.color&&(this.color=Tt.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.position&&(this.position=t.position),void 0!==t.repeat&&(this.repeat=t.repeat),void 0!==t.size&&(this.size=t.size),void 0!==t.opacity&&(this.opacity=t.opacity))}}class Bt{enable;zIndex;constructor(){this.enable=!0,this.zIndex=0}load(t){_(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}}class Ut{delay;enable;constructor(){this.delay=.5,this.enable=!0}load(t){_(t)||(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.enable&&(this.enable=t.enable))}}class qt{close;options;type;constructor(){this.close=!0,this.options={},this.type=[]}load(t){if(_(t))return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=it(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.type&&(this.type=t.type)}}class $t{color;enable;opacity;constructor(){this.enable=!0,this.opacity=1}load(t){_(t)||(void 0!==t.color&&(this.color=At.create(this.color,t.color)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.opacity&&(this.opacity=W(t.opacity)))}}class Vt{offset;value;constructor(){this.offset=0,this.value=90}load(t){_(t)||(void 0!==t.offset&&(this.offset=W(t.offset)),void 0!==t.value&&(this.value=W(t.value)))}}class Wt{mode;radius;x;y;constructor(){this.x=50,this.y=50,this.mode=J.percent,this.radius=0}load(t){_(t)||(void 0!==t.x&&(this.x=t.x),void 0!==t.y&&(this.y=t.y),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.radius&&(this.radius=t.radius))}}class Ht{acceleration;enable;inverse;maxSpeed;constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){_(t)||(void 0!==t.acceleration&&(this.acceleration=W(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.inverse&&(this.inverse=t.inverse),void 0!==t.maxSpeed&&(this.maxSpeed=W(t.maxSpeed)))}}class jt{value;constructor(){this.value=0}load(t){_(t)||_(t.value)||(this.value=W(t.value))}}class Nt extends jt{animation=new _t;load(t){if(super.load(t),_(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class Qt extends Nt{animation;constructor(){super(),this.animation=new Et}load(t){super.load(t)}}class Gt{clamp;delay;enable;generator;options;constructor(){this.clamp=!0,this.delay=new jt,this.enable=!1,this.options={}}load(t){_(t)||(void 0!==t.clamp&&(this.clamp=t.clamp),this.delay.load(t.delay),void 0!==t.enable&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=it(this.options,t.options)))}}class Xt{bottom;default;left;right;top;constructor(){this.default=xt.out}load(t){_(t)||(void 0!==t.default&&(this.default=t.default),this.bottom=t.bottom??t.default,this.left=t.left??t.default,this.right=t.right??t.default,this.top=t.top??t.default)}}class Yt{acceleration;enable;position;constructor(){this.acceleration=0,this.enable=!1}load(t){_(t)||(void 0!==t.acceleration&&(this.acceleration=W(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),t.position&&(this.position=it({},t.position)))}}class Jt{angle;center;decay;direction;distance;drift;enable;gravity;outModes;path;random;size;speed;spin;straight;vibrate;warp;constructor(){this.angle=new Vt,this.center=new Wt,this.decay=0,this.distance={},this.direction=z.none,this.drift=0,this.enable=!1,this.gravity=new Ht,this.path=new Gt,this.outModes=new Xt,this.random=!1,this.size=!1,this.speed=2,this.spin=new Yt,this.straight=!1,this.vibrate=!1,this.warp=!1}load(t){if(_(t))return;this.angle.load(I(t.angle)?{value:t.angle}:t.angle),this.center.load(t.center),void 0!==t.decay&&(this.decay=W(t.decay)),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=I(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),void 0!==t.drift&&(this.drift=W(t.drift)),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity);const e=t.outModes;void 0!==e&&(O(e)?this.outModes.load(e):this.outModes.load({default:e})),this.path.load(t.path),void 0!==t.random&&(this.random=t.random),void 0!==t.size&&(this.size=t.size),void 0!==t.speed&&(this.speed=W(t.speed)),this.spin.load(t.spin),void 0!==t.straight&&(this.straight=t.straight),void 0!==t.vibrate&&(this.vibrate=t.vibrate),void 0!==t.warp&&(this.warp=t.warp)}}class Kt{color;opacity;width;constructor(){this.width=0}load(t){_(t)||(void 0!==t.color&&(this.color=At.create(this.color,t.color)),void 0!==t.width&&(this.width=W(t.width)),void 0!==t.opacity&&(this.opacity=W(t.opacity)))}}class Zt{color;fill;stroke;load(t){_(t)||(void 0!==t.color&&(this.color=At.create(this.color,t.color)),void 0!==t.fill&&(this.fill??=new $t,this.fill.load(t.fill)),void 0!==t.stroke&&(this.stroke??=new Kt,this.stroke.load(t.stroke)))}}class te extends jt{constructor(){super(),this.value=1}}class ee{horizontal;vertical;constructor(){this.horizontal=new te,this.vertical=new te}load(t){_(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}class ie{enable;height;width;constructor(){this.enable=!1,this.width=1920,this.height=1080}load(t){if(_(t))return;void 0!==t.enable&&(this.enable=t.enable);const e=t.width;void 0!==e&&(this.width=e);const i=t.height;void 0!==i&&(this.height=i)}}class se{mode;value;constructor(){this.mode=zt.delete,this.value=0}load(t){_(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}class ne{density;limit;value;constructor(){this.density=new ie,this.limit=new se,this.value=0}load(t){_(t)||(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}}class ae{close;options;type;constructor(){this.close=!0,this.options={},this.type="circle"}load(t){if(_(t))return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=it(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.type&&(this.type=t.type)}}class oe extends jt{opacityRate;sizeRate;velocityRate;constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),_(t)||(void 0!==t.opacityRate&&(this.opacityRate=t.opacityRate),void 0!==t.sizeRate&&(this.sizeRate=t.sizeRate),void 0!==t.velocityRate&&(this.velocityRate=t.velocityRate))}}class re{bounce;effect;groups;move;number;paint;palette;reduceDuplicates;shape;zIndex;#u;#p;constructor(t,e){this.#p=t,this.#u=e,this.bounce=new ee,this.effect=new qt,this.groups={},this.move=new Jt,this.number=new ne,this.paint=new Zt,this.paint.color=new At,this.paint.color.value="#fff",this.paint.fill=new $t,this.paint.fill.enable=!0,this.reduceDuplicates=!1,this.shape=new ae,this.zIndex=new oe}load(t){if(_(t))return;if(t.palette&&(this.palette=t.palette,this.#f(this.palette)),void 0!==t.groups)for(const e of Object.keys(t.groups)){if(!(e in t.groups))continue;const i=t.groups[e];void 0!==i&&(this.groups[e]=it(this.groups[e]??{},i))}void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.effect.load(t.effect),this.move.load(t.move),this.number.load(t.number);const e=t.paint;if(e&&(D(e)?this.paint=st(e,t=>{const e=new Zt;return e.load(t),e}):D(this.paint)?(this.paint=new Zt,this.paint.load(e)):this.paint.load(e)),this.shape.load(t.shape),this.zIndex.load(t.zIndex),this.#u){for(const e of this.#p.plugins)e.loadParticlesOptions&&e.loadParticlesOptions(this.#u,this,t);const e=this.#p.updaters.get(this.#u);if(e)for(const i of e)i.loadOptions&&i.loadOptions(this,t)}}#f=t=>{const e=this.#p.getPalette(t);if(!e)return;const i=e.colors,s=(D(i)?i:[i]).flatMap(t=>{const e=t.fill,i=t.stroke,s=e?{color:{value:e.value},enable:e.enable,opacity:e.opacity}:void 0;return i?[{fill:s,stroke:{color:{value:i.value},opacity:i.opacity,width:i.width||0}}]:[{fill:s}]}),n=s.length>1?s:s[0]??{};this.load({paint:n,blend:{enable:!0,mode:e.blendMode}})}}function le(t,...e){for(const i of e)t.load(i)}function ce(t,e,...i){const s=new re(t,e);return le(s,...i),s}class he{autoPlay;background;clear;defaultThemes;delay;detectRetina;duration;fpsLimit;fullScreen;hdr;key;name;palette;particles;pauseOnBlur;pauseOnOutsideViewport;preset;resize;smooth;style;zLayers;#u;#p;constructor(t,e){this.#p=t,this.#u=e,this.autoPlay=!0,this.background=new Lt,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new Bt,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.hdr=!0,this.particles=ce(this.#p,this.#u),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.resize=new Ut,this.smooth=!1,this.style={},this.zLayers=100}load(t){if(_(t))return;void 0!==t.preset&&(this.preset=t.preset,st(this.preset,t=>{this.#g(t)})),void 0!==t.palette&&(this.palette=t.palette,this.#f(this.palette)),void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.clear&&(this.clear=t.clear),void 0!==t.key&&(this.key=t.key),void 0!==t.name&&(this.name=t.name),void 0!==t.delay&&(this.delay=W(t.delay));const e=t.detectRetina;void 0!==e&&(this.detectRetina=e),void 0!==t.duration&&(this.duration=W(t.duration));const i=t.fpsLimit;void 0!==i&&(this.fpsLimit=i),void 0!==t.hdr&&(this.hdr=t.hdr),void 0!==t.pauseOnBlur&&(this.pauseOnBlur=t.pauseOnBlur),void 0!==t.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=t.pauseOnOutsideViewport),void 0!==t.zLayers&&(this.zLayers=t.zLayers),this.background.load(t.background);const s=t.fullScreen;C(s)?this.fullScreen.enable=s:this.fullScreen.load(s),this.particles.load(t.particles),this.resize.load(t.resize),this.style=it(this.style,t.style),void 0!==t.smooth&&(this.smooth=t.smooth),this.#p.plugins.forEach(e=>{e.loadOptions(this.#u,this,t)})}#f=t=>{const e=this.#p.getPalette(t);e&&this.load({background:{color:e.background},blend:{enable:!0,mode:e.blendMode},particles:{palette:t}})};#g=t=>{this.load(this.#p.getPreset(t))}}function de(t,e){t.clearRect(a,o,e.width,e.height)}function ue(t,e,i,s){e.drawParticle&&e.drawParticle(t,i,s)}const pe=new Map;function fe(t,e){let i=pe.get(t);if(!i){if(i=e(),pe.size>=1e3){[...pe.keys()].slice(0,500).forEach(t=>pe.delete(t))}pe.set(t,i)}return i}function ge(t,e,i,s=!0){if(!e)return;const n=k(e)?{value:e}:e;if(k(n.value))return me(t,n.value,i,s);if(D(n.value)){const e=et(n.value,i,s);if(!e)return;return ge(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleRangeColor(n);if(t)return t}}function me(t,e,i,s=!0){if(!e)return;const n=k(e)?{value:e}:e;if(k(n.value))return n.value===u?function(){const t=0,e=256,i=()=>Math.floor(L(t,e));return{b:i(),g:i(),r:i()}}():function(t,e){return function(t,e){if(e)for(const i of t.colorManagers.values())if(i.accepts(e))return i.parseString(e)}(t,e)}(t,n.value);if(D(n.value)){const e=et(n.value,i,s);if(!e)return;return me(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleColor(n);if(t)return t}}function ye(t,e,i,n=!0){const a=ge(t,e,i,n);return a?function(t){const e=t.r/y,i=t.g/y,n=t.b/y,a=Math.max(e,i,n),o=Math.min(e,i,n),r={h:0,l:(a+o)*s,s:0};a!==o&&(r.s=r.l<s?(a-o)/(a+o):(a-o)/(2-a-o),r.h=e===a?(i-n)/(a-o):i===a?2+(n-e)/(a-o):4+(e-i)/(a-o));r.l*=P,r.s*=w,r.h*=60,r.h<0&&(r.h+=v);r.h>=v&&(r.h-=v);return r}(a):void 0}function ve(t,e,i){const s=i??1;return fe(`rgb-${t.r.toFixed(2)}-${t.g.toFixed(2)}-${t.b.toFixed(2)}-${e?"hdr":"sdr"}-${s.toString()}`,()=>e?we(t,i):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(e??1).toString()})`}(t,i))}function we(t,e){return`color(display-p3 ${(t.r/y).toString()} ${(t.g/y).toString()} ${(t.b/y).toString()} / ${(e??1).toString()})`}function Pe(t,e,i){const n=i??1;return fe(`hsl-${t.h.toFixed(2)}-${t.s.toFixed(2)}-${t.l.toFixed(2)}-${e?"hdr":"sdr"}-${n.toString()}`,()=>e?function(t,e){return we(function(t){const e=(t.h%v+v)%v,i=Math.max(0,Math.min(w,t.s)),n=Math.max(0,Math.min(P,t.l)),a=e/v,o=i/w,r=n/P;if(0===i){const t=Math.round(r*y);return{r:t,g:t,b:t}}const l=(t,e,i)=>(i<0&&i++,i>1&&i--,6*i<1?t+6*(e-t)*i:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t),c=r<s?r*(1+o):r+o-r*o,h=2*r-c,d=1/3,u=Math.min(y,y*l(h,c,a+d)),p=Math.min(y,y*l(h,c,a)),f=Math.min(y,y*l(h,c,a-d));return{r:Math.round(u),g:Math.round(p),b:Math.round(f)}}(t),e)}(t,i):function(t,e){return`hsla(${t.h.toString()}, ${t.s.toString()}%, ${t.l.toString()}%, ${(e??1).toString()})`}(t,i))}function be(t){return void 0===t?void 0:{h:t.h.value,s:t.s.value,l:t.l.value}}function ze(t,e,i){const s={h:{enable:!1,value:t.h,min:0,max:v},s:{enable:!1,value:t.s,min:0,max:w},l:{enable:!1,value:t.l,min:0,max:P}};return e&&(xe(s.h,e.h,i),xe(s.s,e.s,i),xe(s.l,e.l,i)),s}function xe(t,e,s){t.enable=e.enable,t.min=e.min,t.max=e.max,t.enable?(t.velocity=q(e.speed)/i*s,t.decay=1-q(e.decay),t.status=G.increasing,t.loops=0,t.maxLoops=q(e.count),t.time=0,t.delayTime=q(e.delay)*n,e.sync||(t.velocity*=A(),t.value*=A()),t.initialValue=t.value,t.offset=W(e.offset)):t.velocity=0}function Se(t,e,i){if(!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;if(t.time??=0,(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=i.value),(t.delayTime??0)>0&&t.time<(t.delayTime??0))return;const s=t.offset?U(t.offset):0,n=(t.velocity??0)*i.factor+3.6*s,a=t.decay??1,o=t.max,r=t.min;e&&t.status!==G.increasing?(t.value-=n,t.value<r&&(t.loops??=0,t.loops++,t.status=G.increasing)):(t.value+=n,t.value>o&&(t.loops??=0,t.loops++,e?t.status=G.decreasing:t.value-=o)),t.velocity&&1!==a&&(t.velocity*=a),t.value=B(t.value,r,o)}function Me(t,e){if(!t)return;const{h:i,s:s,l:n}=t;Se(i,!1,e),Se(s,!0,e),Se(n,!0,e)}const Ce=new wt;class ke{count;delay;duration;wait;constructor(){this.wait=!1}load(t){_(t)||(void 0!==t.count&&(this.count=t.count),void 0!==t.delay&&(this.delay=W(t.delay)),void 0!==t.duration&&(this.duration=W(t.duration)),void 0!==t.wait&&(this.wait=t.wait))}}class Ie{delay;quantity;constructor(){this.quantity=1,this.delay=.1}load(t){_(t)||(void 0!==t.quantity&&(this.quantity=W(t.quantity)),void 0!==t.delay&&(this.delay=W(t.delay)))}}class Oe{color;opacity;constructor(){this.color=!1,this.opacity=!1}load(t){_(t)||(void 0!==t.color&&(this.color=t.color),void 0!==t.opacity&&(this.opacity=t.opacity))}}class De{options;replace;type;constructor(){this.options={},this.replace=new Oe,this.type="square"}load(t){_(t)||(void 0!==t.options&&(this.options=it({},t.options??{})),this.replace.load(t.replace),void 0!==t.type&&(this.type=t.type))}}class _e{height;mode;width;constructor(){this.mode=J.percent,this.height=0,this.width=0}load(t){_(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.height&&(this.height=t.height),void 0!==t.width&&(this.width=t.width))}}class Ee{fill;stroke;load(t){_(t)||(t.fill&&(this.fill??=new $t,this.fill.load(t.fill)),t.stroke&&(this.stroke??=new Kt,this.stroke.load(t.stroke)))}}class Re{autoPlay;direction;domId;fill;life;name;particles;position;rate;shape;size;spawn;spawnFillColor;spawnStrokeColor;startCount;constructor(){this.autoPlay=!0,this.fill=!0,this.life=new ke,this.rate=new Ie,this.shape=new De,this.spawn=new Ee,this.startCount=0}load(t){_(t)||(void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.size&&(this.size??=new _e,this.size.load(t.size)),void 0!==t.direction&&(this.direction=t.direction),this.domId=t.domId,void 0!==t.fill&&(this.fill=t.fill),this.life.load(t.life),this.name=t.name,this.particles=st(t.particles,t=>it({},t)),this.rate.load(t.rate),this.shape.load(t.shape),this.spawn.load(t.spawn),void 0!==t.position&&(this.position={},void 0!==t.position.x&&(this.position.x=W(t.position.x)),void 0!==t.position.y&&(this.position.y=W(t.position.y))),void 0!==t.spawnFillColor&&(this.spawnFillColor??=new At,this.spawnFillColor.load(t.spawnFillColor)),void 0!==t.spawnStrokeColor&&(this.spawnStrokeColor??=new At,this.spawnStrokeColor.load(t.spawnStrokeColor)),void 0!==t.startCount&&(this.startCount=t.startCount))}}class Fe{id="emitters";#m;constructor(t){this.#m=t}async getPlugin(t){const{EmittersPluginInstance:e}=await Promise.resolve().then(function(){return vi});return new e(this.#m,t)}loadOptions(t,e,i){(this.needsPlugin(e)||this.needsPlugin(i))&&i?.emitters&&(e.emitters=st(i.emitters,t=>{const e=new Re;return e.load(t),e}))}needsPlugin(t){if(!t)return!1;const e=t.emitters;return D(e)&&!!e.length||void 0!==e}}const Te=new WeakMap;var Ae,Le;async function Be(t){t.checkVersion("4.1.2"),await t.pluginManager.register(async t=>{const e=await function(t){const e=t.pluginManager;let i=Te.get(e);return i||(i=Promise.resolve().then(function(){return bi}).then(({EmittersInstancesManager:t})=>new t(e)).catch(t=>{throw Te.delete(e),t}),Te.set(e,i)),i}(t);await async function(t){const{ShapeManager:e}=await Promise.resolve().then(function(){return Pi}),i=t.pluginManager;i.emitterShapeManager??=new e,i.addEmitterShapeGenerator??=(t,e)=>{i.emitterShapeManager?.addShapeGenerator(t,e)}}(t),t.pluginManager.addPlugin(new Fe(e))})}!function(t){t.emitter="emitter"}(Ae||(Ae={})),function(t){t[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=4]="a"}(Le||(Le={}));const Ue=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,qe=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i;class $e{accepts(t){return t.startsWith("#")}handleColor(t){return this.#y(t.value)}handleRangeColor(t){return this.#y(t.value)}parseString(t){return this.#y(t)}#y(t){if("string"!=typeof t||!this.accepts(t))return;const e=t.replace(Ue,(t,e,i,s,n)=>e+e+i+i+s+s+(void 0===n?"":n+n)),i=qe.exec(e);return i?{a:i[Le.a]?Number.parseInt(i[Le.a],16)/255:1,b:Number.parseInt(i[Le.b]??"0",16),g:Number.parseInt(i[Le.g]??"0",16),r:Number.parseInt(i[Le.r]??"0",16)}:void 0}}async function Ve(t){t.checkVersion("4.1.2"),await t.pluginManager.register(t=>{t.pluginManager.addColorManager("hex",new $e)})}class We{#u;#p;constructor(t,e){this.#u=e,this.#p=t}init(t){const e=this.#u,i=t.options,s=nt(i.paint,t.id,i.reduceDuplicates),n=s?.color,a=n??void 0,o=s?.fill,r=s?.stroke;if(o){const i=At.create(void 0===a?void 0:At.create(void 0,a),o.color);t.fillEnabled=o.enable,t.fillOpacity=q(o.opacity),t.fillAnimation=i.animation;const s=ye(this.#p,i);s&&(t.fillColor=ze(s,t.fillAnimation,e.retina.reduceFactor))}else t.fillEnabled=!1,t.fillAnimation=void 0,t.fillColor=void 0,t.fillOpacity=1;if(r){const i=At.create(void 0===a?void 0:At.create(void 0,a),r.color);t.strokeWidth=q(r.width)*e.retina.pixelRatio,t.strokeOpacity=q(r.opacity??1),t.strokeAnimation=i.animation;const s=ye(this.#p,i)??t.getFillColor();s&&(t.strokeColor=ze(s,t.strokeAnimation,e.retina.reduceFactor))}else t.strokeAnimation=void 0,t.strokeColor=void 0,t.strokeOpacity=1,t.strokeWidth=0}isEnabled(t){const{fillAnimation:e,fillColor:i,strokeAnimation:s,strokeColor:n}=t,a=!!e&&(void 0!==i?.h.value&&i.h.enable||void 0!==i?.s.value&&i.s.enable||void 0!==i?.l.value&&i.l.enable),o=!!s&&(void 0!==n?.h.value&&n.h.enable||void 0!==n?.s.value&&n.s.enable||void 0!==n?.l.value&&n.l.enable);return!t.destroyed&&!t.spawning&&(a||o)}update(t,e){this.isEnabled(t)&&(Me(t.fillColor,e),Me(t.strokeColor,e))}}async function He(t){t.checkVersion("4.1.2"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("paint",e=>Promise.resolve(new We(t.pluginManager,e)))})}class je{decay;enable;speed;sync;constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(t){_(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=W(t.speed)),void 0!==t.decay&&(this.decay=W(t.decay)),void 0!==t.sync&&(this.sync=t.sync))}}class Ne extends jt{animation;direction;path;constructor(){super(),this.animation=new je,this.direction=bt.clockwise,this.path=!1,this.value=0}load(t){_(t)||(super.load(t),void 0!==t.direction&&(this.direction=t.direction),this.animation.load(t.animation),void 0!==t.path&&(this.path=t.path))}}class Qe{#u;constructor(t){this.#u=t}init(t){const e=t.options.rotate;if(!e)return;t.rotate={enable:e.animation.enable,value:H(q(e.value)),min:0,max:p},t.pathRotation=e.path;let i=e.direction;if(i===bt.random){i=Math.floor(2*A())>0?bt.counterClockwise:bt.clockwise}switch(i){case bt.counterClockwise:case"counterClockwise":t.rotate.status=G.decreasing;break;case bt.clockwise:t.rotate.status=G.increasing}const s=e.animation;s.enable&&(t.rotate.decay=1-q(s.decay),t.rotate.velocity=q(s.speed)/360*this.#u.retina.reduceFactor,s.sync||(t.rotate.velocity*=A())),t.rotation=t.rotate.value}isEnabled(t){const e=t.options.rotate;return!!e&&(!t.destroyed&&!t.spawning&&(!!e.value||e.animation.enable||e.path))}loadOptions(t,...e){t.rotate??=new Ne;for(const i of e)t.rotate.load(i?.rotate)}update(t,e){this.isEnabled(t)&&(t.isRotating=!!t.rotate,t.rotate&&(lt(t,t.rotate,!1,X.none,e),t.rotation=t.rotate.value))}}async function Ge(t){t.checkVersion("4.1.2"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("rotate",t=>Promise.resolve(new Qe(t)))})}class Xe extends Et{destroy;constructor(){super(),this.destroy=X.none,this.speed=5}load(t){super.load(t),_(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}class Ye extends Qt{animation;constructor(){super(),this.animation=new Xe,this.value=3}load(t){if(super.load(t),_(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class Je{#u;constructor(t){this.#u=t}init(t){const e=this.#u,s=t.options.size;if(!s)return;const n=s.animation;n.enable&&(t.size.velocity=t.retina.sizeAnimationSpeed/i*e.retina.reduceFactor,n.sync||(t.size.velocity*=A()))}isEnabled(t){return!t.destroyed&&!t.spawning&&t.size.enable&&((t.size.maxLoops??0)<=0||(t.size.maxLoops??0)>0&&(t.size.loops??0)<(t.size.maxLoops??0))}loadOptions(t,...e){t.size??=new Ye;for(const i of e)t.size.load(i?.size)}preInit(t){const e=this.#u.retina.pixelRatio,i=t.options.size;i&&(t.size=function(t,e){const i=t.value,a=t.animation,o={delayTime:q(a.delay)*n,enable:a.enable,value:q(t.value)*e,max:V(i)*e,min:$(i)*e,loops:0,maxLoops:q(a.count),time:0};if(a.enable){switch(o.decay=1-q(a.decay),a.mode){case Q.increase:o.status=G.increasing;break;case Q.decrease:o.status=G.decreasing;break;case Q.random:o.status=A()>=s?G.increasing:G.decreasing}const t=a.mode===Q.auto;switch(a.startValue){case K.min:o.value=o.min,t&&(o.status=G.increasing);break;case K.max:o.value=o.max,t&&(o.status=G.decreasing);break;case K.random:default:o.value=U(o),t&&(o.status=A()>=s?G.increasing:G.decreasing)}}return o.initialValue=o.value,o}(i,e),t.retina.sizeAnimationSpeed=q(i.animation.speed)*e)}reset(t){t.size.time=0,t.size.loops=0}update(t,e){this.isEnabled(t)&&t.options.size&<(t,t.size,!0,t.options.size.animation.destroy,e)}}async function Ke(t){t.checkVersion("4.1.2"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("size",t=>Promise.resolve(new Je(t)))})}class Ze{draw(t){!function(t){const{context:e,radius:i}=t,s=i*Math.SQRT1_2,n=2*s;e.rect(-s,-s,n,n)}(t)}getSidesCount(){return 4}}async function ti(t){t.checkVersion("4.1.2"),await t.pluginManager.register(t=>{t.pluginManager.addShape(["edge","square"],()=>Promise.resolve(new Ze))})}const ei={particles:{paint:{stroke:{width:5,color:{value:["#5bc0eb","#fde74c","#9bc53d","#e55934","#fa7921","#2FF3E0","#F8D210","#FA26A0","#F51720"]}},fill:{enable:!1}},shape:{type:"square"},rotate:{value:0,direction:bt.counterClockwise,animation:{enable:!0,speed:2,sync:!0}},size:{value:{min:1,max:500},animation:{enable:!0,startValue:K.min,speed:60,sync:!0,destroy:X.max}}},background:{color:"#000"},emitters:{position:{y:50,x:50},rate:{delay:1,quantity:1}}};async function ii(t){await t.pluginManager.register(async t=>{await Promise.all([Ve(t),Be(t),ti(t),Ge(t),Ke(t),He(t)]),t.pluginManager.addPreset("squares",ei)})}const si=globalThis;si.loadSquaresPreset=ii,si.tsParticles=Ce;function ni(t,e,i){const s=e[i];void 0!==s&&(t[i]=(t[i]??1)*s)}class ai{#v;#w;#P;#b;#z;#u;#x;#S;#M;#C;#k;#I;#O;#D;#p;#_;#E;#R={};#F=[void 0,void 0];#T={};constructor(t,e,i){this.#p=t,this.#u=e,this.#w=i,this.#x=null,this.#E=[],this.#_=[],this.#z=[],this.#v=[],this.#P=[],this.#b=[],this.#M=[],this.#C=[],this.#k=[],this.#I=[],this.#D=[],this.#O=[]}get settings(){return this.#S}canvasClear(){this.#u.actualOptions.clear&&this.draw(t=>{de(t,this.#w.size)})}clear(){let t=!1;for(const e of this.#v)if(t=e.canvasClear?.()??!1,t)break;t||this.canvasClear()}destroy(){this.stop(),this.#E=[],this.#_=[],this.#z=[],this.#v=[],this.#P=[],this.#b=[],this.#M=[],this.#C=[],this.#k=[],this.#I=[],this.#D=[],this.#O=[]}draw(t){const e=this.#x;if(e)return t(e)}drawParticle(t,e){if(t.spawning||t.destroyed)return;const i=t.getRadius();if(i<=0)return;const s=t.getFillColor(),n=t.getStrokeColor();let[a,o]=this.#A(t);if(a??=s,o??=n,!a&&!o)return;const r=this.#u,l=t.options.zIndex,c=1-t.zIndexFactor,{fillOpacity:h,opacity:d,strokeOpacity:u}=t.getOpacity(),p=this.#T,f=this.#R,g=a?Pe(a,r.hdr,h*d):void 0,m=o?Pe(o,r.hdr,u*d):g;p.a=p.b=p.c=p.d=void 0,f.fill=g,f.stroke=m,this.draw(s=>{for(const i of this.#k)i.drawParticleSetup?.(s,t,e);this.#L(s,t,i,d,f,p),function(t){const{container:e,context:i,particle:s,delta:n,colorStyles:a,radius:o,opacity:r,transform:l}=t,{effectDrawers:c,shapeDrawers:h}=e,d=s.getPosition(),u=s.getTransformData(l),p={x:d.x,y:d.y};i.setTransform(u.a,u.b,u.c,u.d,d.x,d.y),a.fill&&(i.fillStyle=a.fill);const f=!!s.fillEnabled,g=s.strokeWidth??0;i.lineWidth=g,a.stroke&&(i.strokeStyle=a.stroke);const m={context:i,particle:s,radius:o,drawRadius:1*o,opacity:r,delta:n,pixelRatio:e.retina.pixelRatio,fill:f,stroke:g>0,transformData:u,position:{...d},drawPosition:p,drawScale:1};for(const t of e.plugins)t.drawParticleTransform?.(m);const y=s.effect?c.get(s.effect):void 0,v=s.shape?h.get(s.shape):void 0;!function(t,e){if(!t?.drawBefore)return;const{particle:i}=e;i.effect&&t.drawBefore(e)}(y,m),function(t,e){if(!t?.beforeDraw)return;const{particle:i}=e;i.shape&&t.beforeDraw(e)}(v,m),function(t,e){if(!t)return;const{context:i,fill:s,particle:n,stroke:a}=e;n.shape&&(i.beginPath(),t.draw(e),n.shapeClose&&i.closePath(),s&&i.fill(),a&&i.stroke())}(v,m),function(t,e){if(!t?.afterDraw)return;const{particle:i}=e;i.shape&&t.afterDraw(e)}(v,m),function(t,e){if(!t?.drawAfter)return;const{particle:i}=e;i.effect&&t.drawAfter(e)}(y,m),i.resetTransform()}({container:r,context:s,particle:t,delta:e,colorStyles:f,radius:i*c**l.sizeRate,opacity:d,transform:p}),this.#B(t);for(const i of this.#C)i.drawParticleCleanup?.(s,t,e)})}drawParticlePlugins(t,e){this.draw(i=>{for(const s of this.#M)ue(i,s,t,e)})}drawParticles(t){const{particles:e}=this.#u;this.clear(),e.update(t),this.draw(i=>{for(const e of this.#D)e.drawSettingsSetup?.(i,t);for(const e of this.#I)e.draw?.(i,t);e.drawParticles(t);for(const e of this.#b)e.clearDraw?.(i,t);for(const e of this.#O)e.drawSettingsCleanup?.(i,t)})}init(){this.initUpdaters(),this.initPlugins(),this.paint()}initPlugins(){this.#z=[],this.#v=[],this.#P=[],this.#b=[],this.#M=[],this.#k=[],this.#C=[],this.#I=[],this.#D=[],this.#O=[];for(const t of this.#u.plugins)(t.particleFillColor??t.particleStrokeColor)&&this.#z.push(t),t.canvasClear&&this.#v.push(t),t.canvasPaint&&this.#P.push(t),t.drawParticle&&this.#M.push(t),t.drawParticleSetup&&this.#k.push(t),t.drawParticleCleanup&&this.#C.push(t),t.draw&&this.#I.push(t),t.drawSettingsSetup&&this.#D.push(t),t.drawSettingsCleanup&&this.#O.push(t),t.clearDraw&&this.#b.push(t)}initUpdaters(){this.#E=[],this.#_=[];for(const t of this.#u.particleUpdaters)t.afterDraw&&this.#_.push(t),(t.getColorStyles??t.getTransformValues??t.beforeDraw)&&this.#E.push(t)}paint(){let t=!1;for(const e of this.#P)if(t=e.canvasPaint?.()??!1,t)break;t||this.paintBase()}paintBase(t){this.draw(e=>{!function(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(a,o,e.width,e.height)}(e,this.#w.size,t)})}paintImage(t,e){this.draw(i=>{!function(t,e,i,s){if(!i)return;const n=t.globalAlpha;t.globalAlpha=s,t.drawImage(i,a,o,e.width,e.height),t.globalAlpha=n}(i,this.#w.size,t,e)})}setContext(t){this.#x=t,this.#x&&(this.#x.globalCompositeOperation="source-over")}setContextSettings(t){this.#S=t}stop(){this.draw(t=>{de(t,this.#w.size)})}#B=t=>{for(const e of this.#_)e.afterDraw?.(t)};#L=(t,e,i,s,n,a)=>{for(const o of this.#E){if(o.getColorStyles){const{fill:a,stroke:r}=o.getColorStyles(e,t,i,s);a&&(n.fill=a),r&&(n.stroke=r)}if(o.getTransformValues){const t=o.getTransformValues(e);for(const e in t)ni(a,t,e)}o.beforeDraw?.(e)}};#A=t=>{let e,i;for(const s of this.#z)if(!e&&s.particleFillColor&&(e=ye(this.#p,s.particleFillColor(t))),!i&&s.particleStrokeColor&&(i=ye(this.#p,s.particleStrokeColor(t))),e&&i)break;return this.#F[0]=e,this.#F[1]=i,this.#F}}const oi=new WeakMap;function ri(t,e,i=!1){if(!e)return;const s=t.style,n=new Set;for(let t=0;t<s.length;t++){const e=s.item(t);e&&n.add(e)}for(let t=0;t<e.length;t++){const i=e.item(t);i&&n.add(i)}for(const t of n){const n=e.getPropertyValue(t);n?s.setProperty(t,n,i?"important":""):s.removeProperty(t)}}class li{domElement;render;renderCanvas;size;zoom=1;#u;#U;#q;#$;#p;#V;#W;#H;#j;constructor(t,e){this.#p=t,this.#u=e,this.render=new ai(t,e,this),this.#H={height:0,width:0};const i=e.retina.pixelRatio,s=this.#H;this.size={height:s.height*i,width:s.width*i},this.#U=!1,this.#W=[],this.#V="none"}get#N(){return this.#u.actualOptions.fullScreen.enable}destroy(){if(this.stop(),this.#U){const t=this.domElement;t?.remove(),this.domElement=void 0,this.renderCanvas=void 0}else this.#Q();this.render.destroy(),this.#W=[]}getZoomCenter(){const t=this.#u.retina.pixelRatio,{width:e,height:i}=this.size;return this.#j?this.#j:{x:e*s/t,y:i*s/t}}init(){this.#G(t=>{t.disconnect()}),this.#q=function(t){if("undefined"!=typeof MutationObserver)return new MutationObserver(t)}(t=>{for(const e of t)"attributes"===e.type&&"style"===e.attributeName&&this.#X()}),this.resize(),this.#Y(),this.initBackground(),this.#G(t=>{const e=this.domElement;e&&e instanceof Node&&t.observe(e,{attributes:!0})}),this.initPlugins(),this.render.init()}initBackground(){const t=this.#u,e=t.actualOptions.background,i=this.domElement;if(!i)return;const s=i.style,n=ge(this.#p,e.color);s.backgroundColor=n?ve(n,t.hdr,e.opacity):"",s.backgroundImage=e.image||"",s.backgroundPosition=e.position||"",s.backgroundRepeat=e.repeat||"",s.backgroundSize=e.size||""}initPlugins(){this.#W=[];for(const t of this.#u.plugins)t.resize&&this.#W.push(t)}loadCanvas(t){this.#U&&this.domElement&&this.domElement.remove();const i=this.#u,s=(t=>"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement)(t)?t:void 0;this.domElement=s,this.#U=!!s&&"true"===s.dataset[e],this.renderCanvas=s?(t=>{const e=oi.get(t);if(e)return e;if("function"!=typeof t.transferControlToOffscreen)throw new TypeError("OffscreenCanvas is required but not supported by this browser");try{const e=t.transferControlToOffscreen();return oi.set(t,e),e}catch{throw new TypeError("OffscreenCanvas transfer failed")}})(s):t;const n=this.domElement;n&&(n.ariaHidden="true",this.#$=function(t){const e=Z().createElement("div").style;for(const i in t){const s=t[i];if(!(i in t)||_(s))continue;const n=t.getPropertyValue?.(s);if(!n)continue;const a=t.getPropertyPriority?.(s);a?e.setProperty(s,n,a):e.setProperty(s,n)}return e}(n.style));const a=this.#H,o=this.renderCanvas;n?(a.height=n.offsetHeight,a.width=n.offsetWidth):(a.height=o.height,a.width=o.width);const r=this.#u.retina.pixelRatio,l=this.size;o.height=l.height=a.height*r,o.width=l.width=a.width*r;const c=tt("(color-gamut: p3)");this.render.setContextSettings({alpha:!0,colorSpace:c?.matches&&i.hdr?"display-p3":"srgb",desynchronized:!0,willReadFrequently:!1}),this.render.setContext(o.getContext("2d",this.render.settings)),this.#G(t=>{t.disconnect()}),i.retina.init(),this.initBackground(),this.#G(t=>{const e=this.domElement;e&&e instanceof Node&&t.observe(e,{attributes:!0})})}resize(){const t=this.domElement;if(!t)return!1;const e=this.#u,i=this.renderCanvas;if(void 0===i)return!1;const s=e.canvas.#H,n={width:t.offsetWidth,height:t.offsetHeight},a=e.retina.pixelRatio,o={width:n.width*a,height:n.height*a};if(n.height===s.height&&n.width===s.width&&o.height===i.height&&o.width===i.width)return!1;const r={...s};s.height=n.height,s.width=n.width;const l=this.size;return i.width=l.width=o.width,i.height=l.height=o.height,this.#u.started&&e.particles.setResizeFactor({width:s.width/r.width,height:s.height/r.height}),!0}setPointerEvents(t){this.domElement&&(this.#V=t,this.#X())}setZoom(t,e){this.zoom=t,this.#j=e}stop(){this.#G(t=>{t.disconnect()}),this.#q=void 0,this.render.stop()}async windowResize(){if(!this.domElement||!this.resize())return;const t=this.#u,e=t.updateActualOptions();t.particles.setDensity(),this.#J(),e&&await t.refresh()}#J=()=>{for(const t of this.#W)t.resize?.()};#Y=()=>{const t=this.domElement,e=this.#u.actualOptions;if(t){this.#N?this.#K():this.#Q();for(const i in e.style){if(!i||!(i in e.style))continue;const s=e.style[i];s&&t.style.setProperty(i,s,"important")}}};#X=()=>{const t=this.domElement;if(!t)return;this.#G(t=>{t.disconnect()}),this.#Y(),this.initBackground();const e=this.#V;t.style.pointerEvents=e,t.style.setProperty("pointer-events",e),this.#G(e=>{t instanceof Node&&e.observe(t,{attributes:!0})})};#Q=()=>{const t=this.domElement,e=this.#$;t&&e&&ri(t,e,!0)};#G=t=>{this.#q&&t(this.#q)};#K=()=>{const t=this.domElement;t&&ri(t,ct(this.#u.actualOptions.fullScreen.zIndex),!0)}}class ci{#u;#Z;#tt;#et;constructor(t){this.#u=t,this.#Z={visibilityChange:()=>{this.#it()},resize:()=>{this.#st()}}}addListeners(){this.#nt(!0)}removeListeners(){this.#nt(!1)}#it=()=>{const t=this.#u;t.actualOptions.pauseOnBlur&&(Z().hidden?(t.pageHidden=!0,t.pause()):(t.pageHidden=!1,t.animationStatus?t.play(!0):t.draw(!0)))};#st=()=>{this.#et&&(clearTimeout(this.#et),this.#et=void 0);const t=async()=>{const t=this.#u.canvas;await t.windowResize()};this.#et=setTimeout(()=>{t()},this.#u.actualOptions.resize.delay*n)};#nt=t=>{const e=this.#Z;this.#at(t),ht(document,"visibilitychange",e.visibilityChange,t,!1)};#at=t=>{const e=this.#Z,i=this.#u;if(!i.actualOptions.resize.enable)return;if("undefined"==typeof ResizeObserver)return void ht(globalThis,"resize",e.resize,t);const s=i.canvas.domElement;this.#tt&&!t?(s&&this.#tt.unobserve(s),this.#tt.disconnect(),this.#tt=void 0):!this.#tt&&t&&s&&(this.#tt=new ResizeObserver(t=>{t.find(t=>t.target===s)&&this.#st()}),this.#tt.observe(s))}}function hi(t){if(e=t.outMode,i=t.checkModes,!(e===i||D(i)&&i.includes(e)))return;var e,i;const s=2*t.radius;t.coord>t.maxCoord-s?t.setCb(-t.radius):t.coord<s&&t.setCb(t.radius)}class di{backColor;bubble;destroyed;direction;effect;effectClose;effectData;fillColor;fillEnabled;fillOpacity;group;id;ignoresResizeRatio;initialPosition;initialVelocity;isRotating;justWarped;lastPathTime;misplaced;moveCenter;offset;opacity;options;outType;pathRotation;position;randomIndexData;retina;roll;rotation;shape;shapeClose;shapeData;sides;size;slow;spawning;strokeColor;strokeOpacity;strokeWidth;unbreakable;velocity;zIndexFactor;#ot={fillOpacity:1,opacity:1,strokeOpacity:1};#rt=S.origin;#lt={sin:0,cos:0};#ct={a:1,b:0,c:0,d:1};#u;#p;constructor(t,e){this.#p=t,this.#u=e}destroy(t){if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const e=this.#u,i=this.shape?e.shapeDrawers.get(this.shape):void 0;i?.particleDestroy?.(this);for(const i of e.particleDestroyedPlugins)i.particleDestroyed?.(this,t);for(const i of e.particleUpdaters)i.particleDestroyed?.(this,t);this.#u.dispatchEvent(pt.particleDestroyed,{particle:this})}draw(t){const e=this.#u.canvas.render;e.drawParticlePlugins(this,t),e.drawParticle(this,t)}getAngle(){return this.rotation+(this.pathRotation?this.velocity.angle:0)}getFillColor(){return this.#ht(this.bubble.color??be(this.fillColor))}getMass(){return this.getRadius()**2*Math.PI*s}getOpacity(){const t=this.options.zIndex,e=(1-this.zIndexFactor)**t.opacityRate,i=this.bubble.opacity??q(this.opacity?.value??1),s=this.fillOpacity??1,n=this.strokeOpacity??1;return this.#ot.fillOpacity=i*s*e,this.#ot.opacity=i*e,this.#ot.strokeOpacity=i*n*e,this.#ot}getPosition(){return this.#rt.x=this.position.x+this.offset.x,this.#rt.y=this.position.y+this.offset.y,this.#rt.z=this.position.z,this.#rt}getRadius(){return this.bubble.radius??this.size.value}getRotateData(){const t=this.getAngle();return this.#lt.sin=Math.sin(t),this.#lt.cos=Math.cos(t),this.#lt}getStrokeColor(){return this.#ht(this.bubble.color??be(this.strokeColor))}getTransformData(t){const e=this.getRotateData(),i=this.isRotating;return this.#ct.a=e.cos*(t.a??l),this.#ct.b=i?e.sin*(t.b??1):t.b??c,this.#ct.c=i?-e.sin*(t.c??1):t.c??h,this.#ct.d=e.cos*(t.d??d),this.#ct}init(t,e,i,s){const n=this.#u;this.id=t,this.group=s,this.justWarped=!1,this.effectClose=!0,this.shapeClose=!0,this.pathRotation=!1,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.isRotating=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{},maxSpeed:0,moveDrift:0,moveSpeed:0,sizeAnimationSpeed:0},this.size={value:1,max:1,min:1,enable:!1},this.outType=Ct.normal,this.ignoresResizeRatio=!0;const a=n.actualOptions,o=ce(this.#p,n,a.particles),r=o.reduceDuplicates,l=o.effect.type,c=o.shape.type;this.effect=nt(l,this.id,r),this.shape=nt(c,this.id,r);const h=o.effect,d=o.shape;if(i){if(i.effect?.type&&i.effect.type!==this.effect){const t=nt(i.effect.type,this.id,r);t&&(this.effect=t,h.load(i.effect))}if(i.shape?.type&&i.shape.type!==this.shape){const t=nt(i.shape.type,this.id,r);t&&(this.shape=t,d.load(i.shape))}}if(this.effect===u){const t=[...this.#u.effectDrawers.keys()];this.effect=t[Math.floor(A()*t.length)]}if(this.shape===u){const t=[...this.#u.shapeDrawers.keys()];this.shape=t[Math.floor(A()*t.length)]}this.effectData=this.effect?function(t,e,i,s){const n=e.options[t];return it({close:e.close},nt(n,i,s))}(this.effect,h,this.id,r):void 0,this.shapeData=this.shape?function(t,e,i,s){const n=e.options[t];return it({close:e.close},nt(n,i,s))}(this.shape,d,this.id,r):void 0,o.load(i);const p=this.effectData,f=this.shapeData;p&&o.load(p.particles),f&&o.load(f.particles),this.effectClose=p?.close??o.effect.close,this.shapeClose=f?.close??o.shape.close,this.options=o,n.retina.initParticle(this);for(const t of n.particleUpdaters)t.preInit?.(this);let g,m;this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this.#dt(e),this.initialVelocity=this.#ut(),this.velocity=this.initialVelocity.copy(),this.zIndexFactor=this.position.z/n.zLayers,this.sides=24,this.effect&&(g=n.effectDrawers.get(this.effect)),g?.loadEffect&&g.loadEffect(this),this.shape&&(m=n.shapeDrawers.get(this.shape)),m?.loadShape&&m.loadShape(this);const y=m?.getSidesCount;y&&(this.sides=y(this)),this.spawning=!1;for(const t of n.particleUpdaters)t.init(this);g?.particleInit?.(n,this),m?.particleInit?.(n,this);for(const t of n.particleCreatedPlugins)t.particleCreated?.(this)}isInsideCanvas(t){return this.#pt({direction:t}).inside}isInsideCanvasForOutMode(t,e){return this.#pt({direction:e,outMode:t}).inside}isShowingBack(){if(!this.roll)return!1;const t=this.roll.angle;if(this.roll.horizontal&&this.roll.vertical){const e=t%p,i=e<0?e+p:e;return i>=Math.PI*s&&i<3*Math.PI*s}if(this.roll.horizontal){const e=(t+Math.PI*s)%(2*Math.PI),i=e<0?e+2*Math.PI:e;return i>=Math.PI&&i<2*Math.PI}if(this.roll.vertical){const e=t%(2*Math.PI),i=e<0?e+2*Math.PI:e;return i>=Math.PI&&i<2*Math.PI}return!1}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){for(const t of this.#u.particleUpdaters)t.reset?.(this)}#ft=(t,e)=>{let i=0,s=t?S.create(t.x,t.y,e):void 0;const n=this.#u,a=n.particlePositionPlugins,o=this.options.move.outModes,r=this.getRadius(),l=n.canvas.size,c=new AbortController,{signal:h}=c;for(;!h.aborted;){for(const t of a){const i=t.particlePosition?.(s,this);if(i)return S.create(i.x,i.y,e)}const t=N({size:l,position:s}),c=S.create(t.x,t.y,e);this.#gt(c,r,o.left??o.default),this.#gt(c,r,o.right??o.default),this.#mt(c,r,o.top??o.default),this.#mt(c,r,o.bottom??o.default);let h=!0;for(const t of n.particles.checkParticlePositionPlugins)if(h=t.checkParticlePosition?.(this,c,i)??!0,!h)break;if(h)return c;i+=1,s=void 0}return s};#ut=()=>{const t=this.options.move,e=function(t){const e=M.origin;return e.length=1,e.angle=t,e}(this.direction).copy();if(t.direction===z.inside||t.direction===z.outside)return e;const i=H(q(t.angle.value)),n=H(q(t.angle.offset)),a={left:n-i*s,right:n+i*s};return t.straight||(e.angle+=U(W(a.left,a.right))),t.random&&"number"==typeof t.speed&&(e.length*=A()),e};#gt=(t,e,i)=>{hi({outMode:i,checkModes:[xt.bounce],coord:t.x,maxCoord:this.#u.canvas.size.width,setCb:e=>t.x+=e,radius:e})};#mt=(t,e,i)=>{hi({outMode:i,checkModes:[xt.bounce],coord:t.y,maxCoord:this.#u.canvas.size.height,setCb:e=>t.y+=e,radius:e})};#yt=(t,e)=>{const i=this.getRadius(),s=this.#u.canvas.size,n=this.position,a=e===xt.bounce;return t===Y.bottom?{inside:a?n.y+i<s.height:n.y-i<s.height,reason:"default"}:t===Y.left?{inside:a?n.x-i>0:n.x+i>0,reason:"default"}:t===Y.right?{inside:a?n.x+i<s.width:n.x-i<s.width,reason:"default"}:t===Y.top?{inside:a?n.y-i>0:n.y+i>0,reason:"default"}:{inside:n.x>=-i&&n.y>=-i&&n.y<=s.height+i&&n.x<=s.width+i,reason:"default"}};#vt=(t,e)=>({canvasSize:this.#u.canvas.size,direction:t,outMode:e,particle:this,radius:this.getRadius()});#pt=t=>{const e=this.#yt(t.direction,t.outMode),i=this.#u,s=this.shape?i.shapeDrawers.get(this.shape):void 0,n=this.effect?i.effectDrawers.get(this.effect):void 0,a=s?.isInsideCanvas,o=n?.isInsideCanvas;if(!a&&!o)return e;const r=this.#vt(t.direction,t.outMode),l=a?this.#wt(a(r),"shape"):void 0,c=o?this.#wt(o(r),"effect"):void 0;if(l&&c){const t=Math.max(l.margin??0,c.margin??0);return{inside:l.inside&&c.inside,margin:t>0?t:void 0,reason:"combined"}}return l??c??e};#ht=t=>t&&this.roll&&(this.backColor||this.roll.alter)&&this.isShowingBack()?this.backColor?this.backColor:this.roll.alter?function(t,e,i){return{h:t.h,s:t.s,l:t.l+(e===St.darken?-1:1)*i}}(t,this.roll.alter.type,this.roll.alter.value):t:t;#dt=t=>{const e=this.#u,i=Math.floor(q(this.options.zIndex.value)),n=this.#ft(t,B(i,0,e.zLayers));if(!n)throw new Error("a valid position cannot be found for particle");this.position=n,this.initialPosition=this.position.copy();const a=e.canvas.size;switch(this.moveCenter={...ot(this.options.move.center,a),radius:this.options.move.center.radius,mode:this.options.move.center.mode},this.direction=function(t,e,i){if(I(t))return H(t);switch(t){case z.top:return-Math.PI*s;case z.topRight:return-Math.PI*b;case z.right:return 0;case z.bottomRight:return Math.PI*b;case z.bottom:return Math.PI*s;case z.bottomLeft:return.75*Math.PI;case z.left:return Math.PI;case z.topLeft:return.75*-Math.PI;case z.inside:return Math.atan2(i.y-e.y,i.x-e.x);case z.outside:return Math.atan2(e.y-i.y,e.x-i.x);default:return A()*p}}(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case z.inside:this.outType=Ct.inside;break;case z.outside:this.outType=Ct.outside}this.offset=M.origin};#wt=(t,e)=>"boolean"==typeof t?{inside:t,reason:e}:{inside:t.inside,margin:t.margin,reason:t.reason??e}}class ui{#Pt;#bt=new Map;#zt=[];#xt;#St;#Mt=[];#Ct;constructor(t){this.#Pt=t,this.#xt=0,this.#Ct=0}clear(){this.#bt.clear();const t=this.#St;t&&(this.#Pt=t),this.#St=void 0}insert(t){const{x:e,y:i}=t.getPosition(),s=this.#kt(e,i);this.#bt.has(s)||this.#bt.set(s,[]),this.#bt.get(s)?.push(t)}query(t,e,i=[]){const s=this.#It(t);if(!s)return i;const n=Math.floor(s.minX/this.#Pt),a=Math.floor(s.maxX/this.#Pt),o=Math.floor(s.minY/this.#Pt),r=Math.floor(s.maxY/this.#Pt);for(let s=n;s<=a;s++)for(let n=o;n<=r;n++){const a=`${s}_${n}`,o=this.#bt.get(a);if(o)for(const s of o)e&&!e(s)||t.contains(s.getPosition())&&i.push(s)}return i}queryCircle(t,e,i,s=[]){const n=this.#Ot(t.x,t.y,e),a=this.query(n,i,s);return this.#Dt(),a}queryRectangle(t,e,i,s=[]){const n=this.#_t(t.x,t.y,e.width,e.height),a=this.query(n,i,s);return this.#Dt(),a}setCellSize(t){this.#St=t}#Ot(t,e,i){return(this.#zt[this.#xt++]??=new Ot(t,e,i)).reset(t,e,i)}#_t(t,e,i,s){return(this.#Mt[this.#Ct++]??=new Dt(t,e,i,s)).reset(t,e,i,s)}#kt(t,e){return`${Math.floor(t/this.#Pt)}_${Math.floor(e/this.#Pt)}`}#It(t){if(t instanceof Ot){const e=t.radius,{x:i,y:s}=t.position;return{minX:i-e,maxX:i+e,minY:s-e,maxY:s+e}}if(t instanceof Dt){const{x:e,y:i}=t.position,{width:s,height:n}=t.size;return{minX:e,maxX:e+s,minY:i,maxY:i+n}}return null}#Dt(){this.#xt=0,this.#Ct=0}}class pi{checkParticlePositionPlugins;grid;#Et;#u;#Rt;#Ft;#Tt;#At;#Lt;#Bt;#p;#Ut;#qt;#$t;#Vt;#Wt;#Ht;constructor(t,e){this.#p=t,this.#u=e,this.#Tt=0,this.#Et=[],this.#Ut=[],this.#Ft=0,this.#Rt=new Map,this.#At=new Map,this.#Ht=this.#jt(this.#u.zLayers),this.grid=new ui(100),this.checkParticlePositionPlugins=[],this.#Lt=[],this.#Bt=[],this.#$t=[],this.#qt=[],this.#Wt=[]}get count(){return this.#Et.length}addParticle(t,e,i,s){const n=this.#u.actualOptions.particles.number.limit.mode,a=void 0===i?this.#Ft:this.#Rt.get(i)??this.#Ft,o=this.count;if(a>0)switch(n){case zt.delete:{const t=o+1-a;t>0&&this.removeQuantity(t);break}case zt.wait:if(o>=a)return}try{const n=this.#Ut.pop()??new di(this.#p,this.#u);n.init(this.#Tt,t,e,i);let a=!0;return s&&(a=s(n)),a?(this.#Et.push(n),this.#Nt(n),this.#Tt++,this.#u.dispatchEvent(pt.particleAdded,{particle:n}),n):void this.#Ut.push(n)}catch(t){yt().warning(`error adding particle: ${t}`)}}clear(){this.#Et=[],this.#At.clear(),this.#Qt(this.#u.zLayers)}destroy(){this.#Et=[],this.#Ut.length=0,this.#At.clear(),this.#Ht=[],this.checkParticlePositionPlugins=[],this.#Lt=[],this.#Bt=[],this.#$t=[],this.#qt=[],this.#Wt=[]}drawParticles(t){for(let e=this.#Ht.length-1;e>=0;e--){const i=this.#Ht[e];if(i)for(const e of i)e.draw(t)}}filter(t){return this.#Et.filter(t)}find(t){return this.#Et.find(t)}get(t){return this.#Et[t]}async init(){const t=this.#u,e=t.actualOptions;this.checkParticlePositionPlugins=[],this.#Wt=[],this.#Bt=[],this.#$t=[],this.#Lt=[],this.#qt=[],this.#At.clear(),this.#Qt(t.zLayers),this.grid=new ui(100*t.retina.pixelRatio);for(const e of t.plugins)e.redrawInit&&await e.redrawInit(),e.checkParticlePosition&&this.checkParticlePositionPlugins.push(e),e.update&&this.#Wt.push(e),e.particleUpdate&&this.#Bt.push(e),e.postUpdate&&this.#$t.push(e),e.particleReset&&this.#Lt.push(e),e.postParticleUpdate&&this.#qt.push(e);await this.#u.initDrawersAndUpdaters();for(const e of this.#u.effectDrawers.values())await(e.init?.(t));for(const e of this.#u.shapeDrawers.values())await(e.init?.(t));let i=!1;for(const e of t.plugins)if(i=e.particlesInitialization?.()??i,i)break;if(!i){const t=e.particles,i=t.groups;for(const e in i){const s=i[e];if(s)for(let i=this.count,n=0;n<s.number.value&&i<t.number.value;i++,n++)this.addParticle(void 0,s,e)}for(let e=this.count;e<t.number.value;e++)this.addParticle()}}push(t,e,i,s){for(let n=0;n<t;n++)this.addParticle(e,i,s)}async redraw(){this.clear(),await this.init(),this.#u.canvas.render.drawParticles({value:0,factor:0})}remove(t,e,i){this.removeAt(this.#Et.indexOf(t),void 0,e,i)}removeAt(t,e=1,i,s){if(t<0||t>this.count)return;let n=0;for(let a=t;n<e&&a<this.count;a++)this.#Gt(a,i,s)&&(a--,n++)}removeQuantity(t,e){this.removeAt(0,t,e)}setDensity(){const t=this.#u.actualOptions,e=t.particles.groups;let i=0;for(const t of this.#u.plugins)t.particlesDensityCount&&(i+=t.particlesDensityCount());for(const t in e){const s=e[t];if(!s)continue;const n=ce(this.#p,this.#u,s);this.#Xt(n,i,t)}this.#Xt(t.particles,i)}setResizeFactor(t){this.#Vt=t}update(t){this.grid.clear();for(const e of this.#Wt)e.update?.(t);const e=this.#Yt(t);for(const e of this.#$t)e.postUpdate?.(t);if(this.#Jt(t,e),e.size)for(const t of e)this.remove(t);this.#Vt=void 0}#Kt=(...t)=>{this.#Ut.push(...t)};#Xt=(t,e,i,s)=>{const n=t.number;if(!n.density.enable)return void(void 0===i?this.#Ft=n.limit.value:(s?.number.limit.value??n.limit.value)&&this.#Rt.set(i,s?.number.limit.value??n.limit.value));const a=this.#Zt(n.density),o=n.value,r=n.limit.value>0?n.limit.value:o,l=Math.min(o,r)*a+e,c=Math.min(this.count,this.filter(t=>t.group===i).length);void 0===i?this.#Ft=n.limit.value*a:this.#Rt.set(i,n.limit.value*a),c<l?this.push(Math.abs(l-c),void 0,t,i):c>l&&this.removeQuantity(c-l,i)};#jt=t=>{const e=Math.max(Math.floor(t),1);return Array.from({length:e},()=>[])};#te=t=>{const e=this.#Ht.length-1;return e<=0?0:Math.min(Math.max(Math.floor(t),0),e)};#ee=(t,e)=>{let i=0,s=t.length;for(;i<s;){const n=Math.floor((i+s)/2),a=t[n];a?a.id<e?i=n+1:s=n:s=n}return i};#Zt=t=>{const e=this.#u;if(!t.enable)return 1;const i=e.canvas.size,s=e.retina.pixelRatio;return i.width&&i.height?i.width*i.height/(t.height*t.width*s**2):1};#Nt=t=>{const e=this.#te(t.position.z),i=this.#Ht[e];i&&(i.splice(this.#ee(i,t.id),0,t),this.#At.set(t.id,e))};#Gt=(t,e,i)=>{const s=this.#Et[t];return!!s&&(s.group===e&&(this.#Et.splice(t,1),this.#ie(s),s.destroy(i),this.#u.dispatchEvent(pt.particleRemoved,{particle:s}),this.#Kt(s),!0))};#ie=t=>{const e=this.#At.get(t.id)??this.#te(t.position.z),i=this.#Ht[e];if(!i)return void this.#At.delete(t.id);const s=this.#ee(i,t.id);i[s]?.id===t.id?(i.splice(s,1),this.#At.delete(t.id)):this.#At.delete(t.id)};#Qt=t=>{const e=Math.max(Math.floor(t),1);if(this.#Ht.length===e)for(const t of this.#Ht)t.length=0;else this.#Ht=this.#jt(e)};#se=t=>{const e=this.#te(t.position.z),i=this.#At.get(t.id);if(void 0===i)return void this.#Nt(t);if(i===e)return;const s=this.#Ht[i];if(s){const e=this.#ee(s,t.id);s[e]?.id===t.id&&s.splice(e,1)}const n=this.#Ht[e];n?(n.splice(this.#ee(n,t.id),0,t),this.#At.set(t.id,e)):this.#At.set(t.id,e)};#Yt=t=>{const e=new Set,i=this.#Vt;for(const s of this.#Et){i&&!s.ignoresResizeRatio&&(s.position.x*=i.width,s.position.y*=i.height,s.initialPosition.x*=i.width,s.initialPosition.y*=i.height),s.ignoresResizeRatio=!1;for(const t of this.#Lt)t.particleReset?.(s);for(const e of this.#Bt){if(s.destroyed)break;e.particleUpdate?.(s,t)}s.destroyed?e.add(s):this.grid.insert(s)}return e};#Jt=(t,e)=>{for(const i of this.#Et)if(i.destroyed)e.add(i);else{for(const e of this.#u.particleUpdaters)e.update(i,t);if(!i.spawning)for(const e of this.#qt)e.postParticleUpdate?.(i,t);this.#se(i)}}}class fi{pixelRatio;reduceFactor;#u;constructor(t){this.#u=t,this.pixelRatio=1,this.reduceFactor=1}init(){const t=this.#u,e=t.actualOptions;this.pixelRatio=e.detectRetina?devicePixelRatio:1,this.reduceFactor=1;const i=this.pixelRatio,s=t.canvas,n=s.domElement;n&&(s.size.width=n.offsetWidth*i,s.size.height=n.offsetHeight*i)}initParticle(t){const e=t.options,i=this.pixelRatio,s=e.move,n=s.distance,a=t.retina;a.maxSpeed=q(s.gravity.maxSpeed)*i,a.moveDrift=q(s.drift)*i,a.moveSpeed=q(s.speed)*i;const o=a.maxDistance;o.horizontal=void 0===n.horizontal?void 0:n.horizontal*i,o.vertical=void 0===n.vertical?void 0:n.vertical*i}}function gi(t){return!t.destroyed}function mi(t,e,...i){const s=new he(t,e);return le(s,...i),s}var yi=Object.freeze({__proto__:null,Container:class{actualOptions;canvas;destroyed;effectDrawers;fpsLimit;hdr;id;pageHidden;particleCreatedPlugins;particleDestroyedPlugins;particlePositionPlugins;particleUpdaters;particles;plugins;retina;shapeDrawers;started;zLayers;#ne;#ae;#oe={value:0,factor:0};#re;#le;#ce;#he;#de;#ue;#pe;#fe;#ge;#me;#ye;#p;#ve;#we;constructor(t){const{dispatchCallback:e,pluginManager:i,id:s,onDestroy:n,sourceOptions:a}=t;this.#p=i,this.#re=e,this.#ge=n,this.id=Symbol(s),this.fpsLimit=120,this.hdr=!1,this.#ve=!1,this.#ne=0,this.#ce=0,this.#fe=0,this.#de=!0,this.started=!1,this.destroyed=!1,this.#ye=!0,this.#pe=0,this.zLayers=100,this.pageHidden=!1,this.#we=a,this.#ue=a,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.particleUpdaters=[],this.retina=new fi(this),this.canvas=new li(this.#p,this),this.particles=new pi(this.#p,this),this.plugins=[],this.particleDestroyedPlugins=[],this.particleCreatedPlugins=[],this.particlePositionPlugins=[],this.#me=mi(this.#p,this),this.actualOptions=mi(this.#p,this),this.#he=new ci(this),this.dispatchEvent(pt.containerBuilt)}get animationStatus(){return!this.#ye&&!this.pageHidden&&gi(this)}get options(){return this.#me}get sourceOptions(){return this.#we}addLifeTime(t){this.#fe+=t}alive(){return!this.#ce||this.#fe<=this.#ce}destroy(t=!0){if(gi(this)){this.stop(),this.particles.destroy(),this.canvas.destroy();for(const[,t]of this.effectDrawers)t.destroy?.(this);for(const[,t]of this.shapeDrawers)t.destroy?.(this);for(const t of this.plugins)t.destroy?.();this.effectDrawers=new Map,this.shapeDrawers=new Map,this.particleUpdaters=[],this.plugins.length=0,this.#p.clearPlugins(this),this.destroyed=!0,this.#ge(t),this.dispatchEvent(pt.containerDestroyed)}}dispatchEvent(t,e){this.#re(t,{container:this,data:e})}draw(t){if(!gi(this))return;let e=t;this.#le=F(t=>{e&&(this.#pe=void 0,e=!1),this.#Pe(t)})}async export(t,e={}){for(const i of this.plugins){if(!i.export)continue;const s=await i.export(t,e);if(s.supported)return s.blob}yt().error(`Export plugin with type ${t} not found`)}async init(){if(!gi(this))return;const t=new Map;for(const e of this.#p.plugins){const i=await e.getPlugin(this);i.preInit&&await i.preInit(),t.set(e,i)}await this.initDrawersAndUpdaters(),this.#me=mi(this.#p,this,this.#ue,this.sourceOptions),this.actualOptions=mi(this.#p,this,this.#me),this.plugins.length=0,this.particleDestroyedPlugins.length=0,this.particleCreatedPlugins.length=0,this.particlePositionPlugins.length=0;for(const[e,i]of t)e.needsPlugin(this.actualOptions)&&(this.plugins.push(i),i.particleCreated&&this.particleCreatedPlugins.push(i),i.particleDestroyed&&this.particleDestroyedPlugins.push(i),i.particlePosition&&this.particlePositionPlugins.push(i));this.retina.init(),this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize();const{delay:e,duration:i,fpsLimit:s,hdr:a,smooth:o,zLayers:r}=this.actualOptions;this.hdr=a,this.zLayers=r,this.#ce=q(i)*n,this.#ne=q(e)*n,this.#fe=0,this.fpsLimit=s>0?s:120,this.#ve=o;for(const t of this.plugins)await(t.init?.());await this.particles.init(),this.dispatchEvent(pt.containerInit),this.particles.setDensity();for(const t of this.plugins)t.particlesSetup?.();this.dispatchEvent(pt.particlesSetup)}async initDrawersAndUpdaters(){const t=this.#p;this.effectDrawers=await t.getEffectDrawers(this,!0),this.shapeDrawers=await t.getShapeDrawers(this,!0),this.particleUpdaters=await t.getUpdaters(this,!0)}pause(){var t;if(gi(this)&&(void 0!==this.#le&&(t=this.#le,T(t),this.#le=void 0),!this.#ye)){for(const t of this.plugins)t.pause?.();this.pageHidden||(this.#ye=!0),this.dispatchEvent(pt.containerPaused)}}play(t){if(!gi(this))return;const e=this.#ye||t;if(!this.#de||this.actualOptions.autoPlay){if(this.#ye&&(this.#ye=!1),e)for(const t of this.plugins)t.play&&t.play();this.dispatchEvent(pt.containerPlay),this.draw(e??!1)}else this.#de=!1}async refresh(){if(gi(this))return this.stop(),this.start()}async reset(t){if(gi(this))return this.#ue=t,this.#we=t,this.#me=mi(this.#p,this,this.#ue,this.sourceOptions),this.actualOptions=mi(this.#p,this,this.#me),this.refresh()}async start(){gi(this)&&!this.started&&(await this.init(),this.started=!0,await new Promise(t=>{const e=async()=>{this.#he.addListeners();for(const t of this.plugins)await(t.start?.());this.dispatchEvent(pt.containerStarted),this.play(),t()};this.#ae=setTimeout(()=>{e()},this.#ne)}))}stop(){if(gi(this)&&this.started){this.#ae&&(clearTimeout(this.#ae),this.#ae=void 0),this.#de=!0,this.started=!1,this.#he.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop();for(const t of this.plugins)t.stop?.();this.particleCreatedPlugins.length=0,this.particleDestroyedPlugins.length=0,this.particlePositionPlugins.length=0,this.#we=this.#me,this.dispatchEvent(pt.containerStopped)}}updateActualOptions(){let t=!1;for(const e of this.plugins)e.updateActualOptions&&(t=e.updateActualOptions()||t);return t}#Pe=t=>{try{if(!this.#ve&&void 0!==this.#pe&&t<this.#pe+n/this.fpsLimit)return void this.draw(!1);if(this.#pe??=t,function(t,e,i=60,s=!1){t.value=e,t.factor=s?60/i:60*e/n}(this.#oe,t-this.#pe,this.fpsLimit,this.#ve),this.addLifeTime(this.#oe.value),this.#pe=t,this.#oe.value>n)return void this.draw(!1);if(this.canvas.render.drawParticles(this.#oe),!this.alive())return void this.destroy();this.animationStatus&&this.draw(!1)}catch(t){yt().error("error in animation loop",t)}}}});var vi=Object.freeze({__proto__:null,EmittersPluginInstance:class{#u;#m;constructor(t,e){this.#m=t,this.#u=e,this.#m.initContainer(e)}async init(){const t=this.#u.actualOptions.emitters;if(D(t))for(const e of t)await this.#m.addEmitter(this.#u,e);else await this.#m.addEmitter(this.#u,t)}pause(){for(const t of this.#m.getArray(this.#u))t.pause()}play(){for(const t of this.#m.getArray(this.#u))t.play()}resize(){for(const t of this.#m.getArray(this.#u))t.resize()}stop(){this.#m.clear(this.#u)}update(t){this.#m.getArray(this.#u).forEach(e=>{e.update(t)})}}});const wi=new Map;var Pi=Object.freeze({__proto__:null,ShapeManager:class{addShapeGenerator(t,e){this.getShapeGenerator(t)||wi.set(t,e)}getShapeGenerator(t){return wi.get(t)}getSupportedShapeGenerators(){return wi.keys()}}});var bi=Object.freeze({__proto__:null,EmittersInstancesManager:class{#be;#p;constructor(t){this.#be=new Map,this.#p=t}async addEmitter(t,e,i){const s=new Re;s.load(e);const{EmitterInstance:n}=await Promise.resolve().then(function(){return Si}),a=new n(this.#p,t,e=>{this.removeEmitter(t,e)},s,i);return await a.init(),this.getArray(t).push(a),a}clear(t){this.initContainer(t),this.#be.set(t,[])}getArray(t){this.initContainer(t);let e=this.#be.get(t);return e||(e=[],this.#be.set(t,e)),e}initContainer(t){this.#be.has(t)||(this.#be.set(t,[]),t.getEmitter=e=>{const i=this.getArray(t);return void 0===e||I(e)?i[e??0]:i.find(t=>t.name===e)},t.addEmitter=async(e,i)=>this.addEmitter(t,e,i),t.removeEmitter=e=>{const i=t.getEmitter?.(e);i&&this.removeEmitter(t,i)},t.playEmitter=e=>{const i=t.getEmitter?.(e);i&&i.externalPlay()},t.pauseEmitter=e=>{const i=t.getEmitter?.(e);i&&i.externalPause()})}removeEmitter(t,e){const i=this.getArray(t).indexOf(e);i>=0&&this.getArray(t).splice(i,1)}}});function zi(t,e,i,s){(t.paint??=new Zt).fill={color:At.create(void 0,{value:e}),enable:s,opacity:i}}function xi(t,e,i,s){(t.paint??=new Zt).stroke={color:At.create(void 0,{value:e}),opacity:i,width:s}}var Si=Object.freeze({__proto__:null,EmitterInstance:class{fill;name;options;position;size;spawnFillColor;spawnFillEnabled;spawnFillOpacity;spawnStrokeColor;spawnStrokeOpacity;spawnStrokeWidth;#u;#ze;#xe;#Se;#ce;#Me;#Ce;#ke;#Ie;#Oe;#q;#De;#ye;#p;#_e;#tt;#Ee;#Re;#Fe;#Te;constructor(t,e,i,s,a){this.#p=t,this.#u=e,this.#_e=i,this.#ze=0,this.#xe=0,this.#Se=0,this.#Ie=a,s instanceof Re?this.options=s:(this.options=new Re,this.options.load(s)),this.#Fe=e.retina.reduceFactor?q(this.options.life.delay??0)*n/e.retina.reduceFactor:1/0,this.position=this.#Ie??this.#ft(),this.name=this.options.name,this.fill=this.options.fill,this.#Ce=!this.options.life.wait,this.#Te=!1;const o=it({},this.options.particles);if(o.move??={},o.move.direction??=this.options.direction,this.options.spawn.fill?.color&&(this.spawnFillColor=ye(this.#p,this.options.spawn.fill.color)),this.options.spawn.stroke?.color&&(this.spawnStrokeColor=ye(this.#p,this.options.spawn.stroke.color)),this.#ye=!this.options.autoPlay,this.#De=o,this.#Re=this.#Ae(),this.size=rt(this.#Re,this.#u.canvas.size),this.#Oe=this.options.life.count??-1,this.#ke=this.#Oe<=0,this.options.domId){const t=Z().getElementById(this.options.domId);t&&(this.#q=new MutationObserver(()=>{this.resize()}),this.#tt=new ResizeObserver(()=>{this.resize()}),this.#q.observe(t,{attributes:!0,attributeFilter:["style","width","height"]}),this.#tt.observe(t))}const r=this.options.shape,l=this.#p.emitterShapeManager?.getShapeGenerator(r.type);l&&(this.#Ee=l.generate(this.#u,this.position,this.size,this.fill,r.options)),this.#u.dispatchEvent("emitterCreated",{emitter:this}),this.play()}externalPause(){this.#ye=!0,this.pause()}externalPlay(){this.#ye=!1,this.play()}async init(){await(this.#Ee?.init())}pause(){this.#ye||(this.#Me=void 0)}play(){if(this.#ye)return;if(!(this.#Oe>0||this.#ke)&&this.options.life.count||!(this.#Ce||this.#Se>=(this.#Fe??0)))return;const t=this.#u;if(void 0===this.#Me){const e=q(this.options.rate.delay);this.#Me=t.retina.reduceFactor?e*n/t.retina.reduceFactor:1/0}(this.#Oe>0||this.#ke)&&this.#Le()}resize(){const t=this.#Ie,e=this.#u;var i,s,n;this.position=t&&(i=t,s=e.canvas.size,n=M.origin,function(t,e,i){let s=!0;return s=t.top<e.height+i.x,s&&(s=t.right>i.x),s&&(s=t.left<e.width+i.y),s&&(s=t.bottom>i.y),s}(function(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}(i,0),s,n))?t:this.#ft(),this.#Re=this.#Ae(),this.size=rt(this.#Re,e.canvas.size),this.#Ee?.resize(this.position,this.size)}update(t){if(this.#ye)return;const e=this.#u;this.#Ce&&(this.#Ce=!1,this.#Se=this.#Fe??0,this.#xe=this.#Me??0),this.#Te||(this.#Te=!0,this.#Be(this.options.startCount)),void 0!==this.#ce&&(this.#ze+=t.value,this.#ze>=this.#ce&&(this.pause(),void 0!==this.#Fe&&(this.#Fe=void 0),this.#ke||this.#Oe--,this.#Oe>0||this.#ke?(this.position=this.#ft(),this.#Ee?.resize(this.position,this.size),this.#Fe=e.retina.reduceFactor?q(this.options.life.delay??0)*n/e.retina.reduceFactor:1/0):this.#Ue(),this.#ze-=this.#ce,this.#ce=void 0)),void 0!==this.#Fe&&(this.#Se+=t.value,this.#Se>=this.#Fe&&(this.#u.dispatchEvent("emitterPlay"),this.play(),this.#Se-=this.#Fe,this.#Fe=void 0)),void 0!==this.#Me&&(this.#xe+=t.value,this.#xe>=this.#Me&&(this.#qe(),this.#xe-=this.#Me))}#ft(){const t=this.#u;if(this.options.domId){const e=Z().getElementById(this.options.domId);if(e){const i=e.getBoundingClientRect(),n=t.retina.pixelRatio;return{x:(i.x+i.width*s)*n,y:(i.y+i.height*s)*n}}}return j({size:t.canvas.size,position:this.options.position})}#Ae(){const t=this.#u;if(this.options.domId){const e=Z().getElementById(this.options.domId);if(e){const i=e.getBoundingClientRect();return{width:i.width*t.retina.pixelRatio,height:i.height*t.retina.pixelRatio,mode:J.precise}}}return this.options.size??(()=>{const t=new _e;return t.load({height:0,mode:J.percent,width:0}),t})()}#Ue=()=>{this.#q?.disconnect(),this.#q=void 0,this.#tt?.disconnect(),this.#tt=void 0,this.#_e(this),this.#u.dispatchEvent("emitterDestroyed",{emitter:this})};#qe(){if(this.#ye)return;const t=q(this.options.rate.quantity);this.#Be(t)}#Be(t){const e=nt(this.#De)??{},i=this.options.spawn.fill?.color?.animation,s=this.options.spawn.fill?.enable??!!this.options.spawn.fill?.color,n=void 0===this.options.spawn.fill?.opacity?1:q(this.options.spawn.fill.opacity),a=this.options.spawn.stroke?.color?.animation,o=void 0===this.options.spawn.stroke?.opacity?1:q(this.options.spawn.stroke.opacity),r=void 0===this.options.spawn.stroke?.width?1:q(this.options.spawn.stroke.width),l=this.#u.retina.reduceFactor,c=!!i,h=!!a,d=!!this.#Ee,u=c||h,p=u||d,f=u?{h:v,s:w,l:P}:null,g=this.options.shape;for(let c=0;c<t*l;c++){const t=p?it({},e):e;this.spawnFillOpacity=n,this.spawnFillEnabled=s,this.spawnStrokeOpacity=o,this.spawnStrokeWidth=r,this.spawnFillColor&&(i&&f&&(this.spawnFillColor.h=this.#$e(i.h,this.spawnFillColor.h,f.h,3.6),this.spawnFillColor.s=this.#$e(i.s,this.spawnFillColor.s,f.s),this.spawnFillColor.l=this.#$e(i.l,this.spawnFillColor.l,f.l)),zi(t,this.spawnFillColor,this.spawnFillOpacity,this.spawnFillEnabled)),this.spawnStrokeColor&&(a&&f&&(this.spawnStrokeColor.h=this.#$e(a.h,this.spawnStrokeColor.h,f.h,3.6),this.spawnStrokeColor.s=this.#$e(a.s,this.spawnStrokeColor.s,f.s),this.spawnStrokeColor.l=this.#$e(a.l,this.spawnStrokeColor.l,f.l)),xi(t,this.spawnStrokeColor,this.spawnStrokeOpacity,this.spawnStrokeWidth));let l=this.position;if(this.#Ee){const e=this.#Ee.randomPosition();if(e){l=e.position;const i=g.replace;i.color&&e.color&&zi(t,e.color,i.opacity?e.opacity??1:1,!0)}else l=null}l&&this.#u.particles.addParticle(l,t)}}#Le=()=>{if(this.#ye)return;const t=void 0!==this.options.life.duration?q(this.options.life.duration):void 0;(this.#Oe>0||this.#ke)&&void 0!==t&&t>0&&(this.#ce=t*n)};#$e=(t,e,i,s=1)=>{const a=this.#u;if(!t.enable)return e;const o=U(t.offset),r=q(this.options.rate.delay),l=a.retina.reduceFactor?r*n/a.retina.reduceFactor:1/0;return(e+q(t.speed)*a.fpsLimit/l+o*s)%i}}});t.loadSquaresPreset=ii,t.tsParticles=Ce}),Object.assign(globalThis.window||globalThis,{loadSquaresPreset:(globalThis.__tsParticlesInternals.presets.squares||{}).loadSquaresPreset}),delete(globalThis.window||globalThis).tsparticlesInternalExports;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(g){g.__tsParticlesInternals=g.__tsParticlesInternals||{};g.__tsParticlesInternals.bundles=g.__tsParticlesInternals.bundles||{};g.__tsParticlesInternals.effects=g.__tsParticlesInternals.effects||{};g.__tsParticlesInternals.engine=g.__tsParticlesInternals.engine||{};g.__tsParticlesInternals.interactions=g.__tsParticlesInternals.interactions||{};g.__tsParticlesInternals.palettes=g.__tsParticlesInternals.palettes||{};g.__tsParticlesInternals.paths=g.__tsParticlesInternals.paths||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins.emittersShapes=g.__tsParticlesInternals.plugins.emittersShapes||{};g.__tsParticlesInternals.presets=g.__tsParticlesInternals.presets||{};g.__tsParticlesInternals.shapes=g.__tsParticlesInternals.shapes||{};g.__tsParticlesInternals.updaters=g.__tsParticlesInternals.updaters||{};g.__tsParticlesInternals.utils=g.__tsParticlesInternals.utils||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas.utils=g.__tsParticlesInternals.canvas.utils||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path.utils=g.__tsParticlesInternals.path.utils||{};var __tsProxyFactory=typeof Proxy!=="undefined"?function(obj){return new Proxy(obj,{get:function(target,key){if(!(key in target)){target[key]={};}return target[key];}});}:function(obj){return obj;};g.__tsParticlesInternals.bundles=__tsProxyFactory(g.__tsParticlesInternals.bundles);g.__tsParticlesInternals.effects=__tsProxyFactory(g.__tsParticlesInternals.effects);g.__tsParticlesInternals.interactions=__tsProxyFactory(g.__tsParticlesInternals.interactions);g.__tsParticlesInternals.palettes=__tsProxyFactory(g.__tsParticlesInternals.palettes);g.__tsParticlesInternals.paths=__tsProxyFactory(g.__tsParticlesInternals.paths);g.__tsParticlesInternals.plugins=__tsProxyFactory(g.__tsParticlesInternals.plugins);g.__tsParticlesInternals.plugins.emittersShapes=__tsProxyFactory(g.__tsParticlesInternals.plugins.emittersShapes);g.__tsParticlesInternals.presets=__tsProxyFactory(g.__tsParticlesInternals.presets);g.__tsParticlesInternals.shapes=__tsProxyFactory(g.__tsParticlesInternals.shapes);g.__tsParticlesInternals.updaters=__tsProxyFactory(g.__tsParticlesInternals.updaters);g.__tsParticlesInternals.utils=__tsProxyFactory(g.__tsParticlesInternals.utils);g.__tsParticlesInternals.canvas=__tsProxyFactory(g.__tsParticlesInternals.canvas);g.__tsParticlesInternals.path=__tsProxyFactory(g.__tsParticlesInternals.path);g.tsparticlesInternalExports=g.tsparticlesInternalExports||{};})(typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:this);
|
|
2
|
-
/* Preset v4.1.
|
|
2
|
+
/* Preset v4.1.2 */
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tsparticles/plugin-emitters/plugin'), require('@tsparticles/plugin-hex-color'), require('@tsparticles/updater-paint'), require('@tsparticles/updater-rotate'), require('@tsparticles/updater-size'), require('@tsparticles/shape-square'), require('@tsparticles/engine')) :
|
|
5
5
|
typeof define === 'function' && define.amd ? define(['exports', '@tsparticles/plugin-emitters/plugin', '@tsparticles/plugin-hex-color', '@tsparticles/updater-paint', '@tsparticles/updater-rotate', '@tsparticles/updater-size', '@tsparticles/shape-square', '@tsparticles/engine'], factory) :
|
package/types/bundle.d.ts
CHANGED