@tsparticles/preset-fireworks 4.0.0-alpha.1 → 4.0.0-alpha.2

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 (233) hide show
  1. package/121.min.js +2 -0
  2. package/121.min.js.LICENSE.txt +1 -0
  3. package/142.min.js +2 -0
  4. package/142.min.js.LICENSE.txt +1 -0
  5. package/160.min.js +2 -0
  6. package/160.min.js.LICENSE.txt +1 -0
  7. package/184.min.js +2 -0
  8. package/184.min.js.LICENSE.txt +1 -0
  9. package/196.min.js +2 -0
  10. package/196.min.js.LICENSE.txt +1 -0
  11. package/2.min.js +2 -0
  12. package/2.min.js.LICENSE.txt +1 -0
  13. package/{213.min.js → 202.min.js} +2 -2
  14. package/202.min.js.LICENSE.txt +1 -0
  15. package/{908.min.js → 263.min.js} +2 -2
  16. package/263.min.js.LICENSE.txt +1 -0
  17. package/294.min.js +2 -0
  18. package/294.min.js.LICENSE.txt +1 -0
  19. package/309.min.js +2 -0
  20. package/309.min.js.LICENSE.txt +1 -0
  21. package/352.min.js +2 -0
  22. package/352.min.js.LICENSE.txt +1 -0
  23. package/413.min.js +2 -0
  24. package/413.min.js.LICENSE.txt +1 -0
  25. package/414.min.js +2 -0
  26. package/414.min.js.LICENSE.txt +1 -0
  27. package/420.min.js +2 -0
  28. package/420.min.js.LICENSE.txt +1 -0
  29. package/425.min.js +2 -0
  30. package/425.min.js.LICENSE.txt +1 -0
  31. package/426.min.js +2 -0
  32. package/426.min.js.LICENSE.txt +1 -0
  33. package/429.min.js +2 -0
  34. package/429.min.js.LICENSE.txt +1 -0
  35. package/440.min.js +2 -0
  36. package/440.min.js.LICENSE.txt +1 -0
  37. package/464.min.js +2 -0
  38. package/464.min.js.LICENSE.txt +1 -0
  39. package/{22.min.js → 47.min.js} +2 -2
  40. package/47.min.js.LICENSE.txt +1 -0
  41. package/470.min.js +2 -0
  42. package/470.min.js.LICENSE.txt +1 -0
  43. package/486.min.js +2 -0
  44. package/486.min.js.LICENSE.txt +1 -0
  45. package/488.min.js +1 -1
  46. package/488.min.js.LICENSE.txt +1 -1
  47. package/505.min.js +2 -0
  48. package/505.min.js.LICENSE.txt +1 -0
  49. package/538.min.js +2 -0
  50. package/538.min.js.LICENSE.txt +1 -0
  51. package/56.min.js +2 -0
  52. package/56.min.js.LICENSE.txt +1 -0
  53. package/{389.min.js → 564.min.js} +2 -2
  54. package/564.min.js.LICENSE.txt +1 -0
  55. package/60.min.js +2 -0
  56. package/60.min.js.LICENSE.txt +1 -0
  57. package/668.min.js +2 -0
  58. package/668.min.js.LICENSE.txt +1 -0
  59. package/{541.min.js → 680.min.js} +2 -2
  60. package/680.min.js.LICENSE.txt +1 -0
  61. package/684.min.js +2 -0
  62. package/684.min.js.LICENSE.txt +1 -0
  63. package/685.min.js +2 -0
  64. package/685.min.js.LICENSE.txt +1 -0
  65. package/688.min.js +2 -0
  66. package/688.min.js.LICENSE.txt +1 -0
  67. package/{481.min.js → 726.min.js} +2 -2
  68. package/726.min.js.LICENSE.txt +1 -0
  69. package/736.min.js +2 -0
  70. package/736.min.js.LICENSE.txt +1 -0
  71. package/778.min.js +2 -0
  72. package/778.min.js.LICENSE.txt +1 -0
  73. package/{751.min.js → 792.min.js} +2 -2
  74. package/792.min.js.LICENSE.txt +1 -0
  75. package/802.min.js +1 -1
  76. package/802.min.js.LICENSE.txt +1 -1
  77. package/{264.min.js → 847.min.js} +2 -2
  78. package/847.min.js.LICENSE.txt +1 -0
  79. package/864.min.js +2 -0
  80. package/864.min.js.LICENSE.txt +1 -0
  81. package/888.min.js +2 -0
  82. package/888.min.js.LICENSE.txt +1 -0
  83. package/909.min.js +2 -0
  84. package/909.min.js.LICENSE.txt +1 -0
  85. package/919.min.js +2 -0
  86. package/919.min.js.LICENSE.txt +1 -0
  87. package/926.min.js +1 -1
  88. package/926.min.js.LICENSE.txt +1 -1
  89. package/933.min.js +2 -0
  90. package/933.min.js.LICENSE.txt +1 -0
  91. package/947.min.js +2 -0
  92. package/947.min.js.LICENSE.txt +1 -0
  93. package/949.min.js +2 -0
  94. package/949.min.js.LICENSE.txt +1 -0
  95. package/990.min.js +2 -0
  96. package/990.min.js.LICENSE.txt +1 -0
  97. package/browser/index.js +17 -16
  98. package/browser/options.js +0 -1
  99. package/cjs/index.js +17 -16
  100. package/cjs/options.js +0 -1
  101. package/dist_browser_options_js.js +2 -2
  102. package/esm/index.js +17 -16
  103. package/esm/options.js +0 -1
  104. package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_5_node_modules_tsparticles_basic_browser_index_js.js +30 -0
  105. package/node_modules_pnpm_tsparticles_effect-trail_4_0_0-alpha_5_node_modules_tsparticles_effect-trai-ad6390.js +30 -0
  106. package/{node_modules_pnpm_tsparticles_effect-trail_4_0_0-alpha_2_node_modules_tsparticles_effect-trai-8c7216.js → node_modules_pnpm_tsparticles_effect-trail_4_0_0-alpha_5_node_modules_tsparticles_effect-trai-f143f1.js} +5 -5
  107. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_5_node_modules_tsparticles_move-base_brow-26eaee.js +40 -0
  108. package/{node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_2_node_modules_tsparticles_move-base_brow-fb148a.js → node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_5_node_modules_tsparticles_move-base_brow-29272f.js} +5 -5
  109. package/{node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_2_node_modules_tsparti-cafd8c.js → node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_5_node_modules_tsparti-40dd7e.js} +5 -5
  110. package/{node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_2_node_modules_tsparti-cf2f58.js → node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_5_node_modules_tsparti-80d7f0.js} +17 -17
  111. package/{node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_2_node_modules_tsparticles_plugin-e-6bd6f8.js → node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-051d5b.js} +11 -11
  112. package/{node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_2_node_modules_tsparticles_plugin-e-122a51.js → node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-50442a.js} +5 -5
  113. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-9414b7.js +90 -0
  114. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-b376d4.js +90 -0
  115. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-db7965.js +30 -0
  116. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--d06b2a.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--082572.js} +5 -5
  117. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--91288b.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--7ee633.js} +5 -5
  118. package/{node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--e141e9.js → node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--175cc6.js} +5 -5
  119. package/{node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--70976c.js → node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--d17710.js} +5 -5
  120. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-4ef54e.js +120 -0
  121. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-c0445f.js +70 -0
  122. package/{node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--60c9df.js → node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--3fa544.js} +5 -5
  123. package/{node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--732407.js → node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--8050b3.js} +5 -5
  124. package/{node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_2_node_modules_tsparticles_plugin-sou-6e6a34.js → node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_5_node_modules_tsparticles_plugin-sou-522702.js} +5 -5
  125. package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_2_node_modules_tsparticles_shape-circl-c98489.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_5_node_modules_tsparticles_shape-circl-2a85dc.js} +8 -8
  126. package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_2_node_modules_tsparticles_shape-circl-ce96e8.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_5_node_modules_tsparticles_shape-circl-d95142.js} +5 -5
  127. package/{node_modules_pnpm_tsparticles_shape-line_4_0_0-alpha_2_node_modules_tsparticles_shape-line_br-01d607.js → node_modules_pnpm_tsparticles_shape-line_4_0_0-alpha_5_node_modules_tsparticles_shape-line_br-797f70.js} +5 -5
  128. package/{node_modules_pnpm_tsparticles_shape-line_4_0_0-alpha_2_node_modules_tsparticles_shape-line_br-eb7b65.js → node_modules_pnpm_tsparticles_shape-line_4_0_0-alpha_5_node_modules_tsparticles_shape-line_br-901c67.js} +8 -8
  129. package/{node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_2_node_modules_tsparticles_updater-co-6ff909.js → node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_5_node_modules_tsparticles_updater-co-9b6d65.js} +5 -5
  130. package/{node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_2_node_modules_tsparticles_updater-co-210bd6.js → node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_5_node_modules_tsparticles_updater-co-a17be7.js} +5 -5
  131. package/{node_modules_pnpm_tsparticles_updater-destroy_4_0_0-alpha_2_node_modules_tsparticles_updater--cef2d9.js → node_modules_pnpm_tsparticles_updater-destroy_4_0_0-alpha_5_node_modules_tsparticles_updater--6c351c.js} +26 -26
  132. package/{node_modules_pnpm_tsparticles_updater-destroy_4_0_0-alpha_2_node_modules_tsparticles_updater--f71d4c.js → node_modules_pnpm_tsparticles_updater-destroy_4_0_0-alpha_5_node_modules_tsparticles_updater--f90ba9.js} +5 -5
  133. package/{node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_2_node_modules_tsparticles_updater-lif-dbf90f.js → node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_5_node_modules_tsparticles_updater-lif-e3e3ae.js} +17 -17
  134. package/{node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_2_node_modules_tsparticles_updater-lif-50f821.js → node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_5_node_modules_tsparticles_updater-lif-ef30bd.js} +5 -5
  135. package/{node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_2_node_modules_tsparticles_updater--4e8c57.js → node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_5_node_modules_tsparticles_updater--35fbab.js} +5 -5
  136. package/{node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_2_node_modules_tsparticles_updater--ac14ff.js → node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_5_node_modules_tsparticles_updater--4bc1f3.js} +5 -5
  137. package/{node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_2_node_modules_tsparticles_update-cd317f.js → node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_5_node_modules_tsparticles_update-04964a.js} +5 -5
  138. package/{node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_2_node_modules_tsparticles_updater-r-e97427.js → node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_5_node_modules_tsparticles_updater-r-9dd4f0.js} +11 -11
  139. package/{node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_2_node_modules_tsparticles_updater-r-0de212.js → node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_5_node_modules_tsparticles_updater-r-d70445.js} +5 -5
  140. package/{node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_2_node_modules_tsparticles_updater-siz-aaa117.js → node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_5_node_modules_tsparticles_updater-siz-547e88.js} +5 -5
  141. package/{node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_2_node_modules_tsparticles_updater-siz-53e0fe.js → node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_5_node_modules_tsparticles_updater-siz-7c3e56.js} +5 -5
  142. package/{node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_2_node_modules_tsparticles_upd-ca004c.js → node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_5_node_modules_tsparticles_upd-4e9e59.js} +5 -5
  143. package/{node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_2_node_modules_tsparticles_upd-74b323.js → node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_5_node_modules_tsparticles_upd-7fb447.js} +5 -5
  144. package/package.json +15 -15
  145. package/report.html +1 -1
  146. package/tsparticles.preset.fireworks.bundle.js +197 -389
  147. package/tsparticles.preset.fireworks.bundle.min.js +1 -1
  148. package/tsparticles.preset.fireworks.bundle.min.js.LICENSE.txt +1 -1
  149. package/tsparticles.preset.fireworks.js +4 -16
  150. package/tsparticles.preset.fireworks.min.js +1 -1
  151. package/tsparticles.preset.fireworks.min.js.LICENSE.txt +1 -1
  152. package/types/index.d.ts +1 -1
  153. package/types/options.d.ts +0 -1
  154. package/umd/index.js +17 -16
  155. package/umd/options.js +0 -2
  156. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_5_node_modules_tsparticles_engine_br-85ef38.js +90 -0
  157. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_-302925.js +200 -0
  158. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_-4cf04b.js +30 -0
  159. package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparti-98de40.js +50 -0
  160. package/{vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_2_node_modules_tsparticles_pl-a36589.js → vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_5_node_modules_tsparticles_pl-b29140.js} +37 -47
  161. package/vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_5_node_modules_tsparticles_pl-c6a2a0.js +40 -0
  162. package/{vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_2_node_modules_tsparticle-124574.js → vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_5_node_modules_tsparticle-f9a455.js} +20 -20
  163. package/125.min.js +0 -2
  164. package/125.min.js.LICENSE.txt +0 -1
  165. package/171.min.js +0 -2
  166. package/171.min.js.LICENSE.txt +0 -1
  167. package/213.min.js.LICENSE.txt +0 -1
  168. package/22.min.js.LICENSE.txt +0 -1
  169. package/226.min.js +0 -2
  170. package/226.min.js.LICENSE.txt +0 -1
  171. package/237.min.js +0 -2
  172. package/237.min.js.LICENSE.txt +0 -1
  173. package/264.min.js.LICENSE.txt +0 -1
  174. package/267.min.js +0 -2
  175. package/267.min.js.LICENSE.txt +0 -1
  176. package/280.min.js +0 -2
  177. package/280.min.js.LICENSE.txt +0 -1
  178. package/283.min.js +0 -2
  179. package/283.min.js.LICENSE.txt +0 -1
  180. package/301.min.js +0 -2
  181. package/301.min.js.LICENSE.txt +0 -1
  182. package/313.min.js +0 -2
  183. package/313.min.js.LICENSE.txt +0 -1
  184. package/319.min.js +0 -2
  185. package/319.min.js.LICENSE.txt +0 -1
  186. package/349.min.js +0 -2
  187. package/349.min.js.LICENSE.txt +0 -1
  188. package/389.min.js.LICENSE.txt +0 -1
  189. package/397.min.js +0 -2
  190. package/397.min.js.LICENSE.txt +0 -1
  191. package/418.min.js +0 -2
  192. package/418.min.js.LICENSE.txt +0 -1
  193. package/453.min.js +0 -2
  194. package/453.min.js.LICENSE.txt +0 -1
  195. package/455.min.js +0 -2
  196. package/455.min.js.LICENSE.txt +0 -1
  197. package/459.min.js +0 -2
  198. package/459.min.js.LICENSE.txt +0 -1
  199. package/477.min.js +0 -2
  200. package/477.min.js.LICENSE.txt +0 -1
  201. package/481.min.js.LICENSE.txt +0 -1
  202. package/49.min.js +0 -2
  203. package/49.min.js.LICENSE.txt +0 -1
  204. package/509.min.js +0 -2
  205. package/509.min.js.LICENSE.txt +0 -1
  206. package/527.min.js +0 -2
  207. package/527.min.js.LICENSE.txt +0 -1
  208. package/541.min.js.LICENSE.txt +0 -1
  209. package/597.min.js +0 -2
  210. package/597.min.js.LICENSE.txt +0 -1
  211. package/633.min.js +0 -2
  212. package/633.min.js.LICENSE.txt +0 -1
  213. package/637.min.js +0 -2
  214. package/637.min.js.LICENSE.txt +0 -1
  215. package/669.min.js +0 -2
  216. package/669.min.js.LICENSE.txt +0 -1
  217. package/751.min.js.LICENSE.txt +0 -1
  218. package/803.min.js +0 -2
  219. package/803.min.js.LICENSE.txt +0 -1
  220. package/819.min.js +0 -2
  221. package/819.min.js.LICENSE.txt +0 -1
  222. package/829.min.js +0 -2
  223. package/829.min.js.LICENSE.txt +0 -1
  224. package/890.min.js +0 -2
  225. package/890.min.js.LICENSE.txt +0 -1
  226. package/908.min.js.LICENSE.txt +0 -1
  227. package/98.min.js +0 -2
  228. package/98.min.js.LICENSE.txt +0 -1
  229. package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_2_node_modules_tsparticles_basic_browser_index_js.js +0 -30
  230. package/node_modules_pnpm_tsparticles_effect-trail_4_0_0-alpha_2_node_modules_tsparticles_effect-trai-3395e5.js +0 -30
  231. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_2_node_modules_tsparticles_move-base_brow-7d79eb.js +0 -40
  232. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_2_node_modules_tsparticles_engine_br-9c0a0f.js +0 -100
  233. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_2_node_modules_tsparticles_-1e60b5.js +0 -110
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -15,15 +15,15 @@
15
15
  * or disable the default devtool with "devtool: false".
