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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (236) hide show
  1. package/126.min.js +1 -0
  2. package/131.min.js +1 -0
  3. package/182.min.js +1 -0
  4. package/204.min.js +1 -0
  5. package/22.min.js +1 -0
  6. package/231.min.js +1 -0
  7. package/270.min.js +1 -0
  8. package/278.min.js +1 -0
  9. package/28.min.js +1 -0
  10. package/3.min.js +1 -0
  11. package/302.min.js +1 -0
  12. package/316.min.js +1 -0
  13. package/337.min.js +1 -0
  14. package/356.min.js +1 -0
  15. package/382.min.js +1 -0
  16. package/390.min.js +1 -0
  17. package/406.min.js +1 -0
  18. package/434.min.js +1 -0
  19. package/47.min.js +1 -2
  20. package/488.min.js +1 -2
  21. package/508.min.js +1 -0
  22. package/523.min.js +1 -0
  23. package/530.min.js +1 -0
  24. package/536.min.js +1 -0
  25. package/543.min.js +33 -0
  26. package/558.min.js +1 -0
  27. package/596.min.js +1 -0
  28. package/608.min.js +1 -0
  29. package/646.min.js +1 -0
  30. package/652.min.js +1 -0
  31. package/691.min.js +1 -0
  32. package/730.min.js +1 -0
  33. package/731.min.js +1 -0
  34. package/754.min.js +1 -0
  35. package/774.min.js +1 -0
  36. package/78.min.js +1 -0
  37. package/784.min.js +1 -0
  38. package/799.min.js +1 -0
  39. package/819.min.js +1 -0
  40. package/830.min.js +1 -0
  41. package/834.min.js +1 -0
  42. package/844.min.js +1 -0
  43. package/85.min.js +1 -0
  44. package/922.min.js +1 -0
  45. package/930.min.js +1 -0
  46. package/955.min.js +1 -0
  47. package/964.min.js +1 -0
  48. package/986.min.js +1 -0
  49. package/991.min.js +1 -0
  50. package/README.md +17 -2
  51. package/browser/index.js +30 -15
  52. package/browser/options.js +11 -5
  53. package/cjs/index.js +30 -15
  54. package/cjs/options.js +11 -5
  55. package/dist_browser_options_js.js +2 -2
  56. package/esm/index.js +30 -15
  57. package/esm/options.js +11 -5
  58. package/node_modules_pnpm_tsparticles_basic_4_0_0-beta_1_node_modules_tsparticles_basic_browser_index_js.js +30 -0
  59. package/{node_modules_pnpm_tsparticles_effect-trail_4_0_0-alpha_5_node_modules_tsparticles_effect-trai-f143f1.js → node_modules_pnpm_tsparticles_effect-trail_4_0_0-beta_1_node_modules_tsparticles_effect-trail-8ed413.js} +7 -7
  60. package/node_modules_pnpm_tsparticles_effect-trail_4_0_0-beta_1_node_modules_tsparticles_effect-trail-aabdff.js +30 -0
  61. package/{node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_5_node_modules_tsparti-40dd7e.js → node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-beta_1_node_modules_tspartic-99f284.js} +7 -7
  62. package/node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-beta_1_node_modules_tspartic-a8bf09.js +70 -0
  63. package/{node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-50442a.js → node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_plugin-em-486a11.js} +7 -7
  64. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_plugin-em-815c1c.js +100 -0
  65. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_plugin-em-9a4af1.js +30 -0
  66. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_plugin-em-c7125a.js +100 -0
  67. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_plugin-em-e8ed4a.js +50 -0
  68. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--7ee633.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-8932d7.js} +7 -7
  69. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--082572.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-a0aea9.js} +7 -7
  70. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-1179c3.js +30 -0
  71. package/{node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--d17710.js → node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-1737bf.js} +7 -7
  72. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_1_node_modules_tsparticles_plug-908f96.js +120 -0
  73. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_1_node_modules_tsparticles_plug-d6e6b1.js +70 -0
  74. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugin-move_b-aa7108.js +30 -0
  75. package/{node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_5_node_modules_tsparticles_updater-co-9b6d65.js → node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugin-move_b-c23e73.js} +5 -5
  76. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_1_node_modules_tsparticles_plugin-r-0f881a.js +30 -0
  77. package/{node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--8050b3.js → node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_1_node_modules_tsparticles_plugin-r-ae3d6b.js} +7 -7
  78. package/{node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_5_node_modules_tsparticles_plugin-sou-522702.js → node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-beta_1_node_modules_tsparticles_plugin-soun-56e0fe.js} +7 -7
  79. package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_5_node_modules_tsparticles_shape-circl-2a85dc.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_1_node_modules_tsparticles_shape-circle-07826a.js} +12 -12
  80. package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_5_node_modules_tsparticles_shape-circl-d95142.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_1_node_modules_tsparticles_shape-circle-c2187f.js} +7 -7
  81. package/{node_modules_pnpm_tsparticles_shape-line_4_0_0-alpha_5_node_modules_tsparticles_shape-line_br-797f70.js → node_modules_pnpm_tsparticles_shape-line_4_0_0-beta_1_node_modules_tsparticles_shape-line_bro-00ff14.js} +7 -7
  82. package/{node_modules_pnpm_tsparticles_shape-line_4_0_0-alpha_5_node_modules_tsparticles_shape-line_br-901c67.js → node_modules_pnpm_tsparticles_shape-line_4_0_0-beta_1_node_modules_tsparticles_shape-line_bro-ee8e87.js} +12 -12
  83. package/{node_modules_pnpm_tsparticles_updater-destroy_4_0_0-alpha_5_node_modules_tsparticles_updater--f90ba9.js → node_modules_pnpm_tsparticles_updater-destroy_4_0_0-beta_1_node_modules_tsparticles_updater-d-1451bc.js} +7 -7
  84. package/node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-beta_1_node_modules_tsparticles_update-75868d.js +30 -0
  85. package/node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-beta_1_node_modules_tsparticles_update-7cca03.js +30 -0
  86. package/node_modules_pnpm_tsparticles_updater-life_4_0_0-beta_1_node_modules_tsparticles_updater-life-0d5869.js +70 -0
  87. package/{node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_5_node_modules_tsparticles_updater-lif-ef30bd.js → node_modules_pnpm_tsparticles_updater-life_4_0_0-beta_1_node_modules_tsparticles_updater-life-3af196.js} +7 -7
  88. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_1_node_modules_tsparticles_updater-o-138fb5.js +30 -0
  89. package/{node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_5_node_modules_tsparticles_updater--35fbab.js → node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_1_node_modules_tsparticles_updater-o-8a311f.js} +7 -7
  90. package/{node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_5_node_modules_tsparticles_update-04964a.js → node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_1_node_modules_tsparticles_updater-265a6a.js} +7 -7
  91. package/{node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_5_node_modules_tsparticles_updater-r-d70445.js → node_modules_pnpm_tsparticles_updater-rotate_4_0_0-beta_1_node_modules_tsparticles_updater-ro-82c0df.js} +7 -7
  92. package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-beta_1_node_modules_tsparticles_updater-ro-f03001.js +50 -0
  93. package/{node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_5_node_modules_tsparticles_updater-siz-7c3e56.js → node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_1_node_modules_tsparticles_updater-size-124f3f.js} +7 -7
  94. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_1_node_modules_tsparticles_updater-size-cbf46f.js +30 -0
  95. package/node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-beta_1_node_modules_tsparticles_upda-01fd08.js +30 -0
  96. package/{node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_5_node_modules_tsparticles_upd-7fb447.js → node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-beta_1_node_modules_tsparticles_upda-fa7131.js} +7 -7
  97. package/package.json +13 -15
  98. package/report.html +84 -29
  99. package/tsparticles.preset.fireworks.bundle.js +336 -324
  100. package/tsparticles.preset.fireworks.bundle.min.js +2 -2
  101. package/tsparticles.preset.fireworks.js +40 -48
  102. package/tsparticles.preset.fireworks.min.js +2 -2
  103. package/umd/index.js +30 -15
  104. package/umd/options.js +11 -5
  105. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-beta_1_node_modules_tsparticles_engine_bro-0bb20b.js +100 -0
  106. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_p-168eb1.js +30 -0
  107. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_p-c5a6f7.js +210 -0
  108. package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_1_node_modules_tspartic-d557a0.js +50 -0
  109. package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugi-2dea06.js +40 -0
  110. package/vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-beta_1_node_modules_tsparticles_plu-b8727b.js +40 -0
  111. package/vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-beta_1_node_modules_tsparticles_plu-dcfdc3.js +130 -0
  112. package/vendors-node_modules_pnpm_tsparticles_updater-destroy_4_0_0-beta_1_node_modules_tsparticles_u-b77b5b.js +100 -0
  113. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_1_node_modules_tsparticles-a5ec2f.js +80 -0
  114. package/121.min.js +0 -2
  115. package/121.min.js.LICENSE.txt +0 -1
  116. package/142.min.js +0 -2
  117. package/142.min.js.LICENSE.txt +0 -1
  118. package/160.min.js +0 -2
  119. package/160.min.js.LICENSE.txt +0 -1
  120. package/184.min.js +0 -2
  121. package/184.min.js.LICENSE.txt +0 -1
  122. package/196.min.js +0 -2
  123. package/196.min.js.LICENSE.txt +0 -1
  124. package/2.min.js +0 -2
  125. package/2.min.js.LICENSE.txt +0 -1
  126. package/202.min.js +0 -2
  127. package/202.min.js.LICENSE.txt +0 -1
  128. package/263.min.js +0 -2
  129. package/263.min.js.LICENSE.txt +0 -1
  130. package/294.min.js +0 -2
  131. package/294.min.js.LICENSE.txt +0 -1
  132. package/309.min.js +0 -2
  133. package/309.min.js.LICENSE.txt +0 -1
  134. package/352.min.js +0 -2
  135. package/352.min.js.LICENSE.txt +0 -1
  136. package/413.min.js +0 -2
  137. package/413.min.js.LICENSE.txt +0 -1
  138. package/414.min.js +0 -2
  139. package/414.min.js.LICENSE.txt +0 -1
  140. package/420.min.js +0 -2
  141. package/420.min.js.LICENSE.txt +0 -1
  142. package/425.min.js +0 -2
  143. package/425.min.js.LICENSE.txt +0 -1
  144. package/426.min.js +0 -2
  145. package/426.min.js.LICENSE.txt +0 -1
  146. package/429.min.js +0 -2
  147. package/429.min.js.LICENSE.txt +0 -1
  148. package/440.min.js +0 -2
  149. package/440.min.js.LICENSE.txt +0 -1
  150. package/464.min.js +0 -2
  151. package/464.min.js.LICENSE.txt +0 -1
  152. package/47.min.js.LICENSE.txt +0 -1
  153. package/470.min.js +0 -2
  154. package/470.min.js.LICENSE.txt +0 -1
  155. package/486.min.js +0 -2
  156. package/486.min.js.LICENSE.txt +0 -1
  157. package/488.min.js.LICENSE.txt +0 -1
  158. package/505.min.js +0 -2
  159. package/505.min.js.LICENSE.txt +0 -1
  160. package/538.min.js +0 -2
  161. package/538.min.js.LICENSE.txt +0 -1
  162. package/56.min.js +0 -2
  163. package/56.min.js.LICENSE.txt +0 -1
  164. package/564.min.js +0 -2
  165. package/564.min.js.LICENSE.txt +0 -1
  166. package/60.min.js +0 -2
  167. package/60.min.js.LICENSE.txt +0 -1
  168. package/668.min.js +0 -2
  169. package/668.min.js.LICENSE.txt +0 -1
  170. package/680.min.js +0 -2
  171. package/680.min.js.LICENSE.txt +0 -1
  172. package/684.min.js +0 -2
  173. package/684.min.js.LICENSE.txt +0 -1
  174. package/685.min.js +0 -2
  175. package/685.min.js.LICENSE.txt +0 -1
  176. package/688.min.js +0 -2
  177. package/688.min.js.LICENSE.txt +0 -1
  178. package/726.min.js +0 -2
  179. package/726.min.js.LICENSE.txt +0 -1
  180. package/736.min.js +0 -2
  181. package/736.min.js.LICENSE.txt +0 -1
  182. package/778.min.js +0 -2
  183. package/778.min.js.LICENSE.txt +0 -1
  184. package/792.min.js +0 -2
  185. package/792.min.js.LICENSE.txt +0 -1
  186. package/802.min.js +0 -2
  187. package/802.min.js.LICENSE.txt +0 -1
  188. package/847.min.js +0 -2
  189. package/847.min.js.LICENSE.txt +0 -1
  190. package/864.min.js +0 -2
  191. package/864.min.js.LICENSE.txt +0 -1
  192. package/888.min.js +0 -2
  193. package/888.min.js.LICENSE.txt +0 -1
  194. package/909.min.js +0 -2
  195. package/909.min.js.LICENSE.txt +0 -1
  196. package/919.min.js +0 -2
  197. package/919.min.js.LICENSE.txt +0 -1
  198. package/926.min.js +0 -2
  199. package/926.min.js.LICENSE.txt +0 -1
  200. package/933.min.js +0 -2
  201. package/933.min.js.LICENSE.txt +0 -1
  202. package/947.min.js +0 -2
  203. package/947.min.js.LICENSE.txt +0 -1
  204. package/949.min.js +0 -2
  205. package/949.min.js.LICENSE.txt +0 -1
  206. package/990.min.js +0 -2
  207. package/990.min.js.LICENSE.txt +0 -1
  208. package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_5_node_modules_tsparticles_basic_browser_index_js.js +0 -30
  209. package/node_modules_pnpm_tsparticles_effect-trail_4_0_0-alpha_5_node_modules_tsparticles_effect-trai-ad6390.js +0 -30
  210. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_5_node_modules_tsparticles_move-base_brow-26eaee.js +0 -40
  211. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_5_node_modules_tsparticles_move-base_brow-29272f.js +0 -30
  212. package/node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_5_node_modules_tsparti-80d7f0.js +0 -70
  213. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-051d5b.js +0 -50
  214. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-9414b7.js +0 -90
  215. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-b376d4.js +0 -90
  216. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-db7965.js +0 -30
  217. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--175cc6.js +0 -30
  218. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-4ef54e.js +0 -120
  219. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-c0445f.js +0 -70
  220. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--3fa544.js +0 -30
  221. package/node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_5_node_modules_tsparticles_updater-co-a17be7.js +0 -30
  222. package/node_modules_pnpm_tsparticles_updater-destroy_4_0_0-alpha_5_node_modules_tsparticles_updater--6c351c.js +0 -100
  223. package/node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_5_node_modules_tsparticles_updater-lif-e3e3ae.js +0 -70
  224. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_5_node_modules_tsparticles_updater--4bc1f3.js +0 -30
  225. package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_5_node_modules_tsparticles_updater-r-9dd4f0.js +0 -50
  226. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_5_node_modules_tsparticles_updater-siz-547e88.js +0 -30
  227. package/node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_5_node_modules_tsparticles_upd-4e9e59.js +0 -30
  228. package/tsparticles.preset.fireworks.bundle.min.js.LICENSE.txt +0 -1
  229. package/tsparticles.preset.fireworks.min.js.LICENSE.txt +0 -1
  230. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_5_node_modules_tsparticles_engine_br-85ef38.js +0 -90
  231. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_-302925.js +0 -200
  232. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_-4cf04b.js +0 -30
  233. package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparti-98de40.js +0 -50
  234. package/vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_5_node_modules_tsparticles_pl-b29140.js +0 -130
  235. package/vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_5_node_modules_tsparticles_pl-c6a2a0.js +0 -40
  236. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_5_node_modules_tsparticle-f9a455.js +0 -80
