@tsparticles/preset-ambient 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 (64) hide show
  1. package/browser/browser.js +5 -0
  2. package/browser/bundle.js +4 -0
  3. package/browser/index.js +3 -7
  4. package/browser/index.lazy.js +11 -0
  5. package/cjs/browser.js +5 -0
  6. package/cjs/bundle.js +4 -0
  7. package/cjs/index.js +3 -7
  8. package/cjs/index.lazy.js +11 -0
  9. package/esm/browser.js +5 -0
  10. package/esm/bundle.js +4 -0
  11. package/esm/index.js +3 -7
  12. package/esm/index.lazy.js +11 -0
  13. package/package.json +10 -3
  14. package/report.html +4949 -94
  15. package/tsparticles.preset.ambient.bundle.js +5871 -967
  16. package/tsparticles.preset.ambient.bundle.min.js +1 -2
  17. package/tsparticles.preset.ambient.js +122 -352
  18. package/tsparticles.preset.ambient.min.js +1 -2
  19. package/types/browser.d.ts +1 -0
  20. package/types/index.lazy.d.ts +2 -0
  21. package/155.min.js +0 -1
  22. package/181.min.js +0 -1
  23. package/349.min.js +0 -1
  24. package/4.min.js +0 -1
  25. package/415.min.js +0 -1
  26. package/425.min.js +0 -1
  27. package/483.min.js +0 -1
  28. package/5.min.js +0 -1
  29. package/623.min.js +0 -1
  30. package/646.min.js +0 -1
  31. package/662.min.js +0 -1
  32. package/663.min.js +0 -1
  33. package/69.min.js +0 -1
  34. package/748.min.js +0 -1
  35. package/794.min.js +0 -1
  36. package/807.min.js +0 -1
  37. package/819.min.js +0 -1
  38. package/837.min.js +0 -1
  39. package/935.min.js +0 -1
  40. package/938.min.js +0 -1
  41. package/94.min.js +0 -1
  42. package/979.min.js +0 -1
  43. package/bundles_basic_dist_browser_index_js.js +0 -30
  44. package/dist_browser_options_js.js +0 -30
  45. package/engine_dist_browser_Core_Container_js.js +0 -100
  46. package/plugins_colors_hex_dist_browser_HexColorManager_js.js +0 -30
  47. package/plugins_colors_hex_dist_browser_index_js.js +0 -30
  48. package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +0 -30
  49. package/plugins_colors_hsl_dist_browser_index_js.js +0 -30
  50. package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +0 -30
  51. package/plugins_colors_rgb_dist_browser_index_js.js +0 -30
  52. package/plugins_move_dist_browser_MovePluginInstance_js.js +0 -40
  53. package/plugins_move_dist_browser_MovePlugin_js.js +0 -30
  54. package/plugins_move_dist_browser_index_js.js +0 -30
  55. package/shapes_circle_dist_browser_CircleDrawer_js.js +0 -40
  56. package/shapes_circle_dist_browser_index_js.js +0 -30
  57. package/updaters_opacity_dist_browser_OpacityUpdater_js.js +0 -30
  58. package/updaters_opacity_dist_browser_index_js.js +0 -30
  59. package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +0 -80
  60. package/updaters_outModes_dist_browser_index_js.js +0 -30
  61. package/updaters_paint_dist_browser_PaintUpdater_js.js +0 -30
  62. package/updaters_paint_dist_browser_index_js.js +0 -30
  63. package/updaters_size_dist_browser_SizeUpdater_js.js +0 -30
  64. package/updaters_size_dist_browser_index_js.js +0 -30
