@tsparticles/preset-confetti-falling 4.0.0-beta.12 → 4.0.0-beta.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/browser.js +5 -0
- package/browser/bundle.js +4 -0
- package/browser/index.js +9 -11
- package/browser/index.lazy.js +29 -0
- package/cjs/browser.js +5 -0
- package/cjs/bundle.js +4 -0
- package/cjs/index.js +9 -11
- package/cjs/index.lazy.js +29 -0
- package/esm/browser.js +5 -0
- package/esm/bundle.js +4 -0
- package/esm/index.js +9 -11
- package/esm/index.lazy.js +29 -0
- package/package.json +17 -10
- package/report.html +4949 -94
- package/tsparticles.preset.confettiFalling.bundle.js +6601 -967
- package/tsparticles.preset.confettiFalling.bundle.min.js +1 -2
- package/tsparticles.preset.confettiFalling.js +124 -417
- package/tsparticles.preset.confettiFalling.min.js +1 -2
- package/types/browser.d.ts +1 -0
- package/types/index.lazy.d.ts +2 -0
- package/127.min.js +0 -1
- package/155.min.js +0 -1
- package/181.min.js +0 -1
- package/210.min.js +0 -1
- package/320.min.js +0 -1
- package/347.min.js +0 -1
- package/349.min.js +0 -1
- package/371.min.js +0 -1
- package/4.min.js +0 -1
- package/415.min.js +0 -1
- package/420.min.js +0 -1
- package/425.min.js +0 -1
- package/439.min.js +0 -1
- package/483.min.js +0 -1
- package/5.min.js +0 -1
- package/515.min.js +0 -1
- package/573.min.js +0 -1
- package/623.min.js +0 -1
- package/646.min.js +0 -1
- package/653.min.js +0 -1
- package/662.min.js +0 -1
- package/663.min.js +0 -1
- package/69.min.js +0 -1
- package/748.min.js +0 -1
- package/791.min.js +0 -1
- package/794.min.js +0 -1
- package/807.min.js +0 -1
- package/819.min.js +0 -1
- package/835.min.js +0 -1
- package/837.min.js +0 -1
- package/93.min.js +0 -1
- package/935.min.js +0 -1
- package/938.min.js +0 -1
- package/94.min.js +0 -1
- package/968.min.js +0 -1
- package/979.min.js +0 -1
- package/987.min.js +0 -1
- package/bundles_basic_dist_browser_index_js.js +0 -30
- package/dist_browser_options_js.js +0 -30
- package/engine_dist_browser_Core_Container_js.js +0 -100
- package/palettes_confetti_confetti_dist_browser_index_js.js +0 -30
- package/palettes_confetti_confetti_dist_browser_options_js.js +0 -30
- package/plugins_colors_hex_dist_browser_HexColorManager_js.js +0 -30
- package/plugins_colors_hex_dist_browser_index_js.js +0 -30
- package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +0 -30
- package/plugins_colors_hsl_dist_browser_index_js.js +0 -30
- package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +0 -30
- package/plugins_colors_rgb_dist_browser_index_js.js +0 -30
- package/plugins_motion_dist_browser_MotionPluginInstance_js.js +0 -30
- package/plugins_motion_dist_browser_MotionPlugin_js.js +0 -50
- package/plugins_motion_dist_browser_index_js.js +0 -30
- package/plugins_move_dist_browser_MovePluginInstance_js.js +0 -40
- package/plugins_move_dist_browser_MovePlugin_js.js +0 -30
- package/plugins_move_dist_browser_index_js.js +0 -30
- package/shapes_circle_dist_browser_CircleDrawer_js.js +0 -40
- package/shapes_circle_dist_browser_index_js.js +0 -30
- package/shapes_square_dist_browser_SquareDrawer_js.js +0 -40
- package/shapes_square_dist_browser_index_js.js +0 -30
- package/updaters_opacity_dist_browser_OpacityUpdater_js.js +0 -30
- package/updaters_opacity_dist_browser_index_js.js +0 -30
- package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +0 -80
- package/updaters_outModes_dist_browser_index_js.js +0 -30
- package/updaters_paint_dist_browser_PaintUpdater_js.js +0 -30
- package/updaters_paint_dist_browser_index_js.js +0 -30
- package/updaters_roll_dist_browser_RollUpdater_js.js +0 -70
- package/updaters_roll_dist_browser_index_js.js +0 -30
- package/updaters_rotate_dist_browser_RotateUpdater_js.js +0 -50
- package/updaters_rotate_dist_browser_index_js.js +0 -30
- package/updaters_size_dist_browser_SizeUpdater_js.js +0 -30
- package/updaters_size_dist_browser_index_js.js +0 -30
- package/updaters_tilt_dist_browser_TiltUpdater_js.js +0 -60
- package/updaters_tilt_dist_browser_index_js.js +0 -30
- package/updaters_wobble_dist_browser_WobbleUpdater_js.js +0 -60
- package/updaters_wobble_dist_browser_index_js.js +0 -30
|
@@ -1,417 +1,124 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
(
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
/******/
|
|
126
|
-
/******/ // The require function
|
|
127
|
-
/******/ function __webpack_require__(moduleId) {
|
|
128
|
-
/******/ // Check if module is in cache
|
|
129
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
130
|
-
/******/ if (cachedModule !== undefined) {
|
|
131
|
-
/******/ return cachedModule.exports;
|
|
132
|
-
/******/ }
|
|
133
|
-
/******/ // Create a new module (and put it into the cache)
|
|
134
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
135
|
-
/******/ // no module.id needed
|
|
136
|
-
/******/ // no module.loaded needed
|
|
137
|
-
/******/ exports: {}
|
|
138
|
-
/******/ };
|
|
139
|
-
/******/
|
|
140
|
-
/******/ // Execute the module function
|
|
141
|
-
/******/ if (!(moduleId in __webpack_modules__)) {
|
|
142
|
-
/******/ delete __webpack_module_cache__[moduleId];
|
|
143
|
-
/******/ var e = new Error("Cannot find module '" + moduleId + "'");
|
|
144
|
-
/******/ e.code = 'MODULE_NOT_FOUND';
|
|
145
|
-
/******/ throw e;
|
|
146
|
-
/******/ }
|
|
147
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
148
|
-
/******/
|
|
149
|
-
/******/ // Return the exports of the module
|
|
150
|
-
/******/ return module.exports;
|
|
151
|
-
/******/ }
|
|
152
|
-
/******/
|
|
153
|
-
/******/ // expose the modules object (__webpack_modules__)
|
|
154
|
-
/******/ __webpack_require__.m = __webpack_modules__;
|
|
155
|
-
/******/
|
|
156
|
-
/************************************************************************/
|
|
157
|
-
/******/ /* webpack/runtime/create fake namespace object */
|
|
158
|
-
/******/ (() => {
|
|
159
|
-
/******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
|
|
160
|
-
/******/ var leafPrototypes;
|
|
161
|
-
/******/ // create a fake namespace object
|
|
162
|
-
/******/ // mode & 1: value is a module id, require it
|
|
163
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
|
164
|
-
/******/ // mode & 4: return value when already ns object
|
|
165
|
-
/******/ // mode & 16: return value when it's Promise-like
|
|
166
|
-
/******/ // mode & 8|1: behave like require
|
|
167
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
|
168
|
-
/******/ if(mode & 1) value = this(value);
|
|
169
|
-
/******/ if(mode & 8) return value;
|
|
170
|
-
/******/ if(typeof value === 'object' && value) {
|
|
171
|
-
/******/ if((mode & 4) && value.__esModule) return value;
|
|
172
|
-
/******/ if((mode & 16) && typeof value.then === 'function') return value;
|
|
173
|
-
/******/ }
|
|
174
|
-
/******/ var ns = Object.create(null);
|
|
175
|
-
/******/ __webpack_require__.r(ns);
|
|
176
|
-
/******/ var def = {};
|
|
177
|
-
/******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
|
|
178
|
-
/******/ for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {
|
|
179
|
-
/******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
|
|
180
|
-
/******/ }
|
|
181
|
-
/******/ def['default'] = () => (value);
|
|
182
|
-
/******/ __webpack_require__.d(ns, def);
|
|
183
|
-
/******/ return ns;
|
|
184
|
-
/******/ };
|
|
185
|
-
/******/ })();
|
|
186
|
-
/******/
|
|
187
|
-
/******/ /* webpack/runtime/define property getters */
|
|
188
|
-
/******/ (() => {
|
|
189
|
-
/******/ // define getter functions for harmony exports
|
|
190
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
191
|
-
/******/ for(var key in definition) {
|
|
192
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
193
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
194
|
-
/******/ }
|
|
195
|
-
/******/ }
|
|
196
|
-
/******/ };
|
|
197
|
-
/******/ })();
|
|
198
|
-
/******/
|
|
199
|
-
/******/ /* webpack/runtime/ensure chunk */
|
|
200
|
-
/******/ (() => {
|
|
201
|
-
/******/ __webpack_require__.f = {};
|
|
202
|
-
/******/ // This file contains only the entry chunk.
|
|
203
|
-
/******/ // The chunk loading function for additional chunks
|
|
204
|
-
/******/ __webpack_require__.e = (chunkId) => {
|
|
205
|
-
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
|
|
206
|
-
/******/ __webpack_require__.f[key](chunkId, promises);
|
|
207
|
-
/******/ return promises;
|
|
208
|
-
/******/ }, []));
|
|
209
|
-
/******/ };
|
|
210
|
-
/******/ })();
|
|
211
|
-
/******/
|
|
212
|
-
/******/ /* webpack/runtime/get javascript chunk filename */
|
|
213
|
-
/******/ (() => {
|
|
214
|
-
/******/ // This function allow to reference async chunks
|
|
215
|
-
/******/ __webpack_require__.u = (chunkId) => {
|
|
216
|
-
/******/ // return url for filenames based on template
|
|
217
|
-
/******/ return "" + chunkId + ".js";
|
|
218
|
-
/******/ };
|
|
219
|
-
/******/ })();
|
|
220
|
-
/******/
|
|
221
|
-
/******/ /* webpack/runtime/global */
|
|
222
|
-
/******/ (() => {
|
|
223
|
-
/******/ __webpack_require__.g = (function() {
|
|
224
|
-
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
225
|
-
/******/ try {
|
|
226
|
-
/******/ return this || new Function('return this')();
|
|
227
|
-
/******/ } catch (e) {
|
|
228
|
-
/******/ if (typeof window === 'object') return window;
|
|
229
|
-
/******/ }
|
|
230
|
-
/******/ })();
|
|
231
|
-
/******/ })();
|
|
232
|
-
/******/
|
|
233
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
234
|
-
/******/ (() => {
|
|
235
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
236
|
-
/******/ })();
|
|
237
|
-
/******/
|
|
238
|
-
/******/ /* webpack/runtime/load script */
|
|
239
|
-
/******/ (() => {
|
|
240
|
-
/******/ var inProgress = {};
|
|
241
|
-
/******/ var dataWebpackPrefix = "@tsparticles/preset-confetti-falling:";
|
|
242
|
-
/******/ // loadScript function to load a script via script tag
|
|
243
|
-
/******/ __webpack_require__.l = (url, done, key, chunkId) => {
|
|
244
|
-
/******/ if(inProgress[url]) { inProgress[url].push(done); return; }
|
|
245
|
-
/******/ var script, needAttach;
|
|
246
|
-
/******/ if(key !== undefined) {
|
|
247
|
-
/******/ var scripts = document.getElementsByTagName("script");
|
|
248
|
-
/******/ for(var i = 0; i < scripts.length; i++) {
|
|
249
|
-
/******/ var s = scripts[i];
|
|
250
|
-
/******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
|
|
251
|
-
/******/ }
|
|
252
|
-
/******/ }
|
|
253
|
-
/******/ if(!script) {
|
|
254
|
-
/******/ needAttach = true;
|
|
255
|
-
/******/ script = document.createElement('script');
|
|
256
|
-
/******/
|
|
257
|
-
/******/ script.charset = 'utf-8';
|
|
258
|
-
/******/ if (__webpack_require__.nc) {
|
|
259
|
-
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
|
260
|
-
/******/ }
|
|
261
|
-
/******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
|
|
262
|
-
/******/
|
|
263
|
-
/******/ script.src = url;
|
|
264
|
-
/******/ }
|
|
265
|
-
/******/ inProgress[url] = [done];
|
|
266
|
-
/******/ var onScriptComplete = (prev, event) => {
|
|
267
|
-
/******/ // avoid mem leaks in IE.
|
|
268
|
-
/******/ script.onerror = script.onload = null;
|
|
269
|
-
/******/ clearTimeout(timeout);
|
|
270
|
-
/******/ var doneFns = inProgress[url];
|
|
271
|
-
/******/ delete inProgress[url];
|
|
272
|
-
/******/ script.parentNode && script.parentNode.removeChild(script);
|
|
273
|
-
/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
|
|
274
|
-
/******/ if(prev) return prev(event);
|
|
275
|
-
/******/ }
|
|
276
|
-
/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
|
|
277
|
-
/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
|
|
278
|
-
/******/ script.onload = onScriptComplete.bind(null, script.onload);
|
|
279
|
-
/******/ needAttach && document.head.appendChild(script);
|
|
280
|
-
/******/ };
|
|
281
|
-
/******/ })();
|
|
282
|
-
/******/
|
|
283
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
284
|
-
/******/ (() => {
|
|
285
|
-
/******/ // define __esModule on exports
|
|
286
|
-
/******/ __webpack_require__.r = (exports) => {
|
|
287
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
288
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
289
|
-
/******/ }
|
|
290
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
291
|
-
/******/ };
|
|
292
|
-
/******/ })();
|
|
293
|
-
/******/
|
|
294
|
-
/******/ /* webpack/runtime/publicPath */
|
|
295
|
-
/******/ (() => {
|
|
296
|
-
/******/ var scriptUrl;
|
|
297
|
-
/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
|
|
298
|
-
/******/ var document = __webpack_require__.g.document;
|
|
299
|
-
/******/ if (!scriptUrl && document) {
|
|
300
|
-
/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
|
|
301
|
-
/******/ scriptUrl = document.currentScript.src;
|
|
302
|
-
/******/ if (!scriptUrl) {
|
|
303
|
-
/******/ var scripts = document.getElementsByTagName("script");
|
|
304
|
-
/******/ if(scripts.length) {
|
|
305
|
-
/******/ var i = scripts.length - 1;
|
|
306
|
-
/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;
|
|
307
|
-
/******/ }
|
|
308
|
-
/******/ }
|
|
309
|
-
/******/ }
|
|
310
|
-
/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
|
|
311
|
-
/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
|
|
312
|
-
/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
|
|
313
|
-
/******/ scriptUrl = scriptUrl.replace(/^blob:/, "").replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
|
|
314
|
-
/******/ __webpack_require__.p = scriptUrl;
|
|
315
|
-
/******/ })();
|
|
316
|
-
/******/
|
|
317
|
-
/******/ /* webpack/runtime/jsonp chunk loading */
|
|
318
|
-
/******/ (() => {
|
|
319
|
-
/******/ // no baseURI
|
|
320
|
-
/******/
|
|
321
|
-
/******/ // object to store loaded and loading chunks
|
|
322
|
-
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
323
|
-
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
|
324
|
-
/******/ var installedChunks = {
|
|
325
|
-
/******/ "tsparticles.preset.confettiFalling": 0
|
|
326
|
-
/******/ };
|
|
327
|
-
/******/
|
|
328
|
-
/******/ __webpack_require__.f.j = (chunkId, promises) => {
|
|
329
|
-
/******/ // JSONP chunk loading for javascript
|
|
330
|
-
/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
|
|
331
|
-
/******/ if(installedChunkData !== 0) { // 0 means "already installed".
|
|
332
|
-
/******/
|
|
333
|
-
/******/ // a Promise means "currently loading".
|
|
334
|
-
/******/ if(installedChunkData) {
|
|
335
|
-
/******/ promises.push(installedChunkData[2]);
|
|
336
|
-
/******/ } else {
|
|
337
|
-
/******/ if(true) { // all chunks have JS
|
|
338
|
-
/******/ // setup Promise in chunk cache
|
|
339
|
-
/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
|
|
340
|
-
/******/ promises.push(installedChunkData[2] = promise);
|
|
341
|
-
/******/
|
|
342
|
-
/******/ // start chunk loading
|
|
343
|
-
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
|
|
344
|
-
/******/ // create error before stack unwound to get useful stacktrace later
|
|
345
|
-
/******/ var error = new Error();
|
|
346
|
-
/******/ var loadingEnded = (event) => {
|
|
347
|
-
/******/ if(__webpack_require__.o(installedChunks, chunkId)) {
|
|
348
|
-
/******/ installedChunkData = installedChunks[chunkId];
|
|
349
|
-
/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
|
|
350
|
-
/******/ if(installedChunkData) {
|
|
351
|
-
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
|
|
352
|
-
/******/ var realSrc = event && event.target && event.target.src;
|
|
353
|
-
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
|
|
354
|
-
/******/ error.name = 'ChunkLoadError';
|
|
355
|
-
/******/ error.type = errorType;
|
|
356
|
-
/******/ error.request = realSrc;
|
|
357
|
-
/******/ installedChunkData[1](error);
|
|
358
|
-
/******/ }
|
|
359
|
-
/******/ }
|
|
360
|
-
/******/ };
|
|
361
|
-
/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
|
|
362
|
-
/******/ }
|
|
363
|
-
/******/ }
|
|
364
|
-
/******/ }
|
|
365
|
-
/******/ };
|
|
366
|
-
/******/
|
|
367
|
-
/******/ // no prefetching
|
|
368
|
-
/******/
|
|
369
|
-
/******/ // no preloaded
|
|
370
|
-
/******/
|
|
371
|
-
/******/ // no HMR
|
|
372
|
-
/******/
|
|
373
|
-
/******/ // no HMR manifest
|
|
374
|
-
/******/
|
|
375
|
-
/******/ // no on chunks loaded
|
|
376
|
-
/******/
|
|
377
|
-
/******/ // install a JSONP callback for chunk loading
|
|
378
|
-
/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
|
|
379
|
-
/******/ var [chunkIds, moreModules, runtime] = data;
|
|
380
|
-
/******/ // add "moreModules" to the modules object,
|
|
381
|
-
/******/ // then flag all "chunkIds" as loaded and fire callback
|
|
382
|
-
/******/ var moduleId, chunkId, i = 0;
|
|
383
|
-
/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
|
|
384
|
-
/******/ for(moduleId in moreModules) {
|
|
385
|
-
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
|
386
|
-
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
387
|
-
/******/ }
|
|
388
|
-
/******/ }
|
|
389
|
-
/******/ if(runtime) var result = runtime(__webpack_require__);
|
|
390
|
-
/******/ }
|
|
391
|
-
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
|
|
392
|
-
/******/ for(;i < chunkIds.length; i++) {
|
|
393
|
-
/******/ chunkId = chunkIds[i];
|
|
394
|
-
/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
395
|
-
/******/ installedChunks[chunkId][0]();
|
|
396
|
-
/******/ }
|
|
397
|
-
/******/ installedChunks[chunkId] = 0;
|
|
398
|
-
/******/ }
|
|
399
|
-
/******/
|
|
400
|
-
/******/ }
|
|
401
|
-
/******/
|
|
402
|
-
/******/ var chunkLoadingGlobal = this["webpackChunk_tsparticles_preset_confetti_falling"] = this["webpackChunk_tsparticles_preset_confetti_falling"] || [];
|
|
403
|
-
/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
|
|
404
|
-
/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
|
|
405
|
-
/******/ })();
|
|
406
|
-
/******/
|
|
407
|
-
/************************************************************************/
|
|
408
|
-
/******/
|
|
409
|
-
/******/ // startup
|
|
410
|
-
/******/ // Load entry module and return exports
|
|
411
|
-
/******/ // This entry module can't be inlined because the eval devtool is used.
|
|
412
|
-
/******/ var __webpack_exports__ = __webpack_require__("./dist/browser/index.js");
|
|
413
|
-
/******/
|
|
414
|
-
/******/ return __webpack_exports__;
|
|
415
|
-
/******/ })()
|
|
416
|
-
;
|
|
417
|
-
});
|
|
1
|
+
(function(g){g.__tsParticlesInternals=g.__tsParticlesInternals||{};g.__tsParticlesInternals.bundles=g.__tsParticlesInternals.bundles||{};g.__tsParticlesInternals.effects=g.__tsParticlesInternals.effects||{};g.__tsParticlesInternals.engine=g.__tsParticlesInternals.engine||{};g.__tsParticlesInternals.interactions=g.__tsParticlesInternals.interactions||{};g.__tsParticlesInternals.palettes=g.__tsParticlesInternals.palettes||{};g.__tsParticlesInternals.paths=g.__tsParticlesInternals.paths||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins.emittersShapes=g.__tsParticlesInternals.plugins.emittersShapes||{};g.__tsParticlesInternals.presets=g.__tsParticlesInternals.presets||{};g.__tsParticlesInternals.shapes=g.__tsParticlesInternals.shapes||{};g.__tsParticlesInternals.updaters=g.__tsParticlesInternals.updaters||{};g.__tsParticlesInternals.utils=g.__tsParticlesInternals.utils||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas.utils=g.__tsParticlesInternals.canvas.utils||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path.utils=g.__tsParticlesInternals.path.utils||{};var __tsProxyFactory=typeof Proxy!=="undefined"?function(obj){return new Proxy(obj,{get:function(target,key){if(!(key in target)){target[key]={};}return target[key];}});}:function(obj){return obj;};g.__tsParticlesInternals.bundles=__tsProxyFactory(g.__tsParticlesInternals.bundles);g.__tsParticlesInternals.effects=__tsProxyFactory(g.__tsParticlesInternals.effects);g.__tsParticlesInternals.interactions=__tsProxyFactory(g.__tsParticlesInternals.interactions);g.__tsParticlesInternals.palettes=__tsProxyFactory(g.__tsParticlesInternals.palettes);g.__tsParticlesInternals.paths=__tsProxyFactory(g.__tsParticlesInternals.paths);g.__tsParticlesInternals.plugins=__tsProxyFactory(g.__tsParticlesInternals.plugins);g.__tsParticlesInternals.plugins.emittersShapes=__tsProxyFactory(g.__tsParticlesInternals.plugins.emittersShapes);g.__tsParticlesInternals.presets=__tsProxyFactory(g.__tsParticlesInternals.presets);g.__tsParticlesInternals.shapes=__tsProxyFactory(g.__tsParticlesInternals.shapes);g.__tsParticlesInternals.updaters=__tsProxyFactory(g.__tsParticlesInternals.updaters);g.__tsParticlesInternals.utils=__tsProxyFactory(g.__tsParticlesInternals.utils);g.__tsParticlesInternals.canvas=__tsProxyFactory(g.__tsParticlesInternals.canvas);g.__tsParticlesInternals.path=__tsProxyFactory(g.__tsParticlesInternals.path);g.tsparticlesInternalExports=g.tsparticlesInternalExports||{};})(typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:this);
|
|
2
|
+
/* Preset v4.0.0-beta.15 */
|
|
3
|
+
(function (global, factory) {
|
|
4
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tsparticles/basic'), require('@tsparticles/palette-confetti'), require('@tsparticles/plugin-motion'), require('@tsparticles/updater-roll'), require('@tsparticles/updater-rotate'), require('@tsparticles/shape-square'), require('@tsparticles/updater-tilt'), require('@tsparticles/updater-wobble')) :
|
|
5
|
+
typeof define === 'function' && define.amd ? define(['exports', '@tsparticles/basic', '@tsparticles/palette-confetti', '@tsparticles/plugin-motion', '@tsparticles/updater-roll', '@tsparticles/updater-rotate', '@tsparticles/shape-square', '@tsparticles/updater-tilt', '@tsparticles/updater-wobble'], factory) :
|
|
6
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.__tsParticlesInternals = global.__tsParticlesInternals || {}, global.__tsParticlesInternals.presets = global.__tsParticlesInternals.presets || {}, global.__tsParticlesInternals.presets.confettiFalling = global.__tsParticlesInternals.presets.confettiFalling || {}), global.__tsParticlesInternals.bundles.basic, global.__tsParticlesInternals.palettes.confetti, global.__tsParticlesInternals.plugins.motion, global.__tsParticlesInternals.updaters.roll, global.__tsParticlesInternals.updaters.rotate, global.__tsParticlesInternals.shapes.square, global.__tsParticlesInternals.updaters.tilt, global.__tsParticlesInternals.updaters.wobble));
|
|
7
|
+
})(this, (function (exports, basic, paletteConfetti, pluginMotion, updaterRoll, updaterRotate, shapeSquare, updaterTilt, updaterWobble) { 'use strict';
|
|
8
|
+
|
|
9
|
+
const options = {
|
|
10
|
+
palette: "confetti",
|
|
11
|
+
background: {
|
|
12
|
+
color: {
|
|
13
|
+
value: "",
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
fullScreen: {
|
|
17
|
+
enable: true,
|
|
18
|
+
zIndex: 100,
|
|
19
|
+
},
|
|
20
|
+
particles: {
|
|
21
|
+
number: {
|
|
22
|
+
value: 200,
|
|
23
|
+
density: {
|
|
24
|
+
enable: true,
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
shape: {
|
|
28
|
+
type: ["square", "circle"],
|
|
29
|
+
},
|
|
30
|
+
size: {
|
|
31
|
+
value: {
|
|
32
|
+
min: 3,
|
|
33
|
+
max: 5,
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
move: {
|
|
37
|
+
enable: true,
|
|
38
|
+
speed: 5,
|
|
39
|
+
direction: "bottom",
|
|
40
|
+
outModes: "out",
|
|
41
|
+
},
|
|
42
|
+
rotate: {
|
|
43
|
+
value: {
|
|
44
|
+
min: 0,
|
|
45
|
+
max: 360,
|
|
46
|
+
},
|
|
47
|
+
direction: "random",
|
|
48
|
+
move: true,
|
|
49
|
+
animation: {
|
|
50
|
+
enable: true,
|
|
51
|
+
speed: 60,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
tilt: {
|
|
55
|
+
direction: "random",
|
|
56
|
+
enable: true,
|
|
57
|
+
value: {
|
|
58
|
+
min: 0,
|
|
59
|
+
max: 360,
|
|
60
|
+
},
|
|
61
|
+
animation: {
|
|
62
|
+
enable: true,
|
|
63
|
+
speed: 60,
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
roll: {
|
|
67
|
+
darken: {
|
|
68
|
+
enable: true,
|
|
69
|
+
value: 30,
|
|
70
|
+
},
|
|
71
|
+
enlighten: {
|
|
72
|
+
enable: true,
|
|
73
|
+
value: 30,
|
|
74
|
+
},
|
|
75
|
+
enable: true,
|
|
76
|
+
mode: "both",
|
|
77
|
+
speed: {
|
|
78
|
+
min: 15,
|
|
79
|
+
max: 25,
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
wobble: {
|
|
83
|
+
distance: 30,
|
|
84
|
+
enable: true,
|
|
85
|
+
move: true,
|
|
86
|
+
speed: {
|
|
87
|
+
min: -15,
|
|
88
|
+
max: 15,
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
motion: {
|
|
93
|
+
disable: true,
|
|
94
|
+
},
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
const presetNames = ["confettiFalling", "confetti-falling"];
|
|
98
|
+
async function loadConfettiFallingPreset(engine) {
|
|
99
|
+
await engine.pluginManager.register(async (e) => {
|
|
100
|
+
await Promise.all([
|
|
101
|
+
basic.loadBasic(e),
|
|
102
|
+
paletteConfetti.loadConfettiPalette(e),
|
|
103
|
+
shapeSquare.loadSquareShape(e),
|
|
104
|
+
pluginMotion.loadMotionPlugin(e),
|
|
105
|
+
updaterWobble.loadWobbleUpdater(e),
|
|
106
|
+
updaterRoll.loadRollUpdater(e),
|
|
107
|
+
updaterRotate.loadRotateUpdater(e),
|
|
108
|
+
updaterTilt.loadTiltUpdater(e),
|
|
109
|
+
]);
|
|
110
|
+
presetNames.forEach(name => {
|
|
111
|
+
e.pluginManager.addPreset(name, options, false);
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
const globalObject = globalThis;
|
|
117
|
+
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
118
|
+
globalObject.loadConfettiFallingPreset = loadConfettiFallingPreset;
|
|
119
|
+
|
|
120
|
+
exports.loadConfettiFallingPreset = loadConfettiFallingPreset;
|
|
121
|
+
|
|
122
|
+
}));
|
|
123
|
+
Object.assign(globalThis.window || globalThis, { loadConfettiFallingPreset: (globalThis.__tsParticlesInternals.presets.confettiFalling || {}).loadConfettiFallingPreset });
|
|
124
|
+
delete (globalThis.window || globalThis).tsparticlesInternalExports;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
!function(e,t){
|
|
2
|
-
(`+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,r[1](s)}},"chunk-"+e,e)}},p=(e,t)=>{var r,i,[o,s,a]=t,n=0;if(o.some(e=>0!==l[e])){for(r in s)f.o(s,r)&&(f.m[r]=s[r]);a&&a(f)}for(e&&e(t);n<o.length;n++)i=o[n],f.o(l,i)&&l[i]&&l[i][0](),l[i]=0},(c=this.webpackChunk_tsparticles_preset_confetti_falling=this.webpackChunk_tsparticles_preset_confetti_falling||[]).forEach(p.bind(null,0)),c.push=p.bind(null,c.push.bind(c));var P={};f.r(P),f.d(P,{loadConfettiFallingPreset:()=>j});let q=["confettiFalling","confetti-falling"];async function j(e){await e.pluginManager.register(async e=>{let[{loadBasic:t},{loadMotionPlugin:r},{loadRotateUpdater:i},{loadSquareShape:o},{loadTiltUpdater:s},{loadWobbleUpdater:a},{loadRollUpdater:n},{loadConfettiPalette:l},{options:p}]=await Promise.all([Promise.resolve().then(f.t.bind(f,145,19)),Promise.resolve().then(f.t.bind(f,235,19)),Promise.resolve().then(f.t.bind(f,668,19)),Promise.resolve().then(f.t.bind(f,400,19)),Promise.resolve().then(f.t.bind(f,844,19)),Promise.resolve().then(f.t.bind(f,238,19)),Promise.resolve().then(f.t.bind(f,544,19)),Promise.resolve().then(f.t.bind(f,251,19)),f.e(837).then(f.bind(f,837))]);await Promise.all([t(e),l(e),o(e),r(e),a(e),n(e),i(e),s(e)]),q.forEach(t=>{e.pluginManager.addPreset(t,p,!1)})})}return P})());
|
|
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 e="undefined"!=typeof Proxy?function(t){return new Proxy(t,{get:function(t,e){return e in t||(t[e]={}),t[e]}})}:function(t){return t};t.__tsParticlesInternals.bundles=e(t.__tsParticlesInternals.bundles),t.__tsParticlesInternals.effects=e(t.__tsParticlesInternals.effects),t.__tsParticlesInternals.interactions=e(t.__tsParticlesInternals.interactions),t.__tsParticlesInternals.palettes=e(t.__tsParticlesInternals.palettes),t.__tsParticlesInternals.paths=e(t.__tsParticlesInternals.paths),t.__tsParticlesInternals.plugins=e(t.__tsParticlesInternals.plugins),t.__tsParticlesInternals.plugins.emittersShapes=e(t.__tsParticlesInternals.plugins.emittersShapes),t.__tsParticlesInternals.presets=e(t.__tsParticlesInternals.presets),t.__tsParticlesInternals.shapes=e(t.__tsParticlesInternals.shapes),t.__tsParticlesInternals.updaters=e(t.__tsParticlesInternals.updaters),t.__tsParticlesInternals.utils=e(t.__tsParticlesInternals.utils),t.__tsParticlesInternals.canvas=e(t.__tsParticlesInternals.canvas),t.__tsParticlesInternals.path=e(t.__tsParticlesInternals.path),t.tsparticlesInternalExports=t.tsparticlesInternalExports||{}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:this),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@tsparticles/basic"),require("@tsparticles/palette-confetti"),require("@tsparticles/plugin-motion"),require("@tsparticles/updater-roll"),require("@tsparticles/updater-rotate"),require("@tsparticles/shape-square"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-wobble")):"function"==typeof define&&define.amd?define(["exports","@tsparticles/basic","@tsparticles/palette-confetti","@tsparticles/plugin-motion","@tsparticles/updater-roll","@tsparticles/updater-rotate","@tsparticles/shape-square","@tsparticles/updater-tilt","@tsparticles/updater-wobble"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self).__tsParticlesInternals=t.__tsParticlesInternals||{},t.__tsParticlesInternals.presets=t.__tsParticlesInternals.presets||{},t.__tsParticlesInternals.presets.confettiFalling=t.__tsParticlesInternals.presets.confettiFalling||{}),t.__tsParticlesInternals.bundles.basic,t.__tsParticlesInternals.palettes.confetti,t.__tsParticlesInternals.plugins.motion,t.__tsParticlesInternals.updaters.roll,t.__tsParticlesInternals.updaters.rotate,t.__tsParticlesInternals.shapes.square,t.__tsParticlesInternals.updaters.tilt,t.__tsParticlesInternals.updaters.wobble)}(this,function(t,e,s,a,l,n,r,i,_){"use strict";const c={palette:"confetti",background:{color:{value:""}},fullScreen:{enable:!0,zIndex:100},particles:{number:{value:200,density:{enable:!0}},shape:{type:["square","circle"]},size:{value:{min:3,max:5}},move:{enable:!0,speed:5,direction:"bottom",outModes:"out"},rotate:{value:{min:0,max:360},direction:"random",move:!0,animation:{enable:!0,speed:60}},tilt:{direction:"random",enable:!0,value:{min:0,max:360},animation:{enable:!0,speed:60}},roll:{darken:{enable:!0,value:30},enlighten:{enable:!0,value:30},enable:!0,mode:"both",speed:{min:15,max:25}},wobble:{distance:30,enable:!0,move:!0,speed:{min:-15,max:15}}},motion:{disable:!0}},o=["confettiFalling","confetti-falling"];async function p(t){await t.pluginManager.register(async t=>{await Promise.all([e.loadBasic(t),s.loadConfettiPalette(t),r.loadSquareShape(t),a.loadMotionPlugin(t),_.loadWobbleUpdater(t),l.loadRollUpdater(t),n.loadRotateUpdater(t),i.loadTiltUpdater(t)]),o.forEach(e=>{t.pluginManager.addPreset(e,c,!1)})})}const P=globalThis;P.__tsParticlesInternals=P.__tsParticlesInternals??{},P.loadConfettiFallingPreset=p,t.loadConfettiFallingPreset=p}),Object.assign(globalThis.window||globalThis,{loadConfettiFallingPreset:(globalThis.__tsParticlesInternals.presets.confettiFalling||{}).loadConfettiFallingPreset}),delete(globalThis.window||globalThis).tsparticlesInternalExports;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./index.js";
|
package/127.min.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_preset_confetti_falling=this.webpackChunk_tsparticles_preset_confetti_falling||[]).push([[127],{9127(t,e,a){a.r(e),a.d(e,{loadConfettiPalette:()=>i});async function i(t){await t.pluginManager.register(async t=>{let{options:e}=await a.e(573).then(a.bind(a,8573));t.pluginManager.addPalette("confetti",e)})}}}]);
|
package/155.min.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_preset_confetti_falling=this.webpackChunk_tsparticles_preset_confetti_falling||[]).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_confetti_falling=this.webpackChunk_tsparticles_preset_confetti_falling||[]).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_confetti_falling=this.webpackChunk_tsparticles_preset_confetti_falling||[]).push([[210],{4210(t,e,a){a.d(e,{RotateUpdater:()=>s});var i=a(7279);class o{decay;enable;speed;sync;constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(t){(0,i.kZJ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=(0,i.DT4)(t.speed)),void 0!==t.decay&&(this.decay=(0,i.DT4)(t.decay)),void 0!==t.sync&&(this.sync=t.sync))}}class n extends i.PVU{animation;direction;path;constructor(){super(),this.animation=new o,this.direction=i.pTR.clockwise,this.path=!1,this.value=0}load(t){(0,i.kZJ)(t)||(super.load(t),void 0!==t.direction&&(this.direction=t.direction),this.animation.load(t.animation),void 0!==t.path&&(this.path=t.path))}}class s{container;constructor(t){this.container=t}init(t){let e=t.options.rotate;if(!e)return;t.rotate={enable:e.animation.enable,value:(0,i.puj)((0,i.VGA)(e.value)),min:0,max:i.R1e},t.pathRotation=e.path;let a=e.direction;switch(a===i.pTR.random&&(a=Math.floor((0,i.G0i)()*i.gdl)>0?i.pTR.counterClockwise:i.pTR.clockwise),a){case i.pTR.counterClockwise:case"counterClockwise":t.rotate.status=i.H_P.decreasing;break;case i.pTR.clockwise:t.rotate.status=i.H_P.increasing}let o=e.animation;o.enable&&(t.rotate.decay=i.D_O-(0,i.VGA)(o.decay),t.rotate.velocity=(0,i.VGA)(o.speed)/360*this.container.retina.reduceFactor,o.sync||(t.rotate.velocity*=(0,i.G0i)())),t.rotation=t.rotate.value}isEnabled(t){let e=t.options.rotate;return!!e&&!t.destroyed&&!t.spawning&&(!!e.value||e.animation.enable||e.path)}loadOptions(t,...e){for(let a of(t.rotate??=new n,e))t.rotate.load(a?.rotate)}update(t,e){!this.isEnabled(t)||(t.isRotating=!!t.rotate,t.rotate&&((0,i.UC0)(t,t.rotate,!1,i.VKE.none,e),t.rotation=t.rotate.value))}}}}]);
|