tsparticles 1.40.2 → 1.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (913) hide show
  1. package/Core/Container.d.ts +1 -1
  2. package/Core/Container.js +7 -21
  3. package/browser/Core/Container.d.ts +1 -1
  4. package/browser/Core/Container.js +7 -21
  5. package/esm/Core/Container.d.ts +1 -1
  6. package/esm/Core/Container.js +7 -21
  7. package/package.json +1 -1
  8. package/report.html +2 -2
  9. package/report.slim.html +2 -2
  10. package/tsparticles.engine.js +7 -21
  11. package/tsparticles.engine.min.js +2 -2
  12. package/tsparticles.interaction.external.attract.js +7 -21
  13. package/tsparticles.interaction.external.attract.min.js +1 -1
  14. package/tsparticles.interaction.external.bounce.js +7 -21
  15. package/tsparticles.interaction.external.bounce.min.js +1 -1
  16. package/tsparticles.interaction.external.bubble.js +7 -21
  17. package/tsparticles.interaction.external.bubble.min.js +1 -1
  18. package/tsparticles.interaction.external.connect.js +7 -21
  19. package/tsparticles.interaction.external.connect.min.js +1 -1
  20. package/tsparticles.interaction.external.grab.js +7 -21
  21. package/tsparticles.interaction.external.grab.min.js +1 -1
  22. package/tsparticles.interaction.external.repulse.js +7 -21
  23. package/tsparticles.interaction.external.repulse.min.js +1 -1
  24. package/tsparticles.interaction.external.trail.js +7 -21
  25. package/tsparticles.interaction.external.trail.min.js +1 -1
  26. package/tsparticles.interaction.particles.attract.js +7 -21
  27. package/tsparticles.interaction.particles.attract.min.js +1 -1
  28. package/tsparticles.interaction.particles.collisions.js +7 -21
  29. package/tsparticles.interaction.particles.collisions.min.js +1 -1
  30. package/tsparticles.interaction.particles.links.js +7 -21
  31. package/tsparticles.interaction.particles.links.min.js +1 -1
  32. package/tsparticles.js +7 -21
  33. package/tsparticles.min.js +2 -2
  34. package/tsparticles.pathseg.min.js +1 -1
  35. package/tsparticles.plugins.absorbers.js +7 -21
  36. package/tsparticles.plugins.absorbers.min.js +1 -1
  37. package/tsparticles.plugins.emitters.js +7 -21
  38. package/tsparticles.plugins.emitters.min.js +1 -1
  39. package/tsparticles.plugins.polygonMask.js +7 -21
  40. package/tsparticles.plugins.polygonMask.min.js +1 -1
  41. package/tsparticles.shape.circle.min.js +1 -1
  42. package/tsparticles.shape.image.js +7 -21
  43. package/tsparticles.shape.image.min.js +1 -1
  44. package/tsparticles.shape.line.min.js +1 -1
  45. package/tsparticles.shape.polygon.min.js +1 -1
  46. package/tsparticles.shape.square.min.js +1 -1
  47. package/tsparticles.shape.star.min.js +1 -1
  48. package/tsparticles.shape.text.js +7 -21
  49. package/tsparticles.shape.text.min.js +1 -1
  50. package/tsparticles.slim.js +7 -21
  51. package/tsparticles.slim.min.js +2 -2
  52. package/tsparticles.updater.angle.js +7 -21
  53. package/tsparticles.updater.angle.min.js +1 -1
  54. package/tsparticles.updater.color.js +7 -21
  55. package/tsparticles.updater.color.min.js +1 -1
  56. package/tsparticles.updater.life.js +7 -21
  57. package/tsparticles.updater.life.min.js +1 -1
  58. package/tsparticles.updater.opacity.js +7 -21
  59. package/tsparticles.updater.opacity.min.js +1 -1
  60. package/tsparticles.updater.outModes.js +7 -21
  61. package/tsparticles.updater.outModes.min.js +1 -1
  62. package/tsparticles.updater.roll.js +7 -21
  63. package/tsparticles.updater.roll.min.js +1 -1
  64. package/tsparticles.updater.size.js +7 -21
  65. package/tsparticles.updater.size.min.js +1 -1
  66. package/tsparticles.updater.strokeColor.js +7 -21
  67. package/tsparticles.updater.strokeColor.min.js +1 -1
  68. package/tsparticles.updater.tilt.js +7 -21
  69. package/tsparticles.updater.tilt.min.js +1 -1
  70. package/tsparticles.updater.wobble.js +7 -21
  71. package/tsparticles.updater.wobble.min.js +1 -1
  72. package/umd/Core/Canvas.d.ts +35 -0
  73. package/umd/Core/Canvas.js +328 -0
  74. package/umd/Core/Container.d.ts +68 -0
  75. package/umd/Core/Container.js +405 -0
  76. package/umd/Core/Interfaces/Colors.d.ts +33 -0
  77. package/umd/Core/Interfaces/Colors.js +12 -0
  78. package/umd/Core/Interfaces/Gradients.d.ts +21 -0
  79. package/umd/Core/Interfaces/Gradients.js +12 -0
  80. package/umd/Core/Interfaces/IAttract.d.ts +7 -0
  81. package/umd/Core/Interfaces/IAttract.js +12 -0
  82. package/umd/Core/Interfaces/IBounds.d.ts +6 -0
  83. package/umd/Core/Interfaces/IBounds.js +12 -0
  84. package/umd/Core/Interfaces/IBubble.d.ts +4 -0
  85. package/umd/Core/Interfaces/IBubble.js +12 -0
  86. package/umd/Core/Interfaces/IBubbleParticleData.d.ts +9 -0
  87. package/umd/Core/Interfaces/IBubbleParticleData.js +12 -0
  88. package/umd/Core/Interfaces/ICircleBouncer.d.ts +9 -0
  89. package/umd/Core/Interfaces/ICircleBouncer.js +12 -0
  90. package/umd/Core/Interfaces/IContainerInteractivity.d.ts +6 -0
  91. package/umd/Core/Interfaces/IContainerInteractivity.js +12 -0
  92. package/umd/Core/Interfaces/IContainerPlugin.d.ts +32 -0
  93. package/umd/Core/Interfaces/IContainerPlugin.js +12 -0
  94. package/umd/Core/Interfaces/ICoordinates.d.ts +7 -0
  95. package/umd/Core/Interfaces/ICoordinates.js +12 -0
  96. package/umd/Core/Interfaces/IDelta.d.ts +4 -0
  97. package/umd/Core/Interfaces/IDelta.js +12 -0
  98. package/umd/Core/Interfaces/IDimension.d.ts +4 -0
  99. package/umd/Core/Interfaces/IDimension.js +12 -0
  100. package/umd/Core/Interfaces/IDistance.d.ts +4 -0
  101. package/umd/Core/Interfaces/IDistance.js +12 -0
  102. package/umd/Core/Interfaces/IExternalInteractor.d.ts +6 -0
  103. package/umd/Core/Interfaces/IExternalInteractor.js +12 -0
  104. package/umd/Core/Interfaces/IInteractor.d.ts +6 -0
  105. package/umd/Core/Interfaces/IInteractor.js +12 -0
  106. package/umd/Core/Interfaces/IMouseData.d.ts +9 -0
  107. package/umd/Core/Interfaces/IMouseData.js +12 -0
  108. package/umd/Core/Interfaces/IMovePathGenerator.d.ts +8 -0
  109. package/umd/Core/Interfaces/IMovePathGenerator.js +12 -0
  110. package/umd/Core/Interfaces/IParticle.d.ts +55 -0
  111. package/umd/Core/Interfaces/IParticle.js +12 -0
  112. package/umd/Core/Interfaces/IParticleGradientAnimation.d.ts +8 -0
  113. package/umd/Core/Interfaces/IParticleGradientAnimation.js +12 -0
  114. package/umd/Core/Interfaces/IParticleGradientColorAnimation.d.ts +7 -0
  115. package/umd/Core/Interfaces/IParticleGradientColorAnimation.js +12 -0
  116. package/umd/Core/Interfaces/IParticleHslAnimation.d.ts +6 -0
  117. package/umd/Core/Interfaces/IParticleHslAnimation.js +12 -0
  118. package/umd/Core/Interfaces/IParticleLife.d.ts +7 -0
  119. package/umd/Core/Interfaces/IParticleLife.js +12 -0
  120. package/umd/Core/Interfaces/IParticleLoops.d.ts +4 -0
  121. package/umd/Core/Interfaces/IParticleLoops.js +12 -0
  122. package/umd/Core/Interfaces/IParticleRetinaProps.d.ts +12 -0
  123. package/umd/Core/Interfaces/IParticleRetinaProps.js +12 -0
  124. package/umd/Core/Interfaces/IParticleRoll.d.ts +9 -0
  125. package/umd/Core/Interfaces/IParticleRoll.js +12 -0
  126. package/umd/Core/Interfaces/IParticleSpin.d.ts +9 -0
  127. package/umd/Core/Interfaces/IParticleSpin.js +12 -0
  128. package/umd/Core/Interfaces/IParticleUpdater.d.ts +9 -0
  129. package/umd/Core/Interfaces/IParticleUpdater.js +12 -0
  130. package/umd/Core/Interfaces/IParticleValueAnimation.d.ts +17 -0
  131. package/umd/Core/Interfaces/IParticleValueAnimation.js +12 -0
  132. package/umd/Core/Interfaces/IParticleWobble.d.ts +4 -0
  133. package/umd/Core/Interfaces/IParticleWobble.js +12 -0
  134. package/umd/Core/Interfaces/IParticlesFrequencies.d.ts +4 -0
  135. package/umd/Core/Interfaces/IParticlesFrequencies.js +12 -0
  136. package/umd/Core/Interfaces/IParticlesInteractor.d.ts +7 -0
  137. package/umd/Core/Interfaces/IParticlesInteractor.js +12 -0
  138. package/umd/Core/Interfaces/IPlugin.d.ts +11 -0
  139. package/umd/Core/Interfaces/IPlugin.js +12 -0
  140. package/umd/Core/Interfaces/IRangeValue.d.ts +4 -0
  141. package/umd/Core/Interfaces/IRangeValue.js +12 -0
  142. package/umd/Core/Interfaces/IRectSideResult.d.ts +5 -0
  143. package/umd/Core/Interfaces/IRectSideResult.js +12 -0
  144. package/umd/Core/Interfaces/IRepulse.d.ts +7 -0
  145. package/umd/Core/Interfaces/IRepulse.js +12 -0
  146. package/umd/Core/Interfaces/IShapeDrawer.d.ts +10 -0
  147. package/umd/Core/Interfaces/IShapeDrawer.js +12 -0
  148. package/umd/Core/Interfaces/IShapeValues.d.ts +8 -0
  149. package/umd/Core/Interfaces/IShapeValues.js +12 -0
  150. package/umd/Core/Interfaces/index.d.ts +36 -0
  151. package/umd/Core/Interfaces/index.js +58 -0
  152. package/umd/Core/Loader.d.ts +32 -0
  153. package/umd/Core/Loader.js +193 -0
  154. package/umd/Core/Particle.d.ts +71 -0
  155. package/umd/Core/Particle.js +394 -0
  156. package/umd/Core/Particles.d.ts +46 -0
  157. package/umd/Core/Particles.js +331 -0
  158. package/umd/Core/Retina.d.ts +26 -0
  159. package/umd/Core/Retina.js +107 -0
  160. package/umd/Core/Utils/Circle.d.ts +8 -0
  161. package/umd/Core/Utils/Circle.js +52 -0
  162. package/umd/Core/Utils/CircleWarp.d.ts +9 -0
  163. package/umd/Core/Utils/CircleWarp.js +70 -0
  164. package/umd/Core/Utils/Constants.d.ts +18 -0
  165. package/umd/Core/Utils/Constants.js +32 -0
  166. package/umd/Core/Utils/EventListeners.d.ts +33 -0
  167. package/umd/Core/Utils/EventListeners.js +383 -0
  168. package/umd/Core/Utils/ExternalInteractorBase.d.ts +12 -0
  169. package/umd/Core/Utils/ExternalInteractorBase.js +20 -0
  170. package/umd/Core/Utils/FrameManager.d.ts +6 -0
  171. package/umd/Core/Utils/FrameManager.js +53 -0
  172. package/umd/Core/Utils/InteractionManager.d.ts +14 -0
  173. package/umd/Core/Utils/InteractionManager.js +69 -0
  174. package/umd/Core/Utils/ParticlesInteractorBase.d.ts +12 -0
  175. package/umd/Core/Utils/ParticlesInteractorBase.js +20 -0
  176. package/umd/Core/Utils/ParticlesMover.d.ts +13 -0
  177. package/umd/Core/Utils/ParticlesMover.js +196 -0
  178. package/umd/Core/Utils/Plugins.d.ts +36 -0
  179. package/umd/Core/Utils/Plugins.js +108 -0
  180. package/umd/Core/Utils/Point.d.ts +7 -0
  181. package/umd/Core/Utils/Point.js +20 -0
  182. package/umd/Core/Utils/QuadTree.d.ts +23 -0
  183. package/umd/Core/Utils/QuadTree.js +88 -0
  184. package/umd/Core/Utils/Range.d.ts +7 -0
  185. package/umd/Core/Utils/Range.js +22 -0
  186. package/umd/Core/Utils/Rectangle.d.ts +8 -0
  187. package/umd/Core/Utils/Rectangle.js +48 -0
  188. package/umd/Core/Utils/Vector.d.ts +29 -0
  189. package/umd/Core/Utils/Vector.js +106 -0
  190. package/umd/Core/Utils/Vector3d.d.ts +18 -0
  191. package/umd/Core/Utils/Vector3d.js +68 -0
  192. package/umd/Core/Utils/index.d.ts +16 -0
  193. package/umd/Core/Utils/index.js +38 -0
  194. package/umd/Core/index.d.ts +8 -0
  195. package/umd/Core/index.js +30 -0
  196. package/umd/Enums/AnimationStatus.d.ts +4 -0
  197. package/umd/Enums/AnimationStatus.js +12 -0
  198. package/umd/Enums/Directions/MoveDirection.d.ts +12 -0
  199. package/umd/Enums/Directions/MoveDirection.js +12 -0
  200. package/umd/Enums/Directions/OutModeDirection.d.ts +6 -0
  201. package/umd/Enums/Directions/OutModeDirection.js +12 -0
  202. package/umd/Enums/Directions/RotateDirection.d.ts +6 -0
  203. package/umd/Enums/Directions/RotateDirection.js +12 -0
  204. package/umd/Enums/Directions/TiltDirection.d.ts +6 -0
  205. package/umd/Enums/Directions/TiltDirection.js +12 -0
  206. package/umd/Enums/Directions/index.d.ts +4 -0
  207. package/umd/Enums/Directions/index.js +26 -0
  208. package/umd/Enums/InteractivityDetect.d.ts +5 -0
  209. package/umd/Enums/InteractivityDetect.js +12 -0
  210. package/umd/Enums/Modes/ClickMode.d.ts +9 -0
  211. package/umd/Enums/Modes/ClickMode.js +12 -0
  212. package/umd/Enums/Modes/CollisionMode.d.ts +5 -0
  213. package/umd/Enums/Modes/CollisionMode.js +12 -0
  214. package/umd/Enums/Modes/DestroyMode.d.ts +4 -0
  215. package/umd/Enums/Modes/DestroyMode.js +12 -0
  216. package/umd/Enums/Modes/DivMode.d.ts +5 -0
  217. package/umd/Enums/Modes/DivMode.js +12 -0
  218. package/umd/Enums/Modes/HoverMode.d.ts +11 -0
  219. package/umd/Enums/Modes/HoverMode.js +12 -0
  220. package/umd/Enums/Modes/OutMode.d.ts +10 -0
  221. package/umd/Enums/Modes/OutMode.js +12 -0
  222. package/umd/Enums/Modes/ResponsiveMode.d.ts +4 -0
  223. package/umd/Enums/Modes/ResponsiveMode.js +12 -0
  224. package/umd/Enums/Modes/RollMode.d.ts +5 -0
  225. package/umd/Enums/Modes/RollMode.js +12 -0
  226. package/umd/Enums/Modes/SizeMode.d.ts +4 -0
  227. package/umd/Enums/Modes/SizeMode.js +12 -0
  228. package/umd/Enums/Modes/ThemeMode.d.ts +5 -0
  229. package/umd/Enums/Modes/ThemeMode.js +12 -0
  230. package/umd/Enums/Modes/index.d.ts +10 -0
  231. package/umd/Enums/Modes/index.js +32 -0
  232. package/umd/Enums/Types/AlterType.d.ts +4 -0
  233. package/umd/Enums/Types/AlterType.js +12 -0
  234. package/umd/Enums/Types/DestroyType.d.ts +5 -0
  235. package/umd/Enums/Types/DestroyType.js +12 -0
  236. package/umd/Enums/Types/DivType.d.ts +4 -0
  237. package/umd/Enums/Types/DivType.js +12 -0
  238. package/umd/Enums/Types/EasingType.d.ts +10 -0
  239. package/umd/Enums/Types/EasingType.js +12 -0
  240. package/umd/Enums/Types/GradientType.d.ts +5 -0
  241. package/umd/Enums/Types/GradientType.js +12 -0
  242. package/umd/Enums/Types/InteractorType.d.ts +4 -0
  243. package/umd/Enums/Types/InteractorType.js +12 -0
  244. package/umd/Enums/Types/OrbitType.d.ts +4 -0
  245. package/umd/Enums/Types/OrbitType.js +12 -0
  246. package/umd/Enums/Types/ShapeType.d.ts +13 -0
  247. package/umd/Enums/Types/ShapeType.js +12 -0
  248. package/umd/Enums/Types/StartValueType.d.ts +5 -0
  249. package/umd/Enums/Types/StartValueType.js +12 -0
  250. package/umd/Enums/Types/index.d.ts +9 -0
  251. package/umd/Enums/Types/index.js +31 -0
  252. package/umd/Enums/index.d.ts +5 -0
  253. package/umd/Enums/index.js +27 -0
  254. package/umd/Interactions/External/Attract/Attractor.d.ts +11 -0
  255. package/umd/Interactions/External/Attract/Attractor.js +85 -0
  256. package/umd/Interactions/External/Attract/index.d.ts +2 -0
  257. package/umd/Interactions/External/Attract/index.js +18 -0
  258. package/umd/Interactions/External/Bounce/Bouncer.d.ts +11 -0
  259. package/umd/Interactions/External/Bounce/Bouncer.js +77 -0
  260. package/umd/Interactions/External/Bounce/index.d.ts +2 -0
  261. package/umd/Interactions/External/Bounce/index.js +18 -0
  262. package/umd/Interactions/External/Bubble/Bubbler.d.ts +16 -0
  263. package/umd/Interactions/External/Bubble/Bubbler.js +261 -0
  264. package/umd/Interactions/External/Bubble/IBubblerProcessParam.d.ts +10 -0
  265. package/umd/Interactions/External/Bubble/IBubblerProcessParam.js +12 -0
  266. package/umd/Interactions/External/Bubble/ProcessBubbleType.d.ts +5 -0
  267. package/umd/Interactions/External/Bubble/ProcessBubbleType.js +12 -0
  268. package/umd/Interactions/External/Bubble/index.d.ts +2 -0
  269. package/umd/Interactions/External/Bubble/index.js +18 -0
  270. package/umd/Interactions/External/Connect/Connector.d.ts +8 -0
  271. package/umd/Interactions/External/Connect/Connector.js +51 -0
  272. package/umd/Interactions/External/Connect/index.d.ts +2 -0
  273. package/umd/Interactions/External/Connect/index.js +18 -0
  274. package/umd/Interactions/External/Grab/Grabber.d.ts +8 -0
  275. package/umd/Interactions/External/Grab/Grabber.js +57 -0
  276. package/umd/Interactions/External/Grab/index.d.ts +2 -0
  277. package/umd/Interactions/External/Grab/index.js +18 -0
  278. package/umd/Interactions/External/Repulse/Repulser.d.ts +12 -0
  279. package/umd/Interactions/External/Repulse/Repulser.js +108 -0
  280. package/umd/Interactions/External/Repulse/index.d.ts +2 -0
  281. package/umd/Interactions/External/Repulse/index.js +18 -0
  282. package/umd/Interactions/External/Trail/TrailMaker.d.ts +10 -0
  283. package/umd/Interactions/External/Trail/TrailMaker.js +63 -0
  284. package/umd/Interactions/External/Trail/index.d.ts +2 -0
  285. package/umd/Interactions/External/Trail/index.js +18 -0
  286. package/umd/Interactions/Particles/Attract/Attractor.d.ts +8 -0
  287. package/umd/Interactions/Particles/Attract/Attractor.js +40 -0
  288. package/umd/Interactions/Particles/Attract/index.d.ts +2 -0
  289. package/umd/Interactions/Particles/Attract/index.js +18 -0
  290. package/umd/Interactions/Particles/Collisions/Collider.d.ts +10 -0
  291. package/umd/Interactions/Particles/Collisions/Collider.js +119 -0
  292. package/umd/Interactions/Particles/Collisions/index.d.ts +2 -0
  293. package/umd/Interactions/Particles/Collisions/index.js +18 -0
  294. package/umd/Interactions/Particles/Links/ILink.d.ts +9 -0
  295. package/umd/Interactions/Particles/Links/ILink.js +12 -0
  296. package/umd/Interactions/Particles/Links/LinkInstance.d.ts +10 -0
  297. package/umd/Interactions/Particles/Links/LinkInstance.js +134 -0
  298. package/umd/Interactions/Particles/Links/LinkParticle.d.ts +5 -0
  299. package/umd/Interactions/Particles/Links/LinkParticle.js +12 -0
  300. package/umd/Interactions/Particles/Links/Linker.d.ts +10 -0
  301. package/umd/Interactions/Particles/Links/Linker.js +115 -0
  302. package/umd/Interactions/Particles/Links/index.d.ts +2 -0
  303. package/umd/Interactions/Particles/Links/index.js +20 -0
  304. package/umd/Interactions/Particles/Links/interaction.d.ts +2 -0
  305. package/umd/Interactions/Particles/Links/interaction.js +18 -0
  306. package/umd/Interactions/Particles/Links/plugin.d.ts +2 -0
  307. package/umd/Interactions/Particles/Links/plugin.js +32 -0
  308. package/umd/Options/Classes/AnimatableColor.d.ts +11 -0
  309. package/umd/Options/Classes/AnimatableColor.js +50 -0
  310. package/umd/Options/Classes/AnimatableGradient.d.ts +53 -0
  311. package/umd/Options/Classes/AnimatableGradient.js +156 -0
  312. package/umd/Options/Classes/AnimationOptions.d.ts +11 -0
  313. package/umd/Options/Classes/AnimationOptions.js +39 -0
  314. package/umd/Options/Classes/Background/Background.d.ts +14 -0
  315. package/umd/Options/Classes/Background/Background.js +49 -0
  316. package/umd/Options/Classes/BackgroundMask/BackgroundMask.d.ts +11 -0
  317. package/umd/Options/Classes/BackgroundMask/BackgroundMask.js +38 -0
  318. package/umd/Options/Classes/BackgroundMask/BackgroundMaskCover.d.ts +10 -0
  319. package/umd/Options/Classes/BackgroundMask/BackgroundMaskCover.js +32 -0
  320. package/umd/Options/Classes/ColorAnimation.d.ts +12 -0
  321. package/umd/Options/Classes/ColorAnimation.js +44 -0
  322. package/umd/Options/Classes/FullScreen/FullScreen.d.ts +9 -0
  323. package/umd/Options/Classes/FullScreen/FullScreen.js +31 -0
  324. package/umd/Options/Classes/HslAnimation.d.ts +11 -0
  325. package/umd/Options/Classes/HslAnimation.js +30 -0
  326. package/umd/Options/Classes/Interactivity/Events/ClickEvent.d.ts +10 -0
  327. package/umd/Options/Classes/Interactivity/Events/ClickEvent.js +31 -0
  328. package/umd/Options/Classes/Interactivity/Events/DivEvent.d.ts +18 -0
  329. package/umd/Options/Classes/Interactivity/Events/DivEvent.js +64 -0
  330. package/umd/Options/Classes/Interactivity/Events/Events.d.ts +20 -0
  331. package/umd/Options/Classes/Interactivity/Events/Events.js +68 -0
  332. package/umd/Options/Classes/Interactivity/Events/HoverEvent.d.ts +12 -0
  333. package/umd/Options/Classes/Interactivity/Events/HoverEvent.js +34 -0
  334. package/umd/Options/Classes/Interactivity/Events/Parallax.d.ts +10 -0
  335. package/umd/Options/Classes/Interactivity/Events/Parallax.js +35 -0
  336. package/umd/Options/Classes/Interactivity/Interactivity.d.ts +15 -0
  337. package/umd/Options/Classes/Interactivity/Interactivity.js +51 -0
  338. package/umd/Options/Classes/Interactivity/Modes/Attract.d.ts +14 -0
  339. package/umd/Options/Classes/Interactivity/Modes/Attract.js +47 -0
  340. package/umd/Options/Classes/Interactivity/Modes/Bounce.d.ts +8 -0
  341. package/umd/Options/Classes/Interactivity/Modes/Bounce.js +27 -0
  342. package/umd/Options/Classes/Interactivity/Modes/Bubble.d.ts +9 -0
  343. package/umd/Options/Classes/Interactivity/Modes/Bubble.js +37 -0
  344. package/umd/Options/Classes/Interactivity/Modes/BubbleBase.d.ts +13 -0
  345. package/umd/Options/Classes/Interactivity/Modes/BubbleBase.js +53 -0
  346. package/umd/Options/Classes/Interactivity/Modes/BubbleDiv.d.ts +11 -0
  347. package/umd/Options/Classes/Interactivity/Modes/BubbleDiv.js +41 -0
  348. package/umd/Options/Classes/Interactivity/Modes/Connect.d.ts +15 -0
  349. package/umd/Options/Classes/Interactivity/Modes/Connect.js +47 -0
  350. package/umd/Options/Classes/Interactivity/Modes/ConnectLinks.d.ts +8 -0
  351. package/umd/Options/Classes/Interactivity/Modes/ConnectLinks.js +25 -0
  352. package/umd/Options/Classes/Interactivity/Modes/Grab.d.ts +14 -0
  353. package/umd/Options/Classes/Interactivity/Modes/Grab.js +43 -0
  354. package/umd/Options/Classes/Interactivity/Modes/GrabLinks.d.ts +12 -0
  355. package/umd/Options/Classes/Interactivity/Modes/GrabLinks.js +39 -0
  356. package/umd/Options/Classes/Interactivity/Modes/Light.d.ts +11 -0
  357. package/umd/Options/Classes/Interactivity/Modes/Light.js +29 -0
  358. package/umd/Options/Classes/Interactivity/Modes/LightArea.d.ts +10 -0
  359. package/umd/Options/Classes/Interactivity/Modes/LightArea.js +30 -0
  360. package/umd/Options/Classes/Interactivity/Modes/LightGradient.d.ts +10 -0
  361. package/umd/Options/Classes/Interactivity/Modes/LightGradient.js +30 -0
  362. package/umd/Options/Classes/Interactivity/Modes/LightShadow.d.ts +10 -0
  363. package/umd/Options/Classes/Interactivity/Modes/LightShadow.js +31 -0
  364. package/umd/Options/Classes/Interactivity/Modes/Modes.d.ts +29 -0
  365. package/umd/Options/Classes/Interactivity/Modes/Modes.js +55 -0
  366. package/umd/Options/Classes/Interactivity/Modes/Push.d.ts +12 -0
  367. package/umd/Options/Classes/Interactivity/Modes/Push.js +46 -0
  368. package/umd/Options/Classes/Interactivity/Modes/Remove.d.ts +10 -0
  369. package/umd/Options/Classes/Interactivity/Modes/Remove.js +35 -0
  370. package/umd/Options/Classes/Interactivity/Modes/Repulse.d.ts +9 -0
  371. package/umd/Options/Classes/Interactivity/Modes/Repulse.js +37 -0
  372. package/umd/Options/Classes/Interactivity/Modes/RepulseBase.d.ts +14 -0
  373. package/umd/Options/Classes/Interactivity/Modes/RepulseBase.js +47 -0
  374. package/umd/Options/Classes/Interactivity/Modes/RepulseDiv.d.ts +11 -0
  375. package/umd/Options/Classes/Interactivity/Modes/RepulseDiv.js +49 -0
  376. package/umd/Options/Classes/Interactivity/Modes/Slow.d.ts +11 -0
  377. package/umd/Options/Classes/Interactivity/Modes/Slow.js +36 -0
  378. package/umd/Options/Classes/Interactivity/Modes/Trail.d.ts +12 -0
  379. package/umd/Options/Classes/Interactivity/Modes/Trail.js +39 -0
  380. package/umd/Options/Classes/ManualParticle.d.ts +10 -0
  381. package/umd/Options/Classes/ManualParticle.js +32 -0
  382. package/umd/Options/Classes/Motion/Motion.d.ts +10 -0
  383. package/umd/Options/Classes/Motion/Motion.js +30 -0
  384. package/umd/Options/Classes/Motion/MotionReduce.d.ts +9 -0
  385. package/umd/Options/Classes/Motion/MotionReduce.js +31 -0
  386. package/umd/Options/Classes/Options.d.ts +48 -0
  387. package/umd/Options/Classes/Options.js +184 -0
  388. package/umd/Options/Classes/OptionsColor.d.ts +10 -0
  389. package/umd/Options/Classes/OptionsColor.js +38 -0
  390. package/umd/Options/Classes/Particles/Bounce/Bounce.d.ts +10 -0
  391. package/umd/Options/Classes/Particles/Bounce/Bounce.js +28 -0
  392. package/umd/Options/Classes/Particles/Bounce/BounceFactor.d.ts +4 -0
  393. package/umd/Options/Classes/Particles/Bounce/BounceFactor.js +22 -0
  394. package/umd/Options/Classes/Particles/Collisions/Collisions.d.ts +14 -0
  395. package/umd/Options/Classes/Particles/Collisions/Collisions.js +37 -0
  396. package/umd/Options/Classes/Particles/Collisions/CollisionsOverlap.d.ts +9 -0
  397. package/umd/Options/Classes/Particles/Collisions/CollisionsOverlap.js +31 -0
  398. package/umd/Options/Classes/Particles/Destroy/Destroy.d.ts +11 -0
  399. package/umd/Options/Classes/Particles/Destroy/Destroy.js +30 -0
  400. package/umd/Options/Classes/Particles/Destroy/Split.d.ts +15 -0
  401. package/umd/Options/Classes/Particles/Destroy/Split.js +41 -0
  402. package/umd/Options/Classes/Particles/Destroy/SplitFactor.d.ts +4 -0
  403. package/umd/Options/Classes/Particles/Destroy/SplitFactor.js +21 -0
  404. package/umd/Options/Classes/Particles/Destroy/SplitRate.d.ts +4 -0
  405. package/umd/Options/Classes/Particles/Destroy/SplitRate.js +21 -0
  406. package/umd/Options/Classes/Particles/Life/Life.d.ts +12 -0
  407. package/umd/Options/Classes/Particles/Life/Life.js +33 -0
  408. package/umd/Options/Classes/Particles/Life/LifeDelay.d.ts +9 -0
  409. package/umd/Options/Classes/Particles/Life/LifeDelay.js +30 -0
  410. package/umd/Options/Classes/Particles/Life/LifeDuration.d.ts +9 -0
  411. package/umd/Options/Classes/Particles/Life/LifeDuration.js +31 -0
  412. package/umd/Options/Classes/Particles/Links/Links.d.ts +22 -0
  413. package/umd/Options/Classes/Particles/Links/Links.js +67 -0
  414. package/umd/Options/Classes/Particles/Links/LinksShadow.d.ts +11 -0
  415. package/umd/Options/Classes/Particles/Links/LinksShadow.js +35 -0
  416. package/umd/Options/Classes/Particles/Links/LinksTriangle.d.ts +12 -0
  417. package/umd/Options/Classes/Particles/Links/LinksTriangle.js +38 -0
  418. package/umd/Options/Classes/Particles/Move/Attract.d.ts +15 -0
  419. package/umd/Options/Classes/Particles/Move/Attract.js +56 -0
  420. package/umd/Options/Classes/Particles/Move/Move.d.ts +44 -0
  421. package/umd/Options/Classes/Particles/Move/Move.js +142 -0
  422. package/umd/Options/Classes/Particles/Move/MoveAngle.d.ts +9 -0
  423. package/umd/Options/Classes/Particles/Move/MoveAngle.js +31 -0
  424. package/umd/Options/Classes/Particles/Move/MoveGravity.d.ts +11 -0
  425. package/umd/Options/Classes/Particles/Move/MoveGravity.js +39 -0
  426. package/umd/Options/Classes/Particles/Move/OutModes.d.ts +13 -0
  427. package/umd/Options/Classes/Particles/Move/OutModes.js +32 -0
  428. package/umd/Options/Classes/Particles/Move/Path/Path.d.ts +13 -0
  429. package/umd/Options/Classes/Particles/Move/Path/Path.js +40 -0
  430. package/umd/Options/Classes/Particles/Move/Path/PathDelay.d.ts +4 -0
  431. package/umd/Options/Classes/Particles/Move/Path/PathDelay.js +20 -0
  432. package/umd/Options/Classes/Particles/Move/Spin.d.ts +11 -0
  433. package/umd/Options/Classes/Particles/Move/Spin.js +33 -0
  434. package/umd/Options/Classes/Particles/Move/Trail.d.ts +11 -0
  435. package/umd/Options/Classes/Particles/Move/Trail.js +35 -0
  436. package/umd/Options/Classes/Particles/Number/Density.d.ts +12 -0
  437. package/umd/Options/Classes/Particles/Number/Density.js +43 -0
  438. package/umd/Options/Classes/Particles/Number/ParticlesNumber.d.ts +13 -0
  439. package/umd/Options/Classes/Particles/Number/ParticlesNumber.js +42 -0
  440. package/umd/Options/Classes/Particles/Opacity/Opacity.d.ts +12 -0
  441. package/umd/Options/Classes/Particles/Opacity/Opacity.js +43 -0
  442. package/umd/Options/Classes/Particles/Opacity/OpacityAnimation.d.ts +14 -0
  443. package/umd/Options/Classes/Particles/Opacity/OpacityAnimation.js +54 -0
  444. package/umd/Options/Classes/Particles/Orbit/Orbit.d.ts +18 -0
  445. package/umd/Options/Classes/Particles/Orbit/Orbit.js +48 -0
  446. package/umd/Options/Classes/Particles/Orbit/OrbitRotation.d.ts +7 -0
  447. package/umd/Options/Classes/Particles/Orbit/OrbitRotation.js +29 -0
  448. package/umd/Options/Classes/Particles/ParticlesOptions.d.ts +58 -0
  449. package/umd/Options/Classes/Particles/ParticlesOptions.js +153 -0
  450. package/umd/Options/Classes/Particles/Repulse/Repulse.d.ts +13 -0
  451. package/umd/Options/Classes/Particles/Repulse/Repulse.js +46 -0
  452. package/umd/Options/Classes/Particles/Roll/Roll.d.ts +16 -0
  453. package/umd/Options/Classes/Particles/Roll/Roll.js +45 -0
  454. package/umd/Options/Classes/Particles/Roll/RollLight.d.ts +9 -0
  455. package/umd/Options/Classes/Particles/Roll/RollLight.js +31 -0
  456. package/umd/Options/Classes/Particles/Rotate/Rotate.d.ts +13 -0
  457. package/umd/Options/Classes/Particles/Rotate/Rotate.js +38 -0
  458. package/umd/Options/Classes/Particles/Rotate/RotateAnimation.d.ts +10 -0
  459. package/umd/Options/Classes/Particles/Rotate/RotateAnimation.js +35 -0
  460. package/umd/Options/Classes/Particles/Shadow.d.ts +13 -0
  461. package/umd/Options/Classes/Particles/Shadow.js +48 -0
  462. package/umd/Options/Classes/Particles/Shape/Shape.d.ts +27 -0
  463. package/umd/Options/Classes/Particles/Shape/Shape.js +113 -0
  464. package/umd/Options/Classes/Particles/Size/Size.d.ts +12 -0
  465. package/umd/Options/Classes/Particles/Size/Size.js +43 -0
  466. package/umd/Options/Classes/Particles/Size/SizeAnimation.d.ts +14 -0
  467. package/umd/Options/Classes/Particles/Size/SizeAnimation.js +54 -0
  468. package/umd/Options/Classes/Particles/Stroke.d.ts +11 -0
  469. package/umd/Options/Classes/Particles/Stroke.js +34 -0
  470. package/umd/Options/Classes/Particles/Tilt/Tilt.d.ts +13 -0
  471. package/umd/Options/Classes/Particles/Tilt/Tilt.js +38 -0
  472. package/umd/Options/Classes/Particles/Tilt/TiltAnimation.d.ts +10 -0
  473. package/umd/Options/Classes/Particles/Tilt/TiltAnimation.js +35 -0
  474. package/umd/Options/Classes/Particles/Twinkle/Twinkle.d.ts +10 -0
  475. package/umd/Options/Classes/Particles/Twinkle/Twinkle.js +28 -0
  476. package/umd/Options/Classes/Particles/Twinkle/TwinkleValues.d.ts +12 -0
  477. package/umd/Options/Classes/Particles/Twinkle/TwinkleValues.js +39 -0
  478. package/umd/Options/Classes/Particles/Wobble/Wobble.d.ts +10 -0
  479. package/umd/Options/Classes/Particles/Wobble/Wobble.js +36 -0
  480. package/umd/Options/Classes/Particles/ZIndex/ZIndex.d.ts +11 -0
  481. package/umd/Options/Classes/Particles/ZIndex/ZIndex.js +38 -0
  482. package/umd/Options/Classes/Random.d.ts +9 -0
  483. package/umd/Options/Classes/Random.js +31 -0
  484. package/umd/Options/Classes/Responsive.d.ts +12 -0
  485. package/umd/Options/Classes/Responsive.js +41 -0
  486. package/umd/Options/Classes/Theme/Theme.d.ts +12 -0
  487. package/umd/Options/Classes/Theme/Theme.js +34 -0
  488. package/umd/Options/Classes/Theme/ThemeDefault.d.ts +11 -0
  489. package/umd/Options/Classes/Theme/ThemeDefault.js +35 -0
  490. package/umd/Options/Classes/ValueWithRandom.d.ts +10 -0
  491. package/umd/Options/Classes/ValueWithRandom.js +36 -0
  492. package/umd/Options/Interfaces/Background/IBackground.d.ts +9 -0
  493. package/umd/Options/Interfaces/Background/IBackground.js +12 -0
  494. package/umd/Options/Interfaces/BackgroundMask/IBackgroundMask.d.ts +7 -0
  495. package/umd/Options/Interfaces/BackgroundMask/IBackgroundMask.js +12 -0
  496. package/umd/Options/Interfaces/BackgroundMask/IBackgroundMaskCover.d.ts +5 -0
  497. package/umd/Options/Interfaces/BackgroundMask/IBackgroundMaskCover.js +12 -0
  498. package/umd/Options/Interfaces/FullScreen/IFullScreen.d.ts +4 -0
  499. package/umd/Options/Interfaces/FullScreen/IFullScreen.js +12 -0
  500. package/umd/Options/Interfaces/IAnimatable.d.ts +4 -0
  501. package/umd/Options/Interfaces/IAnimatable.js +12 -0
  502. package/umd/Options/Interfaces/IAnimatableColor.d.ts +6 -0
  503. package/umd/Options/Interfaces/IAnimatableColor.js +12 -0
  504. package/umd/Options/Interfaces/IAnimatableGradient.d.ts +8 -0
  505. package/umd/Options/Interfaces/IAnimatableGradient.js +12 -0
  506. package/umd/Options/Interfaces/IAnimation.d.ts +6 -0
  507. package/umd/Options/Interfaces/IAnimation.js +12 -0
  508. package/umd/Options/Interfaces/IColorAnimation.d.ts +5 -0
  509. package/umd/Options/Interfaces/IColorAnimation.js +12 -0
  510. package/umd/Options/Interfaces/IHslAnimation.d.ts +6 -0
  511. package/umd/Options/Interfaces/IHslAnimation.js +12 -0
  512. package/umd/Options/Interfaces/IManualParticle.d.ts +7 -0
  513. package/umd/Options/Interfaces/IManualParticle.js +12 -0
  514. package/umd/Options/Interfaces/IOptionLoader.d.ts +4 -0
  515. package/umd/Options/Interfaces/IOptionLoader.js +12 -0
  516. package/umd/Options/Interfaces/IOptions.d.ts +34 -0
  517. package/umd/Options/Interfaces/IOptions.js +12 -0
  518. package/umd/Options/Interfaces/IOptionsColor.d.ts +2 -0
  519. package/umd/Options/Interfaces/IOptionsColor.js +12 -0
  520. package/umd/Options/Interfaces/IOptionsGradient.d.ts +13 -0
  521. package/umd/Options/Interfaces/IOptionsGradient.js +12 -0
  522. package/umd/Options/Interfaces/IRandom.d.ts +4 -0
  523. package/umd/Options/Interfaces/IRandom.js +12 -0
  524. package/umd/Options/Interfaces/IResponsive.d.ts +8 -0
  525. package/umd/Options/Interfaces/IResponsive.js +12 -0
  526. package/umd/Options/Interfaces/IValueWithRandom.d.ts +6 -0
  527. package/umd/Options/Interfaces/IValueWithRandom.js +12 -0
  528. package/umd/Options/Interfaces/Interactivity/Events/IClickEvent.d.ts +6 -0
  529. package/umd/Options/Interfaces/Interactivity/Events/IClickEvent.js +12 -0
  530. package/umd/Options/Interfaces/Interactivity/Events/IDivEvent.d.ts +11 -0
  531. package/umd/Options/Interfaces/Interactivity/Events/IDivEvent.js +12 -0
  532. package/umd/Options/Interfaces/Interactivity/Events/IEvents.d.ts +13 -0
  533. package/umd/Options/Interfaces/Interactivity/Events/IEvents.js +12 -0
  534. package/umd/Options/Interfaces/Interactivity/Events/IHoverEvent.d.ts +8 -0
  535. package/umd/Options/Interfaces/Interactivity/Events/IHoverEvent.js +12 -0
  536. package/umd/Options/Interfaces/Interactivity/Events/IParallax.d.ts +5 -0
  537. package/umd/Options/Interfaces/Interactivity/Events/IParallax.js +12 -0
  538. package/umd/Options/Interfaces/Interactivity/IInteractivity.d.ts +9 -0
  539. package/umd/Options/Interfaces/Interactivity/IInteractivity.js +12 -0
  540. package/umd/Options/Interfaces/Interactivity/Modes/IAttract.d.ts +9 -0
  541. package/umd/Options/Interfaces/Interactivity/Modes/IAttract.js +12 -0
  542. package/umd/Options/Interfaces/Interactivity/Modes/IBounce.d.ts +3 -0
  543. package/umd/Options/Interfaces/Interactivity/Modes/IBounce.js +12 -0
  544. package/umd/Options/Interfaces/Interactivity/Modes/IBubble.d.ts +6 -0
  545. package/umd/Options/Interfaces/Interactivity/Modes/IBubble.js +12 -0
  546. package/umd/Options/Interfaces/Interactivity/Modes/IBubbleBase.d.ts +10 -0
  547. package/umd/Options/Interfaces/Interactivity/Modes/IBubbleBase.js +12 -0
  548. package/umd/Options/Interfaces/Interactivity/Modes/IBubbleDiv.d.ts +4 -0
  549. package/umd/Options/Interfaces/Interactivity/Modes/IBubbleDiv.js +12 -0
  550. package/umd/Options/Interfaces/Interactivity/Modes/IConnect.d.ts +8 -0
  551. package/umd/Options/Interfaces/Interactivity/Modes/IConnect.js +12 -0
  552. package/umd/Options/Interfaces/Interactivity/Modes/IConnectLinks.d.ts +3 -0
  553. package/umd/Options/Interfaces/Interactivity/Modes/IConnectLinks.js +12 -0
  554. package/umd/Options/Interfaces/Interactivity/Modes/IGrab.d.ts +7 -0
  555. package/umd/Options/Interfaces/Interactivity/Modes/IGrab.js +12 -0
  556. package/umd/Options/Interfaces/Interactivity/Modes/IGrabLinks.d.ts +7 -0
  557. package/umd/Options/Interfaces/Interactivity/Modes/IGrabLinks.js +12 -0
  558. package/umd/Options/Interfaces/Interactivity/Modes/ILight.d.ts +6 -0
  559. package/umd/Options/Interfaces/Interactivity/Modes/ILight.js +12 -0
  560. package/umd/Options/Interfaces/Interactivity/Modes/ILightArea.d.ts +9 -0
  561. package/umd/Options/Interfaces/Interactivity/Modes/ILightArea.js +12 -0
  562. package/umd/Options/Interfaces/Interactivity/Modes/ILightShadow.d.ts +5 -0
  563. package/umd/Options/Interfaces/Interactivity/Modes/ILightShadow.js +12 -0
  564. package/umd/Options/Interfaces/Interactivity/Modes/IModeDiv.d.ts +5 -0
  565. package/umd/Options/Interfaces/Interactivity/Modes/IModeDiv.js +12 -0
  566. package/umd/Options/Interfaces/Interactivity/Modes/IModes.d.ts +22 -0
  567. package/umd/Options/Interfaces/Interactivity/Modes/IModes.js +12 -0
  568. package/umd/Options/Interfaces/Interactivity/Modes/IPush.d.ts +6 -0
  569. package/umd/Options/Interfaces/Interactivity/Modes/IPush.js +12 -0
  570. package/umd/Options/Interfaces/Interactivity/Modes/IRemove.d.ts +4 -0
  571. package/umd/Options/Interfaces/Interactivity/Modes/IRemove.js +12 -0
  572. package/umd/Options/Interfaces/Interactivity/Modes/IRepulse.d.ts +6 -0
  573. package/umd/Options/Interfaces/Interactivity/Modes/IRepulse.js +12 -0
  574. package/umd/Options/Interfaces/Interactivity/Modes/IRepulseBase.d.ts +9 -0
  575. package/umd/Options/Interfaces/Interactivity/Modes/IRepulseBase.js +12 -0
  576. package/umd/Options/Interfaces/Interactivity/Modes/IRepulseDiv.d.ts +4 -0
  577. package/umd/Options/Interfaces/Interactivity/Modes/IRepulseDiv.js +12 -0
  578. package/umd/Options/Interfaces/Interactivity/Modes/ISlow.d.ts +5 -0
  579. package/umd/Options/Interfaces/Interactivity/Modes/ISlow.js +12 -0
  580. package/umd/Options/Interfaces/Interactivity/Modes/ITrail.d.ts +8 -0
  581. package/umd/Options/Interfaces/Interactivity/Modes/ITrail.js +12 -0
  582. package/umd/Options/Interfaces/Motion/IMotion.d.ts +5 -0
  583. package/umd/Options/Interfaces/Motion/IMotion.js +12 -0
  584. package/umd/Options/Interfaces/Motion/IMotionReduce.d.ts +4 -0
  585. package/umd/Options/Interfaces/Motion/IMotionReduce.js +12 -0
  586. package/umd/Options/Interfaces/Particles/Bounce/IBounce.d.ts +5 -0
  587. package/umd/Options/Interfaces/Particles/Bounce/IBounce.js +12 -0
  588. package/umd/Options/Interfaces/Particles/Collisions/ICollisions.d.ts +9 -0
  589. package/umd/Options/Interfaces/Particles/Collisions/ICollisions.js +12 -0
  590. package/umd/Options/Interfaces/Particles/Collisions/ICollisionsOverlap.d.ts +4 -0
  591. package/umd/Options/Interfaces/Particles/Collisions/ICollisionsOverlap.js +12 -0
  592. package/umd/Options/Interfaces/Particles/Destroy/IDestroy.d.ts +6 -0
  593. package/umd/Options/Interfaces/Particles/Destroy/IDestroy.js +12 -0
  594. package/umd/Options/Interfaces/Particles/Destroy/ISplit.d.ts +10 -0
  595. package/umd/Options/Interfaces/Particles/Destroy/ISplit.js +12 -0
  596. package/umd/Options/Interfaces/Particles/IParticles.d.ts +52 -0
  597. package/umd/Options/Interfaces/Particles/IParticles.js +12 -0
  598. package/umd/Options/Interfaces/Particles/IShadow.d.ts +8 -0
  599. package/umd/Options/Interfaces/Particles/IShadow.js +12 -0
  600. package/umd/Options/Interfaces/Particles/IStroke.d.ts +7 -0
  601. package/umd/Options/Interfaces/Particles/IStroke.js +12 -0
  602. package/umd/Options/Interfaces/Particles/Life/ILife.d.ts +7 -0
  603. package/umd/Options/Interfaces/Particles/Life/ILife.js +12 -0
  604. package/umd/Options/Interfaces/Particles/Life/ILifeDelay.d.ts +4 -0
  605. package/umd/Options/Interfaces/Particles/Life/ILifeDelay.js +12 -0
  606. package/umd/Options/Interfaces/Particles/Life/ILifeDuration.d.ts +4 -0
  607. package/umd/Options/Interfaces/Particles/Life/ILifeDuration.js +12 -0
  608. package/umd/Options/Interfaces/Particles/Links/ILinks.d.ts +17 -0
  609. package/umd/Options/Interfaces/Particles/Links/ILinks.js +12 -0
  610. package/umd/Options/Interfaces/Particles/Links/ILinksShadow.d.ts +6 -0
  611. package/umd/Options/Interfaces/Particles/Links/ILinksShadow.js +12 -0
  612. package/umd/Options/Interfaces/Particles/Links/ILinksTriangle.d.ts +7 -0
  613. package/umd/Options/Interfaces/Particles/Links/ILinksTriangle.js +12 -0
  614. package/umd/Options/Interfaces/Particles/Move/IAttract.d.ts +8 -0
  615. package/umd/Options/Interfaces/Particles/Move/IAttract.js +12 -0
  616. package/umd/Options/Interfaces/Particles/Move/IMove.d.ts +35 -0
  617. package/umd/Options/Interfaces/Particles/Move/IMove.js +12 -0
  618. package/umd/Options/Interfaces/Particles/Move/IMoveAngle.d.ts +4 -0
  619. package/umd/Options/Interfaces/Particles/Move/IMoveAngle.js +12 -0
  620. package/umd/Options/Interfaces/Particles/Move/IMoveGravity.d.ts +6 -0
  621. package/umd/Options/Interfaces/Particles/Move/IMoveGravity.js +12 -0
  622. package/umd/Options/Interfaces/Particles/Move/IOutModes.d.ts +8 -0
  623. package/umd/Options/Interfaces/Particles/Move/IOutModes.js +12 -0
  624. package/umd/Options/Interfaces/Particles/Move/ISpin.d.ts +7 -0
  625. package/umd/Options/Interfaces/Particles/Move/ISpin.js +12 -0
  626. package/umd/Options/Interfaces/Particles/Move/ITrail.d.ts +6 -0
  627. package/umd/Options/Interfaces/Particles/Move/ITrail.js +12 -0
  628. package/umd/Options/Interfaces/Particles/Move/Path/IPath.d.ts +9 -0
  629. package/umd/Options/Interfaces/Particles/Move/Path/IPath.js +12 -0
  630. package/umd/Options/Interfaces/Particles/Number/IDensity.d.ts +6 -0
  631. package/umd/Options/Interfaces/Particles/Number/IDensity.js +12 -0
  632. package/umd/Options/Interfaces/Particles/Number/IParticlesNumber.d.ts +7 -0
  633. package/umd/Options/Interfaces/Particles/Number/IParticlesNumber.js +12 -0
  634. package/umd/Options/Interfaces/Particles/Opacity/IOpacity.d.ts +6 -0
  635. package/umd/Options/Interfaces/Particles/Opacity/IOpacity.js +12 -0
  636. package/umd/Options/Interfaces/Particles/Opacity/IOpacityAnimation.d.ts +8 -0
  637. package/umd/Options/Interfaces/Particles/Opacity/IOpacityAnimation.js +12 -0
  638. package/umd/Options/Interfaces/Particles/Orbit/IOrbit.d.ts +12 -0
  639. package/umd/Options/Interfaces/Particles/Orbit/IOrbit.js +12 -0
  640. package/umd/Options/Interfaces/Particles/Repulse/IRepulse.d.ts +8 -0
  641. package/umd/Options/Interfaces/Particles/Repulse/IRepulse.js +12 -0
  642. package/umd/Options/Interfaces/Particles/Roll/IRoll.d.ts +12 -0
  643. package/umd/Options/Interfaces/Particles/Roll/IRoll.js +12 -0
  644. package/umd/Options/Interfaces/Particles/Roll/IRollLight.d.ts +4 -0
  645. package/umd/Options/Interfaces/Particles/Roll/IRollLight.js +12 -0
  646. package/umd/Options/Interfaces/Particles/Rotate/IRotate.d.ts +8 -0
  647. package/umd/Options/Interfaces/Particles/Rotate/IRotate.js +12 -0
  648. package/umd/Options/Interfaces/Particles/Rotate/IRotateAnimation.d.ts +5 -0
  649. package/umd/Options/Interfaces/Particles/Rotate/IRotateAnimation.js +12 -0
  650. package/umd/Options/Interfaces/Particles/Shape/ICharacterShape.d.ts +8 -0
  651. package/umd/Options/Interfaces/Particles/Shape/ICharacterShape.js +12 -0
  652. package/umd/Options/Interfaces/Particles/Shape/IImageShape.d.ts +8 -0
  653. package/umd/Options/Interfaces/Particles/Shape/IImageShape.js +12 -0
  654. package/umd/Options/Interfaces/Particles/Shape/IPolygonShape.d.ts +5 -0
  655. package/umd/Options/Interfaces/Particles/Shape/IPolygonShape.js +12 -0
  656. package/umd/Options/Interfaces/Particles/Shape/IShape.d.ts +16 -0
  657. package/umd/Options/Interfaces/Particles/Shape/IShape.js +12 -0
  658. package/umd/Options/Interfaces/Particles/Shape/IShapeValues.d.ts +1 -0
  659. package/umd/Options/Interfaces/Particles/Shape/IShapeValues.js +23 -0
  660. package/umd/Options/Interfaces/Particles/Shape/IStarShape.d.ts +6 -0
  661. package/umd/Options/Interfaces/Particles/Shape/IStarShape.js +12 -0
  662. package/umd/Options/Interfaces/Particles/Size/ISize.d.ts +6 -0
  663. package/umd/Options/Interfaces/Particles/Size/ISize.js +12 -0
  664. package/umd/Options/Interfaces/Particles/Size/ISizeAnimation.d.ts +8 -0
  665. package/umd/Options/Interfaces/Particles/Size/ISizeAnimation.js +12 -0
  666. package/umd/Options/Interfaces/Particles/Tilt/ITilt.d.ts +8 -0
  667. package/umd/Options/Interfaces/Particles/Tilt/ITilt.js +12 -0
  668. package/umd/Options/Interfaces/Particles/Tilt/ITiltAnimation.d.ts +5 -0
  669. package/umd/Options/Interfaces/Particles/Tilt/ITiltAnimation.js +12 -0
  670. package/umd/Options/Interfaces/Particles/Twinkle/ITwinkle.d.ts +5 -0
  671. package/umd/Options/Interfaces/Particles/Twinkle/ITwinkle.js +12 -0
  672. package/umd/Options/Interfaces/Particles/Twinkle/ITwinkleValues.d.ts +7 -0
  673. package/umd/Options/Interfaces/Particles/Twinkle/ITwinkleValues.js +12 -0
  674. package/umd/Options/Interfaces/Particles/Wobble/IWobble.d.ts +6 -0
  675. package/umd/Options/Interfaces/Particles/Wobble/IWobble.js +12 -0
  676. package/umd/Options/Interfaces/Particles/ZIndex/IZIndex.d.ts +6 -0
  677. package/umd/Options/Interfaces/Particles/ZIndex/IZIndex.js +12 -0
  678. package/umd/Options/Interfaces/Theme/ITheme.d.ts +8 -0
  679. package/umd/Options/Interfaces/Theme/ITheme.js +12 -0
  680. package/umd/Options/Interfaces/Theme/IThemeDefault.d.ts +6 -0
  681. package/umd/Options/Interfaces/Theme/IThemeDefault.js +12 -0
  682. package/umd/Plugins/Absorbers/AbsorberContainer.d.ts +7 -0
  683. package/umd/Plugins/Absorbers/AbsorberContainer.js +12 -0
  684. package/umd/Plugins/Absorbers/AbsorberInstance.d.ts +33 -0
  685. package/umd/Plugins/Absorbers/AbsorberInstance.js +172 -0
  686. package/umd/Plugins/Absorbers/Absorbers.d.ts +22 -0
  687. package/umd/Plugins/Absorbers/Absorbers.js +128 -0
  688. package/umd/Plugins/Absorbers/Enums/AbsorberClickMode.d.ts +3 -0
  689. package/umd/Plugins/Absorbers/Enums/AbsorberClickMode.js +12 -0
  690. package/umd/Plugins/Absorbers/Enums/index.d.ts +1 -0
  691. package/umd/Plugins/Absorbers/Enums/index.js +23 -0
  692. package/umd/Plugins/Absorbers/Options/Classes/Absorber.d.ts +18 -0
  693. package/umd/Plugins/Absorbers/Options/Classes/Absorber.js +57 -0
  694. package/umd/Plugins/Absorbers/Options/Classes/AbsorberSize.d.ts +11 -0
  695. package/umd/Plugins/Absorbers/Options/Classes/AbsorberSize.js +40 -0
  696. package/umd/Plugins/Absorbers/Options/Classes/AbsorberSizeLimit.d.ts +9 -0
  697. package/umd/Plugins/Absorbers/Options/Classes/AbsorberSizeLimit.js +31 -0
  698. package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorber.d.ts +13 -0
  699. package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorber.js +12 -0
  700. package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorberOptions.d.ts +12 -0
  701. package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorberOptions.js +12 -0
  702. package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorberSize.d.ts +6 -0
  703. package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorberSize.js +12 -0
  704. package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorberSizeLimit.d.ts +4 -0
  705. package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorberSizeLimit.js +12 -0
  706. package/umd/Plugins/Absorbers/index.d.ts +2 -0
  707. package/umd/Plugins/Absorbers/index.js +90 -0
  708. package/umd/Plugins/Emitters/EmitterContainer.d.ts +10 -0
  709. package/umd/Plugins/Emitters/EmitterContainer.js +12 -0
  710. package/umd/Plugins/Emitters/EmitterInstance.d.ts +45 -0
  711. package/umd/Plugins/Emitters/EmitterInstance.js +278 -0
  712. package/umd/Plugins/Emitters/Emitters.d.ts +25 -0
  713. package/umd/Plugins/Emitters/Emitters.js +163 -0
  714. package/umd/Plugins/Emitters/EmittersEngine.d.ts +7 -0
  715. package/umd/Plugins/Emitters/EmittersEngine.js +12 -0
  716. package/umd/Plugins/Emitters/Enums/EmitterClickMode.d.ts +3 -0
  717. package/umd/Plugins/Emitters/Enums/EmitterClickMode.js +12 -0
  718. package/umd/Plugins/Emitters/Enums/EmitterShapeType.d.ts +4 -0
  719. package/umd/Plugins/Emitters/Enums/EmitterShapeType.js +12 -0
  720. package/umd/Plugins/Emitters/Enums/index.d.ts +2 -0
  721. package/umd/Plugins/Emitters/Enums/index.js +24 -0
  722. package/umd/Plugins/Emitters/IEmitterShape.d.ts +4 -0
  723. package/umd/Plugins/Emitters/IEmitterShape.js +12 -0
  724. package/umd/Plugins/Emitters/Options/Classes/Emitter.d.ts +28 -0
  725. package/umd/Plugins/Emitters/Options/Classes/Emitter.js +74 -0
  726. package/umd/Plugins/Emitters/Options/Classes/EmitterLife.d.ts +11 -0
  727. package/umd/Plugins/Emitters/Options/Classes/EmitterLife.js +36 -0
  728. package/umd/Plugins/Emitters/Options/Classes/EmitterRate.d.ts +9 -0
  729. package/umd/Plugins/Emitters/Options/Classes/EmitterRate.js +32 -0
  730. package/umd/Plugins/Emitters/Options/Classes/EmitterSize.d.ts +11 -0
  731. package/umd/Plugins/Emitters/Options/Classes/EmitterSize.js +35 -0
  732. package/umd/Plugins/Emitters/Options/Interfaces/IEmitter.d.ts +24 -0
  733. package/umd/Plugins/Emitters/Options/Interfaces/IEmitter.js +12 -0
  734. package/umd/Plugins/Emitters/Options/Interfaces/IEmitterLife.d.ts +6 -0
  735. package/umd/Plugins/Emitters/Options/Interfaces/IEmitterLife.js +12 -0
  736. package/umd/Plugins/Emitters/Options/Interfaces/IEmitterOptions.d.ts +12 -0
  737. package/umd/Plugins/Emitters/Options/Interfaces/IEmitterOptions.js +12 -0
  738. package/umd/Plugins/Emitters/Options/Interfaces/IEmitterRate.d.ts +5 -0
  739. package/umd/Plugins/Emitters/Options/Interfaces/IEmitterRate.js +12 -0
  740. package/umd/Plugins/Emitters/Options/Interfaces/IEmitterSize.d.ts +5 -0
  741. package/umd/Plugins/Emitters/Options/Interfaces/IEmitterSize.js +12 -0
  742. package/umd/Plugins/Emitters/ShapeManager.d.ts +9 -0
  743. package/umd/Plugins/Emitters/ShapeManager.js +40 -0
  744. package/umd/Plugins/Emitters/Shapes/Circle/CircleShape.d.ts +5 -0
  745. package/umd/Plugins/Emitters/Shapes/Circle/CircleShape.js +42 -0
  746. package/umd/Plugins/Emitters/Shapes/Square/SquareShape.d.ts +5 -0
  747. package/umd/Plugins/Emitters/Shapes/Square/SquareShape.js +53 -0
  748. package/umd/Plugins/Emitters/index.d.ts +3 -0
  749. package/umd/Plugins/Emitters/index.js +120 -0
  750. package/umd/Plugins/PolygonMask/Enums/PolygonMaskInlineArrangement.d.ts +8 -0
  751. package/umd/Plugins/PolygonMask/Enums/PolygonMaskInlineArrangement.js +12 -0
  752. package/umd/Plugins/PolygonMask/Enums/PolygonMaskMoveType.d.ts +4 -0
  753. package/umd/Plugins/PolygonMask/Enums/PolygonMaskMoveType.js +12 -0
  754. package/umd/Plugins/PolygonMask/Enums/PolygonMaskType.d.ts +6 -0
  755. package/umd/Plugins/PolygonMask/Enums/PolygonMaskType.js +12 -0
  756. package/umd/Plugins/PolygonMask/Enums/index.d.ts +3 -0
  757. package/umd/Plugins/PolygonMask/Enums/index.js +25 -0
  758. package/umd/Plugins/PolygonMask/Interfaces/ISvgPath.d.ts +6 -0
  759. package/umd/Plugins/PolygonMask/Interfaces/ISvgPath.js +12 -0
  760. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMask.d.ts +24 -0
  761. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMask.js +76 -0
  762. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskDraw.d.ts +15 -0
  763. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskDraw.js +48 -0
  764. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.d.ts +11 -0
  765. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.js +39 -0
  766. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.d.ts +9 -0
  767. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.js +27 -0
  768. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskLocalSvg.d.ts +11 -0
  769. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskLocalSvg.js +39 -0
  770. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.d.ts +10 -0
  771. package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.js +31 -0
  772. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMask.d.ts +18 -0
  773. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMask.js +12 -0
  774. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDraw.d.ts +8 -0
  775. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDraw.js +12 -0
  776. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDrawStroke.d.ts +6 -0
  777. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDrawStroke.js +12 -0
  778. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskInline.d.ts +4 -0
  779. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskInline.js +12 -0
  780. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskLocalSvg.d.ts +6 -0
  781. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskLocalSvg.js +12 -0
  782. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskMove.d.ts +5 -0
  783. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskMove.js +12 -0
  784. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskOptions.d.ts +4 -0
  785. package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskOptions.js +12 -0
  786. package/umd/Plugins/PolygonMask/PolygonMaskInstance.d.ts +38 -0
  787. package/umd/Plugins/PolygonMask/PolygonMaskInstance.js +396 -0
  788. package/umd/Plugins/PolygonMask/Types.d.ts +8 -0
  789. package/umd/Plugins/PolygonMask/Types.js +12 -0
  790. package/umd/Plugins/PolygonMask/Utils.d.ts +11 -0
  791. package/umd/Plugins/PolygonMask/Utils.js +134 -0
  792. package/umd/Plugins/PolygonMask/index.d.ts +2 -0
  793. package/umd/Plugins/PolygonMask/index.js +67 -0
  794. package/umd/Plugins/PolygonMask/pathseg.d.ts +0 -0
  795. package/umd/Plugins/PolygonMask/pathseg.js +1548 -0
  796. package/umd/Shapes/Circle/CircleDrawer.d.ts +5 -0
  797. package/umd/Shapes/Circle/CircleDrawer.js +22 -0
  798. package/umd/Shapes/Circle/index.d.ts +2 -0
  799. package/umd/Shapes/Circle/index.js +18 -0
  800. package/umd/Shapes/Image/ImageDrawer.d.ts +18 -0
  801. package/umd/Shapes/Image/ImageDrawer.js +142 -0
  802. package/umd/Shapes/Image/Utils.d.ts +28 -0
  803. package/umd/Shapes/Image/Utils.js +99 -0
  804. package/umd/Shapes/Image/index.d.ts +2 -0
  805. package/umd/Shapes/Image/index.js +20 -0
  806. package/umd/Shapes/Line/LineDrawer.d.ts +5 -0
  807. package/umd/Shapes/Line/LineDrawer.js +23 -0
  808. package/umd/Shapes/Line/index.d.ts +2 -0
  809. package/umd/Shapes/Line/index.js +18 -0
  810. package/umd/Shapes/Polygon/PolygonDrawer.d.ts +7 -0
  811. package/umd/Shapes/Polygon/PolygonDrawer.js +36 -0
  812. package/umd/Shapes/Polygon/PolygonDrawerBase.d.ts +15 -0
  813. package/umd/Shapes/Polygon/PolygonDrawerBase.js +40 -0
  814. package/umd/Shapes/Polygon/TriangleDrawer.d.ts +8 -0
  815. package/umd/Shapes/Polygon/TriangleDrawer.js +35 -0
  816. package/umd/Shapes/Polygon/index.d.ts +4 -0
  817. package/umd/Shapes/Polygon/index.js +28 -0
  818. package/umd/Shapes/Square/SquareDrawer.d.ts +5 -0
  819. package/umd/Shapes/Square/SquareDrawer.js +23 -0
  820. package/umd/Shapes/Square/index.d.ts +2 -0
  821. package/umd/Shapes/Square/index.js +20 -0
  822. package/umd/Shapes/Star/StarDrawer.d.ts +5 -0
  823. package/umd/Shapes/Star/StarDrawer.js +34 -0
  824. package/umd/Shapes/Star/index.d.ts +2 -0
  825. package/umd/Shapes/Star/index.js +18 -0
  826. package/umd/Shapes/Text/TextDrawer.d.ts +7 -0
  827. package/umd/Shapes/Text/TextDrawer.js +75 -0
  828. package/umd/Shapes/Text/index.d.ts +2 -0
  829. package/umd/Shapes/Text/index.js +21 -0
  830. package/umd/Types/ParticlesGroups.d.ts +4 -0
  831. package/umd/Types/ParticlesGroups.js +12 -0
  832. package/umd/Types/PathOptions.d.ts +3 -0
  833. package/umd/Types/PathOptions.js +12 -0
  834. package/umd/Types/RangeValue.d.ts +2 -0
  835. package/umd/Types/RangeValue.js +12 -0
  836. package/umd/Types/RecursivePartial.d.ts +3 -0
  837. package/umd/Types/RecursivePartial.js +12 -0
  838. package/umd/Types/ShapeData.d.ts +5 -0
  839. package/umd/Types/ShapeData.js +12 -0
  840. package/umd/Types/ShapeDrawerFunctions.d.ts +11 -0
  841. package/umd/Types/ShapeDrawerFunctions.js +12 -0
  842. package/umd/Types/SingleOrMultiple.d.ts +1 -0
  843. package/umd/Types/SingleOrMultiple.js +12 -0
  844. package/umd/Types/index.d.ts +6 -0
  845. package/umd/Types/index.js +28 -0
  846. package/umd/Updaters/Angle/AngleUpdater.d.ts +8 -0
  847. package/umd/Updaters/Angle/AngleUpdater.js +88 -0
  848. package/umd/Updaters/Angle/index.d.ts +2 -0
  849. package/umd/Updaters/Angle/index.js +18 -0
  850. package/umd/Updaters/Color/ColorUpdater.d.ts +8 -0
  851. package/umd/Updaters/Color/ColorUpdater.js +77 -0
  852. package/umd/Updaters/Color/index.d.ts +2 -0
  853. package/umd/Updaters/Color/index.js +18 -0
  854. package/umd/Updaters/Life/LifeUpdater.d.ts +8 -0
  855. package/umd/Updaters/Life/LifeUpdater.js +77 -0
  856. package/umd/Updaters/Life/index.d.ts +2 -0
  857. package/umd/Updaters/Life/index.js +18 -0
  858. package/umd/Updaters/Opacity/OpacityUpdater.d.ts +8 -0
  859. package/umd/Updaters/Opacity/OpacityUpdater.js +129 -0
  860. package/umd/Updaters/Opacity/index.d.ts +2 -0
  861. package/umd/Updaters/Opacity/index.js +18 -0
  862. package/umd/Updaters/OutModes/IBounceData.d.ts +11 -0
  863. package/umd/Updaters/OutModes/IBounceData.js +12 -0
  864. package/umd/Updaters/OutModes/OutOfCanvasUpdater.d.ts +13 -0
  865. package/umd/Updaters/OutModes/OutOfCanvasUpdater.js +156 -0
  866. package/umd/Updaters/OutModes/Utils.d.ts +3 -0
  867. package/umd/Updaters/OutModes/Utils.js +75 -0
  868. package/umd/Updaters/OutModes/index.d.ts +2 -0
  869. package/umd/Updaters/OutModes/index.js +18 -0
  870. package/umd/Updaters/Roll/RollUpdater.d.ts +6 -0
  871. package/umd/Updaters/Roll/RollUpdater.js +73 -0
  872. package/umd/Updaters/Roll/index.d.ts +2 -0
  873. package/umd/Updaters/Roll/index.js +18 -0
  874. package/umd/Updaters/Size/SizeUpdater.d.ts +6 -0
  875. package/umd/Updaters/Size/SizeUpdater.js +86 -0
  876. package/umd/Updaters/Size/index.d.ts +2 -0
  877. package/umd/Updaters/Size/index.js +18 -0
  878. package/umd/Updaters/StrokeColor/StrokeColorUpdater.d.ts +8 -0
  879. package/umd/Updaters/StrokeColor/StrokeColorUpdater.js +94 -0
  880. package/umd/Updaters/StrokeColor/index.d.ts +2 -0
  881. package/umd/Updaters/StrokeColor/index.js +18 -0
  882. package/umd/Updaters/Tilt/TiltUpdater.d.ts +8 -0
  883. package/umd/Updaters/Tilt/TiltUpdater.js +89 -0
  884. package/umd/Updaters/Tilt/index.d.ts +2 -0
  885. package/umd/Updaters/Tilt/index.js +18 -0
  886. package/umd/Updaters/Wobble/WobbleUpdater.d.ts +14 -0
  887. package/umd/Updaters/Wobble/WobbleUpdater.js +61 -0
  888. package/umd/Updaters/Wobble/index.d.ts +2 -0
  889. package/umd/Updaters/Wobble/index.js +18 -0
  890. package/umd/Utils/CanvasUtils.d.ts +19 -0
  891. package/umd/Utils/CanvasUtils.js +297 -0
  892. package/umd/Utils/ColorUtils.d.ts +26 -0
  893. package/umd/Utils/ColorUtils.js +486 -0
  894. package/umd/Utils/NumberUtils.d.ts +23 -0
  895. package/umd/Utils/NumberUtils.js +138 -0
  896. package/umd/Utils/Utils.d.ts +38 -0
  897. package/umd/Utils/Utils.js +279 -0
  898. package/umd/Utils/index.d.ts +4 -0
  899. package/umd/Utils/index.js +26 -0
  900. package/umd/engine.d.ts +26 -0
  901. package/umd/engine.js +108 -0
  902. package/umd/full.d.ts +2 -0
  903. package/umd/full.js +32 -0
  904. package/umd/index.d.ts +20 -0
  905. package/umd/index.engine.d.ts +13 -0
  906. package/umd/index.engine.js +37 -0
  907. package/umd/index.js +43 -0
  908. package/umd/index.slim.d.ts +14 -0
  909. package/umd/index.slim.js +40 -0
  910. package/umd/pjs.d.ts +14 -0
  911. package/umd/pjs.js +36 -0
  912. package/umd/slim.d.ts +2 -0
  913. package/umd/slim.js +62 -0
