@tsparticles/preset-confetti 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/package.json +15 -12
- package/report.html +2 -2
- package/tsparticles.preset.confetti.bundle.js +199 -169
- package/tsparticles.preset.confetti.bundle.min.js +1 -1
- package/tsparticles.preset.confetti.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.preset.confetti.js +5 -5
- package/tsparticles.preset.confetti.min.js +1 -1
- package/tsparticles.preset.confetti.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+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+plugin-emitters@3.0.0
|
|
6066
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterLife.js
|
|
6037
6067
|
|
|
6038
6068
|
class EmitterLife {
|
|
6039
6069
|
constructor() {
|
|
@@ -6058,7 +6088,7 @@ class EmitterLife {
|
|
|
6058
6088
|
}
|
|
6059
6089
|
}
|
|
6060
6090
|
|
|
6061
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6091
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterRate.js
|
|
6062
6092
|
|
|
6063
6093
|
class EmitterRate {
|
|
6064
6094
|
constructor() {
|
|
@@ -6078,7 +6108,7 @@ class EmitterRate {
|
|
|
6078
6108
|
}
|
|
6079
6109
|
}
|
|
6080
6110
|
|
|
6081
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6111
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShapeReplace.js
|
|
6082
6112
|
class EmitterShapeReplace {
|
|
6083
6113
|
constructor() {
|
|
6084
6114
|
this.color = false;
|
|
@@ -6097,7 +6127,7 @@ class EmitterShapeReplace {
|
|
|
6097
6127
|
}
|
|
6098
6128
|
}
|
|
6099
6129
|
|
|
6100
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6130
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterShape.js
|
|
6101
6131
|
|
|
6102
6132
|
|
|
6103
6133
|
class EmitterShape {
|
|
@@ -6120,7 +6150,7 @@ class EmitterShape {
|
|
|
6120
6150
|
}
|
|
6121
6151
|
}
|
|
6122
6152
|
|
|
6123
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6153
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/EmitterSize.js
|
|
6124
6154
|
class EmitterSize {
|
|
6125
6155
|
constructor() {
|
|
6126
6156
|
this.mode = "percent";
|
|
@@ -6143,7 +6173,7 @@ class EmitterSize {
|
|
|
6143
6173
|
}
|
|
6144
6174
|
}
|
|
6145
6175
|
|
|
6146
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6176
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Options/Classes/Emitter.js
|
|
6147
6177
|
|
|
6148
6178
|
|
|
6149
6179
|
|
|
@@ -6206,7 +6236,7 @@ class Emitter {
|
|
|
6206
6236
|
}
|
|
6207
6237
|
}
|
|
6208
6238
|
|
|
6209
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6239
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/EmitterInstance.js
|
|
6210
6240
|
|
|
6211
6241
|
|
|
6212
6242
|
|
|
@@ -6506,7 +6536,7 @@ class EmitterInstance {
|
|
|
6506
6536
|
}
|
|
6507
6537
|
}
|
|
6508
6538
|
|
|
6509
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6539
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/Emitters.js
|
|
6510
6540
|
|
|
6511
6541
|
|
|
6512
6542
|
|
|
@@ -6632,7 +6662,7 @@ class Emitters {
|
|
|
6632
6662
|
}
|
|
6633
6663
|
}
|
|
6634
6664
|
|
|
6635
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6665
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/ShapeManager.js
|
|
6636
6666
|
const shapeGeneratorss = new Map();
|
|
6637
6667
|
class ShapeManager {
|
|
6638
6668
|
constructor(engine) {
|
|
@@ -6651,7 +6681,7 @@ class ShapeManager {
|
|
|
6651
6681
|
}
|
|
6652
6682
|
}
|
|
6653
6683
|
|
|
6654
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0
|
|
6684
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-emitters@3.0.0/node_modules/@tsparticles/plugin-emitters/browser/index.js
|
|
6655
6685
|
|
|
6656
6686
|
|
|
6657
6687
|
|
|
@@ -6762,7 +6792,7 @@ async function loadEmittersPlugin(engine, refresh = true) {
|
|
|
6762
6792
|
|
|
6763
6793
|
|
|
6764
6794
|
|
|
6765
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0
|
|
6795
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0/node_modules/@tsparticles/updater-life/browser/Options/Classes/LifeDelay.js
|
|
6766
6796
|
|
|
6767
6797
|
class LifeDelay extends ValueWithRandom {
|
|
6768
6798
|
constructor() {
|
|
@@ -6780,7 +6810,7 @@ class LifeDelay extends ValueWithRandom {
|
|
|
6780
6810
|
}
|
|
6781
6811
|
}
|
|
6782
6812
|
|
|
6783
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0
|
|
6813
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0/node_modules/@tsparticles/updater-life/browser/Options/Classes/LifeDuration.js
|
|
6784
6814
|
|
|
6785
6815
|
class LifeDuration extends ValueWithRandom {
|
|
6786
6816
|
constructor() {
|
|
@@ -6798,7 +6828,7 @@ class LifeDuration extends ValueWithRandom {
|
|
|
6798
6828
|
}
|
|
6799
6829
|
}
|
|
6800
6830
|
|
|
6801
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0
|
|
6831
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0/node_modules/@tsparticles/updater-life/browser/Options/Classes/Life.js
|
|
6802
6832
|
|
|
6803
6833
|
|
|
6804
6834
|
class Life {
|
|
@@ -6819,7 +6849,7 @@ class Life {
|
|
|
6819
6849
|
}
|
|
6820
6850
|
}
|
|
6821
6851
|
|
|
6822
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0
|
|
6852
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0/node_modules/@tsparticles/updater-life/browser/LifeUpdater.js
|
|
6823
6853
|
|
|
6824
6854
|
|
|
6825
6855
|
class LifeUpdater {
|
|
@@ -6923,13 +6953,13 @@ class LifeUpdater {
|
|
|
6923
6953
|
}
|
|
6924
6954
|
}
|
|
6925
6955
|
|
|
6926
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0
|
|
6956
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-life@3.0.0/node_modules/@tsparticles/updater-life/browser/index.js
|
|
6927
6957
|
|
|
6928
6958
|
async function loadLifeUpdater(engine, refresh = true) {
|
|
6929
6959
|
await engine.addParticleUpdater("life", (container) => new LifeUpdater(container), refresh);
|
|
6930
6960
|
}
|
|
6931
6961
|
|
|
6932
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-motion@3.0.0
|
|
6962
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-motion@3.0.0/node_modules/@tsparticles/plugin-motion/browser/Options/Classes/MotionReduce.js
|
|
6933
6963
|
class MotionReduce {
|
|
6934
6964
|
constructor() {
|
|
6935
6965
|
this.factor = 4;
|
|
@@ -6948,7 +6978,7 @@ class MotionReduce {
|
|
|
6948
6978
|
}
|
|
6949
6979
|
}
|
|
6950
6980
|
|
|
6951
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-motion@3.0.0
|
|
6981
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-motion@3.0.0/node_modules/@tsparticles/plugin-motion/browser/Options/Classes/Motion.js
|
|
6952
6982
|
|
|
6953
6983
|
class Motion {
|
|
6954
6984
|
constructor() {
|
|
@@ -6966,7 +6996,7 @@ class Motion {
|
|
|
6966
6996
|
}
|
|
6967
6997
|
}
|
|
6968
6998
|
|
|
6969
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-motion@3.0.0
|
|
6999
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-motion@3.0.0/node_modules/@tsparticles/plugin-motion/browser/MotionInstance.js
|
|
6970
7000
|
|
|
6971
7001
|
class MotionInstance {
|
|
6972
7002
|
constructor(container, engine) {
|
|
@@ -7015,7 +7045,7 @@ class MotionInstance {
|
|
|
7015
7045
|
}
|
|
7016
7046
|
}
|
|
7017
7047
|
|
|
7018
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-motion@3.0.0
|
|
7048
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+plugin-motion@3.0.0/node_modules/@tsparticles/plugin-motion/browser/index.js
|
|
7019
7049
|
|
|
7020
7050
|
|
|
7021
7051
|
class MotionPlugin {
|
|
@@ -7044,7 +7074,7 @@ async function loadMotionPlugin(engine, refresh = true) {
|
|
|
7044
7074
|
await engine.addPlugin(new MotionPlugin(engine), refresh);
|
|
7045
7075
|
}
|
|
7046
7076
|
|
|
7047
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.0
|
|
7077
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.0/node_modules/@tsparticles/updater-roll/browser/Utils.js
|
|
7048
7078
|
|
|
7049
7079
|
function initParticle(particle) {
|
|
7050
7080
|
const rollOpt = particle.options.roll;
|
|
@@ -7100,7 +7130,7 @@ function updateRoll(particle, delta) {
|
|
|
7100
7130
|
}
|
|
7101
7131
|
}
|
|
7102
7132
|
|
|
7103
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.0
|
|
7133
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.0/node_modules/@tsparticles/updater-roll/browser/Options/Classes/RollLight.js
|
|
7104
7134
|
|
|
7105
7135
|
class RollLight {
|
|
7106
7136
|
constructor() {
|
|
@@ -7120,7 +7150,7 @@ class RollLight {
|
|
|
7120
7150
|
}
|
|
7121
7151
|
}
|
|
7122
7152
|
|
|
7123
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.0
|
|
7153
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.0/node_modules/@tsparticles/updater-roll/browser/Options/Classes/Roll.js
|
|
7124
7154
|
|
|
7125
7155
|
|
|
7126
7156
|
class Roll {
|
|
@@ -7152,7 +7182,7 @@ class Roll {
|
|
|
7152
7182
|
}
|
|
7153
7183
|
}
|
|
7154
7184
|
|
|
7155
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.0
|
|
7185
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.0/node_modules/@tsparticles/updater-roll/browser/RollUpdater.js
|
|
7156
7186
|
|
|
7157
7187
|
|
|
7158
7188
|
class RollUpdater {
|
|
@@ -7186,13 +7216,13 @@ class RollUpdater {
|
|
|
7186
7216
|
}
|
|
7187
7217
|
}
|
|
7188
7218
|
|
|
7189
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.0
|
|
7219
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-roll@3.0.0/node_modules/@tsparticles/updater-roll/browser/index.js
|
|
7190
7220
|
|
|
7191
7221
|
async function loadRollUpdater(engine, refresh = true) {
|
|
7192
7222
|
await engine.addParticleUpdater("roll", () => new RollUpdater(), refresh);
|
|
7193
7223
|
}
|
|
7194
7224
|
|
|
7195
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0
|
|
7225
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0/node_modules/@tsparticles/updater-rotate/browser/Options/Classes/RotateAnimation.js
|
|
7196
7226
|
|
|
7197
7227
|
class RotateAnimation {
|
|
7198
7228
|
constructor() {
|
|
@@ -7220,7 +7250,7 @@ class RotateAnimation {
|
|
|
7220
7250
|
}
|
|
7221
7251
|
}
|
|
7222
7252
|
|
|
7223
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0
|
|
7253
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0/node_modules/@tsparticles/updater-rotate/browser/Options/Classes/Rotate.js
|
|
7224
7254
|
|
|
7225
7255
|
|
|
7226
7256
|
class Rotate extends ValueWithRandom {
|
|
@@ -7246,7 +7276,7 @@ class Rotate extends ValueWithRandom {
|
|
|
7246
7276
|
}
|
|
7247
7277
|
}
|
|
7248
7278
|
|
|
7249
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0
|
|
7279
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0/node_modules/@tsparticles/updater-rotate/browser/RotateUpdater.js
|
|
7250
7280
|
|
|
7251
7281
|
|
|
7252
7282
|
function updateRotate(particle, delta) {
|
|
@@ -7340,13 +7370,13 @@ class RotateUpdater {
|
|
|
7340
7370
|
}
|
|
7341
7371
|
}
|
|
7342
7372
|
|
|
7343
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0
|
|
7373
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-rotate@3.0.0/node_modules/@tsparticles/updater-rotate/browser/index.js
|
|
7344
7374
|
|
|
7345
7375
|
async function loadRotateUpdater(engine, refresh = true) {
|
|
7346
7376
|
await engine.addParticleUpdater("rotate", (container) => new RotateUpdater(container), refresh);
|
|
7347
7377
|
}
|
|
7348
7378
|
|
|
7349
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-square@3.0.0
|
|
7379
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-square@3.0.0/node_modules/@tsparticles/shape-square/browser/SquareDrawer.js
|
|
7350
7380
|
const fixFactor = Math.sqrt(2);
|
|
7351
7381
|
class SquareDrawer {
|
|
7352
7382
|
draw(data) {
|
|
@@ -7358,13 +7388,13 @@ class SquareDrawer {
|
|
|
7358
7388
|
}
|
|
7359
7389
|
}
|
|
7360
7390
|
|
|
7361
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-square@3.0.0
|
|
7391
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+shape-square@3.0.0/node_modules/@tsparticles/shape-square/browser/index.js
|
|
7362
7392
|
|
|
7363
7393
|
async function loadSquareShape(engine, refresh = true) {
|
|
7364
7394
|
await engine.addShape(["edge", "square"], new SquareDrawer(), refresh);
|
|
7365
7395
|
}
|
|
7366
7396
|
|
|
7367
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.0
|
|
7397
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.0/node_modules/@tsparticles/updater-tilt/browser/Options/Classes/TiltAnimation.js
|
|
7368
7398
|
|
|
7369
7399
|
class TiltAnimation {
|
|
7370
7400
|
constructor() {
|
|
@@ -7392,7 +7422,7 @@ class TiltAnimation {
|
|
|
7392
7422
|
}
|
|
7393
7423
|
}
|
|
7394
7424
|
|
|
7395
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.0
|
|
7425
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.0/node_modules/@tsparticles/updater-tilt/browser/Options/Classes/Tilt.js
|
|
7396
7426
|
|
|
7397
7427
|
|
|
7398
7428
|
class Tilt extends ValueWithRandom {
|
|
@@ -7418,7 +7448,7 @@ class Tilt extends ValueWithRandom {
|
|
|
7418
7448
|
}
|
|
7419
7449
|
}
|
|
7420
7450
|
|
|
7421
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.0
|
|
7451
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.0/node_modules/@tsparticles/updater-tilt/browser/Utils.js
|
|
7422
7452
|
function updateTilt(particle, delta) {
|
|
7423
7453
|
if (!particle.tilt || !particle.options.tilt) {
|
|
7424
7454
|
return;
|
|
@@ -7447,7 +7477,7 @@ function updateTilt(particle, delta) {
|
|
|
7447
7477
|
}
|
|
7448
7478
|
}
|
|
7449
7479
|
|
|
7450
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.0
|
|
7480
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.0/node_modules/@tsparticles/updater-tilt/browser/TiltUpdater.js
|
|
7451
7481
|
|
|
7452
7482
|
|
|
7453
7483
|
|
|
@@ -7516,13 +7546,13 @@ class TiltUpdater {
|
|
|
7516
7546
|
}
|
|
7517
7547
|
}
|
|
7518
7548
|
|
|
7519
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.0
|
|
7549
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-tilt@3.0.0/node_modules/@tsparticles/updater-tilt/browser/index.js
|
|
7520
7550
|
|
|
7521
7551
|
async function loadTiltUpdater(engine, refresh = true) {
|
|
7522
7552
|
await engine.addParticleUpdater("tilt", (container) => new TiltUpdater(container), refresh);
|
|
7523
7553
|
}
|
|
7524
7554
|
|
|
7525
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.0
|
|
7555
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.0/node_modules/@tsparticles/updater-wobble/browser/Options/Classes/WobbleSpeed.js
|
|
7526
7556
|
|
|
7527
7557
|
class WobbleSpeed {
|
|
7528
7558
|
constructor() {
|
|
@@ -7542,7 +7572,7 @@ class WobbleSpeed {
|
|
|
7542
7572
|
}
|
|
7543
7573
|
}
|
|
7544
7574
|
|
|
7545
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.0
|
|
7575
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.0/node_modules/@tsparticles/updater-wobble/browser/Options/Classes/Wobble.js
|
|
7546
7576
|
|
|
7547
7577
|
|
|
7548
7578
|
class Wobble {
|
|
@@ -7578,7 +7608,7 @@ class Wobble {
|
|
|
7578
7608
|
}
|
|
7579
7609
|
}
|
|
7580
7610
|
|
|
7581
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.0
|
|
7611
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.0/node_modules/@tsparticles/updater-wobble/browser/Utils.js
|
|
7582
7612
|
function updateWobble(particle, delta) {
|
|
7583
7613
|
const { wobble: wobbleOptions } = particle.options, { wobble } = particle;
|
|
7584
7614
|
if (!wobbleOptions?.enable || !wobble) {
|
|
@@ -7593,7 +7623,7 @@ function updateWobble(particle, delta) {
|
|
|
7593
7623
|
position.y += distance * Math.abs(Math.sin(wobble.angle));
|
|
7594
7624
|
}
|
|
7595
7625
|
|
|
7596
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.0
|
|
7626
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.0/node_modules/@tsparticles/updater-wobble/browser/WobbleUpdater.js
|
|
7597
7627
|
|
|
7598
7628
|
|
|
7599
7629
|
|
|
@@ -7638,7 +7668,7 @@ class WobbleUpdater {
|
|
|
7638
7668
|
}
|
|
7639
7669
|
}
|
|
7640
7670
|
|
|
7641
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.0
|
|
7671
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@tsparticles+updater-wobble@3.0.0/node_modules/@tsparticles/updater-wobble/browser/index.js
|
|
7642
7672
|
|
|
7643
7673
|
async function loadWobbleUpdater(engine, refresh = true) {
|
|
7644
7674
|
await engine.addParticleUpdater("wobble", (container) => new WobbleUpdater(container), refresh);
|