@tsparticles/preset-confetti 3.2.0 → 4.0.0-alpha.0

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 (137) hide show
  1. package/125.min.js +2 -0
  2. package/125.min.js.LICENSE.txt +1 -0
  3. package/171.min.js +2 -0
  4. package/171.min.js.LICENSE.txt +1 -0
  5. package/213.min.js +2 -0
  6. package/213.min.js.LICENSE.txt +1 -0
  7. package/22.min.js +2 -0
  8. package/22.min.js.LICENSE.txt +1 -0
  9. package/227.min.js +2 -0
  10. package/227.min.js.LICENSE.txt +1 -0
  11. package/237.min.js +2 -0
  12. package/237.min.js.LICENSE.txt +1 -0
  13. package/264.min.js +2 -0
  14. package/264.min.js.LICENSE.txt +1 -0
  15. package/267.min.js +2 -0
  16. package/267.min.js.LICENSE.txt +1 -0
  17. package/283.min.js +2 -0
  18. package/283.min.js.LICENSE.txt +1 -0
  19. package/293.min.js +2 -0
  20. package/293.min.js.LICENSE.txt +1 -0
  21. package/302.min.js +2 -0
  22. package/302.min.js.LICENSE.txt +1 -0
  23. package/313.min.js +2 -0
  24. package/313.min.js.LICENSE.txt +1 -0
  25. package/349.min.js +2 -0
  26. package/349.min.js.LICENSE.txt +1 -0
  27. package/358.min.js +2 -0
  28. package/358.min.js.LICENSE.txt +1 -0
  29. package/365.min.js +2 -0
  30. package/365.min.js.LICENSE.txt +1 -0
  31. package/379.min.js +2 -0
  32. package/379.min.js.LICENSE.txt +1 -0
  33. package/397.min.js +2 -0
  34. package/397.min.js.LICENSE.txt +1 -0
  35. package/418.min.js +2 -0
  36. package/418.min.js.LICENSE.txt +1 -0
  37. package/453.min.js +2 -0
  38. package/453.min.js.LICENSE.txt +1 -0
  39. package/455.min.js +2 -0
  40. package/455.min.js.LICENSE.txt +1 -0
  41. package/459.min.js +2 -0
  42. package/459.min.js.LICENSE.txt +1 -0
  43. package/481.min.js +2 -0
  44. package/481.min.js.LICENSE.txt +1 -0
  45. package/509.min.js +2 -0
  46. package/509.min.js.LICENSE.txt +1 -0
  47. package/527.min.js +2 -0
  48. package/527.min.js.LICENSE.txt +1 -0
  49. package/595.min.js +2 -0
  50. package/595.min.js.LICENSE.txt +1 -0
  51. package/621.min.js +2 -0
  52. package/621.min.js.LICENSE.txt +1 -0
  53. package/633.min.js +2 -0
  54. package/633.min.js.LICENSE.txt +1 -0
  55. package/637.min.js +2 -0
  56. package/637.min.js.LICENSE.txt +1 -0
  57. package/669.min.js +2 -0
  58. package/669.min.js.LICENSE.txt +1 -0
  59. package/679.min.js +2 -0
  60. package/679.min.js.LICENSE.txt +1 -0
  61. package/717.min.js +2 -0
  62. package/717.min.js.LICENSE.txt +1 -0
  63. package/751.min.js +2 -0
  64. package/751.min.js.LICENSE.txt +1 -0
  65. package/801.min.js +2 -0
  66. package/801.min.js.LICENSE.txt +1 -0
  67. package/802.min.js +2 -0
  68. package/802.min.js.LICENSE.txt +1 -0
  69. package/803.min.js +2 -0
  70. package/803.min.js.LICENSE.txt +1 -0
  71. package/819.min.js +2 -0
  72. package/819.min.js.LICENSE.txt +1 -0
  73. package/926.min.js +2 -0
  74. package/926.min.js.LICENSE.txt +1 -0
  75. package/98.min.js +2 -0
  76. package/98.min.js.LICENSE.txt +1 -0
  77. package/browser/bundle.js +2 -3
  78. package/browser/index.js +14 -25
  79. package/browser/options.js +2 -1
  80. package/cjs/bundle.js +2 -7
  81. package/cjs/index.js +14 -29
  82. package/cjs/options.js +3 -5
  83. package/dist_browser_options_js.js +30 -0
  84. package/esm/bundle.js +2 -3
  85. package/esm/index.js +14 -25
  86. package/esm/options.js +2 -1
  87. package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_2_node_modules_tsparticles_basic_browser_index_js.js +30 -0
  88. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_2_node_modules_tsparticles_move-base_brow-7d79eb.js +40 -0
  89. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_2_node_modules_tsparticles_move-base_brow-fb148a.js +30 -0
  90. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_2_node_modules_tsparticles_plugin-e-122a51.js +30 -0
  91. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_2_node_modules_tsparticles_plugin-e-6bd6f8.js +50 -0
  92. package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--91288b.js +30 -0
  93. package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--d06b2a.js +30 -0
  94. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--70976c.js +30 -0
  95. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--e141e9.js +30 -0
  96. package/node_modules_pnpm_tsparticles_plugin-motion_4_0_0-alpha_2_node_modules_tsparticles_plugin-mot-003442.js +60 -0
  97. package/node_modules_pnpm_tsparticles_plugin-motion_4_0_0-alpha_2_node_modules_tsparticles_plugin-mot-a95f57.js +30 -0
  98. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--60c9df.js +30 -0
  99. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_2_node_modules_tsparticles_plugin--732407.js +30 -0
  100. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_2_node_modules_tsparticles_shape-circl-c98489.js +40 -0
  101. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_2_node_modules_tsparticles_shape-circl-ce96e8.js +30 -0
  102. package/node_modules_pnpm_tsparticles_shape-square_4_0_0-alpha_2_node_modules_tsparticles_shape-squar-87e5cc.js +40 -0
  103. package/node_modules_pnpm_tsparticles_shape-square_4_0_0-alpha_2_node_modules_tsparticles_shape-squar-9d7fc9.js +30 -0
  104. package/node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_2_node_modules_tsparticles_updater-co-210bd6.js +30 -0
  105. package/node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_2_node_modules_tsparticles_updater-co-6ff909.js +30 -0
  106. package/node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_2_node_modules_tsparticles_updater-lif-50f821.js +30 -0
  107. package/node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_2_node_modules_tsparticles_updater-lif-dbf90f.js +70 -0
  108. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_2_node_modules_tsparticles_updater--4e8c57.js +30 -0
  109. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_2_node_modules_tsparticles_updater--ac14ff.js +30 -0
  110. package/node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_2_node_modules_tsparticles_update-cd317f.js +30 -0
  111. package/node_modules_pnpm_tsparticles_updater-roll_4_0_0-alpha_2_node_modules_tsparticles_updater-rol-4ecdb9.js +30 -0
  112. package/node_modules_pnpm_tsparticles_updater-roll_4_0_0-alpha_2_node_modules_tsparticles_updater-rol-7edbad.js +70 -0
  113. package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_2_node_modules_tsparticles_updater-r-0de212.js +30 -0
  114. package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_2_node_modules_tsparticles_updater-r-e97427.js +50 -0
  115. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_2_node_modules_tsparticles_updater-siz-53e0fe.js +30 -0
  116. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_2_node_modules_tsparticles_updater-siz-aaa117.js +30 -0
  117. package/node_modules_pnpm_tsparticles_updater-tilt_4_0_0-alpha_2_node_modules_tsparticles_updater-til-0b0e86.js +60 -0
  118. package/node_modules_pnpm_tsparticles_updater-tilt_4_0_0-alpha_2_node_modules_tsparticles_updater-til-9ec545.js +30 -0
  119. package/node_modules_pnpm_tsparticles_updater-wobble_4_0_0-alpha_2_node_modules_tsparticles_updater-w-536a35.js +60 -0
  120. package/node_modules_pnpm_tsparticles_updater-wobble_4_0_0-alpha_2_node_modules_tsparticles_updater-w-56b8f6.js +30 -0
  121. package/package.json +26 -13
  122. package/report.html +5 -4
  123. package/tsparticles.preset.confetti.bundle.js +768 -2517
  124. package/tsparticles.preset.confetti.bundle.min.js +1 -1
  125. package/tsparticles.preset.confetti.bundle.min.js.LICENSE.txt +1 -1
  126. package/tsparticles.preset.confetti.js +263 -54
  127. package/tsparticles.preset.confetti.min.js +1 -1
  128. package/tsparticles.preset.confetti.min.js.LICENSE.txt +1 -1
  129. package/types/bundle.d.ts +2 -3
  130. package/types/index.d.ts +1 -1
  131. package/types/options.d.ts +1 -0
  132. package/umd/bundle.js +2 -2
  133. package/umd/index.js +50 -28
  134. package/umd/options.js +3 -2
  135. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_2_node_modules_tsparticles_engine_br-9c0a0f.js +100 -0
  136. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_2_node_modules_tsparticles_-1e60b5.js +110 -0
  137. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_2_node_modules_tsparticle-124574.js +80 -0
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v3.2.0
7
+ * v4.0.0-alpha.0
8
8
  */