@@ -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.2 by Matteo Bruni */
1
+ /*! tsParticles v1.41.0 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,{loadAngleUpdater:function(){return u}});class o{}o.generatedAttribute="generated",o.randomColorValue="random",o.midColorValue="mid",o.touchEndEvent="touchend",o.mouseDownEvent="mousedown",o.mouseUpEvent="mouseup",o.mouseMoveEvent="mousemove",o.touchStartEvent="touchstart",o.touchMoveEvent="touchmove",o.mouseLeaveEvent="mouseleave",o.mouseOutEvent="mouseout",o.touchCancelEvent="touchcancel",o.resizeEvent="resize",o.visibilityChangeEvent="visibilitychange",o.noPolygonDataLoaded="No polygon data loaded.",o.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 n(e){return"number"==typeof e?e:function(e){const t=r(e);let o=a(e);return t===o&&(o=0),Math.random()*(t-o)+o}(e)}function a(e){return"number"==typeof e?e:e.min}function r(e){return"number"==typeof e?e:e.max}new WeakMap;class i{constructor(e){this.container=e}init(e){const t=e.options.rotate;e.rotate={enable:t.animation.enable,value:n(t.value)*Math.PI/180};let o=t.direction;if("random"===o){o=Math.floor(2*Math.random())>0?"counter-clockwise":"clockwise"}switch(o){case"counter-clockwise":case"counterClockwise":e.rotate.status=1;break;case"clockwise":e.rotate.status=0}const a=e.options.rotate.animation;a.enable&&(e.rotate.velocity=a.speed/360*this.container.retina.reduceFactor,a.sync||(e.rotate.velocity*=Math.random()))}isEnabled(e){const t=e.options.rotate,o=t.animation;return!e.destroyed&&!e.spawning&&!t.path&&o.enable}update(e,t){this.isEnabled(e)&&function(e,t){var o;const n=e.rotate;if(!n)return;const a=e.options.rotate.animation,r=(null!==(o=n.velocity)&&void 0!==o?o:0)*t.factor,i=2*Math.PI;if(a.enable)switch(n.status){case 0:n.value+=r,n.value>i&&(n.value-=i);break;case 1:default:n.value-=r,n.value<0&&(n.value+=i)}}(e,t)}}async function u(e){await e.addParticleUpdater("angle",(e=>new i(e)))}return t}()}));
@@ -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.2 by Matteo Bruni */
1
+ /*! tsParticles v1.41.0 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 n=o();for(var t in n)("object"==typeof exports?exports:e)[t]=n[t]}}(window,(function(){return function(){"use strict";var e={d:function(o,n){for(var t in n)e.o(n,t)&&!e.o(o,t)&&Object.defineProperty(o,t,{enumerable:!0,get:n[t]})},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,{loadColorUpdater:function(){return m}});class n{}n.generatedAttribute="generated",n.randomColorValue="random",n.midColorValue="mid",n.touchEndEvent="touchend",n.mouseDownEvent="mousedown",n.mouseUpEvent="mouseup",n.mouseMoveEvent="mousemove",n.touchStartEvent="touchstart",n.touchMoveEvent="touchmove",n.mouseLeaveEvent="mouseleave",n.mouseOutEvent="mouseout",n.touchCancelEvent="touchcancel",n.resizeEvent="resize",n.visibilityChangeEvent="visibilitychange",n.noPolygonDataLoaded="No polygon data loaded.",n.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 t(e){const o=a(e);let n=r(e);return o===n&&(n=0),Math.random()*(o-n)+n}function r(e){return"number"==typeof e?e:e.min}function a(e){return"number"==typeof e?e:e.max}function l(e,o){if(e===o||void 0===o&&"number"==typeof e)return e;const n=r(e),t=a(e);return void 0!==o?{min:Math.min(n,o),max:Math.max(t,o)}:l(n,t)}function s(e,o,n=!0){return e[void 0!==o&&n?o%e.length:function(e){return Math.floor(Math.random()*e.length)}(e)]}function i(e,o,n){let t=n;return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+6*(o-e)*t:t<.5?o:t<2/3?e+(o-e)*(2/3-t)*6:e}function u(e){if(e.startsWith("rgb")){const o=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.]+)\s*)?\)/i.exec(e);return o?{a:o.length>4?parseFloat(o[5]):1,b:parseInt(o[3],10),g:parseInt(o[2],10),r:parseInt(o[1],10)}:void 0}if(e.startsWith("hsl")){const o=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.]+)\s*)?\)/i.exec(e);return o?function(e){const o=v(e);return{a:e.a,b:o.b,g:o.g,r:o.r}}({a:o.length>4?parseFloat(o[5]):1,h:parseInt(o[1],10),l:parseInt(o[3],10),s:parseInt(o[2],10)}):void 0}if(e.startsWith("hsv")){const o=/hsva?\(\s*(\d+)°\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.]+)\s*)?\)/i.exec(e);return o?function(e){const o=f(e);return{a:e.a,b:o.b,g:o.g,r:o.r}}({a:o.length>4?parseFloat(o[5]):1,h:parseInt(o[1],10),s:parseInt(o[2],10),v:parseInt(o[3],10)}):void 0}{const o=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,n=e.replace(o,((e,o,n,t,r)=>o+o+n+n+t+t+(void 0!==r?r+r:""))),t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i.exec(n);return t?{a:void 0!==t[4]?parseInt(t[4],16)/255:1,b:parseInt(t[3],16),g:parseInt(t[2],16),r:parseInt(t[1],16)}:void 0}}function c(e,o,t=!0){var r,a,l;if(void 0===e)return;const i="string"==typeof e?{value:e}:e;let d;if("string"==typeof i.value)d=i.value===n.randomColorValue?h():function(e){return u(e)}(i.value);else if(i.value instanceof Array){d=c({value:s(i.value,o,t)})}else{const e=i.value,o=null!==(r=e.rgb)&&void 0!==r?r:i.value;if(void 0!==o.r)d=o;else{const o=null!==(a=e.hsl)&&void 0!==a?a:i.value;if(void 0!==o.h&&void 0!==o.l)d=v(o);else{const o=null!==(l=e.hsv)&&void 0!==l?l:i.value;void 0!==o.h&&void 0!==o.v&&(d=f(o))}}}return d}function d(e,o,n=!0){const t=c(e,o,n);return void 0!==t?function(e){const o=e.r/255,n=e.g/255,t=e.b/255,r=Math.max(o,n,t),a=Math.min(o,n,t),l={h:0,l:(r+a)/2,s:0};r!=a&&(l.s=l.l<.5?(r-a)/(r+a):(r-a)/(2-r-a),l.h=o===r?(n-t)/(r-a):l.h=n===r?2+(t-o)/(r-a):4+(o-n)/(r-a));l.l*=100,l.s*=100,l.h*=60,l.h<0&&(l.h+=360);return l}(t):void 0}function v(e){const o={b:0,g:0,r:0},n={h:e.h/360,l:e.l/100,s:e.s/100};if(0===n.s)o.b=n.l,o.g=n.l,o.r=n.l;else{const e=n.l<.5?n.l*(1+n.s):n.l+n.s-n.l*n.s,t=2*n.l-e;o.r=i(t,e,n.h+1/3),o.g=i(t,e,n.h),o.b=i(t,e,n.h-1/3)}return o.r=Math.floor(255*o.r),o.g=Math.floor(255*o.g),o.b=Math.floor(255*o.b),o}function f(e){const o={b:0,g:0,r:0},n=e.h/60,t=e.s/100,r=e.v/100,a=r*t,l=a*(1-Math.abs(n%2-1));let s;if(n>=0&&n<=1?s={r:a,g:l,b:0}:n>1&&n<=2?s={r:l,g:a,b:0}:n>2&&n<=3?s={r:0,g:a,b:l}:n>3&&n<=4?s={r:0,g:l,b:a}:n>4&&n<=5?s={r:l,g:0,b:a}:n>5&&n<=6&&(s={r:a,g:0,b:l}),s){const e=r-a;o.r=Math.floor(255*(s.r+e)),o.g=Math.floor(255*(s.g+e)),o.b=Math.floor(255*(s.b+e))}return o}function h(e){const o=null!=e?e:0;return{b:Math.floor(t(l(o,256))),g:Math.floor(t(l(o,256))),r:Math.floor(t(l(o,256)))}}function p(e,o,n){if(e.enable=o.enable,e.enable){if(e.velocity=o.speed/100*n,o.sync)return;e.status=0,e.velocity*=Math.random(),e.value&&(e.value*=Math.random())}else e.velocity=0}function b(e,o,n,r,a){var l;const s=o;if(!s||!n.enable)return;const i=t(n.offset),u=(null!==(l=o.velocity)&&void 0!==l?l:0)*e.factor+3.6*i;a&&0!==s.status?(s.value-=u,s.value<0&&(s.status=0,s.value+=s.value)):(s.value+=u,a&&s.value>r&&(s.status=1,s.value-=s.value%r)),s.value>r&&(s.value%=r)}new WeakMap;class g{constructor(e){this.container=e}init(e){const o=d(e.options.color,e.id,e.options.reduceDuplicates);o&&(e.color=function(e,o,n){const t={h:{enable:!1,value:e.h},s:{enable:!1,value:e.s},l:{enable:!1,value:e.l}};return o&&(p(t.h,o.h,n),p(t.s,o.s,n),p(t.l,o.l,n)),t}(o,e.options.color.animation,this.container.retina.reduceFactor))}isEnabled(e){var o,n,t;const r=e.options.color.animation;return!e.destroyed&&!e.spawning&&(void 0!==(null===(o=e.color)||void 0===o?void 0:o.h.value)&&r.h.enable||void 0!==(null===(n=e.color)||void 0===n?void 0:n.s.value)&&r.s.enable||void 0!==(null===(t=e.color)||void 0===t?void 0:t.l.value)&&r.l.enable)}update(e,o){!function(e,o){var n,t,r;const a=e.options.color.animation;void 0!==(null===(n=e.color)||void 0===n?void 0:n.h)&&b(o,e.color.h,a.h,360,!1),void 0!==(null===(t=e.color)||void 0===t?void 0:t.s)&&b(o,e.color.s,a.s,100,!0),void 0!==(null===(r=e.color)||void 0===r?void 0:r.l)&&b(o,e.color.l,a.l,100,!0)}(e,o)}}async function m(e){await e.addParticleUpdater("color",(e=>new g(e)))}return o}()}));
@@ -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.2 by Matteo Bruni */
1
+ /*! tsParticles v1.41.0 by Matteo Bruni */
2
2
  !function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var t=n();for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(window,(function(){return function(){"use strict";var e={d:function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};e.r(n),e.d(n,{loadLifeUpdater:function(){return l}});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 o(e){const n=r(e);let t=a(e);return n===t&&(t=0),Math.random()*(n-t)+t}function i(e){return"number"==typeof e?e:o(e)}function a(e){return"number"==typeof e?e:e.min}function r(e){return"number"==typeof e?e:e.max}function u(e,n){if(e===n||void 0===n&&"number"==typeof e)return e;const t=a(e),o=r(e);return void 0!==n?{min:Math.min(t,n),max:Math.max(o,n)}:u(t,o)}new WeakMap;class d{constructor(e){this.container=e}init(){}isEnabled(e){return!e.destroyed}update(e,n){if(!this.isEnabled(e))return;const t=e.life;let a=!1;if(e.spawning){if(t.delayTime+=n.value,!(t.delayTime>=e.life.delay))return;a=!0,e.spawning=!1,t.delayTime=0,t.time=0}if(-1===t.duration)return;if(e.spawning)return;if(a?t.time=0:t.time+=n.value,t.time<t.duration)return;if(t.time=0,e.life.count>0&&e.life.count--,0===e.life.count)return void e.destroy();const r=this.container.canvas.size,d=u(0,r.width),l=u(0,r.width);e.position.x=o(d),e.position.y=o(l),e.spawning=!0,t.delayTime=0,t.time=0,e.reset();const c=e.options.life;t.delay=1e3*i(c.delay.value),t.duration=1e3*i(c.duration.value)}}async function l(e){await e.addParticleUpdater("life",(e=>new d(e)))}return n}()}));
