@tsparticles/preset-firefly 4.0.0-beta.12 → 4.0.0-beta.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/browser/browser.js +5 -0
  2. package/browser/bundle.js +4 -0
  3. package/browser/index.js +5 -7
  4. package/browser/index.lazy.js +21 -0
  5. package/cjs/browser.js +5 -0
  6. package/cjs/bundle.js +4 -0
  7. package/cjs/index.js +5 -7
  8. package/cjs/index.lazy.js +21 -0
  9. package/esm/browser.js +5 -0
  10. package/esm/bundle.js +4 -0
  11. package/esm/index.js +5 -7
  12. package/esm/index.lazy.js +21 -0
  13. package/package.json +13 -6
  14. package/report.html +4949 -94
  15. package/tsparticles.preset.firefly.bundle.js +7004 -967
  16. package/tsparticles.preset.firefly.bundle.min.js +1 -2
  17. package/tsparticles.preset.firefly.js +96 -377
  18. package/tsparticles.preset.firefly.min.js +1 -2
  19. package/types/browser.d.ts +1 -0
  20. package/types/index.lazy.d.ts +2 -0
  21. package/155.min.js +0 -1
  22. package/181.min.js +0 -1
  23. package/240.min.js +0 -1
  24. package/301.min.js +0 -1
  25. package/335.min.js +0 -1
  26. package/349.min.js +0 -1
  27. package/4.min.js +0 -1
  28. package/415.min.js +0 -1
  29. package/425.min.js +0 -1
  30. package/483.min.js +0 -1
  31. package/5.min.js +0 -1
  32. package/586.min.js +0 -1
  33. package/623.min.js +0 -1
  34. package/646.min.js +0 -1
  35. package/662.min.js +0 -1
  36. package/663.min.js +0 -1
  37. package/69.min.js +0 -1
  38. package/748.min.js +0 -1
  39. package/779.min.js +0 -1
  40. package/794.min.js +0 -1
  41. package/807.min.js +0 -1
  42. package/819.min.js +0 -1
  43. package/837.min.js +0 -1
  44. package/874.min.js +0 -1
  45. package/935.min.js +0 -1
  46. package/938.min.js +0 -1
  47. package/94.min.js +0 -1
  48. package/953.min.js +0 -1
  49. package/979.min.js +0 -1
  50. package/bundles_basic_dist_browser_index_js.js +0 -30
  51. package/dist_browser_options_js.js +0 -30
  52. package/engine_dist_browser_Core_Container_js.js +0 -100
  53. package/interactions_external_trail_dist_browser_TrailMaker_js.js +0 -130
  54. package/interactions_external_trail_dist_browser_index_js.js +0 -70
  55. package/plugins_colors_hex_dist_browser_HexColorManager_js.js +0 -30
  56. package/plugins_colors_hex_dist_browser_index_js.js +0 -30
  57. package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +0 -30
  58. package/plugins_colors_hsl_dist_browser_index_js.js +0 -30
  59. package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +0 -30
  60. package/plugins_colors_rgb_dist_browser_index_js.js +0 -30
  61. package/plugins_interactivity_dist_browser_InteractivityPluginInstance_js.js +0 -50
  62. package/plugins_interactivity_dist_browser_InteractivityPlugin_js.js +0 -70
  63. package/plugins_interactivity_dist_browser_index_js.js +0 -120
  64. package/plugins_move_dist_browser_MovePluginInstance_js.js +0 -40
  65. package/plugins_move_dist_browser_MovePlugin_js.js +0 -30
  66. package/plugins_move_dist_browser_index_js.js +0 -30
  67. package/shapes_circle_dist_browser_CircleDrawer_js.js +0 -40
  68. package/shapes_circle_dist_browser_index_js.js +0 -30
  69. package/updaters_life_dist_browser_LifeUpdater_js.js +0 -70
  70. package/updaters_life_dist_browser_index_js.js +0 -30
  71. package/updaters_opacity_dist_browser_OpacityUpdater_js.js +0 -30
  72. package/updaters_opacity_dist_browser_index_js.js +0 -30
  73. package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +0 -80
  74. package/updaters_outModes_dist_browser_index_js.js +0 -30
  75. package/updaters_paint_dist_browser_PaintUpdater_js.js +0 -30
  76. package/updaters_paint_dist_browser_index_js.js +0 -30
  77. package/updaters_size_dist_browser_SizeUpdater_js.js +0 -30
  78. package/updaters_size_dist_browser_index_js.js +0 -30
