tsparticles 1.40.1 → 1.41.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1009) hide show
  1. package/Core/Container.d.ts +1 -1
  2. package/Core/Container.js +9 -23
  3. package/Core/Interfaces/IExternalInteractor.d.ts +1 -1
  4. package/Core/Interfaces/IParticlesInteractor.d.ts +1 -1
  5. package/Core/Particle.js +2 -2
  6. package/Core/Particles.d.ts +3 -3
  7. package/Core/Particles.js +7 -7
  8. package/Core/Utils/ExternalInteractorBase.d.ts +1 -1
  9. package/Core/Utils/FrameManager.d.ts +1 -1
  10. package/Core/Utils/FrameManager.js +2 -2
  11. package/Core/Utils/InteractionManager.d.ts +2 -2
  12. package/Core/Utils/InteractionManager.js +4 -4
  13. package/Core/Utils/ParticlesInteractorBase.d.ts +1 -1
  14. package/Interactions/External/Attract/Attractor.d.ts +1 -1
  15. package/Interactions/External/Attract/Attractor.js +1 -1
  16. package/Interactions/External/Bounce/Bouncer.d.ts +1 -1
  17. package/Interactions/External/Bounce/Bouncer.js +1 -1
  18. package/Interactions/External/Bubble/Bubbler.d.ts +1 -1
  19. package/Interactions/External/Bubble/Bubbler.js +1 -1
  20. package/Interactions/External/Connect/Connector.d.ts +1 -1
  21. package/Interactions/External/Connect/Connector.js +1 -1
  22. package/Interactions/External/Grab/Grabber.d.ts +1 -1
  23. package/Interactions/External/Grab/Grabber.js +1 -1
  24. package/Interactions/External/Repulse/Repulser.d.ts +1 -1
  25. package/Interactions/External/Repulse/Repulser.js +1 -1
  26. package/Interactions/External/Trail/TrailMaker.d.ts +1 -1
  27. package/Interactions/External/Trail/TrailMaker.js +1 -1
  28. package/Interactions/Particles/Attract/Attractor.d.ts +1 -1
  29. package/Interactions/Particles/Attract/Attractor.js +1 -1
  30. package/Interactions/Particles/Collisions/Collider.d.ts +1 -1
  31. package/Interactions/Particles/Collisions/Collider.js +1 -1
  32. package/Interactions/Particles/Links/Linker.d.ts +1 -1
  33. package/Interactions/Particles/Links/Linker.js +1 -1
  34. package/Plugins/PolygonMask/PolygonMaskInstance.js +1 -1
  35. package/browser/Core/Container.d.ts +1 -1
  36. package/browser/Core/Container.js +9 -23
  37. package/browser/Core/Interfaces/IExternalInteractor.d.ts +1 -1
  38. package/browser/Core/Interfaces/IParticlesInteractor.d.ts +1 -1
  39. package/browser/Core/Particle.js +2 -2
  40. package/browser/Core/Particles.d.ts +3 -3
  41. package/browser/Core/Particles.js +7 -7
  42. package/browser/Core/Utils/ExternalInteractorBase.d.ts +1 -1
  43. package/browser/Core/Utils/FrameManager.d.ts +1 -1
  44. package/browser/Core/Utils/FrameManager.js +2 -2
  45. package/browser/Core/Utils/InteractionManager.d.ts +2 -2
  46. package/browser/Core/Utils/InteractionManager.js +4 -4
  47. package/browser/Core/Utils/ParticlesInteractorBase.d.ts +1 -1
  48. package/browser/Interactions/External/Attract/Attractor.d.ts +1 -1
  49. package/browser/Interactions/External/Attract/Attractor.js +1 -1
  50. package/browser/Interactions/External/Bounce/Bouncer.d.ts +1 -1
  51. package/browser/Interactions/External/Bounce/Bouncer.js +1 -1
  52. package/browser/Interactions/External/Bubble/Bubbler.d.ts +1 -1
  53. package/browser/Interactions/External/Bubble/Bubbler.js +1 -1
  54. package/browser/Interactions/External/Connect/Connector.d.ts +1 -1
  55. package/browser/Interactions/External/Connect/Connector.js +1 -1
  56. package/browser/Interactions/External/Grab/Grabber.d.ts +1 -1
  57. package/browser/Interactions/External/Grab/Grabber.js +1 -1
  58. package/browser/Interactions/External/Repulse/Repulser.d.ts +1 -1
  59. package/browser/Interactions/External/Repulse/Repulser.js +1 -1
  60. package/browser/Interactions/External/Trail/TrailMaker.d.ts +1 -1
  61. package/browser/Interactions/External/Trail/TrailMaker.js +1 -1
  62. package/browser/Interactions/Particles/Attract/Attractor.d.ts +1 -1
  63. package/browser/Interactions/Particles/Attract/Attractor.js +1 -1
  64. package/browser/Interactions/Particles/Collisions/Collider.d.ts +1 -1
  65. package/browser/Interactions/Particles/Collisions/Collider.js +1 -1
  66. package/browser/Interactions/Particles/Links/Linker.d.ts +1 -1
  67. package/browser/Interactions/Particles/Links/Linker.js +1 -1
  68. package/browser/Plugins/PolygonMask/PolygonMaskInstance.js +1 -1
  69. package/esm/Core/Container.d.ts +1 -1
  70. package/esm/Core/Container.js +9 -23
  71. package/esm/Core/Interfaces/IExternalInteractor.d.ts +1 -1
  72. package/esm/Core/Interfaces/IParticlesInteractor.d.ts +1 -1
  73. package/esm/Core/Particle.js +2 -2
  74. package/esm/Core/Particles.d.ts +3 -3
  75. package/esm/Core/Particles.js +7 -7
  76. package/esm/Core/Utils/ExternalInteractorBase.d.ts +1 -1
  77. package/esm/Core/Utils/FrameManager.d.ts +1 -1
  78. package/esm/Core/Utils/FrameManager.js +2 -2
  79. package/esm/Core/Utils/InteractionManager.d.ts +2 -2
  80. package/esm/Core/Utils/InteractionManager.js +4 -4
  81. package/esm/Core/Utils/ParticlesInteractorBase.d.ts +1 -1
  82. package/esm/Interactions/External/Attract/Attractor.d.ts +1 -1
  83. package/esm/Interactions/External/Attract/Attractor.js +1 -1
  84. package/esm/Interactions/External/Bounce/Bouncer.d.ts +1 -1
  85. package/esm/Interactions/External/Bounce/Bouncer.js +1 -1
  86. package/esm/Interactions/External/Bubble/Bubbler.d.ts +1 -1
  87. package/esm/Interactions/External/Bubble/Bubbler.js +1 -1
  88. package/esm/Interactions/External/Connect/Connector.d.ts +1 -1
  89. package/esm/Interactions/External/Connect/Connector.js +1 -1
  90. package/esm/Interactions/External/Grab/Grabber.d.ts +1 -1
  91. package/esm/Interactions/External/Grab/Grabber.js +1 -1
  92. package/esm/Interactions/External/Repulse/Repulser.d.ts +1 -1
  93. package/esm/Interactions/External/Repulse/Repulser.js +1 -1
  94. package/esm/Interactions/External/Trail/TrailMaker.d.ts +1 -1
  95. package/esm/Interactions/External/Trail/TrailMaker.js +1 -1
  96. package/esm/Interactions/Particles/Attract/Attractor.d.ts +1 -1
  97. package/esm/Interactions/Particles/Attract/Attractor.js +1 -1
  98. package/esm/Interactions/Particles/Collisions/Collider.d.ts +1 -1
  99. package/esm/Interactions/Particles/Collisions/Collider.js +1 -1
  100. package/esm/Interactions/Particles/Links/Linker.d.ts +1 -1
  101. package/esm/Interactions/Particles/Links/Linker.js +1 -1
  102. package/esm/Plugins/PolygonMask/PolygonMaskInstance.js +1 -1
  103. package/package.json +1 -2
  104. package/report.html +6 -5
  105. package/report.slim.html +6 -5
  106. package/tsparticles.engine.js +24 -38
  107. package/tsparticles.engine.min.js +2 -2
  108. package/tsparticles.interaction.external.attract.js +23 -37
  109. package/tsparticles.interaction.external.attract.min.js +2 -2
  110. package/tsparticles.interaction.external.bounce.js +23 -37
  111. package/tsparticles.interaction.external.bounce.min.js +2 -2
  112. package/tsparticles.interaction.external.bubble.js +23 -37
  113. package/tsparticles.interaction.external.bubble.min.js +2 -2
  114. package/tsparticles.interaction.external.connect.js +23 -37
  115. package/tsparticles.interaction.external.connect.min.js +2 -2
  116. package/tsparticles.interaction.external.grab.js +23 -37
  117. package/tsparticles.interaction.external.grab.min.js +2 -2
  118. package/tsparticles.interaction.external.repulse.js +23 -37
  119. package/tsparticles.interaction.external.repulse.min.js +2 -2
  120. package/tsparticles.interaction.external.trail.js +23 -37
  121. package/tsparticles.interaction.external.trail.min.js +2 -2
  122. package/tsparticles.interaction.particles.attract.js +23 -37
  123. package/tsparticles.interaction.particles.attract.min.js +2 -2
  124. package/tsparticles.interaction.particles.collisions.js +23 -37
  125. package/tsparticles.interaction.particles.collisions.min.js +2 -2
  126. package/tsparticles.interaction.particles.links.js +23 -37
  127. package/tsparticles.interaction.particles.links.min.js +2 -2
  128. package/tsparticles.js +36 -50
  129. package/tsparticles.min.js +2 -2
  130. package/tsparticles.pathseg.min.js +1 -1
  131. package/tsparticles.plugins.absorbers.js +22 -36
  132. package/tsparticles.plugins.absorbers.min.js +1 -1
  133. package/tsparticles.plugins.emitters.js +22 -36
  134. package/tsparticles.plugins.emitters.min.js +1 -1
  135. package/tsparticles.plugins.polygonMask.js +24 -38
  136. package/tsparticles.plugins.polygonMask.min.js +2 -2
  137. package/tsparticles.shape.circle.min.js +1 -1
  138. package/tsparticles.shape.image.js +22 -36
  139. package/tsparticles.shape.image.min.js +1 -1
  140. package/tsparticles.shape.line.min.js +1 -1
  141. package/tsparticles.shape.polygon.min.js +1 -1
  142. package/tsparticles.shape.square.min.js +1 -1
  143. package/tsparticles.shape.star.min.js +1 -1
  144. package/tsparticles.shape.text.js +22 -36
  145. package/tsparticles.shape.text.min.js +1 -1
  146. package/tsparticles.slim.js +33 -47
  147. package/tsparticles.slim.min.js +2 -2
  148. package/tsparticles.updater.angle.js +22 -36
  149. package/tsparticles.updater.angle.min.js +1 -1
  150. package/tsparticles.updater.color.js +22 -36
  151. package/tsparticles.updater.color.min.js +1 -1
  152. package/tsparticles.updater.life.js +22 -36
  153. package/tsparticles.updater.life.min.js +1 -1
  154. package/tsparticles.updater.opacity.js +22 -36
  155. package/tsparticles.updater.opacity.min.js +1 -1
  156. package/tsparticles.updater.outModes.js +22 -36
  157. package/tsparticles.updater.outModes.min.js +1 -1
  158. package/tsparticles.updater.roll.js +22 -36
  159. package/tsparticles.updater.roll.min.js +1 -1
  160. package/tsparticles.updater.size.js +22 -36
  161. package/tsparticles.updater.size.min.js +1 -1
  162. package/tsparticles.updater.strokeColor.js +22 -36
  163. package/tsparticles.updater.strokeColor.min.js +1 -1
  164. package/tsparticles.updater.tilt.js +22 -36
  165. package/tsparticles.updater.tilt.min.js +1 -1
  166. package/tsparticles.updater.wobble.js +22 -36
  167. package/tsparticles.updater.wobble.min.js +1 -1
  168. package/umd/Core/Canvas.d.ts +35 -0
  169. package/umd/Core/Canvas.js +328 -0
  170. package/umd/Core/Container.d.ts +68 -0
  171. package/umd/Core/Container.js +405 -0
  172. package/umd/Core/Interfaces/Colors.d.ts +33 -0
  173. package/umd/Core/Interfaces/Colors.js +12 -0
  174. package/umd/Core/Interfaces/Gradients.d.ts +21 -0
  175. package/umd/Core/Interfaces/Gradients.js +12 -0
  176. package/umd/Core/Interfaces/IAttract.d.ts +7 -0
  177. package/umd/Core/Interfaces/IAttract.js +12 -0
  178. package/umd/Core/Interfaces/IBounds.d.ts +6 -0
  179. package/umd/Core/Interfaces/IBounds.js +12 -0
  180. package/umd/Core/Interfaces/IBubble.d.ts +4 -0
  181. package/umd/Core/Interfaces/IBubble.js +12 -0
  182. package/umd/Core/Interfaces/IBubbleParticleData.d.ts +9 -0
  183. package/umd/Core/Interfaces/IBubbleParticleData.js +12 -0
  184. package/umd/Core/Interfaces/ICircleBouncer.d.ts +9 -0
  185. package/umd/Core/Interfaces/ICircleBouncer.js +12 -0
  186. package/umd/Core/Interfaces/IContainerInteractivity.d.ts +6 -0
  187. package/umd/Core/Interfaces/IContainerInteractivity.js +12 -0
  188. package/umd/Core/Interfaces/IContainerPlugin.d.ts +32 -0
  189. package/umd/Core/Interfaces/IContainerPlugin.js +12 -0
  190. package/umd/Core/Interfaces/ICoordinates.d.ts +7 -0
  191. package/umd/Core/Interfaces/ICoordinates.js +12 -0
  192. package/umd/Core/Interfaces/IDelta.d.ts +4 -0
  193. package/umd/Core/Interfaces/IDelta.js +12 -0
  194. package/umd/Core/Interfaces/IDimension.d.ts +4 -0
  195. package/umd/Core/Interfaces/IDimension.js +12 -0
  196. package/umd/Core/Interfaces/IDistance.d.ts +4 -0
  197. package/umd/Core/Interfaces/IDistance.js +12 -0
  198. package/umd/Core/Interfaces/IExternalInteractor.d.ts +6 -0
  199. package/umd/Core/Interfaces/IExternalInteractor.js +12 -0
  200. package/umd/Core/Interfaces/IInteractor.d.ts +6 -0
  201. package/umd/Core/Interfaces/IInteractor.js +12 -0
  202. package/umd/Core/Interfaces/IMouseData.d.ts +9 -0
  203. package/umd/Core/Interfaces/IMouseData.js +12 -0
  204. package/umd/Core/Interfaces/IMovePathGenerator.d.ts +8 -0
  205. package/umd/Core/Interfaces/IMovePathGenerator.js +12 -0
  206. package/umd/Core/Interfaces/IParticle.d.ts +55 -0
  207. package/umd/Core/Interfaces/IParticle.js +12 -0
  208. package/umd/Core/Interfaces/IParticleGradientAnimation.d.ts +8 -0
  209. package/umd/Core/Interfaces/IParticleGradientAnimation.js +12 -0
  210. package/umd/Core/Interfaces/IParticleGradientColorAnimation.d.ts +7 -0
  211. package/umd/Core/Interfaces/IParticleGradientColorAnimation.js +12 -0
  212. package/umd/Core/Interfaces/IParticleHslAnimation.d.ts +6 -0
  213. package/umd/Core/Interfaces/IParticleHslAnimation.js +12 -0
  214. package/umd/Core/Interfaces/IParticleLife.d.ts +7 -0
  215. package/umd/Core/Interfaces/IParticleLife.js +12 -0
  216. package/umd/Core/Interfaces/IParticleLoops.d.ts +4 -0
  217. package/umd/Core/Interfaces/IParticleLoops.js +12 -0
  218. package/umd/Core/Interfaces/IParticleRetinaProps.d.ts +12 -0
  219. package/umd/Core/Interfaces/IParticleRetinaProps.js +12 -0
  220. package/umd/Core/Interfaces/IParticleRoll.d.ts +9 -0
  221. package/umd/Core/Interfaces/IParticleRoll.js +12 -0
  222. package/umd/Core/Interfaces/IParticleSpin.d.ts +9 -0
  223. package/umd/Core/Interfaces/IParticleSpin.js +12 -0
  224. package/umd/Core/Interfaces/IParticleUpdater.d.ts +9 -0
  225. package/umd/Core/Interfaces/IParticleUpdater.js +12 -0
  226. package/umd/Core/Interfaces/IParticleValueAnimation.d.ts +17 -0
  227. package/umd/Core/Interfaces/IParticleValueAnimation.js +12 -0
  228. package/umd/Core/Interfaces/IParticleWobble.d.ts +4 -0
  229. package/umd/Core/Interfaces/IParticleWobble.js +12 -0
  230. package/umd/Core/Interfaces/IParticlesFrequencies.d.ts +4 -0
  231. package/umd/Core/Interfaces/IParticlesFrequencies.js +12 -0
  232. package/umd/Core/Interfaces/IParticlesInteractor.d.ts +7 -0
  233. package/umd/Core/Interfaces/IParticlesInteractor.js +12 -0
  234. package/umd/Core/Interfaces/IPlugin.d.ts +11 -0
  235. package/umd/Core/Interfaces/IPlugin.js +12 -0
  236. package/umd/Core/Interfaces/IRangeValue.d.ts +4 -0
  237. package/umd/Core/Interfaces/IRangeValue.js +12 -0
  238. package/umd/Core/Interfaces/IRectSideResult.d.ts +5 -0
  239. package/umd/Core/Interfaces/IRectSideResult.js +12 -0
  240. package/umd/Core/Interfaces/IRepulse.d.ts +7 -0
  241. package/umd/Core/Interfaces/IRepulse.js +12 -0
  242. package/umd/Core/Interfaces/IShapeDrawer.d.ts +10 -0
  243. package/umd/Core/Interfaces/IShapeDrawer.js +12 -0
  244. package/umd/Core/Interfaces/IShapeValues.d.ts +8 -0
  245. package/umd/Core/Interfaces/IShapeValues.js +12 -0
  246. package/umd/Core/Interfaces/index.d.ts +36 -0
  247. package/umd/Core/Interfaces/index.js +58 -0
  248. package/umd/Core/Loader.d.ts +32 -0
  249. package/umd/Core/Loader.js +193 -0
  250. package/umd/Core/Particle.d.ts +71 -0
  251. package/umd/Core/Particle.js +394 -0
  252. package/umd/Core/Particles.d.ts +46 -0
  253. package/umd/Core/Particles.js +331 -0
  254. package/umd/Core/Retina.d.ts +26 -0
  255. package/umd/Core/Retina.js +107 -0
  256. package/umd/Core/Utils/Circle.d.ts +8 -0
  257. package/umd/Core/Utils/Circle.js +52 -0
  258. package/umd/Core/Utils/CircleWarp.d.ts +9 -0
  259. package/umd/Core/Utils/CircleWarp.js +70 -0
  260. package/umd/Core/Utils/Constants.d.ts +18 -0
  261. package/umd/Core/Utils/Constants.js +32 -0
  262. package/umd/Core/Utils/EventListeners.d.ts +33 -0
  263. package/umd/Core/Utils/EventListeners.js +383 -0
  264. package/umd/Core/Utils/ExternalInteractorBase.d.ts +12 -0
  265. package/umd/Core/Utils/ExternalInteractorBase.js +20 -0
  266. package/umd/Core/Utils/FrameManager.d.ts +6 -0
  267. package/umd/Core/Utils/FrameManager.js +53 -0
  268. package/umd/Core/Utils/InteractionManager.d.ts +14 -0
  269. package/umd/Core/Utils/InteractionManager.js +69 -0
  270. package/umd/Core/Utils/ParticlesInteractorBase.d.ts +12 -0
  271. package/umd/Core/Utils/ParticlesInteractorBase.js +20 -0
  272. package/umd/Core/Utils/ParticlesMover.d.ts +13 -0
  273. package/umd/Core/Utils/ParticlesMover.js +196 -0
  274. package/umd/Core/Utils/Plugins.d.ts +36 -0
  275. package/umd/Core/Utils/Plugins.js +108 -0
  276. package/umd/Core/Utils/Point.d.ts +7 -0
  277. package/umd/Core/Utils/Point.js +20 -0
  278. package/umd/Core/Utils/QuadTree.d.ts +23 -0
  279. package/umd/Core/Utils/QuadTree.js +88 -0
  280. package/umd/Core/Utils/Range.d.ts +7 -0
  281. package/umd/Core/Utils/Range.js +22 -0
  282. package/umd/Core/Utils/Rectangle.d.ts +8 -0
  283. package/umd/Core/Utils/Rectangle.js +48 -0
  284. package/umd/Core/Utils/Vector.d.ts +29 -0
  285. package/umd/Core/Utils/Vector.js +106 -0
  286. package/umd/Core/Utils/Vector3d.d.ts +18 -0
  287. package/umd/Core/Utils/Vector3d.js +68 -0
  288. package/umd/Core/Utils/index.d.ts +16 -0
  289. package/umd/Core/Utils/index.js +38 -0
  290. package/umd/Core/index.d.ts +8 -0
  291. package/umd/Core/index.js +30 -0
  292. package/umd/Enums/AnimationStatus.d.ts +4 -0
  293. package/umd/Enums/AnimationStatus.js +12 -0
  294. package/umd/Enums/Directions/MoveDirection.d.ts +12 -0
  295. package/umd/Enums/Directions/MoveDirection.js +12 -0
  296. package/umd/Enums/Directions/OutModeDirection.d.ts +6 -0
  297. package/umd/Enums/Directions/OutModeDirection.js +12 -0
  298. package/umd/Enums/Directions/RotateDirection.d.ts +6 -0
  299. package/umd/Enums/Directions/RotateDirection.js +12 -0
  300. package/umd/Enums/Directions/TiltDirection.d.ts +6 -0
  301. package/umd/Enums/Directions/TiltDirection.js +12 -0
  302. package/umd/Enums/Directions/index.d.ts +4 -0
  303. package/umd/Enums/Directions/index.js +26 -0
  304. package/umd/Enums/InteractivityDetect.d.ts +5 -0
  305. package/umd/Enums/InteractivityDetect.js +12 -0
  306. package/umd/Enums/Modes/ClickMode.d.ts +9 -0
  307. package/umd/Enums/Modes/ClickMode.js +12 -0
  308. package/umd/Enums/Modes/CollisionMode.d.ts +5 -0
  309. package/umd/Enums/Modes/CollisionMode.js +12 -0
  310. package/umd/Enums/Modes/DestroyMode.d.ts +4 -0
  311. package/umd/Enums/Modes/DestroyMode.js +12 -0
  312. package/umd/Enums/Modes/DivMode.d.ts +5 -0
  313. package/umd/Enums/Modes/DivMode.js +12 -0
  314. package/umd/Enums/Modes/HoverMode.d.ts +11 -0
  315. package/umd/Enums/Modes/HoverMode.js +12 -0
  316. package/umd/Enums/Modes/OutMode.d.ts +10 -0
  317. package/umd/Enums/Modes/OutMode.js +12 -0
  318. package/umd/Enums/Modes/ResponsiveMode.d.ts +4 -0
  319. package/umd/Enums/Modes/ResponsiveMode.js +12 -0
  320. package/umd/Enums/Modes/RollMode.d.ts +5 -0
  321. package/umd/Enums/Modes/RollMode.js +12 -0
  322. package/umd/Enums/Modes/SizeMode.d.ts +4 -0
  323. package/umd/Enums/Modes/SizeMode.js +12 -0
  324. package/umd/Enums/Modes/ThemeMode.d.ts +5 -0
  325. package/umd/Enums/Modes/ThemeMode.js +12 -0
  326. package/umd/Enums/Modes/index.d.ts +10 -0
  327. package/umd/Enums/Modes/index.js +32 -0
  328. package/umd/Enums/Types/AlterType.d.ts +4 -0
  329. package/umd/Enums/Types/AlterType.js +12 -0
  330. package/umd/Enums/Types/DestroyType.d.ts +5 -0
  331. package/umd/Enums/Types/DestroyType.js +12 -0
  332. package/umd/Enums/Types/DivType.d.ts +4 -0
  333. package/umd/Enums/Types/DivType.js +12 -0
  334. package/umd/Enums/Types/EasingType.d.ts +10 -0
  335. package/umd/Enums/Types/EasingType.js +12 -0
  336. package/umd/Enums/Types/GradientType.d.ts +5 -0
  337. package/umd/Enums/Types/GradientType.js +12 -0
  338. package/umd/Enums/Types/InteractorType.d.ts +4 -0
  339. package/umd/Enums/Types/InteractorType.js +12 -0
  340. package/umd/Enums/Types/OrbitType.d.ts +4 -0
  341. package/umd/Enums/Types/OrbitType.js +12 -0
  342. package/umd/Enums/Types/ShapeType.d.ts +13 -0
  343. package/umd/Enums/Types/ShapeType.js +12 -0
  344. package/umd/Enums/Types/StartValueType.d.ts +5 -0
  345. package/umd/Enums/Types/StartValueType.js +12 -0
  346. package/umd/Enums/Types/index.d.ts +9 -0
  347. package/umd/Enums/Types/index.js +31 -0
  348. package/umd/Enums/index.d.ts +5 -0
  349. package/umd/Enums/index.js +27 -0
  350. package/umd/Interactions/External/Attract/Attractor.d.ts +11 -0
  351. package/umd/Interactions/External/Attract/Attractor.js +85 -0
  352. package/umd/Interactions/External/Attract/index.d.ts +2 -0
  353. package/umd/Interactions/External/Attract/index.js +18 -0
  354. package/umd/Interactions/External/Bounce/Bouncer.d.ts +11 -0
  355. package/umd/Interactions/External/Bounce/Bouncer.js +77 -0
  356. package/umd/Interactions/External/Bounce/index.d.ts +2 -0
  357. package/umd/Interactions/External/Bounce/index.js +18 -0
  358. package/umd/Interactions/External/Bubble/Bubbler.d.ts +16 -0
  359. package/umd/Interactions/External/Bubble/Bubbler.js +261 -0
  360. package/umd/Interactions/External/Bubble/IBubblerProcessParam.d.ts +10 -0
  361. package/umd/Interactions/External/Bubble/IBubblerProcessParam.js +12 -0
  362. package/umd/Interactions/External/Bubble/ProcessBubbleType.d.ts +5 -0
  363. package/umd/Interactions/External/Bubble/ProcessBubbleType.js +12 -0
  364. package/umd/Interactions/External/Bubble/index.d.ts +2 -0
  365. package/umd/Interactions/External/Bubble/index.js +18 -0
  366. package/umd/Interactions/External/Connect/Connector.d.ts +8 -0
  367. package/umd/Interactions/External/Connect/Connector.js +51 -0
  368. package/umd/Interactions/External/Connect/index.d.ts +2 -0
  369. package/umd/Interactions/External/Connect/index.js +18 -0
  370. package/umd/Interactions/External/Grab/Grabber.d.ts +8 -0
  371. package/umd/Interactions/External/Grab/Grabber.js +57 -0
  372. package/umd/Interactions/External/Grab/index.d.ts +2 -0
  373. package/umd/Interactions/External/Grab/index.js +18 -0
  374. package/umd/Interactions/External/Repulse/Repulser.d.ts +12 -0
  375. package/umd/Interactions/External/Repulse/Repulser.js +108 -0
  376. package/umd/Interactions/External/Repulse/index.d.ts +2 -0
  377. package/umd/Interactions/External/Repulse/index.js +18 -0
  378. package/umd/Interactions/External/Trail/TrailMaker.d.ts +10 -0
  379. package/umd/Interactions/External/Trail/TrailMaker.js +63 -0
  380. package/umd/Interactions/External/Trail/index.d.ts +2 -0
  381. package/umd/Interactions/External/Trail/index.js +18 -0
  382. package/umd/Interactions/Particles/Attract/Attractor.d.ts +8 -0
  383. package/umd/Interactions/Particles/Attract/Attractor.js +40 -0
  384. package/umd/Interactions/Particles/Attract/index.d.ts +2 -0
  385. package/umd/Interactions/Particles/Attract/index.js +18 -0
  386. package/umd/Interactions/Particles/Collisions/Collider.d.ts +10 -0
  387. package/umd/Interactions/Particles/Collisions/Collider.js +119 -0
  388. package/umd/Interactions/Particles/Collisions/index.d.ts +2 -0
  389. package/umd/Interactions/Particles/Collisions/index.js +18 -0
  390. package/umd/Interactions/Particles/Links/ILink.d.ts +9 -0
  391. package/umd/Interactions/Particles/Links/ILink.js +12 -0
  392. package/umd/Interactions/Particles/Links/LinkInstance.d.ts +10 -0
  393. package/umd/Interactions/Particles/Links/LinkInstance.js +134 -0
  394. package/umd/Interactions/Particles/Links/LinkParticle.d.ts +5 -0
  395. package/umd/Interactions/Particles/Links/LinkParticle.js +12 -0
  396. package/umd/Interactions/Particles/Links/Linker.d.ts +10 -0
  397. package/umd/Interactions/Particles/Links/Linker.js +115 -0
  398. package/umd/Interactions/Particles/Links/index.d.ts +2 -0
  399. package/umd/Interactions/Particles/Links/index.js +20 -0
  400. package/umd/Interactions/Particles/Links/interaction.d.ts +2 -0
  401. package/umd/Interactions/Particles/Links/interaction.js +18 -0
  402. package/umd/Interactions/Particles/Links/plugin.d.ts +2 -0
  403. package/umd/Interactions/Particles/Links/plugin.js +32 -0
  404. package/umd/Options/Classes/AnimatableColor.d.ts +11 -0
  405. package/umd/Options/Classes/AnimatableColor.js +50 -0
  406. package/umd/Options/Classes/AnimatableGradient.d.ts +53 -0
  407. package/umd/Options/Classes/AnimatableGradient.js +156 -0
  408. package/umd/Options/Classes/AnimationOptions.d.ts +11 -0
  409. package/umd/Options/Classes/AnimationOptions.js +39 -0
  410. package/umd/Options/Classes/Background/Background.d.ts +14 -0
  411. package/umd/Options/Classes/Background/Background.js +49 -0
  412. package/umd/Options/Classes/BackgroundMask/BackgroundMask.d.ts +11 -0
  413. package/umd/Options/Classes/BackgroundMask/BackgroundMask.js +38 -0
  414. package/umd/Options/Classes/BackgroundMask/BackgroundMaskCover.d.ts +10 -0
  415. package/umd/Options/Classes/BackgroundMask/BackgroundMaskCover.js +32 -0
  416. package/umd/Options/Classes/ColorAnimation.d.ts +12 -0
  417. package/umd/Options/Classes/ColorAnimation.js +44 -0
  418. package/umd/Options/Classes/FullScreen/FullScreen.d.ts +9 -0
  419. package/umd/Options/Classes/FullScreen/FullScreen.js +31 -0
  420. package/umd/Options/Classes/HslAnimation.d.ts +11 -0
  421. package/umd/Options/Classes/HslAnimation.js +30 -0
  422. package/umd/Options/Classes/Interactivity/Events/ClickEvent.d.ts +10 -0
  423. package/umd/Options/Classes/Interactivity/Events/ClickEvent.js +31 -0
  424. package/umd/Options/Classes/Interactivity/Events/DivEvent.d.ts +18 -0
  425. package/umd/Options/Classes/Interactivity/Events/DivEvent.js +64 -0
  426. package/umd/Options/Classes/Interactivity/Events/Events.d.ts +20 -0
  427. package/umd/Options/Classes/Interactivity/Events/Events.js +68 -0
  428. package/umd/Options/Classes/Interactivity/Events/HoverEvent.d.ts +12 -0
  429. package/umd/Options/Classes/Interactivity/Events/HoverEvent.js +34 -0
  430. package/umd/Options/Classes/Interactivity/Events/Parallax.d.ts +10 -0
  431. package/umd/Options/Classes/Interactivity/Events/Parallax.js +35 -0
  432. package/umd/Options/Classes/Interactivity/Interactivity.d.ts +15 -0
  433. package/umd/Options/Classes/Interactivity/Interactivity.js +51 -0
  434. package/umd/Options/Classes/Interactivity/Modes/Attract.d.ts +14 -0
  435. package/umd/Options/Classes/Interactivity/Modes/Attract.js +47 -0
  436. package/umd/Options/Classes/Interactivity/Modes/Bounce.d.ts +8 -0
  437. package/umd/Options/Classes/Interactivity/Modes/Bounce.js +27 -0
  438. package/umd/Options/Classes/Interactivity/Modes/Bubble.d.ts +9 -0
  439. package/umd/Options/Classes/Interactivity/Modes/Bubble.js +37 -0
  440. package/umd/Options/Classes/Interactivity/Modes/BubbleBase.d.ts +13 -0
  441. package/umd/Options/Classes/Interactivity/Modes/BubbleBase.js +53 -0
  442. package/umd/Options/Classes/Interactivity/Modes/BubbleDiv.d.ts +11 -0
  443. package/umd/Options/Classes/Interactivity/Modes/BubbleDiv.js +41 -0
  444. package/umd/Options/Classes/Interactivity/Modes/Connect.d.ts +15 -0
  445. package/umd/Options/Classes/Interactivity/Modes/Connect.js +47 -0
  446. package/umd/Options/Classes/Interactivity/Modes/ConnectLinks.d.ts +8 -0
  447. package/umd/Options/Classes/Interactivity/Modes/ConnectLinks.js +25 -0
  448. package/umd/Options/Classes/Interactivity/Modes/Grab.d.ts +14 -0
  449. package/umd/Options/Classes/Interactivity/Modes/Grab.js +43 -0
  450. package/umd/Options/Classes/Interactivity/Modes/GrabLinks.d.ts +12 -0
  451. package/umd/Options/Classes/Interactivity/Modes/GrabLinks.js +39 -0
  452. package/umd/Options/Classes/Interactivity/Modes/Light.d.ts +11 -0
  453. package/umd/Options/Classes/Interactivity/Modes/Light.js +29 -0
  454. package/umd/Options/Classes/Interactivity/Modes/LightArea.d.ts +10 -0
  455. package/umd/Options/Classes/Interactivity/Modes/LightArea.js +30 -0
  456. package/umd/Options/Classes/Interactivity/Modes/LightGradient.d.ts +10 -0
  457. package/umd/Options/Classes/Interactivity/Modes/LightGradient.js +30 -0
  458. package/umd/Options/Classes/Interactivity/Modes/LightShadow.d.ts +10 -0
  459. package/umd/Options/Classes/Interactivity/Modes/LightShadow.js +31 -0
  460. package/umd/Options/Classes/Interactivity/Modes/Modes.d.ts +29 -0
  461. package/umd/Options/Classes/Interactivity/Modes/Modes.js +55 -0
  462. package/umd/Options/Classes/Interactivity/Modes/Push.d.ts +12 -0
  463. package/umd/Options/Classes/Interactivity/Modes/Push.js +46 -0
  464. package/umd/Options/Classes/Interactivity/Modes/Remove.d.ts +10 -0
  465. package/umd/Options/Classes/Interactivity/Modes/Remove.js +35 -0
  466. package/umd/Options/Classes/Interactivity/Modes/Repulse.d.ts +9 -0
  467. package/umd/Options/Classes/Interactivity/Modes/Repulse.js +37 -0
  468. package/umd/Options/Classes/Interactivity/Modes/RepulseBase.d.ts +14 -0
  469. package/umd/Options/Classes/Interactivity/Modes/RepulseBase.js +47 -0
  470. package/umd/Options/Classes/Interactivity/Modes/RepulseDiv.d.ts +11 -0
  471. package/umd/Options/Classes/Interactivity/Modes/RepulseDiv.js +49 -0
  472. package/umd/Options/Classes/Interactivity/Modes/Slow.d.ts +11 -0
  473. package/umd/Options/Classes/Interactivity/Modes/Slow.js +36 -0
  474. package/umd/Options/Classes/Interactivity/Modes/Trail.d.ts +12 -0
  475. package/umd/Options/Classes/Interactivity/Modes/Trail.js +39 -0
  476. package/umd/Options/Classes/ManualParticle.d.ts +10 -0
  477. package/umd/Options/Classes/ManualParticle.js +32 -0
  478. package/umd/Options/Classes/Motion/Motion.d.ts +10 -0
  479. package/umd/Options/Classes/Motion/Motion.js +30 -0
  480. package/umd/Options/Classes/Motion/MotionReduce.d.ts +9 -0
  481. package/umd/Options/Classes/Motion/MotionReduce.js +31 -0
  482. package/umd/Options/Classes/Options.d.ts +48 -0
  483. package/umd/Options/Classes/Options.js +184 -0
  484. package/umd/Options/Classes/OptionsColor.d.ts +10 -0
  485. package/umd/Options/Classes/OptionsColor.js +38 -0
  486. package/umd/Options/Classes/Particles/Bounce/Bounce.d.ts +10 -0
  487. package/umd/Options/Classes/Particles/Bounce/Bounce.js +28 -0
  488. package/umd/Options/Classes/Particles/Bounce/BounceFactor.d.ts +4 -0
  489. package/umd/Options/Classes/Particles/Bounce/BounceFactor.js +22 -0
  490. package/umd/Options/Classes/Particles/Collisions/Collisions.d.ts +14 -0
  491. package/umd/Options/Classes/Particles/Collisions/Collisions.js +37 -0
  492. package/umd/Options/Classes/Particles/Collisions/CollisionsOverlap.d.ts +9 -0
  493. package/umd/Options/Classes/Particles/Collisions/CollisionsOverlap.js +31 -0
  494. package/umd/Options/Classes/Particles/Destroy/Destroy.d.ts +11 -0
  495. package/umd/Options/Classes/Particles/Destroy/Destroy.js +30 -0
  496. package/umd/Options/Classes/Particles/Destroy/Split.d.ts +15 -0
  497. package/umd/Options/Classes/Particles/Destroy/Split.js +41 -0
  498. package/umd/Options/Classes/Particles/Destroy/SplitFactor.d.ts +4 -0
  499. package/umd/Options/Classes/Particles/Destroy/SplitFactor.js +21 -0
  500. package/umd/Options/Classes/Particles/Destroy/SplitRate.d.ts +4 -0
  501. package/umd/Options/Classes/Particles/Destroy/SplitRate.js +21 -0
  502. package/umd/Options/Classes/Particles/Life/Life.d.ts +12 -0
  503. package/umd/Options/Classes/Particles/Life/Life.js +33 -0
  504. package/umd/Options/Classes/Particles/Life/LifeDelay.d.ts +9 -0
  505. package/umd/Options/Classes/Particles/Life/LifeDelay.js +30 -0
  506. package/umd/Options/Classes/Particles/Life/LifeDuration.d.ts +9 -0
  507. package/umd/Options/Classes/Particles/Life/LifeDuration.js +31 -0
  508. package/umd/Options/Classes/Particles/Links/Links.d.ts +22 -0
  509. package/umd/Options/Classes/Particles/Links/Links.js +67 -0
  510. package/umd/Options/Classes/Particles/Links/LinksShadow.d.ts +11 -0
  511. package/umd/Options/Classes/Particles/Links/LinksShadow.js +35 -0
  512. package/umd/Options/Classes/Particles/Links/LinksTriangle.d.ts +12 -0
  513. package/umd/Options/Classes/Particles/Links/LinksTriangle.js +38 -0
  514. package/umd/Options/Classes/Particles/Move/Attract.d.ts +15 -0
  515. package/umd/Options/Classes/Particles/Move/Attract.js +56 -0
  516. package/umd/Options/Classes/Particles/Move/Move.d.ts +44 -0
  517. package/umd/Options/Classes/Particles/Move/Move.js +142 -0
  518. package/umd/Options/Classes/Particles/Move/MoveAngle.d.ts +9 -0
  519. package/umd/Options/Classes/Particles/Move/MoveAngle.js +31 -0
  520. package/umd/Options/Classes/Particles/Move/MoveGravity.d.ts +11 -0
  521. package/umd/Options/Classes/Particles/Move/MoveGravity.js +39 -0
  522. package/umd/Options/Classes/Particles/Move/OutModes.d.ts +13 -0
  523. package/umd/Options/Classes/Particles/Move/OutModes.js +32 -0
  524. package/umd/Options/Classes/Particles/Move/Path/Path.d.ts +13 -0
  525. package/umd/Options/Classes/Particles/Move/Path/Path.js +40 -0
  526. package/umd/Options/Classes/Particles/Move/Path/PathDelay.d.ts +4 -0
  527. package/umd/Options/Classes/Particles/Move/Path/PathDelay.js +20 -0
  528. package/umd/Options/Classes/Particles/Move/Spin.d.ts +11 -0
  529. package/umd/Options/Classes/Particles/Move/Spin.js +33 -0
  530. package/umd/Options/Classes/Particles/Move/Trail.d.ts +11 -0
  531. package/umd/Options/Classes/Particles/Move/Trail.js +35 -0
  532. package/umd/Options/Classes/Particles/Number/Density.d.ts +12 -0
  533. package/umd/Options/Classes/Particles/Number/Density.js +43 -0
  534. package/umd/Options/Classes/Particles/Number/ParticlesNumber.d.ts +13 -0
  535. package/umd/Options/Classes/Particles/Number/ParticlesNumber.js +42 -0
  536. package/umd/Options/Classes/Particles/Opacity/Opacity.d.ts +12 -0
  537. package/umd/Options/Classes/Particles/Opacity/Opacity.js +43 -0
  538. package/umd/Options/Classes/Particles/Opacity/OpacityAnimation.d.ts +14 -0
  539. package/umd/Options/Classes/Particles/Opacity/OpacityAnimation.js +54 -0
  540. package/umd/Options/Classes/Particles/Orbit/Orbit.d.ts +18 -0
  541. package/umd/Options/Classes/Particles/Orbit/Orbit.js +48 -0
  542. package/umd/Options/Classes/Particles/Orbit/OrbitRotation.d.ts +7 -0
  543. package/umd/Options/Classes/Particles/Orbit/OrbitRotation.js +29 -0
  544. package/umd/Options/Classes/Particles/ParticlesOptions.d.ts +58 -0
  545. package/umd/Options/Classes/Particles/ParticlesOptions.js +153 -0
  546. package/umd/Options/Classes/Particles/Repulse/Repulse.d.ts +13 -0
  547. package/umd/Options/Classes/Particles/Repulse/Repulse.js +46 -0
  548. package/umd/Options/Classes/Particles/Roll/Roll.d.ts +16 -0
  549. package/umd/Options/Classes/Particles/Roll/Roll.js +45 -0
  550. package/umd/Options/Classes/Particles/Roll/RollLight.d.ts +9 -0
  551. package/umd/Options/Classes/Particles/Roll/RollLight.js +31 -0
  552. package/umd/Options/Classes/Particles/Rotate/Rotate.d.ts +13 -0
  553. package/umd/Options/Classes/Particles/Rotate/Rotate.js +38 -0
  554. package/umd/Options/Classes/Particles/Rotate/RotateAnimation.d.ts +10 -0
  555. package/umd/Options/Classes/Particles/Rotate/RotateAnimation.js +35 -0
  556. package/umd/Options/Classes/Particles/Shadow.d.ts +13 -0
  557. package/umd/Options/Classes/Particles/Shadow.js +48 -0
  558. package/umd/Options/Classes/Particles/Shape/Shape.d.ts +27 -0
  559. package/umd/Options/Classes/Particles/Shape/Shape.js +113 -0
  560. package/umd/Options/Classes/Particles/Size/Size.d.ts +12 -0
  561. package/umd/Options/Classes/Particles/Size/Size.js +43 -0
  562. package/umd/Options/Classes/Particles/Size/SizeAnimation.d.ts +14 -0
  563. package/umd/Options/Classes/Particles/Size/SizeAnimation.js +54 -0
  564. package/umd/Options/Classes/Particles/Stroke.d.ts +11 -0
  565. package/umd/Options/Classes/Particles/Stroke.js +34 -0
  566. package/umd/Options/Classes/Particles/Tilt/Tilt.d.ts +13 -0
  567. package/umd/Options/Classes/Particles/Tilt/Tilt.js +38 -0
  568. package/umd/Options/Classes/Particles/Tilt/TiltAnimation.d.ts +10 -0
  569. package/umd/Options/Classes/Particles/Tilt/TiltAnimation.js +35 -0
  570. package/umd/Options/Classes/Particles/Twinkle/Twinkle.d.ts +10 -0
  571. package/umd/Options/Classes/Particles/Twinkle/Twinkle.js +28 -0
  572. package/umd/Options/Classes/Particles/Twinkle/TwinkleValues.d.ts +12 -0
  573. package/umd/Options/Classes/Particles/Twinkle/TwinkleValues.js +39 -0
  574. package/umd/Options/Classes/Particles/Wobble/Wobble.d.ts +10 -0
  575. package/umd/Options/Classes/Particles/Wobble/Wobble.js +36 -0
  576. package/umd/Options/Classes/Particles/ZIndex/ZIndex.d.ts +11 -0
  577. package/umd/Options/Classes/Particles/ZIndex/ZIndex.js +38 -0
  578. package/umd/Options/Classes/Random.d.ts +9 -0
  579. package/umd/Options/Classes/Random.js +31 -0
  580. package/umd/Options/Classes/Responsive.d.ts +12 -0
  581. package/umd/Options/Classes/Responsive.js +41 -0
  582. package/umd/Options/Classes/Theme/Theme.d.ts +12 -0
  583. package/umd/Options/Classes/Theme/Theme.js +34 -0
  584. package/umd/Options/Classes/Theme/ThemeDefault.d.ts +11 -0
  585. package/umd/Options/Classes/Theme/ThemeDefault.js +35 -0
  586. package/umd/Options/Classes/ValueWithRandom.d.ts +10 -0
  587. package/umd/Options/Classes/ValueWithRandom.js +36 -0
  588. package/umd/Options/Interfaces/Background/IBackground.d.ts +9 -0
  589. package/umd/Options/Interfaces/Background/IBackground.js +12 -0
  590. package/umd/Options/Interfaces/BackgroundMask/IBackgroundMask.d.ts +7 -0
  591. package/umd/Options/Interfaces/BackgroundMask/IBackgroundMask.js +12 -0
  592. package/umd/Options/Interfaces/BackgroundMask/IBackgroundMaskCover.d.ts +5 -0
  593. package/umd/Options/Interfaces/BackgroundMask/IBackgroundMaskCover.js +12 -0
  594. package/umd/Options/Interfaces/FullScreen/IFullScreen.d.ts +4 -0
  595. package/umd/Options/Interfaces/FullScreen/IFullScreen.js +12 -0
  596. package/umd/Options/Interfaces/IAnimatable.d.ts +4 -0
  597. package/umd/Options/Interfaces/IAnimatable.js +12 -0
  598. package/umd/Options/Interfaces/IAnimatableColor.d.ts +6 -0
  599. package/umd/Options/Interfaces/IAnimatableColor.js +12 -0
  600. package/umd/Options/Interfaces/IAnimatableGradient.d.ts +8 -0
  601. package/umd/Options/Interfaces/IAnimatableGradient.js +12 -0
  602. package/umd/Options/Interfaces/IAnimation.d.ts +6 -0
  603. package/umd/Options/Interfaces/IAnimation.js +12 -0
  604. package/umd/Options/Interfaces/IColorAnimation.d.ts +5 -0
  605. package/umd/Options/Interfaces/IColorAnimation.js +12 -0
  606. package/umd/Options/Interfaces/IHslAnimation.d.ts +6 -0
  607. package/umd/Options/Interfaces/IHslAnimation.js +12 -0
  608. package/umd/Options/Interfaces/IManualParticle.d.ts +7 -0
  609. package/umd/Options/Interfaces/IManualParticle.js +12 -0
  610. package/umd/Options/Interfaces/IOptionLoader.d.ts +4 -0
  611. package/umd/Options/Interfaces/IOptionLoader.js +12 -0
  612. package/umd/Options/Interfaces/IOptions.d.ts +34 -0
  613. package/umd/Options/Interfaces/IOptions.js +12 -0
  614. package/umd/Options/Interfaces/IOptionsColor.d.ts +2 -0
  615. package/umd/Options/Interfaces/IOptionsColor.js +12 -0
  616. package/umd/Options/Interfaces/IOptionsGradient.d.ts +13 -0
  617. package/umd/Options/Interfaces/IOptionsGradient.js +12 -0
  618. package/umd/Options/Interfaces/IRandom.d.ts +4 -0
  619. package/umd/Options/Interfaces/IRandom.js +12 -0
  620. package/umd/Options/Interfaces/IResponsive.d.ts +8 -0
  621. package/umd/Options/Interfaces/IResponsive.js +12 -0
  622. package/umd/Options/Interfaces/IValueWithRandom.d.ts +6 -0
  623. package/umd/Options/Interfaces/IValueWithRandom.js +12 -0
  624. package/umd/Options/Interfaces/Interactivity/Events/IClickEvent.d.ts +6 -0
  625. package/umd/Options/Interfaces/Interactivity/Events/IClickEvent.js +12 -0
  626. package/umd/Options/Interfaces/Interactivity/Events/IDivEvent.d.ts +11 -0
  627. package/umd/Options/Interfaces/Interactivity/Events/IDivEvent.js +12 -0
  628. package/umd/Options/Interfaces/Interactivity/Events/IEvents.d.ts +13 -0
  629. package/umd/Options/Interfaces/Interactivity/Events/IEvents.js +12 -0
  630. package/umd/Options/Interfaces/Interactivity/Events/IHoverEvent.d.ts +8 -0
  631. package/umd/Options/Interfaces/Interactivity/Events/IHoverEvent.js +12 -0
  632. package/umd/Options/Interfaces/Interactivity/Events/IParallax.d.ts +5 -0
  633. package/umd/Options/Interfaces/Interactivity/Events/IParallax.js +12 -0
  634. package/umd/Options/Interfaces/Interactivity/IInteractivity.d.ts +9 -0
  635. package/umd/Options/Interfaces/Interactivity/IInteractivity.js +12 -0
  636. package/umd/Options/Interfaces/Interactivity/Modes/IAttract.d.ts +9 -0
  637. package/umd/Options/Interfaces/Interactivity/Modes/IAttract.js +12 -0
  638. package/umd/Options/Interfaces/Interactivity/Modes/IBounce.d.ts +3 -0
  639. package/umd/Options/Interfaces/Interactivity/Modes/IBounce.js +12 -0
  640. package/umd/Options/Interfaces/Interactivity/Modes/IBubble.d.ts +6 -0
  641. package/umd/Options/Interfaces/Interactivity/Modes/IBubble.js +12 -0
  642. package/umd/Options/Interfaces/Interactivity/Modes/IBubbleBase.d.ts +10 -0
  643. package/umd/Options/Interfaces/Interactivity/Modes/IBubbleBase.js +12 -0
  644. package/umd/Options/Interfaces/Interactivity/Modes/IBubbleDiv.d.ts +4 -0
  645. package/umd/Options/Interfaces/Interactivity/Modes/IBubbleDiv.js +12 -0
  646. package/umd/Options/Interfaces/Interactivity/Modes/IConnect.d.ts +8 -0
  647. package/umd/Options/Interfaces/Interactivity/Modes/IConnect.js +12 -0
  648. package/umd/Options/Interfaces/Interactivity/Modes/IConnectLinks.d.ts +3 -0
  649. package/umd/Options/Interfaces/Interactivity/Modes/IConnectLinks.js +12 -0
  650. package/umd/Options/Interfaces/Interactivity/Modes/IGrab.d.ts +7 -0
  651. package/umd/Options/Interfaces/Interactivity/Modes/IGrab.js +12 -0
  652. package/umd/Options/Interfaces/Interactivity/Modes/IGrabLinks.d.ts +7 -0
  653. package/umd/Options/Interfaces/Interactivity/Modes/IGrabLinks.js +12 -0
  654. package/umd/Options/Interfaces/Interactivity/Modes/ILight.d.ts +6 -0
  655. package/umd/Options/Interfaces/Interactivity/Modes/ILight.js +12 -0
  656. package/umd/Options/Interfaces/Interactivity/Modes/ILightArea.d.ts +9 -0
  657. package/umd/Options/Interfaces/Interactivity/Modes/ILightArea.js +12 -0
  658. package/umd/Options/Interfaces/Interactivity/Modes/ILightShadow.d.ts +5 -0
  659. package/umd/Options/Interfaces/Interactivity/Modes/ILightShadow.js +12 -0
  660. package/umd/Options/Interfaces/Interactivity/Modes/IModeDiv.d.ts +5 -0
  661. package/umd/Options/Interfaces/Interactivity/Modes/IModeDiv.js +12 -0
  662. package/umd/Options/Interfaces/Interactivity/Modes/IModes.d.ts +22 -0
  663. package/umd/Options/Interfaces/Interactivity/Modes/IModes.js +12 -0
  664. package/umd/Options/Interfaces/Interactivity/Modes/IPush.d.ts +6 -0
  665. package/umd/Options/Interfaces/Interactivity/Modes/IPush.js +12 -0
  666. package/umd/Options/Interfaces/Interactivity/Modes/IRemove.d.ts +4 -0
  667. package/umd/Options/Interfaces/Interactivity/Modes/IRemove.js +12 -0
  668. package/umd/Options/Interfaces/Interactivity/Modes/IRepulse.d.ts +6 -0
  669. package/umd/Options/Interfaces/Interactivity/Modes/IRepulse.js +12 -0
  670. package/umd/Options/Interfaces/Interactivity/Modes/IRepulseBase.d.ts +9 -0
  671. package/umd/Options/Interfaces/Interactivity/Modes/IRepulseBase.js +12 -0
  672. package/umd/Options/Interfaces/Interactivity/Modes/IRepulseDiv.d.ts +4 -0
  673. package/umd/Options/Interfaces/Interactivity/Modes/IRepulseDiv.js +12 -0
  674. package/umd/Options/Interfaces/Interactivity/Modes/ISlow.d.ts +5 -0
  675. package/umd/Options/Interfaces/Interactivity/Modes/ISlow.js +12 -0
  676. package/umd/Options/Interfaces/Interactivity/Modes/ITrail.d.ts +8 -0
  677. package/umd/Options/Interfaces/Interactivity/Modes/ITrail.js +12 -0
  678. package/umd/Options/Interfaces/Motion/IMotion.d.ts +5 -0
  679. package/umd/Options/Interfaces/Motion/IMotion.js +12 -0
  680. package/umd/Options/Interfaces/Motion/IMotionReduce.d.ts +4 -0
  681. package/umd/Options/Interfaces/Motion/IMotionReduce.js +12 -0
  682. package/umd/Options/Interfaces/Particles/Bounce/IBounce.d.ts +5 -0
  683. package/umd/Options/Interfaces/Particles/Bounce/IBounce.js +12 -0
  684. package/umd/Options/Interfaces/Particles/Collisions/ICollisions.d.ts +9 -0
  685. package/umd/Options/Interfaces/Particles/Collisions/ICollisions.js +12 -0
  686. package/umd/Options/Interfaces/Particles/Collisions/ICollisionsOverlap.d.ts +4 -0
  687. package/umd/Options/Interfaces/Particles/Collisions/ICollisionsOverlap.js +12 -0
  688. package/umd/Options/Interfaces/Particles/Destroy/IDestroy.d.ts +6 -0
  689. package/umd/Options/Interfaces/Particles/Destroy/IDestroy.js +12 -0
  690. package/umd/Options/Interfaces/Particles/Destroy/ISplit.d.ts +10 -0
  691. package/umd/Options/Interfaces/Particles/Destroy/ISplit.js +12 -0
  692. package/umd/Options/Interfaces/Particles/IParticles.d.ts +52 -0
  693. package/umd/Options/Interfaces/Particles/IParticles.js +12 -0
  694. package/umd/Options/Interfaces/Particles/IShadow.d.ts +8 -0
  695. package/umd/Options/Interfaces/Particles/IShadow.js +12 -0
  696. package/umd/Options/Interfaces/Particles/IStroke.d.ts +7 -0
  697. package/umd/Options/Interfaces/Particles/IStroke.js +12 -0
  698. package/umd/Options/Interfaces/Particles/Life/ILife.d.ts +7 -0
  699. package/umd/Options/Interfaces/Particles/Life/ILife.js +12 -0
  700. package/umd/Options/Interfaces/Particles/Life/ILifeDelay.d.ts +4 -0
  701. package/umd/Options/Interfaces/Particles/Life/ILifeDelay.js +12 -0
  702. package/umd/Options/Interfaces/Particles/Life/ILifeDuration.d.ts +4 -0
  703. package/umd/Options/Interfaces/Particles/Life/ILifeDuration.js +12 -0
  704. package/umd/Options/Interfaces/Particles/Links/ILinks.d.ts +17 -0
  705. package/umd/Options/Interfaces/Particles/Links/ILinks.js +12 -0
  706. package/umd/Options/Interfaces/Particles/Links/ILinksShadow.d.ts +6 -0
  707. package/umd/Options/Interfaces/Particles/Links/ILinksShadow.js +12 -0
  708. package/umd/Options/Interfaces/Particles/Links/ILinksTriangle.d.ts +7 -0
  709. package/umd/Options/Interfaces/Particles/Links/ILinksTriangle.js +12 -0
  710. package/umd/Options/Interfaces/Particles/Move/IAttract.d.ts +8 -0
  711. package/umd/Options/Interfaces/Particles/Move/IAttract.js +12 -0
  712. package/umd/Options/Interfaces/Particles/Move/IMove.d.ts +35 -0
  713. package/umd/Options/Interfaces/Particles/Move/IMove.js +12 -0
  714. package/umd/Options/Interfaces/Particles/Move/IMoveAngle.d.ts +4 -0
  715. package/umd/Options/Interfaces/Particles/Move/IMoveAngle.js +12 -0
  716. package/umd/Options/Interfaces/Particles/Move/IMoveGravity.d.ts +6 -0
  717. package/umd/Options/Interfaces/Particles/Move/IMoveGravity.js +12 -0
  718. package/umd/Options/Interfaces/Particles/Move/IOutModes.d.ts +8 -0
  719. package/umd/Options/Interfaces/Particles/Move/IOutModes.js +12 -0
  720. package/umd/Options/Interfaces/Particles/Move/ISpin.d.ts +7 -0
  721. package/umd/Options/Interfaces/Particles/Move/ISpin.js +12 -0
  722. package/umd/Options/Interfaces/Particles/Move/ITrail.d.ts +6 -0
  723. package/umd/Options/Interfaces/Particles/Move/ITrail.js +12 -0
  724. package/umd/Options/Interfaces/Particles/Move/Path/IPath.d.ts +9 -0
  725. package/umd/Options/Interfaces/Particles/Move/Path/IPath.js +12 -0
  726. package/umd/Options/Interfaces/Particles/Number/IDensity.d.ts +6 -0
  727. package/umd/Options/Interfaces/Particles/Number/IDensity.js +12 -0
  728. package/umd/Options/Interfaces/Particles/Number/IParticlesNumber.d.ts +7 -0
  729. package/umd/Options/Interfaces/Particles/Number/IParticlesNumber.js +12 -0
  730. package/umd/Options/Interfaces/Particles/Opacity/IOpacity.d.ts +6 -0
  731. package/umd/Options/Interfaces/Particles/Opacity/IOpacity.js +12 -0
  732. package/umd/Options/Interfaces/Particles/Opacity/IOpacityAnimation.d.ts +8 -0
  733. package/umd/Options/Interfaces/Particles/Opacity/IOpacityAnimation.js +12 -0
  734. package/umd/Options/Interfaces/Particles/Orbit/IOrbit.d.ts +12 -0
  735. package/umd/Options/Interfaces/Particles/Orbit/IOrbit.js +12 -0
  736. package/umd/Options/Interfaces/Particles/Repulse/IRepulse.d.ts +8 -0
  737. package/umd/Options/Interfaces/Particles/Repulse/IRepulse.js +12 -0
  738. package/umd/Options/Interfaces/Particles/Roll/IRoll.d.ts +12 -0
  739. package/umd/Options/Interfaces/Particles/Roll/IRoll.js +12 -0
  740. package/umd/Options/Interfaces/Particles/Roll/IRollLight.d.ts +4 -0
  741. package/umd/Options/Interfaces/Particles/Roll/IRollLight.js +12 -0
  742. package/umd/Options/Interfaces/Particles/Rotate/IRotate.d.ts +8 -0
  743. package/umd/Options/Interfaces/Particles/Rotate/IRotate.js +12 -0
  744. package/umd/Options/Interfaces/Particles/Rotate/IRotateAnimation.d.ts +5 -0
  745. package/umd/Options/Interfaces/Particles/Rotate/IRotateAnimation.js +12 -0
  746. package/umd/Options/Interfaces/Particles/Shape/ICharacterShape.d.ts +8 -0
  747. package/umd/Options/Interfaces/Particles/Shape/ICharacterShape.js +12 -0
  748. package/umd/Options/Interfaces/Particles/Shape/IImageShape.d.ts +8 -0
  749. package/umd/Options/Interfaces/Particles/Shape/IImageShape.js +12 -0
  750. package/umd/Options/Interfaces/Particles/Shape/IPolygonShape.d.ts +5 -0
  751. package/umd/Options/Interfaces/Particles/Shape/IPolygonShape.js +12 -0
  752. package/umd/Options/Interfaces/Particles/Shape/IShape.d.ts +16 -0
  753. package/umd/Options/Interfaces/Particles/Shape/IShape.js +12 -0
  754. package/umd/Options/Interfaces/Particles/Shape/IShapeValues.d.ts +1 -0
  755. package/umd/Options/Interfaces/Particles/Shape/IShapeValues.js +23 -0
  756. package/umd/Options/Interfaces/Particles/Shape/IStarShape.d.ts +6 -0
  757. package/umd/Options/Interfaces/Particles/Shape/IStarShape.js +12 -0
  758. package/umd/Options/Interfaces/Particles/Size/ISize.d.ts +6 -0
  759. package/umd/Options/Interfaces/Particles/Size/ISize.js +12 -0
  760. package/umd/Options/Interfaces/Particles/Size/ISizeAnimation.d.ts +8 -0
  761. package/umd/Options/Interfaces/Particles/Size/ISizeAnimation.js +12 -0
  762. package/umd/Options/Interfaces/Particles/Tilt/ITilt.d.ts +8 -0
  763. package/umd/Options/Interfaces/Particles/Tilt/ITilt.js +12 -0
  764. package/umd/Options/Interfaces/Particles/Tilt/ITiltAnimation.d.ts +5 -0
  765. package/umd/Options/Interfaces/Particles/Tilt/ITiltAnimation.js +12 -0
  766. package/umd/Options/Interfaces/Particles/Twinkle/ITwinkle.d.ts +5 -0
  767. package/umd/Options/Interfaces/Particles/Twinkle/ITwinkle.js +12 -0
  768. package/umd/Options/Interfaces/Particles/Twinkle/ITwinkleValues.d.ts +7 -0
  769. package/umd/Options/Interfaces/Particles/Twinkle/ITwinkleValues.js +12 -0
  770. package/umd/Options/Interfaces/Particles/Wobble/IWobble.d.ts +6 -0
  771. package/umd/Options/Interfaces/Particles/Wobble/IWobble.js +12 -0
  772. package/umd/Options/Interfaces/Particles/ZIndex/IZIndex.d.ts +6 -0
  773. package/umd/Options/Interfaces/Particles/ZIndex/IZIndex.js +12 -0
  774. package/umd/Options/Interfaces/Theme/ITheme.d.ts +8 -0
  775. package/umd/Options/Interfaces/Theme/ITheme.js +12 -0
  776. package/umd/Options/Interfaces/Theme/IThemeDefault.d.ts +6 -0
  777. package/umd/Options/Interfaces/Theme/IThemeDefault.js +12 -0
  778. package/umd/Plugins/Absorbers/AbsorberContainer.d.ts +7 -0
  779. package/umd/Plugins/Absorbers/AbsorberContainer.js +12 -0
  780. package/umd/Plugins/Absorbers/AbsorberInstance.d.ts +33 -0
  781. package/umd/Plugins/Absorbers/AbsorberInstance.js +172 -0
  782. package/umd/Plugins/Absorbers/Absorbers.d.ts +22 -0
  783. package/umd/Plugins/Absorbers/Absorbers.js +128 -0
  784. package/umd/Plugins/Absorbers/Enums/AbsorberClickMode.d.ts +3 -0
  785. package/umd/Plugins/Absorbers/Enums/AbsorberClickMode.js +12 -0
  786. package/umd/Plugins/Absorbers/Enums/index.d.ts +1 -0
  787. package/umd/Plugins/Absorbers/Enums/index.js +23 -0
  788. package/umd/Plugins/Absorbers/Options/Classes/Absorber.d.ts +18 -0
  789. package/umd/Plugins/Absorbers/Options/Classes/Absorber.js +57 -0
  790. package/umd/Plugins/Absorbers/Options/Classes/AbsorberSize.d.ts +11 -0
  791. package/umd/Plugins/Absorbers/Options/Classes/AbsorberSize.js +40 -0
  792. package/umd/Plugins/Absorbers/Options/Classes/AbsorberSizeLimit.d.ts +9 -0
  793. package/umd/Plugins/Absorbers/Options/Classes/AbsorberSizeLimit.js +31 -0
  794. package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorber.d.ts +13 -0
  795. package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorber.js +12 -0
  796. package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorberOptions.d.ts +12 -0
  797. package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorberOptions.js +12 -0
  798. package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorberSize.d.ts +6 -0
  799. package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorberSize.js +12 -0
  800. package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorberSizeLimit.d.ts +4 -0
  801. package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorberSizeLimit.js +12 -0
  802. package/umd/Plugins/Absorbers/index.d.ts +2 -0
  803. package/umd/Plugins/Absorbers/index.js +90 -0
  804. package/umd/Plugins/Emitters/EmitterContainer.d.ts +10 -0
  805. package/umd/Plugins/Emitters/EmitterContainer.js +12 -0
  806. package/umd/Plugins/Emitters/EmitterInstance.d.ts +45 -0
  807. package/umd/Plugins/Emitters/EmitterInstance.js +278 -0
  808. package/umd/Plugins/Emitters/Emitters.d.ts +25 -0
  809. package/umd/Plugins/Emitters/Emitters.js +163 -0
  810. package/umd/Plugins/Emitters/EmittersEngine.d.ts +7 -0
  811. package/umd/Plugins/Emitters/EmittersEngine.js +12 -0
  812. package/umd/Plugins/Emitters/Enums/EmitterClickMode.d.ts +3 -0
  813. package/umd/Plugins/Emitters/Enums/EmitterClickMode.js +12 -0
  814. package/umd/Plugins/Emitters/Enums/EmitterShapeType.d.ts +4 -0
  815. package/umd/Plugins/Emitters/Enums/EmitterShapeType.js +12 -0
  816. package/umd/Plugins/Emitters/Enums/index.d.ts +2 -0
  817. package/umd/Plugins/Emitters/Enums/index.js +24 -0
  818. package/umd/Plugins/Emitters/IEmitterShape.d.ts +4 -0
  819. package/umd/Plugins/Emitters/IEmitterShape.js +12 -0
  820. package/umd/Plugins/Emitters/Options/Classes/Emitter.d.ts +28 -0
  821. package/umd/Plugins/Emitters/Options/Classes/Emitter.js +74 -0
  822. package/umd/Plugins/Emitters/Options/Classes/EmitterLife.d.ts +11 -0
  823. package/umd/Plugins/Emitters/Options/Classes/EmitterLife.js +36 -0
  824. package/umd/Plugins/Emitters/Options/Classes/EmitterRate.d.ts +9 -0
  825. package/umd/Plugins/Emitters/Options/Classes/EmitterRate.js +32 -0
  826. package/umd/Plugins/Emitters/Options/Classes/EmitterSize.d.ts +11 -0
  827. package/umd/Plugins/Emitters/Options/Classes/EmitterSize.js +35 -0
  828. package/umd/Plugins/Emitters/Options/Interfaces/IEmitter.d.ts +24 -0
  829. package/umd/Plugins/Emitters/Options/Interfaces/IEmitter.js +12 -0
  830. package/umd/Plugins/Emitters/Options/Interfaces/IEmitterLife.d.ts +6 -0
  831. package/umd/Plugins/Emitters/Options/Interfaces/IEmitterLife.js +12 -0
  832. package/umd/Plugins/Emitters/Options/Interfaces/IEmitterOptions.d.ts +12 -0
  833. package/umd/Plugins/Emitters/Options/Interfaces/IEmitterOptions.js +12 -0
  834. package/umd/Plugins/Emitters/Options/Interfaces/IEmitterRate.d.ts +5 -0
  835. package/umd/Plugins/Emitters/Options/Interfaces/IEmitterRate.js +12 -0
  836. package/umd/Plugins/Emitters/Options/Interfaces/IEmitterSize.d.ts +5 -0
  837. package/umd/Plugins/Emitters/Options/Interfaces/IEmitterSize.js +12 -0
  838. package/umd/Plugins/Emitters/ShapeManager.d.ts +9 -0
  839. package/umd/Plugins/Emitters/ShapeManager.js +40 -0
  840. package/umd/Plugins/Emitters/Shapes/Circle/CircleShape.d.ts +5 -0
  841. package/umd/Plugins/Emitters/Shapes/Circle/CircleShape.js +42 -0
  842. package/umd/Plugins/Emitters/Shapes/Square/SquareShape.d.ts +5 -0
  843. package/umd/Plugins/Emitters/Shapes/Square/SquareShape.js +53 -0
  844. package/umd/Plugins/Emitters/index.d.ts +3 -0
  845. package/umd/Plugins/Emitters/index.js +120 -0
  846. package/umd/Plugins/PolygonMask/Enums/PolygonMaskInlineArrangement.d.ts +8 -0
  847. package/umd/Plugins/PolygonMask/Enums/PolygonMaskInlineArrangement.js +12 -0
  848. package/umd/Plugins/PolygonMask/Enums/PolygonMaskMoveType.d.ts +4 -0
  849. package/umd/Plugins/PolygonMask/Enums/PolygonMaskMoveType.js +12 -0
  850. package/umd/Plugins/PolygonMask/Enums/PolygonMaskType.d.ts +6 -0
  851. package/umd/Plugins/PolygonMask/Enums/PolygonMaskType.js +12 -0
  852. package/umd/Plugins/PolygonMask/Enums/index.d.ts +3 -0
  853. package/umd/Plugins/PolygonMask/Enums/index.js +25 -0
  854. package/umd/Plugins/PolygonMask/Interfaces/ISvgPath.d.ts +6 -0
  855. package/umd/Plugins/PolygonMask/Interfaces/ISvgPath.js +12 -0
  856. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMask.d.ts +24 -0
  857. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMask.js +76 -0
  858. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskDraw.d.ts +15 -0
  859. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskDraw.js +48 -0
  860. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.d.ts +11 -0
  861. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.js +39 -0
  862. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.d.ts +9 -0
  863. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.js +27 -0
  864. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskLocalSvg.d.ts +11 -0
  865. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskLocalSvg.js +39 -0
  866. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.d.ts +10 -0
  867. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.js +31 -0
  868. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMask.d.ts +18 -0
  869. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMask.js +12 -0
  870. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDraw.d.ts +8 -0
  871. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDraw.js +12 -0
  872. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDrawStroke.d.ts +6 -0
  873. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDrawStroke.js +12 -0
  874. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskInline.d.ts +4 -0
  875. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskInline.js +12 -0
  876. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskLocalSvg.d.ts +6 -0
  877. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskLocalSvg.js +12 -0
  878. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskMove.d.ts +5 -0
  879. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskMove.js +12 -0
  880. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskOptions.d.ts +4 -0
  881. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskOptions.js +12 -0
  882. package/umd/Plugins/PolygonMask/PolygonMaskInstance.d.ts +38 -0
  883. package/umd/Plugins/PolygonMask/PolygonMaskInstance.js +396 -0
  884. package/umd/Plugins/PolygonMask/Types.d.ts +8 -0
  885. package/umd/Plugins/PolygonMask/Types.js +12 -0
  886. package/umd/Plugins/PolygonMask/Utils.d.ts +11 -0
  887. package/umd/Plugins/PolygonMask/Utils.js +134 -0
  888. package/umd/Plugins/PolygonMask/index.d.ts +2 -0
  889. package/umd/Plugins/PolygonMask/index.js +67 -0
  890. package/umd/Plugins/PolygonMask/pathseg.d.ts +0 -0
  891. package/umd/Plugins/PolygonMask/pathseg.js +1548 -0
  892. package/umd/Shapes/Circle/CircleDrawer.d.ts +5 -0
  893. package/umd/Shapes/Circle/CircleDrawer.js +22 -0
  894. package/umd/Shapes/Circle/index.d.ts +2 -0
  895. package/umd/Shapes/Circle/index.js +18 -0
  896. package/umd/Shapes/Image/ImageDrawer.d.ts +18 -0
  897. package/umd/Shapes/Image/ImageDrawer.js +142 -0
  898. package/umd/Shapes/Image/Utils.d.ts +28 -0
  899. package/umd/Shapes/Image/Utils.js +99 -0
  900. package/umd/Shapes/Image/index.d.ts +2 -0
  901. package/umd/Shapes/Image/index.js +20 -0
  902. package/umd/Shapes/Line/LineDrawer.d.ts +5 -0
  903. package/umd/Shapes/Line/LineDrawer.js +23 -0
  904. package/umd/Shapes/Line/index.d.ts +2 -0
  905. package/umd/Shapes/Line/index.js +18 -0
  906. package/umd/Shapes/Polygon/PolygonDrawer.d.ts +7 -0
  907. package/umd/Shapes/Polygon/PolygonDrawer.js +36 -0
  908. package/umd/Shapes/Polygon/PolygonDrawerBase.d.ts +15 -0
  909. package/umd/Shapes/Polygon/PolygonDrawerBase.js +40 -0
  910. package/umd/Shapes/Polygon/TriangleDrawer.d.ts +8 -0
  911. package/umd/Shapes/Polygon/TriangleDrawer.js +35 -0
  912. package/umd/Shapes/Polygon/index.d.ts +4 -0
  913. package/umd/Shapes/Polygon/index.js +28 -0
  914. package/umd/Shapes/Square/SquareDrawer.d.ts +5 -0
  915. package/umd/Shapes/Square/SquareDrawer.js +23 -0
  916. package/umd/Shapes/Square/index.d.ts +2 -0
  917. package/umd/Shapes/Square/index.js +20 -0
  918. package/umd/Shapes/Star/StarDrawer.d.ts +5 -0
  919. package/umd/Shapes/Star/StarDrawer.js +34 -0
  920. package/umd/Shapes/Star/index.d.ts +2 -0
  921. package/umd/Shapes/Star/index.js +18 -0
  922. package/umd/Shapes/Text/TextDrawer.d.ts +7 -0
  923. package/umd/Shapes/Text/TextDrawer.js +75 -0
  924. package/umd/Shapes/Text/index.d.ts +2 -0
  925. package/umd/Shapes/Text/index.js +21 -0
  926. package/umd/Types/ParticlesGroups.d.ts +4 -0
  927. package/umd/Types/ParticlesGroups.js +12 -0
  928. package/umd/Types/PathOptions.d.ts +3 -0
  929. package/umd/Types/PathOptions.js +12 -0
  930. package/umd/Types/RangeValue.d.ts +2 -0
  931. package/umd/Types/RangeValue.js +12 -0
  932. package/umd/Types/RecursivePartial.d.ts +3 -0
  933. package/umd/Types/RecursivePartial.js +12 -0
  934. package/umd/Types/ShapeData.d.ts +5 -0
  935. package/umd/Types/ShapeData.js +12 -0
  936. package/umd/Types/ShapeDrawerFunctions.d.ts +11 -0
  937. package/umd/Types/ShapeDrawerFunctions.js +12 -0
  938. package/umd/Types/SingleOrMultiple.d.ts +1 -0
  939. package/umd/Types/SingleOrMultiple.js +12 -0
  940. package/umd/Types/index.d.ts +6 -0
  941. package/umd/Types/index.js +28 -0
  942. package/umd/Updaters/Angle/AngleUpdater.d.ts +8 -0
  943. package/umd/Updaters/Angle/AngleUpdater.js +88 -0
  944. package/umd/Updaters/Angle/index.d.ts +2 -0
  945. package/umd/Updaters/Angle/index.js +18 -0
  946. package/umd/Updaters/Color/ColorUpdater.d.ts +8 -0
  947. package/umd/Updaters/Color/ColorUpdater.js +77 -0
  948. package/umd/Updaters/Color/index.d.ts +2 -0
  949. package/umd/Updaters/Color/index.js +18 -0
  950. package/umd/Updaters/Life/LifeUpdater.d.ts +8 -0
  951. package/umd/Updaters/Life/LifeUpdater.js +77 -0
  952. package/umd/Updaters/Life/index.d.ts +2 -0
  953. package/umd/Updaters/Life/index.js +18 -0
  954. package/umd/Updaters/Opacity/OpacityUpdater.d.ts +8 -0
  955. package/umd/Updaters/Opacity/OpacityUpdater.js +129 -0
  956. package/umd/Updaters/Opacity/index.d.ts +2 -0
  957. package/umd/Updaters/Opacity/index.js +18 -0
  958. package/umd/Updaters/OutModes/IBounceData.d.ts +11 -0
  959. package/umd/Updaters/OutModes/IBounceData.js +12 -0
  960. package/umd/Updaters/OutModes/OutOfCanvasUpdater.d.ts +13 -0
  961. package/umd/Updaters/OutModes/OutOfCanvasUpdater.js +156 -0
  962. package/umd/Updaters/OutModes/Utils.d.ts +3 -0
  963. package/umd/Updaters/OutModes/Utils.js +75 -0
  964. package/umd/Updaters/OutModes/index.d.ts +2 -0
  965. package/umd/Updaters/OutModes/index.js +18 -0
  966. package/umd/Updaters/Roll/RollUpdater.d.ts +6 -0
  967. package/umd/Updaters/Roll/RollUpdater.js +73 -0
  968. package/umd/Updaters/Roll/index.d.ts +2 -0
  969. package/umd/Updaters/Roll/index.js +18 -0
  970. package/umd/Updaters/Size/SizeUpdater.d.ts +6 -0
  971. package/umd/Updaters/Size/SizeUpdater.js +86 -0
  972. package/umd/Updaters/Size/index.d.ts +2 -0
  973. package/umd/Updaters/Size/index.js +18 -0
  974. package/umd/Updaters/StrokeColor/StrokeColorUpdater.d.ts +8 -0
  975. package/umd/Updaters/StrokeColor/StrokeColorUpdater.js +94 -0
  976. package/umd/Updaters/StrokeColor/index.d.ts +2 -0
  977. package/umd/Updaters/StrokeColor/index.js +18 -0
  978. package/umd/Updaters/Tilt/TiltUpdater.d.ts +8 -0
  979. package/umd/Updaters/Tilt/TiltUpdater.js +89 -0
  980. package/umd/Updaters/Tilt/index.d.ts +2 -0
  981. package/umd/Updaters/Tilt/index.js +18 -0
  982. package/umd/Updaters/Wobble/WobbleUpdater.d.ts +14 -0
  983. package/umd/Updaters/Wobble/WobbleUpdater.js +61 -0
  984. package/umd/Updaters/Wobble/index.d.ts +2 -0
  985. package/umd/Updaters/Wobble/index.js +18 -0
  986. package/umd/Utils/CanvasUtils.d.ts +19 -0
  987. package/umd/Utils/CanvasUtils.js +297 -0
  988. package/umd/Utils/ColorUtils.d.ts +26 -0
  989. package/umd/Utils/ColorUtils.js +486 -0
  990. package/umd/Utils/NumberUtils.d.ts +23 -0
  991. package/umd/Utils/NumberUtils.js +138 -0
  992. package/umd/Utils/Utils.d.ts +38 -0
  993. package/umd/Utils/Utils.js +279 -0
  994. package/umd/Utils/index.d.ts +4 -0
  995. package/umd/Utils/index.js +26 -0
  996. package/umd/engine.d.ts +26 -0
  997. package/umd/engine.js +108 -0
  998. package/umd/full.d.ts +2 -0
  999. package/umd/full.js +32 -0
  1000. package/umd/index.d.ts +20 -0
  1001. package/umd/index.engine.d.ts +13 -0
  1002. package/umd/index.engine.js +37 -0
  1003. package/umd/index.js +43 -0
  1004. package/umd/index.slim.d.ts +14 -0
  1005. package/umd/index.slim.js +40 -0
  1006. package/umd/pjs.d.ts +14 -0
  1007. package/umd/pjs.js +36 -0
  1008. package/umd/slim.d.ts +2 -0
  1009. package/umd/slim.js +62 -0
