@tsparticles/preset-fireworks 3.0.0-beta.2 → 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/browser/index.js +2 -0
- package/cjs/index.js +2 -0
- package/esm/index.js +2 -0
- package/package.json +15 -11
- package/report.html +2 -2
- package/tsparticles.preset.fireworks.bundle.js +294 -172
- package/tsparticles.preset.fireworks.bundle.min.js +1 -1
- package/tsparticles.preset.fireworks.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.preset.fireworks.js +16 -5
- package/tsparticles.preset.fireworks.min.js +1 -1
- package/tsparticles.preset.fireworks.min.js.LICENSE.txt +1 -1
- package/umd/index.js +3 -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+move-base@3.0.0
|
|
5191
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+move-base@3.0.0/node_modules/@tsparticles/move-base/browser/Utils.js
|
|
5162
5192
|
|
|
5163
5193
|
function applyDistance(particle) {
|
|
5164
5194
|
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;
|
|
@@ -5263,7 +5293,7 @@ function getProximitySpeedFactor(particle) {
|
|
|
5263
5293
|
return particle.slow.inRange ? particle.slow.factor : 1;
|
|
5264
5294
|
}
|
|
5265
5295
|
|
|
5266
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+move-base@3.0.0
|
|
5296
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+move-base@3.0.0/node_modules/@tsparticles/move-base/browser/BaseMover.js
|
|
5267
5297
|
|
|
5268
5298
|
|
|
5269
5299
|
const diffFactor = 2;
|
|
@@ -5317,13 +5347,13 @@ class BaseMover {
|
|
|
5317
5347
|
}
|
|
5318
5348
|
}
|
|
5319
5349
|
|
|
5320
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+move-base@3.0.0
|
|
5350
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+move-base@3.0.0/node_modules/@tsparticles/move-base/browser/index.js
|
|
5321
5351
|
|
|
5322
5352
|
async function loadBaseMover(engine, refresh = true) {
|
|
5323
5353
|
await engine.addMover("base", () => new BaseMover(), refresh);
|
|
5324
5354
|
}
|
|
5325
5355
|
|
|
5326
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-circle@3.0.0
|
|
5356
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-circle@3.0.0/node_modules/@tsparticles/shape-circle/browser/CircleDrawer.js
|
|
5327
5357
|
|
|
5328
5358
|
class CircleDrawer {
|
|
5329
5359
|
draw(data) {
|
|
@@ -5351,13 +5381,13 @@ class CircleDrawer {
|
|
|
5351
5381
|
}
|
|
5352
5382
|
}
|
|
5353
5383
|
|
|
5354
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-circle@3.0.0
|
|
5384
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-circle@3.0.0/node_modules/@tsparticles/shape-circle/browser/index.js
|
|
5355
5385
|
|
|
5356
5386
|
async function loadCircleShape(engine, refresh = true) {
|
|
5357
5387
|
await engine.addShape("circle", new CircleDrawer(), refresh);
|
|
5358
5388
|
}
|
|
5359
5389
|
|
|
5360
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.0
|
|
5390
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.0/node_modules/@tsparticles/updater-color/browser/Utils.js
|
|
5361
5391
|
|
|
5362
5392
|
function updateColorValue(delta, colorValue, valueAnimation, max, decrease) {
|
|
5363
5393
|
if (!colorValue ||
|
|
@@ -5423,7 +5453,7 @@ function updateColor(particle, delta) {
|
|
|
5423
5453
|
}
|
|
5424
5454
|
}
|
|
5425
5455
|
|
|
5426
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.0
|
|
5456
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.0/node_modules/@tsparticles/updater-color/browser/ColorUpdater.js
|
|
5427
5457
|
|
|
5428
5458
|
|
|
5429
5459
|
class ColorUpdater {
|
|
@@ -5449,13 +5479,13 @@ class ColorUpdater {
|
|
|
5449
5479
|
}
|
|
5450
5480
|
}
|
|
5451
5481
|
|
|
5452
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.0
|
|
5482
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-color@3.0.0/node_modules/@tsparticles/updater-color/browser/index.js
|
|
5453
5483
|
|
|
5454
5484
|
async function loadColorUpdater(engine, refresh = true) {
|
|
5455
5485
|
await engine.addParticleUpdater("color", (container) => new ColorUpdater(container), refresh);
|
|
5456
5486
|
}
|
|
5457
5487
|
|
|
5458
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.0
|
|
5488
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.0/node_modules/@tsparticles/updater-opacity/browser/Utils.js
|
|
5459
5489
|
|
|
5460
5490
|
function checkDestroy(particle, value, minValue, maxValue) {
|
|
5461
5491
|
switch (particle.options.opacity.animation.destroy) {
|
|
@@ -5521,7 +5551,7 @@ function updateOpacity(particle, delta) {
|
|
|
5521
5551
|
}
|
|
5522
5552
|
}
|
|
5523
5553
|
|
|
5524
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.0
|
|
5554
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.0/node_modules/@tsparticles/updater-opacity/browser/OpacityUpdater.js
|
|
5525
5555
|
|
|
5526
5556
|
|
|
5527
5557
|
class OpacityUpdater {
|
|
@@ -5563,13 +5593,13 @@ class OpacityUpdater {
|
|
|
5563
5593
|
}
|
|
5564
5594
|
}
|
|
5565
5595
|
|
|
5566
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.0
|
|
5596
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-opacity@3.0.0/node_modules/@tsparticles/updater-opacity/browser/index.js
|
|
5567
5597
|
|
|
5568
5598
|
async function loadOpacityUpdater(engine, refresh = true) {
|
|
5569
5599
|
await engine.addParticleUpdater("opacity", (container) => new OpacityUpdater(container), refresh);
|
|
5570
5600
|
}
|
|
5571
5601
|
|
|
5572
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0
|
|
5602
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0/node_modules/@tsparticles/updater-out-modes/browser/Utils.js
|
|
5573
5603
|
|
|
5574
5604
|
function bounceHorizontal(data) {
|
|
5575
5605
|
if ((data.outMode !== "bounce" &&
|
|
@@ -5644,7 +5674,7 @@ function bounceVertical(data) {
|
|
|
5644
5674
|
}
|
|
5645
5675
|
}
|
|
5646
5676
|
|
|
5647
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0
|
|
5677
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0/node_modules/@tsparticles/updater-out-modes/browser/BounceOutMode.js
|
|
5648
5678
|
|
|
5649
5679
|
|
|
5650
5680
|
class BounceOutMode {
|
|
@@ -5682,7 +5712,7 @@ class BounceOutMode {
|
|
|
5682
5712
|
}
|
|
5683
5713
|
}
|
|
5684
5714
|
|
|
5685
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0
|
|
5715
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0/node_modules/@tsparticles/updater-out-modes/browser/DestroyOutMode.js
|
|
5686
5716
|
|
|
5687
5717
|
class DestroyOutMode {
|
|
5688
5718
|
constructor(container) {
|
|
@@ -5717,7 +5747,7 @@ class DestroyOutMode {
|
|
|
5717
5747
|
}
|
|
5718
5748
|
}
|
|
5719
5749
|
|
|
5720
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0
|
|
5750
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0/node_modules/@tsparticles/updater-out-modes/browser/NoneOutMode.js
|
|
5721
5751
|
|
|
5722
5752
|
class NoneOutMode {
|
|
5723
5753
|
constructor(container) {
|
|
@@ -5760,7 +5790,7 @@ class NoneOutMode {
|
|
|
5760
5790
|
}
|
|
5761
5791
|
}
|
|
5762
5792
|
|
|
5763
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0
|
|
5793
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0/node_modules/@tsparticles/updater-out-modes/browser/OutOutMode.js
|
|
5764
5794
|
|
|
5765
5795
|
class OutOutMode {
|
|
5766
5796
|
constructor(container) {
|
|
@@ -5820,7 +5850,7 @@ class OutOutMode {
|
|
|
5820
5850
|
break;
|
|
5821
5851
|
}
|
|
5822
5852
|
case "normal": {
|
|
5823
|
-
const
|
|
5853
|
+
const warp = particle.options.move.warp, canvasSize = container.canvas.size, newPos = {
|
|
5824
5854
|
bottom: canvasSize.height + particle.getRadius() + particle.offset.y,
|
|
5825
5855
|
left: -particle.getRadius() - particle.offset.x,
|
|
5826
5856
|
right: canvasSize.width + particle.getRadius() + particle.offset.x,
|
|
@@ -5830,7 +5860,7 @@ class OutOutMode {
|
|
|
5830
5860
|
nextBounds.left > canvasSize.width + particle.offset.x) {
|
|
5831
5861
|
particle.position.x = newPos.left;
|
|
5832
5862
|
particle.initialPosition.x = particle.position.x;
|
|
5833
|
-
if (!
|
|
5863
|
+
if (!warp) {
|
|
5834
5864
|
particle.position.y = getRandom() * canvasSize.height;
|
|
5835
5865
|
particle.initialPosition.y = particle.position.y;
|
|
5836
5866
|
}
|
|
@@ -5838,14 +5868,14 @@ class OutOutMode {
|
|
|
5838
5868
|
else if (direction === "left" && nextBounds.right < -particle.offset.x) {
|
|
5839
5869
|
particle.position.x = newPos.right;
|
|
5840
5870
|
particle.initialPosition.x = particle.position.x;
|
|
5841
|
-
if (!
|
|
5871
|
+
if (!warp) {
|
|
5842
5872
|
particle.position.y = getRandom() * canvasSize.height;
|
|
5843
5873
|
particle.initialPosition.y = particle.position.y;
|
|
5844
5874
|
}
|
|
5845
5875
|
}
|
|
5846
5876
|
if (direction === "bottom" &&
|
|
5847
5877
|
nextBounds.top > canvasSize.height + particle.offset.y) {
|
|
5848
|
-
if (!
|
|
5878
|
+
if (!warp) {
|
|
5849
5879
|
particle.position.x = getRandom() * canvasSize.width;
|
|
5850
5880
|
particle.initialPosition.x = particle.position.x;
|
|
5851
5881
|
}
|
|
@@ -5853,7 +5883,7 @@ class OutOutMode {
|
|
|
5853
5883
|
particle.initialPosition.y = particle.position.y;
|
|
5854
5884
|
}
|
|
5855
5885
|
else if (direction === "top" && nextBounds.bottom < -particle.offset.y) {
|
|
5856
|
-
if (!
|
|
5886
|
+
if (!warp) {
|
|
5857
5887
|
particle.position.x = getRandom() * canvasSize.width;
|
|
5858
5888
|
particle.initialPosition.x = particle.position.x;
|
|
5859
5889
|
}
|
|
@@ -5869,7 +5899,7 @@ class OutOutMode {
|
|
|
5869
5899
|
}
|
|
5870
5900
|
}
|
|
5871
5901
|
|
|
5872
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0
|
|
5902
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0/node_modules/@tsparticles/updater-out-modes/browser/OutOfCanvasUpdater.js
|
|
5873
5903
|
|
|
5874
5904
|
|
|
5875
5905
|
|
|
@@ -5903,13 +5933,13 @@ class OutOfCanvasUpdater {
|
|
|
5903
5933
|
}
|
|
5904
5934
|
}
|
|
5905
5935
|
|
|
5906
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0
|
|
5936
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-out-modes@3.0.0/node_modules/@tsparticles/updater-out-modes/browser/index.js
|
|
5907
5937
|
|
|
5908
5938
|
async function loadOutModesUpdater(engine, refresh = true) {
|
|
5909
5939
|
await engine.addParticleUpdater("outModes", (container) => new OutOfCanvasUpdater(container), refresh);
|
|
5910
5940
|
}
|
|
5911
5941
|
|
|
5912
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0
|
|
5942
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0/node_modules/@tsparticles/updater-size/browser/Utils.js
|
|
5913
5943
|
|
|
5914
5944
|
function Utils_checkDestroy(particle, value, minValue, maxValue) {
|
|
5915
5945
|
switch (particle.options.size.animation.destroy) {
|
|
@@ -5977,7 +6007,7 @@ function updateSize(particle, delta) {
|
|
|
5977
6007
|
}
|
|
5978
6008
|
}
|
|
5979
6009
|
|
|
5980
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0
|
|
6010
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js
|
|
5981
6011
|
|
|
5982
6012
|
|
|
5983
6013
|
class SizeUpdater {
|
|
@@ -6010,13 +6040,13 @@ class SizeUpdater {
|
|
|
6010
6040
|
}
|
|
6011
6041
|
}
|
|
6012
6042
|
|
|
6013
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0
|
|
6043
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-size@3.0.0/node_modules/@tsparticles/updater-size/browser/index.js
|
|
6014
6044
|
|
|
6015
6045
|
async function loadSizeUpdater(engine, refresh = true) {
|
|
6016
6046
|
await engine.addParticleUpdater("size", () => new SizeUpdater(), refresh);
|
|
6017
6047
|
}
|
|
6018
6048
|
|
|
6019
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+basic@3.0.0
|
|
6049
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+basic@3.0.0/node_modules/@tsparticles/basic/browser/index.js
|
|
6020
6050
|
|
|
6021
6051
|
|
|
6022
6052
|
|
|
@@ -6033,7 +6063,7 @@ async function loadBasic(engine, refresh = true) {
|
|
|
6033
6063
|
await engine.refresh(refresh);
|
|
6034
6064
|
}
|
|
6035
6065
|
|
|
6036
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.0
|
|
6066
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.0/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/DestroyBounds.js
|
|
6037
6067
|
|
|
6038
6068
|
class DestroyBounds {
|
|
6039
6069
|
load(data) {
|
|
@@ -6055,7 +6085,7 @@ class DestroyBounds {
|
|
|
6055
6085
|
}
|
|
6056
6086
|
}
|
|
6057
6087
|
|
|
6058
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.0
|
|
6088
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.0/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/SplitFactor.js
|
|
6059
6089
|
|
|
6060
6090
|
class SplitFactor extends ValueWithRandom {
|
|
6061
6091
|
constructor() {
|
|
@@ -6064,7 +6094,7 @@ class SplitFactor extends ValueWithRandom {
|
|
|
6064
6094
|
}
|
|
6065
6095
|
}
|
|
6066
6096
|
|
|
6067
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.0
|
|
6097
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.0/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/SplitRate.js
|
|
6068
6098
|
|
|
6069
6099
|
class SplitRate extends ValueWithRandom {
|
|
6070
6100
|
constructor() {
|
|
@@ -6073,7 +6103,7 @@ class SplitRate extends ValueWithRandom {
|
|
|
6073
6103
|
}
|
|
6074
6104
|
}
|
|
6075
6105
|
|
|
6076
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.0
|
|
6106
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.0/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/Split.js
|
|
6077
6107
|
|
|
6078
6108
|
|
|
6079
6109
|
|
|
@@ -6117,7 +6147,7 @@ class Split {
|
|
|
6117
6147
|
}
|
|
6118
6148
|
}
|
|
6119
6149
|
|
|
6120
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.0
|
|
6150
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.0/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/Destroy.js
|
|
6121
6151
|
|
|
6122
6152
|
|
|
6123
6153
|
class Destroy {
|
|
@@ -6140,7 +6170,7 @@ class Destroy {
|
|
|
6140
6170
|
}
|
|
6141
6171
|
}
|
|
6142
6172
|
|
|
6143
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.0
|
|
6173
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.0/node_modules/@tsparticles/updater-destroy/browser/Utils.js
|
|
6144
6174
|
|
|
6145
6175
|
function addSplitParticle(engine, container, parent, splitParticlesOptions) {
|
|
6146
6176
|
const destroyOptions = parent.options.destroy;
|
|
@@ -6216,7 +6246,7 @@ function split(engine, container, particle) {
|
|
|
6216
6246
|
}
|
|
6217
6247
|
}
|
|
6218
6248
|
|
|
6219
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.0
|
|
6249
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.0/node_modules/@tsparticles/updater-destroy/browser/DestroyUpdater.js
|
|
6220
6250
|
|
|
6221
6251
|
|
|
6222
6252
|
|
|
@@ -6286,13 +6316,13 @@ class DestroyUpdater {
|
|
|
6286
6316
|
}
|
|
6287
6317
|
}
|
|
6288
6318
|
|
|
6289
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.0
|
|
6319
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-destroy@3.0.0/node_modules/@tsparticles/updater-destroy/browser/index.js
|
|
6290
6320
|
|
|
6291
6321
|
async function loadDestroyUpdater(engine, refresh = true) {
|
|
6292
6322
|
await engine.addParticleUpdater("destroy", (container) => new DestroyUpdater(engine, container), refresh);
|
|
6293
6323
|
}
|
|
6294
6324
|
|
|
6295
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6325
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterLife.js
|
|
6296
6326
|
|
|
6297
6327
|
class EmitterLife {
|
|
6298
6328
|
constructor() {
|
|
@@ -6317,7 +6347,7 @@ class EmitterLife {
|
|
|
6317
6347
|
}
|
|
6318
6348
|
}
|
|
6319
6349
|
|
|
6320
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6350
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterRate.js
|
|
6321
6351
|
|
|
6322
6352
|
class EmitterRate {
|
|
6323
6353
|
constructor() {
|
|
@@ -6337,7 +6367,7 @@ class EmitterRate {
|
|
|
6337
6367
|
}
|
|
6338
6368
|
}
|
|
6339
6369
|
|
|
6340
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6370
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShapeReplace.js
|
|
6341
6371
|
class EmitterShapeReplace {
|
|
6342
6372
|
constructor() {
|
|
6343
6373
|
this.color = false;
|
|
@@ -6356,7 +6386,7 @@ class EmitterShapeReplace {
|
|
|
6356
6386
|
}
|
|
6357
6387
|
}
|
|
6358
6388
|
|
|
6359
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6389
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShape.js
|
|
6360
6390
|
|
|
6361
6391
|
|
|
6362
6392
|
class EmitterShape {
|
|
@@ -6379,7 +6409,7 @@ class EmitterShape {
|
|
|
6379
6409
|
}
|
|
6380
6410
|
}
|
|
6381
6411
|
|
|
6382
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6412
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterSize.js
|
|
6383
6413
|
class EmitterSize {
|
|
6384
6414
|
constructor() {
|
|
6385
6415
|
this.mode = "percent";
|
|
@@ -6402,7 +6432,7 @@ class EmitterSize {
|
|
|
6402
6432
|
}
|
|
6403
6433
|
}
|
|
6404
6434
|
|
|
6405
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6435
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/Emitter.js
|
|
6406
6436
|
|
|
6407
6437
|
|
|
6408
6438
|
|
|
@@ -6465,7 +6495,7 @@ class Emitter {
|
|
|
6465
6495
|
}
|
|
6466
6496
|
}
|
|
6467
6497
|
|
|
6468
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6498
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/EmitterInstance.js
|
|
6469
6499
|
|
|
6470
6500
|
|
|
6471
6501
|
|
|
@@ -6765,7 +6795,7 @@ class EmitterInstance {
|
|
|
6765
6795
|
}
|
|
6766
6796
|
}
|
|
6767
6797
|
|
|
6768
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6798
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Emitters.js
|
|
6769
6799
|
|
|
6770
6800
|
|
|
6771
6801
|
|
|
@@ -6891,7 +6921,7 @@ class Emitters {
|
|
|
6891
6921
|
}
|
|
6892
6922
|
}
|
|
6893
6923
|
|
|
6894
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6924
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/ShapeManager.js
|
|
6895
6925
|
const shapeGeneratorss = new Map();
|
|
6896
6926
|
class ShapeManager {
|
|
6897
6927
|
constructor(engine) {
|
|
@@ -6910,7 +6940,21 @@ class ShapeManager {
|
|
|
6910
6940
|
}
|
|
6911
6941
|
}
|
|
6912
6942
|
|
|
6913
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6943
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/EmitterShapeBase.js
|
|
6944
|
+
class EmitterShapeBase {
|
|
6945
|
+
constructor(position, size, fill, options) {
|
|
6946
|
+
this.position = position;
|
|
6947
|
+
this.size = size;
|
|
6948
|
+
this.fill = fill;
|
|
6949
|
+
this.options = options;
|
|
6950
|
+
}
|
|
6951
|
+
resize(position, size) {
|
|
6952
|
+
this.position = position;
|
|
6953
|
+
this.size = size;
|
|
6954
|
+
}
|
|
6955
|
+
}
|
|
6956
|
+
|
|
6957
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/index.js
|
|
6914
6958
|
|
|
6915
6959
|
|
|
6916
6960
|
|
|
@@ -7021,7 +7065,83 @@ async function loadEmittersPlugin(engine, refresh = true) {
|
|
|
7021
7065
|
|
|
7022
7066
|
|
|
7023
7067
|
|
|
7024
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+
|
|
7068
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters-shape-square@3.0.0/node_modules/@tsparticles/plugin-emitters-shape-square/browser/EmittersSquareShape.js
|
|
7069
|
+
|
|
7070
|
+
|
|
7071
|
+
function randomSquareCoordinate(position, offset) {
|
|
7072
|
+
return position + offset * (getRandom() - 0.5);
|
|
7073
|
+
}
|
|
7074
|
+
class EmittersSquareShape extends EmitterShapeBase {
|
|
7075
|
+
constructor(position, size, fill, options) {
|
|
7076
|
+
super(position, size, fill, options);
|
|
7077
|
+
}
|
|
7078
|
+
async init() {
|
|
7079
|
+
}
|
|
7080
|
+
async randomPosition() {
|
|
7081
|
+
const fill = this.fill, position = this.position, size = this.size;
|
|
7082
|
+
if (fill) {
|
|
7083
|
+
return {
|
|
7084
|
+
position: {
|
|
7085
|
+
x: randomSquareCoordinate(position.x, size.width),
|
|
7086
|
+
y: randomSquareCoordinate(position.y, size.height),
|
|
7087
|
+
},
|
|
7088
|
+
};
|
|
7089
|
+
}
|
|
7090
|
+
else {
|
|
7091
|
+
const halfW = size.width / 2, halfH = size.height / 2, side = Math.floor(getRandom() * 4), v = (getRandom() - 0.5) * 2;
|
|
7092
|
+
switch (side) {
|
|
7093
|
+
case 0:
|
|
7094
|
+
return {
|
|
7095
|
+
position: {
|
|
7096
|
+
x: position.x + v * halfW,
|
|
7097
|
+
y: position.y - halfH,
|
|
7098
|
+
},
|
|
7099
|
+
};
|
|
7100
|
+
case 1:
|
|
7101
|
+
return {
|
|
7102
|
+
position: {
|
|
7103
|
+
x: position.x - halfW,
|
|
7104
|
+
y: position.y + v * halfH,
|
|
7105
|
+
},
|
|
7106
|
+
};
|
|
7107
|
+
case 2:
|
|
7108
|
+
return {
|
|
7109
|
+
position: {
|
|
7110
|
+
x: position.x + v * halfW,
|
|
7111
|
+
y: position.y + halfH,
|
|
7112
|
+
},
|
|
7113
|
+
};
|
|
7114
|
+
case 3:
|
|
7115
|
+
default:
|
|
7116
|
+
return {
|
|
7117
|
+
position: {
|
|
7118
|
+
x: position.x + halfW,
|
|
7119
|
+
y: position.y + v * halfH,
|
|
7120
|
+
},
|
|
7121
|
+
};
|
|
7122
|
+
}
|
|
7123
|
+
}
|
|
7124
|
+
}
|
|
7125
|
+
}
|
|
7126
|
+
|
|
7127
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters-shape-square@3.0.0/node_modules/@tsparticles/plugin-emitters-shape-square/browser/EmittersSquareShapeGenerator.js
|
|
7128
|
+
|
|
7129
|
+
class EmittersSquareShapeGenerator {
|
|
7130
|
+
generate(position, size, fill, options) {
|
|
7131
|
+
return new EmittersSquareShape(position, size, fill, options);
|
|
7132
|
+
}
|
|
7133
|
+
}
|
|
7134
|
+
|
|
7135
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters-shape-square@3.0.0/node_modules/@tsparticles/plugin-emitters-shape-square/browser/index.js
|
|
7136
|
+
|
|
7137
|
+
async function loadEmittersShapeSquare(engine, refresh = true) {
|
|
7138
|
+
const emittersEngine = engine;
|
|
7139
|
+
emittersEngine.addEmitterShapeGenerator &&
|
|
7140
|
+
emittersEngine.addEmitterShapeGenerator("square", new EmittersSquareShapeGenerator());
|
|
7141
|
+
await emittersEngine.refresh(refresh);
|
|
7142
|
+
}
|
|
7143
|
+
|
|
7144
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0/node_modules/@tsparticles/updater-life/browser/Options/Classes/LifeDelay.js
|
|
7025
7145
|
|
|
7026
7146
|
class LifeDelay extends ValueWithRandom {
|
|
7027
7147
|
constructor() {
|
|
@@ -7039,7 +7159,7 @@ class LifeDelay extends ValueWithRandom {
|
|
|
7039
7159
|
}
|
|
7040
7160
|
}
|
|
7041
7161
|
|
|
7042
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0
|
|
7162
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0/node_modules/@tsparticles/updater-life/browser/Options/Classes/LifeDuration.js
|
|
7043
7163
|
|
|
7044
7164
|
class LifeDuration extends ValueWithRandom {
|
|
7045
7165
|
constructor() {
|
|
@@ -7057,7 +7177,7 @@ class LifeDuration extends ValueWithRandom {
|
|
|
7057
7177
|
}
|
|
7058
7178
|
}
|
|
7059
7179
|
|
|
7060
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0
|
|
7180
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0/node_modules/@tsparticles/updater-life/browser/Options/Classes/Life.js
|
|
7061
7181
|
|
|
7062
7182
|
|
|
7063
7183
|
class Life {
|
|
@@ -7078,7 +7198,7 @@ class Life {
|
|
|
7078
7198
|
}
|
|
7079
7199
|
}
|
|
7080
7200
|
|
|
7081
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0
|
|
7201
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0/node_modules/@tsparticles/updater-life/browser/LifeUpdater.js
|
|
7082
7202
|
|
|
7083
7203
|
|
|
7084
7204
|
class LifeUpdater {
|
|
@@ -7182,13 +7302,13 @@ class LifeUpdater {
|
|
|
7182
7302
|
}
|
|
7183
7303
|
}
|
|
7184
7304
|
|
|
7185
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0
|
|
7305
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0/node_modules/@tsparticles/updater-life/browser/index.js
|
|
7186
7306
|
|
|
7187
7307
|
async function loadLifeUpdater(engine, refresh = true) {
|
|
7188
7308
|
await engine.addParticleUpdater("life", (container) => new LifeUpdater(container), refresh);
|
|
7189
7309
|
}
|
|
7190
7310
|
|
|
7191
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-line@3.0.0
|
|
7311
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-line@3.0.0/node_modules/@tsparticles/shape-line/browser/LineDrawer.js
|
|
7192
7312
|
class LineDrawer {
|
|
7193
7313
|
draw(data) {
|
|
7194
7314
|
const { context, particle, radius } = data, shapeData = particle.shapeData;
|
|
@@ -7201,13 +7321,13 @@ class LineDrawer {
|
|
|
7201
7321
|
}
|
|
7202
7322
|
}
|
|
7203
7323
|
|
|
7204
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-line@3.0.0
|
|
7324
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-line@3.0.0/node_modules/@tsparticles/shape-line/browser/index.js
|
|
7205
7325
|
|
|
7206
7326
|
async function loadLineShape(engine, refresh = true) {
|
|
7207
7327
|
await engine.addShape("line", new LineDrawer(), refresh);
|
|
7208
7328
|
}
|
|
7209
7329
|
|
|
7210
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0
|
|
7330
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0/node_modules/@tsparticles/updater-rotate/browser/Options/Classes/RotateAnimation.js
|
|
7211
7331
|
|
|
7212
7332
|
class RotateAnimation {
|
|
7213
7333
|
constructor() {
|
|
@@ -7235,7 +7355,7 @@ class RotateAnimation {
|
|
|
7235
7355
|
}
|
|
7236
7356
|
}
|
|
7237
7357
|
|
|
7238
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0
|
|
7358
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0/node_modules/@tsparticles/updater-rotate/browser/Options/Classes/Rotate.js
|
|
7239
7359
|
|
|
7240
7360
|
|
|
7241
7361
|
class Rotate extends ValueWithRandom {
|
|
@@ -7261,7 +7381,7 @@ class Rotate extends ValueWithRandom {
|
|
|
7261
7381
|
}
|
|
7262
7382
|
}
|
|
7263
7383
|
|
|
7264
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0
|
|
7384
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0/node_modules/@tsparticles/updater-rotate/browser/RotateUpdater.js
|
|
7265
7385
|
|
|
7266
7386
|
|
|
7267
7387
|
function updateRotate(particle, delta) {
|
|
@@ -7355,13 +7475,13 @@ class RotateUpdater {
|
|
|
7355
7475
|
}
|
|
7356
7476
|
}
|
|
7357
7477
|
|
|
7358
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0
|
|
7478
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0/node_modules/@tsparticles/updater-rotate/browser/index.js
|
|
7359
7479
|
|
|
7360
7480
|
async function loadRotateUpdater(engine, refresh = true) {
|
|
7361
7481
|
await engine.addParticleUpdater("rotate", (container) => new RotateUpdater(container), refresh);
|
|
7362
7482
|
}
|
|
7363
7483
|
|
|
7364
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0
|
|
7484
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsAudio.js
|
|
7365
7485
|
|
|
7366
7486
|
class SoundsAudio {
|
|
7367
7487
|
constructor() {
|
|
@@ -7386,7 +7506,7 @@ class SoundsAudio {
|
|
|
7386
7506
|
}
|
|
7387
7507
|
}
|
|
7388
7508
|
|
|
7389
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0
|
|
7509
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsNote.js
|
|
7390
7510
|
class SoundsNote {
|
|
7391
7511
|
constructor() {
|
|
7392
7512
|
this.duration = 500;
|
|
@@ -7405,7 +7525,7 @@ class SoundsNote {
|
|
|
7405
7525
|
}
|
|
7406
7526
|
}
|
|
7407
7527
|
|
|
7408
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0
|
|
7528
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsMelody.js
|
|
7409
7529
|
|
|
7410
7530
|
class SoundsMelody {
|
|
7411
7531
|
constructor() {
|
|
@@ -7437,7 +7557,7 @@ class SoundsMelody {
|
|
|
7437
7557
|
}
|
|
7438
7558
|
}
|
|
7439
7559
|
|
|
7440
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0
|
|
7560
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsEvent.js
|
|
7441
7561
|
|
|
7442
7562
|
|
|
7443
7563
|
|
|
@@ -7494,7 +7614,7 @@ class SoundsEvent {
|
|
|
7494
7614
|
}
|
|
7495
7615
|
}
|
|
7496
7616
|
|
|
7497
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0
|
|
7617
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsIcon.js
|
|
7498
7618
|
class SoundsIcon {
|
|
7499
7619
|
constructor() {
|
|
7500
7620
|
this.width = 24;
|
|
@@ -7519,7 +7639,7 @@ class SoundsIcon {
|
|
|
7519
7639
|
}
|
|
7520
7640
|
}
|
|
7521
7641
|
|
|
7522
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0
|
|
7642
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsIcons.js
|
|
7523
7643
|
|
|
7524
7644
|
class SoundsIcons {
|
|
7525
7645
|
constructor() {
|
|
@@ -7575,7 +7695,7 @@ class SoundsIcons {
|
|
|
7575
7695
|
}
|
|
7576
7696
|
}
|
|
7577
7697
|
|
|
7578
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0
|
|
7698
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsVolume.js
|
|
7579
7699
|
|
|
7580
7700
|
class SoundsVolume {
|
|
7581
7701
|
constructor() {
|
|
@@ -7608,7 +7728,7 @@ class SoundsVolume {
|
|
|
7608
7728
|
}
|
|
7609
7729
|
}
|
|
7610
7730
|
|
|
7611
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0
|
|
7731
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/Sounds.js
|
|
7612
7732
|
|
|
7613
7733
|
|
|
7614
7734
|
|
|
@@ -7640,7 +7760,7 @@ class Sounds {
|
|
|
7640
7760
|
}
|
|
7641
7761
|
}
|
|
7642
7762
|
|
|
7643
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0
|
|
7763
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0/node_modules/@tsparticles/plugin-sounds/browser/utils.js
|
|
7644
7764
|
const notes = new Map();
|
|
7645
7765
|
notes.set("C", [16.35, 32.7, 65.41, 130.81, 261.63, 523.25, 1046.5, 2093.0, 4186.01]);
|
|
7646
7766
|
notes.set("Db", [17.32, 34.65, 69.3, 138.59, 277.18, 554.37, 1108.73, 2217.46, 4434.92]);
|
|
@@ -7667,7 +7787,7 @@ function getNoteFrequency(note) {
|
|
|
7667
7787
|
return noteItem[parseInt(result[3] || "0")];
|
|
7668
7788
|
}
|
|
7669
7789
|
|
|
7670
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0
|
|
7790
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0/node_modules/@tsparticles/plugin-sounds/browser/SoundsInstance.js
|
|
7671
7791
|
|
|
7672
7792
|
|
|
7673
7793
|
function initImage(data) {
|
|
@@ -8026,7 +8146,7 @@ class SoundsInstance {
|
|
|
8026
8146
|
}
|
|
8027
8147
|
}
|
|
8028
8148
|
|
|
8029
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0
|
|
8149
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-sounds@3.0.0/node_modules/@tsparticles/plugin-sounds/browser/index.js
|
|
8030
8150
|
|
|
8031
8151
|
|
|
8032
8152
|
class SoundsPlugin {
|
|
@@ -8055,7 +8175,7 @@ async function loadSoundsPlugin(engine, refresh = true) {
|
|
|
8055
8175
|
await engine.addPlugin(new SoundsPlugin(engine), refresh);
|
|
8056
8176
|
}
|
|
8057
8177
|
|
|
8058
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@3.0.0
|
|
8178
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@3.0.0/node_modules/@tsparticles/updater-stroke-color/browser/Utils.js
|
|
8059
8179
|
|
|
8060
8180
|
function Utils_updateColorValue(delta, colorValue, valueAnimation, max, decrease) {
|
|
8061
8181
|
if (!colorValue ||
|
|
@@ -8120,7 +8240,7 @@ function updateStrokeColor(particle, delta) {
|
|
|
8120
8240
|
}
|
|
8121
8241
|
}
|
|
8122
8242
|
|
|
8123
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@3.0.0
|
|
8243
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@3.0.0/node_modules/@tsparticles/updater-stroke-color/browser/StrokeColorUpdater.js
|
|
8124
8244
|
|
|
8125
8245
|
|
|
8126
8246
|
class StrokeColorUpdater {
|
|
@@ -8155,7 +8275,7 @@ class StrokeColorUpdater {
|
|
|
8155
8275
|
}
|
|
8156
8276
|
}
|
|
8157
8277
|
|
|
8158
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@3.0.0
|
|
8278
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@3.0.0/node_modules/@tsparticles/updater-stroke-color/browser/index.js
|
|
8159
8279
|
|
|
8160
8280
|
async function loadStrokeColorUpdater(engine, refresh = true) {
|
|
8161
8281
|
await engine.addParticleUpdater("strokeColor", (container) => new StrokeColorUpdater(container), refresh);
|
|
@@ -8392,9 +8512,11 @@ const options = {
|
|
|
8392
8512
|
|
|
8393
8513
|
|
|
8394
8514
|
|
|
8515
|
+
|
|
8395
8516
|
async function loadFireworksPreset(engine, refresh = true) {
|
|
8396
8517
|
await loadBasic(engine, false);
|
|
8397
8518
|
await loadEmittersPlugin(engine, false);
|
|
8519
|
+
await loadEmittersShapeSquare(engine, false);
|
|
8398
8520
|
await loadSoundsPlugin(engine, false);
|
|
8399
8521
|
await loadLineShape(engine, false);
|
|
8400
8522
|
await loadRotateUpdater(engine, false);
|