@tsparticles/all 3.1.0 → 3.2.1

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 (682) hide show
  1. package/1011.min.js +2 -0
  2. package/1011.min.js.LICENSE.txt +1 -0
  3. package/1030.min.js +2 -0
  4. package/1030.min.js.LICENSE.txt +1 -0
  5. package/1122.min.js +2 -0
  6. package/1122.min.js.LICENSE.txt +1 -0
  7. package/1147.min.js +2 -0
  8. package/1147.min.js.LICENSE.txt +1 -0
  9. package/1163.min.js +2 -0
  10. package/1163.min.js.LICENSE.txt +1 -0
  11. package/1188.min.js +2 -0
  12. package/1188.min.js.LICENSE.txt +1 -0
  13. package/1196.min.js +2 -0
  14. package/1196.min.js.LICENSE.txt +1 -0
  15. package/1264.min.js +2 -0
  16. package/1264.min.js.LICENSE.txt +1 -0
  17. package/1299.min.js +2 -0
  18. package/1299.min.js.LICENSE.txt +1 -0
  19. package/1308.min.js +2 -0
  20. package/1308.min.js.LICENSE.txt +1 -0
  21. package/1317.min.js +2 -0
  22. package/1317.min.js.LICENSE.txt +1 -0
  23. package/1332.min.js +2 -0
  24. package/1332.min.js.LICENSE.txt +1 -0
  25. package/1364.min.js +2 -0
  26. package/1364.min.js.LICENSE.txt +1 -0
  27. package/1472.min.js +2 -0
  28. package/1472.min.js.LICENSE.txt +1 -0
  29. package/1490.min.js +2 -0
  30. package/1490.min.js.LICENSE.txt +1 -0
  31. package/1492.min.js +2 -0
  32. package/1492.min.js.LICENSE.txt +1 -0
  33. package/1513.min.js +2 -0
  34. package/1513.min.js.LICENSE.txt +1 -0
  35. package/1539.min.js +2 -0
  36. package/1539.min.js.LICENSE.txt +1 -0
  37. package/1705.min.js +2 -0
  38. package/1705.min.js.LICENSE.txt +1 -0
  39. package/1708.min.js +2 -0
  40. package/1708.min.js.LICENSE.txt +1 -0
  41. package/1769.min.js +2 -0
  42. package/1769.min.js.LICENSE.txt +1 -0
  43. package/1808.min.js +2 -0
  44. package/1808.min.js.LICENSE.txt +1 -0
  45. package/1810.min.js +2 -0
  46. package/1810.min.js.LICENSE.txt +1 -0
  47. package/1831.min.js +2 -0
  48. package/1831.min.js.LICENSE.txt +1 -0
  49. package/1912.min.js +2 -0
  50. package/1912.min.js.LICENSE.txt +1 -0
  51. package/1916.min.js +2 -0
  52. package/1916.min.js.LICENSE.txt +1 -0
  53. package/1952.min.js +2 -0
  54. package/1952.min.js.LICENSE.txt +1 -0
  55. package/196.min.js +2 -0
  56. package/196.min.js.LICENSE.txt +1 -0
  57. package/197.min.js +2 -0
  58. package/197.min.js.LICENSE.txt +1 -0
  59. package/1982.min.js +2 -0
  60. package/1982.min.js.LICENSE.txt +1 -0
  61. package/208.min.js +2 -0
  62. package/208.min.js.LICENSE.txt +1 -0
  63. package/2081.min.js +2 -0
  64. package/2081.min.js.LICENSE.txt +1 -0
  65. package/2121.min.js +2 -0
  66. package/2121.min.js.LICENSE.txt +1 -0
  67. package/2124.min.js +2 -0
  68. package/2124.min.js.LICENSE.txt +1 -0
  69. package/2173.min.js +2 -0
  70. package/2173.min.js.LICENSE.txt +1 -0
  71. package/2200.min.js +2 -0
  72. package/2200.min.js.LICENSE.txt +1 -0
  73. package/2227.min.js +2 -0
  74. package/2227.min.js.LICENSE.txt +1 -0
  75. package/2281.min.js +2 -0
  76. package/2281.min.js.LICENSE.txt +1 -0
  77. package/231.min.js +2 -0
  78. package/231.min.js.LICENSE.txt +1 -0
  79. package/2397.min.js +2 -0
  80. package/2397.min.js.LICENSE.txt +1 -0
  81. package/2407.min.js +2 -0
  82. package/2407.min.js.LICENSE.txt +1 -0
  83. package/2486.min.js +2 -0
  84. package/2486.min.js.LICENSE.txt +1 -0
  85. package/255.min.js +2 -0
  86. package/255.min.js.LICENSE.txt +1 -0
  87. package/256.min.js +2 -0
  88. package/256.min.js.LICENSE.txt +1 -0
  89. package/2580.min.js +2 -0
  90. package/2580.min.js.LICENSE.txt +1 -0
  91. package/2628.min.js +2 -0
  92. package/2628.min.js.LICENSE.txt +1 -0
  93. package/2720.min.js +2 -0
  94. package/2720.min.js.LICENSE.txt +1 -0
  95. package/2765.min.js +2 -0
  96. package/2765.min.js.LICENSE.txt +1 -0
  97. package/2870.min.js +2 -0
  98. package/2870.min.js.LICENSE.txt +1 -0
  99. package/2890.min.js +2 -0
  100. package/2890.min.js.LICENSE.txt +1 -0
  101. package/2899.min.js +2 -0
  102. package/2899.min.js.LICENSE.txt +1 -0
  103. package/290.min.js +2 -0
  104. package/290.min.js.LICENSE.txt +1 -0
  105. package/294.min.js +2 -0
  106. package/294.min.js.LICENSE.txt +1 -0
  107. package/2946.min.js +2 -0
  108. package/2946.min.js.LICENSE.txt +1 -0
  109. package/3054.min.js +2 -0
  110. package/3054.min.js.LICENSE.txt +1 -0
  111. package/3134.min.js +2 -0
  112. package/3134.min.js.LICENSE.txt +1 -0
  113. package/3141.min.js +2 -0
  114. package/3141.min.js.LICENSE.txt +1 -0
  115. package/3196.min.js +2 -0
  116. package/3196.min.js.LICENSE.txt +1 -0
  117. package/3255.min.js +2 -0
  118. package/3255.min.js.LICENSE.txt +1 -0
  119. package/3261.min.js +2 -0
  120. package/3261.min.js.LICENSE.txt +1 -0
  121. package/3411.min.js +2 -0
  122. package/3411.min.js.LICENSE.txt +1 -0
  123. package/3457.min.js +2 -0
  124. package/3457.min.js.LICENSE.txt +1 -0
  125. package/3468.min.js +2 -0
  126. package/3468.min.js.LICENSE.txt +1 -0
  127. package/3473.min.js +2 -0
  128. package/3473.min.js.LICENSE.txt +1 -0
  129. package/3486.min.js +2 -0
  130. package/3486.min.js.LICENSE.txt +1 -0
  131. package/3517.min.js +2 -0
  132. package/3517.min.js.LICENSE.txt +1 -0
  133. package/3597.min.js +2 -0
  134. package/3597.min.js.LICENSE.txt +1 -0
  135. package/3610.min.js +2 -0
  136. package/3610.min.js.LICENSE.txt +1 -0
  137. package/3629.min.js +2 -0
  138. package/3629.min.js.LICENSE.txt +1 -0
  139. package/3648.min.js +2 -0
  140. package/3648.min.js.LICENSE.txt +1 -0
  141. package/3685.min.js +2 -0
  142. package/3685.min.js.LICENSE.txt +1 -0
  143. package/3699.min.js +2 -0
  144. package/3699.min.js.LICENSE.txt +1 -0
  145. package/3705.min.js +2 -0
  146. package/3705.min.js.LICENSE.txt +1 -0
  147. package/3733.min.js +2 -0
  148. package/3733.min.js.LICENSE.txt +1 -0
  149. package/3817.min.js +2 -0
  150. package/3817.min.js.LICENSE.txt +1 -0
  151. package/3837.min.js +2 -0
  152. package/3837.min.js.LICENSE.txt +1 -0
  153. package/384.min.js +2 -0
  154. package/384.min.js.LICENSE.txt +1 -0
  155. package/3862.min.js +2 -0
  156. package/3862.min.js.LICENSE.txt +1 -0
  157. package/3869.min.js +2 -0
  158. package/3869.min.js.LICENSE.txt +1 -0
  159. package/3904.min.js +2 -0
  160. package/3904.min.js.LICENSE.txt +1 -0
  161. package/4011.min.js +2 -0
  162. package/4011.min.js.LICENSE.txt +1 -0
  163. package/4037.min.js +2 -0
  164. package/4037.min.js.LICENSE.txt +1 -0
  165. package/4043.min.js +2 -0
  166. package/4043.min.js.LICENSE.txt +1 -0
  167. package/409.min.js +2 -0
  168. package/409.min.js.LICENSE.txt +1 -0
  169. package/4098.min.js +2 -0
  170. package/4098.min.js.LICENSE.txt +1 -0
  171. package/4116.min.js +2 -0
  172. package/4116.min.js.LICENSE.txt +1 -0
  173. package/4122.min.js +2 -0
  174. package/4122.min.js.LICENSE.txt +1 -0
  175. package/4127.min.js +2 -0
  176. package/4127.min.js.LICENSE.txt +1 -0
  177. package/4176.min.js +2 -0
  178. package/4176.min.js.LICENSE.txt +1 -0
  179. package/4245.min.js +2 -0
  180. package/4245.min.js.LICENSE.txt +1 -0
  181. package/4271.min.js +2 -0
  182. package/4271.min.js.LICENSE.txt +1 -0
  183. package/4314.min.js +2 -0
  184. package/4314.min.js.LICENSE.txt +1 -0
  185. package/4328.min.js +2 -0
  186. package/4328.min.js.LICENSE.txt +1 -0
  187. package/4342.min.js +2 -0
  188. package/4342.min.js.LICENSE.txt +1 -0
  189. package/4380.min.js +2 -0
  190. package/4380.min.js.LICENSE.txt +1 -0
  191. package/4396.min.js +2 -0
  192. package/4396.min.js.LICENSE.txt +1 -0
  193. package/4438.min.js +2 -0
  194. package/4438.min.js.LICENSE.txt +1 -0
  195. package/4515.min.js +2 -0
  196. package/4515.min.js.LICENSE.txt +1 -0
  197. package/4522.min.js +2 -0
  198. package/4522.min.js.LICENSE.txt +1 -0
  199. package/4547.min.js +2 -0
  200. package/4547.min.js.LICENSE.txt +1 -0
  201. package/4595.min.js +2 -0
  202. package/4595.min.js.LICENSE.txt +1 -0
  203. package/4662.min.js +2 -0
  204. package/4662.min.js.LICENSE.txt +1 -0
  205. package/4687.min.js +2 -0
  206. package/4687.min.js.LICENSE.txt +1 -0
  207. package/4717.min.js +2 -0
  208. package/4717.min.js.LICENSE.txt +1 -0
  209. package/4732.min.js +2 -0
  210. package/4732.min.js.LICENSE.txt +1 -0
  211. package/4737.min.js +2 -0
  212. package/4737.min.js.LICENSE.txt +1 -0
  213. package/4766.min.js +2 -0
  214. package/4766.min.js.LICENSE.txt +1 -0
  215. package/4794.min.js +2 -0
  216. package/4794.min.js.LICENSE.txt +1 -0
  217. package/482.min.js +2 -0
  218. package/482.min.js.LICENSE.txt +1 -0
  219. package/485.min.js +2 -0
  220. package/485.min.js.LICENSE.txt +1 -0
  221. package/4866.min.js +2 -0
  222. package/4866.min.js.LICENSE.txt +1 -0
  223. package/4922.min.js +2 -0
  224. package/4922.min.js.LICENSE.txt +1 -0
  225. package/4973.min.js +2 -0
  226. package/4973.min.js.LICENSE.txt +1 -0
  227. package/4994.min.js +2 -0
  228. package/4994.min.js.LICENSE.txt +1 -0
  229. package/5010.min.js +2 -0
  230. package/5010.min.js.LICENSE.txt +1 -0
  231. package/5034.min.js +2 -0
  232. package/5034.min.js.LICENSE.txt +1 -0
  233. package/5075.min.js +2 -0
  234. package/5075.min.js.LICENSE.txt +1 -0
  235. package/5092.min.js +2 -0
  236. package/5092.min.js.LICENSE.txt +1 -0
  237. package/5120.min.js +2 -0
  238. package/5120.min.js.LICENSE.txt +1 -0
  239. package/5171.min.js +2 -0
  240. package/5171.min.js.LICENSE.txt +1 -0
  241. package/5243.min.js +2 -0
  242. package/5243.min.js.LICENSE.txt +1 -0
  243. package/5245.min.js +2 -0
  244. package/5245.min.js.LICENSE.txt +1 -0
  245. package/5250.min.js +2 -0
  246. package/5250.min.js.LICENSE.txt +1 -0
  247. package/5274.min.js +2 -0
  248. package/5274.min.js.LICENSE.txt +1 -0
  249. package/5308.min.js +2 -0
  250. package/5308.min.js.LICENSE.txt +1 -0
  251. package/5329.min.js +2 -0
  252. package/5329.min.js.LICENSE.txt +1 -0
  253. package/533.min.js +2 -0
  254. package/533.min.js.LICENSE.txt +1 -0
  255. package/5337.min.js +2 -0
  256. package/5337.min.js.LICENSE.txt +1 -0
  257. package/5437.min.js +2 -0
  258. package/5437.min.js.LICENSE.txt +1 -0
  259. package/5444.min.js +2 -0
  260. package/5444.min.js.LICENSE.txt +1 -0
  261. package/548.min.js +2 -0
  262. package/548.min.js.LICENSE.txt +1 -0
  263. package/5523.min.js +2 -0
  264. package/5523.min.js.LICENSE.txt +1 -0
  265. package/5534.min.js +2 -0
  266. package/5534.min.js.LICENSE.txt +1 -0
  267. package/5537.min.js +2 -0
  268. package/5537.min.js.LICENSE.txt +1 -0
  269. package/5582.min.js +2 -0
  270. package/5582.min.js.LICENSE.txt +1 -0
  271. package/560.min.js +2 -0
  272. package/560.min.js.LICENSE.txt +1 -0
  273. package/5647.min.js +2 -0
  274. package/5647.min.js.LICENSE.txt +1 -0
  275. package/5683.min.js +2 -0
  276. package/5683.min.js.LICENSE.txt +1 -0
  277. package/571.min.js +2 -0
  278. package/571.min.js.LICENSE.txt +1 -0
  279. package/5715.min.js +2 -0
  280. package/5715.min.js.LICENSE.txt +1 -0
  281. package/5742.min.js +2 -0
  282. package/5742.min.js.LICENSE.txt +1 -0
  283. package/5754.min.js +2 -0
  284. package/5754.min.js.LICENSE.txt +1 -0
  285. package/5819.min.js +2 -0
  286. package/5819.min.js.LICENSE.txt +1 -0
  287. package/5841.min.js +2 -0
  288. package/5841.min.js.LICENSE.txt +1 -0
  289. package/5852.min.js +2 -0
  290. package/5852.min.js.LICENSE.txt +1 -0
  291. package/599.min.js +2 -0
  292. package/599.min.js.LICENSE.txt +1 -0
  293. package/6004.min.js +2 -0
  294. package/6004.min.js.LICENSE.txt +1 -0
  295. package/6067.min.js +2 -0
  296. package/6067.min.js.LICENSE.txt +1 -0
  297. package/6072.min.js +2 -0
  298. package/6072.min.js.LICENSE.txt +1 -0
  299. package/6132.min.js +2 -0
  300. package/6132.min.js.LICENSE.txt +1 -0
  301. package/6152.min.js +2 -0
  302. package/6152.min.js.LICENSE.txt +1 -0
  303. package/6540.min.js +2 -0
  304. package/6540.min.js.LICENSE.txt +1 -0
  305. package/655.min.js +2 -0
  306. package/655.min.js.LICENSE.txt +1 -0
  307. package/6551.min.js +2 -0
  308. package/6551.min.js.LICENSE.txt +1 -0
  309. package/6634.min.js +2 -0
  310. package/6634.min.js.LICENSE.txt +1 -0
  311. package/6763.min.js +2 -0
  312. package/6763.min.js.LICENSE.txt +1 -0
  313. package/6772.min.js +2 -0
  314. package/6772.min.js.LICENSE.txt +1 -0
  315. package/6803.min.js +2 -0
  316. package/6803.min.js.LICENSE.txt +1 -0
  317. package/69.min.js +2 -0
  318. package/69.min.js.LICENSE.txt +1 -0
  319. package/7002.min.js +2 -0
  320. package/7002.min.js.LICENSE.txt +1 -0
  321. package/7031.min.js +2 -0
  322. package/7031.min.js.LICENSE.txt +1 -0
  323. package/7049.min.js +2 -0
  324. package/7049.min.js.LICENSE.txt +1 -0
  325. package/7077.min.js +2 -0
  326. package/7077.min.js.LICENSE.txt +1 -0
  327. package/7103.min.js +2 -0
  328. package/7103.min.js.LICENSE.txt +1 -0
  329. package/7108.min.js +2 -0
  330. package/7108.min.js.LICENSE.txt +1 -0
  331. package/7139.min.js +2 -0
  332. package/7139.min.js.LICENSE.txt +1 -0
  333. package/7331.min.js +2 -0
  334. package/7331.min.js.LICENSE.txt +1 -0
  335. package/7423.min.js +2 -0
  336. package/7423.min.js.LICENSE.txt +1 -0
  337. package/7441.min.js +2 -0
  338. package/7441.min.js.LICENSE.txt +1 -0
  339. package/7500.min.js +2 -0
  340. package/7500.min.js.LICENSE.txt +1 -0
  341. package/7517.min.js +2 -0
  342. package/7517.min.js.LICENSE.txt +1 -0
  343. package/7687.min.js +2 -0
  344. package/7687.min.js.LICENSE.txt +1 -0
  345. package/7697.min.js +2 -0
  346. package/7697.min.js.LICENSE.txt +1 -0
  347. package/7725.min.js +2 -0
  348. package/7725.min.js.LICENSE.txt +1 -0
  349. package/7757.min.js +2 -0
  350. package/7757.min.js.LICENSE.txt +1 -0
  351. package/7769.min.js +2 -0
  352. package/7769.min.js.LICENSE.txt +1 -0
  353. package/7794.min.js +2 -0
  354. package/7794.min.js.LICENSE.txt +1 -0
  355. package/7835.min.js +2 -0
  356. package/7835.min.js.LICENSE.txt +1 -0
  357. package/7859.min.js +2 -0
  358. package/7859.min.js.LICENSE.txt +1 -0
  359. package/7886.min.js +2 -0
  360. package/7886.min.js.LICENSE.txt +1 -0
  361. package/7890.min.js +2 -0
  362. package/7890.min.js.LICENSE.txt +1 -0
  363. package/7900.min.js +2 -0
  364. package/7900.min.js.LICENSE.txt +1 -0
  365. package/7919.min.js +2 -0
  366. package/7919.min.js.LICENSE.txt +1 -0
  367. package/8000.min.js +2 -0
  368. package/8000.min.js.LICENSE.txt +1 -0
  369. package/801.min.js +2 -0
  370. package/801.min.js.LICENSE.txt +1 -0
  371. package/8060.min.js +2 -0
  372. package/8060.min.js.LICENSE.txt +1 -0
  373. package/8088.min.js +2 -0
  374. package/8088.min.js.LICENSE.txt +1 -0
  375. package/8127.min.js +2 -0
  376. package/8127.min.js.LICENSE.txt +1 -0
  377. package/8158.min.js +2 -0
  378. package/8158.min.js.LICENSE.txt +1 -0
  379. package/8179.min.js +2 -0
  380. package/8179.min.js.LICENSE.txt +1 -0
  381. package/8346.min.js +2 -0
  382. package/8346.min.js.LICENSE.txt +1 -0
  383. package/8361.min.js +2 -0
  384. package/8361.min.js.LICENSE.txt +1 -0
  385. package/8445.min.js +2 -0
  386. package/8445.min.js.LICENSE.txt +1 -0
  387. package/861.min.js +2 -0
  388. package/861.min.js.LICENSE.txt +1 -0
  389. package/8739.min.js +2 -0
  390. package/8739.min.js.LICENSE.txt +1 -0
  391. package/8852.min.js +2 -0
  392. package/8852.min.js.LICENSE.txt +1 -0
  393. package/8883.min.js +2 -0
  394. package/8883.min.js.LICENSE.txt +1 -0
  395. package/889.min.js +2 -0
  396. package/889.min.js.LICENSE.txt +1 -0
  397. package/9033.min.js +2 -0
  398. package/9033.min.js.LICENSE.txt +1 -0
  399. package/9062.min.js +2 -0
  400. package/9062.min.js.LICENSE.txt +1 -0
  401. package/9087.min.js +2 -0
  402. package/9087.min.js.LICENSE.txt +1 -0
  403. package/9121.min.js +2 -0
  404. package/9121.min.js.LICENSE.txt +1 -0
  405. package/9126.min.js +2 -0
  406. package/9126.min.js.LICENSE.txt +1 -0
  407. package/9133.min.js +2 -0
  408. package/9133.min.js.LICENSE.txt +1 -0
  409. package/9251.min.js +2 -0
  410. package/9251.min.js.LICENSE.txt +1 -0
  411. package/9257.min.js +2 -0
  412. package/9257.min.js.LICENSE.txt +1 -0
  413. package/9331.min.js +2 -0
  414. package/9331.min.js.LICENSE.txt +1 -0
  415. package/9376.min.js +2 -0
  416. package/9376.min.js.LICENSE.txt +1 -0
  417. package/9392.min.js +2 -0
  418. package/9392.min.js.LICENSE.txt +1 -0
  419. package/9431.min.js +2 -0
  420. package/9431.min.js.LICENSE.txt +1 -0
  421. package/95.min.js +2 -0
  422. package/95.min.js.LICENSE.txt +1 -0
  423. package/952.min.js +2 -0
  424. package/952.min.js.LICENSE.txt +1 -0
  425. package/9530.min.js +2 -0
  426. package/9530.min.js.LICENSE.txt +1 -0
  427. package/9532.min.js +2 -0
  428. package/9532.min.js.LICENSE.txt +1 -0
  429. package/9588.min.js +2 -0
  430. package/9588.min.js.LICENSE.txt +1 -0
  431. package/9674.min.js +2 -0
  432. package/9674.min.js.LICENSE.txt +1 -0
  433. package/9803.min.js +2 -0
  434. package/9803.min.js.LICENSE.txt +1 -0
  435. package/9806.min.js +2 -0
  436. package/9806.min.js.LICENSE.txt +1 -0
  437. package/9836.min.js +2 -0
  438. package/9836.min.js.LICENSE.txt +1 -0
  439. package/9845.min.js +2 -0
  440. package/9845.min.js.LICENSE.txt +1 -0
  441. package/9921.min.js +2 -0
  442. package/9921.min.js.LICENSE.txt +1 -0
  443. package/9937.min.js +2 -0
  444. package/9937.min.js.LICENSE.txt +1 -0
  445. package/9979.min.js +2 -0
  446. package/9979.min.js.LICENSE.txt +1 -0
  447. package/README.md +2 -0
  448. package/basic_dist_browser_index_js.js +30 -0
  449. package/browser/index.js +2 -45
  450. package/cjs/index.js +71 -91
  451. package/effects_bubble_dist_browser_BubbleDrawer_js.js +30 -0
  452. package/effects_bubble_dist_browser_index_js.js +30 -0
  453. package/effects_trail_dist_browser_TrailDrawer_js.js +30 -0
  454. package/effects_trail_dist_browser_index_js.js +30 -0
  455. package/engine_dist_browser_Core_Container_js.js +90 -0
  456. package/engine_dist_browser_Core_Particle_js.js +30 -0
  457. package/esm/index.js +2 -45
  458. package/full_dist_browser_index_js.js +30 -0
  459. package/interactions_external_attract_dist_browser_Attractor_js.js +30 -0
  460. package/interactions_external_attract_dist_browser_Utils_js.js +30 -0
  461. package/interactions_external_attract_dist_browser_index_js.js +50 -0
  462. package/interactions_external_bounce_dist_browser_Bouncer_js.js +30 -0
  463. package/interactions_external_bounce_dist_browser_Utils_js.js +30 -0
  464. package/interactions_external_bounce_dist_browser_index_js.js +50 -0
  465. package/interactions_external_bubble_dist_browser_Bubbler_js.js +40 -0
  466. package/interactions_external_bubble_dist_browser_index_js.js +90 -0
  467. package/interactions_external_connect_dist_browser_Connector_js.js +40 -0
  468. package/interactions_external_connect_dist_browser_index_js.js +70 -0
  469. package/interactions_external_grab_dist_browser_Grabber_js.js +40 -0
  470. package/interactions_external_grab_dist_browser_index_js.js +70 -0
  471. package/interactions_external_particle_dist_browser_InteractivityParticleMaker_js.js +40 -0
  472. package/interactions_external_particle_dist_browser_index_js.js +30 -0
  473. package/interactions_external_pause_dist_browser_Pauser_js.js +30 -0
  474. package/interactions_external_pause_dist_browser_index_js.js +30 -0
  475. package/interactions_external_pop_dist_browser_Popper_js.js +30 -0
  476. package/interactions_external_pop_dist_browser_index_js.js +30 -0
  477. package/interactions_external_push_dist_browser_Pusher_js.js +30 -0
  478. package/interactions_external_push_dist_browser_index_js.js +50 -0
  479. package/interactions_external_remove_dist_browser_Remover_js.js +30 -0
  480. package/interactions_external_remove_dist_browser_index_js.js +50 -0
  481. package/interactions_external_repulse_dist_browser_Repulser_js.js +30 -0
  482. package/interactions_external_repulse_dist_browser_index_js.js +90 -0
  483. package/interactions_external_slow_dist_browser_Slower_js.js +30 -0
  484. package/interactions_external_slow_dist_browser_index_js.js +50 -0
  485. package/interactions_external_trail_dist_browser_TrailMaker_js.js +30 -0
  486. package/interactions_external_trail_dist_browser_index_js.js +50 -0
  487. package/interactions_light_dist_browser_ExternalLighter_js.js +40 -0
  488. package/interactions_light_dist_browser_ParticlesLighter_js.js +40 -0
  489. package/interactions_light_dist_browser_index_js.js +110 -0
  490. package/interactions_particles_attract_dist_browser_Attractor_js.js +30 -0
  491. package/interactions_particles_attract_dist_browser_index_js.js +30 -0
  492. package/interactions_particles_collisions_dist_browser_Absorb_js.js +30 -0
  493. package/interactions_particles_collisions_dist_browser_Bounce_js.js +30 -0
  494. package/interactions_particles_collisions_dist_browser_Collider_js.js +40 -0
  495. package/interactions_particles_collisions_dist_browser_Destroy_js.js +40 -0
  496. package/interactions_particles_collisions_dist_browser_index_js.js +30 -0
  497. package/interactions_particles_links_dist_browser_CircleWarp_js.js +30 -0
  498. package/interactions_particles_links_dist_browser_LinkInstance_js.js +40 -0
  499. package/interactions_particles_links_dist_browser_Linker_js.js +30 -0
  500. package/interactions_particles_links_dist_browser_index_js.js +110 -0
  501. package/interactions_particles_repulse_dist_browser_Repulser_js.js +40 -0
  502. package/interactions_particles_repulse_dist_browser_index_js.js +30 -0
  503. package/move_base_dist_browser_BaseMover_js.js +30 -0
  504. package/move_base_dist_browser_Utils_js.js +30 -0
  505. package/move_base_dist_browser_index_js.js +30 -0
  506. package/move_parallax_dist_browser_ParallaxMover_js.js +30 -0
  507. package/move_parallax_dist_browser_index_js.js +30 -0
  508. package/package.json +48 -47
  509. package/paths_curlNoise_dist_browser_CurlNoiseGenerator_js.js +30 -0
  510. package/paths_curlNoise_dist_browser_index_js.js +30 -0
  511. package/paths_curves_dist_browser_CurvesPathGenerator_js.js +30 -0
  512. package/paths_curves_dist_browser_Curves_js.js +30 -0
  513. package/paths_curves_dist_browser_index_js.js +30 -0
  514. package/paths_perlinNoise_dist_browser_PerlinNoiseGenerator_js.js +60 -0
  515. package/paths_perlinNoise_dist_browser_index_js.js +30 -0
  516. package/paths_polygon_dist_browser_PolygonPathGenerator_js.js +30 -0
  517. package/paths_polygon_dist_browser_index_js.js +30 -0
  518. package/paths_simplexNoise_dist_browser_SimplexNoiseGenerator_js.js +30 -0
  519. package/paths_simplexNoise_dist_browser_index_js.js +30 -0
  520. package/paths_svg_dist_browser_SVGPathGenerator_js.js +30 -0
  521. package/paths_svg_dist_browser_index_js.js +30 -0
  522. package/paths_zigzag_dist_browser_ZigZagPathGenerator_js.js +30 -0
  523. package/paths_zigzag_dist_browser_index_js.js +30 -0
  524. package/pjs_dist_browser_index_js.js +50 -0
  525. package/plugins_absorbers_dist_browser_AbsorberInstance_js.js +30 -0
  526. package/plugins_absorbers_dist_browser_AbsorbersPlugin_js.js +60 -0
  527. package/plugins_absorbers_dist_browser_Absorbers_js.js +30 -0
  528. package/plugins_absorbers_dist_browser_index_js.js +50 -0
  529. package/plugins_canvasMask_dist_browser_CanvasMaskInstance_js.js +40 -0
  530. package/plugins_canvasMask_dist_browser_CanvasMaskPlugin_js.js +100 -0
  531. package/plugins_canvasMask_dist_browser_index_js.js +30 -0
  532. package/plugins_easings_back_dist_browser_index_js.js +30 -0
  533. package/plugins_easings_circ_dist_browser_index_js.js +30 -0
  534. package/plugins_easings_cubic_dist_browser_index_js.js +30 -0
  535. package/plugins_easings_expo_dist_browser_index_js.js +30 -0
  536. package/plugins_easings_linear_dist_browser_index_js.js +30 -0
  537. package/plugins_easings_quad_dist_browser_index_js.js +30 -0
  538. package/plugins_easings_quart_dist_browser_index_js.js +30 -0
  539. package/plugins_easings_quint_dist_browser_index_js.js +30 -0
  540. package/plugins_easings_sine_dist_browser_index_js.js +30 -0
  541. package/plugins_emittersShapes_canvas_dist_browser_EmittersCanvasShapeGenerator_js.js +180 -0
  542. package/plugins_emittersShapes_canvas_dist_browser_index_js.js +30 -0
  543. package/plugins_emittersShapes_circle_dist_browser_EmittersCircleShapeGenerator_js.js +120 -0
  544. package/plugins_emittersShapes_circle_dist_browser_index_js.js +30 -0
  545. package/plugins_emittersShapes_path_dist_browser_EmittersPathShapeGenerator_js.js +140 -0
  546. package/plugins_emittersShapes_path_dist_browser_index_js.js +30 -0
  547. package/plugins_emittersShapes_polygon_dist_browser_EmittersPolygonShapeGenerator_js.js +140 -0
  548. package/plugins_emittersShapes_polygon_dist_browser_index_js.js +30 -0
  549. package/plugins_emittersShapes_square_dist_browser_EmittersSquareShapeGenerator_js.js +120 -0
  550. package/plugins_emittersShapes_square_dist_browser_index_js.js +30 -0
  551. package/plugins_emitters_dist_browser_EmitterInstance_js.js +30 -0
  552. package/plugins_emitters_dist_browser_EmittersPlugin_js.js +90 -0
  553. package/plugins_emitters_dist_browser_Emitters_js.js +30 -0
  554. package/plugins_emitters_dist_browser_ShapeManager_js.js +30 -0
  555. package/plugins_emitters_dist_browser_index_js.js +100 -0
  556. package/plugins_exports_image_dist_browser_ExportImageInstance_js.js +30 -0
  557. package/plugins_exports_image_dist_browser_ExportImagePlugin_js.js +30 -0
  558. package/plugins_exports_image_dist_browser_index_js.js +30 -0
  559. package/plugins_exports_json_dist_browser_ExportJSONInstance_js.js +30 -0
  560. package/plugins_exports_json_dist_browser_ExportJSONPlugin_js.js +30 -0
  561. package/plugins_exports_json_dist_browser_index_js.js +30 -0
  562. package/plugins_exports_video_dist_browser_ExportVideoInstance_js.js +30 -0
  563. package/plugins_exports_video_dist_browser_ExportVideoPlugin_js.js +30 -0
  564. package/plugins_exports_video_dist_browser_index_js.js +30 -0
  565. package/plugins_hsvColor_dist_browser_HsvColorManager_js.js +30 -0
  566. package/plugins_hsvColor_dist_browser_index_js.js +30 -0
  567. package/plugins_infection_dist_browser_InfectionInstance_js.js +40 -0
  568. package/plugins_infection_dist_browser_InfectionPlugin_js.js +50 -0
  569. package/plugins_infection_dist_browser_ParticlesInfecter_js.js +30 -0
  570. package/plugins_infection_dist_browser_index_js.js +50 -0
  571. package/plugins_motion_dist_browser_MotionInstance_js.js +30 -0
  572. package/plugins_motion_dist_browser_MotionPlugin_js.js +50 -0
  573. package/plugins_motion_dist_browser_index_js.js +30 -0
  574. package/plugins_poisson_dist_browser_PoissonDiscPlugin_js.js +40 -0
  575. package/plugins_poisson_dist_browser_PoissonInstance_js.js +40 -0
  576. package/plugins_poisson_dist_browser_index_js.js +30 -0
  577. package/plugins_polygonMask_dist_browser_PolygonMaskInstance_js.js +30 -0
  578. package/plugins_polygonMask_dist_browser_PolygonMaskPlugin_js.js +90 -0
  579. package/plugins_polygonMask_dist_browser_index_js.js +70 -0
  580. package/plugins_polygonMask_dist_browser_utils_js.js +30 -0
  581. package/plugins_sounds_dist_browser_SoundsInstance_js.js +30 -0
  582. package/plugins_sounds_dist_browser_SoundsPlugin_js.js +120 -0
  583. package/plugins_sounds_dist_browser_index_js.js +30 -0
  584. package/report.html +3 -3
  585. package/shapes_arrow_dist_browser_ArrowDrawer_js.js +30 -0
  586. package/shapes_arrow_dist_browser_Utils_js.js +30 -0
  587. package/shapes_arrow_dist_browser_index_js.js +30 -0
  588. package/shapes_cards_dist_browser_ClubDrawer_js.js +30 -0
  589. package/shapes_cards_dist_browser_DiamondDrawer_js.js +30 -0
  590. package/shapes_cards_dist_browser_HeartDrawer_js.js +30 -0
  591. package/shapes_cards_dist_browser_SpadeDrawer_js.js +30 -0
  592. package/shapes_cards_dist_browser_Utils_js.js +30 -0
  593. package/shapes_cards_dist_browser_index_js.js +30 -0
  594. package/shapes_circle_dist_browser_CircleDrawer_js.js +30 -0
  595. package/shapes_circle_dist_browser_Utils_js.js +30 -0
  596. package/shapes_circle_dist_browser_index_js.js +30 -0
  597. package/shapes_cog_dist_browser_CogDrawer_js.js +30 -0
  598. package/shapes_cog_dist_browser_Utils_js.js +30 -0
  599. package/shapes_cog_dist_browser_index_js.js +30 -0
  600. package/shapes_emoji_dist_browser_EmojiDrawer_js.js +30 -0
  601. package/shapes_emoji_dist_browser_Utils_js.js +30 -0
  602. package/shapes_emoji_dist_browser_index_js.js +40 -0
  603. package/shapes_heart_dist_browser_HeartDrawer_js.js +30 -0
  604. package/shapes_heart_dist_browser_Utils_js.js +30 -0
  605. package/shapes_heart_dist_browser_index_js.js +30 -0
  606. package/shapes_image_dist_browser_GifUtils_Utils_js.js +50 -0
  607. package/shapes_image_dist_browser_ImageDrawer_js.js +30 -0
  608. package/shapes_image_dist_browser_ImagePreloader_js.js +40 -0
  609. package/shapes_image_dist_browser_index_js.js +40 -0
  610. package/shapes_line_dist_browser_LineDrawer_js.js +30 -0
  611. package/shapes_line_dist_browser_Utils_js.js +30 -0
  612. package/shapes_line_dist_browser_index_js.js +30 -0
  613. package/shapes_path_dist_browser_PathDrawer_js.js +30 -0
  614. package/shapes_path_dist_browser_Utils_js.js +30 -0
  615. package/shapes_path_dist_browser_index_js.js +30 -0
  616. package/shapes_polygon_dist_browser_PolygonDrawer_js.js +40 -0
  617. package/shapes_polygon_dist_browser_TriangleDrawer_js.js +40 -0
  618. package/shapes_polygon_dist_browser_Utils_js.js +30 -0
  619. package/shapes_polygon_dist_browser_index_js.js +30 -0
  620. package/shapes_rounded-polygon_dist_browser_RoundedPolygonDrawer_js.js +30 -0
  621. package/shapes_rounded-polygon_dist_browser_Utils_js.js +30 -0
  622. package/shapes_rounded-polygon_dist_browser_index_js.js +30 -0
  623. package/shapes_rounded-rect_dist_browser_RoundedRectDrawer_js.js +30 -0
  624. package/shapes_rounded-rect_dist_browser_Utils_js.js +30 -0
  625. package/shapes_rounded-rect_dist_browser_index_js.js +30 -0
  626. package/shapes_spiral_dist_browser_SpiralDrawer_js.js +30 -0
  627. package/shapes_spiral_dist_browser_Utils_js.js +30 -0
  628. package/shapes_spiral_dist_browser_index_js.js +30 -0
  629. package/shapes_square_dist_browser_SquareDrawer_js.js +30 -0
  630. package/shapes_square_dist_browser_Utils_js.js +30 -0
  631. package/shapes_square_dist_browser_index_js.js +30 -0
  632. package/shapes_star_dist_browser_StarDrawer_js.js +30 -0
  633. package/shapes_star_dist_browser_Utils_js.js +30 -0
  634. package/shapes_star_dist_browser_index_js.js +30 -0
  635. package/shapes_text_dist_browser_Utils_js.js +30 -0
  636. package/shapes_text_dist_browser_index_js.js +40 -0
  637. package/slim_dist_browser_index_js.js +30 -0
  638. package/tsparticles.all.bundle.js +2073 -21291
  639. package/tsparticles.all.bundle.min.js +1 -1
  640. package/tsparticles.all.bundle.min.js.LICENSE.txt +1 -1
  641. package/tsparticles.all.js +290 -296
  642. package/tsparticles.all.min.js +1 -1
  643. package/tsparticles.all.min.js.LICENSE.txt +1 -1
  644. package/umd/index.js +73 -92
  645. package/updaters_color_dist_browser_ColorUpdater_js.js +30 -0
  646. package/updaters_color_dist_browser_index_js.js +30 -0
  647. package/updaters_destroy_dist_browser_DestroyUpdater_js.js +90 -0
  648. package/updaters_destroy_dist_browser_index_js.js +30 -0
  649. package/updaters_gradient_dist_browser_GradientUpdater_js.js +90 -0
  650. package/updaters_gradient_dist_browser_Utils_js.js +30 -0
  651. package/updaters_gradient_dist_browser_index_js.js +30 -0
  652. package/updaters_life_dist_browser_LifeUpdater_js.js +60 -0
  653. package/updaters_life_dist_browser_Utils_js.js +30 -0
  654. package/updaters_life_dist_browser_index_js.js +30 -0
  655. package/updaters_opacity_dist_browser_OpacityUpdater_js.js +30 -0
  656. package/updaters_opacity_dist_browser_index_js.js +30 -0
  657. package/updaters_orbit_dist_browser_OrbitUpdater_js.js +60 -0
  658. package/updaters_orbit_dist_browser_index_js.js +30 -0
  659. package/updaters_outModes_dist_browser_BounceOutMode_js.js +30 -0
  660. package/updaters_outModes_dist_browser_DestroyOutMode_js.js +30 -0
  661. package/updaters_outModes_dist_browser_NoneOutMode_js.js +30 -0
  662. package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +30 -0
  663. package/updaters_outModes_dist_browser_OutOutMode_js.js +30 -0
  664. package/updaters_outModes_dist_browser_Utils_js.js +30 -0
  665. package/updaters_outModes_dist_browser_index_js.js +30 -0
  666. package/updaters_roll_dist_browser_RollUpdater_js.js +50 -0
  667. package/updaters_roll_dist_browser_Utils_js.js +30 -0
  668. package/updaters_roll_dist_browser_index_js.js +30 -0
  669. package/updaters_rotate_dist_browser_RotateUpdater_js.js +50 -0
  670. package/updaters_rotate_dist_browser_index_js.js +30 -0
  671. package/updaters_size_dist_browser_SizeUpdater_js.js +30 -0
  672. package/updaters_size_dist_browser_index_js.js +30 -0
  673. package/updaters_strokeColor_dist_browser_StrokeColorUpdater_js.js +30 -0
  674. package/updaters_strokeColor_dist_browser_index_js.js +30 -0
  675. package/updaters_tilt_dist_browser_TiltUpdater_js.js +50 -0
  676. package/updaters_tilt_dist_browser_index_js.js +30 -0
  677. package/updaters_twinkle_dist_browser_TwinkleUpdater_js.js +50 -0
  678. package/updaters_twinkle_dist_browser_index_js.js +30 -0
  679. package/updaters_wobble_dist_browser_Utils_js.js +30 -0
  680. package/updaters_wobble_dist_browser_WobbleUpdater_js.js +50 -0
  681. package/updaters_wobble_dist_browser_index_js.js +30 -0
  682. package/utils_simplexNoise_dist_browser_index_js.js +80 -0
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v3.2.1
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_exports_image_dist_browser_index_js"],{
19
+
20
+ /***/ "../../plugins/exports/image/dist/browser/index.js":
21
+ /*!*********************************************************!*\
22
+ !*** ../../plugins/exports/image/dist/browser/index.js ***!
23
+ \*********************************************************/
24
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25
+
26
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadExportImagePlugin: () => (/* binding */ loadExportImagePlugin)\n/* harmony export */ });\nasync function loadExportImagePlugin(engine, refresh = true) {\n const {\n ExportImagePlugin\n } = await __webpack_require__.e(/*! import() */ \"plugins_exports_image_dist_browser_ExportImagePlugin_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./ExportImagePlugin.js */ \"../../plugins/exports/image/dist/browser/ExportImagePlugin.js\"));\n await engine.addPlugin(new ExportImagePlugin(engine), refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/exports/image/dist/browser/index.js?");
27
+
28
+ /***/ })
29
+
30
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v3.2.1
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_exports_json_dist_browser_ExportJSONInstance_js"],{
19
+
20
+ /***/ "../../plugins/exports/json/dist/browser/ExportJSONInstance.js":
21
+ /*!*********************************************************************!*\
22
+ !*** ../../plugins/exports/json/dist/browser/ExportJSONInstance.js ***!
23
+ \*********************************************************************/
24
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25
+
26
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ExportJSONInstance: () => (/* binding */ ExportJSONInstance)\n/* harmony export */ });\nconst indent = 2;\nclass ExportJSONInstance {\n constructor(container, engine) {\n this._exportJSON = async () => {\n const json = JSON.stringify(this._container.actualOptions, (key, value) => {\n if (key.startsWith(\"_\")) {\n return;\n }\n return value;\n }, indent);\n return Promise.resolve(new Blob([json], {\n type: \"application/json\"\n }));\n };\n this._container = container;\n this._engine = engine;\n }\n async export(type) {\n const res = {\n supported: false\n };\n switch (type) {\n case \"json\":\n res.supported = true;\n res.blob = await this._exportJSON();\n break;\n }\n return res;\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/exports/json/dist/browser/ExportJSONInstance.js?");
27
+
28
+ /***/ })
29
+
30
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v3.2.1
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_exports_json_dist_browser_ExportJSONPlugin_js"],{
19
+
20
+ /***/ "../../plugins/exports/json/dist/browser/ExportJSONPlugin.js":
21
+ /*!*******************************************************************!*\
22
+ !*** ../../plugins/exports/json/dist/browser/ExportJSONPlugin.js ***!
23
+ \*******************************************************************/
24
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25
+
26
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ExportJSONPlugin: () => (/* binding */ ExportJSONPlugin)\n/* harmony export */ });\nclass ExportJSONPlugin {\n constructor(engine) {\n this.id = \"export-json\";\n this._engine = engine;\n }\n async getPlugin(container) {\n const {\n ExportJSONInstance\n } = await __webpack_require__.e(/*! import() */ \"plugins_exports_json_dist_browser_ExportJSONInstance_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./ExportJSONInstance.js */ \"../../plugins/exports/json/dist/browser/ExportJSONInstance.js\"));\n return new ExportJSONInstance(container, this._engine);\n }\n loadOptions() {}\n needsPlugin() {\n return true;\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/exports/json/dist/browser/ExportJSONPlugin.js?");
27
+
28
+ /***/ })
29
+
30
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v3.2.1
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_exports_json_dist_browser_index_js"],{
19
+
20
+ /***/ "../../plugins/exports/json/dist/browser/index.js":
21
+ /*!********************************************************!*\
22
+ !*** ../../plugins/exports/json/dist/browser/index.js ***!
23
+ \********************************************************/
24
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25
+
26
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadExportJSONPlugin: () => (/* binding */ loadExportJSONPlugin)\n/* harmony export */ });\nasync function loadExportJSONPlugin(engine, refresh = true) {\n const {\n ExportJSONPlugin\n } = await __webpack_require__.e(/*! import() */ \"plugins_exports_json_dist_browser_ExportJSONPlugin_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./ExportJSONPlugin.js */ \"../../plugins/exports/json/dist/browser/ExportJSONPlugin.js\"));\n await engine.addPlugin(new ExportJSONPlugin(engine), refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/exports/json/dist/browser/index.js?");
27
+
28
+ /***/ })
29
+
30
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v3.2.1
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_exports_video_dist_browser_ExportVideoInstance_js"],{
19
+
20
+ /***/ "../../plugins/exports/video/dist/browser/ExportVideoInstance.js":
21
+ /*!***********************************************************************!*\
22
+ !*** ../../plugins/exports/video/dist/browser/ExportVideoInstance.js ***!
23
+ \***********************************************************************/
24
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25
+
26
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ExportVideoInstance: () => (/* binding */ ExportVideoInstance)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst videoTypes = [\"webm\", \"ogg\", \"mp4\", \"x-matroska\"],\n codecs = [\"vp9\", \"vp9.0\", \"vp8\", \"vp8.0\", \"avc1\", \"av1\", \"h265\", \"h.265\", \"h264\", \"h.264\", \"opus\", \"pcm\", \"aac\", \"mpeg\", \"mp4a\"];\nfunction getVideoSupportedMimeTypes() {\n const isSupported = type => MediaRecorder.isTypeSupported(type),\n supported = [];\n videoTypes.forEach(type => {\n const mimeType = `video/${type}`;\n codecs.forEach(codec => [`${mimeType};codecs=${codec}`, `${mimeType};codecs=${codec.toUpperCase()}`].forEach(variation => {\n if (isSupported(variation)) {\n supported.push(variation);\n }\n }));\n if (isSupported(mimeType)) {\n supported.push(mimeType);\n }\n });\n return supported;\n}\nclass ExportVideoInstance {\n constructor(container, engine) {\n this._supportedTypes = [];\n this._exportVideo = async data => {\n const element = this._container.canvas.element;\n if (!element) {\n return;\n }\n return new Promise(resolve => {\n const stream = element.captureStream(data.fps ?? this._container.actualOptions.fpsLimit),\n firstIndex = 0,\n mimeType = data.mimeType ?? this._supportedTypes[firstIndex],\n recorder = new MediaRecorder(stream, {\n mimeType\n }),\n chunks = [],\n defaultDuration = 5;\n recorder.addEventListener(\"dataavailable\", event => {\n chunks.push(event.data);\n });\n recorder.addEventListener(\"stop\", () => {\n resolve(new Blob(chunks, {\n type: mimeType\n }));\n });\n recorder.start();\n setTimeout(() => {\n recorder.stop();\n }, data.duration ?? defaultDuration * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.millisecondsToSeconds);\n });\n };\n this._container = container;\n this._engine = engine;\n this._supportedTypes = getVideoSupportedMimeTypes();\n }\n async export(type, data) {\n const res = {\n supported: false\n };\n switch (type) {\n case \"video\":\n res.supported = true;\n res.blob = await this._exportVideo(data);\n break;\n }\n return res;\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/exports/video/dist/browser/ExportVideoInstance.js?");
27
+
28
+ /***/ })
29
+
30
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v3.2.1
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_exports_video_dist_browser_ExportVideoPlugin_js"],{
19
+
20
+ /***/ "../../plugins/exports/video/dist/browser/ExportVideoPlugin.js":
21
+ /*!*********************************************************************!*\
22
+ !*** ../../plugins/exports/video/dist/browser/ExportVideoPlugin.js ***!
23
+ \*********************************************************************/
24
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25
+
26
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ExportVideoPlugin: () => (/* binding */ ExportVideoPlugin)\n/* harmony export */ });\nclass ExportVideoPlugin {\n constructor(engine) {\n this.id = \"export-video\";\n this._engine = engine;\n }\n async getPlugin(container) {\n const {\n ExportVideoInstance\n } = await __webpack_require__.e(/*! import() */ \"plugins_exports_video_dist_browser_ExportVideoInstance_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./ExportVideoInstance.js */ \"../../plugins/exports/video/dist/browser/ExportVideoInstance.js\"));\n return new ExportVideoInstance(container, this._engine);\n }\n loadOptions() {}\n needsPlugin() {\n return true;\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/exports/video/dist/browser/ExportVideoPlugin.js?");
27
+
28
+ /***/ })
29
+
30
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v3.2.1
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_exports_video_dist_browser_index_js"],{
19
+
20
+ /***/ "../../plugins/exports/video/dist/browser/index.js":
21
+ /*!*********************************************************!*\
22
+ !*** ../../plugins/exports/video/dist/browser/index.js ***!
23
+ \*********************************************************/
24
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25
+
26
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadExportVideoPlugin: () => (/* binding */ loadExportVideoPlugin)\n/* harmony export */ });\nasync function loadExportVideoPlugin(engine, refresh = true) {\n const {\n ExportVideoPlugin\n } = await __webpack_require__.e(/*! import() */ \"plugins_exports_video_dist_browser_ExportVideoPlugin_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./ExportVideoPlugin.js */ \"../../plugins/exports/video/dist/browser/ExportVideoPlugin.js\"));\n await engine.addPlugin(new ExportVideoPlugin(engine), refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/exports/video/dist/browser/index.js?");
27
+
28
+ /***/ })
29
+
30
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v3.2.1
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_hsvColor_dist_browser_HsvColorManager_js"],{
19
+
20
+ /***/ "../../plugins/hsvColor/dist/browser/HsvColorManager.js":
21
+ /*!**************************************************************!*\
22
+ !*** ../../plugins/hsvColor/dist/browser/HsvColorManager.js ***!
23
+ \**************************************************************/
24
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25
+
26
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ HsvColorManager: () => (/* binding */ HsvColorManager),\n/* harmony export */ getStyleFromHsv: () => (/* binding */ getStyleFromHsv),\n/* harmony export */ hslToHsv: () => (/* binding */ hslToHsv),\n/* harmony export */ hslaToHsva: () => (/* binding */ hslaToHsva),\n/* harmony export */ hsvToHsl: () => (/* binding */ hsvToHsl),\n/* harmony export */ hsvToRgb: () => (/* binding */ hsvToRgb),\n/* harmony export */ hsvaToHsla: () => (/* binding */ hsvaToHsla),\n/* harmony export */ hsvaToRgba: () => (/* binding */ hsvaToRgba),\n/* harmony export */ rgbToHsv: () => (/* binding */ rgbToHsv),\n/* harmony export */ rgbaToHsva: () => (/* binding */ rgbaToHsva)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst rgbFactor = 255,\n double = 2,\n half = 0.5;\nfunction rgbToHsv(rgb) {\n const rgbPercent = {\n r: rgb.r / rgbFactor,\n g: rgb.g / rgbFactor,\n b: rgb.b / rgbFactor\n },\n xMax = Math.max(rgbPercent.r, rgbPercent.g, rgbPercent.b),\n xMin = Math.min(rgbPercent.r, rgbPercent.g, rgbPercent.b),\n v = xMax,\n c = xMax - xMin;\n let h = 0;\n const phaseOffset = {\n r: 0,\n g: 2,\n b: 4\n },\n phaseValue = 60;\n if (v === rgbPercent.r) {\n h = phaseValue * (phaseOffset.r + (rgbPercent.g - rgbPercent.b) / c);\n } else if (v === rgbPercent.g) {\n h = phaseValue * (phaseOffset.g + (rgbPercent.b - rgbPercent.r) / c);\n } else if (v === rgbPercent.b) {\n h = phaseValue * (phaseOffset.b + (rgbPercent.r - rgbPercent.g) / c);\n }\n const defaultSaturation = 0,\n s = !v ? defaultSaturation : c / v;\n return {\n h,\n s: s * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator,\n v: v * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator\n };\n}\nfunction rgbaToHsva(rgba) {\n return {\n a: rgba.a,\n ...rgbToHsv(rgba)\n };\n}\nfunction getStyleFromHsv(color, opacity) {\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getStyleFromHsl)(hsvToHsl(color), opacity);\n}\nfunction hslToHsv(hsl) {\n const l = hsl.l / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator,\n sl = hsl.s / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator,\n offset = 1,\n noValue = 0,\n v = l + sl * Math.min(l, offset - l),\n sv = !v ? noValue : double * (offset - l / v);\n return {\n h: hsl.h,\n s: sv * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator,\n v: v * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator\n };\n}\nfunction hslaToHsva(hsla) {\n return {\n a: hsla.a,\n ...hslToHsv(hsla)\n };\n}\nfunction hsvToHsl(hsv) {\n const v = hsv.v / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator,\n sv = hsv.s / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator,\n offset = 1,\n noValue = 0,\n l = v * (offset - sv * half),\n sl = !l || l === offset ? noValue : (v - l) / Math.min(l, offset - l);\n return {\n h: hsv.h,\n l: l * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator,\n s: sl * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator\n };\n}\nfunction hsvaToHsla(hsva) {\n return {\n a: hsva.a,\n ...hsvToHsl(hsva)\n };\n}\nfunction hsvToRgb(hsv) {\n const result = {\n b: 0,\n g: 0,\n r: 0\n },\n phase = 60,\n hsvPercent = {\n h: hsv.h / phase,\n s: hsv.s / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator,\n v: hsv.v / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator\n },\n offset = 1,\n hPercentFactor = 2,\n c = hsvPercent.v * hsvPercent.s,\n x = c * (offset - Math.abs(hsvPercent.h % hPercentFactor - offset));\n let tempRgb;\n const cxzRange = {\n min: 0,\n max: 1\n },\n xczRange = {\n min: 1,\n max: 2\n },\n zcxRange = {\n min: 2,\n max: 3\n },\n zxcRange = {\n min: 3,\n max: 4\n },\n xzcRange = {\n min: 4,\n max: 5\n },\n czxRange = {\n min: 5,\n max: 6\n };\n if (hsvPercent.h >= cxzRange.min && hsvPercent.h <= cxzRange.max) {\n tempRgb = {\n r: c,\n g: x,\n b: 0\n };\n } else if (hsvPercent.h > xczRange.min && hsvPercent.h <= xczRange.max) {\n tempRgb = {\n r: x,\n g: c,\n b: 0\n };\n } else if (hsvPercent.h > zcxRange.min && hsvPercent.h <= zcxRange.max) {\n tempRgb = {\n r: 0,\n g: c,\n b: x\n };\n } else if (hsvPercent.h > zxcRange.min && hsvPercent.h <= zxcRange.max) {\n tempRgb = {\n r: 0,\n g: x,\n b: c\n };\n } else if (hsvPercent.h > xzcRange.min && hsvPercent.h <= xzcRange.max) {\n tempRgb = {\n r: x,\n g: 0,\n b: c\n };\n } else if (hsvPercent.h > czxRange.min && hsvPercent.h <= czxRange.max) {\n tempRgb = {\n r: c,\n g: 0,\n b: x\n };\n }\n if (tempRgb) {\n const m = hsvPercent.v - c;\n result.r = Math.floor((tempRgb.r + m) * rgbFactor);\n result.g = Math.floor((tempRgb.g + m) * rgbFactor);\n result.b = Math.floor((tempRgb.b + m) * rgbFactor);\n }\n return result;\n}\nfunction hsvaToRgba(hsva) {\n return {\n a: hsva.a,\n ...hsvToRgb(hsva)\n };\n}\nclass HsvColorManager {\n constructor() {\n this.key = \"hsv\";\n this.stringPrefix = \"hsv\";\n }\n handleColor(color) {\n const colorValue = color.value,\n hsvColor = colorValue.hsv ?? color.value;\n if (hsvColor.h !== undefined && hsvColor.v !== undefined) {\n return hsvToRgb(hsvColor);\n }\n }\n handleRangeColor(color) {\n const colorValue = color.value,\n hsvColor = colorValue.hsv ?? color.value;\n if (hsvColor.h !== undefined && hsvColor.v !== undefined) {\n return hsvToRgb({\n h: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(hsvColor.h),\n s: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(hsvColor.s),\n v: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(hsvColor.v)\n });\n }\n }\n parseString(input) {\n if (!input.startsWith(\"hsv\")) {\n return;\n }\n const regex = /hsva?\\(\\s*(\\d+)°\\s*,\\s*(\\d+)%\\s*,\\s*(\\d+)%\\s*(,\\s*([\\d.%]+)\\s*)?\\)/i,\n result = regex.exec(input),\n fullLength = 4,\n indexes = {\n h: 1,\n s: 2,\n v: 3,\n a: 5\n },\n defaultAlpha = 1,\n radix = 10;\n return result ? hsvaToRgba({\n a: result.length > fullLength ? (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.parseAlpha)(result[indexes.a]) : defaultAlpha,\n h: parseInt(result[indexes.h], radix),\n s: parseInt(result[indexes.s], radix),\n v: parseInt(result[indexes.v], radix)\n }) : undefined;\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/hsvColor/dist/browser/HsvColorManager.js?");
27
+
28
+ /***/ })
29
+
30
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v3.2.1
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_hsvColor_dist_browser_index_js"],{
19
+
20
+ /***/ "../../plugins/hsvColor/dist/browser/index.js":
21
+ /*!****************************************************!*\
22
+ !*** ../../plugins/hsvColor/dist/browser/index.js ***!
23
+ \****************************************************/
24
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25
+
26
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadHsvColorPlugin: () => (/* binding */ loadHsvColorPlugin)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nasync function loadHsvColorPlugin() {\n const {\n HsvColorManager\n } = await __webpack_require__.e(/*! import() */ \"plugins_hsvColor_dist_browser_HsvColorManager_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./HsvColorManager.js */ \"../../plugins/hsvColor/dist/browser/HsvColorManager.js\"));\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.addColorManager)(new HsvColorManager());\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/hsvColor/dist/browser/index.js?");
27
+
28
+ /***/ })
29
+
30
+ }]);
@@ -0,0 +1,40 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v3.2.1
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_infection_dist_browser_InfectionInstance_js"],{
19
+
20
+ /***/ "../../plugins/infection/dist/browser/Infecter.js":
21
+ /*!********************************************************!*\
22
+ !*** ../../plugins/infection/dist/browser/Infecter.js ***!
23
+ \********************************************************/
24
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25
+
26
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Infecter: () => (/* binding */ Infecter)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst minStage = 0,\n minDuration = 0;\nclass Infecter {\n constructor(container) {\n this._nextInfectionStage = particle => {\n const infectionOptions = this._container.actualOptions.infection,\n {\n infection\n } = particle;\n if (!infectionOptions || !infection) {\n return;\n }\n const stagesCount = infectionOptions.stages.length;\n if (stagesCount <= minStage || infection.stage === undefined) {\n return;\n }\n infection.time = 0;\n if (stagesCount <= ++infection.stage) {\n if (infectionOptions.cure) {\n delete infection.stage;\n delete infection.time;\n } else {\n infection.stage = 0;\n infection.time = 0;\n }\n }\n };\n this._container = container;\n }\n startInfection(particle, stage) {\n const infectionOptions = this._container.actualOptions.infection,\n {\n infection\n } = particle;\n if (!infectionOptions || !infection) {\n return;\n }\n const stages = infectionOptions.stages,\n stagesCount = stages.length;\n if (stage > stagesCount || stage < minStage) {\n return;\n }\n infection.delay = 0;\n infection.delayStage = stage;\n }\n updateInfection(particle, delta) {\n const infectionOptions = this._container.actualOptions.infection,\n {\n infection\n } = particle;\n if (!infectionOptions || !infection) {\n return;\n }\n const stages = infectionOptions.stages,\n stagesCount = stages.length;\n if (infection.delay !== undefined && infection.delayStage !== undefined) {\n const stage = infection.delayStage;\n if (stage > stagesCount || stage < minStage) {\n return;\n }\n if (infection.delay >= infectionOptions.delay * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.millisecondsToSeconds) {\n infection.stage = stage;\n infection.time = 0;\n delete infection.delay;\n delete infection.delayStage;\n } else {\n infection.delay += delta;\n }\n } else {\n delete infection.delay;\n delete infection.delayStage;\n }\n if (infection.stage !== undefined && infection.time !== undefined) {\n const infectionStage = stages[infection.stage];\n if (infectionStage.duration !== undefined && infectionStage.duration >= minDuration) {\n if (infection.time > infectionStage.duration * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.millisecondsToSeconds) {\n this._nextInfectionStage(particle);\n } else {\n infection.time += delta;\n }\n } else {\n infection.time += delta;\n }\n } else {\n delete infection.stage;\n delete infection.time;\n }\n }\n updateInfectionStage(particle, stage) {\n const options = this._container.actualOptions,\n {\n infection\n } = particle;\n if (!options.infection || !infection) {\n return;\n }\n const stagesCount = options.infection.stages.length;\n if (stage > stagesCount || stage < minStage || infection.stage !== undefined && infection.stage > stage) {\n return;\n }\n infection.stage = stage;\n infection.time = 0;\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/infection/dist/browser/Infecter.js?");
27
+
28
+ /***/ }),
29
+
30
+ /***/ "../../plugins/infection/dist/browser/InfectionInstance.js":
31
+ /*!*****************************************************************!*\
32
+ !*** ../../plugins/infection/dist/browser/InfectionInstance.js ***!
33
+ \*****************************************************************/
34
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
35
+
36
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ InfectionInstance: () => (/* binding */ InfectionInstance)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n/* harmony import */ var _Infecter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Infecter.js */ \"../../plugins/infection/dist/browser/Infecter.js\");\n\n\nconst minStage = 0;\nclass InfectionInstance {\n constructor(container) {\n this._container = container;\n this._container.infecter = new _Infecter_js__WEBPACK_IMPORTED_MODULE_1__.Infecter(this._container);\n }\n particleFillColor(particle) {\n const options = this._container.actualOptions;\n if (!particle.infection || !options.infection) {\n return;\n }\n const infectionStage = particle.infection.stage,\n infection = options.infection,\n infectionStages = infection.stages;\n return infectionStage !== undefined ? infectionStages[infectionStage].color : undefined;\n }\n particleStrokeColor(particle) {\n return this.particleFillColor(particle);\n }\n particlesSetup() {\n const options = this._container.actualOptions;\n if (!options.infection) {\n return;\n }\n for (let i = 0; i < options.infection.infections; i++) {\n const notInfected = this._container.particles.filter(p => {\n const infP = p;\n if (!infP.infection) {\n infP.infection = {};\n }\n return infP.infection.stage === undefined;\n });\n const infected = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.itemFromArray)(notInfected);\n this._container.infecter?.startInfection(infected, minStage);\n }\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/infection/dist/browser/InfectionInstance.js?");
37
+
38
+ /***/ })
39
+
40
+ }]);
@@ -0,0 +1,50 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v3.2.1
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_infection_dist_browser_InfectionPlugin_js"],{
19
+
20
+ /***/ "../../plugins/infection/dist/browser/InfectionPlugin.js":
21
+ /*!***************************************************************!*\
22
+ !*** ../../plugins/infection/dist/browser/InfectionPlugin.js ***!
23
+ \***************************************************************/
24
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25
+
26
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ InfectionPlugin: () => (/* binding */ InfectionPlugin)\n/* harmony export */ });\n/* harmony import */ var _Options_Classes_Infection_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Options/Classes/Infection.js */ \"../../plugins/infection/dist/browser/Options/Classes/Infection.js\");\n\nclass InfectionPlugin {\n constructor() {\n this.id = \"infection\";\n }\n async getPlugin(container) {\n const {\n InfectionInstance\n } = await __webpack_require__.e(/*! import() */ \"plugins_infection_dist_browser_InfectionInstance_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./InfectionInstance.js */ \"../../plugins/infection/dist/browser/InfectionInstance.js\"));\n return new InfectionInstance(container);\n }\n loadOptions(options, source) {\n if (!this.needsPlugin(options) && !this.needsPlugin(source)) {\n return;\n }\n let infectionOptions = options.infection;\n if (infectionOptions?.load === undefined) {\n options.infection = infectionOptions = new _Options_Classes_Infection_js__WEBPACK_IMPORTED_MODULE_0__.Infection();\n }\n infectionOptions.load(source?.infection);\n }\n needsPlugin(options) {\n return options?.infection?.enable ?? false;\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/infection/dist/browser/InfectionPlugin.js?");
27
+
28
+ /***/ }),
29
+
30
+ /***/ "../../plugins/infection/dist/browser/Options/Classes/Infection.js":
31
+ /*!*************************************************************************!*\
32
+ !*** ../../plugins/infection/dist/browser/Options/Classes/Infection.js ***!
33
+ \*************************************************************************/
34
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
35
+
36
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Infection: () => (/* binding */ Infection)\n/* harmony export */ });\n/* harmony import */ var _InfectionStage_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./InfectionStage.js */ \"../../plugins/infection/dist/browser/Options/Classes/InfectionStage.js\");\n\nclass Infection {\n constructor() {\n this.cure = false;\n this.delay = 0;\n this.enable = false;\n this.infections = 0;\n this.stages = [];\n }\n load(data) {\n if (data === undefined) {\n return;\n }\n if (data.cure !== undefined) {\n this.cure = data.cure;\n }\n if (data.delay !== undefined) {\n this.delay = data.delay;\n }\n if (data.enable !== undefined) {\n this.enable = data.enable;\n }\n if (data.infections !== undefined) {\n this.infections = data.infections;\n }\n if (data.stages === undefined) {\n return;\n }\n this.stages = data.stages.map(t => {\n const s = new _InfectionStage_js__WEBPACK_IMPORTED_MODULE_0__.InfectionStage();\n s.load(t);\n return s;\n });\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/infection/dist/browser/Options/Classes/Infection.js?");
37
+
38
+ /***/ }),
39
+
40
+ /***/ "../../plugins/infection/dist/browser/Options/Classes/InfectionStage.js":
41
+ /*!******************************************************************************!*\
42
+ !*** ../../plugins/infection/dist/browser/Options/Classes/InfectionStage.js ***!
43
+ \******************************************************************************/
44
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
45
+
46
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ InfectionStage: () => (/* binding */ InfectionStage)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nclass InfectionStage {\n constructor() {\n this.color = new _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor();\n this.color.value = \"#ff0000\";\n this.radius = 0;\n this.rate = 1;\n }\n load(data) {\n if (data === undefined) {\n return;\n }\n if (data.color !== undefined) {\n this.color = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor.create(this.color, data.color);\n }\n this.duration = data.duration;\n this.infectedStage = data.infectedStage;\n if (data.radius !== undefined) {\n this.radius = data.radius;\n }\n if (data.rate !== undefined) {\n this.rate = data.rate;\n }\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/infection/dist/browser/Options/Classes/InfectionStage.js?");
47
+
48
+ /***/ })
49
+
50
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v3.2.1
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_infection_dist_browser_ParticlesInfecter_js"],{
19
+
20
+ /***/ "../../plugins/infection/dist/browser/ParticlesInfecter.js":
21
+ /*!*****************************************************************!*\
22
+ !*** ../../plugins/infection/dist/browser/ParticlesInfecter.js ***!
23
+ \*****************************************************************/
24
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25
+
26
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ParticlesInfecter: () => (/* binding */ ParticlesInfecter)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst minStagesCount = 1,\n double = 2;\nclass ParticlesInfecter extends _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ParticlesInteractorBase {\n constructor(container) {\n super(container);\n }\n clear() {}\n init() {}\n async interact(p1, delta) {\n const infecter = this.container.infecter;\n if (!infecter) {\n return;\n }\n infecter.updateInfection(p1, delta.value);\n if (p1.infection?.stage === undefined) {\n return;\n }\n const container = this.container,\n options = container.actualOptions,\n infectionOptions = options.infection;\n if (!infectionOptions?.enable || infectionOptions.stages.length < minStagesCount) {\n return;\n }\n const infectionStage1 = infectionOptions.stages[p1.infection.stage],\n pxRatio = container.retina.pixelRatio,\n radius = p1.getRadius() * double + infectionStage1.radius * pxRatio,\n pos = p1.getPosition(),\n infectedStage1 = infectionStage1.infectedStage ?? p1.infection.stage,\n query = container.particles.quadTree.queryCircle(pos, radius),\n infections = infectionStage1.rate,\n neighbors = query.length;\n for (const p2 of query) {\n const infP2 = p2;\n if (infP2 === p1 || infP2.destroyed || infP2.spawning || !(infP2.infection?.stage === undefined || infP2.infection.stage !== p1.infection.stage) || (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() >= infections / neighbors) {\n continue;\n }\n if (infP2.infection?.stage === undefined) {\n infecter.startInfection(infP2, infectedStage1);\n } else if (infP2.infection.stage < p1.infection.stage) {\n infecter.updateInfectionStage(infP2, infectedStage1);\n } else if (infP2.infection.stage > p1.infection.stage) {\n const infectionStage2 = infectionOptions.stages[infP2.infection.stage];\n const infectedStage2 = infectionStage2?.infectedStage ?? infP2.infection.stage;\n infecter.updateInfectionStage(p1, infectedStage2);\n }\n }\n await Promise.resolve();\n }\n isEnabled() {\n return this.container.actualOptions?.infection?.enable ?? false;\n }\n reset() {}\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/infection/dist/browser/ParticlesInfecter.js?");
27
+
28
+ /***/ })
29
+
30
+ }]);
@@ -0,0 +1,50 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v3.2.1
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_infection_dist_browser_index_js"],{
19
+
20
+ /***/ "../../plugins/infection/dist/browser/Options/Interfaces/IInfection.js":
21
+ /*!*****************************************************************************!*\
22
+ !*** ../../plugins/infection/dist/browser/Options/Interfaces/IInfection.js ***!
23
+ \*****************************************************************************/
24
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25
+
26
+ eval("__webpack_require__.r(__webpack_exports__);\n\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/infection/dist/browser/Options/Interfaces/IInfection.js?");
27
+
28
+ /***/ }),
29
+
30
+ /***/ "../../plugins/infection/dist/browser/Options/Interfaces/IInfectionStage.js":
31
+ /*!**********************************************************************************!*\
32
+ !*** ../../plugins/infection/dist/browser/Options/Interfaces/IInfectionStage.js ***!
33
+ \**********************************************************************************/
34
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
35
+
36
+ eval("__webpack_require__.r(__webpack_exports__);\n\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/infection/dist/browser/Options/Interfaces/IInfectionStage.js?");
37
+
38
+ /***/ }),
39
+
40
+ /***/ "../../plugins/infection/dist/browser/index.js":
41
+ /*!*****************************************************!*\
42
+ !*** ../../plugins/infection/dist/browser/index.js ***!
43
+ \*****************************************************/
44
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
45
+
46
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadInfectionPlugin: () => (/* binding */ loadInfectionPlugin)\n/* harmony export */ });\n/* harmony import */ var _Options_Interfaces_IInfection_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Options/Interfaces/IInfection.js */ \"../../plugins/infection/dist/browser/Options/Interfaces/IInfection.js\");\n/* harmony import */ var _Options_Interfaces_IInfectionStage_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Options/Interfaces/IInfectionStage.js */ \"../../plugins/infection/dist/browser/Options/Interfaces/IInfectionStage.js\");\nasync function loadInfectionPlugin(engine, refresh = true) {\n const {\n InfectionPlugin\n } = await __webpack_require__.e(/*! import() */ \"plugins_infection_dist_browser_InfectionPlugin_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./InfectionPlugin.js */ \"../../plugins/infection/dist/browser/InfectionPlugin.js\")),\n plugin = new InfectionPlugin();\n await engine.addPlugin(plugin, refresh);\n await engine.addInteractor(\"particlesInfection\", async container => {\n const {\n ParticlesInfecter\n } = await __webpack_require__.e(/*! import() */ \"plugins_infection_dist_browser_ParticlesInfecter_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./ParticlesInfecter.js */ \"../../plugins/infection/dist/browser/ParticlesInfecter.js\"));\n return new ParticlesInfecter(container);\n }, refresh);\n}\n\n\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/infection/dist/browser/index.js?");
47
+
48
+ /***/ })
49
+
50
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v3.2.1
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_motion_dist_browser_MotionInstance_js"],{
19
+
20
+ /***/ "../../plugins/motion/dist/browser/MotionInstance.js":
21
+ /*!***********************************************************!*\
22
+ !*** ../../plugins/motion/dist/browser/MotionInstance.js ***!
23
+ \***********************************************************/
24
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25
+
26
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ MotionInstance: () => (/* binding */ MotionInstance)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst defaultFactor = 1,\n defaultReduce = 0,\n identity = 1;\nclass MotionInstance {\n constructor(container, engine) {\n this._handleMotionChange = mediaQuery => {\n const container = this._container,\n motion = container.actualOptions.motion;\n if (!motion) {\n return;\n }\n if (mediaQuery.matches) {\n if (motion.disable) {\n container.retina.reduceFactor = defaultReduce;\n } else {\n container.retina.reduceFactor = motion.reduce.value ? identity / motion.reduce.factor : defaultFactor;\n }\n } else {\n container.retina.reduceFactor = 1;\n }\n };\n this._container = container;\n this._engine = engine;\n }\n async init() {\n const container = this._container,\n options = container.actualOptions.motion;\n if (!(options && (options.disable || options.reduce.value))) {\n container.retina.reduceFactor = 1;\n return;\n }\n const mediaQuery = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.safeMatchMedia)(\"(prefers-reduced-motion: reduce)\");\n if (!mediaQuery) {\n container.retina.reduceFactor = defaultFactor;\n return;\n }\n this._handleMotionChange(mediaQuery);\n const handleChange = () => {\n void (async () => {\n this._handleMotionChange(mediaQuery);\n try {\n await container.refresh();\n } catch {}\n })();\n };\n if (mediaQuery.addEventListener !== undefined) {\n mediaQuery.addEventListener(\"change\", handleChange);\n } else if (mediaQuery.addListener !== undefined) {\n mediaQuery.addListener(handleChange);\n }\n await Promise.resolve();\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/motion/dist/browser/MotionInstance.js?");
27
+
28
+ /***/ })
29
+
30
+ }]);
@@ -0,0 +1,50 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v3.2.1
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_motion_dist_browser_MotionPlugin_js"],{
19
+
20
+ /***/ "../../plugins/motion/dist/browser/MotionPlugin.js":
21
+ /*!*********************************************************!*\
22
+ !*** ../../plugins/motion/dist/browser/MotionPlugin.js ***!
23
+ \*********************************************************/
24
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25
+
26
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ MotionPlugin: () => (/* binding */ MotionPlugin)\n/* harmony export */ });\n/* harmony import */ var _Options_Classes_Motion_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Options/Classes/Motion.js */ \"../../plugins/motion/dist/browser/Options/Classes/Motion.js\");\n\nclass MotionPlugin {\n constructor(engine) {\n this.id = \"motion\";\n this._engine = engine;\n }\n async getPlugin(container) {\n const {\n MotionInstance\n } = await __webpack_require__.e(/*! import() */ \"plugins_motion_dist_browser_MotionInstance_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./MotionInstance.js */ \"../../plugins/motion/dist/browser/MotionInstance.js\"));\n return new MotionInstance(container, this._engine);\n }\n loadOptions(options, source) {\n if (!this.needsPlugin()) {\n return;\n }\n let motionOptions = options.motion;\n if (!motionOptions?.load) {\n options.motion = motionOptions = new _Options_Classes_Motion_js__WEBPACK_IMPORTED_MODULE_0__.Motion();\n }\n motionOptions.load(source?.motion);\n }\n needsPlugin() {\n return true;\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/motion/dist/browser/MotionPlugin.js?");
27
+
28
+ /***/ }),
29
+
30
+ /***/ "../../plugins/motion/dist/browser/Options/Classes/Motion.js":
31
+ /*!*******************************************************************!*\
32
+ !*** ../../plugins/motion/dist/browser/Options/Classes/Motion.js ***!
33
+ \*******************************************************************/
34
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
35
+
36
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Motion: () => (/* binding */ Motion)\n/* harmony export */ });\n/* harmony import */ var _MotionReduce_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MotionReduce.js */ \"../../plugins/motion/dist/browser/Options/Classes/MotionReduce.js\");\n\nclass Motion {\n constructor() {\n this.disable = false;\n this.reduce = new _MotionReduce_js__WEBPACK_IMPORTED_MODULE_0__.MotionReduce();\n }\n load(data) {\n if (!data) {\n return;\n }\n if (data.disable !== undefined) {\n this.disable = data.disable;\n }\n this.reduce.load(data.reduce);\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/motion/dist/browser/Options/Classes/Motion.js?");
37
+
38
+ /***/ }),
39
+
40
+ /***/ "../../plugins/motion/dist/browser/Options/Classes/MotionReduce.js":
41
+ /*!*************************************************************************!*\
42
+ !*** ../../plugins/motion/dist/browser/Options/Classes/MotionReduce.js ***!
43
+ \*************************************************************************/
44
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
45
+
46
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ MotionReduce: () => (/* binding */ MotionReduce)\n/* harmony export */ });\nclass MotionReduce {\n constructor() {\n this.factor = 4;\n this.value = true;\n }\n load(data) {\n if (!data) {\n return;\n }\n if (data.factor !== undefined) {\n this.factor = data.factor;\n }\n if (data.value !== undefined) {\n this.value = data.value;\n }\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/motion/dist/browser/Options/Classes/MotionReduce.js?");
47
+
48
+ /***/ })
49
+
50
+ }]);