@@ -0,0 +1,130 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.5
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-beta_1_node_modules_tsparticles_plu-dcfdc3"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/Sounds.js"
21
+ /*!**************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/Sounds.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 */ Sounds: () => (/* binding */ Sounds)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _SoundsEvent_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SoundsEvent.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsEvent.js\");\n/* harmony import */ var _SoundsIcons_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SoundsIcons.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsIcons.js\");\n/* harmony import */ var _SoundsVolume_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SoundsVolume.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsVolume.js\");\n\n\n\n\nclass Sounds {\n autoPlay;\n enable;\n events;\n icons;\n volume;\n constructor() {\n this.autoPlay = true;\n this.enable = false;\n this.events = [];\n this.icons = new _SoundsIcons_js__WEBPACK_IMPORTED_MODULE_2__.SoundsIcons();\n this.volume = new _SoundsVolume_js__WEBPACK_IMPORTED_MODULE_3__.SoundsVolume();\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.autoPlay !== undefined) {\n this.autoPlay = data.autoPlay;\n }\n if (data.enable !== undefined) {\n this.enable = data.enable;\n }\n if (data.events !== undefined) {\n this.events = data.events.map(t => {\n const event = new _SoundsEvent_js__WEBPACK_IMPORTED_MODULE_1__.SoundsEvent();\n event.load(t);\n return event;\n });\n }\n this.icons.load(data.icons);\n if (data.volume !== undefined) {\n this.volume.load(data.volume);\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/Sounds.js?\n}");
27
+
28
+ /***/ },
29
+
30
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsAudio.js"
31
+ /*!*******************************************************************************************************************************************************!*\
32
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsAudio.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 */ SoundsAudio: () => (/* binding */ SoundsAudio)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass SoundsAudio {\n loop;\n source;\n constructor() {\n this.loop = false;\n this.source = \"\";\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isObject)(data)) {\n if (data.loop !== undefined) {\n this.loop = data.loop;\n }\n if (data.source !== undefined) {\n this.source = data.source;\n }\n }\n else {\n this.source = data;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsAudio.js?\n}");
37
+
38
+ /***/ },
39
+
40
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsEvent.js"
41
+ /*!*******************************************************************************************************************************************************!*\
42
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsEvent.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 */ SoundsEvent: () => (/* binding */ SoundsEvent)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _SoundsAudio_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SoundsAudio.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsAudio.js\");\n/* harmony import */ var _SoundsMelody_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SoundsMelody.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsMelody.js\");\n/* harmony import */ var _SoundsNote_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SoundsNote.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsNote.js\");\n\n\n\n\nclass SoundsEvent {\n audio;\n event;\n filter;\n melodies;\n notes;\n constructor() {\n this.event = [];\n this.notes = [];\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.event !== undefined) {\n this.event = data.event;\n }\n if (data.audio !== undefined) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isArray)(data.audio)) {\n this.audio = data.audio.map(s => {\n const tmp = new _SoundsAudio_js__WEBPACK_IMPORTED_MODULE_1__.SoundsAudio();\n tmp.load(s);\n return tmp;\n });\n }\n else {\n this.audio = new _SoundsAudio_js__WEBPACK_IMPORTED_MODULE_1__.SoundsAudio();\n this.audio.load(data.audio);\n }\n }\n if (data.notes !== undefined) {\n this.notes = data.notes.map(t => {\n const tmp = new _SoundsNote_js__WEBPACK_IMPORTED_MODULE_3__.SoundsNote();\n tmp.load(t);\n return tmp;\n });\n }\n if (data.melodies !== undefined) {\n this.melodies = data.melodies.map(t => {\n const tmp = new _SoundsMelody_js__WEBPACK_IMPORTED_MODULE_2__.SoundsMelody();\n tmp.load(t);\n return tmp;\n });\n }\n if (data.filter) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isString)(data.filter)) {\n const filterFunc = globalThis[data.filter];\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isFunction)(filterFunc)) {\n this.filter = filterFunc;\n }\n }\n else {\n this.filter = data.filter;\n }\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsEvent.js?\n}");
47
+
48
+ /***/ },
49
+
50
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsIcon.js"
51
+ /*!******************************************************************************************************************************************************!*\
52
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsIcon.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 */ SoundsIcon: () => (/* binding */ SoundsIcon)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass SoundsIcon {\n height;\n path;\n style;\n svg;\n width;\n constructor() {\n this.width = 24;\n this.height = 24;\n this.style = \"\";\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.path !== undefined) {\n this.path = data.path;\n }\n if (data.svg !== undefined) {\n this.svg = data.svg;\n }\n if (data.width !== undefined) {\n this.width = data.width;\n }\n if (data.height !== undefined) {\n this.height = data.height;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsIcon.js?\n}");
57
+
58
+ /***/ },
59
+
60
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsIcons.js"
61
+ /*!*******************************************************************************************************************************************************!*\
62
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsIcons.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 */ SoundsIcons: () => (/* binding */ SoundsIcons)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _SoundsIcon_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SoundsIcon.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsIcon.js\");\n\n\nclass SoundsIcons {\n enable;\n mute;\n unmute;\n volumeDown;\n volumeUp;\n constructor() {\n this.mute = new _SoundsIcon_js__WEBPACK_IMPORTED_MODULE_1__.SoundsIcon();\n this.unmute = new _SoundsIcon_js__WEBPACK_IMPORTED_MODULE_1__.SoundsIcon();\n this.volumeDown = new _SoundsIcon_js__WEBPACK_IMPORTED_MODULE_1__.SoundsIcon();\n this.volumeUp = new _SoundsIcon_js__WEBPACK_IMPORTED_MODULE_1__.SoundsIcon();\n this.enable = false;\n this.mute.svg = `<?xml version=\"1.0\"?>\n<svg baseProfile=\"tiny\" height=\"24px\" version=\"1.2\" viewBox=\"0 0 24 24\" width=\"24px\"\n xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <g id=\"Layer_1\">\n <path fill=\"#fff\" d=\"M19.707,5.293c-0.391-0.391-1.023-0.391-1.414,0l-1.551,1.551c-0.345-0.688-0.987-1.02-1.604-1.02c-0.449,0-0.905,0.152-1.356,0.453l-2.672,1.781C10.357,8.561,8.904,9,8,9c-1.654,0-3,1.346-3,3v2c0,1.237,0.754,2.302,1.826,2.76l-1.533,1.533c-0.391,0.391-0.391,1.023,0,1.414C5.488,19.902,5.744,20,6,20s0.512-0.098,0.707-0.293l2.527-2.527c0.697,0.174,1.416,0.455,1.875,0.762l2.672,1.781c0.451,0.301,0.907,0.453,1.356,0.453C16.035,20.176,17,19.495,17,18V9.414l2.707-2.707C20.098,6.316,20.098,5.684,19.707,5.293z M14.891,7.941c0.038-0.025,0.073-0.046,0.104-0.062C14.998,7.914,15,7.954,15,8v1.293l-2,2V9.202L14.891,7.941z M7,12c0-0.552,0.448-1,1-1c1.211,0,2.907-0.495,4-1.146v2.439l-2.83,2.83C8.757,15.046,8.356,15,8,15c-0.552,0-1-0.448-1-1V12z M10.301,15.406L12,13.707v2.439C11.519,15.859,10.925,15.604,10.301,15.406z M14.994,18.12c-0.03-0.016-0.065-0.036-0.104-0.062L13,16.798v-4.091l2-2V18C15,18.046,14.998,18.086,14.994,18.12z\"/>\n </g>\n</svg>`;\n this.unmute.svg = `<?xml version=\"1.0\"?>\n<svg baseProfile=\"tiny\" height=\"24px\" version=\"1.2\" viewBox=\"0 0 24 24\" width=\"24px\"\n xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <g id=\"Layer_1\">\n <path fill=\"#fff\" d=\"M17.138,5.824c-0.449,0-0.905,0.152-1.356,0.453l-2.672,1.781C12.357,8.561,10.904,9,10,9c-1.654,0-3,1.346-3,3v2c0,1.654,1.346,3,3,3c0.904,0,2.357,0.439,3.109,0.941l2.672,1.781c0.451,0.301,0.907,0.453,1.356,0.453C18.035,20.176,19,19.495,19,18V8C19,6.505,18.035,5.824,17.138,5.824z M14,16.146C12.907,15.495,11.211,15,10,15c-0.552,0-1-0.448-1-1v-2c0-0.552,0.448-1,1-1c1.211,0,2.907-0.495,4-1.146V16.146z M17,18c0,0.046-0.002,0.086-0.006,0.12c-0.03-0.016-0.065-0.036-0.104-0.062L15,16.798V9.202l1.891-1.261c0.038-0.025,0.073-0.046,0.104-0.062C16.998,7.914,17,7.954,17,8V18z\"/>\n </g>\n</svg>`;\n this.volumeDown.svg = `<?xml version=\"1.0\"?>\n<svg baseProfile=\"tiny\" height=\"24px\" version=\"1.2\" viewBox=\"0 0 24 24\" width=\"24px\"\n xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <g id=\"Layer_1\">\n <path fill=\"#fff\" d=\"M15.138,5.824c-0.449,0-0.905,0.152-1.356,0.453l-2.672,1.781C10.357,8.561,8.904,9,8,9c-1.654,0-3,1.346-3,3v2c0,1.654,1.346,3,3,3c0.904,0,2.357,0.439,3.109,0.941l2.672,1.781c0.451,0.301,0.907,0.453,1.356,0.453C16.035,20.176,17,19.495,17,18V8C17,6.505,16.035,5.824,15.138,5.824z M8,15c-0.552,0-1-0.448-1-1v-2c0-0.552,0.448-1,1-1c1.211,0,2.907-0.495,4-1.146v6.293C10.907,15.495,9.211,15,8,15z M15,18c0,0.046-0.002,0.086-0.006,0.12c-0.03-0.016-0.065-0.036-0.104-0.062L13,16.798V9.202l1.891-1.261c0.038-0.025,0.073-0.046,0.104-0.062C14.998,7.914,15,7.954,15,8V18z\"/>\n <path fill=\"#fff\" d=\"M18.292,10.294c-0.39,0.391-0.39,1.023,0.002,1.414c0.345,0.345,0.535,0.803,0.535,1.291c0,0.489-0.19,0.948-0.536,1.294c-0.391,0.39-0.391,1.023,0,1.414C18.488,15.902,18.744,16,19,16s0.512-0.098,0.707-0.293c0.724-0.723,1.122-1.685,1.122-2.708s-0.398-1.984-1.123-2.707C19.317,9.903,18.683,9.901,18.292,10.294z\"/>\n </g>\n</svg>`;\n this.volumeUp.svg = `<?xml version=\"1.0\"?>\n<svg baseProfile=\"tiny\" height=\"24px\" version=\"1.2\" viewBox=\"0 0 24 24\" width=\"24px\"\n xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <g id=\"Layer_1\">\n <path fill=\"#fff\" d=\"M16.706,10.292c-0.389-0.389-1.023-0.391-1.414,0.002c-0.39,0.391-0.39,1.023,0.002,1.414c0.345,0.345,0.535,0.803,0.535,1.291c0,0.489-0.19,0.948-0.536,1.294c-0.391,0.39-0.391,1.023,0,1.414C15.488,15.902,15.744,16,16,16s0.512-0.098,0.707-0.293c0.724-0.723,1.122-1.685,1.122-2.708S17.431,11.015,16.706,10.292z\"/>\n <path fill=\"#fff\" d=\"M18.706,8.292c-0.391-0.389-1.023-0.39-1.414,0.002c-0.39,0.391-0.39,1.024,0.002,1.414c0.879,0.877,1.363,2.044,1.364,3.287c0.001,1.246-0.484,2.417-1.365,3.298c-0.391,0.391-0.391,1.023,0,1.414C17.488,17.902,17.744,18,18,18s0.512-0.098,0.707-0.293c1.259-1.259,1.952-2.933,1.951-4.713C20.657,11.217,19.964,9.547,18.706,8.292z\"/>\n <path fill=\"#fff\" d=\"M20.706,6.292c-0.391-0.389-1.023-0.39-1.414,0.002c-0.39,0.391-0.39,1.024,0.002,1.414c1.412,1.409,2.191,3.285,2.192,5.284c0.002,2.002-0.777,3.885-2.193,5.301c-0.391,0.391-0.391,1.023,0,1.414C19.488,19.902,19.744,20,20,20s0.512-0.098,0.707-0.293c1.794-1.794,2.781-4.18,2.779-6.717C23.485,10.457,22.497,8.078,20.706,6.292z\"/>\n <path fill=\"#fff\" d=\"M12.138,5.824c-0.449,0-0.905,0.152-1.356,0.453L8.109,8.059C7.357,8.561,5.904,9,5,9c-1.654,0-3,1.346-3,3v2c0,1.654,1.346,3,3,3c0.904,0,2.357,0.439,3.109,0.941l2.672,1.781c0.451,0.301,0.907,0.453,1.356,0.453C13.035,20.176,14,19.495,14,18V8C14,6.505,13.035,5.824,12.138,5.824z M5,15c-0.552,0-1-0.448-1-1v-2c0-0.552,0.448-1,1-1c1.211,0,2.907-0.495,4-1.146v6.293C7.907,15.495,6.211,15,5,15z M12,18c0,0.046-0.002,0.086-0.006,0.12c-0.03-0.016-0.065-0.036-0.104-0.062L10,16.798V9.202l1.891-1.261c0.038-0.025,0.073-0.046,0.104-0.062C11.998,7.914,12,7.954,12,8V18z\"/>\n </g>\n</svg>`;\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 this.mute.load(data.mute);\n this.unmute.load(data.unmute);\n this.volumeDown.load(data.volumeDown);\n this.volumeUp.load(data.volumeUp);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsIcons.js?\n}");
67
+
68
+ /***/ },
69
+
70
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsMelody.js"
71
+ /*!********************************************************************************************************************************************************!*\
72
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsMelody.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 */ SoundsMelody: () => (/* binding */ SoundsMelody)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _SoundsNote_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SoundsNote.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsNote.js\");\n\n\nclass SoundsMelody {\n loop;\n melodies;\n notes;\n constructor() {\n this.loop = false;\n this.melodies = [];\n this.notes = [];\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.loop !== undefined) {\n this.loop = data.loop;\n }\n if (data.melodies !== undefined) {\n this.melodies = data.melodies.map(s => {\n const tmp = new SoundsMelody();\n tmp.load(s);\n return tmp;\n });\n }\n if (data.notes !== undefined) {\n this.notes = data.notes.map(s => {\n const tmp = new _SoundsNote_js__WEBPACK_IMPORTED_MODULE_1__.SoundsNote();\n tmp.load(s);\n return tmp;\n });\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsMelody.js?\n}");
77
+
78
+ /***/ },
79
+
80
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsNote.js"
81
+ /*!******************************************************************************************************************************************************!*\
82
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsNote.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 */ SoundsNote: () => (/* binding */ SoundsNote)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass SoundsNote {\n duration;\n value;\n constructor() {\n this.duration = 500;\n this.value = [];\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.duration !== undefined) {\n this.duration = data.duration;\n }\n if (data.value !== undefined) {\n this.value = data.value;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsNote.js?\n}");
87
+
88
+ /***/ },
89
+
90
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsVolume.js"
91
+ /*!********************************************************************************************************************************************************!*\
92
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsVolume.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 */ SoundsVolume: () => (/* binding */ SoundsVolume)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass SoundsVolume {\n max;\n min;\n step;\n value;\n constructor() {\n this.value = 100;\n this.max = 100;\n this.min = 0;\n this.step = 10;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isObject)(data)) {\n if (data.max !== undefined) {\n this.max = data.max;\n }\n if (data.min !== undefined) {\n this.min = data.min;\n }\n if (data.step !== undefined) {\n this.step = data.step;\n }\n if (data.value !== undefined) {\n this.value = data.value;\n }\n }\n else {\n this.value = data;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/SoundsVolume.js?\n}");
97
+
98
+ /***/ },
99
+
100
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/SoundsPlugin.js"
101
+ /*!****************************************************************************************************************************************!*\
102
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/SoundsPlugin.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 */ SoundsPlugin: () => (/* binding */ SoundsPlugin)\n/* harmony export */ });\n/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/constants.js\");\n/* harmony import */ var _Options_Classes_Sounds_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Options/Classes/Sounds.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/Options/Classes/Sounds.js\");\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/utils.js\");\n\n\n\nconst generalFirstClickHandler = () => {\n removeEventListener(_constants_js__WEBPACK_IMPORTED_MODULE_0__.mouseDownEvent, generalFirstClickHandler);\n removeEventListener(_constants_js__WEBPACK_IMPORTED_MODULE_0__.touchStartEvent, generalFirstClickHandler);\n (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.unmuteWindow)();\n};\nclass SoundsPlugin {\n id = \"sounds\";\n _engine;\n constructor(engine) {\n this._engine = engine;\n const listenerOptions = {\n capture: true,\n once: true,\n };\n addEventListener(_constants_js__WEBPACK_IMPORTED_MODULE_0__.mouseDownEvent, generalFirstClickHandler, listenerOptions);\n addEventListener(_constants_js__WEBPACK_IMPORTED_MODULE_0__.touchStartEvent, generalFirstClickHandler, listenerOptions);\n }\n async getPlugin(container) {\n const { SoundsPluginInstance } = await __webpack_require__.e(/*! import() */ \"vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-beta_1_node_modules_tsparticles_plu-b8727b\").then(__webpack_require__.bind(__webpack_require__, /*! ./SoundsPluginInstance.js */ \"../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/SoundsPluginInstance.js\"));\n return new SoundsPluginInstance(container, this._engine);\n }\n loadOptions(_container, options, source) {\n if (!this.needsPlugin(options) && !this.needsPlugin(source)) {\n return;\n }\n let soundsOptions = options.sounds;\n if (soundsOptions?.load === undefined) {\n options.sounds = soundsOptions = new _Options_Classes_Sounds_js__WEBPACK_IMPORTED_MODULE_1__.Sounds();\n }\n soundsOptions.load(source?.sounds);\n }\n needsPlugin(options) {\n return options?.sounds?.enable ?? false;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/SoundsPlugin.js?\n}");
107
+
108
+ /***/ },
109
+
110
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/constants.js"
111
+ /*!*************************************************************************************************************************************!*\
112
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/constants.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 */ mouseDownEvent: () => (/* binding */ mouseDownEvent),\n/* harmony export */ touchStartEvent: () => (/* binding */ touchStartEvent)\n/* harmony export */ });\nconst mouseDownEvent = \"pointerdown\", touchStartEvent = \"touchstart\";\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/constants.js?\n}");
117
+
118
+ /***/ },
119
+
120
+ /***/ "../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/utils.js"
121
+ /*!*********************************************************************************************************************************!*\
122
+ !*** ../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/utils.js ***!
123
+ \*********************************************************************************************************************************/
124
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
125
+
126
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getNoteFrequency: () => (/* binding */ getNoteFrequency),\n/* harmony export */ isWindowMuted: () => (/* binding */ isWindowMuted),\n/* harmony export */ unmuteWindow: () => (/* binding */ unmuteWindow)\n/* harmony export */ });\nconst notes = new Map();\nnotes.set(\"C\", [16.35, 32.7, 65.41, 130.81, 261.63, 523.25, 1046.5, 2093.0, 4186.01]);\nnotes.set(\"Db\", [17.32, 34.65, 69.3, 138.59, 277.18, 554.37, 1108.73, 2217.46, 4434.92]);\nnotes.set(\"D\", [18.35, 36.71, 73.42, 146.83, 293.66, 587.33, 1174.66, 2349.32, 4698.63]);\nnotes.set(\"Eb\", [19.45, 38.89, 77.78, 155.56, 311.13, 622.25, 1244.51, 2489.02, 4978.03]);\nnotes.set(\"E\", [20.6, 41.2, 82.41, 164.81, 329.63, 659.25, 1318.51, 2637.02, 5274.04]);\nnotes.set(\"F\", [21.83, 43.65, 87.31, 174.61, 349.23, 698.46, 1396.91, 2793.83, 5587.65]);\nnotes.set(\"Gb\", [23.12, 46.25, 92.5, 185.0, 369.99, 739.99, 1479.98, 2959.96, 5919.91]);\nnotes.set(\"G\", [24.5, 49.0, 98.0, 196.0, 392.0, 783.99, 1567.98, 3135.96, 6271.93]);\nnotes.set(\"Ab\", [25.96, 51.91, 103.83, 207.65, 415.3, 830.61, 1661.22, 3322.44, 6644.88]);\nnotes.set(\"A\", [27.5, 55.0, 110.0, 220.0, 440.0, 880.0, 1760.0, 3520.0, 7040.0]);\nnotes.set(\"Bb\", [29.14, 58.27, 116.54, 233.08, 466.16, 932.33, 1864.66, 3729.31, 7458.62]);\nnotes.set(\"B\", [30.87, 61.74, 123.47, 246.94, 493.88, 987.77, 1975.53, 3951.07, 7902.13]);\nnotes.set(\"pause\", [0]);\nfunction getNoteFrequency(note) {\n const regex = /(([A-G]b?)(\\d))|pause/i, result = regex.exec(note), groupKey = 2, defaultMatchKey = 0, innerGroupKey = 3;\n if (!result?.length) {\n return;\n }\n const noteKey = result[groupKey] ?? result[defaultMatchKey], noteItem = notes.get(noteKey);\n if (!noteItem) {\n return;\n }\n return noteItem[parseInt(result[innerGroupKey] ?? \"0\")];\n}\nlet muted = true;\nconst isWindowMuted = () => {\n return muted;\n};\nconst unmuteWindow = () => {\n muted = false;\n};\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+plugin-sounds@4.0.0-beta.1/node_modules/@tsparticles/plugin-sounds/browser/utils.js?\n}");
127
+
128
+ /***/ }
129
+
130
+ }]);
@@ -0,0 +1,100 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.5
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["vendors-node_modules_pnpm_tsparticles_updater-destroy_4_0_0-beta_1_node_modules_tsparticles_u-b77b5b"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/DestroyUpdater.js"
21
+ /*!**********************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/DestroyUpdater.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 */ DestroyUpdater: () => (/* binding */ DestroyUpdater)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _Options_Classes_Destroy_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Options/Classes/Destroy.js */ \"../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/Destroy.js\");\n/* harmony import */ var _Enums_DestroyMode_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Enums/DestroyMode.js */ \"../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Enums/DestroyMode.js\");\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Utils.js */ \"../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Utils.js\");\n\n\n\n\nclass DestroyUpdater {\n _container;\n _pluginManager;\n constructor(pluginManager, container) {\n this._container = container;\n this._pluginManager = pluginManager;\n }\n init(particle) {\n const container = this._container, particlesOptions = particle.options, destroyOptions = particlesOptions.destroy;\n if (!destroyOptions) {\n return;\n }\n particle.splitCount = 0;\n const destroyBoundsOptions = destroyOptions.bounds;\n particle.destroyBounds ??= {};\n const { bottom, left, right, top } = destroyBoundsOptions, { destroyBounds } = particle, canvasSize = container.canvas.size;\n if (bottom) {\n destroyBounds.bottom = ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(bottom) * canvasSize.height) / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator;\n }\n if (left) {\n destroyBounds.left = ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(left) * canvasSize.width) / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator;\n }\n if (right) {\n destroyBounds.right = ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(right) * canvasSize.width) / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator;\n }\n if (top) {\n destroyBounds.top = ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(top) * canvasSize.height) / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator;\n }\n }\n isEnabled(particle) {\n return !particle.destroyed;\n }\n loadOptions(options, ...sources) {\n options.destroy ??= new _Options_Classes_Destroy_js__WEBPACK_IMPORTED_MODULE_1__.Destroy();\n for (const source of sources) {\n options.destroy.load(source?.destroy);\n }\n }\n particleDestroyed(particle, override) {\n if (override) {\n return;\n }\n const destroyOptions = particle.options.destroy;\n if (destroyOptions?.mode === _Enums_DestroyMode_js__WEBPACK_IMPORTED_MODULE_2__.DestroyMode.split) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_3__.split)(this._pluginManager, this._container, particle);\n }\n }\n update(particle) {\n if (particle.unbreakableUntil !== undefined && performance.now() >= particle.unbreakableUntil) {\n particle.unbreakable = false;\n particle.unbreakableUntil = undefined;\n }\n const position = particle.getPosition(), bounds = particle.destroyBounds;\n if (!bounds) {\n return;\n }\n if ((bounds.bottom !== undefined && position.y >= bounds.bottom) ||\n (bounds.left !== undefined && position.x <= bounds.left) ||\n (bounds.right !== undefined && position.x >= bounds.right) ||\n (bounds.top !== undefined && position.y <= bounds.top)) {\n particle.destroy();\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/DestroyUpdater.js?\n}");
27
+
28
+ /***/ },
29
+
30
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Enums/DestroyMode.js"
31
+ /*!*************************************************************************************************************************************************!*\
32
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Enums/DestroyMode.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 */ DestroyMode: () => (/* binding */ DestroyMode)\n/* harmony export */ });\nvar DestroyMode;\n(function (DestroyMode) {\n DestroyMode[\"none\"] = \"none\";\n DestroyMode[\"split\"] = \"split\";\n})(DestroyMode || (DestroyMode = {}));\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Enums/DestroyMode.js?\n}");
37
+
38
+ /***/ },
39
+
40
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/Destroy.js"
41
+ /*!*******************************************************************************************************************************************************!*\
42
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/Destroy.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 */ Destroy: () => (/* binding */ Destroy)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _DestroyBounds_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./DestroyBounds.js */ \"../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/DestroyBounds.js\");\n/* harmony import */ var _Enums_DestroyMode_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../Enums/DestroyMode.js */ \"../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Enums/DestroyMode.js\");\n/* harmony import */ var _Split_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Split.js */ \"../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/Split.js\");\n\n\n\n\nclass Destroy {\n bounds;\n mode;\n split;\n constructor() {\n this.bounds = new _DestroyBounds_js__WEBPACK_IMPORTED_MODULE_1__.DestroyBounds();\n this.mode = _Enums_DestroyMode_js__WEBPACK_IMPORTED_MODULE_2__.DestroyMode.none;\n this.split = new _Split_js__WEBPACK_IMPORTED_MODULE_3__.Split();\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.mode) {\n this.mode = data.mode;\n }\n if (data.bounds) {\n this.bounds.load(data.bounds);\n }\n this.split.load(data.split);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/Destroy.js?\n}");
47
+
48
+ /***/ },
49
+
50
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/DestroyBounds.js"
51
+ /*!*************************************************************************************************************************************************************!*\
52
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/DestroyBounds.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 */ DestroyBounds: () => (/* binding */ DestroyBounds)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass DestroyBounds {\n bottom;\n left;\n right;\n top;\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.bottom !== undefined) {\n this.bottom = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.bottom);\n }\n if (data.left !== undefined) {\n this.left = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.left);\n }\n if (data.right !== undefined) {\n this.right = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.right);\n }\n if (data.top !== undefined) {\n this.top = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.top);\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/DestroyBounds.js?\n}");
57
+
58
+ /***/ },
59
+
60
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/Split.js"
61
+ /*!*****************************************************************************************************************************************************!*\
62
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/Split.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 */ Split: () => (/* binding */ Split)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _SplitFactor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SplitFactor.js */ \"../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/SplitFactor.js\");\n/* harmony import */ var _SplitRate_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SplitRate.js */ \"../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/SplitRate.js\");\n\n\n\nclass Split {\n count;\n factor;\n fillColor;\n fillColorOffset;\n particles;\n rate;\n sizeOffset;\n strokeColor;\n strokeColorOffset;\n constructor() {\n this.count = 1;\n this.factor = new _SplitFactor_js__WEBPACK_IMPORTED_MODULE_1__.SplitFactor();\n this.rate = new _SplitRate_js__WEBPACK_IMPORTED_MODULE_2__.SplitRate();\n this.sizeOffset = true;\n }\n load(data) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNull)(data)) {\n return;\n }\n if (data.fillColor !== undefined) {\n this.fillColor = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor.create(this.fillColor, data.fillColor);\n }\n if (data.strokeColor !== undefined) {\n this.strokeColor = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor.create(this.strokeColor, data.strokeColor);\n }\n if (data.count !== undefined) {\n this.count = data.count;\n }\n this.factor.load(data.factor);\n this.rate.load(data.rate);\n this.particles = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.executeOnSingleOrMultiple)(data.particles, particles => {\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.deepExtend)({}, particles);\n });\n if (data.sizeOffset !== undefined) {\n this.sizeOffset = data.sizeOffset;\n }\n if (data.fillColorOffset) {\n this.fillColorOffset = this.fillColorOffset ?? {};\n if (data.fillColorOffset.h !== undefined) {\n this.fillColorOffset.h = data.fillColorOffset.h;\n }\n if (data.fillColorOffset.s !== undefined) {\n this.fillColorOffset.s = data.fillColorOffset.s;\n }\n if (data.fillColorOffset.l !== undefined) {\n this.fillColorOffset.l = data.fillColorOffset.l;\n }\n }\n if (data.strokeColorOffset) {\n this.strokeColorOffset = this.strokeColorOffset ?? {};\n if (data.strokeColorOffset.h !== undefined) {\n this.strokeColorOffset.h = data.strokeColorOffset.h;\n }\n if (data.strokeColorOffset.s !== undefined) {\n this.strokeColorOffset.s = data.strokeColorOffset.s;\n }\n if (data.strokeColorOffset.l !== undefined) {\n this.strokeColorOffset.l = data.strokeColorOffset.l;\n }\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/Split.js?\n}");
67
+
68
+ /***/ },
69
+
70
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/SplitFactor.js"
71
+ /*!***********************************************************************************************************************************************************!*\
72
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/SplitFactor.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 */ SplitFactor: () => (/* binding */ SplitFactor)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass SplitFactor extends _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ValueWithRandom {\n constructor() {\n super();\n this.value = 3;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/SplitFactor.js?\n}");
77
+
78
+ /***/ },
79
+
80
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/SplitRate.js"
81
+ /*!*********************************************************************************************************************************************************!*\
82
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/SplitRate.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 */ SplitRate: () => (/* binding */ SplitRate)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nclass SplitRate extends _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ValueWithRandom {\n constructor() {\n super();\n this.value = { min: 4, max: 9 };\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Options/Classes/SplitRate.js?\n}");
87
+
88
+ /***/ },
89
+
90
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Utils.js"
91
+ /*!*************************************************************************************************************************************!*\
92
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Utils.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 */ split: () => (/* binding */ split)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nconst defaultOffset = 0, minDestroySize = 0.5, defaultSplitCount = 0, increment = 1, unbreakableTime = 500, minSplitCount = 0;\nfunction addSplitParticle(pluginManager, container, parent, splitParticlesOptions) {\n const destroyOptions = parent.options.destroy;\n if (!destroyOptions) {\n return;\n }\n const splitOptions = destroyOptions.split, options = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.loadParticlesOptions)(pluginManager, container, parent.options), fillOptions = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.itemFromSingleOrMultiple)(options.fill), strokeOptions = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.itemFromSingleOrMultiple)(options.stroke);\n if (fillOptions?.enable) {\n const fillColor = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.AnimatableColor.create(undefined, fillOptions.color), parentFillColor = parent.getFillColor();\n if (fillColor.value) {\n fillColor.load(splitOptions.fillColor);\n }\n else if (splitOptions.fillColorOffset && parentFillColor) {\n fillColor.load({\n value: {\n hsl: {\n h: parentFillColor.h + (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(splitOptions.fillColorOffset.h ?? defaultOffset),\n s: parentFillColor.s + (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(splitOptions.fillColorOffset.s ?? defaultOffset),\n l: parentFillColor.l + (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(splitOptions.fillColorOffset.l ?? defaultOffset),\n },\n },\n });\n }\n else {\n fillColor.load({\n value: {\n hsl: parent.getFillColor(),\n },\n });\n }\n }\n if (strokeOptions?.width) {\n const strokeColor = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.AnimatableColor.create(undefined, strokeOptions.color), parentStrokeColor = parent.getStrokeColor();\n if (strokeColor.value) {\n strokeColor.load(splitOptions.strokeColor);\n }\n else if (splitOptions.strokeColorOffset && parentStrokeColor) {\n strokeColor.load({\n value: {\n hsl: {\n h: parentStrokeColor.h + (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(splitOptions.strokeColorOffset.h ?? defaultOffset),\n s: parentStrokeColor.s + (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(splitOptions.strokeColorOffset.s ?? defaultOffset),\n l: parentStrokeColor.l + (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(splitOptions.strokeColorOffset.l ?? defaultOffset),\n },\n },\n });\n }\n else {\n strokeColor.load({\n value: {\n hsl: parent.getStrokeColor(),\n },\n });\n }\n }\n options.move.load({\n center: {\n x: parent.position.x,\n y: parent.position.y,\n mode: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.PixelMode.precise,\n },\n });\n const factor = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.identity / (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(splitOptions.factor.value);\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNumber)(options.size.value)) {\n options.size.value *= factor;\n }\n else {\n options.size.value.min *= factor;\n options.size.value.max *= factor;\n }\n options.load(splitParticlesOptions);\n const offset = splitOptions.sizeOffset ? (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(-parent.size.value, parent.size.value) : defaultOffset, position = {\n x: parent.position.x + (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.randomInRangeValue)(offset),\n y: parent.position.y + (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.randomInRangeValue)(offset),\n };\n return container.particles.addParticle(position, options, parent.group, (particle) => {\n if (particle.size.value < minDestroySize) {\n return false;\n }\n particle.velocity.length = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.randomInRangeValue)((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(parent.velocity.length, particle.velocity.length));\n particle.splitCount = (parent.splitCount ?? defaultSplitCount) + increment;\n particle.unbreakable = true;\n particle.unbreakableUntil = performance.now() + unbreakableTime;\n return true;\n });\n}\nfunction split(pluginManager, container, particle) {\n const destroyOptions = particle.options.destroy;\n if (!destroyOptions) {\n return;\n }\n const splitOptions = destroyOptions.split;\n if (splitOptions.count >= minSplitCount) {\n if (particle.splitCount === undefined || particle.splitCount > splitOptions.count) {\n return;\n }\n particle.splitCount++;\n }\n const rate = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(splitOptions.rate.value), particlesSplitOptions = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.itemFromSingleOrMultiple)(splitOptions.particles);\n for (let i = 0; i < rate; i++) {\n addSplitParticle(pluginManager, container, particle, particlesSplitOptions);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-destroy@4.0.0-beta.1/node_modules/@tsparticles/updater-destroy/browser/Utils.js?\n}");
97
+
98
+ /***/ }
99
+
100
+ }]);
@@ -0,0 +1,80 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.5
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_1_node_modules_tsparticles-a5ec2f"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/BounceOutMode.js"
21
+ /*!*************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/BounceOutMode.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 */ BounceOutMode: () => (/* binding */ BounceOutMode)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utils.js */ \"../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/Utils.js\");\n\n\nclass BounceOutMode {\n container;\n modes;\n _particleBouncePlugins;\n constructor(container) {\n this.container = container;\n this.modes = [\n _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.bounce,\n _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.split,\n ];\n this._particleBouncePlugins = container.plugins.filter(p => p.particleBounce !== undefined);\n }\n update(particle, direction, delta, outMode) {\n if (!this.modes.includes(outMode)) {\n return;\n }\n const container = this.container;\n let handled = false;\n for (const plugin of this._particleBouncePlugins) {\n handled = plugin.particleBounce?.(particle, delta, direction) ?? false;\n if (handled) {\n break;\n }\n }\n if (handled) {\n return;\n }\n const pos = particle.getPosition(), offset = particle.offset, size = particle.getRadius(), bounds = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.calculateBounds)(pos, size), canvasSize = container.canvas.size;\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.bounceHorizontal)({ particle, outMode, direction, bounds, canvasSize, offset, size });\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.bounceVertical)({ particle, outMode, direction, bounds, canvasSize, offset, size });\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/BounceOutMode.js?\n}");
27
+
28
+ /***/ },
29
+
30
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/DestroyOutMode.js"
31
+ /*!**************************************************************************************************************************************************!*\
32
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/DestroyOutMode.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 */ DestroyOutMode: () => (/* binding */ DestroyOutMode)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nconst minVelocity = 0;\nclass DestroyOutMode {\n container;\n modes;\n constructor(container) {\n this.container = container;\n this.modes = [_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.destroy];\n }\n update(particle, direction, _delta, outMode) {\n if (!this.modes.includes(outMode)) {\n return;\n }\n const container = this.container;\n switch (particle.outType) {\n case _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ParticleOutType.normal:\n case _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ParticleOutType.outside:\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isPointInside)(particle.position, container.canvas.size, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.originPoint, particle.getRadius(), direction)) {\n return;\n }\n break;\n case _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ParticleOutType.inside: {\n const { dx, dy } = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistances)(particle.position, particle.moveCenter), { x: vx, y: vy } = particle.velocity;\n if ((vx < minVelocity && dx > particle.moveCenter.radius) ||\n (vy < minVelocity && dy > particle.moveCenter.radius) ||\n (vx >= minVelocity && dx < -particle.moveCenter.radius) ||\n (vy >= minVelocity && dy < -particle.moveCenter.radius)) {\n return;\n }\n break;\n }\n }\n particle.destroy(true);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/DestroyOutMode.js?\n}");
37
+
38
+ /***/ },
39
+
40
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/NoneOutMode.js"
41
+ /*!***********************************************************************************************************************************************!*\
42
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/NoneOutMode.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 */ NoneOutMode: () => (/* binding */ NoneOutMode)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nconst minVelocity = 0;\nclass NoneOutMode {\n container;\n modes;\n constructor(container) {\n this.container = container;\n this.modes = [_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.none];\n }\n update(particle, direction, _delta, outMode) {\n if (!this.modes.includes(outMode)) {\n return;\n }\n if ((particle.options.move.distance.horizontal &&\n (direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.left || direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.right)) ??\n (particle.options.move.distance.vertical &&\n (direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.top || direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.bottom))) {\n return;\n }\n const gravityOptions = particle.options.move.gravity, container = this.container, canvasSize = container.canvas.size, pRadius = particle.getRadius();\n if (!gravityOptions.enable) {\n if ((particle.velocity.y > minVelocity && particle.position.y <= canvasSize.height + pRadius) ||\n (particle.velocity.y < minVelocity && particle.position.y >= -pRadius) ||\n (particle.velocity.x > minVelocity && particle.position.x <= canvasSize.width + pRadius) ||\n (particle.velocity.x < minVelocity && particle.position.x >= -pRadius)) {\n return;\n }\n if (!(0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isPointInside)(particle.position, container.canvas.size, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.originPoint, pRadius, direction)) {\n particle.destroy();\n }\n }\n else {\n const position = particle.position;\n if ((!gravityOptions.inverse &&\n position.y > canvasSize.height + pRadius &&\n direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.bottom) ||\n (gravityOptions.inverse && position.y < -pRadius && direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.top)) {\n particle.destroy();\n }\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/NoneOutMode.js?\n}");
47
+
48
+ /***/ },
49
+
50
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/OutOfCanvasUpdater.js"
51
+ /*!******************************************************************************************************************************************************!*\
52
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/OutOfCanvasUpdater.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 */ OutOfCanvasUpdater: () => (/* binding */ OutOfCanvasUpdater)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n/* harmony import */ var _BounceOutMode_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BounceOutMode.js */ \"../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/BounceOutMode.js\");\n/* harmony import */ var _DestroyOutMode_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./DestroyOutMode.js */ \"../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/DestroyOutMode.js\");\n/* harmony import */ var _NoneOutMode_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./NoneOutMode.js */ \"../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/NoneOutMode.js\");\n/* harmony import */ var _OutOutMode_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./OutOutMode.js */ \"../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/OutOutMode.js\");\n\n\n\n\n\nconst checkOutMode = (outModes, outMode) => {\n return (outModes.default === outMode ||\n outModes.bottom === outMode ||\n outModes.left === outMode ||\n outModes.right === outMode ||\n outModes.top === outMode);\n};\nclass OutOfCanvasUpdater {\n updaters;\n container;\n constructor(container) {\n this.container = container;\n this.updaters = new Map();\n }\n init(particle) {\n this._addUpdaterIfMissing(particle, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.bounce, container => new _BounceOutMode_js__WEBPACK_IMPORTED_MODULE_1__.BounceOutMode(container));\n this._addUpdaterIfMissing(particle, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.out, container => new _OutOutMode_js__WEBPACK_IMPORTED_MODULE_4__.OutOutMode(container));\n this._addUpdaterIfMissing(particle, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.destroy, container => new _DestroyOutMode_js__WEBPACK_IMPORTED_MODULE_2__.DestroyOutMode(container));\n this._addUpdaterIfMissing(particle, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.none, container => new _NoneOutMode_js__WEBPACK_IMPORTED_MODULE_3__.NoneOutMode(container));\n }\n isEnabled(particle) {\n return !particle.destroyed && !particle.spawning;\n }\n update(particle, delta) {\n const outModes = particle.options.move.outModes;\n this._updateOutMode(particle, delta, outModes.bottom ?? outModes.default, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.bottom);\n this._updateOutMode(particle, delta, outModes.left ?? outModes.default, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.left);\n this._updateOutMode(particle, delta, outModes.right ?? outModes.default, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.right);\n this._updateOutMode(particle, delta, outModes.top ?? outModes.default, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.top);\n }\n _addUpdaterIfMissing = (particle, outMode, getUpdater) => {\n const outModes = particle.options.move.outModes;\n if (!this.updaters.has(outMode) && checkOutMode(outModes, outMode)) {\n this.updaters.set(outMode, getUpdater(this.container));\n }\n };\n _updateOutMode = (particle, delta, outMode, direction) => {\n for (const updater of this.updaters.values()) {\n updater.update(particle, direction, delta, outMode);\n }\n };\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/OutOfCanvasUpdater.js?\n}");
57
+
58
+ /***/ },
59
+
60
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/OutOutMode.js"
61
+ /*!**********************************************************************************************************************************************!*\
62
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/OutOutMode.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 */ OutOutMode: () => (/* binding */ OutOutMode)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nconst minVelocity = 0, minDistance = 0, updateVector = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.Vector.origin;\nclass OutOutMode {\n container;\n modes;\n constructor(container) {\n this.container = container;\n this.modes = [_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.out];\n }\n update(particle, direction, _delta, outMode) {\n if (!this.modes.includes(outMode)) {\n return;\n }\n const container = this.container;\n switch (particle.outType) {\n case _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ParticleOutType.inside: {\n const { x: vx, y: vy } = particle.velocity;\n updateVector.setTo(_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.originPoint);\n updateVector.length = particle.moveCenter.radius;\n updateVector.angle = particle.velocity.angle + Math.PI;\n updateVector.addTo(particle.moveCenter);\n const { dx, dy } = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistances)(particle.position, updateVector);\n if ((vx <= minVelocity && dx >= minDistance) ||\n (vy <= minVelocity && dy >= minDistance) ||\n (vx >= minVelocity && dx <= minDistance) ||\n (vy >= minVelocity && dy <= minDistance)) {\n return;\n }\n particle.position.x = Math.floor((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.randomInRangeValue)({\n min: 0,\n max: container.canvas.size.width,\n }));\n particle.position.y = Math.floor((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.randomInRangeValue)({\n min: 0,\n max: container.canvas.size.height,\n }));\n const { dx: newDx, dy: newDy } = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistances)(particle.position, particle.moveCenter);\n particle.direction = Math.atan2(-newDy, -newDx);\n particle.velocity.angle = particle.direction;\n break;\n }\n default: {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isPointInside)(particle.position, container.canvas.size, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.originPoint, particle.getRadius(), direction)) {\n return;\n }\n switch (particle.outType) {\n case _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ParticleOutType.outside: {\n particle.position.x =\n Math.floor((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.randomInRangeValue)({\n min: -particle.moveCenter.radius,\n max: particle.moveCenter.radius,\n })) + particle.moveCenter.x;\n particle.position.y =\n Math.floor((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.randomInRangeValue)({\n min: -particle.moveCenter.radius,\n max: particle.moveCenter.radius,\n })) + particle.moveCenter.y;\n const { dx, dy } = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistances)(particle.position, particle.moveCenter);\n if (particle.moveCenter.radius) {\n particle.direction = Math.atan2(dy, dx);\n particle.velocity.angle = particle.direction;\n }\n break;\n }\n case _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ParticleOutType.normal: {\n const warp = particle.options.move.warp, canvasSize = container.canvas.size, newPos = {\n bottom: canvasSize.height + particle.getRadius() + particle.offset.y,\n left: -particle.getRadius() - particle.offset.x,\n right: canvasSize.width + particle.getRadius() + particle.offset.x,\n top: -particle.getRadius() - particle.offset.y,\n }, sizeValue = particle.getRadius(), nextBounds = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.calculateBounds)(particle.position, sizeValue);\n if (direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.right && nextBounds.left > canvasSize.width + particle.offset.x) {\n particle.position.x = newPos.left;\n particle.initialPosition.x = particle.position.x;\n if (!warp) {\n particle.position.y = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() * canvasSize.height;\n particle.initialPosition.y = particle.position.y;\n }\n }\n else if (direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.left && nextBounds.right < -particle.offset.x) {\n particle.position.x = newPos.right;\n particle.initialPosition.x = particle.position.x;\n if (!warp) {\n particle.position.y = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() * canvasSize.height;\n particle.initialPosition.y = particle.position.y;\n }\n }\n if (direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.bottom && nextBounds.top > canvasSize.height + particle.offset.y) {\n if (!warp) {\n particle.position.x = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() * canvasSize.width;\n particle.initialPosition.x = particle.position.x;\n }\n particle.position.y = newPos.top;\n particle.initialPosition.y = particle.position.y;\n }\n else if (direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.top && nextBounds.bottom < -particle.offset.y) {\n if (!warp) {\n particle.position.x = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() * canvasSize.width;\n particle.initialPosition.x = particle.position.x;\n }\n particle.position.y = newPos.bottom;\n particle.initialPosition.y = particle.position.y;\n }\n break;\n }\n }\n break;\n }\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/OutOutMode.js?\n}");
67
+
68
+ /***/ },
69
+
70
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/Utils.js"
71
+ /*!*****************************************************************************************************************************************!*\
72
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/Utils.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 */ bounceHorizontal: () => (/* binding */ bounceHorizontal),\n/* harmony export */ bounceVertical: () => (/* binding */ bounceVertical)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nconst minVelocity = 0, boundsMin = 0;\nfunction bounceHorizontal(data) {\n if ((data.outMode !== _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.bounce && data.outMode !== _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.split) ||\n (data.direction !== _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.left && data.direction !== _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.right)) {\n return;\n }\n if (data.bounds.right < boundsMin && data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.left) {\n data.particle.position.x = data.size + data.offset.x;\n }\n else if (data.bounds.left > data.canvasSize.width && data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.right) {\n data.particle.position.x = data.canvasSize.width - data.size - data.offset.x;\n }\n const velocity = data.particle.velocity.x;\n let bounced = false;\n if ((data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.right &&\n data.bounds.right >= data.canvasSize.width &&\n velocity > minVelocity) ||\n (data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.left && data.bounds.left <= boundsMin && velocity < minVelocity)) {\n const newVelocity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(data.particle.options.bounce.horizontal.value);\n data.particle.velocity.x *= -newVelocity;\n bounced = true;\n }\n if (!bounced) {\n return;\n }\n const minPos = data.offset.x + data.size;\n if (data.bounds.right >= data.canvasSize.width && data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.right) {\n data.particle.position.x = data.canvasSize.width - minPos;\n }\n else if (data.bounds.left <= boundsMin && data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.left) {\n data.particle.position.x = minPos;\n }\n if (data.outMode === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.split) {\n data.particle.destroy();\n }\n}\nfunction bounceVertical(data) {\n if ((data.outMode !== _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.bounce && data.outMode !== _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.split) ||\n (data.direction !== _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.bottom && data.direction !== _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.top)) {\n return;\n }\n if (data.bounds.bottom < boundsMin && data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.top) {\n data.particle.position.y = data.size + data.offset.y;\n }\n else if (data.bounds.top > data.canvasSize.height && data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.bottom) {\n data.particle.position.y = data.canvasSize.height - data.size - data.offset.y;\n }\n const velocity = data.particle.velocity.y;\n let bounced = false;\n if ((data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.bottom &&\n data.bounds.bottom >= data.canvasSize.height &&\n velocity > minVelocity) ||\n (data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.top && data.bounds.top <= boundsMin && velocity < minVelocity)) {\n const newVelocity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(data.particle.options.bounce.vertical.value);\n data.particle.velocity.y *= -newVelocity;\n bounced = true;\n }\n if (!bounced) {\n return;\n }\n const minPos = data.offset.y + data.size;\n if (data.bounds.bottom >= data.canvasSize.height && data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.bottom) {\n data.particle.position.y = data.canvasSize.height - minPos;\n }\n else if (data.bounds.top <= boundsMin && data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.top) {\n data.particle.position.y = minPos;\n }\n if (data.outMode === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.split) {\n data.particle.destroy();\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-out-modes@4.0.0-beta.1/node_modules/@tsparticles/updater-out-modes/browser/Utils.js?\n}");
77
+
78
+ /***/ }
79
+
80
+ }]);
package/121.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 121.min.js.LICENSE.txt */
2
- (this.webpackChunk_tsparticles_preset_fireworks=this.webpackChunk_tsparticles_preset_fireworks||[]).push([[121,685],{137(t,i,e){e.d(i,{d:()=>o});var s=e(3511);class o{constructor(t,i){this._engine=t,this._container=i}load(t){if((0,s.kZJ)(t))return;if(!this._container)return;const i=this._engine.interactors?.get(this._container);if(i)for(const e of i)e.loadModeOptions&&e.loadModeOptions(this,t)}}},1121(t,i,e){e.d(i,{EmittersInteractor:()=>c});var s=e(3685),o=e(3511),a=e(8588);const n={count:1,enable:!0},r="emitters";class c extends s.sJ{constructor(t,i){super(i),this._instancesManager=t,this.handleClickMode=(t,i)=>{const e=this.container.actualOptions.interactivity.modes.emitters;if(!e||t!==r)return;let s;if((0,o.cyL)(e.value)){const t=0,i=e.value.length;if(i>t&&e.random.enable){s=[];const t=new Set;for(let a=0;a<e.random.count;a++){const n=(0,o.n02)(e.value);if(t.has(n)&&t.size<i){a--;continue}t.add(n);const r=(0,o.Vh1)(e.value,n);r&&s.push(r)}}else s=e.value}else s=e.value;const a=s,n=i.mouse.clickPosition;(0,o.wJ2)(a,async t=>{await this._instancesManager.addEmitter(this.container,t,n)})}}clear(){}init(){}interact(t,i){for(const t of this._instancesManager.getArray(this.container))t.update(i)}isEnabled(t,i){const e=this.container.actualOptions,s=t.mouse,a=(i?.interactivity??e.interactivity).events;return!(!s.clickPosition||!a.onClick.enable)&&(0,o.hnD)(r,a.onClick.mode)}loadModeOptions(t,...i){t.emitters={random:n,value:[]};for(const e of i)if(e?.emitters)if((0,o.cyL)(e.emitters))for(const i of e.emitters){const e=new a.v;e.load(i),t.emitters.value.push(e)}else if(Object.hasOwn(e.emitters,"value")){const i=e.emitters;if(t.emitters.random.enable=i.random?.enable??t.emitters.random.enable,t.emitters.random.count=i.random?.count??t.emitters.random.count,(0,o.cyL)(i.value))for(const e of i.value){const i=new a.v;i.load(e),t.emitters.value.push(i)}else{const e=new a.v;e.load(i.value),t.emitters.value.push(e)}}else{const i=new a.v;i.load(e.emitters),t.emitters.value.push(i)}}removeEmitter(t){const i=this._instancesManager.getArray(this.container).indexOf(t);i>=0&&this._instancesManager.getArray(this.container).splice(i,1)}reset(){}}},1776(t,i,e){var s;e.d(i,{Q:()=>s}),function(t){t.circle="circle",t.rectangle="rectangle"}(s||(s={}))},2269(t,i,e){e.d(i,{G:()=>o});var s=e(3511);class o{constructor(){this.mode=s.qiC.percent,this.height=0,this.width=0}load(t){(0,s.kZJ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.height&&(this.height=t.height),void 0!==t.width&&(this.width=t.width))}}},3685(t,i,e){e.d(i,{sJ:()=>a,loadInteractivityPlugin:()=>n});var s=e(3511),o=(e(1776),e(7941));class a{constructor(t){this.type=o.e.external,this.container=t}}e(5352);e(7337),e(137);async function n(t){t.checkVersion("4.0.0-alpha.5"),await t.register(async t=>{const i=t,{InteractivityPlugin:o}=await e.e(420).then(e.bind(e,4420));i.addPlugin(new o(i)),i.interactorsInitializers??=new Map,i.interactors??=new Map,i.addInteractor=(t,e)=>{i.interactorsInitializers??=new Map,i.interactorsInitializers.set(t,e)},i.getInteractors=async(t,e=!1)=>(i.interactors??=new Map,i.interactorsInitializers??=new Map,(0,s.HQK)(t,i.interactors,i.interactorsInitializers,e)),i.setOnClickHandler=t=>{const{items:e}=i;if(!e.length)throw new Error("Click handlers can only be set after calling tsParticles.load()");e.forEach(i=>{const e=i;e.addClickHandler?.(t)})}})}},5352(t,i,e){var s;e.d(i,{h:()=>s}),function(t){t.canvas="canvas",t.parent="parent",t.window="window"}(s||(s={}))},7337(t,i,e){e.d(i,{G:()=>a});var s=e(3511),o=e(1776);class a{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=o.Q.circle}load(t){(0,s.kZJ)(t)||(void 0!==t.selectors&&(this.selectors=t.selectors),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.type&&(this.type=t.type))}}},7941(t,i,e){var s;e.d(i,{e:()=>s}),function(t){t.external="external",t.particles="particles"}(s||(s={}))},8588(t,i,e){e.d(i,{v:()=>l});var s=e(3511);class o{constructor(){this.wait=!1}load(t){(0,s.kZJ)(t)||(void 0!==t.count&&(this.count=t.count),void 0!==t.delay&&(this.delay=(0,s.DT4)(t.delay)),void 0!==t.duration&&(this.duration=(0,s.DT4)(t.duration)),void 0!==t.wait&&(this.wait=t.wait))}}class a{constructor(){this.quantity=1,this.delay=.1}load(t){(0,s.kZJ)(t)||(void 0!==t.quantity&&(this.quantity=(0,s.DT4)(t.quantity)),void 0!==t.delay&&(this.delay=(0,s.DT4)(t.delay)))}}class n{constructor(){this.color=!1,this.opacity=!1}load(t){(0,s.kZJ)(t)||(void 0!==t.color&&(this.color=t.color),void 0!==t.opacity&&(this.opacity=t.opacity))}}class r{constructor(){this.options={},this.replace=new n,this.type="square"}load(t){(0,s.kZJ)(t)||(void 0!==t.options&&(this.options=(0,s.zwS)({},t.options??{})),this.replace.load(t.replace),void 0!==t.type&&(this.type=t.type))}}var c=e(2269);class l{constructor(){this.autoPlay=!0,this.fill=!0,this.life=new o,this.rate=new a,this.shape=new r,this.startCount=0}load(t){(0,s.kZJ)(t)||(void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.size&&(this.size??=new c.G,this.size.load(t.size)),void 0!==t.direction&&(this.direction=t.direction),this.domId=t.domId,void 0!==t.fill&&(this.fill=t.fill),this.life.load(t.life),this.name=t.name,this.particles=(0,s.wJ2)(t.particles,t=>(0,s.zwS)({},t)),this.rate.load(t.rate),this.shape.load(t.shape),void 0!==t.position&&(this.position={},void 0!==t.position.x&&(this.position.x=(0,s.DT4)(t.position.x)),void 0!==t.position.y&&(this.position.y=(0,s.DT4)(t.position.y))),void 0!==t.spawnColor&&(this.spawnColor??=new s.A9e,this.spawnColor.load(t.spawnColor)),void 0!==t.startCount&&(this.startCount=t.startCount))}}}}]);
@@ -1 +0,0 @@
1
- /*! tsParticles Fireworks Preset v4.0.0-alpha.2 by Matteo Bruni */
package/142.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 142.min.js.LICENSE.txt */
2
- (this.webpackChunk_tsparticles_preset_fireworks=this.webpackChunk_tsparticles_preset_fireworks||[]).push([[142],{8142(e,t,a){async function r(e){e.checkVersion("4.0.0-alpha.5"),await e.register(e=>{e.addParticleUpdater("life",async e=>{const{LifeUpdater:t}=await a.e(47).then(a.bind(a,6047));return new t(e)})})}a.d(t,{loadLifeUpdater:()=>r})}}]);
@@ -1 +0,0 @@
1
- /*! tsParticles Fireworks Preset v4.0.0-alpha.2 by Matteo Bruni */
package/160.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 160.min.js.LICENSE.txt */
2
- (this.webpackChunk_tsparticles_preset_fireworks=this.webpackChunk_tsparticles_preset_fireworks||[]).push([[160],{7160(s,e,n){async function i(s){s.checkVersion("4.0.0-alpha.5"),await s.register(async e=>{const{SoundsPlugin:i}=await n.e(919).then(n.bind(n,4919));e.addPlugin(new i(s))})}n.d(e,{loadSoundsPlugin:()=>i})}}]);
@@ -1 +0,0 @@
1
- /*! tsParticles Fireworks Preset v4.0.0-alpha.2 by Matteo Bruni */
package/184.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 184.min.js.LICENSE.txt */
2
- (this.webpackChunk_tsparticles_preset_fireworks=this.webpackChunk_tsparticles_preset_fireworks||[]).push([[184],{8184(e,t,r){async function s(e){e.checkVersion("4.0.0-alpha.5"),await e.register(e=>{e.addParticleUpdater("destroy",async t=>{const{DestroyUpdater:s}=await r.e(564).then(r.bind(r,9564));return new s(e,t)})})}r.d(t,{loadDestroyUpdater:()=>s})}}]);
@@ -1 +0,0 @@
1
- /*! tsParticles Fireworks Preset v4.0.0-alpha.2 by Matteo Bruni */
package/196.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 196.min.js.LICENSE.txt */
2
- (this.webpackChunk_tsparticles_preset_fireworks=this.webpackChunk_tsparticles_preset_fireworks||[]).push([[196],{1196(a,t,i){async function e(a){a.checkVersion("4.0.0-alpha.5"),await a.register(async a=>{const{loadHexColorPlugin:t}=await i.e(684).then(i.bind(i,1684)),{loadHslColorPlugin:e}=await i.e(688).then(i.bind(i,8688)),{loadRgbColorPlugin:n}=await i.e(56).then(i.bind(i,8056)),{loadBaseMover:d}=await i.e(464).then(i.bind(i,3464)),{loadCircleShape:o}=await i.e(426).then(i.bind(i,2426)),{loadColorUpdater:w}=await i.e(352).then(i.bind(i,6352)),{loadOpacityUpdater:l}=await i.e(60).then(i.bind(i,6060)),{loadOutModesUpdater:r}=await i.e(864).then(i.bind(i,3864)),{loadSizeUpdater:s}=await i.e(440).then(i.bind(i,4440));await t(a),await e(a),await n(a),await d(a),await o(a),await w(a),await l(a),await r(a),await s(a)})}i.d(t,{loadBasic:()=>e})}}]);
@@ -1 +0,0 @@
1
- /*! tsParticles Fireworks Preset v4.0.0-alpha.2 by Matteo Bruni */
package/2.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 2.min.js.LICENSE.txt */
2
- (this.webpackChunk_tsparticles_preset_fireworks=this.webpackChunk_tsparticles_preset_fireworks||[]).push([[2],{2(t,i,s){s.d(i,{EmittersInstancesManager:()=>a});var o=s(3511),e=s(8588);class a{constructor(t){this._containerArrays=new Map,this._engine=t}async addEmitter(t,i,o){const a=new e.v;a.load(i);const{EmitterInstance:r}=await s.e(429).then(s.bind(s,9429)),n=new r(this._engine,t,i=>{this.removeEmitter(t,i)},a,o);return await n.init(),this.getArray(t).push(n),n}clear(t){this.initContainer(t),this._containerArrays.set(t,[])}getArray(t){this.initContainer(t);let i=this._containerArrays.get(t);return i||(i=[],this._containerArrays.set(t,i)),i}initContainer(t){this._containerArrays.has(t)||(this._containerArrays.set(t,[]),t.getEmitter=i=>{const s=this.getArray(t);return void 0===i||(0,o.EtT)(i)?s[i??0]:s.find(t=>t.name===i)},t.addEmitter=async(i,s)=>this.addEmitter(t,i,s),t.removeEmitter=i=>{const s=t.getEmitter?.(i);s&&this.removeEmitter(t,s)},t.playEmitter=i=>{const s=t.getEmitter?.(i);s&&s.externalPlay()},t.pauseEmitter=i=>{const s=t.getEmitter?.(i);s&&s.externalPause()})}removeEmitter(t,i){const s=this.getArray(t).indexOf(i);s>=0&&this.getArray(t).splice(s,1)}}},2269(t,i,s){s.d(i,{G:()=>e});var o=s(3511);class e{constructor(){this.mode=o.qiC.percent,this.height=0,this.width=0}load(t){(0,o.kZJ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.height&&(this.height=t.height),void 0!==t.width&&(this.width=t.width))}}},8588(t,i,s){s.d(i,{v:()=>d});var o=s(3511);class e{constructor(){this.wait=!1}load(t){(0,o.kZJ)(t)||(void 0!==t.count&&(this.count=t.count),void 0!==t.delay&&(this.delay=(0,o.DT4)(t.delay)),void 0!==t.duration&&(this.duration=(0,o.DT4)(t.duration)),void 0!==t.wait&&(this.wait=t.wait))}}class a{constructor(){this.quantity=1,this.delay=.1}load(t){(0,o.kZJ)(t)||(void 0!==t.quantity&&(this.quantity=(0,o.DT4)(t.quantity)),void 0!==t.delay&&(this.delay=(0,o.DT4)(t.delay)))}}class r{constructor(){this.color=!1,this.opacity=!1}load(t){(0,o.kZJ)(t)||(void 0!==t.color&&(this.color=t.color),void 0!==t.opacity&&(this.opacity=t.opacity))}}class n{constructor(){this.options={},this.replace=new r,this.type="square"}load(t){(0,o.kZJ)(t)||(void 0!==t.options&&(this.options=(0,o.zwS)({},t.options??{})),this.replace.load(t.replace),void 0!==t.type&&(this.type=t.type))}}var h=s(2269);class d{constructor(){this.autoPlay=!0,this.fill=!0,this.life=new e,this.rate=new a,this.shape=new n,this.startCount=0}load(t){(0,o.kZJ)(t)||(void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.size&&(this.size??=new h.G,this.size.load(t.size)),void 0!==t.direction&&(this.direction=t.direction),this.domId=t.domId,void 0!==t.fill&&(this.fill=t.fill),this.life.load(t.life),this.name=t.name,this.particles=(0,o.wJ2)(t.particles,t=>(0,o.zwS)({},t)),this.rate.load(t.rate),this.shape.load(t.shape),void 0!==t.position&&(this.position={},void 0!==t.position.x&&(this.position.x=(0,o.DT4)(t.position.x)),void 0!==t.position.y&&(this.position.y=(0,o.DT4)(t.position.y))),void 0!==t.spawnColor&&(this.spawnColor??=new o.A9e,this.spawnColor.load(t.spawnColor)),void 0!==t.startCount&&(this.startCount=t.startCount))}}}}]);
@@ -1 +0,0 @@
1
- /*! tsParticles Fireworks Preset v4.0.0-alpha.2 by Matteo Bruni */
package/202.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 202.min.js.LICENSE.txt */
2
- (this.webpackChunk_tsparticles_preset_fireworks=this.webpackChunk_tsparticles_preset_fireworks||[]).push([[202],{3202(e,o,i){i.d(o,{ColorUpdater:()=>n});var t=i(3511);class n{constructor(e,o){this._container=o,this._engine=e}init(e){const o=(0,t.R5R)(this._engine,e.options.color,e.id,e.options.reduceDuplicates);o&&(e.color=(0,t.pzy)(o,e.options.color.animation,this._container.retina.reduceFactor))}isEnabled(e){const{h:o,s:i,l:t}=e.options.color.animation,{color:n}=e;return!e.destroyed&&!e.spawning&&(void 0!==n?.h.value&&o.enable||void 0!==n?.s.value&&i.enable||void 0!==n?.l.value&&t.enable)}update(e,o){(0,t.JvX)(e.color,o)}}}}]);
@@ -1 +0,0 @@
1
- /*! tsParticles Fireworks Preset v4.0.0-alpha.2 by Matteo Bruni */
package/263.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 263.min.js.LICENSE.txt */
2
- (this.webpackChunk_tsparticles_preset_fireworks=this.webpackChunk_tsparticles_preset_fireworks||[]).push([[263],{5263(e,t,s){s.d(t,{LineDrawer:()=>r});class r{constructor(){this.validTypes=["line"]}draw(e){!function(e){const{context:t,particle:s,radius:r}=e,i=s.shapeData;t.moveTo(-r,0),t.lineTo(r,0),t.lineCap=i?.cap??"butt"}(e)}getSidesCount(){return 1}}}}]);
@@ -1 +0,0 @@
1
- /*! tsParticles Fireworks Preset v4.0.0-alpha.2 by Matteo Bruni */
package/294.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 294.min.js.LICENSE.txt */
2
- (this.webpackChunk_tsparticles_preset_fireworks=this.webpackChunk_tsparticles_preset_fireworks||[]).push([[294],{2294(t,i,o){o.d(i,{OutOfCanvasUpdater:()=>c});var e=o(3511);class s{constructor(t){this.container=t,this.modes=[e.Yzx.bounce,e.Yzx.split]}update(t,i,o,s){if(!this.modes.includes(s))return;const n=this.container;let r=!1;for(const e of n.plugins)if(void 0!==e.particleBounce&&(r=e.particleBounce(t,o,i)),r)break;if(r)return;const a=t.getPosition(),c=t.offset,d=t.getRadius(),p=(0,e.AEc)(a,d),u=n.canvas.size;!function(t){if(t.outMode!==e.Yzx.bounce&&t.outMode!==e.Yzx.split||t.direction!==e.v5k.left&&t.direction!==e.v5k.right)return;t.bounds.right<0&&t.direction===e.v5k.left?t.particle.position.x=t.size+t.offset.x:t.bounds.left>t.canvasSize.width&&t.direction===e.v5k.right&&(t.particle.position.x=t.canvasSize.width-t.size-t.offset.x);const i=t.particle.velocity.x;let o=!1;if(t.direction===e.v5k.right&&t.bounds.right>=t.canvasSize.width&&i>0||t.direction===e.v5k.left&&t.bounds.left<=0&&i<0){const i=(0,e.VGA)(t.particle.options.bounce.horizontal.value);t.particle.velocity.x*=-i,o=!0}if(!o)return;const s=t.offset.x+t.size;t.bounds.right>=t.canvasSize.width&&t.direction===e.v5k.right?t.particle.position.x=t.canvasSize.width-s:t.bounds.left<=0&&t.direction===e.v5k.left&&(t.particle.position.x=s),t.outMode===e.Yzx.split&&t.particle.destroy()}({particle:t,outMode:s,direction:i,bounds:p,canvasSize:u,offset:c,size:d}),function(t){if(t.outMode!==e.Yzx.bounce&&t.outMode!==e.Yzx.split||t.direction!==e.v5k.bottom&&t.direction!==e.v5k.top)return;t.bounds.bottom<0&&t.direction===e.v5k.top?t.particle.position.y=t.size+t.offset.y:t.bounds.top>t.canvasSize.height&&t.direction===e.v5k.bottom&&(t.particle.position.y=t.canvasSize.height-t.size-t.offset.y);const i=t.particle.velocity.y;let o=!1;if(t.direction===e.v5k.bottom&&t.bounds.bottom>=t.canvasSize.height&&i>0||t.direction===e.v5k.top&&t.bounds.top<=0&&i<0){const i=(0,e.VGA)(t.particle.options.bounce.vertical.value);t.particle.velocity.y*=-i,o=!0}if(!o)return;const s=t.offset.y+t.size;t.bounds.bottom>=t.canvasSize.height&&t.direction===e.v5k.bottom?t.particle.position.y=t.canvasSize.height-s:t.bounds.top<=0&&t.direction===e.v5k.top&&(t.particle.position.y=s),t.outMode===e.Yzx.split&&t.particle.destroy()}({particle:t,outMode:s,direction:i,bounds:p,canvasSize:u,offset:c,size:d})}}class n{constructor(t){this.container=t,this.modes=[e.Yzx.destroy]}update(t,i,o,s){if(!this.modes.includes(s))return;const n=this.container;switch(t.outType){case e.x_I.normal:case e.x_I.outside:if((0,e.Tj8)(t.position,n.canvas.size,e.Miz.origin,t.getRadius(),i))return;break;case e.x_I.inside:{const{dx:i,dy:o}=(0,e.vrU)(t.position,t.moveCenter),{x:s,y:n}=t.velocity;if(s<0&&i>t.moveCenter.radius||n<0&&o>t.moveCenter.radius||s>=0&&i<-t.moveCenter.radius||n>=0&&o<-t.moveCenter.radius)return;break}}n.particles.remove(t,t.group,!0)}}class r{constructor(t){this.container=t,this.modes=[e.Yzx.none]}update(t,i,o,s){if(!this.modes.includes(s))return;if((t.options.move.distance.horizontal&&(i===e.v5k.left||i===e.v5k.right))??(t.options.move.distance.vertical&&(i===e.v5k.top||i===e.v5k.bottom)))return;const n=t.options.move.gravity,r=this.container,a=r.canvas.size,c=t.getRadius();if(n.enable){const o=t.position;(!n.inverse&&o.y>a.height+c&&i===e.v5k.bottom||n.inverse&&o.y<-c&&i===e.v5k.top)&&r.particles.remove(t)}else{if(t.velocity.y>0&&t.position.y<=a.height+c||t.velocity.y<0&&t.position.y>=-c||t.velocity.x>0&&t.position.x<=a.width+c||t.velocity.x<0&&t.position.x>=-c)return;(0,e.Tj8)(t.position,r.canvas.size,e.Miz.origin,c,i)||r.particles.remove(t)}}}class a{constructor(t){this.container=t,this.modes=[e.Yzx.out]}update(t,i,o,s){if(!this.modes.includes(s))return;const n=this.container;switch(t.outType){case e.x_I.inside:{const{x:i,y:o}=t.velocity,s=e.Miz.origin;s.length=t.moveCenter.radius,s.angle=t.velocity.angle+Math.PI,s.addTo(e.Miz.create(t.moveCenter));const{dx:r,dy:a}=(0,e.vrU)(t.position,s);if(i<=0&&r>=0||o<=0&&a>=0||i>=0&&r<=0||o>=0&&a<=0)return;t.position.x=Math.floor((0,e.vEz)({min:0,max:n.canvas.size.width})),t.position.y=Math.floor((0,e.vEz)({min:0,max:n.canvas.size.height}));const{dx:c,dy:d}=(0,e.vrU)(t.position,t.moveCenter);t.direction=Math.atan2(-d,-c),t.velocity.angle=t.direction;break}default:if((0,e.Tj8)(t.position,n.canvas.size,e.Miz.origin,t.getRadius(),i))return;switch(t.outType){case e.x_I.outside:{t.position.x=Math.floor((0,e.vEz)({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.x,t.position.y=Math.floor((0,e.vEz)({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.y;const{dx:i,dy:o}=(0,e.vrU)(t.position,t.moveCenter);t.moveCenter.radius&&(t.direction=Math.atan2(o,i),t.velocity.angle=t.direction);break}case e.x_I.normal:{const o=t.options.move.warp,s=n.canvas.size,r={bottom:s.height+t.getRadius()+t.offset.y,left:-t.getRadius()-t.offset.x,right:s.width+t.getRadius()+t.offset.x,top:-t.getRadius()-t.offset.y},a=t.getRadius(),c=(0,e.AEc)(t.position,a);i===e.v5k.right&&c.left>s.width+t.offset.x?(t.position.x=r.left,t.initialPosition.x=t.position.x,o||(t.position.y=(0,e.G0i)()*s.height,t.initialPosition.y=t.position.y)):i===e.v5k.left&&c.right<-t.offset.x&&(t.position.x=r.right,t.initialPosition.x=t.position.x,o||(t.position.y=(0,e.G0i)()*s.height,t.initialPosition.y=t.position.y)),i===e.v5k.bottom&&c.top>s.height+t.offset.y?(o||(t.position.x=(0,e.G0i)()*s.width,t.initialPosition.x=t.position.x),t.position.y=r.top,t.initialPosition.y=t.position.y):i===e.v5k.top&&c.bottom<-t.offset.y&&(o||(t.position.x=(0,e.G0i)()*s.width,t.initialPosition.x=t.position.x),t.position.y=r.bottom,t.initialPosition.y=t.position.y);break}}}}}class c{constructor(t){this._addUpdaterIfMissing=(t,i,o)=>{const e=t.options.move.outModes;!this.updaters.has(i)&&((t,i)=>t.default===i||t.bottom===i||t.left===i||t.right===i||t.top===i)(e,i)&&this.updaters.set(i,o(this.container))},this._updateOutMode=(t,i,o,e)=>{for(const s of this.updaters.values())s.update(t,e,i,o)},this.container=t,this.updaters=new Map}init(t){this._addUpdaterIfMissing(t,e.Yzx.bounce,t=>new s(t)),this._addUpdaterIfMissing(t,e.Yzx.out,t=>new a(t)),this._addUpdaterIfMissing(t,e.Yzx.destroy,t=>new n(t)),this._addUpdaterIfMissing(t,e.Yzx.none,t=>new r(t))}isEnabled(t){return!t.destroyed&&!t.spawning}update(t,i){const o=t.options.move.outModes;this._updateOutMode(t,i,o.bottom??o.default,e.v5k.bottom),this._updateOutMode(t,i,o.left??o.default,e.v5k.left),this._updateOutMode(t,i,o.right??o.default,e.v5k.right),this._updateOutMode(t,i,o.top??o.default,e.v5k.top)}}}}]);
@@ -1 +0,0 @@
1
- /*! tsParticles Fireworks Preset v4.0.0-alpha.2 by Matteo Bruni */