@tsparticles/preset-firefly 4.0.0-beta.0 → 4.0.0-beta.15

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 +14 -7
  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/153.min.js +0 -1
  22. package/172.min.js +0 -1
  23. package/188.min.js +0 -1
  24. package/220.min.js +0 -1
  25. package/260.min.js +0 -1
  26. package/304.min.js +0 -1
  27. package/311.min.js +0 -1
  28. package/361.min.js +0 -1
  29. package/392.min.js +0 -1
  30. package/404.min.js +0 -1
  31. package/467.min.js +0 -1
  32. package/48.min.js +0 -1
  33. package/592.min.js +0 -1
  34. package/63.min.js +0 -1
  35. package/632.min.js +0 -1
  36. package/656.min.js +0 -1
  37. package/659.min.js +0 -1
  38. package/700.min.js +0 -1
  39. package/714.min.js +0 -1
  40. package/719.min.js +0 -1
  41. package/72.min.js +0 -1
  42. package/74.min.js +0 -1
  43. package/750.min.js +0 -1
  44. package/857.min.js +0 -1
  45. package/86.min.js +0 -1
  46. package/892.min.js +0 -1
  47. package/902.min.js +0 -1
  48. package/957.min.js +0 -1
  49. package/986.min.js +0 -1
  50. package/dist_browser_options_js.js +0 -30
  51. package/node_modules_pnpm_tsparticles_basic_4_0_0-beta_11_node_modules_tsparticles_basic_browser_index_js.js +0 -30
  52. package/node_modules_pnpm_tsparticles_interaction-external-trail_4_0_0-beta_11__tsparticles_engine_4_-b50294.js +0 -70
  53. package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-5e0ff2.js +0 -30
  54. package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-b0d0ee.js +0 -30
  55. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-060416.js +0 -30
  56. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-a6d106.js +0 -30
  57. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_4_0_0-be-47e198.js +0 -120
  58. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_4_0_0-be-710e43.js +0 -70
  59. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-3a792b.js +0 -30
  60. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-e1bc4b.js +0 -30
  61. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-d9836d.js +0 -30
  62. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-f22022.js +0 -30
  63. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-7552ae.js +0 -40
  64. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-b06fc7.js +0 -30
  65. package/node_modules_pnpm_tsparticles_updater-life_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-9cea59.js +0 -70
  66. package/node_modules_pnpm_tsparticles_updater-life_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a724a4.js +0 -30
  67. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-8f9e09.js +0 -30
  68. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-da77ce.js +0 -30
  69. package/node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_-df7144.js +0 -30
  70. package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-589482.js +0 -30
  71. package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-b1f330.js +0 -30
  72. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a47b81.js +0 -30
  73. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-d2508a.js +0 -30
  74. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-beta_11_node_modules_tsparticles_engine_br-ca098e.js +0 -100
  75. package/vendors-node_modules_pnpm_tsparticles_interaction-external-trail_4_0_0-beta_11__tsparticles_e-6dd4b0.js +0 -130
  76. package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_-32e86c.js +0 -50
  77. package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-bet-5f2b78.js +0 -40
  78. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0-09fa1a.js +0 -80
