@tsparticles/engine 4.0.0-alpha.3 → 4.0.0-alpha.4
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/794.min.js +2 -0
- package/794.min.js.LICENSE.txt +1 -0
- package/README.md +2 -5
- package/browser/Core/Canvas.js +3 -3
- package/browser/Core/Container.js +35 -155
- package/browser/Core/Engine.js +10 -51
- package/browser/Core/Particle.js +5 -10
- package/browser/Core/Particles.js +36 -25
- package/browser/Core/Utils/Constants.js +2 -2
- package/browser/Core/Utils/EventListeners.js +5 -250
- package/browser/Options/Classes/Options.js +7 -75
- package/browser/Options/Classes/Particles/ParticlesOptions.js +5 -11
- package/{esm/Options/Classes/Interactivity/Events → browser/Options/Classes}/ResizeEvent.js +1 -1
- package/browser/Utils/ColorUtils.js +7 -5
- package/browser/Utils/Utils.js +25 -32
- package/browser/exports.js +1 -21
- package/cjs/Core/Canvas.js +3 -3
- package/cjs/Core/Container.js +35 -155
- package/cjs/Core/Engine.js +10 -51
- package/cjs/Core/Particle.js +5 -10
- package/cjs/Core/Particles.js +36 -25
- package/cjs/Core/Utils/Constants.js +2 -2
- package/cjs/Core/Utils/EventListeners.js +5 -250
- package/cjs/Options/Classes/Options.js +7 -75
- package/cjs/Options/Classes/Particles/ParticlesOptions.js +5 -11
- package/cjs/Options/Classes/{Interactivity/Events/ResizeEvent.js → ResizeEvent.js} +1 -1
- package/cjs/Utils/ColorUtils.js +7 -5
- package/cjs/Utils/Utils.js +25 -32
- package/cjs/exports.js +1 -21
- package/dist_browser_Core_Container_js.js +6 -16
- package/esm/Core/Canvas.js +3 -3
- package/esm/Core/Container.js +35 -155
- package/esm/Core/Engine.js +10 -51
- package/esm/Core/Particle.js +5 -10
- package/esm/Core/Particles.js +36 -25
- package/esm/Core/Utils/Constants.js +2 -2
- package/esm/Core/Utils/EventListeners.js +5 -250
- package/esm/Options/Classes/Options.js +7 -75
- package/esm/Options/Classes/Particles/ParticlesOptions.js +5 -11
- package/{browser/Options/Classes/Interactivity/Events → esm/Options/Classes}/ResizeEvent.js +1 -1
- package/esm/Utils/ColorUtils.js +7 -5
- package/esm/Utils/Utils.js +25 -32
- package/esm/exports.js +1 -21
- package/package.json +1 -1
- package/report.html +1 -1
- package/tsparticles.engine.js +14 -206
- package/tsparticles.engine.min.js +1 -1
- package/tsparticles.engine.min.js.LICENSE.txt +1 -1
- package/types/Core/Container.d.ts +3 -15
- package/types/Core/Engine.d.ts +3 -18
- package/types/Core/Interfaces/IContainerPlugin.d.ts +8 -1
- package/types/Core/Interfaces/IPlugin.d.ts +5 -1
- package/types/Core/Particle.d.ts +0 -2
- package/types/Core/Particles.d.ts +1 -5
- package/types/Core/Utils/Constants.d.ts +2 -2
- package/types/Core/Utils/EventListeners.d.ts +0 -14
- package/types/Options/Classes/Options.d.ts +2 -11
- package/types/Options/Classes/Particles/ParticlesOptions.d.ts +0 -2
- package/types/Options/Classes/ResizeEvent.d.ts +9 -0
- package/types/Options/Interfaces/IOptions.d.ts +2 -8
- package/types/Options/Interfaces/Particles/IParticlesOptions.d.ts +0 -3
- package/types/Types/EngineInitializers.d.ts +10 -0
- package/types/Utils/Utils.d.ts +4 -6
- package/types/export-types.d.ts +3 -19
- package/types/exports.d.ts +1 -21
- package/umd/Core/Canvas.js +3 -3
- package/umd/Core/Container.js +35 -155
- package/umd/Core/Engine.js +11 -52
- package/umd/Core/Particle.js +6 -11
- package/umd/Core/Particles.js +37 -26
- package/umd/Core/Utils/Constants.js +3 -3
- package/umd/Core/Utils/EventListeners.js +7 -252
- package/umd/Options/Classes/Options.js +7 -75
- package/umd/Options/Classes/Particles/ParticlesOptions.js +5 -11
- package/umd/Options/Classes/{Interactivity/Events/ResizeEvent.js → ResizeEvent.js} +2 -2
- package/umd/Utils/ColorUtils.js +7 -5
- package/umd/Utils/Utils.js +26 -35
- package/umd/exports.js +2 -22
- package/638.min.js +0 -2
- package/638.min.js.LICENSE.txt +0 -1
- package/browser/Core/Interfaces/IMouseData.js +0 -1
- package/browser/Core/Interfaces/IParticlesInteractor.js +0 -1
- package/browser/Core/Utils/ExternalInteractorBase.js +0 -7
- package/browser/Core/Utils/InteractionManager.js +0 -60
- package/browser/Core/Utils/ParticlesInteractorBase.js +0 -7
- package/browser/Enums/InteractivityDetect.js +0 -6
- package/browser/Enums/Modes/ResponsiveMode.js +0 -5
- package/browser/Enums/Modes/ThemeMode.js +0 -6
- package/browser/Enums/Types/DivType.js +0 -5
- package/browser/Enums/Types/InteractorType.js +0 -5
- package/browser/Options/Classes/Interactivity/Events/ClickEvent.js +0 -18
- package/browser/Options/Classes/Interactivity/Events/DivEvent.js +0 -27
- package/browser/Options/Classes/Interactivity/Events/Events.js +0 -30
- package/browser/Options/Classes/Interactivity/Events/HoverEvent.js +0 -21
- package/browser/Options/Classes/Interactivity/Events/Parallax.js +0 -22
- package/browser/Options/Classes/Interactivity/Interactivity.js +0 -22
- package/browser/Options/Classes/Interactivity/Modes/Modes.js +0 -25
- package/browser/Options/Classes/ManualParticle.js +0 -21
- package/browser/Options/Classes/Responsive.js +0 -29
- package/browser/Options/Classes/Theme/Theme.js +0 -21
- package/browser/Options/Classes/Theme/ThemeDefault.js +0 -23
- package/browser/Options/Interfaces/IManualParticle.js +0 -1
- package/browser/Options/Interfaces/IResponsive.js +0 -1
- package/browser/Options/Interfaces/Interactivity/Events/IClickEvent.js +0 -1
- package/browser/Options/Interfaces/Interactivity/Events/IDivEvent.js +0 -1
- package/browser/Options/Interfaces/Interactivity/Events/IEvents.js +0 -1
- package/browser/Options/Interfaces/Interactivity/Events/IHoverEvent.js +0 -1
- package/browser/Options/Interfaces/Interactivity/Events/IParallax.js +0 -1
- package/browser/Options/Interfaces/Interactivity/IInteractivity.js +0 -1
- package/browser/Options/Interfaces/Interactivity/Modes/IModeDiv.js +0 -1
- package/browser/Options/Interfaces/Interactivity/Modes/IModes.js +0 -1
- package/browser/Options/Interfaces/Theme/ITheme.js +0 -1
- package/browser/Options/Interfaces/Theme/IThemeDefault.js +0 -1
- package/cjs/Core/Interfaces/IContainerInteractivity.js +0 -1
- package/cjs/Core/Interfaces/IExternalInteractor.js +0 -1
- package/cjs/Core/Interfaces/IInteractor.js +0 -1
- package/cjs/Core/Interfaces/IMouseData.js +0 -1
- package/cjs/Core/Interfaces/IParticlesInteractor.js +0 -1
- package/cjs/Core/Utils/ExternalInteractorBase.js +0 -7
- package/cjs/Core/Utils/InteractionManager.js +0 -60
- package/cjs/Core/Utils/ParticlesInteractorBase.js +0 -7
- package/cjs/Enums/InteractivityDetect.js +0 -6
- package/cjs/Enums/Modes/ResponsiveMode.js +0 -5
- package/cjs/Enums/Modes/ThemeMode.js +0 -6
- package/cjs/Enums/Types/DivType.js +0 -5
- package/cjs/Enums/Types/InteractorType.js +0 -5
- package/cjs/Options/Classes/Interactivity/Events/ClickEvent.js +0 -18
- package/cjs/Options/Classes/Interactivity/Events/DivEvent.js +0 -27
- package/cjs/Options/Classes/Interactivity/Events/Events.js +0 -30
- package/cjs/Options/Classes/Interactivity/Events/HoverEvent.js +0 -21
- package/cjs/Options/Classes/Interactivity/Events/Parallax.js +0 -22
- package/cjs/Options/Classes/Interactivity/Interactivity.js +0 -22
- package/cjs/Options/Classes/Interactivity/Modes/Modes.js +0 -25
- package/cjs/Options/Classes/ManualParticle.js +0 -21
- package/cjs/Options/Classes/Responsive.js +0 -29
- package/cjs/Options/Classes/Theme/Theme.js +0 -21
- package/cjs/Options/Classes/Theme/ThemeDefault.js +0 -23
- package/cjs/Options/Interfaces/IManualParticle.js +0 -1
- package/cjs/Options/Interfaces/IResponsive.js +0 -1
- package/cjs/Options/Interfaces/Interactivity/Events/IClickEvent.js +0 -1
- package/cjs/Options/Interfaces/Interactivity/Events/IDivEvent.js +0 -1
- package/cjs/Options/Interfaces/Interactivity/Events/IEvents.js +0 -1
- package/cjs/Options/Interfaces/Interactivity/Events/IHoverEvent.js +0 -1
- package/cjs/Options/Interfaces/Interactivity/Events/IParallax.js +0 -1
- package/cjs/Options/Interfaces/Interactivity/IInteractivity.js +0 -1
- package/cjs/Options/Interfaces/Interactivity/Modes/IModeDiv.js +0 -1
- package/cjs/Options/Interfaces/Interactivity/Modes/IModes.js +0 -1
- package/cjs/Options/Interfaces/Theme/ITheme.js +0 -1
- package/cjs/Options/Interfaces/Theme/IThemeDefault.js +0 -1
- package/esm/Core/Interfaces/IContainerInteractivity.js +0 -1
- package/esm/Core/Interfaces/IExternalInteractor.js +0 -1
- package/esm/Core/Interfaces/IInteractor.js +0 -1
- package/esm/Core/Interfaces/IMouseData.js +0 -1
- package/esm/Core/Interfaces/IParticlesInteractor.js +0 -1
- package/esm/Core/Utils/ExternalInteractorBase.js +0 -7
- package/esm/Core/Utils/InteractionManager.js +0 -60
- package/esm/Core/Utils/ParticlesInteractorBase.js +0 -7
- package/esm/Enums/InteractivityDetect.js +0 -6
- package/esm/Enums/Modes/ResponsiveMode.js +0 -5
- package/esm/Enums/Modes/ThemeMode.js +0 -6
- package/esm/Enums/Types/DivType.js +0 -5
- package/esm/Enums/Types/InteractorType.js +0 -5
- package/esm/Options/Classes/Interactivity/Events/ClickEvent.js +0 -18
- package/esm/Options/Classes/Interactivity/Events/DivEvent.js +0 -27
- package/esm/Options/Classes/Interactivity/Events/Events.js +0 -30
- package/esm/Options/Classes/Interactivity/Events/HoverEvent.js +0 -21
- package/esm/Options/Classes/Interactivity/Events/Parallax.js +0 -22
- package/esm/Options/Classes/Interactivity/Interactivity.js +0 -22
- package/esm/Options/Classes/Interactivity/Modes/Modes.js +0 -25
- package/esm/Options/Classes/ManualParticle.js +0 -21
- package/esm/Options/Classes/Responsive.js +0 -29
- package/esm/Options/Classes/Theme/Theme.js +0 -21
- package/esm/Options/Classes/Theme/ThemeDefault.js +0 -23
- package/esm/Options/Interfaces/IManualParticle.js +0 -1
- package/esm/Options/Interfaces/IResponsive.js +0 -1
- package/esm/Options/Interfaces/Interactivity/Events/IClickEvent.js +0 -1
- package/esm/Options/Interfaces/Interactivity/Events/IDivEvent.js +0 -1
- package/esm/Options/Interfaces/Interactivity/Events/IEvents.js +0 -1
- package/esm/Options/Interfaces/Interactivity/Events/IHoverEvent.js +0 -1
- package/esm/Options/Interfaces/Interactivity/Events/IParallax.js +0 -1
- package/esm/Options/Interfaces/Interactivity/IInteractivity.js +0 -1
- package/esm/Options/Interfaces/Interactivity/Modes/IModeDiv.js +0 -1
- package/esm/Options/Interfaces/Interactivity/Modes/IModes.js +0 -1
- package/esm/Options/Interfaces/Theme/ITheme.js +0 -1
- package/esm/Options/Interfaces/Theme/IThemeDefault.js +0 -1
- package/types/Core/Interfaces/IContainerInteractivity.d.ts +0 -6
- package/types/Core/Interfaces/IExternalInteractor.d.ts +0 -12
- package/types/Core/Interfaces/IInteractor.d.ts +0 -16
- package/types/Core/Interfaces/IMouseData.d.ts +0 -9
- package/types/Core/Interfaces/IParticlesInteractor.d.ts +0 -7
- package/types/Core/Utils/ExternalInteractorBase.d.ts +0 -15
- package/types/Core/Utils/InteractionManager.d.ts +0 -17
- package/types/Core/Utils/ParticlesInteractorBase.d.ts +0 -15
- package/types/Enums/InteractivityDetect.d.ts +0 -5
- package/types/Enums/Modes/ResponsiveMode.d.ts +0 -4
- package/types/Enums/Modes/ThemeMode.d.ts +0 -5
- package/types/Enums/Types/DivType.d.ts +0 -4
- package/types/Enums/Types/InteractorType.d.ts +0 -4
- package/types/Options/Classes/Interactivity/Events/ClickEvent.d.ts +0 -10
- package/types/Options/Classes/Interactivity/Events/DivEvent.d.ts +0 -13
- package/types/Options/Classes/Interactivity/Events/Events.d.ts +0 -16
- package/types/Options/Classes/Interactivity/Events/HoverEvent.d.ts +0 -12
- package/types/Options/Classes/Interactivity/Events/Parallax.d.ts +0 -10
- package/types/Options/Classes/Interactivity/Events/ResizeEvent.d.ts +0 -9
- package/types/Options/Classes/Interactivity/Interactivity.d.ts +0 -16
- package/types/Options/Classes/Interactivity/Modes/Modes.d.ts +0 -12
- package/types/Options/Classes/ManualParticle.d.ts +0 -10
- package/types/Options/Classes/Responsive.d.ts +0 -12
- package/types/Options/Classes/Theme/Theme.d.ts +0 -12
- package/types/Options/Classes/Theme/ThemeDefault.d.ts +0 -11
- package/types/Options/Interfaces/IManualParticle.d.ts +0 -7
- package/types/Options/Interfaces/IResponsive.d.ts +0 -7
- package/types/Options/Interfaces/Interactivity/Events/IClickEvent.d.ts +0 -5
- package/types/Options/Interfaces/Interactivity/Events/IDivEvent.d.ts +0 -8
- package/types/Options/Interfaces/Interactivity/Events/IEvents.d.ts +0 -11
- package/types/Options/Interfaces/Interactivity/Events/IHoverEvent.d.ts +0 -7
- package/types/Options/Interfaces/Interactivity/Events/IParallax.d.ts +0 -5
- package/types/Options/Interfaces/Interactivity/IInteractivity.d.ts +0 -9
- package/types/Options/Interfaces/Interactivity/Modes/IModeDiv.d.ts +0 -4
- package/types/Options/Interfaces/Interactivity/Modes/IModes.d.ts +0 -1
- package/types/Options/Interfaces/Theme/ITheme.d.ts +0 -7
- package/types/Options/Interfaces/Theme/IThemeDefault.d.ts +0 -6
- package/umd/Core/Interfaces/IExternalInteractor.js +0 -12
- package/umd/Core/Interfaces/IInteractor.js +0 -12
- package/umd/Core/Interfaces/IMouseData.js +0 -12
- package/umd/Core/Interfaces/IParticlesInteractor.js +0 -12
- package/umd/Core/Utils/ExternalInteractorBase.js +0 -21
- package/umd/Core/Utils/InteractionManager.js +0 -74
- package/umd/Core/Utils/ParticlesInteractorBase.js +0 -21
- package/umd/Enums/InteractivityDetect.js +0 -19
- package/umd/Enums/Modes/ResponsiveMode.js +0 -18
- package/umd/Enums/Modes/ThemeMode.js +0 -19
- package/umd/Enums/Types/DivType.js +0 -18
- package/umd/Enums/Types/InteractorType.js +0 -18
- package/umd/Options/Classes/Interactivity/Events/ClickEvent.js +0 -32
- package/umd/Options/Classes/Interactivity/Events/DivEvent.js +0 -41
- package/umd/Options/Classes/Interactivity/Events/Events.js +0 -44
- package/umd/Options/Classes/Interactivity/Events/HoverEvent.js +0 -35
- package/umd/Options/Classes/Interactivity/Events/Parallax.js +0 -36
- package/umd/Options/Classes/Interactivity/Interactivity.js +0 -36
- package/umd/Options/Classes/Interactivity/Modes/Modes.js +0 -39
- package/umd/Options/Classes/ManualParticle.js +0 -35
- package/umd/Options/Classes/Responsive.js +0 -43
- package/umd/Options/Classes/Theme/Theme.js +0 -35
- package/umd/Options/Classes/Theme/ThemeDefault.js +0 -37
- package/umd/Options/Interfaces/IManualParticle.js +0 -12
- package/umd/Options/Interfaces/IResponsive.js +0 -12
- package/umd/Options/Interfaces/Interactivity/Events/IClickEvent.js +0 -12
- package/umd/Options/Interfaces/Interactivity/Events/IDivEvent.js +0 -12
- package/umd/Options/Interfaces/Interactivity/Events/IEvents.js +0 -12
- package/umd/Options/Interfaces/Interactivity/Events/IHoverEvent.js +0 -12
- package/umd/Options/Interfaces/Interactivity/Events/IParallax.js +0 -12
- package/umd/Options/Interfaces/Interactivity/IInteractivity.js +0 -12
- package/umd/Options/Interfaces/Interactivity/Modes/IModeDiv.js +0 -12
- package/umd/Options/Interfaces/Interactivity/Modes/IModes.js +0 -12
- package/umd/Options/Interfaces/Theme/ITheme.js +0 -12
- package/umd/Options/Interfaces/Theme/IThemeDefault.js +0 -12
- /package/browser/Options/Interfaces/{Interactivity/Events/IResizeEvent.js → IResizeEvent.js} +0 -0
- /package/browser/{Core/Interfaces/IContainerInteractivity.js → Types/EngineInitializers.js} +0 -0
- /package/cjs/Options/Interfaces/{Interactivity/Events/IResizeEvent.js → IResizeEvent.js} +0 -0
- /package/{browser/Core/Interfaces/IExternalInteractor.js → cjs/Types/EngineInitializers.js} +0 -0
- /package/esm/Options/Interfaces/{Interactivity/Events/IResizeEvent.js → IResizeEvent.js} +0 -0
- /package/{browser/Core/Interfaces/IInteractor.js → esm/Types/EngineInitializers.js} +0 -0
- /package/types/Options/Interfaces/{Interactivity/Events/IResizeEvent.d.ts → IResizeEvent.d.ts} +0 -0
- /package/umd/Options/Interfaces/{Interactivity/Events/IResizeEvent.js → IResizeEvent.js} +0 -0
- /package/umd/{Core/Interfaces/IContainerInteractivity.js → Types/EngineInitializers.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see tsparticles.engine.min.js.LICENSE.txt */
|
|
2
|
-
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var i=e();for(var n in i)("object"==typeof exports?exports:t)[n]=i[n]}}(this,(()=>(()=>{var t,e,i={181(t,e,i){var n;i.d(e,{V:()=>n}),function(t){t.none="none",t.max="max",t.min="min"}(n||(n={}))},183(t,e,i){i.d(e,{B:()=>o,t:()=>s});const n={debug:console.debug,error:(t,e)=>{console.error(`tsParticles - Error - ${t}`,e)},info:console.info,log:console.log,verbose:console.log,warning:console.warn};function o(t){n.debug=t.debug,n.error=t.error,n.info=t.info,n.log=t.log,n.verbose=t.verbose,n.warning=t.warning}function s(){return n}},397(t,e,i){i.d(e,{$m:()=>O,AD:()=>f,DT:()=>M,G0:()=>h,JY:()=>P,M3:()=>F,Mh:()=>D,Nx:()=>A,OE:()=>d,OW:()=>R,Sg:()=>w,VG:()=>b,W9:()=>x,Yf:()=>k,e4:()=>u,eh:()=>T,i0:()=>v,jh:()=>g,l1:()=>E,pu:()=>S,px:()=>p,qE:()=>m,qM:()=>_,vE:()=>y,vr:()=>z});var n=i(4342),o=i(4117),s=i(560),a=i(3631);const r=Math.PI/180;let c=Math.random;const l={nextFrame:t=>requestAnimationFrame(t),cancel:t=>{cancelAnimationFrame(t)}};function d(t=Math.random){c=t}function h(){return m(c(),0,1-Number.EPSILON)}function u(t,e){return h()*(e-t)+t}function f(t,e){l.nextFrame=e=>t(e),l.cancel=t=>{e(t)}}function v(t){return l.nextFrame(t)}function p(t){l.cancel(t)}function m(t,e,i){return Math.min(Math.max(t,e),i)}function g(t,e,i,n){return Math.floor((t*i+e*n)/(i+n))}function y(t){const e=x(t);let i=w(t);return e===i&&(i=0),u(i,e)}function b(t){return(0,a.Et)(t)?t:y(t)}function w(t){return(0,a.Et)(t)?t:t.min}function x(t){return(0,a.Et)(t)?t:t.max}function M(t,e){if(t===e||void 0===e&&(0,a.Et)(t))return t;const i=w(t),n=x(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(n,e)}:M(i,n)}function z(t,e){const i=t.x-e.x,n=t.y-e.y;return{dx:i,dy:n,distance:Math.sqrt(i**2+n**2)}}function k(t,e){return z(t,e).distance}function S(t){return t*r}function P(t,e,i){if((0,a.Et)(t))return S(t);switch(t){case n.F.top:return-Math.PI*o.MX;case n.F.topRight:return-Math.PI*o.$G;case n.F.right:return o.Ie;case n.F.bottomRight:return Math.PI*o.$G;case n.F.bottom:return Math.PI*o.MX;case n.F.bottomLeft:return Math.PI*o.Rq;case n.F.left:return Math.PI;case n.F.topLeft:return-Math.PI*o.Rq;case n.F.inside:return Math.atan2(i.y-e.y,i.x-e.x);case n.F.outside:return Math.atan2(e.y-i.y,e.x-i.x);default:return h()*o.R1}}function O(t){const e=s.M.origin;return e.length=1,e.angle=t,e}function R(t,e,i,n){return s.M.create(t.x*(i-n)/(i+n)+e.x*o.gd*n/(i+n),t.y)}function T(t){return void 0!==t.position?.x&&void 0!==t.position.y?{x:t.position.x*t.size.width/o.a5,y:t.position.y*t.size.height/o.a5}:void 0}function D(t){return{x:(t.position?.x??h()*o.a5)*t.size.width/o.a5,y:(t.position?.y??h()*o.a5)*t.size.height/o.a5}}function E(t){const e={x:void 0!==t.position?.x?b(t.position.x):void 0,y:void 0!==t.position?.y?b(t.position.y):void 0};return D({size:t.size,position:e})}function A(t){const{position:e,size:i}=t;return{x:e?.x??h()*i.width,y:e?.y??h()*i.height}}function _(t){const e={x:void 0!==t.position?.x?b(t.position.x):void 0,y:void 0!==t.position?.y?b(t.position.y):void 0};return A({size:t.size,position:e})}function F(t){return t?t.endsWith("%")?parseFloat(t)/o.a5:parseFloat(t):1}},560(t,e,i){i.d(e,{M:()=>s,p:()=>o});var n=i(4117);class o{constructor(t=n.bo.x,e=n.bo.y,i=n.bo.z){this._updateFromAngle=(t,e)=>{this.x=Math.cos(t)*e,this.y=Math.sin(t)*e},this.x=t,this.y=e,this.z=i}static get origin(){return o.create(n.bo.x,n.bo.y,n.bo.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this._updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this._updateFromAngle(this.angle,t)}static clone(t){return o.create(t.x,t.y,t.z)}static create(t,e,i){return"number"==typeof t?new o(t,e??n.bo.y,i??n.bo.z):new o(t.x,t.y,Object.hasOwn(t,"z")?t.z:n.bo.z)}add(t){return o.create(this.x+t.x,this.y+t.y,this.z+t.z)}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=t.z}copy(){return o.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return o.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**n.dm+this.y**n.dm}mult(t){return o.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;t!=n.dv&&this.multTo(n.hB/t)}rotate(t){return o.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),n.bo.z)}setTo(t){this.x=t.x,this.y=t.y;const e=t;this.z=e.z?e.z:n.bo.z}sub(t){return o.create(this.x-t.x,this.y-t.y,this.z-t.z)}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=t.z}}class s extends o{constructor(t=n.bo.x,e=n.bo.y){super(t,e,n.bo.z)}static get origin(){return s.create(n.bo.x,n.bo.y)}static clone(t){return s.create(t.x,t.y)}static create(t,e){return"number"==typeof t?new s(t,e??n.bo.y):new s(t.x,t.y)}}},615(t,e,i){i.d(e,{AE:()=>k,Al:()=>b,BR:()=>m,E9:()=>L,NV:()=>T,O2:()=>z,S7:()=>R,T5:()=>v,TA:()=>_,Tg:()=>D,Tj:()=>M,U6:()=>O,UC:()=>C,Vh:()=>x,Xs:()=>I,YC:()=>Z,hJ:()=>$,hn:()=>y,iK:()=>P,lV:()=>p,n0:()=>w,pE:()=>E,q8:()=>f,tG:()=>g,td:()=>G,w3:()=>F,wJ:()=>A,zw:()=>S});var n=i(397),o=i(4117),s=i(3631),a=i(3551),r=i(1689),c=i(181),l=i(1874),d=i(7997),h=i(782),u=i(560);function f(){return"undefined"!=typeof matchMedia}function v(){return globalThis.document}function p(t){if(f())return matchMedia(t)}function m(t){if("undefined"!=typeof IntersectionObserver)return new IntersectionObserver(t)}function g(t){if("undefined"!=typeof MutationObserver)return new MutationObserver(t)}function y(t,e){return t===e||(0,s.cy)(e)&&e.includes(t)}async function b(t,e){try{await v().fonts.load(`${e??"400"} 36px '${t??"Verdana"}'`)}catch{}}function w(t){return Math.floor((0,n.G0)()*t.length)}function x(t,e,i=!0){return t[void 0!==e&&i?e%t.length:w(t)]}function M(t,e,i,n,o){return z(k(t,n??0),e,i,o)}function z(t,e,i,n){let o=!0;return n&&n!==l.v.bottom||(o=t.top<e.height+i.x),!o||n&&n!==l.v.left||(o=t.right>i.x),!o||n&&n!==l.v.right||(o=t.left<e.width+i.y),!o||n&&n!==l.v.top||(o=t.bottom>i.y),o}function k(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function S(t,...e){for(const i of e){if(null==i)continue;if(!(0,s.Gv)(i)){t=i;continue}const e=Array.isArray(i);!e||!(0,s.Gv)(t)&&t&&Array.isArray(t)?e||!(0,s.Gv)(t)&&t&&!Array.isArray(t)||(t={}):t=[];for(const e in i){if("__proto__"===e)continue;const n=i[e],o=t;o[e]=(0,s.Gv)(n)&&Array.isArray(n)?n.map((t=>S(o[e],t))):S(o[e],n)}}return t}function P(t,e){return!!F(e,(e=>e.enable&&y(t,e.mode)))}function O(t,e,i){A(e,(e=>{const n=e.mode;e.enable&&y(t,n)&&R(e,i)}))}function R(t,e){A(t.selectors,(i=>{e(i,t)}))}function T(t,e){if(e&&t)return F(t,(t=>function(t,e){const i=A(e,(e=>t.matches(e)));return(0,s.cy)(i)?i.some((t=>t)):i}(e,t.selectors)))}function D(t){return{position:t.getPosition(),radius:t.getRadius(),mass:t.getMass(),velocity:t.velocity,factor:u.M.create((0,n.VG)(t.options.bounce.horizontal.value),(0,n.VG)(t.options.bounce.vertical.value))}}function E(t,e){const{x:i,y:o}=t.velocity.sub(e.velocity),[s,a]=[t.position,e.position],{dx:r,dy:c}=(0,n.vr)(a,s);if(i*r+o*c<0)return;const l=-Math.atan2(c,r),d=t.mass,h=e.mass,u=t.velocity.rotate(l),f=e.velocity.rotate(l),v=(0,n.OW)(u,f,d,h),p=(0,n.OW)(f,u,d,h),m=v.rotate(-l),g=p.rotate(-l);t.velocity.x=m.x*t.factor.x,t.velocity.y=m.y*t.factor.y,e.velocity.x=g.x*e.factor.x,e.velocity.y=g.y*e.factor.y}function A(t,e){return(0,s.cy)(t)?t.map(((t,i)=>e(t,i))):e(t,0)}function _(t,e,i){return(0,s.cy)(t)?x(t,e,i):t}function F(t,e){if((0,s.cy)(t))return t.find(((t,i)=>e(t,i)));return e(t,0)?t:void 0}function I(t,e){const i=t.value,s=t.animation,c={delayTime:(0,n.VG)(s.delay)*o.Xu,enable:s.enable,value:(0,n.VG)(t.value)*e,max:(0,n.W9)(i)*e,min:(0,n.Sg)(i)*e,loops:0,maxLoops:(0,n.VG)(s.count),time:0};if(s.enable){switch(c.decay=1-(0,n.VG)(s.decay),s.mode){case a.g.increase:c.status=r.H.increasing;break;case a.g.decrease:c.status=r.H.decreasing;break;case a.g.random:c.status=(0,n.G0)()>=o.MX?r.H.increasing:r.H.decreasing}const t=s.mode===a.g.auto;switch(s.startValue){case h.S.min:c.value=c.min,t&&(c.status=r.H.increasing);break;case h.S.max:c.value=c.max,t&&(c.status=r.H.decreasing);break;case h.S.random:default:c.value=(0,n.vE)(c),t&&(c.status=(0,n.G0)()>=o.MX?r.H.increasing:r.H.decreasing)}}return c.initialValue=c.value,c}function V(t,e){if(!(t.mode===d.q.percent)){const{mode:e,...i}=t;return i}return"x"in t?{x:t.x/o.a5*e.width,y:t.y/o.a5*e.height}:{width:t.width/o.a5*e.width,height:t.height/o.a5*e.height}}function L(t,e){return V(t,e)}function Z(t,e){return V(t,e)}function C(t,e,i,o,s){if(t.destroyed||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;const a=(e.velocity??0)*s.factor,l=e.min,d=e.max,h=e.decay??1;if(e.time??=0,(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=s.value),!((e.delayTime??0)>0&&e.time<(e.delayTime??0))){switch(e.status){case r.H.increasing:e.value>=d?(i?e.status=r.H.decreasing:e.value-=d,e.loops??=0,e.loops++):e.value+=a;break;case r.H.decreasing:e.value<=l?(i?e.status=r.H.increasing:e.value+=d,e.loops??=0,e.loops++):e.value-=a}e.velocity&&1!==h&&(e.velocity*=h),function(t,e,i,n,o){switch(e){case c.V.max:i>=o&&t.destroy();break;case c.V.min:i<=n&&t.destroy()}}(t,o,e.value,l,d),e.value=(0,n.qE)(e.value,l,d)}}function G(t){const e=v().createElement("div").style;for(const i in t){const n=t[i];if(!Object.hasOwn(t,i)||(0,s.kZ)(n))continue;const o=t.getPropertyValue?.(n);if(!o)continue;const a=t.getPropertyPriority?.(n);a?e.setProperty(n,o,a):e.setProperty(n,o)}return e}const $=function(t){const e=new Map;return(...i)=>{const n=JSON.stringify(i);if(e.has(n))return e.get(n);const o=t(...i);return e.set(n,o),o}}((function(t){const e=v().createElement("div").style,i={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:t.toString(10),"z-index":t.toString(10),top:"0",left:"0"};for(const t in i){const n=i[t];void 0!==n&&e.setProperty(t,n)}return e}))},753(t,e,i){var n;i.d(e,{x:()=>n}),function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(n||(n={}))},782(t,e,i){var n;i.d(e,{S:()=>n}),function(t){t.max="max",t.min="min",t.random="random"}(n||(n={}))},894(t,e,i){i.d(e,{U:()=>p});var n=i(615),o=i(6521),s=i(3631);class a{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(t){if((0,s.kZ)(t))return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=(0,n.zw)(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.type=t.type)}}var r=i(4209),c=i(3969),l=i(8892),d=i(5504),h=i(6861),u=i(4377),f=i(9128),v=i(1603);class p{constructor(t,e){this._engine=t,this._container=e,this.bounce=new l.w,this.color=new o.A,this.color.value="#fff",this.effect=new a,this.groups={},this.move=new r.y,this.number=new d.N,this.opacity=new c.Y,this.reduceDuplicates=!1,this.shape=new h.y,this.size=new u.o,this.stroke=new f.t,this.zIndex=new v.P}load(t){if((0,s.kZ)(t))return;if(void 0!==t.groups)for(const e of Object.keys(t.groups)){if(!Object.hasOwn(t.groups,e))continue;const i=t.groups[e];void 0!==i&&(this.groups[e]=(0,n.zw)(this.groups[e]??{},i))}void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.color.load(o.A.create(this.color,t.color)),this.effect.load(t.effect),this.move.load(t.move),this.number.load(t.number),this.opacity.load(t.opacity),this.shape.load(t.shape),this.size.load(t.size),this.zIndex.load(t.zIndex),void 0!==t.interactivity&&(this.interactivity=(0,n.zw)({},t.interactivity));const e=t.stroke;if(e&&(this.stroke=(0,n.wJ)(e,(t=>{const e=new f.t;return e.load(t),e}))),this._container){const e=this._engine.updaters.get(this._container);if(e)for(const i of e)i.loadOptions&&i.loadOptions(this,t);const i=this._engine.interactors.get(this._container);if(i)for(const e of i)e.loadParticlesOptions&&e.loadParticlesOptions(this,t)}}}},1049(t,e,i){var n;i.d(e,{Y:()=>n}),function(t){t.bounce="bounce",t.none="none",t.out="out",t.destroy="destroy",t.split="split"}(n||(n={}))},1163(t,e,i){i.d(e,{I:()=>a});var n=i(181),o=i(3544),s=i(3631);class a extends o.Q{constructor(){super(),this.destroy=n.V.none,this.speed=2}load(t){super.load(t),(0,s.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}},1317(t,e,i){i.d(e,{d:()=>o});var n=i(3631);class o{constructor(t,e){this._engine=t,this._container=e}load(t){if((0,n.kZ)(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)}}},1603(t,e,i){i.d(e,{P:()=>s});var n=i(4696),o=i(3631);class s extends n.PV{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),(0,o.kZ)(t)||(void 0!==t.opacityRate&&(this.opacityRate=t.opacityRate),void 0!==t.sizeRate&&(this.sizeRate=t.sizeRate),void 0!==t.velocityRate&&(this.velocityRate=t.velocityRate))}}},1617(t,e,i){i.d(e,{s:()=>l});var n=i(9460),o=i(4981),s=i(7778),a=i(8890),r=i(615),c=i(3631);class l{constructor(){this.onClick=new n.r,this.onDiv=new o.G,this.onHover=new s.L,this.resize=new a.z}load(t){if((0,c.kZ)(t))return;this.onClick.load(t.onClick);const e=t.onDiv;void 0!==e&&(this.onDiv=(0,r.wJ)(e,(t=>{const e=new o.G;return e.load(t),e}))),this.onHover.load(t.onHover),this.resize.load(t.resize)}}},1689(t,e,i){var n;i.d(e,{H:()=>n}),function(t){t.increasing="increasing",t.decreasing="decreasing"}(n||(n={}))},1690(t,e,i){var n;i.d(e,{d:()=>n}),function(t){t.delete="delete",t.wait="wait"}(n||(n={}))},1874(t,e,i){var n;i.d(e,{v:()=>n}),function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(n||(n={}))},1917(t,e,i){i.d(e,{O:()=>o});var n=i(3631);class o{constructor(){this.value=""}static create(t,e){const i=new o;return i.load(t),void 0!==e&&((0,n.Kg)(e)||(0,n.cy)(e)?i.load({value:e}):i.load(e)),i}load(t){(0,n.kZ)(t)||(0,n.kZ)(t.value)||(this.value=t.value)}}},1983(t,e,i){var n;i.d(e,{H:()=>n}),function(t){t.darken="darken",t.enlighten="enlighten"}(n||(n={}))},2186(t,e,i){i.d(e,{b:()=>n});class n{constructor(t,e){this.position=t,this.particle=e}}},2480(t,e,i){var n;i.d(e,{Q:()=>n}),function(t){t.circle="circle",t.rectangle="rectangle"}(n||(n={}))},2620(t,e,i){i.d(e,{j:()=>s});var n=i(1049),o=i(3631);class s{constructor(){this.default=n.Y.out}load(t){(0,o.kZ)(t)||(void 0!==t.default&&(this.default=t.default),this.bottom=t.bottom??t.default,this.left=t.left??t.default,this.right=t.right??t.default,this.top=t.top??t.default)}}},3271(t,e,i){i.d(e,{F:()=>o});var n=i(4696);class o extends n.PV{constructor(){super(),this.value=1}}},3544(t,e,i){i.d(e,{Q:()=>c,p:()=>r});var n=i(3551),o=i(782),s=i(3631),a=i(397);class r{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){(0,s.kZ)(t)||(void 0!==t.count&&(this.count=(0,a.DT)(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=(0,a.DT)(t.speed)),void 0!==t.decay&&(this.decay=(0,a.DT)(t.decay)),void 0!==t.delay&&(this.delay=(0,a.DT)(t.delay)),void 0!==t.sync&&(this.sync=t.sync))}}class c extends r{constructor(){super(),this.mode=n.g.auto,this.startValue=o.S.random}load(t){super.load(t),(0,s.kZ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}}},3551(t,e,i){var n;i.d(e,{g:()=>n}),function(t){t.auto="auto",t.increase="increase",t.decrease="decrease",t.random="random"}(n||(n={}))},3631(t,e,i){function n(t){return"boolean"==typeof t}function o(t){return"string"==typeof t}function s(t){return"number"==typeof t}function a(t){return"function"==typeof t}function r(t){return"object"==typeof t&&null!==t}function c(t){return Array.isArray(t)}function l(t){return null==t}i.d(e,{Et:()=>s,Gv:()=>r,Kg:()=>o,Lm:()=>n,Tn:()=>a,cy:()=>c,kZ:()=>l})},3969(t,e,i){i.d(e,{Y:()=>a});var n=i(1163),o=i(4696),s=i(3631);class a extends o.AI{constructor(){super(),this.animation=new n.I,this.value=1}load(t){if((0,s.kZ)(t))return;super.load(t);const e=t.animation;void 0!==e&&this.animation.load(e)}}},3984(t,e,i){i.d(e,{J:()=>p});var n=i(615),o=i(3631),s=i(7415),a=i(9845),r=i(4997),c=i(4712),l=i(7582),d=i(8325),h=i(7461),u=i(5392),f=i(8627),v=i(397);class p{constructor(t,e){this._findDefaultTheme=t=>this.themes.find((e=>e.default.value&&e.default.mode===t))??this.themes.find((t=>t.default.value&&t.default.mode===u.l.any)),this._importPreset=t=>{this.load(this._engine.getPreset(t))},this._engine=t,this._container=e,this.autoPlay=!0,this.background=new s.V,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new a.m,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.hdr=!0,this.interactivity=new r.k(t,e),this.manualParticles=[],this.particles=(0,f.y)(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}load(t){if((0,o.kZ)(t))return;void 0!==t.preset&&(0,n.wJ)(t.preset,(t=>{this._importPreset(t)})),void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.clear&&(this.clear=t.clear),void 0!==t.key&&(this.key=t.key),void 0!==t.name&&(this.name=t.name),void 0!==t.delay&&(this.delay=(0,v.DT)(t.delay));const e=t.detectRetina;void 0!==e&&(this.detectRetina=e),void 0!==t.duration&&(this.duration=(0,v.DT)(t.duration));const i=t.fpsLimit;void 0!==i&&(this.fpsLimit=i),void 0!==t.hdr&&(this.hdr=t.hdr),void 0!==t.pauseOnBlur&&(this.pauseOnBlur=t.pauseOnBlur),void 0!==t.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=t.pauseOnOutsideViewport),void 0!==t.zLayers&&(this.zLayers=t.zLayers),this.background.load(t.background);const s=t.fullScreen;(0,o.Lm)(s)?this.fullScreen.enable=s:this.fullScreen.load(s),this.interactivity.load(t.interactivity),t.manualParticles&&(this.manualParticles=t.manualParticles.map((t=>{const e=new c.j;return e.load(t),e}))),this.particles.load(t.particles),this.style=(0,n.zw)(this.style,t.style),this._engine.loadOptions(this,t),void 0!==t.smooth&&(this.smooth=t.smooth);const a=this._engine.interactors.get(this._container);if(a)for(const e of a)e.loadOptions&&e.loadOptions(this,t);if(void 0!==t.responsive)for(const e of t.responsive){const t=new l.F;t.load(e),this.responsive.push(t)}if(this.responsive.sort(((t,e)=>t.maxWidth-e.maxWidth)),void 0!==t.themes)for(const e of t.themes){const t=this.themes.find((t=>t.name===e.name));if(t)t.load(e);else{const t=new h.S;t.load(e),this.themes.push(t)}}this.defaultThemes.dark=this._findDefaultTheme(u.l.dark)?.name,this.defaultThemes.light=this._findDefaultTheme(u.l.light)?.name}setResponsive(t,e,i){this.load(i);const n=this.responsive.find((i=>i.mode===d.A.screen?i.maxWidth>screen.availWidth:i.maxWidth*e>t));return this.load(n?.options),n?.maxWidth}setTheme(t){if(t){const e=this.themes.find((e=>e.name===t));e&&this.load(e.options)}else{const t=(0,n.lV)("(prefers-color-scheme: dark)"),e=t?.matches,i=this._findDefaultTheme(e?u.l.dark:u.l.light);i&&this.load(i.options)}}}},4117(t,e,i){i.d(e,{$G:()=>N,$O:()=>X,$_:()=>G,$v:()=>rt,$x:()=>_,BF:()=>Lt,BW:()=>x,Bp:()=>d,DG:()=>h,DN:()=>st,D_:()=>Dt,Dv:()=>Et,Eo:()=>ut,FS:()=>Y,Fl:()=>Zt,G3:()=>u,GW:()=>W,IU:()=>zt,Ie:()=>H,JC:()=>it,K3:()=>kt,KZ:()=>tt,Kw:()=>E,L1:()=>$,LD:()=>Pt,M1:()=>mt,MX:()=>m,N5:()=>ft,NF:()=>f,Nu:()=>Ft,Nx:()=>at,PZ:()=>ct,Pg:()=>I,R1:()=>z,RF:()=>R,RV:()=>J,Rb:()=>c,Rh:()=>yt,Rq:()=>j,TL:()=>et,U0:()=>q,Ug:()=>b,WH:()=>ht,X$:()=>O,X_:()=>pt,Xu:()=>g,Z0:()=>a,Zp:()=>F,a5:()=>p,aE:()=>Vt,aZ:()=>S,bo:()=>y,ce:()=>P,dm:()=>D,dv:()=>dt,eb:()=>n,eu:()=>C,gd:()=>M,hB:()=>V,hK:()=>Gt,hv:()=>Q,i8:()=>ot,iU:()=>At,jn:()=>Ct,l:()=>vt,lA:()=>St,mR:()=>w,ms:()=>o,nK:()=>v,nq:()=>wt,oi:()=>L,ou:()=>bt,pH:()=>Ot,rq:()=>T,s7:()=>l,sf:()=>r,tA:()=>Tt,tR:()=>$t,td:()=>Rt,un:()=>gt,vF:()=>nt,vS:()=>Z,vd:()=>_t,vo:()=>s,w2:()=>U,wM:()=>xt,xH:()=>lt,xd:()=>A,yx:()=>B,z$:()=>k,z9:()=>Mt,zg:()=>It,zs:()=>K});const n="generated",o="pointerdown",s="pointerup",a="pointerleave",r="pointerout",c="pointermove",l="touchstart",d="touchend",h="touchmove",u="touchcancel",f="resize",v="visibilitychange",p=100,m=.5,g=1e3,y={x:0,y:0,z:0},b={a:1,b:0,c:0,d:1},w="random",x="mid",M=2,z=Math.PI*M,k=60,S=1,P="true",O="false",R="canvas",T=0,D=2,E=4,A=1,_=1,F=1,I=4,V=1,L=255,Z=360,C=100,G=100,$=0,B=0,q=60,H=0,N=.25,j=m+N,W=0,K=1,U=0,X=0,J=1,Q=1,Y=1,tt=1,et=0,it=1,nt=0,ot=120,st=0,at=0,rt=1e4,ct=0,lt=1,dt=0,ht=1,ut=1,ft=0,vt=1,pt=0,mt=0,gt=-N,yt=1.5,bt=0,wt=1,xt=0,Mt=0,zt=0,kt=1,St=1,Pt=1,Ot=500,Rt=50,Tt=0,Dt=1,Et=0,At=1,_t=0,Ft=3,It=6,Vt=1,Lt=1,Zt=0,Ct=0,Gt=0,$t=0},4209(t,e,i){i.d(e,{y:()=>f});var n=i(4342),o=i(3631),s=i(8502),a=i(4640),r=i(7488),c=i(8051),l=i(7464),d=i(2620),h=i(4624),u=i(397);class f{constructor(){this.angle=new s.h,this.attract=new a.R,this.center=new r.Z,this.decay=0,this.distance={},this.direction=n.F.none,this.drift=0,this.enable=!1,this.gravity=new c.y,this.path=new l.v,this.outModes=new d.j,this.random=!1,this.size=!1,this.speed=2,this.spin=new h.t,this.straight=!1,this.vibrate=!1,this.warp=!1}load(t){if((0,o.kZ)(t))return;this.angle.load((0,o.Et)(t.angle)?{value:t.angle}:t.angle),this.attract.load(t.attract),this.center.load(t.center),void 0!==t.decay&&(this.decay=(0,u.DT)(t.decay)),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=(0,o.Et)(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),void 0!==t.drift&&(this.drift=(0,u.DT)(t.drift)),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity);const e=t.outModes;void 0!==e&&((0,o.Gv)(e)?this.outModes.load(e):this.outModes.load({default:e})),this.path.load(t.path),void 0!==t.random&&(this.random=t.random),void 0!==t.size&&(this.size=t.size),void 0!==t.speed&&(this.speed=(0,u.DT)(t.speed)),this.spin.load(t.spin),void 0!==t.straight&&(this.straight=t.straight),void 0!==t.vibrate&&(this.vibrate=t.vibrate),void 0!==t.warp&&(this.warp=t.warp)}}},4342(t,e,i){var n;i.d(e,{F:()=>n}),function(t){t.bottom="bottom",t.bottomLeft="bottom-left",t.bottomRight="bottom-right",t.left="left",t.none="none",t.right="right",t.top="top",t.topLeft="top-left",t.topRight="top-right",t.outside="outside",t.inside="inside"}(n||(n={}))},4377(t,e,i){i.d(e,{o:()=>a});var n=i(4696),o=i(4883),s=i(3631);class a extends n.AI{constructor(){super(),this.animation=new o.q,this.value=3}load(t){if(super.load(t),(0,s.kZ)(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}},4624(t,e,i){i.d(e,{t:()=>a});var n=i(615),o=i(3631),s=i(397);class a{constructor(){this.acceleration=0,this.enable=!1}load(t){(0,o.kZ)(t)||(void 0!==t.acceleration&&(this.acceleration=(0,s.DT)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),t.position&&(this.position=(0,n.zw)({},t.position)))}}},4640(t,e,i){i.d(e,{R:()=>s});var n=i(3631),o=i(397);class s{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(t){if(!(0,n.kZ)(t)&&(void 0!==t.distance&&(this.distance=(0,o.DT)(t.distance)),void 0!==t.enable&&(this.enable=t.enable),t.rotate)){const e=t.rotate.x;void 0!==e&&(this.rotate.x=e);const i=t.rotate.y;void 0!==i&&(this.rotate.y=i)}}}},4696(t,e,i){i.d(e,{AI:()=>c,Jm:()=>r,PV:()=>a});var n=i(3544),o=i(3631),s=i(397);class a{constructor(){this.value=0}load(t){(0,o.kZ)(t)||(0,o.kZ)(t.value)||(this.value=(0,s.DT)(t.value))}}class r extends a{constructor(){super(),this.animation=new n.p}load(t){if(super.load(t),(0,o.kZ)(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class c extends r{constructor(){super(),this.animation=new n.Q}load(t){super.load(t)}}},4712(t,e,i){i.d(e,{j:()=>r});var n=i(7997),o=i(615),s=i(3631),a=i(4117);class r{load(t){(0,s.kZ)(t)||(t.position&&(this.position={x:t.position.x??a.td,y:t.position.y??a.td,mode:t.position.mode??n.q.percent}),t.options&&(this.options=(0,o.zw)({},t.options)))}}},4883(t,e,i){i.d(e,{q:()=>a});var n=i(181),o=i(3544),s=i(3631);class a extends o.Q{constructor(){super(),this.destroy=n.V.none,this.speed=5}load(t){super.load(t),(0,s.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}},4981(t,e,i){i.d(e,{G:()=>s});var n=i(2480),o=i(3631);class s{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=n.Q.circle}load(t){(0,o.kZ)(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))}}},4997(t,e,i){i.d(e,{k:()=>r});var n=i(1617),o=i(6249),s=i(1317),a=i(3631);class r{constructor(t,e){this.detectsOn=o.h.window,this.events=new n.s,this.modes=new s.d(t,e)}load(t){if((0,a.kZ)(t))return;const e=t.detectsOn;void 0!==e&&(this.detectsOn=e),this.events.load(t.events),this.modes.load(t.modes)}}},5043(t,e,i){i.d(e,{k:()=>o});var n=i(3631);class o{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(t){(0,n.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.force&&(this.force=t.force),void 0!==t.smooth&&(this.smooth=t.smooth))}}},5247(t,e,i){i.d(e,{i:()=>s});var n=i(9499),o=i(3631);class s{constructor(){this.h=new n.e,this.s=new n.e,this.l=new n.e}load(t){(0,o.kZ)(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}},5317(t,e,i){i.d(e,{M:()=>o});var n=i(3631);class o{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(t){if((0,n.kZ)(t))return;void 0!==t.enable&&(this.enable=t.enable);const e=t.width;void 0!==e&&(this.width=e);const i=t.height;void 0!==i&&(this.height=i)}}},5392(t,e,i){var n;i.d(e,{l:()=>n}),function(t){t.any="any",t.dark="dark",t.light="light"}(n||(n={}))},5504(t,e,i){i.d(e,{N:()=>a});var n=i(5317),o=i(8465),s=i(3631);class a{constructor(){this.density=new n.M,this.limit=new o.A,this.value=0}load(t){(0,s.kZ)(t)||(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}}},5536(t,e,i){var n;i.d(e,{e:()=>n}),function(t){t.external="external",t.particles="particles"}(n||(n={}))},6192(t,e,i){i.d(e,{BN:()=>h,EY:()=>k,Jv:()=>E,K6:()=>p,Ko:()=>D,LC:()=>z,OH:()=>w,O_:()=>O,PG:()=>P,R5:()=>v,YL:()=>y,_h:()=>S,ay:()=>b,eg:()=>g,mK:()=>f,pz:()=>R,qe:()=>u,xx:()=>x,zI:()=>m});var n=i(397),o=i(4117),s=i(3631),a=i(1689),r=i(615);const c=new Map;function l(t,e){let i=c.get(t);return i||(i=e(),c.size<1e3&&c.set(t,i)),i}function d(t,e){if(e)for(const i of t.colorManagers.values())if(i.accepts(e))return i.parseString(e)}function h(t,e,i,n=!0){if(!e)return;const o=(0,s.Kg)(e)?{value:e}:e;if((0,s.Kg)(o.value))return u(t,o.value,i,n);if((0,s.cy)(o.value)){const e=(0,r.Vh)(o.value,i,n);if(!e)return;return h(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleRangeColor(o);if(t)return t}}function u(t,e,i,n=!0){if(!e)return;const a=(0,s.Kg)(e)?{value:e}:e;if((0,s.Kg)(a.value))return a.value===o.mR?w():g(t,a.value);if((0,s.cy)(a.value)){const e=(0,r.Vh)(a.value,i,n);if(!e)return;return u(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleColor(a);if(t)return t}}function f(t,e,i,n=!0){const o=u(t,e,i,n);return o?p(o):void 0}function v(t,e,i,n=!0){const o=h(t,e,i,n);return o?p(o):void 0}function p(t){const e=t.r/o.oi,i=t.g/o.oi,n=t.b/o.oi,s=Math.max(e,i,n),a=Math.min(e,i,n),r={h:o.L1,l:(s+a)*o.MX,s:o.yx};return s!==a&&(r.s=r.l<o.MX?(s-a)/(s+a):(s-a)/(o.gd-s-a),r.h=e===s?(i-n)/(s-a):i===s?o.gd+(n-e)/(s-a):o.gd*o.gd+(e-i)/(s-a)),r.l*=o.$_,r.s*=o.eu,r.h*=o.U0,r.h<o.L1&&(r.h+=o.vS),r.h>=o.vS&&(r.h-=o.vS),r}function m(t,e){return d(t,e)?.a}function g(t,e){return d(t,e)}function y(t){const e=(t.h%o.vS+o.vS)%o.vS,i=Math.max(o.yx,Math.min(o.eu,t.s)),n=Math.max(o.vd,Math.min(o.$_,t.l)),s=e/o.vS,a=i/o.eu,r=n/o.$_;if(i===o.yx){const t=Math.round(r*o.oi);return{r:t,g:t,b:t}}const c=(t,e,i)=>{if(i<0&&i++,i>1&&i--,i*o.zg<1)return t+(e-t)*o.zg*i;if(i*o.gd<1)return e;if(i*o.Nu<1*o.gd){return t+(e-t)*(o.gd/o.Nu-i)*o.zg}return t},l=r<o.MX?r*(o.aE+a):r+a-r*a,d=o.gd*r-l,h=o.BF/o.Nu,u=Math.min(o.oi,o.oi*c(d,l,s+h)),f=Math.min(o.oi,o.oi*c(d,l,s)),v=Math.min(o.oi,o.oi*c(d,l,s-h));return{r:Math.round(u),g:Math.round(f),b:Math.round(v)}}function b(t){const e=y(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}function w(t){const e=t??o.Fl,i=o.oi+o.D_,s=()=>Math.floor((0,n.e4)(e,i));return{b:s(),g:s(),r:s()}}function x(t,e,i){const n=i??o.hv;return l(`rgb-${t.r.toString()}-${t.g.toString()}-${t.b.toString()}-${e?"hdr":"sdr"}-${n.toString()}`,(()=>e?M(t,i):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(e??o.hv).toString()})`}(t,i)))}function M(t,e){return`color(display-p3 ${(t.r/o.oi).toString()} ${(t.g/o.oi).toString()} ${(t.b/o.oi).toString()} / ${(e??o.hv).toString()})`}function z(t,e,i){const n=i??o.hv;return l(`hsl-${t.h.toString()}-${t.s.toString()}-${t.l.toString()}-${e?"hdr":"sdr"}-${n.toString()}`,(()=>e?function(t,e){return M(y(t),e)}(t,i):function(t,e){return`hsla(${t.h.toString()}, ${t.s.toString()}%, ${t.l.toString()}%, ${(e??o.hv).toString()})`}(t,i)))}function k(t,e,i,o){let s=t,a=e;return Object.hasOwn(s,"r")||(s=y(t)),Object.hasOwn(a,"r")||(a=y(e)),{b:(0,n.jh)(s.b,a.b,i,o),g:(0,n.jh)(s.g,a.g,i,o),r:(0,n.jh)(s.r,a.r,i,o)}}function S(t,e,i){if(i===o.mR)return w();if(i!==o.BW)return i;{const i=t.getFillColor()??t.getStrokeColor(),n=e?.getFillColor()??e?.getStrokeColor();if(i&&n&&e)return k(i,n,t.getRadius(),e.getRadius());{const t=i??n;if(t)return y(t)}}}function P(t,e,i,n){const a=(0,s.Kg)(e)?e:e.value;return a===o.mR?n?h(t,{value:a}):i?o.mR:o.BW:a===o.BW?o.BW:h(t,{value:a})}function O(t){return void 0!==t?{h:t.h.value,s:t.s.value,l:t.l.value}:void 0}function R(t,e,i){const n={h:{enable:!1,value:t.h},s:{enable:!1,value:t.s},l:{enable:!1,value:t.l}};return e&&(T(n.h,e.h,i),T(n.s,e.s,i),T(n.l,e.l,i)),n}function T(t,e,i){t.enable=e.enable,t.enable?(t.velocity=(0,n.VG)(e.speed)/o.a5*i,t.decay=o.WH-(0,n.VG)(e.decay),t.status=a.H.increasing,t.loops=o.hK,t.maxLoops=(0,n.VG)(e.count),t.time=o.tR,t.delayTime=(0,n.VG)(e.delay)*o.Xu,e.sync||(t.velocity*=(0,n.G0)(),t.value*=(0,n.G0)()),t.initialValue=t.value,t.offset=(0,n.DT)(e.offset)):t.velocity=o.jn}function D(t,e,i,o){if(!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;if(t.time??=0,(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=o.value),(t.delayTime??0)>0&&t.time<(t.delayTime??0))return;const s=t.offset?(0,n.vE)(t.offset):0,r=(t.velocity??0)*o.factor+3.6*s,c=t.decay??1,l=(0,n.W9)(e),d=(0,n.Sg)(e);if(i&&t.status!==a.H.increasing){t.value-=r;const e=0;t.value<e&&(t.loops??=0,t.loops++,t.status=a.H.increasing)}else t.value+=r,t.value>l&&(t.loops??=0,t.loops++,i?t.status=a.H.decreasing:t.value-=l);t.velocity&&1!==c&&(t.velocity*=c),t.value=(0,n.qE)(t.value,d,l)}function E(t,e){if(!t)return;const{h:i,s:n,l:s}=t,a={h:{min:o.L1,max:o.vS},s:{min:o.yx,max:o.eu},l:{min:o.vd,max:o.$_}};D(i,a.h,!1,e),D(n,a.s,!0,e),D(s,a.l,!0,e)}},6249(t,e,i){var n;i.d(e,{h:()=>n}),function(t){t.canvas="canvas",t.parent="parent",t.window="window"}(n||(n={}))},6521(t,e,i){i.d(e,{A:()=>a});var n=i(3631),o=i(5247),s=i(1917);class a extends s.O{constructor(){super(),this.animation=new o.i}static create(t,e){const i=new a;return i.load(t),void 0!==e&&((0,n.Kg)(e)||(0,n.cy)(e)?i.load({value:e}):i.load(e)),i}load(t){if(super.load(t),(0,n.kZ)(t))return;const e=t.animation;void 0!==e&&(void 0===e.enable?this.animation.load(t.animation):this.animation.h.load(e))}}},6861(t,e,i){i.d(e,{y:()=>s});var n=i(615),o=i(3631);class s{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(t){if((0,o.kZ)(t))return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=(0,n.zw)(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.type=t.type)}}},6978(t,e,i){var n;i.d(e,{dg:()=>a,jl:()=>r,M_:()=>c}),function(t){t.circle="circle",t.rectangle="rectangle"}(n||(n={}));var o=i(397),s=i(4117);class a{constructor(t,e,i){this.position={x:t,y:e},this.type=i}}class r extends a{constructor(t,e,i){super(t,e,n.circle),this.radius=i}contains(t){return(0,o.Yf)(t,this.position)<=this.radius}intersects(t){const e=this.position,i=t.position,o=Math.abs(i.x-e.x),a=Math.abs(i.y-e.y),l=this.radius;if(t instanceof r||t.type===n.circle){return l+t.radius>Math.sqrt(o**s.dm+a**s.dm)}if(t instanceof c||t.type===n.rectangle){const e=t,{width:i,height:n}=e.size;return Math.pow(o-i,s.dm)+Math.pow(a-n,s.dm)<=l**s.dm||o<=l+i&&a<=l+n||o<=i||a<=n}return!1}}class c extends a{constructor(t,e,i,o){super(t,e,n.rectangle),this.size={height:o,width:i}}contains(t){const e=this.size.width,i=this.size.height,n=this.position;return t.x>=n.x&&t.x<=n.x+e&&t.y>=n.y&&t.y<=n.y+i}intersects(t){if(t instanceof r)return t.intersects(this);const e=this.size.width,i=this.size.height,n=this.position,o=t.position,s=t instanceof c?t.size:{width:0,height:0},a=s.width,l=s.height;return o.x<n.x+e&&o.x+a>n.x&&o.y<n.y+i&&o.y+l>n.y}}},6991(t,e,i){var n;i.d(e,{B:()=>n}),function(t){t.configAdded="configAdded",t.containerInit="containerInit",t.particlesSetup="particlesSetup",t.containerStarted="containerStarted",t.containerStopped="containerStopped",t.containerDestroyed="containerDestroyed",t.containerPaused="containerPaused",t.containerPlay="containerPlay",t.containerBuilt="containerBuilt",t.particleAdded="particleAdded",t.particleDestroyed="particleDestroyed",t.particleRemoved="particleRemoved"}(n||(n={}))},7415(t,e,i){i.d(e,{V:()=>s});var n=i(1917),o=i(3631);class s{constructor(){this.color=new n.O,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){(0,o.kZ)(t)||(void 0!==t.color&&(this.color=n.O.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.position&&(this.position=t.position),void 0!==t.repeat&&(this.repeat=t.repeat),void 0!==t.size&&(this.size=t.size),void 0!==t.opacity&&(this.opacity=t.opacity))}}},7461(t,e,i){i.d(e,{S:()=>a});var n=i(8388),o=i(615),s=i(3631);class a{constructor(){this.name="",this.default=new n.f}load(t){(0,s.kZ)(t)||(void 0!==t.name&&(this.name=t.name),this.default.load(t.default),void 0!==t.options&&(this.options=(0,o.zw)({},t.options)))}}},7464(t,e,i){i.d(e,{v:()=>a});var n=i(4696),o=i(615),s=i(3631);class a{constructor(){this.clamp=!0,this.delay=new n.PV,this.enable=!1,this.options={}}load(t){(0,s.kZ)(t)||(void 0!==t.clamp&&(this.clamp=t.clamp),this.delay.load(t.delay),void 0!==t.enable&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=(0,o.zw)(this.options,t.options)))}}},7488(t,e,i){i.d(e,{Z:()=>s});var n=i(7997),o=i(3631);class s{constructor(){this.x=50,this.y=50,this.mode=n.q.percent,this.radius=0}load(t){(0,o.kZ)(t)||(void 0!==t.x&&(this.x=t.x),void 0!==t.y&&(this.y=t.y),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.radius&&(this.radius=t.radius))}}},7582(t,e,i){i.d(e,{F:()=>a});var n=i(8325),o=i(615),s=i(3631);class a{constructor(){this.maxWidth=1/0,this.options={},this.mode=n.A.canvas}load(t){(0,s.kZ)(t)||((0,s.kZ)(t.maxWidth)||(this.maxWidth=t.maxWidth),(0,s.kZ)(t.mode)||(t.mode===n.A.screen?this.mode=n.A.screen:this.mode=n.A.canvas),(0,s.kZ)(t.options)||(this.options=(0,o.zw)({},t.options)))}}},7778(t,e,i){i.d(e,{L:()=>s});var n=i(5043),o=i(3631);class s{constructor(){this.enable=!1,this.mode=[],this.parallax=new n.k}load(t){(0,o.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),this.parallax.load(t.parallax))}}},7997(t,e,i){var n;i.d(e,{q:()=>n}),function(t){t.precise="precise",t.percent="percent"}(n||(n={}))},8051(t,e,i){i.d(e,{y:()=>s});var n=i(3631),o=i(397);class s{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){(0,n.kZ)(t)||(void 0!==t.acceleration&&(this.acceleration=(0,o.DT)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.inverse&&(this.inverse=t.inverse),void 0!==t.maxSpeed&&(this.maxSpeed=(0,o.DT)(t.maxSpeed)))}}},8325(t,e,i){var n;i.d(e,{A:()=>n}),function(t){t.screen="screen",t.canvas="canvas"}(n||(n={}))},8388(t,e,i){i.d(e,{f:()=>s});var n=i(5392),o=i(3631);class s{constructor(){this.auto=!1,this.mode=n.l.any,this.value=!1}load(t){(0,o.kZ)(t)||(void 0!==t.auto&&(this.auto=t.auto),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}},8465(t,e,i){i.d(e,{A:()=>s});var n=i(1690),o=i(3631);class s{constructor(){this.mode=n.d.delete,this.value=0}load(t){(0,o.kZ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}},8502(t,e,i){i.d(e,{h:()=>s});var n=i(3631),o=i(397);class s{constructor(){this.offset=0,this.value=90}load(t){(0,n.kZ)(t)||(void 0!==t.offset&&(this.offset=(0,o.DT)(t.offset)),void 0!==t.value&&(this.value=(0,o.DT)(t.value)))}}},8627(t,e,i){i.d(e,{Z:()=>o,y:()=>s});var n=i(894);function o(t,...e){for(const i of e)t.load(i)}function s(t,e,...i){const s=new n.U(t,e);return o(s,...i),s}},8890(t,e,i){i.d(e,{z:()=>o});var n=i(3631);class o{constructor(){this.delay=.5,this.enable=!0}load(t){(0,n.kZ)(t)||(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.enable&&(this.enable=t.enable))}}},8892(t,e,i){i.d(e,{w:()=>s});var n=i(3271),o=i(3631);class s{constructor(){this.horizontal=new n.F,this.vertical=new n.F}load(t){(0,o.kZ)(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}},9128(t,e,i){i.d(e,{t:()=>a});var n=i(6521),o=i(3631),s=i(397);class a{constructor(){this.width=0}load(t){(0,o.kZ)(t)||(void 0!==t.color&&(this.color=n.A.create(this.color,t.color)),void 0!==t.width&&(this.width=(0,s.DT)(t.width)),void 0!==t.opacity&&(this.opacity=(0,s.DT)(t.opacity)))}}},9259(t,e,i){i.d(e,{IU:()=>l,KG:()=>f,Md:()=>c,Sn:()=>r,V6:()=>a,VG:()=>p,Wb:()=>g,e_:()=>m,gF:()=>v,k:()=>h,l7:()=>s,p0:()=>d,yx:()=>y,z5:()=>u});var n=i(4117),o=i(1983);function s(t,e,i){e.clearDraw&&e.clearDraw(t,i)}function a(t,e,i){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(i.x,i.y),t.closePath()}function r(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(n.bo.x,n.bo.y,e.width,e.height)}function c(t,e,i,o){i&&(t.globalAlpha=o,t.drawImage(i,n.bo.x,n.bo.y,e.width,e.height),t.globalAlpha=1)}function l(t,e){t.clearRect(n.bo.x,n.bo.y,e.width,e.height)}function d(t){const{container:e,context:i,particle:o,delta:s,colorStyles:a,radius:r,opacity:c,transform:l}=t,d=o.getPosition(),m=o.getTransformData(l);i.setTransform(m.a,m.b,m.c,m.d,d.x,d.y),a.fill&&(i.fillStyle=a.fill);const g=o.strokeWidth??n.Dv;i.lineWidth=g,a.stroke&&(i.strokeStyle=a.stroke);const y={context:i,particle:o,radius:r,opacity:c,delta:s,pixelRatio:e.retina.pixelRatio,fill:o.shapeFill,stroke:g>n.Dv||!o.shapeFill,transformData:m};u(e,y),p(e,y),f(e,y),v(e,y),h(e,y),i.resetTransform()}function h(t,e){const{particle:i}=e;if(!i.effect)return;const n=t.effectDrawers.get(i.effect),o=n?.drawAfter;o&&o(e)}function u(t,e){const{particle:i}=e;if(!i.effect)return;const n=t.effectDrawers.get(i.effect);n?.drawBefore&&n.drawBefore(e)}function f(t,e){const{context:i,particle:n,stroke:o}=e;if(!n.shape)return;const s=t.shapeDrawers.get(n.shape);s&&(i.beginPath(),s.draw(e),n.shapeClose&&i.closePath(),o&&i.stroke(),n.shapeFill&&i.fill())}function v(t,e){const{particle:i}=e;if(!i.shape)return;const n=t.shapeDrawers.get(i.shape);n?.afterDraw&&n.afterDraw(e)}function p(t,e){const{particle:i}=e;if(!i.shape)return;const n=t.shapeDrawers.get(i.shape);n?.beforeDraw&&n.beforeDraw(e)}function m(t,e,i){e.draw&&e.draw(t,i)}function g(t,e,i,n){e.drawParticle&&e.drawParticle(t,i,n)}function y(t,e,i){return{h:t.h,s:t.s,l:t.l+(e===o.H.darken?-n.iU:n.iU)*i}}},9460(t,e,i){i.d(e,{r:()=>o});var n=i(3631);class o{constructor(){this.enable=!1,this.mode=[]}load(t){(0,n.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode))}}},9499(t,e,i){i.d(e,{e:()=>a});var n=i(3544),o=i(3631),s=i(397);class a extends n.p{constructor(){super(),this.offset=0,this.sync=!0}load(t){super.load(t),(0,o.kZ)(t)||void 0!==t.offset&&(this.offset=(0,s.DT)(t.offset))}}},9845(t,e,i){i.d(e,{m:()=>o});var n=i(3631);class o{constructor(){this.enable=!0,this.zIndex=0}load(t){(0,n.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}}}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var s=n[t]={exports:{}};return i[t](s,s.exports,o),s.exports}o.m=i,o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.f={},o.e=t=>Promise.all(Object.keys(o.f).reduce(((e,i)=>(o.f[i](t,e),e)),[])),o.u=t=>t+".min.js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="@tsparticles/engine:",o.l=(i,n,s,a)=>{if(t[i])t[i].push(n);else{var r,c;if(void 0!==s)for(var l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var h=l[d];if(h.getAttribute("src")==i||h.getAttribute("data-webpack")==e+s){r=h;break}}r||(c=!0,(r=document.createElement("script")).charset="utf-8",o.nc&&r.setAttribute("nonce",o.nc),r.setAttribute("data-webpack",e+s),r.src=i),t[i]=[n];var u=(e,n)=>{r.onerror=r.onload=null,clearTimeout(f);var o=t[i];if(delete t[i],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach((t=>t(n))),e)return e(n)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),c&&document.head.appendChild(r)}},o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;o.g.importScripts&&(t=o.g.location+"");var e=o.g.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var i=e.getElementsByTagName("script");if(i.length)for(var n=i.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=i[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=t})(),(()=>{var t={397:0};o.f.j=(e,i)=>{var n=o.o(t,e)?t[e]:void 0;if(0!==n)if(n)i.push(n[2]);else{var s=new Promise(((i,o)=>n=t[e]=[i,o]));i.push(n[2]=s);var a=o.p+o.u(e),r=new Error;o.l(a,(i=>{if(o.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var s=i&&("load"===i.type?"missing":i.type),a=i&&i.target&&i.target.src;r.message="Loading chunk "+e+" failed.\n("+s+": "+a+")",r.name="ChunkLoadError",r.type=s,r.request=a,n[1](r)}}),"chunk-"+e,e)}};var e=(e,i)=>{var n,s,[a,r,c]=i,l=0;if(a.some((e=>0!==t[e]))){for(n in r)o.o(r,n)&&(o.m[n]=r[n]);if(c)c(o)}for(e&&e(i);l<a.length;l++)s=a[l],o.o(t,s)&&t[s]&&t[s][0](),t[s]=0},i=this.webpackChunk_tsparticles_engine=this.webpackChunk_tsparticles_engine||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var s={};o.r(s),o.d(s,{AlterType:()=>E.H,AnimatableColor:()=>C.A,AnimationMode:()=>S.g,AnimationOptions:()=>G.p,AnimationStatus:()=>L.H,AnimationValueWithRandom:()=>Pt.Jm,Background:()=>$.V,BaseRange:()=>w.dg,Circle:()=>w.jl,ClickEvent:()=>N.r,ColorAnimation:()=>B.e,DestroyType:()=>A.V,DivEvent:()=>j.G,DivType:()=>V.Q,EasingType:()=>_,EventType:()=>l.B,Events:()=>W.s,ExternalInteractorBase:()=>m,FullScreen:()=>q.m,GradientType:()=>z,HoverEvent:()=>K.L,HslAnimation:()=>H.i,Interactivity:()=>J.k,InteractivityDetect:()=>Z.h,InteractorType:()=>p.e,LimitMode:()=>P.d,ManualParticle:()=>Y.j,Modes:()=>Q.d,Move:()=>rt.y,MoveAngle:()=>ct.h,MoveAttract:()=>at.R,MoveCenter:()=>lt.Z,MoveDirection:()=>M.F,MoveGravity:()=>dt.y,MovePath:()=>ut.v,Opacity:()=>gt.Y,OpacityAnimation:()=>yt.I,Options:()=>tt.J,OptionsColor:()=>et.O,OutMode:()=>O.Y,OutModeDirection:()=>k.v,OutModes:()=>ht.j,Parallax:()=>U.k,ParticleOutType:()=>F.x,ParticlesBounce:()=>it.w,ParticlesBounceFactor:()=>nt.F,ParticlesDensity:()=>mt.M,ParticlesInteractorBase:()=>g,ParticlesNumber:()=>vt.N,ParticlesNumberLimit:()=>pt.A,ParticlesOptions:()=>ot.U,PixelMode:()=>R.q,Point:()=>b.b,RangedAnimationOptions:()=>G.Q,RangedAnimationValueWithRandom:()=>Pt.AI,Rectangle:()=>w.M_,ResizeEvent:()=>X.z,Responsive:()=>zt.F,ResponsiveMode:()=>D.A,RotateDirection:()=>y,Shape:()=>bt.y,Size:()=>wt.o,SizeAnimation:()=>xt.q,Spin:()=>ft.t,StartValueType:()=>I.S,Stroke:()=>st.t,Theme:()=>kt.S,ThemeDefault:()=>St.f,ThemeMode:()=>T.l,ValueWithRandom:()=>Pt.PV,Vector:()=>x.M,Vector3d:()=>x.p,ZIndex:()=>Mt.P,alterHsl:()=>Ot.yx,animate:()=>h.i0,areBoundsInside:()=>r.O2,arrayRandomIndex:()=>r.n0,calcExactPositionOrRandomFromSize:()=>h.Nx,calcExactPositionOrRandomFromSizeRanged:()=>h.qM,calcPositionFromSize:()=>h.eh,calcPositionOrRandomFromSize:()=>h.Mh,calcPositionOrRandomFromSizeRanged:()=>h.l1,calculateBounds:()=>r.AE,cancelAnimation:()=>h.px,canvasFirstIndex:()=>a.Nx,canvasTag:()=>a.RF,circleBounce:()=>r.pE,circleBounceDataFromParticle:()=>r.Tg,clamp:()=>h.qE,clear:()=>Ot.IU,clearDrawPlugin:()=>Ot.l7,clickRadius:()=>a.FS,cloneStyle:()=>r.td,collisionVelocity:()=>h.OW,colorMix:()=>Rt.EY,colorToHsl:()=>Rt.mK,colorToRgb:()=>Rt.qe,countOffset:()=>a.nq,decayOffset:()=>a.WH,deepExtend:()=>r.zw,defaultAlpha:()=>a.aZ,defaultAngle:()=>a.tA,defaultDensityFactor:()=>a.lA,defaultFps:()=>a.z$,defaultFpsLimit:()=>a.i8,defaultLoops:()=>a.hK,defaultOpacity:()=>a.hv,defaultRadius:()=>a.M1,defaultRatio:()=>a.$x,defaultReduceFactor:()=>a.Zp,defaultRemoveQuantity:()=>a.xd,defaultRetryCount:()=>a.rq,defaultRgbMin:()=>a.Fl,defaultTime:()=>a.tR,defaultTransform:()=>a.Ug,defaultTransformValue:()=>a.zs,defaultVelocity:()=>a.jn,degToRad:()=>h.pu,deleteCount:()=>a.LD,divMode:()=>r.NV,divModeExecute:()=>r.U6,double:()=>a.gd,doublePI:()=>a.R1,drawAfterEffect:()=>Ot.k,drawBeforeEffect:()=>Ot.z5,drawLine:()=>Ot.V6,drawParticle:()=>Ot.p0,drawParticlePlugin:()=>Ot.Wb,drawPlugin:()=>Ot.e_,drawShape:()=>Ot.KG,drawShapeAfterDraw:()=>Ot.gF,drawShapeBeforeDraw:()=>Ot.VG,empty:()=>a.Ie,executeOnSingleOrMultiple:()=>r.wJ,findItemFromSingleOrMultiple:()=>r.w3,generatedAttribute:()=>a.eb,generatedFalse:()=>a.X$,generatedTrue:()=>a.ce,getDistance:()=>h.Yf,getDistances:()=>h.vr,getFullScreenStyle:()=>r.hJ,getHslAnimationFromHsl:()=>Rt.pz,getHslFromAnimation:()=>Rt.O_,getLinkColor:()=>Rt._h,getLinkRandomColor:()=>Rt.PG,getLogger:()=>d.t,getParticleBaseVelocity:()=>h.$m,getParticleDirectionAngle:()=>h.JY,getPosition:()=>r.E9,getRandom:()=>h.G0,getRandomInRange:()=>h.e4,getRandomRgbColor:()=>Rt.OH,getRangeMax:()=>h.W9,getRangeMin:()=>h.Sg,getRangeValue:()=>h.VG,getSize:()=>r.YC,getStyleFromHsl:()=>Rt.LC,getStyleFromRgb:()=>Rt.xx,hMax:()=>a.vS,hMin:()=>a.L1,hPhase:()=>a.U0,half:()=>a.MX,hasMatchMedia:()=>r.q8,hslToRgb:()=>Rt.YL,hslaToRgba:()=>Rt.ay,identity:()=>a.D_,initParticleNumericAnimationValue:()=>r.Xs,inverseFactorNumerator:()=>a.hB,isArray:()=>Dt.cy,isBoolean:()=>Dt.Lm,isDivModeEnabled:()=>r.iK,isFunction:()=>Dt.Tn,isInArray:()=>r.hn,isNull:()=>Dt.kZ,isNumber:()=>Dt.Et,isObject:()=>Dt.Gv,isPointInside:()=>r.Tj,isString:()=>Dt.Kg,itemFromArray:()=>r.Vh,itemFromSingleOrMultiple:()=>r.TA,lFactor:()=>a.iU,lMax:()=>a.$_,lMin:()=>a.vd,lengthOffset:()=>a.K3,loadFont:()=>r.Al,loadMinIndex:()=>a.PZ,loadOptions:()=>Tt.Z,loadParticlesOptions:()=>Tt.y,loadRandomFactor:()=>a.$v,manualCount:()=>a.IU,manualDefaultPosition:()=>a.td,midColorValue:()=>a.BW,millisecondsToSeconds:()=>a.Xu,minCoordinate:()=>a.TL,minCount:()=>a.wM,minFpsLimit:()=>a.DN,minIndex:()=>a.z9,minLimit:()=>a.ou,minRetries:()=>a.N5,minStrokeWidth:()=>a.Dv,minVelocity:()=>a.GW,minZ:()=>a.X_,minimumLength:()=>a.$O,minimumSize:()=>a.w2,mix:()=>h.jh,mouseDownEvent:()=>a.ms,mouseLeaveEvent:()=>a.Z0,mouseMoveEvent:()=>a.Rb,mouseOutEvent:()=>a.sf,mouseUpEvent:()=>a.vo,none:()=>a.dv,one:()=>a.xH,originPoint:()=>a.bo,paintBase:()=>Ot.Sn,paintImage:()=>Ot.Md,parseAlpha:()=>h.M3,percentDenominator:()=>a.a5,phaseNumerator:()=>a.BF,posOffset:()=>a.un,qTreeCapacity:()=>a.Kw,quarter:()=>a.$G,randomColorValue:()=>a.mR,randomInRangeValue:()=>h.vE,rangeColorToHsl:()=>Rt.R5,rangeColorToRgb:()=>Rt.BN,removeDeleteCount:()=>a.JC,removeMinIndex:()=>a.vF,resizeEvent:()=>a.NF,rgbMax:()=>a.oi,rgbToHsl:()=>Rt.K6,rollFactor:()=>a.l,sMax:()=>a.eu,sMin:()=>a.yx,sNormalizedOffset:()=>a.aE,safeDocument:()=>r.T5,safeIntersectionObserver:()=>r.BR,safeMatchMedia:()=>r.lV,safeMutationObserver:()=>r.tG,setAnimationFunctions:()=>h.AD,setLogger:()=>d.B,setRandom:()=>h.OE,setRangeValue:()=>h.DT,sextuple:()=>a.zg,singleDivModeExecute:()=>r.S7,sizeFactor:()=>a.Rh,squareExp:()=>a.dm,stringToAlpha:()=>Rt.zI,stringToRgb:()=>Rt.eg,subdivideCount:()=>a.Pg,threeQuarter:()=>a.Rq,touchCancelEvent:()=>a.G3,touchDelay:()=>a.pH,touchEndEvent:()=>a.Bp,touchEndLengthOffset:()=>a.KZ,touchMoveEvent:()=>a.DG,touchStartEvent:()=>a.s7,triple:()=>a.Nu,tryCountIncrement:()=>a.Eo,tsParticles:()=>Et,updateAnimation:()=>r.UC,updateColor:()=>Rt.Jv,updateColorValue:()=>Rt.Ko,visibilityChangeEvent:()=>a.nK,zIndexFactorOffset:()=>a.RV});var a=o(4117),r=o(615);class c{constructor(){this._listeners=new Map}addEventListener(t,e){this.removeEventListener(t,e);let i=this._listeners.get(t);i||(i=[],this._listeners.set(t,i)),i.push(e)}dispatchEvent(t,e){const i=this._listeners.get(t);i?.forEach((t=>{t(e)}))}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,e){const i=this._listeners.get(t);if(!i)return;const n=i.length,o=i.indexOf(e);o<a.z9||(n===a.LD?this._listeners.delete(t):i.splice(o,a.LD))}}var l=o(6991),d=o(183),h=o(397);const u="100%";async function f(t,e,i,n=!1){let o=e.get(t);return o&&!n||(o=await Promise.all([...i.values()].map((e=>e(t)))),e.set(t,o)),o}class v{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new c,this._initialized=!1,this._loadPromises=new Set,this.plugins=[],this.colorManagers=new Map,this.easingFunctions=new Map,this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.pathGenerators=new Map}get configs(){const t={};for(const[e,i]of this._configs)t[e]=i;return t}get items(){return this._domArray}get version(){return"4.0.0-alpha.3"}addColorManager(t){this.colorManagers.set(t.key,t)}addConfig(t){const e=t.key??t.name??"default";this._configs.set(e,t),this._eventDispatcher.dispatchEvent(l.B.configAdded,{data:{name:e,config:t}})}addEasing(t,e){this.easingFunctions.get(t)||this.easingFunctions.set(t,e)}addEffect(t,e){this.getEffectDrawer(t)||this.effectDrawers.set(t,e)}addEventListener(t,e){this._eventDispatcher.addEventListener(t,e)}addInteractor(t,e){this._initializers.interactors.set(t,e)}addMover(t,e){this._initializers.movers.set(t,e)}addParticleUpdater(t,e){this._initializers.updaters.set(t,e)}addPathGenerator(t,e){this.getPathGenerator(t)||this.pathGenerators.set(t,e)}addPlugin(t){this.getPlugin(t.id)||this.plugins.push(t)}addPreset(t,e,i=!1){!i&&this.getPreset(t)||this.presets.set(t,e)}addShape(t){for(const e of t.validTypes)this.getShapeDrawer(e)||this.shapeDrawers.set(e,t)}checkVersion(t){if(this.version!==t)throw new Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${t}`)}clearPlugins(t){this.updaters.delete(t),this.movers.delete(t),this.interactors.delete(t)}dispatchEvent(t,e){this._eventDispatcher.dispatchEvent(t,e)}dom(){return this.items}domItem(t){return this.item(t)}async getAvailablePlugins(t){const e=new Map;for(const i of this.plugins)i.needsPlugin(t.actualOptions)&&e.set(i.id,await i.getPlugin(t));return e}getEasing(t){return this.easingFunctions.get(t)??(t=>t)}getEffectDrawer(t){return this.effectDrawers.get(t)}async getInteractors(t,e=!1){return f(t,this.interactors,this._initializers.interactors,e)}async getMovers(t,e=!1){return f(t,this.movers,this._initializers.movers,e)}getPathGenerator(t){return this.pathGenerators.get(t)}getPlugin(t){return this.plugins.find((e=>e.id===t))}getPreset(t){return this.presets.get(t)}getShapeDrawer(t){return this.shapeDrawers.get(t)}getSupportedEffects(){return this.effectDrawers.keys()}getSupportedShapes(){return this.shapeDrawers.keys()}async getUpdaters(t,e=!1){return f(t,this.updaters,this._initializers.updaters,e)}async init(){if(this._initialized)return;const t=new Set,e=new Set(this._loadPromises),i=[...e];for(;i.length;){const n=i.shift();if(!n)continue;if(t.has(n))continue;t.add(n);const o=[],s=this.register.bind(this);this.register=(...t)=>{o.push(...t);for(const i of t)e.add(i)},await n(this),this.register=s,i.unshift(...o),this._loadPromises.delete(n)}this._loadPromises.clear();for(const t of e)this._loadPromises.add(t);this._initialized=!0}item(t){const{items:e}=this,i=e[t];if(!i?.destroyed)return i;e.splice(t,a.JC)}async load(t){await this.init();const{Container:e}=await o.e(638).then(o.bind(o,1638)),i=t.id??t.element?.id??`tsparticles${Math.floor((0,h.G0)()*a.$v).toString()}`,{index:n,url:s}=t,c=s?await async function(t){const e=(0,r.TA)(t.url,t.index);if(!e)return t.fallback;const i=await fetch(e);return i.ok?await i.json():((0,d.t)().error(`${i.status.toString()} while retrieving config file`),t.fallback)}({fallback:t.options,url:s,index:n}):t.options,l=(0,r.TA)(c,n),{items:f}=this,v=f.findIndex((t=>t.id.description===i)),p=new e(this,i,l);if(v>=a.PZ){const t=this.item(v),e=t?a.xH:a.dv;t&&!t.destroyed&&t.destroy(!1),f.splice(v,e,p)}else f.push(p);const m=((t,e)=>{const i=(0,r.T5)();let n=e??document.getElementById(t);return n||(n=i.createElement("div"),n.id=t,n.dataset[a.eb]=a.ce,i.body.append(n),n)})(i,t.element),g=(t=>{const e=(0,r.T5)();let i;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===a.RF)i=t,i.dataset[a.eb]??=a.X$;else{const n=t.getElementsByTagName(a.RF)[a.Nx];n?(i=n,i.dataset[a.eb]=a.X$):(i=e.createElement(a.RF),i.dataset[a.eb]=a.ce,t.appendChild(i))}return i.style.width||=u,i.style.height||=u,i})(m);return p.canvas.loadCanvas(g),await p.start(),p}loadOptions(t,e){this.plugins.forEach((i=>{i.loadOptions(t,e)}))}loadParticlesOptions(t,e,...i){const n=this.updaters.get(t);n&&n.forEach((t=>t.loadOptions?.(e,...i)))}async refresh(t=!0){t&&await Promise.all(this.items.map((t=>t.refresh())))}register(...t){if(this._initialized)throw new Error("Register plugins can only be done before calling tsParticles.load()");for(const e of t)this._loadPromises.add(e)}removeEventListener(t,e){this._eventDispatcher.removeEventListener(t,e)}setOnClickHandler(t){const{items:e}=this;if(!e.length)throw new Error("Click handlers can only be set after calling tsParticles.load()");e.forEach((e=>{e.addClickHandler(t)}))}}var p=o(5536);class m{constructor(t){this.type=p.e.external,this.container=t}}class g{constructor(t){this.type=p.e.particles,this.container=t}}var y,b=o(2186),w=o(6978),x=o(560),M=o(4342);!function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(y||(y={}));var z,k=o(1874),S=o(3551),P=o(1690),O=o(1049),R=o(7997),T=o(5392),D=o(8325),E=o(1983),A=o(181);!function(t){t.linear="linear",t.radial="radial",t.random="random"}(z||(z={}));var _,F=o(753),I=o(782),V=o(2480);!function(t){t.easeInBack="ease-in-back",t.easeInCirc="ease-in-circ",t.easeInCubic="ease-in-cubic",t.easeInLinear="ease-in-linear",t.easeInQuad="ease-in-quad",t.easeInQuart="ease-in-quart",t.easeInQuint="ease-in-quint",t.easeInExpo="ease-in-expo",t.easeInSine="ease-in-sine",t.easeOutBack="ease-out-back",t.easeOutCirc="ease-out-circ",t.easeOutCubic="ease-out-cubic",t.easeOutLinear="ease-out-linear",t.easeOutQuad="ease-out-quad",t.easeOutQuart="ease-out-quart",t.easeOutQuint="ease-out-quint",t.easeOutExpo="ease-out-expo",t.easeOutSine="ease-out-sine",t.easeInOutBack="ease-in-out-back",t.easeInOutCirc="ease-in-out-circ",t.easeInOutCubic="ease-in-out-cubic",t.easeInOutLinear="ease-in-out-linear",t.easeInOutQuad="ease-in-out-quad",t.easeInOutQuart="ease-in-out-quart",t.easeInOutQuint="ease-in-out-quint",t.easeInOutExpo="ease-in-out-expo",t.easeInOutSine="ease-in-out-sine"}(_||(_={}));var L=o(1689),Z=o(6249),C=o(6521),G=o(3544),$=o(7415),B=o(9499),q=o(9845),H=o(5247),N=o(9460),j=o(4981),W=o(1617),K=o(7778),U=o(5043),X=o(8890),J=o(4997),Q=o(1317),Y=o(4712),tt=o(3984),et=o(1917),it=o(8892),nt=o(3271),ot=o(894),st=o(9128),at=o(4640),rt=o(4209),ct=o(8502),lt=o(7488),dt=o(8051),ht=o(2620),ut=o(7464),ft=o(4624),vt=o(5504),pt=o(8465),mt=o(5317),gt=o(3969),yt=o(1163),bt=o(6861),wt=o(4377),xt=o(4883),Mt=o(1603),zt=o(7582),kt=o(7461),St=o(8388),Pt=o(4696),Ot=o(9259),Rt=o(6192),Tt=o(8627),Dt=o(3631);const Et=new v;return globalThis.tsParticles=Et,s})()));
|
|
2
|
+
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var i=e();for(var n in i)("object"==typeof exports?exports:t)[n]=i[n]}}(this,(()=>(()=>{var t,e,i={302(t,e,i){i.d(e,{AE:()=>S,Al:()=>b,BR:()=>g,E9:()=>A,HQ:()=>$,Kp:()=>C,O2:()=>z,T5:()=>p,TA:()=>T,Tg:()=>O,Tj:()=>M,UC:()=>I,Vh:()=>w,Xs:()=>D,YC:()=>_,hJ:()=>V,hn:()=>y,lV:()=>v,n0:()=>x,pE:()=>R,q8:()=>f,tG:()=>m,td:()=>L,w3:()=>F,wJ:()=>k,zw:()=>P});var n=i(1680),o=i(7642),s=i(838),a=i(7098),r=i(1292),c=i(8020),l=i(5931),d=i(5652),u=i(1317),h=i(8095);function f(){return"undefined"!=typeof matchMedia}function p(){return globalThis.document}function v(t){if(f())return matchMedia(t)}function g(t){if("undefined"!=typeof IntersectionObserver)return new IntersectionObserver(t)}function m(t){if("undefined"!=typeof MutationObserver)return new MutationObserver(t)}function y(t,e){return t===e||(0,s.cy)(e)&&e.includes(t)}async function b(t,e){try{await p().fonts.load(`${e??"400"} 36px '${t??"Verdana"}'`)}catch{}}function x(t){return Math.floor((0,n.G0)()*t.length)}function w(t,e,i=!0){return t[void 0!==e&&i?e%t.length:x(t)]}function M(t,e,i,n,o){return z(S(t,n??0),e,i,o)}function z(t,e,i,n){let o=!0;return n&&n!==l.v.bottom||(o=t.top<e.height+i.x),!o||n&&n!==l.v.left||(o=t.right>i.x),!o||n&&n!==l.v.right||(o=t.left<e.width+i.y),!o||n&&n!==l.v.top||(o=t.bottom>i.y),o}function S(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function P(t,...e){for(const i of e){if(null==i)continue;if(!(0,s.Gv)(i)){t=i;continue}const e=Array.isArray(i);!e||!(0,s.Gv)(t)&&t&&Array.isArray(t)?e||!(0,s.Gv)(t)&&t&&!Array.isArray(t)||(t={}):t=[];for(const e in i){if("__proto__"===e)continue;const n=i[e],o=t;o[e]=(0,s.Gv)(n)&&Array.isArray(n)?n.map((t=>P(o[e],t))):P(o[e],n)}}return t}function O(t){return{position:t.getPosition(),radius:t.getRadius(),mass:t.getMass(),velocity:t.velocity,factor:h.M.create((0,n.VG)(t.options.bounce.horizontal.value),(0,n.VG)(t.options.bounce.vertical.value))}}function R(t,e){const{x:i,y:o}=t.velocity.sub(e.velocity),[s,a]=[t.position,e.position],{dx:r,dy:c}=(0,n.vr)(a,s);if(i*r+o*c<0)return;const l=-Math.atan2(c,r),d=t.mass,u=e.mass,h=t.velocity.rotate(l),f=e.velocity.rotate(l),p=(0,n.OW)(h,f,d,u),v=(0,n.OW)(f,h,d,u),g=p.rotate(-l),m=v.rotate(-l);t.velocity.x=g.x*t.factor.x,t.velocity.y=g.y*t.factor.y,e.velocity.x=m.x*e.factor.x,e.velocity.y=m.y*e.factor.y}function k(t,e){return(0,s.cy)(t)?t.map(((t,i)=>e(t,i))):e(t,0)}function T(t,e,i){return(0,s.cy)(t)?w(t,e,i):t}function F(t,e){if((0,s.cy)(t))return t.find(((t,i)=>e(t,i)));return e(t,0)?t:void 0}function D(t,e){const i=t.value,s=t.animation,c={delayTime:(0,n.VG)(s.delay)*o.Xu,enable:s.enable,value:(0,n.VG)(t.value)*e,max:(0,n.W9)(i)*e,min:(0,n.Sg)(i)*e,loops:0,maxLoops:(0,n.VG)(s.count),time:0};if(s.enable){switch(c.decay=1-(0,n.VG)(s.decay),s.mode){case a.g.increase:c.status=r.H.increasing;break;case a.g.decrease:c.status=r.H.decreasing;break;case a.g.random:c.status=(0,n.G0)()>=o.MX?r.H.increasing:r.H.decreasing}const t=s.mode===a.g.auto;switch(s.startValue){case u.S.min:c.value=c.min,t&&(c.status=r.H.increasing);break;case u.S.max:c.value=c.max,t&&(c.status=r.H.decreasing);break;case u.S.random:default:c.value=(0,n.vE)(c),t&&(c.status=(0,n.G0)()>=o.MX?r.H.increasing:r.H.decreasing)}}return c.initialValue=c.value,c}function E(t,e){if(!(t.mode===d.q.percent)){const{mode:e,...i}=t;return i}return"x"in t?{x:t.x/o.a5*e.width,y:t.y/o.a5*e.height}:{width:t.width/o.a5*e.width,height:t.height/o.a5*e.height}}function A(t,e){return E(t,e)}function _(t,e){return E(t,e)}function I(t,e,i,o,s){if(t.destroyed||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;const a=(e.velocity??0)*s.factor,l=e.min,d=e.max,u=e.decay??1;if(e.time??=0,(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=s.value),!((e.delayTime??0)>0&&e.time<(e.delayTime??0))){switch(e.status){case r.H.increasing:e.value>=d?(i?e.status=r.H.decreasing:e.value-=d,e.loops??=0,e.loops++):e.value+=a;break;case r.H.decreasing:e.value<=l?(i?e.status=r.H.increasing:e.value+=d,e.loops??=0,e.loops++):e.value-=a}e.velocity&&1!==u&&(e.velocity*=u),function(t,e,i,n,o){switch(e){case c.V.max:i>=o&&t.destroy();break;case c.V.min:i<=n&&t.destroy()}}(t,o,e.value,l,d),e.value=(0,n.qE)(e.value,l,d)}}function L(t){const e=p().createElement("div").style;for(const i in t){const n=t[i];if(!Object.hasOwn(t,i)||(0,s.kZ)(n))continue;const o=t.getPropertyValue?.(n);if(!o)continue;const a=t.getPropertyPriority?.(n);a?e.setProperty(n,o,a):e.setProperty(n,o)}return e}const V=function(t){const e=new Map;return(...i)=>{const n=JSON.stringify(i);if(e.has(n))return e.get(n);const o=t(...i);return e.set(n,o),o}}((function(t){const e=p().createElement("div").style,i={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:t.toString(10),"z-index":t.toString(10),top:"0",left:"0"};for(const t in i){const n=i[t];void 0!==n&&e.setProperty(t,n)}return e}));function C(t,e,i,n,o){if(n){let n={passive:!0};(0,s.Lm)(o)?n.capture=o:void 0!==o&&(n=o),t.addEventListener(e,i,n)}else{const n=o;t.removeEventListener(e,i,n)}}async function $(t,e,i,n=!1){let o=e.get(t);return o&&!n||(o=await Promise.all([...i.values()].map((e=>e(t)))),e.set(t,o)),o}},511(t,e,i){i.d(e,{N:()=>a});var n=i(6632),o=i(2936),s=i(838);class a{constructor(){this.density=new n.M,this.limit=new o.A,this.value=0}load(t){(0,s.kZ)(t)||(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}}},541(t,e,i){i.d(e,{h:()=>s});var n=i(838),o=i(1680);class s{constructor(){this.offset=0,this.value=90}load(t){(0,n.kZ)(t)||(void 0!==t.offset&&(this.offset=(0,o.DT)(t.offset)),void 0!==t.value&&(this.value=(0,o.DT)(t.value)))}}},838(t,e,i){function n(t){return"boolean"==typeof t}function o(t){return"string"==typeof t}function s(t){return"number"==typeof t}function a(t){return"function"==typeof t}function r(t){return"object"==typeof t&&null!==t}function c(t){return Array.isArray(t)}function l(t){return null==t}i.d(e,{Et:()=>s,Gv:()=>r,Kg:()=>o,Lm:()=>n,Tn:()=>a,cy:()=>c,kZ:()=>l})},849(t,e,i){i.d(e,{Z:()=>s});var n=i(5652),o=i(838);class s{constructor(){this.x=50,this.y=50,this.mode=n.q.percent,this.radius=0}load(t){(0,o.kZ)(t)||(void 0!==t.x&&(this.x=t.x),void 0!==t.y&&(this.y=t.y),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.radius&&(this.radius=t.radius))}}},913(t,e,i){i.d(e,{AI:()=>c,Jm:()=>r,PV:()=>a});var n=i(7435),o=i(838),s=i(1680);class a{constructor(){this.value=0}load(t){(0,o.kZ)(t)||(0,o.kZ)(t.value)||(this.value=(0,s.DT)(t.value))}}class r extends a{constructor(){super(),this.animation=new n.p}load(t){if(super.load(t),(0,o.kZ)(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class c extends r{constructor(){super(),this.animation=new n.Q}load(t){super.load(t)}}},1152(t,e,i){i.d(e,{y:()=>s});var n=i(302),o=i(838);class s{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(t){if((0,o.kZ)(t))return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=(0,n.zw)(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.type=t.type)}}},1222(t,e,i){i.d(e,{V:()=>s});var n=i(3254),o=i(838);class s{constructor(){this.color=new n.O,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){(0,o.kZ)(t)||(void 0!==t.color&&(this.color=n.O.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.position&&(this.position=t.position),void 0!==t.repeat&&(this.repeat=t.repeat),void 0!==t.size&&(this.size=t.size),void 0!==t.opacity&&(this.opacity=t.opacity))}}},1292(t,e,i){var n;i.d(e,{H:()=>n}),function(t){t.increasing="increasing",t.decreasing="decreasing"}(n||(n={}))},1317(t,e,i){var n;i.d(e,{S:()=>n}),function(t){t.max="max",t.min="min",t.random="random"}(n||(n={}))},1640(t,e,i){var n;i.d(e,{Y:()=>n}),function(t){t.bounce="bounce",t.none="none",t.out="out",t.destroy="destroy",t.split="split"}(n||(n={}))},1680(t,e,i){i.d(e,{$m:()=>R,AD:()=>f,DT:()=>M,G0:()=>u,JY:()=>O,M3:()=>_,Mh:()=>F,Nx:()=>E,OE:()=>d,OW:()=>k,Sg:()=>x,VG:()=>b,W9:()=>w,Yf:()=>S,e4:()=>h,eh:()=>T,i0:()=>p,jh:()=>m,l1:()=>D,pu:()=>P,px:()=>v,qE:()=>g,qM:()=>A,vE:()=>y,vr:()=>z});var n=i(1953),o=i(7642),s=i(8095),a=i(838);const r=Math.PI/180;let c=Math.random;const l={nextFrame:t=>requestAnimationFrame(t),cancel:t=>{cancelAnimationFrame(t)}};function d(t=Math.random){c=t}function u(){return g(c(),0,1-Number.EPSILON)}function h(t,e){return u()*(e-t)+t}function f(t,e){l.nextFrame=e=>t(e),l.cancel=t=>{e(t)}}function p(t){return l.nextFrame(t)}function v(t){l.cancel(t)}function g(t,e,i){return Math.min(Math.max(t,e),i)}function m(t,e,i,n){return Math.floor((t*i+e*n)/(i+n))}function y(t){const e=w(t);let i=x(t);return e===i&&(i=0),h(i,e)}function b(t){return(0,a.Et)(t)?t:y(t)}function x(t){return(0,a.Et)(t)?t:t.min}function w(t){return(0,a.Et)(t)?t:t.max}function M(t,e){if(t===e||void 0===e&&(0,a.Et)(t))return t;const i=x(t),n=w(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(n,e)}:M(i,n)}function z(t,e){const i=t.x-e.x,n=t.y-e.y;return{dx:i,dy:n,distance:Math.sqrt(i**2+n**2)}}function S(t,e){return z(t,e).distance}function P(t){return t*r}function O(t,e,i){if((0,a.Et)(t))return P(t);switch(t){case n.F.top:return-Math.PI*o.MX;case n.F.topRight:return-Math.PI*o.$G;case n.F.right:return o.Ie;case n.F.bottomRight:return Math.PI*o.$G;case n.F.bottom:return Math.PI*o.MX;case n.F.bottomLeft:return Math.PI*o.Rq;case n.F.left:return Math.PI;case n.F.topLeft:return-Math.PI*o.Rq;case n.F.inside:return Math.atan2(i.y-e.y,i.x-e.x);case n.F.outside:return Math.atan2(e.y-i.y,e.x-i.x);default:return u()*o.R1}}function R(t){const e=s.M.origin;return e.length=1,e.angle=t,e}function k(t,e,i,n){return s.M.create(t.x*(i-n)/(i+n)+e.x*o.gd*n/(i+n),t.y)}function T(t){return void 0!==t.position?.x&&void 0!==t.position.y?{x:t.position.x*t.size.width/o.a5,y:t.position.y*t.size.height/o.a5}:void 0}function F(t){return{x:(t.position?.x??u()*o.a5)*t.size.width/o.a5,y:(t.position?.y??u()*o.a5)*t.size.height/o.a5}}function D(t){const e={x:void 0!==t.position?.x?b(t.position.x):void 0,y:void 0!==t.position?.y?b(t.position.y):void 0};return F({size:t.size,position:e})}function E(t){const{position:e,size:i}=t;return{x:e?.x??u()*i.width,y:e?.y??u()*i.height}}function A(t){const e={x:void 0!==t.position?.x?b(t.position.x):void 0,y:void 0!==t.position?.y?b(t.position.y):void 0};return E({size:t.size,position:e})}function _(t){return t?t.endsWith("%")?parseFloat(t)/o.a5:parseFloat(t):1}},1784(t,e,i){i.d(e,{e:()=>a});var n=i(7435),o=i(838),s=i(1680);class a extends n.p{constructor(){super(),this.offset=0,this.sync=!0}load(t){super.load(t),(0,o.kZ)(t)||void 0!==t.offset&&(this.offset=(0,s.DT)(t.offset))}}},1872(t,e,i){i.d(e,{y:()=>s});var n=i(838),o=i(1680);class s{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){(0,n.kZ)(t)||(void 0!==t.acceleration&&(this.acceleration=(0,o.DT)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.inverse&&(this.inverse=t.inverse),void 0!==t.maxSpeed&&(this.maxSpeed=(0,o.DT)(t.maxSpeed)))}}},1953(t,e,i){var n;i.d(e,{F:()=>n}),function(t){t.bottom="bottom",t.bottomLeft="bottom-left",t.bottomRight="bottom-right",t.left="left",t.none="none",t.right="right",t.top="top",t.topLeft="top-left",t.topRight="top-right",t.outside="outside",t.inside="inside"}(n||(n={}))},2037(t,e,i){i.d(e,{J:()=>d});var n=i(302),o=i(838),s=i(1222),a=i(7336),r=i(8907),c=i(9176),l=i(1680);class d{constructor(t,e){this._importPreset=t=>{this.load(this._engine.getPreset(t))},this._engine=t,this._container=e,this.autoPlay=!0,this.background=new s.V,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new a.m,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.hdr=!0,this.particles=(0,c.y)(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.resize=new r.z,this.smooth=!1,this.style={},this.zLayers=100}load(t){if((0,o.kZ)(t))return;void 0!==t.preset&&(0,n.wJ)(t.preset,(t=>{this._importPreset(t)})),void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.clear&&(this.clear=t.clear),void 0!==t.key&&(this.key=t.key),void 0!==t.name&&(this.name=t.name),void 0!==t.delay&&(this.delay=(0,l.DT)(t.delay));const e=t.detectRetina;void 0!==e&&(this.detectRetina=e),void 0!==t.duration&&(this.duration=(0,l.DT)(t.duration));const i=t.fpsLimit;void 0!==i&&(this.fpsLimit=i),void 0!==t.hdr&&(this.hdr=t.hdr),void 0!==t.pauseOnBlur&&(this.pauseOnBlur=t.pauseOnBlur),void 0!==t.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=t.pauseOnOutsideViewport),void 0!==t.zLayers&&(this.zLayers=t.zLayers),this.background.load(t.background);const s=t.fullScreen;(0,o.Lm)(s)?this.fullScreen.enable=s:this.fullScreen.load(s),this.particles.load(t.particles),this.resize.load(t.resize),this.style=(0,n.zw)(this.style,t.style),void 0!==t.smooth&&(this.smooth=t.smooth),this._engine.plugins.forEach((e=>{e.loadOptions(this._container,this,t)}))}}},2936(t,e,i){i.d(e,{A:()=>s});var n=i(6423),o=i(838);class s{constructor(){this.mode=n.d.delete,this.value=0}load(t){(0,o.kZ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}},2984(t,e,i){var n;i.d(e,{dg:()=>a,jl:()=>r,M_:()=>c}),function(t){t.circle="circle",t.rectangle="rectangle"}(n||(n={}));var o=i(1680),s=i(7642);class a{constructor(t,e,i){this.position={x:t,y:e},this.type=i}}class r extends a{constructor(t,e,i){super(t,e,n.circle),this.radius=i}contains(t){return(0,o.Yf)(t,this.position)<=this.radius}intersects(t){const e=this.position,i=t.position,o=Math.abs(i.x-e.x),a=Math.abs(i.y-e.y),l=this.radius;if(t instanceof r||t.type===n.circle){return l+t.radius>Math.sqrt(o**s.dm+a**s.dm)}if(t instanceof c||t.type===n.rectangle){const e=t,{width:i,height:n}=e.size;return Math.pow(o-i,s.dm)+Math.pow(a-n,s.dm)<=l**s.dm||o<=l+i&&a<=l+n||o<=i||a<=n}return!1}}class c extends a{constructor(t,e,i,o){super(t,e,n.rectangle),this.size={height:o,width:i}}contains(t){const e=this.size.width,i=this.size.height,n=this.position;return t.x>=n.x&&t.x<=n.x+e&&t.y>=n.y&&t.y<=n.y+i}intersects(t){if(t instanceof r)return t.intersects(this);const e=this.size.width,i=this.size.height,n=this.position,o=t.position,s=t instanceof c?t.size:{width:0,height:0},a=s.width,l=s.height;return o.x<n.x+e&&o.x+a>n.x&&o.y<n.y+i&&o.y+l>n.y}}},3079(t,e,i){i.d(e,{R:()=>s});var n=i(838),o=i(1680);class s{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(t){if(!(0,n.kZ)(t)&&(void 0!==t.distance&&(this.distance=(0,o.DT)(t.distance)),void 0!==t.enable&&(this.enable=t.enable),t.rotate)){const e=t.rotate.x;void 0!==e&&(this.rotate.x=e);const i=t.rotate.y;void 0!==i&&(this.rotate.y=i)}}}},3254(t,e,i){i.d(e,{O:()=>o});var n=i(838);class o{constructor(){this.value=""}static create(t,e){const i=new o;return i.load(t),void 0!==e&&((0,n.Kg)(e)||(0,n.cy)(e)?i.load({value:e}):i.load(e)),i}load(t){(0,n.kZ)(t)||(0,n.kZ)(t.value)||(this.value=t.value)}}},3278(t,e,i){i.d(e,{U:()=>v});var n=i(302),o=i(7296),s=i(838);class a{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(t){if((0,s.kZ)(t))return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=(0,n.zw)(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.type=t.type)}}var r=i(3448),c=i(9476),l=i(4467),d=i(511),u=i(1152),h=i(9112),f=i(5611),p=i(9358);class v{constructor(t,e){this._engine=t,this._container=e,this.bounce=new l.w,this.color=new o.A,this.color.value="#fff",this.effect=new a,this.groups={},this.move=new r.y,this.number=new d.N,this.opacity=new c.Y,this.reduceDuplicates=!1,this.shape=new u.y,this.size=new h.o,this.stroke=new f.t,this.zIndex=new p.P}load(t){if((0,s.kZ)(t))return;if(void 0!==t.groups)for(const e of Object.keys(t.groups)){if(!Object.hasOwn(t.groups,e))continue;const i=t.groups[e];void 0!==i&&(this.groups[e]=(0,n.zw)(this.groups[e]??{},i))}void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.color.load(o.A.create(this.color,t.color)),this.effect.load(t.effect),this.move.load(t.move),this.number.load(t.number),this.opacity.load(t.opacity),this.shape.load(t.shape),this.size.load(t.size),this.zIndex.load(t.zIndex);const e=t.stroke;if(e&&(this.stroke=(0,n.wJ)(e,(t=>{const e=new f.t;return e.load(t),e}))),this._container){for(const e of this._engine.plugins)e.loadParticlesOptions&&e.loadParticlesOptions(this._container,this,t);const e=this._engine.updaters.get(this._container);if(e)for(const i of e)i.loadOptions&&i.loadOptions(this,t)}}}},3448(t,e,i){i.d(e,{y:()=>f});var n=i(1953),o=i(838),s=i(541),a=i(3079),r=i(849),c=i(1872),l=i(5979),d=i(7897),u=i(6649),h=i(1680);class f{constructor(){this.angle=new s.h,this.attract=new a.R,this.center=new r.Z,this.decay=0,this.distance={},this.direction=n.F.none,this.drift=0,this.enable=!1,this.gravity=new c.y,this.path=new l.v,this.outModes=new d.j,this.random=!1,this.size=!1,this.speed=2,this.spin=new u.t,this.straight=!1,this.vibrate=!1,this.warp=!1}load(t){if((0,o.kZ)(t))return;this.angle.load((0,o.Et)(t.angle)?{value:t.angle}:t.angle),this.attract.load(t.attract),this.center.load(t.center),void 0!==t.decay&&(this.decay=(0,h.DT)(t.decay)),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=(0,o.Et)(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),void 0!==t.drift&&(this.drift=(0,h.DT)(t.drift)),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity);const e=t.outModes;void 0!==e&&((0,o.Gv)(e)?this.outModes.load(e):this.outModes.load({default:e})),this.path.load(t.path),void 0!==t.random&&(this.random=t.random),void 0!==t.size&&(this.size=t.size),void 0!==t.speed&&(this.speed=(0,h.DT)(t.speed)),this.spin.load(t.spin),void 0!==t.straight&&(this.straight=t.straight),void 0!==t.vibrate&&(this.vibrate=t.vibrate),void 0!==t.warp&&(this.warp=t.warp)}}},3838(t,e,i){var n;i.d(e,{B:()=>n}),function(t){t.configAdded="configAdded",t.containerInit="containerInit",t.particlesSetup="particlesSetup",t.containerStarted="containerStarted",t.containerStopped="containerStopped",t.containerDestroyed="containerDestroyed",t.containerPaused="containerPaused",t.containerPlay="containerPlay",t.containerBuilt="containerBuilt",t.particleAdded="particleAdded",t.particleDestroyed="particleDestroyed",t.particleRemoved="particleRemoved"}(n||(n={}))},4056(t,e,i){i.d(e,{i:()=>s});var n=i(1784),o=i(838);class s{constructor(){this.h=new n.e,this.s=new n.e,this.l=new n.e}load(t){(0,o.kZ)(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}},4326(t,e,i){var n;i.d(e,{H:()=>n}),function(t){t.darken="darken",t.enlighten="enlighten"}(n||(n={}))},4467(t,e,i){i.d(e,{w:()=>s});var n=i(6684),o=i(838);class s{constructor(){this.horizontal=new n.F,this.vertical=new n.F}load(t){(0,o.kZ)(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}},5611(t,e,i){i.d(e,{t:()=>a});var n=i(7296),o=i(838),s=i(1680);class a{constructor(){this.width=0}load(t){(0,o.kZ)(t)||(void 0!==t.color&&(this.color=n.A.create(this.color,t.color)),void 0!==t.width&&(this.width=(0,s.DT)(t.width)),void 0!==t.opacity&&(this.opacity=(0,s.DT)(t.opacity)))}}},5652(t,e,i){var n;i.d(e,{q:()=>n}),function(t){t.precise="precise",t.percent="percent"}(n||(n={}))},5931(t,e,i){var n;i.d(e,{v:()=>n}),function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(n||(n={}))},5979(t,e,i){i.d(e,{v:()=>a});var n=i(913),o=i(302),s=i(838);class a{constructor(){this.clamp=!0,this.delay=new n.PV,this.enable=!1,this.options={}}load(t){(0,s.kZ)(t)||(void 0!==t.clamp&&(this.clamp=t.clamp),this.delay.load(t.delay),void 0!==t.enable&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=(0,o.zw)(this.options,t.options)))}}},6312(t,e,i){var n;i.d(e,{x:()=>n}),function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(n||(n={}))},6423(t,e,i){var n;i.d(e,{d:()=>n}),function(t){t.delete="delete",t.wait="wait"}(n||(n={}))},6632(t,e,i){i.d(e,{M:()=>o});var n=i(838);class o{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(t){if((0,n.kZ)(t))return;void 0!==t.enable&&(this.enable=t.enable);const e=t.width;void 0!==e&&(this.width=e);const i=t.height;void 0!==i&&(this.height=i)}}},6649(t,e,i){i.d(e,{t:()=>a});var n=i(302),o=i(838),s=i(1680);class a{constructor(){this.acceleration=0,this.enable=!1}load(t){(0,o.kZ)(t)||(void 0!==t.acceleration&&(this.acceleration=(0,s.DT)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),t.position&&(this.position=(0,n.zw)({},t.position)))}}},6684(t,e,i){i.d(e,{F:()=>o});var n=i(913);class o extends n.PV{constructor(){super(),this.value=1}}},6754(t,e,i){i.d(e,{IU:()=>l,KG:()=>f,Md:()=>c,Sn:()=>r,V6:()=>a,VG:()=>v,Wb:()=>m,e_:()=>g,gF:()=>p,k:()=>u,l7:()=>s,p0:()=>d,yx:()=>y,z5:()=>h});var n=i(7642),o=i(4326);function s(t,e,i){e.clearDraw&&e.clearDraw(t,i)}function a(t,e,i){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(i.x,i.y),t.closePath()}function r(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(n.bo.x,n.bo.y,e.width,e.height)}function c(t,e,i,o){i&&(t.globalAlpha=o,t.drawImage(i,n.bo.x,n.bo.y,e.width,e.height),t.globalAlpha=1)}function l(t,e){t.clearRect(n.bo.x,n.bo.y,e.width,e.height)}function d(t){const{container:e,context:i,particle:o,delta:s,colorStyles:a,radius:r,opacity:c,transform:l}=t,d=o.getPosition(),g=o.getTransformData(l);i.setTransform(g.a,g.b,g.c,g.d,d.x,d.y),a.fill&&(i.fillStyle=a.fill);const m=o.strokeWidth??n.Dv;i.lineWidth=m,a.stroke&&(i.strokeStyle=a.stroke);const y={context:i,particle:o,radius:r,opacity:c,delta:s,pixelRatio:e.retina.pixelRatio,fill:o.shapeFill,stroke:m>n.Dv||!o.shapeFill,transformData:g};h(e,y),v(e,y),f(e,y),p(e,y),u(e,y),i.resetTransform()}function u(t,e){const{particle:i}=e;if(!i.effect)return;const n=t.effectDrawers.get(i.effect),o=n?.drawAfter;o&&o(e)}function h(t,e){const{particle:i}=e;if(!i.effect)return;const n=t.effectDrawers.get(i.effect);n?.drawBefore&&n.drawBefore(e)}function f(t,e){const{context:i,particle:n,stroke:o}=e;if(!n.shape)return;const s=t.shapeDrawers.get(n.shape);s&&(i.beginPath(),s.draw(e),n.shapeClose&&i.closePath(),o&&i.stroke(),n.shapeFill&&i.fill())}function p(t,e){const{particle:i}=e;if(!i.shape)return;const n=t.shapeDrawers.get(i.shape);n?.afterDraw&&n.afterDraw(e)}function v(t,e){const{particle:i}=e;if(!i.shape)return;const n=t.shapeDrawers.get(i.shape);n?.beforeDraw&&n.beforeDraw(e)}function g(t,e,i){e.draw&&e.draw(t,i)}function m(t,e,i,n){e.drawParticle&&e.drawParticle(t,i,n)}function y(t,e,i){return{h:t.h,s:t.s,l:t.l+(e===o.H.darken?-n.iU:n.iU)*i}}},7098(t,e,i){var n;i.d(e,{g:()=>n}),function(t){t.auto="auto",t.increase="increase",t.decrease="decrease",t.random="random"}(n||(n={}))},7296(t,e,i){i.d(e,{A:()=>a});var n=i(838),o=i(4056),s=i(3254);class a extends s.O{constructor(){super(),this.animation=new o.i}static create(t,e){const i=new a;return i.load(t),void 0!==e&&((0,n.Kg)(e)||(0,n.cy)(e)?i.load({value:e}):i.load(e)),i}load(t){if(super.load(t),(0,n.kZ)(t))return;const e=t.animation;void 0!==e&&(void 0===e.enable?this.animation.load(t.animation):this.animation.h.load(e))}}},7336(t,e,i){i.d(e,{m:()=>o});var n=i(838);class o{constructor(){this.enable=!0,this.zIndex=0}load(t){(0,n.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}}},7435(t,e,i){i.d(e,{Q:()=>c,p:()=>r});var n=i(7098),o=i(1317),s=i(838),a=i(1680);class r{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){(0,s.kZ)(t)||(void 0!==t.count&&(this.count=(0,a.DT)(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=(0,a.DT)(t.speed)),void 0!==t.decay&&(this.decay=(0,a.DT)(t.decay)),void 0!==t.delay&&(this.delay=(0,a.DT)(t.delay)),void 0!==t.sync&&(this.sync=t.sync))}}class c extends r{constructor(){super(),this.mode=n.g.auto,this.startValue=o.S.random}load(t){super.load(t),(0,s.kZ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}}},7642(t,e,i){i.d(e,{$G:()=>L,$O:()=>B,$_:()=>D,$v:()=>J,$x:()=>S,BF:()=>Rt,BW:()=>h,DN:()=>Q,D_:()=>xt,Dv:()=>wt,Eo:()=>nt,FS:()=>H,Fl:()=>kt,GW:()=>C,Ie:()=>I,JC:()=>K,K3:()=>pt,KZ:()=>N,Kw:()=>M,L1:()=>E,LD:()=>gt,M1:()=>rt,MX:()=>r,N5:()=>ot,NF:()=>o,Nu:()=>St,Nx:()=>U,PZ:()=>Y,Pg:()=>O,R1:()=>p,RF:()=>b,RV:()=>G,Rh:()=>lt,Rq:()=>V,TL:()=>j,U0:()=>_,Ug:()=>d,WH:()=>it,X$:()=>y,X_:()=>at,Xu:()=>c,Zp:()=>P,a5:()=>a,aE:()=>Ot,aZ:()=>g,bo:()=>l,ce:()=>m,dm:()=>w,dv:()=>et,eb:()=>n,eu:()=>F,gd:()=>f,hB:()=>R,hK:()=>Ft,hv:()=>q,i8:()=>X,iU:()=>Mt,jn:()=>Tt,l:()=>st,lA:()=>vt,mR:()=>u,nK:()=>s,nq:()=>ut,oi:()=>k,ou:()=>dt,pH:()=>mt,rq:()=>x,tA:()=>bt,tR:()=>Dt,td:()=>yt,un:()=>ct,vF:()=>W,vS:()=>T,vd:()=>zt,w2:()=>Z,wM:()=>ht,xH:()=>tt,xd:()=>z,yx:()=>A,z$:()=>v,z9:()=>ft,zg:()=>Pt,zs:()=>$});const n="generated",o="resize",s="visibilitychange",a=100,r=.5,c=1e3,l={x:0,y:0,z:0},d={a:1,b:0,c:0,d:1},u="random",h="mid",f=2,p=Math.PI*f,v=60,g=1,m="true",y="false",b="canvas",x=0,w=2,M=4,z=1,S=1,P=1,O=4,R=1,k=255,T=360,F=100,D=100,E=0,A=0,_=60,I=0,L=.25,V=r+L,C=0,$=1,Z=0,B=0,G=1,q=1,H=1,N=1,j=0,K=1,W=0,X=120,Q=0,U=0,J=1e4,Y=0,tt=1,et=0,it=1,nt=1,ot=0,st=1,at=0,rt=0,ct=-L,lt=1.5,dt=0,ut=1,ht=0,ft=0,pt=1,vt=1,gt=1,mt=500,yt=50,bt=0,xt=1,wt=0,Mt=1,zt=0,St=3,Pt=6,Ot=1,Rt=1,kt=0,Tt=0,Ft=0,Dt=0},7897(t,e,i){i.d(e,{j:()=>s});var n=i(1640),o=i(838);class s{constructor(){this.default=n.Y.out}load(t){(0,o.kZ)(t)||(void 0!==t.default&&(this.default=t.default),this.bottom=t.bottom??t.default,this.left=t.left??t.default,this.right=t.right??t.default,this.top=t.top??t.default)}}},7932(t,e,i){i.d(e,{B:()=>o,t:()=>s});const n={debug:console.debug,error:(t,e)=>{console.error(`tsParticles - Error - ${t}`,e)},info:console.info,log:console.log,verbose:console.log,warning:console.warn};function o(t){n.debug=t.debug,n.error=t.error,n.info=t.info,n.log=t.log,n.verbose=t.verbose,n.warning=t.warning}function s(){return n}},8020(t,e,i){var n;i.d(e,{V:()=>n}),function(t){t.none="none",t.max="max",t.min="min"}(n||(n={}))},8044(t,e,i){i.d(e,{I:()=>a});var n=i(8020),o=i(7435),s=i(838);class a extends o.Q{constructor(){super(),this.destroy=n.V.none,this.speed=2}load(t){super.load(t),(0,s.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}},8095(t,e,i){i.d(e,{M:()=>s,p:()=>o});var n=i(7642);class o{constructor(t=n.bo.x,e=n.bo.y,i=n.bo.z){this._updateFromAngle=(t,e)=>{this.x=Math.cos(t)*e,this.y=Math.sin(t)*e},this.x=t,this.y=e,this.z=i}static get origin(){return o.create(n.bo.x,n.bo.y,n.bo.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this._updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this._updateFromAngle(this.angle,t)}static clone(t){return o.create(t.x,t.y,t.z)}static create(t,e,i){return"number"==typeof t?new o(t,e??n.bo.y,i??n.bo.z):new o(t.x,t.y,Object.hasOwn(t,"z")?t.z:n.bo.z)}add(t){return o.create(this.x+t.x,this.y+t.y,this.z+t.z)}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=t.z}copy(){return o.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return o.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**n.dm+this.y**n.dm}mult(t){return o.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;t!=n.dv&&this.multTo(n.hB/t)}rotate(t){return o.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),n.bo.z)}setTo(t){this.x=t.x,this.y=t.y;const e=t;this.z=e.z?e.z:n.bo.z}sub(t){return o.create(this.x-t.x,this.y-t.y,this.z-t.z)}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=t.z}}class s extends o{constructor(t=n.bo.x,e=n.bo.y){super(t,e,n.bo.z)}static get origin(){return s.create(n.bo.x,n.bo.y)}static clone(t){return s.create(t.x,t.y)}static create(t,e){return"number"==typeof t?new s(t,e??n.bo.y):new s(t.x,t.y)}}},8229(t,e,i){i.d(e,{b:()=>n});class n{constructor(t,e){this.position=t,this.particle=e}}},8907(t,e,i){i.d(e,{z:()=>o});var n=i(838);class o{constructor(){this.delay=.5,this.enable=!0}load(t){(0,n.kZ)(t)||(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.enable&&(this.enable=t.enable))}}},9112(t,e,i){i.d(e,{o:()=>a});var n=i(913),o=i(9968),s=i(838);class a extends n.AI{constructor(){super(),this.animation=new o.q,this.value=3}load(t){if(super.load(t),(0,s.kZ)(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}},9176(t,e,i){i.d(e,{Z:()=>o,y:()=>s});var n=i(3278);function o(t,...e){for(const i of e)t.load(i)}function s(t,e,...i){const s=new n.U(t,e);return o(s,...i),s}},9358(t,e,i){i.d(e,{P:()=>s});var n=i(913),o=i(838);class s extends n.PV{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),(0,o.kZ)(t)||(void 0!==t.opacityRate&&(this.opacityRate=t.opacityRate),void 0!==t.sizeRate&&(this.sizeRate=t.sizeRate),void 0!==t.velocityRate&&(this.velocityRate=t.velocityRate))}}},9476(t,e,i){i.d(e,{Y:()=>a});var n=i(8044),o=i(913),s=i(838);class a extends o.AI{constructor(){super(),this.animation=new n.I,this.value=1}load(t){if((0,s.kZ)(t))return;super.load(t);const e=t.animation;void 0!==e&&this.animation.load(e)}}},9599(t,e,i){i.d(e,{BN:()=>u,EY:()=>S,Jv:()=>D,K6:()=>v,Ko:()=>F,LC:()=>z,OH:()=>x,O_:()=>R,PG:()=>O,R5:()=>p,YL:()=>y,_h:()=>P,ay:()=>b,eg:()=>m,mK:()=>f,pz:()=>k,qe:()=>h,xx:()=>w,zI:()=>g});var n=i(1680),o=i(7642),s=i(838),a=i(1292),r=i(302);const c=new Map;function l(t,e){let i=c.get(t);if(!i){if(i=e(),c.size>=1e3){[...c.keys()].slice(0,1e3*o.MX).forEach((t=>c.delete(t)))}c.set(t,i)}return i}function d(t,e){if(e)for(const i of t.colorManagers.values())if(i.accepts(e))return i.parseString(e)}function u(t,e,i,n=!0){if(!e)return;const o=(0,s.Kg)(e)?{value:e}:e;if((0,s.Kg)(o.value))return h(t,o.value,i,n);if((0,s.cy)(o.value)){const e=(0,r.Vh)(o.value,i,n);if(!e)return;return u(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleRangeColor(o);if(t)return t}}function h(t,e,i,n=!0){if(!e)return;const a=(0,s.Kg)(e)?{value:e}:e;if((0,s.Kg)(a.value))return a.value===o.mR?x():m(t,a.value);if((0,s.cy)(a.value)){const e=(0,r.Vh)(a.value,i,n);if(!e)return;return h(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleColor(a);if(t)return t}}function f(t,e,i,n=!0){const o=h(t,e,i,n);return o?v(o):void 0}function p(t,e,i,n=!0){const o=u(t,e,i,n);return o?v(o):void 0}function v(t){const e=t.r/o.oi,i=t.g/o.oi,n=t.b/o.oi,s=Math.max(e,i,n),a=Math.min(e,i,n),r={h:o.L1,l:(s+a)*o.MX,s:o.yx};return s!==a&&(r.s=r.l<o.MX?(s-a)/(s+a):(s-a)/(o.gd-s-a),r.h=e===s?(i-n)/(s-a):i===s?o.gd+(n-e)/(s-a):o.gd*o.gd+(e-i)/(s-a)),r.l*=o.$_,r.s*=o.eu,r.h*=o.U0,r.h<o.L1&&(r.h+=o.vS),r.h>=o.vS&&(r.h-=o.vS),r}function g(t,e){return d(t,e)?.a}function m(t,e){return d(t,e)}function y(t){const e=(t.h%o.vS+o.vS)%o.vS,i=Math.max(o.yx,Math.min(o.eu,t.s)),n=Math.max(o.vd,Math.min(o.$_,t.l)),s=e/o.vS,a=i/o.eu,r=n/o.$_;if(i===o.yx){const t=Math.round(r*o.oi);return{r:t,g:t,b:t}}const c=(t,e,i)=>{if(i<0&&i++,i>1&&i--,i*o.zg<1)return t+(e-t)*o.zg*i;if(i*o.gd<1)return e;if(i*o.Nu<1*o.gd){return t+(e-t)*(o.gd/o.Nu-i)*o.zg}return t},l=r<o.MX?r*(o.aE+a):r+a-r*a,d=o.gd*r-l,u=o.BF/o.Nu,h=Math.min(o.oi,o.oi*c(d,l,s+u)),f=Math.min(o.oi,o.oi*c(d,l,s)),p=Math.min(o.oi,o.oi*c(d,l,s-u));return{r:Math.round(h),g:Math.round(f),b:Math.round(p)}}function b(t){const e=y(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}function x(t){const e=t??o.Fl,i=o.oi+o.D_,s=()=>Math.floor((0,n.e4)(e,i));return{b:s(),g:s(),r:s()}}function w(t,e,i){const n=i??o.hv;return l(`rgb-${t.r.toFixed(2)}-${t.g.toFixed(2)}-${t.b.toFixed(2)}-${e?"hdr":"sdr"}-${n.toString()}`,(()=>e?M(t,i):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(e??o.hv).toString()})`}(t,i)))}function M(t,e){return`color(display-p3 ${(t.r/o.oi).toString()} ${(t.g/o.oi).toString()} ${(t.b/o.oi).toString()} / ${(e??o.hv).toString()})`}function z(t,e,i){const n=i??o.hv;return l(`hsl-${t.h.toFixed(2)}-${t.s.toFixed(2)}-${t.l.toFixed(2)}-${e?"hdr":"sdr"}-${n.toString()}`,(()=>e?function(t,e){return M(y(t),e)}(t,i):function(t,e){return`hsla(${t.h.toString()}, ${t.s.toString()}%, ${t.l.toString()}%, ${(e??o.hv).toString()})`}(t,i)))}function S(t,e,i,o){let s=t,a=e;return Object.hasOwn(s,"r")||(s=y(t)),Object.hasOwn(a,"r")||(a=y(e)),{b:(0,n.jh)(s.b,a.b,i,o),g:(0,n.jh)(s.g,a.g,i,o),r:(0,n.jh)(s.r,a.r,i,o)}}function P(t,e,i){if(i===o.mR)return x();if(i!==o.BW)return i;{const i=t.getFillColor()??t.getStrokeColor(),n=e?.getFillColor()??e?.getStrokeColor();if(i&&n&&e)return S(i,n,t.getRadius(),e.getRadius());{const t=i??n;if(t)return y(t)}}}function O(t,e,i,n){const a=(0,s.Kg)(e)?e:e.value;return a===o.mR?n?u(t,{value:a}):i?o.mR:o.BW:a===o.BW?o.BW:u(t,{value:a})}function R(t){return void 0!==t?{h:t.h.value,s:t.s.value,l:t.l.value}:void 0}function k(t,e,i){const n={h:{enable:!1,value:t.h},s:{enable:!1,value:t.s},l:{enable:!1,value:t.l}};return e&&(T(n.h,e.h,i),T(n.s,e.s,i),T(n.l,e.l,i)),n}function T(t,e,i){t.enable=e.enable,t.enable?(t.velocity=(0,n.VG)(e.speed)/o.a5*i,t.decay=o.WH-(0,n.VG)(e.decay),t.status=a.H.increasing,t.loops=o.hK,t.maxLoops=(0,n.VG)(e.count),t.time=o.tR,t.delayTime=(0,n.VG)(e.delay)*o.Xu,e.sync||(t.velocity*=(0,n.G0)(),t.value*=(0,n.G0)()),t.initialValue=t.value,t.offset=(0,n.DT)(e.offset)):t.velocity=o.jn}function F(t,e,i,o){if(!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;if(t.time??=0,(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=o.value),(t.delayTime??0)>0&&t.time<(t.delayTime??0))return;const s=t.offset?(0,n.vE)(t.offset):0,r=(t.velocity??0)*o.factor+3.6*s,c=t.decay??1,l=(0,n.W9)(e),d=(0,n.Sg)(e);if(i&&t.status!==a.H.increasing){t.value-=r;const e=0;t.value<e&&(t.loops??=0,t.loops++,t.status=a.H.increasing)}else t.value+=r,t.value>l&&(t.loops??=0,t.loops++,i?t.status=a.H.decreasing:t.value-=l);t.velocity&&1!==c&&(t.velocity*=c),t.value=(0,n.qE)(t.value,d,l)}function D(t,e){if(!t)return;const{h:i,s:n,l:s}=t,a={h:{min:o.L1,max:o.vS},s:{min:o.yx,max:o.eu},l:{min:o.vd,max:o.$_}};F(i,a.h,!1,e),F(n,a.s,!0,e),F(s,a.l,!0,e)}},9968(t,e,i){i.d(e,{q:()=>a});var n=i(8020),o=i(7435),s=i(838);class a extends o.Q{constructor(){super(),this.destroy=n.V.none,this.speed=5}load(t){super.load(t),(0,s.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var s=n[t]={exports:{}};return i[t](s,s.exports,o),s.exports}o.m=i,o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.f={},o.e=t=>Promise.all(Object.keys(o.f).reduce(((e,i)=>(o.f[i](t,e),e)),[])),o.u=t=>t+".min.js",o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="@tsparticles/engine:",o.l=(i,n,s,a)=>{if(t[i])t[i].push(n);else{var r,c;if(void 0!==s)for(var l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var u=l[d];if(u.getAttribute("src")==i||u.getAttribute("data-webpack")==e+s){r=u;break}}r||(c=!0,(r=document.createElement("script")).charset="utf-8",o.nc&&r.setAttribute("nonce",o.nc),r.setAttribute("data-webpack",e+s),r.src=i),t[i]=[n];var h=(e,n)=>{r.onerror=r.onload=null,clearTimeout(f);var o=t[i];if(delete t[i],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach((t=>t(n))),e)return e(n)},f=setTimeout(h.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=h.bind(null,r.onerror),r.onload=h.bind(null,r.onload),c&&document.head.appendChild(r)}},o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;globalThis.importScripts&&(t=globalThis.location+"");var e=globalThis.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var i=e.getElementsByTagName("script");if(i.length)for(var n=i.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=i[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=t})(),(()=>{var t={397:0};o.f.j=(e,i)=>{var n=o.o(t,e)?t[e]:void 0;if(0!==n)if(n)i.push(n[2]);else{var s=new Promise(((i,o)=>n=t[e]=[i,o]));i.push(n[2]=s);var a=o.p+o.u(e),r=new Error;o.l(a,(i=>{if(o.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var s=i&&("load"===i.type?"missing":i.type),a=i&&i.target&&i.target.src;r.message="Loading chunk "+e+" failed.\n("+s+": "+a+")",r.name="ChunkLoadError",r.type=s,r.request=a,n[1](r)}}),"chunk-"+e,e)}};var e=(e,i)=>{var n,s,[a,r,c]=i,l=0;if(a.some((e=>0!==t[e]))){for(n in r)o.o(r,n)&&(o.m[n]=r[n]);if(c)c(o)}for(e&&e(i);l<a.length;l++)s=a[l],o.o(t,s)&&t[s]&&t[s][0](),t[s]=0},i=this.webpackChunk_tsparticles_engine=this.webpackChunk_tsparticles_engine||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var s={};o.r(s),o.d(s,{AlterType:()=>P.H,AnimatableColor:()=>D.A,AnimationMode:()=>w.g,AnimationOptions:()=>E.p,AnimationStatus:()=>F.H,AnimationValueWithRandom:()=>rt.Jm,Background:()=>A.V,BaseRange:()=>g.dg,Circle:()=>g.jl,ColorAnimation:()=>_.e,DestroyType:()=>O.V,EasingType:()=>R,EventType:()=>l.B,FullScreen:()=>I.m,GradientType:()=>b,HslAnimation:()=>L.i,LimitMode:()=>M.d,Move:()=>H.y,MoveAngle:()=>N.h,MoveAttract:()=>q.R,MoveCenter:()=>j.Z,MoveDirection:()=>y.F,MoveGravity:()=>K.y,MovePath:()=>X.v,Opacity:()=>tt.Y,OpacityAnimation:()=>et.I,Options:()=>V.J,OptionsColor:()=>C.O,OutMode:()=>z.Y,OutModeDirection:()=>x.v,OutModes:()=>W.j,ParticleOutType:()=>k.x,ParticlesBounce:()=>$.w,ParticlesBounceFactor:()=>Z.F,ParticlesDensity:()=>Y.M,ParticlesNumber:()=>U.N,ParticlesNumberLimit:()=>J.A,ParticlesOptions:()=>B.U,PixelMode:()=>S.q,Point:()=>v.b,RangedAnimationOptions:()=>E.Q,RangedAnimationValueWithRandom:()=>rt.AI,Rectangle:()=>g.M_,ResizeEvent:()=>at.z,RotateDirection:()=>p,Shape:()=>it.y,Size:()=>nt.o,SizeAnimation:()=>ot.q,Spin:()=>Q.t,StartValueType:()=>T.S,Stroke:()=>G.t,ValueWithRandom:()=>rt.PV,Vector:()=>m.M,Vector3d:()=>m.p,ZIndex:()=>st.P,alterHsl:()=>ct.yx,animate:()=>u.i0,areBoundsInside:()=>r.O2,arrayRandomIndex:()=>r.n0,calcExactPositionOrRandomFromSize:()=>u.Nx,calcExactPositionOrRandomFromSizeRanged:()=>u.qM,calcPositionFromSize:()=>u.eh,calcPositionOrRandomFromSize:()=>u.Mh,calcPositionOrRandomFromSizeRanged:()=>u.l1,calculateBounds:()=>r.AE,cancelAnimation:()=>u.px,canvasFirstIndex:()=>a.Nx,canvasTag:()=>a.RF,circleBounce:()=>r.pE,circleBounceDataFromParticle:()=>r.Tg,clamp:()=>u.qE,clear:()=>ct.IU,clearDrawPlugin:()=>ct.l7,clickRadius:()=>a.FS,cloneStyle:()=>r.td,collisionVelocity:()=>u.OW,colorMix:()=>lt.EY,colorToHsl:()=>lt.mK,colorToRgb:()=>lt.qe,countOffset:()=>a.nq,decayOffset:()=>a.WH,deepExtend:()=>r.zw,defaultAlpha:()=>a.aZ,defaultAngle:()=>a.tA,defaultDensityFactor:()=>a.lA,defaultFps:()=>a.z$,defaultFpsLimit:()=>a.i8,defaultLoops:()=>a.hK,defaultOpacity:()=>a.hv,defaultRadius:()=>a.M1,defaultRatio:()=>a.$x,defaultReduceFactor:()=>a.Zp,defaultRemoveQuantity:()=>a.xd,defaultRetryCount:()=>a.rq,defaultRgbMin:()=>a.Fl,defaultTime:()=>a.tR,defaultTransform:()=>a.Ug,defaultTransformValue:()=>a.zs,defaultVelocity:()=>a.jn,degToRad:()=>u.pu,deleteCount:()=>a.LD,double:()=>a.gd,doublePI:()=>a.R1,drawAfterEffect:()=>ct.k,drawBeforeEffect:()=>ct.z5,drawLine:()=>ct.V6,drawParticle:()=>ct.p0,drawParticlePlugin:()=>ct.Wb,drawPlugin:()=>ct.e_,drawShape:()=>ct.KG,drawShapeAfterDraw:()=>ct.gF,drawShapeBeforeDraw:()=>ct.VG,empty:()=>a.Ie,executeOnSingleOrMultiple:()=>r.wJ,findItemFromSingleOrMultiple:()=>r.w3,generatedAttribute:()=>a.eb,generatedFalse:()=>a.X$,generatedTrue:()=>a.ce,getDistance:()=>u.Yf,getDistances:()=>u.vr,getFullScreenStyle:()=>r.hJ,getHslAnimationFromHsl:()=>lt.pz,getHslFromAnimation:()=>lt.O_,getItemsFromInitializer:()=>r.HQ,getLinkColor:()=>lt._h,getLinkRandomColor:()=>lt.PG,getLogger:()=>d.t,getParticleBaseVelocity:()=>u.$m,getParticleDirectionAngle:()=>u.JY,getPosition:()=>r.E9,getRandom:()=>u.G0,getRandomInRange:()=>u.e4,getRandomRgbColor:()=>lt.OH,getRangeMax:()=>u.W9,getRangeMin:()=>u.Sg,getRangeValue:()=>u.VG,getSize:()=>r.YC,getStyleFromHsl:()=>lt.LC,getStyleFromRgb:()=>lt.xx,hMax:()=>a.vS,hMin:()=>a.L1,hPhase:()=>a.U0,half:()=>a.MX,hasMatchMedia:()=>r.q8,hslToRgb:()=>lt.YL,hslaToRgba:()=>lt.ay,identity:()=>a.D_,initParticleNumericAnimationValue:()=>r.Xs,inverseFactorNumerator:()=>a.hB,isArray:()=>ut.cy,isBoolean:()=>ut.Lm,isFunction:()=>ut.Tn,isInArray:()=>r.hn,isNull:()=>ut.kZ,isNumber:()=>ut.Et,isObject:()=>ut.Gv,isPointInside:()=>r.Tj,isString:()=>ut.Kg,itemFromArray:()=>r.Vh,itemFromSingleOrMultiple:()=>r.TA,lFactor:()=>a.iU,lMax:()=>a.$_,lMin:()=>a.vd,lengthOffset:()=>a.K3,loadFont:()=>r.Al,loadMinIndex:()=>a.PZ,loadOptions:()=>dt.Z,loadParticlesOptions:()=>dt.y,loadRandomFactor:()=>a.$v,manageListener:()=>r.Kp,manualDefaultPosition:()=>a.td,midColorValue:()=>a.BW,millisecondsToSeconds:()=>a.Xu,minCoordinate:()=>a.TL,minCount:()=>a.wM,minFpsLimit:()=>a.DN,minIndex:()=>a.z9,minLimit:()=>a.ou,minRetries:()=>a.N5,minStrokeWidth:()=>a.Dv,minVelocity:()=>a.GW,minZ:()=>a.X_,minimumLength:()=>a.$O,minimumSize:()=>a.w2,mix:()=>u.jh,none:()=>a.dv,one:()=>a.xH,originPoint:()=>a.bo,paintBase:()=>ct.Sn,paintImage:()=>ct.Md,parseAlpha:()=>u.M3,percentDenominator:()=>a.a5,phaseNumerator:()=>a.BF,posOffset:()=>a.un,qTreeCapacity:()=>a.Kw,quarter:()=>a.$G,randomColorValue:()=>a.mR,randomInRangeValue:()=>u.vE,rangeColorToHsl:()=>lt.R5,rangeColorToRgb:()=>lt.BN,removeDeleteCount:()=>a.JC,removeMinIndex:()=>a.vF,resizeEvent:()=>a.NF,rgbMax:()=>a.oi,rgbToHsl:()=>lt.K6,rollFactor:()=>a.l,sMax:()=>a.eu,sMin:()=>a.yx,sNormalizedOffset:()=>a.aE,safeDocument:()=>r.T5,safeIntersectionObserver:()=>r.BR,safeMatchMedia:()=>r.lV,safeMutationObserver:()=>r.tG,setAnimationFunctions:()=>u.AD,setLogger:()=>d.B,setRandom:()=>u.OE,setRangeValue:()=>u.DT,sextuple:()=>a.zg,sizeFactor:()=>a.Rh,squareExp:()=>a.dm,stringToAlpha:()=>lt.zI,stringToRgb:()=>lt.eg,subdivideCount:()=>a.Pg,threeQuarter:()=>a.Rq,touchDelay:()=>a.pH,touchEndLengthOffset:()=>a.KZ,triple:()=>a.Nu,tryCountIncrement:()=>a.Eo,tsParticles:()=>ht,updateAnimation:()=>r.UC,updateColor:()=>lt.Jv,updateColorValue:()=>lt.Ko,visibilityChangeEvent:()=>a.nK,zIndexFactorOffset:()=>a.RV});var a=o(7642),r=o(302);class c{constructor(){this._listeners=new Map}addEventListener(t,e){this.removeEventListener(t,e);let i=this._listeners.get(t);i||(i=[],this._listeners.set(t,i)),i.push(e)}dispatchEvent(t,e){const i=this._listeners.get(t);i?.forEach((t=>{t(e)}))}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,e){const i=this._listeners.get(t);if(!i)return;const n=i.length,o=i.indexOf(e);o<a.z9||(n===a.LD?this._listeners.delete(t):i.splice(o,a.LD))}}var l=o(3838),d=o(7932),u=o(1680);const h="100%";class f{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new c,this._initialized=!1,this._loadPromises=new Set,this.plugins=[],this.colorManagers=new Map,this.easingFunctions=new Map,this._initializers={movers:new Map,updaters:new Map},this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.pathGenerators=new Map}get configs(){const t={};for(const[e,i]of this._configs)t[e]=i;return t}get items(){return this._domArray}get version(){return"4.0.0-alpha.4"}addColorManager(t){this.colorManagers.set(t.key,t)}addConfig(t){const e=t.key??t.name??"default";this._configs.set(e,t),this._eventDispatcher.dispatchEvent(l.B.configAdded,{data:{name:e,config:t}})}addEasing(t,e){this.easingFunctions.get(t)||this.easingFunctions.set(t,e)}addEffect(t,e){this.getEffectDrawer(t)||this.effectDrawers.set(t,e)}addEventListener(t,e){this._eventDispatcher.addEventListener(t,e)}addMover(t,e){this._initializers.movers.set(t,e)}addParticleUpdater(t,e){this._initializers.updaters.set(t,e)}addPathGenerator(t,e){this.getPathGenerator(t)||this.pathGenerators.set(t,e)}addPlugin(t){this.getPlugin(t.id)||this.plugins.push(t)}addPreset(t,e,i=!1){!i&&this.getPreset(t)||this.presets.set(t,e)}addShape(t){for(const e of t.validTypes)this.getShapeDrawer(e)||this.shapeDrawers.set(e,t)}checkVersion(t){if(this.version!==t)throw new Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${t}`)}clearPlugins(t){this.updaters.delete(t),this.movers.delete(t)}dispatchEvent(t,e){this._eventDispatcher.dispatchEvent(t,e)}getEasing(t){return this.easingFunctions.get(t)??(t=>t)}getEffectDrawer(t){return this.effectDrawers.get(t)}async getMovers(t,e=!1){return(0,r.HQ)(t,this.movers,this._initializers.movers,e)}getPathGenerator(t){return this.pathGenerators.get(t)}getPlugin(t){return this.plugins.find((e=>e.id===t))}getPreset(t){return this.presets.get(t)}getShapeDrawer(t){return this.shapeDrawers.get(t)}getSupportedEffects(){return this.effectDrawers.keys()}getSupportedShapes(){return this.shapeDrawers.keys()}async getUpdaters(t,e=!1){return(0,r.HQ)(t,this.updaters,this._initializers.updaters,e)}async init(){if(this._initialized)return;const t=new Set,e=new Set(this._loadPromises),i=[...e];for(;i.length;){const n=i.shift();if(!n)continue;if(t.has(n))continue;t.add(n);const o=[],s=this.register.bind(this);this.register=(...t)=>{o.push(...t);for(const i of t)e.add(i)};try{await n(this)}finally{this.register=s}i.unshift(...o),this._loadPromises.delete(n)}this._loadPromises.clear();for(const t of e)this._loadPromises.add(t);this._initialized=!0}item(t){const{items:e}=this,i=e[t];if(!i?.destroyed)return i;e.splice(t,a.JC)}async load(t){await this.init(),this._loadPromises.clear();const{Container:e}=await o.e(794).then(o.bind(o,8794)),i=t.id??t.element?.id??`tsparticles${Math.floor((0,u.G0)()*a.$v).toString()}`,{index:n,url:s}=t,c=s?await async function(t){const e=(0,r.TA)(t.url,t.index);if(!e)return t.fallback;const i=await fetch(e);return i.ok?await i.json():((0,d.t)().error(`${i.status.toString()} while retrieving config file`),t.fallback)}({fallback:t.options,url:s,index:n}):t.options,l=(0,r.TA)(c,n),{items:f}=this,p=f.findIndex((t=>t.id.description===i)),v=new e(this,i,l);if(p>=a.PZ){const t=this.item(p),e=t?a.xH:a.dv;t&&!t.destroyed&&t.destroy(!1),f.splice(p,e,v)}else f.push(v);const g=((t,e)=>{const i=(0,r.T5)();let n=e??i.getElementById(t);return n||(n=i.createElement("div"),n.id=t,n.dataset[a.eb]=a.ce,i.body.append(n),n)})(i,t.element),m=(t=>{const e=(0,r.T5)();let i;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===a.RF)i=t,i.dataset[a.eb]??=a.X$;else{const n=t.getElementsByTagName(a.RF)[a.Nx];n?(i=n,i.dataset[a.eb]=a.X$):(i=e.createElement(a.RF),i.dataset[a.eb]=a.ce,t.appendChild(i))}return i.style.width||=h,i.style.height||=h,i})(g);return v.canvas.loadCanvas(m),await v.start(),v}loadParticlesOptions(t,e,...i){const n=this.updaters.get(t);n&&n.forEach((t=>t.loadOptions?.(e,...i)))}async refresh(t=!0){t&&await Promise.all(this.items.map((t=>t.refresh())))}register(...t){if(this._initialized)throw new Error("Register plugins can only be done before calling tsParticles.load()");for(const e of t)this._loadPromises.add(e)}removeEventListener(t,e){this._eventDispatcher.removeEventListener(t,e)}}var p,v=o(8229),g=o(2984),m=o(8095),y=o(1953);!function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(p||(p={}));var b,x=o(5931),w=o(7098),M=o(6423),z=o(1640),S=o(5652),P=o(4326),O=o(8020);!function(t){t.linear="linear",t.radial="radial",t.random="random"}(b||(b={}));var R,k=o(6312),T=o(1317);!function(t){t.easeInBack="ease-in-back",t.easeInCirc="ease-in-circ",t.easeInCubic="ease-in-cubic",t.easeInLinear="ease-in-linear",t.easeInQuad="ease-in-quad",t.easeInQuart="ease-in-quart",t.easeInQuint="ease-in-quint",t.easeInExpo="ease-in-expo",t.easeInSine="ease-in-sine",t.easeOutBack="ease-out-back",t.easeOutCirc="ease-out-circ",t.easeOutCubic="ease-out-cubic",t.easeOutLinear="ease-out-linear",t.easeOutQuad="ease-out-quad",t.easeOutQuart="ease-out-quart",t.easeOutQuint="ease-out-quint",t.easeOutExpo="ease-out-expo",t.easeOutSine="ease-out-sine",t.easeInOutBack="ease-in-out-back",t.easeInOutCirc="ease-in-out-circ",t.easeInOutCubic="ease-in-out-cubic",t.easeInOutLinear="ease-in-out-linear",t.easeInOutQuad="ease-in-out-quad",t.easeInOutQuart="ease-in-out-quart",t.easeInOutQuint="ease-in-out-quint",t.easeInOutExpo="ease-in-out-expo",t.easeInOutSine="ease-in-out-sine"}(R||(R={}));var F=o(1292),D=o(7296),E=o(7435),A=o(1222),_=o(1784),I=o(7336),L=o(4056),V=o(2037),C=o(3254),$=o(4467),Z=o(6684),B=o(3278),G=o(5611),q=o(3079),H=o(3448),N=o(541),j=o(849),K=o(1872),W=o(7897),X=o(5979),Q=o(6649),U=o(511),J=o(2936),Y=o(6632),tt=o(9476),et=o(8044),it=o(1152),nt=o(9112),ot=o(9968),st=o(9358),at=o(8907),rt=o(913),ct=o(6754),lt=o(9599),dt=o(9176),ut=o(838);const ht=new f;return globalThis.tsParticles=ht,s})()));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tsParticles Engine v4.0.0-alpha.
|
|
1
|
+
/*! tsParticles Engine v4.0.0-alpha.4 by Matteo Bruni */
|
|
@@ -1,34 +1,29 @@
|
|
|
1
1
|
import { Canvas } from "./Canvas.js";
|
|
2
2
|
import type { Engine } from "./Engine.js";
|
|
3
|
-
import type { IContainerInteractivity } from "./Interfaces/IContainerInteractivity.js";
|
|
4
3
|
import type { IContainerPlugin } from "./Interfaces/IContainerPlugin.js";
|
|
5
4
|
import type { IEffectDrawer } from "./Interfaces/IEffectDrawer.js";
|
|
6
5
|
import type { IMovePathGenerator } from "./Interfaces/IMovePathGenerator.js";
|
|
7
6
|
import type { IShapeDrawer } from "./Interfaces/IShapeDrawer.js";
|
|
8
7
|
import type { ISourceOptions } from "../Types/ISourceOptions.js";
|
|
9
8
|
import { Options } from "../Options/Classes/Options.js";
|
|
10
|
-
import type { Particle } from "./Particle.js";
|
|
11
9
|
import { Particles } from "./Particles.js";
|
|
12
10
|
import { Retina } from "./Retina.js";
|
|
13
11
|
export declare class Container {
|
|
14
12
|
actualOptions: Options;
|
|
15
13
|
readonly canvas: Canvas;
|
|
16
14
|
destroyed: boolean;
|
|
17
|
-
readonly effectDrawers: Map<string, IEffectDrawer<Particle>>;
|
|
15
|
+
readonly effectDrawers: Map<string, IEffectDrawer<import("./Particle.js").Particle>>;
|
|
18
16
|
fpsLimit: number;
|
|
19
17
|
hdr: boolean;
|
|
20
18
|
readonly id: symbol;
|
|
21
|
-
interactivity: IContainerInteractivity;
|
|
22
19
|
pageHidden: boolean;
|
|
23
20
|
readonly particles: Particles;
|
|
24
21
|
readonly pathGenerators: Map<string, IMovePathGenerator>;
|
|
25
|
-
readonly plugins:
|
|
22
|
+
readonly plugins: IContainerPlugin[];
|
|
26
23
|
readonly retina: Retina;
|
|
27
|
-
readonly shapeDrawers: Map<string, IShapeDrawer<Particle>>;
|
|
24
|
+
readonly shapeDrawers: Map<string, IShapeDrawer<import("./Particle.js").Particle>>;
|
|
28
25
|
started: boolean;
|
|
29
26
|
zLayers: number;
|
|
30
|
-
private readonly _clickHandlers;
|
|
31
|
-
private _currentTheme?;
|
|
32
27
|
private _delay;
|
|
33
28
|
private _delayTimeout?;
|
|
34
29
|
private readonly _delta;
|
|
@@ -38,29 +33,23 @@ export declare class Container {
|
|
|
38
33
|
private readonly _eventListeners;
|
|
39
34
|
private _firstStart;
|
|
40
35
|
private _initialSourceOptions;
|
|
41
|
-
private readonly _intersectionObserver;
|
|
42
36
|
private _lastFrameTime?;
|
|
43
37
|
private _lifeTime;
|
|
44
38
|
private _options;
|
|
45
39
|
private _paused;
|
|
46
|
-
private _responsiveMaxWidth?;
|
|
47
40
|
private _smooth;
|
|
48
41
|
private _sourceOptions;
|
|
49
42
|
constructor(engine: Engine, id: string, sourceOptions?: ISourceOptions);
|
|
50
43
|
get animationStatus(): boolean;
|
|
51
44
|
get options(): Options;
|
|
52
45
|
get sourceOptions(): ISourceOptions | undefined;
|
|
53
|
-
addClickHandler(callback: (evt: Event, particles?: Particle[]) => void): void;
|
|
54
46
|
addLifeTime(value: number): void;
|
|
55
47
|
addPath(key: string, generator: IMovePathGenerator, override?: boolean): boolean;
|
|
56
48
|
alive(): boolean;
|
|
57
|
-
clearClickHandlers(): void;
|
|
58
49
|
destroy(remove?: boolean): void;
|
|
59
50
|
draw(force: boolean): void;
|
|
60
51
|
export(type: string, options?: Record<string, unknown>): Promise<Blob | undefined>;
|
|
61
|
-
handleClickMode(mode: string): void;
|
|
62
52
|
init(): Promise<void>;
|
|
63
|
-
loadTheme(name?: string): Promise<void>;
|
|
64
53
|
pause(): void;
|
|
65
54
|
play(force?: boolean): void;
|
|
66
55
|
refresh(): Promise<void>;
|
|
@@ -68,6 +57,5 @@ export declare class Container {
|
|
|
68
57
|
start(): Promise<void>;
|
|
69
58
|
stop(): void;
|
|
70
59
|
updateActualOptions(): boolean;
|
|
71
|
-
private readonly _intersectionManager;
|
|
72
60
|
private readonly _nextFrame;
|
|
73
61
|
}
|
package/types/Core/Engine.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import type { EasingType, EasingTypeAlt } from "../Enums/Types/EasingType.js";
|
|
2
|
+
import type { MoverInitializer, UpdaterInitializer } from "../Types/EngineInitializers.js";
|
|
2
3
|
import type { Container } from "./Container.js";
|
|
3
4
|
import type { CustomEventArgs } from "../Types/CustomEventArgs.js";
|
|
4
5
|
import type { CustomEventListener } from "../Types/CustomEventListener.js";
|
|
5
6
|
import type { EasingFunction } from "../Types/EasingFunction.js";
|
|
6
7
|
import type { IColorManager } from "./Interfaces/IColorManager.js";
|
|
7
|
-
import type { IContainerPlugin } from "./Interfaces/IContainerPlugin.js";
|
|
8
8
|
import type { IEffectDrawer } from "./Interfaces/IEffectDrawer.js";
|
|
9
|
-
import type { IInteractor } from "./Interfaces/IInteractor.js";
|
|
10
9
|
import type { ILoadParams } from "./Interfaces/ILoadParams.js";
|
|
11
10
|
import type { IMovePathGenerator } from "./Interfaces/IMovePathGenerator.js";
|
|
12
11
|
import type { IParticleMover } from "./Interfaces/IParticleMover.js";
|
|
@@ -15,17 +14,11 @@ import type { IParticlesOptions } from "../Options/Interfaces/Particles/IParticl
|
|
|
15
14
|
import type { IPlugin } from "./Interfaces/IPlugin.js";
|
|
16
15
|
import type { IShapeDrawer } from "./Interfaces/IShapeDrawer.js";
|
|
17
16
|
import type { ISourceOptions } from "../Types/ISourceOptions.js";
|
|
18
|
-
import type { Options } from "../Options/Classes/Options.js";
|
|
19
|
-
import type { Particle } from "./Particle.js";
|
|
20
17
|
import type { ParticlesOptions } from "../Options/Classes/Particles/ParticlesOptions.js";
|
|
21
18
|
import type { RecursivePartial } from "../Types/RecursivePartial.js";
|
|
22
19
|
declare global {
|
|
23
20
|
var tsParticles: Engine;
|
|
24
21
|
}
|
|
25
|
-
type GenericInitializer<T> = (container: Container) => Promise<T>;
|
|
26
|
-
type InteractorInitializer = GenericInitializer<IInteractor>;
|
|
27
|
-
type MoverInitializer = GenericInitializer<IParticleMover>;
|
|
28
|
-
type UpdaterInitializer = GenericInitializer<IParticleUpdater>;
|
|
29
22
|
type AsyncLoadPluginFunction = (engine: Engine) => Promise<void>;
|
|
30
23
|
type SyncLoadPluginFunction = (engine: Engine) => void;
|
|
31
24
|
type AsyncLoadPluginNoEngine = () => Promise<void>;
|
|
@@ -34,13 +27,12 @@ type LoadPluginFunction = AsyncLoadPluginFunction | SyncLoadPluginFunction | Asy
|
|
|
34
27
|
export declare class Engine {
|
|
35
28
|
readonly colorManagers: Map<string, IColorManager>;
|
|
36
29
|
readonly easingFunctions: Map<EasingTypeAlt | EasingType, EasingFunction>;
|
|
37
|
-
readonly effectDrawers: Map<string, IEffectDrawer<Particle>>;
|
|
38
|
-
readonly interactors: Map<Container, IInteractor<Particle>[]>;
|
|
30
|
+
readonly effectDrawers: Map<string, IEffectDrawer<import("./Particle.js").Particle>>;
|
|
39
31
|
readonly movers: Map<Container, IParticleMover[]>;
|
|
40
32
|
readonly pathGenerators: Map<string, IMovePathGenerator>;
|
|
41
33
|
readonly plugins: IPlugin[];
|
|
42
34
|
readonly presets: Map<string, RecursivePartial<import("../export-types.js").IOptions>>;
|
|
43
|
-
readonly shapeDrawers: Map<string, IShapeDrawer<Particle>>;
|
|
35
|
+
readonly shapeDrawers: Map<string, IShapeDrawer<import("./Particle.js").Particle>>;
|
|
44
36
|
readonly updaters: Map<Container, IParticleUpdater[]>;
|
|
45
37
|
private readonly _configs;
|
|
46
38
|
private readonly _domArray;
|
|
@@ -57,7 +49,6 @@ export declare class Engine {
|
|
|
57
49
|
addEasing(name: EasingType | EasingTypeAlt, easing: EasingFunction): void;
|
|
58
50
|
addEffect(effect: string, drawer: IEffectDrawer): void;
|
|
59
51
|
addEventListener(type: string, listener: CustomEventListener): void;
|
|
60
|
-
addInteractor(name: string, interactorInitializer: InteractorInitializer): void;
|
|
61
52
|
addMover(name: string, moverInitializer: MoverInitializer): void;
|
|
62
53
|
addParticleUpdater(name: string, updaterInitializer: UpdaterInitializer): void;
|
|
63
54
|
addPathGenerator(name: string, generator: IMovePathGenerator): void;
|
|
@@ -67,12 +58,8 @@ export declare class Engine {
|
|
|
67
58
|
checkVersion(pluginVersion: string): void;
|
|
68
59
|
clearPlugins(container: Container): void;
|
|
69
60
|
dispatchEvent(type: string, args?: CustomEventArgs): void;
|
|
70
|
-
dom(): Container[];
|
|
71
|
-
domItem(index: number): Container | undefined;
|
|
72
|
-
getAvailablePlugins(container: Container): Promise<Map<string, IContainerPlugin>>;
|
|
73
61
|
getEasing(name: EasingType | EasingTypeAlt): EasingFunction;
|
|
74
62
|
getEffectDrawer(type: string): IEffectDrawer | undefined;
|
|
75
|
-
getInteractors(container: Container, force?: boolean): Promise<IInteractor[]>;
|
|
76
63
|
getMovers(container: Container, force?: boolean): Promise<IParticleMover[]>;
|
|
77
64
|
getPathGenerator(type: string): IMovePathGenerator | undefined;
|
|
78
65
|
getPlugin(plugin: string): IPlugin | undefined;
|
|
@@ -84,11 +71,9 @@ export declare class Engine {
|
|
|
84
71
|
init(): Promise<void>;
|
|
85
72
|
item(index: number): Container | undefined;
|
|
86
73
|
load(params: ILoadParams): Promise<Container | undefined>;
|
|
87
|
-
loadOptions(options: Options, sourceOptions: ISourceOptions): void;
|
|
88
74
|
loadParticlesOptions(container: Container, options: ParticlesOptions, ...sourceOptions: (RecursivePartial<IParticlesOptions> | undefined)[]): void;
|
|
89
75
|
refresh(refresh?: boolean): Promise<void>;
|
|
90
76
|
register(...loadPromises: LoadPluginFunction[]): void;
|
|
91
77
|
removeEventListener(type: string, listener: CustomEventListener): void;
|
|
92
|
-
setOnClickHandler(callback: (e: Event, particles?: Particle[]) => void): void;
|
|
93
78
|
}
|
|
94
79
|
export {};
|
|
@@ -10,25 +10,32 @@ export interface IContainerPlugin {
|
|
|
10
10
|
checkParticlePosition?: (particle: Particle, position: ICoordinates, tryCount: number) => boolean;
|
|
11
11
|
clearDraw?: (context: CanvasRenderingContext2D, delta: IDelta) => void;
|
|
12
12
|
clickPositionValid?: (position: ICoordinates) => boolean;
|
|
13
|
+
destroy?: () => void;
|
|
13
14
|
draw?: (context: CanvasRenderingContext2D, delta: IDelta) => void;
|
|
14
15
|
drawParticle?: (context: CanvasRenderingContext2D, particle: Particle, delta: IDelta) => void;
|
|
15
16
|
export?: (type: string, data: Record<string, unknown>) => Promise<ExportResult>;
|
|
16
|
-
handleClickMode?: (mode: string) => void;
|
|
17
17
|
init?: () => Promise<void>;
|
|
18
18
|
particleBounce?: (particle: Particle, delta: IDelta, direction: OutModeDirection) => boolean;
|
|
19
19
|
particleCreated?: (particle: Particle) => void;
|
|
20
20
|
particleDestroyed?: (particle: Particle, override?: boolean) => void;
|
|
21
21
|
particleFillColor?: (particle: Particle) => string | IOptionsColor | undefined;
|
|
22
22
|
particlePosition?: (position?: ICoordinates, particle?: Particle) => ICoordinates | undefined;
|
|
23
|
+
particleReset?: (particle: Particle) => void;
|
|
23
24
|
particleStrokeColor?: (particle: Particle) => string | IOptionsColor | undefined;
|
|
24
25
|
particleUpdate?: (particle: Particle, delta: IDelta) => void;
|
|
26
|
+
particlesDensityCount?: () => number;
|
|
25
27
|
particlesInitialization?: () => boolean;
|
|
26
28
|
particlesSetup?: () => void;
|
|
27
29
|
pause?: () => void;
|
|
28
30
|
play?: () => void;
|
|
31
|
+
postParticleUpdate?: (particle: Particle, delta: IDelta) => void;
|
|
32
|
+
postUpdate?: (delta: IDelta) => void;
|
|
33
|
+
preInit?: () => Promise<void>;
|
|
34
|
+
redrawInit?: () => Promise<void>;
|
|
29
35
|
reset?: () => void;
|
|
30
36
|
resize?: () => void;
|
|
31
37
|
start?: () => Promise<void>;
|
|
32
38
|
stop?: () => void;
|
|
33
39
|
update?: (delta: IDelta) => void;
|
|
40
|
+
updateActualOptions?: () => boolean;
|
|
34
41
|
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import type { Container } from "../Container.js";
|
|
2
2
|
import type { IContainerPlugin } from "./IContainerPlugin.js";
|
|
3
|
+
import type { IParticlesOptions } from "../../Options/Interfaces/Particles/IParticlesOptions.js";
|
|
3
4
|
import type { ISourceOptions } from "../../Types/ISourceOptions.js";
|
|
4
5
|
import type { Options } from "../../Options/Classes/Options.js";
|
|
6
|
+
import type { ParticlesOptions } from "../../Options/Classes/Particles/ParticlesOptions.js";
|
|
7
|
+
import type { RecursivePartial } from "../../Types/RecursivePartial.js";
|
|
5
8
|
export interface IPlugin {
|
|
6
9
|
readonly id: string;
|
|
10
|
+
loadParticlesOptions?: (container: Container, options: ParticlesOptions, source?: RecursivePartial<IParticlesOptions>) => void;
|
|
7
11
|
getPlugin(container: Container): Promise<IContainerPlugin>;
|
|
8
|
-
loadOptions(options: Options, source?: ISourceOptions): void;
|
|
12
|
+
loadOptions(container: Container, options: Options, source?: ISourceOptions): void;
|
|
9
13
|
needsPlugin(options?: ISourceOptions): boolean;
|
|
10
14
|
}
|
package/types/Core/Particle.d.ts
CHANGED
|
@@ -16,7 +16,6 @@ import type { IParticleTransformValues } from "../export-types.js";
|
|
|
16
16
|
import type { IParticlesOptions } from "../Options/Interfaces/Particles/IParticlesOptions.js";
|
|
17
17
|
import type { IShapeValues } from "./Interfaces/IShapeValues.js";
|
|
18
18
|
import type { ISlowParticleData } from "./Interfaces/ISlowParticleData.js";
|
|
19
|
-
import { Interactivity } from "../Options/Classes/Interactivity/Interactivity.js";
|
|
20
19
|
import { ParticleOutType } from "../Enums/Types/ParticleOutType.js";
|
|
21
20
|
import type { ParticlesOptions } from "../Options/Classes/Particles/ParticlesOptions.js";
|
|
22
21
|
import type { RecursivePartial } from "../Types/RecursivePartial.js";
|
|
@@ -36,7 +35,6 @@ export declare class Particle {
|
|
|
36
35
|
ignoresResizeRatio: boolean;
|
|
37
36
|
initialPosition: Vector;
|
|
38
37
|
initialVelocity: Vector;
|
|
39
|
-
interactivity: Interactivity;
|
|
40
38
|
isRotating: boolean;
|
|
41
39
|
lastPathTime: number;
|
|
42
40
|
misplaced: boolean;
|
|
@@ -3,7 +3,6 @@ import type { Engine } from "./Engine.js";
|
|
|
3
3
|
import type { ICoordinates } from "./Interfaces/ICoordinates.js";
|
|
4
4
|
import type { IDelta } from "./Interfaces/IDelta.js";
|
|
5
5
|
import type { IDimension } from "./Interfaces/IDimension.js";
|
|
6
|
-
import type { IMouseData } from "./Interfaces/IMouseData.js";
|
|
7
6
|
import type { IParticleMover } from "./Interfaces/IParticleMover.js";
|
|
8
7
|
import type { IParticleUpdater } from "./Interfaces/IParticleUpdater.js";
|
|
9
8
|
import type { IParticlesOptions } from "../Options/Interfaces/Particles/IParticlesOptions.js";
|
|
@@ -18,7 +17,6 @@ export declare class Particles {
|
|
|
18
17
|
private readonly _container;
|
|
19
18
|
private readonly _engine;
|
|
20
19
|
private readonly _groupLimits;
|
|
21
|
-
private readonly _interactionManager;
|
|
22
20
|
private _lastZIndex;
|
|
23
21
|
private _limit;
|
|
24
22
|
private _needsSort;
|
|
@@ -29,7 +27,6 @@ export declare class Particles {
|
|
|
29
27
|
private _zArray;
|
|
30
28
|
constructor(engine: Engine, container: Container);
|
|
31
29
|
get count(): number;
|
|
32
|
-
addManualParticles(): void;
|
|
33
30
|
addParticle(position?: ICoordinates, overrideOptions?: RecursivePartial<IParticlesOptions>, group?: string, initializer?: (particle: Particle) => boolean): Particle | undefined;
|
|
34
31
|
clear(): void;
|
|
35
32
|
destroy(): void;
|
|
@@ -37,10 +34,9 @@ export declare class Particles {
|
|
|
37
34
|
filter(condition: (particle: Particle) => boolean): Particle[];
|
|
38
35
|
find(condition: (particle: Particle) => boolean): Particle | undefined;
|
|
39
36
|
get(index: number): Particle | undefined;
|
|
40
|
-
handleClickMode(mode: string): void;
|
|
41
37
|
init(): Promise<void>;
|
|
42
38
|
initPlugins(): Promise<void>;
|
|
43
|
-
push(nb: number,
|
|
39
|
+
push(nb: number, position?: ICoordinates, overrideOptions?: RecursivePartial<IParticlesOptions>, group?: string): void;
|
|
44
40
|
redraw(): Promise<void>;
|
|
45
41
|
remove(particle: Particle, group?: string, override?: boolean): void;
|
|
46
42
|
removeAt(index: number, quantity?: number, group?: string, override?: boolean): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ICoordinates3d } from "../Interfaces/ICoordinates.js";
|
|
2
|
-
export declare const generatedAttribute = "generated",
|
|
2
|
+
export declare const generatedAttribute = "generated", resizeEvent = "resize", visibilityChangeEvent = "visibilitychange", percentDenominator = 100, half = 0.5, millisecondsToSeconds = 1000, originPoint: ICoordinates3d, defaultTransform: {
|
|
3
3
|
a: number;
|
|
4
4
|
b: number;
|
|
5
5
|
c: number;
|
|
6
6
|
d: number;
|
|
7
|
-
}, randomColorValue = "random", midColorValue = "mid", double = 2, doublePI: number, defaultFps = 60, defaultAlpha = 1, generatedTrue = "true", generatedFalse = "false", canvasTag = "canvas", defaultRetryCount = 0, squareExp = 2, qTreeCapacity = 4, defaultRemoveQuantity = 1, defaultRatio = 1, defaultReduceFactor = 1, subdivideCount = 4, inverseFactorNumerator = 1, rgbMax = 255, hMax = 360, sMax = 100, lMax = 100, hMin = 0, sMin = 0, hPhase = 60, empty = 0, quarter = 0.25, threeQuarter: number, minVelocity = 0, defaultTransformValue = 1, minimumSize = 0, minimumLength = 0, zIndexFactorOffset = 1, defaultOpacity = 1, clickRadius = 1, touchEndLengthOffset = 1, minCoordinate = 0, removeDeleteCount = 1, removeMinIndex = 0, defaultFpsLimit = 120, minFpsLimit = 0, canvasFirstIndex = 0, loadRandomFactor = 10000, loadMinIndex = 0, one = 1, none = 0, decayOffset = 1, tryCountIncrement = 1, minRetries = 0, rollFactor = 1, minZ = 0, defaultRadius = 0, posOffset: number, sizeFactor = 1.5, minLimit = 0, countOffset = 1, minCount = 0, minIndex = 0,
|
|
7
|
+
}, randomColorValue = "random", midColorValue = "mid", double = 2, doublePI: number, defaultFps = 60, defaultAlpha = 1, generatedTrue = "true", generatedFalse = "false", canvasTag = "canvas", defaultRetryCount = 0, squareExp = 2, qTreeCapacity = 4, defaultRemoveQuantity = 1, defaultRatio = 1, defaultReduceFactor = 1, subdivideCount = 4, inverseFactorNumerator = 1, rgbMax = 255, hMax = 360, sMax = 100, lMax = 100, hMin = 0, sMin = 0, hPhase = 60, empty = 0, quarter = 0.25, threeQuarter: number, minVelocity = 0, defaultTransformValue = 1, minimumSize = 0, minimumLength = 0, zIndexFactorOffset = 1, defaultOpacity = 1, clickRadius = 1, touchEndLengthOffset = 1, minCoordinate = 0, removeDeleteCount = 1, removeMinIndex = 0, defaultFpsLimit = 120, minFpsLimit = 0, canvasFirstIndex = 0, loadRandomFactor = 10000, loadMinIndex = 0, one = 1, none = 0, decayOffset = 1, tryCountIncrement = 1, minRetries = 0, rollFactor = 1, minZ = 0, defaultRadius = 0, posOffset: number, sizeFactor = 1.5, minLimit = 0, countOffset = 1, minCount = 0, minIndex = 0, lengthOffset = 1, defaultDensityFactor = 1, deleteCount = 1, touchDelay = 500, manualDefaultPosition = 50, defaultAngle = 0, identity = 1, minStrokeWidth = 0, lFactor = 1, lMin = 0, triple = 3, sextuple = 6, sNormalizedOffset = 1, phaseNumerator = 1, defaultRgbMin = 0, defaultVelocity = 0, defaultLoops = 0, defaultTime = 0;
|
|
@@ -1,28 +1,14 @@
|
|
|
1
1
|
import type { Container } from "../Container.js";
|
|
2
2
|
export declare class EventListeners {
|
|
3
3
|
private readonly container;
|
|
4
|
-
private _canPush;
|
|
5
4
|
private readonly _handlers;
|
|
6
|
-
private readonly _matchMedia;
|
|
7
5
|
private _resizeObserver?;
|
|
8
6
|
private _resizeTimeout?;
|
|
9
|
-
private readonly _touches;
|
|
10
7
|
constructor(container: Container);
|
|
11
8
|
addListeners(): void;
|
|
12
9
|
removeListeners(): void;
|
|
13
|
-
private readonly _doMouseTouchClick;
|
|
14
|
-
private readonly _handleThemeChange;
|
|
15
10
|
private readonly _handleVisibilityChange;
|
|
16
11
|
private readonly _handleWindowResize;
|
|
17
|
-
private readonly _manageInteractivityListeners;
|
|
18
12
|
private readonly _manageListeners;
|
|
19
|
-
private readonly _manageMediaMatch;
|
|
20
13
|
private readonly _manageResize;
|
|
21
|
-
private readonly _mouseDown;
|
|
22
|
-
private readonly _mouseTouchClick;
|
|
23
|
-
private readonly _mouseTouchFinish;
|
|
24
|
-
private readonly _mouseTouchMove;
|
|
25
|
-
private readonly _touchEnd;
|
|
26
|
-
private readonly _touchEndClick;
|
|
27
|
-
private readonly _touchStart;
|
|
28
14
|
}
|