@@ -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.2 by Matteo Bruni */
1
+ /*! tsParticles v1.41.0 by Matteo Bruni */
2
2
  !function(o,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e=t();for(var a in e)("object"==typeof exports?exports:o)[a]=e[a]}}(window,(function(){return function(){"use strict";var o={d:function(t,e){for(var a in e)o.o(e,a)&&!o.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},o:function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},r:function(o){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})}},t={};o.r(t),o.d(t,{loadOpacityUpdater:function(){return s}});class e{}e.generatedAttribute="generated",e.randomColorValue="random",e.midColorValue="mid",e.touchEndEvent="touchend",e.mouseDownEvent="mousedown",e.mouseUpEvent="mouseup",e.mouseMoveEvent="mousemove",e.touchStartEvent="touchstart",e.touchMoveEvent="touchmove",e.mouseLeaveEvent="mouseleave",e.mouseOutEvent="mouseout",e.touchCancelEvent="touchcancel",e.resizeEvent="resize",e.visibilityChangeEvent="visibilitychange",e.noPolygonDataLoaded="No polygon data loaded.",e.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 a(o){const t=c(o);let e=i(o);return t===e&&(e=0),Math.random()*(t-e)+e}function n(o){return"number"==typeof o?o:a(o)}function i(o){return"number"==typeof o?o:o.min}function c(o){return"number"==typeof o?o:o.max}function u(o,t){var e,a,n,i,c;if(!o.opacity)return;const u=o.opacity.min,p=o.opacity.max;if(!o.destroyed&&o.opacity.enable&&((null!==(e=o.opacity.maxLoops)&&void 0!==e?e:0)<=0||(null!==(a=o.opacity.loops)&&void 0!==a?a:0)<(null!==(n=o.opacity.maxLoops)&&void 0!==n?n:0))){switch(o.opacity.status){case 0:o.opacity.value>=p?(o.opacity.status=1,o.opacity.loops||(o.opacity.loops=0),o.opacity.loops++):o.opacity.value+=(null!==(i=o.opacity.velocity)&&void 0!==i?i:0)*t.factor;break;case 1:o.opacity.value<=u?(o.opacity.status=0,o.opacity.loops||(o.opacity.loops=0),o.opacity.loops++):o.opacity.value-=(null!==(c=o.opacity.velocity)&&void 0!==c?c:0)*t.factor}var s,r,l;!function(o,t,e,a){switch(o.options.opacity.animation.destroy){case"max":t>=a&&o.destroy();break;case"min":t<=e&&o.destroy()}}(o,o.opacity.value,u,p),o.destroyed||(o.opacity.value=(s=o.opacity.value,r=u,l=p,Math.min(Math.max(s,r),l)))}}new WeakMap;class p{constructor(o){this.container=o}init(o){const t=o.options.opacity;o.opacity={enable:t.animation.enable,max:c(t.value),min:i(t.value),value:n(t.value),loops:0,maxLoops:t.animation.count};const e=t.animation;if(e.enable){o.opacity.status=0;const n=t.value;switch(o.opacity.min=i(n),o.opacity.max=c(n),e.startValue){case"min":o.opacity.value=o.opacity.min,o.opacity.status=0;break;case"random":o.opacity.value=a(o.opacity),o.opacity.status=Math.random()>=.5?0:1;break;case"max":default:o.opacity.value=o.opacity.max,o.opacity.status=1}o.opacity.velocity=e.speed/100*this.container.retina.reduceFactor,e.sync||(o.opacity.velocity*=Math.random())}}isEnabled(o){var t,e,a;return!o.destroyed&&!o.spawning&&!!o.opacity&&o.opacity.enable&&((null!==(t=o.opacity.maxLoops)&&void 0!==t?t:0)<=0||(null!==(e=o.opacity.loops)&&void 0!==e?e:0)<(null!==(a=o.opacity.maxLoops)&&void 0!==a?a:0))}update(o,t){this.isEnabled(o)&&u(o,t)}}async function s(o){await o.addParticleUpdater("opacity",(o=>new p(o)))}return t}()}));
