@tsparticles/preset-bubbles 4.0.0-alpha.5 → 4.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/{730.min.js → 172.min.js} +1 -1
  2. package/188.min.js +1 -0
  3. package/245.min.js +1 -0
  4. package/304.min.js +1 -0
  5. package/{356.min.js → 326.min.js} +1 -1
  6. package/358.min.js +1 -0
  7. package/361.min.js +1 -0
  8. package/392.min.js +1 -0
  9. package/404.min.js +1 -0
  10. package/467.min.js +1 -0
  11. package/48.min.js +1 -0
  12. package/592.min.js +1 -0
  13. package/619.min.js +1 -0
  14. package/63.min.js +1 -0
  15. package/632.min.js +1 -0
  16. package/659.min.js +1 -0
  17. package/700.min.js +1 -0
  18. package/{844.min.js → 714.min.js} +1 -1
  19. package/719.min.js +1 -0
  20. package/72.min.js +1 -0
  21. package/74.min.js +1 -0
  22. package/{596.min.js → 750.min.js} +1 -1
  23. package/778.min.js +1 -0
  24. package/824.min.js +1 -0
  25. package/857.min.js +1 -0
  26. package/86.min.js +1 -0
  27. package/892.min.js +1 -0
  28. package/{523.min.js → 925.min.js} +1 -1
  29. package/{231.min.js → 957.min.js} +1 -1
  30. package/990.min.js +1 -0
  31. package/README.md +31 -1
  32. package/browser/index.js +3 -7
  33. package/browser/options.js +6 -4
  34. package/cjs/index.js +3 -7
  35. package/cjs/options.js +6 -4
  36. package/dist_browser_options_js.js +2 -2
  37. package/esm/index.js +3 -7
  38. package/esm/options.js +6 -4
  39. package/node_modules_pnpm_tsparticles_basic_4_0_0-beta_11_node_modules_tsparticles_basic_browser_index_js.js +30 -0
  40. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-09a57e.js +100 -0
  41. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-74f6c1.js +50 -0
  42. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-7e9977.js +30 -0
  43. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-7f13fa.js +30 -0
  44. package/{node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_plugin-em-486a11.js → node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-b6bb50.js} +7 -7
  45. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-cf6e0a.js +30 -0
  46. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-daf8cd.js +100 -0
  47. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-a0aea9.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-5e0ff2.js} +7 -7
  48. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-8932d7.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-b0d0ee.js} +7 -7
  49. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-060416.js +30 -0
  50. package/{node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-1737bf.js → node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-a6d106.js} +7 -7
  51. package/{node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugin-move_b-c23e73.js → node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-3a792b.js} +7 -7
  52. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-e1bc4b.js +30 -0
  53. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-d9836d.js +30 -0
  54. package/{node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_1_node_modules_tsparticles_plugin-r-ae3d6b.js → node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-f22022.js} +7 -7
  55. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-7552ae.js +40 -0
  56. package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_1_node_modules_tsparticles_shape-circle-c2187f.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-b06fc7.js} +7 -7
  57. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-8f9e09.js +30 -0
  58. package/{node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_1_node_modules_tsparticles_updater-o-8a311f.js → node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-da77ce.js} +7 -7
  59. package/{node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_1_node_modules_tsparticles_updater-265a6a.js → node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_-df7144.js} +7 -7
  60. package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-589482.js +30 -0
  61. package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-b1f330.js +30 -0
  62. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a47b81.js +30 -0
  63. package/{node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_1_node_modules_tsparticles_updater-size-124f3f.js → node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-d2508a.js} +7 -7
  64. package/package.json +4 -5
  65. package/report.html +1 -1
  66. package/tsparticles.preset.bubbles.bundle.js +323 -313
  67. package/tsparticles.preset.bubbles.bundle.min.js +2 -2
  68. package/tsparticles.preset.bubbles.js +11 -21
  69. package/tsparticles.preset.bubbles.min.js +2 -2
  70. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-beta_11_node_modules_tsparticles_engine_br-ca098e.js +100 -0
  71. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-6e84d5.js +30 -0
  72. package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-bet-5f2b78.js +40 -0
  73. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0-09fa1a.js +80 -0
  74. package/126.min.js +0 -1
  75. package/182.min.js +0 -1
  76. package/204.min.js +0 -1
  77. package/270.min.js +0 -1
  78. package/278.min.js +0 -1
  79. package/28.min.js +0 -1
  80. package/3.min.js +0 -1
  81. package/302.min.js +0 -1
  82. package/316.min.js +0 -1
  83. package/337.min.js +0 -1
  84. package/382.min.js +0 -1
  85. package/406.min.js +0 -1
  86. package/47.min.js +0 -1
  87. package/508.min.js +0 -1
  88. package/530.min.js +0 -1
  89. package/608.min.js +0 -1
  90. package/646.min.js +0 -1
  91. package/691.min.js +0 -1
  92. package/731.min.js +0 -1
  93. package/819.min.js +0 -1
  94. package/830.min.js +0 -1
  95. package/834.min.js +0 -1
  96. package/85.min.js +0 -1
  97. package/922.min.js +0 -1
  98. package/930.min.js +0 -1
  99. package/964.min.js +0 -1
  100. package/node_modules_pnpm_tsparticles_basic_4_0_0-beta_1_node_modules_tsparticles_basic_browser_index_js.js +0 -30
  101. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_plugin-em-815c1c.js +0 -100
  102. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_plugin-em-9a4af1.js +0 -30
  103. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_plugin-em-c7125a.js +0 -100
  104. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_plugin-em-e8ed4a.js +0 -50
  105. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-1179c3.js +0 -30
  106. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_1_node_modules_tsparticles_plug-908f96.js +0 -120
  107. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_1_node_modules_tsparticles_plug-d6e6b1.js +0 -70
  108. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugin-move_b-aa7108.js +0 -30
  109. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_1_node_modules_tsparticles_plugin-r-0f881a.js +0 -30
  110. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_1_node_modules_tsparticles_shape-circle-07826a.js +0 -40
  111. package/node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-beta_1_node_modules_tsparticles_update-75868d.js +0 -30
  112. package/node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-beta_1_node_modules_tsparticles_update-7cca03.js +0 -30
  113. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_1_node_modules_tsparticles_updater-o-138fb5.js +0 -30
  114. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_1_node_modules_tsparticles_updater-size-cbf46f.js +0 -30
  115. package/umd/bundle.js +0 -17
  116. package/umd/index.js +0 -66
  117. package/umd/options.js +0 -65
  118. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-beta_1_node_modules_tsparticles_engine_bro-0bb20b.js +0 -100
  119. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_p-168eb1.js +0 -30
  120. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_p-c5a6f7.js +0 -210
  121. package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_1_node_modules_tspartic-d557a0.js +0 -50
  122. package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugi-2dea06.js +0 -40
  123. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_1_node_modules_tsparticles-a5ec2f.js +0 -80