16
16
  * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
17
  */
18
- (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--d06b2a"],{
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--082572"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js"
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js"
21
21
  /*!**************************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js ***!
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js ***!
23
23
  \**************************************************************************************************************************************************/
24
24
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
25
 
26
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ HexColorManager: () => (/* binding */ HexColorManager)\n/* harmony export */ });\nvar RgbIndexes;\n(function (RgbIndexes) {\n RgbIndexes[RgbIndexes[\"r\"] = 1] = \"r\";\n RgbIndexes[RgbIndexes[\"g\"] = 2] = \"g\";\n RgbIndexes[RgbIndexes[\"b\"] = 3] = \"b\";\n RgbIndexes[RgbIndexes[\"a\"] = 4] = \"a\";\n})(RgbIndexes || (RgbIndexes = {}));\nconst shorthandHexRegex = /^#?([a-f\\d])([a-f\\d])([a-f\\d])([a-f\\d])?$/i, hexRegex = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})?$/i, hexRadix = 16, defaultAlpha = 1, alphaFactor = 0xff;\nclass HexColorManager {\n constructor() {\n this.key = \"hex\";\n }\n accepts(input) {\n return input.startsWith(\"#\");\n }\n handleColor(color) {\n return this._parseString(color.value);\n }\n handleRangeColor(color) {\n return this._parseString(color.value);\n }\n parseString(input) {\n return this._parseString(input);\n }\n _parseString(hexColor) {\n if (typeof hexColor !== \"string\" || !this.accepts(hexColor)) {\n return;\n }\n const hexFixed = hexColor.replace(shorthandHexRegex, (_, r, g, b, a) => {\n return r + r + g + g + b + b + (a !== undefined ? a + a : \"\");\n }), result = hexRegex.exec(hexFixed);\n return result\n ? {\n a: result[RgbIndexes.a] ? parseInt(result[RgbIndexes.a], hexRadix) / alphaFactor : defaultAlpha,\n b: parseInt(result[RgbIndexes.b] ?? \"0\", hexRadix),\n g: parseInt(result[RgbIndexes.g] ?? \"0\", hexRadix),\n r: parseInt(result[RgbIndexes.r] ?? \"0\", hexRadix),\n }\n : undefined;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ HexColorManager: () => (/* binding */ HexColorManager)\n/* harmony export */ });\nvar RgbIndexes;\n(function (RgbIndexes) {\n RgbIndexes[RgbIndexes[\"r\"] = 1] = \"r\";\n RgbIndexes[RgbIndexes[\"g\"] = 2] = \"g\";\n RgbIndexes[RgbIndexes[\"b\"] = 3] = \"b\";\n RgbIndexes[RgbIndexes[\"a\"] = 4] = \"a\";\n})(RgbIndexes || (RgbIndexes = {}));\nconst shorthandHexRegex = /^#?([a-f\\d])([a-f\\d])([a-f\\d])([a-f\\d])?$/i, hexRegex = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})?$/i, hexRadix = 16, defaultAlpha = 1, alphaFactor = 0xff;\nclass HexColorManager {\n constructor() {\n this.key = \"hex\";\n }\n accepts(input) {\n return input.startsWith(\"#\");\n }\n handleColor(color) {\n return this._parseString(color.value);\n }\n handleRangeColor(color) {\n return this._parseString(color.value);\n }\n parseString(input) {\n return this._parseString(input);\n }\n _parseString(hexColor) {\n if (typeof hexColor !== \"string\" || !this.accepts(hexColor)) {\n return;\n }\n const hexFixed = hexColor.replace(shorthandHexRegex, (_, r, g, b, a) => {\n return r + r + g + g + b + b + (a !== undefined ? a + a : \"\");\n }), result = hexRegex.exec(hexFixed);\n return result\n ? {\n a: result[RgbIndexes.a] ? parseInt(result[RgbIndexes.a], hexRadix) / alphaFactor : defaultAlpha,\n b: parseInt(result[RgbIndexes.b] ?? \"0\", hexRadix),\n g: parseInt(result[RgbIndexes.g] ?? \"0\", hexRadix),\n r: parseInt(result[RgbIndexes.r] ?? \"0\", hexRadix),\n }\n : undefined;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -15,15 +15,15 @@
15
15
  * or disable the default devtool with "devtool: false".
16
16
  * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
17
  */
18
- (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--91288b"],{
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--7ee633"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hex-color/browser/index.js"
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hex-color/browser/index.js"
21
21
  /*!****************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hex-color/browser/index.js ***!
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hex-color/browser/index.js ***!
23
23
  \****************************************************************************************************************************************/
24
24
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
25
 
26
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadHexColorPlugin: () => (/* binding */ loadHexColorPlugin)\n/* harmony export */ });\nfunction loadHexColorPlugin(engine) {\n engine.checkVersion(\"4.0.0-alpha.2\");\n engine.register(async (e) => {\n const { HexColorManager } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--d06b2a\").then(__webpack_require__.bind(__webpack_require__, /*! ./HexColorManager.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js\"));\n e.addColorManager(new HexColorManager());\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hex-color/browser/index.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadHexColorPlugin: () => (/* binding */ loadHexColorPlugin)\n/* harmony export */ });\nasync function loadHexColorPlugin(engine) {\n engine.checkVersion(\"4.0.0-alpha.5\");\n await engine.register(async (e) => {\n const { HexColorManager } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--082572\").then(__webpack_require__.bind(__webpack_require__, /*! ./HexColorManager.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hex-color/browser/HexColorManager.js\"));\n e.addColorManager(new HexColorManager());\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-hex-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hex-color/browser/index.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -15,15 +15,15 @@
15
15
  * or disable the default devtool with "devtool: false".
16
16
  * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
17
  */
18
- (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--e141e9"],{
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--175cc6"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js"
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js"
21
21
  /*!**************************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js ***!
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js ***!
23
23
  \**************************************************************************************************************************************************/
24
24
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
25
 
26
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ HslColorManager: () => (/* binding */ HslColorManager)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-alpha.2/node_modules/@tsparticles/engine/browser/index.js\");\n\nvar HslIndexes;\n(function (HslIndexes) {\n HslIndexes[HslIndexes[\"h\"] = 1] = \"h\";\n HslIndexes[HslIndexes[\"s\"] = 2] = \"s\";\n HslIndexes[HslIndexes[\"l\"] = 3] = \"l\";\n HslIndexes[HslIndexes[\"a\"] = 5] = \"a\";\n})(HslIndexes || (HslIndexes = {}));\nconst hslRegex = /hsla?\\(\\s*(\\d+)\\s*[\\s,]\\s*(\\d+)%\\s*[\\s,]\\s*(\\d+)%\\s*([\\s,]\\s*(0|1|0?\\.\\d+|(\\d{1,3})%)\\s*)?\\)/i;\nclass HslColorManager {\n constructor() {\n this.key = \"hsl\";\n }\n accepts(input) {\n return input.startsWith(\"hsl\");\n }\n handleColor(color) {\n const colorValue = color.value, hslColor = colorValue.hsl ?? color.value;\n if (!Object.hasOwn(hslColor, \"h\") && !Object.hasOwn(hslColor, \"s\") && !Object.hasOwn(hslColor, \"l\")) {\n return;\n }\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.hslToRgb)(hslColor);\n }\n handleRangeColor(color) {\n const colorValue = color.value, hslColor = colorValue.hsl ?? color.value;\n if (!Object.hasOwn(hslColor, \"h\") && !Object.hasOwn(hslColor, \"s\") && !Object.hasOwn(hslColor, \"l\")) {\n return;\n }\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.hslToRgb)({\n h: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(hslColor.h),\n l: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(hslColor.l),\n s: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(hslColor.s),\n });\n }\n parseString(input) {\n if (!this.accepts(input)) {\n return;\n }\n const result = hslRegex.exec(input), minLength = 4, defaultAlpha = 1, radix = 10;\n return result\n ? (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.hslaToRgba)({\n a: result.length > minLength ? (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.parseAlpha)(result[HslIndexes.a]) : defaultAlpha,\n h: parseInt(result[HslIndexes.h] ?? \"0\", radix),\n l: parseInt(result[HslIndexes.l] ?? \"0\", radix),\n s: parseInt(result[HslIndexes.s] ?? \"0\", radix),\n })\n : undefined;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ HslColorManager: () => (/* binding */ HslColorManager)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n\nvar HslIndexes;\n(function (HslIndexes) {\n HslIndexes[HslIndexes[\"h\"] = 1] = \"h\";\n HslIndexes[HslIndexes[\"s\"] = 2] = \"s\";\n HslIndexes[HslIndexes[\"l\"] = 3] = \"l\";\n HslIndexes[HslIndexes[\"a\"] = 5] = \"a\";\n})(HslIndexes || (HslIndexes = {}));\nconst hslRegex = /hsla?\\(\\s*(\\d+)\\s*[\\s,]\\s*(\\d+)%\\s*[\\s,]\\s*(\\d+)%\\s*([\\s,]\\s*(0|1|0?\\.\\d+|(\\d{1,3})%)\\s*)?\\)/i;\nclass HslColorManager {\n constructor() {\n this.key = \"hsl\";\n }\n accepts(input) {\n return input.startsWith(\"hsl\");\n }\n handleColor(color) {\n const colorValue = color.value, hslColor = colorValue.hsl ?? color.value;\n if (!Object.hasOwn(hslColor, \"h\") || !Object.hasOwn(hslColor, \"s\") || !Object.hasOwn(hslColor, \"l\")) {\n return;\n }\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.hslToRgb)(hslColor);\n }\n handleRangeColor(color) {\n const colorValue = color.value, hslColor = colorValue.hsl ?? color.value;\n if (!Object.hasOwn(hslColor, \"h\") || !Object.hasOwn(hslColor, \"s\") || !Object.hasOwn(hslColor, \"l\")) {\n return;\n }\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.hslToRgb)({\n h: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(hslColor.h),\n l: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(hslColor.l),\n s: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(hslColor.s),\n });\n }\n parseString(input) {\n if (!this.accepts(input)) {\n return;\n }\n const result = hslRegex.exec(input), minLength = 4, defaultAlpha = 1, radix = 10;\n return result\n ? (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.hslaToRgba)({\n a: result.length > minLength ? (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.parseAlpha)(result[HslIndexes.a]) : defaultAlpha,\n h: parseInt(result[HslIndexes.h] ?? \"0\", radix),\n l: parseInt(result[HslIndexes.l] ?? \"0\", radix),\n s: parseInt(result[HslIndexes.s] ?? \"0\", radix),\n })\n : undefined;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -15,15 +15,15 @@
15
15
  * or disable the default devtool with "devtool: false".
16
16
  * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
17
  */
18
- (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--70976c"],{
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--d17710"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hsl-color/browser/index.js"
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hsl-color/browser/index.js"
21
21
  /*!****************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hsl-color/browser/index.js ***!
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hsl-color/browser/index.js ***!
23
23
  \****************************************************************************************************************************************/
24
24
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
25
 
26
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadHslColorPlugin: () => (/* binding */ loadHslColorPlugin)\n/* harmony export */ });\nfunction loadHslColorPlugin(engine) {\n engine.checkVersion(\"4.0.0-alpha.2\");\n engine.register(async (e) => {\n const { HslColorManager } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--e141e9\").then(__webpack_require__.bind(__webpack_require__, /*! ./HslColorManager.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js\"));\n e.addColorManager(new HslColorManager());\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-hsl-color/browser/index.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadHslColorPlugin: () => (/* binding */ loadHslColorPlugin)\n/* harmony export */ });\nasync function loadHslColorPlugin(engine) {\n engine.checkVersion(\"4.0.0-alpha.5\");\n await engine.register(async (e) => {\n const { HslColorManager } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--175cc6\").then(__webpack_require__.bind(__webpack_require__, /*! ./HslColorManager.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hsl-color/browser/HslColorManager.js\"));\n e.addColorManager(new HslColorManager());\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-hsl-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-hsl-color/browser/index.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
@@ -0,0 +1,120 @@
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_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-4ef54e"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/DivType.js"
21
+ /*!**************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/DivType.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 */ DivType: () => (/* binding */ DivType)\n/* harmony export */ });\nvar DivType;\n(function (DivType) {\n DivType[\"circle\"] = \"circle\";\n DivType[\"rectangle\"] = \"rectangle\";\n})(DivType || (DivType = {}));\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/DivType.js?\n}");
27
+
28
+ /***/ },
29
+
30
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/ExternalInteractorBase.js"
31
+ /*!*****************************************************************************************************************************************************************!*\
32
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/ExternalInteractorBase.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 */ ExternalInteractorBase: () => (/* binding */ ExternalInteractorBase)\n/* harmony export */ });\n/* harmony import */ var _InteractorType_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./InteractorType.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractorType.js\");\n\nclass ExternalInteractorBase {\n constructor(container) {\n this.type = _InteractorType_js__WEBPACK_IMPORTED_MODULE_0__.InteractorType.external;\n this.container = container;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/ExternalInteractorBase.js?\n}");
37
+
38
+ /***/ },
39
+
40
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityConstants.js"
41
+ /*!*****************************************************************************************************************************************************************!*\
42
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityConstants.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 */ clickEvent: () => (/* binding */ clickEvent),\n/* harmony export */ mouseDownEvent: () => (/* binding */ mouseDownEvent),\n/* harmony export */ mouseLeaveEvent: () => (/* binding */ mouseLeaveEvent),\n/* harmony export */ mouseMoveEvent: () => (/* binding */ mouseMoveEvent),\n/* harmony export */ mouseOutEvent: () => (/* binding */ mouseOutEvent),\n/* harmony export */ mouseUpEvent: () => (/* binding */ mouseUpEvent),\n/* harmony export */ touchCancelEvent: () => (/* binding */ touchCancelEvent),\n/* harmony export */ touchEndEvent: () => (/* binding */ touchEndEvent),\n/* harmony export */ touchMoveEvent: () => (/* binding */ touchMoveEvent),\n/* harmony export */ touchStartEvent: () => (/* binding */ touchStartEvent)\n/* harmony export */ });\nconst clickEvent = \"click\", mouseDownEvent = \"pointerdown\", mouseUpEvent = \"pointerup\", mouseLeaveEvent = \"pointerleave\", mouseOutEvent = \"pointerout\", mouseMoveEvent = \"pointermove\", touchStartEvent = \"touchstart\", touchEndEvent = \"touchend\", touchMoveEvent = \"touchmove\", touchCancelEvent = \"touchcancel\";\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityConstants.js?\n}");
47
+
48
+ /***/ },
49
+
50
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityDetect.js"
51
+ /*!**************************************************************************************************************************************************************!*\
52
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityDetect.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 */ InteractivityDetect: () => (/* binding */ InteractivityDetect)\n/* harmony export */ });\nvar InteractivityDetect;\n(function (InteractivityDetect) {\n InteractivityDetect[\"canvas\"] = \"canvas\";\n InteractivityDetect[\"parent\"] = \"parent\";\n InteractivityDetect[\"window\"] = \"window\";\n})(InteractivityDetect || (InteractivityDetect = {}));\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityDetect.js?\n}");
57
+
58
+ /***/ },
59
+
60
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractorType.js"
61
+ /*!*********************************************************************************************************************************************************!*\
62
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractorType.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 */ InteractorType: () => (/* binding */ InteractorType)\n/* harmony export */ });\nvar InteractorType;\n(function (InteractorType) {\n InteractorType[\"external\"] = \"external\";\n InteractorType[\"particles\"] = \"particles\";\n})(InteractorType || (InteractorType = {}));\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractorType.js?\n}");
67
+
68
+ /***/ },
69
+
70
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/DivEvent.js"
71
+ /*!**************************************************************************************************************************************************************************!*\
72
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/DivEvent.js ***!
73
+ \**************************************************************************************************************************************************************************/
74
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
75
+
76
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ DivEvent: () => (/* binding */ DivEvent)\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 _DivType_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../DivType.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/DivType.js\");\n\n\nclass DivEvent {\n constructor() {\n this.selectors = [];\n this.enable = false;\n this.mode = [];\n this.type = _DivType_js__WEBPACK_IMPORTED_MODULE_1__.DivType.circle;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.selectors !== undefined) {\n this.selectors = data.selectors;\n }\n if (data.enable !== undefined) {\n this.enable = data.enable;\n }\n if (data.mode !== undefined) {\n this.mode = data.mode;\n }\n if (data.type !== undefined) {\n this.type = data.type;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/DivEvent.js?\n}");
77
+
78
+ /***/ },
79
+
80
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Modes/Modes.js"
81
+ /*!**********************************************************************************************************************************************************************!*\
82
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Modes/Modes.js ***!
83
+ \**********************************************************************************************************************************************************************/
84
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
85
+
86
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Modes: () => (/* binding */ Modes)\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 Modes {\n constructor(engine, container) {\n this._engine = engine;\n this._container = container;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (!this._container) {\n return;\n }\n const interactors = this._engine.interactors?.get(this._container);\n if (!interactors) {\n return;\n }\n for (const interactor of interactors) {\n if (!interactor.loadModeOptions) {\n continue;\n }\n interactor.loadModeOptions(this, data);\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Modes/Modes.js?\n}");
87
+
88
+ /***/ },
89
+
90
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/ParticlesInteractorBase.js"
91
+ /*!******************************************************************************************************************************************************************!*\
92
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/ParticlesInteractorBase.js ***!
93
+ \******************************************************************************************************************************************************************/
94
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
95
+
96
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ParticlesInteractorBase: () => (/* binding */ ParticlesInteractorBase)\n/* harmony export */ });\n/* harmony import */ var _InteractorType_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./InteractorType.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractorType.js\");\n\nclass ParticlesInteractorBase {\n constructor(container) {\n this.type = _InteractorType_js__WEBPACK_IMPORTED_MODULE_0__.InteractorType.particles;\n this.container = container;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/ParticlesInteractorBase.js?\n}");
97
+
98
+ /***/ },
99
+
100
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/index.js"
101
+ /*!************************************************************************************************************************************************!*\
102
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/index.js ***!
103
+ \************************************************************************************************************************************************/
104
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
105
+
106
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ DivEvent: () => (/* reexport safe */ _Options_Classes_Events_DivEvent_js__WEBPACK_IMPORTED_MODULE_8__.DivEvent),\n/* harmony export */ DivType: () => (/* reexport safe */ _DivType_js__WEBPACK_IMPORTED_MODULE_1__.DivType),\n/* harmony export */ ExternalInteractorBase: () => (/* reexport safe */ _ExternalInteractorBase_js__WEBPACK_IMPORTED_MODULE_2__.ExternalInteractorBase),\n/* harmony export */ InteractivityDetect: () => (/* reexport safe */ _InteractivityDetect_js__WEBPACK_IMPORTED_MODULE_4__.InteractivityDetect),\n/* harmony export */ InteractorType: () => (/* reexport safe */ _InteractorType_js__WEBPACK_IMPORTED_MODULE_5__.InteractorType),\n/* harmony export */ Modes: () => (/* reexport safe */ _Options_Classes_Modes_Modes_js__WEBPACK_IMPORTED_MODULE_9__.Modes),\n/* harmony export */ ParticlesInteractorBase: () => (/* reexport safe */ _ParticlesInteractorBase_js__WEBPACK_IMPORTED_MODULE_6__.ParticlesInteractorBase),\n/* harmony export */ clickEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.clickEvent),\n/* harmony export */ divMode: () => (/* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_7__.divMode),\n/* harmony export */ divModeExecute: () => (/* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_7__.divModeExecute),\n/* harmony export */ isDivModeEnabled: () => (/* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_7__.isDivModeEnabled),\n/* harmony export */ loadInteractivityPlugin: () => (/* binding */ loadInteractivityPlugin),\n/* harmony export */ mouseDownEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.mouseDownEvent),\n/* harmony export */ mouseLeaveEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.mouseLeaveEvent),\n/* harmony export */ mouseMoveEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.mouseMoveEvent),\n/* harmony export */ mouseOutEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.mouseOutEvent),\n/* harmony export */ mouseUpEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.mouseUpEvent),\n/* harmony export */ singleDivModeExecute: () => (/* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_7__.singleDivModeExecute),\n/* harmony export */ touchCancelEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.touchCancelEvent),\n/* harmony export */ touchEndEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.touchEndEvent),\n/* harmony export */ touchMoveEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.touchMoveEvent),\n/* harmony export */ touchStartEvent: () => (/* reexport safe */ _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__.touchStartEvent)\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 _DivType_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./DivType.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/DivType.js\");\n/* harmony import */ var _ExternalInteractorBase_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ExternalInteractorBase.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/ExternalInteractorBase.js\");\n/* harmony import */ var _InteractivityConstants_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./InteractivityConstants.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityConstants.js\");\n/* harmony import */ var _InteractivityDetect_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./InteractivityDetect.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityDetect.js\");\n/* harmony import */ var _InteractorType_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./InteractorType.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractorType.js\");\n/* harmony import */ var _ParticlesInteractorBase_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ParticlesInteractorBase.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/ParticlesInteractorBase.js\");\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/utils.js\");\n/* harmony import */ var _Options_Classes_Events_DivEvent_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Options/Classes/Events/DivEvent.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/DivEvent.js\");\n/* harmony import */ var _Options_Classes_Modes_Modes_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Options/Classes/Modes/Modes.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Modes/Modes.js\");\n\nasync function loadInteractivityPlugin(engine) {\n engine.checkVersion(\"4.0.0-alpha.5\");\n await engine.register(async (e) => {\n const interactivityEngine = e, { InteractivityPlugin } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-c0445f\").then(__webpack_require__.bind(__webpack_require__, /*! ./InteractivityPlugin.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityPlugin.js\"));\n interactivityEngine.addPlugin(new InteractivityPlugin(interactivityEngine));\n interactivityEngine.interactorsInitializers ??= new Map();\n interactivityEngine.interactors ??= new Map();\n interactivityEngine.addInteractor = (name, interactorInitializer) => {\n interactivityEngine.interactorsInitializers ??= new Map();\n interactivityEngine.interactorsInitializers.set(name, interactorInitializer);\n };\n interactivityEngine.getInteractors = async (container, force = false) => {\n interactivityEngine.interactors ??= new Map();\n interactivityEngine.interactorsInitializers ??= new Map();\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getItemsFromInitializer)(container, interactivityEngine.interactors, interactivityEngine.interactorsInitializers, force);\n };\n interactivityEngine.setOnClickHandler = (callback) => {\n const { items } = interactivityEngine;\n if (!items.length) {\n throw new Error(\"Click handlers can only be set after calling tsParticles.load()\");\n }\n items.forEach(item => {\n const interactivityContainer = item;\n interactivityContainer.addClickHandler?.(callback);\n });\n };\n });\n}\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/index.js?\n}");
107
+
108
+ /***/ },
109
+
110
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/utils.js"
111
+ /*!************************************************************************************************************************************************!*\
112
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/utils.js ***!
113
+ \************************************************************************************************************************************************/
114
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
115
+
116
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ divMode: () => (/* binding */ divMode),\n/* harmony export */ divModeExecute: () => (/* binding */ divModeExecute),\n/* harmony export */ isDivModeEnabled: () => (/* binding */ isDivModeEnabled),\n/* harmony export */ singleDivModeExecute: () => (/* binding */ singleDivModeExecute)\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\nfunction checkSelector(element, selectors) {\n const res = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.executeOnSingleOrMultiple)(selectors, selector => {\n return element.matches(selector);\n });\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isArray)(res) ? res.some(t => t) : res;\n}\nfunction isDivModeEnabled(mode, divs) {\n return !!(0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.findItemFromSingleOrMultiple)(divs, t => t.enable && (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isInArray)(mode, t.mode));\n}\nfunction divModeExecute(mode, divs, callback) {\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.executeOnSingleOrMultiple)(divs, div => {\n const divMode = div.mode, divEnabled = div.enable;\n if (divEnabled && (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isInArray)(mode, divMode)) {\n singleDivModeExecute(div, callback);\n }\n });\n}\nfunction singleDivModeExecute(div, callback) {\n const selectors = div.selectors;\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.executeOnSingleOrMultiple)(selectors, selector => {\n callback(selector, div);\n });\n}\nfunction divMode(divs, element) {\n if (!element || !divs) {\n return;\n }\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.findItemFromSingleOrMultiple)(divs, div => {\n return checkSelector(element, div.selectors);\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/utils.js?\n}");
117
+
118
+ /***/ }
119
+
120
+ }]);
@@ -0,0 +1,70 @@
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_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-c0445f"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityPlugin.js"
21
+ /*!**************************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/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-alpha.5/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-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Interactivity.js\");\n\n\nclass InteractivityPlugin {\n constructor(engine) {\n this._engine = engine;\n this.id = \"interactivity\";\n }\n async getPlugin(container) {\n const { InteractivityPluginInstance } = await __webpack_require__.e(/*! import() */ \"vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparti-98de40\").then(__webpack_require__.bind(__webpack_require__, /*! ./InteractivityPluginInstance.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityPluginInstance.js\"));\n return new InteractivityPluginInstance(this._engine, 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._engine, container);\n }\n interactivityOptions.load(source?.interactivity);\n const interactors = this._engine.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._engine.interactors?.get(container);\n if (!interactors) {\n return;\n }\n for (const interactor of interactors) {\n if (interactor.loadParticlesOptions) {\n interactor.loadParticlesOptions(options, source);\n }\n }\n }\n needsPlugin() {\n return true;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/InteractivityPlugin.js?\n}");
27
+
28
+ /***/ },
29
+
30
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/ClickEvent.js"
31
+ /*!****************************************************************************************************************************************************************************!*\
32
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/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-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass ClickEvent {\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-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/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-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/Events.js"
41
+ /*!************************************************************************************************************************************************************************!*\
42
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/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-alpha.5/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-alpha.5/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-alpha.5/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-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/HoverEvent.js\");\n\n\n\n\nclass Events {\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-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/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-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/HoverEvent.js"
51
+ /*!****************************************************************************************************************************************************************************!*\
52
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/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-alpha.5/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass HoverEvent {\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-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/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-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Interactivity.js"
61
+ /*!************************************************************************************************************************************************************************!*\
62
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/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-alpha.5/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-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Events/Events.js\");\n/* harmony import */ var _InteractivityDetect_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../InteractivityDetect.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/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-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Modes/Modes.js\");\n\n\n\n\nclass Interactivity {\n constructor(engine, container) {\n this.detectsOn = _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(engine, 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-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-interactivity@4.0.0-alpha.5/node_modules/@tsparticles/plugin-interactivity/browser/Options/Classes/Interactivity.js?\n}");
67
+
68
+ /***/ }
69
+
70
+ }]);
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -15,15 +15,15 @@
15
15
  * or disable the default devtool with "devtool: false".