@@ -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.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/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.15 */
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(361).then(c.bind(c,361))]);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/153.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[153],{7530(e,t,n){var r,i;n.d(t,{Q:()=>r}),(i=r||(r={})).circle="circle",i.rectangle="rectangle"},6081(e,t,n){var r,i;n.d(t,{h:()=>r}),(i=r||(r={})).canvas="canvas",i.parent="parent",i.window="window"},5814(e,t,n){var r,i;n.d(t,{e:()=>r}),(i=r||(r={})).external="external",i.particles="particles"},4650(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"},7777(e,t,n){n.d(t,{G:()=>a});var r=n(3227),i=n(7530);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))}}},9985(e,t,n){n.d(t,{d:()=>i});var r=n(3227);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)}}},3153(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(3227),i=n(5814);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(4650),c=n(7530),l=n(6081);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(7777),g=n(9985);async function w(e){e.checkVersion("4.0.0-beta.11"),await e.pluginManager.register(async e=>{let t=e.pluginManager,{InteractivityPlugin:i}=await n.e(260).then(n.bind(n,7260));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/172.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[172],{3172(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(714).then(n.bind(n,6714));return new t(this._pluginManager,e)}loadOptions(){}needsPlugin(){return!0}}}}]);
package/188.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[188],{188(e,a,i){i.d(a,{CircleDrawer:()=>r});var t=i(3227);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/220.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[220],{2220(t,e,i){i.d(e,{InteractivityPluginInstance:()=>h});var n=i(3227),s=i(4650),a=i(6081);class r{_canPush=!0;_clickPositionPlugins;_container;_handlers;_interactionManager;_touches;constructor(t,e){this._container=t,this._clickPositionPlugins=[],this._interactionManager=e,this._touches=new Map,this._handlers={mouseDown:()=>{this._mouseDown()},mouseLeave:()=>{this._mouseTouchFinish()},mouseMove:t=>{this._mouseTouchMove(t)},mouseUp:t=>{this._mouseTouchClick(t)},touchStart:t=>{this._touchStart(t)},touchMove:t=>{this._mouseTouchMove(t)},touchEnd:t=>{this._touchEnd(t)},touchCancel:t=>{this._touchEnd(t)},touchEndClick:t=>{this._touchEndClick(t)},visibilityChange:()=>{this._handleVisibilityChange()}}}addListeners(){this._manageListeners(!0)}init(){for(let t of(this._clickPositionPlugins.length=0,this._container.plugins.filter(t=>!!t.clickPositionValid)))this._clickPositionPlugins.push(t)}removeListeners(){this._manageListeners(!1)}_doMouseTouchClick=t=>{let e=this._container,i=this._interactionManager,s=e.actualOptions;if(this._canPush){let t=i.interactivityData.mouse,e=t.position;if(!e)return;t.clickPosition={...e},t.clickTime=performance.now();let a=s.interactivity?.events.onClick;if(!a?.mode)return;(0,n.wJ2)(a.mode,t=>{i.handleClickMode(t)})}"touchend"===t.type&&setTimeout(()=>{this._mouseTouchFinish()},500)};_handleVisibilityChange=()=>{this._mouseTouchFinish()};_manageInteractivityListeners=t=>{let e=this._handlers,i=this._container,a=this._interactionManager,r=i.actualOptions,o=a.interactivityData.element;if(!o)return;let c=i.canvas;c.setPointerEvents(o===c.element?"initial":"none"),(!t||r.interactivity?.events.onHover.enable||r.interactivity?.events.onClick.enable)&&((0,n.KpY)(o,s.Rb,e.mouseMove,t),(0,n.KpY)(o,s.s7,e.touchStart,t),(0,n.KpY)(o,s.DG,e.touchMove,t),t?r.interactivity?.events.onClick.enable?((0,n.KpY)(o,s.Bp,e.touchEndClick,t),(0,n.KpY)(o,s.vo,e.mouseUp,t),(0,n.KpY)(o,s.ms,e.mouseDown,t)):(0,n.KpY)(o,s.Bp,e.touchEnd,t):((0,n.KpY)(o,s.Bp,e.touchEndClick,t),(0,n.KpY)(o,s.vo,e.mouseUp,t),(0,n.KpY)(o,s.ms,e.mouseDown,t),(0,n.KpY)(o,s.Bp,e.touchEnd,t)),(0,n.KpY)(o,s.Z0,e.mouseLeave,t),(0,n.KpY)(o,s.G3,e.touchCancel,t))};_manageListeners=t=>{let e=this._handlers,i=this._container,s=this._interactionManager,r=i.actualOptions,o=r.interactivity?.detectsOn,c=i.canvas.element;o===a.h.window?s.interactivityData.element=(0,n.T5G)():o===a.h.parent&&c?s.interactivityData.element=c.parentElement??c.parentNode:s.interactivityData.element=c,this._manageInteractivityListeners(t),(0,n.KpY)(document,n.nKi,e.visibilityChange,t,!1)};_mouseDown=()=>{let{interactivityData:t}=this._interactionManager,{mouse:e}=t;e.clicking=!0,e.downPosition=e.position};_mouseTouchClick=t=>{let e=this._container,i=this._interactionManager,n=e.actualOptions,{mouse:s}=i.interactivityData;s.inside=!0;let a=!1,r=s.position;if(r&&n.interactivity?.events.onClick.enable){for(let t of this._clickPositionPlugins)if(a=t.clickPositionValid?.(r)??!1)break;a||this._doMouseTouchClick(t),s.clicking=!1}};_mouseTouchFinish=()=>{let{interactivityData:t}=this._interactionManager,{mouse:e}=t;delete e.position,delete e.clickPosition,delete e.downPosition,t.status=s.Z0,e.inside=!1,e.clicking=!1};_mouseTouchMove=t=>{let e,i=this._container,r=this._interactionManager,o=i.actualOptions,c=r.interactivityData,l=i.canvas.element;if(!c.element)return;if(c.mouse.inside=!0,t.type.startsWith("pointer"))if(this._canPush=!0,c.element===(0,n.T5G)()){if(l){let i=l.getBoundingClientRect();e={x:t.clientX-i.left,y:t.clientY-i.top}}}else if(o.interactivity?.detectsOn===a.h.parent){let i=t.target,s=t.currentTarget;if(l){let a=i.getBoundingClientRect(),r=s.getBoundingClientRect(),o=l.getBoundingClientRect();e={x:t.offsetX+n.gdl*a.left-(r.left+o.left),y:t.offsetY+n.gdl*a.top-(r.top+o.top)}}else e={x:t.offsetX,y:t.offsetY}}else t.target===l&&(e={x:t.offsetX,y:t.offsetY});else if(this._canPush="touchmove"!==t.type,l){let i=t.touches[t.touches.length-n.K3],s=l.getBoundingClientRect();if(!i)return;e={x:i.clientX-s.left,y:i.clientY-s.top}}let h=i.retina.pixelRatio;e&&(e.x*=h,e.y*=h),c.mouse.position=e,c.status=s.Rb};_touchEnd=t=>{for(let e of Array.from(t.changedTouches))this._touches.delete(e.identifier);this._mouseTouchFinish()};_touchEndClick=t=>{for(let e of Array.from(t.changedTouches))this._touches.delete(e.identifier);this._mouseTouchClick(t)};_touchStart=t=>{for(let e of Array.from(t.changedTouches))this._touches.set(e.identifier,performance.now());this._mouseTouchMove(t)}}var o=i(5814);class c{container;interactivityData;_clickHandlers;_eventListeners;_externalInteractors;_interactors;_intersectionObserver;_particleInteractors;_pluginManager;constructor(t,e){this.container=e,this._pluginManager=t,this._interactors=[],this._externalInteractors=[],this._particleInteractors=[],this._clickHandlers=new Map,this._eventListeners=new r(e,this),this.interactivityData={mouse:{clicking:!1,inside:!1}},this._intersectionObserver=(0,n.BRq)(t=>{this._intersectionManager(t)})}addClickHandler(t){let{container:e,interactivityData:i}=this;if(e.destroyed)return;let n=i.element;if(!n)return;let a=(i,n,s)=>{if(e.destroyed)return;let a=e.retina.pixelRatio,r={x:n.x*a,y:n.y*a};t(i,e.particles.grid.queryCircle(r,s*a))},r=!1,o=!1;for(let[t,i]of(this._clickHandlers.set(s.xO,t=>{if(e.destroyed)return;let i={x:t.offsetX,y:t.offsetY};a(t,i,1)}),this._clickHandlers.set(s.s7,()=>{e.destroyed||(r=!0,o=!1)}),this._clickHandlers.set(s.DG,()=>{e.destroyed||(o=!0)}),this._clickHandlers.set(s.Bp,t=>{if(!e.destroyed){if(r&&!o){let i=t.touches[t.touches.length-1];if(!i)return;let n=e.canvas.element,s=n?n.getBoundingClientRect():void 0;a(t,{x:i.clientX-(s?s.left:0),y:i.clientY-(s?s.top:0)},Math.max(i.radiusX,i.radiusY))}r=!1,o=!1}}),this._clickHandlers.set(s.G3,()=>{e.destroyed||(r=!1,o=!1)}),this._clickHandlers))n.addEventListener(t,i)}addListeners(){this._eventListeners.addListeners()}clearClickHandlers(){let{container:t,interactivityData:e}=this;if(!t.destroyed){for(let[t,i]of this._clickHandlers)e.element?.removeEventListener(t,i);this._clickHandlers.clear()}}externalInteract(t){for(let e of this._externalInteractors){let{interactivityData:i}=this;e.isEnabled(i)&&e.interact(i,t)}}handleClickMode(t){if(this.container.destroyed)return;let{interactivityData:e}=this;for(let i of this._externalInteractors)i.handleClickMode?.(t,e)}init(){for(let t of(this._eventListeners.init(),this._interactors)){switch(t.type){case o.e.external:this._externalInteractors.push(t);break;case o.e.particles:this._particleInteractors.push(t)}t.init()}}async initInteractors(){let t=await this._pluginManager.getInteractors?.(this.container,!0);t&&(this._interactors=t,this._externalInteractors=[],this._particleInteractors=[])}particlesInteract(t,e){let{interactivityData:i}=this;for(let i of this._externalInteractors)i.clear(t,e);for(let n of this._particleInteractors)n.isEnabled(t,i)&&n.interact(t,i,e)}removeListeners(){this._eventListeners.removeListeners()}reset(t){let{interactivityData:e}=this;for(let i of this._externalInteractors)i.isEnabled(e)&&i.reset(e,t);for(let i of this._particleInteractors)i.isEnabled(t,e)&&i.reset(e,t)}startObserving(){let{interactivityData:t}=this;t.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(t.element)}stopObserving(){let{interactivityData:t}=this;t.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(t.element)}updateMaxDistance(){let t=0;for(let e of this._interactors)e.maxDistance>t&&(t=e.maxDistance);let e=this.container;e.particles.grid.setCellSize(t*e.retina.pixelRatio)}_intersectionManager=t=>{let{container:e}=this;if(!e.destroyed&&e.actualOptions.pauseOnOutsideViewport)for(let i of t)i.target===this.interactivityData.element&&(i.isIntersecting?e.play():e.pause())}}var l=i(6373);class h{interactionManager;_container;_pluginManager;constructor(t,e){this._container=e,this._pluginManager=t,this.interactionManager=new c(t,e),this._container.addClickHandler=t=>{this.interactionManager.addClickHandler(t)}}addClickHandler(t){this.interactionManager.addClickHandler(t)}clearClickHandlers(){this.interactionManager.clearClickHandlers()}destroy(){this.clearClickHandlers(),this._pluginManager.interactors?.delete(this._container)}particleCreated(t){let e=new l.k(this._pluginManager,this._container);e.load(this._container.actualOptions.interactivity),e.load(t.options.interactivity),t.interactivity=e}particleReset(t){this.interactionManager.reset(t)}postParticleUpdate(t,e){this.interactionManager.particlesInteract(t,e)}postUpdate(t){this.interactionManager.externalInteract(t),this.interactionManager.updateMaxDistance()}async preInit(){await this.interactionManager.initInteractors(),this.interactionManager.init()}async redrawInit(){await this.interactionManager.initInteractors(),this.interactionManager.init()}start(){return this.interactionManager.addListeners(),this.interactionManager.startObserving(),Promise.resolve()}stop(){this.interactionManager.removeListeners(),this.interactionManager.stopObserving()}}}}]);
package/260.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[260],{7260(e,t,i){i.d(t,{InteractivityPlugin:()=>o});var n=i(3227),s=i(6373);class o{id="interactivity";_pluginManager;constructor(e){this._pluginManager=e}async getPlugin(e){let{InteractivityPluginInstance:t}=await i.e(220).then(i.bind(i,2220));return new t(this._pluginManager,e)}loadOptions(e,t,i){if(!this.needsPlugin())return;let n=t.interactivity;n?.load||(t.interactivity=n=new s.k(this._pluginManager,e)),n.load(i?.interactivity);let o=this._pluginManager.interactors?.get(e);if(o)for(let e of o)e.loadOptions&&e.loadOptions(t,i)}loadParticlesOptions(e,t,i){i?.interactivity&&(t.interactivity=(0,n.zwS)({},i.interactivity));let s=this._pluginManager.interactors?.get(e);if(s)for(let e of s)e.loadParticlesOptions?.(t,i)}needsPlugin(){return!0}}},6373(e,t,i){i.d(t,{k:()=>c});var n=i(3227);class s{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 o=i(7777);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 s,this.onDiv=new o.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 o.G;return t.load(e),t})),this.onHover.load(e.onHover)}}var r=i(6081),d=i(9985);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/304.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[304],{8304(e,t,a){async function i(e){e.checkVersion("4.0.0-beta.11"),await e.pluginManager.register(e=>{e.pluginManager.addParticleUpdater("size",async e=>{let{SizeUpdater:t}=await a.e(750).then(a.bind(a,4750));return new t(e)})})}a.r(t),a.d(t,{loadSizeUpdater:()=>i})}}]);
package/311.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[311],{311(e,i,t){t.d(i,{LifeUpdater:()=>l});var n=t(3227);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/361.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[361],{1361(e,a,i){i.r(a),i.d(a,{options:()=>t});let t={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"}}}}]);
package/392.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[392],{9392(e,a,s){async function t(e){e.checkVersion("4.0.0-beta.11"),await e.pluginManager.register(async e=>{let{HslColorManager:a}=await s.e(857).then(s.bind(s,5857));e.pluginManager.addColorManager("hsl",new a)})}s.r(a),s.d(a,{loadHslColorPlugin:()=>t})}}]);
package/404.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_firefly=this.webpackChunk_tsparticles_preset_firefly||[]).push([[404],{7404(e,a,t){async function i(e){e.checkVersion("4.0.0-beta.11"),await e.pluginManager.register(e=>{e.pluginManager.addParticleUpdater("paint",async a=>{let{PaintUpdater:i}=await t.e(659).then(t.bind(t,3659));return new i(e.pluginManager,a)})})}t.r(a),t.d(a,{loadPaintUpdater:()=>i})}}]);