@tsparticles/preset-confetti-falling 4.0.0-alpha.5

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.
Files changed (100) hide show
  1. package/107.min.js +1 -0
  2. package/126.min.js +1 -0
  3. package/158.min.js +1 -0
  4. package/17.min.js +1 -0
  5. package/182.min.js +1 -0
  6. package/204.min.js +1 -0
  7. package/231.min.js +1 -0
  8. package/254.min.js +1 -0
  9. package/278.min.js +1 -0
  10. package/28.min.js +1 -0
  11. package/3.min.js +1 -0
  12. package/302.min.js +1 -0
  13. package/316.min.js +1 -0
  14. package/337.min.js +1 -0
  15. package/382.min.js +1 -0
  16. package/406.min.js +1 -0
  17. package/430.min.js +1 -0
  18. package/470.min.js +1 -0
  19. package/508.min.js +1 -0
  20. package/530.min.js +1 -0
  21. package/558.min.js +1 -0
  22. package/596.min.js +1 -0
  23. package/6.min.js +1 -0
  24. package/637.min.js +1 -0
  25. package/646.min.js +1 -0
  26. package/676.min.js +1 -0
  27. package/694.min.js +1 -0
  28. package/730.min.js +1 -0
  29. package/740.min.js +1 -0
  30. package/754.min.js +1 -0
  31. package/830.min.js +1 -0
  32. package/844.min.js +1 -0
  33. package/85.min.js +1 -0
  34. package/878.min.js +1 -0
  35. package/922.min.js +1 -0
  36. package/930.min.js +1 -0
  37. package/952.min.js +1 -0
  38. package/LICENSE +21 -0
  39. package/README.md +104 -0
  40. package/browser/bundle.js +2 -0
  41. package/browser/index.js +29 -0
  42. package/browser/options.js +87 -0
  43. package/browser/package.json +1 -0
  44. package/cjs/bundle.js +2 -0
  45. package/cjs/index.js +29 -0
  46. package/cjs/options.js +87 -0
  47. package/cjs/package.json +1 -0
  48. package/dist_browser_options_js.js +30 -0
  49. package/esm/bundle.js +2 -0
  50. package/esm/index.js +29 -0
  51. package/esm/options.js +87 -0
  52. package/esm/package.json +1 -0
  53. package/node_modules_pnpm_tsparticles_basic_4_0_0-beta_1_node_modules_tsparticles_basic_browser_index_js.js +30 -0
  54. package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-8932d7.js +30 -0
  55. package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-a0aea9.js +30 -0
  56. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-1179c3.js +30 -0
  57. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-1737bf.js +30 -0
  58. package/node_modules_pnpm_tsparticles_plugin-motion_4_0_0-beta_1_node_modules_tsparticles_plugin-moti-0ff566.js +50 -0
  59. package/node_modules_pnpm_tsparticles_plugin-motion_4_0_0-beta_1_node_modules_tsparticles_plugin-moti-861f30.js +30 -0
  60. package/node_modules_pnpm_tsparticles_plugin-motion_4_0_0-beta_1_node_modules_tsparticles_plugin-moti-899da2.js +30 -0
  61. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugin-move_b-aa7108.js +30 -0
  62. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugin-move_b-c23e73.js +30 -0
  63. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_1_node_modules_tsparticles_plugin-r-0f881a.js +30 -0
  64. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_1_node_modules_tsparticles_plugin-r-ae3d6b.js +30 -0
  65. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_1_node_modules_tsparticles_shape-circle-07826a.js +40 -0
  66. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_1_node_modules_tsparticles_shape-circle-c2187f.js +30 -0
  67. package/node_modules_pnpm_tsparticles_shape-square_4_0_0-beta_1_node_modules_tsparticles_shape-square-53c1de.js +40 -0
  68. package/node_modules_pnpm_tsparticles_shape-square_4_0_0-beta_1_node_modules_tsparticles_shape-square-c4fdaa.js +30 -0
  69. package/node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-beta_1_node_modules_tsparticles_update-75868d.js +30 -0
  70. package/node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-beta_1_node_modules_tsparticles_update-7cca03.js +30 -0
  71. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_1_node_modules_tsparticles_updater-o-138fb5.js +30 -0
  72. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_1_node_modules_tsparticles_updater-o-8a311f.js +30 -0
  73. package/node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_1_node_modules_tsparticles_updater-265a6a.js +30 -0
  74. package/node_modules_pnpm_tsparticles_updater-roll_4_0_0-beta_1_node_modules_tsparticles_updater-roll-17906d.js +30 -0
  75. package/node_modules_pnpm_tsparticles_updater-roll_4_0_0-beta_1_node_modules_tsparticles_updater-roll-2ae6b1.js +70 -0
  76. package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-beta_1_node_modules_tsparticles_updater-ro-82c0df.js +30 -0
  77. package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-beta_1_node_modules_tsparticles_updater-ro-f03001.js +50 -0
  78. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_1_node_modules_tsparticles_updater-size-124f3f.js +30 -0
  79. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_1_node_modules_tsparticles_updater-size-cbf46f.js +30 -0
  80. package/node_modules_pnpm_tsparticles_updater-tilt_4_0_0-beta_1_node_modules_tsparticles_updater-tilt-4d0524.js +60 -0
  81. package/node_modules_pnpm_tsparticles_updater-tilt_4_0_0-beta_1_node_modules_tsparticles_updater-tilt-e66f0d.js +30 -0
  82. package/node_modules_pnpm_tsparticles_updater-wobble_4_0_0-beta_1_node_modules_tsparticles_updater-wo-30a54c.js +60 -0
  83. package/node_modules_pnpm_tsparticles_updater-wobble_4_0_0-beta_1_node_modules_tsparticles_updater-wo-e6d8f0.js +30 -0
  84. package/package.json +116 -0
  85. package/palettes_confetti_dist_browser_index_js.js +30 -0
  86. package/palettes_confetti_dist_browser_options_js.js +30 -0
  87. package/report.html +95 -0
  88. package/tsparticles.preset.confettiFalling.bundle.js +957 -0
  89. package/tsparticles.preset.confettiFalling.bundle.min.js +2 -0
  90. package/tsparticles.preset.confettiFalling.js +417 -0
  91. package/tsparticles.preset.confettiFalling.min.js +2 -0
  92. package/types/bundle.d.ts +2 -0
  93. package/types/index.d.ts +2 -0
  94. package/types/options.d.ts +2 -0
  95. package/umd/bundle.js +17 -0
  96. package/umd/index.js +76 -0
  97. package/umd/options.js +100 -0
  98. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-beta_1_node_modules_tsparticles_engine_bro-0bb20b.js +100 -0
  99. package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugi-2dea06.js +40 -0
  100. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_1_node_modules_tsparticles-a5ec2f.js +80 -0