@@ -1,377 +1,96 @@
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
- * v4.0.0-beta.12
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/interaction-external-trail"), require("@tsparticles/updater-life"), require("@tsparticles/plugin-interactivity"), require("@tsparticles/basic"));
20
- else if(typeof define === 'function' && define.amd)
21
- define(["@tsparticles/interaction-external-trail", "@tsparticles/updater-life", "@tsparticles/plugin-interactivity", "@tsparticles/basic"], factory);
22
- else {
23
- var a = typeof exports === 'object' ? factory(require("@tsparticles/interaction-external-trail"), require("@tsparticles/updater-life"), require("@tsparticles/plugin-interactivity"), require("@tsparticles/basic")) : factory(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_interaction_external_trail__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_life__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_interactivity__, __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__) => {
27
- return /******/ (() => { // webpackBootstrap
28
- /******/ "use strict";
29
- /******/ var __webpack_modules__ = ({
30
-
31
- /***/ "@tsparticles/basic"
32
- /*!******************************************************************************************************************************!*\
33
- !*** external {"commonjs":"@tsparticles/basic","commonjs2":"@tsparticles/basic","amd":"@tsparticles/basic","root":"window"} ***!
34
- \******************************************************************************************************************************/
35
- (module) {
36
-
37
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__;
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
-
47
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_interaction_external_trail__;
48
-
49
- /***/ },
50
-
51
- /***/ "@tsparticles/plugin-interactivity"
52
- /*!***************************************************************************************************************************************************************************!*\
53
- !*** external {"commonjs":"@tsparticles/plugin-interactivity","commonjs2":"@tsparticles/plugin-interactivity","amd":"@tsparticles/plugin-interactivity","root":"window"} ***!
54
- \***************************************************************************************************************************************************************************/
55
- (module) {
56
-
57
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_interactivity__;
58
-
59
- /***/ },
60
-
61
- /***/ "@tsparticles/updater-life"
62
- /*!***************************************************************************************************************************************************!*\
63
- !*** external {"commonjs":"@tsparticles/updater-life","commonjs2":"@tsparticles/updater-life","amd":"@tsparticles/updater-life","root":"window"} ***!
64
- \***************************************************************************************************************************************************/
65
- (module) {
66
-
67
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_life__;
68
-
69
- /***/ },
70
-
71
- /***/ "./dist/browser/index.js"
72
- /*!*******************************!*\
73
- !*** ./dist/browser/index.js ***!
74
- \*******************************/
75
- (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
76
-
77
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadFireflyPreset: () => (/* binding */ loadFireflyPreset)\n/* harmony export */ });\nconst presetName = \"firefly\";\nasync function loadFireflyPreset(engine) {\n await engine.pluginManager.register(async (e)=>{\n const [{ loadBasic }, { loadInteractivityPlugin }, { loadLifeUpdater }, { loadExternalTrailInteraction }, { options }] = await Promise.all([\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/basic */ \"@tsparticles/basic\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-interactivity */ \"@tsparticles/plugin-interactivity\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-life */ \"@tsparticles/updater-life\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/interaction-external-trail */ \"@tsparticles/interaction-external-trail\", 19)),\n __webpack_require__.e(/*! import() */ \"dist_browser_options_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./options.js */ \"./dist/browser/options.js\"))\n ]);\n await Promise.all([\n loadBasic(e),\n loadLifeUpdater(e),\n (async ()=>{\n await loadInteractivityPlugin(e);\n await loadExternalTrailInteraction(e);\n })()\n ]);\n e.pluginManager.addPreset(presetName, options);\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-firefly/./dist/browser/index.js?\n}");
78
-
79
- /***/ }
80
-
81
- /******/ });
82
- /************************************************************************/
83
- /******/ // The module cache
84
- /******/ var __webpack_module_cache__ = {};
85
- /******/
86
- /******/ // The require function
87
- /******/ function __webpack_require__(moduleId) {
88
- /******/ // Check if module is in cache
89
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
90
- /******/ if (cachedModule !== undefined) {
91
- /******/ return cachedModule.exports;
92
- /******/ }
93
- /******/ // Create a new module (and put it into the cache)
94
- /******/ var module = __webpack_module_cache__[moduleId] = {
95
- /******/ // no module.id needed
96
- /******/ // no module.loaded needed
97
- /******/ exports: {}
98
- /******/ };
99
- /******/
100
- /******/ // Execute the module function
101
- /******/ if (!(moduleId in __webpack_modules__)) {
102
- /******/ delete __webpack_module_cache__[moduleId];
103
- /******/ var e = new Error("Cannot find module '" + moduleId + "'");
104
- /******/ e.code = 'MODULE_NOT_FOUND';
105
- /******/ throw e;
106
- /******/ }
107
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
108
- /******/
109
- /******/ // Return the exports of the module
110
- /******/ return module.exports;
111
- /******/ }
112
- /******/
113
- /******/ // expose the modules object (__webpack_modules__)
114
- /******/ __webpack_require__.m = __webpack_modules__;
115
- /******/
116
- /************************************************************************/
117
- /******/ /* webpack/runtime/create fake namespace object */
118
- /******/ (() => {
119
- /******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
120
- /******/ var leafPrototypes;
121
- /******/ // create a fake namespace object
122
- /******/ // mode & 1: value is a module id, require it
123
- /******/ // mode & 2: merge all properties of value into the ns
124
- /******/ // mode & 4: return value when already ns object
125
- /******/ // mode & 16: return value when it's Promise-like
126
- /******/ // mode & 8|1: behave like require
127
- /******/ __webpack_require__.t = function(value, mode) {
128
- /******/ if(mode & 1) value = this(value);
129
- /******/ if(mode & 8) return value;
130
- /******/ if(typeof value === 'object' && value) {
131
- /******/ if((mode & 4) && value.__esModule) return value;
132
- /******/ if((mode & 16) && typeof value.then === 'function') return value;
133
- /******/ }
134
- /******/ var ns = Object.create(null);
135
- /******/ __webpack_require__.r(ns);
136
- /******/ var def = {};
137
- /******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
138
- /******/ for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {
139
- /******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
140
- /******/ }
141
- /******/ def['default'] = () => (value);
142
- /******/ __webpack_require__.d(ns, def);
143
- /******/ return ns;
144
- /******/ };
145
- /******/ })();
146
- /******/
147
- /******/ /* webpack/runtime/define property getters */
148
- /******/ (() => {
149
- /******/ // define getter functions for harmony exports
150
- /******/ __webpack_require__.d = (exports, definition) => {
151
- /******/ for(var key in definition) {
152
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
153
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
154
- /******/ }
155
- /******/ }
156
- /******/ };
157
- /******/ })();
158
- /******/
159
- /******/ /* webpack/runtime/ensure chunk */
160
- /******/ (() => {
161
- /******/ __webpack_require__.f = {};
162
- /******/ // This file contains only the entry chunk.
163
- /******/ // The chunk loading function for additional chunks
164
- /******/ __webpack_require__.e = (chunkId) => {
165
- /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
166
- /******/ __webpack_require__.f[key](chunkId, promises);
167
- /******/ return promises;
168
- /******/ }, []));
169
- /******/ };
170
- /******/ })();
171
- /******/
172
- /******/ /* webpack/runtime/get javascript chunk filename */
173
- /******/ (() => {
174
- /******/ // This function allow to reference async chunks
175
- /******/ __webpack_require__.u = (chunkId) => {
176
- /******/ // return url for filenames based on template
177
- /******/ return "" + chunkId + ".js";
178
- /******/ };
179
- /******/ })();
180
- /******/
181
- /******/ /* webpack/runtime/global */
182
- /******/ (() => {
183
- /******/ __webpack_require__.g = (function() {
184
- /******/ if (typeof globalThis === 'object') return globalThis;
185
- /******/ try {
186
- /******/ return this || new Function('return this')();
187
- /******/ } catch (e) {
188
- /******/ if (typeof window === 'object') return window;
189
- /******/ }
190
- /******/ })();
191
- /******/ })();
192
- /******/
193
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
194
- /******/ (() => {
195
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
196
- /******/ })();
197
- /******/
198
- /******/ /* webpack/runtime/load script */
199
- /******/ (() => {
200
- /******/ var inProgress = {};
201
- /******/ var dataWebpackPrefix = "@tsparticles/preset-firefly:";
202
- /******/ // loadScript function to load a script via script tag
203
- /******/ __webpack_require__.l = (url, done, key, chunkId) => {
204
- /******/ if(inProgress[url]) { inProgress[url].push(done); return; }
205
- /******/ var script, needAttach;
206
- /******/ if(key !== undefined) {
207
- /******/ var scripts = document.getElementsByTagName("script");
208
- /******/ for(var i = 0; i < scripts.length; i++) {
209
- /******/ var s = scripts[i];
210
- /******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
211
- /******/ }
212
- /******/ }
213
- /******/ if(!script) {
214
- /******/ needAttach = true;
215
- /******/ script = document.createElement('script');
216
- /******/
217
- /******/ script.charset = 'utf-8';
218
- /******/ if (__webpack_require__.nc) {
219
- /******/ script.setAttribute("nonce", __webpack_require__.nc);
220
- /******/ }
221
- /******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
222
- /******/
223
- /******/ script.src = url;
224
- /******/ }
225
- /******/ inProgress[url] = [done];
226
- /******/ var onScriptComplete = (prev, event) => {
227
- /******/ // avoid mem leaks in IE.
228
- /******/ script.onerror = script.onload = null;
229
- /******/ clearTimeout(timeout);
230
- /******/ var doneFns = inProgress[url];
231
- /******/ delete inProgress[url];
232
- /******/ script.parentNode && script.parentNode.removeChild(script);
233
- /******/ doneFns && doneFns.forEach((fn) => (fn(event)));
234
- /******/ if(prev) return prev(event);
235
- /******/ }
236
- /******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
237
- /******/ script.onerror = onScriptComplete.bind(null, script.onerror);
238
- /******/ script.onload = onScriptComplete.bind(null, script.onload);
239
- /******/ needAttach && document.head.appendChild(script);
240
- /******/ };
241
- /******/ })();
242
- /******/
243
- /******/ /* webpack/runtime/make namespace object */
244
- /******/ (() => {
245
- /******/ // define __esModule on exports
246
- /******/ __webpack_require__.r = (exports) => {
247
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
248
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
249
- /******/ }
250
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
251
- /******/ };
252
- /******/ })();
253
- /******/
254
- /******/ /* webpack/runtime/publicPath */
255
- /******/ (() => {
256
- /******/ var scriptUrl;
257
- /******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
258
- /******/ var document = __webpack_require__.g.document;
259
- /******/ if (!scriptUrl && document) {
260
- /******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
261
- /******/ scriptUrl = document.currentScript.src;
262
- /******/ if (!scriptUrl) {
263
- /******/ var scripts = document.getElementsByTagName("script");
264
- /******/ if(scripts.length) {
265
- /******/ var i = scripts.length - 1;
266
- /******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;
267
- /******/ }
268
- /******/ }
269
- /******/ }
270
- /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
271
- /******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
272
- /******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
273
- /******/ scriptUrl = scriptUrl.replace(/^blob:/, "").replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
274
- /******/ __webpack_require__.p = scriptUrl;
275
- /******/ })();
276
- /******/
277
- /******/ /* webpack/runtime/jsonp chunk loading */
278
- /******/ (() => {
279
- /******/ // no baseURI
280
- /******/
281
- /******/ // object to store loaded and loading chunks
282
- /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
283
- /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
284
- /******/ var installedChunks = {
285
- /******/ "tsparticles.preset.firefly": 0
286
- /******/ };
287
- /******/
288
- /******/ __webpack_require__.f.j = (chunkId, promises) => {
289
- /******/ // JSONP chunk loading for javascript
290
- /******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
291
- /******/ if(installedChunkData !== 0) { // 0 means "already installed".
292
- /******/
293
- /******/ // a Promise means "currently loading".
294
- /******/ if(installedChunkData) {
295
- /******/ promises.push(installedChunkData[2]);
296
- /******/ } else {
297
- /******/ if(true) { // all chunks have JS
298
- /******/ // setup Promise in chunk cache
299
- /******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
300
- /******/ promises.push(installedChunkData[2] = promise);
301
- /******/
302
- /******/ // start chunk loading
303
- /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
304
- /******/ // create error before stack unwound to get useful stacktrace later
305
- /******/ var error = new Error();
306
- /******/ var loadingEnded = (event) => {
307
- /******/ if(__webpack_require__.o(installedChunks, chunkId)) {
308
- /******/ installedChunkData = installedChunks[chunkId];
309
- /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
310
- /******/ if(installedChunkData) {
311
- /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
312
- /******/ var realSrc = event && event.target && event.target.src;
313
- /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
314
- /******/ error.name = 'ChunkLoadError';
315
- /******/ error.type = errorType;
316
- /******/ error.request = realSrc;
317
- /******/ installedChunkData[1](error);
318
- /******/ }
319
- /******/ }
320
- /******/ };
321
- /******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
322
- /******/ }
323
- /******/ }
324
- /******/ }
325
- /******/ };
326
- /******/
327
- /******/ // no prefetching
328
- /******/
329
- /******/ // no preloaded
330
- /******/
331
- /******/ // no HMR
332
- /******/
333
- /******/ // no HMR manifest
334
- /******/
335
- /******/ // no on chunks loaded
336
- /******/
337
- /******/ // install a JSONP callback for chunk loading
338
- /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
339
- /******/ var [chunkIds, moreModules, runtime] = data;
340
- /******/ // add "moreModules" to the modules object,
341
- /******/ // then flag all "chunkIds" as loaded and fire callback
342
- /******/ var moduleId, chunkId, i = 0;
343
- /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
344
- /******/ for(moduleId in moreModules) {
345
- /******/ if(__webpack_require__.o(moreModules, moduleId)) {
346
- /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
347
- /******/ }
348
- /******/ }
349
- /******/ if(runtime) var result = runtime(__webpack_require__);
350
- /******/ }
351
- /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
352
- /******/ for(;i < chunkIds.length; i++) {
353
- /******/ chunkId = chunkIds[i];
354
- /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
355
- /******/ installedChunks[chunkId][0]();
356
- /******/ }
357
- /******/ installedChunks[chunkId] = 0;
358
- /******/ }
359
- /******/
360
- /******/ }
361
- /******/
362
- /******/ var chunkLoadingGlobal = this["webpackChunk_tsparticles_preset_firefly"] = this["webpackChunk_tsparticles_preset_firefly"] || [];
363
- /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
364
- /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
365
- /******/ })();
366
- /******/
367
- /************************************************************************/
368
- /******/
369
- /******/ // startup
370
- /******/ // Load entry module and return exports
371
- /******/ // This entry module can't be inlined because the eval devtool is used.
372
- /******/ var __webpack_exports__ = __webpack_require__("./dist/browser/index.js");
373
- /******/
374
- /******/ return __webpack_exports__;
375
- /******/ })()
376
- ;
377
- });
1
+ (function(g){g.__tsParticlesInternals=g.__tsParticlesInternals||{};g.__tsParticlesInternals.bundles=g.__tsParticlesInternals.bundles||{};g.__tsParticlesInternals.effects=g.__tsParticlesInternals.effects||{};g.__tsParticlesInternals.engine=g.__tsParticlesInternals.engine||{};g.__tsParticlesInternals.interactions=g.__tsParticlesInternals.interactions||{};g.__tsParticlesInternals.palettes=g.__tsParticlesInternals.palettes||{};g.__tsParticlesInternals.paths=g.__tsParticlesInternals.paths||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins.emittersShapes=g.__tsParticlesInternals.plugins.emittersShapes||{};g.__tsParticlesInternals.presets=g.__tsParticlesInternals.presets||{};g.__tsParticlesInternals.shapes=g.__tsParticlesInternals.shapes||{};g.__tsParticlesInternals.updaters=g.__tsParticlesInternals.updaters||{};g.__tsParticlesInternals.utils=g.__tsParticlesInternals.utils||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas.utils=g.__tsParticlesInternals.canvas.utils||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path.utils=g.__tsParticlesInternals.path.utils||{};var __tsProxyFactory=typeof Proxy!=="undefined"?function(obj){return new Proxy(obj,{get:function(target,key){if(!(key in target)){target[key]={};}return target[key];}});}:function(obj){return obj;};g.__tsParticlesInternals.bundles=__tsProxyFactory(g.__tsParticlesInternals.bundles);g.__tsParticlesInternals.effects=__tsProxyFactory(g.__tsParticlesInternals.effects);g.__tsParticlesInternals.interactions=__tsProxyFactory(g.__tsParticlesInternals.interactions);g.__tsParticlesInternals.palettes=__tsProxyFactory(g.__tsParticlesInternals.palettes);g.__tsParticlesInternals.paths=__tsProxyFactory(g.__tsParticlesInternals.paths);g.__tsParticlesInternals.plugins=__tsProxyFactory(g.__tsParticlesInternals.plugins);g.__tsParticlesInternals.plugins.emittersShapes=__tsProxyFactory(g.__tsParticlesInternals.plugins.emittersShapes);g.__tsParticlesInternals.presets=__tsProxyFactory(g.__tsParticlesInternals.presets);g.__tsParticlesInternals.shapes=__tsProxyFactory(g.__tsParticlesInternals.shapes);g.__tsParticlesInternals.updaters=__tsProxyFactory(g.__tsParticlesInternals.updaters);g.__tsParticlesInternals.utils=__tsProxyFactory(g.__tsParticlesInternals.utils);g.__tsParticlesInternals.canvas=__tsProxyFactory(g.__tsParticlesInternals.canvas);g.__tsParticlesInternals.path=__tsProxyFactory(g.__tsParticlesInternals.path);g.tsparticlesInternalExports=g.tsparticlesInternalExports||{};})(typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:this);
2
+ /* Preset v4.0.0-beta.16 */
3
+ (function (global, factory) {
4
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tsparticles/basic'), require('@tsparticles/interaction-external-trail'), require('@tsparticles/plugin-interactivity'), require('@tsparticles/updater-life')) :
5
+ typeof define === 'function' && define.amd ? define(['exports', '@tsparticles/basic', '@tsparticles/interaction-external-trail', '@tsparticles/plugin-interactivity', '@tsparticles/updater-life'], factory) :
6
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.__tsParticlesInternals = global.__tsParticlesInternals || {}, global.__tsParticlesInternals.presets = global.__tsParticlesInternals.presets || {}, global.__tsParticlesInternals.presets.firefly = global.__tsParticlesInternals.presets.firefly || {}), global.__tsParticlesInternals.bundles.basic, global.__tsParticlesInternals.interactions.externalTrail, global.__tsParticlesInternals.plugins.interactivity, global.__tsParticlesInternals.updaters.life));
7
+ })(this, (function (exports, basic, interactionExternalTrail, pluginInteractivity, updaterLife) { 'use strict';
8
+
9
+ const options = {
10
+ fullScreen: {
11
+ enable: true,
12
+ zIndex: -1,
13
+ },
14
+ fpsLimit: 120,
15
+ particles: {
16
+ number: {
17
+ value: 0,
18
+ },
19
+ paint: {
20
+ fill: {
21
+ color: {
22
+ value: "#fff",
23
+ },
24
+ enable: true,
25
+ },
26
+ },
27
+ life: {
28
+ duration: {
29
+ value: 5,
30
+ sync: false,
31
+ },
32
+ count: 1,
33
+ },
34
+ opacity: {
35
+ value: { min: 0.1, max: 1 },
36
+ animation: {
37
+ enable: true,
38
+ speed: 3,
39
+ },
40
+ },
41
+ size: {
42
+ value: {
43
+ min: 3,
44
+ max: 6,
45
+ },
46
+ },
47
+ move: {
48
+ enable: true,
49
+ speed: 3,
50
+ size: true,
51
+ },
52
+ },
53
+ interactivity: {
54
+ events: {
55
+ onHover: {
56
+ enable: true,
57
+ mode: "trail",
58
+ },
59
+ },
60
+ modes: {
61
+ trail: {
62
+ delay: 0.5,
63
+ pauseOnStop: true,
64
+ quantity: 4,
65
+ },
66
+ },
67
+ },
68
+ background: {
69
+ color: "#000",
70
+ },
71
+ };
72
+
73
+ const presetName = "firefly";
74
+ async function loadFireflyPreset(engine) {
75
+ await engine.pluginManager.register(async (e) => {
76
+ await Promise.all([
77
+ basic.loadBasic(e),
78
+ updaterLife.loadLifeUpdater(e),
79
+ (async () => {
80
+ await pluginInteractivity.loadInteractivityPlugin(e);
81
+ await interactionExternalTrail.loadExternalTrailInteraction(e);
82
+ })(),
83
+ ]);
84
+ e.pluginManager.addPreset(presetName, options);
85
+ });
86
+ }
87
+
88
+ const globalObject = globalThis;
89
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
90
+ globalObject.loadFireflyPreset = loadFireflyPreset;
91
+
92
+ exports.loadFireflyPreset = loadFireflyPreset;
93
+
94
+ }));
95
+ Object.assign(globalThis.window || globalThis, { loadFireflyPreset: (globalThis.__tsParticlesInternals.presets.firefly || {}).loadFireflyPreset });
96
+ delete (globalThis.window || globalThis).tsparticlesInternalExports;
@@ -1,2 +1 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/interaction-external-trail"),require("@tsparticles/updater-life"),require("@tsparticles/plugin-interactivity"),require("@tsparticles/basic"));else if("function"==typeof define&&define.amd)define(["@tsparticles/interaction-external-trail","@tsparticles/updater-life","@tsparticles/plugin-interactivity","@tsparticles/basic"],t);else{var r="object"==typeof exports?t(require("@tsparticles/interaction-external-trail"),require("@tsparticles/updater-life"),require("@tsparticles/plugin-interactivity"),require("@tsparticles/basic")):t(e.window,e.window,e.window,e.window);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(this,(e,t,r,i)=>(()=>{"use strict";var o,a,n,s={145(e){e.exports=i},242(t){t.exports=e},702(e){e.exports=r},75(e){e.exports=t}},l={};function c(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}};return s[e](r,r.exports,c),r.exports}c.m=s,u=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var r=Object.create(null);c.r(r);var i={};p=p||[null,u({}),u([]),u(u)];for(var o=2&t&&e;("object"==typeof o||"function"==typeof o)&&!~p.indexOf(o);o=u(o))Object.getOwnPropertyNames(o).forEach(t=>i[t]=()=>e[t]);return i.default=()=>e,c.d(r,i),r},c.d=(e,t)=>{for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce((t,r)=>(c.f[r](e,t),t),[])),c.u=e=>""+e+".min.js",c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),f={},c.l=(e,t,r,i)=>{if(f[e])return void f[e].push(t);if(void 0!==r)for(var o,a,n=document.getElementsByTagName("script"),s=0;s<n.length;s++){var l=n[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")=="@tsparticles/preset-firefly:"+r){o=l;break}}o||(a=!0,(o=document.createElement("script")).charset="utf-8",c.nc&&o.setAttribute("nonce",c.nc),o.setAttribute("data-webpack","@tsparticles/preset-firefly:"+r),o.src=e),f[e]=[t];var p=(t,r)=>{o.onerror=o.onload=null,clearTimeout(u);var i=f[e];if(delete f[e],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach(e=>e(r)),t)return t(r)},u=setTimeout(p.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=p.bind(null,o.onerror),o.onload=p.bind(null,o.onload),a&&document.head.appendChild(o)},c.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.g.importScripts&&(d=c.g.location+"");var p,u,f,d,b=c.g.document;if(!d&&b&&(b.currentScript&&"SCRIPT"===b.currentScript.tagName.toUpperCase()&&(d=b.currentScript.src),!d)){var y=b.getElementsByTagName("script");if(y.length)for(var h=y.length-1;h>-1&&(!d||!/^http(s?):/.test(d));)d=y[h--].src}if(!d)throw Error("Automatic publicPath is not supported in this browser");c.p=d=d.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o={591:0},c.f.j=(e,t)=>{var r=c.o(o,e)?o[e]:void 0;if(0!==r)if(r)t.push(r[2]);else{var i=new Promise((t,i)=>r=o[e]=[t,i]);t.push(r[2]=i);var a=c.p+c.u(e),n=Error();c.l(a,t=>{if(c.o(o,e)&&(0!==(r=o[e])&&(o[e]=void 0),r)){var i=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;n.message="Loading chunk "+e+` failed.
2
- (`+i+": "+a+")",n.name="ChunkLoadError",n.type=i,n.request=a,r[1](n)}},"chunk-"+e,e)}},a=(e,t)=>{var r,i,[a,n,s]=t,l=0;if(a.some(e=>0!==o[e])){for(r in n)c.o(n,r)&&(c.m[r]=n[r]);s&&s(c)}for(e&&e(t);l<a.length;l++)i=a[l],c.o(o,i)&&o[i]&&o[i][0](),o[i]=0},(n=this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).forEach(a.bind(null,0)),n.push=a.bind(null,n.push.bind(n));var g={};async function m(e){await e.pluginManager.register(async e=>{let[{loadBasic:t},{loadInteractivityPlugin:r},{loadLifeUpdater:i},{loadExternalTrailInteraction:o},{options:a}]=await Promise.all([Promise.resolve().then(c.t.bind(c,145,19)),Promise.resolve().then(c.t.bind(c,702,19)),Promise.resolve().then(c.t.bind(c,75,19)),Promise.resolve().then(c.t.bind(c,242,19)),c.e(837).then(c.bind(c,837))]);await Promise.all([t(e),i(e),(async()=>{await r(e),await o(e)})()]),e.pluginManager.addPreset("firefly",a)})}return c.r(g),c.d(g,{loadFireflyPreset:()=>m}),g})());
1
+ !function(t){t.__tsParticlesInternals=t.__tsParticlesInternals||{},t.__tsParticlesInternals.bundles=t.__tsParticlesInternals.bundles||{},t.__tsParticlesInternals.effects=t.__tsParticlesInternals.effects||{},t.__tsParticlesInternals.engine=t.__tsParticlesInternals.engine||{},t.__tsParticlesInternals.interactions=t.__tsParticlesInternals.interactions||{},t.__tsParticlesInternals.palettes=t.__tsParticlesInternals.palettes||{},t.__tsParticlesInternals.paths=t.__tsParticlesInternals.paths||{},t.__tsParticlesInternals.plugins=t.__tsParticlesInternals.plugins||{},t.__tsParticlesInternals.plugins=t.__tsParticlesInternals.plugins||{},t.__tsParticlesInternals.plugins.emittersShapes=t.__tsParticlesInternals.plugins.emittersShapes||{},t.__tsParticlesInternals.presets=t.__tsParticlesInternals.presets||{},t.__tsParticlesInternals.shapes=t.__tsParticlesInternals.shapes||{},t.__tsParticlesInternals.updaters=t.__tsParticlesInternals.updaters||{},t.__tsParticlesInternals.utils=t.__tsParticlesInternals.utils||{},t.__tsParticlesInternals.canvas=t.__tsParticlesInternals.canvas||{},t.__tsParticlesInternals.canvas=t.__tsParticlesInternals.canvas||{},t.__tsParticlesInternals.canvas.utils=t.__tsParticlesInternals.canvas.utils||{},t.__tsParticlesInternals.path=t.__tsParticlesInternals.path||{},t.__tsParticlesInternals.path=t.__tsParticlesInternals.path||{},t.__tsParticlesInternals.path.utils=t.__tsParticlesInternals.path.utils||{};var s="undefined"!=typeof Proxy?function(t){return new Proxy(t,{get:function(t,s){return s in t||(t[s]={}),t[s]}})}:function(t){return t};t.__tsParticlesInternals.bundles=s(t.__tsParticlesInternals.bundles),t.__tsParticlesInternals.effects=s(t.__tsParticlesInternals.effects),t.__tsParticlesInternals.interactions=s(t.__tsParticlesInternals.interactions),t.__tsParticlesInternals.palettes=s(t.__tsParticlesInternals.palettes),t.__tsParticlesInternals.paths=s(t.__tsParticlesInternals.paths),t.__tsParticlesInternals.plugins=s(t.__tsParticlesInternals.plugins),t.__tsParticlesInternals.plugins.emittersShapes=s(t.__tsParticlesInternals.plugins.emittersShapes),t.__tsParticlesInternals.presets=s(t.__tsParticlesInternals.presets),t.__tsParticlesInternals.shapes=s(t.__tsParticlesInternals.shapes),t.__tsParticlesInternals.updaters=s(t.__tsParticlesInternals.updaters),t.__tsParticlesInternals.utils=s(t.__tsParticlesInternals.utils),t.__tsParticlesInternals.canvas=s(t.__tsParticlesInternals.canvas),t.__tsParticlesInternals.path=s(t.__tsParticlesInternals.path),t.tsparticlesInternalExports=t.tsparticlesInternalExports||{}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:this),function(t,s){"object"==typeof exports&&"undefined"!=typeof module?s(exports,require("@tsparticles/basic"),require("@tsparticles/interaction-external-trail"),require("@tsparticles/plugin-interactivity"),require("@tsparticles/updater-life")):"function"==typeof define&&define.amd?define(["exports","@tsparticles/basic","@tsparticles/interaction-external-trail","@tsparticles/plugin-interactivity","@tsparticles/updater-life"],s):s(((t="undefined"!=typeof globalThis?globalThis:t||self).__tsParticlesInternals=t.__tsParticlesInternals||{},t.__tsParticlesInternals.presets=t.__tsParticlesInternals.presets||{},t.__tsParticlesInternals.presets.firefly=t.__tsParticlesInternals.presets.firefly||{}),t.__tsParticlesInternals.bundles.basic,t.__tsParticlesInternals.interactions.externalTrail,t.__tsParticlesInternals.plugins.interactivity,t.__tsParticlesInternals.updaters.life)}(this,function(t,s,e,a,n){"use strict";const l={fullScreen:{enable:!0,zIndex:-1},fpsLimit:120,particles:{number:{value:0},paint:{fill:{color:{value:"#fff"},enable:!0}},life:{duration:{value:5,sync:!1},count:1},opacity:{value:{min:.1,max:1},animation:{enable:!0,speed:3}},size:{value:{min:3,max:6}},move:{enable:!0,speed:3,size:!0}},interactivity:{events:{onHover:{enable:!0,mode:"trail"}},modes:{trail:{delay:.5,pauseOnStop:!0,quantity:4}}},background:{color:"#000"}};async function r(t){await t.pluginManager.register(async t=>{await Promise.all([s.loadBasic(t),n.loadLifeUpdater(t),(async()=>{await a.loadInteractivityPlugin(t),await e.loadExternalTrailInteraction(t)})()]),t.pluginManager.addPreset("firefly",l)})}const i=globalThis;i.__tsParticlesInternals=i.__tsParticlesInternals??{},i.loadFireflyPreset=r,t.loadFireflyPreset=r}),Object.assign(globalThis.window||globalThis,{loadFireflyPreset:(globalThis.__tsParticlesInternals.presets.firefly||{}).loadFireflyPreset}),delete(globalThis.window||globalThis).tsparticlesInternalExports;
@@ -0,0 +1 @@
1
+ export * from "./index.js";
@@ -0,0 +1,2 @@
1
+ import { type Engine } from "@tsparticles/engine/lazy";
2
+ export declare function loadFireflyPreset(engine: Engine): Promise<void>;
package/155.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[155],{7155(t,i,a){a.d(i,{OpacityUpdater:()=>e});var o=a(7279);class e{container;constructor(t){this.container=t}init(t){let i=t.options.opacity;t.opacity=(0,o.XsS)(i,1);let a=i.animation;a.enable&&(t.opacity.velocity=(0,o.VGA)(a.speed)/o.a56*this.container.retina.reduceFactor,a.sync||(t.opacity.velocity*=(0,o.G0i)()))}isEnabled(t){return!t.destroyed&&!t.spawning&&!!t.opacity&&t.opacity.enable&&((t.opacity.maxLoops??0)<=0||(t.opacity.maxLoops??0)>0&&(t.opacity.loops??0)<(t.opacity.maxLoops??0))}reset(t){t.opacity&&(t.opacity.time=0,t.opacity.loops=0)}update(t,i){this.isEnabled(t)&&t.opacity&&(0,o.UC0)(t,t.opacity,!0,t.options.opacity.animation.destroy,i)}}}}]);
package/181.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[181],{2181(i,e,l){l.d(e,{PaintUpdater:()=>o});var t=l(7279);class o{_container;_pluginManager;constructor(i,e){this._container=e,this._pluginManager=i}init(i){let e=this._container,l=i.options,o=(0,t.TA3)(l.paint,i.id,l.reduceDuplicates),a=o?.fill,n=o?.stroke;if(a){i.fillEnabled=a.enable,i.fillOpacity=(0,t.VGA)(a.opacity),i.fillAnimation=a.color.animation;let l=(0,t.R5R)(this._pluginManager,a.color);l&&(i.fillColor=(0,t.pzy)(l,i.fillAnimation,e.retina.reduceFactor))}else i.fillEnabled=!1,i.fillAnimation=void 0,i.fillColor=void 0,i.fillOpacity=1;if(n){i.strokeWidth=(0,t.VGA)(n.width)*e.retina.pixelRatio,i.strokeOpacity=(0,t.VGA)(n.opacity??1),i.strokeAnimation=n.color?.animation;let l=(0,t.R5R)(this._pluginManager,n.color)??i.getFillColor();l&&(i.strokeColor=(0,t.pzy)(l,i.strokeAnimation,e.retina.reduceFactor))}else i.strokeAnimation=void 0,i.strokeColor=void 0,i.strokeOpacity=1,i.strokeWidth=0}isEnabled(i){let{fillAnimation:e,fillColor:l,strokeAnimation:t,strokeColor:o}=i,a=!!e&&(l?.h.value!==void 0&&l.h.enable||l?.s.value!==void 0&&l.s.enable||l?.l.value!==void 0&&l.l.enable),n=!!t&&(o?.h.value!==void 0&&o.h.enable||o?.s.value!==void 0&&o.s.enable||o?.l.value!==void 0&&o.l.enable);return!i.destroyed&&!i.spawning&&(a||n)}update(i,e){this.isEnabled(i)&&((0,t.JvX)(i.fillColor,e),(0,t.JvX)(i.strokeColor,e))}}}}]);
package/240.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[240],{240(e,t,a){async function i(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(e=>{e.pluginManager.addParticleUpdater("life",async e=>{let{LifeUpdater:t}=await a.e(335).then(a.bind(a,7335));return new t(e)})})}a.r(t),a.d(t,{loadLifeUpdater:()=>i})}}]);
package/301.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[301,586],{9301(e,t,i){i.d(t,{TrailMaker:()=>o});var n=i(7279),a=i(4586),r=i(165);let s="trail";class o extends a.ExternalInteractorBase{maxDistance=0;_delay;_lastPosition;_pluginManager;constructor(e,t){super(t),this._pluginManager=e,this._delay=0}clear(){}init(){}interact(e,t){let i=this.container;if(!i.retina.reduceFactor)return;let a=i.actualOptions,r=a.interactivity?.modes.trail;if(!r)return;let s=r.delay*n.XuV/this.container.retina.reduceFactor;if(this._delay<s&&(this._delay+=t.value),this._delay<s)return;let o=e.mouse.position,l=!(r.pauseOnStop&&(o===this._lastPosition||o?.x===this._lastPosition?.x&&o?.y===this._lastPosition?.y));if(o?this._lastPosition={...o}:delete this._lastPosition,l&&o){let e=r.particles,t=r.colorCoords;if(t){let{width:a,height:s}=i.canvas.size,l={x:o.x/a,y:o.y/s},c=(e,t,i)=>{if(!(e?.weights?.x??e?.weights?.y))return;let a=e?.weights,r=l.x*(a?.x??0)+l.y*(a?.y??0),s=e?.value??t,o=(0,n.Sgh)(s??0),c=(0,n.W9e)(s??i);return Math.min(c,Math.max(o,o+r*(c-o)))},d=r.particles?.paint?(0,n.TA3)(r.particles.paint):void 0,h=d?.fill,u=h?(0,n.R5R)(this._pluginManager,n.A9e.create(void 0,h.color)):void 0,p=c(t.h,u?.h,n.vSh),v=c(t.s,u?.s,n.euA),y=c(t.l,u?.l,n.$_c);(void 0!==p||void 0!==v||void 0!==y)&&(e=(0,n.zwS)({},r.particles,{paint:{fill:{color:{value:{h:p??u?.h,s:v??u?.s,l:y??u?.l}}}}}))}i.particles.push(r.quantity,o,e)}this._delay-=s}isEnabled(e,t){let i=this.container.actualOptions,a=e.mouse,r=(t?.interactivity??i.interactivity)?.events;return!!r&&(a.clicking&&a.inside&&!!a.position&&(0,n.hnD)(s,r.onClick.mode)||a.inside&&!!a.position&&(0,n.hnD)(s,r.onHover.mode))}loadModeOptions(e,...t){for(let i of(e.trail??=new r.X,t))e.trail.load(i?.trail)}reset(){}}},9757(e,t,i){var n,a;i.d(t,{Q:()=>n}),(a=n||(n={})).circle="circle",a.rectangle="rectangle"},6210(e,t,i){var n,a;i.d(t,{h:()=>n}),(a=n||(n={})).canvas="canvas",a.parent="parent",a.window="window"},6115(e,t,i){var n,a;i.d(t,{e:()=>n}),(a=n||(n={})).external="external",a.particles="particles"},3383(e,t,i){i.d(t,{Bp:()=>c,DG:()=>d,G3:()=>h,Rb:()=>o,Z0:()=>s,ms:()=>a,s7:()=>l,vo:()=>r,xO:()=>n});let n="click",a="pointerdown",r="pointerup",s="pointerleave",o="pointermove",l="touchstart",c="touchend",d="touchmove",h="touchcancel"},7226(e,t,i){i.d(t,{G:()=>r});var n=i(7279),a=i(9757);class r{enable;mode;selectors;type;constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=a.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))}}},5070(e,t,i){i.d(t,{d:()=>a});var n=i(7279);class a{_container;_pluginManager;constructor(e,t){this._pluginManager=e,this._container=t}load(e){if((0,n.kZJ)(e)||!this._container)return;let t=this._pluginManager.interactors?.get(this._container);if(t)for(let i of t)i.loadModeOptions&&i.loadModeOptions(this,e)}}},4586(e,t,i){i.r(t),i.d(t,{DivEvent:()=>v.G,DivType:()=>l.Q,ExternalInteractorBase:()=>r,InteractivityDetect:()=>c.h,InteractorType:()=>a.e,Modes:()=>y.d,ParticlesInteractorBase:()=>s,clickEvent:()=>o.xO,divMode:()=>p,divModeExecute:()=>h,ensureInteractivityPluginLoaded:()=>f,isDivModeEnabled:()=>d,loadInteractivityPlugin:()=>g,mouseDownEvent:()=>o.ms,mouseLeaveEvent:()=>o.Z0,mouseMoveEvent:()=>o.Rb,mouseUpEvent:()=>o.vo,singleDivModeExecute:()=>u,touchCancelEvent:()=>o.G3,touchEndEvent:()=>o.Bp,touchMoveEvent:()=>o.DG,touchStartEvent:()=>o.s7});var n=i(7279),a=i(6115);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=i(3383),l=i(9757),c=i(6210);function d(e,t){return!!(0,n.w3Z)(t,t=>t.enable&&(0,n.hnD)(e,t.mode))}function h(e,t,i){(0,n.wJ2)(t,t=>{let a=t.mode;t.enable&&(0,n.hnD)(e,a)&&u(t,i)})}function u(e,t){let i=e.selectors;(0,n.wJ2)(i,i=>{t(i,e)})}function p(e,t){if(t&&e)return(0,n.w3Z)(e,e=>{var i;let a;return i=e.selectors,a=(0,n.wJ2)(i,e=>t.matches(e)),(0,n.cyL)(a)?a.some(e=>e):a})}var v=i(7226),y=i(5070);async function g(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(async e=>{let t=e.pluginManager,{InteractivityPlugin:a}=await i.e(779).then(i.bind(i,779));t.addPlugin(new a(t)),t.initializers.interactors??=new Map,t.interactors??=new Map,t.addInteractor=(e,i)=>{t.initializers.interactors??=new Map,t.initializers.interactors.set(e,i)},t.getInteractors=async(e,i=!1)=>(t.interactors??=new Map,t.initializers.interactors??=new Map,(0,n.HQK)(e,t.interactors,t.initializers.interactors,i)),t.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 f(e){if(!e.pluginManager.addInteractor)throw Error("tsParticles Interactivity Plugin is not loaded")}}}]);
package/335.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[335],{7335(e,i,t){t.d(i,{LifeUpdater:()=>l});var n=t(7279);class a extends n.PVU{sync;constructor(){super(),this.sync=!1}load(e){(0,n.kZJ)(e)||(super.load(e),void 0!==e.sync&&(this.sync=e.sync))}}class s extends n.PVU{sync;constructor(){super(),this.sync=!1}load(e){(0,n.kZJ)(e)||(super.load(e),void 0!==e.sync&&(this.sync=e.sync))}}class o{count;delay;duration;constructor(){this.count=0,this.delay=new a,this.duration=new s}load(e){(0,n.kZJ)(e)||(void 0!==e.count&&(this.count=e.count),this.delay.load(e.delay),this.duration.load(e.duration))}}class l{container;constructor(e){this.container=e}init(e){let i=this.container,t=e.options.life;t&&(e.life={delay:i.retina.reduceFactor?(0,n.VGA)(t.delay.value)*(t.delay.sync?1:(0,n.G0i)())/i.retina.reduceFactor*n.XuV:0,delayTime:0,duration:i.retina.reduceFactor?(0,n.VGA)(t.duration.value)*(t.duration.sync?1:(0,n.G0i)())/i.retina.reduceFactor*n.XuV:0,time:0,count:t.count},e.life.duration<=0&&(e.life.duration=-1),e.life.count<=0&&(e.life.count=-1),e.spawning=e.life.delay>0)}isEnabled(e){return!e.destroyed}loadOptions(e,...i){for(let t of(e.life??=new o,i))e.life.load(t?.life)}update(e,i){this.isEnabled(e)&&e.life&&function(e,i,t){if(!e.life)return;let a=e.life,s=!1;if(e.spawning){if(a.delayTime+=i.value,!(a.delayTime>=e.life.delay))return;s=!0,e.spawning=!1,a.delayTime=0,a.time=0}if(-1===a.duration||(s?a.time=0:a.time+=i.value,a.time<a.duration))return;if(a.time=0,e.life.count>0&&e.life.count--,0===e.life.count)return e.destroy();let o=(0,n.DT4)(0,t.width),l=(0,n.DT4)(0,t.width);e.position.x=(0,n.vEz)(o),e.position.y=(0,n.vEz)(l),e.spawning=!0,a.delayTime=0,a.time=0,e.reset();let r=e.options.life;r&&(a.delay=(0,n.VGA)(r.delay.value)*n.XuV,a.duration=(0,n.VGA)(r.duration.value)*n.XuV)}(e,i,this.container.canvas.size)}}}}]);
package/349.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[349],{1349(e,t,a){async function i(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(e=>{e.pluginManager.addParticleUpdater("opacity",async e=>{let{OpacityUpdater:t}=await a.e(155).then(a.bind(a,7155));return new t(e)})})}a.r(t),a.d(t,{loadOpacityUpdater:()=>i})}}]);
package/4.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[4],{6623(e,i,s){s.d(i,{SizeUpdater:()=>a});var t=s(7279);class a{_container;constructor(e){this._container=e}init(e){let i=this._container,s=e.options.size.animation;s.enable&&(e.size.velocity=e.retina.sizeAnimationSpeed/t.a56*i.retina.reduceFactor,s.sync||(e.size.velocity*=(0,t.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.time=0,e.size.loops=0}update(e,i){this.isEnabled(e)&&(0,t.UC0)(e,e.size,!0,e.options.size.animation.destroy,i)}}}}]);
package/415.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[415],{1415(e,t,n){n.d(t,{MovePlugin:()=>i});class i{id="move";_pluginManager;constructor(e){this._pluginManager=e}async getPlugin(e){let{MovePluginInstance:t}=await n.e(807).then(n.bind(n,4807));return new t(this._pluginManager,e)}loadOptions(){}needsPlugin(){return!0}}}}]);
package/425.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[425],{425(e,t,a){async function i(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(e=>{e.pluginManager.addParticleUpdater("size",async e=>{let{SizeUpdater:t}=await a.e(4).then(a.bind(a,6623));return new t(e)})})}a.r(t),a.d(t,{loadSizeUpdater:()=>i})}}]);
package/483.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[483],{483(r,e,s){s.d(e,{RgbColorManager:()=>l});var t,a,n=s(7279);(t=a||(a={}))[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=5]="a";let i=/rgba?\(\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i;class l{accepts(r){return r.startsWith("rgb")}handleColor(r){let e=r.value.rgb??r.value;if("r"in e&&"g"in e&&"b"in e)return e}handleRangeColor(r){let e=r.value.rgb??r.value;if("r"in e&&"g"in e&&"b"in e)return{r:(0,n.VGA)(e.r),g:(0,n.VGA)(e.g),b:(0,n.VGA)(e.b)}}parseString(r){if(!this.accepts(r))return;let e=i.exec(r);return e?{a:e.length>4?(0,n.M3Y)(e[a.a]):1,b:parseInt(e[a.b]??"0",10),g:parseInt(e[a.g]??"0",10),r:parseInt(e[a.r]??"0",10)}:void 0}}}}]);
package/5.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[5],{1005(e,a,i){i.d(a,{CircleDrawer:()=>r});var t=i(7279);class r{draw(e){!function(e){let{context:a,particle:i,radius:r}=e;i.circleRange??={min:0,max:t.R1e};let n=i.circleRange;a.arc(t.boI.x,t.boI.y,r,n.min,n.max,!1)}(e)}getSidesCount(){return 12}particleInit(e,a){let i=a.shapeData,r=i?.angle??{max:360,min:0};a.circleRange=(0,t.Gvm)(r)?{min:(0,t.puj)(r.min),max:(0,t.puj)(r.max)}:{min:0,max:(0,t.puj)(r)}}}}}]);
package/586.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[586],{9757(e,t,n){var r,i;n.d(t,{Q:()=>r}),(i=r||(r={})).circle="circle",i.rectangle="rectangle"},6210(e,t,n){var r,i;n.d(t,{h:()=>r}),(i=r||(r={})).canvas="canvas",i.parent="parent",i.window="window"},6115(e,t,n){var r,i;n.d(t,{e:()=>r}),(i=r||(r={})).external="external",i.particles="particles"},3383(e,t,n){n.d(t,{Bp:()=>l,DG:()=>d,G3:()=>u,Rb:()=>s,Z0:()=>o,ms:()=>i,s7:()=>c,vo:()=>a,xO:()=>r});let r="click",i="pointerdown",a="pointerup",o="pointerleave",s="pointermove",c="touchstart",l="touchend",d="touchmove",u="touchcancel"},7226(e,t,n){n.d(t,{G:()=>a});var r=n(7279),i=n(9757);class a{enable;mode;selectors;type;constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=i.Q.circle}load(e){(0,r.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))}}},5070(e,t,n){n.d(t,{d:()=>i});var r=n(7279);class i{_container;_pluginManager;constructor(e,t){this._pluginManager=e,this._container=t}load(e){if((0,r.kZJ)(e)||!this._container)return;let t=this._pluginManager.interactors?.get(this._container);if(t)for(let n of t)n.loadModeOptions&&n.loadModeOptions(this,e)}}},4586(e,t,n){n.r(t),n.d(t,{DivEvent:()=>h.G,DivType:()=>c.Q,ExternalInteractorBase:()=>a,InteractivityDetect:()=>l.h,InteractorType:()=>i.e,Modes:()=>g.d,ParticlesInteractorBase:()=>o,clickEvent:()=>s.xO,divMode:()=>p,divModeExecute:()=>u,ensureInteractivityPluginLoaded:()=>y,isDivModeEnabled:()=>d,loadInteractivityPlugin:()=>w,mouseDownEvent:()=>s.ms,mouseLeaveEvent:()=>s.Z0,mouseMoveEvent:()=>s.Rb,mouseUpEvent:()=>s.vo,singleDivModeExecute:()=>v,touchCancelEvent:()=>s.G3,touchEndEvent:()=>s.Bp,touchMoveEvent:()=>s.DG,touchStartEvent:()=>s.s7});var r=n(7279),i=n(6115);class a{type=i.e.external;container;constructor(e){this.container=e}}class o{type=i.e.particles;container;constructor(e){this.container=e}}var s=n(3383),c=n(9757),l=n(6210);function d(e,t){return!!(0,r.w3Z)(t,t=>t.enable&&(0,r.hnD)(e,t.mode))}function u(e,t,n){(0,r.wJ2)(t,t=>{let i=t.mode;t.enable&&(0,r.hnD)(e,i)&&v(t,n)})}function v(e,t){let n=e.selectors;(0,r.wJ2)(n,n=>{t(n,e)})}function p(e,t){if(t&&e)return(0,r.w3Z)(e,e=>{var n;let i;return n=e.selectors,i=(0,r.wJ2)(n,e=>t.matches(e)),(0,r.cyL)(i)?i.some(e=>e):i})}var h=n(7226),g=n(5070);async function w(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(async e=>{let t=e.pluginManager,{InteractivityPlugin:i}=await n.e(779).then(n.bind(n,779));t.addPlugin(new i(t)),t.initializers.interactors??=new Map,t.interactors??=new Map,t.addInteractor=(e,n)=>{t.initializers.interactors??=new Map,t.initializers.interactors.set(e,n)},t.getInteractors=async(e,n=!1)=>(t.interactors??=new Map,t.initializers.interactors??=new Map,(0,r.HQK)(e,t.interactors,t.initializers.interactors,n)),t.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.pluginManager.addInteractor)throw Error("tsParticles Interactivity Plugin is not loaded")}}}]);
package/623.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[623],{4623(e,n,i){async function t(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(async e=>{let[{loadHexColorPlugin:n},{loadHslColorPlugin:t},{loadRgbColorPlugin:a},{loadMovePlugin:s},{loadCircleShape:h},{loadPaintUpdater:r},{loadOpacityUpdater:b},{loadOutModesUpdater:c},{loadSizeUpdater:d}]=await Promise.all([i.e(748).then(i.bind(i,2748)),i.e(94).then(i.bind(i,94)),i.e(794).then(i.bind(i,1794)),i.e(69).then(i.bind(i,1069)),i.e(938).then(i.bind(i,5938)),i.e(646).then(i.bind(i,7646)),i.e(349).then(i.bind(i,1349)),i.e(662).then(i.bind(i,7662)),i.e(425).then(i.bind(i,425))]);await Promise.all([n(e),t(e),a(e),s(e),h(e),r(e),b(e),c(e),d(e)])})}i.r(n),i.d(n,{loadBasic:()=>t})}}]);
package/646.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[646],{7646(e,a,t){async function i(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(e=>{e.pluginManager.addParticleUpdater("paint",async a=>{let{PaintUpdater:i}=await t.e(181).then(t.bind(t,2181));return new i(e.pluginManager,a)})})}t.r(a),t.d(a,{loadPaintUpdater:()=>i})}}]);
package/662.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[662],{7662(e,t,a){async function r(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(e=>{e.pluginManager.addParticleUpdater("outModes",async e=>{let{OutOfCanvasUpdater:t}=await a.e(663).then(a.bind(a,4663));return new t(e)})})}a.r(t),a.d(t,{loadOutModesUpdater:()=>r})}}]);