@@ -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.2 by Matteo Bruni */
1
+ /*! tsParticles v1.41.0 by Matteo Bruni */
2
2
  !function(t,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var e=o();for(var i in e)("object"==typeof exports?exports:t)[i]=e[i]}}(window,(function(){return function(){"use strict";var t={d:function(o,e){for(var i in e)t.o(e,i)&&!t.o(o,i)&&Object.defineProperty(o,i,{enumerable:!0,get:e[i]})},o:function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},o={};t.r(o),t.d(o,{loadOutModesUpdater:function(){return c}});class e{}e.generatedAttribute="generated",e.randomColorValue="random",e.midColorValue="mid",e.touchEndEvent="touchend",e.mouseDownEvent="mousedown",e.mouseUpEvent="mouseup",e.mouseMoveEvent="mousemove",e.touchStartEvent="touchstart",e.touchMoveEvent="touchmove",e.mouseLeaveEvent="mouseleave",e.mouseOutEvent="mouseout",e.touchCancelEvent="touchcancel",e.resizeEvent="resize",e.visibilityChangeEvent="visibilitychange",e.noPolygonDataLoaded="No polygon data loaded.",e.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 i(t){return"number"==typeof t?t:function(t){const o=s(t);let e=n(t);return o===e&&(e=0),Math.random()*(o-e)+e}(t)}function n(t){return"number"==typeof t?t:t.min}function s(t){return"number"==typeof t?t:t.max}function a(t,o,e,i){return function(t,o,e){let i=!0;e&&"bottom"!==e||(i=t.top<o.height);!i||e&&"left"!==e||(i=t.right>0);!i||e&&"right"!==e||(i=t.left<o.width);!i||e&&"top"!==e||(i=t.bottom>0);return i}(r(t,null!=e?e:0),o,i)}function r(t,o){return{bottom:t.y+o,left:t.x-o,right:t.x+o,top:t.y-o}}new WeakMap;class u{constructor(t){this.container=t}init(){}isEnabled(t){return!t.destroyed&&!t.spawning}update(t,o){var e,i,n,s;const a=t.options.move.outModes;this.updateOutMode(t,o,null!==(e=a.bottom)&&void 0!==e?e:a.default,"bottom"),this.updateOutMode(t,o,null!==(i=a.left)&&void 0!==i?i:a.default,"left"),this.updateOutMode(t,o,null!==(n=a.right)&&void 0!==n?n:a.default,"right"),this.updateOutMode(t,o,null!==(s=a.top)&&void 0!==s?s:a.default,"top")}updateOutMode(t,o,e,i){switch(e){case"bounce":case"bounce-vertical":case"bounce-horizontal":case"bounceVertical":case"bounceHorizontal":case"split":this.bounce(t,o,i,e);break;case"destroy":this.destroy(t,i);break;case"out":this.out(t,i);break;case"none":default:this.none(t,i)}}destroy(t,o){const e=this.container;a(t.position,e.canvas.size,t.getRadius(),o)||e.particles.remove(t,void 0,!0)}out(t,o){const e=this.container;if(a(t.position,e.canvas.size,t.getRadius(),o))return;const i=t.options.move.warp,n=e.canvas.size,s={bottom:n.height+t.getRadius()+t.offset.y,left:-t.getRadius()-t.offset.x,right:n.width+t.getRadius()+t.offset.x,top:-t.getRadius()-t.offset.y},u=t.getRadius(),c=r(t.position,u);"right"===o&&c.left>n.width+t.offset.x?(t.position.x=s.left,t.initialPosition.x=t.position.x,i||(t.position.y=Math.random()*n.height,t.initialPosition.y=t.position.y)):"left"===o&&c.right<-t.offset.x&&(t.position.x=s.right,t.initialPosition.x=t.position.x,i||(t.position.y=Math.random()*n.height,t.initialPosition.y=t.position.y)),"bottom"===o&&c.top>n.height+t.offset.y?(i||(t.position.x=Math.random()*n.width,t.initialPosition.x=t.position.x),t.position.y=s.top,t.initialPosition.y=t.position.y):"top"===o&&c.bottom<-t.offset.y&&(i||(t.position.x=Math.random()*n.width,t.initialPosition.x=t.position.x),t.position.y=s.bottom,t.initialPosition.y=t.position.y)}bounce(t,o,e,n){const s=this.container;let a=!1;for(const[,i]of s.plugins)if(void 0!==i.particleBounce&&(a=i.particleBounce(t,o,e)),a)break;if(a)return;const u=t.getPosition(),c=t.offset,d=t.getRadius(),l=r(u,d),p=s.canvas.size;!function(t){if("bounce"!==t.outMode&&"bounce-horizontal"!==t.outMode&&"bounceHorizontal"!==t.outMode&&"split"!==t.outMode)return;const o=t.particle.velocity.x;let e=!1;if("right"===t.direction&&t.bounds.right>=t.canvasSize.width&&o>0||"left"===t.direction&&t.bounds.left<=0&&o<0){const o=i(t.particle.options.bounce.horizontal.value);t.particle.velocity.x*=-o,e=!0}if(!e)return;const n=t.offset.x+t.size;t.bounds.right>=t.canvasSize.width?t.particle.position.x=t.canvasSize.width-n:t.bounds.left<=0&&(t.particle.position.x=n),"split"===t.outMode&&t.particle.destroy()}({particle:t,outMode:n,direction:e,bounds:l,canvasSize:p,offset:c,size:d}),function(t){if("bounce"===t.outMode||"bounce-vertical"===t.outMode||"bounceVertical"===t.outMode||"split"===t.outMode){const o=t.particle.velocity.y;let e=!1;if("bottom"===t.direction&&t.bounds.bottom>=t.canvasSize.height&&o>0||"top"===t.direction&&t.bounds.top<=0&&o<0){const o=i(t.particle.options.bounce.vertical.value);t.particle.velocity.y*=-o,e=!0}if(!e)return;const n=t.offset.y+t.size;t.bounds.bottom>=t.canvasSize.height?t.particle.position.y=t.canvasSize.height-n:t.bounds.top<=0&&(t.particle.position.y=n),"split"===t.outMode&&t.particle.destroy()}}({particle:t,outMode:n,direction:e,bounds:l,canvasSize:p,offset:c,size:d})}none(t,o){if(t.options.move.distance.horizontal&&("left"===o||"right"===o)||t.options.move.distance.vertical&&("top"===o||"bottom"===o))return;const e=t.options.move.gravity,i=this.container,n=i.canvas.size,s=t.getRadius();if(e.enable){const a=t.position;(!e.inverse&&a.y>n.height+s&&"bottom"===o||e.inverse&&a.y<-s&&"top"===o)&&i.particles.remove(t)}else{if(t.velocity.y>0&&t.position.y<=n.height+s||t.velocity.y<0&&t.position.y>=-s||t.velocity.x>0&&t.position.x<=n.width+s||t.velocity.x<0&&t.position.x>=-s)return;a(t.position,i.canvas.size,s,o)||i.particles.remove(t)}}}async function c(t){await t.addParticleUpdater("outModes",(t=>new u(t)))}return o}()}));
