@tsparticles/fireworks 4.0.0-alpha.8 → 4.0.0-beta.1
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/129.min.js +1 -0
- package/134.min.js +1 -0
- package/143.min.js +1 -0
- package/157.min.js +1 -0
- package/167.min.js +1 -0
- package/17.min.js +1 -0
- package/177.min.js +1 -0
- package/27.min.js +1 -0
- package/274.min.js +1 -0
- package/293.min.js +1 -0
- package/301.min.js +1 -0
- package/347.min.js +1 -0
- package/356.min.js +1 -0
- package/360.min.js +1 -0
- package/368.min.js +1 -0
- package/454.min.js +1 -0
- package/468.min.js +1 -0
- package/477.min.js +1 -0
- package/496.min.js +1 -0
- package/51.min.js +1 -0
- package/510.min.js +1 -0
- package/541.min.js +1 -0
- package/550.min.js +1 -0
- package/553.min.js +33 -0
- package/554.min.js +1 -0
- package/56.min.js +1 -2
- package/590.min.js +1 -0
- package/598.min.js +1 -0
- package/601.min.js +1 -0
- package/604.min.js +1 -0
- package/626.min.js +1 -0
- package/663.min.js +1 -0
- package/684.min.js +1 -0
- package/686.min.js +1 -0
- package/72.min.js +1 -0
- package/737.min.js +1 -0
- package/742.min.js +1 -0
- package/744.min.js +1 -2
- package/748.min.js +1 -0
- package/775.min.js +1 -0
- package/866.min.js +1 -0
- package/88.min.js +1 -0
- package/880.min.js +1 -0
- package/930.min.js +1 -0
- package/951.min.js +1 -0
- package/README.md +38 -8
- package/basic_dist_browser_index_js.js +2 -2
- package/browser/FireworkOptions.js +10 -0
- package/browser/FireworksInstance.js +15 -0
- package/browser/fireworks.js +39 -34
- package/cjs/FireworkOptions.js +10 -0
- package/cjs/FireworksInstance.js +15 -0
- package/cjs/fireworks.js +39 -34
- package/{move_base_dist_browser_index_js.js → dist_browser_FireworksInstance_js.js} +7 -7
- package/effects_trail_dist_browser_TrailDrawer_js.js +2 -2
- package/effects_trail_dist_browser_index_js.js +2 -2
- package/engine_dist_browser_Core_Container_js.js +30 -20
- package/esm/FireworkOptions.js +10 -0
- package/esm/FireworksInstance.js +15 -0
- package/esm/fireworks.js +39 -34
- package/package.json +10 -10
- package/plugins_colors_hex_dist_browser_HexColorManager_js.js +2 -2
- package/plugins_colors_hex_dist_browser_index_js.js +2 -2
- package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +2 -2
- package/plugins_colors_hsl_dist_browser_index_js.js +2 -2
- package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +2 -2
- package/plugins_colors_rgb_dist_browser_index_js.js +2 -2
- package/plugins_emittersShapes_square_dist_browser_EmittersSquareShapeGenerator_js.js +6 -6
- package/plugins_emittersShapes_square_dist_browser_index_js.js +2 -2
- package/plugins_emitters_dist_browser_EmitterInstance_js.js +2 -2
- package/plugins_emitters_dist_browser_EmittersInstancesManager_js.js +18 -8
- package/plugins_emitters_dist_browser_EmittersInteractor_js.js +58 -48
- package/plugins_emitters_dist_browser_EmittersPluginInstance_js.js +2 -2
- package/plugins_emitters_dist_browser_EmittersPlugin_js.js +18 -8
- package/plugins_emitters_dist_browser_ShapeManager_js.js +2 -2
- package/plugins_emitters_dist_browser_index_js.js +4 -4
- package/plugins_interactivity_dist_browser_InteractivityPluginInstance_js.js +4 -4
- package/plugins_interactivity_dist_browser_InteractivityPlugin_js.js +6 -6
- package/plugins_interactivity_dist_browser_index_js.js +40 -40
- package/plugins_move_dist_browser_MovePluginInstance_js.js +40 -0
- package/plugins_move_dist_browser_MovePlugin_js.js +30 -0
- package/plugins_move_dist_browser_index_js.js +30 -0
- package/plugins_sounds_dist_browser_SoundsPluginInstance_js.js +3 -3
- package/plugins_sounds_dist_browser_SoundsPlugin_js.js +12 -12
- package/plugins_sounds_dist_browser_index_js.js +2 -2
- package/report.html +84 -29
- package/shapes_circle_dist_browser_CircleDrawer_js.js +3 -3
- package/shapes_circle_dist_browser_index_js.js +2 -2
- package/tsparticles.fireworks.bundle.js +102 -90
- package/tsparticles.fireworks.bundle.min.js +2 -2
- package/tsparticles.fireworks.js +236 -41
- package/tsparticles.fireworks.min.js +2 -2
- package/types/FireworksInstance.d.ts +8 -0
- package/types/fireworks.d.ts +3 -9
- package/umd/FireworkOptions.js +10 -0
- package/umd/FireworksInstance.js +29 -0
- package/umd/fireworks.js +39 -34
- package/updaters_destroy_dist_browser_DestroyUpdater_js.js +9 -9
- package/updaters_destroy_dist_browser_index_js.js +2 -2
- package/updaters_fillColor_dist_browser_FillColorUpdater_js.js +30 -0
- package/updaters_fillColor_dist_browser_index_js.js +30 -0
- package/updaters_life_dist_browser_LifeUpdater_js.js +6 -6
- package/updaters_life_dist_browser_index_js.js +2 -2
- package/updaters_opacity_dist_browser_OpacityUpdater_js.js +2 -2
- package/updaters_opacity_dist_browser_index_js.js +2 -2
- package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +7 -7
- package/updaters_outModes_dist_browser_index_js.js +2 -2
- package/updaters_rotate_dist_browser_RotateUpdater_js.js +4 -4
- package/updaters_rotate_dist_browser_index_js.js +2 -2
- package/updaters_size_dist_browser_SizeUpdater_js.js +2 -2
- package/updaters_size_dist_browser_index_js.js +2 -2
- package/111.min.js +0 -2
- package/111.min.js.LICENSE.txt +0 -1
- package/113.min.js +0 -2
- package/113.min.js.LICENSE.txt +0 -1
- package/12.min.js +0 -2
- package/12.min.js.LICENSE.txt +0 -1
- package/127.min.js +0 -2
- package/127.min.js.LICENSE.txt +0 -1
- package/160.min.js +0 -2
- package/160.min.js.LICENSE.txt +0 -1
- package/188.min.js +0 -2
- package/188.min.js.LICENSE.txt +0 -1
- package/191.min.js +0 -2
- package/191.min.js.LICENSE.txt +0 -1
- package/201.min.js +0 -2
- package/201.min.js.LICENSE.txt +0 -1
- package/209.min.js +0 -2
- package/209.min.js.LICENSE.txt +0 -1
- package/234.min.js +0 -2
- package/234.min.js.LICENSE.txt +0 -1
- package/256.min.js +0 -2
- package/256.min.js.LICENSE.txt +0 -1
- package/296.min.js +0 -2
- package/296.min.js.LICENSE.txt +0 -1
- package/3.min.js +0 -2
- package/3.min.js.LICENSE.txt +0 -1
- package/302.min.js +0 -2
- package/302.min.js.LICENSE.txt +0 -1
- package/306.min.js +0 -2
- package/306.min.js.LICENSE.txt +0 -1
- package/346.min.js +0 -2
- package/346.min.js.LICENSE.txt +0 -1
- package/361.min.js +0 -2
- package/361.min.js.LICENSE.txt +0 -1
- package/380.min.js +0 -2
- package/380.min.js.LICENSE.txt +0 -1
- package/410.min.js +0 -2
- package/410.min.js.LICENSE.txt +0 -1
- package/442.min.js +0 -2
- package/442.min.js.LICENSE.txt +0 -1
- package/445.min.js +0 -2
- package/445.min.js.LICENSE.txt +0 -1
- package/49.min.js +0 -2
- package/49.min.js.LICENSE.txt +0 -1
- package/505.min.js +0 -2
- package/505.min.js.LICENSE.txt +0 -1
- package/521.min.js +0 -2
- package/521.min.js.LICENSE.txt +0 -1
- package/526.min.js +0 -2
- package/526.min.js.LICENSE.txt +0 -1
- package/547.min.js +0 -2
- package/547.min.js.LICENSE.txt +0 -1
- package/56.min.js.LICENSE.txt +0 -1
- package/580.min.js +0 -2
- package/580.min.js.LICENSE.txt +0 -1
- package/591.min.js +0 -2
- package/591.min.js.LICENSE.txt +0 -1
- package/743.min.js +0 -2
- package/743.min.js.LICENSE.txt +0 -1
- package/744.min.js.LICENSE.txt +0 -1
- package/754.min.js +0 -2
- package/754.min.js.LICENSE.txt +0 -1
- package/759.min.js +0 -2
- package/759.min.js.LICENSE.txt +0 -1
- package/799.min.js +0 -2
- package/799.min.js.LICENSE.txt +0 -1
- package/804.min.js +0 -2
- package/804.min.js.LICENSE.txt +0 -1
- package/824.min.js +0 -2
- package/824.min.js.LICENSE.txt +0 -1
- package/830.min.js +0 -2
- package/830.min.js.LICENSE.txt +0 -1
- package/847.min.js +0 -2
- package/847.min.js.LICENSE.txt +0 -1
- package/85.min.js +0 -2
- package/85.min.js.LICENSE.txt +0 -1
- package/865.min.js +0 -2
- package/865.min.js.LICENSE.txt +0 -1
- package/911.min.js +0 -2
- package/911.min.js.LICENSE.txt +0 -1
- package/917.min.js +0 -2
- package/917.min.js.LICENSE.txt +0 -1
- package/993.min.js +0 -2
- package/993.min.js.LICENSE.txt +0 -1
- package/move_base_dist_browser_BaseMover_js.js +0 -40
- package/tsparticles.fireworks.bundle.min.js.LICENSE.txt +0 -1
- package/tsparticles.fireworks.min.js.LICENSE.txt +0 -1
- package/updaters_color_dist_browser_ColorUpdater_js.js +0 -30
- package/updaters_color_dist_browser_index_js.js +0 -30
package/361.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 361.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[361],{6361(t,o,s){s.d(o,{DestroyUpdater:()=>f});var e,i=s(7724);class l{load(t){(0,i.kZJ)(t)||(void 0!==t.bottom&&(this.bottom=(0,i.DT4)(t.bottom)),void 0!==t.left&&(this.left=(0,i.DT4)(t.left)),void 0!==t.right&&(this.right=(0,i.DT4)(t.right)),void 0!==t.top&&(this.top=(0,i.DT4)(t.top)))}}!function(t){t.none="none",t.split="split"}(e||(e={}));class r extends i.PVU{constructor(){super(),this.value=3}}class n extends i.PVU{constructor(){super(),this.value={min:4,max:9}}}class c{constructor(){this.count=1,this.factor=new r,this.rate=new n,this.sizeOffset=!0}load(t){(0,i.kZJ)(t)||(void 0!==t.color&&(this.color=i.Oit.create(this.color,t.color)),void 0!==t.count&&(this.count=t.count),this.factor.load(t.factor),this.rate.load(t.rate),this.particles=(0,i.wJ2)(t.particles,(t=>(0,i.zwS)({},t))),void 0!==t.sizeOffset&&(this.sizeOffset=t.sizeOffset),t.colorOffset&&(this.colorOffset=this.colorOffset??{},void 0!==t.colorOffset.h&&(this.colorOffset.h=t.colorOffset.h),void 0!==t.colorOffset.s&&(this.colorOffset.s=t.colorOffset.s),void 0!==t.colorOffset.l&&(this.colorOffset.l=t.colorOffset.l)))}}class a{constructor(){this.bounds=new l,this.mode=e.none,this.split=new c}load(t){(0,i.kZJ)(t)||(t.mode&&(this.mode=t.mode),t.bounds&&this.bounds.load(t.bounds),this.split.load(t.split))}}function d(t,o,s,e){const l=s.options.destroy;if(!l)return;const r=l.split,n=(0,i.yVN)(t,o,s.options),c=(0,i.VGA)(r.factor.value),a=s.getFillColor();r.color?n.color.load(r.color):r.colorOffset&&a?n.color.load({value:{hsl:{h:a.h+(0,i.VGA)(r.colorOffset.h??0),s:a.s+(0,i.VGA)(r.colorOffset.s??0),l:a.l+(0,i.VGA)(r.colorOffset.l??0)}}}):n.color.load({value:{hsl:s.getFillColor()}}),n.move.load({center:{x:s.position.x,y:s.position.y,mode:i.qiC.precise}}),(0,i.EtT)(n.size.value)?n.size.value/=c:(n.size.value.min/=c,n.size.value.max/=c),n.load(e);const d=r.sizeOffset?(0,i.DT4)(-s.size.value,s.size.value):0,f={x:s.position.x+(0,i.vEz)(d),y:s.position.y+(0,i.vEz)(d)};return o.particles.addParticle(f,n,s.group,(t=>!(t.size.value<.5)&&(t.velocity.length=(0,i.vEz)((0,i.DT4)(s.velocity.length,t.velocity.length)),t.splitCount=(s.splitCount??0)+1,t.unbreakable=!0,setTimeout((()=>{t.unbreakable=!1}),500),!0)))}class f{constructor(t,o){this.container=o,this.engine=t}init(t){const o=this.container,s=t.options.destroy;if(!s)return;t.splitCount=0;const e=s.bounds;t.destroyBounds??={};const{bottom:l,left:r,right:n,top:c}=e,{destroyBounds:a}=t,d=o.canvas.size;l&&(a.bottom=(0,i.VGA)(l)*d.height/i.a56),r&&(a.left=(0,i.VGA)(r)*d.width/i.a56),n&&(a.right=(0,i.VGA)(n)*d.width/i.a56),c&&(a.top=(0,i.VGA)(c)*d.height/i.a56)}isEnabled(t){return!t.destroyed}loadOptions(t,...o){t.destroy??=new a;for(const s of o)t.destroy.load(s?.destroy)}particleDestroyed(t,o){if(o)return;const s=t.options.destroy;s?.mode===e.split&&function(t,o,s){const e=s.options.destroy;if(!e)return;const l=e.split;if(l.count>=0&&(void 0===s.splitCount||s.splitCount++>l.count))return;const r=(0,i.VGA)(l.rate.value),n=(0,i.TA3)(l.particles);for(let e=0;e<r;e++)d(t,o,s,n)}(this.engine,this.container,t)}update(t){if(!this.isEnabled(t))return;const o=t.getPosition(),s=t.destroyBounds;s&&(void 0!==s.bottom&&o.y>=s.bottom||void 0!==s.left&&o.x<=s.left||void 0!==s.right&&o.x>=s.right||void 0!==s.top&&o.y<=s.top)&&t.destroy()}}}}]);
|
package/361.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/380.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 380.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[380],{3380(t,e,i){i.d(e,{InteractivityPluginInstance:()=>v});var n=i(7724);const s="pointerleave",a="pointermove",o="touchstart",r="touchend",c="touchmove",h="touchcancel";var l=i(1124);class d{constructor(t,e){this._canPush=!0,this._doMouseTouchClick=t=>{const e=this._container,i=this._interactionManager,s=e.actualOptions;if(this._canPush){const t=i.interactivityData.mouse,e=t.position;if(!e)return;t.clickPosition={...e},t.clickTime=Date.now();const a=s.interactivity?.events.onClick;if(!a?.mode)return;(0,n.wJ2)(a.mode,(t=>{i.handleClickMode(t)}))}"touchend"===t.type&&setTimeout((()=>{this._mouseTouchFinish()}),n.pHD)},this._handleVisibilityChange=()=>{this._mouseTouchFinish()},this._manageInteractivityListeners=(t,e)=>{const i=this._handlers,s=this._container,l=this._interactionManager,d=s.actualOptions,u=l.interactivityData.element;if(!u)return;const _=u,f=s.canvas;f.setPointerEvents(_===f.element?"initial":"none"),(d.interactivity?.events.onHover.enable||d.interactivity?.events.onClick.enable)&&((0,n.KpY)(u,a,i.mouseMove,e),(0,n.KpY)(u,o,i.touchStart,e),(0,n.KpY)(u,c,i.touchMove,e),d.interactivity.events.onClick.enable?((0,n.KpY)(u,r,i.touchEndClick,e),(0,n.KpY)(u,"pointerup",i.mouseUp,e),(0,n.KpY)(u,"pointerdown",i.mouseDown,e)):(0,n.KpY)(u,r,i.touchEnd,e),(0,n.KpY)(u,t,i.mouseLeave,e),(0,n.KpY)(u,h,i.touchCancel,e))},this._manageListeners=t=>{const e=this._handlers,i=this._container,a=this._interactionManager,o=i.actualOptions,r=o.interactivity?.detectsOn,c=i.canvas.element;let h=s;r===l.h.window?(a.interactivityData.element=globalThis,h="pointerout"):r===l.h.parent&&c?a.interactivityData.element=c.parentElement??c.parentNode:a.interactivityData.element=c,this._manageInteractivityListeners(h,t),(0,n.KpY)(document,n.nKi,e.visibilityChange,t,!1)},this._mouseDown=()=>{const{interactivityData:t}=this._interactionManager,{mouse:e}=t;e.clicking=!0,e.downPosition=e.position},this._mouseTouchClick=t=>{const e=this._container,i=this._interactionManager,n=e.actualOptions,{mouse:s}=i.interactivityData;s.inside=!0;let a=!1;const o=s.position;if(o&&n.interactivity?.events.onClick.enable){for(const t of e.plugins)if(t.clickPositionValid&&(a=t.clickPositionValid(o),a))break;a||this._doMouseTouchClick(t),s.clicking=!1}},this._mouseTouchFinish=()=>{const{interactivityData:t}=this._interactionManager,{mouse:e}=t;delete e.position,delete e.clickPosition,delete e.downPosition,t.status=s,e.inside=!1,e.clicking=!1},this._mouseTouchMove=t=>{const e=this._container,i=this._interactionManager,s=e.actualOptions,o=i.interactivityData,r=e.canvas.element;if(!o.element)return;let c;if(o.mouse.inside=!0,t.type.startsWith("pointer")){this._canPush=!0;const e=t;if(o.element===globalThis){if(r){const t=r.getBoundingClientRect();c={x:e.clientX-t.left,y:e.clientY-t.top}}}else if(s.interactivity?.detectsOn===l.h.parent){const t=e.target,i=e.currentTarget;if(r){const s=t.getBoundingClientRect(),a=i.getBoundingClientRect(),o=r.getBoundingClientRect();c={x:e.offsetX+n.gdl*s.left-(a.left+o.left),y:e.offsetY+n.gdl*s.top-(a.top+o.top)}}else c={x:e.offsetX,y:e.offsetY}}else e.target===r&&(c={x:e.offsetX,y:e.offsetY})}else if(this._canPush="touchmove"!==t.type,r){const e=t,i=e.touches[e.touches.length-n.K3],s=r.getBoundingClientRect();if(!i)return;c={x:i.clientX-s.left,y:i.clientY-s.top}}const h=e.retina.pixelRatio;c&&(c.x*=h,c.y*=h),o.mouse.position=c,o.status=a},this._touchEnd=t=>{const e=t,i=Array.from(e.changedTouches);for(const t of i)this._touches.delete(t.identifier);this._mouseTouchFinish()},this._touchEndClick=t=>{const e=t,i=Array.from(e.changedTouches);for(const t of i)this._touches.delete(t.identifier);this._mouseTouchClick(t)},this._touchStart=t=>{const e=t,i=Array.from(e.changedTouches);for(const t of i)this._touches.set(t.identifier,performance.now());this._mouseTouchMove(t)},this._container=t,this._interactionManager=e,this._touches=new Map,this._handlers={mouseDown:()=>{this._mouseDown()},mouseLeave:()=>{this._mouseTouchFinish()},mouseMove:t=>{this._mouseTouchMove(t)},mouseUp:t=>{this._mouseTouchClick(t)},touchStart:t=>{this._touchStart(t)},touchMove:t=>{this._mouseTouchMove(t)},touchEnd:t=>{this._touchEnd(t)},touchCancel:t=>{this._touchEnd(t)},touchEndClick:t=>{this._touchEndClick(t)},visibilityChange:()=>{this._handleVisibilityChange()}}}addListeners(){this._manageListeners(!0)}removeListeners(){this._manageListeners(!1)}}var u=i(409);class _{constructor(t,e){this.container=e,this._intersectionManager=t=>{const{container:e}=this;if(!e.destroyed&&e.actualOptions.pauseOnOutsideViewport)for(const i of t)i.target===this.interactivityData.element&&(i.isIntersecting?e.play():e.pause())},this._engine=t,this._interactors=[],this._externalInteractors=[],this._particleInteractors=[],this._clickHandlers=new Map,this._eventListeners=new d(e,this),this.interactivityData={mouse:{clicking:!1,inside:!1}},this._intersectionObserver=(0,n.BRq)((t=>{this._intersectionManager(t)}))}addClickHandler(t){const{container:e,interactivityData:i}=this;if(e.destroyed)return;const s=i.element;if(!s)return;const a=(i,n,s)=>{if(e.destroyed)return;const a=e.retina.pixelRatio,o={x:n.x*a,y:n.y*a},r=e.particles.quadTree.queryCircle(o,s*a);t(i,r)};let l=!1,d=!1;this._clickHandlers.set("click",(t=>{if(e.destroyed)return;const i=t,s={x:i.offsetX,y:i.offsetY};a(t,s,n.FSi)})),this._clickHandlers.set(o,(()=>{e.destroyed||(l=!0,d=!1)})),this._clickHandlers.set(c,(()=>{e.destroyed||(d=!0)})),this._clickHandlers.set(r,(t=>{if(!e.destroyed){if(l&&!d){const i=t,s=i.touches[i.touches.length-n.KZx];if(!s)return;const o=e.canvas.element,r=o?o.getBoundingClientRect():void 0,c={x:s.clientX-(r?r.left:n.TLE),y:s.clientY-(r?r.top:n.TLE)};a(t,c,Math.max(s.radiusX,s.radiusY))}l=!1,d=!1}})),this._clickHandlers.set(h,(()=>{e.destroyed||(l=!1,d=!1)}));for(const[t,e]of this._clickHandlers)s.addEventListener(t,e)}addListeners(){this._eventListeners.addListeners()}clearClickHandlers(){const{container:t,interactivityData:e}=this;if(!t.destroyed){for(const[t,i]of this._clickHandlers)e.element?.removeEventListener(t,i);this._clickHandlers.clear()}}externalInteract(t){for(const e of this._externalInteractors){const{interactivityData:i}=this;e.isEnabled(i)&&e.interact(i,t)}}handleClickMode(t){if(this.container.destroyed)return;const{interactivityData:e}=this;for(const i of this._externalInteractors)i.handleClickMode?.(t,e)}async init(){const t=await(this._engine.getInteractors?.(this.container,!0));if(t){this._interactors=t,this._externalInteractors=[],this._particleInteractors=[];for(const t of this._interactors){switch(t.type){case u.e.external:this._externalInteractors.push(t);break;case u.e.particles:this._particleInteractors.push(t)}t.init()}}}particlesInteract(t,e){const{interactivityData:i}=this;for(const i of this._externalInteractors)i.clear(t,e);for(const n of this._particleInteractors)n.isEnabled(t,i)&&n.interact(t,i,e)}removeListeners(){this._eventListeners.removeListeners()}reset(t){const{interactivityData:e}=this;for(const i of this._externalInteractors)i.isEnabled(e)&&i.reset(e,t);for(const i of this._particleInteractors)i.isEnabled(t,e)&&i.reset(e,t)}startObserving(){const{interactivityData:t}=this;t.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(t.element)}stopObserving(){const{interactivityData:t}=this;t.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(t.element)}}var f=i(3148);class v{constructor(t,e){this._container=e,this._engine=t,this.interactionManager=new _(t,e),this._container.addClickHandler=t=>{this.interactionManager.addClickHandler(t)}}addClickHandler(t){this.interactionManager.addClickHandler(t)}clearClickHandlers(){this.interactionManager.clearClickHandlers()}destroy(){this.clearClickHandlers(),this._engine.interactors?.delete(this._container)}particleCreated(t){const e=t,i=new f.k(this._engine,this._container);i.load(this._container.actualOptions.interactivity),i.load(e.options.interactivity),e.interactivity=i}particleReset(t){this.interactionManager.reset(t)}postParticleUpdate(t,e){this.interactionManager.particlesInteract(t,e)}postUpdate(t){this.interactionManager.externalInteract(t)}async preInit(){await this.interactionManager.init()}async redrawInit(){await this.interactionManager.init()}start(){return this.interactionManager.addListeners(),this.interactionManager.startObserving(),Promise.resolve()}stop(){this.interactionManager.removeListeners(),this.interactionManager.stopObserving()}}}}]);
|
package/380.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/410.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 410.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[410],{9410(s,r,t){t.d(r,{RgbColorManager:()=>c});var e,a=t(7724);!function(s){s[s.r=1]="r",s[s.g=2]="g",s[s.b=3]="b",s[s.a=5]="a"}(e||(e={}));const n=/rgba?\(\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i;class c{constructor(){this.key="rgb"}accepts(s){return s.startsWith("rgb")}handleColor(s){const r=s.value.rgb??s.value;if(Object.hasOwn(r,"r")&&Object.hasOwn(r,"g")&&Object.hasOwn(r,"b"))return r}handleRangeColor(s){const r=s.value.rgb??s.value;if(Object.hasOwn(r,"r")&&Object.hasOwn(r,"g")&&Object.hasOwn(r,"b"))return{r:(0,a.VGA)(r.r),g:(0,a.VGA)(r.g),b:(0,a.VGA)(r.b)}}parseString(s){if(!this.accepts(s))return;const r=n.exec(s);return r?{a:r.length>4?(0,a.M3Y)(r[e.a]):1,b:parseInt(r[e.b]??"0",10),g:parseInt(r[e.g]??"0",10),r:parseInt(r[e.r]??"0",10)}:void 0}}}}]);
|
package/410.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/442.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 442.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[442],{3442(e,r,t){async function a(e){e.checkVersion("4.0.0-alpha.8"),await e.register((async e=>{if(!e.addEmitterShapeGenerator)throw new Error("tsParticles emitters plugin missing or initialized after shapes");const{EmittersSquareShapeGenerator:r}=await t.e(754).then(t.bind(t,2754));e.addEmitterShapeGenerator("square",new r)}))}t.d(r,{loadEmittersShapeSquare:()=>a})}}]);
|
package/442.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/445.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 445.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[445],{8445(a,i,t){async function e(a){a.checkVersion("4.0.0-alpha.8"),await a.register((async a=>{const{loadHexColorPlugin:i}=await t.e(49).then(t.bind(t,1049)),{loadHslColorPlugin:e}=await t.e(191).then(t.bind(t,7191)),{loadRgbColorPlugin:n}=await t.e(3).then(t.bind(t,3003)),{loadBaseMover:d}=await t.e(201).then(t.bind(t,2201)),{loadCircleShape:o}=await t.e(521).then(t.bind(t,521)),{loadColorUpdater:w}=await t.e(302).then(t.bind(t,5302)),{loadOpacityUpdater:l}=await t.e(56).then(t.bind(t,7056)),{loadOutModesUpdater:r}=await t.e(85).then(t.bind(t,1085)),{loadSizeUpdater:s}=await t.e(234).then(t.bind(t,9234));await i(a),await e(a),await n(a),await d(a),await o(a),await w(a),await l(a),await r(a),await s(a)}))}t.d(i,{loadBasic:()=>e})}}]);
|
package/445.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/49.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 49.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[49],{1049(a,e,n){async function r(a){a.checkVersion("4.0.0-alpha.8"),await a.register((async a=>{const{HexColorManager:e}=await n.e(346).then(n.bind(n,346));a.addColorManager(new e)}))}n.d(e,{loadHexColorPlugin:()=>r})}}]);
|
package/49.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/505.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 505.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[505],{5505(e,i,t){t.d(i,{BaseMover:()=>o});var n=t(7724);function a(e,i,t,a,o,s,c){!function(e,i){const t=e.options,a=t.move.path;if(!a.enable)return;if(e.lastPathTime<=e.pathDelay)return void(e.lastPathTime+=i.value);const o=e.pathGenerator?.generate(e,i);o&&e.velocity.addTo(o);a.clamp&&(e.velocity.x=(0,n.qE8)(e.velocity.x,-1,1),e.velocity.y=(0,n.qE8)(e.velocity.y,-1,1));e.lastPathTime-=e.pathDelay}(e,c);const r=e.gravity,l=r?.enable&&r.inverse?-1:1;o&&t&&(e.velocity.x+=o*c.factor/(60*t)),r?.enable&&t&&(e.velocity.y+=l*(r.acceleration*c.factor)/(60*t));const p=e.moveDecay;e.velocity.multTo(p);const y=e.velocity.mult(t);r?.enable&&a>0&&(!r.inverse&&y.y>=0&&y.y>=a||r.inverse&&y.y<=0&&y.y<=-a)&&(y.y=l*a,t&&(e.velocity.y=y.y/t));const v=e.options.zIndex,d=(1-e.zIndexFactor)**v.velocityRate;y.multTo(d),y.multTo(s);const{position:x}=e;x.addTo(y),i.vibrate&&(x.x+=Math.sin(x.x*Math.cos(x.y))*s,x.y+=Math.cos(x.y*Math.sin(x.x))*s)}class o{init(e){const i=e.options.move.gravity;e.gravity={enable:i.enable,acceleration:(0,n.VGA)(i.acceleration),inverse:i.inverse},function(e){const i=e.container,t=e.options.move.spin;if(!t.enable)return;const a=t.position??{x:50,y:50},o={x:.01*a.x*i.canvas.size.width,y:.01*a.y*i.canvas.size.height},s=e.getPosition(),c=(0,n.YfF)(s,o),r=(0,n.VGA)(t.acceleration);e.retina.spinAcceleration=r*i.retina.pixelRatio,e.spin={center:o,direction:e.velocity.x>=0?n.pTR.clockwise:n.pTR.counterClockwise,angle:(0,n.G0i)()*n.R1e,radius:c,acceleration:e.retina.spinAcceleration}}(e)}isEnabled(e){return!e.destroyed&&e.options.move.enable}move(e,i){const t=e.options,o=t.move;if(!o.enable)return;const s=e.container,c=s.retina.pixelRatio;e.retina.moveSpeed??=(0,n.VGA)(o.speed)*c,e.retina.moveDrift??=(0,n.VGA)(e.options.move.drift)*c;const r=function(e){return e.slow.inRange?e.slow.factor:1}(e),l=s.retina.reduceFactor,p=e.retina.moveSpeed,y=e.retina.moveDrift,v=(0,n.W9e)(t.size.value)*c,d=p*(o.size?e.getRadius()/v:1)*r*(i.factor||1)/2,x=e.retina.maxSpeed??s.retina.maxSpeed;o.spin.enable?function(e,i,t){const a=e.container;if(!e.spin)return;const o=e.spin.direction===n.pTR.clockwise,s={x:o?Math.cos:Math.sin,y:o?Math.sin:Math.cos};e.position.x=e.spin.center.x+e.spin.radius*s.x(e.spin.angle)*t,e.position.y=e.spin.center.y+e.spin.radius*s.y(e.spin.angle)*t,e.spin.radius+=e.spin.acceleration*t;const c=Math.max(a.canvas.size.width,a.canvas.size.height),r=c*n.MXx;e.spin.radius>r?(e.spin.radius=r,e.spin.acceleration*=-1):e.spin.radius<0&&(e.spin.radius=0,e.spin.acceleration*=-1),e.spin.angle+=.01*i*(1-e.spin.radius/c)}(e,d,l):a(e,o,d,x,y,l,i),function(e){const i=e.initialPosition,{dx:t,dy:a}=(0,n.vrU)(i,e.position),o=Math.abs(t),s=Math.abs(a),{maxDistance:c}=e.retina,r=c.horizontal,l=c.vertical;if(!r&&!l)return;if((r&&o>=r||l&&s>=l)&&!e.misplaced)e.misplaced=!!r&&o>r||!!l&&s>l,r&&(e.velocity.x=e.velocity.y*n.MXx-e.velocity.x),l&&(e.velocity.y=e.velocity.x*n.MXx-e.velocity.y);else if((!r||o<r)&&(!l||s<l)&&e.misplaced)e.misplaced=!1;else if(e.misplaced){const t=e.position,a=e.velocity;r&&(t.x<i.x&&a.x<0||t.x>i.x&&a.x>0)&&(a.x*=-(0,n.G0i)()),l&&(t.y<i.y&&a.y<0||t.y>i.y&&a.y>0)&&(a.y*=-(0,n.G0i)())}}(e)}}}}]);
|
package/505.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/521.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 521.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[521],{521(e,a,i){async function s(e){e.checkVersion("4.0.0-alpha.8"),await e.register((async e=>{const{CircleDrawer:a}=await i.e(743).then(i.bind(i,3743));e.addShape(new a)}))}i.d(a,{loadCircleShape:()=>s})}}]);
|
package/521.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/526.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 526.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[526,824],{409(t,i,e){var s;e.d(i,{e:()=>s}),function(t){t.external="external",t.particles="particles"}(s||(s={}))},1124(t,i,e){var s;e.d(i,{h:()=>s}),function(t){t.canvas="canvas",t.parent="parent",t.window="window"}(s||(s={}))},6245(t,i,e){e.d(i,{d:()=>o});var s=e(7724);class o{constructor(t,i){this._engine=t,this._container=i}load(t){if((0,s.kZJ)(t))return;if(!this._container)return;const i=this._engine.interactors?.get(this._container);if(i)for(const e of i)e.loadModeOptions&&e.loadModeOptions(this,t)}}},6815(t,i,e){e.d(i,{v:()=>l});var s=e(7724);class o{constructor(){this.wait=!1}load(t){(0,s.kZJ)(t)||(void 0!==t.count&&(this.count=t.count),void 0!==t.delay&&(this.delay=(0,s.DT4)(t.delay)),void 0!==t.duration&&(this.duration=(0,s.DT4)(t.duration)),void 0!==t.wait&&(this.wait=t.wait))}}class a{constructor(){this.quantity=1,this.delay=.1}load(t){(0,s.kZJ)(t)||(void 0!==t.quantity&&(this.quantity=(0,s.DT4)(t.quantity)),void 0!==t.delay&&(this.delay=(0,s.DT4)(t.delay)))}}class n{constructor(){this.color=!1,this.opacity=!1}load(t){(0,s.kZJ)(t)||(void 0!==t.color&&(this.color=t.color),void 0!==t.opacity&&(this.opacity=t.opacity))}}class r{constructor(){this.options={},this.replace=new n,this.type="square"}load(t){(0,s.kZJ)(t)||(void 0!==t.options&&(this.options=(0,s.zwS)({},t.options??{})),this.replace.load(t.replace),void 0!==t.type&&(this.type=t.type))}}var c=e(7527);class l{constructor(){this.autoPlay=!0,this.fill=!0,this.life=new o,this.rate=new a,this.shape=new r,this.startCount=0}load(t){(0,s.kZJ)(t)||(void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.size&&(this.size??=new c.G,this.size.load(t.size)),void 0!==t.direction&&(this.direction=t.direction),this.domId=t.domId,void 0!==t.fill&&(this.fill=t.fill),this.life.load(t.life),this.name=t.name,this.particles=(0,s.wJ2)(t.particles,(t=>(0,s.zwS)({},t))),this.rate.load(t.rate),this.shape.load(t.shape),void 0!==t.position&&(this.position={},void 0!==t.position.x&&(this.position.x=(0,s.DT4)(t.position.x)),void 0!==t.position.y&&(this.position.y=(0,s.DT4)(t.position.y))),void 0!==t.spawnColor&&(this.spawnColor??=new s.A9e,this.spawnColor.load(t.spawnColor)),void 0!==t.startCount&&(this.startCount=t.startCount))}}},6824(t,i,e){e.d(i,{sJ:()=>a,loadInteractivityPlugin:()=>n});var s=e(7724),o=(e(7703),e(409));class a{constructor(t){this.type=o.e.external,this.container=t}}e(1124);e(9573),e(6245);async function n(t){t.checkVersion("4.0.0-alpha.8"),await t.register((async t=>{const i=t,{InteractivityPlugin:o}=await e.e(256).then(e.bind(e,7256));i.addPlugin(new o(i)),i.interactorsInitializers??=new Map,i.interactors??=new Map,i.addInteractor=(t,e)=>{i.interactorsInitializers??=new Map,i.interactorsInitializers.set(t,e)},i.getInteractors=async(t,e=!1)=>(i.interactors??=new Map,i.interactorsInitializers??=new Map,(0,s.HQK)(t,i.interactors,i.interactorsInitializers,e)),i.setOnClickHandler=t=>{const{items:e}=i;if(!e.length)throw new Error("Click handlers can only be set after calling tsParticles.load()");e.forEach((i=>{const e=i;e.addClickHandler?.(t)}))}}))}},7527(t,i,e){e.d(i,{G:()=>o});var s=e(7724);class o{constructor(){this.mode=s.qiC.percent,this.height=0,this.width=0}load(t){(0,s.kZJ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.height&&(this.height=t.height),void 0!==t.width&&(this.width=t.width))}}},7703(t,i,e){var s;e.d(i,{Q:()=>s}),function(t){t.circle="circle",t.rectangle="rectangle"}(s||(s={}))},8526(t,i,e){e.d(i,{EmittersInteractor:()=>c});var s=e(6824),o=e(7724),a=e(6815);const n={count:1,enable:!0},r="emitters";class c extends s.sJ{constructor(t,i){super(i),this._instancesManager=t,this.handleClickMode=(t,i)=>{const e=this.container.actualOptions.interactivity.modes.emitters;if(!e||t!==r)return;let s;if((0,o.cyL)(e.value)){const t=0,i=e.value.length;if(i>t&&e.random.enable){s=[];const t=new Set;for(let a=0;a<e.random.count;a++){const n=(0,o.n02)(e.value);if(t.has(n)&&t.size<i){a--;continue}t.add(n);const r=(0,o.Vh1)(e.value,n);r&&s.push(r)}}else s=e.value}else s=e.value;const a=s,n=i.mouse.clickPosition;(0,o.wJ2)(a,(async t=>{await this._instancesManager.addEmitter(this.container,t,n)}))}}clear(){}init(){}interact(t,i){for(const t of this._instancesManager.getArray(this.container))t.update(i)}isEnabled(t,i){const e=this.container.actualOptions,s=t.mouse,a=(i?.interactivity??e.interactivity).events;return!(!s.clickPosition||!a.onClick.enable)&&(0,o.hnD)(r,a.onClick.mode)}loadModeOptions(t,...i){t.emitters={random:n,value:[]};for(const e of i)if(e?.emitters)if((0,o.cyL)(e.emitters))for(const i of e.emitters){const e=new a.v;e.load(i),t.emitters.value.push(e)}else if(Object.hasOwn(e.emitters,"value")){const i=e.emitters;if(t.emitters.random.enable=i.random?.enable??t.emitters.random.enable,t.emitters.random.count=i.random?.count??t.emitters.random.count,(0,o.cyL)(i.value))for(const e of i.value){const i=new a.v;i.load(e),t.emitters.value.push(i)}else{const e=new a.v;e.load(i.value),t.emitters.value.push(e)}}else{const i=new a.v;i.load(e.emitters),t.emitters.value.push(i)}}removeEmitter(t){const i=this._instancesManager.getArray(this.container).indexOf(t);i>=0&&this._instancesManager.getArray(this.container).splice(i,1)}reset(){}}},9573(t,i,e){e.d(i,{G:()=>a});var s=e(7724),o=e(7703);class a{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=o.Q.circle}load(t){(0,s.kZJ)(t)||(void 0!==t.selectors&&(this.selectors=t.selectors),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.type&&(this.type=t.type))}}}}]);
|
package/526.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/547.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 547.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[547],{4547(s,t,e){e.d(t,{SoundsPlugin:()=>p});var i=e(5210),n=e(7724);class o{constructor(){this.loop=!1,this.source=""}load(s){(0,n.kZJ)(s)||((0,n.Gvm)(s)?(void 0!==s.loop&&(this.loop=s.loop),void 0!==s.source&&(this.source=s.source)):this.source=s)}}class l{constructor(){this.duration=500,this.value=[]}load(s){(0,n.kZJ)(s)||(void 0!==s.duration&&(this.duration=s.duration),void 0!==s.value&&(this.value=s.value))}}class c{constructor(){this.loop=!1,this.melodies=[],this.notes=[]}load(s){(0,n.kZJ)(s)||(void 0!==s.loop&&(this.loop=s.loop),void 0!==s.melodies&&(this.melodies=s.melodies.map((s=>{const t=new c;return t.load(s),t}))),void 0!==s.notes&&(this.notes=s.notes.map((s=>{const t=new l;return t.load(s),t}))))}}class a{constructor(){this.event=[],this.notes=[]}load(s){if(!(0,n.kZJ)(s)&&(void 0!==s.event&&(this.event=s.event),void 0!==s.audio&&((0,n.cyL)(s.audio)?this.audio=s.audio.map((s=>{const t=new o;return t.load(s),t})):(this.audio=new o,this.audio.load(s.audio))),void 0!==s.notes&&(this.notes=s.notes.map((s=>{const t=new l;return t.load(s),t}))),void 0!==s.melodies&&(this.melodies=s.melodies.map((s=>{const t=new c;return t.load(s),t}))),s.filter))if((0,n.KgX)(s.filter)){const t=globalThis[s.filter];(0,n.Tnt)(t)&&(this.filter=t)}else this.filter=s.filter}}class h{constructor(){this.width=24,this.height=24,this.style=""}load(s){(0,n.kZJ)(s)||(void 0!==s.path&&(this.path=s.path),void 0!==s.svg&&(this.svg=s.svg),void 0!==s.width&&(this.width=s.width),void 0!==s.height&&(this.height=s.height))}}class v{constructor(){this.mute=new h,this.unmute=new h,this.volumeDown=new h,this.volumeUp=new h,this.enable=!1,this.mute.svg='<?xml version="1.0"?>\n<svg baseProfile="tiny" height="24px" version="1.2" viewBox="0 0 24 24" width="24px"\n xml:space="preserve" xmlns="http://www.w3.org/2000/svg"\n xmlns:xlink="http://www.w3.org/1999/xlink">\n <g id="Layer_1">\n <path fill="#fff" d="M19.707,5.293c-0.391-0.391-1.023-0.391-1.414,0l-1.551,1.551c-0.345-0.688-0.987-1.02-1.604-1.02c-0.449,0-0.905,0.152-1.356,0.453l-2.672,1.781C10.357,8.561,8.904,9,8,9c-1.654,0-3,1.346-3,3v2c0,1.237,0.754,2.302,1.826,2.76l-1.533,1.533c-0.391,0.391-0.391,1.023,0,1.414C5.488,19.902,5.744,20,6,20s0.512-0.098,0.707-0.293l2.527-2.527c0.697,0.174,1.416,0.455,1.875,0.762l2.672,1.781c0.451,0.301,0.907,0.453,1.356,0.453C16.035,20.176,17,19.495,17,18V9.414l2.707-2.707C20.098,6.316,20.098,5.684,19.707,5.293z M14.891,7.941c0.038-0.025,0.073-0.046,0.104-0.062C14.998,7.914,15,7.954,15,8v1.293l-2,2V9.202L14.891,7.941z M7,12c0-0.552,0.448-1,1-1c1.211,0,2.907-0.495,4-1.146v2.439l-2.83,2.83C8.757,15.046,8.356,15,8,15c-0.552,0-1-0.448-1-1V12z M10.301,15.406L12,13.707v2.439C11.519,15.859,10.925,15.604,10.301,15.406z M14.994,18.12c-0.03-0.016-0.065-0.036-0.104-0.062L13,16.798v-4.091l2-2V18C15,18.046,14.998,18.086,14.994,18.12z"/>\n </g>\n</svg>',this.unmute.svg='<?xml version="1.0"?>\n<svg baseProfile="tiny" height="24px" version="1.2" viewBox="0 0 24 24" width="24px"\n xml:space="preserve" xmlns="http://www.w3.org/2000/svg"\n xmlns:xlink="http://www.w3.org/1999/xlink">\n <g id="Layer_1">\n <path fill="#fff" d="M17.138,5.824c-0.449,0-0.905,0.152-1.356,0.453l-2.672,1.781C12.357,8.561,10.904,9,10,9c-1.654,0-3,1.346-3,3v2c0,1.654,1.346,3,3,3c0.904,0,2.357,0.439,3.109,0.941l2.672,1.781c0.451,0.301,0.907,0.453,1.356,0.453C18.035,20.176,19,19.495,19,18V8C19,6.505,18.035,5.824,17.138,5.824z M14,16.146C12.907,15.495,11.211,15,10,15c-0.552,0-1-0.448-1-1v-2c0-0.552,0.448-1,1-1c1.211,0,2.907-0.495,4-1.146V16.146z M17,18c0,0.046-0.002,0.086-0.006,0.12c-0.03-0.016-0.065-0.036-0.104-0.062L15,16.798V9.202l1.891-1.261c0.038-0.025,0.073-0.046,0.104-0.062C16.998,7.914,17,7.954,17,8V18z"/>\n </g>\n</svg>',this.volumeDown.svg='<?xml version="1.0"?>\n<svg baseProfile="tiny" height="24px" version="1.2" viewBox="0 0 24 24" width="24px"\n xml:space="preserve" xmlns="http://www.w3.org/2000/svg"\n xmlns:xlink="http://www.w3.org/1999/xlink">\n <g id="Layer_1">\n <path fill="#fff" d="M15.138,5.824c-0.449,0-0.905,0.152-1.356,0.453l-2.672,1.781C10.357,8.561,8.904,9,8,9c-1.654,0-3,1.346-3,3v2c0,1.654,1.346,3,3,3c0.904,0,2.357,0.439,3.109,0.941l2.672,1.781c0.451,0.301,0.907,0.453,1.356,0.453C16.035,20.176,17,19.495,17,18V8C17,6.505,16.035,5.824,15.138,5.824z M8,15c-0.552,0-1-0.448-1-1v-2c0-0.552,0.448-1,1-1c1.211,0,2.907-0.495,4-1.146v6.293C10.907,15.495,9.211,15,8,15z M15,18c0,0.046-0.002,0.086-0.006,0.12c-0.03-0.016-0.065-0.036-0.104-0.062L13,16.798V9.202l1.891-1.261c0.038-0.025,0.073-0.046,0.104-0.062C14.998,7.914,15,7.954,15,8V18z"/>\n <path fill="#fff" d="M18.292,10.294c-0.39,0.391-0.39,1.023,0.002,1.414c0.345,0.345,0.535,0.803,0.535,1.291c0,0.489-0.19,0.948-0.536,1.294c-0.391,0.39-0.391,1.023,0,1.414C18.488,15.902,18.744,16,19,16s0.512-0.098,0.707-0.293c0.724-0.723,1.122-1.685,1.122-2.708s-0.398-1.984-1.123-2.707C19.317,9.903,18.683,9.901,18.292,10.294z"/>\n </g>\n</svg>',this.volumeUp.svg='<?xml version="1.0"?>\n<svg baseProfile="tiny" height="24px" version="1.2" viewBox="0 0 24 24" width="24px"\n xml:space="preserve" xmlns="http://www.w3.org/2000/svg"\n xmlns:xlink="http://www.w3.org/1999/xlink">\n <g id="Layer_1">\n <path fill="#fff" d="M16.706,10.292c-0.389-0.389-1.023-0.391-1.414,0.002c-0.39,0.391-0.39,1.023,0.002,1.414c0.345,0.345,0.535,0.803,0.535,1.291c0,0.489-0.19,0.948-0.536,1.294c-0.391,0.39-0.391,1.023,0,1.414C15.488,15.902,15.744,16,16,16s0.512-0.098,0.707-0.293c0.724-0.723,1.122-1.685,1.122-2.708S17.431,11.015,16.706,10.292z"/>\n <path fill="#fff" d="M18.706,8.292c-0.391-0.389-1.023-0.39-1.414,0.002c-0.39,0.391-0.39,1.024,0.002,1.414c0.879,0.877,1.363,2.044,1.364,3.287c0.001,1.246-0.484,2.417-1.365,3.298c-0.391,0.391-0.391,1.023,0,1.414C17.488,17.902,17.744,18,18,18s0.512-0.098,0.707-0.293c1.259-1.259,1.952-2.933,1.951-4.713C20.657,11.217,19.964,9.547,18.706,8.292z"/>\n <path fill="#fff" d="M20.706,6.292c-0.391-0.389-1.023-0.39-1.414,0.002c-0.39,0.391-0.39,1.024,0.002,1.414c1.412,1.409,2.191,3.285,2.192,5.284c0.002,2.002-0.777,3.885-2.193,5.301c-0.391,0.391-0.391,1.023,0,1.414C19.488,19.902,19.744,20,20,20s0.512-0.098,0.707-0.293c1.794-1.794,2.781-4.18,2.779-6.717C23.485,10.457,22.497,8.078,20.706,6.292z"/>\n <path fill="#fff" d="M12.138,5.824c-0.449,0-0.905,0.152-1.356,0.453L8.109,8.059C7.357,8.561,5.904,9,5,9c-1.654,0-3,1.346-3,3v2c0,1.654,1.346,3,3,3c0.904,0,2.357,0.439,3.109,0.941l2.672,1.781c0.451,0.301,0.907,0.453,1.356,0.453C13.035,20.176,14,19.495,14,18V8C14,6.505,13.035,5.824,12.138,5.824z M5,15c-0.552,0-1-0.448-1-1v-2c0-0.552,0.448-1,1-1c1.211,0,2.907-0.495,4-1.146v6.293C7.907,15.495,6.211,15,5,15z M12,18c0,0.046-0.002,0.086-0.006,0.12c-0.03-0.016-0.065-0.036-0.104-0.062L10,16.798V9.202l1.891-1.261c0.038-0.025,0.073-0.046,0.104-0.062C11.998,7.914,12,7.954,12,8V18z"/>\n </g>\n</svg>'}load(s){(0,n.kZJ)(s)||(void 0!==s.enable&&(this.enable=s.enable),this.mute.load(s.mute),this.unmute.load(s.unmute),this.volumeDown.load(s.volumeDown),this.volumeUp.load(s.volumeUp))}}class d{constructor(){this.value=100,this.max=100,this.min=0,this.step=10}load(s){(0,n.kZJ)(s)||((0,n.Gvm)(s)?(void 0!==s.max&&(this.max=s.max),void 0!==s.min&&(this.min=s.min),void 0!==s.step&&(this.step=s.step),void 0!==s.value&&(this.value=s.value)):this.value=s)}}class r{constructor(){this.autoPlay=!0,this.enable=!1,this.events=[],this.icons=new v,this.volume=new d}load(s){(0,n.kZJ)(s)||(void 0!==s.autoPlay&&(this.autoPlay=s.autoPlay),void 0!==s.enable&&(this.enable=s.enable),void 0!==s.events&&(this.events=s.events.map((s=>{const t=new a;return t.load(s),t}))),this.icons.load(s.icons),void 0!==s.volume&&this.volume.load(s.volume))}}var u=e(9522);const w=()=>{removeEventListener(i.m,w),removeEventListener(i.s,w),(0,u.XK)()};class p{constructor(s){this.id="sounds",this._engine=s;const t={capture:!0,once:!0};addEventListener(i.m,w,t),addEventListener(i.s,w,t)}async getPlugin(s){const{SoundsPluginInstance:t}=await e.e(799).then(e.bind(e,8799));return new t(s,this._engine)}loadOptions(s,t,e){if(!this.needsPlugin(t)&&!this.needsPlugin(e))return;let i=t.sounds;void 0===i?.load&&(t.sounds=i=new r),i.load(e?.sounds)}needsPlugin(s){return s?.sounds?.enable??!1}}},5210(s,t,e){e.d(t,{m:()=>i,s:()=>n});const i="pointerdown",n="touchstart"},9522(s,t,e){e.d(t,{E3:()=>l,XK:()=>c,jE:()=>n});const i=new Map;function n(s){const t=/(([A-G]b?)(\d))|pause/i.exec(s);if(!t?.length)return;const e=t[2]??t[0],n=i.get(e);return n?n[parseInt(t[3]??"0")]:void 0}i.set("C",[16.35,32.7,65.41,130.81,261.63,523.25,1046.5,2093,4186.01]),i.set("Db",[17.32,34.65,69.3,138.59,277.18,554.37,1108.73,2217.46,4434.92]),i.set("D",[18.35,36.71,73.42,146.83,293.66,587.33,1174.66,2349.32,4698.63]),i.set("Eb",[19.45,38.89,77.78,155.56,311.13,622.25,1244.51,2489.02,4978.03]),i.set("E",[20.6,41.2,82.41,164.81,329.63,659.25,1318.51,2637.02,5274.04]),i.set("F",[21.83,43.65,87.31,174.61,349.23,698.46,1396.91,2793.83,5587.65]),i.set("Gb",[23.12,46.25,92.5,185,369.99,739.99,1479.98,2959.96,5919.91]),i.set("G",[24.5,49,98,196,392,783.99,1567.98,3135.96,6271.93]),i.set("Ab",[25.96,51.91,103.83,207.65,415.3,830.61,1661.22,3322.44,6644.88]),i.set("A",[27.5,55,110,220,440,880,1760,3520,7040]),i.set("Bb",[29.14,58.27,116.54,233.08,466.16,932.33,1864.66,3729.31,7458.62]),i.set("B",[30.87,61.74,123.47,246.94,493.88,987.77,1975.53,3951.07,7902.13]),i.set("pause",[0]);let o=!0;const l=()=>o,c=()=>{o=!1}}}]);
|
package/547.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/56.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/580.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 580.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[580],{6580(o,e,i){i.d(e,{ColorUpdater:()=>t});var n=i(7724);class t{constructor(o,e){this._container=e,this._engine=o}init(o){const e=(0,n.R5R)(this._engine,o.options.color,o.id,o.options.reduceDuplicates);e&&(o.color=(0,n.pzy)(e,o.options.color.animation,this._container.retina.reduceFactor))}isEnabled(o){const{h:e,s:i,l:n}=o.options.color.animation,{color:t}=o;return!o.destroyed&&!o.spawning&&(void 0!==t?.h.value&&e.enable||void 0!==t?.s.value&&i.enable||void 0!==t?.l.value&&n.enable)}update(o,e){(0,n.JvX)(o.color,e)}}}}]);
|
package/580.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/591.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 591.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[591],{9591(e,a,t){async function i(e){e.checkVersion("4.0.0-alpha.8"),await e.register((e=>{e.addParticleUpdater("life",(async e=>{const{LifeUpdater:a}=await t.e(759).then(t.bind(t,3759));return new a(e)}))}))}t.d(a,{loadLifeUpdater:()=>i})}}]);
|
package/591.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/743.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 743.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[743],{3743(a,e,i){i.d(e,{CircleDrawer:()=>r});var c=i(7724);class r{constructor(){this.validTypes=["circle"]}draw(a){!function(a){const{context:e,particle:i,radius:r}=a;i.circleRange??={min:0,max:c.R1e};const n=i.circleRange;e.arc(c.boI.x,c.boI.y,r,n.min,n.max,!1)}(a)}getSidesCount(){return 12}particleInit(a,e){const i=e.shapeData,r=i?.angle??{max:360,min:0};e.circleRange=(0,c.Gvm)(r)?{min:(0,c.puj)(r.min),max:(0,c.puj)(r.max)}:{min:0,max:(0,c.puj)(r)}}}}}]);
|
package/743.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/744.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/754.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 754.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[754,917],{917(t,e,i){i.d(e,{B:()=>n,loadEmittersPlugin:()=>r});class n{constructor(t,e,i,n){this.position=t,this.size=e,this.fill=i,this.options=n}resize(t,e){this.position=t,this.size=e}}var a;async function r(t){t.checkVersion("4.0.0-alpha.8"),await t.register((async t=>{const{loadInteractivityPlugin:e}=await i.e(824).then(i.bind(i,6824)),{ShapeManager:n}=await i.e(296).then(i.bind(i,8296)),{EmittersInstancesManager:a}=await i.e(188).then(i.bind(i,7188)),{EmittersPlugin:r}=await i.e(160).then(i.bind(i,7160)),s=new a(t);await e(t),t.emitterShapeManager??=new n,t.addEmitterShapeGenerator??=(e,i)=>{t.emitterShapeManager?.addShapeGenerator(e,i)},t.addPlugin(new r(s)),t.addInteractor?.("externalEmitters",(async t=>{const{EmittersInteractor:e}=await i.e(526).then(i.bind(i,8526));return new e(s,t)}))}))}!function(t){t.emitter="emitter"}(a||(a={}))},2754(t,e,i){i.d(e,{EmittersSquareShapeGenerator:()=>h});var n=i(917),a=i(7724);var r;function s(t,e){return t+e*((0,a.G0i)()-a.MXx)}!function(t){t[t.TopLeft=0]="TopLeft",t[t.TopRight=1]="TopRight",t[t.BottomRight=2]="BottomRight",t[t.BottomLeft=3]="BottomLeft"}(r||(r={}));class o extends n.B{constructor(t,e,i,n){super(t,e,i,n)}async init(){}randomPosition(){const t=this.fill,e=this.position,i=this.size;if(t)return{position:{x:s(e.x,i.width),y:s(e.y,i.height)}};{const t=i.width*a.MXx,n=i.height*a.MXx,s=Math.floor(4*(0,a.G0i)()),o=((0,a.G0i)()-a.MXx)*a.gdl;switch(s){case r.TopLeft:return{position:{x:e.x+o*t,y:e.y-n}};case r.TopRight:return{position:{x:e.x-t,y:e.y+o*n}};case r.BottomRight:return{position:{x:e.x+o*t,y:e.y+n}};case r.BottomLeft:default:return{position:{x:e.x+t,y:e.y+o*n}}}}}}class h{generate(t,e,i,n){return new o(t,e,i,n)}}}}]);
|
package/754.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/759.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 759.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[759],{3759(e,i,t){t.d(i,{LifeUpdater:()=>r});var n=t(7724);class a extends n.PVU{constructor(){super(),this.sync=!1}load(e){(0,n.kZJ)(e)||(super.load(e),void 0!==e.sync&&(this.sync=e.sync))}}class o extends n.PVU{constructor(){super(),this.sync=!1}load(e){(0,n.kZJ)(e)||(super.load(e),void 0!==e.sync&&(this.sync=e.sync))}}class s{constructor(){this.count=0,this.delay=new a,this.duration=new o}load(e){(0,n.kZJ)(e)||(void 0!==e.count&&(this.count=e.count),this.delay.load(e.delay),this.duration.load(e.duration))}}class r{constructor(e){this.container=e}init(e){const i=this.container,t=e.options.life;t&&(e.life={delay:i.retina.reduceFactor?(0,n.VGA)(t.delay.value)*(t.delay.sync?1:(0,n.G0i)())/i.retina.reduceFactor*n.XuV:0,delayTime:0,duration:i.retina.reduceFactor?(0,n.VGA)(t.duration.value)*(t.duration.sync?1:(0,n.G0i)())/i.retina.reduceFactor*n.XuV:0,time:0,count:t.count},e.life.duration<=0&&(e.life.duration=-1),e.life.count<=0&&(e.life.count=-1),e.spawning=e.life.delay>0)}isEnabled(e){return!e.destroyed}loadOptions(e,...i){e.life??=new s;for(const t of i)e.life.load(t?.life)}update(e,i){this.isEnabled(e)&&e.life&&function(e,i,t){if(!e.life)return;const a=e.life;let o=!1;if(e.spawning){if(a.delayTime+=i.value,!(a.delayTime>=e.life.delay))return;o=!0,e.spawning=!1,a.delayTime=0,a.time=0}if(-1===a.duration)return;if(o?a.time=0:a.time+=i.value,a.time<a.duration)return;if(a.time=0,e.life.count>0&&e.life.count--,0===e.life.count)return void e.destroy();const s=(0,n.DT4)(0,t.width),r=(0,n.DT4)(0,t.width);e.position.x=(0,n.vEz)(s),e.position.y=(0,n.vEz)(r),e.spawning=!0,a.delayTime=0,a.time=0,e.reset();const l=e.options.life;l&&(a.delay=(0,n.VGA)(l.delay.value)*n.XuV,a.duration=(0,n.VGA)(l.duration.value)*n.XuV)}(e,i,this.container.canvas.size)}}}}]);
|
package/759.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/799.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 799.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[799],{8799(t,e,n){n.d(e,{SoundsPluginInstance:()=>l});var i,s,o=n(7724);!function(t){t.mute="soundsMuted",t.unmute="soundsUnmuted"}(i||(i={})),function(t){t.Block="block",t.None="none"}(s||(s={}));var a=n(9522),u=n(5210);function c(t){const e=(0,o.T5G)().createElement("img"),{clickCb:n,container:i,display:s,iconOptions:a,margin:u,options:c,pos:r,rightOffsets:l}=t,{width:h,path:d,style:m,svg:_}=a;!function(t,e,n,i,s,o,a,u){t.style.userSelect="none",t.style.position="absolute",t.style.top=`${(e+a).toString()}px`,t.style.left=`${(n-a-o).toString()}px`,t.style.display=i,t.style.zIndex=(s+1).toString(),t.style.cssText+=u}(e,r.top+u,r.right-(u*(l.length+1)+h+l.reduce(((t,e)=>t+e),0)),s,c.fullScreen.zIndex+1,h,u,m),e.src=d??(_?`data:image/svg+xml;base64,${btoa(_)}`:"");return(i.canvas.element?.parentNode??(0,o.T5G)().body).append(e),e.addEventListener("click",(()=>{n()})),e}function r(t){t&&t.remove()}class l{constructor(t,e){this._addBuffer=t=>{const e=t.createBufferSource();return this._audioSources.push(e),e},this._addOscillator=t=>{const e=t.createOscillator();return this._audioSources.push(e),e},this._initEvents=()=>{const t=this._container,e=t.actualOptions.sounds;if(e?.enable&&t.canvas.element)for(const t of e.events){const e=n=>{n&&(async()=>{const i=t.filter&&!t.filter(n);if(this._container!==n.container)return;if(this._container.muted||this._container.destroyed)return void(0,o.wJ2)(t.event,(t=>{this._engine.removeEventListener(t,e)}));if(i)return;if(t.audio){const e=(0,o.TA3)(t.audio);if(!e)return;this._playBuffer(e)}else if(t.melodies){const e=(0,o.Vh1)(t.melodies);if(!e)return;e.melodies.length?await Promise.allSettled(e.melodies.map((t=>this._playNote(t.notes,0,e.loop)))):await this._playNote(e.notes,0,e.loop)}else if(t.notes){const e=(0,o.Vh1)(t.notes);if(!e)return;await this._playNote([e],0,!1)}})()};(0,o.wJ2)(t.event,(t=>{this._engine.addEventListener(t,e)}))}},this._mute=async()=>{const t=this._container,e=this._getAudioContext();for(const t of this._audioSources)this._removeAudioSource(t);this._gain&&this._gain.disconnect(),await e.close(),t.audioContext=void 0,this._engine.dispatchEvent(i.mute,{container:this._container})},this._playBuffer=t=>{const e=this._audioMap.get(t.source);if(!e)return;const n=this._container.audioContext;if(!n)return;const i=this._addBuffer(n);i.loop=t.loop,i.buffer=e,i.connect(this._gain??n.destination),i.start()},this._playFrequency=async(t,e)=>{if(!this._gain||this._container.muted)return;const n=this._getAudioContext(),i=this._addOscillator(n);return i.connect(this._gain),i.type="sine",i.frequency.value=t,i.start(),new Promise((t=>{setTimeout((()=>{this._removeAudioSource(i),t()}),e)}))},this._playMuteSound=()=>{if(this._container.muted)return;const t=this._getAudioContext(),e=t.createGain();e.connect(t.destination),e.gain.value=0;const n=t.createOscillator();n.connect(e),n.type="sine",n.frequency.value=1,n.start(),setTimeout((()=>{n.stop(),n.disconnect(),e.disconnect()}))},this._playNote=async(t,e,n)=>{if(this._container.muted)return;const i=t[e];if(!i)return;const s=i.value,a=(0,o.wJ2)(s,(async(n,i)=>this._playNoteValue(t,e,i)));await((0,o.cyL)(a)?Promise.allSettled(a):a);let u=e+1;n&&u>=t.length&&(u%=t.length),await this._playNote(t,u,n)},this._playNoteValue=async(t,e,n)=>{const i=t[e];if(!i)return;const s=(0,o.TA3)(i.value,n,!0);if(s)try{const t=(0,a.jE)(s);if(!(0,o.EtT)(t))return;await this._playFrequency(t,i.duration)}catch(t){(0,o.tZQ)().error(t)}},this._removeAudioSource=t=>{t.stop(),t.disconnect();this._audioSources.splice(this._audioSources.indexOf(t),1)},this._unmute=()=>{const t=this._container.actualOptions.sounds;if(!t)return;const e=this._getAudioContext(),n=e.createGain();n.connect(e.destination),n.gain.value=t.volume.value/o.a56,this._gain=n,this._initEvents(),this._engine.dispatchEvent(i.unmute,{container:this._container})},this._updateMuteIcons=()=>{const t=this._container,e=t.actualOptions.sounds;if(!e?.enable||!e.icons.enable)return;const n=this._muteImg,i=this._unmuteImg;n&&(n.style.display=t.muted?"block":"none"),i&&(i.style.display=t.muted?"none":"block")},this._updateMuteStatus=async()=>{const t=this._container,e=this._getAudioContext();t.muted?(await e.suspend(),await this._mute()):(await e.resume(),this._unmute(),this._playMuteSound())},this._updateVolume=async()=>{const t=this._container,e=t.actualOptions.sounds;if(!e?.enable)return;(0,o.qE8)(this._volume,e.volume.min,e.volume.max);let n=!1;this._volume<=0&&!t.muted?(this._volume=0,t.muted=!0,n=!0):this._volume>0&&t.muted&&(t.muted=!1,n=!0),n&&(this._updateMuteIcons(),await this._updateMuteStatus()),this._gain?.gain&&(this._gain.gain.value=this._volume/o.a56)},this._container=t,this._engine=e,this._volume=0,this._audioSources=[],this._audioMap=new Map}async init(){const t=this._container.actualOptions.sounds;if(!t?.enable)return;if(t.autoPlay&&(0,a.E3)()){const t=()=>{removeEventListener(u.m,t),removeEventListener(u.s,t),(0,a.XK)(),this.unmute()},e={capture:!0,once:!0};addEventListener(u.m,t,e),addEventListener(u.s,t,e)}this._volume=t.volume.value;const e=t.events;this._audioMap=new Map;for(const t of e){if(!t.audio)continue;const e=(0,o.wJ2)(t.audio,(async t=>{const e=await fetch(t.source);if(!e.ok)return;const n=await e.arrayBuffer(),i=this._getAudioContext(),s=await i.decodeAudioData(n);this._audioMap.set(t.source,s)}));e instanceof Promise?await e:await Promise.allSettled(e)}}async mute(){this._container.muted||await this.toggleMute()}async start(){const t=this._container,e=t.actualOptions,n=e.sounds;if(!n?.enable||!t.canvas.element)return;t.muted=!0;const i=t.canvas.element,o={top:i.offsetTop,right:i.offsetLeft+i.offsetWidth},{mute:u,unmute:r,volumeDown:l,volumeUp:h}=n.icons,d=async()=>{await this.toggleMute()},m=n.icons.enable?s.Block:s.None;this._muteImg=c({container:t,options:e,pos:o,display:m,iconOptions:u,margin:10,rightOffsets:[l.width,h.width],clickCb:d}),this._unmuteImg=c({container:t,options:e,pos:o,display:s.None,iconOptions:r,margin:10,rightOffsets:[l.width,h.width],clickCb:d}),this._volumeDownImg=c({container:t,options:e,pos:o,display:m,iconOptions:l,margin:10,rightOffsets:[h.width],clickCb:async()=>{await this.volumeDown()}}),this._volumeUpImg=c({container:t,options:e,pos:o,display:m,iconOptions:h,margin:10,rightOffsets:[],clickCb:async()=>{await this.volumeUp()}}),!(0,a.E3)()&&n.autoPlay&&await this.unmute()}stop(){this._container.muted=!0,(async()=>{await this._mute(),r(this._muteImg),r(this._unmuteImg),r(this._volumeDownImg),r(this._volumeUpImg)})()}async toggleMute(){const t=this._container;t.muted=!t.muted,this._updateMuteIcons(),await this._updateMuteStatus()}async unmute(){this._container.muted&&await this.toggleMute()}async volumeDown(){const t=this._container,e=t.actualOptions.sounds;e?.enable&&(t.muted&&(this._volume=0),this._volume-=e.volume.step,await this._updateVolume())}async volumeUp(){const t=this._container.actualOptions.sounds;t?.enable&&(this._volume+=t.volume.step,await this._updateVolume())}_getAudioContext(){const t=this._container;return t.audioContext??=new AudioContext,t.audioContext}}}}]);
|
package/799.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/804.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 804.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[804],{3804(t,a,e){async function r(t){t.checkVersion("4.0.0-alpha.8"),await t.register((t=>{t.addParticleUpdater("rotate",(async t=>{const{RotateUpdater:a}=await e.e(113).then(e.bind(e,5113));return new a(t)}))}))}e.d(a,{loadRotateUpdater:()=>r})}}]);
|
package/804.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/824.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 824.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[824],{409(t,e,i){var n;i.d(e,{e:()=>n}),function(t){t.external="external",t.particles="particles"}(n||(n={}))},1124(t,e,i){var n;i.d(e,{h:()=>n}),function(t){t.canvas="canvas",t.parent="parent",t.window="window"}(n||(n={}))},6245(t,e,i){i.d(e,{d:()=>r});var n=i(7724);class r{constructor(t,e){this._engine=t,this._container=e}load(t){if((0,n.kZJ)(t))return;if(!this._container)return;const e=this._engine.interactors?.get(this._container);if(e)for(const i of e)i.loadModeOptions&&i.loadModeOptions(this,t)}}},6824(t,e,i){i.d(e,{sJ:()=>a,loadInteractivityPlugin:()=>s});var n=i(7724),r=(i(7703),i(409));class a{constructor(t){this.type=r.e.external,this.container=t}}i(1124);i(9573),i(6245);async function s(t){t.checkVersion("4.0.0-alpha.8"),await t.register((async t=>{const e=t,{InteractivityPlugin:r}=await i.e(256).then(i.bind(i,7256));e.addPlugin(new r(e)),e.interactorsInitializers??=new Map,e.interactors??=new Map,e.addInteractor=(t,i)=>{e.interactorsInitializers??=new Map,e.interactorsInitializers.set(t,i)},e.getInteractors=async(t,i=!1)=>(e.interactors??=new Map,e.interactorsInitializers??=new Map,(0,n.HQK)(t,e.interactors,e.interactorsInitializers,i)),e.setOnClickHandler=t=>{const{items:i}=e;if(!i.length)throw new Error("Click handlers can only be set after calling tsParticles.load()");i.forEach((e=>{const i=e;i.addClickHandler?.(t)}))}}))}},7703(t,e,i){var n;i.d(e,{Q:()=>n}),function(t){t.circle="circle",t.rectangle="rectangle"}(n||(n={}))},9573(t,e,i){i.d(e,{G:()=>a});var n=i(7724),r=i(7703);class a{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=r.Q.circle}load(t){(0,n.kZJ)(t)||(void 0!==t.selectors&&(this.selectors=t.selectors),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.type&&(this.type=t.type))}}}}]);
|
package/824.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/830.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 830.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[830],{8830(t,a,i){i.d(a,{TrailDrawer:()=>e});var r=i(7724);const n={a:1,b:0,c:0,d:1};class e{drawAfter(t){const{context:a,radius:i,particle:e,transformData:o}=t,l=i*r.gdl,s=e.container.retina.pixelRatio,h=e.getPosition(),c=e.trail;if(!c||!e.trailLength)return;const x=e.trailLength+i;if(c.push({color:a.fillStyle||a.strokeStyle,position:{x:h.x,y:h.y},transformData:o}),c.length<2)return;for(;c.length>x;)c.shift();const d=Math.min(c.length,x),f=e.container.canvas.size.width+l,p=e.container.canvas.size.height+l,y=c[d-1];if(!y)return;let m=y.position;for(let t=d;t>r.dvp;t--){const i=c[t-1];if(!i)continue;const o=i.position,h=e.trailTransform?i.transformData??n:n;a.setTransform(h.a,h.b,h.c,h.d,o.x,o.y),a.beginPath(),a.moveTo(m.x-o.x,m.y-o.y);const x={x:(m.x+f)%f,y:(m.y+p)%p};if(Math.abs(m.x-o.x)>f*r.MXx||Math.abs(m.y-o.y)>p*r.MXx){m=o;continue}a.lineTo(Math.abs(m.x-o.x)>f*r.MXx?x.x:r.boI.x,Math.abs(m.y-o.y)>p*r.MXx?x.y:r.boI.y);const y=Math.max(t/d*l,s,e.trailMinWidth??-1),M=a.globalAlpha;a.globalAlpha=e.trailFade?t/d:r.aZx,a.lineWidth=e.trailMaxWidth?Math.min(y,e.trailMaxWidth):y,a.strokeStyle=i.color,a.stroke(),a.globalAlpha=M,m=o}a.setTransform(o.a,o.b,o.c,o.d,h.x,h.y)}particleInit(t,a){a.trail=[];const i=a.effectData;a.trailFade=i?.fade??!0,a.trailLength=(0,r.VGA)(i?.length??10)*t.retina.pixelRatio,a.trailMaxWidth=i?.maxWidth?(0,r.VGA)(i.maxWidth)*t.retina.pixelRatio:void 0,a.trailMinWidth=i?.minWidth?(0,r.VGA)(i.minWidth)*t.retina.pixelRatio:void 0,a.trailTransform=i?.transform??!1}}}}]);
|
package/830.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/847.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 847.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[847],{8847(t,a,s){s.d(a,{EmittersPluginInstance:()=>i});var n=s(7724);class i{constructor(t,a){this.container=a,this._instancesManager=t,this._instancesManager.initContainer(a)}async init(){const t=this.container.actualOptions.emitters;if((0,n.cyL)(t))for(const a of t)await this._instancesManager.addEmitter(this.container,a);else await this._instancesManager.addEmitter(this.container,t)}pause(){for(const t of this._instancesManager.getArray(this.container))t.pause()}play(){for(const t of this._instancesManager.getArray(this.container))t.play()}resize(){for(const t of this._instancesManager.getArray(this.container))t.resize()}stop(){this._instancesManager.clear(this.container)}update(t){this._instancesManager.getArray(this.container).forEach((a=>{a.update(t)}))}}}}]);
|
package/847.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/85.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 85.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[85],{1085(a,e,t){async function s(a){a.checkVersion("4.0.0-alpha.8"),await a.register((a=>{a.addParticleUpdater("outModes",(async a=>{const{OutOfCanvasUpdater:e}=await t.e(993).then(t.bind(t,8993));return new e(a)}))}))}t.d(e,{loadOutModesUpdater:()=>s})}}]);
|
package/85.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/865.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 865.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[865],{3865(e,t,a){async function r(e){e.checkVersion("4.0.0-alpha.8"),await e.register((e=>{e.addParticleUpdater("destroy",(async t=>{const{DestroyUpdater:r}=await a.e(361).then(a.bind(a,6361));return new r(e,t)}))}))}a.d(t,{loadDestroyUpdater:()=>r})}}]);
|
package/865.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/911.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 911.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[911],{6911(a,e,i){async function t(a){a.checkVersion("4.0.0-alpha.8"),await a.register((async a=>{const{TrailDrawer:e}=await i.e(830).then(i.bind(i,8830));a.addEffect("trail",new e)}))}i.d(e,{loadTrailEffect:()=>t})}}]);
|
package/911.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/917.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 917.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[917],{917(t,e,i){i.d(e,{B:()=>a,loadEmittersPlugin:()=>r});class a{constructor(t,e,i,a){this.position=t,this.size=e,this.fill=i,this.options=a}resize(t,e){this.position=t,this.size=e}}var n;async function r(t){t.checkVersion("4.0.0-alpha.8"),await t.register((async t=>{const{loadInteractivityPlugin:e}=await i.e(824).then(i.bind(i,6824)),{ShapeManager:a}=await i.e(296).then(i.bind(i,8296)),{EmittersInstancesManager:n}=await i.e(188).then(i.bind(i,7188)),{EmittersPlugin:r}=await i.e(160).then(i.bind(i,7160)),s=new n(t);await e(t),t.emitterShapeManager??=new a,t.addEmitterShapeGenerator??=(e,i)=>{t.emitterShapeManager?.addShapeGenerator(e,i)},t.addPlugin(new r(s)),t.addInteractor?.("externalEmitters",(async t=>{const{EmittersInteractor:e}=await i.e(526).then(i.bind(i,8526));return new e(s,t)}))}))}!function(t){t.emitter="emitter"}(n||(n={}))}}]);
|
package/917.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
package/993.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 993.min.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[993],{8993(t,i,o){o.d(i,{OutOfCanvasUpdater:()=>c});var e=o(7724);class s{constructor(t){this.container=t,this.modes=[e.Yzx.bounce,e.Yzx.split]}update(t,i,o,s){if(!this.modes.includes(s))return;const n=this.container;let a=!1;for(const e of n.plugins)if(void 0!==e.particleBounce&&(a=e.particleBounce(t,o,i)),a)break;if(a)return;const r=t.getPosition(),c=t.offset,d=t.getRadius(),p=(0,e.AEc)(r,d),u=n.canvas.size;!function(t){if(t.outMode!==e.Yzx.bounce&&t.outMode!==e.Yzx.split||t.direction!==e.v5k.left&&t.direction!==e.v5k.right)return;t.bounds.right<0&&t.direction===e.v5k.left?t.particle.position.x=t.size+t.offset.x:t.bounds.left>t.canvasSize.width&&t.direction===e.v5k.right&&(t.particle.position.x=t.canvasSize.width-t.size-t.offset.x);const i=t.particle.velocity.x;let o=!1;if(t.direction===e.v5k.right&&t.bounds.right>=t.canvasSize.width&&i>0||t.direction===e.v5k.left&&t.bounds.left<=0&&i<0){const i=(0,e.VGA)(t.particle.options.bounce.horizontal.value);t.particle.velocity.x*=-i,o=!0}if(!o)return;const s=t.offset.x+t.size;t.bounds.right>=t.canvasSize.width&&t.direction===e.v5k.right?t.particle.position.x=t.canvasSize.width-s:t.bounds.left<=0&&t.direction===e.v5k.left&&(t.particle.position.x=s),t.outMode===e.Yzx.split&&t.particle.destroy()}({particle:t,outMode:s,direction:i,bounds:p,canvasSize:u,offset:c,size:d}),function(t){if(t.outMode!==e.Yzx.bounce&&t.outMode!==e.Yzx.split||t.direction!==e.v5k.bottom&&t.direction!==e.v5k.top)return;t.bounds.bottom<0&&t.direction===e.v5k.top?t.particle.position.y=t.size+t.offset.y:t.bounds.top>t.canvasSize.height&&t.direction===e.v5k.bottom&&(t.particle.position.y=t.canvasSize.height-t.size-t.offset.y);const i=t.particle.velocity.y;let o=!1;if(t.direction===e.v5k.bottom&&t.bounds.bottom>=t.canvasSize.height&&i>0||t.direction===e.v5k.top&&t.bounds.top<=0&&i<0){const i=(0,e.VGA)(t.particle.options.bounce.vertical.value);t.particle.velocity.y*=-i,o=!0}if(!o)return;const s=t.offset.y+t.size;t.bounds.bottom>=t.canvasSize.height&&t.direction===e.v5k.bottom?t.particle.position.y=t.canvasSize.height-s:t.bounds.top<=0&&t.direction===e.v5k.top&&(t.particle.position.y=s),t.outMode===e.Yzx.split&&t.particle.destroy()}({particle:t,outMode:s,direction:i,bounds:p,canvasSize:u,offset:c,size:d})}}class n{constructor(t){this.container=t,this.modes=[e.Yzx.destroy]}update(t,i,o,s){if(!this.modes.includes(s))return;const n=this.container;switch(t.outType){case e.x_I.normal:case e.x_I.outside:if((0,e.Tj8)(t.position,n.canvas.size,e.Miz.origin,t.getRadius(),i))return;break;case e.x_I.inside:{const{dx:i,dy:o}=(0,e.vrU)(t.position,t.moveCenter),{x:s,y:n}=t.velocity;if(s<0&&i>t.moveCenter.radius||n<0&&o>t.moveCenter.radius||s>=0&&i<-t.moveCenter.radius||n>=0&&o<-t.moveCenter.radius)return;break}}n.particles.remove(t,t.group,!0)}}class a{constructor(t){this.container=t,this.modes=[e.Yzx.none]}update(t,i,o,s){if(!this.modes.includes(s))return;if((t.options.move.distance.horizontal&&(i===e.v5k.left||i===e.v5k.right))??(t.options.move.distance.vertical&&(i===e.v5k.top||i===e.v5k.bottom)))return;const n=t.options.move.gravity,a=this.container,r=a.canvas.size,c=t.getRadius();if(n.enable){const o=t.position;(!n.inverse&&o.y>r.height+c&&i===e.v5k.bottom||n.inverse&&o.y<-c&&i===e.v5k.top)&&a.particles.remove(t)}else{if(t.velocity.y>0&&t.position.y<=r.height+c||t.velocity.y<0&&t.position.y>=-c||t.velocity.x>0&&t.position.x<=r.width+c||t.velocity.x<0&&t.position.x>=-c)return;(0,e.Tj8)(t.position,a.canvas.size,e.Miz.origin,c,i)||a.particles.remove(t)}}}class r{constructor(t){this.container=t,this.modes=[e.Yzx.out]}update(t,i,o,s){if(!this.modes.includes(s))return;const n=this.container;switch(t.outType){case e.x_I.inside:{const{x:i,y:o}=t.velocity,s=e.Miz.origin;s.length=t.moveCenter.radius,s.angle=t.velocity.angle+Math.PI,s.addTo(e.Miz.create(t.moveCenter));const{dx:a,dy:r}=(0,e.vrU)(t.position,s);if(i<=0&&a>=0||o<=0&&r>=0||i>=0&&a<=0||o>=0&&r<=0)return;t.position.x=Math.floor((0,e.vEz)({min:0,max:n.canvas.size.width})),t.position.y=Math.floor((0,e.vEz)({min:0,max:n.canvas.size.height}));const{dx:c,dy:d}=(0,e.vrU)(t.position,t.moveCenter);t.direction=Math.atan2(-d,-c),t.velocity.angle=t.direction;break}default:if((0,e.Tj8)(t.position,n.canvas.size,e.Miz.origin,t.getRadius(),i))return;switch(t.outType){case e.x_I.outside:{t.position.x=Math.floor((0,e.vEz)({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.x,t.position.y=Math.floor((0,e.vEz)({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.y;const{dx:i,dy:o}=(0,e.vrU)(t.position,t.moveCenter);t.moveCenter.radius&&(t.direction=Math.atan2(o,i),t.velocity.angle=t.direction);break}case e.x_I.normal:{const o=t.options.move.warp,s=n.canvas.size,a={bottom:s.height+t.getRadius()+t.offset.y,left:-t.getRadius()-t.offset.x,right:s.width+t.getRadius()+t.offset.x,top:-t.getRadius()-t.offset.y},r=t.getRadius(),c=(0,e.AEc)(t.position,r);i===e.v5k.right&&c.left>s.width+t.offset.x?(t.position.x=a.left,t.initialPosition.x=t.position.x,o||(t.position.y=(0,e.G0i)()*s.height,t.initialPosition.y=t.position.y)):i===e.v5k.left&&c.right<-t.offset.x&&(t.position.x=a.right,t.initialPosition.x=t.position.x,o||(t.position.y=(0,e.G0i)()*s.height,t.initialPosition.y=t.position.y)),i===e.v5k.bottom&&c.top>s.height+t.offset.y?(o||(t.position.x=(0,e.G0i)()*s.width,t.initialPosition.x=t.position.x),t.position.y=a.top,t.initialPosition.y=t.position.y):i===e.v5k.top&&c.bottom<-t.offset.y&&(o||(t.position.x=(0,e.G0i)()*s.width,t.initialPosition.x=t.position.x),t.position.y=a.bottom,t.initialPosition.y=t.position.y);break}}}}}class c{constructor(t){this._addUpdaterIfMissing=(t,i,o)=>{const e=t.options.move.outModes;!this.updaters.has(i)&&((t,i)=>t.default===i||t.bottom===i||t.left===i||t.right===i||t.top===i)(e,i)&&this.updaters.set(i,o(this.container))},this._updateOutMode=(t,i,o,e)=>{for(const s of this.updaters.values())s.update(t,e,i,o)},this.container=t,this.updaters=new Map}init(t){this._addUpdaterIfMissing(t,e.Yzx.bounce,(t=>new s(t))),this._addUpdaterIfMissing(t,e.Yzx.out,(t=>new r(t))),this._addUpdaterIfMissing(t,e.Yzx.destroy,(t=>new n(t))),this._addUpdaterIfMissing(t,e.Yzx.none,(t=>new a(t)))}isEnabled(t){return!t.destroyed&&!t.spawning}update(t,i){const o=t.options.move.outModes;this._updateOutMode(t,i,o.bottom??o.default,e.v5k.bottom),this._updateOutMode(t,i,o.left??o.default,e.v5k.left),this._updateOutMode(t,i,o.right??o.default,e.v5k.right),this._updateOutMode(t,i,o.top??o.default,e.v5k.top)}}}}]);
|
package/993.min.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Author : Matteo Bruni
|
|
3
|
-
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
-
* Demo / Generator : https://particles.js.org/
|
|
5
|
-
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
-
* How to use? : Check the GitHub README
|
|
7
|
-
* v4.0.0-alpha.8
|
|
8
|
-
*/
|
|
9
|
-
"use strict";
|
|
10
|
-
/*
|
|
11
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
-
* This devtool is neither made for production nor for readable output files.
|
|
13
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
-
* or disable the default devtool with "devtool: false".
|
|
16
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
-
*/
|
|
18
|
-
(this["webpackChunk_tsparticles_fireworks"] = this["webpackChunk_tsparticles_fireworks"] || []).push([["move_base_dist_browser_BaseMover_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../move/base/dist/browser/BaseMover.js"
|
|
21
|
-
/*!*************************************************!*\
|
|
22
|
-
!*** ../../move/base/dist/browser/BaseMover.js ***!
|
|
23
|
-
\*************************************************/
|
|
24
|
-
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
25
|
-
|
|
26
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BaseMover: () => (/* binding */ BaseMover)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utils.js */ \"../../move/base/dist/browser/Utils.js\");\n\n\nconst diffFactor = 2,\n defaultSizeFactor = 1,\n defaultDeltaFactor = 1;\nclass BaseMover {\n init(particle) {\n const options = particle.options,\n gravityOptions = options.move.gravity;\n particle.gravity = {\n enable: gravityOptions.enable,\n acceleration: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(gravityOptions.acceleration),\n inverse: gravityOptions.inverse\n };\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.initSpin)(particle);\n }\n isEnabled(particle) {\n return !particle.destroyed && particle.options.move.enable;\n }\n move(particle, delta) {\n const particleOptions = particle.options,\n moveOptions = particleOptions.move;\n if (!moveOptions.enable) {\n return;\n }\n const container = particle.container,\n pxRatio = container.retina.pixelRatio;\n particle.retina.moveSpeed ??= (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(moveOptions.speed) * pxRatio;\n particle.retina.moveDrift ??= (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(particle.options.move.drift) * pxRatio;\n const slowFactor = (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.getProximitySpeedFactor)(particle),\n reduceFactor = container.retina.reduceFactor,\n baseSpeed = particle.retina.moveSpeed,\n moveDrift = particle.retina.moveDrift,\n maxSize = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeMax)(particleOptions.size.value) * pxRatio,\n sizeFactor = moveOptions.size ? particle.getRadius() / maxSize : defaultSizeFactor,\n deltaFactor = delta.factor || defaultDeltaFactor,\n moveSpeed = baseSpeed * sizeFactor * slowFactor * deltaFactor / diffFactor,\n maxSpeed = particle.retina.maxSpeed ?? container.retina.maxSpeed;\n if (moveOptions.spin.enable) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.spin)(particle, moveSpeed, reduceFactor);\n } else {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.move)(particle, moveOptions, moveSpeed, maxSpeed, moveDrift, reduceFactor, delta);\n }\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.applyDistance)(particle);\n }\n}\n\n//# sourceURL=webpack://@tsparticles/fireworks/../../move/base/dist/browser/BaseMover.js?\n}");
|
|
27
|
-
|
|
28
|
-
/***/ },
|
|
29
|
-
|
|
30
|
-
/***/ "../../move/base/dist/browser/Utils.js"
|
|
31
|
-
/*!*********************************************!*\
|
|
32
|
-
!*** ../../move/base/dist/browser/Utils.js ***!
|
|
33
|
-
\*********************************************/
|
|
34
|
-
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
35
|
-
|
|
36
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ applyDistance: () => (/* binding */ applyDistance),\n/* harmony export */ applyPath: () => (/* binding */ applyPath),\n/* harmony export */ getProximitySpeedFactor: () => (/* binding */ getProximitySpeedFactor),\n/* harmony export */ initSpin: () => (/* binding */ initSpin),\n/* harmony export */ move: () => (/* binding */ move),\n/* harmony export */ spin: () => (/* binding */ spin)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst minVelocity = 0,\n identity = 1,\n moveSpeedFactor = 60,\n minSpinRadius = 0,\n spinFactor = 0.01;\nfunction applyDistance(particle) {\n const initialPosition = particle.initialPosition,\n {\n dx,\n dy\n } = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistances)(initialPosition, particle.position),\n dxFixed = Math.abs(dx),\n dyFixed = Math.abs(dy),\n {\n maxDistance\n } = particle.retina,\n hDistance = maxDistance.horizontal,\n vDistance = maxDistance.vertical;\n if (!hDistance && !vDistance) {\n return;\n }\n const hasHDistance = (hDistance && dxFixed >= hDistance) ?? false,\n hasVDistance = (vDistance && dyFixed >= vDistance) ?? false;\n if ((hasHDistance || hasVDistance) && !particle.misplaced) {\n particle.misplaced = !!hDistance && dxFixed > hDistance || !!vDistance && dyFixed > vDistance;\n if (hDistance) {\n particle.velocity.x = particle.velocity.y * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half - particle.velocity.x;\n }\n if (vDistance) {\n particle.velocity.y = particle.velocity.x * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half - particle.velocity.y;\n }\n } else if ((!hDistance || dxFixed < hDistance) && (!vDistance || dyFixed < vDistance) && particle.misplaced) {\n particle.misplaced = false;\n } else if (particle.misplaced) {\n const pos = particle.position,\n vel = particle.velocity;\n if (hDistance && (pos.x < initialPosition.x && vel.x < minVelocity || pos.x > initialPosition.x && vel.x > minVelocity)) {\n vel.x *= -(0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)();\n }\n if (vDistance && (pos.y < initialPosition.y && vel.y < minVelocity || pos.y > initialPosition.y && vel.y > minVelocity)) {\n vel.y *= -(0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)();\n }\n }\n}\nfunction move(particle, moveOptions, moveSpeed, maxSpeed, moveDrift, reduceFactor, delta) {\n applyPath(particle, delta);\n const gravityOptions = particle.gravity,\n gravityFactor = gravityOptions?.enable && gravityOptions.inverse ? -identity : identity;\n if (moveDrift && moveSpeed) {\n particle.velocity.x += moveDrift * delta.factor / (moveSpeedFactor * moveSpeed);\n }\n if (gravityOptions?.enable && moveSpeed) {\n particle.velocity.y += gravityFactor * (gravityOptions.acceleration * delta.factor) / (moveSpeedFactor * moveSpeed);\n }\n const decay = particle.moveDecay;\n particle.velocity.multTo(decay);\n const velocity = particle.velocity.mult(moveSpeed);\n if (gravityOptions?.enable && maxSpeed > minVelocity && (!gravityOptions.inverse && velocity.y >= minVelocity && velocity.y >= maxSpeed || gravityOptions.inverse && velocity.y <= minVelocity && velocity.y <= -maxSpeed)) {\n velocity.y = gravityFactor * maxSpeed;\n if (moveSpeed) {\n particle.velocity.y = velocity.y / moveSpeed;\n }\n }\n const zIndexOptions = particle.options.zIndex,\n zVelocityFactor = (identity - particle.zIndexFactor) ** zIndexOptions.velocityRate;\n velocity.multTo(zVelocityFactor);\n velocity.multTo(reduceFactor);\n const {\n position\n } = particle;\n position.addTo(velocity);\n if (moveOptions.vibrate) {\n position.x += Math.sin(position.x * Math.cos(position.y)) * reduceFactor;\n position.y += Math.cos(position.y * Math.sin(position.x)) * reduceFactor;\n }\n}\nfunction spin(particle, moveSpeed, reduceFactor) {\n const container = particle.container;\n if (!particle.spin) {\n return;\n }\n const spinClockwise = particle.spin.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.RotateDirection.clockwise,\n updateFunc = {\n x: spinClockwise ? Math.cos : Math.sin,\n y: spinClockwise ? Math.sin : Math.cos\n };\n particle.position.x = particle.spin.center.x + particle.spin.radius * updateFunc.x(particle.spin.angle) * reduceFactor;\n particle.position.y = particle.spin.center.y + particle.spin.radius * updateFunc.y(particle.spin.angle) * reduceFactor;\n particle.spin.radius += particle.spin.acceleration * reduceFactor;\n const maxCanvasSize = Math.max(container.canvas.size.width, container.canvas.size.height),\n halfMaxSize = maxCanvasSize * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half;\n if (particle.spin.radius > halfMaxSize) {\n particle.spin.radius = halfMaxSize;\n particle.spin.acceleration *= -identity;\n } else if (particle.spin.radius < minSpinRadius) {\n particle.spin.radius = minSpinRadius;\n particle.spin.acceleration *= -identity;\n }\n particle.spin.angle += moveSpeed * spinFactor * (identity - particle.spin.radius / maxCanvasSize);\n}\nfunction applyPath(particle, delta) {\n const particlesOptions = particle.options,\n pathOptions = particlesOptions.move.path,\n pathEnabled = pathOptions.enable;\n if (!pathEnabled) {\n return;\n }\n if (particle.lastPathTime <= particle.pathDelay) {\n particle.lastPathTime += delta.value;\n return;\n }\n const path = particle.pathGenerator?.generate(particle, delta);\n if (path) {\n particle.velocity.addTo(path);\n }\n if (pathOptions.clamp) {\n particle.velocity.x = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.clamp)(particle.velocity.x, -identity, identity);\n particle.velocity.y = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.clamp)(particle.velocity.y, -identity, identity);\n }\n particle.lastPathTime -= particle.pathDelay;\n}\nfunction getProximitySpeedFactor(particle) {\n return particle.slow.inRange ? particle.slow.factor : identity;\n}\nfunction initSpin(particle) {\n const container = particle.container,\n options = particle.options,\n spinOptions = options.move.spin;\n if (!spinOptions.enable) {\n return;\n }\n const spinPos = spinOptions.position ?? {\n x: 50,\n y: 50\n },\n spinFactor = 0.01,\n spinCenter = {\n x: spinPos.x * spinFactor * container.canvas.size.width,\n y: spinPos.y * spinFactor * container.canvas.size.height\n },\n pos = particle.getPosition(),\n distance = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistance)(pos, spinCenter),\n spinAcceleration = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(spinOptions.acceleration);\n particle.retina.spinAcceleration = spinAcceleration * container.retina.pixelRatio;\n particle.spin = {\n center: spinCenter,\n direction: particle.velocity.x >= minVelocity ? _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.RotateDirection.clockwise : _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.RotateDirection.counterClockwise,\n angle: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.doublePI,\n radius: distance,\n acceleration: particle.retina.spinAcceleration\n };\n}\n\n//# sourceURL=webpack://@tsparticles/fireworks/../../move/base/dist/browser/Utils.js?\n}");
|
|
37
|
-
|
|
38
|
-
/***/ }
|
|
39
|
-
|
|
40
|
-
}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tsParticles Fireworks v4.0.0-alpha.8 by Matteo Bruni */
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Author : Matteo Bruni
|
|
3
|
-
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
-
* Demo / Generator : https://particles.js.org/
|
|
5
|
-
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
-
* How to use? : Check the GitHub README
|
|
7
|
-
* v4.0.0-alpha.8
|
|
8
|
-
*/
|
|
9
|
-
"use strict";
|
|
10
|
-
/*
|
|
11
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
-
* This devtool is neither made for production nor for readable output files.
|
|
13
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
-
* or disable the default devtool with "devtool: false".
|
|
16
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
-
*/
|
|
18
|
-
(this["webpackChunk_tsparticles_fireworks"] = this["webpackChunk_tsparticles_fireworks"] || []).push([["updaters_color_dist_browser_ColorUpdater_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../updaters/color/dist/browser/ColorUpdater.js"
|
|
21
|
-
/*!*********************************************************!*\
|
|
22
|
-
!*** ../../updaters/color/dist/browser/ColorUpdater.js ***!
|
|
23
|
-
\*********************************************************/
|
|
24
|
-
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
25
|
-
|
|
26
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ColorUpdater: () => (/* binding */ ColorUpdater)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nclass ColorUpdater {\n constructor(engine, container) {\n this._container = container;\n this._engine = engine;\n }\n init(particle) {\n const hslColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.rangeColorToHsl)(this._engine, particle.options.color, particle.id, particle.options.reduceDuplicates);\n if (hslColor) {\n particle.color = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getHslAnimationFromHsl)(hslColor, particle.options.color.animation, this._container.retina.reduceFactor);\n }\n }\n isEnabled(particle) {\n const {\n h: hAnimation,\n s: sAnimation,\n l: lAnimation\n } = particle.options.color.animation,\n {\n color\n } = particle;\n return !particle.destroyed && !particle.spawning && (color?.h.value !== undefined && hAnimation.enable || color?.s.value !== undefined && sAnimation.enable || color?.l.value !== undefined && lAnimation.enable);\n }\n update(particle, delta) {\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.updateColor)(particle.color, delta);\n }\n}\n\n//# sourceURL=webpack://@tsparticles/fireworks/../../updaters/color/dist/browser/ColorUpdater.js?\n}");
|
|
27
|
-
|
|
28
|
-
/***/ }
|
|
29
|
-
|
|
30
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Author : Matteo Bruni
|
|
3
|
-
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
-
* Demo / Generator : https://particles.js.org/
|
|
5
|
-
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
-
* How to use? : Check the GitHub README
|
|
7
|
-
* v4.0.0-alpha.8
|
|
8
|
-
*/
|
|
9
|
-
"use strict";
|
|
10
|
-
/*
|
|
11
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
-
* This devtool is neither made for production nor for readable output files.
|
|
13
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
-
* or disable the default devtool with "devtool: false".
|
|
16
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
-
*/
|
|
18
|
-
(this["webpackChunk_tsparticles_fireworks"] = this["webpackChunk_tsparticles_fireworks"] || []).push([["updaters_color_dist_browser_index_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../updaters/color/dist/browser/index.js"
|
|
21
|
-
/*!**************************************************!*\
|
|
22
|
-
!*** ../../updaters/color/dist/browser/index.js ***!
|
|
23
|
-
\**************************************************/
|
|
24
|
-
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
25
|
-
|
|
26
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadColorUpdater: () => (/* binding */ loadColorUpdater)\n/* harmony export */ });\nasync function loadColorUpdater(engine) {\n engine.checkVersion(\"4.0.0-alpha.8\");\n await engine.register(e => {\n e.addParticleUpdater(\"color\", async container => {\n const {\n ColorUpdater\n } = await __webpack_require__.e(/*! import() */ \"updaters_color_dist_browser_ColorUpdater_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./ColorUpdater.js */ \"../../updaters/color/dist/browser/ColorUpdater.js\"));\n return new ColorUpdater(e, container);\n });\n });\n}\n\n//# sourceURL=webpack://@tsparticles/fireworks/../../updaters/color/dist/browser/index.js?\n}");
|
|
27
|
-
|
|
28
|
-
/***/ }
|
|
29
|
-
|
|
30
|
-
}]);
|