9
9
  /*
10
10
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
@@ -16,127 +16,117 @@
16
16
  */
17
17
  (function webpackUniversalModuleDefinition(root, factory) {
18
18
  if(typeof exports === 'object' && typeof module === 'object')
19
- module.exports = factory(require("@tsparticles/basic"), require("@tsparticles/plugin-emitters"), require("@tsparticles/updater-life"), require("@tsparticles/plugin-motion"), require("@tsparticles/updater-roll"), require("@tsparticles/updater-rotate"), require("@tsparticles/shape-square"), require("@tsparticles/updater-tilt"), require("@tsparticles/updater-wobble"));
19
+ module.exports = factory(require("@tsparticles/updater-roll"), require("@tsparticles/updater-life"), require("@tsparticles/updater-wobble"), require("@tsparticles/updater-tilt"), require("@tsparticles/shape-square"), require("@tsparticles/updater-rotate"), require("@tsparticles/plugin-motion"), require("@tsparticles/plugin-emitters"), require("@tsparticles/basic"));
20
20
  else if(typeof define === 'function' && define.amd)
21
- define(["@tsparticles/basic", "@tsparticles/plugin-emitters", "@tsparticles/updater-life", "@tsparticles/plugin-motion", "@tsparticles/updater-roll", "@tsparticles/updater-rotate", "@tsparticles/shape-square", "@tsparticles/updater-tilt", "@tsparticles/updater-wobble"], factory);
21
+ define(["@tsparticles/updater-roll", "@tsparticles/updater-life", "@tsparticles/updater-wobble", "@tsparticles/updater-tilt", "@tsparticles/shape-square", "@tsparticles/updater-rotate", "@tsparticles/plugin-motion", "@tsparticles/plugin-emitters", "@tsparticles/basic"], factory);
22
22
  else {
23
- var a = typeof exports === 'object' ? factory(require("@tsparticles/basic"), require("@tsparticles/plugin-emitters"), require("@tsparticles/updater-life"), require("@tsparticles/plugin-motion"), require("@tsparticles/updater-roll"), require("@tsparticles/updater-rotate"), require("@tsparticles/shape-square"), require("@tsparticles/updater-tilt"), require("@tsparticles/updater-wobble")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"]);
23
+ var a = typeof exports === 'object' ? factory(require("@tsparticles/updater-roll"), require("@tsparticles/updater-life"), require("@tsparticles/updater-wobble"), require("@tsparticles/updater-tilt"), require("@tsparticles/shape-square"), require("@tsparticles/updater-rotate"), require("@tsparticles/plugin-motion"), require("@tsparticles/plugin-emitters"), require("@tsparticles/basic")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"]);
24
24
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
25
25
  }
26
- })(this, (__WEBPACK_EXTERNAL_MODULE__tsparticles_basic__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_life__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_motion__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_roll__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_rotate__, __WEBPACK_EXTERNAL_MODULE__tsparticles_shape_square__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_tilt__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_wobble__) => {
26
+ })(this, (__WEBPACK_EXTERNAL_MODULE__tsparticles_updater_roll__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_life__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_wobble__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_tilt__, __WEBPACK_EXTERNAL_MODULE__tsparticles_shape_square__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_rotate__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_motion__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters__, __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__) => {
27
27
  return /******/ (() => { // webpackBootstrap
28
28
  /******/ "use strict";
29
29
  /******/ var __webpack_modules__ = ({
30
30
 
31
- /***/ "./dist/browser/index.js":
31
+ /***/ "./dist/browser/index.js"
32
32
  /*!*******************************!*\
33
33
  !*** ./dist/browser/index.js ***!
34
34
  \*******************************/
35
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
35
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36
36
 
37
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadConfettiPreset: () => (/* binding */ loadConfettiPreset)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_basic__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/basic */ \"@tsparticles/basic\");\n/* harmony import */ var _tsparticles_basic__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_basic__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @tsparticles/plugin-emitters */ \"@tsparticles/plugin-emitters\");\n/* harmony import */ var _tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _tsparticles_updater_life__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @tsparticles/updater-life */ \"@tsparticles/updater-life\");\n/* harmony import */ var _tsparticles_updater_life__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_life__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _tsparticles_plugin_motion__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @tsparticles/plugin-motion */ \"@tsparticles/plugin-motion\");\n/* harmony import */ var _tsparticles_plugin_motion__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_motion__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @tsparticles/updater-roll */ \"@tsparticles/updater-roll\");\n/* harmony import */ var _tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _tsparticles_updater_rotate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @tsparticles/updater-rotate */ \"@tsparticles/updater-rotate\");\n/* harmony import */ var _tsparticles_updater_rotate__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_rotate__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _tsparticles_shape_square__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @tsparticles/shape-square */ \"@tsparticles/shape-square\");\n/* harmony import */ var _tsparticles_shape_square__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_shape_square__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @tsparticles/updater-tilt */ \"@tsparticles/updater-tilt\");\n/* harmony import */ var _tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @tsparticles/updater-wobble */ \"@tsparticles/updater-wobble\");\n/* harmony import */ var _tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _options_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./options.js */ \"./dist/browser/options.js\");\n\n\n\n\n\n\n\n\n\n\nasync function loadPreset(engine, refresh = true) {\n await (0,_tsparticles_basic__WEBPACK_IMPORTED_MODULE_0__.loadBasic)(engine, false);\n await (0,_tsparticles_shape_square__WEBPACK_IMPORTED_MODULE_6__.loadSquareShape)(engine, false);\n await (0,_tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_1__.loadEmittersPlugin)(engine, false);\n await (0,_tsparticles_plugin_motion__WEBPACK_IMPORTED_MODULE_3__.loadMotionPlugin)(engine, false);\n await (0,_tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_8__.loadWobbleUpdater)(engine, false);\n await (0,_tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_4__.loadRollUpdater)(engine, false);\n await (0,_tsparticles_updater_rotate__WEBPACK_IMPORTED_MODULE_5__.loadRotateUpdater)(engine, false);\n await (0,_tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_7__.loadTiltUpdater)(engine, false);\n await (0,_tsparticles_updater_life__WEBPACK_IMPORTED_MODULE_2__.loadLifeUpdater)(engine, false);\n await engine.addPreset(\"confetti\", _options_js__WEBPACK_IMPORTED_MODULE_9__.options, false);\n await engine.refresh(refresh);\n}\nasync function loadConfettiPreset(engine) {\n await loadPreset(engine);\n}\n\n//# sourceURL=webpack://@tsparticles/preset-confetti/./dist/browser/index.js?");
37
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadConfettiPreset: () => (/* binding */ loadConfettiPreset)\n/* harmony export */ });\nfunction loadConfettiPreset(engine) {\n engine.register(async e => {\n const {\n loadBasic\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/basic */ \"@tsparticles/basic\", 19)),\n {\n loadEmittersPlugin\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-emitters */ \"@tsparticles/plugin-emitters\", 19)),\n {\n loadMotionPlugin\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-motion */ \"@tsparticles/plugin-motion\", 19)),\n {\n loadRotateUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-rotate */ \"@tsparticles/updater-rotate\", 19)),\n {\n loadSquareShape\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/shape-square */ \"@tsparticles/shape-square\", 19)),\n {\n loadTiltUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-tilt */ \"@tsparticles/updater-tilt\", 19)),\n {\n loadWobbleUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-wobble */ \"@tsparticles/updater-wobble\", 19)),\n {\n loadLifeUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-life */ \"@tsparticles/updater-life\", 19)),\n {\n loadRollUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-roll */ \"@tsparticles/updater-roll\", 19)),\n {\n options,\n presetName\n } = await __webpack_require__.e(/*! import() */ \"dist_browser_options_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./options.js */ \"./dist/browser/options.js\"));\n loadBasic(e);\n loadSquareShape(e);\n loadEmittersPlugin(e);\n loadMotionPlugin(e);\n loadWobbleUpdater(e);\n loadRollUpdater(e);\n loadRotateUpdater(e);\n loadTiltUpdater(e);\n loadLifeUpdater(e);\n e.addPreset(presetName, options, false);\n });\n}\n\n//# sourceURL=webpack://@tsparticles/preset-confetti/./dist/browser/index.js?\n}");
38
38
 
39
- /***/ }),
39
+ /***/ },
40
40
 
41
- /***/ "./dist/browser/options.js":
42
- /*!*********************************!*\
43
- !*** ./dist/browser/options.js ***!
44
- \*********************************/
45
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
46
-
47
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ options: () => (/* binding */ options)\n/* harmony export */ });\nconst lifeDurationNum = 20,\n lifeDurationFactor = 6,\n lifeDuration = lifeDurationNum / lifeDurationFactor;\nconst options = {\n fullScreen: {\n enable: true,\n zIndex: 100\n },\n fpsLimit: 120,\n particles: {\n number: {\n value: 0\n },\n color: {\n value: [\"#26ccff\", \"#a25afd\", \"#ff5e7e\", \"#88ff5a\", \"#fcff42\", \"#ffa62d\", \"#ff36ff\"]\n },\n shape: {\n type: [\"square\", \"circle\"]\n },\n opacity: {\n value: {\n min: 0,\n max: 1\n },\n animation: {\n enable: true,\n speed: 0.5,\n startValue: \"max\",\n destroy: \"min\"\n }\n },\n size: {\n value: 5\n },\n links: {\n enable: false\n },\n life: {\n duration: {\n sync: true,\n value: lifeDuration\n },\n count: 1\n },\n move: {\n angle: {\n value: 45,\n offset: 0\n },\n drift: 0,\n enable: true,\n gravity: {\n enable: true,\n acceleration: 9.81\n },\n speed: 45,\n decay: 0.1,\n direction: -90,\n random: true,\n straight: false,\n outModes: {\n default: \"none\",\n bottom: \"destroy\"\n }\n },\n rotate: {\n value: {\n min: 0,\n max: 360\n },\n direction: \"random\",\n animation: {\n enable: true,\n speed: 60\n }\n },\n tilt: {\n direction: \"random\",\n enable: true,\n value: {\n min: 0,\n max: 360\n },\n animation: {\n enable: true,\n speed: 60\n }\n },\n roll: {\n darken: {\n enable: true,\n value: 25\n },\n enable: true,\n speed: {\n min: 15,\n max: 25\n }\n },\n wobble: {\n distance: 30,\n enable: true,\n speed: {\n min: -15,\n max: 15\n }\n }\n },\n detectRetina: true,\n motion: {\n disable: true\n },\n emitters: {\n name: \"confetti\",\n startCount: 50,\n position: {\n x: 50,\n y: 50\n },\n size: {\n width: 0,\n height: 0\n },\n rate: {\n delay: 0,\n quantity: 0\n },\n life: {\n duration: 0.1,\n count: 1\n }\n }\n};\n\n//# sourceURL=webpack://@tsparticles/preset-confetti/./dist/browser/options.js?");
48
-
49
- /***/ }),
50
-
51
- /***/ "@tsparticles/basic":
41
+ /***/ "@tsparticles/basic"
52
42
  /*!******************************************************************************************************************************!*\
53
43
  !*** external {"commonjs":"@tsparticles/basic","commonjs2":"@tsparticles/basic","amd":"@tsparticles/basic","root":"window"} ***!
54
44
  \******************************************************************************************************************************/
55
- /***/ ((module) => {
45
+ (module) {
56
46
 
57
47
  module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__;
58
48
 
59
- /***/ }),
49
+ /***/ },
60
50
 
61
- /***/ "@tsparticles/plugin-emitters":
51
+ /***/ "@tsparticles/plugin-emitters"
62
52
  /*!************************************************************************************************************************************************************!*\
63
53
  !*** external {"commonjs":"@tsparticles/plugin-emitters","commonjs2":"@tsparticles/plugin-emitters","amd":"@tsparticles/plugin-emitters","root":"window"} ***!
64
54
  \************************************************************************************************************************************************************/
65
- /***/ ((module) => {
55
+ (module) {
66
56
 
67
57
  module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters__;
68
58
 
69
- /***/ }),
59
+ /***/ },
70
60
 
71
- /***/ "@tsparticles/plugin-motion":
61
+ /***/ "@tsparticles/plugin-motion"
72
62
  /*!******************************************************************************************************************************************************!*\
73
63
  !*** external {"commonjs":"@tsparticles/plugin-motion","commonjs2":"@tsparticles/plugin-motion","amd":"@tsparticles/plugin-motion","root":"window"} ***!
74
64
  \******************************************************************************************************************************************************/
75
- /***/ ((module) => {
65
+ (module) {
76
66
 
77
67
  module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_motion__;
78
68
 
79
- /***/ }),
69
+ /***/ },
80
70
 
81
- /***/ "@tsparticles/shape-square":
71
+ /***/ "@tsparticles/shape-square"
82
72
  /*!***************************************************************************************************************************************************!*\
83
73
  !*** external {"commonjs":"@tsparticles/shape-square","commonjs2":"@tsparticles/shape-square","amd":"@tsparticles/shape-square","root":"window"} ***!
84
74
  \***************************************************************************************************************************************************/
85
- /***/ ((module) => {
75
+ (module) {
86
76
 
87
77
  module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_shape_square__;
88
78
 
89
- /***/ }),
79
+ /***/ },
90
80
 
91
- /***/ "@tsparticles/updater-life":
81
+ /***/ "@tsparticles/updater-life"
92
82
  /*!***************************************************************************************************************************************************!*\
93
83
  !*** external {"commonjs":"@tsparticles/updater-life","commonjs2":"@tsparticles/updater-life","amd":"@tsparticles/updater-life","root":"window"} ***!
94
84
  \***************************************************************************************************************************************************/
95
- /***/ ((module) => {
85
+ (module) {
96
86
 
97
87
  module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_life__;
98
88
 
99
- /***/ }),
89
+ /***/ },
100
90
 
101
- /***/ "@tsparticles/updater-roll":
91
+ /***/ "@tsparticles/updater-roll"
102
92
  /*!***************************************************************************************************************************************************!*\
103
93
  !*** external {"commonjs":"@tsparticles/updater-roll","commonjs2":"@tsparticles/updater-roll","amd":"@tsparticles/updater-roll","root":"window"} ***!
104
94
  \***************************************************************************************************************************************************/
105
- /***/ ((module) => {
95
+ (module) {
106
96
 
107
97
  module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_roll__;
108
98
 
109
- /***/ }),
99
+ /***/ },
110
100
 
111
- /***/ "@tsparticles/updater-rotate":
101
+ /***/ "@tsparticles/updater-rotate"
112
102
  /*!*********************************************************************************************************************************************************!*\
113
103
  !*** external {"commonjs":"@tsparticles/updater-rotate","commonjs2":"@tsparticles/updater-rotate","amd":"@tsparticles/updater-rotate","root":"window"} ***!
114
104
  \*********************************************************************************************************************************************************/
115
- /***/ ((module) => {
105
+ (module) {
116
106
 
117
107
  module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_rotate__;
118
108
 
119
- /***/ }),
109
+ /***/ },
120
110
 
121
- /***/ "@tsparticles/updater-tilt":
111
+ /***/ "@tsparticles/updater-tilt"
122
112
  /*!***************************************************************************************************************************************************!*\
123
113
  !*** external {"commonjs":"@tsparticles/updater-tilt","commonjs2":"@tsparticles/updater-tilt","amd":"@tsparticles/updater-tilt","root":"window"} ***!
124
114
  \***************************************************************************************************************************************************/
125
- /***/ ((module) => {
115
+ (module) {
126
116
 
127
117
  module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_tilt__;
128
118
 
129
- /***/ }),
119
+ /***/ },
130
120
 
131
- /***/ "@tsparticles/updater-wobble":
121
+ /***/ "@tsparticles/updater-wobble"
132
122
  /*!*********************************************************************************************************************************************************!*\
133
123
  !*** external {"commonjs":"@tsparticles/updater-wobble","commonjs2":"@tsparticles/updater-wobble","amd":"@tsparticles/updater-wobble","root":"window"} ***!
134
124
  \*********************************************************************************************************************************************************/
135
- /***/ ((module) => {
125
+ (module) {
136
126
 
137
127
  module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_wobble__;
138
128
 
139
- /***/ })
129
+ /***/ }
140
130
 
141
131
  /******/ });
142
132
  /************************************************************************/
@@ -150,6 +140,12 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_wobble__;
150
140
  /******/ if (cachedModule !== undefined) {
151
141
  /******/ return cachedModule.exports;
152
142
  /******/ }
143
+ /******/ // Check if module exists (development only)
144
+ /******/ if (__webpack_modules__[moduleId] === undefined) {
145
+ /******/ var e = new Error("Cannot find module '" + moduleId + "'");
146
+ /******/ e.code = 'MODULE_NOT_FOUND';
147
+ /******/ throw e;
148
+ /******/ }
153
149
  /******/ // Create a new module (and put it into the cache)
154
150
  /******/ var module = __webpack_module_cache__[moduleId] = {
155
151
  /******/ // no module.id needed
@@ -164,16 +160,37 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_wobble__;
164
160
  /******/ return module.exports;
165
161
  /******/ }
166
162
  /******/
163
+ /******/ // expose the modules object (__webpack_modules__)
164
+ /******/ __webpack_require__.m = __webpack_modules__;
165
+ /******/
167
166
  /************************************************************************/
168
- /******/ /* webpack/runtime/compat get default export */
167
+ /******/ /* webpack/runtime/create fake namespace object */
169
168
  /******/ (() => {
170
- /******/ // getDefaultExport function for compatibility with non-harmony modules
171
- /******/ __webpack_require__.n = (module) => {
172
- /******/ var getter = module && module.__esModule ?
173
- /******/ () => (module['default']) :
174
- /******/ () => (module);
175
- /******/ __webpack_require__.d(getter, { a: getter });
176
- /******/ return getter;
169
+ /******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
170
+ /******/ var leafPrototypes;
171
+ /******/ // create a fake namespace object
172
+ /******/ // mode & 1: value is a module id, require it
173
+ /******/ // mode & 2: merge all properties of value into the ns
174
+ /******/ // mode & 4: return value when already ns object
175
+ /******/ // mode & 16: return value when it's Promise-like
176
+ /******/ // mode & 8|1: behave like require
177
+ /******/ __webpack_require__.t = function(value, mode) {
178
+ /******/ if(mode & 1) value = this(value);
179
+ /******/ if(mode & 8) return value;
180
+ /******/ if(typeof value === 'object' && value) {
181
+ /******/ if((mode & 4) && value.__esModule) return value;
182
+ /******/ if((mode & 16) && typeof value.then === 'function') return value;
183
+ /******/ }
184
+ /******/ var ns = Object.create(null);
185
+ /******/ __webpack_require__.r(ns);
186
+ /******/ var def = {};
187
+ /******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
188
+ /******/ for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {
189
+ /******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
190
+ /******/ }
191
+ /******/ def['default'] = () => (value);
192
+ /******/ __webpack_require__.d(ns, def);
193
+ /******/ return ns;
177
194
  /******/ };
178
195
  /******/ })();
179
196
  /******/
@@ -189,11 +206,90 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_wobble__;
189
206
  /******/ };
190
207
  /******/ })();
