@tsparticles/all 3.2.2 → 3.4.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.
- package/README.md +1 -1
- package/browser/bundle.js +0 -2
- package/browser/index.js +48 -1
- package/cjs/bundle.js +0 -2
- package/cjs/index.js +95 -71
- package/esm/bundle.js +0 -2
- package/esm/index.js +48 -1
- package/package.json +49 -48
- package/report.html +1 -1
- package/tsparticles.all.bundle.js +4224 -302
- package/tsparticles.all.bundle.min.js +1 -1
- package/tsparticles.all.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.all.js +24 -32
- package/tsparticles.all.min.js +1 -1
- package/tsparticles.all.min.js.LICENSE.txt +1 -1
- package/umd/bundle.js +1 -3
- package/umd/index.js +96 -73
- package/1011.min.js +0 -2
- package/1011.min.js.LICENSE.txt +0 -1
- package/1030.min.js +0 -2
- package/1030.min.js.LICENSE.txt +0 -1
- package/1122.min.js +0 -2
- package/1122.min.js.LICENSE.txt +0 -1
- package/1147.min.js +0 -2
- package/1147.min.js.LICENSE.txt +0 -1
- package/1163.min.js +0 -2
- package/1163.min.js.LICENSE.txt +0 -1
- package/1188.min.js +0 -2
- package/1188.min.js.LICENSE.txt +0 -1
- package/1196.min.js +0 -2
- package/1196.min.js.LICENSE.txt +0 -1
- package/1264.min.js +0 -2
- package/1264.min.js.LICENSE.txt +0 -1
- package/1299.min.js +0 -2
- package/1299.min.js.LICENSE.txt +0 -1
- package/1308.min.js +0 -2
- package/1308.min.js.LICENSE.txt +0 -1
- package/1317.min.js +0 -2
- package/1317.min.js.LICENSE.txt +0 -1
- package/1332.min.js +0 -2
- package/1332.min.js.LICENSE.txt +0 -1
- package/1364.min.js +0 -2
- package/1364.min.js.LICENSE.txt +0 -1
- package/1472.min.js +0 -2
- package/1472.min.js.LICENSE.txt +0 -1
- package/1490.min.js +0 -2
- package/1490.min.js.LICENSE.txt +0 -1
- package/1492.min.js +0 -2
- package/1492.min.js.LICENSE.txt +0 -1
- package/1513.min.js +0 -2
- package/1513.min.js.LICENSE.txt +0 -1
- package/1539.min.js +0 -2
- package/1539.min.js.LICENSE.txt +0 -1
- package/1705.min.js +0 -2
- package/1705.min.js.LICENSE.txt +0 -1
- package/1708.min.js +0 -2
- package/1708.min.js.LICENSE.txt +0 -1
- package/1769.min.js +0 -2
- package/1769.min.js.LICENSE.txt +0 -1
- package/1808.min.js +0 -2
- package/1808.min.js.LICENSE.txt +0 -1
- package/1810.min.js +0 -2
- package/1810.min.js.LICENSE.txt +0 -1
- package/1831.min.js +0 -2
- package/1831.min.js.LICENSE.txt +0 -1
- package/1912.min.js +0 -2
- package/1912.min.js.LICENSE.txt +0 -1
- package/1916.min.js +0 -2
- package/1916.min.js.LICENSE.txt +0 -1
- package/1952.min.js +0 -2
- package/1952.min.js.LICENSE.txt +0 -1
- package/196.min.js +0 -2
- package/196.min.js.LICENSE.txt +0 -1
- package/197.min.js +0 -2
- package/197.min.js.LICENSE.txt +0 -1
- package/1982.min.js +0 -2
- package/1982.min.js.LICENSE.txt +0 -1
- package/208.min.js +0 -2
- package/208.min.js.LICENSE.txt +0 -1
- package/2081.min.js +0 -2
- package/2081.min.js.LICENSE.txt +0 -1
- package/2121.min.js +0 -2
- package/2121.min.js.LICENSE.txt +0 -1
- package/2124.min.js +0 -2
- package/2124.min.js.LICENSE.txt +0 -1
- package/2173.min.js +0 -2
- package/2173.min.js.LICENSE.txt +0 -1
- package/2200.min.js +0 -2
- package/2200.min.js.LICENSE.txt +0 -1
- package/2227.min.js +0 -2
- package/2227.min.js.LICENSE.txt +0 -1
- package/2281.min.js +0 -2
- package/2281.min.js.LICENSE.txt +0 -1
- package/231.min.js +0 -2
- package/231.min.js.LICENSE.txt +0 -1
- package/2397.min.js +0 -2
- package/2397.min.js.LICENSE.txt +0 -1
- package/2407.min.js +0 -2
- package/2407.min.js.LICENSE.txt +0 -1
- package/2486.min.js +0 -2
- package/2486.min.js.LICENSE.txt +0 -1
- package/255.min.js +0 -2
- package/255.min.js.LICENSE.txt +0 -1
- package/256.min.js +0 -2
- package/256.min.js.LICENSE.txt +0 -1
- package/2580.min.js +0 -2
- package/2580.min.js.LICENSE.txt +0 -1
- package/2628.min.js +0 -2
- package/2628.min.js.LICENSE.txt +0 -1
- package/2720.min.js +0 -2
- package/2720.min.js.LICENSE.txt +0 -1
- package/2765.min.js +0 -2
- package/2765.min.js.LICENSE.txt +0 -1
- package/2870.min.js +0 -2
- package/2870.min.js.LICENSE.txt +0 -1
- package/2890.min.js +0 -2
- package/2890.min.js.LICENSE.txt +0 -1
- package/2899.min.js +0 -2
- package/2899.min.js.LICENSE.txt +0 -1
- package/290.min.js +0 -2
- package/290.min.js.LICENSE.txt +0 -1
- package/294.min.js +0 -2
- package/294.min.js.LICENSE.txt +0 -1
- package/2946.min.js +0 -2
- package/2946.min.js.LICENSE.txt +0 -1
- package/3054.min.js +0 -2
- package/3054.min.js.LICENSE.txt +0 -1
- package/3134.min.js +0 -2
- package/3134.min.js.LICENSE.txt +0 -1
- package/3141.min.js +0 -2
- package/3141.min.js.LICENSE.txt +0 -1
- package/3196.min.js +0 -2
- package/3196.min.js.LICENSE.txt +0 -1
- package/3255.min.js +0 -2
- package/3255.min.js.LICENSE.txt +0 -1
- package/3261.min.js +0 -2
- package/3261.min.js.LICENSE.txt +0 -1
- package/3411.min.js +0 -2
- package/3411.min.js.LICENSE.txt +0 -1
- package/3457.min.js +0 -2
- package/3457.min.js.LICENSE.txt +0 -1
- package/3468.min.js +0 -2
- package/3468.min.js.LICENSE.txt +0 -1
- package/3473.min.js +0 -2
- package/3473.min.js.LICENSE.txt +0 -1
- package/3486.min.js +0 -2
- package/3486.min.js.LICENSE.txt +0 -1
- package/3517.min.js +0 -2
- package/3517.min.js.LICENSE.txt +0 -1
- package/3597.min.js +0 -2
- package/3597.min.js.LICENSE.txt +0 -1
- package/3610.min.js +0 -2
- package/3610.min.js.LICENSE.txt +0 -1
- package/3629.min.js +0 -2
- package/3629.min.js.LICENSE.txt +0 -1
- package/3648.min.js +0 -2
- package/3648.min.js.LICENSE.txt +0 -1
- package/3685.min.js +0 -2
- package/3685.min.js.LICENSE.txt +0 -1
- package/3699.min.js +0 -2
- package/3699.min.js.LICENSE.txt +0 -1
- package/3705.min.js +0 -2
- package/3705.min.js.LICENSE.txt +0 -1
- package/3733.min.js +0 -2
- package/3733.min.js.LICENSE.txt +0 -1
- package/3817.min.js +0 -2
- package/3817.min.js.LICENSE.txt +0 -1
- package/3837.min.js +0 -2
- package/3837.min.js.LICENSE.txt +0 -1
- package/384.min.js +0 -2
- package/384.min.js.LICENSE.txt +0 -1
- package/3862.min.js +0 -2
- package/3862.min.js.LICENSE.txt +0 -1
- package/3869.min.js +0 -2
- package/3869.min.js.LICENSE.txt +0 -1
- package/3904.min.js +0 -2
- package/3904.min.js.LICENSE.txt +0 -1
- package/4011.min.js +0 -2
- package/4011.min.js.LICENSE.txt +0 -1
- package/4037.min.js +0 -2
- package/4037.min.js.LICENSE.txt +0 -1
- package/4043.min.js +0 -2
- package/4043.min.js.LICENSE.txt +0 -1
- package/409.min.js +0 -2
- package/409.min.js.LICENSE.txt +0 -1
- package/4098.min.js +0 -2
- package/4098.min.js.LICENSE.txt +0 -1
- package/4116.min.js +0 -2
- package/4116.min.js.LICENSE.txt +0 -1
- package/4122.min.js +0 -2
- package/4122.min.js.LICENSE.txt +0 -1
- package/4127.min.js +0 -2
- package/4127.min.js.LICENSE.txt +0 -1
- package/4176.min.js +0 -2
- package/4176.min.js.LICENSE.txt +0 -1
- package/4245.min.js +0 -2
- package/4245.min.js.LICENSE.txt +0 -1
- package/4271.min.js +0 -2
- package/4271.min.js.LICENSE.txt +0 -1
- package/4314.min.js +0 -2
- package/4314.min.js.LICENSE.txt +0 -1
- package/4328.min.js +0 -2
- package/4328.min.js.LICENSE.txt +0 -1
- package/4342.min.js +0 -2
- package/4342.min.js.LICENSE.txt +0 -1
- package/4380.min.js +0 -2
- package/4380.min.js.LICENSE.txt +0 -1
- package/4396.min.js +0 -2
- package/4396.min.js.LICENSE.txt +0 -1
- package/4438.min.js +0 -2
- package/4438.min.js.LICENSE.txt +0 -1
- package/4515.min.js +0 -2
- package/4515.min.js.LICENSE.txt +0 -1
- package/4522.min.js +0 -2
- package/4522.min.js.LICENSE.txt +0 -1
- package/4547.min.js +0 -2
- package/4547.min.js.LICENSE.txt +0 -1
- package/4595.min.js +0 -2
- package/4595.min.js.LICENSE.txt +0 -1
- package/4662.min.js +0 -2
- package/4662.min.js.LICENSE.txt +0 -1
- package/4687.min.js +0 -2
- package/4687.min.js.LICENSE.txt +0 -1
- package/4717.min.js +0 -2
- package/4717.min.js.LICENSE.txt +0 -1
- package/4732.min.js +0 -2
- package/4732.min.js.LICENSE.txt +0 -1
- package/4737.min.js +0 -2
- package/4737.min.js.LICENSE.txt +0 -1
- package/4744.min.js +0 -2
- package/4744.min.js.LICENSE.txt +0 -1
- package/4766.min.js +0 -2
- package/4766.min.js.LICENSE.txt +0 -1
- package/4794.min.js +0 -2
- package/4794.min.js.LICENSE.txt +0 -1
- package/482.min.js +0 -2
- package/482.min.js.LICENSE.txt +0 -1
- package/485.min.js +0 -2
- package/485.min.js.LICENSE.txt +0 -1
- package/4866.min.js +0 -2
- package/4866.min.js.LICENSE.txt +0 -1
- package/4922.min.js +0 -2
- package/4922.min.js.LICENSE.txt +0 -1
- package/4973.min.js +0 -2
- package/4973.min.js.LICENSE.txt +0 -1
- package/4994.min.js +0 -2
- package/4994.min.js.LICENSE.txt +0 -1
- package/5010.min.js +0 -2
- package/5010.min.js.LICENSE.txt +0 -1
- package/5034.min.js +0 -2
- package/5034.min.js.LICENSE.txt +0 -1
- package/5075.min.js +0 -2
- package/5075.min.js.LICENSE.txt +0 -1
- package/5092.min.js +0 -2
- package/5092.min.js.LICENSE.txt +0 -1
- package/5120.min.js +0 -2
- package/5120.min.js.LICENSE.txt +0 -1
- package/5171.min.js +0 -2
- package/5171.min.js.LICENSE.txt +0 -1
- package/5243.min.js +0 -2
- package/5243.min.js.LICENSE.txt +0 -1
- package/5245.min.js +0 -2
- package/5245.min.js.LICENSE.txt +0 -1
- package/5250.min.js +0 -2
- package/5250.min.js.LICENSE.txt +0 -1
- package/5274.min.js +0 -2
- package/5274.min.js.LICENSE.txt +0 -1
- package/5308.min.js +0 -2
- package/5308.min.js.LICENSE.txt +0 -1
- package/5329.min.js +0 -2
- package/5329.min.js.LICENSE.txt +0 -1
- package/533.min.js +0 -2
- package/533.min.js.LICENSE.txt +0 -1
- package/5337.min.js +0 -2
- package/5337.min.js.LICENSE.txt +0 -1
- package/5437.min.js +0 -2
- package/5437.min.js.LICENSE.txt +0 -1
- package/5444.min.js +0 -2
- package/5444.min.js.LICENSE.txt +0 -1
- package/548.min.js +0 -2
- package/548.min.js.LICENSE.txt +0 -1
- package/5523.min.js +0 -2
- package/5523.min.js.LICENSE.txt +0 -1
- package/5534.min.js +0 -2
- package/5534.min.js.LICENSE.txt +0 -1
- package/5537.min.js +0 -2
- package/5537.min.js.LICENSE.txt +0 -1
- package/5582.min.js +0 -2
- package/5582.min.js.LICENSE.txt +0 -1
- package/560.min.js +0 -2
- package/560.min.js.LICENSE.txt +0 -1
- package/5647.min.js +0 -2
- package/5647.min.js.LICENSE.txt +0 -1
- package/5683.min.js +0 -2
- package/5683.min.js.LICENSE.txt +0 -1
- package/571.min.js +0 -2
- package/571.min.js.LICENSE.txt +0 -1
- package/5715.min.js +0 -2
- package/5715.min.js.LICENSE.txt +0 -1
- package/5742.min.js +0 -2
- package/5742.min.js.LICENSE.txt +0 -1
- package/5754.min.js +0 -2
- package/5754.min.js.LICENSE.txt +0 -1
- package/5819.min.js +0 -2
- package/5819.min.js.LICENSE.txt +0 -1
- package/5841.min.js +0 -2
- package/5841.min.js.LICENSE.txt +0 -1
- package/5852.min.js +0 -2
- package/5852.min.js.LICENSE.txt +0 -1
- package/599.min.js +0 -2
- package/599.min.js.LICENSE.txt +0 -1
- package/6004.min.js +0 -2
- package/6004.min.js.LICENSE.txt +0 -1
- package/6067.min.js +0 -2
- package/6067.min.js.LICENSE.txt +0 -1
- package/6072.min.js +0 -2
- package/6072.min.js.LICENSE.txt +0 -1
- package/6132.min.js +0 -2
- package/6132.min.js.LICENSE.txt +0 -1
- package/6152.min.js +0 -2
- package/6152.min.js.LICENSE.txt +0 -1
- package/6540.min.js +0 -2
- package/6540.min.js.LICENSE.txt +0 -1
- package/655.min.js +0 -2
- package/655.min.js.LICENSE.txt +0 -1
- package/6551.min.js +0 -2
- package/6551.min.js.LICENSE.txt +0 -1
- package/6634.min.js +0 -2
- package/6634.min.js.LICENSE.txt +0 -1
- package/675.min.js +0 -2
- package/675.min.js.LICENSE.txt +0 -1
- package/6763.min.js +0 -2
- package/6763.min.js.LICENSE.txt +0 -1
- package/6772.min.js +0 -2
- package/6772.min.js.LICENSE.txt +0 -1
- package/6803.min.js +0 -2
- package/6803.min.js.LICENSE.txt +0 -1
- package/69.min.js +0 -2
- package/69.min.js.LICENSE.txt +0 -1
- package/7002.min.js +0 -2
- package/7002.min.js.LICENSE.txt +0 -1
- package/7031.min.js +0 -2
- package/7031.min.js.LICENSE.txt +0 -1
- package/7049.min.js +0 -2
- package/7049.min.js.LICENSE.txt +0 -1
- package/7077.min.js +0 -2
- package/7077.min.js.LICENSE.txt +0 -1
- package/7103.min.js +0 -2
- package/7103.min.js.LICENSE.txt +0 -1
- package/7108.min.js +0 -2
- package/7108.min.js.LICENSE.txt +0 -1
- package/7139.min.js +0 -2
- package/7139.min.js.LICENSE.txt +0 -1
- package/7331.min.js +0 -2
- package/7331.min.js.LICENSE.txt +0 -1
- package/7441.min.js +0 -2
- package/7441.min.js.LICENSE.txt +0 -1
- package/7500.min.js +0 -2
- package/7500.min.js.LICENSE.txt +0 -1
- package/7517.min.js +0 -2
- package/7517.min.js.LICENSE.txt +0 -1
- package/7687.min.js +0 -2
- package/7687.min.js.LICENSE.txt +0 -1
- package/7697.min.js +0 -2
- package/7697.min.js.LICENSE.txt +0 -1
- package/7704.min.js +0 -2
- package/7704.min.js.LICENSE.txt +0 -1
- package/7725.min.js +0 -2
- package/7725.min.js.LICENSE.txt +0 -1
- package/7757.min.js +0 -2
- package/7757.min.js.LICENSE.txt +0 -1
- package/7769.min.js +0 -2
- package/7769.min.js.LICENSE.txt +0 -1
- package/7794.min.js +0 -2
- package/7794.min.js.LICENSE.txt +0 -1
- package/7835.min.js +0 -2
- package/7835.min.js.LICENSE.txt +0 -1
- package/7859.min.js +0 -2
- package/7859.min.js.LICENSE.txt +0 -1
- package/7886.min.js +0 -2
- package/7886.min.js.LICENSE.txt +0 -1
- package/7890.min.js +0 -2
- package/7890.min.js.LICENSE.txt +0 -1
- package/7900.min.js +0 -2
- package/7900.min.js.LICENSE.txt +0 -1
- package/7919.min.js +0 -2
- package/7919.min.js.LICENSE.txt +0 -1
- package/8000.min.js +0 -2
- package/8000.min.js.LICENSE.txt +0 -1
- package/801.min.js +0 -2
- package/801.min.js.LICENSE.txt +0 -1
- package/8060.min.js +0 -2
- package/8060.min.js.LICENSE.txt +0 -1
- package/8088.min.js +0 -2
- package/8088.min.js.LICENSE.txt +0 -1
- package/8127.min.js +0 -2
- package/8127.min.js.LICENSE.txt +0 -1
- package/8158.min.js +0 -2
- package/8158.min.js.LICENSE.txt +0 -1
- package/8179.min.js +0 -2
- package/8179.min.js.LICENSE.txt +0 -1
- package/8346.min.js +0 -2
- package/8346.min.js.LICENSE.txt +0 -1
- package/8361.min.js +0 -2
- package/8361.min.js.LICENSE.txt +0 -1
- package/8445.min.js +0 -2
- package/8445.min.js.LICENSE.txt +0 -1
- package/861.min.js +0 -2
- package/861.min.js.LICENSE.txt +0 -1
- package/8638.min.js +0 -2
- package/8638.min.js.LICENSE.txt +0 -1
- package/8739.min.js +0 -2
- package/8739.min.js.LICENSE.txt +0 -1
- package/8852.min.js +0 -2
- package/8852.min.js.LICENSE.txt +0 -1
- package/8883.min.js +0 -2
- package/8883.min.js.LICENSE.txt +0 -1
- package/889.min.js +0 -2
- package/889.min.js.LICENSE.txt +0 -1
- package/9033.min.js +0 -2
- package/9033.min.js.LICENSE.txt +0 -1
- package/9062.min.js +0 -2
- package/9062.min.js.LICENSE.txt +0 -1
- package/9087.min.js +0 -2
- package/9087.min.js.LICENSE.txt +0 -1
- package/9121.min.js +0 -2
- package/9121.min.js.LICENSE.txt +0 -1
- package/9126.min.js +0 -2
- package/9126.min.js.LICENSE.txt +0 -1
- package/9133.min.js +0 -2
- package/9133.min.js.LICENSE.txt +0 -1
- package/9251.min.js +0 -2
- package/9251.min.js.LICENSE.txt +0 -1
- package/9257.min.js +0 -2
- package/9257.min.js.LICENSE.txt +0 -1
- package/9331.min.js +0 -2
- package/9331.min.js.LICENSE.txt +0 -1
- package/9376.min.js +0 -2
- package/9376.min.js.LICENSE.txt +0 -1
- package/9392.min.js +0 -2
- package/9392.min.js.LICENSE.txt +0 -1
- package/9431.min.js +0 -2
- package/9431.min.js.LICENSE.txt +0 -1
- package/95.min.js +0 -2
- package/95.min.js.LICENSE.txt +0 -1
- package/952.min.js +0 -2
- package/952.min.js.LICENSE.txt +0 -1
- package/9530.min.js +0 -2
- package/9530.min.js.LICENSE.txt +0 -1
- package/9532.min.js +0 -2
- package/9532.min.js.LICENSE.txt +0 -1
- package/9588.min.js +0 -2
- package/9588.min.js.LICENSE.txt +0 -1
- package/9674.min.js +0 -2
- package/9674.min.js.LICENSE.txt +0 -1
- package/9803.min.js +0 -2
- package/9803.min.js.LICENSE.txt +0 -1
- package/9806.min.js +0 -2
- package/9806.min.js.LICENSE.txt +0 -1
- package/9836.min.js +0 -2
- package/9836.min.js.LICENSE.txt +0 -1
- package/9845.min.js +0 -2
- package/9845.min.js.LICENSE.txt +0 -1
- package/9921.min.js +0 -2
- package/9921.min.js.LICENSE.txt +0 -1
- package/9937.min.js +0 -2
- package/9937.min.js.LICENSE.txt +0 -1
- package/9979.min.js +0 -2
- package/9979.min.js.LICENSE.txt +0 -1
- package/basic_dist_browser_index_js.js +0 -30
- package/effects_bubble_dist_browser_BubbleDrawer_js.js +0 -30
- package/effects_bubble_dist_browser_index_js.js +0 -30
- package/effects_trail_dist_browser_TrailDrawer_js.js +0 -30
- package/effects_trail_dist_browser_index_js.js +0 -30
- package/engine_dist_browser_Core_Container_js.js +0 -90
- package/engine_dist_browser_Core_Particle_js.js +0 -30
- package/full_dist_browser_index_js.js +0 -30
- package/interactions_external_attract_dist_browser_Attractor_js.js +0 -30
- package/interactions_external_attract_dist_browser_Utils_js.js +0 -30
- package/interactions_external_attract_dist_browser_index_js.js +0 -50
- package/interactions_external_bounce_dist_browser_Bouncer_js.js +0 -30
- package/interactions_external_bounce_dist_browser_Utils_js.js +0 -30
- package/interactions_external_bounce_dist_browser_index_js.js +0 -50
- package/interactions_external_bubble_dist_browser_Bubbler_js.js +0 -40
- package/interactions_external_bubble_dist_browser_index_js.js +0 -90
- package/interactions_external_connect_dist_browser_Connector_js.js +0 -40
- package/interactions_external_connect_dist_browser_index_js.js +0 -70
- package/interactions_external_grab_dist_browser_Grabber_js.js +0 -40
- package/interactions_external_grab_dist_browser_index_js.js +0 -70
- package/interactions_external_particle_dist_browser_InteractivityParticleMaker_js.js +0 -40
- package/interactions_external_particle_dist_browser_index_js.js +0 -30
- package/interactions_external_pause_dist_browser_Pauser_js.js +0 -30
- package/interactions_external_pause_dist_browser_index_js.js +0 -30
- package/interactions_external_pop_dist_browser_Popper_js.js +0 -30
- package/interactions_external_pop_dist_browser_index_js.js +0 -30
- package/interactions_external_push_dist_browser_Pusher_js.js +0 -30
- package/interactions_external_push_dist_browser_index_js.js +0 -50
- package/interactions_external_remove_dist_browser_Remover_js.js +0 -30
- package/interactions_external_remove_dist_browser_index_js.js +0 -50
- package/interactions_external_repulse_dist_browser_Repulser_js.js +0 -30
- package/interactions_external_repulse_dist_browser_index_js.js +0 -90
- package/interactions_external_slow_dist_browser_Slower_js.js +0 -30
- package/interactions_external_slow_dist_browser_index_js.js +0 -50
- package/interactions_external_trail_dist_browser_TrailMaker_js.js +0 -30
- package/interactions_external_trail_dist_browser_index_js.js +0 -50
- package/interactions_light_dist_browser_ExternalLighter_js.js +0 -40
- package/interactions_light_dist_browser_ParticlesLighter_js.js +0 -40
- package/interactions_light_dist_browser_index_js.js +0 -110
- package/interactions_particles_attract_dist_browser_Attractor_js.js +0 -30
- package/interactions_particles_attract_dist_browser_index_js.js +0 -30
- package/interactions_particles_collisions_dist_browser_Absorb_js.js +0 -30
- package/interactions_particles_collisions_dist_browser_Bounce_js.js +0 -30
- package/interactions_particles_collisions_dist_browser_Collider_js.js +0 -40
- package/interactions_particles_collisions_dist_browser_Destroy_js.js +0 -40
- package/interactions_particles_collisions_dist_browser_index_js.js +0 -30
- package/interactions_particles_links_dist_browser_CircleWarp_js.js +0 -30
- package/interactions_particles_links_dist_browser_LinkInstance_js.js +0 -40
- package/interactions_particles_links_dist_browser_Linker_js.js +0 -30
- package/interactions_particles_links_dist_browser_LinksPlugin_js.js +0 -30
- package/interactions_particles_links_dist_browser_index_js.js +0 -90
- package/interactions_particles_links_dist_browser_interaction_js.js +0 -30
- package/interactions_particles_links_dist_browser_plugin_js.js +0 -30
- package/interactions_particles_repulse_dist_browser_Repulser_js.js +0 -40
- package/interactions_particles_repulse_dist_browser_index_js.js +0 -30
- package/move_base_dist_browser_BaseMover_js.js +0 -30
- package/move_base_dist_browser_Utils_js.js +0 -30
- package/move_base_dist_browser_index_js.js +0 -30
- package/move_parallax_dist_browser_ParallaxMover_js.js +0 -30
- package/move_parallax_dist_browser_index_js.js +0 -30
- package/paths_curlNoise_dist_browser_CurlNoiseGenerator_js.js +0 -30
- package/paths_curlNoise_dist_browser_index_js.js +0 -30
- package/paths_curves_dist_browser_CurvesPathGenerator_js.js +0 -30
- package/paths_curves_dist_browser_Curves_js.js +0 -30
- package/paths_curves_dist_browser_index_js.js +0 -30
- package/paths_perlinNoise_dist_browser_PerlinNoiseGenerator_js.js +0 -60
- package/paths_perlinNoise_dist_browser_index_js.js +0 -30
- package/paths_polygon_dist_browser_PolygonPathGenerator_js.js +0 -30
- package/paths_polygon_dist_browser_index_js.js +0 -30
- package/paths_simplexNoise_dist_browser_SimplexNoiseGenerator_js.js +0 -30
- package/paths_simplexNoise_dist_browser_index_js.js +0 -30
- package/paths_svg_dist_browser_SVGPathGenerator_js.js +0 -30
- package/paths_svg_dist_browser_index_js.js +0 -30
- package/paths_zigzag_dist_browser_ZigZagPathGenerator_js.js +0 -30
- package/paths_zigzag_dist_browser_index_js.js +0 -30
- package/pjs_dist_browser_index_js.js +0 -50
- package/plugins_absorbers_dist_browser_AbsorberInstance_js.js +0 -30
- package/plugins_absorbers_dist_browser_AbsorbersPlugin_js.js +0 -60
- package/plugins_absorbers_dist_browser_Absorbers_js.js +0 -30
- package/plugins_absorbers_dist_browser_index_js.js +0 -50
- package/plugins_canvasMask_dist_browser_CanvasMaskInstance_js.js +0 -40
- package/plugins_canvasMask_dist_browser_CanvasMaskPlugin_js.js +0 -100
- package/plugins_canvasMask_dist_browser_index_js.js +0 -30
- package/plugins_easings_back_dist_browser_index_js.js +0 -30
- package/plugins_easings_circ_dist_browser_index_js.js +0 -30
- package/plugins_easings_cubic_dist_browser_index_js.js +0 -30
- package/plugins_easings_expo_dist_browser_index_js.js +0 -30
- package/plugins_easings_linear_dist_browser_index_js.js +0 -30
- package/plugins_easings_quad_dist_browser_index_js.js +0 -30
- package/plugins_easings_quart_dist_browser_index_js.js +0 -30
- package/plugins_easings_quint_dist_browser_index_js.js +0 -30
- package/plugins_easings_sine_dist_browser_index_js.js +0 -30
- package/plugins_emittersShapes_canvas_dist_browser_EmittersCanvasShapeGenerator_js.js +0 -180
- package/plugins_emittersShapes_canvas_dist_browser_index_js.js +0 -30
- package/plugins_emittersShapes_circle_dist_browser_EmittersCircleShapeGenerator_js.js +0 -120
- package/plugins_emittersShapes_circle_dist_browser_index_js.js +0 -30
- package/plugins_emittersShapes_path_dist_browser_EmittersPathShapeGenerator_js.js +0 -140
- package/plugins_emittersShapes_path_dist_browser_index_js.js +0 -30
- package/plugins_emittersShapes_polygon_dist_browser_EmittersPolygonShapeGenerator_js.js +0 -140
- package/plugins_emittersShapes_polygon_dist_browser_index_js.js +0 -30
- package/plugins_emittersShapes_square_dist_browser_EmittersSquareShapeGenerator_js.js +0 -120
- package/plugins_emittersShapes_square_dist_browser_index_js.js +0 -30
- package/plugins_emitters_dist_browser_EmitterInstance_js.js +0 -30
- package/plugins_emitters_dist_browser_EmittersPlugin_js.js +0 -90
- package/plugins_emitters_dist_browser_Emitters_js.js +0 -30
- package/plugins_emitters_dist_browser_ShapeManager_js.js +0 -30
- package/plugins_emitters_dist_browser_index_js.js +0 -100
- package/plugins_exports_image_dist_browser_ExportImageInstance_js.js +0 -30
- package/plugins_exports_image_dist_browser_ExportImagePlugin_js.js +0 -30
- package/plugins_exports_image_dist_browser_index_js.js +0 -30
- package/plugins_exports_json_dist_browser_ExportJSONInstance_js.js +0 -30
- package/plugins_exports_json_dist_browser_ExportJSONPlugin_js.js +0 -30
- package/plugins_exports_json_dist_browser_index_js.js +0 -30
- package/plugins_exports_video_dist_browser_ExportVideoInstance_js.js +0 -30
- package/plugins_exports_video_dist_browser_ExportVideoPlugin_js.js +0 -30
- package/plugins_exports_video_dist_browser_index_js.js +0 -30
- package/plugins_hsvColor_dist_browser_HsvColorManager_js.js +0 -30
- package/plugins_hsvColor_dist_browser_index_js.js +0 -30
- package/plugins_infection_dist_browser_InfectionInstance_js.js +0 -40
- package/plugins_infection_dist_browser_InfectionPlugin_js.js +0 -50
- package/plugins_infection_dist_browser_ParticlesInfecter_js.js +0 -30
- package/plugins_infection_dist_browser_index_js.js +0 -50
- package/plugins_motion_dist_browser_MotionInstance_js.js +0 -30
- package/plugins_motion_dist_browser_MotionPlugin_js.js +0 -50
- package/plugins_motion_dist_browser_index_js.js +0 -30
- package/plugins_poisson_dist_browser_PoissonDiscPlugin_js.js +0 -40
- package/plugins_poisson_dist_browser_PoissonInstance_js.js +0 -40
- package/plugins_poisson_dist_browser_index_js.js +0 -30
- package/plugins_polygonMask_dist_browser_PolygonMaskInstance_js.js +0 -30
- package/plugins_polygonMask_dist_browser_PolygonMaskPlugin_js.js +0 -90
- package/plugins_polygonMask_dist_browser_index_js.js +0 -70
- package/plugins_polygonMask_dist_browser_utils_js.js +0 -30
- package/plugins_sounds_dist_browser_SoundsInstance_js.js +0 -30
- package/plugins_sounds_dist_browser_SoundsPlugin_js.js +0 -120
- package/plugins_sounds_dist_browser_index_js.js +0 -30
- package/shapes_arrow_dist_browser_ArrowDrawer_js.js +0 -30
- package/shapes_arrow_dist_browser_Utils_js.js +0 -30
- package/shapes_arrow_dist_browser_index_js.js +0 -30
- package/shapes_cards_dist_browser_ClubDrawer_js.js +0 -30
- package/shapes_cards_dist_browser_DiamondDrawer_js.js +0 -30
- package/shapes_cards_dist_browser_HeartDrawer_js.js +0 -30
- package/shapes_cards_dist_browser_SpadeDrawer_js.js +0 -30
- package/shapes_cards_dist_browser_Utils_js.js +0 -30
- package/shapes_cards_dist_browser_index_js.js +0 -30
- package/shapes_circle_dist_browser_CircleDrawer_js.js +0 -30
- package/shapes_circle_dist_browser_Utils_js.js +0 -30
- package/shapes_circle_dist_browser_index_js.js +0 -30
- package/shapes_cog_dist_browser_CogDrawer_js.js +0 -30
- package/shapes_cog_dist_browser_Utils_js.js +0 -30
- package/shapes_cog_dist_browser_index_js.js +0 -30
- package/shapes_emoji_dist_browser_EmojiDrawer_js.js +0 -30
- package/shapes_emoji_dist_browser_Utils_js.js +0 -30
- package/shapes_emoji_dist_browser_index_js.js +0 -40
- package/shapes_heart_dist_browser_HeartDrawer_js.js +0 -30
- package/shapes_heart_dist_browser_Utils_js.js +0 -30
- package/shapes_heart_dist_browser_index_js.js +0 -30
- package/shapes_image_dist_browser_GifUtils_Utils_js.js +0 -50
- package/shapes_image_dist_browser_ImageDrawer_js.js +0 -30
- package/shapes_image_dist_browser_ImagePreloader_js.js +0 -40
- package/shapes_image_dist_browser_index_js.js +0 -40
- package/shapes_line_dist_browser_LineDrawer_js.js +0 -30
- package/shapes_line_dist_browser_Utils_js.js +0 -30
- package/shapes_line_dist_browser_index_js.js +0 -30
- package/shapes_path_dist_browser_PathDrawer_js.js +0 -30
- package/shapes_path_dist_browser_Utils_js.js +0 -30
- package/shapes_path_dist_browser_index_js.js +0 -30
- package/shapes_polygon_dist_browser_PolygonDrawer_js.js +0 -40
- package/shapes_polygon_dist_browser_TriangleDrawer_js.js +0 -40
- package/shapes_polygon_dist_browser_Utils_js.js +0 -30
- package/shapes_polygon_dist_browser_index_js.js +0 -30
- package/shapes_rounded-polygon_dist_browser_RoundedPolygonDrawer_js.js +0 -30
- package/shapes_rounded-polygon_dist_browser_Utils_js.js +0 -30
- package/shapes_rounded-polygon_dist_browser_index_js.js +0 -30
- package/shapes_rounded-rect_dist_browser_RoundedRectDrawer_js.js +0 -30
- package/shapes_rounded-rect_dist_browser_Utils_js.js +0 -30
- package/shapes_rounded-rect_dist_browser_index_js.js +0 -30
- package/shapes_spiral_dist_browser_SpiralDrawer_js.js +0 -30
- package/shapes_spiral_dist_browser_Utils_js.js +0 -30
- package/shapes_spiral_dist_browser_index_js.js +0 -30
- package/shapes_square_dist_browser_SquareDrawer_js.js +0 -30
- package/shapes_square_dist_browser_Utils_js.js +0 -30
- package/shapes_square_dist_browser_index_js.js +0 -30
- package/shapes_star_dist_browser_StarDrawer_js.js +0 -30
- package/shapes_star_dist_browser_Utils_js.js +0 -30
- package/shapes_star_dist_browser_index_js.js +0 -30
- package/shapes_text_dist_browser_Utils_js.js +0 -30
- package/shapes_text_dist_browser_index_js.js +0 -40
- package/slim_dist_browser_index_js.js +0 -30
- package/updaters_color_dist_browser_ColorUpdater_js.js +0 -30
- package/updaters_color_dist_browser_index_js.js +0 -30
- package/updaters_destroy_dist_browser_DestroyUpdater_js.js +0 -90
- package/updaters_destroy_dist_browser_index_js.js +0 -30
- package/updaters_gradient_dist_browser_GradientUpdater_js.js +0 -90
- package/updaters_gradient_dist_browser_Utils_js.js +0 -30
- package/updaters_gradient_dist_browser_index_js.js +0 -30
- package/updaters_life_dist_browser_LifeUpdater_js.js +0 -60
- package/updaters_life_dist_browser_Utils_js.js +0 -30
- package/updaters_life_dist_browser_index_js.js +0 -30
- package/updaters_opacity_dist_browser_OpacityUpdater_js.js +0 -30
- package/updaters_opacity_dist_browser_index_js.js +0 -30
- package/updaters_orbit_dist_browser_OrbitUpdater_js.js +0 -60
- package/updaters_orbit_dist_browser_index_js.js +0 -30
- package/updaters_outModes_dist_browser_BounceOutMode_js.js +0 -30
- package/updaters_outModes_dist_browser_DestroyOutMode_js.js +0 -30
- package/updaters_outModes_dist_browser_NoneOutMode_js.js +0 -30
- package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +0 -30
- package/updaters_outModes_dist_browser_OutOutMode_js.js +0 -30
- package/updaters_outModes_dist_browser_Utils_js.js +0 -30
- package/updaters_outModes_dist_browser_index_js.js +0 -30
- package/updaters_roll_dist_browser_RollUpdater_js.js +0 -50
- package/updaters_roll_dist_browser_Utils_js.js +0 -30
- package/updaters_roll_dist_browser_index_js.js +0 -30
- package/updaters_rotate_dist_browser_RotateUpdater_js.js +0 -50
- package/updaters_rotate_dist_browser_index_js.js +0 -30
- package/updaters_size_dist_browser_SizeUpdater_js.js +0 -30
- package/updaters_size_dist_browser_index_js.js +0 -30
- package/updaters_strokeColor_dist_browser_StrokeColorUpdater_js.js +0 -30
- package/updaters_strokeColor_dist_browser_index_js.js +0 -30
- package/updaters_tilt_dist_browser_TiltUpdater_js.js +0 -50
- package/updaters_tilt_dist_browser_index_js.js +0 -30
- package/updaters_twinkle_dist_browser_TwinkleUpdater_js.js +0 -50
- package/updaters_twinkle_dist_browser_index_js.js +0 -30
- package/updaters_wobble_dist_browser_Utils_js.js +0 -30
- package/updaters_wobble_dist_browser_WobbleUpdater_js.js +0 -50
- package/updaters_wobble_dist_browser_index_js.js +0 -30
- package/utils_simplexNoise_dist_browser_index_js.js +0 -80
|
@@ -1,90 +0,0 @@
|
|
|
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.2
|
|
8
|
-
*/
|
|
9
|
-
"use strict";
|
|
10
|
-
/*
|
|
11
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
-
* This devtool is neither made for production nor for readable output files.
|
|
13
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
-
* or disable the default devtool with "devtool: false".
|
|
16
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
-
*/
|
|
18
|
-
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_emitters_dist_browser_EmittersPlugin_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../plugins/emitters/dist/browser/EmittersPlugin.js":
|
|
21
|
-
/*!*************************************************************!*\
|
|
22
|
-
!*** ../../plugins/emitters/dist/browser/EmittersPlugin.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 */ EmittersPlugin: () => (/* binding */ EmittersPlugin)\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 _Options_Classes_Emitter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Options/Classes/Emitter.js */ \"../../plugins/emitters/dist/browser/Options/Classes/Emitter.js\");\n\n\nclass EmittersPlugin {\n constructor(engine) {\n this._engine = engine;\n this.id = \"emitters\";\n }\n async getPlugin(container) {\n const {\n Emitters\n } = await __webpack_require__.e(/*! import() */ \"plugins_emitters_dist_browser_Emitters_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./Emitters.js */ \"../../plugins/emitters/dist/browser/Emitters.js\"));\n return new Emitters(this._engine, container);\n }\n loadOptions(options, source) {\n if (!this.needsPlugin(options) && !this.needsPlugin(source)) {\n return;\n }\n if (source?.emitters) {\n options.emitters = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.executeOnSingleOrMultiple)(source.emitters, emitter => {\n const tmp = new _Options_Classes_Emitter_js__WEBPACK_IMPORTED_MODULE_1__.Emitter();\n tmp.load(emitter);\n return tmp;\n });\n }\n const interactivityEmitters = source?.interactivity?.modes?.emitters;\n if (interactivityEmitters) {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isArray)(interactivityEmitters)) {\n options.interactivity.modes.emitters = {\n random: {\n count: 1,\n enable: true\n },\n value: interactivityEmitters.map(s => {\n const tmp = new _Options_Classes_Emitter_js__WEBPACK_IMPORTED_MODULE_1__.Emitter();\n tmp.load(s);\n return tmp;\n })\n };\n } else {\n const emitterMode = interactivityEmitters;\n if (emitterMode.value !== undefined) {\n const defaultCount = 1;\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isArray)(emitterMode.value)) {\n options.interactivity.modes.emitters = {\n random: {\n count: emitterMode.random.count ?? defaultCount,\n enable: emitterMode.random.enable ?? false\n },\n value: emitterMode.value.map(s => {\n const tmp = new _Options_Classes_Emitter_js__WEBPACK_IMPORTED_MODULE_1__.Emitter();\n tmp.load(s);\n return tmp;\n })\n };\n } else {\n const tmp = new _Options_Classes_Emitter_js__WEBPACK_IMPORTED_MODULE_1__.Emitter();\n tmp.load(emitterMode.value);\n options.interactivity.modes.emitters = {\n random: {\n count: emitterMode.random.count ?? defaultCount,\n enable: emitterMode.random.enable ?? false\n },\n value: tmp\n };\n }\n } else {\n const emitterOptions = options.interactivity.modes.emitters = {\n random: {\n count: 1,\n enable: false\n },\n value: new _Options_Classes_Emitter_js__WEBPACK_IMPORTED_MODULE_1__.Emitter()\n };\n emitterOptions.value.load(interactivityEmitters);\n }\n }\n }\n }\n needsPlugin(options) {\n if (!options) {\n return false;\n }\n const emitters = options.emitters;\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isArray)(emitters) && !!emitters.length || emitters !== undefined || !!options.interactivity?.events?.onClick?.mode && (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isInArray)(\"emitter\", options.interactivity.events.onClick.mode);\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/emitters/dist/browser/EmittersPlugin.js?");
|
|
27
|
-
|
|
28
|
-
/***/ }),
|
|
29
|
-
|
|
30
|
-
/***/ "../../plugins/emitters/dist/browser/Options/Classes/Emitter.js":
|
|
31
|
-
/*!**********************************************************************!*\
|
|
32
|
-
!*** ../../plugins/emitters/dist/browser/Options/Classes/Emitter.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 */ Emitter: () => (/* binding */ Emitter)\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 _EmitterLife_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./EmitterLife.js */ \"../../plugins/emitters/dist/browser/Options/Classes/EmitterLife.js\");\n/* harmony import */ var _EmitterRate_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./EmitterRate.js */ \"../../plugins/emitters/dist/browser/Options/Classes/EmitterRate.js\");\n/* harmony import */ var _EmitterShape_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./EmitterShape.js */ \"../../plugins/emitters/dist/browser/Options/Classes/EmitterShape.js\");\n/* harmony import */ var _EmitterSize_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./EmitterSize.js */ \"../../plugins/emitters/dist/browser/Options/Classes/EmitterSize.js\");\n\n\n\n\n\nclass Emitter {\n constructor() {\n this.autoPlay = true;\n this.fill = true;\n this.life = new _EmitterLife_js__WEBPACK_IMPORTED_MODULE_1__.EmitterLife();\n this.rate = new _EmitterRate_js__WEBPACK_IMPORTED_MODULE_2__.EmitterRate();\n this.shape = new _EmitterShape_js__WEBPACK_IMPORTED_MODULE_3__.EmitterShape();\n this.startCount = 0;\n }\n load(data) {\n if (!data) {\n return;\n }\n if (data.autoPlay !== undefined) {\n this.autoPlay = data.autoPlay;\n }\n if (data.size !== undefined) {\n if (!this.size) {\n this.size = new _EmitterSize_js__WEBPACK_IMPORTED_MODULE_4__.EmitterSize();\n }\n this.size.load(data.size);\n }\n if (data.direction !== undefined) {\n this.direction = data.direction;\n }\n this.domId = data.domId;\n if (data.fill !== undefined) {\n this.fill = data.fill;\n }\n this.life.load(data.life);\n this.name = data.name;\n this.particles = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.executeOnSingleOrMultiple)(data.particles, particles => {\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.deepExtend)({}, particles);\n });\n this.rate.load(data.rate);\n this.shape.load(data.shape);\n if (data.position !== undefined) {\n this.position = {};\n if (data.position.x !== undefined) {\n this.position.x = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.position.x);\n }\n if (data.position.y !== undefined) {\n this.position.y = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.position.y);\n }\n }\n if (data.spawnColor !== undefined) {\n if (this.spawnColor === undefined) {\n this.spawnColor = new _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.AnimatableColor();\n }\n this.spawnColor.load(data.spawnColor);\n }\n if (data.startCount !== undefined) {\n this.startCount = data.startCount;\n }\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/emitters/dist/browser/Options/Classes/Emitter.js?");
|
|
37
|
-
|
|
38
|
-
/***/ }),
|
|
39
|
-
|
|
40
|
-
/***/ "../../plugins/emitters/dist/browser/Options/Classes/EmitterLife.js":
|
|
41
|
-
/*!**************************************************************************!*\
|
|
42
|
-
!*** ../../plugins/emitters/dist/browser/Options/Classes/EmitterLife.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 */ EmitterLife: () => (/* binding */ EmitterLife)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nclass EmitterLife {\n constructor() {\n this.wait = false;\n }\n load(data) {\n if (!data) {\n return;\n }\n if (data.count !== undefined) {\n this.count = data.count;\n }\n if (data.delay !== undefined) {\n this.delay = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.delay);\n }\n if (data.duration !== undefined) {\n this.duration = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.duration);\n }\n if (data.wait !== undefined) {\n this.wait = data.wait;\n }\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/emitters/dist/browser/Options/Classes/EmitterLife.js?");
|
|
47
|
-
|
|
48
|
-
/***/ }),
|
|
49
|
-
|
|
50
|
-
/***/ "../../plugins/emitters/dist/browser/Options/Classes/EmitterRate.js":
|
|
51
|
-
/*!**************************************************************************!*\
|
|
52
|
-
!*** ../../plugins/emitters/dist/browser/Options/Classes/EmitterRate.js ***!
|
|
53
|
-
\**************************************************************************/
|
|
54
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
55
|
-
|
|
56
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EmitterRate: () => (/* binding */ EmitterRate)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nclass EmitterRate {\n constructor() {\n this.quantity = 1;\n this.delay = 0.1;\n }\n load(data) {\n if (data === undefined) {\n return;\n }\n if (data.quantity !== undefined) {\n this.quantity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.quantity);\n }\n if (data.delay !== undefined) {\n this.delay = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.delay);\n }\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/emitters/dist/browser/Options/Classes/EmitterRate.js?");
|
|
57
|
-
|
|
58
|
-
/***/ }),
|
|
59
|
-
|
|
60
|
-
/***/ "../../plugins/emitters/dist/browser/Options/Classes/EmitterShape.js":
|
|
61
|
-
/*!***************************************************************************!*\
|
|
62
|
-
!*** ../../plugins/emitters/dist/browser/Options/Classes/EmitterShape.js ***!
|
|
63
|
-
\***************************************************************************/
|
|
64
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
65
|
-
|
|
66
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EmitterShape: () => (/* binding */ EmitterShape)\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 _EmitterShapeReplace_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./EmitterShapeReplace.js */ \"../../plugins/emitters/dist/browser/Options/Classes/EmitterShapeReplace.js\");\n\n\nclass EmitterShape {\n constructor() {\n this.options = {};\n this.replace = new _EmitterShapeReplace_js__WEBPACK_IMPORTED_MODULE_1__.EmitterShapeReplace();\n this.type = \"square\";\n }\n load(data) {\n if (!data) {\n return;\n }\n if (data.options !== undefined) {\n this.options = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.deepExtend)({}, data.options ?? {});\n }\n this.replace.load(data.replace);\n if (data.type !== undefined) {\n this.type = data.type;\n }\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/emitters/dist/browser/Options/Classes/EmitterShape.js?");
|
|
67
|
-
|
|
68
|
-
/***/ }),
|
|
69
|
-
|
|
70
|
-
/***/ "../../plugins/emitters/dist/browser/Options/Classes/EmitterShapeReplace.js":
|
|
71
|
-
/*!**********************************************************************************!*\
|
|
72
|
-
!*** ../../plugins/emitters/dist/browser/Options/Classes/EmitterShapeReplace.js ***!
|
|
73
|
-
\**********************************************************************************/
|
|
74
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
75
|
-
|
|
76
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EmitterShapeReplace: () => (/* binding */ EmitterShapeReplace)\n/* harmony export */ });\nclass EmitterShapeReplace {\n constructor() {\n this.color = false;\n this.opacity = false;\n }\n load(data) {\n if (!data) {\n return;\n }\n if (data.color !== undefined) {\n this.color = data.color;\n }\n if (data.opacity !== undefined) {\n this.opacity = data.opacity;\n }\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/emitters/dist/browser/Options/Classes/EmitterShapeReplace.js?");
|
|
77
|
-
|
|
78
|
-
/***/ }),
|
|
79
|
-
|
|
80
|
-
/***/ "../../plugins/emitters/dist/browser/Options/Classes/EmitterSize.js":
|
|
81
|
-
/*!**************************************************************************!*\
|
|
82
|
-
!*** ../../plugins/emitters/dist/browser/Options/Classes/EmitterSize.js ***!
|
|
83
|
-
\**************************************************************************/
|
|
84
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
85
|
-
|
|
86
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EmitterSize: () => (/* binding */ EmitterSize)\n/* harmony export */ });\nclass EmitterSize {\n constructor() {\n this.mode = \"percent\";\n this.height = 0;\n this.width = 0;\n }\n load(data) {\n if (data === undefined) {\n return;\n }\n if (data.mode !== undefined) {\n this.mode = data.mode;\n }\n if (data.height !== undefined) {\n this.height = data.height;\n }\n if (data.width !== undefined) {\n this.width = data.width;\n }\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/emitters/dist/browser/Options/Classes/EmitterSize.js?");
|
|
87
|
-
|
|
88
|
-
/***/ })
|
|
89
|
-
|
|
90
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.2
|
|
8
|
-
*/
|
|
9
|
-
"use strict";
|
|
10
|
-
/*
|
|
11
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
-
* This devtool is neither made for production nor for readable output files.
|
|
13
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
-
* or disable the default devtool with "devtool: false".
|
|
16
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
-
*/
|
|
18
|
-
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_emitters_dist_browser_Emitters_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../plugins/emitters/dist/browser/Emitters.js":
|
|
21
|
-
/*!*******************************************************!*\
|
|
22
|
-
!*** ../../plugins/emitters/dist/browser/Emitters.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 */ Emitters: () => (/* binding */ Emitters)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nclass Emitters {\n constructor(engine, container) {\n this.container = container;\n this._engine = engine;\n this.array = [];\n this.emitters = [];\n this.interactivityEmitters = {\n random: {\n count: 1,\n enable: false\n },\n value: []\n };\n const defaultIndex = 0;\n container.getEmitter = idxOrName => idxOrName === undefined || (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNumber)(idxOrName) ? this.array[idxOrName ?? defaultIndex] : this.array.find(t => t.name === idxOrName);\n container.addEmitter = async (options, position) => this.addEmitter(options, position);\n container.removeEmitter = idxOrName => {\n const emitter = container.getEmitter(idxOrName);\n if (emitter) {\n this.removeEmitter(emitter);\n }\n };\n container.playEmitter = idxOrName => {\n const emitter = container.getEmitter(idxOrName);\n if (emitter) {\n emitter.externalPlay();\n }\n };\n container.pauseEmitter = idxOrName => {\n const emitter = container.getEmitter(idxOrName);\n if (emitter) {\n emitter.externalPause();\n }\n };\n }\n async addEmitter(options, position) {\n const {\n Emitter\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! ./Options/Classes/Emitter.js */ \"../../plugins/emitters/dist/browser/Options/Classes/Emitter.js\")),\n {\n EmitterInstance\n } = await __webpack_require__.e(/*! import() */ \"plugins_emitters_dist_browser_EmitterInstance_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./EmitterInstance.js */ \"../../plugins/emitters/dist/browser/EmitterInstance.js\")),\n emitterOptions = new Emitter();\n emitterOptions.load(options);\n const emitter = new EmitterInstance(this._engine, this, this.container, emitterOptions, position);\n await emitter.init();\n this.array.push(emitter);\n return emitter;\n }\n handleClickMode(mode) {\n const emitterOptions = this.emitters,\n modeEmitters = this.interactivityEmitters;\n if (mode !== \"emitter\") {\n return;\n }\n let emittersModeOptions;\n if (modeEmitters && (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isArray)(modeEmitters.value)) {\n const minLength = 0;\n if (modeEmitters.value.length > minLength && modeEmitters.random.enable) {\n emittersModeOptions = [];\n const usedIndexes = [];\n for (let i = 0; i < modeEmitters.random.count; i++) {\n const idx = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.arrayRandomIndex)(modeEmitters.value);\n if (usedIndexes.includes(idx) && usedIndexes.length < modeEmitters.value.length) {\n i--;\n continue;\n }\n usedIndexes.push(idx);\n emittersModeOptions.push((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.itemFromArray)(modeEmitters.value, idx));\n }\n } else {\n emittersModeOptions = modeEmitters.value;\n }\n } else {\n emittersModeOptions = modeEmitters?.value;\n }\n const emittersOptions = emittersModeOptions ?? emitterOptions,\n ePosition = this.container.interactivity.mouse.clickPosition;\n void (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.executeOnSingleOrMultiple)(emittersOptions, async emitter => {\n await this.addEmitter(emitter, ePosition);\n });\n }\n async init() {\n this.emitters = this.container.actualOptions.emitters;\n this.interactivityEmitters = this.container.actualOptions.interactivity.modes.emitters;\n if (!this.emitters) {\n return;\n }\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isArray)(this.emitters)) {\n for (const emitterOptions of this.emitters) {\n await this.addEmitter(emitterOptions);\n }\n } else {\n await this.addEmitter(this.emitters);\n }\n }\n pause() {\n for (const emitter of this.array) {\n emitter.pause();\n }\n }\n play() {\n for (const emitter of this.array) {\n emitter.play();\n }\n }\n removeEmitter(emitter) {\n const index = this.array.indexOf(emitter),\n minIndex = 0,\n deleteCount = 1;\n if (index >= minIndex) {\n this.array.splice(index, deleteCount);\n }\n }\n resize() {\n for (const emitter of this.array) {\n emitter.resize();\n }\n }\n stop() {\n this.array = [];\n }\n async update(delta) {\n for (const emitter of this.array) {\n await emitter.update(delta);\n }\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/emitters/dist/browser/Emitters.js?");
|
|
27
|
-
|
|
28
|
-
/***/ })
|
|
29
|
-
|
|
30
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.2
|
|
8
|
-
*/
|
|
9
|
-
"use strict";
|
|
10
|
-
/*
|
|
11
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
-
* This devtool is neither made for production nor for readable output files.
|
|
13
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
-
* or disable the default devtool with "devtool: false".
|
|
16
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
-
*/
|
|
18
|
-
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_emitters_dist_browser_ShapeManager_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../plugins/emitters/dist/browser/ShapeManager.js":
|
|
21
|
-
/*!***********************************************************!*\
|
|
22
|
-
!*** ../../plugins/emitters/dist/browser/ShapeManager.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 */ ShapeManager: () => (/* binding */ ShapeManager)\n/* harmony export */ });\nconst shapeGeneratorss = new Map();\nclass ShapeManager {\n constructor(engine) {\n this._engine = engine;\n }\n addShapeGenerator(name, generator) {\n if (!this.getShapeGenerator(name)) {\n shapeGeneratorss.set(name, generator);\n }\n }\n getShapeGenerator(name) {\n return shapeGeneratorss.get(name);\n }\n getSupportedShapeGenerators() {\n return shapeGeneratorss.keys();\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/emitters/dist/browser/ShapeManager.js?");
|
|
27
|
-
|
|
28
|
-
/***/ })
|
|
29
|
-
|
|
30
|
-
}]);
|
|
@@ -1,100 +0,0 @@
|
|
|
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.2
|
|
8
|
-
*/
|
|
9
|
-
"use strict";
|
|
10
|
-
/*
|
|
11
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
-
* This devtool is neither made for production nor for readable output files.
|
|
13
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
-
* or disable the default devtool with "devtool: false".
|
|
16
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
-
*/
|
|
18
|
-
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_emitters_dist_browser_index_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../plugins/emitters/dist/browser/EmitterContainer.js":
|
|
21
|
-
/*!***************************************************************!*\
|
|
22
|
-
!*** ../../plugins/emitters/dist/browser/EmitterContainer.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/emitters/dist/browser/EmitterContainer.js?");
|
|
27
|
-
|
|
28
|
-
/***/ }),
|
|
29
|
-
|
|
30
|
-
/***/ "../../plugins/emitters/dist/browser/EmitterShapeBase.js":
|
|
31
|
-
/*!***************************************************************!*\
|
|
32
|
-
!*** ../../plugins/emitters/dist/browser/EmitterShapeBase.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 */ EmitterShapeBase: () => (/* binding */ EmitterShapeBase)\n/* harmony export */ });\nclass EmitterShapeBase {\n constructor(position, size, fill, options) {\n this.position = position;\n this.size = size;\n this.fill = fill;\n this.options = options;\n }\n resize(position, size) {\n this.position = position;\n this.size = size;\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/emitters/dist/browser/EmitterShapeBase.js?");
|
|
37
|
-
|
|
38
|
-
/***/ }),
|
|
39
|
-
|
|
40
|
-
/***/ "../../plugins/emitters/dist/browser/EmittersEngine.js":
|
|
41
|
-
/*!*************************************************************!*\
|
|
42
|
-
!*** ../../plugins/emitters/dist/browser/EmittersEngine.js ***!
|
|
43
|
-
\*************************************************************/
|
|
44
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
45
|
-
|
|
46
|
-
eval("__webpack_require__.r(__webpack_exports__);\n\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/emitters/dist/browser/EmittersEngine.js?");
|
|
47
|
-
|
|
48
|
-
/***/ }),
|
|
49
|
-
|
|
50
|
-
/***/ "../../plugins/emitters/dist/browser/Enums/EmitterClickMode.js":
|
|
51
|
-
/*!*********************************************************************!*\
|
|
52
|
-
!*** ../../plugins/emitters/dist/browser/Enums/EmitterClickMode.js ***!
|
|
53
|
-
\*********************************************************************/
|
|
54
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
55
|
-
|
|
56
|
-
eval("__webpack_require__.r(__webpack_exports__);\n\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/emitters/dist/browser/Enums/EmitterClickMode.js?");
|
|
57
|
-
|
|
58
|
-
/***/ }),
|
|
59
|
-
|
|
60
|
-
/***/ "../../plugins/emitters/dist/browser/IEmitterShape.js":
|
|
61
|
-
/*!************************************************************!*\
|
|
62
|
-
!*** ../../plugins/emitters/dist/browser/IEmitterShape.js ***!
|
|
63
|
-
\************************************************************/
|
|
64
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
65
|
-
|
|
66
|
-
eval("__webpack_require__.r(__webpack_exports__);\n\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/emitters/dist/browser/IEmitterShape.js?");
|
|
67
|
-
|
|
68
|
-
/***/ }),
|
|
69
|
-
|
|
70
|
-
/***/ "../../plugins/emitters/dist/browser/IEmitterShapeGenerator.js":
|
|
71
|
-
/*!*********************************************************************!*\
|
|
72
|
-
!*** ../../plugins/emitters/dist/browser/IEmitterShapeGenerator.js ***!
|
|
73
|
-
\*********************************************************************/
|
|
74
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
75
|
-
|
|
76
|
-
eval("__webpack_require__.r(__webpack_exports__);\n\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/emitters/dist/browser/IEmitterShapeGenerator.js?");
|
|
77
|
-
|
|
78
|
-
/***/ }),
|
|
79
|
-
|
|
80
|
-
/***/ "../../plugins/emitters/dist/browser/IRandomPositionData.js":
|
|
81
|
-
/*!******************************************************************!*\
|
|
82
|
-
!*** ../../plugins/emitters/dist/browser/IRandomPositionData.js ***!
|
|
83
|
-
\******************************************************************/
|
|
84
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
85
|
-
|
|
86
|
-
eval("__webpack_require__.r(__webpack_exports__);\n\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/emitters/dist/browser/IRandomPositionData.js?");
|
|
87
|
-
|
|
88
|
-
/***/ }),
|
|
89
|
-
|
|
90
|
-
/***/ "../../plugins/emitters/dist/browser/index.js":
|
|
91
|
-
/*!****************************************************!*\
|
|
92
|
-
!*** ../../plugins/emitters/dist/browser/index.js ***!
|
|
93
|
-
\****************************************************/
|
|
94
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
95
|
-
|
|
96
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EmitterShapeBase: () => (/* reexport safe */ _EmitterShapeBase_js__WEBPACK_IMPORTED_MODULE_1__.EmitterShapeBase),\n/* harmony export */ loadEmittersPlugin: () => (/* binding */ loadEmittersPlugin)\n/* harmony export */ });\n/* harmony import */ var _EmitterContainer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EmitterContainer.js */ \"../../plugins/emitters/dist/browser/EmitterContainer.js\");\n/* harmony import */ var _EmitterShapeBase_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./EmitterShapeBase.js */ \"../../plugins/emitters/dist/browser/EmitterShapeBase.js\");\n/* harmony import */ var _EmittersEngine_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./EmittersEngine.js */ \"../../plugins/emitters/dist/browser/EmittersEngine.js\");\n/* harmony import */ var _IEmitterShape_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./IEmitterShape.js */ \"../../plugins/emitters/dist/browser/IEmitterShape.js\");\n/* harmony import */ var _IEmitterShapeGenerator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./IEmitterShapeGenerator.js */ \"../../plugins/emitters/dist/browser/IEmitterShapeGenerator.js\");\n/* harmony import */ var _Enums_EmitterClickMode_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Enums/EmitterClickMode.js */ \"../../plugins/emitters/dist/browser/Enums/EmitterClickMode.js\");\n/* harmony import */ var _IRandomPositionData_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./IRandomPositionData.js */ \"../../plugins/emitters/dist/browser/IRandomPositionData.js\");\nasync function loadEmittersPlugin(engine, refresh = true) {\n if (!engine.emitterShapeManager) {\n const {\n ShapeManager\n } = await __webpack_require__.e(/*! import() */ \"plugins_emitters_dist_browser_ShapeManager_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./ShapeManager.js */ \"../../plugins/emitters/dist/browser/ShapeManager.js\"));\n engine.emitterShapeManager = new ShapeManager(engine);\n }\n if (!engine.addEmitterShapeGenerator) {\n engine.addEmitterShapeGenerator = (name, generator) => {\n engine.emitterShapeManager?.addShapeGenerator(name, generator);\n };\n }\n const {\n EmittersPlugin\n } = await __webpack_require__.e(/*! import() */ \"plugins_emitters_dist_browser_EmittersPlugin_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./EmittersPlugin.js */ \"../../plugins/emitters/dist/browser/EmittersPlugin.js\")),\n plugin = new EmittersPlugin(engine);\n await engine.addPlugin(plugin, refresh);\n}\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/emitters/dist/browser/index.js?");
|
|
97
|
-
|
|
98
|
-
/***/ })
|
|
99
|
-
|
|
100
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.2
|
|
8
|
-
*/
|
|
9
|
-
"use strict";
|
|
10
|
-
/*
|
|
11
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
-
* This devtool is neither made for production nor for readable output files.
|
|
13
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
-
* or disable the default devtool with "devtool: false".
|
|
16
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
-
*/
|
|
18
|
-
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_exports_image_dist_browser_ExportImageInstance_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../plugins/exports/image/dist/browser/ExportImageInstance.js":
|
|
21
|
-
/*!***********************************************************************!*\
|
|
22
|
-
!*** ../../plugins/exports/image/dist/browser/ExportImageInstance.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 */ ExportImageInstance: () => (/* binding */ ExportImageInstance)\n/* harmony export */ });\nclass ExportImageInstance {\n constructor(container, engine) {\n this._exportImage = async data => {\n const element = this._container.canvas.element;\n if (!element) {\n return;\n }\n return new Promise(resolve => {\n element.toBlob(blob => {\n if (!blob) {\n resolve(undefined);\n return;\n }\n resolve(blob);\n }, data.type ?? \"image/png\", data.quality);\n });\n };\n this._container = container;\n this._engine = engine;\n }\n async export(type, data) {\n const res = {\n supported: false\n };\n switch (type) {\n case \"image\":\n res.supported = true;\n res.blob = await this._exportImage(data);\n break;\n }\n return res;\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/exports/image/dist/browser/ExportImageInstance.js?");
|
|
27
|
-
|
|
28
|
-
/***/ })
|
|
29
|
-
|
|
30
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.2
|
|
8
|
-
*/
|
|
9
|
-
"use strict";
|
|
10
|
-
/*
|
|
11
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
-
* This devtool is neither made for production nor for readable output files.
|
|
13
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
-
* or disable the default devtool with "devtool: false".
|
|
16
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
-
*/
|
|
18
|
-
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["plugins_exports_image_dist_browser_ExportImagePlugin_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../plugins/exports/image/dist/browser/ExportImagePlugin.js":
|
|
21
|
-
/*!*********************************************************************!*\
|
|
22
|
-
!*** ../../plugins/exports/image/dist/browser/ExportImagePlugin.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 */ ExportImagePlugin: () => (/* binding */ ExportImagePlugin)\n/* harmony export */ });\nclass ExportImagePlugin {\n constructor(engine) {\n this.id = \"export-image\";\n this._engine = engine;\n }\n async getPlugin(container) {\n const {\n ExportImageInstance\n } = await __webpack_require__.e(/*! import() */ \"plugins_exports_image_dist_browser_ExportImageInstance_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./ExportImageInstance.js */ \"../../plugins/exports/image/dist/browser/ExportImageInstance.js\"));\n return new ExportImageInstance(container, this._engine);\n }\n loadOptions() {}\n needsPlugin() {\n return true;\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../plugins/exports/image/dist/browser/ExportImagePlugin.js?");
|
|
27
|
-
|
|
28
|
-
/***/ })
|
|
29
|
-
|
|
30
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.2
|
|
8
|
-
*/
|
|
9
|
-
"use strict";
|
|
10
|
-
/*
|
|
11
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
-
* This devtool is neither made for production nor for readable output files.
|
|
13
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
-
* or disable the default devtool with "devtool: false".
|
|
16
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
-
*/
|
|
18
|
-
(this["webpackChunk_tsparticles_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
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.2
|
|
8
|
-
*/
|
|
9
|
-
"use strict";
|
|
10
|
-
/*
|
|
11
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
-
* This devtool is neither made for production nor for readable output files.
|
|
13
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
-
* or disable the default devtool with "devtool: false".
|
|
16
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
-
*/
|
|
18
|
-
(this["webpackChunk_tsparticles_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
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.2
|
|
8
|
-
*/
|
|
9
|
-
"use strict";
|
|
10
|
-
/*
|
|
11
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
-
* This devtool is neither made for production nor for readable output files.
|
|
13
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
-
* or disable the default devtool with "devtool: false".
|
|
16
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
-
*/
|
|
18
|
-
(this["webpackChunk_tsparticles_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
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.2
|
|
8
|
-
*/
|
|
9
|
-
"use strict";
|
|
10
|
-
/*
|
|
11
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
-
* This devtool is neither made for production nor for readable output files.
|
|
13
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
-
* or disable the default devtool with "devtool: false".
|
|
16
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
-
*/
|
|
18
|
-
(this["webpackChunk_tsparticles_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
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.2
|
|
8
|
-
*/
|
|
9
|
-
"use strict";
|
|
10
|
-
/*
|
|
11
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
-
* This devtool is neither made for production nor for readable output files.
|
|
13
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
-
* or disable the default devtool with "devtool: false".
|
|
16
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
-
*/
|
|
18
|
-
(this["webpackChunk_tsparticles_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
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.2
|
|
8
|
-
*/
|
|
9
|
-
"use strict";
|
|
10
|
-
/*
|
|
11
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
-
* This devtool is neither made for production nor for readable output files.
|
|
13
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
-
* or disable the default devtool with "devtool: false".
|
|
16
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
-
*/
|
|
18
|
-
(this["webpackChunk_tsparticles_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
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.2
|
|
8
|
-
*/
|
|
9
|
-
"use strict";
|
|
10
|
-
/*
|
|
11
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
-
* This devtool is neither made for production nor for readable output files.
|
|
13
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
-
* or disable the default devtool with "devtool: false".
|
|
16
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
-
*/
|
|
18
|
-
(this["webpackChunk_tsparticles_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
|
-
}]);
|