@tsparticles/preset-sea-anemone 3.0.0-beta.4 → 3.0.1
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/browser/bundle.js +2 -2
- package/browser/index.js +1 -1
- package/cjs/bundle.js +3 -3
- package/cjs/index.js +2 -2
- package/esm/bundle.js +2 -2
- package/esm/index.js +1 -1
- package/package.json +5 -5
- package/report.html +2 -2
- package/tsparticles.preset.seaAnemone.bundle.js +173 -143
- package/tsparticles.preset.seaAnemone.bundle.min.js +1 -1
- package/tsparticles.preset.seaAnemone.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.preset.seaAnemone.js +1 -1
- package/tsparticles.preset.seaAnemone.min.js.LICENSE.txt +1 -1
- package/types/bundle.d.ts +1 -1
- package/umd/bundle.js +4 -4
- package/umd/index.js +3 -3
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Demo / Generator : https://particles.js.org/
|
|
5
5
|
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
6
|
* How to use? : Check the GitHub README
|
|
7
|
-
* v3.0.
|
|
7
|
+
* v3.0.1
|
|
8
8
|
*/
|
|
9
9
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
10
10
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
@@ -61,7 +61,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
61
61
|
tsParticles: () => (/* reexport */ tsParticles)
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
64
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Core/Utils/Constants.js
|
|
65
65
|
const generatedAttribute = "generated";
|
|
66
66
|
const mouseDownEvent = "pointerdown";
|
|
67
67
|
const mouseUpEvent = "pointerup";
|
|
@@ -76,7 +76,7 @@ const resizeEvent = "resize";
|
|
|
76
76
|
const visibilityChangeEvent = "visibilitychange";
|
|
77
77
|
const errorPrefix = "tsParticles - Error";
|
|
78
78
|
|
|
79
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
79
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Core/Utils/Vector3d.js
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
class Vector3d {
|
|
@@ -182,7 +182,7 @@ class Vector3d {
|
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
185
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Core/Utils/Vector.js
|
|
186
186
|
|
|
187
187
|
class Vector_Vector extends Vector3d {
|
|
188
188
|
constructor(xOrCoords, y) {
|
|
@@ -199,7 +199,7 @@ class Vector_Vector extends Vector3d {
|
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
202
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Utils/NumberUtils.js
|
|
203
203
|
|
|
204
204
|
|
|
205
205
|
let _random = Math.random;
|
|
@@ -337,7 +337,7 @@ function parseAlpha(input) {
|
|
|
337
337
|
return input ? (input.endsWith("%") ? parseFloat(input) / 100 : parseFloat(input)) : 1;
|
|
338
338
|
}
|
|
339
339
|
|
|
340
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
340
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Utils/Utils.js
|
|
341
341
|
|
|
342
342
|
|
|
343
343
|
const _logger = {
|
|
@@ -683,7 +683,7 @@ function isArray(arg) {
|
|
|
683
683
|
return Array.isArray(arg);
|
|
684
684
|
}
|
|
685
685
|
|
|
686
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
686
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Utils/ColorUtils.js
|
|
687
687
|
|
|
688
688
|
|
|
689
689
|
const randomColorValue = "random", midColorValue = "mid", colorManagers = new Map();
|
|
@@ -943,7 +943,7 @@ function setColorAnimation(colorValue, colorAnimation, reduceFactor) {
|
|
|
943
943
|
}
|
|
944
944
|
}
|
|
945
945
|
|
|
946
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
946
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Utils/CanvasUtils.js
|
|
947
947
|
|
|
948
948
|
function drawLine(context, begin, end) {
|
|
949
949
|
context.beginPath();
|
|
@@ -996,7 +996,7 @@ function drawParticle(data) {
|
|
|
996
996
|
if (colorStyles.stroke) {
|
|
997
997
|
context.strokeStyle = colorStyles.stroke;
|
|
998
998
|
}
|
|
999
|
-
const drawData = { container, context, particle, radius, opacity, delta };
|
|
999
|
+
const drawData = { container, context, particle, radius, opacity, delta, transformData };
|
|
1000
1000
|
context.beginPath();
|
|
1001
1001
|
drawShape(drawData);
|
|
1002
1002
|
if (particle.shapeClose) {
|
|
@@ -1014,7 +1014,7 @@ function drawParticle(data) {
|
|
|
1014
1014
|
context.setTransform(1, 0, 0, 1, 0, 0);
|
|
1015
1015
|
}
|
|
1016
1016
|
function drawEffect(data) {
|
|
1017
|
-
const { container, context, particle, radius, opacity, delta } = data;
|
|
1017
|
+
const { container, context, particle, radius, opacity, delta, transformData } = data;
|
|
1018
1018
|
if (!particle.effect) {
|
|
1019
1019
|
return;
|
|
1020
1020
|
}
|
|
@@ -1022,10 +1022,18 @@ function drawEffect(data) {
|
|
|
1022
1022
|
if (!drawer) {
|
|
1023
1023
|
return;
|
|
1024
1024
|
}
|
|
1025
|
-
drawer.draw({
|
|
1025
|
+
drawer.draw({
|
|
1026
|
+
context,
|
|
1027
|
+
particle,
|
|
1028
|
+
radius,
|
|
1029
|
+
opacity,
|
|
1030
|
+
delta,
|
|
1031
|
+
pixelRatio: container.retina.pixelRatio,
|
|
1032
|
+
transformData: { ...transformData },
|
|
1033
|
+
});
|
|
1026
1034
|
}
|
|
1027
1035
|
function drawShape(data) {
|
|
1028
|
-
const { container, context, particle, radius, opacity, delta } = data;
|
|
1036
|
+
const { container, context, particle, radius, opacity, delta, transformData } = data;
|
|
1029
1037
|
if (!particle.shape) {
|
|
1030
1038
|
return;
|
|
1031
1039
|
}
|
|
@@ -1033,10 +1041,18 @@ function drawShape(data) {
|
|
|
1033
1041
|
if (!drawer) {
|
|
1034
1042
|
return;
|
|
1035
1043
|
}
|
|
1036
|
-
drawer.draw({
|
|
1044
|
+
drawer.draw({
|
|
1045
|
+
context,
|
|
1046
|
+
particle,
|
|
1047
|
+
radius,
|
|
1048
|
+
opacity,
|
|
1049
|
+
delta,
|
|
1050
|
+
pixelRatio: container.retina.pixelRatio,
|
|
1051
|
+
transformData: { ...transformData },
|
|
1052
|
+
});
|
|
1037
1053
|
}
|
|
1038
1054
|
function drawShapeAfterDraw(data) {
|
|
1039
|
-
const { container, context, particle, radius, opacity, delta } = data;
|
|
1055
|
+
const { container, context, particle, radius, opacity, delta, transformData } = data;
|
|
1040
1056
|
if (!particle.shape) {
|
|
1041
1057
|
return;
|
|
1042
1058
|
}
|
|
@@ -1044,7 +1060,15 @@ function drawShapeAfterDraw(data) {
|
|
|
1044
1060
|
if (!drawer || !drawer.afterDraw) {
|
|
1045
1061
|
return;
|
|
1046
1062
|
}
|
|
1047
|
-
drawer.afterDraw({
|
|
1063
|
+
drawer.afterDraw({
|
|
1064
|
+
context,
|
|
1065
|
+
particle,
|
|
1066
|
+
radius,
|
|
1067
|
+
opacity,
|
|
1068
|
+
delta,
|
|
1069
|
+
pixelRatio: container.retina.pixelRatio,
|
|
1070
|
+
transformData: { ...transformData },
|
|
1071
|
+
});
|
|
1048
1072
|
}
|
|
1049
1073
|
function drawPlugin(context, plugin, delta) {
|
|
1050
1074
|
if (!plugin.draw) {
|
|
@@ -1066,7 +1090,7 @@ function alterHsl(color, type, value) {
|
|
|
1066
1090
|
};
|
|
1067
1091
|
}
|
|
1068
1092
|
|
|
1069
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
1093
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Core/Canvas.js
|
|
1070
1094
|
|
|
1071
1095
|
|
|
1072
1096
|
|
|
@@ -1271,7 +1295,7 @@ class Canvas {
|
|
|
1271
1295
|
this._paintImage(trailFill.image, trailFill.opacity);
|
|
1272
1296
|
}
|
|
1273
1297
|
}
|
|
1274
|
-
else {
|
|
1298
|
+
else if (options.clear) {
|
|
1275
1299
|
this.draw((ctx) => {
|
|
1276
1300
|
clear(ctx, this.size);
|
|
1277
1301
|
});
|
|
@@ -1496,7 +1520,7 @@ class Canvas {
|
|
|
1496
1520
|
}
|
|
1497
1521
|
}
|
|
1498
1522
|
|
|
1499
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
1523
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Core/Utils/EventListeners.js
|
|
1500
1524
|
|
|
1501
1525
|
|
|
1502
1526
|
function manageListener(element, event, handler, add, options) {
|
|
@@ -1817,7 +1841,7 @@ class EventListeners {
|
|
|
1817
1841
|
}
|
|
1818
1842
|
}
|
|
1819
1843
|
|
|
1820
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
1844
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/OptionsColor.js
|
|
1821
1845
|
|
|
1822
1846
|
class OptionsColor {
|
|
1823
1847
|
constructor() {
|
|
@@ -1844,7 +1868,7 @@ class OptionsColor {
|
|
|
1844
1868
|
}
|
|
1845
1869
|
}
|
|
1846
1870
|
|
|
1847
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
1871
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Background/Background.js
|
|
1848
1872
|
|
|
1849
1873
|
class Background {
|
|
1850
1874
|
constructor() {
|
|
@@ -1881,7 +1905,7 @@ class Background {
|
|
|
1881
1905
|
}
|
|
1882
1906
|
}
|
|
1883
1907
|
|
|
1884
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
1908
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/BackgroundMask/BackgroundMaskCover.js
|
|
1885
1909
|
|
|
1886
1910
|
class BackgroundMaskCover {
|
|
1887
1911
|
constructor() {
|
|
@@ -1902,7 +1926,7 @@ class BackgroundMaskCover {
|
|
|
1902
1926
|
}
|
|
1903
1927
|
}
|
|
1904
1928
|
|
|
1905
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
1929
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/BackgroundMask/BackgroundMask.js
|
|
1906
1930
|
|
|
1907
1931
|
|
|
1908
1932
|
class BackgroundMask {
|
|
@@ -1928,7 +1952,7 @@ class BackgroundMask {
|
|
|
1928
1952
|
}
|
|
1929
1953
|
}
|
|
1930
1954
|
|
|
1931
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
1955
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/FullScreen/FullScreen.js
|
|
1932
1956
|
class FullScreen {
|
|
1933
1957
|
constructor() {
|
|
1934
1958
|
this.enable = true;
|
|
@@ -1947,7 +1971,7 @@ class FullScreen {
|
|
|
1947
1971
|
}
|
|
1948
1972
|
}
|
|
1949
1973
|
|
|
1950
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
1974
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Interactivity/Events/ClickEvent.js
|
|
1951
1975
|
class ClickEvent {
|
|
1952
1976
|
constructor() {
|
|
1953
1977
|
this.enable = false;
|
|
@@ -1966,7 +1990,7 @@ class ClickEvent {
|
|
|
1966
1990
|
}
|
|
1967
1991
|
}
|
|
1968
1992
|
|
|
1969
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
1993
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Interactivity/Events/DivEvent.js
|
|
1970
1994
|
class DivEvent {
|
|
1971
1995
|
constructor() {
|
|
1972
1996
|
this.selectors = [];
|
|
@@ -1993,7 +2017,7 @@ class DivEvent {
|
|
|
1993
2017
|
}
|
|
1994
2018
|
}
|
|
1995
2019
|
|
|
1996
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2020
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Interactivity/Events/Parallax.js
|
|
1997
2021
|
class Parallax {
|
|
1998
2022
|
constructor() {
|
|
1999
2023
|
this.enable = false;
|
|
@@ -2016,7 +2040,7 @@ class Parallax {
|
|
|
2016
2040
|
}
|
|
2017
2041
|
}
|
|
2018
2042
|
|
|
2019
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2043
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Interactivity/Events/HoverEvent.js
|
|
2020
2044
|
|
|
2021
2045
|
class HoverEvent {
|
|
2022
2046
|
constructor() {
|
|
@@ -2038,7 +2062,7 @@ class HoverEvent {
|
|
|
2038
2062
|
}
|
|
2039
2063
|
}
|
|
2040
2064
|
|
|
2041
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2065
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Interactivity/Events/ResizeEvent.js
|
|
2042
2066
|
class ResizeEvent {
|
|
2043
2067
|
constructor() {
|
|
2044
2068
|
this.delay = 0.5;
|
|
@@ -2057,7 +2081,7 @@ class ResizeEvent {
|
|
|
2057
2081
|
}
|
|
2058
2082
|
}
|
|
2059
2083
|
|
|
2060
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2084
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Interactivity/Events/Events.js
|
|
2061
2085
|
|
|
2062
2086
|
|
|
2063
2087
|
|
|
@@ -2084,16 +2108,11 @@ class Events {
|
|
|
2084
2108
|
});
|
|
2085
2109
|
}
|
|
2086
2110
|
this.onHover.load(data.onHover);
|
|
2087
|
-
|
|
2088
|
-
this.resize.enable = data.resize;
|
|
2089
|
-
}
|
|
2090
|
-
else {
|
|
2091
|
-
this.resize.load(data.resize);
|
|
2092
|
-
}
|
|
2111
|
+
this.resize.load(data.resize);
|
|
2093
2112
|
}
|
|
2094
2113
|
}
|
|
2095
2114
|
|
|
2096
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2115
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Interactivity/Modes/Modes.js
|
|
2097
2116
|
class Modes {
|
|
2098
2117
|
constructor(engine, container) {
|
|
2099
2118
|
this._engine = engine;
|
|
@@ -2119,7 +2138,7 @@ class Modes {
|
|
|
2119
2138
|
}
|
|
2120
2139
|
}
|
|
2121
2140
|
|
|
2122
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2141
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Interactivity/Interactivity.js
|
|
2123
2142
|
|
|
2124
2143
|
|
|
2125
2144
|
class Interactivity {
|
|
@@ -2141,7 +2160,7 @@ class Interactivity {
|
|
|
2141
2160
|
}
|
|
2142
2161
|
}
|
|
2143
2162
|
|
|
2144
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2163
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/ManualParticle.js
|
|
2145
2164
|
|
|
2146
2165
|
class ManualParticle {
|
|
2147
2166
|
load(data) {
|
|
@@ -2161,7 +2180,7 @@ class ManualParticle {
|
|
|
2161
2180
|
}
|
|
2162
2181
|
}
|
|
2163
2182
|
|
|
2164
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2183
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Responsive.js
|
|
2165
2184
|
|
|
2166
2185
|
class Responsive {
|
|
2167
2186
|
constructor() {
|
|
@@ -2190,7 +2209,7 @@ class Responsive {
|
|
|
2190
2209
|
}
|
|
2191
2210
|
}
|
|
2192
2211
|
|
|
2193
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2212
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Theme/ThemeDefault.js
|
|
2194
2213
|
class ThemeDefault {
|
|
2195
2214
|
constructor() {
|
|
2196
2215
|
this.auto = false;
|
|
@@ -2213,7 +2232,7 @@ class ThemeDefault {
|
|
|
2213
2232
|
}
|
|
2214
2233
|
}
|
|
2215
2234
|
|
|
2216
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2235
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Theme/Theme.js
|
|
2217
2236
|
|
|
2218
2237
|
|
|
2219
2238
|
class Theme {
|
|
@@ -2235,7 +2254,7 @@ class Theme {
|
|
|
2235
2254
|
}
|
|
2236
2255
|
}
|
|
2237
2256
|
|
|
2238
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2257
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/AnimationOptions.js
|
|
2239
2258
|
|
|
2240
2259
|
class AnimationOptions {
|
|
2241
2260
|
constructor() {
|
|
@@ -2290,7 +2309,7 @@ class RangedAnimationOptions extends AnimationOptions {
|
|
|
2290
2309
|
}
|
|
2291
2310
|
}
|
|
2292
2311
|
|
|
2293
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2312
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/ColorAnimation.js
|
|
2294
2313
|
|
|
2295
2314
|
|
|
2296
2315
|
class ColorAnimation extends AnimationOptions {
|
|
@@ -2310,7 +2329,7 @@ class ColorAnimation extends AnimationOptions {
|
|
|
2310
2329
|
}
|
|
2311
2330
|
}
|
|
2312
2331
|
|
|
2313
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2332
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/HslAnimation.js
|
|
2314
2333
|
|
|
2315
2334
|
class HslAnimation {
|
|
2316
2335
|
constructor() {
|
|
@@ -2328,7 +2347,7 @@ class HslAnimation {
|
|
|
2328
2347
|
}
|
|
2329
2348
|
}
|
|
2330
2349
|
|
|
2331
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2350
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/AnimatableColor.js
|
|
2332
2351
|
|
|
2333
2352
|
|
|
2334
2353
|
|
|
@@ -2367,7 +2386,7 @@ class AnimatableColor extends OptionsColor {
|
|
|
2367
2386
|
}
|
|
2368
2387
|
}
|
|
2369
2388
|
|
|
2370
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2389
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Collisions/CollisionsAbsorb.js
|
|
2371
2390
|
class CollisionsAbsorb {
|
|
2372
2391
|
constructor() {
|
|
2373
2392
|
this.speed = 2;
|
|
@@ -2382,7 +2401,7 @@ class CollisionsAbsorb {
|
|
|
2382
2401
|
}
|
|
2383
2402
|
}
|
|
2384
2403
|
|
|
2385
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2404
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Collisions/CollisionsOverlap.js
|
|
2386
2405
|
class CollisionsOverlap {
|
|
2387
2406
|
constructor() {
|
|
2388
2407
|
this.enable = true;
|
|
@@ -2401,7 +2420,7 @@ class CollisionsOverlap {
|
|
|
2401
2420
|
}
|
|
2402
2421
|
}
|
|
2403
2422
|
|
|
2404
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2423
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/ValueWithRandom.js
|
|
2405
2424
|
|
|
2406
2425
|
|
|
2407
2426
|
class ValueWithRandom {
|
|
@@ -2443,7 +2462,7 @@ class RangedAnimationValueWithRandom extends AnimationValueWithRandom {
|
|
|
2443
2462
|
}
|
|
2444
2463
|
}
|
|
2445
2464
|
|
|
2446
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2465
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js
|
|
2447
2466
|
|
|
2448
2467
|
class ParticlesBounceFactor extends ValueWithRandom {
|
|
2449
2468
|
constructor() {
|
|
@@ -2452,7 +2471,7 @@ class ParticlesBounceFactor extends ValueWithRandom {
|
|
|
2452
2471
|
}
|
|
2453
2472
|
}
|
|
2454
2473
|
|
|
2455
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2474
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Bounce/ParticlesBounce.js
|
|
2456
2475
|
|
|
2457
2476
|
class ParticlesBounce {
|
|
2458
2477
|
constructor() {
|
|
@@ -2468,7 +2487,7 @@ class ParticlesBounce {
|
|
|
2468
2487
|
}
|
|
2469
2488
|
}
|
|
2470
2489
|
|
|
2471
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2490
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Collisions/Collisions.js
|
|
2472
2491
|
|
|
2473
2492
|
|
|
2474
2493
|
|
|
@@ -2501,7 +2520,7 @@ class Collisions {
|
|
|
2501
2520
|
}
|
|
2502
2521
|
}
|
|
2503
2522
|
|
|
2504
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2523
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Effect/Effect.js
|
|
2505
2524
|
|
|
2506
2525
|
class Effect {
|
|
2507
2526
|
constructor() {
|
|
@@ -2535,7 +2554,7 @@ class Effect {
|
|
|
2535
2554
|
}
|
|
2536
2555
|
}
|
|
2537
2556
|
|
|
2538
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2557
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/MoveAngle.js
|
|
2539
2558
|
|
|
2540
2559
|
class MoveAngle {
|
|
2541
2560
|
constructor() {
|
|
@@ -2555,7 +2574,7 @@ class MoveAngle {
|
|
|
2555
2574
|
}
|
|
2556
2575
|
}
|
|
2557
2576
|
|
|
2558
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2577
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/MoveAttract.js
|
|
2559
2578
|
|
|
2560
2579
|
class MoveAttract {
|
|
2561
2580
|
constructor() {
|
|
@@ -2589,7 +2608,7 @@ class MoveAttract {
|
|
|
2589
2608
|
}
|
|
2590
2609
|
}
|
|
2591
2610
|
|
|
2592
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2611
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/MoveCenter.js
|
|
2593
2612
|
class MoveCenter {
|
|
2594
2613
|
constructor() {
|
|
2595
2614
|
this.x = 50;
|
|
@@ -2616,7 +2635,7 @@ class MoveCenter {
|
|
|
2616
2635
|
}
|
|
2617
2636
|
}
|
|
2618
2637
|
|
|
2619
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2638
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/MoveGravity.js
|
|
2620
2639
|
|
|
2621
2640
|
class MoveGravity {
|
|
2622
2641
|
constructor() {
|
|
@@ -2644,7 +2663,7 @@ class MoveGravity {
|
|
|
2644
2663
|
}
|
|
2645
2664
|
}
|
|
2646
2665
|
|
|
2647
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2666
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/Path/MovePath.js
|
|
2648
2667
|
|
|
2649
2668
|
|
|
2650
2669
|
class MovePath {
|
|
@@ -2672,7 +2691,7 @@ class MovePath {
|
|
|
2672
2691
|
}
|
|
2673
2692
|
}
|
|
2674
2693
|
|
|
2675
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2694
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/MoveTrailFill.js
|
|
2676
2695
|
|
|
2677
2696
|
class MoveTrailFill {
|
|
2678
2697
|
load(data) {
|
|
@@ -2688,7 +2707,7 @@ class MoveTrailFill {
|
|
|
2688
2707
|
}
|
|
2689
2708
|
}
|
|
2690
2709
|
|
|
2691
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2710
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/MoveTrail.js
|
|
2692
2711
|
|
|
2693
2712
|
class MoveTrail {
|
|
2694
2713
|
constructor() {
|
|
@@ -2712,7 +2731,7 @@ class MoveTrail {
|
|
|
2712
2731
|
}
|
|
2713
2732
|
}
|
|
2714
2733
|
|
|
2715
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2734
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/OutModes.js
|
|
2716
2735
|
class OutModes {
|
|
2717
2736
|
constructor() {
|
|
2718
2737
|
this.default = "out";
|
|
@@ -2731,7 +2750,7 @@ class OutModes {
|
|
|
2731
2750
|
}
|
|
2732
2751
|
}
|
|
2733
2752
|
|
|
2734
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2753
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/Spin.js
|
|
2735
2754
|
|
|
2736
2755
|
|
|
2737
2756
|
class Spin {
|
|
@@ -2755,7 +2774,7 @@ class Spin {
|
|
|
2755
2774
|
}
|
|
2756
2775
|
}
|
|
2757
2776
|
|
|
2758
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2777
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Move/Move.js
|
|
2759
2778
|
|
|
2760
2779
|
|
|
2761
2780
|
|
|
@@ -2851,7 +2870,7 @@ class Move {
|
|
|
2851
2870
|
}
|
|
2852
2871
|
}
|
|
2853
2872
|
|
|
2854
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2873
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Opacity/OpacityAnimation.js
|
|
2855
2874
|
|
|
2856
2875
|
class OpacityAnimation extends RangedAnimationOptions {
|
|
2857
2876
|
constructor() {
|
|
@@ -2870,7 +2889,7 @@ class OpacityAnimation extends RangedAnimationOptions {
|
|
|
2870
2889
|
}
|
|
2871
2890
|
}
|
|
2872
2891
|
|
|
2873
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2892
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Opacity/Opacity.js
|
|
2874
2893
|
|
|
2875
2894
|
|
|
2876
2895
|
class Opacity extends RangedAnimationValueWithRandom {
|
|
@@ -2891,7 +2910,7 @@ class Opacity extends RangedAnimationValueWithRandom {
|
|
|
2891
2910
|
}
|
|
2892
2911
|
}
|
|
2893
2912
|
|
|
2894
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2913
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Number/ParticlesDensity.js
|
|
2895
2914
|
class ParticlesDensity {
|
|
2896
2915
|
constructor() {
|
|
2897
2916
|
this.enable = false;
|
|
@@ -2916,7 +2935,7 @@ class ParticlesDensity {
|
|
|
2916
2935
|
}
|
|
2917
2936
|
}
|
|
2918
2937
|
|
|
2919
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2938
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Number/ParticlesNumberLimit.js
|
|
2920
2939
|
class ParticlesNumberLimit {
|
|
2921
2940
|
constructor() {
|
|
2922
2941
|
this.mode = "delete";
|
|
@@ -2935,7 +2954,7 @@ class ParticlesNumberLimit {
|
|
|
2935
2954
|
}
|
|
2936
2955
|
}
|
|
2937
2956
|
|
|
2938
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2957
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Number/ParticlesNumber.js
|
|
2939
2958
|
|
|
2940
2959
|
|
|
2941
2960
|
class ParticlesNumber {
|
|
@@ -2956,7 +2975,7 @@ class ParticlesNumber {
|
|
|
2956
2975
|
}
|
|
2957
2976
|
}
|
|
2958
2977
|
|
|
2959
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
2978
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Shadow.js
|
|
2960
2979
|
|
|
2961
2980
|
class Shadow {
|
|
2962
2981
|
constructor() {
|
|
@@ -2992,7 +3011,7 @@ class Shadow {
|
|
|
2992
3011
|
}
|
|
2993
3012
|
}
|
|
2994
3013
|
|
|
2995
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
3014
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Shape/Shape.js
|
|
2996
3015
|
|
|
2997
3016
|
class Shape {
|
|
2998
3017
|
constructor() {
|
|
@@ -3026,7 +3045,7 @@ class Shape {
|
|
|
3026
3045
|
}
|
|
3027
3046
|
}
|
|
3028
3047
|
|
|
3029
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
3048
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Size/SizeAnimation.js
|
|
3030
3049
|
|
|
3031
3050
|
class SizeAnimation extends RangedAnimationOptions {
|
|
3032
3051
|
constructor() {
|
|
@@ -3045,7 +3064,7 @@ class SizeAnimation extends RangedAnimationOptions {
|
|
|
3045
3064
|
}
|
|
3046
3065
|
}
|
|
3047
3066
|
|
|
3048
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
3067
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Size/Size.js
|
|
3049
3068
|
|
|
3050
3069
|
|
|
3051
3070
|
class Size extends RangedAnimationValueWithRandom {
|
|
@@ -3066,7 +3085,7 @@ class Size extends RangedAnimationValueWithRandom {
|
|
|
3066
3085
|
}
|
|
3067
3086
|
}
|
|
3068
3087
|
|
|
3069
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
3088
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/Stroke.js
|
|
3070
3089
|
|
|
3071
3090
|
|
|
3072
3091
|
class Stroke {
|
|
@@ -3089,7 +3108,7 @@ class Stroke {
|
|
|
3089
3108
|
}
|
|
3090
3109
|
}
|
|
3091
3110
|
|
|
3092
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
3111
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/ZIndex/ZIndex.js
|
|
3093
3112
|
|
|
3094
3113
|
class ZIndex extends ValueWithRandom {
|
|
3095
3114
|
constructor() {
|
|
@@ -3115,7 +3134,7 @@ class ZIndex extends ValueWithRandom {
|
|
|
3115
3134
|
}
|
|
3116
3135
|
}
|
|
3117
3136
|
|
|
3118
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
3137
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Particles/ParticlesOptions.js
|
|
3119
3138
|
|
|
3120
3139
|
|
|
3121
3140
|
|
|
@@ -3153,23 +3172,26 @@ class ParticlesOptions {
|
|
|
3153
3172
|
if (!data) {
|
|
3154
3173
|
return;
|
|
3155
3174
|
}
|
|
3156
|
-
this.bounce.load(data.bounce);
|
|
3157
|
-
this.color.load(AnimatableColor.create(this.color, data.color));
|
|
3158
|
-
this.effect.load(data.effect);
|
|
3159
3175
|
if (data.groups !== undefined) {
|
|
3160
|
-
for (const group
|
|
3176
|
+
for (const group of Object.keys(data.groups)) {
|
|
3177
|
+
if (!Object.hasOwn(data.groups, group)) {
|
|
3178
|
+
continue;
|
|
3179
|
+
}
|
|
3161
3180
|
const item = data.groups[group];
|
|
3162
3181
|
if (item !== undefined) {
|
|
3163
3182
|
this.groups[group] = deepExtend(this.groups[group] ?? {}, item);
|
|
3164
3183
|
}
|
|
3165
3184
|
}
|
|
3166
3185
|
}
|
|
3167
|
-
this.move.load(data.move);
|
|
3168
|
-
this.number.load(data.number);
|
|
3169
|
-
this.opacity.load(data.opacity);
|
|
3170
3186
|
if (data.reduceDuplicates !== undefined) {
|
|
3171
3187
|
this.reduceDuplicates = data.reduceDuplicates;
|
|
3172
3188
|
}
|
|
3189
|
+
this.bounce.load(data.bounce);
|
|
3190
|
+
this.color.load(AnimatableColor.create(this.color, data.color));
|
|
3191
|
+
this.effect.load(data.effect);
|
|
3192
|
+
this.move.load(data.move);
|
|
3193
|
+
this.number.load(data.number);
|
|
3194
|
+
this.opacity.load(data.opacity);
|
|
3173
3195
|
this.shape.load(data.shape);
|
|
3174
3196
|
this.size.load(data.size);
|
|
3175
3197
|
this.shadow.load(data.shadow);
|
|
@@ -3207,7 +3229,7 @@ class ParticlesOptions {
|
|
|
3207
3229
|
}
|
|
3208
3230
|
}
|
|
3209
3231
|
|
|
3210
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
3232
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Utils/OptionsUtils.js
|
|
3211
3233
|
|
|
3212
3234
|
function loadOptions(options, ...sourceOptionsArr) {
|
|
3213
3235
|
for (const sourceOptions of sourceOptionsArr) {
|
|
@@ -3220,7 +3242,7 @@ function loadParticlesOptions(engine, container, ...sourceOptionsArr) {
|
|
|
3220
3242
|
return options;
|
|
3221
3243
|
}
|
|
3222
3244
|
|
|
3223
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
3245
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Options/Classes/Options.js
|
|
3224
3246
|
|
|
3225
3247
|
|
|
3226
3248
|
|
|
@@ -3245,6 +3267,7 @@ class Options {
|
|
|
3245
3267
|
this.autoPlay = true;
|
|
3246
3268
|
this.background = new Background();
|
|
3247
3269
|
this.backgroundMask = new BackgroundMask();
|
|
3270
|
+
this.clear = true;
|
|
3248
3271
|
this.defaultThemes = {};
|
|
3249
3272
|
this.delay = 0;
|
|
3250
3273
|
this.fullScreen = new FullScreen();
|
|
@@ -3272,6 +3295,12 @@ class Options {
|
|
|
3272
3295
|
if (data.autoPlay !== undefined) {
|
|
3273
3296
|
this.autoPlay = data.autoPlay;
|
|
3274
3297
|
}
|
|
3298
|
+
if (data.clear !== undefined) {
|
|
3299
|
+
this.clear = data.clear;
|
|
3300
|
+
}
|
|
3301
|
+
if (data.name !== undefined) {
|
|
3302
|
+
this.name = data.name;
|
|
3303
|
+
}
|
|
3275
3304
|
if (data.delay !== undefined) {
|
|
3276
3305
|
this.delay = setRangeValue(data.delay);
|
|
3277
3306
|
}
|
|
@@ -3372,7 +3401,7 @@ class Options {
|
|
|
3372
3401
|
}
|
|
3373
3402
|
}
|
|
3374
3403
|
|
|
3375
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
3404
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Core/Utils/InteractionManager.js
|
|
3376
3405
|
class InteractionManager {
|
|
3377
3406
|
constructor(engine, container) {
|
|
3378
3407
|
this.container = container;
|
|
@@ -3424,7 +3453,7 @@ class InteractionManager {
|
|
|
3424
3453
|
}
|
|
3425
3454
|
}
|
|
3426
3455
|
|
|
3427
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
3456
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Core/Particle.js
|
|
3428
3457
|
|
|
3429
3458
|
|
|
3430
3459
|
|
|
@@ -3586,7 +3615,8 @@ class Particle {
|
|
|
3586
3615
|
this.destroyed = true;
|
|
3587
3616
|
this.bubble.inRange = false;
|
|
3588
3617
|
this.slow.inRange = false;
|
|
3589
|
-
const container = this.container, pathGenerator = this.pathGenerator;
|
|
3618
|
+
const container = this.container, pathGenerator = this.pathGenerator, shapeDrawer = container.shapeDrawers.get(this.shape);
|
|
3619
|
+
shapeDrawer && shapeDrawer.particleDestroy && shapeDrawer.particleDestroy(this);
|
|
3590
3620
|
for (const [, plugin] of container.plugins) {
|
|
3591
3621
|
plugin.particleDestroyed && plugin.particleDestroyed(this, override);
|
|
3592
3622
|
}
|
|
@@ -3764,7 +3794,7 @@ class Particle {
|
|
|
3764
3794
|
}
|
|
3765
3795
|
}
|
|
3766
3796
|
|
|
3767
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
3797
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Core/Utils/Point.js
|
|
3768
3798
|
class Point {
|
|
3769
3799
|
constructor(position, particle) {
|
|
3770
3800
|
this.position = position;
|
|
@@ -3772,7 +3802,7 @@ class Point {
|
|
|
3772
3802
|
}
|
|
3773
3803
|
}
|
|
3774
3804
|
|
|
3775
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
3805
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Core/Utils/Range.js
|
|
3776
3806
|
class Range {
|
|
3777
3807
|
constructor(x, y) {
|
|
3778
3808
|
this.position = {
|
|
@@ -3782,7 +3812,7 @@ class Range {
|
|
|
3782
3812
|
}
|
|
3783
3813
|
}
|
|
3784
3814
|
|
|
3785
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
3815
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Core/Utils/Rectangle.js
|
|
3786
3816
|
|
|
3787
3817
|
|
|
3788
3818
|
class Rectangle extends Range {
|
|
@@ -3806,7 +3836,7 @@ class Rectangle extends Range {
|
|
|
3806
3836
|
}
|
|
3807
3837
|
}
|
|
3808
3838
|
|
|
3809
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
3839
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Core/Utils/Circle.js
|
|
3810
3840
|
|
|
3811
3841
|
|
|
3812
3842
|
|
|
@@ -3835,7 +3865,7 @@ class Circle extends Range {
|
|
|
3835
3865
|
}
|
|
3836
3866
|
}
|
|
3837
3867
|
|
|
3838
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
3868
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Core/Utils/QuadTree.js
|
|
3839
3869
|
|
|
3840
3870
|
|
|
3841
3871
|
|
|
@@ -3895,7 +3925,7 @@ class QuadTree {
|
|
|
3895
3925
|
}
|
|
3896
3926
|
}
|
|
3897
3927
|
|
|
3898
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
3928
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Core/Particles.js
|
|
3899
3929
|
|
|
3900
3930
|
|
|
3901
3931
|
|
|
@@ -4199,7 +4229,7 @@ class Particles {
|
|
|
4199
4229
|
}
|
|
4200
4230
|
}
|
|
4201
4231
|
|
|
4202
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
4232
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Core/Retina.js
|
|
4203
4233
|
|
|
4204
4234
|
|
|
4205
4235
|
class Retina {
|
|
@@ -4234,7 +4264,7 @@ class Retina {
|
|
|
4234
4264
|
}
|
|
4235
4265
|
}
|
|
4236
4266
|
|
|
4237
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
4267
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Core/Container.js
|
|
4238
4268
|
|
|
4239
4269
|
|
|
4240
4270
|
|
|
@@ -4671,7 +4701,7 @@ class Container {
|
|
|
4671
4701
|
}
|
|
4672
4702
|
}
|
|
4673
4703
|
|
|
4674
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
4704
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Utils/EventDispatcher.js
|
|
4675
4705
|
class EventDispatcher {
|
|
4676
4706
|
constructor() {
|
|
4677
4707
|
this._listeners = new Map();
|
|
@@ -4718,7 +4748,7 @@ class EventDispatcher {
|
|
|
4718
4748
|
}
|
|
4719
4749
|
}
|
|
4720
4750
|
|
|
4721
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
4751
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Core/Engine.js
|
|
4722
4752
|
|
|
4723
4753
|
|
|
4724
4754
|
|
|
@@ -4772,7 +4802,7 @@ class Engine {
|
|
|
4772
4802
|
return res;
|
|
4773
4803
|
}
|
|
4774
4804
|
get version() {
|
|
4775
|
-
return "3.0.0
|
|
4805
|
+
return "3.0.0";
|
|
4776
4806
|
}
|
|
4777
4807
|
addConfig(config) {
|
|
4778
4808
|
const name = config.name ?? "default";
|
|
@@ -4964,7 +4994,7 @@ class Engine {
|
|
|
4964
4994
|
}
|
|
4965
4995
|
}
|
|
4966
4996
|
|
|
4967
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
4997
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Utils/HslColorManager.js
|
|
4968
4998
|
|
|
4969
4999
|
|
|
4970
5000
|
class HslColorManager {
|
|
@@ -5004,7 +5034,7 @@ class HslColorManager {
|
|
|
5004
5034
|
}
|
|
5005
5035
|
}
|
|
5006
5036
|
|
|
5007
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
5037
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/Utils/RgbColorManager.js
|
|
5008
5038
|
|
|
5009
5039
|
class RgbColorManager {
|
|
5010
5040
|
constructor() {
|
|
@@ -5043,7 +5073,7 @@ class RgbColorManager {
|
|
|
5043
5073
|
}
|
|
5044
5074
|
}
|
|
5045
5075
|
|
|
5046
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
5076
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/init.js
|
|
5047
5077
|
|
|
5048
5078
|
|
|
5049
5079
|
|
|
@@ -5057,7 +5087,7 @@ function init() {
|
|
|
5057
5087
|
return engine;
|
|
5058
5088
|
}
|
|
5059
5089
|
|
|
5060
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
5090
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/exports.js
|
|
5061
5091
|
|
|
5062
5092
|
|
|
5063
5093
|
|
|
@@ -5147,7 +5177,7 @@ function init() {
|
|
|
5147
5177
|
|
|
5148
5178
|
|
|
5149
5179
|
|
|
5150
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0
|
|
5180
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+engine@3.0.0/node_modules/@tsparticles/engine/browser/index.js
|
|
5151
5181
|
|
|
5152
5182
|
|
|
5153
5183
|
const tsParticles = init();
|
|
@@ -5158,7 +5188,7 @@ if (!isSsr()) {
|
|
|
5158
5188
|
|
|
5159
5189
|
|
|
5160
5190
|
|
|
5161
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+path-curves@3.0.0
|
|
5191
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+path-curves@3.0.0/node_modules/@tsparticles/path-curves/browser/Curves.js
|
|
5162
5192
|
|
|
5163
5193
|
function CurvesPathGen(rndFunc, period, nbHarmonics, attenHarmonics, lowValue = 0, highValue = 1) {
|
|
5164
5194
|
const arP0 = [], arP1 = [], amplitudes = [], increments = [], phases = [], randomFunc = rndFunc ?? getRandom;
|
|
@@ -5190,7 +5220,7 @@ function CurvesPathGen(rndFunc, period, nbHarmonics, attenHarmonics, lowValue =
|
|
|
5190
5220
|
};
|
|
5191
5221
|
}
|
|
5192
5222
|
|
|
5193
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+path-curves@3.0.0
|
|
5223
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+path-curves@3.0.0/node_modules/@tsparticles/path-curves/browser/CurvesPathGenerator.js
|
|
5194
5224
|
|
|
5195
5225
|
|
|
5196
5226
|
class CurvesPathGenerator {
|
|
@@ -5245,7 +5275,7 @@ class CurvesPathGenerator {
|
|
|
5245
5275
|
}
|
|
5246
5276
|
}
|
|
5247
5277
|
|
|
5248
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+path-curves@3.0.0
|
|
5278
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+path-curves@3.0.0/node_modules/@tsparticles/path-curves/browser/index.js
|
|
5249
5279
|
|
|
5250
5280
|
const curvesPathName = "curvesPathGenerator";
|
|
5251
5281
|
async function loadCurvesPath(engine, refresh = true) {
|
|
@@ -5356,7 +5386,7 @@ const options = {
|
|
|
5356
5386
|
}
|
|
5357
5387
|
}
|
|
5358
5388
|
};
|
|
5359
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+move-base@3.0.0
|
|
5389
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+move-base@3.0.0/node_modules/@tsparticles/move-base/browser/Utils.js
|
|
5360
5390
|
|
|
5361
5391
|
function applyDistance(particle) {
|
|
5362
5392
|
const initialPosition = particle.initialPosition, { dx, dy } = NumberUtils_getDistances(initialPosition, particle.position), dxFixed = Math.abs(dx), dyFixed = Math.abs(dy), { maxDistance } = particle.retina, hDistance = maxDistance.horizontal, vDistance = maxDistance.vertical;
|
|
@@ -5461,7 +5491,7 @@ function getProximitySpeedFactor(particle) {
|
|
|
5461
5491
|
return particle.slow.inRange ? particle.slow.factor : 1;
|
|
5462
5492
|
}
|
|
5463
5493
|
|
|
5464
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+move-base@3.0.0
|
|
5494
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+move-base@3.0.0/node_modules/@tsparticles/move-base/browser/BaseMover.js
|
|
5465
5495
|
|
|
5466
5496
|
|
|
5467
5497
|
const diffFactor = 2;
|
|
@@ -5515,13 +5545,13 @@ class BaseMover {
|
|
|
5515
5545
|
}
|
|
5516
5546
|
}
|
|
5517
5547
|
|
|
5518
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+move-base@3.0.0
|
|
5548
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+move-base@3.0.0/node_modules/@tsparticles/move-base/browser/index.js
|
|
5519
5549
|
|
|
5520
5550
|
async function loadBaseMover(engine, refresh = true) {
|
|
5521
5551
|
await engine.addMover("base", () => new BaseMover(), refresh);
|
|
5522
5552
|
}
|
|
5523
5553
|
|
|
5524
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-circle@3.0.0
|
|
5554
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-circle@3.0.0/node_modules/@tsparticles/shape-circle/browser/CircleDrawer.js
|
|
5525
5555
|
|
|
5526
5556
|
class CircleDrawer {
|
|
5527
5557
|
draw(data) {
|
|
@@ -5549,13 +5579,13 @@ class CircleDrawer {
|
|
|
5549
5579
|
}
|
|
5550
5580
|
}
|
|
5551
5581
|
|
|
5552
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-circle@3.0.0
|
|
5582
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-circle@3.0.0/node_modules/@tsparticles/shape-circle/browser/index.js
|
|
5553
5583
|
|
|
5554
5584
|
async function loadCircleShape(engine, refresh = true) {
|
|
5555
5585
|
await engine.addShape("circle", new CircleDrawer(), refresh);
|
|
5556
5586
|
}
|
|
5557
5587
|
|
|
5558
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.0
|
|
5588
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.0/node_modules/@tsparticles/updater-color/browser/Utils.js
|
|
5559
5589
|
|
|
5560
5590
|
function updateColorValue(delta, colorValue, valueAnimation, max, decrease) {
|
|
5561
5591
|
if (!colorValue ||
|
|
@@ -5621,7 +5651,7 @@ function updateColor(particle, delta) {
|
|
|
5621
5651
|
}
|
|
5622
5652
|
}
|
|
5623
5653
|
|
|
5624
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.0
|
|
5654
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.0/node_modules/@tsparticles/updater-color/browser/ColorUpdater.js
|
|
5625
5655
|
|
|
5626
5656
|
|
|
5627
5657
|
class ColorUpdater {
|
|
@@ -5647,13 +5677,13 @@ class ColorUpdater {
|
|
|
5647
5677
|
}
|
|
5648
5678
|
}
|
|
5649
5679
|
|
|
5650
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.0
|
|
5680
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.0/node_modules/@tsparticles/updater-color/browser/index.js
|
|
5651
5681
|
|
|
5652
5682
|
async function loadColorUpdater(engine, refresh = true) {
|
|
5653
5683
|
await engine.addParticleUpdater("color", (container) => new ColorUpdater(container), refresh);
|
|
5654
5684
|
}
|
|
5655
5685
|
|
|
5656
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.0
|
|
5686
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.0/node_modules/@tsparticles/updater-opacity/browser/Utils.js
|
|
5657
5687
|
|
|
5658
5688
|
function checkDestroy(particle, value, minValue, maxValue) {
|
|
5659
5689
|
switch (particle.options.opacity.animation.destroy) {
|
|
@@ -5719,7 +5749,7 @@ function updateOpacity(particle, delta) {
|
|
|
5719
5749
|
}
|
|
5720
5750
|
}
|
|
5721
5751
|
|
|
5722
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.0
|
|
5752
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.0/node_modules/@tsparticles/updater-opacity/browser/OpacityUpdater.js
|
|
5723
5753
|
|
|
5724
5754
|
|
|
5725
5755
|
class OpacityUpdater {
|
|
@@ -5761,13 +5791,13 @@ class OpacityUpdater {
|
|
|
5761
5791
|
}
|
|
5762
5792
|
}
|
|
5763
5793
|
|
|
5764
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.0
|
|
5794
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.0/node_modules/@tsparticles/updater-opacity/browser/index.js
|
|
5765
5795
|
|
|
5766
5796
|
async function loadOpacityUpdater(engine, refresh = true) {
|
|
5767
5797
|
await engine.addParticleUpdater("opacity", (container) => new OpacityUpdater(container), refresh);
|
|
5768
5798
|
}
|
|
5769
5799
|
|
|
5770
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0
|
|
5800
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0/node_modules/@tsparticles/updater-out-modes/browser/Utils.js
|
|
5771
5801
|
|
|
5772
5802
|
function bounceHorizontal(data) {
|
|
5773
5803
|
if ((data.outMode !== "bounce" &&
|
|
@@ -5842,7 +5872,7 @@ function bounceVertical(data) {
|
|
|
5842
5872
|
}
|
|
5843
5873
|
}
|
|
5844
5874
|
|
|
5845
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0
|
|
5875
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0/node_modules/@tsparticles/updater-out-modes/browser/BounceOutMode.js
|
|
5846
5876
|
|
|
5847
5877
|
|
|
5848
5878
|
class BounceOutMode {
|
|
@@ -5880,7 +5910,7 @@ class BounceOutMode {
|
|
|
5880
5910
|
}
|
|
5881
5911
|
}
|
|
5882
5912
|
|
|
5883
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0
|
|
5913
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0/node_modules/@tsparticles/updater-out-modes/browser/DestroyOutMode.js
|
|
5884
5914
|
|
|
5885
5915
|
class DestroyOutMode {
|
|
5886
5916
|
constructor(container) {
|
|
@@ -5915,7 +5945,7 @@ class DestroyOutMode {
|
|
|
5915
5945
|
}
|
|
5916
5946
|
}
|
|
5917
5947
|
|
|
5918
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0
|
|
5948
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0/node_modules/@tsparticles/updater-out-modes/browser/NoneOutMode.js
|
|
5919
5949
|
|
|
5920
5950
|
class NoneOutMode {
|
|
5921
5951
|
constructor(container) {
|
|
@@ -5958,7 +5988,7 @@ class NoneOutMode {
|
|
|
5958
5988
|
}
|
|
5959
5989
|
}
|
|
5960
5990
|
|
|
5961
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0
|
|
5991
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0/node_modules/@tsparticles/updater-out-modes/browser/OutOutMode.js
|
|
5962
5992
|
|
|
5963
5993
|
class OutOutMode {
|
|
5964
5994
|
constructor(container) {
|
|
@@ -6018,7 +6048,7 @@ class OutOutMode {
|
|
|
6018
6048
|
break;
|
|
6019
6049
|
}
|
|
6020
6050
|
case "normal": {
|
|
6021
|
-
const
|
|
6051
|
+
const warp = particle.options.move.warp, canvasSize = container.canvas.size, newPos = {
|
|
6022
6052
|
bottom: canvasSize.height + particle.getRadius() + particle.offset.y,
|
|
6023
6053
|
left: -particle.getRadius() - particle.offset.x,
|
|
6024
6054
|
right: canvasSize.width + particle.getRadius() + particle.offset.x,
|
|
@@ -6028,7 +6058,7 @@ class OutOutMode {
|
|
|
6028
6058
|
nextBounds.left > canvasSize.width + particle.offset.x) {
|
|
6029
6059
|
particle.position.x = newPos.left;
|
|
6030
6060
|
particle.initialPosition.x = particle.position.x;
|
|
6031
|
-
if (!
|
|
6061
|
+
if (!warp) {
|
|
6032
6062
|
particle.position.y = getRandom() * canvasSize.height;
|
|
6033
6063
|
particle.initialPosition.y = particle.position.y;
|
|
6034
6064
|
}
|
|
@@ -6036,14 +6066,14 @@ class OutOutMode {
|
|
|
6036
6066
|
else if (direction === "left" && nextBounds.right < -particle.offset.x) {
|
|
6037
6067
|
particle.position.x = newPos.right;
|
|
6038
6068
|
particle.initialPosition.x = particle.position.x;
|
|
6039
|
-
if (!
|
|
6069
|
+
if (!warp) {
|
|
6040
6070
|
particle.position.y = getRandom() * canvasSize.height;
|
|
6041
6071
|
particle.initialPosition.y = particle.position.y;
|
|
6042
6072
|
}
|
|
6043
6073
|
}
|
|
6044
6074
|
if (direction === "bottom" &&
|
|
6045
6075
|
nextBounds.top > canvasSize.height + particle.offset.y) {
|
|
6046
|
-
if (!
|
|
6076
|
+
if (!warp) {
|
|
6047
6077
|
particle.position.x = getRandom() * canvasSize.width;
|
|
6048
6078
|
particle.initialPosition.x = particle.position.x;
|
|
6049
6079
|
}
|
|
@@ -6051,7 +6081,7 @@ class OutOutMode {
|
|
|
6051
6081
|
particle.initialPosition.y = particle.position.y;
|
|
6052
6082
|
}
|
|
6053
6083
|
else if (direction === "top" && nextBounds.bottom < -particle.offset.y) {
|
|
6054
|
-
if (!
|
|
6084
|
+
if (!warp) {
|
|
6055
6085
|
particle.position.x = getRandom() * canvasSize.width;
|
|
6056
6086
|
particle.initialPosition.x = particle.position.x;
|
|
6057
6087
|
}
|
|
@@ -6067,7 +6097,7 @@ class OutOutMode {
|
|
|
6067
6097
|
}
|
|
6068
6098
|
}
|
|
6069
6099
|
|
|
6070
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0
|
|
6100
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0/node_modules/@tsparticles/updater-out-modes/browser/OutOfCanvasUpdater.js
|
|
6071
6101
|
|
|
6072
6102
|
|
|
6073
6103
|
|
|
@@ -6101,13 +6131,13 @@ class OutOfCanvasUpdater {
|
|
|
6101
6131
|
}
|
|
6102
6132
|
}
|
|
6103
6133
|
|
|
6104
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0
|
|
6134
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0/node_modules/@tsparticles/updater-out-modes/browser/index.js
|
|
6105
6135
|
|
|
6106
6136
|
async function loadOutModesUpdater(engine, refresh = true) {
|
|
6107
6137
|
await engine.addParticleUpdater("outModes", (container) => new OutOfCanvasUpdater(container), refresh);
|
|
6108
6138
|
}
|
|
6109
6139
|
|
|
6110
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0
|
|
6140
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0/node_modules/@tsparticles/updater-size/browser/Utils.js
|
|
6111
6141
|
|
|
6112
6142
|
function Utils_checkDestroy(particle, value, minValue, maxValue) {
|
|
6113
6143
|
switch (particle.options.size.animation.destroy) {
|
|
@@ -6175,7 +6205,7 @@ function updateSize(particle, delta) {
|
|
|
6175
6205
|
}
|
|
6176
6206
|
}
|
|
6177
6207
|
|
|
6178
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0
|
|
6208
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js
|
|
6179
6209
|
|
|
6180
6210
|
|
|
6181
6211
|
class SizeUpdater {
|
|
@@ -6208,13 +6238,13 @@ class SizeUpdater {
|
|
|
6208
6238
|
}
|
|
6209
6239
|
}
|
|
6210
6240
|
|
|
6211
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0
|
|
6241
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0/node_modules/@tsparticles/updater-size/browser/index.js
|
|
6212
6242
|
|
|
6213
6243
|
async function loadSizeUpdater(engine, refresh = true) {
|
|
6214
6244
|
await engine.addParticleUpdater("size", () => new SizeUpdater(), refresh);
|
|
6215
6245
|
}
|
|
6216
6246
|
|
|
6217
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+basic@3.0.0
|
|
6247
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+basic@3.0.0/node_modules/@tsparticles/basic/browser/index.js
|
|
6218
6248
|
|
|
6219
6249
|
|
|
6220
6250
|
|
|
@@ -6231,7 +6261,7 @@ async function loadBasic(engine, refresh = true) {
|
|
|
6231
6261
|
await engine.refresh(refresh);
|
|
6232
6262
|
}
|
|
6233
6263
|
|
|
6234
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6264
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterLife.js
|
|
6235
6265
|
|
|
6236
6266
|
class EmitterLife {
|
|
6237
6267
|
constructor() {
|
|
@@ -6256,7 +6286,7 @@ class EmitterLife {
|
|
|
6256
6286
|
}
|
|
6257
6287
|
}
|
|
6258
6288
|
|
|
6259
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6289
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterRate.js
|
|
6260
6290
|
|
|
6261
6291
|
class EmitterRate {
|
|
6262
6292
|
constructor() {
|
|
@@ -6276,7 +6306,7 @@ class EmitterRate {
|
|
|
6276
6306
|
}
|
|
6277
6307
|
}
|
|
6278
6308
|
|
|
6279
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6309
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShapeReplace.js
|
|
6280
6310
|
class EmitterShapeReplace {
|
|
6281
6311
|
constructor() {
|
|
6282
6312
|
this.color = false;
|
|
@@ -6295,7 +6325,7 @@ class EmitterShapeReplace {
|
|
|
6295
6325
|
}
|
|
6296
6326
|
}
|
|
6297
6327
|
|
|
6298
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6328
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShape.js
|
|
6299
6329
|
|
|
6300
6330
|
|
|
6301
6331
|
class EmitterShape {
|
|
@@ -6318,7 +6348,7 @@ class EmitterShape {
|
|
|
6318
6348
|
}
|
|
6319
6349
|
}
|
|
6320
6350
|
|
|
6321
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6351
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterSize.js
|
|
6322
6352
|
class EmitterSize {
|
|
6323
6353
|
constructor() {
|
|
6324
6354
|
this.mode = "percent";
|
|
@@ -6341,7 +6371,7 @@ class EmitterSize {
|
|
|
6341
6371
|
}
|
|
6342
6372
|
}
|
|
6343
6373
|
|
|
6344
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6374
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/Emitter.js
|
|
6345
6375
|
|
|
6346
6376
|
|
|
6347
6377
|
|
|
@@ -6404,7 +6434,7 @@ class Emitter {
|
|
|
6404
6434
|
}
|
|
6405
6435
|
}
|
|
6406
6436
|
|
|
6407
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6437
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/EmitterInstance.js
|
|
6408
6438
|
|
|
6409
6439
|
|
|
6410
6440
|
|
|
@@ -6704,7 +6734,7 @@ class EmitterInstance {
|
|
|
6704
6734
|
}
|
|
6705
6735
|
}
|
|
6706
6736
|
|
|
6707
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6737
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Emitters.js
|
|
6708
6738
|
|
|
6709
6739
|
|
|
6710
6740
|
|
|
@@ -6830,7 +6860,7 @@ class Emitters {
|
|
|
6830
6860
|
}
|
|
6831
6861
|
}
|
|
6832
6862
|
|
|
6833
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6863
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/ShapeManager.js
|
|
6834
6864
|
const shapeGeneratorss = new Map();
|
|
6835
6865
|
class ShapeManager {
|
|
6836
6866
|
constructor(engine) {
|
|
@@ -6849,7 +6879,7 @@ class ShapeManager {
|
|
|
6849
6879
|
}
|
|
6850
6880
|
}
|
|
6851
6881
|
|
|
6852
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6882
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/index.js
|
|
6853
6883
|
|
|
6854
6884
|
|
|
6855
6885
|
|
|
@@ -6974,7 +7004,7 @@ async function loadSeaAnemonePreset(engine, refresh = true) {
|
|
|
6974
7004
|
;// CONCATENATED MODULE: ./dist/browser/bundle.js
|
|
6975
7005
|
|
|
6976
7006
|
|
|
6977
|
-
loadSeaAnemonePreset(tsParticles);
|
|
7007
|
+
void loadSeaAnemonePreset(tsParticles);
|
|
6978
7008
|
|
|
6979
7009
|
/******/ return __webpack_exports__;
|
|
6980
7010
|
/******/ })()
|