191
208
  /******/
209
+ /******/ /* webpack/runtime/ensure chunk */
210
+ /******/ (() => {
211
+ /******/ __webpack_require__.f = {};
212
+ /******/ // This file contains only the entry chunk.
213
+ /******/ // The chunk loading function for additional chunks
214
+ /******/ __webpack_require__.e = (chunkId) => {
215
+ /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
216
+ /******/ __webpack_require__.f[key](chunkId, promises);
217
+ /******/ return promises;
218
+ /******/ }, []));
219
+ /******/ };
220
+ /******/ })();
221
+ /******/
222
+ /******/ /* webpack/runtime/get javascript chunk filename */
223
+ /******/ (() => {
224
+ /******/ // This function allow to reference async chunks
225
+ /******/ __webpack_require__.u = (chunkId) => {
226
+ /******/ // return url for filenames based on template
227
+ /******/ return "" + chunkId + ".js";
228
+ /******/ };
229
+ /******/ })();
230
+ /******/
231
+ /******/ /* webpack/runtime/global */
232
+ /******/ (() => {
233
+ /******/ __webpack_require__.g = (function() {
234
+ /******/ if (typeof globalThis === 'object') return globalThis;
235
+ /******/ try {
236
+ /******/ return this || new Function('return this')();
237
+ /******/ } catch (e) {
238
+ /******/ if (typeof window === 'object') return window;
239
+ /******/ }
240
+ /******/ })();
241
+ /******/ })();
242
+ /******/
192
243
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
193
244
  /******/ (() => {
194
245
  /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
195
246
  /******/ })();
