@tsparticles/preset-squares 3.0.0-beta.4 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -7
- package/report.html +2 -2
- package/tsparticles.preset.squares.bundle.js +154 -124
- package/tsparticles.preset.squares.bundle.min.js +1 -1
- package/tsparticles.preset.squares.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.preset.squares.js +5 -5
- package/tsparticles.preset.squares.min.js.LICENSE.txt +1 -1
|
@@ -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.0
|
|
7
|
+
* v3.0.0
|
|
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+plugin-emitters@3.0.0
|
|
5191
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterLife.js
|
|
5162
5192
|
|
|
5163
5193
|
class EmitterLife {
|
|
5164
5194
|
constructor() {
|
|
@@ -5183,7 +5213,7 @@ class EmitterLife {
|
|
|
5183
5213
|
}
|
|
5184
5214
|
}
|
|
5185
5215
|
|
|
5186
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
5216
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterRate.js
|
|
5187
5217
|
|
|
5188
5218
|
class EmitterRate {
|
|
5189
5219
|
constructor() {
|
|
@@ -5203,7 +5233,7 @@ class EmitterRate {
|
|
|
5203
5233
|
}
|
|
5204
5234
|
}
|
|
5205
5235
|
|
|
5206
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
5236
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShapeReplace.js
|
|
5207
5237
|
class EmitterShapeReplace {
|
|
5208
5238
|
constructor() {
|
|
5209
5239
|
this.color = false;
|
|
@@ -5222,7 +5252,7 @@ class EmitterShapeReplace {
|
|
|
5222
5252
|
}
|
|
5223
5253
|
}
|
|
5224
5254
|
|
|
5225
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
5255
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShape.js
|
|
5226
5256
|
|
|
5227
5257
|
|
|
5228
5258
|
class EmitterShape {
|
|
@@ -5245,7 +5275,7 @@ class EmitterShape {
|
|
|
5245
5275
|
}
|
|
5246
5276
|
}
|
|
5247
5277
|
|
|
5248
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
5278
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterSize.js
|
|
5249
5279
|
class EmitterSize {
|
|
5250
5280
|
constructor() {
|
|
5251
5281
|
this.mode = "percent";
|
|
@@ -5268,7 +5298,7 @@ class EmitterSize {
|
|
|
5268
5298
|
}
|
|
5269
5299
|
}
|
|
5270
5300
|
|
|
5271
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
5301
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/Emitter.js
|
|
5272
5302
|
|
|
5273
5303
|
|
|
5274
5304
|
|
|
@@ -5331,7 +5361,7 @@ class Emitter {
|
|
|
5331
5361
|
}
|
|
5332
5362
|
}
|
|
5333
5363
|
|
|
5334
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
5364
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/EmitterInstance.js
|
|
5335
5365
|
|
|
5336
5366
|
|
|
5337
5367
|
|
|
@@ -5631,7 +5661,7 @@ class EmitterInstance {
|
|
|
5631
5661
|
}
|
|
5632
5662
|
}
|
|
5633
5663
|
|
|
5634
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
5664
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Emitters.js
|
|
5635
5665
|
|
|
5636
5666
|
|
|
5637
5667
|
|
|
@@ -5757,7 +5787,7 @@ class Emitters {
|
|
|
5757
5787
|
}
|
|
5758
5788
|
}
|
|
5759
5789
|
|
|
5760
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
5790
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/ShapeManager.js
|
|
5761
5791
|
const shapeGeneratorss = new Map();
|
|
5762
5792
|
class ShapeManager {
|
|
5763
5793
|
constructor(engine) {
|
|
@@ -5776,7 +5806,7 @@ class ShapeManager {
|
|
|
5776
5806
|
}
|
|
5777
5807
|
}
|
|
5778
5808
|
|
|
5779
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
5809
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/index.js
|
|
5780
5810
|
|
|
5781
5811
|
|
|
5782
5812
|
|
|
@@ -5887,7 +5917,7 @@ async function loadEmittersPlugin(engine, refresh = true) {
|
|
|
5887
5917
|
|
|
5888
5918
|
|
|
5889
5919
|
|
|
5890
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0
|
|
5920
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0/node_modules/@tsparticles/updater-rotate/browser/Options/Classes/RotateAnimation.js
|
|
5891
5921
|
|
|
5892
5922
|
class RotateAnimation {
|
|
5893
5923
|
constructor() {
|
|
@@ -5915,7 +5945,7 @@ class RotateAnimation {
|
|
|
5915
5945
|
}
|
|
5916
5946
|
}
|
|
5917
5947
|
|
|
5918
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0
|
|
5948
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0/node_modules/@tsparticles/updater-rotate/browser/Options/Classes/Rotate.js
|
|
5919
5949
|
|
|
5920
5950
|
|
|
5921
5951
|
class Rotate extends ValueWithRandom {
|
|
@@ -5941,7 +5971,7 @@ class Rotate extends ValueWithRandom {
|
|
|
5941
5971
|
}
|
|
5942
5972
|
}
|
|
5943
5973
|
|
|
5944
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0
|
|
5974
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0/node_modules/@tsparticles/updater-rotate/browser/RotateUpdater.js
|
|
5945
5975
|
|
|
5946
5976
|
|
|
5947
5977
|
function updateRotate(particle, delta) {
|
|
@@ -6035,13 +6065,13 @@ class RotateUpdater {
|
|
|
6035
6065
|
}
|
|
6036
6066
|
}
|
|
6037
6067
|
|
|
6038
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0
|
|
6068
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0/node_modules/@tsparticles/updater-rotate/browser/index.js
|
|
6039
6069
|
|
|
6040
6070
|
async function loadRotateUpdater(engine, refresh = true) {
|
|
6041
6071
|
await engine.addParticleUpdater("rotate", (container) => new RotateUpdater(container), refresh);
|
|
6042
6072
|
}
|
|
6043
6073
|
|
|
6044
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0
|
|
6074
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0/node_modules/@tsparticles/updater-size/browser/Utils.js
|
|
6045
6075
|
|
|
6046
6076
|
function checkDestroy(particle, value, minValue, maxValue) {
|
|
6047
6077
|
switch (particle.options.size.animation.destroy) {
|
|
@@ -6109,7 +6139,7 @@ function updateSize(particle, delta) {
|
|
|
6109
6139
|
}
|
|
6110
6140
|
}
|
|
6111
6141
|
|
|
6112
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0
|
|
6142
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js
|
|
6113
6143
|
|
|
6114
6144
|
|
|
6115
6145
|
class SizeUpdater {
|
|
@@ -6142,13 +6172,13 @@ class SizeUpdater {
|
|
|
6142
6172
|
}
|
|
6143
6173
|
}
|
|
6144
6174
|
|
|
6145
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0
|
|
6175
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0/node_modules/@tsparticles/updater-size/browser/index.js
|
|
6146
6176
|
|
|
6147
6177
|
async function loadSizeUpdater(engine, refresh = true) {
|
|
6148
6178
|
await engine.addParticleUpdater("size", () => new SizeUpdater(), refresh);
|
|
6149
6179
|
}
|
|
6150
6180
|
|
|
6151
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-square@3.0.0
|
|
6181
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-square@3.0.0/node_modules/@tsparticles/shape-square/browser/SquareDrawer.js
|
|
6152
6182
|
const fixFactor = Math.sqrt(2);
|
|
6153
6183
|
class SquareDrawer {
|
|
6154
6184
|
draw(data) {
|
|
@@ -6160,13 +6190,13 @@ class SquareDrawer {
|
|
|
6160
6190
|
}
|
|
6161
6191
|
}
|
|
6162
6192
|
|
|
6163
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-square@3.0.0
|
|
6193
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-square@3.0.0/node_modules/@tsparticles/shape-square/browser/index.js
|
|
6164
6194
|
|
|
6165
6195
|
async function loadSquareShape(engine, refresh = true) {
|
|
6166
6196
|
await engine.addShape(["edge", "square"], new SquareDrawer(), refresh);
|
|
6167
6197
|
}
|
|
6168
6198
|
|
|
6169
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@3.0.0
|
|
6199
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@3.0.0/node_modules/@tsparticles/updater-stroke-color/browser/Utils.js
|
|
6170
6200
|
|
|
6171
6201
|
function updateColorValue(delta, colorValue, valueAnimation, max, decrease) {
|
|
6172
6202
|
if (!colorValue ||
|
|
@@ -6231,7 +6261,7 @@ function updateStrokeColor(particle, delta) {
|
|
|
6231
6261
|
}
|
|
6232
6262
|
}
|
|
6233
6263
|
|
|
6234
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@3.0.0
|
|
6264
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@3.0.0/node_modules/@tsparticles/updater-stroke-color/browser/StrokeColorUpdater.js
|
|
6235
6265
|
|
|
6236
6266
|
|
|
6237
6267
|
class StrokeColorUpdater {
|
|
@@ -6266,7 +6296,7 @@ class StrokeColorUpdater {
|
|
|
6266
6296
|
}
|
|
6267
6297
|
}
|
|
6268
6298
|
|
|
6269
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@3.0.0
|
|
6299
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@3.0.0/node_modules/@tsparticles/updater-stroke-color/browser/index.js
|
|
6270
6300
|
|
|
6271
6301
|
async function loadStrokeColorUpdater(engine, refresh = true) {
|
|
6272
6302
|
await engine.addParticleUpdater("strokeColor", (container) => new StrokeColorUpdater(container), refresh);
|