@@ -288,7 +288,7 @@
288
288
  if (__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
289
289
  installedChunks[chunkId][0]();
290
290
  }
291
- installedChunks[chunkIds[i]] = 0;
291
+ installedChunks[chunkId] = 0;
292
292
  }
293
293
  return __webpack_require__.O(result);
294
294
  };
@@ -834,20 +834,20 @@
834
834
  }
835
835
  }
836
836
  }
837
- externalInteract(delta) {
837
+ async externalInteract(delta) {
838
838
  for (const interactor of this.externalInteractors) {
839
839
  if (interactor.isEnabled()) {
840
- interactor.interact(delta);
840
+ await interactor.interact(delta);
841
841
  }
842
842
  }
843
843
  }
844
- particlesInteract(particle, delta) {
844
+ async particlesInteract(particle, delta) {
845
845
  for (const interactor of this.externalInteractors) {
846
846
  interactor.reset(particle);
847
847
  }
848
848
  for (const interactor of this.particleInteractors) {
849
849
  if (interactor.isEnabled(particle)) {
850
- interactor.interact(particle, delta);
850
+ await interactor.interact(particle, delta);
851
851
  }
852
852
  }
853
853
  }
@@ -3095,10 +3095,10 @@
3095
3095
  return this.getRadius() ** 2 * Math.PI / 2;
3096
3096
  }
3097
3097
  getFillColor() {
3098
- var _a, _b, _c;
3098
+ var _a, _b;
3099
3099
  const color = (_a = this.bubble.color) !== null && _a !== void 0 ? _a : getHslFromAnimation(this.color);
3100
3100
  if (color && this.roll && (this.backColor || this.roll.alter)) {
3101
- const rolled = Math.floor(((_c = (_b = this.roll) === null || _b === void 0 ? void 0 : _b.angle) !== null && _c !== void 0 ? _c : 0) / (Math.PI / 2)) % 2;
3101
+ const backFactor = this.options.roll.mode === "both" ? 2 : 1, backSum = this.options.roll.mode === "horizontal" ? Math.PI / 2 : 0, rolled = Math.floor((((_b = this.roll.angle) !== null && _b !== void 0 ? _b : 0) + backSum) / (Math.PI / backFactor)) % 2;
3102
3102
  if (rolled) {
3103
3103
  if (this.backColor) {
3104
3104
  return this.backColor;
@@ -3330,10 +3330,10 @@
3330
3330
  }
3331
3331
  container.pathGenerator.init(container);
3332
3332
  }
3333
- redraw() {
3333
+ async redraw() {
3334
3334
  this.clear();
3335
3335
  this.init();
3336
- this.draw({
3336
+ await this.draw({
3337
3337
  value: 0,
3338
3338
  factor: 0
3339
3339
  });
@@ -3358,7 +3358,7 @@
3358
3358
  remove(particle, group, override) {
3359
3359
  this.removeAt(this.array.indexOf(particle), undefined, group, override);
3360
3360
  }
3361
- update(delta) {
3361
+ async update(delta) {
3362
3362
  const container = this.container;
3363
3363
  const particlesToDelete = [];
3364
3364
  container.pathGenerator.update();
@@ -3392,23 +3392,23 @@
3392
3392
  for (const particle of particlesToDelete) {
3393
3393
  this.remove(particle);
3394
3394
  }
3395
- this.interactionManager.externalInteract(delta);
3395
+ await this.interactionManager.externalInteract(delta);
3396
3396
  for (const particle of container.particles.array) {
3397
3397
  for (const updater of this.updaters) {
3398
3398
  updater.update(particle, delta);
3399
3399
  }
3400
3400
  if (!particle.destroyed && !particle.spawning) {
3401
- this.interactionManager.particlesInteract(particle, delta);
3401
+ await this.interactionManager.particlesInteract(particle, delta);
3402
3402
  }
3403
3403
  }
3404
3404
  delete container.canvas.resizeFactor;
3405
3405
  }
3406
- draw(delta) {
3406
+ async draw(delta) {
3407
3407
  const container = this.container;
3408
3408
  container.canvas.clear();
3409
3409
  const canvasSize = this.container.canvas.size;
3410
3410
  this.quadTree = new QuadTree(new Rectangle(-canvasSize.width / 4, -canvasSize.height / 4, canvasSize.width * 3 / 2, canvasSize.height * 3 / 2), 4);
3411
- this.update(delta);
3411
+ await this.update(delta);
3412
3412
  if (this.needsSort) {
3413
3413
  this.zArray.sort(((a, b) => b.position.z - a.position.z || a.id - b.id));
3414
3414
  this.lastZIndex = this.zArray[this.zArray.length - 1].position.z;
@@ -3769,12 +3769,12 @@
3769
3769
  }
3770
3770
  draw(force) {
3771
3771
  let refreshTime = force;
3772
- this.drawAnimationFrame = animate()((timestamp => {
3772
+ this.drawAnimationFrame = animate()((async timestamp => {
3773
3773
  if (refreshTime) {
3774
3774
  this.lastFrameTime = undefined;
3775
3775
  refreshTime = false;
3776
3776
  }
3777
- this.drawer.nextFrame(timestamp);
3777
+ await this.drawer.nextFrame(timestamp);
3778
3778
  }));
3779
3779
  }
3780
3780
  getAnimationStatus() {
@@ -3784,6 +3784,7 @@
3784
3784
  this.setPath(noiseOrGenerator, init, update);
3785
3785
  }
3786
3786
  setPath(pathOrGenerator, init, update) {
3787
+ var _a, _b, _c;
3787
3788
  if (!pathOrGenerator) {
3788
3789
  return;
3789
3790
  }
@@ -3796,15 +3797,11 @@
3796
3797
  this.pathGenerator.update = update;
3797
3798
  }
3798
3799
  } else {
3799
- if (pathOrGenerator.generate) {
3800
- this.pathGenerator.generate = pathOrGenerator.generate;
3801
- }
3802
- if (pathOrGenerator.init) {
3803
- this.pathGenerator.init = pathOrGenerator.init;
3804
- }
3805
- if (pathOrGenerator.update) {
3806
- this.pathGenerator.update = pathOrGenerator.update;
3807
- }
3800
+ const oldGenerator = this.pathGenerator;
3801
+ this.pathGenerator = pathOrGenerator;
3802
+ (_a = this.pathGenerator).generate || (_a.generate = oldGenerator.generate);
3803
+ (_b = this.pathGenerator).init || (_b.init = oldGenerator.init);
3804
+ (_c = this.pathGenerator).update || (_c.update = oldGenerator.update);
3808
3805
  }
3809
3806
  }
3810
3807
  destroy() {
@@ -4018,18 +4015,7 @@
4018
4015
  }
4019
4016
  const pathOptions = this.actualOptions.particles.move.path;
4020
4017
  if (pathOptions.generator) {
4021
- const customGenerator = Container_classPrivateFieldGet(this, _Container_engine, "f").plugins.getPathGenerator(pathOptions.generator);
4022
- if (customGenerator) {
4023
- if (customGenerator.init) {
4024
- this.pathGenerator.init = customGenerator.init;
4025
- }
4026
- if (customGenerator.generate) {
4027
- this.pathGenerator.generate = customGenerator.generate;
4028
- }
4029
- if (customGenerator.update) {
4030
- this.pathGenerator.update = customGenerator.update;
4031
- }
4032
- }
4018
+ this.setPath(Container_classPrivateFieldGet(this, _Container_engine, "f").plugins.getPathGenerator(pathOptions.generator));
4033
4019
  }
4034
4020
  this.particles.init();
4035
4021
  this.particles.setDensity();
@@ -5599,7 +5585,7 @@
5599
5585
  }
5600
5586
  this.redrawTimeout = window.setTimeout((async () => {
5601
5587
  await this.initRawData(true);
5602
- container.particles.redraw();
5588
+ await container.particles.redraw();
5603
5589
  }), 250);
5604
5590
  }
5605
5591
  stop() {
@@ -1,2 +1,2 @@
1
- /*! tsParticles v1.40.1 by Matteo Bruni */
2
- !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var i in n)("object"==typeof exports?exports:t)[i]=n[i]}}(window,(function(){return function(){"use strict";var t,e,n,i,o,r={},s={};function a(t){var e=s[t];if(void 0!==e)return e.exports;var n=s[t]={exports:{}};return r[t](n,n.exports,a),n.exports}a.m=r,t=[],a.O=function(e,n,i,o){if(!n){var r=1/0;for(c=0;c<t.length;c++){n=t[c][0],i=t[c][1],o=t[c][2];for(var s=!0,l=0;l<n.length;l++)(!1&o||r>=o)&&Object.keys(a.O).every((function(t){return a.O[t](n[l])}))?n.splice(l--,1):(s=!1,o<r&&(r=o));if(s){t.splice(c--,1);var h=i();void 0!==h&&(e=h)}}return e}o=o||0;for(var c=t.length;c>0&&t[c-1][2]>o;c--)t[c]=t[c-1];t[c]=[n,i,o]},a.F={},a.E=function(t){Object.keys(a.F).map((function(e){a.F[e](t)}))},n=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},a.t=function(t,i){if(1&i&&(t=this(t)),8&i)return t;if("object"==typeof t&&t){if(4&i&&t.__esModule)return t;if(16&i&&"function"==typeof t.then)return t}var o=Object.create(null);a.r(o);var r={};e=e||[null,n({}),n([]),n(n)];for(var s=2&i&&t;"object"==typeof s&&!~e.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((function(e){r[e]=function(){return t[e]}}));return r.default=function(){return t},a.d(o,r),o},a.d=function(t,e){for(var n in e)a.o(e,n)&&!a.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},a.f={},a.e=function(t){return Promise.all(Object.keys(a.f).reduce((function(e,n){return a.f[n](t,e),e}),[]))},a.u=function(t){return"tsparticles.pathseg.min.js"},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i={},o="tsparticles:",a.l=function(t,e,n,r){if(i[t])i[t].push(e);else{var s,l;if(void 0!==n)for(var h=document.getElementsByTagName("script"),c=0;c<h.length;c++){var u=h[c];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==o+n){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",o+n),s.src=t),i[t]=[e];var d=function(e,n){s.onerror=s.onload=null,clearTimeout(p);var o=i[t];if(delete i[t],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((function(t){return t(n)})),e)return e(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),l&&document.head.appendChild(s)}},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){var t;a.g.importScripts&&(t=a.g.location+"");var e=a.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=t}(),function(){var t={475:0,143:0};a.f.j=function(e,n){var i=a.o(t,e)?t[e]:void 0;if(0!==i)if(i)n.push(i[2]);else{var o=new Promise((function(n,o){i=t[e]=[n,o]}));n.push(i[2]=o);var r=a.p+a.u(e),s=new Error;a.l(r,(function(n){if(a.o(t,e)&&(0!==(i=t[e])&&(t[e]=void 0),i)){var o=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+o+": "+r+")",s.name="ChunkLoadError",s.type=o,s.request=r,i[1](s)}}),"chunk-"+e,e)}},a.F.j=function(e){if(!a.o(t,e)||void 0===t[e]){t[e]=null;var n=document.createElement("link");a.nc&&n.setAttribute("nonce",a.nc),n.rel="prefetch",n.as="script",n.href=a.p+a.u(e),document.head.appendChild(n)}},a.O.j=function(e){return 0===t[e]};var e=function(e,n){var i,o,r=n[0],s=n[1],l=n[2],h=0;if(r.some((function(e){return 0!==t[e]}))){for(i in s)a.o(s,i)&&(a.m[i]=s[i]);if(l)var c=l(a)}for(e&&e(n);h<r.length;h++)o=r[h],a.o(t,o)&&t[o]&&t[o][0](),t[r[h]]=0;return a.O(c)},n=window.webpackChunktsparticles=window.webpackChunktsparticles||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))}(),a.O(0,[475],(function(){a.E(404)}),5);var l={};a.r(l),a.d(l,{loadPolygonMaskPlugin:function(){return G}});class h{constructor(){this.value="#fff"}static create(t,e){const n=new h;return n.load(t),void 0!==e&&("string"==typeof e||e instanceof Array?n.load({value:e}):n.load(e)),n}load(t){void 0!==(null==t?void 0:t.value)&&(this.value=t.value)}}class c{}c.generatedAttribute="generated",c.randomColorValue="random",c.midColorValue="mid",c.touchEndEvent="touchend",c.mouseDownEvent="mousedown",c.mouseUpEvent="mouseup",c.mouseMoveEvent="mousemove",c.touchStartEvent="touchstart",c.touchMoveEvent="touchmove",c.mouseLeaveEvent="mouseleave",c.mouseOutEvent="mouseout",c.touchCancelEvent="touchcancel",c.resizeEvent="resize",c.visibilityChangeEvent="visibilitychange",c.noPolygonDataLoaded="No polygon data loaded.",c.noPolygonFound="No polygon found, you need to specify SVG url in config.";new WeakMap;new WeakMap;class u{constructor(t,e){let n,i;if(void 0===e){if("number"==typeof t)throw new Error("tsParticles - Vector not initialized correctly");const e=t;[n,i]=[e.x,e.y]}else[n,i]=[t,e];this.x=n,this.y=i}static clone(t){return u.create(t.x,t.y)}static create(t,e){return new u(t,e)}static get origin(){return u.create(0,0)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this.updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.x**2+this.y**2)}set length(t){this.updateFromAngle(this.angle,t)}add(t){return u.create(this.x+t.x,this.y+t.y)}addTo(t){this.x+=t.x,this.y+=t.y}sub(t){return u.create(this.x-t.x,this.y-t.y)}subFrom(t){this.x-=t.x,this.y-=t.y}mult(t){return u.create(this.x*t,this.y*t)}multTo(t){this.x*=t,this.y*=t}div(t){return u.create(this.x/t,this.y/t)}divTo(t){this.x/=t,this.y/=t}distanceTo(t){return this.sub(t).length}getLengthSq(){return this.x**2+this.y**2}distanceToSq(t){return this.sub(t).getLengthSq()}manhattanDistanceTo(t){return Math.abs(t.x-this.x)+Math.abs(t.y-this.y)}copy(){return u.clone(this)}setTo(t){this.x=t.x,this.y=t.y}rotate(t){return u.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t))}updateFromAngle(t,e){this.x=Math.cos(t)*e,this.y=Math.sin(t)*e}}new WeakMap,new WeakSet;new WeakMap;new WeakMap;new WeakMap;function d(t){const e=f(t);let n=p(t);return e===n&&(n=0),Math.random()*(e-n)+n}function p(t){return"number"==typeof t?t:t.min}function f(t){return"number"==typeof t?t:t.max}function v(t,e){if(t===e||void 0===e&&"number"==typeof t)return t;const n=p(t),i=f(t);return void 0!==e?{min:Math.min(n,e),max:Math.max(i,e)}:v(n,i)}function y(t,e){const n=t.x-e.x,i=t.y-e.y;return{dx:n,dy:i,distance:Math.sqrt(n*n+i*i)}}function g(){return"undefined"==typeof window||!window||void 0===window.document||!window.document}function w(t,e,n=!0){return t[void 0!==e&&n?e%t.length:function(t){return Math.floor(Math.random()*t.length)}(t)]}function m(t,...e){for(const n of e){if(null==n)continue;if("object"!=typeof n){t=n;continue}const e=Array.isArray(n);!e||"object"==typeof t&&t&&Array.isArray(t)?e||"object"==typeof t&&t&&!Array.isArray(t)||(t={}):t=[];for(const e in n){if("__proto__"===e)continue;const i=n[e],o="object"==typeof i,r=t;r[e]=o&&Array.isArray(i)?i.map((t=>m(r[e],t))):m(r[e],i)}}return t}function b(t,e,n){let i=n;return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function x(t){if(t.startsWith("rgb")){const e=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.]+)\s*)?\)/i.exec(t);return e?{a:e.length>4?parseFloat(e[5]):1,b:parseInt(e[3],10),g:parseInt(e[2],10),r:parseInt(e[1],10)}:void 0}if(t.startsWith("hsl")){const e=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.]+)\s*)?\)/i.exec(t);return e?function(t){const e=E(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}({a:e.length>4?parseFloat(e[5]):1,h:parseInt(e[1],10),l:parseInt(e[3],10),s:parseInt(e[2],10)}):void 0}if(t.startsWith("hsv")){const e=/hsva?\(\s*(\d+)°\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.]+)\s*)?\)/i.exec(t);return e?function(t){const e=T(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}({a:e.length>4?parseFloat(e[5]):1,h:parseInt(e[1],10),s:parseInt(e[2],10),v:parseInt(e[3],10)}):void 0}{const e=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,n=t.replace(e,((t,e,n,i,o)=>e+e+n+n+i+i+(void 0!==o?o+o:""))),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i.exec(n);return i?{a:void 0!==i[4]?parseInt(i[4],16)/255:1,b:parseInt(i[3],16),g:parseInt(i[2],16),r:parseInt(i[1],16)}:void 0}}function P(t,e,n=!0){var i,o,r;if(void 0===t)return;const s="string"==typeof t?{value:t}:t;let a;if("string"==typeof s.value)a=s.value===c.randomColorValue?A():function(t){return x(t)}(s.value);else if(s.value instanceof Array){a=P({value:w(s.value,e,n)})}else{const t=s.value,e=null!==(i=t.rgb)&&void 0!==i?i:s.value;if(void 0!==e.r)a=e;else{const e=null!==(o=t.hsl)&&void 0!==o?o:s.value;if(void 0!==e.h&&void 0!==e.l)a=E(e);else{const e=null!==(r=t.hsv)&&void 0!==r?r:s.value;void 0!==e.h&&void 0!==e.v&&(a=T(e))}}}return a}function E(t){const e={b:0,g:0,r:0},n={h:t.h/360,l:t.l/100,s:t.s/100};if(0===n.s)e.b=n.l,e.g=n.l,e.r=n.l;else{const t=n.l<.5?n.l*(1+n.s):n.l+n.s-n.l*n.s,i=2*n.l-t;e.r=b(i,t,n.h+1/3),e.g=b(i,t,n.h),e.b=b(i,t,n.h-1/3)}return e.r=Math.floor(255*e.r),e.g=Math.floor(255*e.g),e.b=Math.floor(255*e.b),e}function T(t){const e={b:0,g:0,r:0},n=t.h/60,i=t.s/100,o=t.v/100,r=o*i,s=r*(1-Math.abs(n%2-1));let a;if(n>=0&&n<=1?a={r:r,g:s,b:0}:n>1&&n<=2?a={r:s,g:r,b:0}:n>2&&n<=3?a={r:0,g:r,b:s}:n>3&&n<=4?a={r:0,g:s,b:r}:n>4&&n<=5?a={r:s,g:0,b:r}:n>5&&n<=6&&(a={r:r,g:0,b:s}),a){const t=o-r;e.r=Math.floor(255*(a.r+t)),e.g=Math.floor(255*(a.g+t)),e.b=Math.floor(255*(a.b+t))}return e}function A(t){const e=null!=t?t:0;return{b:Math.floor(d(v(e,256))),g:Math.floor(d(v(e,256))),r:Math.floor(d(v(e,256)))}}function S(t,e){return`rgba(${t.r}, ${t.g}, ${t.b}, ${null!=e?e:1})`}new WeakMap;class _{constructor(){this.color=new h,this.width=.5,this.opacity=1}load(t){var e;t&&(this.color=h.create(this.color,t.color),"string"==typeof this.color.value&&(this.opacity=null!==(e=function(t){var e;return null===(e=x(t))||void 0===e?void 0:e.a}(this.color.value))&&void 0!==e?e:this.opacity),void 0!==t.opacity&&(this.opacity=t.opacity),void 0!==t.width&&(this.width=t.width))}}class M{constructor(){this.enable=!1,this.stroke=new _}get lineWidth(){return this.stroke.width}set lineWidth(t){this.stroke.width=t}get lineColor(){return this.stroke.color}set lineColor(t){this.stroke.color=h.create(this.stroke.color,t)}load(t){var e;if(!t)return;void 0!==t.enable&&(this.enable=t.enable);const n=null!==(e=t.stroke)&&void 0!==e?e:{color:t.lineColor,width:t.lineWidth};this.stroke.load(n)}}class O{constructor(){this.arrangement="one-per-point"}load(t){t&&void 0!==t.arrangement&&(this.arrangement=t.arrangement)}}class k{constructor(){this.path=[],this.size={height:0,width:0}}load(t){t&&(void 0!==t.path&&(this.path=t.path),void 0!==t.size&&(void 0!==t.size.width&&(this.size.width=t.size.width),void 0!==t.size.height&&(this.size.height=t.size.height)))}}class I{constructor(){this.radius=10,this.type="path"}load(t){t&&(void 0!==t.radius&&(this.radius=t.radius),void 0!==t.type&&(this.type=t.type))}}class R{constructor(){this.draw=new M,this.enable=!1,this.inline=new O,this.move=new I,this.scale=1,this.type="none"}get inlineArrangement(){return this.inline.arrangement}set inlineArrangement(t){this.inline.arrangement=t}load(t){var e;if(!t)return;this.draw.load(t.draw);const n=null!==(e=t.inline)&&void 0!==e?e:{arrangement:t.inlineArrangement};void 0!==n&&this.inline.load(n),this.move.load(t.move),void 0!==t.scale&&(this.scale=t.scale),void 0!==t.type&&(this.type=t.type),void 0!==t.enable?this.enable=t.enable:this.enable="none"!==this.type,void 0!==t.url&&(this.url=t.url),void 0!==t.data&&("string"==typeof t.data?this.data=t.data:(this.data=new k,this.data.load(t.data))),void 0!==t.position&&(this.position=m({},t.position))}}function C(t,e,n){const i=P(n.color);if(i){t.beginPath(),t.moveTo(e[0].x,e[0].y);for(const n of e)t.lineTo(n.x,n.y);t.closePath(),t.strokeStyle=S(i),t.lineWidth=n.width,t.stroke()}}function L(t,e,n,i){t.translate(i.x,i.y);const o=P(n.color);o&&(t.strokeStyle=S(o,n.opacity),t.lineWidth=n.width,t.stroke(e))}function j(t,e,n){const{dx:i,dy:o}=y(n,t),{dx:r,dy:s}=y(e,t),a=(i*r+o*s)/(r**2+s**2),l={x:t.x+r*a,y:t.x+s*a,isOnSegment:a>=0&&a<=1};return a<0?(l.x=t.x,l.y=t.y):a>1&&(l.x=e.x,l.y=e.y),l}function B(t,e,n){const{dx:i,dy:o}=y(t,e),r=Math.atan2(o,i),s=u.create(Math.sin(r),-Math.cos(r)),a=2*(n.x*s.x+n.y*s.y);s.multTo(a),n.subFrom(s)}class H{constructor(t){this.container=t,this.dimension={height:0,width:0},this.path2DSupported=!!window.Path2D,this.options=new R,this.polygonMaskMoveRadius=this.options.move.radius*t.retina.pixelRatio}async initAsync(t){this.options.load(null==t?void 0:t.polygon);const e=this.options;this.polygonMaskMoveRadius=e.move.radius*this.container.retina.pixelRatio,e.enable&&await this.initRawData()}resize(){const t=this.container,e=this.options;e.enable&&"none"!==e.type&&(this.redrawTimeout&&clearTimeout(this.redrawTimeout),this.redrawTimeout=window.setTimeout((async()=>{await this.initRawData(!0),t.particles.redraw()}),250))}stop(){delete this.raw,delete this.paths}particlesInitialization(){const t=this.options;return!(!t.enable||"inline"!==t.type||"one-per-point"!==t.inline.arrangement&&"per-point"!==t.inline.arrangement)&&(this.drawPoints(),!0)}particlePosition(t){var e,n;if(this.options.enable&&(null!==(n=null===(e=this.raw)||void 0===e?void 0:e.length)&&void 0!==n?n:0)>0)return m({},t||this.randomPoint())}particleBounce(t,e,n){return this.polygonBounce(t,e,n)}clickPositionValid(t){const e=this.options;return e.enable&&"none"!==e.type&&"inline"!==e.type&&this.checkInsidePolygon(t)}draw(t){var e;if(!(null===(e=this.paths)||void 0===e?void 0:e.length))return;const n=this.options,i=n.draw;if(!n.enable||!i.enable)return;const o=this.raw;for(const e of this.paths){const n=e.path2d,r=this.path2DSupported;t&&(r&&n&&this.offset?L(t,n,i.stroke,this.offset):o&&C(t,o,i.stroke))}}polygonBounce(t,e,n){const i=this.options;if(!this.raw||!i.enable||"top"!==n)return!1;if("inside"===i.type||"outside"===i.type){let e,n,i;const o=t.getPosition(),r=t.getRadius();for(let s=0,a=this.raw.length-1;s<this.raw.length;a=s++){const l=this.raw[s],h=this.raw[a];e=j(l,h,o);const c=y(o,e);if([n,i]=[c.dx,c.dy],c.distance<r)return B(l,h,t.velocity),!0}if(e&&void 0!==n&&void 0!==i&&!this.checkInsidePolygon(o)){const n={x:1,y:1};return t.position.x>=e.x&&(n.x=-1),t.position.y>=e.y&&(n.y=-1),t.position.x=e.x+2*r*n.x,t.position.y=e.y+2*r*n.y,t.velocity.mult(-1),!0}}else if("inline"===i.type&&t.initialPosition){if((o=t.initialPosition,r=t.getPosition(),y(o,r).distance)>this.polygonMaskMoveRadius)return t.velocity.x=t.velocity.y/2-t.velocity.x,t.velocity.y=t.velocity.x/2-t.velocity.y,!0}var o,r;return!1}checkInsidePolygon(t){var e,n;const i=this.container,o=this.options;if(!o.enable||"none"===o.type||"inline"===o.type)return!0;if(!this.raw)throw new Error(c.noPolygonFound);const r=i.canvas.size,s=null!==(e=null==t?void 0:t.x)&&void 0!==e?e:Math.random()*r.width,a=null!==(n=null==t?void 0:t.y)&&void 0!==n?n:Math.random()*r.height;let l=!1;for(let t=0,e=this.raw.length-1;t<this.raw.length;e=t++){const n=this.raw[t],i=this.raw[e];n.y>a!=i.y>a&&s<(i.x-n.x)*(a-n.y)/(i.y-n.y)+n.x&&(l=!l)}return"inside"===o.type?l:"outside"===o.type&&!l}parseSvgPath(t,e){var n,i,o;const r=null!=e&&e;if(void 0!==this.paths&&!r)return this.raw;const s=this.container,a=this.options,l=(new DOMParser).parseFromString(t,"image/svg+xml"),h=l.getElementsByTagName("svg")[0];let c=h.getElementsByTagName("path");c.length||(c=l.getElementsByTagName("path")),this.paths=[];for(let t=0;t<c.length;t++){const e=c.item(t);e&&this.paths.push({element:e,length:e.getTotalLength()})}const u=s.retina.pixelRatio,d=a.scale/u;this.dimension.width=parseFloat(null!==(n=h.getAttribute("width"))&&void 0!==n?n:"0")*d,this.dimension.height=parseFloat(null!==(i=h.getAttribute("height"))&&void 0!==i?i:"0")*d;const p=null!==(o=a.position)&&void 0!==o?o:{x:50,y:50};return this.offset={x:s.canvas.size.width*p.x/(100*u)-this.dimension.width/2,y:s.canvas.size.height*p.y/(100*u)-this.dimension.height/2},function(t,e,n){var i;const o=[];for(const r of t){const t=r.element.pathSegList,s=null!==(i=null==t?void 0:t.numberOfItems)&&void 0!==i?i:0,a={x:0,y:0};for(let i=0;i<s;i++){const r=null==t?void 0:t.getItem(i),s=window.SVGPathSeg;switch(null==r?void 0:r.pathSegType){case s.PATHSEG_MOVETO_ABS:case s.PATHSEG_LINETO_ABS:case s.PATHSEG_CURVETO_CUBIC_ABS:case s.PATHSEG_CURVETO_QUADRATIC_ABS:case s.PATHSEG_ARC_ABS:case s.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:case s.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:{const t=r;a.x=t.x,a.y=t.y;break}case s.PATHSEG_LINETO_HORIZONTAL_ABS:a.x=r.x;break;case s.PATHSEG_LINETO_VERTICAL_ABS:a.y=r.y;break;case s.PATHSEG_LINETO_REL:case s.PATHSEG_MOVETO_REL:case s.PATHSEG_CURVETO_CUBIC_REL:case s.PATHSEG_CURVETO_QUADRATIC_REL:case s.PATHSEG_ARC_REL:case s.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:case s.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:{const t=r;a.x+=t.x,a.y+=t.y;break}case s.PATHSEG_LINETO_HORIZONTAL_REL:a.x+=r.x;break;case s.PATHSEG_LINETO_VERTICAL_REL:a.y+=r.y;break;case s.PATHSEG_UNKNOWN:case s.PATHSEG_CLOSEPATH:continue}o.push({x:a.x*e+n.x,y:a.y*e+n.y})}}return o}(this.paths,d,this.offset)}async downloadSvgPath(t,e){const n=this.options,i=t||n.url,o=null!=e&&e;if(!i||void 0!==this.paths&&!o)return this.raw;const r=await fetch(i);if(!r.ok)throw new Error("tsParticles Error - Error occurred during polygon mask download");return this.parseSvgPath(await r.text(),e)}drawPoints(){if(this.raw)for(const t of this.raw)this.container.particles.addParticle({x:t.x,y:t.y})}randomPoint(){const t=this.container,e=this.options;let n;if("inline"===e.type)switch(e.inline.arrangement){case"random-point":n=this.getRandomPoint();break;case"random-length":n=this.getRandomPointByLength();break;case"equidistant":n=this.getEquidistantPointByIndex(t.particles.count);break;case"one-per-point":case"per-point":default:n=this.getPointByIndex(t.particles.count)}else n={x:Math.random()*t.canvas.size.width,y:Math.random()*t.canvas.size.height};return this.checkInsidePolygon(n)?n:this.randomPoint()}getRandomPoint(){if(!this.raw||!this.raw.length)throw new Error(c.noPolygonDataLoaded);const t=w(this.raw);return{x:t.x,y:t.y}}getRandomPointByLength(){var t,e,n;const i=this.options;if(!this.raw||!this.raw.length||!(null===(t=this.paths)||void 0===t?void 0:t.length))throw new Error(c.noPolygonDataLoaded);const o=w(this.paths),r=Math.floor(Math.random()*o.length)+1,s=o.element.getPointAtLength(r);return{x:s.x*i.scale+((null===(e=this.offset)||void 0===e?void 0:e.x)||0),y:s.y*i.scale+((null===(n=this.offset)||void 0===n?void 0:n.y)||0)}}getEquidistantPointByIndex(t){var e,n,i,o,r,s,a;const l=this.container.actualOptions,h=this.options;if(!this.raw||!this.raw.length||!(null===(e=this.paths)||void 0===e?void 0:e.length))throw new Error(c.noPolygonDataLoaded);let u,d=0;const p=this.paths.reduce(((t,e)=>t+e.length),0)/l.particles.number.value;for(const e of this.paths){const n=p*t-d;if(n<=e.length){u=e.element.getPointAtLength(n);break}d+=e.length}return{x:(null!==(n=null==u?void 0:u.x)&&void 0!==n?n:0)*h.scale+(null!==(o=null===(i=this.offset)||void 0===i?void 0:i.x)&&void 0!==o?o:0),y:(null!==(r=null==u?void 0:u.y)&&void 0!==r?r:0)*h.scale+(null!==(a=null===(s=this.offset)||void 0===s?void 0:s.y)&&void 0!==a?a:0)}}getPointByIndex(t){if(!this.raw||!this.raw.length)throw new Error(c.noPolygonDataLoaded);const e=this.raw[t%this.raw.length];return{x:e.x,y:e.y}}createPath2D(){var t,e;const n=this.options;if(this.path2DSupported&&(null===(t=this.paths)||void 0===t?void 0:t.length))for(const t of this.paths){const i=null===(e=t.element)||void 0===e?void 0:e.getAttribute("d");if(i){const e=new Path2D(i),o=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGMatrix(),r=new Path2D,s=o.scale(n.scale);r.addPath?(r.addPath(e,s),t.path2d=r):delete t.path2d}else delete t.path2d;!t.path2d&&this.raw&&(t.path2d=new Path2D,t.path2d.moveTo(this.raw[0].x,this.raw[0].y),this.raw.forEach(((e,n)=>{var i;n>0&&(null===(i=t.path2d)||void 0===i||i.lineTo(e.x,e.y))})),t.path2d.closePath())}}async initRawData(t){const e=this.options;if(e.url)this.raw=await this.downloadSvgPath(e.url,t);else if(e.data){const n=e.data;let i;if("string"!=typeof n){const t=n.path instanceof Array?n.path.map((t=>`<path d="${t}" />`)).join(""):`<path d="${n.path}" />`;i=`<svg ${'xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"'} width="${n.size.width}" height="${n.size.height}">${t}</svg>`}else i=n;this.raw=this.parseSvgPath(i,t)}this.createPath2D()}}class D{constructor(){this.id="polygonMask"}getPlugin(t){return new H(t)}needsPlugin(t){var e,n,i;return null!==(n=null===(e=null==t?void 0:t.polygon)||void 0===e?void 0:e.enable)&&void 0!==n?n:void 0!==(null===(i=null==t?void 0:t.polygon)||void 0===i?void 0:i.type)&&"none"!==t.polygon.type}loadOptions(t,e){if(!this.needsPlugin(e))return;const n=t;let i=n.polygon;void 0===(null==i?void 0:i.load)&&(n.polygon=i=new R),i.load(null==e?void 0:e.polygon)}}async function G(t){g()||"SVGPathSeg"in window||await a.e(404).then(a.t.bind(a,167,23));const e=new D;await t.addPlugin(e)}return l=a.O(l)}()}));
1
+ /*! tsParticles v1.41.2 by Matteo Bruni */
2
+ !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var i in n)("object"==typeof exports?exports:t)[i]=n[i]}}(window,(function(){return function(){"use strict";var t,e,n,i,o,r={},s={};function a(t){var e=s[t];if(void 0!==e)return e.exports;var n=s[t]={exports:{}};return r[t](n,n.exports,a),n.exports}a.m=r,t=[],a.O=function(e,n,i,o){if(!n){var r=1/0;for(c=0;c<t.length;c++){n=t[c][0],i=t[c][1],o=t[c][2];for(var s=!0,l=0;l<n.length;l++)(!1&o||r>=o)&&Object.keys(a.O).every((function(t){return a.O[t](n[l])}))?n.splice(l--,1):(s=!1,o<r&&(r=o));if(s){t.splice(c--,1);var h=i();void 0!==h&&(e=h)}}return e}o=o||0;for(var c=t.length;c>0&&t[c-1][2]>o;c--)t[c]=t[c-1];t[c]=[n,i,o]},a.F={},a.E=function(t){Object.keys(a.F).map((function(e){a.F[e](t)}))},n=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},a.t=function(t,i){if(1&i&&(t=this(t)),8&i)return t;if("object"==typeof t&&t){if(4&i&&t.__esModule)return t;if(16&i&&"function"==typeof t.then)return t}var o=Object.create(null);a.r(o);var r={};e=e||[null,n({}),n([]),n(n)];for(var s=2&i&&t;"object"==typeof s&&!~e.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((function(e){r[e]=function(){return t[e]}}));return r.default=function(){return t},a.d(o,r),o},a.d=function(t,e){for(var n in e)a.o(e,n)&&!a.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},a.f={},a.e=function(t){return Promise.all(Object.keys(a.f).reduce((function(e,n){return a.f[n](t,e),e}),[]))},a.u=function(t){return"tsparticles.pathseg.min.js"},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i={},o="tsparticles:",a.l=function(t,e,n,r){if(i[t])i[t].push(e);else{var s,l;if(void 0!==n)for(var h=document.getElementsByTagName("script"),c=0;c<h.length;c++){var u=h[c];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==o+n){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",o+n),s.src=t),i[t]=[e];var d=function(e,n){s.onerror=s.onload=null,clearTimeout(p);var o=i[t];if(delete i[t],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((function(t){return t(n)})),e)return e(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),l&&document.head.appendChild(s)}},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){var t;a.g.importScripts&&(t=a.g.location+"");var e=a.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=t}(),function(){var t={475:0,143:0};a.f.j=function(e,n){var i=a.o(t,e)?t[e]:void 0;if(0!==i)if(i)n.push(i[2]);else{var o=new Promise((function(n,o){i=t[e]=[n,o]}));n.push(i[2]=o);var r=a.p+a.u(e),s=new Error;a.l(r,(function(n){if(a.o(t,e)&&(0!==(i=t[e])&&(t[e]=void 0),i)){var o=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+o+": "+r+")",s.name="ChunkLoadError",s.type=o,s.request=r,i[1](s)}}),"chunk-"+e,e)}},a.F.j=function(e){if(!a.o(t,e)||void 0===t[e]){t[e]=null;var n=document.createElement("link");a.nc&&n.setAttribute("nonce",a.nc),n.rel="prefetch",n.as="script",n.href=a.p+a.u(e),document.head.appendChild(n)}},a.O.j=function(e){return 0===t[e]};var e=function(e,n){var i,o,r=n[0],s=n[1],l=n[2],h=0;if(r.some((function(e){return 0!==t[e]}))){for(i in s)a.o(s,i)&&(a.m[i]=s[i]);if(l)var c=l(a)}for(e&&e(n);h<r.length;h++)o=r[h],a.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return a.O(c)},n=window.webpackChunktsparticles=window.webpackChunktsparticles||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))}(),a.O(0,[475],(function(){a.E(404)}),5);var l={};a.r(l),a.d(l,{loadPolygonMaskPlugin:function(){return G}});class h{constructor(){this.value="#fff"}static create(t,e){const n=new h;return n.load(t),void 0!==e&&("string"==typeof e||e instanceof Array?n.load({value:e}):n.load(e)),n}load(t){void 0!==(null==t?void 0:t.value)&&(this.value=t.value)}}class c{}c.generatedAttribute="generated",c.randomColorValue="random",c.midColorValue="mid",c.touchEndEvent="touchend",c.mouseDownEvent="mousedown",c.mouseUpEvent="mouseup",c.mouseMoveEvent="mousemove",c.touchStartEvent="touchstart",c.touchMoveEvent="touchmove",c.mouseLeaveEvent="mouseleave",c.mouseOutEvent="mouseout",c.touchCancelEvent="touchcancel",c.resizeEvent="resize",c.visibilityChangeEvent="visibilitychange",c.noPolygonDataLoaded="No polygon data loaded.",c.noPolygonFound="No polygon found, you need to specify SVG url in config.";new WeakMap;new WeakMap;class u{constructor(t,e){let n,i;if(void 0===e){if("number"==typeof t)throw new Error("tsParticles - Vector not initialized correctly");const e=t;[n,i]=[e.x,e.y]}else[n,i]=[t,e];this.x=n,this.y=i}static clone(t){return u.create(t.x,t.y)}static create(t,e){return new u(t,e)}static get origin(){return u.create(0,0)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this.updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.x**2+this.y**2)}set length(t){this.updateFromAngle(this.angle,t)}add(t){return u.create(this.x+t.x,this.y+t.y)}addTo(t){this.x+=t.x,this.y+=t.y}sub(t){return u.create(this.x-t.x,this.y-t.y)}subFrom(t){this.x-=t.x,this.y-=t.y}mult(t){return u.create(this.x*t,this.y*t)}multTo(t){this.x*=t,this.y*=t}div(t){return u.create(this.x/t,this.y/t)}divTo(t){this.x/=t,this.y/=t}distanceTo(t){return this.sub(t).length}getLengthSq(){return this.x**2+this.y**2}distanceToSq(t){return this.sub(t).getLengthSq()}manhattanDistanceTo(t){return Math.abs(t.x-this.x)+Math.abs(t.y-this.y)}copy(){return u.clone(this)}setTo(t){this.x=t.x,this.y=t.y}rotate(t){return u.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t))}updateFromAngle(t,e){this.x=Math.cos(t)*e,this.y=Math.sin(t)*e}}new WeakMap,new WeakSet;new WeakMap;new WeakMap;new WeakMap;function d(t){const e=f(t);let n=p(t);return e===n&&(n=0),Math.random()*(e-n)+n}function p(t){return"number"==typeof t?t:t.min}function f(t){return"number"==typeof t?t:t.max}function v(t,e){if(t===e||void 0===e&&"number"==typeof t)return t;const n=p(t),i=f(t);return void 0!==e?{min:Math.min(n,e),max:Math.max(i,e)}:v(n,i)}function y(t,e){const n=t.x-e.x,i=t.y-e.y;return{dx:n,dy:i,distance:Math.sqrt(n*n+i*i)}}function g(){return"undefined"==typeof window||!window||void 0===window.document||!window.document}function w(t,e,n=!0){return t[void 0!==e&&n?e%t.length:function(t){return Math.floor(Math.random()*t.length)}(t)]}function m(t,...e){for(const n of e){if(null==n)continue;if("object"!=typeof n){t=n;continue}const e=Array.isArray(n);!e||"object"==typeof t&&t&&Array.isArray(t)?e||"object"==typeof t&&t&&!Array.isArray(t)||(t={}):t=[];for(const e in n){if("__proto__"===e)continue;const i=n[e],o="object"==typeof i,r=t;r[e]=o&&Array.isArray(i)?i.map((t=>m(r[e],t))):m(r[e],i)}}return t}function b(t,e,n){let i=n;return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function x(t){if(t.startsWith("rgb")){const e=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.]+)\s*)?\)/i.exec(t);return e?{a:e.length>4?parseFloat(e[5]):1,b:parseInt(e[3],10),g:parseInt(e[2],10),r:parseInt(e[1],10)}:void 0}if(t.startsWith("hsl")){const e=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.]+)\s*)?\)/i.exec(t);return e?function(t){const e=E(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}({a:e.length>4?parseFloat(e[5]):1,h:parseInt(e[1],10),l:parseInt(e[3],10),s:parseInt(e[2],10)}):void 0}if(t.startsWith("hsv")){const e=/hsva?\(\s*(\d+)°\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.]+)\s*)?\)/i.exec(t);return e?function(t){const e=T(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}({a:e.length>4?parseFloat(e[5]):1,h:parseInt(e[1],10),s:parseInt(e[2],10),v:parseInt(e[3],10)}):void 0}{const e=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,n=t.replace(e,((t,e,n,i,o)=>e+e+n+n+i+i+(void 0!==o?o+o:""))),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i.exec(n);return i?{a:void 0!==i[4]?parseInt(i[4],16)/255:1,b:parseInt(i[3],16),g:parseInt(i[2],16),r:parseInt(i[1],16)}:void 0}}function P(t,e,n=!0){var i,o,r;if(void 0===t)return;const s="string"==typeof t?{value:t}:t;let a;if("string"==typeof s.value)a=s.value===c.randomColorValue?A():function(t){return x(t)}(s.value);else if(s.value instanceof Array){a=P({value:w(s.value,e,n)})}else{const t=s.value,e=null!==(i=t.rgb)&&void 0!==i?i:s.value;if(void 0!==e.r)a=e;else{const e=null!==(o=t.hsl)&&void 0!==o?o:s.value;if(void 0!==e.h&&void 0!==e.l)a=E(e);else{const e=null!==(r=t.hsv)&&void 0!==r?r:s.value;void 0!==e.h&&void 0!==e.v&&(a=T(e))}}}return a}function E(t){const e={b:0,g:0,r:0},n={h:t.h/360,l:t.l/100,s:t.s/100};if(0===n.s)e.b=n.l,e.g=n.l,e.r=n.l;else{const t=n.l<.5?n.l*(1+n.s):n.l+n.s-n.l*n.s,i=2*n.l-t;e.r=b(i,t,n.h+1/3),e.g=b(i,t,n.h),e.b=b(i,t,n.h-1/3)}return e.r=Math.floor(255*e.r),e.g=Math.floor(255*e.g),e.b=Math.floor(255*e.b),e}function T(t){const e={b:0,g:0,r:0},n=t.h/60,i=t.s/100,o=t.v/100,r=o*i,s=r*(1-Math.abs(n%2-1));let a;if(n>=0&&n<=1?a={r:r,g:s,b:0}:n>1&&n<=2?a={r:s,g:r,b:0}:n>2&&n<=3?a={r:0,g:r,b:s}:n>3&&n<=4?a={r:0,g:s,b:r}:n>4&&n<=5?a={r:s,g:0,b:r}:n>5&&n<=6&&(a={r:r,g:0,b:s}),a){const t=o-r;e.r=Math.floor(255*(a.r+t)),e.g=Math.floor(255*(a.g+t)),e.b=Math.floor(255*(a.b+t))}return e}function A(t){const e=null!=t?t:0;return{b:Math.floor(d(v(e,256))),g:Math.floor(d(v(e,256))),r:Math.floor(d(v(e,256)))}}function S(t,e){return`rgba(${t.r}, ${t.g}, ${t.b}, ${null!=e?e:1})`}new WeakMap;class _{constructor(){this.color=new h,this.width=.5,this.opacity=1}load(t){var e;t&&(this.color=h.create(this.color,t.color),"string"==typeof this.color.value&&(this.opacity=null!==(e=function(t){var e;return null===(e=x(t))||void 0===e?void 0:e.a}(this.color.value))&&void 0!==e?e:this.opacity),void 0!==t.opacity&&(this.opacity=t.opacity),void 0!==t.width&&(this.width=t.width))}}class M{constructor(){this.enable=!1,this.stroke=new _}get lineWidth(){return this.stroke.width}set lineWidth(t){this.stroke.width=t}get lineColor(){return this.stroke.color}set lineColor(t){this.stroke.color=h.create(this.stroke.color,t)}load(t){var e;if(!t)return;void 0!==t.enable&&(this.enable=t.enable);const n=null!==(e=t.stroke)&&void 0!==e?e:{color:t.lineColor,width:t.lineWidth};this.stroke.load(n)}}class O{constructor(){this.arrangement="one-per-point"}load(t){t&&void 0!==t.arrangement&&(this.arrangement=t.arrangement)}}class k{constructor(){this.path=[],this.size={height:0,width:0}}load(t){t&&(void 0!==t.path&&(this.path=t.path),void 0!==t.size&&(void 0!==t.size.width&&(this.size.width=t.size.width),void 0!==t.size.height&&(this.size.height=t.size.height)))}}class I{constructor(){this.radius=10,this.type="path"}load(t){t&&(void 0!==t.radius&&(this.radius=t.radius),void 0!==t.type&&(this.type=t.type))}}class R{constructor(){this.draw=new M,this.enable=!1,this.inline=new O,this.move=new I,this.scale=1,this.type="none"}get inlineArrangement(){return this.inline.arrangement}set inlineArrangement(t){this.inline.arrangement=t}load(t){var e;if(!t)return;this.draw.load(t.draw);const n=null!==(e=t.inline)&&void 0!==e?e:{arrangement:t.inlineArrangement};void 0!==n&&this.inline.load(n),this.move.load(t.move),void 0!==t.scale&&(this.scale=t.scale),void 0!==t.type&&(this.type=t.type),void 0!==t.enable?this.enable=t.enable:this.enable="none"!==this.type,void 0!==t.url&&(this.url=t.url),void 0!==t.data&&("string"==typeof t.data?this.data=t.data:(this.data=new k,this.data.load(t.data))),void 0!==t.position&&(this.position=m({},t.position))}}function C(t,e,n){const i=P(n.color);if(i){t.beginPath(),t.moveTo(e[0].x,e[0].y);for(const n of e)t.lineTo(n.x,n.y);t.closePath(),t.strokeStyle=S(i),t.lineWidth=n.width,t.stroke()}}function L(t,e,n,i){t.translate(i.x,i.y);const o=P(n.color);o&&(t.strokeStyle=S(o,n.opacity),t.lineWidth=n.width,t.stroke(e))}function j(t,e,n){const{dx:i,dy:o}=y(n,t),{dx:r,dy:s}=y(e,t),a=(i*r+o*s)/(r**2+s**2),l={x:t.x+r*a,y:t.x+s*a,isOnSegment:a>=0&&a<=1};return a<0?(l.x=t.x,l.y=t.y):a>1&&(l.x=e.x,l.y=e.y),l}function B(t,e,n){const{dx:i,dy:o}=y(t,e),r=Math.atan2(o,i),s=u.create(Math.sin(r),-Math.cos(r)),a=2*(n.x*s.x+n.y*s.y);s.multTo(a),n.subFrom(s)}class H{constructor(t){this.container=t,this.dimension={height:0,width:0},this.path2DSupported=!!window.Path2D,this.options=new R,this.polygonMaskMoveRadius=this.options.move.radius*t.retina.pixelRatio}async initAsync(t){this.options.load(null==t?void 0:t.polygon);const e=this.options;this.polygonMaskMoveRadius=e.move.radius*this.container.retina.pixelRatio,e.enable&&await this.initRawData()}resize(){const t=this.container,e=this.options;e.enable&&"none"!==e.type&&(this.redrawTimeout&&clearTimeout(this.redrawTimeout),this.redrawTimeout=window.setTimeout((async()=>{await this.initRawData(!0),await t.particles.redraw()}),250))}stop(){delete this.raw,delete this.paths}particlesInitialization(){const t=this.options;return!(!t.enable||"inline"!==t.type||"one-per-point"!==t.inline.arrangement&&"per-point"!==t.inline.arrangement)&&(this.drawPoints(),!0)}particlePosition(t){var e,n;if(this.options.enable&&(null!==(n=null===(e=this.raw)||void 0===e?void 0:e.length)&&void 0!==n?n:0)>0)return m({},t||this.randomPoint())}particleBounce(t,e,n){return this.polygonBounce(t,e,n)}clickPositionValid(t){const e=this.options;return e.enable&&"none"!==e.type&&"inline"!==e.type&&this.checkInsidePolygon(t)}draw(t){var e;if(!(null===(e=this.paths)||void 0===e?void 0:e.length))return;const n=this.options,i=n.draw;if(!n.enable||!i.enable)return;const o=this.raw;for(const e of this.paths){const n=e.path2d,r=this.path2DSupported;t&&(r&&n&&this.offset?L(t,n,i.stroke,this.offset):o&&C(t,o,i.stroke))}}polygonBounce(t,e,n){const i=this.options;if(!this.raw||!i.enable||"top"!==n)return!1;if("inside"===i.type||"outside"===i.type){let e,n,i;const o=t.getPosition(),r=t.getRadius();for(let s=0,a=this.raw.length-1;s<this.raw.length;a=s++){const l=this.raw[s],h=this.raw[a];e=j(l,h,o);const c=y(o,e);if([n,i]=[c.dx,c.dy],c.distance<r)return B(l,h,t.velocity),!0}if(e&&void 0!==n&&void 0!==i&&!this.checkInsidePolygon(o)){const n={x:1,y:1};return t.position.x>=e.x&&(n.x=-1),t.position.y>=e.y&&(n.y=-1),t.position.x=e.x+2*r*n.x,t.position.y=e.y+2*r*n.y,t.velocity.mult(-1),!0}}else if("inline"===i.type&&t.initialPosition){if((o=t.initialPosition,r=t.getPosition(),y(o,r).distance)>this.polygonMaskMoveRadius)return t.velocity.x=t.velocity.y/2-t.velocity.x,t.velocity.y=t.velocity.x/2-t.velocity.y,!0}var o,r;return!1}checkInsidePolygon(t){var e,n;const i=this.container,o=this.options;if(!o.enable||"none"===o.type||"inline"===o.type)return!0;if(!this.raw)throw new Error(c.noPolygonFound);const r=i.canvas.size,s=null!==(e=null==t?void 0:t.x)&&void 0!==e?e:Math.random()*r.width,a=null!==(n=null==t?void 0:t.y)&&void 0!==n?n:Math.random()*r.height;let l=!1;for(let t=0,e=this.raw.length-1;t<this.raw.length;e=t++){const n=this.raw[t],i=this.raw[e];n.y>a!=i.y>a&&s<(i.x-n.x)*(a-n.y)/(i.y-n.y)+n.x&&(l=!l)}return"inside"===o.type?l:"outside"===o.type&&!l}parseSvgPath(t,e){var n,i,o;const r=null!=e&&e;if(void 0!==this.paths&&!r)return this.raw;const s=this.container,a=this.options,l=(new DOMParser).parseFromString(t,"image/svg+xml"),h=l.getElementsByTagName("svg")[0];let c=h.getElementsByTagName("path");c.length||(c=l.getElementsByTagName("path")),this.paths=[];for(let t=0;t<c.length;t++){const e=c.item(t);e&&this.paths.push({element:e,length:e.getTotalLength()})}const u=s.retina.pixelRatio,d=a.scale/u;this.dimension.width=parseFloat(null!==(n=h.getAttribute("width"))&&void 0!==n?n:"0")*d,this.dimension.height=parseFloat(null!==(i=h.getAttribute("height"))&&void 0!==i?i:"0")*d;const p=null!==(o=a.position)&&void 0!==o?o:{x:50,y:50};return this.offset={x:s.canvas.size.width*p.x/(100*u)-this.dimension.width/2,y:s.canvas.size.height*p.y/(100*u)-this.dimension.height/2},function(t,e,n){var i;const o=[];for(const r of t){const t=r.element.pathSegList,s=null!==(i=null==t?void 0:t.numberOfItems)&&void 0!==i?i:0,a={x:0,y:0};for(let i=0;i<s;i++){const r=null==t?void 0:t.getItem(i),s=window.SVGPathSeg;switch(null==r?void 0:r.pathSegType){case s.PATHSEG_MOVETO_ABS:case s.PATHSEG_LINETO_ABS:case s.PATHSEG_CURVETO_CUBIC_ABS:case s.PATHSEG_CURVETO_QUADRATIC_ABS:case s.PATHSEG_ARC_ABS:case s.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:case s.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:{const t=r;a.x=t.x,a.y=t.y;break}case s.PATHSEG_LINETO_HORIZONTAL_ABS:a.x=r.x;break;case s.PATHSEG_LINETO_VERTICAL_ABS:a.y=r.y;break;case s.PATHSEG_LINETO_REL:case s.PATHSEG_MOVETO_REL:case s.PATHSEG_CURVETO_CUBIC_REL:case s.PATHSEG_CURVETO_QUADRATIC_REL:case s.PATHSEG_ARC_REL:case s.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:case s.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:{const t=r;a.x+=t.x,a.y+=t.y;break}case s.PATHSEG_LINETO_HORIZONTAL_REL:a.x+=r.x;break;case s.PATHSEG_LINETO_VERTICAL_REL:a.y+=r.y;break;case s.PATHSEG_UNKNOWN:case s.PATHSEG_CLOSEPATH:continue}o.push({x:a.x*e+n.x,y:a.y*e+n.y})}}return o}(this.paths,d,this.offset)}async downloadSvgPath(t,e){const n=this.options,i=t||n.url,o=null!=e&&e;if(!i||void 0!==this.paths&&!o)return this.raw;const r=await fetch(i);if(!r.ok)throw new Error("tsParticles Error - Error occurred during polygon mask download");return this.parseSvgPath(await r.text(),e)}drawPoints(){if(this.raw)for(const t of this.raw)this.container.particles.addParticle({x:t.x,y:t.y})}randomPoint(){const t=this.container,e=this.options;let n;if("inline"===e.type)switch(e.inline.arrangement){case"random-point":n=this.getRandomPoint();break;case"random-length":n=this.getRandomPointByLength();break;case"equidistant":n=this.getEquidistantPointByIndex(t.particles.count);break;case"one-per-point":case"per-point":default:n=this.getPointByIndex(t.particles.count)}else n={x:Math.random()*t.canvas.size.width,y:Math.random()*t.canvas.size.height};return this.checkInsidePolygon(n)?n:this.randomPoint()}getRandomPoint(){if(!this.raw||!this.raw.length)throw new Error(c.noPolygonDataLoaded);const t=w(this.raw);return{x:t.x,y:t.y}}getRandomPointByLength(){var t,e,n;const i=this.options;if(!this.raw||!this.raw.length||!(null===(t=this.paths)||void 0===t?void 0:t.length))throw new Error(c.noPolygonDataLoaded);const o=w(this.paths),r=Math.floor(Math.random()*o.length)+1,s=o.element.getPointAtLength(r);return{x:s.x*i.scale+((null===(e=this.offset)||void 0===e?void 0:e.x)||0),y:s.y*i.scale+((null===(n=this.offset)||void 0===n?void 0:n.y)||0)}}getEquidistantPointByIndex(t){var e,n,i,o,r,s,a;const l=this.container.actualOptions,h=this.options;if(!this.raw||!this.raw.length||!(null===(e=this.paths)||void 0===e?void 0:e.length))throw new Error(c.noPolygonDataLoaded);let u,d=0;const p=this.paths.reduce(((t,e)=>t+e.length),0)/l.particles.number.value;for(const e of this.paths){const n=p*t-d;if(n<=e.length){u=e.element.getPointAtLength(n);break}d+=e.length}return{x:(null!==(n=null==u?void 0:u.x)&&void 0!==n?n:0)*h.scale+(null!==(o=null===(i=this.offset)||void 0===i?void 0:i.x)&&void 0!==o?o:0),y:(null!==(r=null==u?void 0:u.y)&&void 0!==r?r:0)*h.scale+(null!==(a=null===(s=this.offset)||void 0===s?void 0:s.y)&&void 0!==a?a:0)}}getPointByIndex(t){if(!this.raw||!this.raw.length)throw new Error(c.noPolygonDataLoaded);const e=this.raw[t%this.raw.length];return{x:e.x,y:e.y}}createPath2D(){var t,e;const n=this.options;if(this.path2DSupported&&(null===(t=this.paths)||void 0===t?void 0:t.length))for(const t of this.paths){const i=null===(e=t.element)||void 0===e?void 0:e.getAttribute("d");if(i){const e=new Path2D(i),o=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGMatrix(),r=new Path2D,s=o.scale(n.scale);r.addPath?(r.addPath(e,s),t.path2d=r):delete t.path2d}else delete t.path2d;!t.path2d&&this.raw&&(t.path2d=new Path2D,t.path2d.moveTo(this.raw[0].x,this.raw[0].y),this.raw.forEach(((e,n)=>{var i;n>0&&(null===(i=t.path2d)||void 0===i||i.lineTo(e.x,e.y))})),t.path2d.closePath())}}async initRawData(t){const e=this.options;if(e.url)this.raw=await this.downloadSvgPath(e.url,t);else if(e.data){const n=e.data;let i;if("string"!=typeof n){const t=n.path instanceof Array?n.path.map((t=>`<path d="${t}" />`)).join(""):`<path d="${n.path}" />`;i=`<svg ${'xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"'} width="${n.size.width}" height="${n.size.height}">${t}</svg>`}else i=n;this.raw=this.parseSvgPath(i,t)}this.createPath2D()}}class D{constructor(){this.id="polygonMask"}getPlugin(t){return new H(t)}needsPlugin(t){var e,n,i;return null!==(n=null===(e=null==t?void 0:t.polygon)||void 0===e?void 0:e.enable)&&void 0!==n?n:void 0!==(null===(i=null==t?void 0:t.polygon)||void 0===i?void 0:i.type)&&"none"!==t.polygon.type}loadOptions(t,e){if(!this.needsPlugin(e))return;const n=t;let i=n.polygon;void 0===(null==i?void 0:i.load)&&(n.polygon=i=new R),i.load(null==e?void 0:e.polygon)}}async function G(t){g()||"SVGPathSeg"in window||await a.e(404).then(a.t.bind(a,167,23));const e=new D;await t.addPlugin(e)}return l=a.O(l)}()}));
@@ -1,2 +1,2 @@
1
- /*! tsParticles v1.40.1 by Matteo Bruni */
1
+ /*! tsParticles v1.41.2 by Matteo Bruni */
2
2
  !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}}(window,(function(){return function(){"use strict";var e={d:function(t,o){for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{loadCircleShape:function(){return n}});class o{getSidesCount(){return 12}draw(e,t,o){e.arc(0,0,o,0,2*Math.PI,!1)}}async function n(e){await e.addShape("circle",new o)}return t}()}));
@@ -544,20 +544,20 @@
544
544
  }
545
545
  }
546
546
  }
547
- externalInteract(delta) {
547
+ async externalInteract(delta) {
548
548
  for (const interactor of this.externalInteractors) {
549
549
  if (interactor.isEnabled()) {
550
- interactor.interact(delta);
550
+ await interactor.interact(delta);
551
551
  }
552
552
  }
553
553
  }
554
- particlesInteract(particle, delta) {
554
+ async particlesInteract(particle, delta) {
555
555
  for (const interactor of this.externalInteractors) {
556
556
  interactor.reset(particle);
557
557
  }
558
558
  for (const interactor of this.particleInteractors) {
559
559
  if (interactor.isEnabled(particle)) {
560
- interactor.interact(particle, delta);
560
+ await interactor.interact(particle, delta);
561
561
  }
562
562
  }
563
563
  }
@@ -2714,10 +2714,10 @@
2714
2714
  return this.getRadius() ** 2 * Math.PI / 2;
2715
2715
  }
2716
2716
  getFillColor() {
2717
- var _a, _b, _c;
2717
+ var _a, _b;
2718
2718
  const color = (_a = this.bubble.color) !== null && _a !== void 0 ? _a : getHslFromAnimation(this.color);
2719
2719
  if (color && this.roll && (this.backColor || this.roll.alter)) {
2720
- const rolled = Math.floor(((_c = (_b = this.roll) === null || _b === void 0 ? void 0 : _b.angle) !== null && _c !== void 0 ? _c : 0) / (Math.PI / 2)) % 2;
2720
+ const backFactor = this.options.roll.mode === "both" ? 2 : 1, backSum = this.options.roll.mode === "horizontal" ? Math.PI / 2 : 0, rolled = Math.floor((((_b = this.roll.angle) !== null && _b !== void 0 ? _b : 0) + backSum) / (Math.PI / backFactor)) % 2;
2721
2721
  if (rolled) {
2722
2722
  if (this.backColor) {
2723
2723
  return this.backColor;
@@ -2949,10 +2949,10 @@
2949
2949
  }
2950
2950
  container.pathGenerator.init(container);
2951
2951
  }
2952
- redraw() {
2952
+ async redraw() {
2953
2953
  this.clear();
2954
2954
  this.init();
2955
- this.draw({
2955
+ await this.draw({
2956
2956
  value: 0,
2957
2957
  factor: 0
2958
2958
  });
@@ -2977,7 +2977,7 @@
2977
2977
  remove(particle, group, override) {
2978
2978
  this.removeAt(this.array.indexOf(particle), undefined, group, override);
2979
2979
  }
2980
- update(delta) {
2980
+ async update(delta) {
2981
2981
  const container = this.container;
2982
2982
  const particlesToDelete = [];
2983
2983
  container.pathGenerator.update();
@@ -3011,23 +3011,23 @@
3011
3011
  for (const particle of particlesToDelete) {
3012
3012
  this.remove(particle);
3013
3013
  }
3014
- this.interactionManager.externalInteract(delta);
3014
+ await this.interactionManager.externalInteract(delta);
3015
3015
  for (const particle of container.particles.array) {
3016
3016
  for (const updater of this.updaters) {
3017
3017
  updater.update(particle, delta);
3018
3018
  }
3019
3019
  if (!particle.destroyed && !particle.spawning) {
3020
- this.interactionManager.particlesInteract(particle, delta);
3020
+ await this.interactionManager.particlesInteract(particle, delta);
3021
3021
  }
3022
3022
  }
3023
3023
  delete container.canvas.resizeFactor;
3024
3024
  }
3025
- draw(delta) {
3025
+ async draw(delta) {
3026
3026
  const container = this.container;
3027
3027
  container.canvas.clear();
3028
3028
  const canvasSize = this.container.canvas.size;
3029
3029
  this.quadTree = new QuadTree(new Rectangle(-canvasSize.width / 4, -canvasSize.height / 4, canvasSize.width * 3 / 2, canvasSize.height * 3 / 2), 4);
3030
- this.update(delta);
3030
+ await this.update(delta);
3031
3031
  if (this.needsSort) {
3032
3032
  this.zArray.sort(((a, b) => b.position.z - a.position.z || a.id - b.id));
3033
3033
  this.lastZIndex = this.zArray[this.zArray.length - 1].position.z;
@@ -3388,12 +3388,12 @@
3388
3388
  }
3389
3389
  draw(force) {
3390
3390
  let refreshTime = force;
3391
- this.drawAnimationFrame = animate()((timestamp => {
3391
+ this.drawAnimationFrame = animate()((async timestamp => {
3392
3392
  if (refreshTime) {
3393
3393
  this.lastFrameTime = undefined;
3394
3394
  refreshTime = false;
3395
3395
  }
3396
- this.drawer.nextFrame(timestamp);
3396
+ await this.drawer.nextFrame(timestamp);
3397
3397
  }));
3398
3398
  }
3399
3399
  getAnimationStatus() {
@@ -3403,6 +3403,7 @@
3403
3403
  this.setPath(noiseOrGenerator, init, update);
3404
3404
  }
3405
3405
  setPath(pathOrGenerator, init, update) {
3406
+ var _a, _b, _c;
3406
3407
  if (!pathOrGenerator) {
3407
3408
  return;
3408
3409
  }
@@ -3415,15 +3416,11 @@
3415
3416
  this.pathGenerator.update = update;
3416
3417
  }
3417
3418
  } else {
3418
- if (pathOrGenerator.generate) {
3419
- this.pathGenerator.generate = pathOrGenerator.generate;
3420
- }
3421
- if (pathOrGenerator.init) {
3422
- this.pathGenerator.init = pathOrGenerator.init;
3423
- }
3424
- if (pathOrGenerator.update) {
3425
- this.pathGenerator.update = pathOrGenerator.update;
3426
- }
3419
+ const oldGenerator = this.pathGenerator;
3420
+ this.pathGenerator = pathOrGenerator;
3421
+ (_a = this.pathGenerator).generate || (_a.generate = oldGenerator.generate);
3422
+ (_b = this.pathGenerator).init || (_b.init = oldGenerator.init);
3423
+ (_c = this.pathGenerator).update || (_c.update = oldGenerator.update);
3427
3424
  }
3428
3425
  }
3429
3426
  destroy() {
@@ -3637,18 +3634,7 @@
3637
3634
  }
3638
3635
  const pathOptions = this.actualOptions.particles.move.path;
3639
3636
  if (pathOptions.generator) {
3640
- const customGenerator = Container_classPrivateFieldGet(this, _Container_engine, "f").plugins.getPathGenerator(pathOptions.generator);
3641
- if (customGenerator) {
3642
- if (customGenerator.init) {
3643
- this.pathGenerator.init = customGenerator.init;
3644
- }
3645
- if (customGenerator.generate) {
3646
- this.pathGenerator.generate = customGenerator.generate;
3647
- }
3648
- if (customGenerator.update) {
3649
- this.pathGenerator.update = customGenerator.update;
3650
- }
3651
- }
3637
+ this.setPath(Container_classPrivateFieldGet(this, _Container_engine, "f").plugins.getPathGenerator(pathOptions.generator));
3652
3638
  }
3653
3639
  this.particles.init();
3654
3640
  this.particles.setDensity();
@@ -1,2 +1,2 @@
1
- /*! tsParticles v1.40.1 by Matteo Bruni */
1
+ /*! tsParticles v1.41.2 by Matteo Bruni */
2
2
  !function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var t=o();for(var r in t)("object"==typeof exports?exports:e)[r]=t[r]}}(window,(function(){return function(){"use strict";var e={d:function(o,t){for(var r in t)e.o(t,r)&&!e.o(o,r)&&Object.defineProperty(o,r,{enumerable:!0,get:t[r]})},o:function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},o={};e.r(o),e.d(o,{loadImageShape:function(){return g}});class t{}t.generatedAttribute="generated",t.randomColorValue="random",t.midColorValue="mid",t.touchEndEvent="touchend",t.mouseDownEvent="mousedown",t.mouseUpEvent="mouseup",t.mouseMoveEvent="mousemove",t.touchStartEvent="touchstart",t.touchMoveEvent="touchmove",t.mouseLeaveEvent="mouseleave",t.mouseOutEvent="mouseout",t.touchCancelEvent="touchcancel",t.resizeEvent="resize",t.visibilityChangeEvent="visibilitychange",t.noPolygonDataLoaded="No polygon data loaded.",t.noPolygonFound="No polygon found, you need to specify SVG url in config.";new WeakMap;new WeakMap;new WeakMap,new WeakSet;new WeakMap;new WeakMap;new WeakMap;function r(e,o){return`hsla(${e.h}, ${e.s}%, ${e.l}%, ${null!=o?o:1})`}new WeakMap;const a=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;async function n(e){return new Promise((o=>{e.loading=!0;const t=new Image;t.addEventListener("load",(()=>{e.element=t,e.loading=!1,o()})),t.addEventListener("error",(()=>{e.error=!0,e.loading=!1,console.error(`Error tsParticles - loading image: ${e.source}`),o()})),t.src=e.source}))}async function i(e){if("svg"!==e.type)return void await n(e);e.loading=!0;const o=await fetch(e.source);e.loading=!1,o.ok||(console.error("Error tsParticles - Image not found"),e.error=!0),e.error||(e.svgData=await o.text())}function s(e,o,t,i){var s,l,c;const d=function(e,o,t){const{svgData:n}=e;if(!n)return"";const i=r(o,t);if(n.includes("fill"))return n.replace(a,(()=>i));const s=n.indexOf(">");return`${n.substring(0,s)} fill="${i}"${n.substring(s)}`}(e,t,null!==(l=null===(s=i.opacity)||void 0===s?void 0:s.value)&&void 0!==l?l:1),u=new Blob([d],{type:"image/svg+xml"}),g=URL||window.URL||window.webkitURL||window,f=g.createObjectURL(u),v=new Image,m={data:Object.assign(Object.assign({},e),{svgData:d}),ratio:o.width/o.height,replaceColor:null!==(c=o.replaceColor)&&void 0!==c?c:o.replace_color,source:o.src};return v.addEventListener("load",(()=>{const o=i.image;o&&(o.loaded=!0,e.element=v),g.revokeObjectURL(f)})),v.addEventListener("error",(()=>{g.revokeObjectURL(f);const o=Object.assign(Object.assign({},e),{error:!1,loading:!0});n(o).then((()=>{const t=i.image;t&&(e.element=o.element,t.loaded=!0)}))})),v.src=f,m}var l,c=function(e,o,t,r,a){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof o?e!==o||!a:!o.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,t):a?a.value=t:o.set(e,t),t},d=function(e,o,t,r){if("a"===t&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof o?e!==o||!r:!o.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===t?r:"a"===t?r.call(e):r?r.value:o.get(e)};class u{constructor(){l.set(this,void 0),c(this,l,[],"f")}getSidesCount(){return 12}getImages(e){const o=d(this,l,"f").find((o=>o.id===e.id));return o||(d(this,l,"f").push({id:e.id,images:[]}),this.getImages(e))}addImage(e,o){const t=this.getImages(e);null==t||t.images.push(o)}destroy(){c(this,l,[],"f")}async loadImageShape(e,o){const t=o.src;if(!t)throw new Error("Error tsParticles - No image.src");try{const r={source:t,type:t.substr(t.length-3),error:!1,loading:!0};this.addImage(e,r);const a=o.replaceColor?i:n;await a(r)}catch(e){throw new Error(`tsParticles error - ${o.src} not found`)}}draw(e,o,t,r){var a,n;const i=o.image,s=null===(a=null==i?void 0:i.data)||void 0===a?void 0:a.element;if(!s)return;const l=null!==(n=null==i?void 0:i.ratio)&&void 0!==n?n:1,c={x:-t,y:-t};(null==i?void 0:i.data.svgData)&&(null==i?void 0:i.replaceColor)||(e.globalAlpha=r),e.drawImage(s,c.x,c.y,2*t,2*t/l),(null==i?void 0:i.data.svgData)&&(null==i?void 0:i.replaceColor)||(e.globalAlpha=1)}loadShape(e){var o,t,r;if("image"!==e.shape&&"images"!==e.shape)return;const a=this.getImages(e.container).images,n=e.shapeData,i=a.find((e=>e.source===n.src));let l;if(!i)return void this.loadImageShape(e.container,n).then((()=>{this.loadShape(e)}));if(i.error)return;const c=e.getFillColor();l=i.svgData&&n.replaceColor&&c?s(i,n,c,e):{data:i,loaded:!0,ratio:n.width/n.height,replaceColor:null!==(o=n.replaceColor)&&void 0!==o?o:n.replace_color,source:n.src},l.ratio||(l.ratio=1);const d={image:l,fill:null!==(t=n.fill)&&void 0!==t?t:e.fill,close:null!==(r=n.close)&&void 0!==r?r:e.close};e.image=d.image,e.fill=d.fill,e.close=d.close}}async function g(e){const o=new u;await e.addShape("image",o),await e.addShape("images",o)}return l=new WeakMap,o}()}));
@@ -1,2 +1,2 @@
1
- /*! tsParticles v1.40.1 by Matteo Bruni */
1
+ /*! tsParticles v1.41.2 by Matteo Bruni */
2
2
  !function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var t=o();for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(window,(function(){return function(){"use strict";var e={d:function(o,t){for(var n in t)e.o(t,n)&&!e.o(o,n)&&Object.defineProperty(o,n,{enumerable:!0,get:t[n]})},o:function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},o={};e.r(o),e.d(o,{loadLineShape:function(){return n}});class t{getSidesCount(){return 1}draw(e,o,t){e.moveTo(-t/2,0),e.lineTo(t/2,0)}}async function n(e){await e.addShape("line",new t)}return o}()}));
@@ -1,2 +1,2 @@
1
- /*! tsParticles v1.40.1 by Matteo Bruni */
1
+ /*! tsParticles v1.41.2 by Matteo Bruni */
2
2
  !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(window,(function(){return function(){"use strict";var e={d:function(t,n){for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{loadGenericPolygonShape:function(){return a},loadPolygonShape:function(){return u},loadTriangleShape:function(){return i}});class n{getSidesCount(e){var t,n;const o=e.shapeData;return null!==(n=null!==(t=null==o?void 0:o.sides)&&void 0!==t?t:null==o?void 0:o.nb_sides)&&void 0!==n?n:5}draw(e,t,n){const o=this.getCenter(t,n),r=this.getSidesData(t,n),a=r.count.numerator*r.count.denominator,i=r.count.numerator/r.count.denominator,u=180*(i-2)/i,l=Math.PI-Math.PI*u/180;if(e){e.beginPath(),e.translate(o.x,o.y),e.moveTo(0,0);for(let t=0;t<a;t++)e.lineTo(r.length,0),e.translate(r.length,0),e.rotate(l)}}}class o extends n{getSidesData(e,t){var n,o;const r=e.shapeData,a=null!==(o=null!==(n=null==r?void 0:r.sides)&&void 0!==n?n:null==r?void 0:r.nb_sides)&&void 0!==o?o:5;return{count:{denominator:1,numerator:a},length:2.66*t/(a/3)}}getCenter(e,t){return{x:-t/(this.getSidesCount(e)/3.5),y:-t/.76}}}class r extends n{getSidesCount(){return 3}getSidesData(e,t){return{count:{denominator:2,numerator:3},length:2*t}}getCenter(e,t){return{x:-t,y:t/1.66}}}async function a(e){await e.addShape("polygon",new o)}async function i(e){await e.addShape("triangle",new r)}async function u(e){await a(e),await i(e)}return t}()}));
@@ -1,2 +1,2 @@
1
- /*! tsParticles v1.40.1 by Matteo Bruni */
1
+ /*! tsParticles v1.41.2 by Matteo Bruni */
2
2
  !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}}(window,(function(){return function(){"use strict";var e={d:function(t,o){for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{loadSquareShape:function(){return r}});const o=Math.sqrt(2);class n{getSidesCount(){return 4}draw(e,t,n){e.rect(-n/o,-n/o,2*n/o,2*n/o)}}async function r(e){const t=new n;await e.addShape("edge",t),await e.addShape("square",t)}return t}()}));
@@ -1,2 +1,2 @@
1
- /*! tsParticles v1.40.1 by Matteo Bruni */
1
+ /*! tsParticles v1.41.2 by Matteo Bruni */
2
2
  !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}}(window,(function(){return function(){"use strict";var e={d:function(t,o){for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{loadStarShape:function(){return n}});class o{getSidesCount(e){var t,o;const n=e.shapeData;return null!==(o=null!==(t=null==n?void 0:n.sides)&&void 0!==t?t:null==n?void 0:n.nb_sides)&&void 0!==o?o:5}draw(e,t,o){var n;const r=t.shapeData,i=this.getSidesCount(t),a=null!==(n=null==r?void 0:r.inset)&&void 0!==n?n:2;e.moveTo(0,0-o);for(let t=0;t<i;t++)e.rotate(Math.PI/i),e.lineTo(0,0-o*a),e.rotate(Math.PI/i),e.lineTo(0,0-o)}}async function n(e){await e.addShape("star",new o)}return t}()}));
@@ -544,20 +544,20 @@
544
544
  }
545
545
  }
546
546
  }
547
- externalInteract(delta) {
547
+ async externalInteract(delta) {
548
548
  for (const interactor of this.externalInteractors) {
549
549
  if (interactor.isEnabled()) {
550
- interactor.interact(delta);
550
+ await interactor.interact(delta);
551
551
  }
552
552
  }
553
553
  }
554
- particlesInteract(particle, delta) {
554
+ async particlesInteract(particle, delta) {
555
555
  for (const interactor of this.externalInteractors) {
556
556
  interactor.reset(particle);
557
557
  }
558
558
  for (const interactor of this.particleInteractors) {
559
559
  if (interactor.isEnabled(particle)) {
560
- interactor.interact(particle, delta);
560
+ await interactor.interact(particle, delta);
561
561
  }
562
562
  }
563
563
  }
@@ -2714,10 +2714,10 @@
2714
2714
  return this.getRadius() ** 2 * Math.PI / 2;
2715
2715
  }
2716
2716
  getFillColor() {
2717
- var _a, _b, _c;
2717
+ var _a, _b;
2718
2718
  const color = (_a = this.bubble.color) !== null && _a !== void 0 ? _a : getHslFromAnimation(this.color);
2719
2719
  if (color && this.roll && (this.backColor || this.roll.alter)) {
2720
- const rolled = Math.floor(((_c = (_b = this.roll) === null || _b === void 0 ? void 0 : _b.angle) !== null && _c !== void 0 ? _c : 0) / (Math.PI / 2)) % 2;
2720
+ const backFactor = this.options.roll.mode === "both" ? 2 : 1, backSum = this.options.roll.mode === "horizontal" ? Math.PI / 2 : 0, rolled = Math.floor((((_b = this.roll.angle) !== null && _b !== void 0 ? _b : 0) + backSum) / (Math.PI / backFactor)) % 2;
2721
2721
  if (rolled) {
2722
2722
  if (this.backColor) {
2723
2723
  return this.backColor;
@@ -2949,10 +2949,10 @@
2949
2949
  }
2950
2950
  container.pathGenerator.init(container);
2951
2951
  }
2952
- redraw() {
2952
+ async redraw() {
2953
2953
  this.clear();
2954
2954
  this.init();
2955
- this.draw({
2955
+ await this.draw({
2956
2956
  value: 0,
2957
2957
  factor: 0
2958
2958
  });
@@ -2977,7 +2977,7 @@
2977
2977
  remove(particle, group, override) {
2978
2978
  this.removeAt(this.array.indexOf(particle), undefined, group, override);
2979
2979
  }
2980
- update(delta) {
2980
+ async update(delta) {
2981
2981
  const container = this.container;
2982
2982
  const particlesToDelete = [];
2983
2983
  container.pathGenerator.update();
@@ -3011,23 +3011,23 @@
3011
3011
  for (const particle of particlesToDelete) {
3012
3012
  this.remove(particle);
3013
3013
  }
3014
- this.interactionManager.externalInteract(delta);
3014
+ await this.interactionManager.externalInteract(delta);
3015
3015
  for (const particle of container.particles.array) {
3016
3016
  for (const updater of this.updaters) {
3017
3017
  updater.update(particle, delta);
3018
3018
  }
3019
3019
  if (!particle.destroyed && !particle.spawning) {
3020
- this.interactionManager.particlesInteract(particle, delta);
3020
+ await this.interactionManager.particlesInteract(particle, delta);
3021
3021
  }
3022
3022
  }
3023
3023
  delete container.canvas.resizeFactor;
3024
3024
  }
3025
- draw(delta) {
3025
+ async draw(delta) {
3026
3026
  const container = this.container;
3027
3027
  container.canvas.clear();
3028
3028
  const canvasSize = this.container.canvas.size;
3029
3029
  this.quadTree = new QuadTree(new Rectangle(-canvasSize.width / 4, -canvasSize.height / 4, canvasSize.width * 3 / 2, canvasSize.height * 3 / 2), 4);
3030
- this.update(delta);
3030
+ await this.update(delta);
3031
3031
  if (this.needsSort) {
3032
3032
  this.zArray.sort(((a, b) => b.position.z - a.position.z || a.id - b.id));
3033
3033
  this.lastZIndex = this.zArray[this.zArray.length - 1].position.z;
@@ -3388,12 +3388,12 @@
3388
3388
  }
3389
3389
  draw(force) {
3390
3390
  let refreshTime = force;
3391
- this.drawAnimationFrame = animate()((timestamp => {
3391
+ this.drawAnimationFrame = animate()((async timestamp => {
3392
3392
  if (refreshTime) {
3393
3393
  this.lastFrameTime = undefined;
3394
3394
  refreshTime = false;
3395
3395
  }
3396
- this.drawer.nextFrame(timestamp);
3396
+ await this.drawer.nextFrame(timestamp);
3397
3397
  }));
3398
3398
  }
3399
3399
  getAnimationStatus() {
@@ -3403,6 +3403,7 @@
3403
3403
  this.setPath(noiseOrGenerator, init, update);
3404
3404
  }
3405
3405
  setPath(pathOrGenerator, init, update) {
3406
+ var _a, _b, _c;
3406
3407
  if (!pathOrGenerator) {
3407
3408
  return;
3408
3409
  }
@@ -3415,15 +3416,11 @@
3415
3416
  this.pathGenerator.update = update;
3416
3417
  }
3417
3418
  } else {
3418
- if (pathOrGenerator.generate) {
3419
- this.pathGenerator.generate = pathOrGenerator.generate;
3420
- }
3421
- if (pathOrGenerator.init) {
3422
- this.pathGenerator.init = pathOrGenerator.init;
3423
- }
3424
- if (pathOrGenerator.update) {
3425
- this.pathGenerator.update = pathOrGenerator.update;
3426
- }
3419
+ const oldGenerator = this.pathGenerator;
3420
+ this.pathGenerator = pathOrGenerator;
3421
+ (_a = this.pathGenerator).generate || (_a.generate = oldGenerator.generate);
3422
+ (_b = this.pathGenerator).init || (_b.init = oldGenerator.init);
3423
+ (_c = this.pathGenerator).update || (_c.update = oldGenerator.update);
3427
3424
  }
3428
3425
  }
3429
3426
  destroy() {
@@ -3637,18 +3634,7 @@
3637
3634
  }
3638
3635
  const pathOptions = this.actualOptions.particles.move.path;
3639
3636
  if (pathOptions.generator) {
3640
- const customGenerator = Container_classPrivateFieldGet(this, _Container_engine, "f").plugins.getPathGenerator(pathOptions.generator);
3641
- if (customGenerator) {
3642
- if (customGenerator.init) {
3643
- this.pathGenerator.init = customGenerator.init;
3644
- }
3645
- if (customGenerator.generate) {
3646
- this.pathGenerator.generate = customGenerator.generate;
3647
- }
3648
- if (customGenerator.update) {
3649
- this.pathGenerator.update = customGenerator.update;
3650
- }
3651
- }
3637
+ this.setPath(Container_classPrivateFieldGet(this, _Container_engine, "f").plugins.getPathGenerator(pathOptions.generator));
3652
3638
  }
3653
3639
  this.particles.init();
3654
3640
  this.particles.setDensity();