UNPKG

20.8 kBJavaScriptView Raw
1/*!
2 * Author : Matteo Bruni
3 * MIT license: https://opensource.org/licenses/MIT
4 * Demo / Generator : https://particles.js.org/
5 * GitHub : https://www.github.com/matteobruni/tsparticles
6 * How to use? : Check the GitHub README
7 * v3.4.0
8 */
9/*
10 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
11 * This devtool is neither made for production nor for readable output files.
12 * It uses "eval()" calls to create a separate source file in the browser devtools.
13 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
14 * or disable the default devtool with "devtool: false".
15 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
16 */
17(function webpackUniversalModuleDefinition(root, factory) {
18 if(typeof exports === 'object' && typeof module === 'object')
19 module.exports = factory(require("@tsparticles/plugin-absorbers"), require("@tsparticles/updater-destroy"), require("@tsparticles/plugin-emitters"), require("@tsparticles/plugin-emitters-shape-circle"), require("@tsparticles/plugin-emitters-shape-square"), require("@tsparticles/interaction-external-trail"), require("@tsparticles/updater-roll"), require("@tsparticles/slim"), require("@tsparticles/shape-text"), require("@tsparticles/updater-tilt"), require("@tsparticles/updater-twinkle"), require("@tsparticles/updater-wobble"));
20 else if(typeof define === 'function' && define.amd)
21 define(["@tsparticles/plugin-absorbers", "@tsparticles/updater-destroy", "@tsparticles/plugin-emitters", "@tsparticles/plugin-emitters-shape-circle", "@tsparticles/plugin-emitters-shape-square", "@tsparticles/interaction-external-trail", "@tsparticles/updater-roll", "@tsparticles/slim", "@tsparticles/shape-text", "@tsparticles/updater-tilt", "@tsparticles/updater-twinkle", "@tsparticles/updater-wobble"], factory);
22 else {
23 var a = typeof exports === 'object' ? factory(require("@tsparticles/plugin-absorbers"), require("@tsparticles/updater-destroy"), require("@tsparticles/plugin-emitters"), require("@tsparticles/plugin-emitters-shape-circle"), require("@tsparticles/plugin-emitters-shape-square"), require("@tsparticles/interaction-external-trail"), require("@tsparticles/updater-roll"), require("@tsparticles/slim"), require("@tsparticles/shape-text"), require("@tsparticles/updater-tilt"), require("@tsparticles/updater-twinkle"), require("@tsparticles/updater-wobble")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"]);
24 for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
25 }
26})(this, (__WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_absorbers__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_destroy__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters_shape_circle__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters_shape_square__, __WEBPACK_EXTERNAL_MODULE__tsparticles_interaction_external_trail__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_roll__, __WEBPACK_EXTERNAL_MODULE__tsparticles_slim__, __WEBPACK_EXTERNAL_MODULE__tsparticles_shape_text__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_tilt__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_twinkle__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_wobble__) => {
27return /******/ (() => { // webpackBootstrap
28/******/ "use strict";
29/******/ var __webpack_modules__ = ({
30
31/***/ "./dist/browser/index.js":
32/*!*******************************!*\
33 !*** ./dist/browser/index.js ***!
34 \*******************************/
35/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
36
37eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadFull: () => (/* binding */ loadFull)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/plugin-absorbers */ \"@tsparticles/plugin-absorbers\");\n/* harmony import */ var _tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _tsparticles_updater_destroy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @tsparticles/updater-destroy */ \"@tsparticles/updater-destroy\");\n/* harmony import */ var _tsparticles_updater_destroy__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_destroy__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @tsparticles/plugin-emitters */ \"@tsparticles/plugin-emitters\");\n/* harmony import */ var _tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _tsparticles_plugin_emitters_shape_circle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @tsparticles/plugin-emitters-shape-circle */ \"@tsparticles/plugin-emitters-shape-circle\");\n/* harmony import */ var _tsparticles_plugin_emitters_shape_circle__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_emitters_shape_circle__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _tsparticles_plugin_emitters_shape_square__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @tsparticles/plugin-emitters-shape-square */ \"@tsparticles/plugin-emitters-shape-square\");\n/* harmony import */ var _tsparticles_plugin_emitters_shape_square__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_emitters_shape_square__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @tsparticles/interaction-external-trail */ \"@tsparticles/interaction-external-trail\");\n/* harmony import */ var _tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @tsparticles/updater-roll */ \"@tsparticles/updater-roll\");\n/* harmony import */ var _tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _tsparticles_slim__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @tsparticles/slim */ \"@tsparticles/slim\");\n/* harmony import */ var _tsparticles_slim__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_slim__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _tsparticles_shape_text__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @tsparticles/shape-text */ \"@tsparticles/shape-text\");\n/* harmony import */ var _tsparticles_shape_text__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_shape_text__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @tsparticles/updater-tilt */ \"@tsparticles/updater-tilt\");\n/* harmony import */ var _tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @tsparticles/updater-twinkle */ \"@tsparticles/updater-twinkle\");\n/* harmony import */ var _tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @tsparticles/updater-wobble */ \"@tsparticles/updater-wobble\");\n/* harmony import */ var _tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_11__);\n\n\n\n\n\n\n\n\n\n\n\n\nasync function loadFull(engine, refresh = true) {\n await (0,_tsparticles_updater_destroy__WEBPACK_IMPORTED_MODULE_1__.loadDestroyUpdater)(engine, false);\n await (0,_tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_6__.loadRollUpdater)(engine, false);\n await (0,_tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_9__.loadTiltUpdater)(engine, false);\n await (0,_tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_10__.loadTwinkleUpdater)(engine, false);\n await (0,_tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_11__.loadWobbleUpdater)(engine, false);\n await (0,_tsparticles_shape_text__WEBPACK_IMPORTED_MODULE_8__.loadTextShape)(engine, false);\n await (0,_tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_5__.loadExternalTrailInteraction)(engine, false);\n await (0,_tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_0__.loadAbsorbersPlugin)(engine, false);\n await (0,_tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2__.loadEmittersPlugin)(engine, false);\n await (0,_tsparticles_plugin_emitters_shape_circle__WEBPACK_IMPORTED_MODULE_3__.loadEmittersShapeCircle)(engine, false);\n await (0,_tsparticles_plugin_emitters_shape_square__WEBPACK_IMPORTED_MODULE_4__.loadEmittersShapeSquare)(engine, false);\n await (0,_tsparticles_slim__WEBPACK_IMPORTED_MODULE_7__.loadSlim)(engine, refresh);\n}\n\n//# sourceURL=webpack://tsparticles/./dist/browser/index.js?");
38
39/***/ }),
40
41/***/ "@tsparticles/interaction-external-trail":
42/*!*********************************************************************************************************************************************************************************************!*\
43 !*** external {"commonjs":"@tsparticles/interaction-external-trail","commonjs2":"@tsparticles/interaction-external-trail","amd":"@tsparticles/interaction-external-trail","root":"window"} ***!
44 \*********************************************************************************************************************************************************************************************/
45/***/ ((module) => {
46
47module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_interaction_external_trail__;
48
49/***/ }),
50
51/***/ "@tsparticles/plugin-absorbers":
52/*!***************************************************************************************************************************************************************!*\
53 !*** external {"commonjs":"@tsparticles/plugin-absorbers","commonjs2":"@tsparticles/plugin-absorbers","amd":"@tsparticles/plugin-absorbers","root":"window"} ***!
54 \***************************************************************************************************************************************************************/
55/***/ ((module) => {
56
57module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_absorbers__;
58
59/***/ }),
60
61/***/ "@tsparticles/plugin-emitters":
62/*!************************************************************************************************************************************************************!*\
63 !*** external {"commonjs":"@tsparticles/plugin-emitters","commonjs2":"@tsparticles/plugin-emitters","amd":"@tsparticles/plugin-emitters","root":"window"} ***!
64 \************************************************************************************************************************************************************/
65/***/ ((module) => {
66
67module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters__;
68
69/***/ }),
70
71/***/ "@tsparticles/plugin-emitters-shape-circle":
72/*!***************************************************************************************************************************************************************************************************!*\
73 !*** external {"commonjs":"@tsparticles/plugin-emitters-shape-circle","commonjs2":"@tsparticles/plugin-emitters-shape-circle","amd":"@tsparticles/plugin-emitters-shape-circle","root":"window"} ***!
74 \***************************************************************************************************************************************************************************************************/
75/***/ ((module) => {
76
77module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters_shape_circle__;
78
79/***/ }),
80
81/***/ "@tsparticles/plugin-emitters-shape-square":
82/*!***************************************************************************************************************************************************************************************************!*\
83 !*** external {"commonjs":"@tsparticles/plugin-emitters-shape-square","commonjs2":"@tsparticles/plugin-emitters-shape-square","amd":"@tsparticles/plugin-emitters-shape-square","root":"window"} ***!
84 \***************************************************************************************************************************************************************************************************/
85/***/ ((module) => {
86
87module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters_shape_square__;
88
89/***/ }),
90
91/***/ "@tsparticles/shape-text":
92/*!*********************************************************************************************************************************************!*\
93 !*** external {"commonjs":"@tsparticles/shape-text","commonjs2":"@tsparticles/shape-text","amd":"@tsparticles/shape-text","root":"window"} ***!
94 \*********************************************************************************************************************************************/
95/***/ ((module) => {
96
97module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_shape_text__;
98
99/***/ }),
100
101/***/ "@tsparticles/slim":
102/*!***************************************************************************************************************************!*\
103 !*** external {"commonjs":"@tsparticles/slim","commonjs2":"@tsparticles/slim","amd":"@tsparticles/slim","root":"window"} ***!
104 \***************************************************************************************************************************/
105/***/ ((module) => {
106
107module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_slim__;
108
109/***/ }),
110
111/***/ "@tsparticles/updater-destroy":
112/*!************************************************************************************************************************************************************!*\
113 !*** external {"commonjs":"@tsparticles/updater-destroy","commonjs2":"@tsparticles/updater-destroy","amd":"@tsparticles/updater-destroy","root":"window"} ***!
114 \************************************************************************************************************************************************************/
115/***/ ((module) => {
116
117module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_destroy__;
118
119/***/ }),
120
121/***/ "@tsparticles/updater-roll":
122/*!***************************************************************************************************************************************************!*\
123 !*** external {"commonjs":"@tsparticles/updater-roll","commonjs2":"@tsparticles/updater-roll","amd":"@tsparticles/updater-roll","root":"window"} ***!
124 \***************************************************************************************************************************************************/
125/***/ ((module) => {
126
127module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_roll__;
128
129/***/ }),
130
131/***/ "@tsparticles/updater-tilt":
132/*!***************************************************************************************************************************************************!*\
133 !*** external {"commonjs":"@tsparticles/updater-tilt","commonjs2":"@tsparticles/updater-tilt","amd":"@tsparticles/updater-tilt","root":"window"} ***!
134 \***************************************************************************************************************************************************/
135/***/ ((module) => {
136
137module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_tilt__;
138
139/***/ }),
140
141/***/ "@tsparticles/updater-twinkle":
142/*!************************************************************************************************************************************************************!*\
143 !*** external {"commonjs":"@tsparticles/updater-twinkle","commonjs2":"@tsparticles/updater-twinkle","amd":"@tsparticles/updater-twinkle","root":"window"} ***!
144 \************************************************************************************************************************************************************/
145/***/ ((module) => {
146
147module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_twinkle__;
148
149/***/ }),
150
151/***/ "@tsparticles/updater-wobble":
152/*!*********************************************************************************************************************************************************!*\
153 !*** external {"commonjs":"@tsparticles/updater-wobble","commonjs2":"@tsparticles/updater-wobble","amd":"@tsparticles/updater-wobble","root":"window"} ***!
154 \*********************************************************************************************************************************************************/
155/***/ ((module) => {
156
157module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_wobble__;
158
159/***/ })
160
161/******/ });
162/************************************************************************/
163/******/ // The module cache
164/******/ var __webpack_module_cache__ = {};
165/******/
166/******/ // The require function
167/******/ function __webpack_require__(moduleId) {
168/******/ // Check if module is in cache
169/******/ var cachedModule = __webpack_module_cache__[moduleId];
170/******/ if (cachedModule !== undefined) {
171/******/ return cachedModule.exports;
172/******/ }
173/******/ // Create a new module (and put it into the cache)
174/******/ var module = __webpack_module_cache__[moduleId] = {
175/******/ // no module.id needed
176/******/ // no module.loaded needed
177/******/ exports: {}
178/******/ };
179/******/
180/******/ // Execute the module function
181/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
182/******/
183/******/ // Return the exports of the module
184/******/ return module.exports;
185/******/ }
186/******/
187/************************************************************************/
188/******/ /* webpack/runtime/compat get default export */
189/******/ (() => {
190/******/ // getDefaultExport function for compatibility with non-harmony modules
191/******/ __webpack_require__.n = (module) => {
192/******/ var getter = module && module.__esModule ?
193/******/ () => (module['default']) :
194/******/ () => (module);
195/******/ __webpack_require__.d(getter, { a: getter });
196/******/ return getter;
197/******/ };
198/******/ })();
199/******/
200/******/ /* webpack/runtime/define property getters */
201/******/ (() => {
202/******/ // define getter functions for harmony exports
203/******/ __webpack_require__.d = (exports, definition) => {
204/******/ for(var key in definition) {
205/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
206/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
207/******/ }
208/******/ }
209/******/ };
210/******/ })();
211/******/
212/******/ /* webpack/runtime/hasOwnProperty shorthand */
213/******/ (() => {
214/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
215/******/ })();
216/******/
217/******/ /* webpack/runtime/make namespace object */
218/******/ (() => {
219/******/ // define __esModule on exports
220/******/ __webpack_require__.r = (exports) => {
221/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
222/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
223/******/ }
224/******/ Object.defineProperty(exports, '__esModule', { value: true });
225/******/ };
226/******/ })();
227/******/
228/************************************************************************/
229/******/
230/******/ // startup
231/******/ // Load entry module and return exports
232/******/ // This entry module can't be inlined because the eval devtool is used.
233/******/ var __webpack_exports__ = __webpack_require__("./dist/browser/index.js");
234/******/
235/******/ return __webpack_exports__;
236/******/ })()
237;
238});
\No newline at end of file