package/cjs/options.js ADDED
@@ -0,0 +1,87 @@
1
+ export const options = {
2
+ palette: "confetti",
3
+ background: {
4
+ color: {
5
+ value: "",
6
+ },
7
+ },
8
+ fullScreen: {
9
+ enable: true,
10
+ zIndex: 100,
11
+ },
12
+ particles: {
13
+ number: {
14
+ value: 200,
15
+ density: {
16
+ enable: true,
17
+ },
18
+ },
19
+ shape: {
20
+ type: ["square", "circle"],
21
+ },
22
+ size: {
23
+ value: {
24
+ min: 3,
25
+ max: 5,
26
+ },
27
+ },
28
+ move: {
29
+ enable: true,
30
+ speed: 5,
31
+ direction: "bottom",
32
+ outModes: "out",
33
+ },
34
+ rotate: {
35
+ value: {
36
+ min: 0,
37
+ max: 360,
38
+ },
39
+ direction: "random",
40
+ move: true,
41
+ animation: {
42
+ enable: true,
43
+ speed: 60,
44
+ },
45
+ },
46
+ tilt: {
47
+ direction: "random",
48
+ enable: true,
49
+ value: {
50
+ min: 0,
51
+ max: 360,
52
+ },
53
+ animation: {
54
+ enable: true,
55
+ speed: 60,
56
+ },
57
+ },
58
+ roll: {
59
+ darken: {
60
+ enable: true,
61
+ value: 30,
62
+ },
63
+ enlighten: {
64
+ enable: true,
65
+ value: 30,
66
+ },
67
+ enable: true,
68
+ mode: "both",
69
+ speed: {
70
+ min: 15,
71
+ max: 25,
72
+ },
73
+ },
74
+ wobble: {
75
+ distance: 30,
76
+ enable: true,
77
+ move: true,
78
+ speed: {
79
+ min: -15,
80
+ max: 15,
81
+ },
82
+ },
83
+ },
84
+ motion: {
85
+ disable: true,
86
+ },
87
+ };
@@ -0,0 +1 @@
1
+ { "type": "commonjs" }
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.5
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_confetti_falling"] = this["webpackChunk_tsparticles_preset_confetti_falling"] || []).push([["dist_browser_options_js"],{
19
+
20
+ /***/ "./dist/browser/options.js"
21
+ /*!*********************************!*\
22
+ !*** ./dist/browser/options.js ***!
23
+ \*********************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ options: () => (/* binding */ options)\n/* harmony export */ });\nconst options = {\n palette: \"confetti\",\n background: {\n color: {\n value: \"\"\n }\n },\n fullScreen: {\n enable: true,\n zIndex: 100\n },\n particles: {\n number: {\n value: 200,\n density: {\n enable: true\n }\n },\n shape: {\n type: [\n \"square\",\n \"circle\"\n ]\n },\n size: {\n value: {\n min: 3,\n max: 5\n }\n },\n move: {\n enable: true,\n speed: 5,\n direction: \"bottom\",\n outModes: \"out\"\n },\n rotate: {\n value: {\n min: 0,\n max: 360\n },\n direction: \"random\",\n move: true,\n animation: {\n enable: true,\n speed: 60\n }\n },\n tilt: {\n direction: \"random\",\n enable: true,\n value: {\n min: 0,\n max: 360\n },\n animation: {\n enable: true,\n speed: 60\n }\n },\n roll: {\n darken: {\n enable: true,\n value: 30\n },\n enlighten: {\n enable: true,\n value: 30\n },\n enable: true,\n mode: \"both\",\n speed: {\n min: 15,\n max: 25\n }\n },\n wobble: {\n distance: 30,\n enable: true,\n move: true,\n speed: {\n min: -15,\n max: 15\n }\n }\n },\n motion: {\n disable: true\n }\n};\n\n\n//# sourceURL=webpack://@tsparticles/preset-confetti-falling/./dist/browser/options.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
package/esm/bundle.js ADDED
@@ -0,0 +1,2 @@
1
+ export { loadConfettiFallingPreset } from "./index.js";
2
+ export { tsParticles } from "@tsparticles/engine";
package/esm/index.js ADDED
@@ -0,0 +1,29 @@
1
+ const presetNames = ["confettiFalling", "confett-falling"];
2
+ export async function loadConfettiFallingPreset(engine) {
3
+ await engine.pluginManager.register(async (e) => {
4
+ const [{ loadBasic }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
5
+ import("@tsparticles/basic"),
6
+ import("@tsparticles/plugin-motion"),
7
+ import("@tsparticles/updater-rotate"),
8
+ import("@tsparticles/shape-square"),
9
+ import("@tsparticles/updater-tilt"),
10
+ import("@tsparticles/updater-wobble"),
11
+ import("@tsparticles/updater-roll"),
12
+ import("@tsparticles/palette-confetti"),
13
+ import("./options.js"),
14
+ ]);
15
+ await Promise.all([
16
+ loadBasic(e),
17
+ loadConfettiPalette(e),
18
+ loadSquareShape(e),
19
+ loadMotionPlugin(e),
20
+ loadWobbleUpdater(e),
21
+ loadRollUpdater(e),
22
+ loadRotateUpdater(e),
23
+ loadTiltUpdater(e),
24
+ ]);
25
+ presetNames.forEach(name => {
26
+ e.pluginManager.addPreset(name, options, false);
27
+ });
28
+ });
29
+ }
package/esm/options.js ADDED
@@ -0,0 +1,87 @@
1
+ export const options = {
2
+ palette: "confetti",
3
+ background: {
4
+ color: {
5
+ value: "",
6
+ },
7
+ },
8
+ fullScreen: {
9
+ enable: true,
10
+ zIndex: 100,
11
+ },
12
+ particles: {
13
+ number: {
14
+ value: 200,
15
+ density: {
16
+ enable: true,
17
+ },
18
+ },
19
+ shape: {
20
+ type: ["square", "circle"],
21
+ },
22
+ size: {
23
+ value: {
24
+ min: 3,
25
+ max: 5,
26
+ },
27
+ },
28
+ move: {
29
+ enable: true,
30
+ speed: 5,
31
+ direction: "bottom",
32
+ outModes: "out",
33
+ },
34
+ rotate: {
35
+ value: {
36
+ min: 0,
37
+ max: 360,
38
+ },
39
+ direction: "random",
40
+ move: true,
41
+ animation: {
42
+ enable: true,
43
+ speed: 60,
44
+ },
45
+ },
46
+ tilt: {
47
+ direction: "random",
48
+ enable: true,
49
+ value: {
50
+ min: 0,
51
+ max: 360,
52
+ },
53
+ animation: {
54
+ enable: true,
55
+ speed: 60,
56
+ },
57
+ },
58
+ roll: {
59
+ darken: {
60
+ enable: true,
61
+ value: 30,
62
+ },
63
+ enlighten: {
64
+ enable: true,
65
+ value: 30,
66
+ },
67
+ enable: true,
68
+ mode: "both",
69
+ speed: {
70
+ min: 15,
71
+ max: 25,
72
+ },
73
+ },
74
+ wobble: {
75
+ distance: 30,
76
+ enable: true,
77
+ move: true,
78
+ speed: {
79
+ min: -15,
80
+ max: 15,
81
+ },
82
+ },
83
+ },
84
+ motion: {
85
+ disable: true,
86
+ },
87
+ };
@@ -0,0 +1 @@
1
+ { "type": "module" }
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.5
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_confetti_falling"] = this["webpackChunk_tsparticles_preset_confetti_falling"] || []).push([["node_modules_pnpm_tsparticles_basic_4_0_0-beta_1_node_modules_tsparticles_basic_browser_index_js"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+basic@4.0.0-beta.1/node_modules/@tsparticles/basic/browser/index.js"
21
+ /*!*****************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+basic@4.0.0-beta.1/node_modules/@tsparticles/basic/browser/index.js ***!
23
+ \*****************************************************************************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadBasic: () => (/* binding */ loadBasic)\n/* harmony export */ });\nasync function loadBasic(engine) {\n engine.checkVersion(\"4.0.0-beta.1\");\n await engine.pluginManager.register(async (e) => {\n const [{ loadHexColorPlugin }, { loadHslColorPlugin }, { loadRgbColorPlugin }, { loadMovePlugin }, { loadCircleShape }, { loadFillColorUpdater }, { loadOpacityUpdater }, { loadOutModesUpdater }, { loadSizeUpdater },] = await Promise.all([\n __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-8932d7\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/plugin-hex-color */ \"../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-hex-color/browser/index.js\")),\n __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-1737bf\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/plugin-hsl-color */ \"../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-hsl-color/browser/index.js\")),\n __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_1_node_modules_tsparticles_plugin-r-ae3d6b\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/plugin-rgb-color */ \"../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-rgb-color/browser/index.js\")),\n __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugin-move_b-aa7108\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/plugin-move */ \"../../node_modules/.pnpm/@tsparticles+plugin-move@4.0.0-beta.1/node_modules/@tsparticles/plugin-move/browser/index.js\")),\n __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_1_node_modules_tsparticles_shape-circle-c2187f\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/shape-circle */ \"../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-beta.1/node_modules/@tsparticles/shape-circle/browser/index.js\")),\n __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-beta_1_node_modules_tsparticles_update-7cca03\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/updater-fill-color */ \"../../node_modules/.pnpm/@tsparticles+updater-fill-color@4.0.0-beta.1/node_modules/@tsparticles/updater-fill-color/browser/index.js\")),\n __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_1_node_modules_tsparticles_updater-o-8a311f\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/updater-opacity */ \"../../node_modules/.pnpm/@tsparticles+updater-opacity@4.0.0-beta.1/node_modules/@tsparticles/updater-opacity/browser/index.js\")),\n __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_1_node_modules_tsparticles_updater-265a6a\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/updater-out-modes */ \"../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/index.js\")),\n __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_1_node_modules_tsparticles_updater-size-124f3f\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/updater-size */ \"../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-beta.1/node_modules/@tsparticles/updater-size/browser/index.js\")),\n ]);\n await Promise.all([\n loadHexColorPlugin(e),\n loadHslColorPlugin(e),\n loadRgbColorPlugin(e),\n loadMovePlugin(e),\n loadCircleShape(e),\n loadFillColorUpdater(e),\n loadOpacityUpdater(e),\n loadOutModesUpdater(e),\n loadSizeUpdater(e),\n ]);\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-confetti-falling/../../node_modules/.pnpm/@tsparticles+basic@4.0.0-beta.1/node_modules/@tsparticles/basic/browser/index.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.5
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_confetti_falling"] = this["webpackChunk_tsparticles_preset_confetti_falling"] || []).push([["node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-8932d7"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-hex-color/browser/index.js"
21
+ /*!***************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-hex-color/browser/index.js ***!
23
+ \***************************************************************************************************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadHexColorPlugin: () => (/* binding */ loadHexColorPlugin)\n/* harmony export */ });\nasync function loadHexColorPlugin(engine) {\n engine.checkVersion(\"4.0.0-beta.1\");\n await engine.pluginManager.register(async (e) => {\n const { HexColorManager } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-a0aea9\").then(__webpack_require__.bind(__webpack_require__, /*! ./HexColorManager.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js\"));\n e.pluginManager.addColorManager(\"hex\", new HexColorManager());\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-confetti-falling/../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-hex-color/browser/index.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.5
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_confetti_falling"] = this["webpackChunk_tsparticles_preset_confetti_falling"] || []).push([["node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-a0aea9"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js"
21
+ /*!*************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js ***!
23
+ \*************************************************************************************************************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ HexColorManager: () => (/* binding */ HexColorManager)\n/* harmony export */ });\nvar RgbIndexes;\n(function (RgbIndexes) {\n RgbIndexes[RgbIndexes[\"r\"] = 1] = \"r\";\n RgbIndexes[RgbIndexes[\"g\"] = 2] = \"g\";\n RgbIndexes[RgbIndexes[\"b\"] = 3] = \"b\";\n RgbIndexes[RgbIndexes[\"a\"] = 4] = \"a\";\n})(RgbIndexes || (RgbIndexes = {}));\nconst shorthandHexRegex = /^#?([a-f\\d])([a-f\\d])([a-f\\d])([a-f\\d])?$/i, hexRegex = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})?$/i, hexRadix = 16, defaultAlpha = 1, alphaFactor = 0xff;\nclass HexColorManager {\n accepts(input) {\n return input.startsWith(\"#\");\n }\n handleColor(color) {\n return this._parseString(color.value);\n }\n handleRangeColor(color) {\n return this._parseString(color.value);\n }\n parseString(input) {\n return this._parseString(input);\n }\n _parseString(hexColor) {\n if (typeof hexColor !== \"string\" || !this.accepts(hexColor)) {\n return;\n }\n const hexFixed = hexColor.replace(shorthandHexRegex, (_, r, g, b, a) => {\n return r + r + g + g + b + b + (a === undefined ? \"\" : a + a);\n }), result = hexRegex.exec(hexFixed);\n return result\n ? {\n a: result[RgbIndexes.a] ? Number.parseInt(result[RgbIndexes.a], hexRadix) / alphaFactor : defaultAlpha,\n b: Number.parseInt(result[RgbIndexes.b] ?? \"0\", hexRadix),\n g: Number.parseInt(result[RgbIndexes.g] ?? \"0\", hexRadix),\n r: Number.parseInt(result[RgbIndexes.r] ?? \"0\", hexRadix),\n }\n : undefined;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-confetti-falling/../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.5
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_confetti_falling"] = this["webpackChunk_tsparticles_preset_confetti_falling"] || []).push([["node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-1179c3"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js"
21
+ /*!*************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js ***!
23
+ \*************************************************************************************************************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ HslColorManager: () => (/* binding */ HslColorManager)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nvar HslIndexes;\n(function (HslIndexes) {\n HslIndexes[HslIndexes[\"h\"] = 1] = \"h\";\n HslIndexes[HslIndexes[\"s\"] = 2] = \"s\";\n HslIndexes[HslIndexes[\"l\"] = 3] = \"l\";\n HslIndexes[HslIndexes[\"a\"] = 5] = \"a\";\n})(HslIndexes || (HslIndexes = {}));\nconst hslRegex = /hsla?\\(\\s*(\\d+)\\s*[\\s,]\\s*(\\d+)%\\s*[\\s,]\\s*(\\d+)%\\s*([\\s,]\\s*(0|1|0?\\.\\d+|(\\d{1,3})%)\\s*)?\\)/i;\nclass HslColorManager {\n accepts(input) {\n return input.startsWith(\"hsl\");\n }\n handleColor(color) {\n const colorValue = color.value, hslColor = colorValue.hsl ?? color.value;\n if (!(\"h\" in hslColor) || !(\"s\" in hslColor) || !(\"l\" in hslColor)) {\n return;\n }\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.hslToRgb)(hslColor);\n }\n handleRangeColor(color) {\n const colorValue = color.value, hslColor = colorValue.hsl ?? color.value;\n if (!(\"h\" in hslColor) || !(\"s\" in hslColor) || !(\"l\" in hslColor)) {\n return;\n }\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.hslToRgb)({\n h: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(hslColor.h),\n l: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(hslColor.l),\n s: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(hslColor.s),\n });\n }\n parseString(input) {\n if (!this.accepts(input)) {\n return;\n }\n const result = hslRegex.exec(input), minLength = 4, defaultAlpha = 1, radix = 10;\n return result\n ? (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.hslaToRgba)({\n a: result.length > minLength ? (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.parseAlpha)(result[HslIndexes.a]) : defaultAlpha,\n h: Number.parseInt(result[HslIndexes.h] ?? \"0\", radix),\n l: Number.parseInt(result[HslIndexes.l] ?? \"0\", radix),\n s: Number.parseInt(result[HslIndexes.s] ?? \"0\", radix),\n })\n : undefined;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-confetti-falling/../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.5
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_confetti_falling"] = this["webpackChunk_tsparticles_preset_confetti_falling"] || []).push([["node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-1737bf"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-hsl-color/browser/index.js"
21
+ /*!***************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-hsl-color/browser/index.js ***!
23
+ \***************************************************************************************************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadHslColorPlugin: () => (/* binding */ loadHslColorPlugin)\n/* harmony export */ });\nasync function loadHslColorPlugin(engine) {\n engine.checkVersion(\"4.0.0-beta.1\");\n await engine.pluginManager.register(async (e) => {\n const { HslColorManager } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-1179c3\").then(__webpack_require__.bind(__webpack_require__, /*! ./HslColorManager.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js\"));\n e.pluginManager.addColorManager(\"hsl\", new HslColorManager());\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-confetti-falling/../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-hsl-color/browser/index.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
@@ -0,0 +1,50 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.5
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_confetti_falling"] = this["webpackChunk_tsparticles_preset_confetti_falling"] || []).push([["node_modules_pnpm_tsparticles_plugin-motion_4_0_0-beta_1_node_modules_tsparticles_plugin-moti-0ff566"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/MotionPlugin.js"
21
+ /*!****************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/MotionPlugin.js ***!
23
+ \****************************************************************************************************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ MotionPlugin: () => (/* binding */ MotionPlugin)\n/* harmony export */ });\n/* harmony import */ var _Options_Classes_Motion_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Options/Classes/Motion.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/Options/Classes/Motion.js\");\n\nclass MotionPlugin {\n id = \"motion\";\n async getPlugin(container) {\n const { MotionPluginInstance } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-motion_4_0_0-beta_1_node_modules_tsparticles_plugin-moti-861f30\").then(__webpack_require__.bind(__webpack_require__, /*! ./MotionPluginInstance.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/MotionPluginInstance.js\"));\n return new MotionPluginInstance(container);\n }\n loadOptions(_container, options, source) {\n if (!this.needsPlugin()) {\n return;\n }\n let motionOptions = options.motion;\n if (!motionOptions?.load) {\n options.motion = motionOptions = new _Options_Classes_Motion_js__WEBPACK_IMPORTED_MODULE_0__.Motion();\n }\n motionOptions.load(source?.motion);\n }\n needsPlugin() {\n return true;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-confetti-falling/../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/MotionPlugin.js?\n}");
27
+
28
+ /***/ },
29
+
30
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/Options/Classes/Motion.js"
31
+ /*!**************************************************************************************************************************************************!*\
32
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/Options/Classes/Motion.js ***!
33
+ \**************************************************************************************************************************************************/
34
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35
+
36
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Motion: () => (/* binding */ Motion)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _MotionReduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./MotionReduce.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/Options/Classes/MotionReduce.js\");\n\n\nclass Motion {\n disable;\n reduce;\n constructor() {\n this.disable = true;\n this.reduce = new _MotionReduce_js__WEBPACK_IMPORTED_MODULE_1__.MotionReduce();\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.disable !== undefined) {\n this.disable = data.disable;\n }\n this.reduce.load(data.reduce);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-confetti-falling/../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/Options/Classes/Motion.js?\n}");
37
+
38
+ /***/ },
39
+
40
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/Options/Classes/MotionReduce.js"
41
+ /*!********************************************************************************************************************************************************!*\
42
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/Options/Classes/MotionReduce.js ***!
43
+ \********************************************************************************************************************************************************/
44
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45
+
46
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ MotionReduce: () => (/* binding */ MotionReduce)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass MotionReduce {\n factor;\n value;\n constructor() {\n this.factor = 4;\n this.value = true;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.factor !== undefined) {\n this.factor = data.factor;\n }\n if (data.value !== undefined) {\n this.value = data.value;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-confetti-falling/../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/Options/Classes/MotionReduce.js?\n}");
47
+
48
+ /***/ }
49
+
50
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.5
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_confetti_falling"] = this["webpackChunk_tsparticles_preset_confetti_falling"] || []).push([["node_modules_pnpm_tsparticles_plugin-motion_4_0_0-beta_1_node_modules_tsparticles_plugin-moti-861f30"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/MotionPluginInstance.js"
21
+ /*!************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/MotionPluginInstance.js ***!
23
+ \************************************************************************************************************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ MotionPluginInstance: () => (/* binding */ MotionPluginInstance)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nconst defaultFactor = 1, defaultReduce = 1, disableReduce = 0, identity = 1;\nclass MotionPluginInstance {\n _container;\n constructor(container) {\n this._container = container;\n }\n async init() {\n const container = this._container, options = container.actualOptions.motion;\n if (!(options && (options.disable || options.reduce.value))) {\n container.retina.reduceFactor = 1;\n return;\n }\n const mediaQuery = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.safeMatchMedia)(\"(prefers-reduced-motion: reduce)\");\n if (!mediaQuery) {\n container.retina.reduceFactor = defaultFactor;\n return;\n }\n this._handleMotionChange(mediaQuery);\n const handleChange = () => {\n void (async () => {\n this._handleMotionChange(mediaQuery);\n try {\n await container.refresh();\n }\n catch {\n }\n })();\n };\n mediaQuery.addEventListener(\"change\", handleChange);\n await Promise.resolve();\n }\n _handleMotionChange = mediaQuery => {\n const container = this._container, motion = container.actualOptions.motion;\n if (!motion) {\n return;\n }\n if (mediaQuery.matches) {\n if (motion.disable) {\n container.retina.reduceFactor = disableReduce;\n }\n else {\n container.retina.reduceFactor = motion.reduce.value ? identity / motion.reduce.factor : defaultFactor;\n }\n }\n else {\n container.retina.reduceFactor = defaultReduce;\n }\n };\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-confetti-falling/../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/MotionPluginInstance.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.5
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_confetti_falling"] = this["webpackChunk_tsparticles_preset_confetti_falling"] || []).push([["node_modules_pnpm_tsparticles_plugin-motion_4_0_0-beta_1_node_modules_tsparticles_plugin-moti-899da2"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/index.js"
21
+ /*!*********************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/index.js ***!
23
+ \*********************************************************************************************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadMotionPlugin: () => (/* binding */ loadMotionPlugin)\n/* harmony export */ });\nasync function loadMotionPlugin(engine) {\n engine.checkVersion(\"4.0.0-beta.1\");\n await engine.pluginManager.register(async (e) => {\n const { MotionPlugin } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-motion_4_0_0-beta_1_node_modules_tsparticles_plugin-moti-0ff566\").then(__webpack_require__.bind(__webpack_require__, /*! ./MotionPlugin.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/MotionPlugin.js\"));\n e.pluginManager.addPlugin(new MotionPlugin());\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-confetti-falling/../../node_modules/.pnpm/@tsparticles+plugin-motion@4.0.0-beta.1/node_modules/@tsparticles/plugin-motion/browser/index.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.5
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_confetti_falling"] = this["webpackChunk_tsparticles_preset_confetti_falling"] || []).push([["node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugin-move_b-aa7108"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-move@4.0.0-beta.1/node_modules/@tsparticles/plugin-move/browser/index.js"
21
+ /*!*****************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-move@4.0.0-beta.1/node_modules/@tsparticles/plugin-move/browser/index.js ***!
23
+ \*****************************************************************************************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ensureBaseMoverLoaded: () => (/* binding */ ensureBaseMoverLoaded),\n/* harmony export */ loadMovePlugin: () => (/* binding */ loadMovePlugin)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nasync function loadMovePlugin(engine) {\n engine.checkVersion(\"4.0.0-beta.1\");\n await engine.pluginManager.register(async (e) => {\n const moveEngine = e, movePluginManager = moveEngine.pluginManager;\n movePluginManager.initializers.pathGenerators ??= new Map();\n movePluginManager.pathGenerators ??= new Map();\n movePluginManager.addPathGenerator = (name, generator) => {\n movePluginManager.initializers.pathGenerators ??= new Map();\n movePluginManager.initializers.pathGenerators.set(name, generator);\n };\n movePluginManager.getPathGenerators = async (container, force = false) => {\n movePluginManager.initializers.pathGenerators ??= new Map();\n movePluginManager.pathGenerators ??= new Map();\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getItemMapFromInitializer)(container, movePluginManager.pathGenerators, movePluginManager.initializers.pathGenerators, force);\n };\n const { MovePlugin } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugin-move_b-c23e73\").then(__webpack_require__.bind(__webpack_require__, /*! ./MovePlugin.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-move@4.0.0-beta.1/node_modules/@tsparticles/plugin-move/browser/MovePlugin.js\"));\n e.pluginManager.addPlugin(new MovePlugin(e.pluginManager));\n });\n}\nfunction ensureBaseMoverLoaded(e) {\n if (!e.pluginManager.addPathGenerator) {\n throw new Error(\"tsParticles Base Mover is not loaded\");\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-confetti-falling/../../node_modules/.pnpm/@tsparticles+plugin-move@4.0.0-beta.1/node_modules/@tsparticles/plugin-move/browser/index.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.5
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_confetti_falling"] = this["webpackChunk_tsparticles_preset_confetti_falling"] || []).push([["node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugin-move_b-c23e73"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-move@4.0.0-beta.1/node_modules/@tsparticles/plugin-move/browser/MovePlugin.js"
21
+ /*!**********************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-move@4.0.0-beta.1/node_modules/@tsparticles/plugin-move/browser/MovePlugin.js ***!
23
+ \**********************************************************************************************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ MovePlugin: () => (/* binding */ MovePlugin)\n/* harmony export */ });\nclass MovePlugin {\n id = \"move\";\n _pluginManager;\n constructor(pluginManager) {\n this._pluginManager = pluginManager;\n }\n async getPlugin(container) {\n const { MovePluginInstance } = await __webpack_require__.e(/*! import() */ \"vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugi-2dea06\").then(__webpack_require__.bind(__webpack_require__, /*! ./MovePluginInstance.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-move@4.0.0-beta.1/node_modules/@tsparticles/plugin-move/browser/MovePluginInstance.js\"));\n return new MovePluginInstance(this._pluginManager, container);\n }\n loadOptions() {\n }\n needsPlugin() {\n return true;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-confetti-falling/../../node_modules/.pnpm/@tsparticles+plugin-move@4.0.0-beta.1/node_modules/@tsparticles/plugin-move/browser/MovePlugin.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);