@tsparticles/preset-hyperspace 4.0.0-alpha.2 → 4.0.0-alpha.4

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 (179) hide show
  1. package/110.min.js +1 -0
  2. package/115.min.js +1 -0
  3. package/15.min.js +1 -0
  4. package/154.min.js +1 -0
  5. package/162.min.js +1 -0
  6. package/177.min.js +1 -0
  7. package/218.min.js +1 -0
  8. package/227.min.js +1 -0
  9. package/239.min.js +1 -0
  10. package/240.min.js +1 -0
  11. package/252.min.js +1 -0
  12. package/258.min.js +1 -0
  13. package/26.min.js +1 -0
  14. package/298.min.js +1 -0
  15. package/323.min.js +1 -0
  16. package/341.min.js +1 -0
  17. package/355.min.js +1 -0
  18. package/359.min.js +1 -0
  19. package/386.min.js +1 -0
  20. package/402.min.js +1 -0
  21. package/418.min.js +1 -0
  22. package/486.min.js +1 -0
  23. package/488.min.js +1 -2
  24. package/491.min.js +1 -0
  25. package/551.min.js +1 -0
  26. package/568.min.js +1 -0
  27. package/571.min.js +1 -0
  28. package/584.min.js +1 -0
  29. package/600.min.js +1 -0
  30. package/646.min.js +1 -0
  31. package/654.min.js +1 -0
  32. package/72.min.js +1 -0
  33. package/722.min.js +1 -0
  34. package/82.min.js +1 -0
  35. package/876.min.js +1 -0
  36. package/891.min.js +1 -0
  37. package/917.min.js +1 -0
  38. package/96.min.js +1 -0
  39. package/dist_browser_options_js.js +2 -2
  40. package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_14_node_modules_tsparticles_basic_browser_index_js.js +30 -0
  41. package/{node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_5_node_modules_tsparticles_move-base_brow-29272f.js → node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_14_node_modules_tsparticles_move-base_bro-0258ba.js} +7 -7
  42. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_14_node_modules_tsparticles_move-base_bro-5558e3.js +40 -0
  43. package/{node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_5_node_modules_tsparti-40dd7e.js → node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_14_node_modules_tspart-1854a5.js} +7 -7
  44. package/node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_14_node_modules_tspart-acf999.js +70 -0
  45. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles_plugin--01c506.js +50 -0
  46. package/{node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-50442a.js → node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles_plugin--0e469e.js} +7 -7
  47. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles_plugin--a27da9.js +30 -0
  48. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles_plugin--da9aa3.js +90 -0
  49. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles_plugin--e12e29.js +90 -0
  50. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--7ee633.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-5a675f.js} +7 -7
  51. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--082572.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-bd3833.js} +7 -7
  52. package/{node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--d17710.js → node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-651bc0.js} +7 -7
  53. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-9b85f2.js +30 -0
  54. package/{node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-4ef54e.js → node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_14_node_modules_tsparticles_pl-07239f.js} +52 -52
  55. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_14_node_modules_tsparticles_pl-20b658.js +70 -0
  56. package/{node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--8050b3.js → node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-2d40c5.js} +7 -7
  57. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_14_node_modules_tsparticles_plugin-9d691b.js +30 -0
  58. package/node_modules_pnpm_tsparticles_plugin-trail_4_0_0-alpha_14_node_modules_tsparticles_plugin-tra-89365f.js +50 -0
  59. package/node_modules_pnpm_tsparticles_plugin-trail_4_0_0-alpha_14_node_modules_tsparticles_plugin-tra-b01588.js +30 -0
  60. package/{node_modules_pnpm_tsparticles_plugin-trail_4_0_0-alpha_5_node_modules_tsparticles_plugin-trai-5cc589.js → node_modules_pnpm_tsparticles_plugin-trail_4_0_0-alpha_14_node_modules_tsparticles_plugin-tra-c66968.js} +7 -7
  61. package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_5_node_modules_tsparticles_shape-circl-2a85dc.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_14_node_modules_tsparticles_shape-circ-21bd73.js} +12 -12
  62. package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_5_node_modules_tsparticles_shape-circl-d95142.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_14_node_modules_tsparticles_shape-circ-365204.js} +7 -7
  63. package/{node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_5_node_modules_tsparticles_updater-co-9b6d65.js → node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_14_node_modules_tsparticles_updater-c-a242d8.js} +7 -7
  64. package/{node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_5_node_modules_tsparticles_updater-co-a17be7.js → node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_14_node_modules_tsparticles_updater-c-ed63c1.js} +7 -7
  65. package/{node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_5_node_modules_tsparticles_updater-lif-ef30bd.js → node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_14_node_modules_tsparticles_updater-li-b2cf28.js} +7 -7
  66. package/node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_14_node_modules_tsparticles_updater-li-bdb0d6.js +70 -0
  67. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_14_node_modules_tsparticles_updater-2e428a.js +30 -0
  68. package/{node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_5_node_modules_tsparticles_updater--35fbab.js → node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_14_node_modules_tsparticles_updater-349756.js} +7 -7
  69. package/{node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_5_node_modules_tsparticles_update-04964a.js → node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_14_node_modules_tsparticles_updat-54df0b.js} +7 -7
  70. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_14_node_modules_tsparticles_updater-si-1784d7.js +30 -0
  71. package/{node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_5_node_modules_tsparticles_updater-siz-7c3e56.js → node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_14_node_modules_tsparticles_updater-si-9bb044.js} +7 -7
  72. package/package.json +7 -7
  73. package/report.html +3 -3
  74. package/tsparticles.preset.hyperspace.bundle.js +328 -316
  75. package/tsparticles.preset.hyperspace.bundle.min.js +2 -2
  76. package/tsparticles.preset.hyperspace.js +16 -4
  77. package/tsparticles.preset.hyperspace.min.js +2 -2
  78. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_14_node_modules_tsparticles_engine_b-f5db4e.js +90 -0
  79. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles-2b5629.js +30 -0
  80. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_14_node_modules_tsparticles-88ac5e.js +200 -0
  81. package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_14_node_modules_tspart-261f0c.js +50 -0
  82. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_14_node_modules_tsparticl-56603a.js +80 -0
  83. package/121.min.js +0 -2
  84. package/121.min.js.LICENSE.txt +0 -1
  85. package/142.min.js +0 -2
  86. package/142.min.js.LICENSE.txt +0 -1
  87. package/158.min.js +0 -2
  88. package/158.min.js.LICENSE.txt +0 -1
  89. package/196.min.js +0 -2
  90. package/196.min.js.LICENSE.txt +0 -1
  91. package/2.min.js +0 -2
  92. package/2.min.js.LICENSE.txt +0 -1
  93. package/202.min.js +0 -2
  94. package/202.min.js.LICENSE.txt +0 -1
  95. package/294.min.js +0 -2
  96. package/294.min.js.LICENSE.txt +0 -1
  97. package/30.min.js +0 -2
  98. package/30.min.js.LICENSE.txt +0 -1
  99. package/309.min.js +0 -2
  100. package/309.min.js.LICENSE.txt +0 -1
  101. package/352.min.js +0 -2
  102. package/352.min.js.LICENSE.txt +0 -1
  103. package/413.min.js +0 -2
  104. package/413.min.js.LICENSE.txt +0 -1
  105. package/414.min.js +0 -2
  106. package/414.min.js.LICENSE.txt +0 -1
  107. package/420.min.js +0 -2
  108. package/420.min.js.LICENSE.txt +0 -1
  109. package/425.min.js +0 -2
  110. package/425.min.js.LICENSE.txt +0 -1
  111. package/426.min.js +0 -2
  112. package/426.min.js.LICENSE.txt +0 -1
  113. package/429.min.js +0 -2
  114. package/429.min.js.LICENSE.txt +0 -1
  115. package/440.min.js +0 -2
  116. package/440.min.js.LICENSE.txt +0 -1
  117. package/464.min.js +0 -2
  118. package/464.min.js.LICENSE.txt +0 -1
  119. package/47.min.js +0 -2
  120. package/47.min.js.LICENSE.txt +0 -1
  121. package/488.min.js.LICENSE.txt +0 -1
  122. package/500.min.js +0 -2
  123. package/500.min.js.LICENSE.txt +0 -1
  124. package/505.min.js +0 -2
  125. package/505.min.js.LICENSE.txt +0 -1
  126. package/56.min.js +0 -2
  127. package/56.min.js.LICENSE.txt +0 -1
  128. package/60.min.js +0 -2
  129. package/60.min.js.LICENSE.txt +0 -1
  130. package/668.min.js +0 -2
  131. package/668.min.js.LICENSE.txt +0 -1
  132. package/684.min.js +0 -2
  133. package/684.min.js.LICENSE.txt +0 -1
  134. package/685.min.js +0 -2
  135. package/685.min.js.LICENSE.txt +0 -1
  136. package/688.min.js +0 -2
  137. package/688.min.js.LICENSE.txt +0 -1
  138. package/726.min.js +0 -2
  139. package/726.min.js.LICENSE.txt +0 -1
  140. package/778.min.js +0 -2
  141. package/778.min.js.LICENSE.txt +0 -1
  142. package/792.min.js +0 -2
  143. package/792.min.js.LICENSE.txt +0 -1
  144. package/847.min.js +0 -2
  145. package/847.min.js.LICENSE.txt +0 -1
  146. package/864.min.js +0 -2
  147. package/864.min.js.LICENSE.txt +0 -1
  148. package/909.min.js +0 -2
  149. package/909.min.js.LICENSE.txt +0 -1
  150. package/926.min.js +0 -2
  151. package/926.min.js.LICENSE.txt +0 -1
  152. package/933.min.js +0 -2
  153. package/933.min.js.LICENSE.txt +0 -1
  154. package/949.min.js +0 -2
  155. package/949.min.js.LICENSE.txt +0 -1
  156. package/990.min.js +0 -2
  157. package/990.min.js.LICENSE.txt +0 -1
  158. package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_5_node_modules_tsparticles_basic_browser_index_js.js +0 -30
  159. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_5_node_modules_tsparticles_move-base_brow-26eaee.js +0 -40
  160. package/node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_5_node_modules_tsparti-80d7f0.js +0 -70
  161. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-051d5b.js +0 -50
  162. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-9414b7.js +0 -90
  163. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-b376d4.js +0 -90
  164. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-db7965.js +0 -30
  165. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--175cc6.js +0 -30
  166. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-c0445f.js +0 -70
  167. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--3fa544.js +0 -30
  168. package/node_modules_pnpm_tsparticles_plugin-trail_4_0_0-alpha_5_node_modules_tsparticles_plugin-trai-d221e1.js +0 -30
  169. package/node_modules_pnpm_tsparticles_plugin-trail_4_0_0-alpha_5_node_modules_tsparticles_plugin-trai-de3f95.js +0 -50
  170. package/node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_5_node_modules_tsparticles_updater-lif-e3e3ae.js +0 -70
  171. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_5_node_modules_tsparticles_updater--4bc1f3.js +0 -30
  172. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_5_node_modules_tsparticles_updater-siz-547e88.js +0 -30
  173. package/tsparticles.preset.hyperspace.bundle.min.js.LICENSE.txt +0 -1
  174. package/tsparticles.preset.hyperspace.min.js.LICENSE.txt +0 -1
  175. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_5_node_modules_tsparticles_engine_br-85ef38.js +0 -90
  176. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_-302925.js +0 -200
  177. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_-4cf04b.js +0 -30
  178. package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparti-98de40.js +0 -50
  179. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_5_node_modules_tsparticle-f9a455.js +0 -80