196
247
  /******/
248
+ /******/ /* webpack/runtime/load script */
249
+ /******/ (() => {
250
+ /******/ var inProgress = {};
251
+ /******/ var dataWebpackPrefix = "@tsparticles/preset-confetti:";
252
+ /******/ // loadScript function to load a script via script tag
253
+ /******/ __webpack_require__.l = (url, done, key, chunkId) => {
254
+ /******/ if(inProgress[url]) { inProgress[url].push(done); return; }
255
+ /******/ var script, needAttach;
256
+ /******/ if(key !== undefined) {
257
+ /******/ var scripts = document.getElementsByTagName("script");
258
+ /******/ for(var i = 0; i < scripts.length; i++) {
259
+ /******/ var s = scripts[i];
260
+ /******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
261
+ /******/ }
262
+ /******/ }
263
+ /******/ if(!script) {
264
+ /******/ needAttach = true;
265
+ /******/ script = document.createElement('script');
266
+ /******/
267
+ /******/ script.charset = 'utf-8';
268
+ /******/ if (__webpack_require__.nc) {
269
+ /******/ script.setAttribute("nonce", __webpack_require__.nc);
270
+ /******/ }
271
+ /******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
272
+ /******/
273
+ /******/ script.src = url;
274
+ /******/ }
275
+ /******/ inProgress[url] = [done];
276
+ /******/ var onScriptComplete = (prev, event) => {
277
+ /******/ // avoid mem leaks in IE.
278
+ /******/ script.onerror = script.onload = null;
279
+ /******/ clearTimeout(timeout);
280
+ /******/ var doneFns = inProgress[url];
281
+ /******/ delete inProgress[url];
282
+ /******/ script.parentNode && script.parentNode.removeChild(script);
283
+ /******/ doneFns && doneFns.forEach((fn) => (fn(event)));
284
+ /******/ if(prev) return prev(event);
285
+ /******/ }
286
+ /******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
287
+ /******/ script.onerror = onScriptComplete.bind(null, script.onerror);
288
+ /******/ script.onload = onScriptComplete.bind(null, script.onload);
289
+ /******/ needAttach && document.head.appendChild(script);
290
+ /******/ };
291
+ /******/ })();
292
+ /******/
197
293
  /******/ /* webpack/runtime/make namespace object */