@@ -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.2 by Matteo Bruni */
1
+ /*! tsParticles v1.41.0 by Matteo Bruni */
2
2
  !function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var t=n();for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(window,(function(){return function(){"use strict";var e={d:function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};e.r(n),e.d(n,{loadRollUpdater:function(){return b}});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 o(e){const n=l(e);let t=a(e);return n===t&&(t=0),Math.random()*(n-t)+t}function r(e){return"number"==typeof e?e:o(e)}function a(e){return"number"==typeof e?e:e.min}function l(e){return"number"==typeof e?e:e.max}function s(e,n){if(e===n||void 0===n&&"number"==typeof e)return e;const t=a(e),o=l(e);return void 0!==n?{min:Math.min(t,n),max:Math.max(o,n)}:s(t,o)}function i(e,n,t=!0){return e[void 0!==n&&t?n%e.length:function(e){return Math.floor(Math.random()*e.length)}(e)]}function u(e,n,t){let o=t;return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(n-e)*o:o<.5?n:o<2/3?e+(n-e)*(2/3-o)*6:e}function d(e){if(e.startsWith("rgb")){const n=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.]+)\s*)?\)/i.exec(e);return n?{a:n.length>4?parseFloat(n[5]):1,b:parseInt(n[3],10),g:parseInt(n[2],10),r:parseInt(n[1],10)}:void 0}if(e.startsWith("hsl")){const n=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.]+)\s*)?\)/i.exec(e);return n?function(e){const n=v(e);return{a:e.a,b:n.b,g:n.g,r:n.r}}({a:n.length>4?parseFloat(n[5]):1,h:parseInt(n[1],10),l:parseInt(n[3],10),s:parseInt(n[2],10)}):void 0}if(e.startsWith("hsv")){const n=/hsva?\(\s*(\d+)°\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.]+)\s*)?\)/i.exec(e);return n?function(e){const n=h(e);return{a:e.a,b:n.b,g:n.g,r:n.r}}({a:n.length>4?parseFloat(n[5]):1,h:parseInt(n[1],10),s:parseInt(n[2],10),v:parseInt(n[3],10)}):void 0}{const n=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,t=e.replace(n,((e,n,t,o,r)=>n+n+t+t+o+o+(void 0!==r?r+r:""))),o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i.exec(t);return o?{a:void 0!==o[4]?parseInt(o[4],16)/255:1,b:parseInt(o[3],16),g:parseInt(o[2],16),r:parseInt(o[1],16)}:void 0}}function c(e,n,o=!0){var r,a,l;if(void 0===e)return;const s="string"==typeof e?{value:e}:e;let u;if("string"==typeof s.value)u=s.value===t.randomColorValue?p():function(e){return d(e)}(s.value);else if(s.value instanceof Array){u=c({value:i(s.value,n,o)})}else{const e=s.value,n=null!==(r=e.rgb)&&void 0!==r?r:s.value;if(void 0!==n.r)u=n;else{const n=null!==(a=e.hsl)&&void 0!==a?a:s.value;if(void 0!==n.h&&void 0!==n.l)u=v(n);else{const n=null!==(l=e.hsv)&&void 0!==l?l:s.value;void 0!==n.h&&void 0!==n.v&&(u=h(n))}}}return u}function f(e,n,t=!0){const o=c(e,n,t);return void 0!==o?function(e){const n=e.r/255,t=e.g/255,o=e.b/255,r=Math.max(n,t,o),a=Math.min(n,t,o),l={h:0,l:(r+a)/2,s:0};r!=a&&(l.s=l.l<.5?(r-a)/(r+a):(r-a)/(2-r-a),l.h=n===r?(t-o)/(r-a):l.h=t===r?2+(o-n)/(r-a):4+(n-t)/(r-a));l.l*=100,l.s*=100,l.h*=60,l.h<0&&(l.h+=360);return l}(o):void 0}function v(e){const n={b:0,g:0,r:0},t={h:e.h/360,l:e.l/100,s:e.s/100};if(0===t.s)n.b=t.l,n.g=t.l,n.r=t.l;else{const e=t.l<.5?t.l*(1+t.s):t.l+t.s-t.l*t.s,o=2*t.l-e;n.r=u(o,e,t.h+1/3),n.g=u(o,e,t.h),n.b=u(o,e,t.h-1/3)}return n.r=Math.floor(255*n.r),n.g=Math.floor(255*n.g),n.b=Math.floor(255*n.b),n}function h(e){const n={b:0,g:0,r:0},t=e.h/60,o=e.s/100,r=e.v/100,a=r*o,l=a*(1-Math.abs(t%2-1));let s;if(t>=0&&t<=1?s={r:a,g:l,b:0}:t>1&&t<=2?s={r:l,g:a,b:0}:t>2&&t<=3?s={r:0,g:a,b:l}:t>3&&t<=4?s={r:0,g:l,b:a}:t>4&&t<=5?s={r:l,g:0,b:a}:t>5&&t<=6&&(s={r:a,g:0,b:l}),s){const e=r-a;n.r=Math.floor(255*(s.r+e)),n.g=Math.floor(255*(s.g+e)),n.b=Math.floor(255*(s.b+e))}return n}function p(e){const n=null!=e?e:0;return{b:Math.floor(o(s(n,256))),g:Math.floor(o(s(n,256))),r:Math.floor(o(s(n,256)))}}new WeakMap;class g{init(e){const n=e.options.roll;if(n.enable)if(e.roll={angle:Math.random()*Math.PI*2,speed:r(n.speed)/360},n.backColor)e.backColor=f(n.backColor);else if(n.darken.enable&&n.enlighten.enable){const t=Math.random()>=.5?"darken":"enlighten";e.roll.alter={type:t,value:"darken"===t?n.darken.value:n.enlighten.value}}else n.darken.enable?e.roll.alter={type:"darken",value:n.darken.value}:n.enlighten.enable&&(e.roll.alter={type:"enlighten",value:n.enlighten.value});else e.roll={angle:0,speed:0}}isEnabled(e){const n=e.options.roll;return!e.destroyed&&!e.spawning&&n.enable}update(e,n){this.isEnabled(e)&&function(e,n){const t=e.options.roll;if(!e.roll||!t.enable)return;const o=e.roll.speed*n.factor,r=2*Math.PI;e.roll.angle+=o,e.roll.angle>r&&(e.roll.angle-=r)}(e,n)}}async function b(e){await e.addParticleUpdater("roll",(()=>new g))}return n}()}));