@@ -1,357 +1,127 @@
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/basic"), require("@tsparticles/engine"));
20
- else if(typeof define === 'function' && define.amd)
21
- define(["@tsparticles/basic", "@tsparticles/engine"], factory);
22
- else {
23
- var a = typeof exports === 'object' ? factory(require("@tsparticles/basic"), require("@tsparticles/engine")) : factory(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_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/engine')) :
5
+ typeof define === 'function' && define.amd ? define(['exports', '@tsparticles/basic', '@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.ambient = global.__tsParticlesInternals.presets.ambient || {}), global.__tsParticlesInternals.bundles.basic, global.__tsParticlesInternals.engine));
7
+ })(this, (function (exports, basic, 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
+ background: {
12
+ color: "#191d1e",
13
+ image: "linear-gradient(0deg, #191d1e 50%,#283139 100%)",
14
+ },
15
+ particles: {
16
+ number: {
17
+ value: 200,
18
+ density: {
19
+ enable: true,
20
+ },
21
+ },
22
+ shape: {
23
+ type: "circle",
24
+ options: {
25
+ circle: [
26
+ {
27
+ particles: {
28
+ paint: {
29
+ fill: {
30
+ enable: false,
31
+ },
32
+ stroke: {
33
+ width: 1,
34
+ color: {
35
+ value: "#0cdbf3",
36
+ },
37
+ },
38
+ },
39
+ opacity: {
40
+ value: { min: 0, max: 0.8 },
41
+ animation: {
42
+ enable: true,
43
+ speed: 0.1,
44
+ },
45
+ },
46
+ size: {
47
+ value: { min: 3, max: 5 },
48
+ },
49
+ },
50
+ },
51
+ {
52
+ particles: {
53
+ paint: {
54
+ fill: {
55
+ color: {
56
+ value: "#6fd2f3",
57
+ },
58
+ enable: true,
59
+ },
60
+ },
61
+ opacity: {
62
+ value: { min: 0, max: 0.6 },
63
+ animation: {
64
+ enable: true,
65
+ speed: 0.1,
66
+ },
67
+ },
68
+ size: {
69
+ value: { min: 5, max: 7 },
70
+ },
71
+ },
72
+ },
73
+ {
74
+ particles: {
75
+ paint: {
76
+ fill: {
77
+ color: {
78
+ value: "#93e9f3",
79
+ },
80
+ enable: true,
81
+ },
82
+ },
83
+ opacity: {
84
+ value: { min: 0, max: 0.4 },
85
+ animation: {
86
+ enable: true,
87
+ speed: 0.1,
88
+ },
89
+ },
90
+ size: {
91
+ value: { min: 10, max: 20 },
92
+ },
93
+ },
94
+ },
95
+ ],
96
+ },
97
+ },
98
+ move: {
99
+ enable: true,
100
+ speed: {
101
+ min: 0.1,
102
+ max: 0.5,
103
+ },
104
+ direction: engine.MoveDirection.none,
105
+ outModes: engine.OutMode.bounce,
106
+ },
107
+ },
108
+ detectRetina: true,
109
+ };
36
110
 
37
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__;
111
+ const presetName = "ambient";
112
+ async function loadAmbientPreset(engine) {
113
+ await engine.pluginManager.register(async (e) => {
114
+ await basic.loadBasic(e);
115
+ e.pluginManager.addPreset(presetName, options);
116
+ });
117
+ }
38
118
 
39
- /***/ },
119
+ const globalObject = globalThis;
120
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
121
+ globalObject.loadAmbientPreset = loadAmbientPreset;
40
122
 
41
- /***/ "@tsparticles/engine"
42
- /*!*********************************************************************************************************************************!*\
43
- !*** external {"commonjs":"@tsparticles/engine","commonjs2":"@tsparticles/engine","amd":"@tsparticles/engine","root":"window"} ***!
44
- \*********************************************************************************************************************************/
45
- (module) {
123
+ exports.loadAmbientPreset = loadAmbientPreset;
46
124
 
47
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_engine__;
48
-
49
- /***/ },
50
-
51
- /***/ "./dist/browser/index.js"
52
- /*!*******************************!*\
53
- !*** ./dist/browser/index.js ***!
54
- \*******************************/
55
- (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
56
-
57
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadAmbientPreset: () => (/* binding */ loadAmbientPreset)\n/* harmony export */ });\nconst presetName = \"ambient\";\nasync function loadAmbientPreset(engine) {\n await engine.pluginManager.register(async (e)=>{\n const [{ loadBasic }, { options }] = await Promise.all([\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/basic */ \"@tsparticles/basic\", 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 ]);\n e.pluginManager.addPreset(presetName, options);\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-ambient/./dist/browser/index.js?\n}");
58
-
59
- /***/ }
60
-
61
- /******/ });
62
- /************************************************************************/
63
- /******/ // The module cache
64
- /******/ var __webpack_module_cache__ = {};
65
- /******/
66
- /******/ // The require function
67
- /******/ function __webpack_require__(moduleId) {
68
- /******/ // Check if module is in cache
69
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
70
- /******/ if (cachedModule !== undefined) {
71
- /******/ return cachedModule.exports;
72
- /******/ }
73
- /******/ // Create a new module (and put it into the cache)
74
- /******/ var module = __webpack_module_cache__[moduleId] = {
75
- /******/ // no module.id needed
76
- /******/ // no module.loaded needed
77
- /******/ exports: {}
78
- /******/ };
79
- /******/
80
- /******/ // Execute the module function
81
- /******/ if (!(moduleId in __webpack_modules__)) {
82
- /******/ delete __webpack_module_cache__[moduleId];
83
- /******/ var e = new Error("Cannot find module '" + moduleId + "'");
84
- /******/ e.code = 'MODULE_NOT_FOUND';
85
- /******/ throw e;
86
- /******/ }
87
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
88
- /******/
89
- /******/ // Return the exports of the module
90
- /******/ return module.exports;
91
- /******/ }
92
- /******/
93
- /******/ // expose the modules object (__webpack_modules__)
94
- /******/ __webpack_require__.m = __webpack_modules__;
95
- /******/
96
- /************************************************************************/
97
- /******/ /* webpack/runtime/create fake namespace object */
98
- /******/ (() => {
99
- /******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
100
- /******/ var leafPrototypes;
101
- /******/ // create a fake namespace object
102
- /******/ // mode & 1: value is a module id, require it
103
- /******/ // mode & 2: merge all properties of value into the ns
104
- /******/ // mode & 4: return value when already ns object
105
- /******/ // mode & 16: return value when it's Promise-like
106
- /******/ // mode & 8|1: behave like require
107
- /******/ __webpack_require__.t = function(value, mode) {
108
- /******/ if(mode & 1) value = this(value);
109
- /******/ if(mode & 8) return value;
110
- /******/ if(typeof value === 'object' && value) {
111
- /******/ if((mode & 4) && value.__esModule) return value;
112
- /******/ if((mode & 16) && typeof value.then === 'function') return value;
113
- /******/ }
114
- /******/ var ns = Object.create(null);
115
- /******/ __webpack_require__.r(ns);
116
- /******/ var def = {};
117
- /******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
118
- /******/ for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {
119
- /******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
120
- /******/ }
121
- /******/ def['default'] = () => (value);
122
- /******/ __webpack_require__.d(ns, def);
123
- /******/ return ns;
124
- /******/ };
125
- /******/ })();
126
- /******/
127
- /******/ /* webpack/runtime/define property getters */
128
- /******/ (() => {
129
- /******/ // define getter functions for harmony exports
130
- /******/ __webpack_require__.d = (exports, definition) => {
131
- /******/ for(var key in definition) {
132
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
133
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
134
- /******/ }
135
- /******/ }
136
- /******/ };
137
- /******/ })();
138
- /******/
139
- /******/ /* webpack/runtime/ensure chunk */
140
- /******/ (() => {
141
- /******/ __webpack_require__.f = {};
142
- /******/ // This file contains only the entry chunk.
143
- /******/ // The chunk loading function for additional chunks
144
- /******/ __webpack_require__.e = (chunkId) => {
145
- /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
146
- /******/ __webpack_require__.f[key](chunkId, promises);
147
- /******/ return promises;
148
- /******/ }, []));
149
- /******/ };
150
- /******/ })();
151
- /******/
152
- /******/ /* webpack/runtime/get javascript chunk filename */
153
- /******/ (() => {
154
- /******/ // This function allow to reference async chunks
155
- /******/ __webpack_require__.u = (chunkId) => {
156
- /******/ // return url for filenames based on template
157
- /******/ return "" + chunkId + ".js";
158
- /******/ };
159
- /******/ })();
160
- /******/
161
- /******/ /* webpack/runtime/global */
162
- /******/ (() => {
163
- /******/ __webpack_require__.g = (function() {
164
- /******/ if (typeof globalThis === 'object') return globalThis;
165
- /******/ try {
166
- /******/ return this || new Function('return this')();
167
- /******/ } catch (e) {
168
- /******/ if (typeof window === 'object') return window;
169
- /******/ }
170
- /******/ })();
171
- /******/ })();
172
- /******/
173
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
174
- /******/ (() => {
175
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
176
- /******/ })();
177
- /******/
178
- /******/ /* webpack/runtime/load script */
179
- /******/ (() => {
180
- /******/ var inProgress = {};
181
- /******/ var dataWebpackPrefix = "@tsparticles/preset-ambient:";
182
- /******/ // loadScript function to load a script via script tag
183
- /******/ __webpack_require__.l = (url, done, key, chunkId) => {
184
- /******/ if(inProgress[url]) { inProgress[url].push(done); return; }
185
- /******/ var script, needAttach;
186
- /******/ if(key !== undefined) {
187
- /******/ var scripts = document.getElementsByTagName("script");
188
- /******/ for(var i = 0; i < scripts.length; i++) {
189
- /******/ var s = scripts[i];
190
- /******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
191
- /******/ }
192
- /******/ }
193
- /******/ if(!script) {
194
- /******/ needAttach = true;
195
- /******/ script = document.createElement('script');
196
- /******/
197
- /******/ script.charset = 'utf-8';
198
- /******/ if (__webpack_require__.nc) {
199
- /******/ script.setAttribute("nonce", __webpack_require__.nc);
200
- /******/ }
201
- /******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
202
- /******/
203
- /******/ script.src = url;
204
- /******/ }
205
- /******/ inProgress[url] = [done];
206
- /******/ var onScriptComplete = (prev, event) => {
207
- /******/ // avoid mem leaks in IE.
208
- /******/ script.onerror = script.onload = null;
209
- /******/ clearTimeout(timeout);
210
- /******/ var doneFns = inProgress[url];
211
- /******/ delete inProgress[url];
212
- /******/ script.parentNode && script.parentNode.removeChild(script);
213
- /******/ doneFns && doneFns.forEach((fn) => (fn(event)));
214
- /******/ if(prev) return prev(event);
215
- /******/ }
216
- /******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
217
- /******/ script.onerror = onScriptComplete.bind(null, script.onerror);
218
- /******/ script.onload = onScriptComplete.bind(null, script.onload);
219
- /******/ needAttach && document.head.appendChild(script);
220
- /******/ };
221
- /******/ })();
222
- /******/
223
- /******/ /* webpack/runtime/make namespace object */
224
- /******/ (() => {
225
- /******/ // define __esModule on exports
226
- /******/ __webpack_require__.r = (exports) => {
227
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
228
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
229
- /******/ }
230
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
231
- /******/ };
232
- /******/ })();
233
- /******/
234
- /******/ /* webpack/runtime/publicPath */
235
- /******/ (() => {
236
- /******/ var scriptUrl;
237
- /******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
238
- /******/ var document = __webpack_require__.g.document;
239
- /******/ if (!scriptUrl && document) {
240
- /******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
241
- /******/ scriptUrl = document.currentScript.src;
242
- /******/ if (!scriptUrl) {
243
- /******/ var scripts = document.getElementsByTagName("script");
244
- /******/ if(scripts.length) {
245
- /******/ var i = scripts.length - 1;
246
- /******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;
247
- /******/ }
248
- /******/ }
249
- /******/ }
250
- /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
251
- /******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
252
- /******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
253
- /******/ scriptUrl = scriptUrl.replace(/^blob:/, "").replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
254
- /******/ __webpack_require__.p = scriptUrl;
255
- /******/ })();
256
- /******/
257
- /******/ /* webpack/runtime/jsonp chunk loading */
258
- /******/ (() => {
259
- /******/ // no baseURI
260
- /******/
261
- /******/ // object to store loaded and loading chunks
262
- /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
263
- /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
264
- /******/ var installedChunks = {
265
- /******/ "tsparticles.preset.ambient": 0
266
- /******/ };
267
- /******/
268
- /******/ __webpack_require__.f.j = (chunkId, promises) => {
269
- /******/ // JSONP chunk loading for javascript
270
- /******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
271
- /******/ if(installedChunkData !== 0) { // 0 means "already installed".
272
- /******/
273
- /******/ // a Promise means "currently loading".
274
- /******/ if(installedChunkData) {
275
- /******/ promises.push(installedChunkData[2]);
276
- /******/ } else {
277
- /******/ if(true) { // all chunks have JS
278
- /******/ // setup Promise in chunk cache
279
- /******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
280
- /******/ promises.push(installedChunkData[2] = promise);
281
- /******/
282
- /******/ // start chunk loading
283
- /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
284
- /******/ // create error before stack unwound to get useful stacktrace later
285
- /******/ var error = new Error();
286
- /******/ var loadingEnded = (event) => {
287
- /******/ if(__webpack_require__.o(installedChunks, chunkId)) {
288
- /******/ installedChunkData = installedChunks[chunkId];
289
- /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
290
- /******/ if(installedChunkData) {
291
- /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
292
- /******/ var realSrc = event && event.target && event.target.src;
293
- /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
294
- /******/ error.name = 'ChunkLoadError';
295
- /******/ error.type = errorType;
296
- /******/ error.request = realSrc;
297
- /******/ installedChunkData[1](error);
298
- /******/ }
299
- /******/ }
300
- /******/ };
301
- /******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
302
- /******/ }
303
- /******/ }
304
- /******/ }
305
- /******/ };
306
- /******/
307
- /******/ // no prefetching
308
- /******/
309
- /******/ // no preloaded
310
- /******/
311
- /******/ // no HMR
312
- /******/
313
- /******/ // no HMR manifest
314
- /******/
315
- /******/ // no on chunks loaded
316
- /******/
317
- /******/ // install a JSONP callback for chunk loading
318
- /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
319
- /******/ var [chunkIds, moreModules, runtime] = data;
320
- /******/ // add "moreModules" to the modules object,
321
- /******/ // then flag all "chunkIds" as loaded and fire callback
322
- /******/ var moduleId, chunkId, i = 0;
323
- /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
324
- /******/ for(moduleId in moreModules) {
325
- /******/ if(__webpack_require__.o(moreModules, moduleId)) {
326
- /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
327
- /******/ }
328
- /******/ }
329
- /******/ if(runtime) var result = runtime(__webpack_require__);
330
- /******/ }
331
- /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
332
- /******/ for(;i < chunkIds.length; i++) {
333
- /******/ chunkId = chunkIds[i];
334
- /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
335
- /******/ installedChunks[chunkId][0]();
336
- /******/ }
337
- /******/ installedChunks[chunkId] = 0;
338
- /******/ }
339
- /******/
340
- /******/ }
341
- /******/
342
- /******/ var chunkLoadingGlobal = this["webpackChunk_tsparticles_preset_ambient"] = this["webpackChunk_tsparticles_preset_ambient"] || [];
343
- /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
344
- /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
345
- /******/ })();
346
- /******/
347
- /************************************************************************/
348
- /******/
349
- /******/ // startup
350
- /******/ // Load entry module and return exports
351
- /******/ // This entry module can't be inlined because the eval devtool is used.
352
- /******/ var __webpack_exports__ = __webpack_require__("./dist/browser/index.js");
353
- /******/
354
- /******/ return __webpack_exports__;
355
- /******/ })()
356
- ;
357
- });
125
+ }));
126
+ Object.assign(globalThis.window || globalThis, { loadAmbientPreset: (globalThis.__tsParticlesInternals.presets.ambient || {}).loadAmbientPreset });
127
+ delete (globalThis.window || globalThis).tsparticlesInternalExports;
@@ -1,2 +1 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/basic"),require("@tsparticles/engine"));else if("function"==typeof define&&define.amd)define(["@tsparticles/basic","@tsparticles/engine"],t);else{var r="object"==typeof exports?t(require("@tsparticles/basic"),require("@tsparticles/engine")):t(e.window,e.window);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(this,(e,t)=>(()=>{"use strict";var r,o,i,n={145(t){t.exports=e},303(e){e.exports=t}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={exports:{}};return n[e](r,r.exports,s),r.exports}s.m=n,p=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.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);s.r(r);var o={};c=c||[null,p({}),p([]),p(p)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~c.indexOf(i);i=p(i))Object.getOwnPropertyNames(i).forEach(t=>o[t]=()=>e[t]);return o.default=()=>e,s.d(r,o),r},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,r)=>(s.f[r](e,t),t),[])),s.u=e=>""+e+".min.js",s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l={},s.l=(e,t,r,o)=>{if(l[e])return void l[e].push(t);if(void 0!==r)for(var i,n,a=document.getElementsByTagName("script"),c=0;c<a.length;c++){var p=a[c];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")=="@tsparticles/preset-ambient:"+r){i=p;break}}i||(n=!0,(i=document.createElement("script")).charset="utf-8",s.nc&&i.setAttribute("nonce",s.nc),i.setAttribute("data-webpack","@tsparticles/preset-ambient:"+r),i.src=e),l[e]=[t];var u=(t,r)=>{i.onerror=i.onload=null,clearTimeout(f);var o=l[e];if(delete l[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(r)),t)return t(r)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),n&&document.head.appendChild(i)},s.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.g.importScripts&&(u=s.g.location+"");var c,p,l,u,f=s.g.document;if(!u&&f&&(f.currentScript&&"SCRIPT"===f.currentScript.tagName.toUpperCase()&&(u=f.currentScript.src),!u)){var d=f.getElementsByTagName("script");if(d.length)for(var b=d.length-1;b>-1&&(!u||!/^http(s?):/.test(u));)u=d[b--].src}if(!u)throw Error("Automatic publicPath is not supported in this browser");s.p=u=u.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r={916:0},s.f.j=(e,t)=>{var o=s.o(r,e)?r[e]:void 0;if(0!==o)if(o)t.push(o[2]);else{var i=new Promise((t,i)=>o=r[e]=[t,i]);t.push(o[2]=i);var n=s.p+s.u(e),a=Error();s.l(n,t=>{if(s.o(r,e)&&(0!==(o=r[e])&&(r[e]=void 0),o)){var i=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;a.message="Loading chunk "+e+` failed.
2
- (`+i+": "+n+")",a.name="ChunkLoadError",a.type=i,a.request=n,o[1](a)}},"chunk-"+e,e)}},o=(e,t)=>{var o,i,[n,a,c]=t,p=0;if(n.some(e=>0!==r[e])){for(o in a)s.o(a,o)&&(s.m[o]=a[o]);c&&c(s)}for(e&&e(t);p<n.length;p++)i=n[p],s.o(r,i)&&r[i]&&r[i][0](),r[i]=0},(i=this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).forEach(o.bind(null,0)),i.push=o.bind(null,i.push.bind(i));var m={};async function g(e){await e.pluginManager.register(async e=>{let[{loadBasic:t},{options:r}]=await Promise.all([Promise.resolve().then(s.t.bind(s,145,19)),s.e(837).then(s.bind(s,837))]);await Promise.all([t(e)]),e.pluginManager.addPreset("ambient",r)})}return s.r(m),s.d(m,{loadAmbientPreset:()=>g}),m})());
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/engine")):"function"==typeof define&&define.amd?define(["exports","@tsparticles/basic","@tsparticles/engine"],s):s(((t="undefined"!=typeof globalThis?globalThis:t||self).__tsParticlesInternals=t.__tsParticlesInternals||{},t.__tsParticlesInternals.presets=t.__tsParticlesInternals.presets||{},t.__tsParticlesInternals.presets.ambient=t.__tsParticlesInternals.presets.ambient||{}),t.__tsParticlesInternals.bundles.basic,t.__tsParticlesInternals.engine)}(this,function(t,s,e){"use strict";const a={fpsLimit:120,background:{color:"#191d1e",image:"linear-gradient(0deg, #191d1e 50%,#283139 100%)"},particles:{number:{value:200,density:{enable:!0}},shape:{type:"circle",options:{circle:[{particles:{paint:{fill:{enable:!1},stroke:{width:1,color:{value:"#0cdbf3"}}},opacity:{value:{min:0,max:.8},animation:{enable:!0,speed:.1}},size:{value:{min:3,max:5}}}},{particles:{paint:{fill:{color:{value:"#6fd2f3"},enable:!0}},opacity:{value:{min:0,max:.6},animation:{enable:!0,speed:.1}},size:{value:{min:5,max:7}}}},{particles:{paint:{fill:{color:{value:"#93e9f3"},enable:!0}},opacity:{value:{min:0,max:.4},animation:{enable:!0,speed:.1}},size:{value:{min:10,max:20}}}}]}},move:{enable:!0,speed:{min:.1,max:.5},direction:e.MoveDirection.none,outModes:e.OutMode.bounce}},detectRetina:!0};async function n(t){await t.pluginManager.register(async t=>{await s.loadBasic(t),t.pluginManager.addPreset("ambient",a)})}const l=globalThis;l.__tsParticlesInternals=l.__tsParticlesInternals??{},l.loadAmbientPreset=n,t.loadAmbientPreset=n}),Object.assign(globalThis.window||globalThis,{loadAmbientPreset:(globalThis.__tsParticlesInternals.presets.ambient||{}).loadAmbientPreset}),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 loadAmbientPreset(engine: Engine): Promise<void>;
package/155.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).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_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).push([[181],{2181(i,e,l){l.d(e,{PaintUpdater:()=>a});var t=l(7279);class a{_container;_pluginManager;constructor(i,e){this._container=e,this._pluginManager=i}init(i){let e=this._container,l=i.options,a=(0,t.TA3)(l.paint,i.id,l.reduceDuplicates),o=a?.fill,n=a?.stroke;if(o){i.fillEnabled=o.enable,i.fillOpacity=(0,t.VGA)(o.opacity),i.fillAnimation=o.color.animation;let l=(0,t.R5R)(this._pluginManager,o.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:a}=i,o=!!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&&(a?.h.value!==void 0&&a.h.enable||a?.s.value!==void 0&&a.s.enable||a?.l.value!==void 0&&a.l.enable);return!i.destroyed&&!i.spawning&&(o||n)}update(i,e){this.isEnabled(i)&&((0,t.JvX)(i.fillColor,e),(0,t.JvX)(i.strokeColor,e))}}}}]);
package/349.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).push([[349],{1349(e,t,a){async function i(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(e=>{e.pluginManager.addParticleUpdater("opacity",async e=>{let{OpacityUpdater:t}=await a.e(155).then(a.bind(a,7155));return new t(e)})})}a.r(t),a.d(t,{loadOpacityUpdater:()=>i})}}]);
package/4.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).push([[4],{6623(e,i,s){s.d(i,{SizeUpdater:()=>a});var t=s(7279);class a{_container;constructor(e){this._container=e}init(e){let i=this._container,s=e.options.size.animation;s.enable&&(e.size.velocity=e.retina.sizeAnimationSpeed/t.a56*i.retina.reduceFactor,s.sync||(e.size.velocity*=(0,t.G0i)()))}isEnabled(e){return!e.destroyed&&!e.spawning&&e.size.enable&&((e.size.maxLoops??0)<=0||(e.size.maxLoops??0)>0&&(e.size.loops??0)<(e.size.maxLoops??0))}reset(e){e.size.time=0,e.size.loops=0}update(e,i){this.isEnabled(e)&&(0,t.UC0)(e,e.size,!0,e.options.size.animation.destroy,i)}}}}]);
package/415.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).push([[415],{1415(e,t,n){n.d(t,{MovePlugin:()=>i});class i{id="move";_pluginManager;constructor(e){this._pluginManager=e}async getPlugin(e){let{MovePluginInstance:t}=await n.e(807).then(n.bind(n,4807));return new t(this._pluginManager,e)}loadOptions(){}needsPlugin(){return!0}}}}]);
package/425.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).push([[425],{425(e,t,a){async function i(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(e=>{e.pluginManager.addParticleUpdater("size",async e=>{let{SizeUpdater:t}=await a.e(4).then(a.bind(a,6623));return new t(e)})})}a.r(t),a.d(t,{loadSizeUpdater:()=>i})}}]);
package/483.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).push([[483],{483(r,e,s){s.d(e,{RgbColorManager:()=>b});var t,a,n=s(7279);(t=a||(a={}))[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=5]="a";let i=/rgba?\(\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i;class b{accepts(r){return r.startsWith("rgb")}handleColor(r){let e=r.value.rgb??r.value;if("r"in e&&"g"in e&&"b"in e)return e}handleRangeColor(r){let e=r.value.rgb??r.value;if("r"in e&&"g"in e&&"b"in e)return{r:(0,n.VGA)(e.r),g:(0,n.VGA)(e.g),b:(0,n.VGA)(e.b)}}parseString(r){if(!this.accepts(r))return;let e=i.exec(r);return e?{a:e.length>4?(0,n.M3Y)(e[a.a]):1,b:parseInt(e[a.b]??"0",10),g:parseInt(e[a.g]??"0",10),r:parseInt(e[a.r]??"0",10)}:void 0}}}}]);
package/5.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).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_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).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:a},{loadMovePlugin:s},{loadCircleShape:h},{loadPaintUpdater:b},{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),a(e),s(e),h(e),b(e),r(e),c(e),d(e)])})}t.r(n),t.d(n,{loadBasic:()=>i})}}]);
package/646.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).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_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).push([[662],{7662(e,t,a){async function n(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:()=>n})}}]);
package/663.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).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_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).push([[69],{1069(e,a,t){t.r(a),t.d(a,{ensureBaseMoverLoaded:()=>i,loadMovePlugin:()=>r});var n=t(7279);async function r(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,n.OtU)(e,a.pathGenerators,a.initializers.pathGenerators,t));let{MovePlugin:r}=await t.e(415).then(t.bind(t,1415));e.pluginManager.addPlugin(new r(e.pluginManager))})}function i(e){if(!e.pluginManager.addPathGenerator)throw Error("tsParticles Base Mover is not loaded")}}}]);
package/748.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).push([[748],{2748(e,a,t){async function n(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(async e=>{let{HexColorManager:a}=await t.e(935).then(t.bind(t,8935));e.pluginManager.addColorManager("hex",new a)})}t.r(a),t.d(a,{loadHexColorPlugin:()=>n})}}]);
package/794.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).push([[794],{1794(e,a,t){async function n(e){e.checkVersion("4.0.0-beta.12"),await e.pluginManager.register(async e=>{let{RgbColorManager:a}=await t.e(483).then(t.bind(t,483));e.pluginManager.addColorManager("rgb",new a)})}t.r(a),t.d(a,{loadRgbColorPlugin:()=>n})}}]);
package/807.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).push([[807],{4807(e,t,i){i.d(t,{MovePluginInstance:()=>n});var a=i(7279);class n{availablePathGenerators;pathGenerators;_container;_pluginManager;constructor(e,t){this._pluginManager=e,this._container=t,this.availablePathGenerators=new Map,this.pathGenerators=new Map}destroy(){this.availablePathGenerators=new Map,this.pathGenerators=new Map}isEnabled(e){return!e.destroyed&&e.options.move.enable}particleCreated(e){let t=e.options.move,i=t.gravity,n=t.path;if(e.moveDecay=a.WH8-(0,a.VGA)(t.decay),e.pathDelay=(0,a.VGA)(n.delay.value)*a.XuV,n.generator){let t=this.pathGenerators.get(n.generator);!t&&(t=this.availablePathGenerators.get(n.generator))&&(this.pathGenerators.set(n.generator,t),t.init()),e.pathGenerator=t}e.gravity={enable:i.enable,acceleration:(0,a.VGA)(i.acceleration),inverse:i.inverse},function(e,t){let i=t.options.move.spin;if(!i.enable)return;let n=i.position??{x:50,y:50},s={x:.01*n.x*e.canvas.size.width,y:.01*n.y*e.canvas.size.height},r=t.getPosition(),o=(0,a.YfF)(r,s),l=(0,a.VGA)(i.acceleration);t.retina.spinAcceleration=l*e.retina.pixelRatio,t.spin={center:s,direction:t.velocity.x>=0?a.pTR.clockwise:a.pTR.counterClockwise,angle:(0,a.G0i)()*a.R1e,radius:o,acceleration:t.retina.spinAcceleration}}(this._container,e)}particleDestroyed(e){let t=e.pathGenerator;t?.reset(e)}particleUpdate(e,t){let i=e.options,n=i.move;if(!n.enable)return;let s=this._container,r=s.retina.pixelRatio,o=e.slow.inRange?e.slow.factor:1,l=s.retina.reduceFactor,c=e.retina.moveSpeed,p=e.retina.moveDrift,h=(0,a.W9e)(i.size.value)*r,y=c*(n.size?e.getRadius()/h:1)*o*(t.factor||1)*a.MXx,v=e.retina.maxSpeed;n.spin.enable?function(e,t,i,n){if(!t.spin)return;let s=t.spin.direction===a.pTR.clockwise,r={x:s?Math.cos:Math.sin,y:s?Math.sin:Math.cos};t.position.x=t.spin.center.x+t.spin.radius*r.x(t.spin.angle)*n,t.position.y=t.spin.center.y+t.spin.radius*r.y(t.spin.angle)*n,t.spin.radius+=t.spin.acceleration*n;let o=Math.max(e.canvas.size.width,e.canvas.size.height),l=o*a.MXx;t.spin.radius>l?(t.spin.radius=l,t.spin.acceleration*=-1):t.spin.radius<0&&(t.spin.radius=0,t.spin.acceleration*=-1),t.spin.angle+=.01*i*(1-t.spin.radius/o)}(s,e,y,l):function(e,t,i,n,s,r,o){!function(e,t){let i=e.options.move.path;if(!i.enable)return;let n=e.pathDelay??0;if(e.lastPathTime<=n){e.lastPathTime+=t.value;return}let s=e.pathGenerator?.generate(e,t);s&&e.velocity.addTo(s),i.clamp&&(e.velocity.x=(0,a.qE8)(e.velocity.x,-1,1),e.velocity.y=(0,a.qE8)(e.velocity.y,-1,1)),e.lastPathTime-=n}(e,o);let l=e.gravity,c=l?.enable&&l.inverse?-1:1;s&&i&&(e.velocity.x+=s*o.factor/(60*i)),l?.enable&&i&&(e.velocity.y+=c*(l.acceleration*o.factor)/(60*i));let p=e.moveDecay;e.velocity.multTo(p??1);let h=e.velocity.mult(i);l?.enable&&n>0&&(!l.inverse&&h.y>=0&&h.y>=n||l.inverse&&h.y<=0&&h.y<=-n)&&(h.y=c*n,i&&(e.velocity.y=h.y/i));let y=e.options.zIndex,v=(1-e.zIndexFactor)**y.velocityRate;h.multTo(v),h.multTo(r);let{position:u}=e;u.addTo(h),t.vibrate&&(u.x+=Math.sin(u.x*Math.cos(u.y))*r,u.y+=Math.cos(u.y*Math.sin(u.x))*r)}(e,n,y,v,p,l,t),function(e){let t=e.initialPosition,{dx:i,dy:n}=(0,a.vrU)(t,e.position),s=Math.abs(i),r=Math.abs(n),{maxDistance:o}=e.retina,l=o.horizontal,c=o.vertical;if(l||c){if((l&&s>=l||c&&r>=c)&&!e.misplaced)e.misplaced=!!l&&s>l||!!c&&r>c,l&&(e.velocity.x=e.velocity.y*a.MXx-e.velocity.x),c&&(e.velocity.y=e.velocity.x*a.MXx-e.velocity.y);else if((!l||s<l)&&(!c||r<c)&&e.misplaced)e.misplaced=!1;else if(e.misplaced){let i=e.position,n=e.velocity;l&&(i.x<t.x&&n.x<0||i.x>t.x&&n.x>0)&&(n.x*=-(0,a.G0i)()),c&&(i.y<t.y&&n.y<0||i.y>t.y&&n.y>0)&&(n.y*=-(0,a.G0i)())}}}(e)}preInit(){return this._init()}redrawInit(){return this._init()}update(){for(let e of this.pathGenerators.values())e.update()}async _init(){let e=await this._pluginManager.getPathGenerators?.(this._container,!0);if(e)for(let t of(this.availablePathGenerators=e,this.pathGenerators=new Map,this.pathGenerators.values()))t.init()}}}}]);
package/819.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).push([[819],{7819(s,e,t){t.d(e,{HslColorManager:()=>h});var a,l,r=t(7279);(a=l||(l={}))[a.h=1]="h",a[a.s=2]="s",a[a.l=3]="l",a[a.a=5]="a";let n=/hsla?\(\s*(\d+)\s*[\s,]\s*(\d+)%\s*[\s,]\s*(\d+)%\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i;class h{accepts(s){return s.startsWith("hsl")}handleColor(s){let e=s.value.hsl??s.value;if("h"in e&&"s"in e&&"l"in e)return(0,r.YLU)(e)}handleRangeColor(s){let e=s.value.hsl??s.value;if("h"in e&&"s"in e&&"l"in e)return(0,r.YLU)({h:(0,r.VGA)(e.h),l:(0,r.VGA)(e.l),s:(0,r.VGA)(e.s)})}parseString(s){if(!this.accepts(s))return;let e=n.exec(s);return e?(0,r.ayx)({a:e.length>4?(0,r.M3Y)(e[l.a]):1,h:Number.parseInt(e[l.h]??"0",10),l:Number.parseInt(e[l.l]??"0",10),s:Number.parseInt(e[l.s]??"0",10)}):void 0}}}}]);
package/837.min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).push([[837],{5837(e,a,i){i.r(a),i.d(a,{options:()=>t});var n=i(7279);let t={fpsLimit:120,background:{color:"#191d1e",image:"linear-gradient(0deg, #191d1e 50%,#283139 100%)"},particles:{number:{value:200,density:{enable:!0}},shape:{type:"circle",options:{circle:[{particles:{paint:{fill:{enable:!1},stroke:{width:1,color:{value:"#0cdbf3"}}},opacity:{value:{min:0,max:.8},animation:{enable:!0,speed:.1}},size:{value:{min:3,max:5}}}},{particles:{paint:{fill:{color:{value:"#6fd2f3"},enable:!0}},opacity:{value:{min:0,max:.6},animation:{enable:!0,speed:.1}},size:{value:{min:5,max:7}}}},{particles:{paint:{fill:{color:{value:"#93e9f3"},enable:!0}},opacity:{value:{min:0,max:.4},animation:{enable:!0,speed:.1}},size:{value:{min:10,max:20}}}}]}},move:{enable:!0,speed:{min:.1,max:.5},direction:n.FWc.none,outModes:n.Yzx.bounce}},detectRetina:!0}}}]);