198
294
  /******/ (() => {
199
295
  /******/ // define __esModule on exports
@@ -205,6 +301,119 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_wobble__;
205
301
  /******/ };
206
302
  /******/ })();
207
303
  /******/
304
+ /******/ /* webpack/runtime/publicPath */
305
+ /******/ (() => {
306
+ /******/ var scriptUrl;
307
+ /******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
308
+ /******/ var document = __webpack_require__.g.document;
309
+ /******/ if (!scriptUrl && document) {
310
+ /******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
311
+ /******/ scriptUrl = document.currentScript.src;
312
+ /******/ if (!scriptUrl) {
313
+ /******/ var scripts = document.getElementsByTagName("script");
314
+ /******/ if(scripts.length) {
315
+ /******/ var i = scripts.length - 1;
316
+ /******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;
317
+ /******/ }
318
+ /******/ }
319
+ /******/ }
320
+ /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
321
+ /******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
322
+ /******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
323
+ /******/ scriptUrl = scriptUrl.replace(/^blob:/, "").replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
324
+ /******/ __webpack_require__.p = scriptUrl;
325
+ /******/ })();
326
+ /******/
327
+ /******/ /* webpack/runtime/jsonp chunk loading */
328
+ /******/ (() => {
329
+ /******/ // no baseURI
330
+ /******/
331
+ /******/ // object to store loaded and loading chunks
332
+ /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
333
+ /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
334
+ /******/ var installedChunks = {
335
+ /******/ "tsparticles.preset.confetti": 0
336
+ /******/ };
337
+ /******/
338
+ /******/ __webpack_require__.f.j = (chunkId, promises) => {
339
+ /******/ // JSONP chunk loading for javascript
340
+ /******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
341
+ /******/ if(installedChunkData !== 0) { // 0 means "already installed".
342
+ /******/
343
+ /******/ // a Promise means "currently loading".
344
+ /******/ if(installedChunkData) {
345
+ /******/ promises.push(installedChunkData[2]);
346
+ /******/ } else {
347
+ /******/ if(true) { // all chunks have JS
348
+ /******/ // setup Promise in chunk cache
349
+ /******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
350
+ /******/ promises.push(installedChunkData[2] = promise);
351
+ /******/
352
+ /******/ // start chunk loading
353
+ /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
354
+ /******/ // create error before stack unwound to get useful stacktrace later
355
+ /******/ var error = new Error();
356
+ /******/ var loadingEnded = (event) => {
357
+ /******/ if(__webpack_require__.o(installedChunks, chunkId)) {
358
+ /******/ installedChunkData = installedChunks[chunkId];
359
+ /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
360
+ /******/ if(installedChunkData) {
361
+ /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
362
+ /******/ var realSrc = event && event.target && event.target.src;
363
+ /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
364
+ /******/ error.name = 'ChunkLoadError';
365
+ /******/ error.type = errorType;
366
+ /******/ error.request = realSrc;
367
+ /******/ installedChunkData[1](error);
368
+ /******/ }
369
+ /******/ }
370
+ /******/ };
371
+ /******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
372
+ /******/ }
373
+ /******/ }
374
+ /******/ }
375
+ /******/ };
376
+ /******/
377
+ /******/ // no prefetching
378
+ /******/
379
+ /******/ // no preloaded
380
+ /******/
381
+ /******/ // no HMR
382
+ /******/
383
+ /******/ // no HMR manifest
384
+ /******/
385
+ /******/ // no on chunks loaded
386
+ /******/
387
+ /******/ // install a JSONP callback for chunk loading
388
+ /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
389
+ /******/ var [chunkIds, moreModules, runtime] = data;
390
+ /******/ // add "moreModules" to the modules object,
391
+ /******/ // then flag all "chunkIds" as loaded and fire callback
392
+ /******/ var moduleId, chunkId, i = 0;
393
+ /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
394
+ /******/ for(moduleId in moreModules) {
395
+ /******/ if(__webpack_require__.o(moreModules, moduleId)) {
396
+ /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
397
+ /******/ }
398
+ /******/ }
399
+ /******/ if(runtime) var result = runtime(__webpack_require__);
400
+ /******/ }
401
+ /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
402
+ /******/ for(;i < chunkIds.length; i++) {
403
+ /******/ chunkId = chunkIds[i];
404
+ /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
405
+ /******/ installedChunks[chunkId][0]();
406
+ /******/ }
407
+ /******/ installedChunks[chunkId] = 0;
408
+ /******/ }
409
+ /******/
410
+ /******/ }
411
+ /******/
412
+ /******/ var chunkLoadingGlobal = this["webpackChunk_tsparticles_preset_confetti"] = this["webpackChunk_tsparticles_preset_confetti"] || [];
413
+ /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
414
+ /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
415
+ /******/ })();
416
+ /******/
208
417
  /************************************************************************/