@@ -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.2 by Matteo Bruni */
1
+ /*! tsParticles v1.41.0 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,{loadSizeUpdater:function(){return s}});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 n(e,o){var t,n,i,s;const a=(null!==(t=e.size.velocity)&&void 0!==t?t:0)*o.factor,u=e.size.min,l=e.size.max;if(!e.destroyed&&e.size.enable&&((null!==(n=e.size.loops)&&void 0!==n?n:0)<=0||(null!==(i=e.size.loops)&&void 0!==i?i:0)<(null!==(s=e.size.maxLoops)&&void 0!==s?s:0))){switch(e.size.status){case 0:e.size.value>=l?(e.size.status=1,e.size.loops||(e.size.loops=0),e.size.loops++):e.size.value+=a;break;case 1:e.size.value<=u?(e.size.status=0,e.size.loops||(e.size.loops=0),e.size.loops++):e.size.value-=a}var r,d,c;!function(e,o,t,n){switch(e.options.size.animation.destroy){case"max":o>=n&&e.destroy();break;case"min":o<=t&&e.destroy()}}(e,e.size.value,u,l),e.destroyed||(e.size.value=(r=e.size.value,d=u,c=l,Math.min(Math.max(r,d),c)))}}new WeakMap;class i{init(){}isEnabled(e){var o,t,n;return!e.destroyed&&!e.spawning&&e.size.enable&&((null!==(o=e.size.loops)&&void 0!==o?o:0)<=0||(null!==(t=e.size.loops)&&void 0!==t?t:0)<(null!==(n=e.size.maxLoops)&&void 0!==n?n:0))}update(e,o){this.isEnabled(e)&&n(e,o)}}async function s(e){await e.addParticleUpdater("size",(()=>new i))}return o}()}));
@@ -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.2 by Matteo Bruni */
1
+ /*! tsParticles v1.41.0 by Matteo Bruni */
2
2
  !function(o,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t=e();for(var n in t)("object"==typeof exports?exports:o)[n]=t[n]}}(window,(function(){return function(){"use strict";var o={d:function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:function(o,e){return Object.prototype.hasOwnProperty.call(o,e)},r:function(o){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})}},e={};o.r(e),o.d(e,{loadStrokeColorUpdater:function(){return m}});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 n(o){const e=a(o);let t=r(o);return e===t&&(t=0),Math.random()*(e-t)+t}function r(o){return"number"==typeof o?o:o.min}function a(o){return"number"==typeof o?o:o.max}function l(o,e){if(o===e||void 0===e&&"number"==typeof o)return o;const t=r(o),n=a(o);return void 0!==e?{min:Math.min(t,e),max:Math.max(n,e)}:l(t,n)}function s(o,e,t=!0){return o[void 0!==e&&t?e%o.length:function(o){return Math.floor(Math.random()*o.length)}(o)]}function i(o,e,t){let n=t;return n<0&&(n+=1),n>1&&(n-=1),n<1/6?o+6*(e-o)*n:n<.5?e:n<2/3?o+(e-o)*(2/3-n)*6:o}function u(o){if(o.startsWith("rgb")){const e=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.]+)\s*)?\)/i.exec(o);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(o.startsWith("hsl")){const e=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.]+)\s*)?\)/i.exec(o);return e?function(o){const e=c(o);return{a:o.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(o.startsWith("hsv")){const e=/hsva?\(\s*(\d+)°\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.]+)\s*)?\)/i.exec(o);return e?function(o){const e=f(o);return{a:o.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,t=o.replace(e,((o,e,t,n,r)=>e+e+t+t+n+n+(void 0!==r?r+r:""))),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i.exec(t);return n?{a:void 0!==n[4]?parseInt(n[4],16)/255:1,b:parseInt(n[3],16),g:parseInt(n[2],16),r:parseInt(n[1],16)}:void 0}}function d(o,e,n=!0){var r,a,l;if(void 0===o)return;const i="string"==typeof o?{value:o}:o;let v;if("string"==typeof i.value)v=i.value===t.randomColorValue?h():function(o){return u(o)}(i.value);else if(i.value instanceof Array){v=d({value:s(i.value,e,n)})}else{const o=i.value,e=null!==(r=o.rgb)&&void 0!==r?r:i.value;if(void 0!==e.r)v=e;else{const e=null!==(a=o.hsl)&&void 0!==a?a:i.value;if(void 0!==e.h&&void 0!==e.l)v=c(e);else{const e=null!==(l=o.hsv)&&void 0!==l?l:i.value;void 0!==e.h&&void 0!==e.v&&(v=f(e))}}}return v}function v(o,e,t=!0){const n=d(o,e,t);return void 0!==n?function(o){const e=o.r/255,t=o.g/255,n=o.b/255,r=Math.max(e,t,n),a=Math.min(e,t,n),l={h:0,l:(r+a)/2,s:0};r!=a&&(l.s=l.l<.5?(r-a)/(r+a):(r-a)/(2-r-a),l.h=e===r?(t-n)/(r-a):l.h=t===r?2+(n-e)/(r-a):4+(e-t)/(r-a));l.l*=100,l.s*=100,l.h*=60,l.h<0&&(l.h+=360);return l}(n):void 0}function c(o){const e={b:0,g:0,r:0},t={h:o.h/360,l:o.l/100,s:o.s/100};if(0===t.s)e.b=t.l,e.g=t.l,e.r=t.l;else{const o=t.l<.5?t.l*(1+t.s):t.l+t.s-t.l*t.s,n=2*t.l-o;e.r=i(n,o,t.h+1/3),e.g=i(n,o,t.h),e.b=i(n,o,t.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 f(o){const e={b:0,g:0,r:0},t=o.h/60,n=o.s/100,r=o.v/100,a=r*n,l=a*(1-Math.abs(t%2-1));let s;if(t>=0&&t<=1?s={r:a,g:l,b:0}:t>1&&t<=2?s={r:l,g:a,b:0}:t>2&&t<=3?s={r:0,g:a,b:l}:t>3&&t<=4?s={r:0,g:l,b:a}:t>4&&t<=5?s={r:l,g:0,b:a}:t>5&&t<=6&&(s={r:a,g:0,b:l}),s){const o=r-a;e.r=Math.floor(255*(s.r+o)),e.g=Math.floor(255*(s.g+o)),e.b=Math.floor(255*(s.b+o))}return e}function h(o){const e=null!=o?o:0;return{b:Math.floor(n(l(e,256))),g:Math.floor(n(l(e,256))),r:Math.floor(n(l(e,256)))}}function p(o,e,t){if(o.enable=e.enable,o.enable){if(o.velocity=e.speed/100*t,e.sync)return;o.status=0,o.velocity*=Math.random(),o.value&&(o.value*=Math.random())}else o.velocity=0}function b(o,e,t,r,a){var l;const s=e;if(!s||!s.enable)return;const i=n(t.offset),u=(null!==(l=e.velocity)&&void 0!==l?l:0)*o.factor+3.6*i;a&&0!==s.status?(s.value-=u,s.value<0&&(s.status=0,s.value+=s.value)):(s.value+=u,a&&s.value>r&&(s.status=1,s.value-=s.value%r)),s.value>r&&(s.value%=r)}new WeakMap;class g{constructor(o){this.container=o}init(o){var e,t;const n=this.container;o.stroke=o.options.stroke instanceof Array?s(o.options.stroke,o.id,o.options.reduceDuplicates):o.options.stroke,o.strokeWidth=o.stroke.width*n.retina.pixelRatio;const r=null!==(e=v(o.stroke.color))&&void 0!==e?e:o.getFillColor();r&&(o.strokeColor=function(o,e,t){const n={h:{enable:!1,value:o.h},s:{enable:!1,value:o.s},l:{enable:!1,value:o.l}};return e&&(p(n.h,e.h,t),p(n.s,e.s,t),p(n.l,e.l,t)),n}(r,null===(t=o.stroke.color)||void 0===t?void 0:t.animation,n.retina.reduceFactor))}isEnabled(o){var e,t,n,r;const a=null===(e=o.stroke)||void 0===e?void 0:e.color;return!o.destroyed&&!o.spawning&&!!a&&(void 0!==(null===(t=o.strokeColor)||void 0===t?void 0:t.h.value)&&a.animation.h.enable||void 0!==(null===(n=o.strokeColor)||void 0===n?void 0:n.s.value)&&a.animation.s.enable||void 0!==(null===(r=o.strokeColor)||void 0===r?void 0:r.l.value)&&a.animation.l.enable)}update(o,e){this.isEnabled(o)&&function(o,e){var t,n,r,a,l,s,i,u,d,v;if(!(null===(t=o.stroke)||void 0===t?void 0:t.color))return;const c=o.stroke.color.animation,f=null!==(r=null===(n=o.strokeColor)||void 0===n?void 0:n.h)&&void 0!==r?r:null===(a=o.color)||void 0===a?void 0:a.h;f&&b(e,f,c.h,360,!1);const h=null!==(s=null===(l=o.strokeColor)||void 0===l?void 0:l.s)&&void 0!==s?s:null===(i=o.color)||void 0===i?void 0:i.s;h&&b(e,h,c.s,100,!0);const p=null!==(d=null===(u=o.strokeColor)||void 0===u?void 0:u.l)&&void 0!==d?d:null===(v=o.color)||void 0===v?void 0:v.l;p&&b(e,p,c.l,100,!0)}(o,e)}}async function m(o){await o.addParticleUpdater("strokeColor",(o=>new g(o)))}return e}()}));
