@tsparticles/all 4.0.0-alpha.24 → 4.0.0-alpha.26
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/1032.min.js +1 -0
- package/1036.min.js +1 -0
- package/{6084.min.js → 1040.min.js} +1 -1
- package/1078.min.js +1 -0
- package/1118.min.js +1 -0
- package/1119.min.js +1 -0
- package/{5146.min.js → 1180.min.js} +1 -1
- package/1262.min.js +1 -0
- package/1266.min.js +1 -0
- package/1278.min.js +1 -0
- package/1324.min.js +1 -0
- package/1346.min.js +1 -0
- package/{2833.min.js → 1357.min.js} +1 -1
- package/1379.min.js +1 -0
- package/1386.min.js +1 -0
- package/1419.min.js +1 -0
- package/1423.min.js +1 -0
- package/1431.min.js +1 -0
- package/1449.min.js +1 -0
- package/{3990.min.js → 1586.min.js} +1 -1
- package/1587.min.js +1 -0
- package/162.min.js +1 -0
- package/1668.min.js +1 -0
- package/1681.min.js +1 -1
- package/1727.min.js +1 -0
- package/1730.min.js +1 -0
- package/1801.min.js +1 -1
- package/1951.min.js +1 -0
- package/1954.min.js +1 -0
- package/1966.min.js +1 -0
- package/1971.min.js +1 -0
- package/{3405.min.js → 2017.min.js} +1 -1
- package/2042.min.js +1 -0
- package/2051.min.js +1 -0
- package/{8174.min.js → 2057.min.js} +1 -1
- package/{7654.min.js → 2074.min.js} +1 -1
- package/{8925.min.js → 209.min.js} +2 -2
- package/{3295.min.js → 2091.min.js} +1 -1
- package/2132.min.js +1 -0
- package/2174.min.js +1 -0
- package/{8635.min.js → 2183.min.js} +1 -1
- package/2309.min.js +1 -0
- package/2338.min.js +1 -0
- package/2416.min.js +1 -0
- package/2461.min.js +1 -0
- package/2462.min.js +1 -0
- package/{4877.min.js → 2481.min.js} +1 -1
- package/2494.min.js +1 -0
- package/2598.min.js +1 -0
- package/2601.min.js +1 -0
- package/2619.min.js +1 -0
- package/2644.min.js +1 -0
- package/{1076.min.js → 2656.min.js} +1 -1
- package/2678.min.js +1 -0
- package/{8514.min.js → 2683.min.js} +1 -1
- package/2712.min.js +1 -0
- package/2714.min.js +1 -0
- package/2810.min.js +1 -0
- package/{3612.min.js → 2847.min.js} +1 -1
- package/2857.min.js +1 -1
- package/{7117.min.js → 2865.min.js} +1 -1
- package/2869.min.js +1 -0
- package/2926.min.js +1 -0
- package/{1532.min.js → 2928.min.js} +1 -1
- package/2959.min.js +1 -0
- package/296.min.js +1 -0
- package/3021.min.js +1 -0
- package/3025.min.js +1 -0
- package/3032.min.js +1 -0
- package/3056.min.js +1 -0
- package/{6204.min.js → 3066.min.js} +1 -1
- package/3101.min.js +1 -0
- package/316.min.js +1 -0
- package/3182.min.js +1 -0
- package/319.min.js +1 -1
- package/3225.min.js +1 -0
- package/{6576.min.js → 3236.min.js} +1 -1
- package/3286.min.js +1 -0
- package/3287.min.js +1 -0
- package/3326.min.js +1 -1
- package/3336.min.js +1 -0
- package/3344.min.js +1 -0
- package/{8478.min.js → 3354.min.js} +1 -1
- package/3356.min.js +1 -0
- package/3362.min.js +1 -0
- package/3380.min.js +1 -0
- package/{7672.min.js → 3399.min.js} +1 -1
- package/3424.min.js +1 -0
- package/3425.min.js +1 -0
- package/{6595.min.js → 3455.min.js} +1 -1
- package/3533.min.js +1 -0
- package/3538.min.js +2 -0
- package/{3111.min.js → 3539.min.js} +1 -1
- package/{5059.min.js → 3551.min.js} +1 -1
- package/{5333.min.js → 3574.min.js} +1 -1
- package/3584.min.js +1 -1
- package/3611.min.js +1 -1
- package/3722.min.js +1 -0
- package/{8286.min.js → 3727.min.js} +1 -1
- package/3872.min.js +1 -0
- package/3947.min.js +1 -0
- package/404.min.js +1 -0
- package/4054.min.js +1 -0
- package/4077.min.js +1 -0
- package/{2692.min.js → 4080.min.js} +1 -1
- package/411.min.js +1 -1
- package/4121.min.js +1 -0
- package/4159.min.js +1 -0
- package/4176.min.js +1 -0
- package/4214.min.js +1 -0
- package/{7740.min.js → 4216.min.js} +1 -1
- package/4359.min.js +1 -0
- package/4383.min.js +1 -0
- package/4384.min.js +1 -0
- package/4385.min.js +1 -0
- package/{363.min.js → 439.min.js} +1 -1
- package/{2275.min.js → 4399.min.js} +1 -1
- package/4441.min.js +1 -0
- package/4443.min.js +1 -0
- package/4472.min.js +1 -0
- package/4557.min.js +1 -0
- package/456.min.js +1 -0
- package/{7612.min.js → 4625.min.js} +1 -1
- package/{2753.min.js → 4677.min.js} +1 -1
- package/{8003.min.js → 4689.min.js} +1 -1
- package/47.min.js +1 -0
- package/{2355.min.js → 4756.min.js} +1 -1
- package/4837.min.js +1 -0
- package/{8816.min.js → 4860.min.js} +1 -1
- package/492.min.js +1 -0
- package/4927.min.js +1 -0
- package/{5679.min.js → 4935.min.js} +1 -1
- package/{3939.min.js → 5055.min.js} +1 -1
- package/5101.min.js +1 -0
- package/5111.min.js +1 -0
- package/{9591.min.js → 5123.min.js} +1 -1
- package/5124.min.js +1 -0
- package/{4412.min.js → 5127.min.js} +1 -1
- package/5145.min.js +1 -0
- package/5163.min.js +1 -0
- package/5204.min.js +1 -0
- package/5218.min.js +1 -0
- package/5256.min.js +1 -0
- package/5264.min.js +1 -0
- package/{1887.min.js → 5299.min.js} +2 -2
- package/{4476.min.js → 5336.min.js} +1 -1
- package/5349.min.js +1 -0
- package/552.min.js +1 -0
- package/5556.min.js +1 -0
- package/{8618.min.js → 5578.min.js} +2 -2
- package/5590.min.js +1 -0
- package/5608.min.js +1 -0
- package/5782.min.js +1 -0
- package/5817.min.js +2 -0
- package/{6729.min.js → 5822.min.js} +1 -1
- package/5852.min.js +1 -0
- package/5932.min.js +1 -0
- package/5950.min.js +1 -0
- package/6003.min.js +1 -0
- package/6004.min.js +1 -0
- package/6015.min.js +1 -0
- package/{2458.min.js → 6022.min.js} +1 -1
- package/6067.min.js +1 -0
- package/61.min.js +1 -0
- package/{2816.min.js → 6107.min.js} +1 -1
- package/6114.min.js +1 -0
- package/{7468.min.js → 6137.min.js} +1 -1
- package/{7828.min.js → 6176.min.js} +1 -1
- package/6303.min.js +1 -1
- package/632.min.js +1 -0
- package/6326.min.js +1 -0
- package/6328.min.js +1 -0
- package/6340.min.js +1 -0
- package/6344.min.js +1 -0
- package/6347.min.js +1 -0
- package/639.min.js +1 -0
- package/6447.min.js +1 -0
- package/645.min.js +1 -0
- package/6466.min.js +1 -0
- package/6484.min.js +1 -0
- package/649.min.js +1 -0
- package/651.min.js +1 -0
- package/6523.min.js +1 -0
- package/658.min.js +1 -0
- package/{5484.min.js → 6629.min.js} +1 -1
- package/6630.min.js +1 -0
- package/666.min.js +1 -0
- package/{1642.min.js → 6670.min.js} +1 -1
- package/{9907.min.js → 6719.min.js} +1 -1
- package/6747.min.js +1 -0
- package/6763.min.js +1 -0
- package/6835.min.js +1 -0
- package/686.min.js +1 -0
- package/{9049.min.js → 6861.min.js} +1 -1
- package/{4287.min.js → 6907.min.js} +1 -1
- package/{7147.min.js → 6921.min.js} +1 -1
- package/{5818.min.js → 6935.min.js} +1 -1
- package/6960.min.js +1 -0
- package/{6129.min.js → 7034.min.js} +1 -1
- package/704.min.js +1 -0
- package/7042.min.js +1 -0
- package/{2218.min.js → 7126.min.js} +1 -1
- package/{9031.min.js → 7171.min.js} +1 -1
- package/7213.min.js +1 -0
- package/7217.min.js +1 -0
- package/7245.min.js +1 -0
- package/7249.min.js +1 -0
- package/728.min.js +1 -0
- package/{9126.min.js → 7305.min.js} +1 -1
- package/7411.min.js +1 -0
- package/7417.min.js +1 -0
- package/7423.min.js +1 -0
- package/7458.min.js +1 -0
- package/7466.min.js +1 -0
- package/7473.min.js +1 -0
- package/{4274.min.js → 7481.min.js} +1 -1
- package/{1995.min.js → 7631.min.js} +1 -1
- package/7643.min.js +1 -0
- package/7645.min.js +1 -0
- package/7662.min.js +1 -0
- package/7665.min.js +1 -0
- package/{5920.min.js → 7676.min.js} +1 -1
- package/7812.min.js +1 -0
- package/7839.min.js +1 -0
- package/7907.min.js +1 -0
- package/7934.min.js +1 -0
- package/7962.min.js +1 -0
- package/8081.min.js +1 -0
- package/8084.min.js +1 -0
- package/811.min.js +1 -0
- package/8137.min.js +1 -0
- package/8238.min.js +1 -0
- package/{4227.min.js → 8255.min.js} +1 -1
- package/8258.min.js +1 -0
- package/8323.min.js +1 -0
- package/8369.min.js +1 -0
- package/8379.min.js +1 -0
- package/8404.min.js +1 -1
- package/8405.min.js +1 -0
- package/{6951.min.js → 8409.min.js} +1 -1
- package/8486.min.js +1 -0
- package/8517.min.js +1 -0
- package/{1166.min.js → 8556.min.js} +2 -2
- package/8586.min.js +1 -0
- package/8692.min.js +1 -0
- package/870.min.js +1 -0
- package/{6124.min.js → 8728.min.js} +1 -1
- package/8800.min.js +1 -0
- package/8842.min.js +1 -0
- package/8864.min.js +1 -0
- package/8879.min.js +1 -0
- package/8917.min.js +1 -0
- package/8946.min.js +1 -0
- package/9023.min.js +1 -0
- package/{2516.min.js → 9040.min.js} +1 -1
- package/9066.min.js +1 -0
- package/9076.min.js +1 -0
- package/9163.min.js +1 -0
- package/{3691.min.js → 9181.min.js} +1 -1
- package/9184.min.js +1 -0
- package/9187.min.js +1 -0
- package/9204.min.js +1 -0
- package/9283.min.js +1 -0
- package/9292.min.js +1 -0
- package/9337.min.js +1 -0
- package/9386.min.js +1 -0
- package/9395.min.js +1 -0
- package/{9565.min.js → 9484.min.js} +1 -1
- package/9558.min.js +1 -0
- package/9661.min.js +1 -0
- package/9717.min.js +1 -0
- package/9743.min.js +1 -0
- package/975.min.js +1 -0
- package/9754.min.js +1 -0
- package/9763.min.js +1 -0
- package/9801.min.js +1 -0
- package/{2521.min.js → 9829.min.js} +1 -1
- package/{5759.min.js → 9855.min.js} +1 -1
- package/9862.min.js +1 -0
- package/{2404.min.js → 9936.min.js} +1 -1
- package/995.min.js +1 -0
- package/basic_dist_browser_index_js.js +2 -2
- package/browser/index.js +1 -1
- package/cjs/index.js +1 -1
- package/effects_bubble_dist_browser_BubbleDrawer_js.js +1 -1
- package/effects_bubble_dist_browser_index_js.js +2 -2
- package/effects_particles_dist_browser_ParticlesDrawer_js.js +1 -1
- package/effects_particles_dist_browser_index_js.js +2 -2
- package/effects_shadow_dist_browser_ShadowDrawer_js.js +1 -1
- package/effects_shadow_dist_browser_index_js.js +2 -2
- package/effects_trail_dist_browser_TrailDrawer_js.js +1 -1
- package/effects_trail_dist_browser_index_js.js +2 -2
- package/engine_dist_browser_Core_Container_js.js +8 -8
- package/esm/index.js +1 -1
- package/full_dist_browser_index_js.js +2 -2
- package/interactions_external_attract_dist_browser_Attractor_js.js +4 -4
- package/interactions_external_attract_dist_browser_index_js.js +2 -2
- package/interactions_external_bounce_dist_browser_Bouncer_js.js +4 -4
- package/interactions_external_bounce_dist_browser_index_js.js +2 -2
- package/interactions_external_bubble_dist_browser_Bubbler_js.js +3 -3
- package/interactions_external_bubble_dist_browser_index_js.js +2 -2
- package/interactions_external_connect_dist_browser_Connector_js.js +3 -3
- package/interactions_external_connect_dist_browser_index_js.js +2 -2
- package/interactions_external_grab_dist_browser_Grabber_js.js +3 -3
- package/interactions_external_grab_dist_browser_index_js.js +2 -2
- package/interactions_external_parallax_dist_browser_Parallaxer_js.js +3 -3
- package/interactions_external_parallax_dist_browser_index_js.js +2 -2
- package/interactions_external_particle_dist_browser_InteractivityParticleMaker_js.js +3 -3
- package/interactions_external_particle_dist_browser_index_js.js +2 -2
- package/interactions_external_pause_dist_browser_Pauser_js.js +3 -3
- package/interactions_external_pause_dist_browser_index_js.js +2 -2
- package/interactions_external_pop_dist_browser_Popper_js.js +3 -3
- package/interactions_external_pop_dist_browser_index_js.js +2 -2
- package/interactions_external_push_dist_browser_Pusher_js.js +3 -3
- package/interactions_external_push_dist_browser_index_js.js +2 -2
- package/interactions_external_remove_dist_browser_Remover_js.js +3 -3
- package/interactions_external_remove_dist_browser_index_js.js +2 -2
- package/interactions_external_repulse_dist_browser_Repulser_js.js +3 -3
- package/interactions_external_repulse_dist_browser_index_js.js +2 -2
- package/interactions_external_slow_dist_browser_Slower_js.js +3 -3
- package/interactions_external_slow_dist_browser_index_js.js +2 -2
- package/interactions_external_trail_dist_browser_TrailMaker_js.js +3 -3
- package/interactions_external_trail_dist_browser_index_js.js +33 -3
- package/interactions_light_dist_browser_ExternalLighter_js.js +3 -3
- package/interactions_light_dist_browser_ParticlesLighter_js.js +3 -3
- package/interactions_light_dist_browser_index_js.js +2 -2
- package/interactions_particles_attract_dist_browser_Attractor_js.js +13 -3
- package/interactions_particles_attract_dist_browser_index_js.js +2 -2
- package/interactions_particles_collisions_dist_browser_Collider_js.js +5 -5
- package/interactions_particles_collisions_dist_browser_OverlapPluginInstance_js.js +1 -1
- package/interactions_particles_collisions_dist_browser_OverlapPlugin_js.js +1 -1
- package/interactions_particles_collisions_dist_browser_index_js.js +2 -2
- package/interactions_particles_links_dist_browser_LinkInstance_js.js +3 -3
- package/interactions_particles_links_dist_browser_Linker_js.js +3 -3
- package/interactions_particles_links_dist_browser_LinksPlugin_js.js +1 -1
- package/interactions_particles_links_dist_browser_index_js.js +2 -2
- package/interactions_particles_repulse_dist_browser_Repulser_js.js +3 -3
- package/interactions_particles_repulse_dist_browser_index_js.js +2 -2
- package/package.json +75 -75
- package/paths_branches_dist_browser_BranchesPathGenerator_js.js +2 -2
- package/paths_branches_dist_browser_index_js.js +2 -2
- package/paths_brownian_dist_browser_BrownianPathGenerator_js.js +2 -2
- package/paths_brownian_dist_browser_index_js.js +2 -2
- package/paths_curlNoise_dist_browser_CurlNoiseGenerator_js.js +2 -2
- package/paths_curlNoise_dist_browser_index_js.js +2 -2
- package/paths_curves_dist_browser_CurvesPathGenerator_js.js +1 -1
- package/paths_curves_dist_browser_index_js.js +2 -2
- package/paths_fractalNoise_dist_browser_FractalNoiseGenerator_js.js +2 -2
- package/paths_fractalNoise_dist_browser_index_js.js +2 -2
- package/paths_grid_dist_browser_GridPathGenerator_js.js +2 -2
- package/paths_grid_dist_browser_index_js.js +2 -2
- package/paths_levy_dist_browser_LevyPathGenerator_js.js +2 -2
- package/paths_levy_dist_browser_index_js.js +2 -2
- package/paths_perlinNoise_dist_browser_PerlinNoiseGenerator_js.js +2 -2
- package/paths_perlinNoise_dist_browser_index_js.js +2 -2
- package/paths_polygon_dist_browser_PolygonPathGenerator_js.js +2 -2
- package/paths_polygon_dist_browser_index_js.js +2 -2
- package/paths_random_dist_browser_RandomPathGenerator_js.js +2 -2
- package/paths_random_dist_browser_index_js.js +2 -2
- package/paths_simplexNoise_dist_browser_SimplexNoiseGenerator_js.js +2 -2
- package/paths_simplexNoise_dist_browser_index_js.js +2 -2
- package/paths_spiral_dist_browser_SpiralPathGenerator_js.js +2 -2
- package/paths_spiral_dist_browser_index_js.js +2 -2
- package/paths_svg_dist_browser_SVGPathGenerator_js.js +2 -2
- package/paths_svg_dist_browser_index_js.js +2 -2
- package/paths_zigzag_dist_browser_ZigZagPathGenerator_js.js +2 -2
- package/paths_zigzag_dist_browser_index_js.js +2 -2
- package/plugins_absorbers_dist_browser_AbsorberInstance_js.js +1 -1
- package/plugins_absorbers_dist_browser_AbsorbersInstancesManager_js.js +1 -1
- package/plugins_absorbers_dist_browser_AbsorbersInteractor_js.js +3 -3
- package/plugins_absorbers_dist_browser_AbsorbersPluginInstance_js.js +1 -1
- package/plugins_absorbers_dist_browser_AbsorbersPlugin_js.js +1 -1
- package/plugins_absorbers_dist_browser_index_js.js +2 -2
- package/plugins_backgroundMask_dist_browser_BackgroundMaskPluginInstance_js.js +1 -1
- package/plugins_backgroundMask_dist_browser_BackgroundMaskPlugin_js.js +1 -1
- package/plugins_backgroundMask_dist_browser_index_js.js +2 -2
- package/plugins_blend_dist_browser_BlendPluginInstance_js.js +1 -1
- package/plugins_blend_dist_browser_BlendPlugin_js.js +1 -1
- package/plugins_blend_dist_browser_index_js.js +2 -2
- package/plugins_canvasMask_dist_browser_CanvasMaskPluginInstance_js.js +1 -1
- package/plugins_canvasMask_dist_browser_CanvasMaskPlugin_js.js +1 -1
- package/plugins_canvasMask_dist_browser_index_js.js +2 -2
- package/plugins_colors_hex_dist_browser_HexColorManager_js.js +1 -1
- package/plugins_colors_hex_dist_browser_index_js.js +2 -2
- package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +1 -1
- package/plugins_colors_hsl_dist_browser_index_js.js +2 -2
- package/plugins_colors_hsv_dist_browser_HsvColorManager_js.js +1 -1
- package/plugins_colors_hsv_dist_browser_index_js.js +2 -2
- package/plugins_colors_hwb_dist_browser_HwbColorManager_js.js +1 -1
- package/plugins_colors_hwb_dist_browser_index_js.js +2 -2
- package/plugins_colors_lab_dist_browser_LabColorManager_js.js +1 -1
- package/plugins_colors_lab_dist_browser_index_js.js +2 -2
- package/plugins_colors_lch_dist_browser_LchColorManager_js.js +1 -1
- package/plugins_colors_lch_dist_browser_index_js.js +2 -2
- package/plugins_colors_named_dist_browser_NamedColorManager_js.js +1 -1
- package/plugins_colors_named_dist_browser_index_js.js +2 -2
- package/plugins_colors_oklab_dist_browser_OklabColorManager_js.js +1 -1
- package/plugins_colors_oklab_dist_browser_index_js.js +2 -2
- package/plugins_colors_oklch_dist_browser_OklchColorManager_js.js +1 -1
- package/plugins_colors_oklch_dist_browser_index_js.js +2 -2
- package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +1 -1
- package/plugins_colors_rgb_dist_browser_index_js.js +2 -2
- package/plugins_easings_back_dist_browser_easingsFunctions_js.js +1 -1
- package/plugins_easings_back_dist_browser_index_js.js +2 -2
- package/plugins_easings_bounce_dist_browser_easingsFunctions_js.js +1 -1
- package/plugins_easings_bounce_dist_browser_index_js.js +2 -2
- package/plugins_easings_circ_dist_browser_easingsFunctions_js.js +1 -1
- package/plugins_easings_circ_dist_browser_index_js.js +2 -2
- package/plugins_easings_cubic_dist_browser_easingsFunctions_js.js +1 -1
- package/plugins_easings_cubic_dist_browser_index_js.js +2 -2
- package/plugins_easings_elastic_dist_browser_easingsFunctions_js.js +1 -1
- package/plugins_easings_elastic_dist_browser_index_js.js +2 -2
- package/plugins_easings_expo_dist_browser_easingsFunctions_js.js +1 -1
- package/plugins_easings_expo_dist_browser_index_js.js +2 -2
- package/plugins_easings_gaussian_dist_browser_easingsFunctions_js.js +1 -1
- package/plugins_easings_gaussian_dist_browser_index_js.js +2 -2
- package/plugins_easings_linear_dist_browser_easingsFunctions_js.js +1 -1
- package/plugins_easings_linear_dist_browser_index_js.js +2 -2
- package/plugins_easings_quad_dist_browser_easingsFunctions_js.js +1 -1
- package/plugins_easings_quad_dist_browser_index_js.js +2 -2
- package/plugins_easings_quart_dist_browser_easingsFunctions_js.js +1 -1
- package/plugins_easings_quart_dist_browser_index_js.js +2 -2
- package/plugins_easings_quint_dist_browser_easingsFunctions_js.js +1 -1
- package/plugins_easings_quint_dist_browser_index_js.js +2 -2
- package/plugins_easings_sigmoid_dist_browser_easingsFunctions_js.js +1 -1
- package/plugins_easings_sigmoid_dist_browser_index_js.js +2 -2
- package/plugins_easings_sine_dist_browser_easingsFunctions_js.js +1 -1
- package/plugins_easings_sine_dist_browser_index_js.js +2 -2
- package/plugins_easings_smoothstep_dist_browser_easingsFunctions_js.js +1 -1
- package/plugins_easings_smoothstep_dist_browser_index_js.js +2 -2
- package/plugins_emittersShapes_canvas_dist_browser_EmittersCanvasShapeGenerator_js.js +2 -2
- package/plugins_emittersShapes_canvas_dist_browser_index_js.js +2 -2
- package/plugins_emittersShapes_circle_dist_browser_EmittersCircleShapeGenerator_js.js +2 -2
- package/plugins_emittersShapes_circle_dist_browser_index_js.js +2 -2
- package/plugins_emittersShapes_path_dist_browser_EmittersPathShapeGenerator_js.js +2 -2
- package/plugins_emittersShapes_path_dist_browser_index_js.js +2 -2
- package/plugins_emittersShapes_polygon_dist_browser_EmittersPolygonShapeGenerator_js.js +2 -2
- package/plugins_emittersShapes_polygon_dist_browser_index_js.js +2 -2
- package/plugins_emittersShapes_square_dist_browser_EmittersSquareShapeGenerator_js.js +2 -2
- package/plugins_emittersShapes_square_dist_browser_index_js.js +2 -2
- package/plugins_emitters_dist_browser_EmitterInstance_js.js +1 -1
- package/plugins_emitters_dist_browser_EmittersInstancesManager_js.js +1 -1
- package/plugins_emitters_dist_browser_EmittersInteractor_js.js +3 -3
- package/plugins_emitters_dist_browser_EmittersPluginInstance_js.js +1 -1
- package/plugins_emitters_dist_browser_EmittersPlugin_js.js +1 -1
- package/plugins_emitters_dist_browser_ShapeManager_js.js +1 -1
- package/plugins_emitters_dist_browser_index_js.js +2 -2
- package/plugins_exports_image_dist_browser_ExportImagePluginInstance_js.js +1 -1
- package/plugins_exports_image_dist_browser_ExportImagePlugin_js.js +1 -1
- package/plugins_exports_image_dist_browser_index_js.js +2 -2
- package/plugins_exports_json_dist_browser_ExportJSONPluginInstance_js.js +1 -1
- package/plugins_exports_json_dist_browser_ExportJSONPlugin_js.js +1 -1
- package/plugins_exports_json_dist_browser_index_js.js +2 -2
- package/plugins_exports_video_dist_browser_ExportVideoPluginInstance_js.js +1 -1
- package/plugins_exports_video_dist_browser_ExportVideoPlugin_js.js +1 -1
- package/plugins_exports_video_dist_browser_index_js.js +2 -2
- package/plugins_infection_dist_browser_InfectionPluginInstance_js.js +1 -1
- package/plugins_infection_dist_browser_InfectionPlugin_js.js +1 -1
- package/plugins_infection_dist_browser_ParticlesInfecter_js.js +3 -3
- package/plugins_infection_dist_browser_index_js.js +2 -2
- package/plugins_interactivity_dist_browser_InteractivityPluginInstance_js.js +3 -3
- package/plugins_interactivity_dist_browser_InteractivityPlugin_js.js +1 -1
- package/plugins_interactivity_dist_browser_index_js.js +2 -2
- package/plugins_manualParticles_dist_browser_ManualParticlesPluginInstance_js.js +1 -1
- package/plugins_manualParticles_dist_browser_ManualParticlesPlugin_js.js +1 -1
- package/plugins_manualParticles_dist_browser_index_js.js +2 -2
- package/plugins_motion_dist_browser_MotionPluginInstance_js.js +1 -1
- package/plugins_motion_dist_browser_MotionPlugin_js.js +1 -1
- package/plugins_motion_dist_browser_index_js.js +2 -2
- package/plugins_move_dist_browser_MovePluginInstance_js.js +40 -0
- package/{move_base_dist_browser_index_js.js → plugins_move_dist_browser_MovePlugin_js.js} +7 -7
- package/plugins_move_dist_browser_index_js.js +30 -0
- package/plugins_poisson_dist_browser_PoissonDiscPluginInstance_js.js +2 -12
- package/plugins_poisson_dist_browser_PoissonDiscPlugin_js.js +1 -1
- package/plugins_poisson_dist_browser_PoissonDisc_js.js +30 -0
- package/plugins_poisson_dist_browser_index_js.js +2 -2
- package/plugins_polygonMask_dist_browser_PolygonMaskInstance_js.js +1 -1
- package/plugins_polygonMask_dist_browser_PolygonMaskPlugin_js.js +1 -1
- package/plugins_polygonMask_dist_browser_index_js.js +2 -2
- package/plugins_responsive_dist_browser_ResponsivePluginInstance_js.js +1 -1
- package/plugins_responsive_dist_browser_ResponsivePlugin_js.js +1 -1
- package/plugins_responsive_dist_browser_index_js.js +2 -2
- package/plugins_sounds_dist_browser_SoundsPluginInstance_js.js +1 -1
- package/plugins_sounds_dist_browser_SoundsPlugin_js.js +1 -1
- package/plugins_sounds_dist_browser_index_js.js +2 -2
- package/plugins_themes_dist_browser_ThemesPluginInstance_js.js +2 -2
- package/plugins_themes_dist_browser_ThemesPlugin_js.js +1 -1
- package/plugins_themes_dist_browser_index_js.js +2 -2
- package/plugins_trail_dist_browser_TrailPluginInstance_js.js +1 -1
- package/plugins_trail_dist_browser_TrailPlugin_js.js +1 -1
- package/plugins_trail_dist_browser_index_js.js +2 -2
- package/plugins_zoom_dist_browser_ZoomPluginInstance_js.js +1 -1
- package/plugins_zoom_dist_browser_ZoomPlugin_js.js +1 -1
- package/plugins_zoom_dist_browser_index_js.js +2 -2
- package/report.html +1 -1
- package/shapes_arrow_dist_browser_ArrowDrawer_js.js +1 -1
- package/shapes_arrow_dist_browser_index_js.js +2 -2
- package/shapes_cards_dist_browser_cards_CardDrawer_js.js +1 -1
- package/shapes_cards_dist_browser_clubs_ClubDrawer_js.js +1 -1
- package/shapes_cards_dist_browser_diamonds_DiamondDrawer_js.js +1 -1
- package/shapes_cards_dist_browser_hearts_HeartDrawer_js.js +1 -1
- package/shapes_cards_dist_browser_index_js.js +7 -7
- package/shapes_cards_dist_browser_paths_js.js +1 -1
- package/shapes_cards_dist_browser_spades_SpadeDrawer_js.js +1 -1
- package/shapes_circle_dist_browser_CircleDrawer_js.js +1 -1
- package/shapes_circle_dist_browser_index_js.js +2 -2
- package/shapes_cog_dist_browser_CogDrawer_js.js +1 -1
- package/shapes_cog_dist_browser_index_js.js +2 -2
- package/shapes_emoji_dist_browser_EmojiDrawer_js.js +1 -1
- package/shapes_emoji_dist_browser_index_js.js +2 -2
- package/shapes_heart_dist_browser_HeartDrawer_js.js +1 -1
- package/shapes_heart_dist_browser_index_js.js +2 -2
- package/shapes_image_dist_browser_GifUtils_Utils_js.js +1 -1
- package/shapes_image_dist_browser_ImageDrawer_js.js +1 -1
- package/shapes_image_dist_browser_ImagePreloaderInstance_js.js +1 -1
- package/shapes_image_dist_browser_ImagePreloader_js.js +1 -1
- package/shapes_image_dist_browser_index_js.js +2 -2
- package/shapes_infinity_dist_browser_InfinityDrawer_js.js +1 -1
- package/shapes_infinity_dist_browser_index_js.js +2 -2
- package/shapes_line_dist_browser_LineDrawer_js.js +1 -1
- package/shapes_line_dist_browser_index_js.js +2 -2
- package/shapes_path_dist_browser_PathDrawer_js.js +1 -1
- package/shapes_path_dist_browser_index_js.js +2 -2
- package/shapes_polygon_dist_browser_PolygonDrawer_js.js +1 -1
- package/shapes_polygon_dist_browser_TriangleDrawer_js.js +2 -2
- package/shapes_polygon_dist_browser_index_js.js +2 -2
- package/shapes_rounded-polygon_dist_browser_RoundedPolygonDrawer_js.js +1 -1
- package/shapes_rounded-polygon_dist_browser_index_js.js +2 -2
- package/shapes_rounded-rect_dist_browser_RoundedRectDrawer_js.js +2 -2
- package/shapes_rounded-rect_dist_browser_index_js.js +2 -2
- package/shapes_spiral_dist_browser_SpiralDrawer_js.js +1 -1
- package/shapes_spiral_dist_browser_index_js.js +2 -2
- package/shapes_square_dist_browser_SquareDrawer_js.js +2 -2
- package/shapes_square_dist_browser_index_js.js +2 -2
- package/shapes_star_dist_browser_StarDrawer_js.js +1 -1
- package/shapes_star_dist_browser_index_js.js +2 -2
- package/shapes_text_dist_browser_TextDrawer_js.js +1 -1
- package/shapes_text_dist_browser_index_js.js +2 -2
- package/slim_dist_browser_index_js.js +2 -2
- package/tsparticles.all.bundle.js +13 -33
- package/tsparticles.all.bundle.min.js +2 -2
- package/tsparticles.all.js +2 -2
- package/tsparticles.all.min.js +1 -1
- package/umd/index.js +1 -1
- package/updaters_color_dist_browser_ColorUpdater_js.js +1 -1
- package/updaters_color_dist_browser_index_js.js +2 -2
- package/updaters_destroy_dist_browser_DestroyUpdater_js.js +3 -3
- package/updaters_destroy_dist_browser_index_js.js +2 -2
- package/updaters_gradient_dist_browser_GradientUpdater_js.js +1 -1
- package/updaters_gradient_dist_browser_index_js.js +2 -2
- package/updaters_life_dist_browser_LifeUpdater_js.js +1 -1
- package/updaters_life_dist_browser_index_js.js +2 -2
- package/updaters_opacity_dist_browser_OpacityUpdater_js.js +1 -1
- package/updaters_opacity_dist_browser_index_js.js +2 -2
- package/updaters_orbit_dist_browser_OrbitUpdater_js.js +1 -1
- package/updaters_orbit_dist_browser_index_js.js +2 -2
- package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +4 -4
- package/updaters_outModes_dist_browser_index_js.js +2 -2
- package/updaters_roll_dist_browser_RollUpdater_js.js +1 -1
- package/updaters_roll_dist_browser_index_js.js +2 -2
- package/updaters_rotate_dist_browser_RotateUpdater_js.js +1 -1
- package/updaters_rotate_dist_browser_index_js.js +2 -2
- package/updaters_size_dist_browser_SizeUpdater_js.js +1 -1
- package/updaters_size_dist_browser_index_js.js +2 -2
- package/updaters_strokeColor_dist_browser_StrokeColorUpdater_js.js +1 -1
- package/updaters_strokeColor_dist_browser_index_js.js +2 -2
- package/updaters_tilt_dist_browser_TiltUpdater_js.js +1 -1
- package/updaters_tilt_dist_browser_index_js.js +2 -2
- package/updaters_twinkle_dist_browser_TwinkleUpdater_js.js +1 -1
- package/updaters_twinkle_dist_browser_index_js.js +2 -2
- package/updaters_wobble_dist_browser_WobbleUpdater_js.js +1 -1
- package/updaters_wobble_dist_browser_index_js.js +2 -2
- package/utils_simplexNoise_dist_browser_index_js.js +1 -1
- package/102.min.js +0 -1
- package/1042.min.js +0 -1
- package/1134.min.js +0 -1
- package/131.min.js +0 -1
- package/1311.min.js +0 -1
- package/1325.min.js +0 -1
- package/1394.min.js +0 -1
- package/1416.min.js +0 -1
- package/1504.min.js +0 -1
- package/1554.min.js +0 -1
- package/1575.min.js +0 -1
- package/1678.min.js +0 -1
- package/1746.min.js +0 -1
- package/1788.min.js +0 -1
- package/195.min.js +0 -1
- package/1980.min.js +0 -1
- package/202.min.js +0 -1
- package/2028.min.js +0 -1
- package/2106.min.js +0 -1
- package/2129.min.js +0 -1
- package/223.min.js +0 -1
- package/2268.min.js +0 -1
- package/2298.min.js +0 -1
- package/2384.min.js +0 -1
- package/2402.min.js +0 -1
- package/2442.min.js +0 -1
- package/2447.min.js +0 -1
- package/2559.min.js +0 -1
- package/2740.min.js +0 -1
- package/2823.min.js +0 -1
- package/2895.min.js +0 -1
- package/2943.min.js +0 -1
- package/3071.min.js +0 -1
- package/3139.min.js +0 -1
- package/3166.min.js +0 -1
- package/3195.min.js +0 -1
- package/3206.min.js +0 -1
- package/3216.min.js +0 -1
- package/3277.min.js +0 -1
- package/3281.min.js +0 -1
- package/3283.min.js +0 -1
- package/334.min.js +0 -1
- package/3415.min.js +0 -1
- package/3422.min.js +0 -1
- package/3435.min.js +0 -1
- package/3440.min.js +0 -1
- package/3484.min.js +0 -1
- package/356.min.js +0 -1
- package/3561.min.js +0 -1
- package/3566.min.js +0 -1
- package/3576.min.js +0 -1
- package/3607.min.js +0 -1
- package/3669.min.js +0 -1
- package/3746.min.js +0 -1
- package/3775.min.js +0 -1
- package/3799.min.js +0 -1
- package/3891.min.js +0 -1
- package/3923.min.js +0 -1
- package/3933.min.js +0 -1
- package/3956.min.js +0 -1
- package/3960.min.js +0 -1
- package/398.min.js +0 -1
- package/4060.min.js +0 -1
- package/427.min.js +0 -1
- package/4298.min.js +0 -1
- package/4349.min.js +0 -1
- package/435.min.js +0 -1
- package/4362.min.js +0 -1
- package/4377.min.js +0 -1
- package/4449.min.js +0 -1
- package/4467.min.js +0 -1
- package/4512.min.js +0 -1
- package/4543.min.js +0 -1
- package/4662.min.js +0 -1
- package/4665.min.js +0 -1
- package/4775.min.js +0 -1
- package/4828.min.js +0 -1
- package/4853.min.js +0 -1
- package/4894.min.js +0 -1
- package/4912.min.js +0 -1
- package/4923.min.js +0 -1
- package/4960.min.js +0 -1
- package/4987.min.js +0 -1
- package/5022.min.js +0 -1
- package/5025.min.js +0 -2
- package/5030.min.js +0 -1
- package/5081.min.js +0 -1
- package/5093.min.js +0 -1
- package/5143.min.js +0 -1
- package/522.min.js +0 -1
- package/5272.min.js +0 -1
- package/5280.min.js +0 -1
- package/5291.min.js +0 -1
- package/5301.min.js +0 -1
- package/5321.min.js +0 -1
- package/5380.min.js +0 -1
- package/5523.min.js +0 -1
- package/5584.min.js +0 -1
- package/5597.min.js +0 -1
- package/5657.min.js +0 -1
- package/5688.min.js +0 -1
- package/5748.min.js +0 -1
- package/578.min.js +0 -1
- package/581.min.js +0 -1
- package/5861.min.js +0 -1
- package/5905.min.js +0 -1
- package/5959.min.js +0 -1
- package/6076.min.js +0 -1
- package/611.min.js +0 -1
- package/6130.min.js +0 -1
- package/6157.min.js +0 -1
- package/6196.min.js +0 -1
- package/6206.min.js +0 -1
- package/6227.min.js +0 -1
- package/6245.min.js +0 -1
- package/6253.min.js +0 -1
- package/6300.min.js +0 -1
- package/6330.min.js +0 -1
- package/6400.min.js +0 -1
- package/6486.min.js +0 -1
- package/6495.min.js +0 -1
- package/6497.min.js +0 -1
- package/6566.min.js +0 -1
- package/6622.min.js +0 -1
- package/665.min.js +0 -1
- package/690.min.js +0 -2
- package/6900.min.js +0 -1
- package/699.min.js +0 -1
- package/7018.min.js +0 -1
- package/7054.min.js +0 -1
- package/7089.min.js +0 -1
- package/7116.min.js +0 -1
- package/7152.min.js +0 -1
- package/7160.min.js +0 -1
- package/720.min.js +0 -1
- package/722.min.js +0 -1
- package/7239.min.js +0 -1
- package/7242.min.js +0 -1
- package/7281.min.js +0 -1
- package/731.min.js +0 -1
- package/7325.min.js +0 -1
- package/7346.min.js +0 -1
- package/7362.min.js +0 -1
- package/7368.min.js +0 -1
- package/74.min.js +0 -1
- package/7422.min.js +0 -1
- package/7518.min.js +0 -1
- package/7541.min.js +0 -1
- package/7627.min.js +0 -1
- package/776.min.js +0 -1
- package/7787.min.js +0 -1
- package/7802.min.js +0 -1
- package/7815.min.js +0 -1
- package/7884.min.js +0 -1
- package/795.min.js +0 -1
- package/7987.min.js +0 -1
- package/8019.min.js +0 -1
- package/8035.min.js +0 -1
- package/8088.min.js +0 -1
- package/8106.min.js +0 -1
- package/8118.min.js +0 -1
- package/8166.min.js +0 -1
- package/8183.min.js +0 -1
- package/8196.min.js +0 -1
- package/831.min.js +0 -1
- package/844.min.js +0 -1
- package/8442.min.js +0 -1
- package/8509.min.js +0 -1
- package/8580.min.js +0 -1
- package/8690.min.js +0 -1
- package/8703.min.js +0 -1
- package/8797.min.js +0 -1
- package/8836.min.js +0 -1
- package/8838.min.js +0 -1
- package/884.min.js +0 -1
- package/8945.min.js +0 -1
- package/8968.min.js +0 -1
- package/8985.min.js +0 -1
- package/9007.min.js +0 -1
- package/9017.min.js +0 -1
- package/9026.min.js +0 -1
- package/9099.min.js +0 -1
- package/9169.min.js +0 -1
- package/9212.min.js +0 -1
- package/9229.min.js +0 -1
- package/9242.min.js +0 -1
- package/9260.min.js +0 -1
- package/929.min.js +0 -1
- package/9322.min.js +0 -1
- package/9391.min.js +0 -1
- package/94.min.js +0 -1
- package/9506.min.js +0 -1
- package/9536.min.js +0 -1
- package/9555.min.js +0 -1
- package/9612.min.js +0 -1
- package/9616.min.js +0 -1
- package/9644.min.js +0 -1
- package/969.min.js +0 -1
- package/999.min.js +0 -1
- package/move_base_dist_browser_BaseMover_js.js +0 -40
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[4756],{4756(t,e,a){a.d(e,{RotateUpdater:()=>n});var i=a(2005);class o{decay;enable;speed;sync;constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(t){(0,i.kZJ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=(0,i.DT4)(t.speed)),void 0!==t.decay&&(this.decay=(0,i.DT4)(t.decay)),void 0!==t.sync&&(this.sync=t.sync))}}class s extends i.PVU{animation;direction;path;constructor(){super(),this.animation=new o,this.direction=i.pTR.clockwise,this.path=!1,this.value=0}load(t){(0,i.kZJ)(t)||(super.load(t),void 0!==t.direction&&(this.direction=t.direction),this.animation.load(t.animation),void 0!==t.path&&(this.path=t.path))}}class n{container;constructor(t){this.container=t}init(t){let e=t.options.rotate;if(!e)return;t.rotate={enable:e.animation.enable,value:(0,i.puj)((0,i.VGA)(e.value)),min:0,max:i.R1e},t.pathRotation=e.path;let a=e.direction;switch(a===i.pTR.random&&(a=Math.floor((0,i.G0i)()*i.gdl)>0?i.pTR.counterClockwise:i.pTR.clockwise),a){case i.pTR.counterClockwise:case"counterClockwise":t.rotate.status=i.H_P.decreasing;break;case i.pTR.clockwise:t.rotate.status=i.H_P.increasing}let o=e.animation;o.enable&&(t.rotate.decay=i.D_O-(0,i.VGA)(o.decay),t.rotate.velocity=(0,i.VGA)(o.speed)/360*this.container.retina.reduceFactor,o.sync||(t.rotate.velocity*=(0,i.G0i)())),t.rotation=t.rotate.value}isEnabled(t){let e=t.options.rotate;return!!e&&!t.destroyed&&!t.spawning&&(!!e.value||e.animation.enable||e.path)}loadOptions(t,...e){for(let a of(t.rotate??=new s,e))t.rotate.load(a?.rotate)}update(t,e){!this.isEnabled(t)||(t.isRotating=!!t.rotate,t.rotate&&((0,i.UC0)(t,t.rotate,!1,i.VKE.none,e),t.rotation=t.rotate.value))}}}}]);
|
package/4837.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[4837],{4837(i,s,t){t.d(s,{PoissonDiscPluginInstance:()=>n});var e=t(2005);class n{poissonDisc;redrawTimeout;_container;_currentIndex;constructor(i){this._container=i,this._currentIndex=0}async init(){await this._initData()}particlePosition(i){let s=this._container.actualOptions.poisson;if(this.poissonDisc&&s?.enable&&!(this._currentIndex>=this.poissonDisc.points.length))return i??this.poissonDisc.points[this._currentIndex++]?.position}resize(){let i=this._container,s=i.actualOptions.poisson;s?.enable&&(this.redrawTimeout&&clearTimeout(this.redrawTimeout),this.redrawTimeout=setTimeout(()=>{(async()=>{this._container.destroyed||(await this._initData(),await i.particles.redraw())})()},250))}stop(){delete this.poissonDisc}async _initData(){let i=this._container,s=i.actualOptions.poisson,n=i.actualOptions.particles,a=i.canvas.size,o=i.retina.pixelRatio;if(!s?.enable)return;this._currentIndex=0;let{PoissonDisc:r}=await t.e(7645).then(t.bind(t,7645));this.poissonDisc=new r(a,s.radius?s.radius*o:Math.max((0,e.W9e)(n.size.value)*o,Math.sqrt(a.width*a.height/n.number.value)),s.retries,s.dimensions),s.steps>0?this.poissonDisc.steps(s.steps):await this.poissonDisc.run()}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[4860],{4860(a,t,e){e.d(t,{LchColorManager:()=>i});var l=e(2005);let s={EPSILON:216/24389,KAPPA:24389/27,L_OFFSET:16,L_SCALE:116,A_SCALE:500,B_SCALE:200},h=3.2404542,c=-1.5371385,r=-.4985314,n=-.969266,A=1.8760108,L=.041556,O=.0556434,u=-.2040259,E=1.0572252;function S(a){let t=a.l,e=a.c,S=(0,l.puj)(a.h),_=e*Math.cos(S),i=e*Math.sin(S),o=(t+s.L_OFFSET)/s.L_SCALE,P=o+_/s.A_SCALE,d=o-i/s.B_SCALE,p=P**3,C=d**3,F=p>s.EPSILON?p:(s.L_SCALE*P-s.L_OFFSET)/s.KAPPA,b=t>s.KAPPA*s.EPSILON?o**3:t/s.KAPPA,w=C>s.EPSILON?C:(s.L_SCALE*d-s.L_OFFSET)/s.KAPPA,j=.95047*F,v=+b,M=1.08883*w,K=a=>Math.round(255*(0,l.qE8)(a<=.0031308?12.92*a:1.055*Math.pow(a,l.hBr/2.4)-.055,0,1));return{r:K(h*j+c*v+r*M),g:K(n*j+A*v+L*M),b:K(O*j+u*v+E*M)}}let _=/lch\(\s*(\d+(\.\d+)?)%\s+(\d+(\.\d+)?)\s+(\d+(\.\d+)?)(?:\s*\/\s*(0|1|0?\.\d+|\d{1,3}%))?\s*\)/i;class i{accepts(a){return a.startsWith("lch")}handleColor(a){let t=a.value.lch??a.value;if(Object.hasOwn(t,"l")&&Object.hasOwn(t,"c")&&Object.hasOwn(t,"h"))return S(t)}handleRangeColor(a){let t=a.value.lch??a.value;if(Object.hasOwn(t,"l")&&Object.hasOwn(t,"c")&&Object.hasOwn(t,"h"))return S({l:(0,l.VGA)(t.l),c:(0,l.VGA)(t.c),h:(0,l.VGA)(t.h)})}parseString(a){var t;if(!this.accepts(a))return;let e=_.exec(a);return e?{a:(t={a:e[7]?(0,l.M3Y)(e[7]):1,c:parseFloat(e[3]??"0"),h:parseFloat(e[5]??"0"),l:parseFloat(e[1]??"0")}).a,...S(t)}:void 0}}}}]);
|
package/492.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[492],{492(e,t,a){a.d(t,{ThemesPluginInstance:()=>n});var h=a(2005);class n{_container;constructor(e){this._container=e}init(){let e=this._container;e.themeMatchMedia=(0,h.lVH)("(prefers-color-scheme: dark)");let t=async t=>{e.destroyed||(e.currentTheme=t,await e.refresh())};return e.themeHandlers={themeChange:e=>{this._handleThemeChange(e)},oldThemeChange:e=>{this._handleThemeChange(e)}},e.manageMediaMatch=t=>{let a=e.themeHandlers;!a||e.themeMatchMedia&&(0,h.KpY)(e.themeMatchMedia,"change",a.themeChange,t)},e.loadTheme=t,Promise.resolve()}manageListeners(e){let t=this._container;t.manageMediaMatch?.(e)}async start(){return this.manageListeners(!0),Promise.resolve()}stop(){this.manageListeners(!1)}updateActualOptions(){let e=this._container;return e.actualOptions.setTheme?.(e.currentTheme),!1}_handleThemeChange=e=>{let t=this._container,a=t.options,h=a.defaultThemes,n=e.matches?h.dark:h.light,s=a.themes?.find(e=>e.name===n);s?.default.auto&&t.loadTheme?.(n)}}}}]);
|
package/4927.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[4927],{9227(t,a,i){i.d(a,{d:()=>e});var s=i(2005),n=i(8814);class e{distance;links;radius;constructor(){this.distance=80,this.links=new n.e,this.radius=60}load(t){(0,s.kZJ)(t)||(void 0!==t.distance&&(this.distance=t.distance),this.links.load(t.links),void 0!==t.radius&&(this.radius=t.radius))}}},8814(t,a,i){i.d(a,{e:()=>n});var s=i(2005);class n{opacity;constructor(){this.opacity=.5}load(t){(0,s.kZJ)(t)||void 0!==t.opacity&&(this.opacity=t.opacity)}}},4927(t,a,i){i.r(a),i.d(a,{Connect:()=>s.d,ConnectLinks:()=>n.e,loadExternalConnectInteraction:()=>e});var s=i(9227),n=i(8814);async function e(t){t.checkVersion("4.0.0-alpha.26"),await t.register(async t=>{let{ensureInteractivityPluginLoaded:a}=await i.e(9204).then(i.bind(i,9204));a(t),t.addInteractor?.("externalConnect",async t=>{let{Connector:a}=await i.e(7665).then(i.bind(i,7665));return new a(t)})})}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[4935],{4935(t,e,a){a.d(e,{StarDrawer:()=>r});var s=a(2005);class r{draw(t){!function(t){let{context:e,particle:a,radius:s}=t,r=a.sides,i=a.starInset??2;e.moveTo(0,0-s);for(let t=0;t<r;t++)e.rotate(Math.PI/r),e.lineTo(0,0-s*i),e.rotate(Math.PI/r),e.lineTo(0,0-s)}(t)}getSidesCount(t){let e=t.shapeData;return Math.round((0,s.VGA)(e?.sides??5))}particleInit(t,e){let a=e.shapeData;e.starInset=(0,s.VGA)(a?.inset??2)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5055],{5055(e,t,i){i.d(t,{InteractivityPlugin:()=>s});var n=i(2005),o=i(5978);class s{id="interactivity";_engine;constructor(e){this._engine=e}async getPlugin(e){let{InteractivityPluginInstance:t}=await i.e(1587).then(i.bind(i,1587));return new t(this._engine,e)}loadOptions(e,t,i){if(!this.needsPlugin())return;let n=t.interactivity;n?.load||(t.interactivity=n=new o.k(this._engine,e)),n.load(i?.interactivity);let s=this._engine.interactors?.get(e);if(s)for(let e of s)e.loadOptions&&e.loadOptions(t,i)}loadParticlesOptions(e,t,i){i?.interactivity&&(t.interactivity=(0,n.zwS)({},i.interactivity));let o=this._engine.interactors?.get(e);if(o)for(let e of o)e.loadParticlesOptions?.(t,i)}needsPlugin(){return!0}}},5978(e,t,i){i.d(t,{k:()=>c});var n=i(2005);class o{enable;mode;constructor(){this.enable=!1,this.mode=[]}load(e){(0,n.kZJ)(e)||(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.mode&&(this.mode=e.mode))}}var s=i(1238);class a{enable;mode;constructor(){this.enable=!1,this.mode=[]}load(e){(0,n.kZJ)(e)||(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.mode&&(this.mode=e.mode))}}class l{onClick;onDiv;onHover;constructor(){this.onClick=new o,this.onDiv=new s.G,this.onHover=new a}load(e){if((0,n.kZJ)(e))return;this.onClick.load(e.onClick);let t=e.onDiv;void 0!==t&&(this.onDiv=(0,n.wJ2)(t,e=>{let t=new s.G;return t.load(e),t})),this.onHover.load(e.onHover)}}var r=i(4070),d=i(5626);class c{detectsOn;events;modes;constructor(e,t){this.detectsOn=r.h.window,this.events=new l,this.modes=new d.d(e,t)}load(e){if((0,n.kZJ)(e))return;let t=e.detectsOn;void 0!==t&&(this.detectsOn=t),this.events.load(e.events),this.modes.load(e.modes)}}}}]);
|
package/5101.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5101],{5101(e,a,t){async function i(e){e.checkVersion("4.0.0-alpha.26"),await e.register(async e=>{let{ensureEmittersPluginLoaded:a}=await t.e(6114).then(t.bind(t,6114));a(e);let{EmittersSquareShapeGenerator:i}=await t.e(1262).then(t.bind(t,1262));e.addEmitterShapeGenerator?.("square",new i)})}t.r(a),t.d(a,{loadEmittersShapeSquare:()=>i})}}]);
|
package/5111.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5111,9204],{5111(e,t,n){n.d(t,{Pauser:()=>s});var i=n(9204),a=n(2005);let r="pause";class s extends i.ExternalInteractorBase{handleClickMode;maxDistance=0;constructor(e){super(e),this.handleClickMode=e=>{if(e!==r)return;let t=this.container;t.animationStatus?t.pause():t.play()}}clear(){}init(){}interact(){}isEnabled(e,t){let n=this.container.actualOptions,i=(t?.interactivity??n.interactivity)?.events;return!!i&&(0,a.hnD)(r,i.onClick.mode)}reset(){}}},6201(e,t,n){var i,a;n.d(t,{Q:()=>i}),(a=i||(i={})).circle="circle",a.rectangle="rectangle"},4070(e,t,n){var i,a;n.d(t,{h:()=>i}),(a=i||(i={})).canvas="canvas",a.parent="parent",a.window="window"},6815(e,t,n){var i,a;n.d(t,{e:()=>i}),(a=i||(i={})).external="external",a.particles="particles"},2043(e,t,n){n.d(t,{Bp:()=>d,DG:()=>u,G3:()=>h,Rb:()=>c,Z0:()=>s,ms:()=>a,s7:()=>l,sf:()=>o,vo:()=>r,xO:()=>i});let i="click",a="pointerdown",r="pointerup",s="pointerleave",o="pointerout",c="pointermove",l="touchstart",d="touchend",u="touchmove",h="touchcancel"},1238(e,t,n){n.d(t,{G:()=>r});var i=n(2005),a=n(6201);class r{enable;mode;selectors;type;constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=a.Q.circle}load(e){(0,i.kZJ)(e)||(void 0!==e.selectors&&(this.selectors=e.selectors),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.mode&&(this.mode=e.mode),void 0!==e.type&&(this.type=e.type))}}},5626(e,t,n){n.d(t,{d:()=>a});var i=n(2005);class a{_container;_engine;constructor(e,t){this._engine=e,this._container=t}load(e){if((0,i.kZJ)(e)||!this._container)return;let t=this._engine.interactors?.get(this._container);if(t)for(let n of t)n.loadModeOptions&&n.loadModeOptions(this,e)}}},9204(e,t,n){n.r(t),n.d(t,{DivEvent:()=>p.G,DivType:()=>c.Q,ExternalInteractorBase:()=>r,InteractivityDetect:()=>l.h,InteractorType:()=>a.e,Modes:()=>w.d,ParticlesInteractorBase:()=>s,clickEvent:()=>o.xO,divMode:()=>v,divModeExecute:()=>u,ensureInteractivityPluginLoaded:()=>y,isDivModeEnabled:()=>d,loadInteractivityPlugin:()=>m,mouseDownEvent:()=>o.ms,mouseLeaveEvent:()=>o.Z0,mouseMoveEvent:()=>o.Rb,mouseOutEvent:()=>o.sf,mouseUpEvent:()=>o.vo,singleDivModeExecute:()=>h,touchCancelEvent:()=>o.G3,touchEndEvent:()=>o.Bp,touchMoveEvent:()=>o.DG,touchStartEvent:()=>o.s7});var i=n(2005),a=n(6815);class r{type=a.e.external;container;constructor(e){this.container=e}}class s{type=a.e.particles;container;constructor(e){this.container=e}}var o=n(2043),c=n(6201),l=n(4070);function d(e,t){return!!(0,i.w3Z)(t,t=>t.enable&&(0,i.hnD)(e,t.mode))}function u(e,t,n){(0,i.wJ2)(t,t=>{let a=t.mode;t.enable&&(0,i.hnD)(e,a)&&h(t,n)})}function h(e,t){let n=e.selectors;(0,i.wJ2)(n,n=>{t(n,e)})}function v(e,t){if(t&&e)return(0,i.w3Z)(e,e=>{var n;let a;return n=e.selectors,a=(0,i.wJ2)(n,e=>t.matches(e)),(0,i.cyL)(a)?a.some(e=>e):a})}var p=n(1238),w=n(5626);async function m(e){e.checkVersion("4.0.0-alpha.26"),await e.register(async e=>{let{InteractivityPlugin:t}=await n.e(5055).then(n.bind(n,5055));e.addPlugin(new t(e)),e.initializers.interactors??=new Map,e.interactors??=new Map,e.addInteractor=(t,n)=>{e.initializers.interactors??=new Map,e.initializers.interactors.set(t,n)},e.getInteractors=async(t,n=!1)=>(e.interactors??=new Map,e.initializers.interactors??=new Map,(0,i.HQK)(t,e.interactors,e.initializers.interactors,n)),e.setOnClickHandler=t=>{let{items:n}=e;if(!n.length)throw Error("Click handlers can only be set after calling tsParticles.load()");n.forEach(e=>{e.addClickHandler?.(t)})}})}function y(e){if(!e.addInteractor)throw Error("tsParticles Interactivity Plugin is not loaded")}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5123],{5123(e,i,s){s.d(i,{SizeUpdater:()=>t});var a=s(2005);class t{init(e){let i=e.container,s=e.options.size.animation;s.enable&&(e.size.velocity=(e.retina.sizeAnimationSpeed??i.retina.sizeAnimationSpeed)/a.a56*i.retina.reduceFactor,s.sync||(e.size.velocity*=(0,a.G0i)()))}isEnabled(e){return!e.destroyed&&!e.spawning&&e.size.enable&&((e.size.maxLoops??0)<=0||(e.size.maxLoops??0)>0&&(e.size.loops??0)<(e.size.maxLoops??0))}reset(e){e.size.loops=0}update(e,i){this.isEnabled(e)&&(0,a.UC0)(e,e.size,!0,e.options.size.animation.destroy,i)}}}}]);
|
package/5124.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5124],{5124(a,t,e){e.r(t),e.d(t,{loadSVGPath:()=>s,svgPathName:()=>n});let n="svgPathGenerator";async function s(a){a.checkVersion("4.0.0-alpha.26"),await a.register(async a=>{let{ensureBaseMoverLoaded:t}=await e.e(7217).then(e.bind(e,7217));t(a),a.addPathGenerator?.(n,async a=>{let{SVGPathGenerator:t}=await e.e(9386).then(e.bind(e,9386));return new t(a)})})}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5127],{5127(t,e,i){i.d(e,{InfectionPluginInstance:()=>l});var n=i(2005);class a{_container;constructor(t){this._container=t}startInfection(t,e){let i=this._container.actualOptions.infection,{infection:n}=t;!i||!n||e>i.stages.length||e<0||(n.delay=0,n.delayStage=e)}updateInfection(t,e){let i=this._container.actualOptions.infection,{infection:a}=t;if(!i||!a)return;let l=i.stages,o=l.length;if(void 0!==a.delay&&void 0!==a.delayStage){let t=a.delayStage;if(t>o||t<0)return;a.delay>=i.delay*n.XuV?(a.stage=t,a.time=0,delete a.delay,delete a.delayStage):a.delay+=e}else delete a.delay,delete a.delayStage;if(void 0!==a.stage&&void 0!==a.time){let i=l[a.stage];i?.duration!==void 0&&i.duration>=0&&a.time>i.duration*n.XuV?this._nextInfectionStage(t):a.time+=e}else delete a.stage,delete a.time}updateInfectionStage(t,e){let i=this._container.actualOptions,{infection:n}=t;!i.infection||!n||e>i.infection.stages.length||e<0||void 0!==n.stage&&n.stage>e||(n.stage=e,n.time=0)}_nextInfectionStage=t=>{let e=this._container.actualOptions.infection,{infection:i}=t;if(!e||!i)return;let n=e.stages.length;!(n<=0)&&void 0!==i.stage&&(i.time=0,n<=++i.stage&&(e.cure?(delete i.stage,delete i.time):(i.stage=0,i.time=0)))}}class l{_container;constructor(t){this._container=t,this._container.infecter=new a(this._container)}particleFillColor(t){let e=this._container.actualOptions;if(!t.infection||!e.infection)return;let i=t.infection.stage,n=e.infection.stages;return void 0===i?void 0:n[i]?.color}particleStrokeColor(t){return this.particleFillColor(t)}particlesSetup(){let t=this._container.actualOptions;if(t.infection)for(let e=0;e<t.infection.infections;e++){let t=this._container.particles.filter(t=>(t.infection??={},void 0===t.infection.stage)),e=(0,n.Vh1)(t);e&&this._container.infecter?.startInfection(e,0)}}}}}]);
|
package/5145.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5145],{5145(a,e,t){async function r(a){a.checkVersion("4.0.0-alpha.26"),await a.register(a=>{a.addShape(["arrow"],async()=>{let{ArrowDrawer:a}=await t.e(4399).then(t.bind(t,4399));return new a})})}t.r(e),t.d(e,{loadArrowShape:()=>r})}}]);
|
package/5163.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5163],{5163(a,e,t){async function i(a){a.checkVersion("4.0.0-alpha.26"),await a.register(async a=>{let{BlendPlugin:e}=await t.e(2712).then(t.bind(t,2712));a.addPlugin(new e)})}t.r(e),t.d(e,{loadBlendPlugin:()=>i})}}]);
|
package/5204.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5204],{5204(a,t,s){async function i(a){a.checkVersion("4.0.0-alpha.26"),await a.register(async a=>{let{easingsFunctions:t}=await s.e(2601).then(s.bind(s,2601));for(let[s,i]of t)a.addEasing(s,i)})}s.r(t),s.d(t,{loadEasingQuartPlugin:()=>i})}}]);
|
package/5218.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5218],{5218(t,a,e){async function s(t){t.checkVersion("4.0.0-alpha.26"),await t.register(t=>{t.addParticleUpdater("outModes",async t=>{let{OutOfCanvasUpdater:a}=await e.e(8323).then(e.bind(e,8323));return new a(t)})})}e.r(a),e.d(a,{loadOutModesUpdater:()=>s})}}]);
|
package/5256.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5256],{5256(a,e,n){async function t(a){a.checkVersion("4.0.0-alpha.26"),await a.register(a=>{a.addShape(["rounded-polygon"],async()=>{let{RoundedPolygonDrawer:a}=await n.e(456).then(n.bind(n,456));return new a})})}n.r(e),n.d(e,{loadRoundedPolygonShape:()=>t})}}]);
|
package/5264.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5264],{5264(a,e,t){t.r(e),t.d(e,{levyPathName:()=>n,loadLevyPath:()=>s});let n="levyPathGenerator";async function s(a){a.checkVersion("4.0.0-alpha.26"),await a.register(async a=>{let{ensureBaseMoverLoaded:e}=await t.e(7217).then(t.bind(t,7217));e(a),a.addPathGenerator?.(n,async a=>{let{LevyPathGenerator:e}=await t.e(4214).then(t.bind(t,4214));return new e(a)})})}}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[
|
|
2
|
-
`)??[],a.maxTextLength??=a.textLines.length?Math.max(...a.textLines.map(t=>t.length)):a.textLines[0]?.length??0,!a.textLines.length||!a.maxTextLength)return;let g=a.textLines,c=r.style??"",o=r.weight??"400",p=r.font??"Verdana",u=Math.round(i)*l.gdl/(g.length*a.maxTextLength);e.font=`${c} ${o} ${u.toString()}px "${p}"`;let d=e.globalAlpha;e.globalAlpha=x;for(let t=0;t<g.length;t++){let a=g[t];a&&function(t,e,a,n,h,i){let x={x:-(e.length*a*l.MXx),y:a*l.MXx+n*a};h&&t.fillText(e,x.x,x.y),i&&t.strokeText(e,x.x,x.y)}(e,a,u,t,n,h)}e.globalAlpha=d}},
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5299],{3006(t,e,a){a.d(e,{m:()=>h,u:()=>n});var l=a(2005);let n=["text","character","char","multiline-text"];function h(t){let{context:e,particle:a,fill:n,stroke:h,radius:i,opacity:x}=t,r=a.shapeData;if(!r)return;let s=r.value;if(a.textLines??=(0,l.TA3)(s,a.randomIndexData)?.split(`
|
|
2
|
+
`)??[],a.maxTextLength??=a.textLines.length?Math.max(...a.textLines.map(t=>t.length)):a.textLines[0]?.length??0,!a.textLines.length||!a.maxTextLength)return;let g=a.textLines,c=r.style??"",o=r.weight??"400",p=r.font??"Verdana",u=Math.round(i)*l.gdl/(g.length*a.maxTextLength);e.font=`${c} ${o} ${u.toString()}px "${p}"`;let d=e.globalAlpha;e.globalAlpha=x;for(let t=0;t<g.length;t++){let a=g[t];a&&function(t,e,a,n,h,i){let x={x:-(e.length*a*l.MXx),y:a*l.MXx+n*a};h&&t.fillText(e,x.x,x.y),i&&t.strokeText(e,x.x,x.y)}(e,a,u,t,n,h)}e.globalAlpha=d}},5299(t,e,a){a.r(e),a.d(e,{loadTextShape:()=>n});var l=a(3006);async function n(t){t.checkVersion("4.0.0-alpha.26"),await t.register(t=>{t.addShape(l.u,async()=>{let{TextDrawer:t}=await a.e(209).then(a.bind(a,209));return new t})})}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5336],{5336(t,s,e){e.d(s,{ResponsivePluginInstance:()=>i});class i{_container;constructor(t){this._container=t}updateActualOptions(){let t=this._container;t.actualOptions.responsive=[];let s=t.actualOptions.setResponsive?.(t.canvas.size.width,t.retina.pixelRatio,t.options);return t.responsiveMaxWidth!==s&&(t.responsiveMaxWidth=s,!0)}}}}]);
|
package/5349.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5349],{9771(t,s,i){i.d(s,{X:()=>h});var a=i(2005);class o{x;y;constructor(){this.x=0,this.y=0}load(t){t&&(void 0!==t.x&&(this.x=t.x),void 0!==t.y&&(this.y=t.y))}}class e{value;weights;constructor(){this.weights=new o}load(t){t&&(t.weights&&(this.weights??=new o,this.weights.load(t.weights)),(0,a.kZJ)(t.value)||(this.value=(0,a.DT4)(t.value)))}}class l{h;l;s;constructor(){this.h=new e,this.s=new e,this.l=new e}load(t){t&&(t.h&&(this.h??=new e,this.h.load(t.h)),t.s&&(this.s??=new e,this.s.load(t.s)),t.l&&(this.l??=new e,this.l.load(t.l)))}}class h{colorCoords;delay;particles;pauseOnStop;quantity;constructor(){this.delay=1,this.pauseOnStop=!1,this.quantity=1,this.colorCoords=new l}load(t){!(0,a.kZJ)(t)&&(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.quantity&&(this.quantity=t.quantity),void 0!==t.pauseOnStop&&(this.pauseOnStop=t.pauseOnStop),void 0!==t.particles&&(this.particles=(0,a.zwS)({},t.particles)),t.colorCoords&&(this.colorCoords??=new l,this.colorCoords.load(t.colorCoords)))}}},5349(t,s,i){i.r(s),i.d(s,{Trail:()=>a.X,loadExternalTrailInteraction:()=>o});var a=i(9771);async function o(t){t.checkVersion("4.0.0-alpha.26"),await t.register(async t=>{let{ensureInteractivityPluginLoaded:s}=await i.e(9204).then(i.bind(i,9204));s(t),t.addInteractor?.("externalTrail",async s=>{let{TrailMaker:a}=await i.e(4385).then(i.bind(i,4385));return new a(t,s)})})}}}]);
|
package/552.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[552],{552(e,t,a){a.d(t,{MotionPluginInstance:()=>n});var r=a(2005);class n{_container;constructor(e){this._container=e}async init(){let e=this._container,t=e.actualOptions.motion;if(!(t&&(t.disable||t.reduce.value))){e.retina.reduceFactor=1;return}let a=(0,r.lVH)("(prefers-reduced-motion: reduce)");if(!a){e.retina.reduceFactor=1;return}this._handleMotionChange(a);let n=()=>{(async()=>{this._handleMotionChange(a);try{await e.refresh()}catch{}})()};a.addEventListener("change",n),await Promise.resolve()}_handleMotionChange=e=>{let t=this._container,a=t.actualOptions.motion;a&&(e.matches?a.disable?t.retina.reduceFactor=0:t.retina.reduceFactor=a.reduce.value?1/a.reduce.factor:1:t.retina.reduceFactor=1)}}}}]);
|
package/5556.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5556],{7006(a,t,r){r.d(t,{w:()=>i});var s=r(2005);class i{factor;radius;constructor(){this.factor=3,this.radius=200}load(a){(0,s.kZJ)(a)||(void 0!==a.factor&&(this.factor=a.factor),void 0!==a.radius&&(this.radius=a.radius))}}},5556(a,t,r){r.r(t),r.d(t,{Slow:()=>s.w,loadExternalSlowInteraction:()=>i});var s=r(7006);async function i(a){a.checkVersion("4.0.0-alpha.26"),await a.register(async a=>{let{ensureInteractivityPluginLoaded:t}=await r.e(9204).then(r.bind(r,9204));t(a),a.addInteractor?.("externalSlow",async a=>{let{Slower:t}=await r.e(3344).then(r.bind(r,3344));return new t(a)})})}}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[8618],{8618(t,e,i){i.d(e,{PolygonMaskInstance:()=>s}),function(){try{if("u"<typeof window)return;!("SVGPathSeg"in window)&&(window.SVGPathSeg=function(t,e,i){this.pathSegType=t,this.pathSegTypeAsLetter=e,this._owningPathSegList=i},window.SVGPathSeg.prototype.classname="SVGPathSeg",window.SVGPathSeg.PATHSEG_UNKNOWN=0,window.SVGPathSeg.PATHSEG_CLOSEPATH=1,window.SVGPathSeg.PATHSEG_MOVETO_ABS=2,window.SVGPathSeg.PATHSEG_MOVETO_REL=3,window.SVGPathSeg.PATHSEG_LINETO_ABS=4,window.SVGPathSeg.PATHSEG_LINETO_REL=5,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS=6,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL=7,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS=8,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL=9,window.SVGPathSeg.PATHSEG_ARC_ABS=10,window.SVGPathSeg.PATHSEG_ARC_REL=11,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS=12,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL=13,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS=14,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL=15,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS=16,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL=17,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS=18,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL=19,window.SVGPathSeg.prototype._segmentChanged=function(){this._owningPathSegList&&this._owningPathSegList.segmentChanged(this)},window.SVGPathSegClosePath=function(t){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CLOSEPATH,"z",t)},window.SVGPathSegClosePath.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegClosePath.prototype.toString=function(){return"[object SVGPathSegClosePath]"},window.SVGPathSegClosePath.prototype._asPathString=function(){return this.pathSegTypeAsLetter},window.SVGPathSegClosePath.prototype.clone=function(){return new window.SVGPathSegClosePath(void 0)},window.SVGPathSegMovetoAbs=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_MOVETO_ABS,"M",t),this._x=e,this._y=i},window.SVGPathSegMovetoAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegMovetoAbs.prototype.toString=function(){return"[object SVGPathSegMovetoAbs]"},window.SVGPathSegMovetoAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegMovetoAbs.prototype.clone=function(){return new window.SVGPathSegMovetoAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegMovetoAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegMovetoAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegMovetoRel=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_MOVETO_REL,"m",t),this._x=e,this._y=i},window.SVGPathSegMovetoRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegMovetoRel.prototype.toString=function(){return"[object SVGPathSegMovetoRel]"},window.SVGPathSegMovetoRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegMovetoRel.prototype.clone=function(){return new window.SVGPathSegMovetoRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegMovetoRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegMovetoRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoAbs=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_ABS,"L",t),this._x=e,this._y=i},window.SVGPathSegLinetoAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoAbs.prototype.toString=function(){return"[object SVGPathSegLinetoAbs]"},window.SVGPathSegLinetoAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegLinetoAbs.prototype.clone=function(){return new window.SVGPathSegLinetoAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegLinetoAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegLinetoAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoRel=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_REL,"l",t),this._x=e,this._y=i},window.SVGPathSegLinetoRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoRel.prototype.toString=function(){return"[object SVGPathSegLinetoRel]"},window.SVGPathSegLinetoRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegLinetoRel.prototype.clone=function(){return new window.SVGPathSegLinetoRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegLinetoRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegLinetoRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicAbs=function(t,e,i,n,o,r,h){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS,"C",t),this._x=e,this._y=i,this._x1=n,this._y1=o,this._x2=r,this._y2=h},window.SVGPathSegCurvetoCubicAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicAbs]"},window.SVGPathSegCurvetoCubicAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x1} ${this._y1} ${this._x2} ${this._y2} ${this._x} ${this._y}`},window.SVGPathSegCurvetoCubicAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicAbs(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x1",{get:function(){return this._x1},set:function(t){this._x1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y1",{get:function(){return this._y1},set:function(t){this._y1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x2",{get:function(){return this._x2},set:function(t){this._x2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y2",{get:function(){return this._y2},set:function(t){this._y2=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicRel=function(t,e,i,n,o,r,h){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL,"c",t),this._x=e,this._y=i,this._x1=n,this._y1=o,this._x2=r,this._y2=h},window.SVGPathSegCurvetoCubicRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicRel]"},window.SVGPathSegCurvetoCubicRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x1} ${this._y1} ${this._x2} ${this._y2} ${this._x} ${this._y}`},window.SVGPathSegCurvetoCubicRel.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicRel(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x1",{get:function(){return this._x1},set:function(t){this._x1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y1",{get:function(){return this._y1},set:function(t){this._y1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x2",{get:function(){return this._x2},set:function(t){this._x2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y2",{get:function(){return this._y2},set:function(t){this._y2=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticAbs=function(t,e,i,n,o){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS,"Q",t),this._x=e,this._y=i,this._x1=n,this._y1=o},window.SVGPathSegCurvetoQuadraticAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticAbs]"},window.SVGPathSegCurvetoQuadraticAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x1} ${this._y1} ${this._x} ${this._y}`},window.SVGPathSegCurvetoQuadraticAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticAbs(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"x1",{get:function(){return this._x1},set:function(t){this._x1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"y1",{get:function(){return this._y1},set:function(t){this._y1=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticRel=function(t,e,i,n,o){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL,"q",t),this._x=e,this._y=i,this._x1=n,this._y1=o},window.SVGPathSegCurvetoQuadraticRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticRel]"},window.SVGPathSegCurvetoQuadraticRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x1} ${this._y1} ${this._x} ${this._y}`},window.SVGPathSegCurvetoQuadraticRel.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticRel(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"x1",{get:function(){return this._x1},set:function(t){this._x1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"y1",{get:function(){return this._y1},set:function(t){this._y1=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegArcAbs=function(t,e,i,n,o,r,h,s){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_ARC_ABS,"A",t),this._x=e,this._y=i,this._r1=n,this._r2=o,this._angle=r,this._largeArcFlag=h,this._sweepFlag=s},window.SVGPathSegArcAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegArcAbs.prototype.toString=function(){return"[object SVGPathSegArcAbs]"},window.SVGPathSegArcAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._r1} ${this._r2} ${this._angle} ${this._largeArcFlag?"1":"0"} ${this._sweepFlag?"1":"0"} ${this._x} ${this._y}`},window.SVGPathSegArcAbs.prototype.clone=function(){return new window.SVGPathSegArcAbs(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(window.SVGPathSegArcAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"r1",{get:function(){return this._r1},set:function(t){this._r1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"r2",{get:function(){return this._r2},set:function(t){this._r2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"angle",{get:function(){return this._angle},set:function(t){this._angle=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(t){this._largeArcFlag=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(t){this._sweepFlag=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegArcRel=function(t,e,i,n,o,r,h,s){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_ARC_REL,"a",t),this._x=e,this._y=i,this._r1=n,this._r2=o,this._angle=r,this._largeArcFlag=h,this._sweepFlag=s},window.SVGPathSegArcRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegArcRel.prototype.toString=function(){return"[object SVGPathSegArcRel]"},window.SVGPathSegArcRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._r1} ${this._r2} ${this._angle} ${this._largeArcFlag?"1":"0"} ${this._sweepFlag?"1":"0"} ${this._x} ${this._y}`},window.SVGPathSegArcRel.prototype.clone=function(){return new window.SVGPathSegArcRel(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(window.SVGPathSegArcRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"r1",{get:function(){return this._r1},set:function(t){this._r1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"r2",{get:function(){return this._r2},set:function(t){this._r2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"angle",{get:function(){return this._angle},set:function(t){this._angle=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(t){this._largeArcFlag=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(t){this._sweepFlag=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoHorizontalAbs=function(t,e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS,"H",t),this._x=e},window.SVGPathSegLinetoHorizontalAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoHorizontalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalAbs]"},window.SVGPathSegLinetoHorizontalAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x}`},window.SVGPathSegLinetoHorizontalAbs.prototype.clone=function(){return new window.SVGPathSegLinetoHorizontalAbs(void 0,this._x)},Object.defineProperty(window.SVGPathSegLinetoHorizontalAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoHorizontalRel=function(t,e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL,"h",t),this._x=e},window.SVGPathSegLinetoHorizontalRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoHorizontalRel.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalRel]"},window.SVGPathSegLinetoHorizontalRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x}`},window.SVGPathSegLinetoHorizontalRel.prototype.clone=function(){return new window.SVGPathSegLinetoHorizontalRel(void 0,this._x)},Object.defineProperty(window.SVGPathSegLinetoHorizontalRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoVerticalAbs=function(t,e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS,"V",t),this._y=e},window.SVGPathSegLinetoVerticalAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoVerticalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalAbs]"},window.SVGPathSegLinetoVerticalAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._y}`},window.SVGPathSegLinetoVerticalAbs.prototype.clone=function(){return new window.SVGPathSegLinetoVerticalAbs(void 0,this._y)},Object.defineProperty(window.SVGPathSegLinetoVerticalAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoVerticalRel=function(t,e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL,"v",t),this._y=e},window.SVGPathSegLinetoVerticalRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoVerticalRel.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalRel]"},window.SVGPathSegLinetoVerticalRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._y}`},window.SVGPathSegLinetoVerticalRel.prototype.clone=function(){return new window.SVGPathSegLinetoVerticalRel(void 0,this._y)},Object.defineProperty(window.SVGPathSegLinetoVerticalRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicSmoothAbs=function(t,e,i,n,o){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS,"S",t),this._x=e,this._y=i,this._x2=n,this._y2=o},window.SVGPathSegCurvetoCubicSmoothAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothAbs]"},window.SVGPathSegCurvetoCubicSmoothAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x2} ${this._y2} ${this._x} ${this._y}`},window.SVGPathSegCurvetoCubicSmoothAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicSmoothAbs(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"x2",{get:function(){return this._x2},set:function(t){this._x2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"y2",{get:function(){return this._y2},set:function(t){this._y2=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicSmoothRel=function(t,e,i,n,o){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL,"s",t),this._x=e,this._y=i,this._x2=n,this._y2=o},window.SVGPathSegCurvetoCubicSmoothRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothRel]"},window.SVGPathSegCurvetoCubicSmoothRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x2} ${this._y2} ${this._x} ${this._y}`},window.SVGPathSegCurvetoCubicSmoothRel.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicSmoothRel(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"x2",{get:function(){return this._x2},set:function(t){this._x2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"y2",{get:function(){return this._y2},set:function(t){this._y2=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticSmoothAbs=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS,"T",t),this._x=e,this._y=i},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothAbs]"},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticSmoothAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticSmoothRel=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL,"t",t),this._x=e,this._y=i},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothRel]"},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticSmoothRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathElement.prototype.createSVGPathSegClosePath=function(){return new window.SVGPathSegClosePath(void 0)},window.SVGPathElement.prototype.createSVGPathSegMovetoAbs=function(t,e){return new window.SVGPathSegMovetoAbs(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegMovetoRel=function(t,e){return new window.SVGPathSegMovetoRel(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegLinetoAbs=function(t,e){return new window.SVGPathSegLinetoAbs(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegLinetoRel=function(t,e){return new window.SVGPathSegLinetoRel(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicAbs=function(t,e,i,n,o,r){return new window.SVGPathSegCurvetoCubicAbs(void 0,t,e,i,n,o,r)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicRel=function(t,e,i,n,o,r){return new window.SVGPathSegCurvetoCubicRel(void 0,t,e,i,n,o,r)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticAbs=function(t,e,i,n){return new window.SVGPathSegCurvetoQuadraticAbs(void 0,t,e,i,n)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticRel=function(t,e,i,n){return new window.SVGPathSegCurvetoQuadraticRel(void 0,t,e,i,n)},window.SVGPathElement.prototype.createSVGPathSegArcAbs=function(t,e,i,n,o,r,h){return new window.SVGPathSegArcAbs(void 0,t,e,i,n,o,r,h)},window.SVGPathElement.prototype.createSVGPathSegArcRel=function(t,e,i,n,o,r,h){return new window.SVGPathSegArcRel(void 0,t,e,i,n,o,r,h)},window.SVGPathElement.prototype.createSVGPathSegLinetoHorizontalAbs=function(t){return new window.SVGPathSegLinetoHorizontalAbs(void 0,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoHorizontalRel=function(t){return new window.SVGPathSegLinetoHorizontalRel(void 0,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoVerticalAbs=function(t){return new window.SVGPathSegLinetoVerticalAbs(void 0,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoVerticalRel=function(t){return new window.SVGPathSegLinetoVerticalRel(void 0,t)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothAbs=function(t,e,i,n){return new window.SVGPathSegCurvetoCubicSmoothAbs(void 0,t,e,i,n)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothRel=function(t,e,i,n){return new window.SVGPathSegCurvetoCubicSmoothRel(void 0,t,e,i,n)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothAbs=function(t,e){return new window.SVGPathSegCurvetoQuadraticSmoothAbs(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothRel=function(t,e){return new window.SVGPathSegCurvetoQuadraticSmoothRel(void 0,t,e)},"getPathSegAtLength"in window.SVGPathElement.prototype||(window.SVGPathElement.prototype.getPathSegAtLength=function(t){if(void 0===t||!isFinite(t))throw"Invalid arguments.";let e=document.createElementNS("http://www.w3.org/2000/svg","path");e.setAttribute("d",this.getAttribute("d"));let i=e.pathSegList.numberOfItems-1;if(i<=0)return 0;do{if(e.pathSegList.removeItem(i),t>e.getTotalLength())break;i--}while(i>0)return i})),"SVGPathSegList"in window&&"appendItem"in window.SVGPathSegList.prototype||(window.SVGPathSegList=function(t){this._pathElement=t,this._list=this._parsePath(this._pathElement.getAttribute("d")),this._mutationObserverConfig={attributes:!0,attributeFilter:["d"]},this._pathElementMutationObserver=new MutationObserver(this._updateListFromPathMutations.bind(this)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},window.SVGPathSegList.prototype.classname="SVGPathSegList",Object.defineProperty(window.SVGPathSegList.prototype,"numberOfItems",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(window.SVGPathSegList.prototype,"length",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"pathSegList",{get:function(){return this._pathSegList||(this._pathSegList=new window.SVGPathSegList(this)),this._pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"normalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"animatedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"animatedNormalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),window.SVGPathSegList.prototype._checkPathSynchronizedToList=function(){this._updateListFromPathMutations(this._pathElementMutationObserver.takeRecords())},window.SVGPathSegList.prototype._updateListFromPathMutations=function(t){if(!this._pathElement)return;let e=!1;t.forEach(function(t){"d"==t.attributeName&&(e=!0)}),e&&(this._list=this._parsePath(this._pathElement.getAttribute("d")))},window.SVGPathSegList.prototype._writeListToPath=function(){this._pathElementMutationObserver.disconnect(),this._pathElement.setAttribute("d",window.SVGPathSegList._pathSegArrayAsString(this._list)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},window.SVGPathSegList.prototype.segmentChanged=function(){this._writeListToPath()},window.SVGPathSegList.prototype.clear=function(){this._checkPathSynchronizedToList(),this._list.forEach(function(t){t._owningPathSegList=null}),this._list=[],this._writeListToPath()},window.SVGPathSegList.prototype.initialize=function(t){return this._checkPathSynchronizedToList(),this._list=[t],t._owningPathSegList=this,this._writeListToPath(),t},window.SVGPathSegList.prototype._checkValidIndex=function(t){if(isNaN(t)||t<0||t>=this.numberOfItems)throw"INDEX_SIZE_ERR"},window.SVGPathSegList.prototype.getItem=function(t){return this._checkPathSynchronizedToList(),this._checkValidIndex(t),this._list[t]},window.SVGPathSegList.prototype.insertItemBefore=function(t,e){return this._checkPathSynchronizedToList(),e>this.numberOfItems&&(e=this.numberOfItems),t._owningPathSegList&&(t=t.clone()),this._list.splice(e,0,t),t._owningPathSegList=this,this._writeListToPath(),t},window.SVGPathSegList.prototype.replaceItem=function(t,e){return this._checkPathSynchronizedToList(),t._owningPathSegList&&(t=t.clone()),this._checkValidIndex(e),this._list[e]=t,t._owningPathSegList=this,this._writeListToPath(),t},window.SVGPathSegList.prototype.removeItem=function(t){this._checkPathSynchronizedToList(),this._checkValidIndex(t);let e=this._list[t];return this._list.splice(t,1),this._writeListToPath(),e},window.SVGPathSegList.prototype.appendItem=function(t){return this._checkPathSynchronizedToList(),t._owningPathSegList&&(t=t.clone()),this._list.push(t),t._owningPathSegList=this,this._writeListToPath(),t},window.SVGPathSegList._pathSegArrayAsString=function(t){let e="",i=!0;return t.forEach(function(t){i?(i=!1,e+=t._asPathString()):e+=` ${t._asPathString()}`}),e},window.SVGPathSegList.prototype._parsePath=function(t){if(!t?.length)return[];let e=this,i=function(){this.pathSegList=[]};i.prototype.appendSegment=function(t){this.pathSegList.push(t)};let n=function(t){this._string=t,this._currentIndex=0,this._endIndex=this._string.length,this._previousCommand=window.SVGPathSeg.PATHSEG_UNKNOWN,this._skipOptionalSpaces()};n.prototype._isCurrentSpace=function(){let t=this._string[this._currentIndex];return t<=" "&&(" "==t||`
|
|
2
|
-
`==t||" "==t||`\r`==t||"\f"==t)},n.prototype._skipOptionalSpaces=function(){for(;this._currentIndex<this._endIndex&&this._isCurrentSpace();)this._currentIndex++;return this._currentIndex<this._endIndex},n.prototype._skipOptionalSpacesOrDelimiter=function(){return(!(this._currentIndex<this._endIndex)||!!this._isCurrentSpace()||","==this._string.charAt(this._currentIndex))&&(this._skipOptionalSpaces()&&this._currentIndex<this._endIndex&&","==this._string.charAt(this._currentIndex)&&(this._currentIndex++,this._skipOptionalSpaces()),this._currentIndex<this._endIndex)},n.prototype.hasMoreData=function(){return this._currentIndex<this._endIndex},n.prototype.peekSegmentType=function(){let t=this._string[this._currentIndex];return this._pathSegTypeFromChar(t)},n.prototype._pathSegTypeFromChar=function(t){switch(t){case"Z":case"z":return window.SVGPathSeg.PATHSEG_CLOSEPATH;case"M":return window.SVGPathSeg.PATHSEG_MOVETO_ABS;case"m":return window.SVGPathSeg.PATHSEG_MOVETO_REL;case"L":return window.SVGPathSeg.PATHSEG_LINETO_ABS;case"l":return window.SVGPathSeg.PATHSEG_LINETO_REL;case"C":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS;case"c":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL;case"Q":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS;case"q":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL;case"A":return window.SVGPathSeg.PATHSEG_ARC_ABS;case"a":return window.SVGPathSeg.PATHSEG_ARC_REL;case"H":return window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS;case"h":return window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL;case"V":return window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS;case"v":return window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL;case"S":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS;case"s":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL;case"T":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS;case"t":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL;default:return window.SVGPathSeg.PATHSEG_UNKNOWN}},n.prototype._nextCommandHelper=function(t,e){return("+"==t||"-"==t||"."==t||t>="0"&&t<="9")&&e!=window.SVGPathSeg.PATHSEG_CLOSEPATH?e==window.SVGPathSeg.PATHSEG_MOVETO_ABS?window.SVGPathSeg.PATHSEG_LINETO_ABS:e==window.SVGPathSeg.PATHSEG_MOVETO_REL?window.SVGPathSeg.PATHSEG_LINETO_REL:e:window.SVGPathSeg.PATHSEG_UNKNOWN},n.prototype.initialCommandIsMoveTo=function(){if(!this.hasMoreData())return!0;let t=this.peekSegmentType();return t==window.SVGPathSeg.PATHSEG_MOVETO_ABS||t==window.SVGPathSeg.PATHSEG_MOVETO_REL},n.prototype._parseNumber=function(){let t=0,e=0,i=1,n=0,o=1,r=1,h=this._currentIndex;if(this._skipOptionalSpaces(),this._currentIndex<this._endIndex&&"+"==this._string.charAt(this._currentIndex)?this._currentIndex++:this._currentIndex<this._endIndex&&"-"==this._string.charAt(this._currentIndex)&&(this._currentIndex++,o=-1),this._currentIndex==this._endIndex||("0">this._string.charAt(this._currentIndex)||this._string.charAt(this._currentIndex)>"9")&&"."!=this._string.charAt(this._currentIndex))return;let s=this._currentIndex;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&"9">=this._string.charAt(this._currentIndex);)this._currentIndex++;if(this._currentIndex!=s){let t=this._currentIndex-1,i=1;for(;t>=s;)e+=i*(this._string.charAt(t--)-0),i*=10}if(this._currentIndex<this._endIndex&&"."==this._string.charAt(this._currentIndex)){if(this._currentIndex++,this._currentIndex>=this._endIndex||"0">this._string.charAt(this._currentIndex)||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&"9">=this._string.charAt(this._currentIndex);)i*=10,n+=(this._string.charAt(this._currentIndex)-0)/i,this._currentIndex+=1}if(this._currentIndex!=h&&this._currentIndex+1<this._endIndex&&("e"==this._string.charAt(this._currentIndex)||"E"==this._string.charAt(this._currentIndex))&&"x"!=this._string.charAt(this._currentIndex+1)&&"m"!=this._string.charAt(this._currentIndex+1)){if(this._currentIndex++,"+"==this._string.charAt(this._currentIndex)?this._currentIndex++:"-"==this._string.charAt(this._currentIndex)&&(this._currentIndex++,r=-1),this._currentIndex>=this._endIndex||"0">this._string.charAt(this._currentIndex)||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&"9">=this._string.charAt(this._currentIndex);)t*=10,t+=this._string.charAt(this._currentIndex)-0,this._currentIndex++}let a=e+n;if(a*=o,t&&(a*=Math.pow(10,r*t)),h!=this._currentIndex)return this._skipOptionalSpacesOrDelimiter(),a},n.prototype._parseArcFlag=function(){if(this._currentIndex>=this._endIndex)return;let t=!1,e=this._string.charAt(this._currentIndex++);if("0"==e)t=!1;else{if("1"!=e)return;t=!0}return this._skipOptionalSpacesOrDelimiter(),t},n.prototype.parseSegment=function(){let t,i=this._string[this._currentIndex],n=this._pathSegTypeFromChar(i);if(n==window.SVGPathSeg.PATHSEG_UNKNOWN){if(this._previousCommand==window.SVGPathSeg.PATHSEG_UNKNOWN||(n=this._nextCommandHelper(i,this._previousCommand))==window.SVGPathSeg.PATHSEG_UNKNOWN)return null}else this._currentIndex++;switch(this._previousCommand=n,n){case window.SVGPathSeg.PATHSEG_MOVETO_REL:return new window.SVGPathSegMovetoRel(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_MOVETO_ABS:return new window.SVGPathSegMovetoAbs(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_REL:return new window.SVGPathSegLinetoRel(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_ABS:return new window.SVGPathSegLinetoAbs(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL:return new window.SVGPathSegLinetoHorizontalRel(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS:return new window.SVGPathSegLinetoHorizontalAbs(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL:return new window.SVGPathSegLinetoVerticalRel(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS:return new window.SVGPathSegLinetoVerticalAbs(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_CLOSEPATH:return this._skipOptionalSpaces(),new window.SVGPathSegClosePath(e);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL:return t={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicRel(e,t.x,t.y,t.x1,t.y1,t.x2,t.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS:return t={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicAbs(e,t.x,t.y,t.x1,t.y1,t.x2,t.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:return t={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicSmoothRel(e,t.x,t.y,t.x2,t.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:return t={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicSmoothAbs(e,t.x,t.y,t.x2,t.y2);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL:return t={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoQuadraticRel(e,t.x,t.y,t.x1,t.y1);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS:return t={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoQuadraticAbs(e,t.x,t.y,t.x1,t.y1);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:return new window.SVGPathSegCurvetoQuadraticSmoothRel(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:return new window.SVGPathSegCurvetoQuadraticSmoothAbs(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_ARC_REL:return t={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegArcRel(e,t.x,t.y,t.x1,t.y1,t.arcAngle,t.arcLarge,t.arcSweep);case window.SVGPathSeg.PATHSEG_ARC_ABS:return t={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegArcAbs(e,t.x,t.y,t.x1,t.y1,t.arcAngle,t.arcLarge,t.arcSweep);default:throw"Unknown path seg type."}};let o=new i,r=new n(t);if(!r.initialCommandIsMoveTo())return[];for(;r.hasMoreData();){let t=r.parseSegment();if(!t)return[];o.appendSegment(t)}return o.pathSegList})}catch(t){console.warn("An error occurred in tsParticles pathseg polyfill. If the Polygon Mask is not working, please open an issue here: https://github.com/tsparticles/tsparticles",t)}}();var n=i(5954),o=i(3056),r=i(8383);let h="No polygon data loaded.";class s{dimension;offset;paths;raw;redrawTimeout;_container;_engine;_moveRadius;_scale;constructor(t,e){this._container=t,this._engine=e,this.dimension={height:0,width:0},this._moveRadius=0,this._scale=1}clickPositionValid(t){let e=this._container.actualOptions.polygon;return!!e?.enable&&e.type!==r.T.none&&e.type!==r.T.inline&&this._checkInsidePolygon(t)}draw(t){if(!this.paths?.length)return;let e=this._container.actualOptions.polygon;if(!e?.enable)return;let i=e.draw;if(!i.enable)return;let o=this.raw;for(let e of this.paths){let r=e.path2d;r&&this.offset?function(t,e,i,o,r,h=!1){e.setTransform(1,0,0,1,r.x,r.y);let s=(0,n.BN0)(t,o.color);s&&(e.strokeStyle=(0,n.xxz)(s,h,o.opacity),e.lineWidth=o.width,e.stroke(i),e.resetTransform())}(this._engine,t,r,i.stroke,this.offset,this._container.hdr):o&&function(t,e,i,o,r=!1){let h=(0,n.BN0)(t,o.color);if(!h)return;let s=i[0];if(s){for(let t of(e.beginPath(),e.moveTo(s.x,s.y),i))e.lineTo(t.x,t.y);e.closePath(),e.strokeStyle=(0,n.xxz)(h,r),e.lineWidth=o.width,e.stroke()}}(this._engine,t,o,i.stroke,this._container.hdr)}}async init(){let t=this._container,e=t.actualOptions.polygon,i=t.retina.pixelRatio;e&&(this._moveRadius=e.move.radius*i,this._scale=e.scale*i,e.enable&&await this._initRawData())}particleBounce(t,e,i){return this._polygonBounce(t,e,i)}particlePosition(t){let e=this._container.actualOptions.polygon;if(e?.enable&&(this.raw?.length??0)>0)return(0,n.zwS)({},t??this._randomPoint())}particlesInitialization(){let t=this._container.actualOptions.polygon;return!!t?.enable&&t.type===r.T.inline&&(t.inline.arrangement===o.G.onePerPoint||t.inline.arrangement===o.G.perPoint)&&(this._drawPoints(),!0)}resize(){let t=this._container,e=t.actualOptions.polygon;e?.enable&&e.type!==r.T.none&&(this.redrawTimeout&&clearTimeout(this.redrawTimeout),this.redrawTimeout=setTimeout(()=>{(async()=>{await this._initRawData(!0),await t.particles.redraw()})()},250))}stop(){delete this.raw,delete this.paths}_checkInsidePolygon=t=>{let e=this._container,i=e.actualOptions.polygon;if(!i?.enable||i.type===r.T.none||i.type===r.T.inline)return!0;if(!this.raw)throw Error("No polygon found, you need to specify SVG url in config.");let o=e.canvas.size,h=t?.x??(0,n.G0i)()*o.width,s=t?.y??(0,n.G0i)()*o.height,a=!1;for(let t=0,e=this.raw.length-1;t<this.raw.length;e=t++){let i=this.raw[t],n=this.raw[e];i&&n&&i.y>s!=n.y>s&&h<(n.x-i.x)*(s-i.y)/(n.y-i.y)+i.x&&(a=!a)}return i.type===r.T.inside?a:!a};_createPath2D=()=>{if(this._container.actualOptions.polygon&&this.paths?.length)for(let t of this.paths){let e=t.element.getAttribute("d");if(e){let i=new Path2D(e),o=(0,n.T5G)().createElementNS("http://www.w3.org/2000/svg","svg").createSVGMatrix(),r=new Path2D,h=o.scale(this._scale);r.addPath(i,h),t.path2d=r}else delete t.path2d;if(t.path2d??!this.raw)continue;t.path2d=new Path2D;let i=this.raw[0];i&&(t.path2d.moveTo(i.x,i.y),this.raw.forEach((e,i)=>{i>0&&t.path2d?.lineTo(e.x,e.y)}),t.path2d.closePath())}};_downloadSvgPath=async(t,e)=>{let i=this._container.actualOptions.polygon;if(!i)return;let n=t??i.url,o=e??!1;if(!n||void 0!==this.paths&&!o)return this.raw;let r=await fetch(n);if(!r.ok)throw Error("Error occurred during polygon mask download");return this._parseSvgPath(await r.text(),e)};_drawPoints=()=>{if(this.raw)for(let t of this.raw)this._container.particles.addParticle({x:t.x,y:t.y})};_getEquidistantPointByIndex=t=>{let e=this._container.actualOptions;if(!e.polygon)return;if(!this.raw?.length||!this.paths?.length)throw Error(h);let i=0,o,r=this.paths.reduce((t,e)=>t+e.length,0)/e.particles.number.value;for(let e of this.paths){let n=r*t-i;if(n<=e.length){o=e.element.getPointAtLength(n);break}i+=e.length}let s=this._scale;return{x:(o?.x??n.boI.x)*s+(this.offset?.x??n.boI.x),y:(o?.y??n.boI.y)*s+(this.offset?.y??n.boI.y)}};_getPointByIndex=t=>{if(!this.raw?.length)throw Error(h);let e=this.raw[t%this.raw.length];if(e)return{x:e.x,y:e.y}};_getRandomPoint=()=>{if(!this.raw?.length)throw Error(h);let t=(0,n.Vh1)(this.raw);if(t)return{x:t.x,y:t.y}};_getRandomPointByLength=()=>{if(!this._container.actualOptions.polygon)return;if(!this.raw?.length||!this.paths?.length)throw Error(h);let t=(0,n.Vh1)(this.paths);if(!t)return;let e=Math.floor((0,n.G0i)()*t.length)+1,i=t.element.getPointAtLength(e),o=this._scale;return{x:i.x*o+(this.offset?.x??n.boI.x),y:i.y*o+(this.offset?.y??n.boI.y)}};_initRawData=async t=>{let e=this._container.actualOptions.polygon;if(e){if(e.url)this.raw=await this._downloadSvgPath(e.url,t);else if(e.data){let i,o=e.data;if((0,n.KgX)(o))i=o;else{let t=t=>`<path d="${t}" />`,e=(0,n.cyL)(o.path)?o.path.map(t).join(""):t(o.path);i=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="${o.size.width.toString()}" height="${o.size.height.toString()}">${e}</svg>`}this.raw=this._parseSvgPath(i,t)}this._createPath2D(),this._engine.dispatchEvent("polygonMaskLoaded",{container:this._container})}};_parseSvgPath=(t,e)=>{if(void 0!==this.paths&&!e)return this.raw;let i=this._container,o=i.actualOptions.polygon;if(!o)return;let r=new DOMParser().parseFromString(t,"image/svg+xml"),h=r.getElementsByTagName("svg")[0];if(!h)return;let s=h.getElementsByTagName("path");s.length||(s=r.getElementsByTagName("path")),this.paths=[];for(let t=0;t<s.length;t++){let e=s.item(t);e&&this.paths.push({element:e,length:e.getTotalLength()})}let a=this._scale;this.dimension.width=parseFloat(h.getAttribute("width")??"0")*a,this.dimension.height=parseFloat(h.getAttribute("height")??"0")*a;let S=o.position??{x:50,y:50},u=i.canvas.size;return this.offset={x:u.width*S.x/n.a56-this.dimension.width*n.MXx,y:u.height*S.y/n.a56-this.dimension.height*n.MXx},function(t,e,i){let n=[];for(let o of t){let t=o.element.pathSegList,r=t?.numberOfItems??0,h={x:0,y:0};for(let o=0;o<r;o++){let r=t?.getItem(o),s=globalThis.SVGPathSeg;switch(r?.pathSegType){case s.PATHSEG_MOVETO_ABS:case s.PATHSEG_LINETO_ABS:case s.PATHSEG_CURVETO_CUBIC_ABS:case s.PATHSEG_CURVETO_QUADRATIC_ABS:case s.PATHSEG_ARC_ABS:case s.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:case s.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:h.x=r.x,h.y=r.y;break;case s.PATHSEG_LINETO_HORIZONTAL_ABS:h.x=r.x;break;case s.PATHSEG_LINETO_VERTICAL_ABS:h.y=r.y;break;case s.PATHSEG_LINETO_REL:case s.PATHSEG_MOVETO_REL:case s.PATHSEG_CURVETO_CUBIC_REL:case s.PATHSEG_CURVETO_QUADRATIC_REL:case s.PATHSEG_ARC_REL:case s.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:case s.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:h.x+=r.x,h.y+=r.y;break;case s.PATHSEG_LINETO_HORIZONTAL_REL:h.x+=r.x;break;case s.PATHSEG_LINETO_VERTICAL_REL:h.y+=r.y;break;case s.PATHSEG_UNKNOWN:case s.PATHSEG_CLOSEPATH:default:continue}n.push({x:h.x*e+i.x,y:h.y*e+i.y})}}return n}(this.paths,a,this.offset)};_polygonBounce=(t,e,i)=>{let o=this._container.actualOptions.polygon;if(!this.raw||!o?.enable||i!==n.v5k.top)return!1;if(o.type===r.T.inside||o.type===r.T.outside){let e,i,o,r=t.getPosition(),h=t.getRadius();for(let s=0,a=this.raw.length-1;s<this.raw.length;a=s++){let S=this.raw[s],u=this.raw[a];if(!S||!u)continue;e=function(t,e,i){let{dx:o,dy:r}=(0,n.vrU)(i,t),{dx:h,dy:s}=(0,n.vrU)(e,t),a=(o*h+r*s)/(h**2+s**2),S={x:t.x+h*a,y:t.y+s*a,isOnSegment:a>=0&&a<=1};return a<0?(S.x=t.x,S.y=t.y):a>1&&(S.x=e.x,S.y=e.y),S}(S,u,r);let _=(0,n.vrU)(r,e);if([i,o]=[_.dx,_.dy],_.distance<h)return!function(t,e,i){let{dx:o,dy:r}=(0,n.vrU)(t,e),h=Math.atan2(r,o),s=n.Miz.create(Math.sin(h),-Math.cos(h)),a=n.gdl*(i.x*s.x+i.y*s.y);s.multTo(a),i.subFrom(s)}(S,u,t.velocity),!0}if(e&&void 0!==i&&void 0!==o&&!this._checkInsidePolygon(r)){let i={x:1,y:1},o=h*n.gdl;return r.x>=e.x&&(i.x=-1),r.y>=e.y&&(i.y=-1),t.position.x=e.x+o*i.x,t.position.y=e.y+o*i.y,t.velocity.mult(-1),!0}}else if(o.type===r.T.inline){let e=(0,n.YfF)(t.initialPosition,t.getPosition()),{velocity:i}=t;if(e>this._moveRadius)return i.x=i.y*n.MXx-i.x,i.y=i.x*n.MXx-i.y,!0}return!1};_randomPoint=()=>{let t,e=this._container,i=e.actualOptions.polygon;if(i){if(i.type===r.T.inline)switch(i.inline.arrangement){case o.G.randomPoint:t=this._getRandomPoint();break;case o.G.randomLength:t=this._getRandomPointByLength();break;case o.G.equidistant:t=this._getEquidistantPointByIndex(e.particles.count);break;case o.G.onePerPoint:case o.G.perPoint:default:t=this._getPointByIndex(e.particles.count)}else{let i=e.canvas.size;t={x:(0,n.G0i)()*i.width,y:(0,n.G0i)()*i.height}}return this._checkInsidePolygon(t)?t:this._randomPoint()}}}}}]);
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5578],{5578(t,e,i){i.d(e,{PolygonMaskInstance:()=>s}),function(){try{if("u"<typeof window)return;!("SVGPathSeg"in window)&&(window.SVGPathSeg=function(t,e,i){this.pathSegType=t,this.pathSegTypeAsLetter=e,this._owningPathSegList=i},window.SVGPathSeg.prototype.classname="SVGPathSeg",window.SVGPathSeg.PATHSEG_UNKNOWN=0,window.SVGPathSeg.PATHSEG_CLOSEPATH=1,window.SVGPathSeg.PATHSEG_MOVETO_ABS=2,window.SVGPathSeg.PATHSEG_MOVETO_REL=3,window.SVGPathSeg.PATHSEG_LINETO_ABS=4,window.SVGPathSeg.PATHSEG_LINETO_REL=5,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS=6,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL=7,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS=8,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL=9,window.SVGPathSeg.PATHSEG_ARC_ABS=10,window.SVGPathSeg.PATHSEG_ARC_REL=11,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS=12,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL=13,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS=14,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL=15,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS=16,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL=17,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS=18,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL=19,window.SVGPathSeg.prototype._segmentChanged=function(){this._owningPathSegList&&this._owningPathSegList.segmentChanged(this)},window.SVGPathSegClosePath=function(t){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CLOSEPATH,"z",t)},window.SVGPathSegClosePath.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegClosePath.prototype.toString=function(){return"[object SVGPathSegClosePath]"},window.SVGPathSegClosePath.prototype._asPathString=function(){return this.pathSegTypeAsLetter},window.SVGPathSegClosePath.prototype.clone=function(){return new window.SVGPathSegClosePath(void 0)},window.SVGPathSegMovetoAbs=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_MOVETO_ABS,"M",t),this._x=e,this._y=i},window.SVGPathSegMovetoAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegMovetoAbs.prototype.toString=function(){return"[object SVGPathSegMovetoAbs]"},window.SVGPathSegMovetoAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegMovetoAbs.prototype.clone=function(){return new window.SVGPathSegMovetoAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegMovetoAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegMovetoAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegMovetoRel=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_MOVETO_REL,"m",t),this._x=e,this._y=i},window.SVGPathSegMovetoRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegMovetoRel.prototype.toString=function(){return"[object SVGPathSegMovetoRel]"},window.SVGPathSegMovetoRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegMovetoRel.prototype.clone=function(){return new window.SVGPathSegMovetoRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegMovetoRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegMovetoRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoAbs=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_ABS,"L",t),this._x=e,this._y=i},window.SVGPathSegLinetoAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoAbs.prototype.toString=function(){return"[object SVGPathSegLinetoAbs]"},window.SVGPathSegLinetoAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegLinetoAbs.prototype.clone=function(){return new window.SVGPathSegLinetoAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegLinetoAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegLinetoAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoRel=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_REL,"l",t),this._x=e,this._y=i},window.SVGPathSegLinetoRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoRel.prototype.toString=function(){return"[object SVGPathSegLinetoRel]"},window.SVGPathSegLinetoRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegLinetoRel.prototype.clone=function(){return new window.SVGPathSegLinetoRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegLinetoRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegLinetoRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicAbs=function(t,e,i,n,o,r,h){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS,"C",t),this._x=e,this._y=i,this._x1=n,this._y1=o,this._x2=r,this._y2=h},window.SVGPathSegCurvetoCubicAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicAbs]"},window.SVGPathSegCurvetoCubicAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x1} ${this._y1} ${this._x2} ${this._y2} ${this._x} ${this._y}`},window.SVGPathSegCurvetoCubicAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicAbs(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x1",{get:function(){return this._x1},set:function(t){this._x1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y1",{get:function(){return this._y1},set:function(t){this._y1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x2",{get:function(){return this._x2},set:function(t){this._x2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y2",{get:function(){return this._y2},set:function(t){this._y2=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicRel=function(t,e,i,n,o,r,h){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL,"c",t),this._x=e,this._y=i,this._x1=n,this._y1=o,this._x2=r,this._y2=h},window.SVGPathSegCurvetoCubicRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicRel]"},window.SVGPathSegCurvetoCubicRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x1} ${this._y1} ${this._x2} ${this._y2} ${this._x} ${this._y}`},window.SVGPathSegCurvetoCubicRel.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicRel(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x1",{get:function(){return this._x1},set:function(t){this._x1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y1",{get:function(){return this._y1},set:function(t){this._y1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x2",{get:function(){return this._x2},set:function(t){this._x2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y2",{get:function(){return this._y2},set:function(t){this._y2=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticAbs=function(t,e,i,n,o){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS,"Q",t),this._x=e,this._y=i,this._x1=n,this._y1=o},window.SVGPathSegCurvetoQuadraticAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticAbs]"},window.SVGPathSegCurvetoQuadraticAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x1} ${this._y1} ${this._x} ${this._y}`},window.SVGPathSegCurvetoQuadraticAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticAbs(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"x1",{get:function(){return this._x1},set:function(t){this._x1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"y1",{get:function(){return this._y1},set:function(t){this._y1=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticRel=function(t,e,i,n,o){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL,"q",t),this._x=e,this._y=i,this._x1=n,this._y1=o},window.SVGPathSegCurvetoQuadraticRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticRel]"},window.SVGPathSegCurvetoQuadraticRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x1} ${this._y1} ${this._x} ${this._y}`},window.SVGPathSegCurvetoQuadraticRel.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticRel(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"x1",{get:function(){return this._x1},set:function(t){this._x1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"y1",{get:function(){return this._y1},set:function(t){this._y1=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegArcAbs=function(t,e,i,n,o,r,h,s){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_ARC_ABS,"A",t),this._x=e,this._y=i,this._r1=n,this._r2=o,this._angle=r,this._largeArcFlag=h,this._sweepFlag=s},window.SVGPathSegArcAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegArcAbs.prototype.toString=function(){return"[object SVGPathSegArcAbs]"},window.SVGPathSegArcAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._r1} ${this._r2} ${this._angle} ${this._largeArcFlag?"1":"0"} ${this._sweepFlag?"1":"0"} ${this._x} ${this._y}`},window.SVGPathSegArcAbs.prototype.clone=function(){return new window.SVGPathSegArcAbs(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(window.SVGPathSegArcAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"r1",{get:function(){return this._r1},set:function(t){this._r1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"r2",{get:function(){return this._r2},set:function(t){this._r2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"angle",{get:function(){return this._angle},set:function(t){this._angle=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(t){this._largeArcFlag=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(t){this._sweepFlag=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegArcRel=function(t,e,i,n,o,r,h,s){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_ARC_REL,"a",t),this._x=e,this._y=i,this._r1=n,this._r2=o,this._angle=r,this._largeArcFlag=h,this._sweepFlag=s},window.SVGPathSegArcRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegArcRel.prototype.toString=function(){return"[object SVGPathSegArcRel]"},window.SVGPathSegArcRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._r1} ${this._r2} ${this._angle} ${this._largeArcFlag?"1":"0"} ${this._sweepFlag?"1":"0"} ${this._x} ${this._y}`},window.SVGPathSegArcRel.prototype.clone=function(){return new window.SVGPathSegArcRel(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(window.SVGPathSegArcRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"r1",{get:function(){return this._r1},set:function(t){this._r1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"r2",{get:function(){return this._r2},set:function(t){this._r2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"angle",{get:function(){return this._angle},set:function(t){this._angle=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(t){this._largeArcFlag=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(t){this._sweepFlag=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoHorizontalAbs=function(t,e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS,"H",t),this._x=e},window.SVGPathSegLinetoHorizontalAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoHorizontalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalAbs]"},window.SVGPathSegLinetoHorizontalAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x}`},window.SVGPathSegLinetoHorizontalAbs.prototype.clone=function(){return new window.SVGPathSegLinetoHorizontalAbs(void 0,this._x)},Object.defineProperty(window.SVGPathSegLinetoHorizontalAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoHorizontalRel=function(t,e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL,"h",t),this._x=e},window.SVGPathSegLinetoHorizontalRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoHorizontalRel.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalRel]"},window.SVGPathSegLinetoHorizontalRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x}`},window.SVGPathSegLinetoHorizontalRel.prototype.clone=function(){return new window.SVGPathSegLinetoHorizontalRel(void 0,this._x)},Object.defineProperty(window.SVGPathSegLinetoHorizontalRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoVerticalAbs=function(t,e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS,"V",t),this._y=e},window.SVGPathSegLinetoVerticalAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoVerticalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalAbs]"},window.SVGPathSegLinetoVerticalAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._y}`},window.SVGPathSegLinetoVerticalAbs.prototype.clone=function(){return new window.SVGPathSegLinetoVerticalAbs(void 0,this._y)},Object.defineProperty(window.SVGPathSegLinetoVerticalAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoVerticalRel=function(t,e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL,"v",t),this._y=e},window.SVGPathSegLinetoVerticalRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoVerticalRel.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalRel]"},window.SVGPathSegLinetoVerticalRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._y}`},window.SVGPathSegLinetoVerticalRel.prototype.clone=function(){return new window.SVGPathSegLinetoVerticalRel(void 0,this._y)},Object.defineProperty(window.SVGPathSegLinetoVerticalRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicSmoothAbs=function(t,e,i,n,o){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS,"S",t),this._x=e,this._y=i,this._x2=n,this._y2=o},window.SVGPathSegCurvetoCubicSmoothAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothAbs]"},window.SVGPathSegCurvetoCubicSmoothAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x2} ${this._y2} ${this._x} ${this._y}`},window.SVGPathSegCurvetoCubicSmoothAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicSmoothAbs(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"x2",{get:function(){return this._x2},set:function(t){this._x2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"y2",{get:function(){return this._y2},set:function(t){this._y2=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicSmoothRel=function(t,e,i,n,o){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL,"s",t),this._x=e,this._y=i,this._x2=n,this._y2=o},window.SVGPathSegCurvetoCubicSmoothRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothRel]"},window.SVGPathSegCurvetoCubicSmoothRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x2} ${this._y2} ${this._x} ${this._y}`},window.SVGPathSegCurvetoCubicSmoothRel.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicSmoothRel(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"x2",{get:function(){return this._x2},set:function(t){this._x2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"y2",{get:function(){return this._y2},set:function(t){this._y2=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticSmoothAbs=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS,"T",t),this._x=e,this._y=i},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothAbs]"},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticSmoothAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticSmoothRel=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL,"t",t),this._x=e,this._y=i},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothRel]"},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype._asPathString=function(){return`${this.pathSegTypeAsLetter} ${this._x} ${this._y}`},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticSmoothRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathElement.prototype.createSVGPathSegClosePath=function(){return new window.SVGPathSegClosePath(void 0)},window.SVGPathElement.prototype.createSVGPathSegMovetoAbs=function(t,e){return new window.SVGPathSegMovetoAbs(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegMovetoRel=function(t,e){return new window.SVGPathSegMovetoRel(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegLinetoAbs=function(t,e){return new window.SVGPathSegLinetoAbs(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegLinetoRel=function(t,e){return new window.SVGPathSegLinetoRel(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicAbs=function(t,e,i,n,o,r){return new window.SVGPathSegCurvetoCubicAbs(void 0,t,e,i,n,o,r)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicRel=function(t,e,i,n,o,r){return new window.SVGPathSegCurvetoCubicRel(void 0,t,e,i,n,o,r)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticAbs=function(t,e,i,n){return new window.SVGPathSegCurvetoQuadraticAbs(void 0,t,e,i,n)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticRel=function(t,e,i,n){return new window.SVGPathSegCurvetoQuadraticRel(void 0,t,e,i,n)},window.SVGPathElement.prototype.createSVGPathSegArcAbs=function(t,e,i,n,o,r,h){return new window.SVGPathSegArcAbs(void 0,t,e,i,n,o,r,h)},window.SVGPathElement.prototype.createSVGPathSegArcRel=function(t,e,i,n,o,r,h){return new window.SVGPathSegArcRel(void 0,t,e,i,n,o,r,h)},window.SVGPathElement.prototype.createSVGPathSegLinetoHorizontalAbs=function(t){return new window.SVGPathSegLinetoHorizontalAbs(void 0,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoHorizontalRel=function(t){return new window.SVGPathSegLinetoHorizontalRel(void 0,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoVerticalAbs=function(t){return new window.SVGPathSegLinetoVerticalAbs(void 0,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoVerticalRel=function(t){return new window.SVGPathSegLinetoVerticalRel(void 0,t)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothAbs=function(t,e,i,n){return new window.SVGPathSegCurvetoCubicSmoothAbs(void 0,t,e,i,n)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothRel=function(t,e,i,n){return new window.SVGPathSegCurvetoCubicSmoothRel(void 0,t,e,i,n)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothAbs=function(t,e){return new window.SVGPathSegCurvetoQuadraticSmoothAbs(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothRel=function(t,e){return new window.SVGPathSegCurvetoQuadraticSmoothRel(void 0,t,e)},"getPathSegAtLength"in window.SVGPathElement.prototype||(window.SVGPathElement.prototype.getPathSegAtLength=function(t){if(void 0===t||!isFinite(t))throw"Invalid arguments.";let e=document.createElementNS("http://www.w3.org/2000/svg","path");e.setAttribute("d",this.getAttribute("d"));let i=e.pathSegList.numberOfItems-1;if(i<=0)return 0;do{if(e.pathSegList.removeItem(i),t>e.getTotalLength())break;i--}while(i>0)return i})),"SVGPathSegList"in window&&"appendItem"in window.SVGPathSegList.prototype||(window.SVGPathSegList=function(t){this._pathElement=t,this._list=this._parsePath(this._pathElement.getAttribute("d")),this._mutationObserverConfig={attributes:!0,attributeFilter:["d"]},this._pathElementMutationObserver=new MutationObserver(this._updateListFromPathMutations.bind(this)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},window.SVGPathSegList.prototype.classname="SVGPathSegList",Object.defineProperty(window.SVGPathSegList.prototype,"numberOfItems",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(window.SVGPathSegList.prototype,"length",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"pathSegList",{get:function(){return this._pathSegList||(this._pathSegList=new window.SVGPathSegList(this)),this._pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"normalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"animatedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"animatedNormalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),window.SVGPathSegList.prototype._checkPathSynchronizedToList=function(){this._updateListFromPathMutations(this._pathElementMutationObserver.takeRecords())},window.SVGPathSegList.prototype._updateListFromPathMutations=function(t){if(!this._pathElement)return;let e=!1;t.forEach(function(t){"d"==t.attributeName&&(e=!0)}),e&&(this._list=this._parsePath(this._pathElement.getAttribute("d")))},window.SVGPathSegList.prototype._writeListToPath=function(){this._pathElementMutationObserver.disconnect(),this._pathElement.setAttribute("d",window.SVGPathSegList._pathSegArrayAsString(this._list)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},window.SVGPathSegList.prototype.segmentChanged=function(){this._writeListToPath()},window.SVGPathSegList.prototype.clear=function(){this._checkPathSynchronizedToList(),this._list.forEach(function(t){t._owningPathSegList=null}),this._list=[],this._writeListToPath()},window.SVGPathSegList.prototype.initialize=function(t){return this._checkPathSynchronizedToList(),this._list=[t],t._owningPathSegList=this,this._writeListToPath(),t},window.SVGPathSegList.prototype._checkValidIndex=function(t){if(isNaN(t)||t<0||t>=this.numberOfItems)throw"INDEX_SIZE_ERR"},window.SVGPathSegList.prototype.getItem=function(t){return this._checkPathSynchronizedToList(),this._checkValidIndex(t),this._list[t]},window.SVGPathSegList.prototype.insertItemBefore=function(t,e){return this._checkPathSynchronizedToList(),e>this.numberOfItems&&(e=this.numberOfItems),t._owningPathSegList&&(t=t.clone()),this._list.splice(e,0,t),t._owningPathSegList=this,this._writeListToPath(),t},window.SVGPathSegList.prototype.replaceItem=function(t,e){return this._checkPathSynchronizedToList(),t._owningPathSegList&&(t=t.clone()),this._checkValidIndex(e),this._list[e]=t,t._owningPathSegList=this,this._writeListToPath(),t},window.SVGPathSegList.prototype.removeItem=function(t){this._checkPathSynchronizedToList(),this._checkValidIndex(t);let e=this._list[t];return this._list.splice(t,1),this._writeListToPath(),e},window.SVGPathSegList.prototype.appendItem=function(t){return this._checkPathSynchronizedToList(),t._owningPathSegList&&(t=t.clone()),this._list.push(t),t._owningPathSegList=this,this._writeListToPath(),t},window.SVGPathSegList._pathSegArrayAsString=function(t){let e="",i=!0;return t.forEach(function(t){i?(i=!1,e+=t._asPathString()):e+=` ${t._asPathString()}`}),e},window.SVGPathSegList.prototype._parsePath=function(t){if(!t?.length)return[];let e=this,i=function(){this.pathSegList=[]};i.prototype.appendSegment=function(t){this.pathSegList.push(t)};let n=function(t){this._string=t,this._currentIndex=0,this._endIndex=this._string.length,this._previousCommand=window.SVGPathSeg.PATHSEG_UNKNOWN,this._skipOptionalSpaces()};n.prototype._isCurrentSpace=function(){let t=this._string[this._currentIndex];return t<=" "&&(" "==t||`
|
|
2
|
+
`==t||" "==t||`\r`==t||"\f"==t)},n.prototype._skipOptionalSpaces=function(){for(;this._currentIndex<this._endIndex&&this._isCurrentSpace();)this._currentIndex++;return this._currentIndex<this._endIndex},n.prototype._skipOptionalSpacesOrDelimiter=function(){return(!(this._currentIndex<this._endIndex)||!!this._isCurrentSpace()||","==this._string.charAt(this._currentIndex))&&(this._skipOptionalSpaces()&&this._currentIndex<this._endIndex&&","==this._string.charAt(this._currentIndex)&&(this._currentIndex++,this._skipOptionalSpaces()),this._currentIndex<this._endIndex)},n.prototype.hasMoreData=function(){return this._currentIndex<this._endIndex},n.prototype.peekSegmentType=function(){let t=this._string[this._currentIndex];return this._pathSegTypeFromChar(t)},n.prototype._pathSegTypeFromChar=function(t){switch(t){case"Z":case"z":return window.SVGPathSeg.PATHSEG_CLOSEPATH;case"M":return window.SVGPathSeg.PATHSEG_MOVETO_ABS;case"m":return window.SVGPathSeg.PATHSEG_MOVETO_REL;case"L":return window.SVGPathSeg.PATHSEG_LINETO_ABS;case"l":return window.SVGPathSeg.PATHSEG_LINETO_REL;case"C":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS;case"c":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL;case"Q":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS;case"q":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL;case"A":return window.SVGPathSeg.PATHSEG_ARC_ABS;case"a":return window.SVGPathSeg.PATHSEG_ARC_REL;case"H":return window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS;case"h":return window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL;case"V":return window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS;case"v":return window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL;case"S":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS;case"s":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL;case"T":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS;case"t":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL;default:return window.SVGPathSeg.PATHSEG_UNKNOWN}},n.prototype._nextCommandHelper=function(t,e){return("+"==t||"-"==t||"."==t||t>="0"&&t<="9")&&e!=window.SVGPathSeg.PATHSEG_CLOSEPATH?e==window.SVGPathSeg.PATHSEG_MOVETO_ABS?window.SVGPathSeg.PATHSEG_LINETO_ABS:e==window.SVGPathSeg.PATHSEG_MOVETO_REL?window.SVGPathSeg.PATHSEG_LINETO_REL:e:window.SVGPathSeg.PATHSEG_UNKNOWN},n.prototype.initialCommandIsMoveTo=function(){if(!this.hasMoreData())return!0;let t=this.peekSegmentType();return t==window.SVGPathSeg.PATHSEG_MOVETO_ABS||t==window.SVGPathSeg.PATHSEG_MOVETO_REL},n.prototype._parseNumber=function(){let t=0,e=0,i=1,n=0,o=1,r=1,h=this._currentIndex;if(this._skipOptionalSpaces(),this._currentIndex<this._endIndex&&"+"==this._string.charAt(this._currentIndex)?this._currentIndex++:this._currentIndex<this._endIndex&&"-"==this._string.charAt(this._currentIndex)&&(this._currentIndex++,o=-1),this._currentIndex==this._endIndex||("0">this._string.charAt(this._currentIndex)||this._string.charAt(this._currentIndex)>"9")&&"."!=this._string.charAt(this._currentIndex))return;let s=this._currentIndex;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&"9">=this._string.charAt(this._currentIndex);)this._currentIndex++;if(this._currentIndex!=s){let t=this._currentIndex-1,i=1;for(;t>=s;)e+=i*(this._string.charAt(t--)-0),i*=10}if(this._currentIndex<this._endIndex&&"."==this._string.charAt(this._currentIndex)){if(this._currentIndex++,this._currentIndex>=this._endIndex||"0">this._string.charAt(this._currentIndex)||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&"9">=this._string.charAt(this._currentIndex);)i*=10,n+=(this._string.charAt(this._currentIndex)-0)/i,this._currentIndex+=1}if(this._currentIndex!=h&&this._currentIndex+1<this._endIndex&&("e"==this._string.charAt(this._currentIndex)||"E"==this._string.charAt(this._currentIndex))&&"x"!=this._string.charAt(this._currentIndex+1)&&"m"!=this._string.charAt(this._currentIndex+1)){if(this._currentIndex++,"+"==this._string.charAt(this._currentIndex)?this._currentIndex++:"-"==this._string.charAt(this._currentIndex)&&(this._currentIndex++,r=-1),this._currentIndex>=this._endIndex||"0">this._string.charAt(this._currentIndex)||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&"9">=this._string.charAt(this._currentIndex);)t*=10,t+=this._string.charAt(this._currentIndex)-0,this._currentIndex++}let a=e+n;if(a*=o,t&&(a*=Math.pow(10,r*t)),h!=this._currentIndex)return this._skipOptionalSpacesOrDelimiter(),a},n.prototype._parseArcFlag=function(){if(this._currentIndex>=this._endIndex)return;let t=!1,e=this._string.charAt(this._currentIndex++);if("0"==e)t=!1;else{if("1"!=e)return;t=!0}return this._skipOptionalSpacesOrDelimiter(),t},n.prototype.parseSegment=function(){let t,i=this._string[this._currentIndex],n=this._pathSegTypeFromChar(i);if(n==window.SVGPathSeg.PATHSEG_UNKNOWN){if(this._previousCommand==window.SVGPathSeg.PATHSEG_UNKNOWN||(n=this._nextCommandHelper(i,this._previousCommand))==window.SVGPathSeg.PATHSEG_UNKNOWN)return null}else this._currentIndex++;switch(this._previousCommand=n,n){case window.SVGPathSeg.PATHSEG_MOVETO_REL:return new window.SVGPathSegMovetoRel(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_MOVETO_ABS:return new window.SVGPathSegMovetoAbs(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_REL:return new window.SVGPathSegLinetoRel(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_ABS:return new window.SVGPathSegLinetoAbs(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL:return new window.SVGPathSegLinetoHorizontalRel(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS:return new window.SVGPathSegLinetoHorizontalAbs(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL:return new window.SVGPathSegLinetoVerticalRel(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS:return new window.SVGPathSegLinetoVerticalAbs(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_CLOSEPATH:return this._skipOptionalSpaces(),new window.SVGPathSegClosePath(e);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL:return t={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicRel(e,t.x,t.y,t.x1,t.y1,t.x2,t.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS:return t={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicAbs(e,t.x,t.y,t.x1,t.y1,t.x2,t.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:return t={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicSmoothRel(e,t.x,t.y,t.x2,t.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:return t={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicSmoothAbs(e,t.x,t.y,t.x2,t.y2);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL:return t={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoQuadraticRel(e,t.x,t.y,t.x1,t.y1);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS:return t={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoQuadraticAbs(e,t.x,t.y,t.x1,t.y1);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:return new window.SVGPathSegCurvetoQuadraticSmoothRel(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:return new window.SVGPathSegCurvetoQuadraticSmoothAbs(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_ARC_REL:return t={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegArcRel(e,t.x,t.y,t.x1,t.y1,t.arcAngle,t.arcLarge,t.arcSweep);case window.SVGPathSeg.PATHSEG_ARC_ABS:return t={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegArcAbs(e,t.x,t.y,t.x1,t.y1,t.arcAngle,t.arcLarge,t.arcSweep);default:throw"Unknown path seg type."}};let o=new i,r=new n(t);if(!r.initialCommandIsMoveTo())return[];for(;r.hasMoreData();){let t=r.parseSegment();if(!t)return[];o.appendSegment(t)}return o.pathSegList})}catch(t){console.warn("An error occurred in tsParticles pathseg polyfill. If the Polygon Mask is not working, please open an issue here: https://github.com/tsparticles/tsparticles",t)}}();var n=i(2005),o=i(8644),r=i(4371);let h="No polygon data loaded.";class s{dimension;offset;paths;raw;redrawTimeout;_container;_engine;_moveRadius;_scale;constructor(t,e){this._container=t,this._engine=e,this.dimension={height:0,width:0},this._moveRadius=0,this._scale=1}clickPositionValid(t){let e=this._container.actualOptions.polygon;return!!e?.enable&&e.type!==r.T.none&&e.type!==r.T.inline&&this._checkInsidePolygon(t)}draw(t){if(!this.paths?.length)return;let e=this._container.actualOptions.polygon;if(!e?.enable)return;let i=e.draw;if(!i.enable)return;let o=this.raw;for(let e of this.paths){let r=e.path2d;r&&this.offset?function(t,e,i,o,r,h=!1){e.setTransform(1,0,0,1,r.x,r.y);let s=(0,n.BN0)(t,o.color);s&&(e.strokeStyle=(0,n.xxz)(s,h,o.opacity),e.lineWidth=o.width,e.stroke(i),e.resetTransform())}(this._engine,t,r,i.stroke,this.offset,this._container.hdr):o&&function(t,e,i,o,r=!1){let h=(0,n.BN0)(t,o.color);if(!h)return;let s=i[0];if(s){for(let t of(e.beginPath(),e.moveTo(s.x,s.y),i))e.lineTo(t.x,t.y);e.closePath(),e.strokeStyle=(0,n.xxz)(h,r),e.lineWidth=o.width,e.stroke()}}(this._engine,t,o,i.stroke,this._container.hdr)}}async init(){let t=this._container,e=t.actualOptions.polygon,i=t.retina.pixelRatio;e&&(this._moveRadius=e.move.radius*i,this._scale=e.scale*i,e.enable&&await this._initRawData())}particleBounce(t,e,i){return this._polygonBounce(t,e,i)}particlePosition(t){let e=this._container.actualOptions.polygon;if(e?.enable&&(this.raw?.length??0)>0)return(0,n.zwS)({},t??this._randomPoint())}particlesInitialization(){let t=this._container.actualOptions.polygon;return!!t?.enable&&t.type===r.T.inline&&(t.inline.arrangement===o.G.onePerPoint||t.inline.arrangement===o.G.perPoint)&&(this._drawPoints(),!0)}resize(){let t=this._container,e=t.actualOptions.polygon;e?.enable&&e.type!==r.T.none&&(this.redrawTimeout&&clearTimeout(this.redrawTimeout),this.redrawTimeout=setTimeout(()=>{(async()=>{await this._initRawData(!0),await t.particles.redraw()})()},250))}stop(){delete this.raw,delete this.paths}_checkInsidePolygon=t=>{let e=this._container,i=e.actualOptions.polygon;if(!i?.enable||i.type===r.T.none||i.type===r.T.inline)return!0;if(!this.raw)throw Error("No polygon found, you need to specify SVG url in config.");let o=e.canvas.size,h=t?.x??(0,n.G0i)()*o.width,s=t?.y??(0,n.G0i)()*o.height,a=!1;for(let t=0,e=this.raw.length-1;t<this.raw.length;e=t++){let i=this.raw[t],n=this.raw[e];i&&n&&i.y>s!=n.y>s&&h<(n.x-i.x)*(s-i.y)/(n.y-i.y)+i.x&&(a=!a)}return i.type===r.T.inside?a:!a};_createPath2D=()=>{if(this._container.actualOptions.polygon&&this.paths?.length)for(let t of this.paths){let e=t.element.getAttribute("d");if(e){let i=new Path2D(e),o=(0,n.T5G)().createElementNS("http://www.w3.org/2000/svg","svg").createSVGMatrix(),r=new Path2D,h=o.scale(this._scale);r.addPath(i,h),t.path2d=r}else delete t.path2d;if(t.path2d??!this.raw)continue;t.path2d=new Path2D;let i=this.raw[0];i&&(t.path2d.moveTo(i.x,i.y),this.raw.forEach((e,i)=>{i>0&&t.path2d?.lineTo(e.x,e.y)}),t.path2d.closePath())}};_downloadSvgPath=async(t,e)=>{let i=this._container.actualOptions.polygon;if(!i)return;let n=t??i.url,o=e??!1;if(!n||void 0!==this.paths&&!o)return this.raw;let r=await fetch(n);if(!r.ok)throw Error("Error occurred during polygon mask download");return this._parseSvgPath(await r.text(),e)};_drawPoints=()=>{if(this.raw)for(let t of this.raw)this._container.particles.addParticle({x:t.x,y:t.y})};_getEquidistantPointByIndex=t=>{let e=this._container.actualOptions;if(!e.polygon)return;if(!this.raw?.length||!this.paths?.length)throw Error(h);let i=0,o,r=this.paths.reduce((t,e)=>t+e.length,0)/e.particles.number.value;for(let e of this.paths){let n=r*t-i;if(n<=e.length){o=e.element.getPointAtLength(n);break}i+=e.length}let s=this._scale;return{x:(o?.x??n.boI.x)*s+(this.offset?.x??n.boI.x),y:(o?.y??n.boI.y)*s+(this.offset?.y??n.boI.y)}};_getPointByIndex=t=>{if(!this.raw?.length)throw Error(h);let e=this.raw[t%this.raw.length];if(e)return{x:e.x,y:e.y}};_getRandomPoint=()=>{if(!this.raw?.length)throw Error(h);let t=(0,n.Vh1)(this.raw);if(t)return{x:t.x,y:t.y}};_getRandomPointByLength=()=>{if(!this._container.actualOptions.polygon)return;if(!this.raw?.length||!this.paths?.length)throw Error(h);let t=(0,n.Vh1)(this.paths);if(!t)return;let e=Math.floor((0,n.G0i)()*t.length)+1,i=t.element.getPointAtLength(e),o=this._scale;return{x:i.x*o+(this.offset?.x??n.boI.x),y:i.y*o+(this.offset?.y??n.boI.y)}};_initRawData=async t=>{let e=this._container.actualOptions.polygon;if(e){if(e.url)this.raw=await this._downloadSvgPath(e.url,t);else if(e.data){let i,o=e.data;if((0,n.KgX)(o))i=o;else{let t=t=>`<path d="${t}" />`,e=(0,n.cyL)(o.path)?o.path.map(t).join(""):t(o.path);i=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="${o.size.width.toString()}" height="${o.size.height.toString()}">${e}</svg>`}this.raw=this._parseSvgPath(i,t)}this._createPath2D(),this._engine.dispatchEvent("polygonMaskLoaded",{container:this._container})}};_parseSvgPath=(t,e)=>{if(void 0!==this.paths&&!e)return this.raw;let i=this._container,o=i.actualOptions.polygon;if(!o)return;let r=new DOMParser().parseFromString(t,"image/svg+xml"),h=r.getElementsByTagName("svg")[0];if(!h)return;let s=h.getElementsByTagName("path");s.length||(s=r.getElementsByTagName("path")),this.paths=[];for(let t=0;t<s.length;t++){let e=s.item(t);e&&this.paths.push({element:e,length:e.getTotalLength()})}let a=this._scale;this.dimension.width=parseFloat(h.getAttribute("width")??"0")*a,this.dimension.height=parseFloat(h.getAttribute("height")??"0")*a;let S=o.position??{x:50,y:50},u=i.canvas.size;return this.offset={x:u.width*S.x/n.a56-this.dimension.width*n.MXx,y:u.height*S.y/n.a56-this.dimension.height*n.MXx},function(t,e,i){let n=[];for(let o of t){let t=o.element.pathSegList,r=t?.numberOfItems??0,h={x:0,y:0};for(let o=0;o<r;o++){let r=t?.getItem(o),s=globalThis.SVGPathSeg;switch(r?.pathSegType){case s.PATHSEG_MOVETO_ABS:case s.PATHSEG_LINETO_ABS:case s.PATHSEG_CURVETO_CUBIC_ABS:case s.PATHSEG_CURVETO_QUADRATIC_ABS:case s.PATHSEG_ARC_ABS:case s.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:case s.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:h.x=r.x,h.y=r.y;break;case s.PATHSEG_LINETO_HORIZONTAL_ABS:h.x=r.x;break;case s.PATHSEG_LINETO_VERTICAL_ABS:h.y=r.y;break;case s.PATHSEG_LINETO_REL:case s.PATHSEG_MOVETO_REL:case s.PATHSEG_CURVETO_CUBIC_REL:case s.PATHSEG_CURVETO_QUADRATIC_REL:case s.PATHSEG_ARC_REL:case s.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:case s.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:h.x+=r.x,h.y+=r.y;break;case s.PATHSEG_LINETO_HORIZONTAL_REL:h.x+=r.x;break;case s.PATHSEG_LINETO_VERTICAL_REL:h.y+=r.y;break;case s.PATHSEG_UNKNOWN:case s.PATHSEG_CLOSEPATH:default:continue}n.push({x:h.x*e+i.x,y:h.y*e+i.y})}}return n}(this.paths,a,this.offset)};_polygonBounce=(t,e,i)=>{let o=this._container.actualOptions.polygon;if(!this.raw||!o?.enable||i!==n.v5k.top)return!1;if(o.type===r.T.inside||o.type===r.T.outside){let e,i,o,r=t.getPosition(),h=t.getRadius();for(let s=0,a=this.raw.length-1;s<this.raw.length;a=s++){let S=this.raw[s],u=this.raw[a];if(!S||!u)continue;e=function(t,e,i){let{dx:o,dy:r}=(0,n.vrU)(i,t),{dx:h,dy:s}=(0,n.vrU)(e,t),a=(o*h+r*s)/(h**2+s**2),S={x:t.x+h*a,y:t.y+s*a,isOnSegment:a>=0&&a<=1};return a<0?(S.x=t.x,S.y=t.y):a>1&&(S.x=e.x,S.y=e.y),S}(S,u,r);let _=(0,n.vrU)(r,e);if([i,o]=[_.dx,_.dy],_.distance<h)return!function(t,e,i){let{dx:o,dy:r}=(0,n.vrU)(t,e),h=Math.atan2(r,o),s=n.Miz.create(Math.sin(h),-Math.cos(h)),a=n.gdl*(i.x*s.x+i.y*s.y);s.multTo(a),i.subFrom(s)}(S,u,t.velocity),!0}if(e&&void 0!==i&&void 0!==o&&!this._checkInsidePolygon(r)){let i={x:1,y:1},o=h*n.gdl;return r.x>=e.x&&(i.x=-1),r.y>=e.y&&(i.y=-1),t.position.x=e.x+o*i.x,t.position.y=e.y+o*i.y,t.velocity.mult(-1),!0}}else if(o.type===r.T.inline){let e=(0,n.YfF)(t.initialPosition,t.getPosition()),{velocity:i}=t;if(e>this._moveRadius)return i.x=i.y*n.MXx-i.x,i.y=i.x*n.MXx-i.y,!0}return!1};_randomPoint=()=>{let t,e=this._container,i=e.actualOptions.polygon;if(i){if(i.type===r.T.inline)switch(i.inline.arrangement){case o.G.randomPoint:t=this._getRandomPoint();break;case o.G.randomLength:t=this._getRandomPointByLength();break;case o.G.equidistant:t=this._getEquidistantPointByIndex(e.particles.count);break;case o.G.onePerPoint:case o.G.perPoint:default:t=this._getPointByIndex(e.particles.count)}else{let i=e.canvas.size;t={x:(0,n.G0i)()*i.width,y:(0,n.G0i)()*i.height}}return this._checkInsidePolygon(t)?t:this._randomPoint()}}}}}]);
|
package/5590.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5590],{5590(a,s,i){async function t(a){a.checkVersion("4.0.0-alpha.26"),await a.register(async a=>{let{easingsFunctions:s}=await i.e(9283).then(i.bind(i,9283));for(let[i,t]of s)a.addEasing(i,t)})}i.r(s),i.d(s,{loadEasingGaussianPlugin:()=>t})}}]);
|
package/5608.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5608],{5608(e,a,t){t.d(a,{RoundedRectDrawer:()=>r});var i=t(2005);class r{draw(e){let{context:a,particle:t,radius:r}=e,u=r*Math.SQRT1_2,d=u*i.gdl,l=t.borderRadius??5;"roundRect"in a?a.roundRect(-u,-u,d,d,l):function(e,a,t,i){let{x:r,y:u,width:d,height:l}={x:-a,y:-a,height:t,width:t},o=r+d,c=u+l;e.moveTo(r+i,u),e.lineTo(o-i,u),e.quadraticCurveTo(o,u,o,u+i),e.lineTo(o,u+l-i),e.quadraticCurveTo(o,c,o-i,c),e.lineTo(r+i,c),e.quadraticCurveTo(r,c,r,c-i),e.lineTo(r,u+i),e.quadraticCurveTo(r,u,r+i,u)}(a,u,d,l)}particleInit(e,a){let t=a.shapeData;a.borderRadius=(0,i.VGA)(t?.radius??5)*e.retina.pixelRatio}}}}]);
|
package/5782.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5782,9204],{5782(e,t,i){i.d(t,{Repulser:()=>a});var n=i(9204),s=i(2005);class r extends s.PVU{distance;duration;enabled;factor;speed;constructor(){super(),this.enabled=!1,this.distance=1,this.duration=1,this.factor=1,this.speed=1}load(e){super.load(e),(0,s.kZJ)(e)||(void 0!==e.enabled&&(this.enabled=e.enabled),void 0!==e.distance&&(this.distance=(0,s.DT4)(e.distance)),void 0!==e.duration&&(this.duration=(0,s.DT4)(e.duration)),void 0!==e.factor&&(this.factor=(0,s.DT4)(e.factor)),void 0!==e.speed&&(this.speed=(0,s.DT4)(e.speed)))}}class a extends n.ParticlesInteractorBase{_maxDistance;_normVec;_velocityVec;constructor(e){super(e),this._maxDistance=0,this._normVec=s.Miz.origin,this._velocityVec=s.Miz.origin}get maxDistance(){return this._maxDistance}clear(){}init(){}interact(e){let t=this.container;if(!e.repulse){let i=e.options.repulse;if(!i)return;let n=(0,s.VGA)(i.distance);n>this.maxDistance&&(this._maxDistance=n),e.repulse={distance:n*t.retina.pixelRatio,speed:(0,s.VGA)(i.speed),factor:(0,s.VGA)(i.factor)}}let i=e.getPosition(),n=t.particles.grid.queryCircle(i,e.repulse.distance),r=1/e.repulse.distance;for(let t of n){if(e===t||t.destroyed)continue;let n=t.getPosition(),{dx:a,dy:o,distance:c}=(0,s.vrU)(n,i),l=1/c,d=e.repulse.speed*e.repulse.factor;if(c>0){let e=(0,s.qE8)((1-Math.pow(c*r,2))*d,0,d)*l;this._normVec.x=a*e,this._normVec.y=o*e,t.position.addTo(this._normVec)}else this._velocityVec.x=d,this._velocityVec.y=d,t.position.addTo(this._velocityVec)}}isEnabled(e){return e.options.repulse?.enabled??!1}loadParticlesOptions(e,...t){for(let i of(e.repulse??=new r,t))e.repulse.load(i?.repulse)}reset(){}}},6201(e,t,i){var n,s;i.d(t,{Q:()=>n}),(s=n||(n={})).circle="circle",s.rectangle="rectangle"},4070(e,t,i){var n,s;i.d(t,{h:()=>n}),(s=n||(n={})).canvas="canvas",s.parent="parent",s.window="window"},6815(e,t,i){var n,s;i.d(t,{e:()=>n}),(s=n||(n={})).external="external",s.particles="particles"},2043(e,t,i){i.d(t,{Bp:()=>d,DG:()=>u,G3:()=>p,Rb:()=>c,Z0:()=>a,ms:()=>s,s7:()=>l,sf:()=>o,vo:()=>r,xO:()=>n});let n="click",s="pointerdown",r="pointerup",a="pointerleave",o="pointerout",c="pointermove",l="touchstart",d="touchend",u="touchmove",p="touchcancel"},1238(e,t,i){i.d(t,{G:()=>r});var n=i(2005),s=i(6201);class r{enable;mode;selectors;type;constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=s.Q.circle}load(e){(0,n.kZJ)(e)||(void 0!==e.selectors&&(this.selectors=e.selectors),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.mode&&(this.mode=e.mode),void 0!==e.type&&(this.type=e.type))}}},5626(e,t,i){i.d(t,{d:()=>s});var n=i(2005);class s{_container;_engine;constructor(e,t){this._engine=e,this._container=t}load(e){if((0,n.kZJ)(e)||!this._container)return;let t=this._engine.interactors?.get(this._container);if(t)for(let i of t)i.loadModeOptions&&i.loadModeOptions(this,e)}}},9204(e,t,i){i.r(t),i.d(t,{DivEvent:()=>v.G,DivType:()=>c.Q,ExternalInteractorBase:()=>r,InteractivityDetect:()=>l.h,InteractorType:()=>s.e,Modes:()=>f.d,ParticlesInteractorBase:()=>a,clickEvent:()=>o.xO,divMode:()=>h,divModeExecute:()=>u,ensureInteractivityPluginLoaded:()=>y,isDivModeEnabled:()=>d,loadInteractivityPlugin:()=>m,mouseDownEvent:()=>o.ms,mouseLeaveEvent:()=>o.Z0,mouseMoveEvent:()=>o.Rb,mouseOutEvent:()=>o.sf,mouseUpEvent:()=>o.vo,singleDivModeExecute:()=>p,touchCancelEvent:()=>o.G3,touchEndEvent:()=>o.Bp,touchMoveEvent:()=>o.DG,touchStartEvent:()=>o.s7});var n=i(2005),s=i(6815);class r{type=s.e.external;container;constructor(e){this.container=e}}class a{type=s.e.particles;container;constructor(e){this.container=e}}var o=i(2043),c=i(6201),l=i(4070);function d(e,t){return!!(0,n.w3Z)(t,t=>t.enable&&(0,n.hnD)(e,t.mode))}function u(e,t,i){(0,n.wJ2)(t,t=>{let s=t.mode;t.enable&&(0,n.hnD)(e,s)&&p(t,i)})}function p(e,t){let i=e.selectors;(0,n.wJ2)(i,i=>{t(i,e)})}function h(e,t){if(t&&e)return(0,n.w3Z)(e,e=>{var i;let s;return i=e.selectors,s=(0,n.wJ2)(i,e=>t.matches(e)),(0,n.cyL)(s)?s.some(e=>e):s})}var v=i(1238),f=i(5626);async function m(e){e.checkVersion("4.0.0-alpha.26"),await e.register(async e=>{let{InteractivityPlugin:t}=await i.e(5055).then(i.bind(i,5055));e.addPlugin(new t(e)),e.initializers.interactors??=new Map,e.interactors??=new Map,e.addInteractor=(t,i)=>{e.initializers.interactors??=new Map,e.initializers.interactors.set(t,i)},e.getInteractors=async(t,i=!1)=>(e.interactors??=new Map,e.initializers.interactors??=new Map,(0,n.HQK)(t,e.interactors,e.initializers.interactors,i)),e.setOnClickHandler=t=>{let{items:i}=e;if(!i.length)throw Error("Click handlers can only be set after calling tsParticles.load()");i.forEach(e=>{e.addClickHandler?.(t)})}})}function y(e){if(!e.addInteractor)throw Error("tsParticles Interactivity Plugin is not loaded")}}}]);
|
package/5817.min.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5817],{5817(i,t,s){s.d(t,{CanvasMaskPlugin:()=>d});var e=s(2005);class o{color;opacity;constructor(){this.color=!0,this.opacity=!1}load(i){(0,e.kZJ)(i)||(void 0!==i.color&&(this.color=i.color),void 0!==i.opacity&&(this.opacity=i.opacity))}}class a{filter;offset;constructor(){this.filter=i=>i.a>0,this.offset=4}load(i){if(!(0,e.kZJ)(i)){if(void 0!==i.filter)if((0,e.KgX)(i.filter)){if(Object.hasOwn(globalThis,i.filter)){let t=globalThis[i.filter];(0,e.Tnt)(t)&&(this.filter=t)}}else this.filter=i.filter;void 0!==i.offset&&(this.offset=i.offset)}}}class l{src;constructor(){this.src=""}load(i){(0,e.kZJ)(i)||void 0!==i.src&&(this.src=i.src)}}class n{family;size;style;variant;weight;constructor(){this.family="sans-serif",this.size=100,this.style="",this.variant="",this.weight=""}load(i){(0,e.kZJ)(i)||(void 0!==i.family&&(this.family=i.family),void 0!==i.size&&(this.size=i.size),void 0!==i.style&&(this.style=i.style),void 0!==i.variant&&(this.variant=i.variant),void 0!==i.weight&&(this.weight=i.weight))}}class r{separator;spacing;constructor(){this.separator=`
|
|
2
|
+
`,this.spacing=10}load(i){(0,e.kZJ)(i)||(void 0!==i.separator&&(this.separator=i.separator),void 0!==i.spacing&&(this.spacing=i.spacing))}}class c{color;fill;font;lines;text;constructor(){this.color="#000000",this.fill=!0,this.font=new n,this.lines=new r,this.text=""}load(i){(0,e.kZJ)(i)||(void 0!==i.color&&(this.color=i.color),void 0!==i.fill&&(this.fill=i.fill),this.font.load(i.font),this.lines.load(i.lines),void 0!==i.text&&(this.text=i.text))}}class h{element;enable;image;override;pixels;position;scale;selector;text;constructor(){this.enable=!1,this.override=new o,this.pixels=new a,this.position={x:50,y:50},this.scale=1}load(i){!(0,e.kZJ)(i)&&(void 0!==i.element&&i.element instanceof HTMLCanvasElement&&(this.element=i.element),void 0!==i.enable&&(this.enable=i.enable),i.image&&(this.image??=new l,this.image.load(i.image)),this.pixels.load(i.pixels),i.position&&(this.position={x:i.position.x??this.position.x,y:i.position.y??this.position.y}),this.override.load(i.override),void 0!==i.scale&&(this.scale=i.scale),void 0!==i.selector&&(this.selector=i.selector),i.text&&(this.text??=new c,this.text.load(i.text)))}}class d{id="canvas-mask";async getPlugin(i){let{CanvasMaskPluginInstance:t}=await s.e(632).then(s.bind(s,632));return new t(i)}loadOptions(i,t,s){if(!this.needsPlugin(t)&&!this.needsPlugin(s))return;let e=t.canvasMask;e?.load===void 0&&(t.canvasMask=e=new h),e.load(s?.canvasMask)}needsPlugin(i){return i?.canvasMask?.enable??!1}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5822],{5822(s,e,i){i.d(e,{ResponsivePlugin:()=>d});var t,n,o=i(2005);(t=n||(n={})).screen="screen",t.canvas="canvas";class a{maxWidth;mode;options;constructor(){this.maxWidth=1/0,this.options={},this.mode=n.canvas}load(s){!(0,o.kZJ)(s)&&((0,o.kZJ)(s.maxWidth)||(this.maxWidth=s.maxWidth),(0,o.kZJ)(s.mode)||(s.mode===n.screen?this.mode=n.screen:this.mode=n.canvas),(0,o.kZJ)(s.options)||(this.options=(0,o.zwS)({},s.options)))}}class d{id="responsive";async getPlugin(s){let{ResponsivePluginInstance:e}=await i.e(5336).then(i.bind(i,5336));return new e(s)}loadOptions(s,e,i){if(this.needsPlugin(e)||this.needsPlugin(i)){if(e.setResponsive=(s,i,t)=>{e.load(t);let o=e.responsive?.find(e=>e.mode===n.screen?e.maxWidth>screen.availWidth:e.maxWidth*i>s);return e.load(o?.options),o?.maxWidth},e.responsive??=[],i?.responsive!==void 0)for(let s of i.responsive){let i=new a;s&&i.load(s),e.responsive.push(i)}e.responsive.sort((s,e)=>s.maxWidth-e.maxWidth)}}needsPlugin(s){return!!s?.responsive?.length}}}}]);
|
package/5852.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5852],{5852(e,t,a){async function i(e){e.checkVersion("4.0.0-alpha.26"),await e.register(async e=>{let{ensureEmittersPluginLoaded:t}=await a.e(6114).then(a.bind(a,6114));t(e);let{EmittersCircleShapeGenerator:i}=await a.e(639).then(a.bind(a,639));e.addEmitterShapeGenerator?.("circle",new i)})}a.r(t),a.d(t,{loadEmittersShapeCircle:()=>i})}}]);
|
package/5932.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5932],{5932(a,i,s){async function t(a){a.checkVersion("4.0.0-alpha.26"),await a.register(async a=>{let{easingsFunctions:i}=await s.e(2865).then(s.bind(s,2865));for(let[s,t]of i)a.addEasing(s,t)})}s.r(i),s.d(i,{loadEasingSinePlugin:()=>t})}}]);
|
package/5950.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[5950],{5950(e,a,t){t.r(a),t.d(a,{loadPerlinNoisePath:()=>n,perlinNoisePathName:()=>i});let i="perlinNoise";async function n(e){e.checkVersion("4.0.0-alpha.26"),await e.register(async e=>{let{ensureBaseMoverLoaded:a}=await t.e(7217).then(t.bind(t,7217));a(e),e.addPathGenerator?.(i,async e=>{let{PerlinNoiseGenerator:a}=await t.e(1419).then(t.bind(t,1419));return new a(e)})})}}}]);
|
package/6003.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[6003],{6003(a,t,e){async function s(a){a.checkVersion("4.0.0-alpha.26"),await a.register(a=>{a.addShape(["path"],async()=>{let{PathDrawer:a}=await e.e(2481).then(e.bind(e,2481));return new a})})}e.r(t),e.d(t,{loadPathShape:()=>s})}}]);
|
package/6004.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[6004],{6004(a,t,e){async function i(a){a.checkVersion("4.0.0-alpha.26"),await a.register(async a=>{let{ExportJSONPlugin:t}=await e.e(8405).then(e.bind(e,8405));a.addPlugin(new t)})}e.r(t),e.d(t,{loadExportJSONPlugin:()=>i})}}]);
|
package/6015.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[6015],{6015(e,n,a){async function t(e){e.checkVersion("4.0.0-alpha.26"),await e.register(async e=>{let[{ensureInteractivityPluginLoaded:n},{AbsorbersInstancesManager:t},{AbsorbersPlugin:s}]=await Promise.all([a.e(9204).then(a.bind(a,9204)),a.e(9743).then(a.bind(a,9743)),a.e(3551).then(a.bind(a,3551))]),i=new t(e);n(e),e.addPlugin(new s(i)),e.addInteractor?.("externalAbsorbers",async e=>{let{AbsorbersInteractor:n}=await a.e(1951).then(a.bind(a,1951));return new n(e,i)})})}a.r(n),a.d(n,{loadAbsorbersPlugin:()=>t})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[6022],{9282(e,x,y){var a,s;y.d(x,{U:()=>a}),(s=a||(a={})).hearts="hearts",s.diamonds="diamonds",s.clubs="clubs",s.spades="spades"},5723(e,x,y){y.d(x,{f0:()=>f});var a=y(9858),s=y(2005),i=y(9282);let l=s.$GP*s.MXx,r=s.MXx,t=r*s.MXx,u=-r,c=-t,b=r*l,v=r*s.RqE,n={half:!0,segments:[{type:a.M.bezier,values:[{x:s.Iex,y:u},{x:s.Iex,y:u},{x:t,y:u},{x:t,y:c}]},{type:a.M.bezier,values:[{x:t,y:c},{x:t,y:c},{x:r,y:c},{x:r,y:s.Iex}]},{type:a.M.bezier,values:[{x:r,y:s.Iex},{x:r,y:s.Iex},{x:r,y:t},{x:t,y:t}]},{type:a.M.bezier,values:[{x:t,y:t},{x:t,y:t},{x:b,y:t},{x:b,y:b}]},{type:a.M.bezier,values:[{x:b,y:b},{x:b,y:t},{x:t,y:r},{x:t,y:r}]},{type:a.M.bezier,values:[{x:t,y:r},{x:t,y:r},{x:s.Iex,y:r},{x:s.Iex,y:r}]}]},p={half:!0,segments:[{type:a.M.bezier,values:[{x:s.Iex,y:r},{x:s.Iex,y:r},{x:v,y:s.Iex},{x:v,y:s.Iex}]},{type:a.M.bezier,values:[{x:v,y:s.Iex},{x:v,y:s.Iex},{x:s.Iex,y:u},{x:s.Iex,y:u}]}]},I={half:!0,segments:[{type:a.M.bezier,values:[{x:s.Iex,y:r},{x:s.Iex,y:r},{x:r,y:s.Iex},{x:r,y:c}]},{type:a.M.bezier,values:[{x:r,y:c},{x:r,y:c},{x:r,y:u},{x:t,y:u}]},{type:a.M.bezier,values:[{x:t,y:u},{x:t,y:u},{x:s.Iex,y:u},{x:s.Iex,y:c}]}]},o={half:!0,segments:[{type:a.M.bezier,values:[{x:s.Iex,y:u},{x:s.Iex,y:u},{x:r,y:c},{x:r,y:s.Iex}]},{type:a.M.bezier,values:[{x:r,y:s.Iex},{x:r,y:s.Iex},{x:r,y:t},{x:t,y:t}]},{type:a.M.bezier,values:[{x:t,y:t},{x:t,y:t},{x:b,y:t},{x:b,y:b}]},{type:a.M.bezier,values:[{x:b,y:b},{x:b,y:t},{x:t,y:r},{x:t,y:r}]},{type:a.M.bezier,values:[{x:t,y:r},{x:t,y:r},{x:s.Iex,y:r},{x:s.Iex,y:r}]}]},f={[i.U.hearts]:I,[i.U.diamonds]:p,[i.U.clubs]:n,[i.U.spades]:o}},6022(e,x,y){y.d(x,{SpadeDrawer:()=>i});var a=y(9858),s=y(5723);class i{draw(e){let{context:x,radius:y}=e;(0,a.k)(x,y,s.f0.spades)}}},9858(e,x,y){var a,s;function i(e,x,y){let s=y.segments[0];if(!s)return;let i=s.values[0];if(i){for(let s of(e.moveTo(i.x*x,i.y*x),y.segments)){let y=s.values[0];if(!y)continue;let i=s.values[1],l=s.values[2],r=s.values[3];switch(s.type){case a.move:e.moveTo(y.x*x,y.y*x);break;case a.line:e.lineTo(y.x*x,y.y*x);break;case a.bezier:if(!i||!l||!r)continue;e.bezierCurveTo(i.x*x,i.y*x,l.x*x,l.y*x,r.x*x,r.y*x);break;case a.quadratic:if(!i||!l)continue;e.quadraticCurveTo(i.x*x,i.y*x,l.x*x,l.y*x);break;case a.arc:if(!i||!l)continue;e.arc(y.x*x,y.y*x,i.x*x,l.x,l.y);break;case a.ellipse:if(!i||!l||!r)continue;e.ellipse(y.x*x,y.y*x,i.x*x,i.y*x,l.x,r.x,r.y)}}if(y.half)for(let s=y.segments.length-1;s>=0;s--){let i=y.segments[s];if(!i)continue;let l=i.values[0],r=i.values[1],t=i.values[2];switch(i.type){case a.line:if(!l)break;e.lineTo(-(l.x*x),l.y*x);break;case a.bezier:if(!l||!r||!t)break;e.bezierCurveTo(-t.x*x,t.y*x,-r.x*x,r.y*x,-l.x*x,l.y*x);break;case a.quadratic:if(!r||!t)break;e.quadraticCurveTo(-r.x*x,r.y*x,-t.x*x,t.y*x);case a.arc:case a.ellipse:}}}}y.d(x,{M:()=>a,k:()=>i}),(s=a||(a={})).move="move",s.line="line",s.bezier="bezier",s.quadratic="quadratic",s.arc="arc",s.ellipse="ellipse"}}]);
|
package/6067.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[6067],{6067(i,a,e){e.d(a,{SpiralPathGenerator:()=>d});var t,s,r=e(2005);(t=s||(s={}))[t.positive=1]="positive",t[t.negative=-1]="negative";let n={maxRadius:{min:10,max:50},angularSpeed:{min:.01,max:.04},radialSpeed:{min:.1,max:.3}};class d{options;_container;_res;constructor(i){this._container=i,this._res=r.Miz.origin,this.options=(0,r.zwS)({},n)}generate(i,a){let{options:e}=this;i.spiral??={angle:(0,r.G0i)()*r.R1e,radius:0,direction:s.positive,maxRadius:(0,r.VGA)(e.maxRadius),angularSpeed:.01*(0,r.VGA)(e.angularSpeed),radialSpeed:.01*(0,r.VGA)(e.radialSpeed)};let t=i.spiral;t.angle+=t.angularSpeed*a.factor,t.radius+=t.radialSpeed*t.direction*a.factor,t.radius>t.maxRadius&&t.direction===s.positive?(t.radius=t.maxRadius,t.direction=s.negative):t.radius<0&&t.direction===s.negative&&(t.radius=0,t.direction=s.positive);let n=Math.cos(t.angle)*t.radius,d=Math.sin(t.angle)*t.radius;return i.position.x+=n,i.position.y+=d,this._res.x=0,this._res.y=0,this._res}init(){let i=this._container.actualOptions.particles.move.path.options;this.options.maxRadius=i.maxRadius??this.options.maxRadius,this.options.angularSpeed=i.angularSpeed??this.options.angularSpeed,this.options.radialSpeed=i.radialSpeed??this.options.radialSpeed}reset(i){delete i.spiral}update(){}}}}]);
|
package/61.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[61,3574],{3574(e,t,a){a.d(t,{zS:()=>w,loadGifImage:()=>x});var i,o,n,r,l=a(984),s=a(2005);let h=[0,4,2,1],g=[8,8,4,2];class d{data;pos;constructor(e){this.pos=0,this.data=new Uint8ClampedArray(e)}getString(e){let t=this.data.slice(this.pos,this.pos+e);return this.pos+=t.length,t.reduce((e,t)=>e+String.fromCharCode(t),"")}nextByte(){return this.data[this.pos++]}nextTwoBytes(){return this.pos+=2,this.data[this.pos-2]+(this.data[this.pos-1]<<8)}readSubBlocks(){let e="",t=0;do{t=this.data[this.pos++];for(let a=t;--a>=0;e+=String.fromCharCode(this.data[this.pos++]));}while(0!==t)return e}readSubBlocksBin(){let e=this.data[this.pos],t=0;for(let a=0;0!==e;a+=e+1,e=this.data[this.pos+a])t+=e;let a=new Uint8Array(t);e=this.data[this.pos++];for(let t=0;0!==e;e=this.data[this.pos++])for(let i=e;--i>=0;a[t++]=this.data[this.pos++]);return a}skipSubBlocks(){for(;0!==this.data[this.pos];this.pos+=this.data[this.pos]+1);this.pos++}}function f(e,t){let a=[];for(let i=0;i<t;i++)a.push({r:e.data[e.pos],g:e.data[e.pos+1],b:e.data[e.pos+2]}),e.pos+=3;return a}function c(e,t,a){let i=t>>>3,o=7&t;return(e[i]+(e[i+1]<<8)+(e[i+2]<<16)&(1<<a)-1<<o)>>>o}async function p(e,t,a,i,o,n,r){let l=t.frames[i(!0)];l.left=e.nextTwoBytes(),l.top=e.nextTwoBytes(),l.width=e.nextTwoBytes(),l.height=e.nextTwoBytes();let s=e.nextByte(),d=(128&s)==128;l.sortFlag=(32&s)==32,l.reserved=(24&s)>>>3,d&&(l.localColorTable=f(e,1<<(7&s)+1));let p=e=>{let{r:i,g:n,b:r}=(d?l.localColorTable:t.globalColorTable)[e];return e!==o(null)?{r:i,g:n,b:r,a:255}:{r:i,g:n,b:r,a:a?Math.trunc((i+n+r)/3):0}},m=(()=>{try{return new ImageData(l.width,l.height,n)}catch(e){if(e instanceof DOMException&&"IndexSizeError"===e.name)return null;throw e}})();if(null==m)throw EvalError("GIF frame size is to large");let u=e.nextByte(),w=e.readSubBlocksBin(),x=1<<u;if((64&s)==64){for(let a=0,o=u+1,n=0,s=[[0]],d=0;d<4;d++){if(h[d]<l.height){let e=0,t=0,i=!1;for(;!i;){let r=a;if(a=c(w,n,o),n+=o+1,a===x){o=u+1,s.length=x+2;for(let e=0;e<s.length;e++)s[e]=e<x?[e]:[]}else{for(let i of(a>=s.length?s.push(s[r].concat(s[r][0])):r!==x&&s.push(s[r].concat(s[a][0])),s[a])){let{r:a,g:o,b:n,a:r}=p(i);m.data.set([a,o,n,r],h[d]*l.width+g[d]*t+e%(4*l.width)),e+=4}s.length===1<<o&&o<12&&o++}e===4*l.width*(t+1)&&(t++,h[d]+g[d]*t>=l.height&&(i=!0))}}r?.(e.pos/(e.data.length-1),i(!1)+1,m,{x:l.left,y:l.top},{width:t.width,height:t.height})}l.image=m,l.bitmap=await createImageBitmap(m)}else{let a=0,o=u+1,n=0,s=-4,h=[[0]];for(;;){let e=a;if(a=c(w,n,o),n+=o,a===x){o=u+1,h.length=x+2;for(let e=0;e<h.length;e++)h[e]=e<x?[e]:[]}else{if(a===x+1)break;for(let t of(a>=h.length?h.push(h[e].concat(h[e][0])):e!==x&&h.push(h[e].concat(h[a][0])),h[a])){let{r:e,g:a,b:i,a:o}=p(t);s+=4,m.data.set([e,a,i,o],s)}h.length>=1<<o&&o<12&&o++}}l.image=m,l.bitmap=await createImageBitmap(m),r?.((e.pos+1)/e.data.length,i(!1)+1,l.image,{x:l.left,y:l.top},{width:t.width,height:t.height})}}async function m(e,t,a,i,o,n,l){switch(e.nextByte()){case r.EndOfFile:return!0;case r.Image:await p(e,t,a,i,o,n,l);break;case r.Extension:switch(e.nextByte()){case r.GraphicsControlExtension:{let a=t.frames[i(!1)];e.pos++;let n=e.nextByte();a.GCreserved=(224&n)>>>5,a.disposalMethod=(28&n)>>>2,a.userInputDelayFlag=(2&n)==2,a.delayTime=10*e.nextTwoBytes();let r=e.nextByte();(1&n)==1&&o(r),e.pos++;break}case r.ApplicationExtension:{e.pos++;let a={identifier:e.getString(8),authenticationCode:e.getString(3),data:e.readSubBlocksBin()};t.applicationExtensions.push(a);break}case r.CommentExtension:t.comments.push([i(!1),e.readSubBlocks()]);break;case r.PlainTextExtension:if(0===t.globalColorTable.length)throw EvalError("plain text extension without global color table");e.pos++,t.frames[i(!1)].plainTextData={left:e.nextTwoBytes(),top:e.nextTwoBytes(),width:e.nextTwoBytes(),height:e.nextTwoBytes(),charSize:{width:e.nextTwoBytes(),height:e.nextTwoBytes()},foregroundColor:e.nextByte(),backgroundColor:e.nextByte(),text:e.readSubBlocks()};break;default:e.skipSubBlocks()}break;default:throw EvalError("undefined block found")}return!1}async function u(e,t,a,i){i??=!1;let o=await fetch(e);if(!o.ok&&404===o.status)throw EvalError("file not found");let r=await o.arrayBuffer(),l={width:0,height:0,totalTime:0,colorRes:0,pixelAspectRatio:0,frames:[],sortFlag:!1,globalColorTable:[],backgroundImage:new ImageData(1,1,t),comments:[],applicationExtensions:[]},s=new d(new Uint8ClampedArray(r));if("GIF89a"!==s.getString(6))throw Error("not a supported GIF file");l.width=s.nextTwoBytes(),l.height=s.nextTwoBytes();let h=s.nextByte(),g=(128&h)==128;l.colorRes=(112&h)>>>4,l.sortFlag=(8&h)==8;let c=s.nextByte();l.pixelAspectRatio=s.nextByte(),0!==l.pixelAspectRatio&&(l.pixelAspectRatio=(l.pixelAspectRatio+15)/64),g&&(l.globalColorTable=f(s,1<<(7&h)+1));let p=(()=>{try{return new ImageData(l.width,l.height,t)}catch(e){if(e instanceof DOMException&&"IndexSizeError"===e.name)return null;throw e}})();if(null==p)throw Error("GIF frame size is to large");let{r:u,g:w,b:x}=l.globalColorTable[c];p.data.set(g?[u,w,x,255]:[0,0,0,0]);for(let e=4;e<p.data.length;e*=2)p.data.copyWithin(e,0,e);l.backgroundImage=p;let b=-1,y=!0,I=-1,C=e=>(e&&(y=!0),b),B=e=>(null!=e&&(I=e),I);try{do y&&(l.frames.push({left:0,top:0,width:0,height:0,disposalMethod:n.Replace,image:new ImageData(1,1,t),plainTextData:null,userInputDelayFlag:!1,delayTime:0,sortFlag:!1,localColorTable:[],reserved:0,GCreserved:0}),b++,I=-1,y=!1);while(!await m(s,l,i,C,B,t,a))for(let e of(l.frames.length--,l.frames)){if(e.userInputDelayFlag&&0===e.delayTime){l.totalTime=1/0;break}l.totalTime+=e.delayTime}return l}catch(e){if(e instanceof EvalError)throw Error(`error while parsing frame ${b.toString()} "${e.message}"`);throw e}}function w(e,t){let{context:a,radius:i,particle:o,delta:r}=e,l=o.image;if(!l?.gifData||!l.gif)return;let h=new OffscreenCanvas(l.gifData.width,l.gifData.height),g=h.getContext("2d",t);if(!g)throw Error("could not create offscreen canvas context");g.imageSmoothingQuality="low",g.imageSmoothingEnabled=!1,g.clearRect(s.boI.x,s.boI.y,h.width,h.height),o.gifLoopCount??=l.gifLoopCount??0;let d=o.gifFrame??0,f={x:-l.gifData.width*s.MXx,y:-l.gifData.height*s.MXx},c=l.gifData.frames[d];if(o.gifTime??=0,c.bitmap){switch(a.scale(i/l.gifData.width,i/l.gifData.height),c.disposalMethod){case n.UndefinedA:case n.UndefinedB:case n.UndefinedC:case n.UndefinedD:case n.Replace:g.drawImage(c.bitmap,c.left,c.top),a.drawImage(h,f.x,f.y),g.clearRect(s.boI.x,s.boI.y,h.width,h.height);break;case n.Combine:g.drawImage(c.bitmap,c.left,c.top),a.drawImage(h,f.x,f.y);break;case n.RestoreBackground:g.drawImage(c.bitmap,c.left,c.top),a.drawImage(h,f.x,f.y),g.clearRect(s.boI.x,s.boI.y,h.width,h.height),l.gifData.globalColorTable.length?g.putImageData(l.gifData.backgroundImage,f.x,f.y):g.putImageData(l.gifData.frames[0].image,f.x+c.left,f.y+c.top);break;case n.RestorePrevious:{let e=g.getImageData(s.boI.x,s.boI.y,h.width,h.height);g.drawImage(c.bitmap,c.left,c.top),a.drawImage(h,f.x,f.y),g.clearRect(s.boI.x,s.boI.y,h.width,h.height),g.putImageData(e,s.boI.x,s.boI.y)}}if(o.gifTime+=r.value,o.gifTime>c.delayTime){if(o.gifTime-=c.delayTime,++d>=l.gifData.frames.length){if(--o.gifLoopCount<=0)return;d=0,g.clearRect(s.boI.x,s.boI.y,h.width,h.height)}o.gifFrame=d}a.scale(l.gifData.width/i,l.gifData.height/i)}}async function x(e,t){if("gif"!==e.type)return void await (0,l.loadImage)(e);e.loading=!0;try{e.gifData=await u(e.source,t),e.gifLoopCount=function(e){for(let t of e.applicationExtensions)if(t.identifier+t.authenticationCode==="NETSCAPE2.0")return t.data[1]+(t.data[2]<<8);return NaN}(e.gifData),e.gifLoopCount||(e.gifLoopCount=1/0)}catch{e.error=!0}e.loading=!1}(i=n||(n={}))[i.Replace=0]="Replace",i[i.Combine=1]="Combine",i[i.RestoreBackground=2]="RestoreBackground",i[i.RestorePrevious=3]="RestorePrevious",i[i.UndefinedA=4]="UndefinedA",i[i.UndefinedB=5]="UndefinedB",i[i.UndefinedC=6]="UndefinedC",i[i.UndefinedD=7]="UndefinedD",(o=r||(r={}))[o.Extension=33]="Extension",o[o.ApplicationExtension=255]="ApplicationExtension",o[o.GraphicsControlExtension=249]="GraphicsControlExtension",o[o.PlainTextExtension=1]="PlainTextExtension",o[o.CommentExtension=254]="CommentExtension",o[o.Image=44]="Image",o[o.EndOfFile=59]="EndOfFile"},61(e,t,a){a.d(t,{ImageDrawer:()=>r});var i=a(2005),o=a(984),n=a(3574);class r{_engine;constructor(e){this._engine=e}draw(e){let{context:t,radius:a,particle:o,opacity:r}=e,l=o.image,s=l?.element;if(l){if(t.globalAlpha=r,l.gif&&l.gifData)(0,n.zS)(e,o.container.canvas.settings);else if(s){let e=l.ratio,o={x:-a,y:-a},n=a*i.gdl;t.drawImage(s,o.x,o.y,n,n/e)}t.globalAlpha=i.aZx}}getSidesCount(){return 12}async init(e){let t=e.actualOptions;if(!t.preload||!this._engine.loadImage)return;let a=[];for(let i of t.preload)a.push(this._engine.loadImage(e,i));await Promise.all(a)}loadShape(e){let{container:t}=e;if(!e.shape||!o.z.includes(e.shape))return;let a=e.shapeData;if(!a)return;let i=this._engine.getImages?.(t);i?.find(e=>e.name===a.name||e.source===a.src)||this.loadImageShape(t,a).then(()=>{this.loadShape(e)})}particleInit(e,t){if("image"!==t.shape&&"images"!==t.shape)return;let a=this._engine.getImages?.(e),n=t.shapeData;if(!n)return;let r=t.getFillColor(),l=a?.find(e=>e.name===n.name||e.source===n.src);if(!l)return;let s=n.replaceColor;l.loading?setTimeout(()=>{this.particleInit(e,t)}):(async()=>{let a;(a=l.svgData&&r?await (0,o.d)(l,n,r,t,e.hdr):{color:r,data:l,element:l.element,gif:l.gif,gifData:l.gifData,gifLoopCount:l.gifLoopCount,loaded:!0,ratio:n.width&&n.height?n.width/n.height:l.ratio??i.$xb,replaceColor:s,source:n.src}).ratio||(a.ratio=1);let h=n.fill??t.shapeFill,g=n.close??t.shapeClose;t.image=a,t.shapeFill=h,t.shapeClose=g})()}loadImageShape=async(e,t)=>{if(!this._engine.loadImage)throw Error("Image shape not initialized");await this._engine.loadImage(e,{gif:t.gif,name:t.name,replaceColor:t.replaceColor,src:t.src})}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[6107],{6107(e,t,i){i.d(t,{TiltUpdater:()=>l});var n,s,a=i(2005);(n=s||(s={})).clockwise="clockwise",n.counterClockwise="counter-clockwise",n.random="random";class o{decay;enable;speed;sync;constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(e){(0,a.kZJ)(e)||(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.speed&&(this.speed=(0,a.DT4)(e.speed)),void 0!==e.decay&&(this.decay=(0,a.DT4)(e.decay)),void 0!==e.sync&&(this.sync=e.sync))}}class c extends a.PVU{animation;direction;enable;constructor(){super(),this.animation=new o,this.direction=s.clockwise,this.enable=!1,this.value=0}load(e){super.load(e),(0,a.kZJ)(e)||(this.animation.load(e.animation),void 0!==e.direction&&(this.direction=e.direction),void 0!==e.enable&&(this.enable=e.enable))}}class l{container;constructor(e){this.container=e}getTransformValues(e){let t=e.tilt?.enable&&e.tilt;return{b:t?Math.cos(t.value)*t.cosDirection:void 0,c:t?Math.sin(t.value)*t.sinDirection:void 0}}init(e){let t=e.options.tilt;if(!t)return;e.tilt={enable:t.enable,value:(0,a.puj)((0,a.VGA)(t.value)),sinDirection:(0,a.G0i)()>=a.MXx?a.D_O:-a.D_O,cosDirection:(0,a.G0i)()>=a.MXx?a.D_O:-a.D_O,min:0,max:a.R1e};let i=t.direction;switch(i===s.random&&(i=Math.floor((0,a.G0i)()*a.gdl)>0?s.counterClockwise:s.clockwise),i){case s.counterClockwise:case"counterClockwise":e.tilt.status=a.H_P.decreasing;break;case s.clockwise:e.tilt.status=a.H_P.increasing}let n=e.options.tilt?.animation;n?.enable&&(e.tilt.decay=a.D_O-(0,a.VGA)(n.decay),e.tilt.velocity=(0,a.VGA)(n.speed)/360*this.container.retina.reduceFactor,n.sync||(e.tilt.velocity*=(0,a.G0i)()))}isEnabled(e){let t=e.options.tilt?.animation;return!e.destroyed&&!e.spawning&&!!t?.enable}loadOptions(e,...t){for(let i of(e.tilt??=new c,t))e.tilt.load(i?.tilt)}update(e,t){this.isEnabled(e)&&e.tilt&&(0,a.UC0)(e,e.tilt,!1,a.VKE.none,t)}}}}]);
|
package/6114.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[6114],{6114(e,t,i){var a;i.r(t),i.d(t,{EmitterClickMode:()=>a,EmitterShapeBase:()=>n,ensureEmittersPluginLoaded:()=>s,loadEmittersPlugin:()=>r});class n{fill;options;position;size;constructor(e,t,i,a){this.position=e,this.size=t,this.fill=i,this.options=a}resize(e,t){this.position=e,this.size=t}}async function r(e){e.checkVersion("4.0.0-alpha.26"),await e.register(async e=>{let[{ensureInteractivityPluginLoaded:t},{ShapeManager:a},{EmittersInstancesManager:n},{EmittersPlugin:r}]=await Promise.all([i.e(9204).then(i.bind(i,9204)),i.e(3455).then(i.bind(i,3455)),i.e(4159).then(i.bind(i,4159)),i.e(3356).then(i.bind(i,3356))]),s=new n(e);t(e),e.emitterShapeManager??=new a,e.addEmitterShapeGenerator??=(t,i)=>{e.emitterShapeManager?.addShapeGenerator(t,i)},e.addPlugin(new r(s)),e.addInteractor?.("externalEmitters",async e=>{let{EmittersInteractor:t}=await i.e(9023).then(i.bind(i,9023));return new t(s,e)})})}function s(e){if(!e.addEmitterShapeGenerator)throw Error("tsParticles Emitters Plugin is not loaded")}(a||(a={})).emitter="emitter"}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[6137],{6137(e,i,t){t.d(i,{ImagePreloaderPlugin:()=>l});var r=t(2005);class s{gif;height;name;replaceColor;src;width;constructor(){this.src="",this.gif=!1}load(e){(0,r.kZJ)(e)||(void 0!==e.gif&&(this.gif=e.gif),void 0!==e.height&&(this.height=e.height),void 0!==e.name&&(this.name=e.name),void 0!==e.replaceColor&&(this.replaceColor=e.replaceColor),void 0!==e.src&&(this.src=e.src),void 0!==e.width&&(this.width=e.width))}}class l{id="image-preloader";_engine;constructor(e){this._engine=e}async getPlugin(e){let{ImagePreloaderInstance:i}=await t.e(3539).then(t.bind(t,3539));return new i(this._engine,e)}loadOptions(e,i,t){if(!t?.preload)return;i.preload??=[];let r=i.preload;for(let e of t.preload){let i=r.find(i=>i.name===e.name||i.src===e.src);if(i)i.load(e);else{let i=new s;i.load(e),r.push(i)}}}needsPlugin(){return!0}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[6176],{6176(a,t,s){s.d(t,{AbsorbersPluginInstance:()=>e});var n=s(2005);class e{_container;_instancesManager;constructor(a,t){this._container=a,this._instancesManager=t,this._instancesManager.initContainer(a)}draw(a){for(let t of this._instancesManager.getArray(this._container))t.draw(a)}async init(){let a=this._container.actualOptions.absorbers,t=(0,n.wJ2)(a,async a=>{await this._instancesManager.addAbsorber(this._container,a)});(0,n.cyL)(t)?await Promise.all(t):await t}particleUpdate(a,t){for(let s of this._instancesManager.getArray(this._container))if(s.attract(a,t),a.destroyed)break}resize(){for(let a of this._instancesManager.getArray(this._container))a.resize()}stop(){this._instancesManager.clear(this._container)}}}}]);
|
package/6303.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[6303],{6303(
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[6303],{6303(a,i,s){async function t(a){a.checkVersion("4.0.0-alpha.26"),await a.register(async a=>{let{easingsFunctions:i}=await s.e(4384).then(s.bind(s,4384));for(let[s,t]of i)a.addEasing(s,t)})}s.r(i),s.d(i,{loadEasingCubicPlugin:()=>t})}}]);
|
package/632.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[632],{632(t,e,i){i.d(e,{CanvasMaskPluginInstance:()=>l});var a=i(9116),n=i(2005);class l{_container;constructor(t){this._container=t}async init(){let t=this._container,e=t.actualOptions.canvasMask;if(!e?.enable)return;let i={pixels:[],height:0,width:0},l=e.pixels.offset;if(e.image){let n=e.image.src;if(!n)return;i=await (0,a.M5)(n,l,t.canvas.settings)}else if(e.text){let o=e.text,r=(0,a.iO)(o,l,o.fill,t.canvas.settings);if((0,n.kZJ)(r))return;i=r}else if(e.element??e.selector){let o=e.element??(e.selector&&(0,n.T5G)().querySelector(e.selector));if(!o)return;let r=o.getContext("2d",t.canvas.settings);if(!r)return;i=(0,a.YL)(r,o,l)}!function(t,e,i,a,l,o){let{height:r,width:s}=e,c=r*s,h=function(t){for(let e=t.length-1;e>=0;e--){let i=Math.floor((0,n.G0i)()*e),a=t[e],l=t[i];l!==a&&void 0!==l&&void 0!==a&&(t[e]=l,t[i]=a)}return t}([...Array(c).keys()]),u=Math.min(c,t.actualOptions.particles.number.value),g=t.canvas.size,x=0,f={x:g.width*i.x/n.a56-s*a*n.MXx,y:g.height*i.y/n.a56-r*a*n.MXx};for(;x<u&&h.length;){let i=h.pop()??0,n={x:i%s,y:Math.floor(i/s)},r=e.pixels[n.y];if(!r)continue;let c=r[n.x];if(!c||!o(c))continue;let u={x:n.x*a+f.x,y:n.y*a+f.y},g={};l.color&&(g.color={value:c}),l.opacity&&(g.opacity={value:c.a}),t.particles.addParticle(u,g),x++}}(t,i,e.position,e.scale,e.override,e.pixels.filter)}}},9116(t,e,i){i.d(e,{V6:()=>n,YL:()=>l,M5:()=>o,iO:()=>r,Al:()=>s});var a=i(2005);function n(t,e,i){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(i.x,i.y),t.closePath()}function l(t,e,i,n=!0){let o=t.getImageData(a.boI.x,a.boI.y,e.width,e.height).data;n&&t.clearRect(a.boI.x,a.boI.y,e.width,e.height);let r=[];for(let t=0;t<o.length;t+=i){let n=t/i,l={x:n%e.width,y:Math.floor(n/e.width)};r[l.y]??=[];let s=r[l.y];s&&(s[l.x]={r:o[t+0]??a.Fli,g:o[t+1]??a.Fli,b:o[t+2]??a.Fli,a:(o[t+3]??a.aZx)/255})}return{pixels:r,width:Math.min(...r.map(t=>t.length)),height:r.length}}function o(t,e,i){let n=new Image;n.crossOrigin="Anonymous";let o=new Promise((t,o)=>{n.onerror=o,n.onload=()=>{let r=(0,a.T5G)().createElement("canvas");r.width=n.width,r.height=n.height;let s=r.getContext("2d",i);s?(s.drawImage(n,a.boI.x,a.boI.y,n.width,n.height,a.boI.x,a.boI.y,r.width,r.height),t(l(s,r,e))):o(Error("Could not get canvas context"))}});return n.src=t,o}function r(t,e,i,n){let o=(0,a.T5G)().createElement("canvas"),r=o.getContext("2d",n),{font:s,text:c,lines:h,color:u}=t;if(!c||!r)return;let g=c.split(h.separator),x=(0,a.EtT)(s.size)?`${s.size.toString()}px`:s.size,f=[],d=0,y=0;for(let t of g){r.font=`${s.style||""} ${s.variant||""} ${s.weight||""} ${x} ${s.family}`;let e=r.measureText(t),i={measure:e,text:t,height:e.actualBoundingBoxAscent+e.actualBoundingBoxDescent,width:e.width};d=Math.max(d||0,i.width),y+=i.height+h.spacing,f.push(i)}o.width=d,o.height=y;let p=0;for(let t of f)r.font=`${s.style||""} ${s.variant||""} ${s.weight||""} ${x} ${s.family}`,i?(r.fillStyle=u,r.fillText(t.text,a.boI.x,p+t.measure.actualBoundingBoxAscent)):(r.strokeStyle=u,r.strokeText(t.text,a.boI.x,p+t.measure.actualBoundingBoxAscent)),p+=t.height+h.spacing;return l(r,o,e)}async function s(t,e){try{await (0,a.T5G)().fonts.load(`${e??"400"} 36px '${t??"Verdana"}'`)}catch{}}}}]);
|
package/6326.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[6326],{6326(t,e,a){a.d(e,{ExportImagePluginInstance:()=>s});class s{_container;constructor(t){this._container=t}async export(t,e){let a={supported:!1};return"image"===t&&(a.supported=!0,a.blob=await this._exportImage(e)),a}_exportImage=async t=>{let e=this._container.canvas.element;if(e)return new Promise(a=>{e.toBlob(t=>{t?a(t):a(void 0)},t.type??"image/png",t.quality)})}}}}]);
|
package/6328.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_all=this.webpackChunk_tsparticles_all||[]).push([[6328],{6328(s,e,a){a.d(e,{easingsFunctions:()=>u});var t=a(2005);let u=new Map;u.set(t.mgy.easeInQuad,s=>s**2),u.set(t.mgy.easeOutQuad,s=>1-(1-s)**2),u.set(t.mgy.easeInOutQuad,s=>s<.5?2*s**2:1-(-2*s+2)**2/2)}}]);
|