@tsparticles/preset-bubbles 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 (80) hide show
  1. package/browser/browser.js +5 -0
  2. package/browser/bundle.js +4 -0
  3. package/browser/index.js +3 -5
  4. package/browser/index.lazy.js +15 -0
  5. package/cjs/browser.js +5 -0
  6. package/cjs/bundle.js +4 -0
  7. package/cjs/index.js +3 -5
  8. package/cjs/index.lazy.js +15 -0
  9. package/esm/browser.js +5 -0
  10. package/esm/bundle.js +4 -0
  11. package/esm/index.js +3 -5
  12. package/esm/index.lazy.js +15 -0
  13. package/package.json +11 -4
  14. package/report.html +4949 -94
  15. package/tsparticles.preset.bubbles.bundle.js +6613 -967
  16. package/tsparticles.preset.bubbles.bundle.min.js +1 -2
  17. package/tsparticles.preset.bubbles.js +77 -362
  18. package/tsparticles.preset.bubbles.min.js +1 -2
  19. package/types/browser.d.ts +1 -0
  20. package/types/index.lazy.d.ts +2 -0
  21. package/147.min.js +0 -1
  22. package/155.min.js +0 -1
  23. package/181.min.js +0 -1
  24. package/210.min.js +0 -1
  25. package/349.min.js +0 -1
  26. package/379.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/434.min.js +0 -1
  31. package/436.min.js +0 -1
  32. package/483.min.js +0 -1
  33. package/5.min.js +0 -1
  34. package/623.min.js +0 -1
  35. package/627.min.js +0 -1
  36. package/646.min.js +0 -1
  37. package/662.min.js +0 -1
  38. package/663.min.js +0 -1
  39. package/69.min.js +0 -1
  40. package/748.min.js +0 -1
  41. package/794.min.js +0 -1
  42. package/807.min.js +0 -1
  43. package/818.min.js +0 -1
  44. package/819.min.js +0 -1
  45. package/837.min.js +0 -1
  46. package/879.min.js +0 -1
  47. package/935.min.js +0 -1
  48. package/938.min.js +0 -1
  49. package/94.min.js +0 -1
  50. package/979.min.js +0 -1
  51. package/bundles_basic_dist_browser_index_js.js +0 -30
  52. package/dist_browser_options_js.js +0 -30
  53. package/engine_dist_browser_Core_Container_js.js +0 -100
  54. package/plugins_colors_hex_dist_browser_HexColorManager_js.js +0 -30
  55. package/plugins_colors_hex_dist_browser_index_js.js +0 -30
  56. package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +0 -30
  57. package/plugins_colors_hsl_dist_browser_index_js.js +0 -30
  58. package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +0 -30
  59. package/plugins_colors_rgb_dist_browser_index_js.js +0 -30
  60. package/plugins_emitters_dist_browser_EmitterInstance_js.js +0 -30
  61. package/plugins_emitters_dist_browser_EmittersInstancesManager_js.js +0 -100
  62. package/plugins_emitters_dist_browser_EmittersPluginInstance_js.js +0 -30
  63. package/plugins_emitters_dist_browser_EmittersPlugin_js.js +0 -100
  64. package/plugins_emitters_dist_browser_ShapeManager_js.js +0 -30
  65. package/plugins_emitters_dist_browser_addEmittersShapesManager_js.js +0 -30
  66. package/plugins_emitters_dist_browser_getEmittersInstancesManager_js.js +0 -30
  67. package/plugins_emitters_dist_browser_plugin_js.js +0 -50
  68. package/plugins_move_dist_browser_MovePluginInstance_js.js +0 -40
  69. package/plugins_move_dist_browser_MovePlugin_js.js +0 -30
  70. package/plugins_move_dist_browser_index_js.js +0 -30
  71. package/shapes_circle_dist_browser_CircleDrawer_js.js +0 -40
  72. package/shapes_circle_dist_browser_index_js.js +0 -30
  73. package/updaters_opacity_dist_browser_OpacityUpdater_js.js +0 -30
  74. package/updaters_opacity_dist_browser_index_js.js +0 -30
  75. package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +0 -80
  76. package/updaters_outModes_dist_browser_index_js.js +0 -30
  77. package/updaters_paint_dist_browser_PaintUpdater_js.js +0 -30
  78. package/updaters_paint_dist_browser_index_js.js +0 -30
  79. package/updaters_size_dist_browser_SizeUpdater_js.js +0 -30
  80. package/updaters_size_dist_browser_index_js.js +0 -30