@@ -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.2 by Matteo Bruni */
1
+ /*! tsParticles v1.41.0 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,{loadTiltUpdater:function(){return u}});class o{}o.generatedAttribute="generated",o.randomColorValue="random",o.midColorValue="mid",o.touchEndEvent="touchend",o.mouseDownEvent="mousedown",o.mouseUpEvent="mouseup",o.mouseMoveEvent="mousemove",o.touchStartEvent="touchstart",o.touchMoveEvent="touchmove",o.mouseLeaveEvent="mouseleave",o.mouseOutEvent="mouseout",o.touchCancelEvent="touchcancel",o.resizeEvent="resize",o.visibilityChangeEvent="visibilitychange",o.noPolygonDataLoaded="No polygon data loaded.",o.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 n(e){return"number"==typeof e?e:function(e){const t=i(e);let o=a(e);return t===o&&(o=0),Math.random()*(t-o)+o}(e)}function a(e){return"number"==typeof e?e:e.min}function i(e){return"number"==typeof e?e:e.max}new WeakMap;class r{constructor(e){this.container=e}init(e){const t=e.options.tilt;e.tilt={enable:t.enable,value:n(t.value)*Math.PI/180,sinDirection:Math.random()>=.5?1:-1,cosDirection:Math.random()>=.5?1:-1};let o=t.direction;if("random"===o){o=Math.floor(2*Math.random())>0?"counter-clockwise":"clockwise"}switch(o){case"counter-clockwise":case"counterClockwise":e.tilt.status=1;break;case"clockwise":e.tilt.status=0}const a=e.options.tilt.animation;a.enable&&(e.tilt.velocity=a.speed/360*this.container.retina.reduceFactor,a.sync||(e.tilt.velocity*=Math.random()))}isEnabled(e){const t=e.options.tilt.animation;return!e.destroyed&&!e.spawning&&t.enable}update(e,t){this.isEnabled(e)&&function(e,t){var o;if(!e.tilt)return;const n=e.options.tilt.animation,a=(null!==(o=e.tilt.velocity)&&void 0!==o?o:0)*t.factor,i=2*Math.PI;if(n.enable)switch(e.tilt.status){case 0:e.tilt.value+=a,e.tilt.value>i&&(e.tilt.value-=i);break;case 1:default:e.tilt.value-=a,e.tilt.value<0&&(e.tilt.value+=i)}}(e,t)}}async function u(e){await e.addParticleUpdater("tilt",(e=>new r(e)))}return t}()}));
@@ -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();