@@ -1,30 +0,0 @@
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.2
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_hyperspace"] = this["webpackChunk_tsparticles_preset_hyperspace"] || []).push([["node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--3fa544"],{
19
-
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-rgb-color/browser/RgbColorManager.js"
21
- /*!**************************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-rgb-color/browser/RgbColorManager.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 */ RgbColorManager: () => (/* binding */ RgbColorManager)\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-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n\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\"] = 5] = \"a\";\n})(RgbIndexes || (RgbIndexes = {}));\nconst rgbRegex = /rgba?\\(\\s*(\\d{1,3})\\s*[\\s,]\\s*(\\d{1,3})\\s*[\\s,]\\s*(\\d{1,3})\\s*([\\s,]\\s*(0|1|0?\\.\\d+|(\\d{1,3})%)\\s*)?\\)/i;\nclass RgbColorManager {\n constructor() {\n this.key = \"rgb\";\n }\n accepts(input) {\n return input.startsWith(\"rgb\");\n }\n handleColor(color) {\n const colorValue = color.value, rgbColor = colorValue.rgb ?? color.value;\n if (!Object.hasOwn(rgbColor, \"r\") || !Object.hasOwn(rgbColor, \"g\") || !Object.hasOwn(rgbColor, \"b\")) {\n return;\n }\n return rgbColor;\n }\n handleRangeColor(color) {\n const colorValue = color.value, rgbColor = colorValue.rgb ?? color.value;\n if (!Object.hasOwn(rgbColor, \"r\") || !Object.hasOwn(rgbColor, \"g\") || !Object.hasOwn(rgbColor, \"b\")) {\n return;\n }\n return {\n r: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(rgbColor.r),\n g: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(rgbColor.g),\n b: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(rgbColor.b),\n };\n }\n parseString(input) {\n if (!this.accepts(input)) {\n return;\n }\n const result = rgbRegex.exec(input), radix = 10, minLength = 4, defaultAlpha = 1;\n return result\n ? {\n a: result.length > minLength ? (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.parseAlpha)(result[RgbIndexes.a]) : defaultAlpha,\n b: parseInt(result[RgbIndexes.b] ?? \"0\", radix),\n g: parseInt(result[RgbIndexes.g] ?? \"0\", radix),\n r: parseInt(result[RgbIndexes.r] ?? \"0\", radix),\n }\n : undefined;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-hyperspace/../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-rgb-color/browser/RgbColorManager.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);
@@ -1,30 +0,0 @@
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.2
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_hyperspace"] = this["webpackChunk_tsparticles_preset_hyperspace"] || []).push([["node_modules_pnpm_tsparticles_plugin-trail_4_0_0-alpha_5_node_modules_tsparticles_plugin-trai-d221e1"],{
19
-
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-trail@4.0.0-alpha.5/node_modules/@tsparticles/plugin-trail/browser/TrailPluginInstance.js"
21
- /*!**********************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-trail@4.0.0-alpha.5/node_modules/@tsparticles/plugin-trail/browser/TrailPluginInstance.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 */ TrailPluginInstance: () => (/* binding */ TrailPluginInstance)\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-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n\nconst minimumLength = 0;\nclass TrailPluginInstance {\n constructor(container, engine) {\n this._initTrail = async () => {\n const options = this._container.actualOptions, trail = options.trail;\n if (!trail?.enable) {\n return;\n }\n const trailFill = trail.fill, opacity = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.inverseFactorNumerator / trail.length;\n if (trailFill.color) {\n const fillColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.rangeColorToRgb)(this._engine, trailFill.color);\n if (!fillColor) {\n return;\n }\n this._trailFill = {\n color: {\n ...fillColor,\n },\n opacity,\n };\n }\n else {\n await new Promise((resolve, reject) => {\n if (!trailFill.image) {\n return;\n }\n const img = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.safeDocument)().createElement(\"img\");\n img.addEventListener(\"load\", () => {\n this._trailFill = {\n image: img,\n opacity,\n };\n resolve();\n });\n img.addEventListener(\"error\", evt => {\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getLogger)().error(evt);\n reject(new Error(\"Error loading image\"));\n });\n img.src = trailFill.image;\n });\n }\n };\n this._container = container;\n this._engine = engine;\n }\n canvasClear() {\n const container = this._container, trail = container.actualOptions.trail, trailFill = this._trailFill;\n if (!trail?.enable || !trailFill || trail.length <= minimumLength) {\n return false;\n }\n let handled = false;\n const canvas = container.canvas;\n if (trailFill.color) {\n canvas.paintBase((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getStyleFromRgb)(trailFill.color, container.hdr, trailFill.opacity));\n handled = true;\n }\n else if (trailFill.image) {\n canvas.paintImage(trailFill.image, trailFill.opacity);\n handled = true;\n }\n return handled;\n }\n async init() {\n try {\n await this._initTrail();\n }\n catch (e) {\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getLogger)().error(e);\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-hyperspace/../../node_modules/.pnpm/@tsparticles+plugin-trail@4.0.0-alpha.5/node_modules/@tsparticles/plugin-trail/browser/TrailPluginInstance.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);
@@ -1,50 +0,0 @@
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.2
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_hyperspace"] = this["webpackChunk_tsparticles_preset_hyperspace"] || []).push([["node_modules_pnpm_tsparticles_plugin-trail_4_0_0-alpha_5_node_modules_tsparticles_plugin-trai-de3f95"],{
19
-
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-trail@4.0.0-alpha.5/node_modules/@tsparticles/plugin-trail/browser/Options/Classes/Trail.js"
21
- /*!************************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-trail@4.0.0-alpha.5/node_modules/@tsparticles/plugin-trail/browser/Options/Classes/Trail.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 */ Trail: () => (/* binding */ Trail)\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-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _TrailFill_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TrailFill.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-trail@4.0.0-alpha.5/node_modules/@tsparticles/plugin-trail/browser/Options/Classes/TrailFill.js\");\n\n\nclass Trail {\n constructor() {\n this.enable = false;\n this.length = 10;\n this.fill = new _TrailFill_js__WEBPACK_IMPORTED_MODULE_1__.TrailFill();\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.enable !== undefined) {\n this.enable = data.enable;\n }\n if (data.fill !== undefined) {\n this.fill.load(data.fill);\n }\n if (data.length !== undefined) {\n this.length = data.length;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-hyperspace/../../node_modules/.pnpm/@tsparticles+plugin-trail@4.0.0-alpha.5/node_modules/@tsparticles/plugin-trail/browser/Options/Classes/Trail.js?\n}");
27
-
28
- /***/ },
29
-
30
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-trail@4.0.0-alpha.5/node_modules/@tsparticles/plugin-trail/browser/Options/Classes/TrailFill.js"
31
- /*!****************************************************************************************************************************************************!*\
32
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-trail@4.0.0-alpha.5/node_modules/@tsparticles/plugin-trail/browser/Options/Classes/TrailFill.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 */ TrailFill: () => (/* binding */ TrailFill)\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-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass TrailFill {\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.color !== undefined) {\n this.color = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor.create(this.color, data.color);\n }\n if (data.image !== undefined) {\n this.image = data.image;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-hyperspace/../../node_modules/.pnpm/@tsparticles+plugin-trail@4.0.0-alpha.5/node_modules/@tsparticles/plugin-trail/browser/Options/Classes/TrailFill.js?\n}");
37
-
38
- /***/ },
39
-
40
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-trail@4.0.0-alpha.5/node_modules/@tsparticles/plugin-trail/browser/TrailPlugin.js"
41
- /*!**************************************************************************************************************************************!*\
42
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-trail@4.0.0-alpha.5/node_modules/@tsparticles/plugin-trail/browser/TrailPlugin.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 */ TrailPlugin: () => (/* binding */ TrailPlugin)\n/* harmony export */ });\n/* harmony import */ var _Options_Classes_Trail_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Options/Classes/Trail.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-trail@4.0.0-alpha.5/node_modules/@tsparticles/plugin-trail/browser/Options/Classes/Trail.js\");\n\nclass TrailPlugin {\n constructor(engine) {\n this.id = \"trail\";\n this._engine = engine;\n }\n async getPlugin(container) {\n const { TrailPluginInstance } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-trail_4_0_0-alpha_5_node_modules_tsparticles_plugin-trai-d221e1\").then(__webpack_require__.bind(__webpack_require__, /*! ./TrailPluginInstance.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-trail@4.0.0-alpha.5/node_modules/@tsparticles/plugin-trail/browser/TrailPluginInstance.js\"));\n return new TrailPluginInstance(container, this._engine);\n }\n loadOptions(_container, options, source) {\n if (!this.needsPlugin()) {\n return;\n }\n let trailOptions = options.trail;\n if (!trailOptions?.load) {\n options.trail = trailOptions = new _Options_Classes_Trail_js__WEBPACK_IMPORTED_MODULE_0__.Trail();\n }\n trailOptions.load(source?.trail);\n }\n needsPlugin() {\n return true;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-hyperspace/../../node_modules/.pnpm/@tsparticles+plugin-trail@4.0.0-alpha.5/node_modules/@tsparticles/plugin-trail/browser/TrailPlugin.js?\n}");
47
-
48
- /***/ }
49
-
50
- }]);
@@ -1,70 +0,0 @@
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.2
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_hyperspace"] = this["webpackChunk_tsparticles_preset_hyperspace"] || []).push([["node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_5_node_modules_tsparticles_updater-lif-e3e3ae"],{
19
-
20
- /***/ "../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/LifeUpdater.js"
21
- /*!**************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/LifeUpdater.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 */ LifeUpdater: () => (/* binding */ LifeUpdater)\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-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _Options_Classes_Life_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Options/Classes/Life.js */ \"../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/Options/Classes/Life.js\");\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Utils.js */ \"../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/Utils.js\");\n\n\n\nconst noTime = 0, identity = 1, infiniteValue = -1;\nclass LifeUpdater {\n constructor(container) {\n this.container = container;\n }\n init(particle) {\n const container = this.container, particlesOptions = particle.options, lifeOptions = particlesOptions.life;\n if (!lifeOptions) {\n return;\n }\n particle.life = {\n delay: container.retina.reduceFactor\n ? (((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(lifeOptions.delay.value) * (lifeOptions.delay.sync ? identity : (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)())) /\n container.retina.reduceFactor) *\n _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.millisecondsToSeconds\n : noTime,\n delayTime: noTime,\n duration: container.retina.reduceFactor\n ? (((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(lifeOptions.duration.value) * (lifeOptions.duration.sync ? identity : (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)())) /\n container.retina.reduceFactor) *\n _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.millisecondsToSeconds\n : noTime,\n time: noTime,\n count: lifeOptions.count,\n };\n if (particle.life.duration <= noTime) {\n particle.life.duration = infiniteValue;\n }\n if (particle.life.count <= noTime) {\n particle.life.count = infiniteValue;\n }\n particle.spawning = particle.life.delay > noTime;\n }\n isEnabled(particle) {\n return !particle.destroyed;\n }\n loadOptions(options, ...sources) {\n options.life ??= new _Options_Classes_Life_js__WEBPACK_IMPORTED_MODULE_1__.Life();\n for (const source of sources) {\n options.life.load(source?.life);\n }\n }\n update(particle, delta) {\n if (!this.isEnabled(particle) || !particle.life) {\n return;\n }\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_2__.updateLife)(particle, delta, this.container.canvas.size);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-hyperspace/../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/LifeUpdater.js?\n}");
27
-
28
- /***/ },
29
-
30
- /***/ "../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/Options/Classes/Life.js"
31
- /*!***********************************************************************************************************************************************!*\
32
- !*** ../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/Options/Classes/Life.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 */ Life: () => (/* binding */ Life)\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-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _LifeDelay_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./LifeDelay.js */ \"../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/Options/Classes/LifeDelay.js\");\n/* harmony import */ var _LifeDuration_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./LifeDuration.js */ \"../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/Options/Classes/LifeDuration.js\");\n\n\n\nclass Life {\n constructor() {\n this.count = 0;\n this.delay = new _LifeDelay_js__WEBPACK_IMPORTED_MODULE_1__.LifeDelay();\n this.duration = new _LifeDuration_js__WEBPACK_IMPORTED_MODULE_2__.LifeDuration();\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.count !== undefined) {\n this.count = data.count;\n }\n this.delay.load(data.delay);\n this.duration.load(data.duration);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-hyperspace/../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/Options/Classes/Life.js?\n}");
37
-
38
- /***/ },
39
-
40
- /***/ "../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/Options/Classes/LifeDelay.js"
41
- /*!****************************************************************************************************************************************************!*\
42
- !*** ../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/Options/Classes/LifeDelay.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 */ LifeDelay: () => (/* binding */ LifeDelay)\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-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass LifeDelay extends _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ValueWithRandom {\n constructor() {\n super();\n this.sync = false;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n super.load(data);\n if (data.sync !== undefined) {\n this.sync = data.sync;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-hyperspace/../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/Options/Classes/LifeDelay.js?\n}");
47
-
48
- /***/ },
49
-
50
- /***/ "../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/Options/Classes/LifeDuration.js"
51
- /*!*******************************************************************************************************************************************************!*\
52
- !*** ../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/Options/Classes/LifeDuration.js ***!
53
- \*******************************************************************************************************************************************************/
54
- (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
55
-
56
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ LifeDuration: () => (/* binding */ LifeDuration)\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-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass LifeDuration extends _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ValueWithRandom {\n constructor() {\n super();\n this.sync = false;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n super.load(data);\n if (data.sync !== undefined) {\n this.sync = data.sync;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-hyperspace/../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/Options/Classes/LifeDuration.js?\n}");
57
-
58
- /***/ },
59
-
60
- /***/ "../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/Utils.js"
61
- /*!********************************************************************************************************************************!*\
62
- !*** ../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/Utils.js ***!
63
- \********************************************************************************************************************************/
64
- (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
65
-
66
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ updateLife: () => (/* binding */ updateLife)\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-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n\nconst noTime = 0, infiniteValue = -1, noLife = 0, minCanvasSize = 0;\nfunction updateLife(particle, delta, canvasSize) {\n if (!particle.life) {\n return;\n }\n const life = particle.life;\n let justSpawned = false;\n if (particle.spawning) {\n life.delayTime += delta.value;\n if (life.delayTime >= particle.life.delay) {\n justSpawned = true;\n particle.spawning = false;\n life.delayTime = noTime;\n life.time = noTime;\n }\n else {\n return;\n }\n }\n if (life.duration === infiniteValue) {\n return;\n }\n if (justSpawned) {\n life.time = noTime;\n }\n else {\n life.time += delta.value;\n }\n if (life.time < life.duration) {\n return;\n }\n life.time = noTime;\n if (particle.life.count > noLife) {\n particle.life.count--;\n }\n if (particle.life.count === noLife) {\n particle.destroy();\n return;\n }\n const widthRange = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(minCanvasSize, canvasSize.width), heightRange = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(minCanvasSize, canvasSize.width);\n particle.position.x = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.randomInRangeValue)(widthRange);\n particle.position.y = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.randomInRangeValue)(heightRange);\n particle.spawning = true;\n life.delayTime = noTime;\n life.time = noTime;\n particle.reset();\n const lifeOptions = particle.options.life;\n if (lifeOptions) {\n life.delay = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(lifeOptions.delay.value) * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.millisecondsToSeconds;\n life.duration = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(lifeOptions.duration.value) * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.millisecondsToSeconds;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-hyperspace/../../node_modules/.pnpm/@tsparticles+updater-life@4.0.0-alpha.5/node_modules/@tsparticles/updater-life/browser/Utils.js?\n}");
67
-
68
- /***/ }
69
-
70
- }]);
@@ -1,30 +0,0 @@
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.2
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_hyperspace"] = this["webpackChunk_tsparticles_preset_hyperspace"] || []).push([["node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_5_node_modules_tsparticles_updater--4bc1f3"],{
19
-
20
- /***/ "../../node_modules/.pnpm/@tsparticles+updater-opacity@4.0.0-alpha.5/node_modules/@tsparticles/updater-opacity/browser/OpacityUpdater.js"
21
- /*!***********************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+updater-opacity@4.0.0-alpha.5/node_modules/@tsparticles/updater-opacity/browser/OpacityUpdater.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 */ OpacityUpdater: () => (/* binding */ OpacityUpdater)\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-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass OpacityUpdater {\n constructor(container) {\n this.container = container;\n }\n init(particle) {\n const opacityOptions = particle.options.opacity, pxRatio = 1;\n particle.opacity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.initParticleNumericAnimationValue)(opacityOptions, pxRatio);\n const opacityAnimation = opacityOptions.animation;\n if (opacityAnimation.enable) {\n particle.opacity.velocity =\n ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(opacityAnimation.speed) / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator) * this.container.retina.reduceFactor;\n if (!opacityAnimation.sync) {\n particle.opacity.velocity *= (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)();\n }\n }\n }\n isEnabled(particle) {\n const none = 0;\n return (!particle.destroyed &&\n !particle.spawning &&\n !!particle.opacity &&\n particle.opacity.enable &&\n ((particle.opacity.maxLoops ?? none) <= none ||\n ((particle.opacity.maxLoops ?? none) > none &&\n (particle.opacity.loops ?? none) < (particle.opacity.maxLoops ?? none))));\n }\n reset(particle) {\n if (particle.opacity) {\n particle.opacity.time = 0;\n particle.opacity.loops = 0;\n }\n }\n update(particle, delta) {\n if (!this.isEnabled(particle) || !particle.opacity) {\n return;\n }\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.updateAnimation)(particle, particle.opacity, true, particle.options.opacity.animation.destroy, delta);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-hyperspace/../../node_modules/.pnpm/@tsparticles+updater-opacity@4.0.0-alpha.5/node_modules/@tsparticles/updater-opacity/browser/OpacityUpdater.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);
@@ -1,30 +0,0 @@
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.2
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_hyperspace"] = this["webpackChunk_tsparticles_preset_hyperspace"] || []).push([["node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_5_node_modules_tsparticles_updater-siz-547e88"],{
19
-
20
- /***/ "../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.5/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js"
21
- /*!**************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.5/node_modules/@tsparticles/updater-size/browser/SizeUpdater.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 */ SizeUpdater: () => (/* binding */ SizeUpdater)\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-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n\nconst minLoops = 0;\nclass SizeUpdater {\n init(particle) {\n const container = particle.container, sizeOptions = particle.options.size, sizeAnimation = sizeOptions.animation;\n if (sizeAnimation.enable) {\n particle.size.velocity =\n ((particle.retina.sizeAnimationSpeed ?? container.retina.sizeAnimationSpeed) / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator) *\n container.retina.reduceFactor;\n if (!sizeAnimation.sync) {\n particle.size.velocity *= (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)();\n }\n }\n }\n isEnabled(particle) {\n return (!particle.destroyed &&\n !particle.spawning &&\n particle.size.enable &&\n ((particle.size.maxLoops ?? minLoops) <= minLoops ||\n ((particle.size.maxLoops ?? minLoops) > minLoops &&\n (particle.size.loops ?? minLoops) < (particle.size.maxLoops ?? minLoops))));\n }\n reset(particle) {\n particle.size.loops = minLoops;\n }\n update(particle, delta) {\n if (!this.isEnabled(particle)) {\n return;\n }\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.updateAnimation)(particle, particle.size, true, particle.options.size.animation.destroy, delta);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-hyperspace/../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-alpha.5/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);
@@ -1 +0,0 @@
1
- /*! tsParticles Hyperspace Preset v4.0.0-alpha.2 by Matteo Bruni */
@@ -1 +0,0 @@
1
- /*! tsParticles Hyperspace Preset v4.0.0-alpha.2 by Matteo Bruni */