@@ -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.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_bubbles"] = this["webpackChunk_tsparticles_preset_bubbles"] || []).push([["node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_1_node_modules_tsparticles_plug-d6e6b1"],{
19
-
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityPlugin.js"
21
- /*!*************************************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityPlugin.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 */ InteractivityPlugin: () => (/* binding */ InteractivityPlugin)\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 _Options_Classes_Interactivity_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Options/Classes/Interactivity.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Interactivity.js\");\n\n\nclass InteractivityPlugin {\n id = \"interactivity\";\n _pluginManager;\n constructor(pluginManager) {\n this._pluginManager = pluginManager;\n }\n async getPlugin(container) {\n const { InteractivityPluginInstance } = await __webpack_require__.e(/*! import() */ \"vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_1_node_modules_tspartic-d557a0\").then(__webpack_require__.bind(__webpack_require__, /*! ./InteractivityPluginInstance.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityPluginInstance.js\"));\n return new InteractivityPluginInstance(this._pluginManager, container);\n }\n loadOptions(container, options, source) {\n if (!this.needsPlugin()) {\n return;\n }\n let interactivityOptions = options.interactivity;\n if (!interactivityOptions?.load) {\n options.interactivity = interactivityOptions = new _Options_Classes_Interactivity_js__WEBPACK_IMPORTED_MODULE_1__.Interactivity(this._pluginManager, container);\n }\n interactivityOptions.load(source?.interactivity);\n const interactors = this._pluginManager.interactors?.get(container);\n if (!interactors) {\n return;\n }\n for (const interactor of interactors) {\n if (interactor.loadOptions) {\n interactor.loadOptions(options, source);\n }\n }\n }\n loadParticlesOptions(container, options, source) {\n if (source?.interactivity) {\n options.interactivity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.deepExtend)({}, source.interactivity);\n }\n const interactors = this._pluginManager.interactors?.get(container);\n if (!interactors) {\n return;\n }\n for (const interactor of interactors) {\n interactor.loadParticlesOptions?.(options, source);\n }\n }\n needsPlugin() {\n return true;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-bubbles/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityPlugin.js?\n}");
27
-
28
- /***/ },
29
-
30
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/ClickEvent.js"
31
- /*!***************************************************************************************************************************************************************************!*\
32
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/ClickEvent.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 */ ClickEvent: () => (/* binding */ ClickEvent)\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 ClickEvent {\n enable;\n mode;\n constructor() {\n this.enable = false;\n this.mode = [];\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.mode !== undefined) {\n this.mode = data.mode;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-bubbles/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/ClickEvent.js?\n}");
37
-
38
- /***/ },
39
-
40
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/Events.js"
41
- /*!***********************************************************************************************************************************************************************!*\
42
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/Events.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 */ Events: () => (/* binding */ Events)\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 _ClickEvent_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ClickEvent.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/ClickEvent.js\");\n/* harmony import */ var _DivEvent_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./DivEvent.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/DivEvent.js\");\n/* harmony import */ var _HoverEvent_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./HoverEvent.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/HoverEvent.js\");\n\n\n\n\nclass Events {\n onClick;\n onDiv;\n onHover;\n constructor() {\n this.onClick = new _ClickEvent_js__WEBPACK_IMPORTED_MODULE_1__.ClickEvent();\n this.onDiv = new _DivEvent_js__WEBPACK_IMPORTED_MODULE_2__.DivEvent();\n this.onHover = new _HoverEvent_js__WEBPACK_IMPORTED_MODULE_3__.HoverEvent();\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n this.onClick.load(data.onClick);\n const onDiv = data.onDiv;\n if (onDiv !== undefined) {\n this.onDiv = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.executeOnSingleOrMultiple)(onDiv, t => {\n const tmp = new _DivEvent_js__WEBPACK_IMPORTED_MODULE_2__.DivEvent();\n tmp.load(t);\n return tmp;\n });\n }\n this.onHover.load(data.onHover);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-bubbles/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/Events.js?\n}");
47
-
48
- /***/ },
49
-
50
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/HoverEvent.js"
51
- /*!***************************************************************************************************************************************************************************!*\
52
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/HoverEvent.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 */ HoverEvent: () => (/* binding */ HoverEvent)\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 HoverEvent {\n enable;\n mode;\n constructor() {\n this.enable = false;\n this.mode = [];\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.mode !== undefined) {\n this.mode = data.mode;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-bubbles/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/HoverEvent.js?\n}");
57
-
58
- /***/ },
59
-
60
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Interactivity.js"
61
- /*!***********************************************************************************************************************************************************************!*\
62
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Interactivity.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 */ Interactivity: () => (/* binding */ Interactivity)\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 _Events_Events_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Events/Events.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/Events.js\");\n/* harmony import */ var _Enums_InteractivityDetect_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../Enums/InteractivityDetect.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Enums/InteractivityDetect.js\");\n/* harmony import */ var _Modes_Modes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Modes/Modes.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Modes/Modes.js\");\n\n\n\n\nclass Interactivity {\n detectsOn;\n events;\n modes;\n constructor(pluginManager, container) {\n this.detectsOn = _Enums_InteractivityDetect_js__WEBPACK_IMPORTED_MODULE_2__.InteractivityDetect.window;\n this.events = new _Events_Events_js__WEBPACK_IMPORTED_MODULE_1__.Events();\n this.modes = new _Modes_Modes_js__WEBPACK_IMPORTED_MODULE_3__.Modes(pluginManager, container);\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n const detectsOn = data.detectsOn;\n if (detectsOn !== undefined) {\n this.detectsOn = detectsOn;\n }\n this.events.load(data.events);\n this.modes.load(data.modes);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-bubbles/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-beta.1/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Interactivity.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.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_bubbles"] = this["webpackChunk_tsparticles_preset_bubbles"] || []).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-bubbles/../../node_modules/.pnpm/@tsparticles+plugin-move@4.0.0-beta.1/node_modules/@tsparticles/plugin-move/browser/index.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.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_bubbles"] = this["webpackChunk_tsparticles_preset_bubbles"] || []).push([["node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_1_node_modules_tsparticles_plugin-r-0f881a"],{
19
-
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-rgb-color/browser/RgbColorManager.js"
21
- /*!*************************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-beta.1/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-beta.1/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 accepts(input) {\n return input.startsWith(\"rgb\");\n }\n handleColor(color) {\n const colorValue = color.value, rgbColor = colorValue.rgb ?? color.value;\n if (!(\"r\" in rgbColor) || !(\"g\" in rgbColor) || !(\"b\" in rgbColor)) {\n return;\n }\n return rgbColor;\n }\n handleRangeColor(color) {\n const colorValue = color.value, rgbColor = colorValue.rgb ?? color.value;\n if (!(\"r\" in rgbColor) || !(\"g\" in rgbColor) || !(\"b\" in rgbColor)) {\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-bubbles/../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-beta.1/node_modules/@tsparticles/plugin-rgb-color/browser/RgbColorManager.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);
@@ -1,40 +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.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_bubbles"] = this["webpackChunk_tsparticles_preset_bubbles"] || []).push([["node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_1_node_modules_tsparticles_shape-circle-07826a"],{
19
-
20
- /***/ "../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-beta.1/node_modules/@tsparticles/shape-circle/browser/CircleDrawer.js"
21
- /*!**************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-beta.1/node_modules/@tsparticles/shape-circle/browser/CircleDrawer.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 */ CircleDrawer: () => (/* binding */ CircleDrawer)\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 _Utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utils.js */ \"../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-beta.1/node_modules/@tsparticles/shape-circle/browser/Utils.js\");\n\n\nconst sides = 12, maxAngle = 360, minAngle = 0;\nclass CircleDrawer {\n draw(data) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.drawCircle)(data);\n }\n getSidesCount() {\n return sides;\n }\n particleInit(_container, particle) {\n const shapeData = particle.shapeData, angle = shapeData?.angle ?? {\n max: maxAngle,\n min: minAngle,\n };\n particle.circleRange = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isObject)(angle)\n ? { min: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.degToRad)(angle.min), max: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.degToRad)(angle.max) }\n : {\n min: minAngle,\n max: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.degToRad)(angle),\n };\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-bubbles/../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-beta.1/node_modules/@tsparticles/shape-circle/browser/CircleDrawer.js?\n}");
27
-
28
- /***/ },
29
-
30
- /***/ "../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-beta.1/node_modules/@tsparticles/shape-circle/browser/Utils.js"
31
- /*!*******************************************************************************************************************************!*\
32
- !*** ../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-beta.1/node_modules/@tsparticles/shape-circle/browser/Utils.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 */ drawCircle: () => (/* binding */ drawCircle)\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 minAngle = 0;\nfunction drawCircle(data) {\n const { context, particle, radius } = data;\n particle.circleRange ??= { min: minAngle, max: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.doublePI };\n const circleRange = particle.circleRange;\n context.arc(_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.originPoint.x, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.originPoint.y, radius, circleRange.min, circleRange.max, false);\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-bubbles/../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-beta.1/node_modules/@tsparticles/shape-circle/browser/Utils.js?\n}");
37
-
38
- /***/ }
39
-
40
- }]);
@@ -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.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_bubbles"] = this["webpackChunk_tsparticles_preset_bubbles"] || []).push([["node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-beta_1_node_modules_tsparticles_update-75868d"],{
19
-
20
- /***/ "../../node_modules/.pnpm/@tsparticles+updater-fill-color@4.0.0-beta.1/node_modules/@tsparticles/updater-fill-color/browser/FillColorUpdater.js"
21
- /*!******************************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+updater-fill-color@4.0.0-beta.1/node_modules/@tsparticles/updater-fill-color/browser/FillColorUpdater.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 */ FillColorUpdater: () => (/* binding */ FillColorUpdater)\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 FillColorUpdater {\n _container;\n _pluginManager;\n constructor(pluginManager, container) {\n this._container = container;\n this._pluginManager = pluginManager;\n }\n init(particle) {\n const container = this._container, options = particle.options, fill = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.itemFromSingleOrMultiple)(options.fill, particle.id, options.reduceDuplicates);\n if (!fill) {\n return;\n }\n particle.fillEnabled = fill.enable;\n particle.fillOpacity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(fill.opacity);\n particle.fillAnimation = fill.color.animation;\n const fillHslColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.rangeColorToHsl)(this._pluginManager, fill.color);\n if (fillHslColor) {\n particle.fillColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getHslAnimationFromHsl)(fillHslColor, particle.fillAnimation, container.retina.reduceFactor);\n }\n }\n isEnabled(particle) {\n const color = particle.fillAnimation, { fillColor } = particle;\n return (!particle.destroyed &&\n !particle.spawning &&\n !!color &&\n ((fillColor?.h.value !== undefined && fillColor.h.enable) ||\n (fillColor?.s.value !== undefined && fillColor.s.enable) ||\n (fillColor?.l.value !== undefined && fillColor.l.enable)));\n }\n update(particle, delta) {\n if (!this.isEnabled(particle)) {\n return;\n }\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.updateColor)(particle.fillColor, delta);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-bubbles/../../node_modules/.pnpm/@tsparticles+updater-fill-color@4.0.0-beta.1/node_modules/@tsparticles/updater-fill-color/browser/FillColorUpdater.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.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_bubbles"] = this["webpackChunk_tsparticles_preset_bubbles"] || []).push([["node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-beta_1_node_modules_tsparticles_update-7cca03"],{
19
-
20
- /***/ "../../node_modules/.pnpm/@tsparticles+updater-fill-color@4.0.0-beta.1/node_modules/@tsparticles/updater-fill-color/browser/index.js"
21
- /*!*******************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+updater-fill-color@4.0.0-beta.1/node_modules/@tsparticles/updater-fill-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 */ loadFillColorUpdater: () => (/* binding */ loadFillColorUpdater)\n/* harmony export */ });\nasync function loadFillColorUpdater(engine) {\n engine.checkVersion(\"4.0.0-beta.1\");\n await engine.pluginManager.register(e => {\n e.pluginManager.addParticleUpdater(\"color\", async (container) => {\n const { FillColorUpdater } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-beta_1_node_modules_tsparticles_update-75868d\").then(__webpack_require__.bind(__webpack_require__, /*! ./FillColorUpdater.js */ \"../../node_modules/.pnpm/@tsparticles+updater-fill-color@4.0.0-beta.1/node_modules/@tsparticles/updater-fill-color/browser/FillColorUpdater.js\"));\n return new FillColorUpdater(e.pluginManager, container);\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-bubbles/../../node_modules/.pnpm/@tsparticles+updater-fill-color@4.0.0-beta.1/node_modules/@tsparticles/updater-fill-color/browser/index.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.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_bubbles"] = this["webpackChunk_tsparticles_preset_bubbles"] || []).push([["node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_1_node_modules_tsparticles_updater-o-138fb5"],{
19
-
20
- /***/ "../../node_modules/.pnpm/@tsparticles+updater-opacity@4.0.0-beta.1/node_modules/@tsparticles/updater-opacity/browser/OpacityUpdater.js"
21
- /*!**********************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+updater-opacity@4.0.0-beta.1/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-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass OpacityUpdater {\n container;\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 return;\n }\n particle.opacity.time = 0;\n particle.opacity.loops = 0;\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-bubbles/../../node_modules/.pnpm/@tsparticles+updater-opacity@4.0.0-beta.1/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.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_bubbles"] = this["webpackChunk_tsparticles_preset_bubbles"] || []).push([["node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_1_node_modules_tsparticles_updater-size-cbf46f"],{
19
-
20
- /***/ "../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-beta.1/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js"
21
- /*!*************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-beta.1/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-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nconst minLoops = 0;\nclass SizeUpdater {\n _container;\n constructor(container) {\n this._container = container;\n }\n init(particle) {\n const container = this._container, sizeOptions = particle.options.size, sizeAnimation = sizeOptions.animation;\n if (sizeAnimation.enable) {\n particle.size.velocity =\n (particle.retina.sizeAnimationSpeed / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator) * 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.time = 0;\n particle.size.loops = 0;\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-bubbles/../../node_modules/.pnpm/@tsparticles+updater-size@4.0.0-beta.1/node_modules/@tsparticles/updater-size/browser/SizeUpdater.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);
package/umd/bundle.js DELETED
@@ -1,17 +0,0 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
5
- }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports", "./index.js", "@tsparticles/engine"], factory);
8
- }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.tsParticles = exports.loadBubblesPreset = void 0;
13
- var index_js_1 = require("./index.js");
14
- Object.defineProperty(exports, "loadBubblesPreset", { enumerable: true, get: function () { return index_js_1.loadBubblesPreset; } });
15
- var engine_1 = require("@tsparticles/engine");
16
- Object.defineProperty(exports, "tsParticles", { enumerable: true, get: function () { return engine_1.tsParticles; } });
17
- });
package/umd/index.js DELETED
@@ -1,66 +0,0 @@
1
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
2
- if (k2 === undefined) k2 = k;
3
- var desc = Object.getOwnPropertyDescriptor(m, k);
4
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
5
- desc = { enumerable: true, get: function() { return m[k]; } };
6
- }
7
- Object.defineProperty(o, k2, desc);
8
- }) : (function(o, m, k, k2) {
9
- if (k2 === undefined) k2 = k;
10
- o[k2] = m[k];
11
- }));
12
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
13
- Object.defineProperty(o, "default", { enumerable: true, value: v });
14
- }) : function(o, v) {
15
- o["default"] = v;
16
- });
17
- var __importStar = (this && this.__importStar) || (function () {
18
- var ownKeys = function(o) {
19
- ownKeys = Object.getOwnPropertyNames || function (o) {
20
- var ar = [];
21
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
22
- return ar;
23
- };
24
- return ownKeys(o);
25
- };
26
- return function (mod) {
27
- if (mod && mod.__esModule) return mod;
28
- var result = {};
29
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
30
- __setModuleDefault(result, mod);
31
- return result;
32
- };
33
- })();
34
- (function (factory) {
35
- if (typeof module === "object" && typeof module.exports === "object") {
36
- var v = factory(require, exports);
37
- if (v !== undefined) module.exports = v;
38
- }
39
- else if (typeof define === "function" && define.amd) {
40
- define(["require", "exports"], factory);
41
- }
42
- })(function (require, exports) {
43
- "use strict";
44
- var __syncRequire = typeof module === "object" && typeof module.exports === "object";
45
- Object.defineProperty(exports, "__esModule", { value: true });
46
- exports.loadBubblesPreset = loadBubblesPreset;
47
- const presetName = "bubbles";
48
- async function loadBubblesPreset(engine) {
49
- await engine.pluginManager.register(async (e) => {
50
- const [{ loadBasic }, { loadEmittersPlugin }, { loadInteractivityPlugin }, { options }] = await Promise.all([
51
- __syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/basic"))) : new Promise((resolve_1, reject_1) => { require(["@tsparticles/basic"], resolve_1, reject_1); }).then(__importStar),
52
- __syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/plugin-emitters"))) : new Promise((resolve_2, reject_2) => { require(["@tsparticles/plugin-emitters"], resolve_2, reject_2); }).then(__importStar),
53
- __syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/plugin-interactivity"))) : new Promise((resolve_3, reject_3) => { require(["@tsparticles/plugin-interactivity"], resolve_3, reject_3); }).then(__importStar),
54
- __syncRequire ? Promise.resolve().then(() => __importStar(require("./options.js"))) : new Promise((resolve_4, reject_4) => { require(["./options.js"], resolve_4, reject_4); }).then(__importStar),
55
- ]);
56
- await Promise.all([
57
- loadBasic(e),
58
- (async () => {
59
- await loadInteractivityPlugin(e);
60
- await loadEmittersPlugin(e);
61
- })(),
62
- ]);
63
- e.pluginManager.addPreset(presetName, options);
64
- });
65
- }
66
- });
package/umd/options.js DELETED
@@ -1,65 +0,0 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
5
- }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports", "@tsparticles/engine"], factory);
8
- }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.options = void 0;
13
- const engine_1 = require("@tsparticles/engine");
14
- exports.options = {
15
- fpsLimit: 120,
16
- particles: {
17
- fill: {
18
- color: {
19
- value: "random",
20
- },
21
- enable: true,
22
- },
23
- shape: {
24
- type: "circle",
25
- },
26
- opacity: {
27
- value: 0.3,
28
- },
29
- size: {
30
- value: { min: 5, max: 10 },
31
- },
32
- move: {
33
- angle: {
34
- offset: 0,
35
- value: 30,
36
- },
37
- enable: true,
38
- speed: 15,
39
- direction: engine_1.MoveDirection.top,
40
- random: false,
41
- straight: false,
42
- outModes: {
43
- default: engine_1.OutMode.destroy,
44
- },
45
- },
46
- },
47
- detectRetina: true,
48
- background: {
49
- color: "#fff",
50
- },
51
- emitters: [
52
- {
53
- direction: engine_1.MoveDirection.top,
54
- position: {
55
- y: 100,
56
- },
57
- life: {
58
- duration: 3,
59
- delay: 5,
60
- count: 0,
61
- },
62
- },
63
- ],
64
- };
65
- });