@tsparticles/basic 3.9.0 → 4.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/182.min.js +2 -0
  2. package/182.min.js.LICENSE.txt +1 -0
  3. package/204.min.js +2 -0
  4. package/204.min.js.LICENSE.txt +1 -0
  5. package/241.min.js +2 -0
  6. package/241.min.js.LICENSE.txt +1 -0
  7. package/303.min.js +2 -0
  8. package/303.min.js.LICENSE.txt +1 -0
  9. package/309.min.js +2 -0
  10. package/309.min.js.LICENSE.txt +1 -0
  11. package/321.min.js +2 -0
  12. package/321.min.js.LICENSE.txt +1 -0
  13. package/416.min.js +2 -0
  14. package/416.min.js.LICENSE.txt +1 -0
  15. package/420.min.js +2 -0
  16. package/420.min.js.LICENSE.txt +1 -0
  17. package/440.min.js +2 -0
  18. package/440.min.js.LICENSE.txt +1 -0
  19. package/491.min.js +2 -0
  20. package/491.min.js.LICENSE.txt +1 -0
  21. package/493.min.js +2 -0
  22. package/493.min.js.LICENSE.txt +1 -0
  23. package/561.min.js +2 -0
  24. package/561.min.js.LICENSE.txt +1 -0
  25. package/571.min.js +2 -0
  26. package/571.min.js.LICENSE.txt +1 -0
  27. package/606.min.js +2 -0
  28. package/606.min.js.LICENSE.txt +1 -0
  29. package/620.min.js +2 -0
  30. package/620.min.js.LICENSE.txt +1 -0
  31. package/704.min.js +2 -0
  32. package/704.min.js.LICENSE.txt +1 -0
  33. package/869.min.js +2 -0
  34. package/869.min.js.LICENSE.txt +1 -0
  35. package/885.min.js +2 -0
  36. package/885.min.js.LICENSE.txt +1 -0
  37. package/907.min.js +2 -0
  38. package/907.min.js.LICENSE.txt +1 -0
  39. package/browser/bundle.js +1 -1
  40. package/browser/index.js +14 -21
  41. package/cjs/bundle.js +3 -20
  42. package/cjs/index.js +14 -24
  43. package/engine_dist_browser_Core_Container_js.js +100 -0
  44. package/esm/bundle.js +1 -1
  45. package/esm/index.js +14 -21
  46. package/move_base_dist_browser_BaseMover_js.js +40 -0
  47. package/move_base_dist_browser_index_js.js +30 -0
  48. package/package.json +13 -12
  49. package/plugins_colors_hex_dist_browser_HexColorManager_js.js +30 -0
  50. package/plugins_colors_hex_dist_browser_index_js.js +30 -0
  51. package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +30 -0
  52. package/plugins_colors_hsl_dist_browser_index_js.js +30 -0
  53. package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +30 -0
  54. package/plugins_colors_rgb_dist_browser_index_js.js +30 -0
  55. package/report.html +5 -4
  56. package/shapes_circle_dist_browser_CircleDrawer_js.js +40 -0
  57. package/shapes_circle_dist_browser_index_js.js +30 -0
  58. package/tsparticles.basic.bundle.js +500 -1709
  59. package/tsparticles.basic.bundle.min.js +1 -1
  60. package/tsparticles.basic.bundle.min.js.LICENSE.txt +1 -1
  61. package/tsparticles.basic.js +68 -44
  62. package/tsparticles.basic.min.js +1 -1
  63. package/tsparticles.basic.min.js.LICENSE.txt +1 -1
  64. package/types/bundle.d.ts +1 -1
  65. package/types/index.d.ts +1 -1
  66. package/umd/bundle.js +3 -3
  67. package/umd/index.js +49 -22
  68. package/updaters_color_dist_browser_ColorUpdater_js.js +30 -0
  69. package/updaters_color_dist_browser_index_js.js +30 -0
  70. package/updaters_opacity_dist_browser_OpacityUpdater_js.js +30 -0
  71. package/updaters_opacity_dist_browser_index_js.js +30 -0
  72. package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +80 -0
  73. package/updaters_outModes_dist_browser_index_js.js +30 -0
  74. package/updaters_size_dist_browser_SizeUpdater_js.js +30 -0
  75. package/updaters_size_dist_browser_index_js.js +30 -0
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see tsparticles.basic.bundle.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 s in i)("object"==typeof exports?exports:t)[s]=i[s]}}(this,(()=>(()=>{var t={d:(e,i)=>{for(var s in i)t.o(i,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:i[s]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{AlterType:()=>di,AnimatableColor:()=>ks,AnimationMode:()=>Pe,AnimationOptions:()=>zs,AnimationStatus:()=>Oe,AnimationValueWithRandom:()=>Ts,Background:()=>rs,BackgroundMask:()=>hs,BackgroundMaskCover:()=>cs,BaseRange:()=>po,Circle:()=>fo,ClickEvent:()=>ds,CollisionMode:()=>gi,Collisions:()=>Ls,CollisionsAbsorb:()=>Ss,CollisionsOverlap:()=>Cs,ColorAnimation:()=>Ps,DestroyType:()=>ke,DivEvent:()=>us,DivType:()=>fi,EasingType:()=>Ro,EventType:()=>pi,Events:()=>vs,ExternalInteractorBase:()=>Oo,FullScreen:()=>ls,GradientType:()=>Co,HoverEvent:()=>fs,HslAnimation:()=>Os,Interactivity:()=>ys,InteractivityDetect:()=>ui,InteractorType:()=>bi,LimitMode:()=>_i,ManualParticle:()=>_s,Modes:()=>gs,Move:()=>Ns,MoveAngle:()=>As,MoveAttract:()=>Vs,MoveCenter:()=>Bs,MoveDirection:()=>qt,MoveGravity:()=>Hs,MovePath:()=>Ws,MoveTrail:()=>qs,Opacity:()=>Qs,OpacityAnimation:()=>js,Options:()=>ro,OptionsColor:()=>as,OutMode:()=>yi,OutModeDirection:()=>Se,OutModes:()=>$s,Parallax:()=>ps,ParticleOutType:()=>wi,ParticlesBounce:()=>Es,ParticlesBounceFactor:()=>Ds,ParticlesDensity:()=>Xs,ParticlesInteractorBase:()=>ko,ParticlesNumber:()=>Zs,ParticlesNumberLimit:()=>Ys,ParticlesOptions:()=>oo,PixelMode:()=>Ce,Point:()=>uo,RangedAnimationOptions:()=>Ms,RangedAnimationValueWithRandom:()=>Is,Rectangle:()=>mo,ResizeEvent:()=>ms,Responsive:()=>bs,ResponsiveMode:()=>mi,RotateDirection:()=>So,Shadow:()=>Js,Shape:()=>Ks,Size:()=>eo,SizeAnimation:()=>to,Spin:()=>Gs,StartValueType:()=>Re,Stroke:()=>io,Theme:()=>xs,ThemeDefault:()=>ws,ThemeMode:()=>vi,ValueWithRandom:()=>Rs,Vector:()=>Jt,Vector3d:()=>Zt,ZIndex:()=>so,alterHsl:()=>ts,animate:()=>oe,areBoundsInside:()=>Ge,arrayRandomIndex:()=>Ue,calcExactPositionOrRandomFromSize:()=>xe,calcExactPositionOrRandomFromSizeRanged:()=>ze,calcPositionFromSize:()=>_e,calcPositionOrRandomFromSize:()=>be,calcPositionOrRandomFromSizeRanged:()=>we,calculateBounds:()=>Ne,cancelAnimation:()=>ne,canvasFirstIndex:()=>at,canvasTag:()=>S,circleBounce:()=>Ke,circleBounceDataFromParticle:()=>Je,clamp:()=>ae,clear:()=>ji,clickRadius:()=>K,cloneStyle:()=>hi,collisionVelocity:()=>ye,colorMix:()=>Fi,colorToHsl:()=>Oi,colorToRgb:()=>Pi,countOffset:()=>bt,decayOffset:()=>dt,deepExtend:()=>je,defaultAlpha:()=>P,defaultAngle:()=>Ct,defaultDensityFactor:()=>Pt,defaultFps:()=>M,defaultFpsLimit:()=>ot,defaultLoops:()=>Wt,defaultOpacity:()=>J,defaultRadius:()=>vt,defaultRatio:()=>D,defaultReduceFactor:()=>E,defaultRemoveQuantity:()=>I,defaultRetryCount:()=>C,defaultRgbMin:()=>Bt,defaultTime:()=>Ut,defaultTransform:()=>_,defaultTransformValue:()=>Q,defaultVelocity:()=>Ht,degToRad:()=>me,deleteCount:()=>Ot,divMode:()=>Ze,divModeExecute:()=>Xe,double:()=>x,doublePI:()=>z,drawEffect:()=>Xi,drawLine:()=>$i,drawParticle:()=>Qi,drawParticlePlugin:()=>Ki,drawPlugin:()=>Ji,drawShape:()=>Yi,drawShapeAfterDraw:()=>Zi,empty:()=>$,errorPrefix:()=>f,executeOnSingleOrMultiple:()=>ei,findItemFromSingleOrMultiple:()=>si,generatedAttribute:()=>i,generatedFalse:()=>k,generatedTrue:()=>O,getDistance:()=>fe,getDistances:()=>pe,getFullScreenStyle:()=>li,getHslAnimationFromHsl:()=>Hi,getHslFromAnimation:()=>Bi,getLinkColor:()=>Ai,getLinkRandomColor:()=>Vi,getLogger:()=>De,getParticleBaseVelocity:()=>ge,getParticleDirectionAngle:()=>ve,getPosition:()=>ai,getRandom:()=>ie,getRandomRgbColor:()=>Di,getRangeMax:()=>de,getRangeMin:()=>le,getRangeValue:()=>he,getSize:()=>ri,getStyleFromHsl:()=>Li,getStyleFromRgb:()=>Ei,hMax:()=>V,hMin:()=>W,hPhase:()=>q,half:()=>v,hasMatchMedia:()=>Fe,hslToRgb:()=>Ti,hslaToRgba:()=>Ii,identity:()=>Rt,initParticleNumericAnimationValue:()=>oi,inverseFactorNumerator:()=>F,isArray:()=>Xt,isBoolean:()=>$t,isDivModeEnabled:()=>Qe,isFunction:()=>jt,isInArray:()=>He,isNull:()=>Yt,isNumber:()=>Nt,isObject:()=>Qt,isPointInside:()=>$e,isSsr:()=>Le,isString:()=>Gt,itemFromArray:()=>qe,itemFromSingleOrMultiple:()=>ii,lFactor:()=>It,lMax:()=>H,lMin:()=>Dt,lengthOffset:()=>Mt,loadBasic:()=>en,loadFont:()=>We,loadMinIndex:()=>ct,loadOptions:()=>no,loadParticlesOptions:()=>ao,loadRandomFactor:()=>rt,manualCount:()=>zt,manualDefaultPosition:()=>St,midColorValue:()=>w,millisecondsToSeconds:()=>g,minCoordinate:()=>et,minCount:()=>wt,minFpsLimit:()=>nt,minIndex:()=>xt,minLimit:()=>_t,minRetries:()=>pt,minStrokeWidth:()=>Tt,minVelocity:()=>j,minZ:()=>mt,minimumLength:()=>Y,minimumSize:()=>X,mix:()=>re,mouseDownEvent:()=>s,mouseLeaveEvent:()=>n,mouseMoveEvent:()=>r,mouseOutEvent:()=>a,mouseUpEvent:()=>o,none:()=>lt,one:()=>ht,originPoint:()=>y,paintBase:()=>Gi,paintImage:()=>Ni,parseAlpha:()=>Me,percentDenominator:()=>m,phaseNumerator:()=>Vt,posOffset:()=>gt,qTreeCapacity:()=>T,quarter:()=>G,randomColorValue:()=>b,randomInRange:()=>ce,rangeColorToHsl:()=>ki,rangeColorToRgb:()=>Mi,rectBounce:()=>ti,removeDeleteCount:()=>it,removeMinIndex:()=>st,resizeEvent:()=>u,rgbFactor:()=>Et,rgbMax:()=>A,rgbToHsl:()=>Si,rollFactor:()=>ft,sMax:()=>B,sMin:()=>U,sNormalizedOffset:()=>At,safeIntersectionObserver:()=>Ve,safeMatchMedia:()=>Ae,safeMutationObserver:()=>Be,setAnimationFunctions:()=>se,setLogger:()=>Ie,setRandom:()=>ee,setRangeValue:()=>ue,sextuple:()=>Ft,singleDivModeExecute:()=>Ye,sizeFactor:()=>yt,squareExp:()=>R,stringToAlpha:()=>Ci,stringToRgb:()=>Ri,subdivideCount:()=>L,threeQuarter:()=>N,touchCancelEvent:()=>d,touchDelay:()=>kt,touchEndEvent:()=>h,touchEndLengthOffset:()=>tt,touchMoveEvent:()=>l,touchStartEvent:()=>c,triple:()=>Lt,tryCountIncrement:()=>ut,tsParticles:()=>To,updateAnimation:()=>ci,updateColor:()=>qi,updateColorValue:()=>Ui,visibilityChangeEvent:()=>p,zIndexFactorOffset:()=>Z});const i="generated",s="pointerdown",o="pointerup",n="pointerleave",a="pointerout",r="pointermove",c="touchstart",h="touchend",l="touchmove",d="touchcancel",u="resize",p="visibilitychange",f="tsParticles - Error",m=100,v=.5,g=1e3,y={x:0,y:0,z:0},_={a:1,b:0,c:0,d:1},b="random",w="mid",x=2,z=Math.PI*x,M=60,P=1,O="true",k="false",S="canvas",C=0,R=2,T=4,I=1,D=1,E=1,L=4,F=1,A=255,V=360,B=100,H=100,W=0,U=0,q=60,$=0,G=.25,N=v+G,j=0,Q=1,X=0,Y=0,Z=1,J=1,K=1,tt=1,et=0,it=1,st=0,ot=120,nt=0,at=0,rt=1e4,ct=0,ht=1,lt=0,dt=1,ut=1,pt=0,ft=1,mt=0,vt=0,gt=-G,yt=1.5,_t=0,bt=1,wt=0,xt=0,zt=0,Mt=1,Pt=1,Ot=1,kt=500,St=50,Ct=0,Rt=1,Tt=0,It=1,Dt=0,Et=255,Lt=3,Ft=6,At=1,Vt=1,Bt=0,Ht=0,Wt=0,Ut=0;var qt;function $t(t){return"boolean"==typeof t}function Gt(t){return"string"==typeof t}function Nt(t){return"number"==typeof t}function jt(t){return"function"==typeof t}function Qt(t){return"object"==typeof t&&null!==t}function Xt(t){return Array.isArray(t)}function Yt(t){return null==t}!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"}(qt||(qt={}));class Zt{constructor(t,e,i){if(this._updateFromAngle=(t,e)=>{this.x=Math.cos(t)*e,this.y=Math.sin(t)*e},!Nt(t)&&t){this.x=t.x,this.y=t.y;const e=t;this.z=e.z?e.z:y.z}else{if(void 0===t||void 0===e)throw new Error(`${f} Vector3d not initialized correctly`);this.x=t,this.y=e,this.z=i??y.z}}static get origin(){return Zt.create(y.x,y.y,y.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 Zt.create(t.x,t.y,t.z)}static create(t,e,i){return new Zt(t,e,i)}add(t){return Zt.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 Zt.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return Zt.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**R+this.y**R}mult(t){return Zt.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!=lt&&this.multTo(F/t)}rotate(t){return Zt.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),y.z)}setTo(t){this.x=t.x,this.y=t.y;const e=t;this.z=e.z?e.z:y.z}sub(t){return Zt.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 Jt extends Zt{constructor(t,e){super(t,e,y.z)}static get origin(){return Jt.create(y.x,y.y)}static clone(t){return Jt.create(t.x,t.y)}static create(t,e){return new Jt(t,e)}}let Kt=Math.random;const te={nextFrame:t=>requestAnimationFrame(t),cancel:t=>cancelAnimationFrame(t)};function ee(t=Math.random){Kt=t}function ie(){return ae(Kt(),0,1-Number.EPSILON)}function se(t,e){te.nextFrame=e=>t(e),te.cancel=t=>e(t)}function oe(t){return te.nextFrame(t)}function ne(t){te.cancel(t)}function ae(t,e,i){return Math.min(Math.max(t,e),i)}function re(t,e,i,s){return Math.floor((t*i+e*s)/(i+s))}function ce(t){const e=de(t);let i=le(t);return e===i&&(i=0),ie()*(e-i)+i}function he(t){return Nt(t)?t:ce(t)}function le(t){return Nt(t)?t:t.min}function de(t){return Nt(t)?t:t.max}function ue(t,e){if(t===e||void 0===e&&Nt(t))return t;const i=le(t),s=de(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(s,e)}:ue(i,s)}function pe(t,e){const i=t.x-e.x,s=t.y-e.y;return{dx:i,dy:s,distance:Math.sqrt(i**2+s**2)}}function fe(t,e){return pe(t,e).distance}function me(t){return t*Math.PI/180}function ve(t,e,i){if(Nt(t))return me(t);switch(t){case qt.top:return-Math.PI*v;case qt.topRight:return-Math.PI*G;case qt.right:return $;case qt.bottomRight:return Math.PI*G;case qt.bottom:return Math.PI*v;case qt.bottomLeft:return Math.PI*N;case qt.left:return Math.PI;case qt.topLeft:return-Math.PI*N;case qt.inside:return Math.atan2(i.y-e.y,i.x-e.x);case qt.outside:return Math.atan2(e.y-i.y,e.x-i.x);default:return ie()*z}}function ge(t){const e=Jt.origin;return e.length=1,e.angle=t,e}function ye(t,e,i,s){return Jt.create(t.x*(i-s)/(i+s)+e.x*x*s/(i+s),t.y)}function _e(t){return void 0!==t.position?.x&&void 0!==t.position.y?{x:t.position.x*t.size.width/m,y:t.position.y*t.size.height/m}:void 0}function be(t){return{x:(t.position?.x??ie()*m)*t.size.width/m,y:(t.position?.y??ie()*m)*t.size.height/m}}function we(t){const e={x:void 0!==t.position?.x?he(t.position.x):void 0,y:void 0!==t.position?.y?he(t.position.y):void 0};return be({size:t.size,position:e})}function xe(t){return{x:t.position?.x??ie()*t.size.width,y:t.position?.y??ie()*t.size.height}}function ze(t){const e={x:void 0!==t.position?.x?he(t.position.x):void 0,y:void 0!==t.position?.y?he(t.position.y):void 0};return xe({size:t.size,position:e})}function Me(t){return t?t.endsWith("%")?parseFloat(t)/m:parseFloat(t):1}var Pe,Oe,ke,Se,Ce,Re;!function(t){t.auto="auto",t.increase="increase",t.decrease="decrease",t.random="random"}(Pe||(Pe={})),function(t){t.increasing="increasing",t.decreasing="decreasing"}(Oe||(Oe={})),function(t){t.none="none",t.max="max",t.min="min"}(ke||(ke={})),function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(Se||(Se={})),function(t){t.precise="precise",t.percent="percent"}(Ce||(Ce={})),function(t){t.max="max",t.min="min",t.random="random"}(Re||(Re={}));const Te={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function Ie(t){Te.debug=t.debug||Te.debug,Te.error=t.error||Te.error,Te.info=t.info||Te.info,Te.log=t.log||Te.log,Te.verbose=t.verbose||Te.verbose,Te.warning=t.warning||Te.warning}function De(){return Te}function Ee(t){const e={bounced:!1},{pSide:i,pOtherSide:s,rectSide:o,rectOtherSide:n,velocity:a,factor:r}=t;return s.min<n.min||s.min>n.max||s.max<n.min||s.max>n.max||(i.max>=o.min&&i.max<=(o.max+o.min)*v&&a>j||i.min<=o.max&&i.min>(o.max+o.min)*v&&a<j)&&(e.velocity=a*-r,e.bounced=!0),e}function Le(){return"undefined"==typeof window||!window||void 0===window.document||!window.document}function Fe(){return!Le()&&"undefined"!=typeof matchMedia}function Ae(t){if(Fe())return matchMedia(t)}function Ve(t){if(!Le()&&"undefined"!=typeof IntersectionObserver)return new IntersectionObserver(t)}function Be(t){if(!Le()&&"undefined"!=typeof MutationObserver)return new MutationObserver(t)}function He(t,e){return t===e||Xt(e)&&e.indexOf(t)>-1}async function We(t,e){try{await document.fonts.load(`${e??"400"} 36px '${t??"Verdana"}'`)}catch{}}function Ue(t){return Math.floor(ie()*t.length)}function qe(t,e,i=!0){return t[void 0!==e&&i?e%t.length:Ue(t)]}function $e(t,e,i,s,o){return Ge(Ne(t,s??0),e,i,o)}function Ge(t,e,i,s){let o=!0;return s&&s!==Se.bottom||(o=t.top<e.height+i.x),!o||s&&s!==Se.left||(o=t.right>i.x),!o||s&&s!==Se.right||(o=t.left<e.width+i.y),!o||s&&s!==Se.top||(o=t.bottom>i.y),o}function Ne(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function je(t,...e){for(const i of e){if(null==i)continue;if(!Qt(i)){t=i;continue}const e=Array.isArray(i);!e||!Qt(t)&&t&&Array.isArray(t)?e||!Qt(t)&&t&&!Array.isArray(t)||(t={}):t=[];for(const e in i){if("__proto__"===e)continue;const s=i[e],o=t;o[e]=Qt(s)&&Array.isArray(s)?s.map((t=>je(o[e],t))):je(o[e],s)}}return t}function Qe(t,e){return!!si(e,(e=>e.enable&&He(t,e.mode)))}function Xe(t,e,i){ei(e,(e=>{const s=e.mode;e.enable&&He(t,s)&&Ye(e,i)}))}function Ye(t,e){ei(t.selectors,(i=>{e(i,t)}))}function Ze(t,e){if(e&&t)return si(t,(t=>function(t,e){const i=ei(e,(e=>t.matches(e)));return Xt(i)?i.some((t=>t)):i}(e,t.selectors)))}function Je(t){return{position:t.getPosition(),radius:t.getRadius(),mass:t.getMass(),velocity:t.velocity,factor:Jt.create(he(t.options.bounce.horizontal.value),he(t.options.bounce.vertical.value))}}function Ke(t,e){const{x:i,y:s}=t.velocity.sub(e.velocity),[o,n]=[t.position,e.position],{dx:a,dy:r}=pe(n,o);if(i*a+s*r<0)return;const c=-Math.atan2(r,a),h=t.mass,l=e.mass,d=t.velocity.rotate(c),u=e.velocity.rotate(c),p=ye(d,u,h,l),f=ye(u,d,h,l),m=p.rotate(-c),v=f.rotate(-c);t.velocity.x=m.x*t.factor.x,t.velocity.y=m.y*t.factor.y,e.velocity.x=v.x*e.factor.x,e.velocity.y=v.y*e.factor.y}function ti(t,e){const i=Ne(t.getPosition(),t.getRadius()),s=t.options.bounce,o=Ee({pSide:{min:i.left,max:i.right},pOtherSide:{min:i.top,max:i.bottom},rectSide:{min:e.left,max:e.right},rectOtherSide:{min:e.top,max:e.bottom},velocity:t.velocity.x,factor:he(s.horizontal.value)});o.bounced&&(void 0!==o.velocity&&(t.velocity.x=o.velocity),void 0!==o.position&&(t.position.x=o.position));const n=Ee({pSide:{min:i.top,max:i.bottom},pOtherSide:{min:i.left,max:i.right},rectSide:{min:e.top,max:e.bottom},rectOtherSide:{min:e.left,max:e.right},velocity:t.velocity.y,factor:he(s.vertical.value)});n.bounced&&(void 0!==n.velocity&&(t.velocity.y=n.velocity),void 0!==n.position&&(t.position.y=n.position))}function ei(t,e){return Xt(t)?t.map(((t,i)=>e(t,i))):e(t,0)}function ii(t,e,i){return Xt(t)?qe(t,e,i):t}function si(t,e){if(Xt(t))return t.find(((t,i)=>e(t,i)));return e(t,0)?t:void 0}function oi(t,e){const i=t.value,s=t.animation,o={delayTime:he(s.delay)*g,enable:s.enable,value:he(t.value)*e,max:de(i)*e,min:le(i)*e,loops:0,maxLoops:he(s.count),time:0};if(s.enable){switch(o.decay=1-he(s.decay),s.mode){case Pe.increase:o.status=Oe.increasing;break;case Pe.decrease:o.status=Oe.decreasing;break;case Pe.random:o.status=ie()>=v?Oe.increasing:Oe.decreasing}const t=s.mode===Pe.auto;switch(s.startValue){case Re.min:o.value=o.min,t&&(o.status=Oe.increasing);break;case Re.max:o.value=o.max,t&&(o.status=Oe.decreasing);break;case Re.random:default:o.value=ce(o),t&&(o.status=ie()>=v?Oe.increasing:Oe.decreasing)}}return o.initialValue=o.value,o}function ni(t,e){if(!(t.mode===Ce.percent)){const{mode:e,...i}=t;return i}return"x"in t?{x:t.x/m*e.width,y:t.y/m*e.height}:{width:t.width/m*e.width,height:t.height/m*e.height}}function ai(t,e){return ni(t,e)}function ri(t,e){return ni(t,e)}function ci(t,e,i,s,o){if(t.destroyed||!e||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;const n=(e.velocity??0)*o.factor,a=e.min,r=e.max,c=e.decay??1;if(e.time||(e.time=0),(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=o.value),!((e.delayTime??0)>0&&e.time<(e.delayTime??0))){switch(e.status){case Oe.increasing:e.value>=r?(i?e.status=Oe.decreasing:e.value-=r,e.loops||(e.loops=0),e.loops++):e.value+=n;break;case Oe.decreasing:e.value<=a?(i?e.status=Oe.increasing:e.value+=r,e.loops||(e.loops=0),e.loops++):e.value-=n}e.velocity&&1!==c&&(e.velocity*=c),function(t,e,i,s,o){switch(e){case ke.max:i>=o&&t.destroy();break;case ke.min:i<=s&&t.destroy()}}(t,s,e.value,a,r),t.destroyed||(e.value=ae(e.value,a,r))}}function hi(t){const e=document.createElement("div").style;if(!t)return e;for(const i in t){const s=t[i];if(!Object.prototype.hasOwnProperty.call(t,i)||Yt(s))continue;const o=t.getPropertyValue?.(s);if(!o)continue;const n=t.getPropertyPriority?.(s);n?e.setProperty?.(s,o,n):e.setProperty?.(s,o)}return e}const li=function(t){const e=new Map;return(...i)=>{const s=JSON.stringify(i);if(e.has(s))return e.get(s);const o=t(...i);return e.set(s,o),o}}((function(t){const e=document.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 s=i[t];e.setProperty(t,s)}return e}));var di,ui,pi,fi,mi,vi,gi,yi,_i,bi,wi,xi;function zi(t,e){if(e)for(const i of t.colorManagers.values())if(e.startsWith(i.stringPrefix))return i.parseString(e)}function Mi(t,e,i,s=!0){if(!e)return;const o=Gt(e)?{value:e}:e;if(Gt(o.value))return Pi(t,o.value,i,s);if(Xt(o.value))return Mi(t,{value:qe(o.value,i,s)});for(const e of t.colorManagers.values()){const t=e.handleRangeColor(o);if(t)return t}}function Pi(t,e,i,s=!0){if(!e)return;const o=Gt(e)?{value:e}:e;if(Gt(o.value))return o.value===b?Di():Ri(t,o.value);if(Xt(o.value))return Pi(t,{value:qe(o.value,i,s)});for(const e of t.colorManagers.values()){const t=e.handleColor(o);if(t)return t}}function Oi(t,e,i,s=!0){const o=Pi(t,e,i,s);return o?Si(o):void 0}function ki(t,e,i,s=!0){const o=Mi(t,e,i,s);return o?Si(o):void 0}function Si(t){const e=t.r/A,i=t.g/A,s=t.b/A,o=Math.max(e,i,s),n=Math.min(e,i,s),a={h:W,l:(o+n)*v,s:U};return o!==n&&(a.s=a.l<v?(o-n)/(o+n):(o-n)/(x-o-n),a.h=e===o?(i-s)/(o-n):a.h=i===o?x+(s-e)/(o-n):x*x+(e-i)/(o-n)),a.l*=H,a.s*=B,a.h*=q,a.h<W&&(a.h+=V),a.h>=V&&(a.h-=V),a}function Ci(t,e){return zi(t,e)?.a}function Ri(t,e){return zi(t,e)}function Ti(t){const e=(t.h%V+V)%V,i=Math.max(U,Math.min(B,t.s)),s=Math.max(Dt,Math.min(H,t.l)),o=e/V,n=i/B,a=s/H;if(i===U){const t=Math.round(a*Et);return{r:t,g:t,b:t}}const r=(t,e,i)=>{if(i<0&&i++,i>1&&i--,i*Ft<1)return t+(e-t)*Ft*i;if(i*x<1)return e;if(i*Lt<1*x){return t+(e-t)*(x/Lt-i)*Ft}return t},c=a<v?a*(At+n):a+n-a*n,h=x*a-c,l=Vt/Lt,d=Math.min(Et,Et*r(h,c,o+l)),u=Math.min(Et,Et*r(h,c,o)),p=Math.min(Et,Et*r(h,c,o-l));return{r:Math.round(d),g:Math.round(u),b:Math.round(p)}}function Ii(t){const e=Ti(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}function Di(t){const e=t??Bt,i=A+Rt;return{b:Math.floor(ce(ue(e,i))),g:Math.floor(ce(ue(e,i))),r:Math.floor(ce(ue(e,i)))}}function Ei(t,e){return`rgba(${t.r}, ${t.g}, ${t.b}, ${e??J})`}function Li(t,e){return`hsla(${t.h}, ${t.s}%, ${t.l}%, ${e??J})`}function Fi(t,e,i,s){let o=t,n=e;return void 0===o.r&&(o=Ti(t)),void 0===n.r&&(n=Ti(e)),{b:re(o.b,n.b,i,s),g:re(o.g,n.g,i,s),r:re(o.r,n.r,i,s)}}function Ai(t,e,i){if(i===b)return Di();if(i!==w)return i;{const i=t.getFillColor()??t.getStrokeColor(),s=e?.getFillColor()??e?.getStrokeColor();if(i&&s&&e)return Fi(i,s,t.getRadius(),e.getRadius());{const t=i??s;if(t)return Ti(t)}}}function Vi(t,e,i,s){const o=Gt(e)?e:e.value;return o===b?s?Mi(t,{value:o}):i?b:w:o===w?w:Mi(t,{value:o})}function Bi(t){return void 0!==t?{h:t.h.value,s:t.s.value,l:t.l.value}:void 0}function Hi(t,e,i){const s={h:{enable:!1,value:t.h},s:{enable:!1,value:t.s},l:{enable:!1,value:t.l}};return e&&(Wi(s.h,e.h,i),Wi(s.s,e.s,i),Wi(s.l,e.l,i)),s}function Wi(t,e,i){t.enable=e.enable,t.enable?(t.velocity=he(e.speed)/m*i,t.decay=dt-he(e.decay),t.status=Oe.increasing,t.loops=Wt,t.maxLoops=he(e.count),t.time=Ut,t.delayTime=he(e.delay)*g,e.sync||(t.velocity*=ie(),t.value*=ie()),t.initialValue=t.value,t.offset=ue(e.offset)):t.velocity=Ht}function Ui(t,e,i,s){if(!t||!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;if(t.time||(t.time=0),(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=s.value),(t.delayTime??0)>0&&t.time<(t.delayTime??0))return;const o=t.offset?ce(t.offset):0,n=(t.velocity??0)*s.factor+3.6*o,a=t.decay??1,r=de(e),c=le(e);if(i&&t.status!==Oe.increasing){t.value-=n;const e=0;t.value<e&&(t.loops||(t.loops=0),t.loops++,t.status=Oe.increasing)}else t.value+=n,t.value>r&&(t.loops||(t.loops=0),t.loops++,i?t.status=Oe.decreasing:t.value-=r);t.velocity&&1!==a&&(t.velocity*=a),t.value=ae(t.value,c,r)}function qi(t,e){if(!t)return;const{h:i,s,l:o}=t,n={min:0,max:100},a={min:0,max:100};i&&Ui(i,{min:0,max:360},!1,e),s&&Ui(s,n,!0,e),o&&Ui(o,a,!0,e)}function $i(t,e,i){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(i.x,i.y),t.closePath()}function Gi(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(y.x,y.y,e.width,e.height)}function Ni(t,e,i,s){i&&(t.globalAlpha=s,t.drawImage(i,y.x,y.y,e.width,e.height),t.globalAlpha=1)}function ji(t,e){t.clearRect(y.x,y.y,e.width,e.height)}function Qi(t){const{container:e,context:i,particle:s,delta:o,colorStyles:n,backgroundMask:a,composite:r,radius:c,opacity:h,shadow:l,transform:d}=t,u=s.getPosition(),p=s.rotation+(s.pathRotation?s.velocity.angle:Ct),f=Math.sin(p),m=Math.cos(p),v=!!p,g={a:m*(d.a??_.a),b:v?f*(d.b??Rt):d.b??_.b,c:v?-f*(d.c??Rt):d.c??_.c,d:m*(d.d??_.d)};i.setTransform(g.a,g.b,g.c,g.d,u.x,u.y),a&&(i.globalCompositeOperation=r);const y=s.shadowColor;l.enable&&y&&(i.shadowBlur=l.blur,i.shadowColor=Ei(y),i.shadowOffsetX=l.offset.x,i.shadowOffsetY=l.offset.y),n.fill&&(i.fillStyle=n.fill);const b=s.strokeWidth??Tt;i.lineWidth=b,n.stroke&&(i.strokeStyle=n.stroke);const w={container:e,context:i,particle:s,radius:c,opacity:h,delta:o,transformData:g,strokeWidth:b};Yi(w),Zi(w),Xi(w),i.globalCompositeOperation="source-over",i.resetTransform()}function Xi(t){const{container:e,context:i,particle:s,radius:o,opacity:n,delta:a,transformData:r}=t;if(!s.effect)return;const c=e.effectDrawers.get(s.effect);c&&c.draw({context:i,particle:s,radius:o,opacity:n,delta:a,pixelRatio:e.retina.pixelRatio,transformData:{...r}})}function Yi(t){const{container:e,context:i,particle:s,radius:o,opacity:n,delta:a,strokeWidth:r,transformData:c}=t;if(!s.shape)return;const h=e.shapeDrawers.get(s.shape);h&&(i.beginPath(),h.draw({context:i,particle:s,radius:o,opacity:n,delta:a,pixelRatio:e.retina.pixelRatio,transformData:{...c}}),s.shapeClose&&i.closePath(),r>Tt&&i.stroke(),s.shapeFill&&i.fill())}function Zi(t){const{container:e,context:i,particle:s,radius:o,opacity:n,delta:a,transformData:r}=t;if(!s.shape)return;const c=e.shapeDrawers.get(s.shape);c?.afterDraw&&c.afterDraw({context:i,particle:s,radius:o,opacity:n,delta:a,pixelRatio:e.retina.pixelRatio,transformData:{...r}})}function Ji(t,e,i){e.draw&&e.draw(t,i)}function Ki(t,e,i,s){e.drawParticle&&e.drawParticle(t,i,s)}function ts(t,e,i){return{h:t.h,s:t.s,l:t.l+(e===di.darken?-It:It)*i}}function es(t,e,i){const s=e[i];void 0!==s&&(t[i]=(t[i]??Q)*s)}function is(t,e,i=!1){if(!e)return;if(!t)return;const s=t.style;if(!s)return;const o=new Set;for(const t in s)Object.prototype.hasOwnProperty.call(s,t)&&o.add(s[t]);for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.add(e[t]);for(const t of o){const o=e.getPropertyValue(t);o?s.setProperty(t,o,i?"important":""):s.removeProperty(t)}}!function(t){t.darken="darken",t.enlighten="enlighten"}(di||(di={}));class ss{constructor(t,e){this.container=t,this._applyPostDrawUpdaters=t=>{for(const e of this._postDrawUpdaters)e.afterDraw?.(t)},this._applyPreDrawUpdaters=(t,e,i,s,o,n)=>{for(const a of this._preDrawUpdaters){if(a.getColorStyles){const{fill:n,stroke:r}=a.getColorStyles(e,t,i,s);n&&(o.fill=n),r&&(o.stroke=r)}if(a.getTransformValues){const t=a.getTransformValues(e);for(const e in t)es(n,t,e)}a.beforeDraw?.(e)}},this._applyResizePlugins=()=>{for(const t of this._resizePlugins)t.resize?.()},this._getPluginParticleColors=t=>{let e,i;for(const s of this._colorPlugins)if(!e&&s.particleFillColor&&(e=ki(this._engine,s.particleFillColor(t))),!i&&s.particleStrokeColor&&(i=ki(this._engine,s.particleStrokeColor(t))),e&&i)break;return[e,i]},this._initCover=async()=>{const t=this.container.actualOptions.backgroundMask.cover,e=t.color;if(e){const i=Mi(this._engine,e);if(i){const e={...i,a:t.opacity};this._coverColorStyle=Ei(e,e.a)}}else await new Promise(((e,i)=>{if(!t.image)return;const s=document.createElement("img");s.addEventListener("load",(()=>{this._coverImage={image:s,opacity:t.opacity},e()})),s.addEventListener("error",(t=>{i(t.error)})),s.src=t.image}))},this._initStyle=()=>{const t=this.element,e=this.container.actualOptions;if(t){this._fullScreen?this._setFullScreenStyle():this._resetOriginalStyle();for(const i in e.style){if(!i||!e.style||!Object.prototype.hasOwnProperty.call(e.style,i))continue;const s=e.style[i];s&&t.style.setProperty(i,s,"important")}}},this._initTrail=async()=>{const t=this.container.actualOptions.particles.move.trail,e=t.fill;if(!t.enable)return;const i=F/t.length;if(e.color){const t=Mi(this._engine,e.color);if(!t)return;this._trailFill={color:{...t},opacity:i}}else await new Promise(((t,s)=>{if(!e.image)return;const o=document.createElement("img");o.addEventListener("load",(()=>{this._trailFill={image:o,opacity:i},t()})),o.addEventListener("error",(t=>{s(t.error)})),o.src=e.image}))},this._paintBase=t=>{this.draw((e=>Gi(e,this.size,t)))},this._paintImage=(t,e)=>{this.draw((i=>Ni(i,this.size,t,e)))},this._repairStyle=()=>{const t=this.element;if(!t)return;this._safeMutationObserver((t=>t.disconnect())),this._initStyle(),this.initBackground();const e=this._pointerEvents;t.style.pointerEvents=e,t.setAttribute("pointer-events",e),this._safeMutationObserver((e=>{t&&t instanceof Node&&e.observe(t,{attributes:!0})}))},this._resetOriginalStyle=()=>{const t=this.element,e=this._originalStyle;t&&e&&is(t,e,!0)},this._safeMutationObserver=t=>{this._mutationObserver&&t(this._mutationObserver)},this._setFullScreenStyle=()=>{const t=this.element;t&&is(t,li(this.container.actualOptions.fullScreen.zIndex),!0)},this._engine=e,this._standardSize={height:0,width:0};const i=t.retina.pixelRatio,s=this._standardSize;this.size={height:s.height*i,width:s.width*i},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[],this._pointerEvents="none"}get _fullScreen(){return this.container.actualOptions.fullScreen.enable}clear(){const t=this.container.actualOptions,e=t.particles.move.trail,i=this._trailFill;t.backgroundMask.enable?this.paint():e.enable&&e.length>Y&&i?i.color?this._paintBase(Ei(i.color,i.opacity)):i.image&&this._paintImage(i.image,i.opacity):t.clear&&this.draw((t=>{ji(t,this.size)}))}destroy(){if(this.stop(),this._generated){const t=this.element;t?.remove(),this.element=void 0}else this._resetOriginalStyle();this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(t){const e=this._context;if(e)return t(e)}drawAsync(t){const e=this._context;if(e)return t(e)}drawParticle(t,e){if(t.spawning||t.destroyed)return;const i=t.getRadius();if(i<=X)return;const s=t.getFillColor(),o=t.getStrokeColor()??s;let[n,a]=this._getPluginParticleColors(t);n||(n=s),a||(a=o),(n||a)&&this.draw((s=>{const o=this.container,r=o.actualOptions,c=t.options.zIndex,h=Z-t.zIndexFactor,l=h**c.opacityRate,d=t.bubble.opacity??t.opacity?.value??J,u=d*l,p=(t.strokeOpacity??d)*l,f={},m={fill:n?Li(n,u):void 0};m.stroke=a?Li(a,p):m.fill,this._applyPreDrawUpdaters(s,t,i,u,m,f),Qi({container:o,context:s,particle:t,delta:e,colorStyles:m,backgroundMask:r.backgroundMask.enable,composite:r.backgroundMask.composite,radius:i*h**c.sizeRate,opacity:u,shadow:t.options.shadow,transform:f}),this._applyPostDrawUpdaters(t)}))}drawParticlePlugin(t,e,i){this.draw((s=>Ki(s,t,e,i)))}drawPlugin(t,e){this.draw((i=>Ji(i,t,e)))}async init(){this._safeMutationObserver((t=>t.disconnect())),this._mutationObserver=Be((t=>{for(const e of t)"attributes"===e.type&&"style"===e.attributeName&&this._repairStyle()})),this.resize(),this._initStyle(),await this._initCover();try{await this._initTrail()}catch(t){De().error(t)}this.initBackground(),this._safeMutationObserver((t=>{this.element&&this.element instanceof Node&&t.observe(this.element,{attributes:!0})})),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){const t=this.container.actualOptions.background,e=this.element;if(!e)return;const i=e.style;if(i){if(t.color){const e=Mi(this._engine,t.color);i.backgroundColor=e?Ei(e,t.opacity):""}else i.backgroundColor="";i.backgroundImage=t.image||"",i.backgroundPosition=t.position||"",i.backgroundRepeat=t.repeat||"",i.backgroundSize=t.size||""}}initPlugins(){this._resizePlugins=[];for(const t of this.container.plugins.values())t.resize&&this._resizePlugins.push(t),(t.particleFillColor??t.particleStrokeColor)&&this._colorPlugins.push(t)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const t of this.container.particles.updaters)t.afterDraw&&this._postDrawUpdaters.push(t),(t.getColorStyles??t.getTransformValues??t.beforeDraw)&&this._preDrawUpdaters.push(t)}loadCanvas(t){this._generated&&this.element&&this.element.remove(),this._generated=t.dataset&&i in t.dataset?"true"===t.dataset[i]:this._generated,this.element=t,this.element.ariaHidden="true",this._originalStyle=hi(this.element.style);const e=this._standardSize;e.height=t.offsetHeight,e.width=t.offsetWidth;const s=this.container.retina.pixelRatio,o=this.size;t.height=o.height=e.height*s,t.width=o.width=e.width*s,this._context=this.element.getContext("2d"),this._safeMutationObserver((t=>t.disconnect())),this.container.retina.init(),this.initBackground(),this._safeMutationObserver((t=>{this.element&&this.element instanceof Node&&t.observe(this.element,{attributes:!0})}))}paint(){const t=this.container.actualOptions;this.draw((e=>{t.backgroundMask.enable&&t.backgroundMask.cover?(ji(e,this.size),this._coverImage?this._paintImage(this._coverImage.image,this._coverImage.opacity):this._coverColorStyle?this._paintBase(this._coverColorStyle):this._paintBase()):this._paintBase()}))}resize(){if(!this.element)return!1;const t=this.container,e=t.canvas._standardSize,i={width:this.element.offsetWidth,height:this.element.offsetHeight},s=t.retina.pixelRatio,o={width:i.width*s,height:i.height*s};if(i.height===e.height&&i.width===e.width&&o.height===this.element.height&&o.width===this.element.width)return!1;const n={...e};e.height=i.height,e.width=i.width;const a=this.size;return this.element.width=a.width=o.width,this.element.height=a.height=o.height,this.container.started&&t.particles.setResizeFactor({width:e.width/n.width,height:e.height/n.height}),!0}setPointerEvents(t){this.element&&(this._pointerEvents=t,this._repairStyle())}stop(){this._safeMutationObserver((t=>t.disconnect())),this._mutationObserver=void 0,this.draw((t=>ji(t,this.size)))}async windowResize(){if(!this.element||!this.resize())return;const t=this.container,e=t.updateActualOptions();t.particles.setDensity(),this._applyResizePlugins(),e&&await t.refresh()}}function os(t,e,i,s,o){if(s){let s={passive:!0};$t(o)?s.capture=o:void 0!==o&&(s=o),t.addEventListener(e,i,s)}else{const s=o;t.removeEventListener(e,i,s)}}!function(t){t.canvas="canvas",t.parent="parent",t.window="window"}(ui||(ui={}));class ns{constructor(t){this.container=t,this._doMouseTouchClick=t=>{const e=this.container,i=e.actualOptions;if(this._canPush){const t=e.interactivity.mouse,s=t.position;if(!s)return;t.clickPosition={...s},t.clickTime=(new Date).getTime();ei(i.interactivity.events.onClick.mode,(t=>this.container.handleClickMode(t)))}"touchend"===t.type&&setTimeout((()=>this._mouseTouchFinish()),kt)},this._handleThemeChange=t=>{const e=t,i=this.container,s=i.options,o=s.defaultThemes,n=e.matches?o.dark:o.light,a=s.themes.find((t=>t.name===n));a?.default.auto&&i.loadTheme(n)},this._handleVisibilityChange=()=>{const t=this.container,e=t.actualOptions;this._mouseTouchFinish(),e.pauseOnBlur&&(document?.hidden?(t.pageHidden=!0,t.pause()):(t.pageHidden=!1,t.animationStatus?t.play(!0):t.draw(!0)))},this._handleWindowResize=()=>{this._resizeTimeout&&(clearTimeout(this._resizeTimeout),delete this._resizeTimeout);const t=async()=>{const t=this.container.canvas;await(t?.windowResize())};this._resizeTimeout=setTimeout((()=>{t()}),this.container.actualOptions.interactivity.events.resize.delay*g)},this._manageInteractivityListeners=(t,e)=>{const i=this._handlers,n=this.container,a=n.actualOptions,u=n.interactivity.element;if(!u)return;const p=u,f=n.canvas;f.setPointerEvents(p===f.element?"initial":"none"),(a.interactivity.events.onHover.enable||a.interactivity.events.onClick.enable)&&(os(u,r,i.mouseMove,e),os(u,c,i.touchStart,e),os(u,l,i.touchMove,e),a.interactivity.events.onClick.enable?(os(u,h,i.touchEndClick,e),os(u,o,i.mouseUp,e),os(u,s,i.mouseDown,e)):os(u,h,i.touchEnd,e),os(u,t,i.mouseLeave,e),os(u,d,i.touchCancel,e))},this._manageListeners=t=>{const e=this._handlers,i=this.container,s=i.actualOptions.interactivity.detectsOn,o=i.canvas.element;let r=n;s===ui.window?(i.interactivity.element=window,r=a):s===ui.parent&&o?i.interactivity.element=o.parentElement??o.parentNode:i.interactivity.element=o,this._manageMediaMatch(t),this._manageResize(t),this._manageInteractivityListeners(r,t),document&&os(document,p,e.visibilityChange,t,!1)},this._manageMediaMatch=t=>{const e=this._handlers,i=Ae("(prefers-color-scheme: dark)");i&&(void 0===i.addEventListener?void 0!==i.addListener&&(t?i.addListener(e.oldThemeChange):i.removeListener(e.oldThemeChange)):os(i,"change",e.themeChange,t))},this._manageResize=t=>{const e=this._handlers,i=this.container;if(!i.actualOptions.interactivity.events.resize)return;if("undefined"==typeof ResizeObserver)return void os(window,u,e.resize,t);const s=i.canvas.element;this._resizeObserver&&!t?(s&&this._resizeObserver.unobserve(s),this._resizeObserver.disconnect(),delete this._resizeObserver):!this._resizeObserver&&t&&s&&(this._resizeObserver=new ResizeObserver((t=>{t.find((t=>t.target===s))&&this._handleWindowResize()})),this._resizeObserver.observe(s))},this._mouseDown=()=>{const{interactivity:t}=this.container;if(!t)return;const{mouse:e}=t;e.clicking=!0,e.downPosition=e.position},this._mouseTouchClick=t=>{const e=this.container,i=e.actualOptions,{mouse:s}=e.interactivity;s.inside=!0;let o=!1;const n=s.position;if(n&&i.interactivity.events.onClick.enable){for(const t of e.plugins.values())if(t.clickPositionValid&&(o=t.clickPositionValid(n),o))break;o||this._doMouseTouchClick(t),s.clicking=!1}},this._mouseTouchFinish=()=>{const t=this.container.interactivity;if(!t)return;const e=t.mouse;delete e.position,delete e.clickPosition,delete e.downPosition,t.status=n,e.inside=!1,e.clicking=!1},this._mouseTouchMove=t=>{const e=this.container,i=e.actualOptions,s=e.interactivity,o=e.canvas.element;if(!s?.element)return;let n;if(s.mouse.inside=!0,t.type.startsWith("pointer")){this._canPush=!0;const e=t;if(s.element===window){if(o){const t=o.getBoundingClientRect();n={x:e.clientX-t.left,y:e.clientY-t.top}}}else if(i.interactivity.detectsOn===ui.parent){const t=e.target,i=e.currentTarget;if(t&&i&&o){const s=t.getBoundingClientRect(),a=i.getBoundingClientRect(),r=o.getBoundingClientRect();n={x:e.offsetX+x*s.left-(a.left+r.left),y:e.offsetY+x*s.top-(a.top+r.top)}}else n={x:e.offsetX??e.clientX,y:e.offsetY??e.clientY}}else e.target===o&&(n={x:e.offsetX??e.clientX,y:e.offsetY??e.clientY})}else if(this._canPush="touchmove"!==t.type,o){const e=t,i=e.touches[e.touches.length-Mt],s=o.getBoundingClientRect();n={x:i.clientX-(s.left??et),y:i.clientY-(s.top??et)}}const a=e.retina.pixelRatio;n&&(n.x*=a,n.y*=a),s.mouse.position=n,s.status=r},this._touchEnd=t=>{const e=t,i=Array.from(e.changedTouches);for(const t of i)this._touches.delete(t.identifier);this._mouseTouchFinish()},this._touchEndClick=t=>{const e=t,i=Array.from(e.changedTouches);for(const t of i)this._touches.delete(t.identifier);this._mouseTouchClick(t)},this._touchStart=t=>{const e=t,i=Array.from(e.changedTouches);for(const t of i)this._touches.set(t.identifier,performance.now());this._mouseTouchMove(t)},this._canPush=!0,this._touches=new Map,this._handlers={mouseDown:()=>this._mouseDown(),mouseLeave:()=>this._mouseTouchFinish(),mouseMove:t=>this._mouseTouchMove(t),mouseUp:t=>this._mouseTouchClick(t),touchStart:t=>this._touchStart(t),touchMove:t=>this._mouseTouchMove(t),touchEnd:t=>this._touchEnd(t),touchCancel:t=>this._touchEnd(t),touchEndClick:t=>this._touchEndClick(t),visibilityChange:()=>this._handleVisibilityChange(),themeChange:t=>this._handleThemeChange(t),oldThemeChange:t=>this._handleThemeChange(t),resize:()=>{this._handleWindowResize()}}}addListeners(){this._manageListeners(!0)}removeListeners(){this._manageListeners(!1)}}!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"}(pi||(pi={}));class as{constructor(){this.value=""}static create(t,e){const i=new as;return i.load(t),void 0!==e&&(Gt(e)||Xt(e)?i.load({value:e}):i.load(e)),i}load(t){Yt(t)||Yt(t.value)||(this.value=t.value)}}class rs{constructor(){this.color=new as,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){Yt(t)||(void 0!==t.color&&(this.color=as.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))}}class cs{constructor(){this.opacity=1}load(t){Yt(t)||(void 0!==t.color&&(this.color=as.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.opacity&&(this.opacity=t.opacity))}}class hs{constructor(){this.composite="destination-out",this.cover=new cs,this.enable=!1}load(t){if(!Yt(t)){if(void 0!==t.composite&&(this.composite=t.composite),void 0!==t.cover){const e=t.cover,i=Gt(t.cover)?{color:t.cover}:t.cover;this.cover.load(void 0!==e.color||void 0!==e.image?e:{color:i})}void 0!==t.enable&&(this.enable=t.enable)}}}class ls{constructor(){this.enable=!0,this.zIndex=0}load(t){Yt(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}}class ds{constructor(){this.enable=!1,this.mode=[]}load(t){Yt(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode))}}!function(t){t.circle="circle",t.rectangle="rectangle"}(fi||(fi={}));class us{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=fi.circle}load(t){Yt(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))}}class ps{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(t){Yt(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))}}class fs{constructor(){this.enable=!1,this.mode=[],this.parallax=new ps}load(t){Yt(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),this.parallax.load(t.parallax))}}class ms{constructor(){this.delay=.5,this.enable=!0}load(t){Yt(t)||(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.enable&&(this.enable=t.enable))}}class vs{constructor(){this.onClick=new ds,this.onDiv=new us,this.onHover=new fs,this.resize=new ms}load(t){if(Yt(t))return;this.onClick.load(t.onClick);const e=t.onDiv;void 0!==e&&(this.onDiv=ei(e,(t=>{const e=new us;return e.load(t),e}))),this.onHover.load(t.onHover),this.resize.load(t.resize)}}class gs{constructor(t,e){this._engine=t,this._container=e}load(t){if(Yt(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)}}class ys{constructor(t,e){this.detectsOn=ui.window,this.events=new vs,this.modes=new gs(t,e)}load(t){if(Yt(t))return;const e=t.detectsOn;void 0!==e&&(this.detectsOn=e),this.events.load(t.events),this.modes.load(t.modes)}}class _s{load(t){Yt(t)||(t.position&&(this.position={x:t.position.x??St,y:t.position.y??St,mode:t.position.mode??Ce.percent}),t.options&&(this.options=je({},t.options)))}}!function(t){t.screen="screen",t.canvas="canvas"}(mi||(mi={}));class bs{constructor(){this.maxWidth=1/0,this.options={},this.mode=mi.canvas}load(t){Yt(t)||(Yt(t.maxWidth)||(this.maxWidth=t.maxWidth),Yt(t.mode)||(t.mode===mi.screen?this.mode=mi.screen:this.mode=mi.canvas),Yt(t.options)||(this.options=je({},t.options)))}}!function(t){t.any="any",t.dark="dark",t.light="light"}(vi||(vi={}));class ws{constructor(){this.auto=!1,this.mode=vi.any,this.value=!1}load(t){Yt(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))}}class xs{constructor(){this.name="",this.default=new ws}load(t){Yt(t)||(void 0!==t.name&&(this.name=t.name),this.default.load(t.default),void 0!==t.options&&(this.options=je({},t.options)))}}class zs{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){Yt(t)||(void 0!==t.count&&(this.count=ue(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=ue(t.speed)),void 0!==t.decay&&(this.decay=ue(t.decay)),void 0!==t.delay&&(this.delay=ue(t.delay)),void 0!==t.sync&&(this.sync=t.sync))}}class Ms extends zs{constructor(){super(),this.mode=Pe.auto,this.startValue=Re.random}load(t){super.load(t),Yt(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}}class Ps extends zs{constructor(){super(),this.offset=0,this.sync=!0}load(t){super.load(t),Yt(t)||void 0!==t.offset&&(this.offset=ue(t.offset))}}class Os{constructor(){this.h=new Ps,this.s=new Ps,this.l=new Ps}load(t){Yt(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}class ks extends as{constructor(){super(),this.animation=new Os}static create(t,e){const i=new ks;return i.load(t),void 0!==e&&(Gt(e)||Xt(e)?i.load({value:e}):i.load(e)),i}load(t){if(super.load(t),Yt(t))return;const e=t.animation;void 0!==e&&(void 0!==e.enable?this.animation.h.load(e):this.animation.load(t.animation))}}!function(t){t.absorb="absorb",t.bounce="bounce",t.destroy="destroy"}(gi||(gi={}));class Ss{constructor(){this.speed=2}load(t){Yt(t)||void 0!==t.speed&&(this.speed=t.speed)}}class Cs{constructor(){this.enable=!0,this.retries=0}load(t){Yt(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.retries&&(this.retries=t.retries))}}class Rs{constructor(){this.value=0}load(t){Yt(t)||Yt(t.value)||(this.value=ue(t.value))}}class Ts extends Rs{constructor(){super(),this.animation=new zs}load(t){if(super.load(t),Yt(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class Is extends Ts{constructor(){super(),this.animation=new Ms}load(t){super.load(t)}}class Ds extends Rs{constructor(){super(),this.value=1}}class Es{constructor(){this.horizontal=new Ds,this.vertical=new Ds}load(t){Yt(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}class Ls{constructor(){this.absorb=new Ss,this.bounce=new Es,this.enable=!1,this.maxSpeed=50,this.mode=gi.bounce,this.overlap=new Cs}load(t){Yt(t)||(this.absorb.load(t.absorb),this.bounce.load(t.bounce),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.maxSpeed&&(this.maxSpeed=ue(t.maxSpeed)),void 0!==t.mode&&(this.mode=t.mode),this.overlap.load(t.overlap))}}class Fs{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(t){if(Yt(t))return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=je(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)}}class As{constructor(){this.offset=0,this.value=90}load(t){Yt(t)||(void 0!==t.offset&&(this.offset=ue(t.offset)),void 0!==t.value&&(this.value=ue(t.value)))}}class Vs{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(t){if(!Yt(t)&&(void 0!==t.distance&&(this.distance=ue(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)}}}class Bs{constructor(){this.x=50,this.y=50,this.mode=Ce.percent,this.radius=0}load(t){Yt(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))}}class Hs{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){Yt(t)||(void 0!==t.acceleration&&(this.acceleration=ue(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.inverse&&(this.inverse=t.inverse),void 0!==t.maxSpeed&&(this.maxSpeed=ue(t.maxSpeed)))}}class Ws{constructor(){this.clamp=!0,this.delay=new Rs,this.enable=!1,this.options={}}load(t){Yt(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=je(this.options,t.options)))}}class Us{load(t){Yt(t)||(void 0!==t.color&&(this.color=as.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image))}}class qs{constructor(){this.enable=!1,this.length=10,this.fill=new Us}load(t){Yt(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.fill&&this.fill.load(t.fill),void 0!==t.length&&(this.length=t.length))}}!function(t){t.bounce="bounce",t.none="none",t.out="out",t.destroy="destroy",t.split="split"}(yi||(yi={}));class $s{constructor(){this.default=yi.out}load(t){Yt(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)}}class Gs{constructor(){this.acceleration=0,this.enable=!1}load(t){Yt(t)||(void 0!==t.acceleration&&(this.acceleration=ue(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),t.position&&(this.position=je({},t.position)))}}class Ns{constructor(){this.angle=new As,this.attract=new Vs,this.center=new Bs,this.decay=0,this.distance={},this.direction=qt.none,this.drift=0,this.enable=!1,this.gravity=new Hs,this.path=new Ws,this.outModes=new $s,this.random=!1,this.size=!1,this.speed=2,this.spin=new Gs,this.straight=!1,this.trail=new qs,this.vibrate=!1,this.warp=!1}load(t){if(Yt(t))return;this.angle.load(Nt(t.angle)?{value:t.angle}:t.angle),this.attract.load(t.attract),this.center.load(t.center),void 0!==t.decay&&(this.decay=ue(t.decay)),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=Nt(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),void 0!==t.drift&&(this.drift=ue(t.drift)),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity);const e=t.outModes;void 0!==e&&(Qt(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=ue(t.speed)),this.spin.load(t.spin),void 0!==t.straight&&(this.straight=t.straight),this.trail.load(t.trail),void 0!==t.vibrate&&(this.vibrate=t.vibrate),void 0!==t.warp&&(this.warp=t.warp)}}class js extends Ms{constructor(){super(),this.destroy=ke.none,this.speed=2}load(t){super.load(t),Yt(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}class Qs extends Is{constructor(){super(),this.animation=new js,this.value=1}load(t){if(Yt(t))return;super.load(t);const e=t.animation;void 0!==e&&this.animation.load(e)}}class Xs{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(t){if(Yt(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)}}!function(t){t.delete="delete",t.wait="wait"}(_i||(_i={}));class Ys{constructor(){this.mode=_i.delete,this.value=0}load(t){Yt(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}class Zs{constructor(){this.density=new Xs,this.limit=new Ys,this.value=0}load(t){Yt(t)||(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}}class Js{constructor(){this.blur=0,this.color=new as,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(t){Yt(t)||(void 0!==t.blur&&(this.blur=t.blur),this.color=as.create(this.color,t.color),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.offset&&(void 0!==t.offset.x&&(this.offset.x=t.offset.x),void 0!==t.offset.y&&(this.offset.y=t.offset.y)))}}class Ks{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(t){if(Yt(t))return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=je(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)}}class to extends Ms{constructor(){super(),this.destroy=ke.none,this.speed=5}load(t){super.load(t),Yt(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}class eo extends Is{constructor(){super(),this.animation=new to,this.value=3}load(t){if(super.load(t),Yt(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class io{constructor(){this.width=0}load(t){Yt(t)||(void 0!==t.color&&(this.color=ks.create(this.color,t.color)),void 0!==t.width&&(this.width=ue(t.width)),void 0!==t.opacity&&(this.opacity=ue(t.opacity)))}}class so extends Rs{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),Yt(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))}}class oo{constructor(t,e){this._engine=t,this._container=e,this.bounce=new Es,this.collisions=new Ls,this.color=new ks,this.color.value="#fff",this.effect=new Fs,this.groups={},this.move=new Ns,this.number=new Zs,this.opacity=new Qs,this.reduceDuplicates=!1,this.shadow=new Js,this.shape=new Ks,this.size=new eo,this.stroke=new io,this.zIndex=new so}load(t){if(Yt(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]=je(this.groups[e]??{},i))}void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.color.load(ks.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.shadow.load(t.shadow),this.zIndex.load(t.zIndex),this.collisions.load(t.collisions),void 0!==t.interactivity&&(this.interactivity=je({},t.interactivity));const e=t.stroke;if(e&&(this.stroke=ei(e,(t=>{const e=new io;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)}}}function no(t,...e){for(const i of e)t.load(i)}function ao(t,e,...i){const s=new oo(t,e);return no(s,...i),s}class ro{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===vi.any)),this._importPreset=t=>{this.load(this._engine.getPreset(t))},this._engine=t,this._container=e,this.autoPlay=!0,this.background=new rs,this.backgroundMask=new hs,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new ls,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new ys(t,e),this.manualParticles=[],this.particles=ao(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(Yt(t))return;void 0!==t.preset&&ei(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=ue(t.delay));const e=t.detectRetina;void 0!==e&&(this.detectRetina=e),void 0!==t.duration&&(this.duration=ue(t.duration));const i=t.fpsLimit;void 0!==i&&(this.fpsLimit=i),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;$t(s)?this.fullScreen.enable=s:this.fullScreen.load(s),this.backgroundMask.load(t.backgroundMask),this.interactivity.load(t.interactivity),t.manualParticles&&(this.manualParticles=t.manualParticles.map((t=>{const e=new _s;return e.load(t),e}))),this.particles.load(t.particles),this.style=je(this.style,t.style),this._engine.loadOptions(this,t),void 0!==t.smooth&&(this.smooth=t.smooth);const o=this._engine.interactors.get(this._container);if(o)for(const e of o)e.loadOptions&&e.loadOptions(this,t);if(void 0!==t.responsive)for(const e of t.responsive){const t=new bs;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 xs;t.load(e),this.themes.push(t)}}this.defaultThemes.dark=this._findDefaultTheme(vi.dark)?.name,this.defaultThemes.light=this._findDefaultTheme(vi.light)?.name}setResponsive(t,e,i){this.load(i);const s=this.responsive.find((i=>i.mode===mi.screen&&screen?i.maxWidth>screen.availWidth:i.maxWidth*e>t));return this.load(s?.options),s?.maxWidth}setTheme(t){if(t){const e=this.themes.find((e=>e.name===t));e&&this.load(e.options)}else{const t=Ae("(prefers-color-scheme: dark)"),e=t?.matches,i=this._findDefaultTheme(e?vi.dark:vi.light);i&&this.load(i.options)}}}!function(t){t.external="external",t.particles="particles"}(bi||(bi={}));class co{constructor(t,e){this.container=e,this._engine=t,this._interactors=[],this._externalInteractors=[],this._particleInteractors=[]}externalInteract(t){for(const e of this._externalInteractors)e.isEnabled()&&e.interact(t)}handleClickMode(t){for(const e of this._externalInteractors)e.handleClickMode?.(t)}async init(){this._interactors=await this._engine.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[];for(const t of this._interactors){switch(t.type){case bi.external:this._externalInteractors.push(t);break;case bi.particles:this._particleInteractors.push(t)}t.init()}}particlesInteract(t,e){for(const i of this._externalInteractors)i.clear(t,e);for(const i of this._particleInteractors)i.isEnabled(t)&&i.interact(t,e)}reset(t){for(const e of this._externalInteractors)e.isEnabled()&&e.reset(t);for(const e of this._particleInteractors)e.isEnabled(t)&&e.reset(t)}}function ho(t){if(!He(t.outMode,t.checkModes))return;const e=t.radius*x;t.coord>t.maxCoord-e?t.setCb(-t.radius):t.coord<e&&t.setCb(t.radius)}!function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(wi||(wi={}));class lo{constructor(t,e){this.container=e,this._calcPosition=(t,e,i,s=C)=>{for(const s of t.plugins.values()){const t=void 0!==s.particlePosition?s.particlePosition(e,this):void 0;if(t)return Zt.create(t.x,t.y,i)}const o=xe({size:t.canvas.size,position:e}),n=Zt.create(o.x,o.y,i),a=this.getRadius(),r=this.options.move.outModes,c=e=>{ho({outMode:e,checkModes:[yi.bounce],coord:n.x,maxCoord:t.canvas.size.width,setCb:t=>n.x+=t,radius:a})},h=e=>{ho({outMode:e,checkModes:[yi.bounce],coord:n.y,maxCoord:t.canvas.size.height,setCb:t=>n.y+=t,radius:a})};return c(r.left??r.default),c(r.right??r.default),h(r.top??r.default),h(r.bottom??r.default),this._checkOverlap(n,s)?this._calcPosition(t,void 0,i,s+ut):n},this._calculateVelocity=()=>{const t=ge(this.direction).copy(),e=this.options.move;if(e.direction===qt.inside||e.direction===qt.outside)return t;const i=me(he(e.angle.value)),s=me(he(e.angle.offset)),o={left:s-i*v,right:s+i*v};return e.straight||(t.angle+=ce(ue(o.left,o.right))),e.random&&"number"==typeof e.speed&&(t.length*=ie()),t},this._checkOverlap=(t,e=C)=>{const i=this.options.collisions,s=this.getRadius();if(!i.enable)return!1;const o=i.overlap;if(o.enable)return!1;const n=o.retries;if(n>=pt&&e>n)throw new Error(`${f} particle is overlapping and can't be placed`);return!!this.container.particles.find((e=>fe(t,e.position)<s+e.getRadius()))},this._getRollColor=t=>{if(!t||!this.roll||!this.backColor&&!this.roll.alter)return t;const e=this.roll.horizontal&&this.roll.vertical?x*ft:ft,i=this.roll.horizontal?Math.PI*v:lt;return Math.floor(((this.roll.angle??lt)+i)/(Math.PI/e))%x?this.backColor?this.backColor:this.roll.alter?ts(t,this.roll.alter.type,this.roll.alter.value):t:t},this._initPosition=t=>{const e=this.container,i=he(this.options.zIndex.value);this.position=this._calcPosition(e,t,ae(i,mt,e.zLayers)),this.initialPosition=this.position.copy();const s=e.canvas.size;switch(this.moveCenter={...ai(this.options.move.center,s),radius:this.options.move.center.radius??vt,mode:this.options.move.center.mode??Ce.percent},this.direction=ve(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case qt.inside:this.outType=wi.inside;break;case qt.outside:this.outType=wi.outside}this.offset=Jt.origin},this._engine=t}destroy(t){if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const e=this.container,i=this.pathGenerator,s=e.shapeDrawers.get(this.shape);s?.particleDestroy?.(this);for(const i of e.plugins.values())i.particleDestroyed?.(this,t);for(const i of e.particles.updaters)i.particleDestroyed?.(this,t);i?.reset(this),this._engine.dispatchEvent(pi.particleDestroyed,{container:this.container,data:{particle:this}})}draw(t){const e=this.container,i=e.canvas;for(const s of e.plugins.values())i.drawParticlePlugin(s,this,t);i.drawParticle(this,t)}getFillColor(){return this._getRollColor(this.bubble.color??Bi(this.color))}getMass(){return this.getRadius()**R*Math.PI*v}getPosition(){return{x:this.position.x+this.offset.x,y:this.position.y+this.offset.y,z:this.position.z}}getRadius(){return this.bubble.radius??this.size.value}getStrokeColor(){return this._getRollColor(this.bubble.color??Bi(this.strokeColor))}init(t,e,i,s){const o=this.container,n=this._engine;this.id=t,this.group=s,this.effectClose=!0,this.effectFill=!0,this.shapeClose=!0,this.shapeFill=!0,this.pathRotation=!1,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.isRotating=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType=wi.normal,this.ignoresResizeRatio=!0;const a=o.retina.pixelRatio,r=o.actualOptions,c=ao(this._engine,o,r.particles),{reduceDuplicates:h}=c,l=c.effect.type,d=c.shape.type;this.effect=ii(l,this.id,h),this.shape=ii(d,this.id,h);const u=c.effect,p=c.shape;if(i){if(i.effect?.type){const t=ii(i.effect.type,this.id,h);t&&(this.effect=t,u.load(i.effect))}if(i.shape?.type){const t=ii(i.shape.type,this.id,h);t&&(this.shape=t,p.load(i.shape))}}if(this.effect===b){const t=[...this.container.effectDrawers.keys()];this.effect=t[Math.floor(ie()*t.length)]}if(this.shape===b){const t=[...this.container.shapeDrawers.keys()];this.shape=t[Math.floor(ie()*t.length)]}this.effectData=function(t,e,i,s){const o=e.options[t];if(o)return je({close:e.close,fill:e.fill},ii(o,i,s))}(this.effect,u,this.id,h),this.shapeData=function(t,e,i,s){const o=e.options[t];if(o)return je({close:e.close,fill:e.fill},ii(o,i,s))}(this.shape,p,this.id,h),c.load(i);const f=this.effectData;f&&c.load(f.particles);const m=this.shapeData;m&&c.load(m.particles);const v=new ys(n,o);v.load(o.actualOptions.interactivity),v.load(c.interactivity),this.interactivity=v,this.effectFill=f?.fill??c.effect.fill,this.effectClose=f?.close??c.effect.close,this.shapeFill=m?.fill??c.shape.fill,this.shapeClose=m?.close??c.shape.close,this.options=c;const y=this.options.move.path;this.pathDelay=he(y.delay.value)*g,y.generator&&(this.pathGenerator=this._engine.getPathGenerator(y.generator),this.pathGenerator&&o.addPath(y.generator,this.pathGenerator)&&this.pathGenerator.init(o)),o.retina.initParticle(this),this.size=oi(this.options.size,a),this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this._initPosition(e),this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy(),this.moveDecay=dt-he(this.options.move.decay);const _=o.particles;_.setLastZIndex(this.position.z),this.zIndexFactor=this.position.z/o.zLayers,this.sides=24;let w=o.effectDrawers.get(this.effect);w||(w=this._engine.getEffectDrawer(this.effect),w&&o.effectDrawers.set(this.effect,w)),w?.loadEffect&&w.loadEffect(this);let x=o.shapeDrawers.get(this.shape);x||(x=this._engine.getShapeDrawer(this.shape),x&&o.shapeDrawers.set(this.shape,x)),x?.loadShape&&x.loadShape(this);const z=x?.getSidesCount;z&&(this.sides=z(this)),this.spawning=!1,this.shadowColor=Mi(this._engine,this.options.shadow.color);for(const t of _.updaters)t.init(this);for(const t of _.movers)t.init?.(this);w?.particleInit?.(o,this),x?.particleInit?.(o,this);for(const t of o.plugins.values())t.particleCreated?.(this)}isInsideCanvas(){const t=this.getRadius(),e=this.container.canvas.size,i=this.position;return i.x>=-t&&i.y>=-t&&i.y<=e.height+t&&i.x<=e.width+t}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){for(const t of this.container.particles.updaters)t.reset?.(this)}}class uo{constructor(t,e){this.position=t,this.particle=e}}!function(t){t.circle="circle",t.rectangle="rectangle"}(xi||(xi={}));class po{constructor(t,e,i){this.position={x:t,y:e},this.type=i}}class fo extends po{constructor(t,e,i){super(t,e,xi.circle),this.radius=i}contains(t){return fe(t,this.position)<=this.radius}intersects(t){const e=this.position,i=t.position,s=Math.abs(i.x-e.x),o=Math.abs(i.y-e.y),n=this.radius;if(t instanceof fo||t.type===xi.circle){return n+t.radius>Math.sqrt(s**R+o**R)}if(t instanceof mo||t.type===xi.rectangle){const e=t,{width:i,height:a}=e.size;return Math.pow(s-i,R)+Math.pow(o-a,R)<=n**R||s<=n+i&&o<=n+a||s<=i||o<=a}return!1}}class mo extends po{constructor(t,e,i,s){super(t,e,xi.rectangle),this.size={height:s,width:i}}contains(t){const e=this.size.width,i=this.size.height,s=this.position;return t.x>=s.x&&t.x<=s.x+e&&t.y>=s.y&&t.y<=s.y+i}intersects(t){if(t instanceof fo)return t.intersects(this);const e=this.size.width,i=this.size.height,s=this.position,o=t.position,n=t instanceof mo?t.size:{width:0,height:0},a=n.width,r=n.height;return o.x<s.x+e&&o.x+a>s.x&&o.y<s.y+i&&o.y+r>s.y}}class vo{constructor(t,e){this.rectangle=t,this.capacity=e,this._subdivide=()=>{const{x:t,y:e}=this.rectangle.position,{width:i,height:s}=this.rectangle.size,{capacity:o}=this;for(let n=0;n<L;n++){const a=n%x;this._subs.push(new vo(new mo(t+i*v*a,e+s*v*(Math.round(n*v)-a),i*v,s*v),o))}this._divided=!0},this._points=[],this._divided=!1,this._subs=[]}insert(t){return!!this.rectangle.contains(t.position)&&(this._points.length<this.capacity?(this._points.push(t),!0):(this._divided||this._subdivide(),this._subs.some((e=>e.insert(t)))))}query(t,e){const i=[];if(!t.intersects(this.rectangle))return[];for(const s of this._points)!t.contains(s.position)&&fe(t.position,s.position)>s.particle.getRadius()&&(!e||e(s.particle))||i.push(s.particle);if(this._divided)for(const s of this._subs)i.push(...s.query(t,e));return i}queryCircle(t,e,i){return this.query(new fo(t.x,t.y,e),i)}queryRectangle(t,e,i){return this.query(new mo(t.x,t.y,e.width,e.height),i)}}const go=t=>{const{height:e,width:i}=t;return new mo(gt*i,gt*e,yt*i,yt*e)};class yo{constructor(t,e){this._addToPool=(...t)=>{this._pool.push(...t)},this._applyDensity=(t,e,i,s)=>{const o=t.number;if(!t.number.density?.enable)return void(void 0===i?this._limit=o.limit.value:(s?.number.limit?.value??o.limit.value)&&this._groupLimits.set(i,s?.number.limit?.value??o.limit.value));const n=this._initDensityFactor(o.density),a=o.value,r=o.limit.value>_t?o.limit.value:a,c=Math.min(a,r)*n+e,h=Math.min(this.count,this.filter((t=>t.group===i)).length);void 0===i?this._limit=o.limit.value*n:this._groupLimits.set(i,o.limit.value*n),h<c?this.push(Math.abs(c-h),void 0,t,i):h>c&&this.removeQuantity(h-c,i)},this._initDensityFactor=t=>{const e=this._container;if(!e.canvas.element||!t.enable)return Pt;const i=e.canvas.element,s=e.retina.pixelRatio;return i.width*i.height/(t.height*t.width*s**R)},this._pushParticle=(t,e,i,s)=>{try{let o=this._pool.pop();o||(o=new lo(this._engine,this._container)),o.init(this._nextId,t,e,i);let n=!0;if(s&&(n=s(o)),!n)return;return this._array.push(o),this._zArray.push(o),this._nextId++,this._engine.dispatchEvent(pi.particleAdded,{container:this._container,data:{particle:o}}),o}catch(t){De().warning(`${f} adding particle: ${t}`)}},this._removeParticle=(t,e,i)=>{const s=this._array[t];if(!s||s.group!==e)return!1;const o=this._zArray.indexOf(s);return this._array.splice(t,Ot),this._zArray.splice(o,Ot),s.destroy(i),this._engine.dispatchEvent(pi.particleRemoved,{container:this._container,data:{particle:s}}),this._addToPool(s),!0},this._engine=t,this._container=e,this._nextId=0,this._array=[],this._zArray=[],this._pool=[],this._limit=0,this._groupLimits=new Map,this._needsSort=!1,this._lastZIndex=0,this._interactionManager=new co(t,e),this._pluginsInitialized=!1;const i=e.canvas.size;this.quadTree=new vo(go(i),T),this.movers=[],this.updaters=[]}get count(){return this._array.length}addManualParticles(){const t=this._container;t.actualOptions.manualParticles.forEach((e=>this.addParticle(e.position?ai(e.position,t.canvas.size):void 0,e.options)))}addParticle(t,e,i,s){const o=this._container.actualOptions.particles.number.limit.mode,n=void 0===i?this._limit:this._groupLimits.get(i)??this._limit,a=this.count;if(n>_t)switch(o){case _i.delete:{const t=a+bt-n;t>wt&&this.removeQuantity(t);break}case _i.wait:if(a>=n)return}return this._pushParticle(t,e,i,s)}clear(){this._array=[],this._zArray=[],this._pluginsInitialized=!1}destroy(){this._array=[],this._zArray=[],this.movers=[],this.updaters=[]}draw(t){const e=this._container,i=e.canvas;i.clear(),this.update(t);for(const s of e.plugins.values())i.drawPlugin(s,t);for(const e of this._zArray)e.draw(t)}filter(t){return this._array.filter(t)}find(t){return this._array.find(t)}get(t){return this._array[t]}handleClickMode(t){this._interactionManager.handleClickMode(t)}async init(){const t=this._container,e=t.actualOptions;this._lastZIndex=0,this._needsSort=!1,await this.initPlugins();let i=!1;for(const e of t.plugins.values())if(i=e.particlesInitialization?.()??i,i)break;if(this.addManualParticles(),!i){const t=e.particles,i=t.groups;for(const e in i){const s=i[e];for(let i=this.count,o=0;o<s.number?.value&&i<t.number.value;i++,o++)this.addParticle(void 0,s,e)}for(let e=this.count;e<t.number.value;e++)this.addParticle()}}async initPlugins(){if(this._pluginsInitialized)return;const t=this._container;this.movers=await this._engine.getMovers(t,!0),this.updaters=await this._engine.getUpdaters(t,!0),await this._interactionManager.init();for(const e of t.pathGenerators.values())e.init(t)}push(t,e,i,s){for(let o=0;o<t;o++)this.addParticle(e?.position,i,s)}async redraw(){this.clear(),await this.init(),this.draw({value:0,factor:0})}remove(t,e,i){this.removeAt(this._array.indexOf(t),void 0,e,i)}removeAt(t,e=I,i,s){if(t<xt||t>this.count)return;let o=0;for(let n=t;o<e&&n<this.count;n++)this._removeParticle(n,i,s)&&(n--,o++)}removeQuantity(t,e){this.removeAt(xt,t,e)}setDensity(){const t=this._container.actualOptions,e=t.particles.groups,i=t.manualParticles.length;for(const t in e)this._applyDensity(e[t],i,t);this._applyDensity(t.particles,i)}setLastZIndex(t){this._lastZIndex=t,this._needsSort=this._needsSort||this._lastZIndex<t}setResizeFactor(t){this._resizeFactor=t}update(t){const e=this._container,i=new Set;this.quadTree=new vo(go(e.canvas.size),T);for(const t of e.pathGenerators.values())t.update();for(const i of e.plugins.values())i.update?.(t);const s=this._resizeFactor;for(const e of this._array){s&&!e.ignoresResizeRatio&&(e.position.x*=s.width,e.position.y*=s.height,e.initialPosition.x*=s.width,e.initialPosition.y*=s.height),e.ignoresResizeRatio=!1,this._interactionManager.reset(e);for(const i of this._container.plugins.values()){if(e.destroyed)break;i.particleUpdate?.(e,t)}for(const i of this.movers)i.isEnabled(e)&&i.move(e,t);e.destroyed?i.add(e):this.quadTree.insert(new uo(e.getPosition(),e))}if(i.size){const t=t=>!i.has(t);this._array=this.filter(t),this._zArray=this._zArray.filter(t);for(const t of i)this._engine.dispatchEvent(pi.particleRemoved,{container:this._container,data:{particle:t}});this._addToPool(...i)}this._interactionManager.externalInteract(t);for(const e of this._array){for(const i of this.updaters)i.update(e,t);e.destroyed||e.spawning||this._interactionManager.particlesInteract(e,t)}if(delete this._resizeFactor,this._needsSort){const t=this._zArray;t.sort(((t,e)=>e.position.z-t.position.z||t.id-e.id)),this._lastZIndex=t[t.length-Mt].position.z,this._needsSort=!1}}}class _o{constructor(t){this.container=t,this.pixelRatio=D,this.reduceFactor=E}init(){const t=this.container,e=t.actualOptions;this.pixelRatio=!e.detectRetina||Le()?D:devicePixelRatio,this.reduceFactor=E;const i=this.pixelRatio,s=t.canvas;if(s.element){const t=s.element;s.size.width=t.offsetWidth*i,s.size.height=t.offsetHeight*i}const o=e.particles,n=o.move;this.maxSpeed=he(n.gravity.maxSpeed)*i,this.sizeAnimationSpeed=he(o.size.animation.speed)*i}initParticle(t){const e=t.options,i=this.pixelRatio,s=e.move,o=s.distance,n=t.retina;n.moveDrift=he(s.drift)*i,n.moveSpeed=he(s.speed)*i,n.sizeAnimationSpeed=he(e.size.animation.speed)*i;const a=n.maxDistance;a.horizontal=void 0!==o.horizontal?o.horizontal*i:void 0,a.vertical=void 0!==o.vertical?o.vertical*i:void 0,n.maxSpeed=he(s.gravity.maxSpeed)*i}}function bo(t){return t&&!t.destroyed}function wo(t,e,...i){const s=new ro(t,e);return no(s,...i),s}class xo{constructor(t,e,i){this._intersectionManager=t=>{if(bo(this)&&this.actualOptions.pauseOnOutsideViewport)for(const e of t)e.target===this.interactivity.element&&(e.isIntersecting?this.play():this.pause())},this._nextFrame=t=>{try{if(!this._smooth&&void 0!==this._lastFrameTime&&t<this._lastFrameTime+g/this.fpsLimit)return void this.draw(!1);this._lastFrameTime??=t;const e=function(t,e=M,i=!1){return{value:t,factor:i?M/e:M*t/g}}(t-this._lastFrameTime,this.fpsLimit,this._smooth);if(this.addLifeTime(e.value),this._lastFrameTime=t,e.value>g)return void this.draw(!1);if(this.particles.draw(e),!this.alive())return void this.destroy();this.animationStatus&&this.draw(!1)}catch(t){De().error(`${f} in animation loop`,t)}},this._engine=t,this.id=Symbol(e),this.fpsLimit=120,this._smooth=!1,this._delay=0,this._duration=0,this._lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this._lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._clickHandlers=new Map,this._sourceOptions=i,this._initialSourceOptions=i,this.retina=new _o(this),this.canvas=new ss(this,this._engine),this.particles=new yo(this._engine,this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this._options=wo(this._engine,this),this.actualOptions=wo(this._engine,this),this._eventListeners=new ns(this),this._intersectionObserver=Ve((t=>this._intersectionManager(t))),this._engine.dispatchEvent(pi.containerBuilt,{container:this})}get animationStatus(){return!this._paused&&!this.pageHidden&&bo(this)}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(t){if(!bo(this))return;const e=this.interactivity.element;if(!e)return;const i=(e,i,s)=>{if(!bo(this))return;const o=this.retina.pixelRatio,n={x:i.x*o,y:i.y*o},a=this.particles.quadTree.queryCircle(n,s*o);t(e,a)};let s=!1,o=!1;this._clickHandlers.set("click",(t=>{if(!bo(this))return;const e=t,s={x:e.offsetX||e.clientX,y:e.offsetY||e.clientY};i(t,s,K)})),this._clickHandlers.set("touchstart",(()=>{bo(this)&&(s=!0,o=!1)})),this._clickHandlers.set("touchmove",(()=>{bo(this)&&(o=!0)})),this._clickHandlers.set("touchend",(t=>{if(bo(this)){if(s&&!o){const e=t;let s=e.touches[e.touches.length-tt];if(!s&&(s=e.changedTouches[e.changedTouches.length-tt],!s))return;const o=this.canvas.element,n=o?o.getBoundingClientRect():void 0,a={x:s.clientX-(n?n.left:et),y:s.clientY-(n?n.top:et)};i(t,a,Math.max(s.radiusX,s.radiusY))}s=!1,o=!1}})),this._clickHandlers.set("touchcancel",(()=>{bo(this)&&(s=!1,o=!1)}));for(const[t,i]of this._clickHandlers)e.addEventListener(t,i)}addLifeTime(t){this._lifeTime+=t}addPath(t,e,i=!1){return!(!bo(this)||!i&&this.pathGenerators.has(t))&&(this.pathGenerators.set(t,e),!0)}alive(){return!this._duration||this._lifeTime<=this._duration}clearClickHandlers(){if(bo(this)){for(const[t,e]of this._clickHandlers)this.interactivity.element?.removeEventListener(t,e);this._clickHandlers.clear()}}destroy(t=!0){if(bo(this)){this.stop(),this.clearClickHandlers(),this.particles.destroy(),this.canvas.destroy();for(const t of this.effectDrawers.values())t.destroy?.(this);for(const t of this.shapeDrawers.values())t.destroy?.(this);for(const t of this.effectDrawers.keys())this.effectDrawers.delete(t);for(const t of this.shapeDrawers.keys())this.shapeDrawers.delete(t);if(this._engine.clearPlugins(this),this.destroyed=!0,t){const t=this._engine.items,e=t.findIndex((t=>t===this));e>=st&&t.splice(e,it)}this._engine.dispatchEvent(pi.containerDestroyed,{container:this})}}draw(t){if(!bo(this))return;let e=t;const i=t=>{e&&(this._lastFrameTime=void 0,e=!1),this._nextFrame(t)};this._drawAnimationFrame=oe((t=>i(t)))}async export(t,e={}){for(const i of this.plugins.values()){if(!i.export)continue;const s=await i.export(t,e);if(s.supported)return s.blob}De().error(`${f} - Export plugin with type ${t} not found`)}handleClickMode(t){if(bo(this)){this.particles.handleClickMode(t);for(const e of this.plugins.values())e.handleClickMode?.(t)}}async init(){if(!bo(this))return;const t=this._engine.getSupportedEffects();for(const e of t){const t=this._engine.getEffectDrawer(e);t&&this.effectDrawers.set(e,t)}const e=this._engine.getSupportedShapes();for(const t of e){const e=this._engine.getShapeDrawer(t);e&&this.shapeDrawers.set(t,e)}await this.particles.initPlugins(),this._options=wo(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=wo(this._engine,this,this._options);const i=await this._engine.getAvailablePlugins(this);for(const[t,e]of i)this.plugins.set(t,e);this.retina.init(),await this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize();const{zLayers:s,duration:o,delay:n,fpsLimit:a,smooth:r}=this.actualOptions;this.zLayers=s,this._duration=he(o)*g,this._delay=he(n)*g,this._lifeTime=0,this.fpsLimit=a>nt?a:ot,this._smooth=r;for(const t of this.effectDrawers.values())await(t.init?.(this));for(const t of this.shapeDrawers.values())await(t.init?.(this));for(const t of this.plugins.values())await(t.init?.());this._engine.dispatchEvent(pi.containerInit,{container:this}),await this.particles.init(),this.particles.setDensity();for(const t of this.plugins.values())t.particlesSetup?.();this._engine.dispatchEvent(pi.particlesSetup,{container:this})}async loadTheme(t){bo(this)&&(this._currentTheme=t,await this.refresh())}pause(){if(bo(this)&&(void 0!==this._drawAnimationFrame&&(ne(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){for(const t of this.plugins.values())t.pause?.();this.pageHidden||(this._paused=!0),this._engine.dispatchEvent(pi.containerPaused,{container:this})}}play(t){if(!bo(this))return;const e=this._paused||t;if(!this._firstStart||this.actualOptions.autoPlay){if(this._paused&&(this._paused=!1),e)for(const t of this.plugins.values())t.play&&t.play();this._engine.dispatchEvent(pi.containerPlay,{container:this}),this.draw(e??!1)}else this._firstStart=!1}async refresh(){if(bo(this))return this.stop(),this.start()}async reset(t){if(bo(this))return this._initialSourceOptions=t,this._sourceOptions=t,this._options=wo(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=wo(this._engine,this,this._options),this.refresh()}async start(){bo(this)&&!this.started&&(await this.init(),this.started=!0,await new Promise((t=>{const e=async()=>{this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element);for(const t of this.plugins.values())await(t.start?.());this._engine.dispatchEvent(pi.containerStarted,{container:this}),this.play(),t()};this._delayTimeout=setTimeout((()=>{e()}),this._delay)})))}stop(){if(bo(this)&&this.started){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element);for(const t of this.plugins.values())t.stop?.();for(const t of this.plugins.keys())this.plugins.delete(t);this._sourceOptions=this._options,this._engine.dispatchEvent(pi.containerStopped,{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];const t=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this._responsiveMaxWidth!==t&&(this._responsiveMaxWidth=t,!0)}}class zo{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 s=i.length,o=i.indexOf(e);o<xt||(s===Ot?this._listeners.delete(t):i.splice(o,Ot))}}async function Mo(t,e,i,s=!1){let o=e.get(t);return o&&!s||(o=await Promise.all([...i.values()].map((e=>e(t)))),e.set(t,o)),o}class Po{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new zo,this._initialized=!1,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"3.9.0"}async addColorManager(t,e=!0){this.colorManagers.set(t.key,t),await this.refresh(e)}addConfig(t){const e=t.key??t.name??"default";this._configs.set(e,t),this._eventDispatcher.dispatchEvent(pi.configAdded,{data:{name:e,config:t}})}async addEasing(t,e,i=!0){this.getEasing(t)||(this.easingFunctions.set(t,e),await this.refresh(i))}async addEffect(t,e,i=!0){ei(t,(t=>{this.getEffectDrawer(t)||this.effectDrawers.set(t,e)})),await this.refresh(i)}addEventListener(t,e){this._eventDispatcher.addEventListener(t,e)}async addInteractor(t,e,i=!0){this._initializers.interactors.set(t,e),await this.refresh(i)}async addMover(t,e,i=!0){this._initializers.movers.set(t,e),await this.refresh(i)}async addParticleUpdater(t,e,i=!0){this._initializers.updaters.set(t,e),await this.refresh(i)}async addPathGenerator(t,e,i=!0){this.getPathGenerator(t)||this.pathGenerators.set(t,e),await this.refresh(i)}async addPlugin(t,e=!0){this.getPlugin(t.id)||this.plugins.push(t),await this.refresh(e)}async addPreset(t,e,i=!1,s=!0){!i&&this.getPreset(t)||this.presets.set(t,e),await this.refresh(s)}async addShape(t,e=!0){for(const e of t.validTypes)this.getShapeDrawer(e)||this.shapeDrawers.set(e,t);await this.refresh(e)}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 Mo(t,this.interactors,this._initializers.interactors,e)}async getMovers(t,e=!1){return Mo(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 Mo(t,this.updaters,this._initializers.updaters,e)}init(){this._initialized||(this._initialized=!0)}item(t){const{items:e}=this,i=e[t];if(i&&!i.destroyed)return i;e.splice(t,it)}async load(t){const e=t.id??t.element?.id??`tsparticles${Math.floor(ie()*rt)}`,{index:s,url:o}=t,n=o?await async function(t){const e=ii(t.url,t.index);if(!e)return t.fallback;const i=await fetch(e);return i.ok?await i.json():(De().error(`${f} ${i.status} while retrieving config file`),t.fallback)}({fallback:t.options,url:o,index:s}):t.options,a=ii(n,s),{items:r}=this,c=r.findIndex((t=>t.id.description===e)),h=new xo(this,e,a);if(c>=ct){const t=this.item(c),e=t?ht:lt;t&&!t.destroyed&&t.destroy(!1),r.splice(c,e,h)}else r.push(h);const l=((t,e)=>{let s=e??document.getElementById(t);return s||(s=document.createElement("div"),s.id=t,s.dataset[i]=O,document.body.append(s),s)})(e,t.element),d=(t=>{let e;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===S)e=t,e.dataset[i]||(e.dataset[i]=k);else{const s=t.getElementsByTagName(S);s.length?(e=s[at],e.dataset[i]=k):(e=document.createElement(S),e.dataset[i]=O,t.appendChild(e))}const s="100%";return e.style.width||(e.style.width=s),e.style.height||(e.style.height=s),e})(l);return h.canvas.loadCanvas(d),await h.start(),h}loadOptions(t,e){this.plugins.forEach((i=>i.loadOptions?.(t,e)))}loadParticlesOptions(t,e,...i){const s=this.updaters.get(t);s&&s.forEach((t=>t.loadOptions?.(e,...i)))}async refresh(t=!0){t&&await Promise.all(this.items.map((t=>t.refresh())))}removeEventListener(t,e){this._eventDispatcher.removeEventListener(t,e)}setOnClickHandler(t){const{items:e}=this;if(!e.length)throw new Error(`${f} can only set click handlers after calling tsParticles.load()`);e.forEach((e=>e.addClickHandler(t)))}}class Oo{constructor(t){this.type=bi.external,this.container=t}}class ko{constructor(t){this.type=bi.particles,this.container=t}}var So,Co,Ro;!function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(So||(So={})),function(t){t.linear="linear",t.radial="radial",t.random="random"}(Co||(Co={})),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"}(Ro||(Ro={}));const To=function(){const t=new Po;return t.init(),t}();Le()||(window.tsParticles=To);const Io=2*Math.PI;function Do(t,e,i,s,o,n,a){!function(t,e){const i=t.options,s=i.move.path;if(!s.enable)return;if(t.lastPathTime<=t.pathDelay)return void(t.lastPathTime+=e.value);const o=t.pathGenerator?.generate(t,e);o&&t.velocity.addTo(o);s.clamp&&(t.velocity.x=ae(t.velocity.x,-1,1),t.velocity.y=ae(t.velocity.y,-1,1));t.lastPathTime-=t.pathDelay}(t,a);const r=t.gravity,c=r?.enable&&r.inverse?-1:1;o&&i&&(t.velocity.x+=o*a.factor/(60*i)),r?.enable&&i&&(t.velocity.y+=c*(r.acceleration*a.factor)/(60*i));const h=t.moveDecay;t.velocity.multTo(h);const l=t.velocity.mult(i);r?.enable&&s>0&&(!r.inverse&&l.y>=0&&l.y>=s||r.inverse&&l.y<=0&&l.y<=-s)&&(l.y=c*s,i&&(t.velocity.y=l.y/i));const d=t.options.zIndex,u=(1-t.zIndexFactor)**d.velocityRate;l.multTo(u),l.multTo(n);const{position:p}=t;p.addTo(l),e.vibrate&&(p.x+=Math.sin(p.x*Math.cos(p.y))*n,p.y+=Math.cos(p.y*Math.sin(p.x))*n)}class Eo{init(t){const e=t.options.move.gravity;t.gravity={enable:e.enable,acceleration:he(e.acceleration),inverse:e.inverse},function(t){const e=t.container,i=t.options.move.spin;if(!i.enable)return;const s=i.position??{x:50,y:50},o={x:.01*s.x*e.canvas.size.width,y:.01*s.y*e.canvas.size.height},n=fe(t.getPosition(),o),a=he(i.acceleration);t.retina.spinAcceleration=a*e.retina.pixelRatio,t.spin={center:o,direction:t.velocity.x>=0?So.clockwise:So.counterClockwise,angle:ie()*Io,radius:n,acceleration:t.retina.spinAcceleration}}(t)}isEnabled(t){return!t.destroyed&&t.options.move.enable}move(t,e){const i=t.options,s=i.move;if(!s.enable)return;const o=t.container,n=o.retina.pixelRatio;t.retina.moveSpeed??=he(s.speed)*n,t.retina.moveDrift??=he(t.options.move.drift)*n;const a=function(t){return t.slow.inRange?t.slow.factor:1}(t),r=o.retina.reduceFactor,c=t.retina.moveSpeed,h=t.retina.moveDrift,l=de(i.size.value)*n,d=c*(s.size?t.getRadius()/l:1)*a*(e.factor||1)/2,u=t.retina.maxSpeed??o.retina.maxSpeed;s.spin.enable?function(t,e,i){const s=t.container;if(!t.spin)return;const o=t.spin.direction===So.clockwise,n={x:o?Math.cos:Math.sin,y:o?Math.sin:Math.cos};t.position.x=t.spin.center.x+t.spin.radius*n.x(t.spin.angle)*i,t.position.y=t.spin.center.y+t.spin.radius*n.y(t.spin.angle)*i,t.spin.radius+=t.spin.acceleration*i;const a=Math.max(s.canvas.size.width,s.canvas.size.height),r=.5*a;t.spin.radius>r?(t.spin.radius=r,t.spin.acceleration*=-1):t.spin.radius<0&&(t.spin.radius=0,t.spin.acceleration*=-1),t.spin.angle+=.01*e*(1-t.spin.radius/a)}(t,d,r):Do(t,s,d,u,h,r,e),function(t){const e=t.initialPosition,{dx:i,dy:s}=pe(e,t.position),o=Math.abs(i),n=Math.abs(s),{maxDistance:a}=t.retina,r=a.horizontal,c=a.vertical;if(!r&&!c)return;if((r&&o>=r||c&&n>=c)&&!t.misplaced)t.misplaced=!!r&&o>r||!!c&&n>c,r&&(t.velocity.x=.5*t.velocity.y-t.velocity.x),c&&(t.velocity.y=.5*t.velocity.x-t.velocity.y);else if((!r||o<r)&&(!c||n<c)&&t.misplaced)t.misplaced=!1;else if(t.misplaced){const i=t.position,s=t.velocity;r&&(i.x<e.x&&s.x<0||i.x>e.x&&s.x>0)&&(s.x*=-ie()),c&&(i.y<e.y&&s.y<0||i.y>e.y&&s.y>0)&&(s.y*=-ie())}}(t)}}const Lo=2*Math.PI,Fo=0,Ao=0;class Vo{constructor(){this.validTypes=["circle"]}draw(t){!function(t){const{context:e,particle:i,radius:s}=t;i.circleRange||(i.circleRange={min:0,max:Lo});const o=i.circleRange;e.arc(Fo,Ao,s,o.min,o.max,!1)}(t)}getSidesCount(){return 12}particleInit(t,e){const i=e.shapeData,s=i?.angle??{max:360,min:0};e.circleRange=Qt(s)?{min:me(s.min),max:me(s.max)}:{min:0,max:me(s)}}}class Bo{constructor(t,e){this._container=t,this._engine=e}init(t){const e=ki(this._engine,t.options.color,t.id,t.options.reduceDuplicates);e&&(t.color=Hi(e,t.options.color.animation,this._container.retina.reduceFactor))}isEnabled(t){const{h:e,s:i,l:s}=t.options.color.animation,{color:o}=t;return!t.destroyed&&!t.spawning&&(void 0!==o?.h.value&&e.enable||void 0!==o?.s.value&&i.enable||void 0!==o?.l.value&&s.enable)}update(t,e){qi(t.color,e)}}var Ho;!function(t){t[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=4]="a"}(Ho||(Ho={}));const Wo=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,Uo=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i;class qo{constructor(){this.key="hex",this.stringPrefix="#"}handleColor(t){return this._parseString(t.value)}handleRangeColor(t){return this._parseString(t.value)}parseString(t){return this._parseString(t)}_parseString(t){if("string"!=typeof t)return;if(!t?.startsWith(this.stringPrefix))return;const e=t.replace(Wo,((t,e,i,s,o)=>e+e+i+i+s+s+(void 0!==o?o+o:""))),i=Uo.exec(e);return i?{a:void 0!==i[Ho.a]?parseInt(i[Ho.a],16)/255:1,b:parseInt(i[Ho.b],16),g:parseInt(i[Ho.g],16),r:parseInt(i[Ho.r],16)}:void 0}}var $o;!function(t){t[t.h=1]="h",t[t.s=2]="s",t[t.l=3]="l",t[t.a=5]="a"}($o||($o={}));class Go{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(t){const e=t.value.hsl??t.value;if(void 0!==e.h&&void 0!==e.s&&void 0!==e.l)return Ti(e)}handleRangeColor(t){const e=t.value.hsl??t.value;if(void 0!==e.h&&void 0!==e.l)return Ti({h:he(e.h),l:he(e.l),s:he(e.s)})}parseString(t){if(!t.startsWith("hsl"))return;const e=/hsla?\(\s*(\d+)\s*[\s,]\s*(\d+)%\s*[\s,]\s*(\d+)%\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i.exec(t);return e?Ii({a:e.length>4?Me(e[$o.a]):1,h:parseInt(e[$o.h],10),l:parseInt(e[$o.l],10),s:parseInt(e[$o.s],10)}):void 0}}class No{constructor(t){this.container=t}init(t){const e=t.options.opacity;t.opacity=oi(e,1);const i=e.animation;i.enable&&(t.opacity.velocity=he(i.speed)/m*this.container.retina.reduceFactor,i.sync||(t.opacity.velocity*=ie()))}isEnabled(t){return!t.destroyed&&!t.spawning&&!!t.opacity&&t.opacity.enable&&((t.opacity.maxLoops??0)<=0||(t.opacity.maxLoops??0)>0&&(t.opacity.loops??0)<(t.opacity.maxLoops??0))}reset(t){t.opacity&&(t.opacity.time=0,t.opacity.loops=0)}update(t,e){this.isEnabled(t)&&t.opacity&&ci(t,t.opacity,!0,t.options.opacity.animation.destroy,e)}}class jo{constructor(t){this.container=t,this.modes=[yi.bounce,yi.split]}update(t,e,i,s){if(!this.modes.includes(s))return;const o=this.container;let n=!1;for(const s of o.plugins.values())if(void 0!==s.particleBounce&&(n=s.particleBounce(t,i,e)),n)break;if(n)return;const a=t.getPosition(),r=t.offset,c=t.getRadius(),h=Ne(a,c),l=o.canvas.size;!function(t){if(t.outMode!==yi.bounce&&t.outMode!==yi.split||t.direction!==Se.left&&t.direction!==Se.right)return;t.bounds.right<0&&t.direction===Se.left?t.particle.position.x=t.size+t.offset.x:t.bounds.left>t.canvasSize.width&&t.direction===Se.right&&(t.particle.position.x=t.canvasSize.width-t.size-t.offset.x);const e=t.particle.velocity.x;let i=!1;if(t.direction===Se.right&&t.bounds.right>=t.canvasSize.width&&e>0||t.direction===Se.left&&t.bounds.left<=0&&e<0){const e=he(t.particle.options.bounce.horizontal.value);t.particle.velocity.x*=-e,i=!0}if(!i)return;const s=t.offset.x+t.size;t.bounds.right>=t.canvasSize.width&&t.direction===Se.right?t.particle.position.x=t.canvasSize.width-s:t.bounds.left<=0&&t.direction===Se.left&&(t.particle.position.x=s),t.outMode===yi.split&&t.particle.destroy()}({particle:t,outMode:s,direction:e,bounds:h,canvasSize:l,offset:r,size:c}),function(t){if(t.outMode!==yi.bounce&&t.outMode!==yi.split||t.direction!==Se.bottom&&t.direction!==Se.top)return;t.bounds.bottom<0&&t.direction===Se.top?t.particle.position.y=t.size+t.offset.y:t.bounds.top>t.canvasSize.height&&t.direction===Se.bottom&&(t.particle.position.y=t.canvasSize.height-t.size-t.offset.y);const e=t.particle.velocity.y;let i=!1;if(t.direction===Se.bottom&&t.bounds.bottom>=t.canvasSize.height&&e>0||t.direction===Se.top&&t.bounds.top<=0&&e<0){const e=he(t.particle.options.bounce.vertical.value);t.particle.velocity.y*=-e,i=!0}if(!i)return;const s=t.offset.y+t.size;t.bounds.bottom>=t.canvasSize.height&&t.direction===Se.bottom?t.particle.position.y=t.canvasSize.height-s:t.bounds.top<=0&&t.direction===Se.top&&(t.particle.position.y=s),t.outMode===yi.split&&t.particle.destroy()}({particle:t,outMode:s,direction:e,bounds:h,canvasSize:l,offset:r,size:c})}}class Qo{constructor(t){this.container=t,this.modes=[yi.destroy]}update(t,e,i,s){if(!this.modes.includes(s))return;const o=this.container;switch(t.outType){case wi.normal:case wi.outside:if($e(t.position,o.canvas.size,Jt.origin,t.getRadius(),e))return;break;case wi.inside:{const{dx:e,dy:i}=pe(t.position,t.moveCenter),{x:s,y:o}=t.velocity;if(s<0&&e>t.moveCenter.radius||o<0&&i>t.moveCenter.radius||s>=0&&e<-t.moveCenter.radius||o>=0&&i<-t.moveCenter.radius)return;break}}o.particles.remove(t,t.group,!0)}}class Xo{constructor(t){this.container=t,this.modes=[yi.none]}update(t,e,i,s){if(!this.modes.includes(s))return;if((t.options.move.distance.horizontal&&(e===Se.left||e===Se.right))??(t.options.move.distance.vertical&&(e===Se.top||e===Se.bottom)))return;const o=t.options.move.gravity,n=this.container,a=n.canvas.size,r=t.getRadius();if(o.enable){const i=t.position;(!o.inverse&&i.y>a.height+r&&e===Se.bottom||o.inverse&&i.y<-r&&e===Se.top)&&n.particles.remove(t)}else{if(t.velocity.y>0&&t.position.y<=a.height+r||t.velocity.y<0&&t.position.y>=-r||t.velocity.x>0&&t.position.x<=a.width+r||t.velocity.x<0&&t.position.x>=-r)return;$e(t.position,n.canvas.size,Jt.origin,r,e)||n.particles.remove(t)}}}class Yo{constructor(t){this.container=t,this.modes=[yi.out]}update(t,e,i,s){if(!this.modes.includes(s))return;const o=this.container;switch(t.outType){case wi.inside:{const{x:e,y:i}=t.velocity,s=Jt.origin;s.length=t.moveCenter.radius,s.angle=t.velocity.angle+Math.PI,s.addTo(Jt.create(t.moveCenter));const{dx:n,dy:a}=pe(t.position,s);if(e<=0&&n>=0||i<=0&&a>=0||e>=0&&n<=0||i>=0&&a<=0)return;t.position.x=Math.floor(ce({min:0,max:o.canvas.size.width})),t.position.y=Math.floor(ce({min:0,max:o.canvas.size.height}));const{dx:r,dy:c}=pe(t.position,t.moveCenter);t.direction=Math.atan2(-c,-r),t.velocity.angle=t.direction;break}default:if($e(t.position,o.canvas.size,Jt.origin,t.getRadius(),e))return;switch(t.outType){case wi.outside:{t.position.x=Math.floor(ce({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.x,t.position.y=Math.floor(ce({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.y;const{dx:e,dy:i}=pe(t.position,t.moveCenter);t.moveCenter.radius&&(t.direction=Math.atan2(i,e),t.velocity.angle=t.direction);break}case wi.normal:{const i=t.options.move.warp,s=o.canvas.size,n={bottom:s.height+t.getRadius()+t.offset.y,left:-t.getRadius()-t.offset.x,right:s.width+t.getRadius()+t.offset.x,top:-t.getRadius()-t.offset.y},a=t.getRadius(),r=Ne(t.position,a);e===Se.right&&r.left>s.width+t.offset.x?(t.position.x=n.left,t.initialPosition.x=t.position.x,i||(t.position.y=ie()*s.height,t.initialPosition.y=t.position.y)):e===Se.left&&r.right<-t.offset.x&&(t.position.x=n.right,t.initialPosition.x=t.position.x,i||(t.position.y=ie()*s.height,t.initialPosition.y=t.position.y)),e===Se.bottom&&r.top>s.height+t.offset.y?(i||(t.position.x=ie()*s.width,t.initialPosition.x=t.position.x),t.position.y=n.top,t.initialPosition.y=t.position.y):e===Se.top&&r.bottom<-t.offset.y&&(i||(t.position.x=ie()*s.width,t.initialPosition.x=t.position.x),t.position.y=n.bottom,t.initialPosition.y=t.position.y);break}}}}}class Zo{constructor(t){this._addUpdaterIfMissing=(t,e,i)=>{const s=t.options.move.outModes;!this.updaters.has(e)&&((t,e)=>t.default===e||t.bottom===e||t.left===e||t.right===e||t.top===e)(s,e)&&this.updaters.set(e,i(this.container))},this._updateOutMode=(t,e,i,s)=>{for(const o of this.updaters.values())o.update(t,s,e,i)},this.container=t,this.updaters=new Map}init(t){this._addUpdaterIfMissing(t,yi.bounce,(t=>new jo(t))),this._addUpdaterIfMissing(t,yi.out,(t=>new Yo(t))),this._addUpdaterIfMissing(t,yi.destroy,(t=>new Qo(t))),this._addUpdaterIfMissing(t,yi.none,(t=>new Xo(t)))}isEnabled(t){return!t.destroyed&&!t.spawning}update(t,e){const i=t.options.move.outModes;this._updateOutMode(t,e,i.bottom??i.default,Se.bottom),this._updateOutMode(t,e,i.left??i.default,Se.left),this._updateOutMode(t,e,i.right??i.default,Se.right),this._updateOutMode(t,e,i.top??i.default,Se.top)}}var Jo;!function(t){t[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=5]="a"}(Jo||(Jo={}));class Ko{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(t){const e=t.value.rgb??t.value;if(void 0!==e.r)return e}handleRangeColor(t){const e=t.value.rgb??t.value;if(void 0!==e.r)return{r:he(e.r),g:he(e.g),b:he(e.b)}}parseString(t){if(!t.startsWith(this.stringPrefix))return;const e=/rgba?\(\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i.exec(t);return e?{a:e.length>4?Me(e[Jo.a]):1,b:parseInt(e[Jo.b],10),g:parseInt(e[Jo.g],10),r:parseInt(e[Jo.r],10)}:void 0}}class tn{init(t){const e=t.container,i=t.options.size.animation;i.enable&&(t.size.velocity=(t.retina.sizeAnimationSpeed??e.retina.sizeAnimationSpeed)/m*e.retina.reduceFactor,i.sync||(t.size.velocity*=ie()))}isEnabled(t){return!t.destroyed&&!t.spawning&&t.size.enable&&((t.size.maxLoops??0)<=0||(t.size.maxLoops??0)>0&&(t.size.loops??0)<(t.size.maxLoops??0))}reset(t){t.size.loops=0}update(t,e){this.isEnabled(t)&&ci(t,t.size,!0,t.options.size.animation.destroy,e)}}async function en(t,e=!0){t.checkVersion("3.9.0"),await async function(t,e=!0){t.checkVersion("3.9.0"),await t.addColorManager(new qo,e)}(t,!1),await async function(t,e=!0){t.checkVersion("3.9.0"),await t.addColorManager(new Go,e)}(t,!1),await async function(t,e=!0){t.checkVersion("3.9.0"),await t.addColorManager(new Ko,e)}(t,!1),await async function(t,e=!0){t.checkVersion("3.9.0"),await t.addMover("base",(()=>Promise.resolve(new Eo)),e)}(t,!1),await async function(t,e=!0){t.checkVersion("3.9.0"),await t.addShape(new Vo,e)}(t,!1),await async function(t,e=!0){t.checkVersion("3.9.0"),await t.addParticleUpdater("color",(e=>Promise.resolve(new Bo(e,t))),e)}(t,!1),await async function(t,e=!0){t.checkVersion("3.9.0"),await t.addParticleUpdater("opacity",(t=>Promise.resolve(new No(t))),e)}(t,!1),await async function(t,e=!0){t.checkVersion("3.9.0"),await t.addParticleUpdater("outModes",(t=>Promise.resolve(new Zo(t))),e)}(t,!1),await async function(t,e=!0){t.checkVersion("3.9.0"),await t.addParticleUpdater("size",(()=>Promise.resolve(new tn)),e)}(t,!1),await t.refresh(e)}return e})()));
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={75(t,e,i){i.d(e,{j:()=>r});var n=i(6900),o=i(9470),s=i(998),a=i(1546);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)))}}},496(t,e,i){i.d(e,{y:()=>s});var n=i(998),o=i(4400);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)))}}},569(t,e,i){var n;i.d(e,{l:()=>n}),function(t){t.any="any",t.dark="dark",t.light="light"}(n||(n={}))},622(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={}))},682(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={}))},952(t,e,i){i.d(e,{e:()=>a});var n=i(3115),o=i(998),s=i(4400);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))}}},998(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})},1048(t,e,i){i.d(e,{M:()=>o});var n=i(998);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)}}},1176(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={}))},1190(t,e,i){i.d(e,{V:()=>s});var n=i(1510),o=i(998);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))}}},1273(t,e,i){i.d(e,{j:()=>s});var n=i(1176),o=i(998);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)}}},1510(t,e,i){i.d(e,{O:()=>o});var n=i(998);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)}}},1546(t,e,i){i.d(e,{$G:()=>$,$O:()=>J,$_:()=>C,$v:()=>rt,$x:()=>A,BF:()=>Lt,BW:()=>w,Bp:()=>d,DG:()=>h,DN:()=>st,D_:()=>Dt,Dv:()=>Tt,Eo:()=>ut,FS:()=>Q,Fl:()=>Zt,G3:()=>u,GW:()=>U,IU:()=>zt,Ie:()=>H,JC:()=>it,K3:()=>kt,KZ:()=>tt,Kw:()=>T,L1:()=>q,LD:()=>Pt,M1:()=>mt,MX:()=>m,N5:()=>pt,NF:()=>p,Nu:()=>_t,Nx:()=>at,PZ:()=>ct,Pg:()=>V,R1:()=>z,RF:()=>O,RV:()=>X,Rb:()=>c,Rh:()=>yt,Rq:()=>N,TL:()=>et,U0:()=>K,Ug:()=>b,WH:()=>ht,X$:()=>E,X_:()=>ft,Xu:()=>g,Z0:()=>a,Zp:()=>_,a5:()=>f,aE:()=>It,aZ:()=>R,bo:()=>y,ce:()=>P,dm:()=>D,dv:()=>dt,eb:()=>n,eu:()=>G,gd:()=>M,hB:()=>I,hK:()=>Ct,hv:()=>Y,i8:()=>ot,iU:()=>Ft,jn:()=>Gt,l:()=>vt,lA:()=>Rt,mR:()=>x,ms:()=>o,nK:()=>v,nq:()=>xt,oi:()=>L,ou:()=>bt,pH:()=>Et,rq:()=>S,s7:()=>l,sf:()=>r,tA:()=>St,tR:()=>qt,td:()=>Ot,un:()=>gt,vF:()=>nt,vS:()=>Z,vd:()=>At,vo:()=>s,w2:()=>j,wM:()=>wt,xH:()=>lt,xd:()=>F,yx:()=>B,z$:()=>k,z9:()=>Mt,zg:()=>Vt,zs:()=>W});const n="generated",o="pointerdown",s="pointerup",a="pointerleave",r="pointerout",c="pointermove",l="touchstart",d="touchend",h="touchmove",u="touchcancel",p="resize",v="visibilitychange",f=100,m=.5,g=1e3,y={x:0,y:0,z:0},b={a:1,b:0,c:0,d:1},x="random",w="mid",M=2,z=Math.PI*M,k=60,R=1,P="true",E="false",O="canvas",S=0,D=2,T=4,F=1,A=1,_=1,V=4,I=1,L=255,Z=360,G=100,C=100,q=0,B=0,K=60,H=0,$=.25,N=m+$,U=0,W=1,j=0,J=0,X=1,Y=1,Q=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,pt=0,vt=1,ft=0,mt=0,gt=-$,yt=1.5,bt=0,xt=1,wt=0,Mt=0,zt=0,kt=1,Rt=1,Pt=1,Et=500,Ot=50,St=0,Dt=1,Tt=0,Ft=1,At=0,_t=3,Vt=6,It=1,Lt=1,Zt=0,Gt=0,Ct=0,qt=0},1602(t,e,i){i.d(e,{k:()=>o});var n=i(998);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))}}},1896(t,e,i){i.d(e,{Z:()=>o,y:()=>s});var n=i(5343);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}},1976(t,e,i){i.d(e,{G:()=>s});var n=i(7277),o=i(998);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))}}},1989(t,e,i){i.d(e,{b:()=>n});class n{constructor(t,e){this.position=t,this.particle=e}}},2091(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={}))},2141(t,e,i){i.d(e,{h:()=>s});var n=i(998),o=i(4400);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)))}}},2207(t,e,i){i.d(e,{L:()=>s});var n=i(1602),o=i(998);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))}}},2796(t,e,i){i.d(e,{F:()=>o});var n=i(5121);class o extends n.PV{constructor(){super(),this.value=1}}},2903(t,e,i){i.d(e,{R:()=>s});var n=i(998),o=i(4400);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)}}}},3048(t,e,i){i.d(e,{i:()=>s});var n=i(952),o=i(998);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))}}},3083(t,e,i){i.d(e,{t:()=>a});var n=i(6896),o=i(998),s=i(4400);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)))}}},3115(t,e,i){i.d(e,{Q:()=>c,p:()=>r});var n=i(682),o=i(7925),s=i(998),a=i(4400);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))}}},3618(t,e,i){i.d(e,{IU:()=>l,KG:()=>p,Md:()=>c,Sn:()=>r,V6:()=>a,VG:()=>f,Wb:()=>g,e_:()=>m,gF:()=>v,k:()=>h,l7:()=>s,p0:()=>d,yx:()=>y,z5:()=>u});var n=i(1546),o=i(5158);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.getAngle(),g=Math.sin(m),y=Math.cos(m),b=o.isRotating,x={a:y*(l.a??n.Ug.a),b:b?g*(l.b??n.D_):l.b??n.Ug.b,c:b?-g*(l.c??n.D_):l.c??n.Ug.c,d:y*(l.d??n.Ug.d)};i.setTransform(x.a,x.b,x.c,x.d,d.x,d.y),a.fill&&(i.fillStyle=a.fill);const w=o.strokeWidth??n.Dv;i.lineWidth=w,a.stroke&&(i.strokeStyle=a.stroke);const M={container:e,context:i,particle:o,radius:r,opacity:c,delta:s,transformData:x,strokeWidth:w};u(M),f(M),p(M),v(M),h(M),i.resetTransform()}function h(t){const{container:e,context:i,particle:o,radius:s,opacity:a,strokeWidth:r,delta:c,transformData:l}=t;if(!o.effect)return;const d=e.effectDrawers.get(o.effect),h=d?.drawAfter;h&&h({context:i,particle:o,radius:s,opacity:a,delta:c,pixelRatio:e.retina.pixelRatio,fill:o.shapeFill,stroke:r>n.Dv||!o.shapeFill,transformData:{...l}})}function u(t){const{container:e,context:i,particle:o,radius:s,opacity:a,strokeWidth:r,delta:c,transformData:l}=t;if(!o.effect)return;const d=e.effectDrawers.get(o.effect);d?.drawBefore&&d.drawBefore({context:i,particle:o,radius:s,opacity:a,delta:c,pixelRatio:e.retina.pixelRatio,fill:o.shapeFill,stroke:r>n.Dv||!o.shapeFill,transformData:{...l}})}function p(t){const{container:e,context:i,particle:o,radius:s,opacity:a,delta:r,strokeWidth:c,transformData:l}=t;if(!o.shape)return;const d=e.shapeDrawers.get(o.shape);d&&(i.beginPath(),d.draw({context:i,particle:o,radius:s,opacity:a,delta:r,pixelRatio:e.retina.pixelRatio,fill:o.shapeFill,stroke:c>n.Dv||!o.shapeFill,transformData:{...l}}),o.shapeClose&&i.closePath(),c>n.Dv&&i.stroke(),o.shapeFill&&i.fill())}function v(t){const{container:e,context:i,particle:o,radius:s,opacity:a,strokeWidth:r,delta:c,transformData:l}=t;if(!o.shape)return;const d=e.shapeDrawers.get(o.shape);d?.afterDraw&&d.afterDraw({context:i,particle:o,radius:s,opacity:a,delta:c,pixelRatio:e.retina.pixelRatio,fill:o.shapeFill,stroke:r>n.Dv||!o.shapeFill,transformData:{...l}})}function f(t){const{container:e,context:i,particle:o,radius:s,opacity:a,strokeWidth:r,delta:c,transformData:l}=t;if(!o.shape)return;const d=e.shapeDrawers.get(o.shape);d?.beforeDraw&&d.beforeDraw({context:i,particle:o,radius:s,opacity:a,delta:c,pixelRatio:e.retina.pixelRatio,fill:o.shapeFill,stroke:r>n.Dv||!o.shapeFill,transformData:{...l}})}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}}},3893(t,e,i){i.d(e,{r:()=>o});var n=i(998);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))}}},4337(t,e,i){i.d(e,{Z:()=>s});var n=i(6900),o=i(998);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))}}},4376(t,e,i){i.d(e,{y:()=>p});var n=i(6657),o=i(998),s=i(2141),a=i(2903),r=i(4337),c=i(496),l=i(9963),d=i(1273),h=i(5241),u=i(4400);class p{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)}}},4400(t,e,i){i.d(e,{$m:()=>E,AD:()=>p,DT:()=>M,G0:()=>h,JY:()=>P,M3:()=>_,Mh:()=>D,Nx:()=>F,OE:()=>d,OW:()=>O,Sg:()=>x,VG:()=>b,W9:()=>w,Yf:()=>k,e4:()=>u,eh:()=>S,i0:()=>v,jh:()=>g,l1:()=>T,pu:()=>R,px:()=>f,qE:()=>m,qM:()=>A,vE:()=>y,vr:()=>z});var n=i(6657),o=i(1546),s=i(7023),a=i(998);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 p(t,e){l.nextFrame=e=>t(e),l.cancel=t=>{e(t)}}function v(t){return l.nextFrame(t)}function f(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=w(t);let i=x(t);return e===i&&(i=0),u(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 k(t,e){return z(t,e).distance}function R(t){return t*r}function P(t,e,i){if((0,a.Et)(t))return R(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 E(t){const e=s.M.origin;return e.length=1,e.angle=t,e}function O(t,e,i,n){return s.M.create(t.x*(i-n)/(i+n)+e.x*o.gd*n/(i+n),t.y)}function S(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 T(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 F(t){return{x:t.position?.x??h()*t.size.width,y:t.position?.y??h()*t.size.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 F({size:t.size,position:e})}function _(t){return t?t.endsWith("%")?parseFloat(t)/o.a5:parseFloat(t):1}},4524(t,e,i){i.d(e,{I:()=>a});var n=i(9732),o=i(3115),s=i(998);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)}}},4699(t,e,i){i.d(e,{f:()=>s});var n=i(569),o=i(998);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))}}},4723(t,e,i){var n;i.d(e,{e:()=>n}),function(t){t.external="external",t.particles="particles"}(n||(n={}))},4764(t,e,i){var n;i.d(e,{H:()=>n}),function(t){t.increasing="increasing",t.decreasing="decreasing"}(n||(n={}))},4805(t,e,i){i.d(e,{J:()=>f});var n=i(9470),o=i(998),s=i(1190),a=i(6440),r=i(5368),c=i(75),l=i(8493),d=i(9442),h=i(9552),u=i(569),p=i(1896),v=i(4400);class f{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,p.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)}}}},4975(t,e,i){i.d(e,{BN:()=>l,EY:()=>M,Jv:()=>S,K6:()=>p,Ko:()=>O,LC:()=>w,OH:()=>y,O_:()=>R,PG:()=>k,R5:()=>u,YL:()=>m,_h:()=>z,ay:()=>g,eg:()=>f,mK:()=>h,pz:()=>P,qe:()=>d,xx:()=>b,zI:()=>v});var n=i(4400),o=i(1546),s=i(998),a=i(4764),r=i(9470);function c(t,e){if(e)for(const i of t.colorManagers.values())if(i.accepts(e))return i.parseString(e)}function l(t,e,i,n=!0){if(!e)return;const o=(0,s.Kg)(e)?{value:e}:e;if((0,s.Kg)(o.value))return d(t,o.value,i,n);if((0,s.cy)(o.value)){const e=(0,r.Vh)(o.value,i,n);if(!e)return;return l(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleRangeColor(o);if(t)return t}}function d(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?y():f(t,a.value);if((0,s.cy)(a.value)){const e=(0,r.Vh)(a.value,i,n);if(!e)return;return d(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleColor(a);if(t)return t}}function h(t,e,i,n=!0){const o=d(t,e,i,n);return o?p(o):void 0}function u(t,e,i,n=!0){const o=l(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 v(t,e){return c(t,e)?.a}function f(t,e){return c(t,e)}function m(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)),p=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(p),b:Math.round(v)}}function g(t){const e=m(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}function y(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 b(t,e,i){return e?x(t,i):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(e??o.hv).toString()})`}(t,i)}function x(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 w(t,e,i){return e?function(t,e){return x(m(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 M(t,e,i,o){let s=t,a=e;return Object.hasOwn(s,"r")||(s=m(t)),Object.hasOwn(a,"r")||(a=m(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 z(t,e,i){if(i===o.mR)return y();if(i!==o.BW)return i;{const i=t.getFillColor()??t.getStrokeColor(),n=e?.getFillColor()??e?.getStrokeColor();if(i&&n&&e)return M(i,n,t.getRadius(),e.getRadius());{const t=i??n;if(t)return m(t)}}}function k(t,e,i,n){const a=(0,s.Kg)(e)?e:e.value;return a===o.mR?n?l(t,{value:a}):i?o.mR:o.BW:a===o.BW?o.BW:l(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 P(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&&(E(n.h,e.h,i),E(n.s,e.s,i),E(n.l,e.l,i)),n}function E(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 O(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 S(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.$_}};O(i,a.h,!1,e),O(n,a.s,!0,e),O(s,a.l,!0,e)}},5121(t,e,i){i.d(e,{AI:()=>c,Jm:()=>r,PV:()=>a});var n=i(3115),o=i(998),s=i(4400);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)}}},5158(t,e,i){var n;i.d(e,{H:()=>n}),function(t){t.darken="darken",t.enlighten="enlighten"}(n||(n={}))},5189(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(4400),s=i(1546);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}}},5241(t,e,i){i.d(e,{t:()=>a});var n=i(9470),o=i(998),s=i(4400);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)))}}},5343(t,e,i){i.d(e,{U:()=>f});var n=i(9470),o=i(6896),s=i(998);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(4376),c=i(7028),l=i(6899),d=i(7663),h=i(6960),u=i(9384),p=i(3083),v=i(5758);class f{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 p.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 p.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)}}}},5368(t,e,i){i.d(e,{k:()=>r});var n=i(8944),o=i(8980),s=i(9828),a=i(998);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)}}},5511(t,e,i){var n;i.d(e,{d:()=>n}),function(t){t.delete="delete",t.wait="wait"}(n||(n={}))},5608(t,e,i){var n;i.d(e,{x:()=>n}),function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(n||(n={}))},5758(t,e,i){i.d(e,{P:()=>s});var n=i(5121),o=i(998);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))}}},6440(t,e,i){i.d(e,{m:()=>o});var n=i(998);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))}}},6474(t,e,i){i.d(e,{HKZ:()=>E.H,A9e:()=>V.A,gmr:()=>w.g,pK_:()=>I.p,H_P:()=>A.H,Jmi:()=>Mt.Jm,VS$:()=>L.V,dgY:()=>m.dg,jlt:()=>m.jl,rXQ:()=>q.r,evc:()=>Z.e,VKE:()=>O.V,GWL:()=>B.G,Q5V:()=>F.Q,mgy:()=>S,Bx4:()=>a.B,sVA:()=>K.s,sJd:()=>u,mcU:()=>G.m,hqM:()=>b,LOu:()=>H.L,i74:()=>C.i,kft:()=>U.k,hLK:()=>_.h,e9i:()=>h.e,dtg:()=>M.d,jLd:()=>j.j,dX$:()=>W.d,yUV:()=>nt.y,hzL:()=>ot.h,RE3:()=>it.R,Zgv:()=>st.Z,FWc:()=>y.F,y1u:()=>at.y,vU7:()=>ct.v,Y4E:()=>pt.Y,IhC:()=>vt.I,JYR:()=>J.J,Oit:()=>X.O,Yzx:()=>z.Y,v5k:()=>x.v,j$q:()=>rt.j,kQI:()=>$.k,x_I:()=>D.x,wvn:()=>Y.w,F5W:()=>Q.F,M1g:()=>ut.M,U4p:()=>p,NeW:()=>dt.N,Ad4:()=>ht.A,UOj:()=>tt.U,qiC:()=>k.q,bRX:()=>f.b,Q4c:()=>I.Q,AIw:()=>Mt.AI,M_G:()=>m.M_,z0z:()=>N.z,Ft2:()=>bt.F,ARr:()=>P.A,pTR:()=>v,ypk:()=>ft.y,or0:()=>mt.o,qvJ:()=>gt.q,tKH:()=>lt.t,SKz:()=>T.S,tcj:()=>et.t,Sxu:()=>xt.S,fKy:()=>wt.f,lGv:()=>R.l,PVU:()=>Mt.PV,Miz:()=>g.M,pGL:()=>g.p,Pyx:()=>yt.P,yxh:()=>zt.yx,i0Z:()=>c.i0,O2_:()=>o.O2,n02:()=>o.n0,NxB:()=>c.Nx,qMV:()=>c.qM,ehY:()=>c.eh,MhH:()=>c.Mh,l1q:()=>c.l1,AEc:()=>o.AE,pxm:()=>c.px,Nxk:()=>n.Nx,RFH:()=>n.RF,pEn:()=>o.pE,Tgl:()=>o.Tg,qE8:()=>c.qE,IUd:()=>zt.IU,l7g:()=>zt.l7,FSi:()=>n.FS,td3:()=>o.td,OWw:()=>c.OW,EYT:()=>kt.EY,mKQ:()=>kt.mK,qe:()=>kt.qe,nqC:()=>n.nq,WH8:()=>n.WH,zwS:()=>o.zw,aZx:()=>n.aZ,tAJ:()=>n.tA,lA:()=>n.lA,z$P:()=>n.z$,i8E:()=>n.i8,hKc:()=>n.hK,hvP:()=>n.hv,M1H:()=>n.M1,$xb:()=>n.$x,ZpR:()=>n.Zp,xd3:()=>n.xd,rqX:()=>n.rq,Fli:()=>n.Fl,tRb:()=>n.tR,UgP:()=>n.Ug,zss:()=>n.zs,jnW:()=>n.jn,puj:()=>c.pu,LDU:()=>n.LD,NVT:()=>o.NV,U6C:()=>o.U6,gdl:()=>n.gd,R1e:()=>n.R1,kac:()=>zt.k,z5n:()=>zt.z5,V6E:()=>zt.V6,p0m:()=>zt.p0,Wbn:()=>zt.Wb,e_p:()=>zt.e_,KG7:()=>zt.KG,gF3:()=>zt.gF,VGT:()=>zt.VG,Iex:()=>n.Ie,wJ2:()=>o.wJ,w3Z:()=>o.w3,eb4:()=>n.eb,X$G:()=>n.X$,cei:()=>n.ce,YfF:()=>c.Yf,vrU:()=>c.vr,hJS:()=>o.hJ,pzy:()=>kt.pz,O_i:()=>kt.O_,_hh:()=>kt._h,PGG:()=>kt.PG,tZQ:()=>r.t,$mf:()=>c.$m,JYE:()=>c.JY,E90:()=>o.E9,G0i:()=>c.G0,e4g:()=>c.e4,OHq:()=>kt.OH,W9e:()=>c.W9,Sgh:()=>c.Sg,VGA:()=>c.VG,YCE:()=>o.YC,LCf:()=>kt.LC,xxz:()=>kt.xx,vSh:()=>n.vS,L1V:()=>n.L1,U0s:()=>n.U0,MXx:()=>n.MX,q8J:()=>o.q8,YLU:()=>kt.YL,ayx:()=>kt.ay,D_O:()=>n.D_,XsS:()=>o.Xs,hBr:()=>n.hB,cyL:()=>Pt.cy,Lmq:()=>Pt.Lm,iKf:()=>o.iK,Tnt:()=>Pt.Tn,hnD:()=>o.hn,kZJ:()=>Pt.kZ,EtT:()=>Pt.Et,Gvm:()=>Pt.Gv,Tj8:()=>o.Tj,KgX:()=>Pt.Kg,Vh1:()=>o.Vh,TA3:()=>o.TA,iUN:()=>n.iU,$_c:()=>n.$_,vd6:()=>n.vd,K3:()=>n.K3,AlN:()=>o.Al,PZY:()=>n.PZ,ZGK:()=>Rt.Z,yVN:()=>Rt.y,$v4:()=>n.$v,IUF:()=>n.IU,tdJ:()=>n.td,BWm:()=>n.BW,XuV:()=>n.Xu,TLE:()=>n.TL,wMU:()=>n.wM,DNI:()=>n.DN,z94:()=>n.z9,ou7:()=>n.ou,N5f:()=>n.N5,Dvh:()=>n.Dv,nzC:()=>n.GW,X_1:()=>n.X_,$OP:()=>n.$O,w20:()=>n.w2,jhA:()=>c.jh,ms7:()=>n.ms,Z04:()=>n.Z0,RbF:()=>n.Rb,sf3:()=>n.sf,voK:()=>n.vo,dvp:()=>n.dv,xHs:()=>n.xH,boI:()=>n.bo,SnF:()=>zt.Sn,MdX:()=>zt.Md,M3Y:()=>c.M3,a56:()=>n.a5,BFN:()=>n.BF,unK:()=>n.un,Kw2:()=>n.Kw,$GP:()=>n.$G,mRf:()=>n.mR,vEz:()=>c.vE,R5R:()=>kt.R5,BN0:()=>kt.BN,JC0:()=>n.JC,vFD:()=>n.vF,NFi:()=>n.NF,oiR:()=>n.oi,K6u:()=>kt.K6,laE:()=>n.l,euA:()=>n.eu,yxQ:()=>n.yx,aEA:()=>n.aE,T5G:()=>o.T5,BRq:()=>o.BR,lVH:()=>o.lV,tGT:()=>o.tG,ADE:()=>c.AD,Bro:()=>r.B,OEu:()=>c.OE,DT4:()=>c.DT,zgn:()=>n.zg,S7x:()=>o.S7,Rhv:()=>n.Rh,dmB:()=>n.dm,zIs:()=>kt.zI,egF:()=>kt.eg,Pgy:()=>n.Pg,RqE:()=>n.Rq,G3T:()=>n.G3,pHD:()=>n.pH,BpM:()=>n.Bp,KZx:()=>n.KZ,DGQ:()=>n.DG,s75:()=>n.s7,NuQ:()=>n.Nu,Eow:()=>n.Eo,$k3:()=>Et,UC0:()=>o.UC,JvX:()=>kt.Jv,Kog:()=>kt.Ko,nKi:()=>n.nK,RVs:()=>n.RV});var n=i(1546),o=i(9470);class s{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 o=i.length,s=i.indexOf(e);s<n.z9||(o===n.LD?this._listeners.delete(t):i.splice(s,n.LD))}}var a=i(622),r=i(7452),c=i(4400);async function l(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 d{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new s,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.0"}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(a.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 l(t,this.interactors,this._initializers.interactors,e)}async getMovers(t,e=!1){return l(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 l(t,this.updaters,this._initializers.updaters,e)}async init(){if(!this._initialized){for(const t of this._loadPromises)await t(this);this._loadPromises.clear(),this._initialized=!0}}item(t){const{items:e}=this,i=e[t];if(!i?.destroyed)return i;e.splice(t,n.JC)}async load(t){await this.init();const{Container:e}=await i.e(571).then(i.bind(i,7571)),s=t.id??t.element?.id??`tsparticles${Math.floor((0,c.G0)()*n.$v).toString()}`,{index:a,url:l}=t,d=l?await async function(t){const e=(0,o.TA)(t.url,t.index);if(!e)return t.fallback;const i=await fetch(e);return i.ok?await i.json():((0,r.t)().error(`${i.status.toString()} while retrieving config file`),t.fallback)}({fallback:t.options,url:l,index:a}):t.options,h=(0,o.TA)(d,a),{items:u}=this,p=u.findIndex((t=>t.id.description===s)),v=new e(this,s,h);if(p>=n.PZ){const t=this.item(p),e=t?n.xH:n.dv;t&&!t.destroyed&&t.destroy(!1),u.splice(p,e,v)}else u.push(v);const f=((t,e)=>{let i=e??(0,o.T5)().getElementById(t);return i||(i=(0,o.T5)().createElement("div"),i.id=t,i.dataset[n.eb]=n.ce,(0,o.T5)().body.append(i),i)})(s,t.element),m=(t=>{let e;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===n.RF)e=t,e.dataset[n.eb]??=n.X$;else{const i=t.getElementsByTagName(n.RF)[n.Nx];i?(e=i,e.dataset[n.eb]=n.X$):(e=(0,o.T5)().createElement(n.RF),e.dataset[n.eb]=n.ce,t.appendChild(e))}const i="100%";return e.style.width||(e.style.width=i),e.style.height||(e.style.height=i),e})(f);return v.canvas.loadCanvas(m),await v.start(),v}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 h=i(4723);class u{constructor(t){this.type=h.e.external,this.container=t}}class p{constructor(t){this.type=h.e.particles,this.container=t}}var v,f=i(1989),m=i(5189),g=i(7023),y=i(6657);!function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(v||(v={}));var b,x=i(2091),w=i(682),M=i(5511),z=i(1176),k=i(6900),R=i(569),P=i(9442),E=i(5158),O=i(9732);!function(t){t.linear="linear",t.radial="radial",t.random="random"}(b||(b={}));var S,D=i(5608),T=i(7925),F=i(7277);!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"}(S||(S={}));var A=i(4764),_=i(8980),V=i(6896),I=i(3115),L=i(1190),Z=i(952),G=i(6440),C=i(3048),q=i(3893),B=i(1976),K=i(8944),H=i(2207),$=i(1602),N=i(8193),U=i(5368),W=i(9828),j=i(75),J=i(4805),X=i(1510),Y=i(6899),Q=i(2796),tt=i(5343),et=i(3083),it=i(2903),nt=i(4376),ot=i(2141),st=i(4337),at=i(496),rt=i(1273),ct=i(9963),lt=i(5241),dt=i(7663),ht=i(6728),ut=i(1048),pt=i(7028),vt=i(4524),ft=i(6960),mt=i(9384),gt=i(7280),yt=i(5758),bt=i(8493),xt=i(9552),wt=i(4699),Mt=i(5121),zt=i(3618),kt=i(4975),Rt=i(1896),Pt=i(998);const Et=new d;globalThis.tsParticles=Et},6657(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={}))},6728(t,e,i){i.d(e,{A:()=>s});var n=i(5511),o=i(998);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))}}},6896(t,e,i){i.d(e,{A:()=>a});var n=i(998),o=i(3048),s=i(1510);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))}}},6899(t,e,i){i.d(e,{w:()=>s});var n=i(2796),o=i(998);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))}}},6900(t,e,i){var n;i.d(e,{q:()=>n}),function(t){t.precise="precise",t.percent="percent"}(n||(n={}))},6960(t,e,i){i.d(e,{y:()=>s});var n=i(9470),o=i(998);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)}}},7023(t,e,i){i.d(e,{M:()=>s,p:()=>o});var n=i(1546);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)}}},7028(t,e,i){i.d(e,{Y:()=>a});var n=i(4524),o=i(5121),s=i(998);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)}}},7277(t,e,i){var n;i.d(e,{Q:()=>n}),function(t){t.circle="circle",t.rectangle="rectangle"}(n||(n={}))},7280(t,e,i){i.d(e,{q:()=>a});var n=i(9732),o=i(3115),s=i(998);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)}}},7452(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}},7663(t,e,i){i.d(e,{N:()=>a});var n=i(1048),o=i(6728),s=i(998);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))}}},7925(t,e,i){var n;i.d(e,{S:()=>n}),function(t){t.max="max",t.min="min",t.random="random"}(n||(n={}))},8193(t,e,i){i.d(e,{z:()=>o});var n=i(998);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))}}},8493(t,e,i){i.d(e,{F:()=>a});var n=i(9442),o=i(9470),s=i(998);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)))}}},8944(t,e,i){i.d(e,{s:()=>l});var n=i(3893),o=i(1976),s=i(2207),a=i(8193),r=i(9470),c=i(998);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)}}},8980(t,e,i){var n;i.d(e,{h:()=>n}),function(t){t.canvas="canvas",t.parent="parent",t.window="window"}(n||(n={}))},9384(t,e,i){i.d(e,{o:()=>a});var n=i(5121),o=i(7280),s=i(998);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)}}},9442(t,e,i){var n;i.d(e,{A:()=>n}),function(t){t.screen="screen",t.canvas="canvas"}(n||(n={}))},9470(t,e,i){i.d(e,{AE:()=>k,Al:()=>b,BR:()=>m,E9:()=>L,NV:()=>S,O2:()=>z,S7:()=>O,T5:()=>v,TA:()=>A,Tg:()=>D,Tj:()=>M,U6:()=>E,UC:()=>G,Vh:()=>w,Xs:()=>V,YC:()=>Z,hJ:()=>q,hn:()=>y,iK:()=>P,lV:()=>f,n0:()=>x,pE:()=>T,q8:()=>p,tG:()=>g,td:()=>C,w3:()=>_,wJ:()=>F,zw:()=>R});var n=i(4400),o=i(1546),s=i(998),a=i(682),r=i(4764),c=i(9732),l=i(2091),d=i(6900),h=i(7925),u=i(7023);function p(){return"undefined"!=typeof matchMedia}function v(){return globalThis.document}function f(t){if(p())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 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(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 R(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=>R(o[e],t))):R(o[e],n)}}return t}function P(t,e){return!!_(e,(e=>e.enable&&y(t,e.mode)))}function E(t,e,i){F(e,(e=>{const n=e.mode;e.enable&&y(t,n)&&O(e,i)}))}function O(t,e){F(t.selectors,(i=>{e(i,t)}))}function S(t,e){if(e&&t)return _(t,(t=>function(t,e){const i=F(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 T(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),p=e.velocity.rotate(l),v=(0,n.OW)(u,p,d,h),f=(0,n.OW)(p,u,d,h),m=v.rotate(-l),g=f.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 F(t,e){return(0,s.cy)(t)?t.map(((t,i)=>e(t,i))):e(t,0)}function A(t,e,i){return(0,s.cy)(t)?w(t,e,i):t}function _(t,e){if((0,s.cy)(t))return t.find(((t,i)=>e(t,i)));return e(t,0)?t:void 0}function V(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 I(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 I(t,e)}function Z(t,e){return I(t,e)}function G(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 C(t){const e=v().createElement("div").style;for(const i in t){const n=t[i];if(!Object.prototype.hasOwnProperty.call(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 q=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}))},9552(t,e,i){i.d(e,{S:()=>a});var n=i(4699),o=i(9470),s=i(998);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)))}}},9732(t,e,i){var n;i.d(e,{V:()=>n}),function(t){t.none="none",t.max="max",t.min="min"}(n||(n={}))},9828(t,e,i){i.d(e,{d:()=>o});var n=i(998);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)}}},9963(t,e,i){i.d(e,{v:()=>a});var n=i(5121),o=i(9470),s=i(998);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)))}}}},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/basic:",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(p);var o=t[i];if(delete t[i],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach((t=>t(n))),e)return e(n)},p=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={699: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_basic=this.webpackChunk_tsparticles_basic||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var s={};function a(t){t.checkVersion("4.0.0-alpha.0"),t.register((async t=>{const{loadHexColorPlugin:e}=await o.e(182).then(o.bind(o,8182)),{loadHslColorPlugin:i}=await o.e(204).then(o.bind(o,4204)),{loadRgbColorPlugin:n}=await o.e(416).then(o.bind(o,6416)),{loadBaseMover:s}=await o.e(420).then(o.bind(o,8420)),{loadCircleShape:a}=await o.e(440).then(o.bind(o,8440)),{loadColorUpdater:r}=await o.e(241).then(o.bind(o,3241)),{loadOpacityUpdater:c}=await o.e(907).then(o.bind(o,9907)),{loadOutModesUpdater:l}=await o.e(620).then(o.bind(o,4620)),{loadSizeUpdater:d}=await o.e(491).then(o.bind(o,491));e(t),i(t),n(t),s(t),a(t),r(t),c(t),l(t),d(t)}))}o.r(s),o.d(s,{AlterType:()=>r.HKZ,AnimatableColor:()=>r.A9e,AnimationMode:()=>r.gmr,AnimationOptions:()=>r.pK_,AnimationStatus:()=>r.H_P,AnimationValueWithRandom:()=>r.Jmi,Background:()=>r.VS$,BaseRange:()=>r.dgY,Circle:()=>r.jlt,ClickEvent:()=>r.rXQ,ColorAnimation:()=>r.evc,DestroyType:()=>r.VKE,DivEvent:()=>r.GWL,DivType:()=>r.Q5V,EasingType:()=>r.mgy,EventType:()=>r.Bx4,Events:()=>r.sVA,ExternalInteractorBase:()=>r.sJd,FullScreen:()=>r.mcU,GradientType:()=>r.hqM,HoverEvent:()=>r.LOu,HslAnimation:()=>r.i74,Interactivity:()=>r.kft,InteractivityDetect:()=>r.hLK,InteractorType:()=>r.e9i,LimitMode:()=>r.dtg,ManualParticle:()=>r.jLd,Modes:()=>r.dX$,Move:()=>r.yUV,MoveAngle:()=>r.hzL,MoveAttract:()=>r.RE3,MoveCenter:()=>r.Zgv,MoveDirection:()=>r.FWc,MoveGravity:()=>r.y1u,MovePath:()=>r.vU7,Opacity:()=>r.Y4E,OpacityAnimation:()=>r.IhC,Options:()=>r.JYR,OptionsColor:()=>r.Oit,OutMode:()=>r.Yzx,OutModeDirection:()=>r.v5k,OutModes:()=>r.j$q,Parallax:()=>r.kQI,ParticleOutType:()=>r.x_I,ParticlesBounce:()=>r.wvn,ParticlesBounceFactor:()=>r.F5W,ParticlesDensity:()=>r.M1g,ParticlesInteractorBase:()=>r.U4p,ParticlesNumber:()=>r.NeW,ParticlesNumberLimit:()=>r.Ad4,ParticlesOptions:()=>r.UOj,PixelMode:()=>r.qiC,Point:()=>r.bRX,RangedAnimationOptions:()=>r.Q4c,RangedAnimationValueWithRandom:()=>r.AIw,Rectangle:()=>r.M_G,ResizeEvent:()=>r.z0z,Responsive:()=>r.Ft2,ResponsiveMode:()=>r.ARr,RotateDirection:()=>r.pTR,Shape:()=>r.ypk,Size:()=>r.or0,SizeAnimation:()=>r.qvJ,Spin:()=>r.tKH,StartValueType:()=>r.SKz,Stroke:()=>r.tcj,Theme:()=>r.Sxu,ThemeDefault:()=>r.fKy,ThemeMode:()=>r.lGv,ValueWithRandom:()=>r.PVU,Vector:()=>r.Miz,Vector3d:()=>r.pGL,ZIndex:()=>r.Pyx,alterHsl:()=>r.yxh,animate:()=>r.i0Z,areBoundsInside:()=>r.O2_,arrayRandomIndex:()=>r.n02,calcExactPositionOrRandomFromSize:()=>r.NxB,calcExactPositionOrRandomFromSizeRanged:()=>r.qMV,calcPositionFromSize:()=>r.ehY,calcPositionOrRandomFromSize:()=>r.MhH,calcPositionOrRandomFromSizeRanged:()=>r.l1q,calculateBounds:()=>r.AEc,cancelAnimation:()=>r.pxm,canvasFirstIndex:()=>r.Nxk,canvasTag:()=>r.RFH,circleBounce:()=>r.pEn,circleBounceDataFromParticle:()=>r.Tgl,clamp:()=>r.qE8,clear:()=>r.IUd,clearDrawPlugin:()=>r.l7g,clickRadius:()=>r.FSi,cloneStyle:()=>r.td3,collisionVelocity:()=>r.OWw,colorMix:()=>r.EYT,colorToHsl:()=>r.mKQ,colorToRgb:()=>r.qe,countOffset:()=>r.nqC,decayOffset:()=>r.WH8,deepExtend:()=>r.zwS,defaultAlpha:()=>r.aZx,defaultAngle:()=>r.tAJ,defaultDensityFactor:()=>r.lA,defaultFps:()=>r.z$P,defaultFpsLimit:()=>r.i8E,defaultLoops:()=>r.hKc,defaultOpacity:()=>r.hvP,defaultRadius:()=>r.M1H,defaultRatio:()=>r.$xb,defaultReduceFactor:()=>r.ZpR,defaultRemoveQuantity:()=>r.xd3,defaultRetryCount:()=>r.rqX,defaultRgbMin:()=>r.Fli,defaultTime:()=>r.tRb,defaultTransform:()=>r.UgP,defaultTransformValue:()=>r.zss,defaultVelocity:()=>r.jnW,degToRad:()=>r.puj,deleteCount:()=>r.LDU,divMode:()=>r.NVT,divModeExecute:()=>r.U6C,double:()=>r.gdl,doublePI:()=>r.R1e,drawAfterEffect:()=>r.kac,drawBeforeEffect:()=>r.z5n,drawLine:()=>r.V6E,drawParticle:()=>r.p0m,drawParticlePlugin:()=>r.Wbn,drawPlugin:()=>r.e_p,drawShape:()=>r.KG7,drawShapeAfterDraw:()=>r.gF3,drawShapeBeforeDraw:()=>r.VGT,empty:()=>r.Iex,executeOnSingleOrMultiple:()=>r.wJ2,findItemFromSingleOrMultiple:()=>r.w3Z,generatedAttribute:()=>r.eb4,generatedFalse:()=>r.X$G,generatedTrue:()=>r.cei,getDistance:()=>r.YfF,getDistances:()=>r.vrU,getFullScreenStyle:()=>r.hJS,getHslAnimationFromHsl:()=>r.pzy,getHslFromAnimation:()=>r.O_i,getLinkColor:()=>r._hh,getLinkRandomColor:()=>r.PGG,getLogger:()=>r.tZQ,getParticleBaseVelocity:()=>r.$mf,getParticleDirectionAngle:()=>r.JYE,getPosition:()=>r.E90,getRandom:()=>r.G0i,getRandomInRange:()=>r.e4g,getRandomRgbColor:()=>r.OHq,getRangeMax:()=>r.W9e,getRangeMin:()=>r.Sgh,getRangeValue:()=>r.VGA,getSize:()=>r.YCE,getStyleFromHsl:()=>r.LCf,getStyleFromRgb:()=>r.xxz,hMax:()=>r.vSh,hMin:()=>r.L1V,hPhase:()=>r.U0s,half:()=>r.MXx,hasMatchMedia:()=>r.q8J,hslToRgb:()=>r.YLU,hslaToRgba:()=>r.ayx,identity:()=>r.D_O,initParticleNumericAnimationValue:()=>r.XsS,inverseFactorNumerator:()=>r.hBr,isArray:()=>r.cyL,isBoolean:()=>r.Lmq,isDivModeEnabled:()=>r.iKf,isFunction:()=>r.Tnt,isInArray:()=>r.hnD,isNull:()=>r.kZJ,isNumber:()=>r.EtT,isObject:()=>r.Gvm,isPointInside:()=>r.Tj8,isString:()=>r.KgX,itemFromArray:()=>r.Vh1,itemFromSingleOrMultiple:()=>r.TA3,lFactor:()=>r.iUN,lMax:()=>r.$_c,lMin:()=>r.vd6,lengthOffset:()=>r.K3,loadBasic:()=>a,loadFont:()=>r.AlN,loadMinIndex:()=>r.PZY,loadOptions:()=>r.ZGK,loadParticlesOptions:()=>r.yVN,loadRandomFactor:()=>r.$v4,manualCount:()=>r.IUF,manualDefaultPosition:()=>r.tdJ,midColorValue:()=>r.BWm,millisecondsToSeconds:()=>r.XuV,minCoordinate:()=>r.TLE,minCount:()=>r.wMU,minFpsLimit:()=>r.DNI,minIndex:()=>r.z94,minLimit:()=>r.ou7,minRetries:()=>r.N5f,minStrokeWidth:()=>r.Dvh,minVelocity:()=>r.nzC,minZ:()=>r.X_1,minimumLength:()=>r.$OP,minimumSize:()=>r.w20,mix:()=>r.jhA,mouseDownEvent:()=>r.ms7,mouseLeaveEvent:()=>r.Z04,mouseMoveEvent:()=>r.RbF,mouseOutEvent:()=>r.sf3,mouseUpEvent:()=>r.voK,none:()=>r.dvp,one:()=>r.xHs,originPoint:()=>r.boI,paintBase:()=>r.SnF,paintImage:()=>r.MdX,parseAlpha:()=>r.M3Y,percentDenominator:()=>r.a56,phaseNumerator:()=>r.BFN,posOffset:()=>r.unK,qTreeCapacity:()=>r.Kw2,quarter:()=>r.$GP,randomColorValue:()=>r.mRf,randomInRangeValue:()=>r.vEz,rangeColorToHsl:()=>r.R5R,rangeColorToRgb:()=>r.BN0,removeDeleteCount:()=>r.JC0,removeMinIndex:()=>r.vFD,resizeEvent:()=>r.NFi,rgbMax:()=>r.oiR,rgbToHsl:()=>r.K6u,rollFactor:()=>r.laE,sMax:()=>r.euA,sMin:()=>r.yxQ,sNormalizedOffset:()=>r.aEA,safeDocument:()=>r.T5G,safeIntersectionObserver:()=>r.BRq,safeMatchMedia:()=>r.lVH,safeMutationObserver:()=>r.tGT,setAnimationFunctions:()=>r.ADE,setLogger:()=>r.Bro,setRandom:()=>r.OEu,setRangeValue:()=>r.DT4,sextuple:()=>r.zgn,singleDivModeExecute:()=>r.S7x,sizeFactor:()=>r.Rhv,squareExp:()=>r.dmB,stringToAlpha:()=>r.zIs,stringToRgb:()=>r.egF,subdivideCount:()=>r.Pgy,threeQuarter:()=>r.RqE,touchCancelEvent:()=>r.G3T,touchDelay:()=>r.pHD,touchEndEvent:()=>r.BpM,touchEndLengthOffset:()=>r.KZx,touchMoveEvent:()=>r.DGQ,touchStartEvent:()=>r.s75,triple:()=>r.NuQ,tryCountIncrement:()=>r.Eow,tsParticles:()=>r.$k3,updateAnimation:()=>r.UC0,updateColor:()=>r.JvX,updateColorValue:()=>r.Kog,visibilityChangeEvent:()=>r.nKi,zIndexFactorOffset:()=>r.RVs});var r=o(6474);return s})()));
@@ -1 +1 @@
1
- /*! tsParticles Basic v3.9.0 by Matteo Bruni */
1
+ /*! tsParticles Basic v4.0.0-alpha.0 by Matteo Bruni */