16
16
  * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
17
  */
18
- (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--60c9df"],{
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--3fa544"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-rgb-color/browser/RgbColorManager.js"
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-rgb-color/browser/RgbColorManager.js"
21
21
  /*!**************************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-rgb-color/browser/RgbColorManager.js ***!
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-rgb-color/browser/RgbColorManager.js ***!
23
23
  \**************************************************************************************************************************************************/
24
24
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
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.2/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\")) {\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\")) {\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-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-rgb-color/browser/RgbColorManager.js?\n}");
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-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-rgb-color/browser/RgbColorManager.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -15,15 +15,15 @@
15
15
  * or disable the default devtool with "devtool: false".
16
16
  * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
17
  */
18
- (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--732407"],{
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--8050b3"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-rgb-color/browser/index.js"
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-rgb-color/browser/index.js"
21
21
  /*!****************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-rgb-color/browser/index.js ***!
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-rgb-color/browser/index.js ***!
23
23
  \****************************************************************************************************************************************/
24
24
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
25
 
26
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadRgbColorPlugin: () => (/* binding */ loadRgbColorPlugin)\n/* harmony export */ });\nfunction loadRgbColorPlugin(engine) {\n engine.checkVersion(\"4.0.0-alpha.2\");\n engine.register(async (e) => {\n const { RgbColorManager } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--60c9df\").then(__webpack_require__.bind(__webpack_require__, /*! ./RgbColorManager.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-rgb-color/browser/RgbColorManager.js\"));\n e.addColorManager(new RgbColorManager());\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-alpha.2/node_modules/@tsparticles/plugin-rgb-color/browser/index.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadRgbColorPlugin: () => (/* binding */ loadRgbColorPlugin)\n/* harmony export */ });\nasync function loadRgbColorPlugin(engine) {\n engine.checkVersion(\"4.0.0-alpha.5\");\n await engine.register(async (e) => {\n const { RgbColorManager } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--3fa544\").then(__webpack_require__.bind(__webpack_require__, /*! ./RgbColorManager.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-rgb-color/browser/RgbColorManager.js\"));\n e.addColorManager(new RgbColorManager());\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-rgb-color@4.0.0-alpha.5/node_modules/@tsparticles/plugin-rgb-color/browser/index.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -15,15 +15,15 @@
15
15
  * or disable the default devtool with "devtool: false".
16
16
  * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
17
  */
18
- (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_2_node_modules_tsparticles_plugin-sou-6e6a34"],{
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_5_node_modules_tsparticles_plugin-sou-522702"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-alpha.2/node_modules/@tsparticles/plugin-sounds/browser/index.js"
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-alpha.5/node_modules/@tsparticles/plugin-sounds/browser/index.js"
21
21
  /*!**********************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-alpha.2/node_modules/@tsparticles/plugin-sounds/browser/index.js ***!
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-alpha.5/node_modules/@tsparticles/plugin-sounds/browser/index.js ***!
23
23
  \**********************************************************************************************************************************/
24
24
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
25
 
26
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadSoundsPlugin: () => (/* binding */ loadSoundsPlugin)\n/* harmony export */ });\nfunction loadSoundsPlugin(engine) {\n engine.checkVersion(\"4.0.0-alpha.2\");\n engine.register(async (e) => {\n const { SoundsPlugin } = await __webpack_require__.e(/*! import() */ \"vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_2_node_modules_tsparticles_pl-a36589\").then(__webpack_require__.bind(__webpack_require__, /*! ./SoundsPlugin.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-alpha.2/node_modules/@tsparticles/plugin-sounds/browser/SoundsPlugin.js\"));\n e.addPlugin(new SoundsPlugin(engine));\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-alpha.2/node_modules/@tsparticles/plugin-sounds/browser/index.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadSoundsPlugin: () => (/* binding */ loadSoundsPlugin)\n/* harmony export */ });\nasync function loadSoundsPlugin(engine) {\n engine.checkVersion(\"4.0.0-alpha.5\");\n await engine.register(async (e) => {\n const { SoundsPlugin } = await __webpack_require__.e(/*! import() */ \"vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_5_node_modules_tsparticles_pl-b29140\").then(__webpack_require__.bind(__webpack_require__, /*! ./SoundsPlugin.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-alpha.5/node_modules/@tsparticles/plugin-sounds/browser/SoundsPlugin.js\"));\n e.addPlugin(new SoundsPlugin(engine));\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-alpha.5/node_modules/@tsparticles/plugin-sounds/browser/index.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -15,25 +15,25 @@
15
15
  * or disable the default devtool with "devtool: false".
16
16
  * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
17
  */
18
- (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_2_node_modules_tsparticles_shape-circl-c98489"],{
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_5_node_modules_tsparticles_shape-circl-2a85dc"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-alpha.2/node_modules/@tsparticles/shape-circle/browser/CircleDrawer.js"
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-alpha.5/node_modules/@tsparticles/shape-circle/browser/CircleDrawer.js"
21
21
  /*!***************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-alpha.2/node_modules/@tsparticles/shape-circle/browser/CircleDrawer.js ***!
22
+ !*** ../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-alpha.5/node_modules/@tsparticles/shape-circle/browser/CircleDrawer.js ***!
23
23
  \***************************************************************************************************************************************/
24
24
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
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-alpha.2/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-alpha.2/node_modules/@tsparticles/shape-circle/browser/Utils.js\");\n\n\nconst sides = 12, maxAngle = 360, minAngle = 0;\nclass CircleDrawer {\n constructor() {\n this.validTypes = [\"circle\"];\n }\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-fireworks/../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-alpha.2/node_modules/@tsparticles/shape-circle/browser/CircleDrawer.js?\n}");
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-alpha.5/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-alpha.5/node_modules/@tsparticles/shape-circle/browser/Utils.js\");\n\n\nconst sides = 12, maxAngle = 360, minAngle = 0;\nclass CircleDrawer {\n constructor() {\n this.validTypes = [\"circle\"];\n }\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-fireworks/../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-alpha.5/node_modules/@tsparticles/shape-circle/browser/CircleDrawer.js?\n}");
27
27
 
28
28
  /***/ },
29
29
 
30
- /***/ "../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-alpha.2/node_modules/@tsparticles/shape-circle/browser/Utils.js"
30
+ /***/ "../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-alpha.5/node_modules/@tsparticles/shape-circle/browser/Utils.js"
31
31
  /*!********************************************************************************************************************************!*\
32
- !*** ../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-alpha.2/node_modules/@tsparticles/shape-circle/browser/Utils.js ***!
32
+ !*** ../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-alpha.5/node_modules/@tsparticles/shape-circle/browser/Utils.js ***!
33
33
  \********************************************************************************************************************************/
34
34
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35
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 */ });\nconst double = 2, doublePI = Math.PI * double, minAngle = 0, origin = { x: 0, y: 0 };\nfunction drawCircle(data) {\n const { context, particle, radius } = data;\n particle.circleRange ??= { min: minAngle, max: doublePI };\n const circleRange = particle.circleRange;\n context.arc(origin.x, origin.y, radius, circleRange.min, circleRange.max, false);\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-alpha.2/node_modules/@tsparticles/shape-circle/browser/Utils.js?\n}");
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-alpha.5/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-fireworks/../../node_modules/.pnpm/@tsparticles+shape-circle@4.0.0-alpha.5/node_modules/@tsparticles/shape-circle/browser/Utils.js?\n}");
37
37
 
38
38
  /***/ }
39
39