209
418
  /******/
210
419
  /******/ // startup
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see tsparticles.preset.confetti.min.js.LICENSE.txt */
2
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/basic"),require("@tsparticles/plugin-emitters"),require("@tsparticles/updater-life"),require("@tsparticles/plugin-motion"),require("@tsparticles/updater-roll"),require("@tsparticles/updater-rotate"),require("@tsparticles/shape-square"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-wobble"));else if("function"==typeof define&&define.amd)define(["@tsparticles/basic","@tsparticles/plugin-emitters","@tsparticles/updater-life","@tsparticles/plugin-motion","@tsparticles/updater-roll","@tsparticles/updater-rotate","@tsparticles/shape-square","@tsparticles/updater-tilt","@tsparticles/updater-wobble"],t);else{var a="object"==typeof exports?t(require("@tsparticles/basic"),require("@tsparticles/plugin-emitters"),require("@tsparticles/updater-life"),require("@tsparticles/plugin-motion"),require("@tsparticles/updater-roll"),require("@tsparticles/updater-rotate"),require("@tsparticles/shape-square"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-wobble")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var r in a)("object"==typeof exports?exports:e)[r]=a[r]}}(this,((e,t,a,r,i,o,s,l,n)=>(()=>{var p={145:t=>{t.exports=e},526:e=>{e.exports=t},235:e=>{e.exports=r},400:e=>{e.exports=s},75:e=>{e.exports=a},544:e=>{e.exports=i},668:e=>{e.exports=o},844:e=>{e.exports=l},238:e=>{e.exports=n}},d={};function u(e){var t=d[e];if(void 0!==t)return t.exports;var a=d[e]={exports:{}};return p[e](a,a.exports,u),a.exports}u.d=(e,t)=>{for(var a in t)u.o(t,a)&&!u.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{u.r(c),u.d(c,{loadConfettiPreset:()=>d});var e=u(145),t=u(526),a=u(75),r=u(235),i=u(544),o=u(668),s=u(400),l=u(844),n=u(238);const p={fullScreen:{enable:!0,zIndex:100},fpsLimit:120,particles:{number:{value:0},color:{value:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"]},shape:{type:["square","circle"]},opacity:{value:{min:0,max:1},animation:{enable:!0,speed:.5,startValue:"max",destroy:"min"}},size:{value:5},links:{enable:!1},life:{duration:{sync:!0,value:3.3333333333333335},count:1},move:{angle:{value:45,offset:0},drift:0,enable:!0,gravity:{enable:!0,acceleration:9.81},speed:45,decay:.1,direction:-90,random:!0,straight:!1,outModes:{default:"none",bottom:"destroy"}},rotate:{value:{min:0,max:360},direction:"random",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:25},enable:!0,speed:{min:15,max:25}},wobble:{distance:30,enable:!0,speed:{min:-15,max:15}}},detectRetina:!0,motion:{disable:!0},emitters:{name:"confetti",startCount:50,position:{x:50,y:50},size:{width:0,height:0},rate:{delay:0,quantity:0},life:{duration:.1,count:1}}};async function d(d){await async function(d,u=!0){await(0,e.loadBasic)(d,!1),await(0,s.loadSquareShape)(d,!1),await(0,t.loadEmittersPlugin)(d,!1),await(0,r.loadMotionPlugin)(d,!1),await(0,n.loadWobbleUpdater)(d,!1),await(0,i.loadRollUpdater)(d,!1),await(0,o.loadRotateUpdater)(d,!1),await(0,l.loadTiltUpdater)(d,!1),await(0,a.loadLifeUpdater)(d,!1),await d.addPreset("confetti",p,!1),await d.refresh(u)}(d)}})(),c})()));
2
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/updater-roll"),require("@tsparticles/updater-life"),require("@tsparticles/updater-wobble"),require("@tsparticles/updater-tilt"),require("@tsparticles/shape-square"),require("@tsparticles/updater-rotate"),require("@tsparticles/plugin-motion"),require("@tsparticles/plugin-emitters"),require("@tsparticles/basic"));else if("function"==typeof define&&define.amd)define(["@tsparticles/updater-roll","@tsparticles/updater-life","@tsparticles/updater-wobble","@tsparticles/updater-tilt","@tsparticles/shape-square","@tsparticles/updater-rotate","@tsparticles/plugin-motion","@tsparticles/plugin-emitters","@tsparticles/basic"],t);else{var r="object"==typeof exports?t(require("@tsparticles/updater-roll"),require("@tsparticles/updater-life"),require("@tsparticles/updater-wobble"),require("@tsparticles/updater-tilt"),require("@tsparticles/shape-square"),require("@tsparticles/updater-rotate"),require("@tsparticles/plugin-motion"),require("@tsparticles/plugin-emitters"),require("@tsparticles/basic")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(this,(e,t,r,i,o,a,s,n,p)=>(()=>{var l,u,c,d,f={75(e){e.exports=t},145(e){e.exports=p},235(e){e.exports=s},238(e){e.exports=r},400(e){e.exports=o},526(e){e.exports=n},544(t){t.exports=e},668(e){e.exports=a},844(e){e.exports=i}},b={};function h(e){var t=b[e];if(void 0!==t)return t.exports;var r=b[e]={exports:{}};return f[e](r,r.exports,h),r.exports}h.m=f,u=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,h.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var r=Object.create(null);h.r(r);var i={};l=l||[null,u({}),u([]),u(u)];for(var o=2&t&&e;("object"==typeof o||"function"==typeof o)&&!~l.indexOf(o);o=u(o))Object.getOwnPropertyNames(o).forEach(t=>i[t]=()=>e[t]);return i.default=()=>e,h.d(r,i),r},h.d=(e,t)=>{for(var r in t)h.o(t,r)&&!h.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},h.f={},h.e=e=>Promise.all(Object.keys(h.f).reduce((t,r)=>(h.f[r](e,t),t),[])),h.u=e=>e+".min.js",h.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),h.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c={},d="@tsparticles/preset-confetti:",h.l=(e,t,r,i)=>{if(c[e])c[e].push(t);else{var o,a;if(void 0!==r)for(var s=document.getElementsByTagName("script"),n=0;n<s.length;n++){var p=s[n];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==d+r){o=p;break}}o||(a=!0,(o=document.createElement("script")).charset="utf-8",h.nc&&o.setAttribute("nonce",h.nc),o.setAttribute("data-webpack",d+r),o.src=e),c[e]=[t];var l=(t,r)=>{o.onerror=o.onload=null,clearTimeout(u);var i=c[e];if(delete c[e],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach(e=>e(r)),t)return t(r)},u=setTimeout(l.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=l.bind(null,o.onerror),o.onload=l.bind(null,o.onload),a&&document.head.appendChild(o)}},h.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;h.g.importScripts&&(e=h.g.location+"");var t=h.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var i=r.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=r[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),h.p=e})(),(()=>{var e={256:0};h.f.j=(t,r)=>{var i=h.o(e,t)?e[t]:void 0;if(0!==i)if(i)r.push(i[2]);else{var o=new Promise((r,o)=>i=e[t]=[r,o]);r.push(i[2]=o);var a=h.p+h.u(t),s=new Error;h.l(a,r=>{if(h.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,i[1](s)}},"chunk-"+t,t)}};var t=(t,r)=>{var i,o,[a,s,n]=r,p=0;if(a.some(t=>0!==e[t])){for(i in s)h.o(s,i)&&(h.m[i]=s[i]);if(n)n(h)}for(t&&t(r);p<a.length;p++)o=a[p],h.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=this.webpackChunk_tsparticles_preset_confetti=this.webpackChunk_tsparticles_preset_confetti||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var m={};function w(e){e.register(async e=>{const{loadBasic:t}=await Promise.resolve().then(h.t.bind(h,145,19)),{loadEmittersPlugin:r}=await Promise.resolve().then(h.t.bind(h,526,19)),{loadMotionPlugin:i}=await Promise.resolve().then(h.t.bind(h,235,19)),{loadRotateUpdater:o}=await Promise.resolve().then(h.t.bind(h,668,19)),{loadSquareShape:a}=await Promise.resolve().then(h.t.bind(h,400,19)),{loadTiltUpdater:s}=await Promise.resolve().then(h.t.bind(h,844,19)),{loadWobbleUpdater:n}=await Promise.resolve().then(h.t.bind(h,238,19)),{loadLifeUpdater:p}=await Promise.resolve().then(h.t.bind(h,75,19)),{loadRollUpdater:l}=await Promise.resolve().then(h.t.bind(h,544,19)),{options:u,presetName:c}=await h.e(283).then(h.bind(h,283));t(e),a(e),r(e),i(e),n(e),l(e),o(e),s(e),p(e),e.addPreset(c,u,!1)})}return h.r(m),h.d(m,{loadConfettiPreset:()=>w}),m})());
@@ -1 +1 @@
1
- /*! tsParticles Confetti Preset v3.2.0 by Matteo Bruni */
1
+ /*! tsParticles Confetti Preset v4.0.0-alpha.0 by Matteo Bruni */
package/types/bundle.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- import { loadConfettiPreset } from "./index.js";
2
- import { tsParticles } from "@tsparticles/engine";
3
- export { loadConfettiPreset, tsParticles };
1
+ export { loadConfettiPreset } from "./index.js";
2
+ export { tsParticles } from "@tsparticles/engine";
package/types/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  import type { Engine } from "@tsparticles/engine";
2
- export declare function loadConfettiPreset(engine: Engine): Promise<void>;
2
+ export declare function loadConfettiPreset(engine: Engine): void;
@@ -1,2 +1,3 @@
1
1
  import type { ISourceOptions } from "@tsparticles/engine";
2
+ export declare const presetName = "confetti";
2
3
  export declare const options: ISourceOptions;
package/umd/bundle.js CHANGED
@@ -10,8 +10,8 @@
10
10
  "use strict";
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.tsParticles = exports.loadConfettiPreset = void 0;
13
- const index_js_1 = require("./index.js");
13
+ var index_js_1 = require("./index.js");
14
14
  Object.defineProperty(exports, "loadConfettiPreset", { enumerable: true, get: function () { return index_js_1.loadConfettiPreset; } });
15
- const engine_1 = require("@tsparticles/engine");
15
+ var engine_1 = require("@tsparticles/engine");
16
16
  Object.defineProperty(exports, "tsParticles", { enumerable: true, get: function () { return engine_1.tsParticles; } });
17
17
  });