1 | "use strict";
|
2 | var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
3 | function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4 | return new (P || (P = Promise))(function (resolve, reject) {
|
5 | function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
6 | function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
7 | function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
8 | step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9 | });
|
10 | };
|
11 | Object.defineProperty(exports, "__esModule", { value: true });
|
12 | exports.loadSlim = void 0;
|
13 | const tsparticles_particles_js_1 = require("tsparticles-particles.js");
|
14 | const tsparticles_updater_angle_1 = require("tsparticles-updater-angle");
|
15 | const tsparticles_move_base_1 = require("tsparticles-move-base");
|
16 | const tsparticles_shape_circle_1 = require("tsparticles-shape-circle");
|
17 | const tsparticles_updater_color_1 = require("tsparticles-updater-color");
|
18 | const tsparticles_interaction_external_attract_1 = require("tsparticles-interaction-external-attract");
|
19 | const tsparticles_interaction_external_bounce_1 = require("tsparticles-interaction-external-bounce");
|
20 | const tsparticles_interaction_external_bubble_1 = require("tsparticles-interaction-external-bubble");
|
21 | const tsparticles_interaction_external_connect_1 = require("tsparticles-interaction-external-connect");
|
22 | const tsparticles_interaction_external_grab_1 = require("tsparticles-interaction-external-grab");
|
23 | const tsparticles_interaction_external_pause_1 = require("tsparticles-interaction-external-pause");
|
24 | const tsparticles_interaction_external_push_1 = require("tsparticles-interaction-external-push");
|
25 | const tsparticles_interaction_external_remove_1 = require("tsparticles-interaction-external-remove");
|
26 | const tsparticles_interaction_external_repulse_1 = require("tsparticles-interaction-external-repulse");
|
27 | const tsparticles_interaction_external_slow_1 = require("tsparticles-interaction-external-slow");
|
28 | const tsparticles_shape_image_1 = require("tsparticles-shape-image");
|
29 | const tsparticles_updater_life_1 = require("tsparticles-updater-life");
|
30 | const tsparticles_shape_line_1 = require("tsparticles-shape-line");
|
31 | const tsparticles_updater_opacity_1 = require("tsparticles-updater-opacity");
|
32 | const tsparticles_updater_out_modes_1 = require("tsparticles-updater-out-modes");
|
33 | const tsparticles_move_parallax_1 = require("tsparticles-move-parallax");
|
34 | const tsparticles_interaction_particles_attract_1 = require("tsparticles-interaction-particles-attract");
|
35 | const tsparticles_interaction_particles_collisions_1 = require("tsparticles-interaction-particles-collisions");
|
36 | const tsparticles_interaction_particles_links_1 = require("tsparticles-interaction-particles-links");
|
37 | const tsparticles_shape_polygon_1 = require("tsparticles-shape-polygon");
|
38 | const tsparticles_updater_size_1 = require("tsparticles-updater-size");
|
39 | const tsparticles_shape_square_1 = require("tsparticles-shape-square");
|
40 | const tsparticles_shape_star_1 = require("tsparticles-shape-star");
|
41 | const tsparticles_updater_stroke_color_1 = require("tsparticles-updater-stroke-color");
|
42 | const tsparticles_shape_text_1 = require("tsparticles-shape-text");
|
43 | function loadSlim(engine) {
|
44 | return __awaiter(this, void 0, void 0, function* () {
|
45 | yield (0, tsparticles_move_base_1.loadBaseMover)(engine);
|
46 | yield (0, tsparticles_move_parallax_1.loadParallaxMover)(engine);
|
47 | yield (0, tsparticles_interaction_external_attract_1.loadExternalAttractInteraction)(engine);
|
48 | yield (0, tsparticles_interaction_external_bounce_1.loadExternalBounceInteraction)(engine);
|
49 | yield (0, tsparticles_interaction_external_bubble_1.loadExternalBubbleInteraction)(engine);
|
50 | yield (0, tsparticles_interaction_external_connect_1.loadExternalConnectInteraction)(engine);
|
51 | yield (0, tsparticles_interaction_external_grab_1.loadExternalGrabInteraction)(engine);
|
52 | yield (0, tsparticles_interaction_external_pause_1.loadExternalPauseInteraction)(engine);
|
53 | yield (0, tsparticles_interaction_external_push_1.loadExternalPushInteraction)(engine);
|
54 | yield (0, tsparticles_interaction_external_remove_1.loadExternalRemoveInteraction)(engine);
|
55 | yield (0, tsparticles_interaction_external_repulse_1.loadExternalRepulseInteraction)(engine);
|
56 | yield (0, tsparticles_interaction_external_slow_1.loadExternalSlowInteraction)(engine);
|
57 | yield (0, tsparticles_interaction_particles_attract_1.loadParticlesAttractInteraction)(engine);
|
58 | yield (0, tsparticles_interaction_particles_collisions_1.loadParticlesCollisionsInteraction)(engine);
|
59 | yield (0, tsparticles_interaction_particles_links_1.loadParticlesLinksInteraction)(engine);
|
60 | yield (0, tsparticles_shape_circle_1.loadCircleShape)(engine);
|
61 | yield (0, tsparticles_shape_image_1.loadImageShape)(engine);
|
62 | yield (0, tsparticles_shape_line_1.loadLineShape)(engine);
|
63 | yield (0, tsparticles_shape_polygon_1.loadPolygonShape)(engine);
|
64 | yield (0, tsparticles_shape_square_1.loadSquareShape)(engine);
|
65 | yield (0, tsparticles_shape_star_1.loadStarShape)(engine);
|
66 | yield (0, tsparticles_shape_text_1.loadTextShape)(engine);
|
67 | yield (0, tsparticles_updater_life_1.loadLifeUpdater)(engine);
|
68 | yield (0, tsparticles_updater_opacity_1.loadOpacityUpdater)(engine);
|
69 | yield (0, tsparticles_updater_size_1.loadSizeUpdater)(engine);
|
70 | yield (0, tsparticles_updater_angle_1.loadAngleUpdater)(engine);
|
71 | yield (0, tsparticles_updater_color_1.loadColorUpdater)(engine);
|
72 | yield (0, tsparticles_updater_stroke_color_1.loadStrokeColorUpdater)(engine);
|
73 | yield (0, tsparticles_updater_out_modes_1.loadOutModesUpdater)(engine);
|
74 | yield (0, tsparticles_particles_js_1.initPjs)(engine);
|
75 | });
|
76 | }
|
77 | exports.loadSlim = loadSlim;
|