@@ -1,367 +1,82 @@
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/plugin-emitters/plugin"), require("@tsparticles/basic"), require("@tsparticles/engine"));
20
- else if(typeof define === 'function' && define.amd)
21
- define(["@tsparticles/plugin-emitters/plugin", "@tsparticles/basic", "@tsparticles/engine"], factory);
22
- else {
23
- var a = typeof exports === 'object' ? factory(require("@tsparticles/plugin-emitters/plugin"), require("@tsparticles/basic"), require("@tsparticles/engine")) : factory(root["window"], root["window"], root["window"]);
24
- for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
25
- }
26
- })(this, (__WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters_plugin__, __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__, __WEBPACK_EXTERNAL_MODULE__tsparticles_engine__) => {
27
- return /******/ (() => { // webpackBootstrap
28
- /******/ "use strict";
29
- /******/ var __webpack_modules__ = ({
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/plugin-emitters/plugin'), require('@tsparticles/engine')) :
5
+ typeof define === 'function' && define.amd ? define(['exports', '@tsparticles/basic', '@tsparticles/plugin-emitters/plugin', '@tsparticles/engine'], factory) :
6
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.__tsParticlesInternals = global.__tsParticlesInternals || {}, global.__tsParticlesInternals.presets = global.__tsParticlesInternals.presets || {}, global.__tsParticlesInternals.presets.bubbles = global.__tsParticlesInternals.presets.bubbles || {}), global.__tsParticlesInternals.bundles.basic, global.__tsParticlesInternals.plugins["emitters/plugin"], global.__tsParticlesInternals.engine));
7
+ })(this, (function (exports, basic, plugin, engine) { 'use strict';
30
8
 
31
- /***/ "@tsparticles/basic"
32
- /*!******************************************************************************************************************************!*\
33
- !*** external {"commonjs":"@tsparticles/basic","commonjs2":"@tsparticles/basic","amd":"@tsparticles/basic","root":"window"} ***!
34
- \******************************************************************************************************************************/
35
- (module) {
9
+ const options = {
10
+ fpsLimit: 120,
11
+ particles: {
12
+ paint: {
13
+ fill: {
14
+ color: {
15
+ value: "random",
16
+ },
17
+ enable: true,
18
+ },
19
+ },
20
+ shape: {
21
+ type: "circle",
22
+ },
23
+ opacity: {
24
+ value: 0.3,
25
+ },
26
+ size: {
27
+ value: { min: 5, max: 10 },
28
+ },
29
+ move: {
30
+ angle: {
31
+ offset: 0,
32
+ value: 30,
33
+ },
34
+ enable: true,
35
+ speed: 15,
36
+ direction: engine.MoveDirection.top,
37
+ random: false,
38
+ straight: false,
39
+ outModes: {
40
+ default: engine.OutMode.destroy,
41
+ },
42
+ },
43
+ },
44
+ detectRetina: true,
45
+ background: {
46
+ color: "#fff",
47
+ },
48
+ emitters: [
49
+ {
50
+ direction: engine.MoveDirection.top,
51
+ position: {
52
+ y: 100,
53
+ },
54
+ life: {
55
+ duration: 3,
56
+ delay: 5,
57
+ count: 0,
58
+ },
59
+ },
60
+ ],
61
+ };
36
62
 
37
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__;
63
+ const presetName = "bubbles";
64
+ async function loadBubblesPreset(engine) {
65
+ await engine.pluginManager.register(async (e) => {
66
+ await Promise.all([
67
+ basic.loadBasic(e),
68
+ plugin.loadEmittersPluginSimple(e),
69
+ ]);
70
+ e.pluginManager.addPreset(presetName, options);
71
+ });
72
+ }
38
73
 
39
- /***/ },
74
+ const globalObject = globalThis;
75
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
76
+ globalObject.loadBubblesPreset = loadBubblesPreset;
40
77
 
41
- /***/ "@tsparticles/engine"
42
- /*!*********************************************************************************************************************************!*\
43
- !*** external {"commonjs":"@tsparticles/engine","commonjs2":"@tsparticles/engine","amd":"@tsparticles/engine","root":"window"} ***!
44
- \*********************************************************************************************************************************/
45
- (module) {
78
+ exports.loadBubblesPreset = loadBubblesPreset;
46
79
 
47
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_engine__;
48
-
49
- /***/ },
50
-
51
- /***/ "@tsparticles/plugin-emitters/plugin"
52
- /*!*********************************************************************************************************************************************************************************!*\
53
- !*** external {"commonjs":"@tsparticles/plugin-emitters/plugin","commonjs2":"@tsparticles/plugin-emitters/plugin","amd":"@tsparticles/plugin-emitters/plugin","root":"window"} ***!
54
- \*********************************************************************************************************************************************************************************/
55
- (module) {
56
-
57
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters_plugin__;
58
-
59
- /***/ },
60
-
61
- /***/ "./dist/browser/index.js"
62
- /*!*******************************!*\
63
- !*** ./dist/browser/index.js ***!
64
- \*******************************/
65
- (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
66
-
67
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadBubblesPreset: () => (/* binding */ loadBubblesPreset)\n/* harmony export */ });\nconst presetName = \"bubbles\";\nasync function loadBubblesPreset(engine) {\n await engine.pluginManager.register(async (e)=>{\n const [{ loadBasic }, { loadEmittersPluginSimple }, { 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-emitters/plugin */ \"@tsparticles/plugin-emitters/plugin\", 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 loadEmittersPluginSimple(e)\n ]);\n e.pluginManager.addPreset(presetName, options);\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-bubbles/./dist/browser/index.js?\n}");
68
-
69
- /***/ }
70
-
71
- /******/ });
72
- /************************************************************************/
73
- /******/ // The module cache
74
- /******/ var __webpack_module_cache__ = {};
75
- /******/
76
- /******/ // The require function
77
- /******/ function __webpack_require__(moduleId) {
78
- /******/ // Check if module is in cache
79
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
80
- /******/ if (cachedModule !== undefined) {
81
- /******/ return cachedModule.exports;
82
- /******/ }
83
- /******/ // Create a new module (and put it into the cache)
84
- /******/ var module = __webpack_module_cache__[moduleId] = {
85
- /******/ // no module.id needed
86
- /******/ // no module.loaded needed
87
- /******/ exports: {}
88
- /******/ };
89
- /******/
90
- /******/ // Execute the module function
91
- /******/ if (!(moduleId in __webpack_modules__)) {
92
- /******/ delete __webpack_module_cache__[moduleId];
93
- /******/ var e = new Error("Cannot find module '" + moduleId + "'");
94
- /******/ e.code = 'MODULE_NOT_FOUND';
95
- /******/ throw e;
96
- /******/ }
97
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
98
- /******/
99
- /******/ // Return the exports of the module
100
- /******/ return module.exports;
101
- /******/ }
102
- /******/
103
- /******/ // expose the modules object (__webpack_modules__)
104
- /******/ __webpack_require__.m = __webpack_modules__;
105
- /******/
106
- /************************************************************************/
107
- /******/ /* webpack/runtime/create fake namespace object */
108
- /******/ (() => {
109
- /******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
110
- /******/ var leafPrototypes;
111
- /******/ // create a fake namespace object
112
- /******/ // mode & 1: value is a module id, require it
113
- /******/ // mode & 2: merge all properties of value into the ns
114
- /******/ // mode & 4: return value when already ns object
115
- /******/ // mode & 16: return value when it's Promise-like
116
- /******/ // mode & 8|1: behave like require
117
- /******/ __webpack_require__.t = function(value, mode) {
118
- /******/ if(mode & 1) value = this(value);
119
- /******/ if(mode & 8) return value;
120
- /******/ if(typeof value === 'object' && value) {
121
- /******/ if((mode & 4) && value.__esModule) return value;
122
- /******/ if((mode & 16) && typeof value.then === 'function') return value;
123
- /******/ }
124
- /******/ var ns = Object.create(null);
125
- /******/ __webpack_require__.r(ns);
126
- /******/ var def = {};
127
- /******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
128
- /******/ for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {
129
- /******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
130
- /******/ }
131
- /******/ def['default'] = () => (value);
132
- /******/ __webpack_require__.d(ns, def);
133
- /******/ return ns;
134
- /******/ };
135
- /******/ })();
136
- /******/
137
- /******/ /* webpack/runtime/define property getters */
138
- /******/ (() => {
139
- /******/ // define getter functions for harmony exports
140
- /******/ __webpack_require__.d = (exports, definition) => {
141
- /******/ for(var key in definition) {
142
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
143
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
144
- /******/ }
145
- /******/ }
146
- /******/ };
147
- /******/ })();
148
- /******/
149
- /******/ /* webpack/runtime/ensure chunk */
150
- /******/ (() => {
151
- /******/ __webpack_require__.f = {};
152
- /******/ // This file contains only the entry chunk.
153
- /******/ // The chunk loading function for additional chunks
154
- /******/ __webpack_require__.e = (chunkId) => {
155
- /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
156
- /******/ __webpack_require__.f[key](chunkId, promises);
157
- /******/ return promises;
158
- /******/ }, []));
159
- /******/ };
160
- /******/ })();
161
- /******/
162
- /******/ /* webpack/runtime/get javascript chunk filename */
163
- /******/ (() => {
164
- /******/ // This function allow to reference async chunks
165
- /******/ __webpack_require__.u = (chunkId) => {
166
- /******/ // return url for filenames based on template
167
- /******/ return "" + chunkId + ".js";
168
- /******/ };
169
- /******/ })();
170
- /******/
171
- /******/ /* webpack/runtime/global */
172
- /******/ (() => {
173
- /******/ __webpack_require__.g = (function() {
174
- /******/ if (typeof globalThis === 'object') return globalThis;
175
- /******/ try {
176
- /******/ return this || new Function('return this')();
177
- /******/ } catch (e) {
178
- /******/ if (typeof window === 'object') return window;
179
- /******/ }
180
- /******/ })();
181
- /******/ })();
182
- /******/
183
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
184
- /******/ (() => {
185
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
186
- /******/ })();
187
- /******/
188
- /******/ /* webpack/runtime/load script */
189
- /******/ (() => {
190
- /******/ var inProgress = {};
191
- /******/ var dataWebpackPrefix = "@tsparticles/preset-bubbles:";
192
- /******/ // loadScript function to load a script via script tag
193
- /******/ __webpack_require__.l = (url, done, key, chunkId) => {
194
- /******/ if(inProgress[url]) { inProgress[url].push(done); return; }
195
- /******/ var script, needAttach;
196
- /******/ if(key !== undefined) {
197
- /******/ var scripts = document.getElementsByTagName("script");
198
- /******/ for(var i = 0; i < scripts.length; i++) {
199
- /******/ var s = scripts[i];
200
- /******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
201
- /******/ }
202
- /******/ }
203
- /******/ if(!script) {
204
- /******/ needAttach = true;
205
- /******/ script = document.createElement('script');
206
- /******/
207
- /******/ script.charset = 'utf-8';
208
- /******/ if (__webpack_require__.nc) {
209
- /******/ script.setAttribute("nonce", __webpack_require__.nc);
210
- /******/ }
211
- /******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
212
- /******/
213
- /******/ script.src = url;
214
- /******/ }
215
- /******/ inProgress[url] = [done];
216
- /******/ var onScriptComplete = (prev, event) => {
217
- /******/ // avoid mem leaks in IE.
218
- /******/ script.onerror = script.onload = null;
219
- /******/ clearTimeout(timeout);
220
- /******/ var doneFns = inProgress[url];
221
- /******/ delete inProgress[url];
222
- /******/ script.parentNode && script.parentNode.removeChild(script);
223
- /******/ doneFns && doneFns.forEach((fn) => (fn(event)));
224
- /******/ if(prev) return prev(event);
225
- /******/ }
226
- /******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
227
- /******/ script.onerror = onScriptComplete.bind(null, script.onerror);
228
- /******/ script.onload = onScriptComplete.bind(null, script.onload);
229
- /******/ needAttach && document.head.appendChild(script);
230
- /******/ };
231
- /******/ })();
232
- /******/
233
- /******/ /* webpack/runtime/make namespace object */
234
- /******/ (() => {
235
- /******/ // define __esModule on exports
236
- /******/ __webpack_require__.r = (exports) => {
237
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
238
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
239
- /******/ }
240
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
241
- /******/ };
242
- /******/ })();
243
- /******/
244
- /******/ /* webpack/runtime/publicPath */
245
- /******/ (() => {
246
- /******/ var scriptUrl;
247
- /******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
248
- /******/ var document = __webpack_require__.g.document;
249
- /******/ if (!scriptUrl && document) {
250
- /******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
251
- /******/ scriptUrl = document.currentScript.src;
252
- /******/ if (!scriptUrl) {
253
- /******/ var scripts = document.getElementsByTagName("script");
254
- /******/ if(scripts.length) {
255
- /******/ var i = scripts.length - 1;
256
- /******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;
257
- /******/ }
258
- /******/ }
259
- /******/ }
260
- /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
261
- /******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
262
- /******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
263
- /******/ scriptUrl = scriptUrl.replace(/^blob:/, "").replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
264
- /******/ __webpack_require__.p = scriptUrl;
265
- /******/ })();
266
- /******/
267
- /******/ /* webpack/runtime/jsonp chunk loading */
268
- /******/ (() => {
269
- /******/ // no baseURI
270
- /******/
271
- /******/ // object to store loaded and loading chunks
272
- /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
273
- /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
274
- /******/ var installedChunks = {
275
- /******/ "tsparticles.preset.bubbles": 0
276
- /******/ };
277
- /******/
278
- /******/ __webpack_require__.f.j = (chunkId, promises) => {
279
- /******/ // JSONP chunk loading for javascript
280
- /******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
281
- /******/ if(installedChunkData !== 0) { // 0 means "already installed".
282
- /******/
283
- /******/ // a Promise means "currently loading".
284
- /******/ if(installedChunkData) {
285
- /******/ promises.push(installedChunkData[2]);
286
- /******/ } else {
287
- /******/ if(true) { // all chunks have JS
288
- /******/ // setup Promise in chunk cache
289
- /******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
290
- /******/ promises.push(installedChunkData[2] = promise);
291
- /******/
292
- /******/ // start chunk loading
293
- /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
294
- /******/ // create error before stack unwound to get useful stacktrace later
295
- /******/ var error = new Error();
296
- /******/ var loadingEnded = (event) => {
297
- /******/ if(__webpack_require__.o(installedChunks, chunkId)) {
298
- /******/ installedChunkData = installedChunks[chunkId];
299
- /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
300
- /******/ if(installedChunkData) {
301
- /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
302
- /******/ var realSrc = event && event.target && event.target.src;
303
- /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
304
- /******/ error.name = 'ChunkLoadError';
305
- /******/ error.type = errorType;
306
- /******/ error.request = realSrc;
307
- /******/ installedChunkData[1](error);
308
- /******/ }
309
- /******/ }
310
- /******/ };
311
- /******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
312
- /******/ }
313
- /******/ }
314
- /******/ }
315
- /******/ };
316
- /******/
317
- /******/ // no prefetching
318
- /******/
319
- /******/ // no preloaded
320
- /******/
321
- /******/ // no HMR
322
- /******/
323
- /******/ // no HMR manifest
324
- /******/
325
- /******/ // no on chunks loaded
326
- /******/
327
- /******/ // install a JSONP callback for chunk loading
328
- /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
329
- /******/ var [chunkIds, moreModules, runtime] = data;
330
- /******/ // add "moreModules" to the modules object,
331
- /******/ // then flag all "chunkIds" as loaded and fire callback
332
- /******/ var moduleId, chunkId, i = 0;
333
- /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
334
- /******/ for(moduleId in moreModules) {
335
- /******/ if(__webpack_require__.o(moreModules, moduleId)) {
336
- /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
337
- /******/ }
338
- /******/ }
339
- /******/ if(runtime) var result = runtime(__webpack_require__);
340
- /******/ }
341
- /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
342
- /******/ for(;i < chunkIds.length; i++) {
343
- /******/ chunkId = chunkIds[i];
344
- /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
345
- /******/ installedChunks[chunkId][0]();
346
- /******/ }
347
- /******/ installedChunks[chunkId] = 0;
348
- /******/ }
349
- /******/
350
- /******/ }
351
- /******/
352
- /******/ var chunkLoadingGlobal = this["webpackChunk_tsparticles_preset_bubbles"] = this["webpackChunk_tsparticles_preset_bubbles"] || [];
353
- /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
354
- /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
355
- /******/ })();
356
- /******/
357
- /************************************************************************/
358
- /******/
359
- /******/ // startup
360
- /******/ // Load entry module and return exports
361
- /******/ // This entry module can't be inlined because the eval devtool is used.
362
- /******/ var __webpack_exports__ = __webpack_require__("./dist/browser/index.js");
363
- /******/
364
- /******/ return __webpack_exports__;
365
- /******/ })()
366
- ;
367
- });
80
+ }));
81
+ Object.assign(globalThis.window || globalThis, { loadBubblesPreset: (globalThis.__tsParticlesInternals.presets.bubbles || {}).loadBubblesPreset });
82
+ delete (globalThis.window || globalThis).tsparticlesInternalExports;
@@ -1,2 +1 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/plugin-emitters/plugin"),require("@tsparticles/basic"),require("@tsparticles/engine"));else if("function"==typeof define&&define.amd)define(["@tsparticles/plugin-emitters/plugin","@tsparticles/basic","@tsparticles/engine"],t);else{var r="object"==typeof exports?t(require("@tsparticles/plugin-emitters/plugin"),require("@tsparticles/basic"),require("@tsparticles/engine")):t(e.window,e.window,e.window);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(this,(e,t,r)=>(()=>{"use strict";var o,i,n,s={145(e){e.exports=t},303(e){e.exports=r},90(t){t.exports=e}},a={};function l(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={exports:{}};return s[e](r,r.exports,l),r.exports}l.m=s,c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l.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);l.r(r);var o={};p=p||[null,c({}),c([]),c(c)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~p.indexOf(i);i=c(i))Object.getOwnPropertyNames(i).forEach(t=>o[t]=()=>e[t]);return o.default=()=>e,l.d(r,o),r},l.d=(e,t)=>{for(var r in t)l.o(t,r)&&!l.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce((t,r)=>(l.f[r](e,t),t),[])),l.u=e=>""+e+".min.js",l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u={},l.l=(e,t,r,o)=>{if(u[e])return void u[e].push(t);if(void 0!==r)for(var i,n,s=document.getElementsByTagName("script"),a=0;a<s.length;a++){var p=s[a];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")=="@tsparticles/preset-bubbles:"+r){i=p;break}}i||(n=!0,(i=document.createElement("script")).charset="utf-8",l.nc&&i.setAttribute("nonce",l.nc),i.setAttribute("data-webpack","@tsparticles/preset-bubbles:"+r),i.src=e),u[e]=[t];var c=(t,r)=>{i.onerror=i.onload=null,clearTimeout(b);var o=u[e];if(delete u[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(r)),t)return t(r)},b=setTimeout(c.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=c.bind(null,i.onerror),i.onload=c.bind(null,i.onload),n&&document.head.appendChild(i)},l.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.g.importScripts&&(b=l.g.location+"");var p,c,u,b,f=l.g.document;if(!b&&f&&(f.currentScript&&"SCRIPT"===f.currentScript.tagName.toUpperCase()&&(b=f.currentScript.src),!b)){var d=f.getElementsByTagName("script");if(d.length)for(var g=d.length-1;g>-1&&(!b||!/^http(s?):/.test(b));)b=d[g--].src}if(!b)throw Error("Automatic publicPath is not supported in this browser");l.p=b=b.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o={353:0},l.f.j=(e,t)=>{var r=l.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 n=l.p+l.u(e),s=Error();l.l(n,t=>{if(l.o(o,e)&&(0!==(r=o[e])&&(o[e]=void 0),r)){var i=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;s.message="Loading chunk "+e+` failed.
2
- (`+i+": "+n+")",s.name="ChunkLoadError",s.type=i,s.request=n,r[1](s)}},"chunk-"+e,e)}},i=(e,t)=>{var r,i,[n,s,a]=t,p=0;if(n.some(e=>0!==o[e])){for(r in s)l.o(s,r)&&(l.m[r]=s[r]);a&&a(l)}for(e&&e(t);p<n.length;p++)i=n[p],l.o(o,i)&&o[i]&&o[i][0](),o[i]=0},(n=this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).forEach(i.bind(null,0)),n.push=i.bind(null,n.push.bind(n));var m={};async function h(e){await e.pluginManager.register(async e=>{let[{loadBasic:t},{loadEmittersPluginSimple:r},{options:o}]=await Promise.all([Promise.resolve().then(l.t.bind(l,145,19)),Promise.resolve().then(l.t.bind(l,90,19)),l.e(837).then(l.bind(l,837))]);await Promise.all([t(e),r(e)]),e.pluginManager.addPreset("bubbles",o)})}return l.r(m),l.d(m,{loadBubblesPreset:()=>h}),m})());
1
+ !function(s){s.__tsParticlesInternals=s.__tsParticlesInternals||{},s.__tsParticlesInternals.bundles=s.__tsParticlesInternals.bundles||{},s.__tsParticlesInternals.effects=s.__tsParticlesInternals.effects||{},s.__tsParticlesInternals.engine=s.__tsParticlesInternals.engine||{},s.__tsParticlesInternals.interactions=s.__tsParticlesInternals.interactions||{},s.__tsParticlesInternals.palettes=s.__tsParticlesInternals.palettes||{},s.__tsParticlesInternals.paths=s.__tsParticlesInternals.paths||{},s.__tsParticlesInternals.plugins=s.__tsParticlesInternals.plugins||{},s.__tsParticlesInternals.plugins=s.__tsParticlesInternals.plugins||{},s.__tsParticlesInternals.plugins.emittersShapes=s.__tsParticlesInternals.plugins.emittersShapes||{},s.__tsParticlesInternals.presets=s.__tsParticlesInternals.presets||{},s.__tsParticlesInternals.shapes=s.__tsParticlesInternals.shapes||{},s.__tsParticlesInternals.updaters=s.__tsParticlesInternals.updaters||{},s.__tsParticlesInternals.utils=s.__tsParticlesInternals.utils||{},s.__tsParticlesInternals.canvas=s.__tsParticlesInternals.canvas||{},s.__tsParticlesInternals.canvas=s.__tsParticlesInternals.canvas||{},s.__tsParticlesInternals.canvas.utils=s.__tsParticlesInternals.canvas.utils||{},s.__tsParticlesInternals.path=s.__tsParticlesInternals.path||{},s.__tsParticlesInternals.path=s.__tsParticlesInternals.path||{},s.__tsParticlesInternals.path.utils=s.__tsParticlesInternals.path.utils||{};var t="undefined"!=typeof Proxy?function(s){return new Proxy(s,{get:function(s,t){return t in s||(s[t]={}),s[t]}})}:function(s){return s};s.__tsParticlesInternals.bundles=t(s.__tsParticlesInternals.bundles),s.__tsParticlesInternals.effects=t(s.__tsParticlesInternals.effects),s.__tsParticlesInternals.interactions=t(s.__tsParticlesInternals.interactions),s.__tsParticlesInternals.palettes=t(s.__tsParticlesInternals.palettes),s.__tsParticlesInternals.paths=t(s.__tsParticlesInternals.paths),s.__tsParticlesInternals.plugins=t(s.__tsParticlesInternals.plugins),s.__tsParticlesInternals.plugins.emittersShapes=t(s.__tsParticlesInternals.plugins.emittersShapes),s.__tsParticlesInternals.presets=t(s.__tsParticlesInternals.presets),s.__tsParticlesInternals.shapes=t(s.__tsParticlesInternals.shapes),s.__tsParticlesInternals.updaters=t(s.__tsParticlesInternals.updaters),s.__tsParticlesInternals.utils=t(s.__tsParticlesInternals.utils),s.__tsParticlesInternals.canvas=t(s.__tsParticlesInternals.canvas),s.__tsParticlesInternals.path=t(s.__tsParticlesInternals.path),s.tsparticlesInternalExports=s.tsparticlesInternalExports||{}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:this),function(s,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@tsparticles/basic"),require("@tsparticles/plugin-emitters/plugin"),require("@tsparticles/engine")):"function"==typeof define&&define.amd?define(["exports","@tsparticles/basic","@tsparticles/plugin-emitters/plugin","@tsparticles/engine"],t):t(((s="undefined"!=typeof globalThis?globalThis:s||self).__tsParticlesInternals=s.__tsParticlesInternals||{},s.__tsParticlesInternals.presets=s.__tsParticlesInternals.presets||{},s.__tsParticlesInternals.presets.bubbles=s.__tsParticlesInternals.presets.bubbles||{}),s.__tsParticlesInternals.bundles.basic,s.__tsParticlesInternals.plugins["emitters/plugin"],s.__tsParticlesInternals.engine)}(this,function(s,t,e,n){"use strict";const a={fpsLimit:120,particles:{paint:{fill:{color:{value:"random"},enable:!0}},shape:{type:"circle"},opacity:{value:.3},size:{value:{min:5,max:10}},move:{angle:{offset:0,value:30},enable:!0,speed:15,direction:n.MoveDirection.top,random:!1,straight:!1,outModes:{default:n.OutMode.destroy}}},detectRetina:!0,background:{color:"#fff"},emitters:[{direction:n.MoveDirection.top,position:{y:100},life:{duration:3,delay:5,count:0}}]};async function l(s){await s.pluginManager.register(async s=>{await Promise.all([t.loadBasic(s),e.loadEmittersPluginSimple(s)]),s.pluginManager.addPreset("bubbles",a)})}const r=globalThis;r.__tsParticlesInternals=r.__tsParticlesInternals??{},r.loadBubblesPreset=l,s.loadBubblesPreset=l}),Object.assign(globalThis.window||globalThis,{loadBubblesPreset:(globalThis.__tsParticlesInternals.presets.bubbles||{}).loadBubblesPreset}),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 loadBubblesPreset(engine: Engine): Promise<void>;
package/147.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).push([[147],{3147(t,i,s){s.r(i),s.d(i,{EmittersPlugin:()=>a});var o=s(7279),e=s(2008);class a{id="emitters";_instancesManager;constructor(t){this._instancesManager=t}async getPlugin(t){let{EmittersPluginInstance:i}=await s.e(436).then(s.bind(s,5436));return new i(this._instancesManager,t)}loadOptions(t,i,s){(this.needsPlugin(i)||this.needsPlugin(s))&&s?.emitters&&(i.emitters=(0,o.wJ2)(s.emitters,t=>{let i=new e.v;return i.load(t),i}))}needsPlugin(t){if(!t)return!1;let i=t.emitters;return(0,o.cyL)(i)&&!!i.length||void 0!==i}}},2008(t,i,s){s.d(i,{v:()=>d});var o=s(7279);class e{count;delay;duration;wait;constructor(){this.wait=!1}load(t){(0,o.kZJ)(t)||(void 0!==t.count&&(this.count=t.count),void 0!==t.delay&&(this.delay=(0,o.DT4)(t.delay)),void 0!==t.duration&&(this.duration=(0,o.DT4)(t.duration)),void 0!==t.wait&&(this.wait=t.wait))}}class a{delay;quantity;constructor(){this.quantity=1,this.delay=.1}load(t){(0,o.kZJ)(t)||(void 0!==t.quantity&&(this.quantity=(0,o.DT4)(t.quantity)),void 0!==t.delay&&(this.delay=(0,o.DT4)(t.delay)))}}class l{color;opacity;constructor(){this.color=!1,this.opacity=!1}load(t){(0,o.kZJ)(t)||(void 0!==t.color&&(this.color=t.color),void 0!==t.opacity&&(this.opacity=t.opacity))}}class n{options;replace;type;constructor(){this.options={},this.replace=new l,this.type="square"}load(t){(0,o.kZJ)(t)||(void 0!==t.options&&(this.options=(0,o.zwS)({},t.options??{})),this.replace.load(t.replace),void 0!==t.type&&(this.type=t.type))}}var r=s(6898);class h{fill;stroke;load(t){!(0,o.kZJ)(t)&&(t.fill&&(this.fill??=new o.SQl,this.fill.load(t.fill)),t.stroke&&(this.stroke??=new o.tcj,this.stroke.load(t.stroke)))}}class d{autoPlay;direction;domId;fill;life;name;particles;position;rate;shape;size;spawn;spawnFillColor;spawnStrokeColor;startCount;constructor(){this.autoPlay=!0,this.fill=!0,this.life=new e,this.rate=new a,this.shape=new n,this.spawn=new h,this.startCount=0}load(t){(0,o.kZJ)(t)||(void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.size&&(this.size??=new r.G,this.size.load(t.size)),void 0!==t.direction&&(this.direction=t.direction),this.domId=t.domId,void 0!==t.fill&&(this.fill=t.fill),this.life.load(t.life),this.name=t.name,this.particles=(0,o.wJ2)(t.particles,t=>(0,o.zwS)({},t)),this.rate.load(t.rate),this.shape.load(t.shape),this.spawn.load(t.spawn),void 0!==t.position&&(this.position={},void 0!==t.position.x&&(this.position.x=(0,o.DT4)(t.position.x)),void 0!==t.position.y&&(this.position.y=(0,o.DT4)(t.position.y))),void 0!==t.spawnFillColor&&(this.spawnFillColor??=new o.A9e,this.spawnFillColor.load(t.spawnFillColor)),void 0!==t.spawnStrokeColor&&(this.spawnStrokeColor??=new o.A9e,this.spawnStrokeColor.load(t.spawnStrokeColor)),void 0!==t.startCount&&(this.startCount=t.startCount))}}},6898(t,i,s){s.d(i,{G:()=>e});var o=s(7279);class e{height;mode;width;constructor(){this.mode=o.qiC.percent,this.height=0,this.width=0}load(t){(0,o.kZJ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.height&&(this.height=t.height),void 0!==t.width&&(this.width=t.width))}}}}]);
package/155.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).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_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).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/210.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).push([[210],{4210(t,i,s){s.d(i,{EmitterInstance:()=>h});var e=s(7279),o=s(2008),a=s(6898);let n=1;function r(t,i,s,o){(t.paint??=new e.PiR).fill={color:e.A9e.create(void 0,{value:i}),enable:o,opacity:s}}class h{fill;name;options;position;size;spawnFillColor;spawnFillEnabled;spawnFillOpacity;spawnStrokeColor;spawnStrokeOpacity;spawnStrokeWidth;_container;_currentDuration;_currentEmitDelay;_currentSpawnDelay;_duration;_emitDelay;_firstSpawn;_immortal;_initialPosition;_lifeCount;_mutationObserver;_particlesOptions;_paused;_pluginManager;_removeCallback;_resizeObserver;_shape;_size;_spawnDelay;_startParticlesAdded;constructor(t,i,s,a,n){this._pluginManager=t,this._container=i,this._removeCallback=s,this._currentDuration=0,this._currentEmitDelay=0,this._currentSpawnDelay=0,this._initialPosition=n,a instanceof o.v?this.options=a:(this.options=new o.v,this.options.load(a)),this._spawnDelay=i.retina.reduceFactor?(0,e.VGA)(this.options.life.delay??0)*e.XuV/i.retina.reduceFactor:1/0,this.position=this._initialPosition??this._calcPosition(),this.name=this.options.name,this.fill=this.options.fill,this._firstSpawn=!this.options.life.wait,this._startParticlesAdded=!1;const r=(0,e.zwS)({},this.options.particles);if(r.move??={},r.move.direction??=this.options.direction,this.options.spawn.fill?.color&&(this.spawnFillColor=(0,e.R5R)(this._pluginManager,this.options.spawn.fill.color)),this.options.spawn.stroke?.color&&(this.spawnStrokeColor=(0,e.R5R)(this._pluginManager,this.options.spawn.stroke.color)),this._paused=!this.options.autoPlay,this._particlesOptions=r,this._size=this._calcSize(),this.size=(0,e.YCE)(this._size,this._container.canvas.size),this._lifeCount=this.options.life.count??-1,this._immortal=this._lifeCount<=0,this.options.domId){const t=(0,e.T5G)().getElementById(this.options.domId);t&&(this._mutationObserver=new MutationObserver(()=>{this.resize()}),this._resizeObserver=new ResizeObserver(()=>{this.resize()}),this._mutationObserver.observe(t,{attributes:!0,attributeFilter:["style","width","height"]}),this._resizeObserver.observe(t))}const h=this.options.shape,l=this._pluginManager.emitterShapeManager?.getShapeGenerator(h.type);l&&(this._shape=l.generate(this._container,this.position,this.size,this.fill,h.options)),this._container.dispatchEvent("emitterCreated",{emitter:this}),this.play()}externalPause(){this._paused=!0,this.pause()}externalPlay(){this._paused=!1,this.play()}async init(){await this._shape?.init()}pause(){this._paused||delete this._emitDelay}play(){if(this._paused||!((this._lifeCount>0||this._immortal||!this.options.life.count)&&(this._firstSpawn||this._currentSpawnDelay>=(this._spawnDelay??0))))return;let t=this._container;if(void 0===this._emitDelay){let i=(0,e.VGA)(this.options.rate.delay);this._emitDelay=t.retina.reduceFactor?i*e.XuV/t.retina.reduceFactor:1/0}(this._lifeCount>0||this._immortal)&&this._prepareToDie()}resize(){let t=this._initialPosition,i=this._container;this.position=t&&(0,e.Tj8)(t,i.canvas.size,e.Miz.origin)?t:this._calcPosition(),this._size=this._calcSize(),this.size=(0,e.YCE)(this._size,i.canvas.size),this._shape?.resize(this.position,this.size)}update(t){if(this._paused)return;let i=this._container;this._firstSpawn&&(this._firstSpawn=!1,this._currentSpawnDelay=this._spawnDelay??0,this._currentEmitDelay=this._emitDelay??0),this._startParticlesAdded||(this._startParticlesAdded=!0,this._emitParticles(this.options.startCount)),void 0!==this._duration&&(this._currentDuration+=t.value,this._currentDuration>=this._duration&&(this.pause(),void 0!==this._spawnDelay&&delete this._spawnDelay,!this._immortal&&this._lifeCount--,this._lifeCount>0||this._immortal?(this.position=this._calcPosition(),this._shape?.resize(this.position,this.size),this._spawnDelay=i.retina.reduceFactor?(0,e.VGA)(this.options.life.delay??0)*e.XuV/i.retina.reduceFactor:1/0):this._destroy(),this._currentDuration-=this._duration,delete this._duration)),void 0!==this._spawnDelay&&(this._currentSpawnDelay+=t.value,this._currentSpawnDelay>=this._spawnDelay&&(this._container.dispatchEvent("emitterPlay"),this.play(),this._currentSpawnDelay-=this._spawnDelay,delete this._spawnDelay)),void 0!==this._emitDelay&&(this._currentEmitDelay+=t.value,this._currentEmitDelay>=this._emitDelay&&(this._emit(),this._currentEmitDelay-=this._emitDelay))}_calcPosition(){let t=this._container;if(this.options.domId){let i=(0,e.T5G)().getElementById(this.options.domId);if(i){let s=i.getBoundingClientRect(),o=t.retina.pixelRatio;return{x:(s.x+s.width*e.MXx)*o,y:(s.y+s.height*e.MXx)*o}}}return(0,e.l1q)({size:t.canvas.size,position:this.options.position})}_calcSize(){let t,i=this._container;if(this.options.domId){let t=(0,e.T5G)().getElementById(this.options.domId);if(t){let s=t.getBoundingClientRect();return{width:s.width*i.retina.pixelRatio,height:s.height*i.retina.pixelRatio,mode:e.qiC.precise}}}return this.options.size??((t=new a.G).load({height:0,mode:e.qiC.percent,width:0}),t)}_destroy=()=>{this._mutationObserver?.disconnect(),this._mutationObserver=void 0,this._resizeObserver?.disconnect(),this._resizeObserver=void 0,this._removeCallback(this),this._container.dispatchEvent("emitterDestroyed",{emitter:this})};_emit(){if(this._paused)return;let t=(0,e.VGA)(this.options.rate.quantity);this._emitParticles(t)}_emitParticles(t){let i=(0,e.TA3)(this._particlesOptions)??{},s=this.options.spawn.fill?.color.animation,o=this.options.spawn.fill?.enable??!!this.options.spawn.fill?.color,a=this.options.spawn.fill?.opacity===void 0?e.hvP:(0,e.VGA)(this.options.spawn.fill.opacity),n=this.options.spawn.stroke?.color?.animation,h=this.options.spawn.stroke?.opacity===void 0?e.hvP:(0,e.VGA)(this.options.spawn.stroke.opacity),l=this.options.spawn.stroke?.width===void 0?1:(0,e.VGA)(this.options.spawn.stroke.width),p=this._container.retina.reduceFactor,_=!!s,c=!!n,u=!!this._shape,d=_||c,w=d||u,m=d?{h:e.vSh,s:e.euA,l:e.$_c}:null,y=this.options.shape;for(let _=0;_<t*p;_++){let t=w?(0,e.zwS)({},i):i;if(this.spawnFillOpacity=a,this.spawnFillEnabled=o,this.spawnStrokeOpacity=h,this.spawnStrokeWidth=l,this.spawnFillColor&&(s&&m&&(this.spawnFillColor.h=this._setColorAnimation(s.h,this.spawnFillColor.h,m.h,3.6),this.spawnFillColor.s=this._setColorAnimation(s.s,this.spawnFillColor.s,m.s),this.spawnFillColor.l=this._setColorAnimation(s.l,this.spawnFillColor.l,m.l)),r(t,this.spawnFillColor,this.spawnFillOpacity,this.spawnFillEnabled)),this.spawnStrokeColor){var v,f,C;n&&m&&(this.spawnStrokeColor.h=this._setColorAnimation(n.h,this.spawnStrokeColor.h,m.h,3.6),this.spawnStrokeColor.s=this._setColorAnimation(n.s,this.spawnStrokeColor.s,m.s),this.spawnStrokeColor.l=this._setColorAnimation(n.l,this.spawnStrokeColor.l,m.l)),v=this.spawnStrokeColor,f=this.spawnStrokeOpacity,C=this.spawnStrokeWidth,(t.paint??=new e.PiR).stroke={color:e.A9e.create(void 0,{value:v}),opacity:f,width:C}}let p=this.position;if(this._shape){let i=this._shape.randomPosition();if(i){p=i.position;let s=y.replace;s.color&&i.color&&r(t,i.color,s.opacity?i.opacity??e.hvP:e.hvP,!0)}else p=null}p&&this._container.particles.addParticle(p,t)}}_prepareToDie=()=>{if(this._paused)return;let t=void 0!==this.options.life.duration?(0,e.VGA)(this.options.life.duration):void 0;(this._lifeCount>0||this._immortal)&&void 0!==t&&t>0&&(this._duration=t*e.XuV)};_setColorAnimation=(t,i,s,o=n)=>{let a=this._container;if(!t.enable)return i;let r=(0,e.vEz)(t.offset),h=(0,e.VGA)(this.options.rate.delay),l=a.retina.reduceFactor?h*e.XuV/a.retina.reduceFactor:1/0;return(i+(0,e.VGA)(t.speed)*a.fpsLimit/l+r*o)%s}}}}]);
package/349.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).push([[349],{1349(e,t,a){async function s(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:()=>s})}}]);
package/379.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).push([[379],{6379(e,t,r){r.d(t,{ShapeManager:()=>a});let s=new Map;class a{addShapeGenerator(e,t){this.getShapeGenerator(e)||s.set(e,t)}getShapeGenerator(e){return s.get(e)}getSupportedShapeGenerators(){return s.keys()}}}}]);
package/4.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).push([[4],{6623(e,s,i){i.d(s,{SizeUpdater:()=>a});var t=i(7279);class a{_container;constructor(e){this._container=e}init(e){let s=this._container,i=e.options.size.animation;i.enable&&(e.size.velocity=e.retina.sizeAnimationSpeed/t.a56*s.retina.reduceFactor,i.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,s){this.isEnabled(e)&&(0,t.UC0)(e,e.size,!0,e.options.size.animation.destroy,s)}}}}]);
package/415.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).push([[415],{1415(e,s,t){t.d(s,{MovePlugin:()=>n});class n{id="move";_pluginManager;constructor(e){this._pluginManager=e}async getPlugin(e){let{MovePluginInstance:s}=await t.e(807).then(t.bind(t,4807));return new s(this._pluginManager,e)}loadOptions(){}needsPlugin(){return!0}}}}]);
package/425.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).push([[425],{425(e,t,a){async function s(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:()=>s})}}]);
package/434.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).push([[434],{2434(e,a,t){async function r(e){let{ShapeManager:a}=await t.e(379).then(t.bind(t,6379)),r=e.pluginManager;r.emitterShapeManager??=new a,r.addEmitterShapeGenerator??=(e,a)=>{r.emitterShapeManager?.addShapeGenerator(e,a)}}t.r(a),t.d(a,{addEmittersShapesManager:()=>r})}}]);
package/436.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).push([[436],{5436(t,a,e){e.d(a,{EmittersPluginInstance:()=>n});var s=e(7279);class n{container;_instancesManager;constructor(t,a){this.container=a,this._instancesManager=t,this._instancesManager.initContainer(a)}async init(){let t=this.container.actualOptions.emitters;if((0,s.cyL)(t))for(let a of t)await this._instancesManager.addEmitter(this.container,a);else await this._instancesManager.addEmitter(this.container,t)}pause(){for(let t of this._instancesManager.getArray(this.container))t.pause()}play(){for(let t of this._instancesManager.getArray(this.container))t.play()}resize(){for(let t of this._instancesManager.getArray(this.container))t.resize()}stop(){this._instancesManager.clear(this.container)}update(t){this._instancesManager.getArray(this.container).forEach(a=>{a.update(t)})}}}}]);
package/483.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).push([[483],{483(r,e,s){s.d(e,{RgbColorManager:()=>i});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 b=/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 i{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=b.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_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).push([[5],{1005(e,a,t){t.d(a,{CircleDrawer:()=>n});var i=t(7279);class n{draw(e){!function(e){let{context:a,particle:t,radius:n}=e;t.circleRange??={min:0,max:i.R1e};let r=t.circleRange;a.arc(i.boI.x,i.boI.y,n,r.min,r.max,!1)}(e)}getSidesCount(){return 12}particleInit(e,a){let t=a.shapeData,n=t?.angle??{max:360,min:0};a.circleRange=(0,i.Gvm)(n)?{min:(0,i.puj)(n.min),max:(0,i.puj)(n.max)}:{min:0,max:(0,i.puj)(n)}}}}}]);
package/623.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).push([[623],{4623(e,n,t){async function i(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(async e=>{let[{loadHexColorPlugin:n},{loadHslColorPlugin:i},{loadRgbColorPlugin:s},{loadMovePlugin:a},{loadCircleShape:b},{loadPaintUpdater:h},{loadOpacityUpdater:r},{loadOutModesUpdater:c},{loadSizeUpdater:d}]=await Promise.all([t.e(748).then(t.bind(t,2748)),t.e(94).then(t.bind(t,94)),t.e(794).then(t.bind(t,1794)),t.e(69).then(t.bind(t,1069)),t.e(938).then(t.bind(t,5938)),t.e(646).then(t.bind(t,7646)),t.e(349).then(t.bind(t,1349)),t.e(662).then(t.bind(t,7662)),t.e(425).then(t.bind(t,425))]);await Promise.all([n(e),i(e),s(e),a(e),b(e),h(e),r(e),c(e),d(e)])})}t.r(n),t.d(n,{loadBasic:()=>i})}}]);
package/627.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).push([[627],{9627(t,i,s){s.d(i,{EmittersInstancesManager:()=>a});var o=s(7279),e=s(2008);class a{_containerArrays;_pluginManager;constructor(t){this._containerArrays=new Map,this._pluginManager=t}async addEmitter(t,i,o){let a=new e.v;a.load(i);let{EmitterInstance:r}=await s.e(210).then(s.bind(s,4210)),n=new r(this._pluginManager,t,i=>{this.removeEmitter(t,i)},a,o);return await n.init(),this.getArray(t).push(n),n}clear(t){this.initContainer(t),this._containerArrays.set(t,[])}getArray(t){this.initContainer(t);let i=this._containerArrays.get(t);return i||(i=[],this._containerArrays.set(t,i)),i}initContainer(t){this._containerArrays.has(t)||(this._containerArrays.set(t,[]),t.getEmitter=i=>{let s=this.getArray(t);return void 0===i||(0,o.EtT)(i)?s[i??0]:s.find(t=>t.name===i)},t.addEmitter=async(i,s)=>this.addEmitter(t,i,s),t.removeEmitter=i=>{let s=t.getEmitter?.(i);s&&this.removeEmitter(t,s)},t.playEmitter=i=>{let s=t.getEmitter?.(i);s&&s.externalPlay()},t.pauseEmitter=i=>{let s=t.getEmitter?.(i);s&&s.externalPause()})}removeEmitter(t,i){let s=this.getArray(t).indexOf(i);s>=0&&this.getArray(t).splice(s,1)}}},2008(t,i,s){s.d(i,{v:()=>d});var o=s(7279);class e{count;delay;duration;wait;constructor(){this.wait=!1}load(t){(0,o.kZJ)(t)||(void 0!==t.count&&(this.count=t.count),void 0!==t.delay&&(this.delay=(0,o.DT4)(t.delay)),void 0!==t.duration&&(this.duration=(0,o.DT4)(t.duration)),void 0!==t.wait&&(this.wait=t.wait))}}class a{delay;quantity;constructor(){this.quantity=1,this.delay=.1}load(t){(0,o.kZJ)(t)||(void 0!==t.quantity&&(this.quantity=(0,o.DT4)(t.quantity)),void 0!==t.delay&&(this.delay=(0,o.DT4)(t.delay)))}}class r{color;opacity;constructor(){this.color=!1,this.opacity=!1}load(t){(0,o.kZJ)(t)||(void 0!==t.color&&(this.color=t.color),void 0!==t.opacity&&(this.opacity=t.opacity))}}class n{options;replace;type;constructor(){this.options={},this.replace=new r,this.type="square"}load(t){(0,o.kZJ)(t)||(void 0!==t.options&&(this.options=(0,o.zwS)({},t.options??{})),this.replace.load(t.replace),void 0!==t.type&&(this.type=t.type))}}var l=s(6898);class h{fill;stroke;load(t){!(0,o.kZJ)(t)&&(t.fill&&(this.fill??=new o.SQl,this.fill.load(t.fill)),t.stroke&&(this.stroke??=new o.tcj,this.stroke.load(t.stroke)))}}class d{autoPlay;direction;domId;fill;life;name;particles;position;rate;shape;size;spawn;spawnFillColor;spawnStrokeColor;startCount;constructor(){this.autoPlay=!0,this.fill=!0,this.life=new e,this.rate=new a,this.shape=new n,this.spawn=new h,this.startCount=0}load(t){(0,o.kZJ)(t)||(void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.size&&(this.size??=new l.G,this.size.load(t.size)),void 0!==t.direction&&(this.direction=t.direction),this.domId=t.domId,void 0!==t.fill&&(this.fill=t.fill),this.life.load(t.life),this.name=t.name,this.particles=(0,o.wJ2)(t.particles,t=>(0,o.zwS)({},t)),this.rate.load(t.rate),this.shape.load(t.shape),this.spawn.load(t.spawn),void 0!==t.position&&(this.position={},void 0!==t.position.x&&(this.position.x=(0,o.DT4)(t.position.x)),void 0!==t.position.y&&(this.position.y=(0,o.DT4)(t.position.y))),void 0!==t.spawnFillColor&&(this.spawnFillColor??=new o.A9e,this.spawnFillColor.load(t.spawnFillColor)),void 0!==t.spawnStrokeColor&&(this.spawnStrokeColor??=new o.A9e,this.spawnStrokeColor.load(t.spawnStrokeColor)),void 0!==t.startCount&&(this.startCount=t.startCount))}}},6898(t,i,s){s.d(i,{G:()=>e});var o=s(7279);class e{height;mode;width;constructor(){this.mode=o.qiC.percent,this.height=0,this.width=0}load(t){(0,o.kZJ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.height&&(this.height=t.height),void 0!==t.width&&(this.width=t.width))}}}}]);
package/646.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).push([[646],{7646(e,a,t){async function n(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(e=>{e.pluginManager.addParticleUpdater("paint",async a=>{let{PaintUpdater:n}=await t.e(181).then(t.bind(t,2181));return new n(e.pluginManager,a)})})}t.r(a),t.d(a,{loadPaintUpdater:()=>n})}}]);
package/662.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).push([[662],{7662(e,t,a){async function s(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:()=>s})}}]);
package/663.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).push([[663],{4663(t,i,e){e.d(i,{OutOfCanvasUpdater:()=>c});var o=e(7279);class s{container;modes;_particleBouncePlugins;constructor(t){this.container=t,this.modes=[o.Yzx.bounce,o.Yzx.split],this._particleBouncePlugins=t.plugins.filter(t=>void 0!==t.particleBounce)}update(t,i,e,s){if(!this.modes.includes(s))return;let n=this.container,a=!1;for(let o of this._particleBouncePlugins)if(a=o.particleBounce?.(t,e,i)??!1)break;if(a)return;let r=t.getPosition(),d=t.offset,c=t.getRadius(),l=(0,o.AEc)(r,c),p=n.canvas.size;!function(t){if(t.outMode!==o.Yzx.bounce&&t.outMode!==o.Yzx.split||t.direction!==o.v5k.left&&t.direction!==o.v5k.right)return;t.bounds.right<0&&t.direction===o.v5k.left?t.particle.position.x=t.size+t.offset.x:t.bounds.left>t.canvasSize.width&&t.direction===o.v5k.right&&(t.particle.position.x=t.canvasSize.width-t.size-t.offset.x);let i=t.particle.velocity.x,e=!1;if(t.direction===o.v5k.right&&t.bounds.right>=t.canvasSize.width&&i>0||t.direction===o.v5k.left&&t.bounds.left<=0&&i<0){let i=(0,o.VGA)(t.particle.options.bounce.horizontal.value);t.particle.velocity.x*=-i,e=!0}if(!e)return;let s=t.offset.x+t.size;t.bounds.right>=t.canvasSize.width&&t.direction===o.v5k.right?t.particle.position.x=t.canvasSize.width-s:t.bounds.left<=0&&t.direction===o.v5k.left&&(t.particle.position.x=s),t.outMode===o.Yzx.split&&t.particle.destroy()}({particle:t,outMode:s,direction:i,bounds:l,canvasSize:p,offset:d,size:c}),function(t){if(t.outMode!==o.Yzx.bounce&&t.outMode!==o.Yzx.split||t.direction!==o.v5k.bottom&&t.direction!==o.v5k.top)return;t.bounds.bottom<0&&t.direction===o.v5k.top?t.particle.position.y=t.size+t.offset.y:t.bounds.top>t.canvasSize.height&&t.direction===o.v5k.bottom&&(t.particle.position.y=t.canvasSize.height-t.size-t.offset.y);let i=t.particle.velocity.y,e=!1;if(t.direction===o.v5k.bottom&&t.bounds.bottom>=t.canvasSize.height&&i>0||t.direction===o.v5k.top&&t.bounds.top<=0&&i<0){let i=(0,o.VGA)(t.particle.options.bounce.vertical.value);t.particle.velocity.y*=-i,e=!0}if(!e)return;let s=t.offset.y+t.size;t.bounds.bottom>=t.canvasSize.height&&t.direction===o.v5k.bottom?t.particle.position.y=t.canvasSize.height-s:t.bounds.top<=0&&t.direction===o.v5k.top&&(t.particle.position.y=s),t.outMode===o.Yzx.split&&t.particle.destroy()}({particle:t,outMode:s,direction:i,bounds:l,canvasSize:p,offset:d,size:c})}}class n{container;modes;constructor(t){this.container=t,this.modes=[o.Yzx.destroy]}update(t,i,e,s){if(!this.modes.includes(s))return;let n=this.container;switch(t.outType){case o.x_I.normal:case o.x_I.outside:if((0,o.Tj8)(t.position,n.canvas.size,o.boI,t.getRadius(),i))return;break;case o.x_I.inside:{let{dx:i,dy:e}=(0,o.vrU)(t.position,t.moveCenter),{x:s,y:n}=t.velocity;if(s<0&&i>t.moveCenter.radius||n<0&&e>t.moveCenter.radius||s>=0&&i<-t.moveCenter.radius||n>=0&&e<-t.moveCenter.radius)return}}t.destroy(!0)}}class a{container;modes;constructor(t){this.container=t,this.modes=[o.Yzx.none]}update(t,i,e,s){if(!this.modes.includes(s)||((t.options.move.distance.horizontal&&(i===o.v5k.left||i===o.v5k.right))??(t.options.move.distance.vertical&&(i===o.v5k.top||i===o.v5k.bottom))))return;let n=t.options.move.gravity,a=this.container,r=a.canvas.size,d=t.getRadius();if(n.enable){let e=t.position;(!n.inverse&&e.y>r.height+d&&i===o.v5k.bottom||n.inverse&&e.y<-d&&i===o.v5k.top)&&t.destroy()}else{if(t.velocity.y>0&&t.position.y<=r.height+d||t.velocity.y<0&&t.position.y>=-d||t.velocity.x>0&&t.position.x<=r.width+d||t.velocity.x<0&&t.position.x>=-d)return;(0,o.Tj8)(t.position,a.canvas.size,o.boI,d,i)||t.destroy()}}}let r=o.Miz.origin;class d{container;modes;constructor(t){this.container=t,this.modes=[o.Yzx.out]}update(t,i,e,s){if(!this.modes.includes(s))return;let n=this.container;if(t.outType===o.x_I.inside){let{x:i,y:e}=t.velocity;r.setTo(o.boI),r.length=t.moveCenter.radius,r.angle=t.velocity.angle+Math.PI,r.addTo(t.moveCenter);let{dx:s,dy:a}=(0,o.vrU)(t.position,r);if(i<=0&&s>=0||e<=0&&a>=0||i>=0&&s<=0||e>=0&&a<=0)return;t.position.x=Math.floor((0,o.vEz)({min:0,max:n.canvas.size.width})),t.position.y=Math.floor((0,o.vEz)({min:0,max:n.canvas.size.height}));let{dx:d,dy:c}=(0,o.vrU)(t.position,t.moveCenter);t.direction=Math.atan2(-c,-d),t.velocity.angle=t.direction}else{if((0,o.Tj8)(t.position,n.canvas.size,o.boI,t.getRadius(),i))return;switch(t.outType){case o.x_I.outside:{t.position.x=Math.floor((0,o.vEz)({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.x,t.position.y=Math.floor((0,o.vEz)({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.y;let{dx:i,dy:e}=(0,o.vrU)(t.position,t.moveCenter);t.moveCenter.radius&&(t.direction=Math.atan2(e,i),t.velocity.angle=t.direction);break}case o.x_I.normal:{let e=t.options.move.warp,s=n.canvas.size,a={bottom:s.height+t.getRadius()+t.offset.y,left:-t.getRadius()-t.offset.x,right:s.width+t.getRadius()+t.offset.x,top:-t.getRadius()-t.offset.y},r=t.getRadius(),d=(0,o.AEc)(t.position,r);i===o.v5k.right&&d.left>s.width+t.offset.x?(t.position.x=a.left,t.initialPosition.x=t.position.x,e||(t.position.y=(0,o.G0i)()*s.height,t.initialPosition.y=t.position.y)):i===o.v5k.left&&d.right<-t.offset.x&&(t.position.x=a.right,t.initialPosition.x=t.position.x,e||(t.position.y=(0,o.G0i)()*s.height,t.initialPosition.y=t.position.y)),i===o.v5k.bottom&&d.top>s.height+t.offset.y?(e||(t.position.x=(0,o.G0i)()*s.width,t.initialPosition.x=t.position.x),t.position.y=a.top,t.initialPosition.y=t.position.y):i===o.v5k.top&&d.bottom<-t.offset.y&&(e||(t.position.x=(0,o.G0i)()*s.width,t.initialPosition.x=t.position.x),t.position.y=a.bottom,t.initialPosition.y=t.position.y)}}}}}class c{updaters;container;constructor(t){this.container=t,this.updaters=new Map}init(t){this._addUpdaterIfMissing(t,o.Yzx.bounce,t=>new s(t)),this._addUpdaterIfMissing(t,o.Yzx.out,t=>new d(t)),this._addUpdaterIfMissing(t,o.Yzx.destroy,t=>new n(t)),this._addUpdaterIfMissing(t,o.Yzx.none,t=>new a(t))}isEnabled(t){return!t.destroyed&&!t.spawning}update(t,i){let e=t.options.move.outModes;this._updateOutMode(t,i,e.bottom??e.default,o.v5k.bottom),this._updateOutMode(t,i,e.left??e.default,o.v5k.left),this._updateOutMode(t,i,e.right??e.default,o.v5k.right),this._updateOutMode(t,i,e.top??e.default,o.v5k.top)}_addUpdaterIfMissing=(t,i,e)=>{let o=t.options.move.outModes;this.updaters.has(i)||o.default!==i&&o.bottom!==i&&o.left!==i&&o.right!==i&&o.top!==i||this.updaters.set(i,e(this.container))};_updateOutMode=(t,i,e,o)=>{for(let s of this.updaters.values())s.update(t,o,i,e)}}}}]);
package/69.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_bubbles=this.webpackChunk_tsparticles_preset_bubbles||[]).push([[69],{1069(e,a,t){t.r(a),t.d(a,{ensureBaseMoverLoaded:()=>i,loadMovePlugin:()=>n});var r=t(7279);async function n(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(async e=>{let a=e.pluginManager;a.initializers.pathGenerators??=new Map,a.pathGenerators??=new Map,a.addPathGenerator=(e,t)=>{a.initializers.pathGenerators??=new Map,a.initializers.pathGenerators.set(e,t)},a.getPathGenerators=async(e,t=!1)=>(a.initializers.pathGenerators??=new Map,a.pathGenerators??=new Map,(0,r.OtU)(e,a.pathGenerators,a.initializers.pathGenerators,t));let{MovePlugin:n}=await t.e(415).then(t.bind(t,1415));e.pluginManager.addPlugin(new n(e.pluginManager))})}function i(e){if(!e.pluginManager.addPathGenerator)throw Error("tsParticles Base Mover is not loaded")}}}]);