@tsparticles/fireworks 4.0.0-alpha.1 → 4.0.0-alpha.2

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 (100) hide show
  1. package/142.min.js.LICENSE.txt +1 -1
  2. package/182.min.js +1 -1
  3. package/182.min.js.LICENSE.txt +1 -1
  4. package/187.min.js.LICENSE.txt +1 -1
  5. package/204.min.js +1 -1
  6. package/204.min.js.LICENSE.txt +1 -1
  7. package/241.min.js +1 -1
  8. package/241.min.js.LICENSE.txt +1 -1
  9. package/255.min.js.LICENSE.txt +1 -1
  10. package/266.min.js.LICENSE.txt +1 -1
  11. package/303.min.js.LICENSE.txt +1 -1
  12. package/309.min.js.LICENSE.txt +1 -1
  13. package/312.min.js +1 -1
  14. package/312.min.js.LICENSE.txt +1 -1
  15. package/321.min.js.LICENSE.txt +1 -1
  16. package/367.min.js.LICENSE.txt +1 -1
  17. package/370.min.js +1 -1
  18. package/370.min.js.LICENSE.txt +1 -1
  19. package/416.min.js +1 -1
  20. package/416.min.js.LICENSE.txt +1 -1
  21. package/420.min.js +1 -1
  22. package/420.min.js.LICENSE.txt +1 -1
  23. package/422.min.js +1 -1
  24. package/422.min.js.LICENSE.txt +1 -1
  25. package/440.min.js +1 -1
  26. package/440.min.js.LICENSE.txt +1 -1
  27. package/470.min.js +1 -1
  28. package/470.min.js.LICENSE.txt +1 -1
  29. package/491.min.js +1 -1
  30. package/491.min.js.LICENSE.txt +1 -1
  31. package/493.min.js.LICENSE.txt +1 -1
  32. package/561.min.js.LICENSE.txt +1 -1
  33. package/571.min.js.LICENSE.txt +1 -1
  34. package/582.min.js +1 -1
  35. package/582.min.js.LICENSE.txt +1 -1
  36. package/606.min.js.LICENSE.txt +1 -1
  37. package/620.min.js +1 -1
  38. package/620.min.js.LICENSE.txt +1 -1
  39. package/636.min.js.LICENSE.txt +1 -1
  40. package/693.min.js +1 -1
  41. package/693.min.js.LICENSE.txt +1 -1
  42. package/704.min.js.LICENSE.txt +1 -1
  43. package/739.min.js +1 -1
  44. package/739.min.js.LICENSE.txt +1 -1
  45. package/761.min.js +1 -1
  46. package/761.min.js.LICENSE.txt +1 -1
  47. package/770.min.js +1 -1
  48. package/770.min.js.LICENSE.txt +1 -1
  49. package/869.min.js.LICENSE.txt +1 -1
  50. package/885.min.js.LICENSE.txt +1 -1
  51. package/907.min.js +1 -1
  52. package/907.min.js.LICENSE.txt +1 -1
  53. package/930.min.js.LICENSE.txt +1 -1
  54. package/basic_dist_browser_index_js.js +2 -2
  55. package/browser/fireworks.js +2 -2
  56. package/cjs/fireworks.js +2 -2
  57. package/effects_trail_dist_browser_TrailDrawer_js.js +1 -1
  58. package/effects_trail_dist_browser_index_js.js +2 -2
  59. package/engine_dist_browser_Core_Container_js.js +1 -1
  60. package/esm/fireworks.js +2 -2
  61. package/move_base_dist_browser_BaseMover_js.js +1 -1
  62. package/move_base_dist_browser_index_js.js +2 -2
  63. package/package.json +10 -10
  64. package/plugins_colors_hex_dist_browser_HexColorManager_js.js +1 -1
  65. package/plugins_colors_hex_dist_browser_index_js.js +2 -2
  66. package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +1 -1
  67. package/plugins_colors_hsl_dist_browser_index_js.js +2 -2
  68. package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +1 -1
  69. package/plugins_colors_rgb_dist_browser_index_js.js +2 -2
  70. package/plugins_emittersShapes_square_dist_browser_EmittersSquareShapeGenerator_js.js +2 -2
  71. package/plugins_emittersShapes_square_dist_browser_index_js.js +2 -2
  72. package/plugins_emitters_dist_browser_EmittersPlugin_js.js +1 -1
  73. package/plugins_emitters_dist_browser_ShapeManager_js.js +1 -1
  74. package/plugins_emitters_dist_browser_index_js.js +2 -2
  75. package/plugins_sounds_dist_browser_SoundsPlugin_js.js +1 -1
  76. package/plugins_sounds_dist_browser_index_js.js +2 -2
  77. package/report.html +1 -1
  78. package/shapes_circle_dist_browser_CircleDrawer_js.js +1 -1
  79. package/shapes_circle_dist_browser_index_js.js +2 -2
  80. package/tsparticles.fireworks.bundle.js +3 -3
  81. package/tsparticles.fireworks.bundle.min.js +1 -1
  82. package/tsparticles.fireworks.bundle.min.js.LICENSE.txt +1 -1
  83. package/tsparticles.fireworks.js +2 -2
  84. package/tsparticles.fireworks.min.js +1 -1
  85. package/tsparticles.fireworks.min.js.LICENSE.txt +1 -1
  86. package/umd/fireworks.js +2 -2
  87. package/updaters_color_dist_browser_ColorUpdater_js.js +1 -1
  88. package/updaters_color_dist_browser_index_js.js +2 -2
  89. package/updaters_destroy_dist_browser_DestroyUpdater_js.js +1 -1
  90. package/updaters_destroy_dist_browser_index_js.js +2 -2
  91. package/updaters_life_dist_browser_LifeUpdater_js.js +1 -1
  92. package/updaters_life_dist_browser_index_js.js +2 -2
  93. package/updaters_opacity_dist_browser_OpacityUpdater_js.js +1 -1
  94. package/updaters_opacity_dist_browser_index_js.js +2 -2
  95. package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +1 -1
  96. package/updaters_outModes_dist_browser_index_js.js +2 -2
  97. package/updaters_rotate_dist_browser_RotateUpdater_js.js +1 -1
  98. package/updaters_rotate_dist_browser_index_js.js +2 -2
  99. package/updaters_size_dist_browser_SizeUpdater_js.js +1 -1
  100. package/updaters_size_dist_browser_index_js.js +2 -2
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see tsparticles.fireworks.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 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,$_:()=>G,$v:()=>rt,$x:()=>A,BF:()=>Lt,BW:()=>w,Bp:()=>d,DG:()=>h,DN:()=>st,D_:()=>St,Dv:()=>Ot,Eo:()=>ut,FS:()=>Q,Fl:()=>Zt,G3:()=>u,GW:()=>N,IU:()=>zt,Ie:()=>H,JC:()=>it,K3:()=>kt,KZ:()=>tt,Kw:()=>O,L1:()=>q,LD:()=>Et,M1:()=>mt,MX:()=>m,N5:()=>pt,NF:()=>p,Nu:()=>_t,Nx:()=>at,PZ:()=>ct,Pg:()=>V,R1:()=>z,RF:()=>T,RV:()=>X,Rb:()=>c,Rh:()=>yt,Rq:()=>W,TL:()=>et,U0:()=>B,Ug:()=>x,WH:()=>ht,X$:()=>D,X_:()=>ft,Xu:()=>g,Z0:()=>a,Zp:()=>_,a5:()=>f,aE:()=>It,aZ:()=>R,bo:()=>y,ce:()=>E,dm:()=>S,dv:()=>dt,eb:()=>n,eu:()=>C,gd:()=>M,hB:()=>I,hK:()=>Gt,hv:()=>Y,i8:()=>ot,iU:()=>Ft,jn:()=>Ct,l:()=>vt,lA:()=>Rt,mR:()=>b,ms:()=>o,nK:()=>v,nq:()=>bt,oi:()=>L,ou:()=>xt,pH:()=>Dt,rq:()=>P,s7:()=>l,sf:()=>r,tA:()=>Pt,tR:()=>qt,td:()=>Tt,un:()=>gt,vF:()=>nt,vS:()=>Z,vd:()=>At,vo:()=>s,w2:()=>j,wM:()=>wt,xH:()=>lt,xd:()=>F,yx:()=>K,z$:()=>k,z9:()=>Mt,zg:()=>Vt,zs:()=>U});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},x={a:1,b:0,c:0,d:1},b="random",w="mid",M=2,z=Math.PI*M,k=60,R=1,E="true",D="false",T="canvas",P=0,S=2,O=4,F=1,A=1,_=1,V=4,I=1,L=255,Z=360,C=100,G=100,q=0,K=0,B=60,H=0,$=.25,W=m+$,N=0,U=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,xt=0,bt=1,wt=0,Mt=0,zt=0,kt=1,Rt=1,Et=1,Dt=500,Tt=50,Pt=0,St=1,Ot=0,Ft=1,At=0,_t=3,Vt=6,It=1,Lt=1,Zt=0,Ct=0,Gt=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),x=o.isRotating,b={a:y*(l.a??n.Ug.a),b:x?g*(l.b??n.D_):l.b??n.Ug.b,c:x?-g*(l.c??n.D_):l.c??n.Ug.c,d:y*(l.d??n.Ug.d)};i.setTransform(b.a,b.b,b.c,b.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:b,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:()=>D,AD:()=>p,DT:()=>M,G0:()=>h,JY:()=>E,M3:()=>_,Mh:()=>S,Nx:()=>F,OE:()=>d,OW:()=>T,Sg:()=>b,VG:()=>x,W9:()=>w,Yf:()=>k,e4:()=>u,eh:()=>P,i0:()=>v,jh:()=>g,l1:()=>O,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=b(t);return e===i&&(i=0),u(i,e)}function x(t){return(0,a.Et)(t)?t:y(t)}function b(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=b(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 E(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 D(t){const e=s.M.origin;return e.length=1,e.angle=t,e}function T(t,e,i,n){return s.M.create(t.x*(i-n)/(i+n)+e.x*o.gd*n/(i+n),t.y)}function P(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 S(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 O(t){const e={x:void 0!==t.position?.x?x(t.position.x):void 0,y:void 0!==t.position?.y?x(t.position.y):void 0};return S({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?x(t.position.x):void 0,y:void 0!==t.position?.y?x(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:()=>P,K6:()=>p,Ko:()=>T,LC:()=>w,OH:()=>y,O_:()=>R,PG:()=>k,R5:()=>u,YL:()=>m,_h:()=>z,ay:()=>g,eg:()=>f,mK:()=>h,pz:()=>E,qe:()=>d,xx:()=>x,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 x(t,e,i){return e?b(t,i):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(e??o.hv).toString()})`}(t,i)}function b(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 b(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 E(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&&(D(n.h,e.h,i),D(n.s,e.s,i),D(n.l,e.l,i)),n}function D(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 T(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 P(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.$_}};T(i,a.h,!1,e),T(n,a.s,!0,e),T(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:()=>D.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:()=>T.V,GWL:()=>K.G,Q5V:()=>F.Q,mgy:()=>P,Bx4:()=>a.B,sVA:()=>B.s,sJd:()=>u,mcU:()=>C.m,hqM:()=>x,LOu:()=>H.L,i74:()=>G.i,kft:()=>N.k,hLK:()=>_.h,e9i:()=>h.e,dtg:()=>M.d,jLd:()=>j.j,dX$:()=>U.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:()=>b.v,j$q:()=>rt.j,kQI:()=>$.k,x_I:()=>S.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:()=>W.z,Ft2:()=>xt.F,ARr:()=>E.A,pTR:()=>v,ypk:()=>ft.y,or0:()=>mt.o,qvJ:()=>gt.q,tKH:()=>lt.t,SKz:()=>O.S,tcj:()=>et.t,Sxu:()=>bt.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:()=>Et.cy,Lmq:()=>Et.Lm,iKf:()=>o.iK,Tnt:()=>Et.Tn,hnD:()=>o.hn,kZJ:()=>Et.kZ,EtT:()=>Et.Et,Gvm:()=>Et.Gv,Tj8:()=>o.Tj,KgX:()=>Et.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:()=>Dt,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.1"}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 x,b=i(2091),w=i(682),M=i(5511),z=i(1176),k=i(6900),R=i(569),E=i(9442),D=i(5158),T=i(9732);!function(t){t.linear="linear",t.radial="radial",t.random="random"}(x||(x={}));var P,S=i(5608),O=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"}(P||(P={}));var A=i(4764),_=i(8980),V=i(6896),I=i(3115),L=i(1190),Z=i(952),C=i(6440),G=i(3048),q=i(3893),K=i(1976),B=i(8944),H=i(2207),$=i(1602),W=i(8193),N=i(5368),U=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),xt=i(8493),bt=i(9552),wt=i(4699),Mt=i(5121),zt=i(3618),kt=i(4975),Rt=i(1896),Et=i(998);const Dt=new d;globalThis.tsParticles=Dt},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:()=>x,BR:()=>m,E9:()=>L,NV:()=>P,O2:()=>z,S7:()=>T,T5:()=>v,TA:()=>A,Tg:()=>S,Tj:()=>M,U6:()=>D,UC:()=>C,Vh:()=>w,Xs:()=>V,YC:()=>Z,hJ:()=>q,hn:()=>y,iK:()=>E,lV:()=>f,n0:()=>b,pE:()=>O,q8:()=>p,tG:()=>g,td:()=>G,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 x(t,e){try{await v().fonts.load(`${e??"400"} 36px '${t??"Verdana"}'`)}catch{}}function b(t){return Math.floor((0,n.G0)()*t.length)}function w(t,e,i=!0){return t[void 0!==e&&i?e%t.length:b(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 E(t,e){return!!_(e,(e=>e.enable&&y(t,e.mode)))}function D(t,e,i){F(e,(e=>{const n=e.mode;e.enable&&y(t,n)&&T(e,i)}))}function T(t,e){F(t.selectors,(i=>{e(i,t)}))}function P(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 S(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 O(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 C(t,e,i,o,s){if(t.destroyed||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;const a=(e.velocity??0)*s.factor,l=e.min,d=e.max,h=e.decay??1;if(e.time??=0,(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=s.value),!((e.delayTime??0)>0&&e.time<(e.delayTime??0))){switch(e.status){case r.H.increasing:e.value>=d?(i?e.status=r.H.decreasing:e.value-=d,e.loops??=0,e.loops++):e.value+=a;break;case r.H.decreasing:e.value<=l?(i?e.status=r.H.increasing:e.value+=d,e.loops??=0,e.loops++):e.value-=a}e.velocity&&1!==h&&(e.velocity*=h),function(t,e,i,n,o){switch(e){case c.V.max:i>=o&&t.destroy();break;case c.V.min:i<=n&&t.destroy()}}(t,o,e.value,l,d),e.value=(0,n.qE)(e.value,l,d)}}function G(t){const e=v().createElement("div").style;for(const i in t){const n=t[i];if(!Object.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/fireworks:",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={827: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_fireworks=this.webpackChunk_tsparticles_fireworks||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var s={};o.r(s),o.d(s,{AlterType:()=>a.HKZ,AnimatableColor:()=>a.A9e,AnimationMode:()=>a.gmr,AnimationOptions:()=>a.pK_,AnimationStatus:()=>a.H_P,AnimationValueWithRandom:()=>a.Jmi,Background:()=>a.VS$,BaseRange:()=>a.dgY,Circle:()=>a.jlt,ClickEvent:()=>a.rXQ,ColorAnimation:()=>a.evc,DestroyType:()=>a.VKE,DivEvent:()=>a.GWL,DivType:()=>a.Q5V,EasingType:()=>a.mgy,EventType:()=>a.Bx4,Events:()=>a.sVA,ExternalInteractorBase:()=>a.sJd,FullScreen:()=>a.mcU,GradientType:()=>a.hqM,HoverEvent:()=>a.LOu,HslAnimation:()=>a.i74,Interactivity:()=>a.kft,InteractivityDetect:()=>a.hLK,InteractorType:()=>a.e9i,LimitMode:()=>a.dtg,ManualParticle:()=>a.jLd,Modes:()=>a.dX$,Move:()=>a.yUV,MoveAngle:()=>a.hzL,MoveAttract:()=>a.RE3,MoveCenter:()=>a.Zgv,MoveDirection:()=>a.FWc,MoveGravity:()=>a.y1u,MovePath:()=>a.vU7,Opacity:()=>a.Y4E,OpacityAnimation:()=>a.IhC,Options:()=>a.JYR,OptionsColor:()=>a.Oit,OutMode:()=>a.Yzx,OutModeDirection:()=>a.v5k,OutModes:()=>a.j$q,Parallax:()=>a.kQI,ParticleOutType:()=>a.x_I,ParticlesBounce:()=>a.wvn,ParticlesBounceFactor:()=>a.F5W,ParticlesDensity:()=>a.M1g,ParticlesInteractorBase:()=>a.U4p,ParticlesNumber:()=>a.NeW,ParticlesNumberLimit:()=>a.Ad4,ParticlesOptions:()=>a.UOj,PixelMode:()=>a.qiC,Point:()=>a.bRX,RangedAnimationOptions:()=>a.Q4c,RangedAnimationValueWithRandom:()=>a.AIw,Rectangle:()=>a.M_G,ResizeEvent:()=>a.z0z,Responsive:()=>a.Ft2,ResponsiveMode:()=>a.ARr,RotateDirection:()=>a.pTR,Shape:()=>a.ypk,Size:()=>a.or0,SizeAnimation:()=>a.qvJ,Spin:()=>a.tKH,StartValueType:()=>a.SKz,Stroke:()=>a.tcj,Theme:()=>a.Sxu,ThemeDefault:()=>a.fKy,ThemeMode:()=>a.lGv,ValueWithRandom:()=>a.PVU,Vector:()=>a.Miz,Vector3d:()=>a.pGL,ZIndex:()=>a.Pyx,alterHsl:()=>a.yxh,animate:()=>a.i0Z,areBoundsInside:()=>a.O2_,arrayRandomIndex:()=>a.n02,calcExactPositionOrRandomFromSize:()=>a.NxB,calcExactPositionOrRandomFromSizeRanged:()=>a.qMV,calcPositionFromSize:()=>a.ehY,calcPositionOrRandomFromSize:()=>a.MhH,calcPositionOrRandomFromSizeRanged:()=>a.l1q,calculateBounds:()=>a.AEc,cancelAnimation:()=>a.pxm,canvasFirstIndex:()=>a.Nxk,canvasTag:()=>a.RFH,circleBounce:()=>a.pEn,circleBounceDataFromParticle:()=>a.Tgl,clamp:()=>a.qE8,clear:()=>a.IUd,clearDrawPlugin:()=>a.l7g,clickRadius:()=>a.FSi,cloneStyle:()=>a.td3,collisionVelocity:()=>a.OWw,colorMix:()=>a.EYT,colorToHsl:()=>a.mKQ,colorToRgb:()=>a.qe,countOffset:()=>a.nqC,decayOffset:()=>a.WH8,deepExtend:()=>a.zwS,defaultAlpha:()=>a.aZx,defaultAngle:()=>a.tAJ,defaultDensityFactor:()=>a.lA,defaultFps:()=>a.z$P,defaultFpsLimit:()=>a.i8E,defaultLoops:()=>a.hKc,defaultOpacity:()=>a.hvP,defaultRadius:()=>a.M1H,defaultRatio:()=>a.$xb,defaultReduceFactor:()=>a.ZpR,defaultRemoveQuantity:()=>a.xd3,defaultRetryCount:()=>a.rqX,defaultRgbMin:()=>a.Fli,defaultTime:()=>a.tRb,defaultTransform:()=>a.UgP,defaultTransformValue:()=>a.zss,defaultVelocity:()=>a.jnW,degToRad:()=>a.puj,deleteCount:()=>a.LDU,divMode:()=>a.NVT,divModeExecute:()=>a.U6C,double:()=>a.gdl,doublePI:()=>a.R1e,drawAfterEffect:()=>a.kac,drawBeforeEffect:()=>a.z5n,drawLine:()=>a.V6E,drawParticle:()=>a.p0m,drawParticlePlugin:()=>a.Wbn,drawPlugin:()=>a.e_p,drawShape:()=>a.KG7,drawShapeAfterDraw:()=>a.gF3,drawShapeBeforeDraw:()=>a.VGT,empty:()=>a.Iex,executeOnSingleOrMultiple:()=>a.wJ2,findItemFromSingleOrMultiple:()=>a.w3Z,fireworks:()=>v,generatedAttribute:()=>a.eb4,generatedFalse:()=>a.X$G,generatedTrue:()=>a.cei,getDistance:()=>a.YfF,getDistances:()=>a.vrU,getFullScreenStyle:()=>a.hJS,getHslAnimationFromHsl:()=>a.pzy,getHslFromAnimation:()=>a.O_i,getLinkColor:()=>a._hh,getLinkRandomColor:()=>a.PGG,getLogger:()=>a.tZQ,getParticleBaseVelocity:()=>a.$mf,getParticleDirectionAngle:()=>a.JYE,getPosition:()=>a.E90,getRandom:()=>a.G0i,getRandomInRange:()=>a.e4g,getRandomRgbColor:()=>a.OHq,getRangeMax:()=>a.W9e,getRangeMin:()=>a.Sgh,getRangeValue:()=>a.VGA,getSize:()=>a.YCE,getStyleFromHsl:()=>a.LCf,getStyleFromRgb:()=>a.xxz,hMax:()=>a.vSh,hMin:()=>a.L1V,hPhase:()=>a.U0s,half:()=>a.MXx,hasMatchMedia:()=>a.q8J,hslToRgb:()=>a.YLU,hslaToRgba:()=>a.ayx,identity:()=>a.D_O,initParticleNumericAnimationValue:()=>a.XsS,inverseFactorNumerator:()=>a.hBr,isArray:()=>a.cyL,isBoolean:()=>a.Lmq,isDivModeEnabled:()=>a.iKf,isFunction:()=>a.Tnt,isInArray:()=>a.hnD,isNull:()=>a.kZJ,isNumber:()=>a.EtT,isObject:()=>a.Gvm,isPointInside:()=>a.Tj8,isString:()=>a.KgX,itemFromArray:()=>a.Vh1,itemFromSingleOrMultiple:()=>a.TA3,lFactor:()=>a.iUN,lMax:()=>a.$_c,lMin:()=>a.vd6,lengthOffset:()=>a.K3,loadFont:()=>a.AlN,loadMinIndex:()=>a.PZY,loadOptions:()=>a.ZGK,loadParticlesOptions:()=>a.yVN,loadRandomFactor:()=>a.$v4,manualCount:()=>a.IUF,manualDefaultPosition:()=>a.tdJ,midColorValue:()=>a.BWm,millisecondsToSeconds:()=>a.XuV,minCoordinate:()=>a.TLE,minCount:()=>a.wMU,minFpsLimit:()=>a.DNI,minIndex:()=>a.z94,minLimit:()=>a.ou7,minRetries:()=>a.N5f,minStrokeWidth:()=>a.Dvh,minVelocity:()=>a.nzC,minZ:()=>a.X_1,minimumLength:()=>a.$OP,minimumSize:()=>a.w20,mix:()=>a.jhA,mouseDownEvent:()=>a.ms7,mouseLeaveEvent:()=>a.Z04,mouseMoveEvent:()=>a.RbF,mouseOutEvent:()=>a.sf3,mouseUpEvent:()=>a.voK,none:()=>a.dvp,one:()=>a.xHs,originPoint:()=>a.boI,paintBase:()=>a.SnF,paintImage:()=>a.MdX,parseAlpha:()=>a.M3Y,percentDenominator:()=>a.a56,phaseNumerator:()=>a.BFN,posOffset:()=>a.unK,qTreeCapacity:()=>a.Kw2,quarter:()=>a.$GP,randomColorValue:()=>a.mRf,randomInRangeValue:()=>a.vEz,rangeColorToHsl:()=>a.R5R,rangeColorToRgb:()=>a.BN0,removeDeleteCount:()=>a.JC0,removeMinIndex:()=>a.vFD,resizeEvent:()=>a.NFi,rgbMax:()=>a.oiR,rgbToHsl:()=>a.K6u,rollFactor:()=>a.laE,sMax:()=>a.euA,sMin:()=>a.yxQ,sNormalizedOffset:()=>a.aEA,safeDocument:()=>a.T5G,safeIntersectionObserver:()=>a.BRq,safeMatchMedia:()=>a.lVH,safeMutationObserver:()=>a.tGT,setAnimationFunctions:()=>a.ADE,setLogger:()=>a.Bro,setRandom:()=>a.OEu,setRangeValue:()=>a.DT4,sextuple:()=>a.zgn,singleDivModeExecute:()=>a.S7x,sizeFactor:()=>a.Rhv,squareExp:()=>a.dmB,stringToAlpha:()=>a.zIs,stringToRgb:()=>a.egF,subdivideCount:()=>a.Pgy,threeQuarter:()=>a.RqE,touchCancelEvent:()=>a.G3T,touchDelay:()=>a.pHD,touchEndEvent:()=>a.BpM,touchEndLengthOffset:()=>a.KZx,touchMoveEvent:()=>a.DGQ,touchStartEvent:()=>a.s75,triple:()=>a.NuQ,tryCountIncrement:()=>a.Eow,tsParticles:()=>a.$k3,updateAnimation:()=>a.UC0,updateColor:()=>a.JvX,updateColorValue:()=>a.Kog,visibilityChangeEvent:()=>a.nKi,zIndexFactorOffset:()=>a.RVs});var a=o(6474);class r{constructor(){this.background="none",this.brightness={min:-30,max:30},this.colors=["#ff595e","#ffca3a","#8ac926","#1982c4","#6a4c93"],this.gravity=5,this.minHeight={min:10,max:30},this.rate=10,this.saturation={min:-30,max:30},this.sounds=!0,this.speed={min:5,max:15},this.splitCount={min:75,max:150}}load(t){(0,a.kZJ)(t)||(void 0!==t.background&&(this.background=t.background),void 0!==t.colors&&((0,a.cyL)(t.colors)?this.colors=[...t.colors]:this.colors=t.colors),void 0!==t.brightness&&(this.brightness=(0,a.DT4)(t.brightness)),void 0!==t.gravity&&(this.gravity=(0,a.DT4)(t.gravity)),void 0!==t.minHeight&&(this.minHeight=(0,a.DT4)(t.minHeight)),void 0!==t.rate&&(this.rate=(0,a.DT4)(t.rate)),void 0!==t.saturation&&(this.saturation=(0,a.DT4)(t.saturation)),void 0!==t.sounds&&(this.sounds=t.sounds),void 0!==t.speed&&(this.speed=(0,a.DT4)(t.speed)),void 0!==t.splitCount&&(this.splitCount=(0,a.DT4)(t.splitCount)))}}let c=!1,l=!1;const d=t=>{const e=t.data;return"circle"===e.particle.shape&&!!e.particle.splitCount&&e.particle.splitCount<2};class h{constructor(t){this._container=t}pause(){this._container.pause()}play(){this._container.play()}stop(){this._container.stop()}}async function u(t){if(!c){if(l)return new Promise((t=>{const e=setInterval((()=>{c&&(clearInterval(e),t())}),100)}));l=!0,t.checkVersion("4.0.0-alpha.1"),t.register((async t=>{const{loadEmittersPlugin:e}=await o.e(761).then(o.bind(o,1761)),{loadEmittersShapeSquare:i}=await o.e(739).then(o.bind(o,2739)),{loadSoundsPlugin:n}=await o.e(312).then(o.bind(o,9312)),{loadRotateUpdater:s}=await o.e(693).then(o.bind(o,5693)),{loadDestroyUpdater:a}=await o.e(770).then(o.bind(o,8770)),{loadLifeUpdater:r}=await o.e(582).then(o.bind(o,582)),{loadTrailEffect:c}=await o.e(370).then(o.bind(o,2370)),{loadBasic:l}=await o.e(422).then(o.bind(o,2422));e(t),i(t),n(t),s(t),a(t),r(t),c(t),l(t)})),l=!1,c=!0}}async function p(t,e,i){await u(a.$k3);const n=new r;n.load(e);const o=function(t,e){return{detectRetina:!0,background:{color:t.background},fullScreen:{enable:!!e},fpsLimit:60,emitters:{direction:a.FWc.top,life:{count:0,duration:.1,delay:.1},rate:{delay:(0,a.EtT)(t.rate)?1/t.rate:{min:1/(0,a.Sgh)(t.rate),max:1/(0,a.W9e)(t.rate)},quantity:1},size:{width:100,height:0},position:{y:100,x:50}},particles:{number:{value:0},color:{value:"#fff"},destroy:{mode:"split",bounds:{top:(0,a.DT4)(t.minHeight)},split:{sizeOffset:!1,count:1,factor:{value:.333333},rate:{value:t.splitCount},colorOffset:{s:t.saturation,l:t.brightness},particles:{color:{value:t.colors},number:{value:0},opacity:{value:{min:.1,max:1},animation:{enable:!0,speed:1,sync:!1,startValue:a.SKz.max,destroy:a.VKE.min}},effect:{type:"trail",options:{trail:{length:{min:5,max:10}}}},shape:{type:"circle"},size:{value:{min:1,max:2},animation:{enable:!0,speed:5,count:1,sync:!1,startValue:a.SKz.min,destroy:a.VKE.none}},life:{count:1,duration:{value:{min:.25,max:.5}}},move:{decay:{min:.05,max:.1},enable:!0,gravity:{enable:!0,inverse:!1,acceleration:(0,a.DT4)(t.gravity)},speed:(0,a.DT4)(t.speed),direction:"none",outModes:a.Yzx.destroy}}}},life:{count:1},effect:{type:"trail",options:{trail:{length:{min:10,max:30},minWidth:1,maxWidth:1}}},shape:{type:"circle"},size:{value:1},opacity:{value:.5},rotate:{path:!0},move:{enable:!0,gravity:{acceleration:15,enable:!0,inverse:!0,maxSpeed:100},speed:{min:10,max:20},outModes:{default:a.Yzx.destroy,top:a.Yzx.none}}},sounds:{enable:t.sounds,events:[{event:a.Bx4.particleRemoved,filter:d,audio:["https://particles.js.org/audio/explosion0.mp3","https://particles.js.org/audio/explosion1.mp3","https://particles.js.org/audio/explosion2.mp3"]}],volume:50}}}(n,i),s=await a.$k3.load({id:t,element:i,options:o});if(s)return new h(s)}async function v(t,e){let i,n;return(0,a.KgX)(t)?(i=t,n=e??{}):(i="fireworks",n=t??{}),p(i,n)}return v.create=async(t,e)=>p(t.id||"fireworks",e??{},t),v.init=async()=>{await u(a.$k3)},v.version="4.0.0-alpha.1",globalThis.fireworks=v,s})()));
2
+ !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var i=e();for(var n in i)("object"==typeof exports?exports:t)[n]=i[n]}}(this,(()=>(()=>{var t,e,i={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,$_:()=>G,$v:()=>rt,$x:()=>A,BF:()=>Lt,BW:()=>w,Bp:()=>d,DG:()=>h,DN:()=>st,D_:()=>St,Dv:()=>Ot,Eo:()=>ut,FS:()=>Q,Fl:()=>Zt,G3:()=>u,GW:()=>N,IU:()=>zt,Ie:()=>H,JC:()=>it,K3:()=>kt,KZ:()=>tt,Kw:()=>O,L1:()=>q,LD:()=>Et,M1:()=>mt,MX:()=>m,N5:()=>pt,NF:()=>p,Nu:()=>_t,Nx:()=>at,PZ:()=>ct,Pg:()=>V,R1:()=>z,RF:()=>T,RV:()=>X,Rb:()=>c,Rh:()=>yt,Rq:()=>W,TL:()=>et,U0:()=>B,Ug:()=>x,WH:()=>ht,X$:()=>D,X_:()=>ft,Xu:()=>g,Z0:()=>a,Zp:()=>_,a5:()=>f,aE:()=>It,aZ:()=>R,bo:()=>y,ce:()=>E,dm:()=>S,dv:()=>dt,eb:()=>n,eu:()=>C,gd:()=>M,hB:()=>I,hK:()=>Gt,hv:()=>Y,i8:()=>ot,iU:()=>Ft,jn:()=>Ct,l:()=>vt,lA:()=>Rt,mR:()=>b,ms:()=>o,nK:()=>v,nq:()=>bt,oi:()=>L,ou:()=>xt,pH:()=>Dt,rq:()=>P,s7:()=>l,sf:()=>r,tA:()=>Pt,tR:()=>qt,td:()=>Tt,un:()=>gt,vF:()=>nt,vS:()=>Z,vd:()=>At,vo:()=>s,w2:()=>j,wM:()=>wt,xH:()=>lt,xd:()=>F,yx:()=>K,z$:()=>k,z9:()=>Mt,zg:()=>Vt,zs:()=>U});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},x={a:1,b:0,c:0,d:1},b="random",w="mid",M=2,z=Math.PI*M,k=60,R=1,E="true",D="false",T="canvas",P=0,S=2,O=4,F=1,A=1,_=1,V=4,I=1,L=255,Z=360,C=100,G=100,q=0,K=0,B=60,H=0,$=.25,W=m+$,N=0,U=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,xt=0,bt=1,wt=0,Mt=0,zt=0,kt=1,Rt=1,Et=1,Dt=500,Tt=50,Pt=0,St=1,Ot=0,Ft=1,At=0,_t=3,Vt=6,It=1,Lt=1,Zt=0,Ct=0,Gt=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),x=o.isRotating,b={a:y*(l.a??n.Ug.a),b:x?g*(l.b??n.D_):l.b??n.Ug.b,c:x?-g*(l.c??n.D_):l.c??n.Ug.c,d:y*(l.d??n.Ug.d)};i.setTransform(b.a,b.b,b.c,b.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:b,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:()=>D,AD:()=>p,DT:()=>M,G0:()=>h,JY:()=>E,M3:()=>_,Mh:()=>S,Nx:()=>F,OE:()=>d,OW:()=>T,Sg:()=>b,VG:()=>x,W9:()=>w,Yf:()=>k,e4:()=>u,eh:()=>P,i0:()=>v,jh:()=>g,l1:()=>O,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=b(t);return e===i&&(i=0),u(i,e)}function x(t){return(0,a.Et)(t)?t:y(t)}function b(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=b(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 E(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 D(t){const e=s.M.origin;return e.length=1,e.angle=t,e}function T(t,e,i,n){return s.M.create(t.x*(i-n)/(i+n)+e.x*o.gd*n/(i+n),t.y)}function P(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 S(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 O(t){const e={x:void 0!==t.position?.x?x(t.position.x):void 0,y:void 0!==t.position?.y?x(t.position.y):void 0};return S({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?x(t.position.x):void 0,y:void 0!==t.position?.y?x(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:()=>P,K6:()=>p,Ko:()=>T,LC:()=>w,OH:()=>y,O_:()=>R,PG:()=>k,R5:()=>u,YL:()=>m,_h:()=>z,ay:()=>g,eg:()=>f,mK:()=>h,pz:()=>E,qe:()=>d,xx:()=>x,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 x(t,e,i){return e?b(t,i):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(e??o.hv).toString()})`}(t,i)}function b(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 b(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 E(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&&(D(n.h,e.h,i),D(n.s,e.s,i),D(n.l,e.l,i)),n}function D(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 T(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 P(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.$_}};T(i,a.h,!1,e),T(n,a.s,!0,e),T(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:()=>D.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:()=>T.V,GWL:()=>K.G,Q5V:()=>F.Q,mgy:()=>P,Bx4:()=>a.B,sVA:()=>B.s,sJd:()=>u,mcU:()=>C.m,hqM:()=>x,LOu:()=>H.L,i74:()=>G.i,kft:()=>N.k,hLK:()=>_.h,e9i:()=>h.e,dtg:()=>M.d,jLd:()=>j.j,dX$:()=>U.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:()=>b.v,j$q:()=>rt.j,kQI:()=>$.k,x_I:()=>S.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:()=>W.z,Ft2:()=>xt.F,ARr:()=>E.A,pTR:()=>v,ypk:()=>ft.y,or0:()=>mt.o,qvJ:()=>gt.q,tKH:()=>lt.t,SKz:()=>O.S,tcj:()=>et.t,Sxu:()=>bt.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:()=>Et.cy,Lmq:()=>Et.Lm,iKf:()=>o.iK,Tnt:()=>Et.Tn,hnD:()=>o.hn,kZJ:()=>Et.kZ,EtT:()=>Et.Et,Gvm:()=>Et.Gv,Tj8:()=>o.Tj,KgX:()=>Et.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:()=>Dt,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.2"}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 x,b=i(2091),w=i(682),M=i(5511),z=i(1176),k=i(6900),R=i(569),E=i(9442),D=i(5158),T=i(9732);!function(t){t.linear="linear",t.radial="radial",t.random="random"}(x||(x={}));var P,S=i(5608),O=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"}(P||(P={}));var A=i(4764),_=i(8980),V=i(6896),I=i(3115),L=i(1190),Z=i(952),C=i(6440),G=i(3048),q=i(3893),K=i(1976),B=i(8944),H=i(2207),$=i(1602),W=i(8193),N=i(5368),U=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),xt=i(8493),bt=i(9552),wt=i(4699),Mt=i(5121),zt=i(3618),kt=i(4975),Rt=i(1896),Et=i(998);const Dt=new d;globalThis.tsParticles=Dt},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:()=>x,BR:()=>m,E9:()=>L,NV:()=>P,O2:()=>z,S7:()=>T,T5:()=>v,TA:()=>A,Tg:()=>S,Tj:()=>M,U6:()=>D,UC:()=>C,Vh:()=>w,Xs:()=>V,YC:()=>Z,hJ:()=>q,hn:()=>y,iK:()=>E,lV:()=>f,n0:()=>b,pE:()=>O,q8:()=>p,tG:()=>g,td:()=>G,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 x(t,e){try{await v().fonts.load(`${e??"400"} 36px '${t??"Verdana"}'`)}catch{}}function b(t){return Math.floor((0,n.G0)()*t.length)}function w(t,e,i=!0){return t[void 0!==e&&i?e%t.length:b(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 E(t,e){return!!_(e,(e=>e.enable&&y(t,e.mode)))}function D(t,e,i){F(e,(e=>{const n=e.mode;e.enable&&y(t,n)&&T(e,i)}))}function T(t,e){F(t.selectors,(i=>{e(i,t)}))}function P(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 S(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 O(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 C(t,e,i,o,s){if(t.destroyed||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;const a=(e.velocity??0)*s.factor,l=e.min,d=e.max,h=e.decay??1;if(e.time??=0,(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=s.value),!((e.delayTime??0)>0&&e.time<(e.delayTime??0))){switch(e.status){case r.H.increasing:e.value>=d?(i?e.status=r.H.decreasing:e.value-=d,e.loops??=0,e.loops++):e.value+=a;break;case r.H.decreasing:e.value<=l?(i?e.status=r.H.increasing:e.value+=d,e.loops??=0,e.loops++):e.value-=a}e.velocity&&1!==h&&(e.velocity*=h),function(t,e,i,n,o){switch(e){case c.V.max:i>=o&&t.destroy();break;case c.V.min:i<=n&&t.destroy()}}(t,o,e.value,l,d),e.value=(0,n.qE)(e.value,l,d)}}function G(t){const e=v().createElement("div").style;for(const i in t){const n=t[i];if(!Object.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/fireworks:",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={827: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_fireworks=this.webpackChunk_tsparticles_fireworks||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var s={};o.r(s),o.d(s,{AlterType:()=>a.HKZ,AnimatableColor:()=>a.A9e,AnimationMode:()=>a.gmr,AnimationOptions:()=>a.pK_,AnimationStatus:()=>a.H_P,AnimationValueWithRandom:()=>a.Jmi,Background:()=>a.VS$,BaseRange:()=>a.dgY,Circle:()=>a.jlt,ClickEvent:()=>a.rXQ,ColorAnimation:()=>a.evc,DestroyType:()=>a.VKE,DivEvent:()=>a.GWL,DivType:()=>a.Q5V,EasingType:()=>a.mgy,EventType:()=>a.Bx4,Events:()=>a.sVA,ExternalInteractorBase:()=>a.sJd,FullScreen:()=>a.mcU,GradientType:()=>a.hqM,HoverEvent:()=>a.LOu,HslAnimation:()=>a.i74,Interactivity:()=>a.kft,InteractivityDetect:()=>a.hLK,InteractorType:()=>a.e9i,LimitMode:()=>a.dtg,ManualParticle:()=>a.jLd,Modes:()=>a.dX$,Move:()=>a.yUV,MoveAngle:()=>a.hzL,MoveAttract:()=>a.RE3,MoveCenter:()=>a.Zgv,MoveDirection:()=>a.FWc,MoveGravity:()=>a.y1u,MovePath:()=>a.vU7,Opacity:()=>a.Y4E,OpacityAnimation:()=>a.IhC,Options:()=>a.JYR,OptionsColor:()=>a.Oit,OutMode:()=>a.Yzx,OutModeDirection:()=>a.v5k,OutModes:()=>a.j$q,Parallax:()=>a.kQI,ParticleOutType:()=>a.x_I,ParticlesBounce:()=>a.wvn,ParticlesBounceFactor:()=>a.F5W,ParticlesDensity:()=>a.M1g,ParticlesInteractorBase:()=>a.U4p,ParticlesNumber:()=>a.NeW,ParticlesNumberLimit:()=>a.Ad4,ParticlesOptions:()=>a.UOj,PixelMode:()=>a.qiC,Point:()=>a.bRX,RangedAnimationOptions:()=>a.Q4c,RangedAnimationValueWithRandom:()=>a.AIw,Rectangle:()=>a.M_G,ResizeEvent:()=>a.z0z,Responsive:()=>a.Ft2,ResponsiveMode:()=>a.ARr,RotateDirection:()=>a.pTR,Shape:()=>a.ypk,Size:()=>a.or0,SizeAnimation:()=>a.qvJ,Spin:()=>a.tKH,StartValueType:()=>a.SKz,Stroke:()=>a.tcj,Theme:()=>a.Sxu,ThemeDefault:()=>a.fKy,ThemeMode:()=>a.lGv,ValueWithRandom:()=>a.PVU,Vector:()=>a.Miz,Vector3d:()=>a.pGL,ZIndex:()=>a.Pyx,alterHsl:()=>a.yxh,animate:()=>a.i0Z,areBoundsInside:()=>a.O2_,arrayRandomIndex:()=>a.n02,calcExactPositionOrRandomFromSize:()=>a.NxB,calcExactPositionOrRandomFromSizeRanged:()=>a.qMV,calcPositionFromSize:()=>a.ehY,calcPositionOrRandomFromSize:()=>a.MhH,calcPositionOrRandomFromSizeRanged:()=>a.l1q,calculateBounds:()=>a.AEc,cancelAnimation:()=>a.pxm,canvasFirstIndex:()=>a.Nxk,canvasTag:()=>a.RFH,circleBounce:()=>a.pEn,circleBounceDataFromParticle:()=>a.Tgl,clamp:()=>a.qE8,clear:()=>a.IUd,clearDrawPlugin:()=>a.l7g,clickRadius:()=>a.FSi,cloneStyle:()=>a.td3,collisionVelocity:()=>a.OWw,colorMix:()=>a.EYT,colorToHsl:()=>a.mKQ,colorToRgb:()=>a.qe,countOffset:()=>a.nqC,decayOffset:()=>a.WH8,deepExtend:()=>a.zwS,defaultAlpha:()=>a.aZx,defaultAngle:()=>a.tAJ,defaultDensityFactor:()=>a.lA,defaultFps:()=>a.z$P,defaultFpsLimit:()=>a.i8E,defaultLoops:()=>a.hKc,defaultOpacity:()=>a.hvP,defaultRadius:()=>a.M1H,defaultRatio:()=>a.$xb,defaultReduceFactor:()=>a.ZpR,defaultRemoveQuantity:()=>a.xd3,defaultRetryCount:()=>a.rqX,defaultRgbMin:()=>a.Fli,defaultTime:()=>a.tRb,defaultTransform:()=>a.UgP,defaultTransformValue:()=>a.zss,defaultVelocity:()=>a.jnW,degToRad:()=>a.puj,deleteCount:()=>a.LDU,divMode:()=>a.NVT,divModeExecute:()=>a.U6C,double:()=>a.gdl,doublePI:()=>a.R1e,drawAfterEffect:()=>a.kac,drawBeforeEffect:()=>a.z5n,drawLine:()=>a.V6E,drawParticle:()=>a.p0m,drawParticlePlugin:()=>a.Wbn,drawPlugin:()=>a.e_p,drawShape:()=>a.KG7,drawShapeAfterDraw:()=>a.gF3,drawShapeBeforeDraw:()=>a.VGT,empty:()=>a.Iex,executeOnSingleOrMultiple:()=>a.wJ2,findItemFromSingleOrMultiple:()=>a.w3Z,fireworks:()=>v,generatedAttribute:()=>a.eb4,generatedFalse:()=>a.X$G,generatedTrue:()=>a.cei,getDistance:()=>a.YfF,getDistances:()=>a.vrU,getFullScreenStyle:()=>a.hJS,getHslAnimationFromHsl:()=>a.pzy,getHslFromAnimation:()=>a.O_i,getLinkColor:()=>a._hh,getLinkRandomColor:()=>a.PGG,getLogger:()=>a.tZQ,getParticleBaseVelocity:()=>a.$mf,getParticleDirectionAngle:()=>a.JYE,getPosition:()=>a.E90,getRandom:()=>a.G0i,getRandomInRange:()=>a.e4g,getRandomRgbColor:()=>a.OHq,getRangeMax:()=>a.W9e,getRangeMin:()=>a.Sgh,getRangeValue:()=>a.VGA,getSize:()=>a.YCE,getStyleFromHsl:()=>a.LCf,getStyleFromRgb:()=>a.xxz,hMax:()=>a.vSh,hMin:()=>a.L1V,hPhase:()=>a.U0s,half:()=>a.MXx,hasMatchMedia:()=>a.q8J,hslToRgb:()=>a.YLU,hslaToRgba:()=>a.ayx,identity:()=>a.D_O,initParticleNumericAnimationValue:()=>a.XsS,inverseFactorNumerator:()=>a.hBr,isArray:()=>a.cyL,isBoolean:()=>a.Lmq,isDivModeEnabled:()=>a.iKf,isFunction:()=>a.Tnt,isInArray:()=>a.hnD,isNull:()=>a.kZJ,isNumber:()=>a.EtT,isObject:()=>a.Gvm,isPointInside:()=>a.Tj8,isString:()=>a.KgX,itemFromArray:()=>a.Vh1,itemFromSingleOrMultiple:()=>a.TA3,lFactor:()=>a.iUN,lMax:()=>a.$_c,lMin:()=>a.vd6,lengthOffset:()=>a.K3,loadFont:()=>a.AlN,loadMinIndex:()=>a.PZY,loadOptions:()=>a.ZGK,loadParticlesOptions:()=>a.yVN,loadRandomFactor:()=>a.$v4,manualCount:()=>a.IUF,manualDefaultPosition:()=>a.tdJ,midColorValue:()=>a.BWm,millisecondsToSeconds:()=>a.XuV,minCoordinate:()=>a.TLE,minCount:()=>a.wMU,minFpsLimit:()=>a.DNI,minIndex:()=>a.z94,minLimit:()=>a.ou7,minRetries:()=>a.N5f,minStrokeWidth:()=>a.Dvh,minVelocity:()=>a.nzC,minZ:()=>a.X_1,minimumLength:()=>a.$OP,minimumSize:()=>a.w20,mix:()=>a.jhA,mouseDownEvent:()=>a.ms7,mouseLeaveEvent:()=>a.Z04,mouseMoveEvent:()=>a.RbF,mouseOutEvent:()=>a.sf3,mouseUpEvent:()=>a.voK,none:()=>a.dvp,one:()=>a.xHs,originPoint:()=>a.boI,paintBase:()=>a.SnF,paintImage:()=>a.MdX,parseAlpha:()=>a.M3Y,percentDenominator:()=>a.a56,phaseNumerator:()=>a.BFN,posOffset:()=>a.unK,qTreeCapacity:()=>a.Kw2,quarter:()=>a.$GP,randomColorValue:()=>a.mRf,randomInRangeValue:()=>a.vEz,rangeColorToHsl:()=>a.R5R,rangeColorToRgb:()=>a.BN0,removeDeleteCount:()=>a.JC0,removeMinIndex:()=>a.vFD,resizeEvent:()=>a.NFi,rgbMax:()=>a.oiR,rgbToHsl:()=>a.K6u,rollFactor:()=>a.laE,sMax:()=>a.euA,sMin:()=>a.yxQ,sNormalizedOffset:()=>a.aEA,safeDocument:()=>a.T5G,safeIntersectionObserver:()=>a.BRq,safeMatchMedia:()=>a.lVH,safeMutationObserver:()=>a.tGT,setAnimationFunctions:()=>a.ADE,setLogger:()=>a.Bro,setRandom:()=>a.OEu,setRangeValue:()=>a.DT4,sextuple:()=>a.zgn,singleDivModeExecute:()=>a.S7x,sizeFactor:()=>a.Rhv,squareExp:()=>a.dmB,stringToAlpha:()=>a.zIs,stringToRgb:()=>a.egF,subdivideCount:()=>a.Pgy,threeQuarter:()=>a.RqE,touchCancelEvent:()=>a.G3T,touchDelay:()=>a.pHD,touchEndEvent:()=>a.BpM,touchEndLengthOffset:()=>a.KZx,touchMoveEvent:()=>a.DGQ,touchStartEvent:()=>a.s75,triple:()=>a.NuQ,tryCountIncrement:()=>a.Eow,tsParticles:()=>a.$k3,updateAnimation:()=>a.UC0,updateColor:()=>a.JvX,updateColorValue:()=>a.Kog,visibilityChangeEvent:()=>a.nKi,zIndexFactorOffset:()=>a.RVs});var a=o(6474);class r{constructor(){this.background="none",this.brightness={min:-30,max:30},this.colors=["#ff595e","#ffca3a","#8ac926","#1982c4","#6a4c93"],this.gravity=5,this.minHeight={min:10,max:30},this.rate=10,this.saturation={min:-30,max:30},this.sounds=!0,this.speed={min:5,max:15},this.splitCount={min:75,max:150}}load(t){(0,a.kZJ)(t)||(void 0!==t.background&&(this.background=t.background),void 0!==t.colors&&((0,a.cyL)(t.colors)?this.colors=[...t.colors]:this.colors=t.colors),void 0!==t.brightness&&(this.brightness=(0,a.DT4)(t.brightness)),void 0!==t.gravity&&(this.gravity=(0,a.DT4)(t.gravity)),void 0!==t.minHeight&&(this.minHeight=(0,a.DT4)(t.minHeight)),void 0!==t.rate&&(this.rate=(0,a.DT4)(t.rate)),void 0!==t.saturation&&(this.saturation=(0,a.DT4)(t.saturation)),void 0!==t.sounds&&(this.sounds=t.sounds),void 0!==t.speed&&(this.speed=(0,a.DT4)(t.speed)),void 0!==t.splitCount&&(this.splitCount=(0,a.DT4)(t.splitCount)))}}let c=!1,l=!1;const d=t=>{const e=t.data;return"circle"===e.particle.shape&&!!e.particle.splitCount&&e.particle.splitCount<2};class h{constructor(t){this._container=t}pause(){this._container.pause()}play(){this._container.play()}stop(){this._container.stop()}}async function u(t){if(!c){if(l)return new Promise((t=>{const e=setInterval((()=>{c&&(clearInterval(e),t())}),100)}));l=!0,t.checkVersion("4.0.0-alpha.2"),t.register((async t=>{const{loadEmittersPlugin:e}=await o.e(761).then(o.bind(o,1761)),{loadEmittersShapeSquare:i}=await o.e(739).then(o.bind(o,2739)),{loadSoundsPlugin:n}=await o.e(312).then(o.bind(o,9312)),{loadRotateUpdater:s}=await o.e(693).then(o.bind(o,5693)),{loadDestroyUpdater:a}=await o.e(770).then(o.bind(o,8770)),{loadLifeUpdater:r}=await o.e(582).then(o.bind(o,582)),{loadTrailEffect:c}=await o.e(370).then(o.bind(o,2370)),{loadBasic:l}=await o.e(422).then(o.bind(o,2422));e(t),i(t),n(t),s(t),a(t),r(t),c(t),l(t)})),l=!1,c=!0}}async function p(t,e,i){await u(a.$k3);const n=new r;n.load(e);const o=function(t,e){return{detectRetina:!0,background:{color:t.background},fullScreen:{enable:!!e},fpsLimit:60,emitters:{direction:a.FWc.top,life:{count:0,duration:.1,delay:.1},rate:{delay:(0,a.EtT)(t.rate)?1/t.rate:{min:1/(0,a.Sgh)(t.rate),max:1/(0,a.W9e)(t.rate)},quantity:1},size:{width:100,height:0},position:{y:100,x:50}},particles:{number:{value:0},color:{value:"#fff"},destroy:{mode:"split",bounds:{top:(0,a.DT4)(t.minHeight)},split:{sizeOffset:!1,count:1,factor:{value:.333333},rate:{value:t.splitCount},colorOffset:{s:t.saturation,l:t.brightness},particles:{color:{value:t.colors},number:{value:0},opacity:{value:{min:.1,max:1},animation:{enable:!0,speed:1,sync:!1,startValue:a.SKz.max,destroy:a.VKE.min}},effect:{type:"trail",options:{trail:{length:{min:5,max:10}}}},shape:{type:"circle"},size:{value:{min:1,max:2},animation:{enable:!0,speed:5,count:1,sync:!1,startValue:a.SKz.min,destroy:a.VKE.none}},life:{count:1,duration:{value:{min:.25,max:.5}}},move:{decay:{min:.05,max:.1},enable:!0,gravity:{enable:!0,inverse:!1,acceleration:(0,a.DT4)(t.gravity)},speed:(0,a.DT4)(t.speed),direction:"none",outModes:a.Yzx.destroy}}}},life:{count:1},effect:{type:"trail",options:{trail:{length:{min:10,max:30},minWidth:1,maxWidth:1}}},shape:{type:"circle"},size:{value:1},opacity:{value:.5},rotate:{path:!0},move:{enable:!0,gravity:{acceleration:15,enable:!0,inverse:!0,maxSpeed:100},speed:{min:10,max:20},outModes:{default:a.Yzx.destroy,top:a.Yzx.none}}},sounds:{enable:t.sounds,events:[{event:a.Bx4.particleRemoved,filter:d,audio:["https://particles.js.org/audio/explosion0.mp3","https://particles.js.org/audio/explosion1.mp3","https://particles.js.org/audio/explosion2.mp3"]}],volume:50}}}(n,i),s=await a.$k3.load({id:t,element:i,options:o});if(s)return new h(s)}async function v(t,e){let i,n;return(0,a.KgX)(t)?(i=t,n=e??{}):(i="fireworks",n=t??{}),p(i,n)}return v.create=async(t,e)=>p(t.id||"fireworks",e??{},t),v.init=async()=>{await u(a.$k3)},v.version="4.0.0-alpha.2",globalThis.fireworks=v,s})()));
@@ -1 +1 @@
1
- /*! tsParticles Fireworks v4.0.0-alpha.1 by Matteo Bruni */
1
+ /*! tsParticles Fireworks v4.0.0-alpha.2 by Matteo Bruni */
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  /*
10
10
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
@@ -44,7 +44,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpa
44
44
  \***********************************/
45
45
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46
46
 
47
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fireworks: () => (/* binding */ fireworks)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"@tsparticles/engine\");\n/* harmony import */ var _FireworkOptions_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FireworkOptions.js */ \"./dist/browser/FireworkOptions.js\");\n\n\nconst minSplitCount = 2;\nlet initialized = false;\nlet initializing = false;\nconst explodeSoundCheck = args => {\n const data = args.data;\n return data.particle.shape === \"circle\" && !!data.particle.splitCount && data.particle.splitCount < minSplitCount;\n};\nclass FireworksInstance {\n constructor(container) {\n this._container = container;\n }\n pause() {\n this._container.pause();\n }\n play() {\n this._container.play();\n }\n stop() {\n this._container.stop();\n }\n}\nasync function initPlugins(engine) {\n if (initialized) {\n return;\n }\n if (initializing) {\n return new Promise(resolve => {\n const timeout = 100,\n interval = setInterval(() => {\n if (!initialized) {\n return;\n }\n clearInterval(interval);\n resolve();\n }, timeout);\n });\n }\n initializing = true;\n engine.checkVersion(\"4.0.0-alpha.1\");\n engine.register(async e => {\n const {\n loadEmittersPlugin\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-emitters */ \"@tsparticles/plugin-emitters\", 19)),\n {\n loadEmittersShapeSquare\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-emitters-shape-square */ \"@tsparticles/plugin-emitters-shape-square\", 19)),\n {\n loadSoundsPlugin\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-sounds */ \"@tsparticles/plugin-sounds\", 19)),\n {\n loadRotateUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-rotate */ \"@tsparticles/updater-rotate\", 19)),\n {\n loadDestroyUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-destroy */ \"@tsparticles/updater-destroy\", 19)),\n {\n loadLifeUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-life */ \"@tsparticles/updater-life\", 19)),\n {\n loadTrailEffect\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/effect-trail */ \"@tsparticles/effect-trail\", 19)),\n {\n loadBasic\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/basic */ \"@tsparticles/basic\", 19));\n loadEmittersPlugin(e);\n loadEmittersShapeSquare(e);\n loadSoundsPlugin(e);\n loadRotateUpdater(e);\n loadDestroyUpdater(e);\n loadLifeUpdater(e);\n loadTrailEffect(e);\n loadBasic(e);\n });\n initializing = false;\n initialized = true;\n}\nfunction getOptions(options, canvas) {\n const identity = 1;\n return {\n detectRetina: true,\n background: {\n color: options.background\n },\n fullScreen: {\n enable: !!canvas\n },\n fpsLimit: 60,\n emitters: {\n direction: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.MoveDirection.top,\n life: {\n count: 0,\n duration: 0.1,\n delay: 0.1\n },\n rate: {\n delay: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNumber)(options.rate) ? identity / options.rate : {\n min: identity / (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeMin)(options.rate),\n max: identity / (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeMax)(options.rate)\n },\n quantity: 1\n },\n size: {\n width: 100,\n height: 0\n },\n position: {\n y: 100,\n x: 50\n }\n },\n particles: {\n number: {\n value: 0\n },\n color: {\n value: \"#fff\"\n },\n destroy: {\n mode: \"split\",\n bounds: {\n top: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(options.minHeight)\n },\n split: {\n sizeOffset: false,\n count: 1,\n factor: {\n value: 0.333333\n },\n rate: {\n value: options.splitCount\n },\n colorOffset: {\n s: options.saturation,\n l: options.brightness\n },\n particles: {\n color: {\n value: options.colors\n },\n number: {\n value: 0\n },\n opacity: {\n value: {\n min: 0.1,\n max: 1\n },\n animation: {\n enable: true,\n speed: 1,\n sync: false,\n startValue: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.StartValueType.max,\n destroy: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.DestroyType.min\n }\n },\n effect: {\n type: \"trail\",\n options: {\n trail: {\n length: {\n min: 5,\n max: 10\n }\n }\n }\n },\n shape: {\n type: \"circle\"\n },\n size: {\n value: {\n min: 1,\n max: 2\n },\n animation: {\n enable: true,\n speed: 5,\n count: 1,\n sync: false,\n startValue: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.StartValueType.min,\n destroy: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.DestroyType.none\n }\n },\n life: {\n count: 1,\n duration: {\n value: {\n min: 0.25,\n max: 0.5\n }\n }\n },\n move: {\n decay: {\n min: 0.05,\n max: 0.1\n },\n enable: true,\n gravity: {\n enable: true,\n inverse: false,\n acceleration: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(options.gravity)\n },\n speed: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(options.speed),\n direction: \"none\",\n outModes: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.destroy\n }\n }\n }\n },\n life: {\n count: 1\n },\n effect: {\n type: \"trail\",\n options: {\n trail: {\n length: {\n min: 10,\n max: 30\n },\n minWidth: 1,\n maxWidth: 1\n }\n }\n },\n shape: {\n type: \"circle\"\n },\n size: {\n value: 1\n },\n opacity: {\n value: 0.5\n },\n rotate: {\n path: true\n },\n move: {\n enable: true,\n gravity: {\n acceleration: 15,\n enable: true,\n inverse: true,\n maxSpeed: 100\n },\n speed: {\n min: 10,\n max: 20\n },\n outModes: {\n default: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.destroy,\n top: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.none\n }\n }\n },\n sounds: {\n enable: options.sounds,\n events: [{\n event: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.EventType.particleRemoved,\n filter: explodeSoundCheck,\n audio: [\"https://particles.js.org/audio/explosion0.mp3\", \"https://particles.js.org/audio/explosion1.mp3\", \"https://particles.js.org/audio/explosion2.mp3\"]\n }],\n volume: 50\n }\n };\n}\nasync function getFireworksInstance(id, sourceOptions, canvas) {\n await initPlugins(_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.tsParticles);\n const options = new _FireworkOptions_js__WEBPACK_IMPORTED_MODULE_1__.FireworkOptions();\n options.load(sourceOptions);\n const particlesOptions = getOptions(options, canvas),\n container = await _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.tsParticles.load({\n id,\n element: canvas,\n options: particlesOptions\n });\n if (!container) {\n return;\n }\n return new FireworksInstance(container);\n}\nasync function fireworks(idOrOptions, sourceOptions) {\n let id;\n let options;\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isString)(idOrOptions)) {\n id = idOrOptions;\n options = sourceOptions ?? {};\n } else {\n id = \"fireworks\";\n options = idOrOptions ?? {};\n }\n return getFireworksInstance(id, options);\n}\nfireworks.create = async (canvas, options) => {\n const id = canvas.id || \"fireworks\";\n return getFireworksInstance(id, options ?? {}, canvas);\n};\nfireworks.init = async () => {\n await initPlugins(_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.tsParticles);\n};\nfireworks.version = \"4.0.0-alpha.1\";\nglobalThis.fireworks = fireworks;\n\n//# sourceURL=webpack://@tsparticles/fireworks/./dist/browser/fireworks.js?\n}");
47
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fireworks: () => (/* binding */ fireworks)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"@tsparticles/engine\");\n/* harmony import */ var _FireworkOptions_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FireworkOptions.js */ \"./dist/browser/FireworkOptions.js\");\n\n\nconst minSplitCount = 2;\nlet initialized = false;\nlet initializing = false;\nconst explodeSoundCheck = args => {\n const data = args.data;\n return data.particle.shape === \"circle\" && !!data.particle.splitCount && data.particle.splitCount < minSplitCount;\n};\nclass FireworksInstance {\n constructor(container) {\n this._container = container;\n }\n pause() {\n this._container.pause();\n }\n play() {\n this._container.play();\n }\n stop() {\n this._container.stop();\n }\n}\nasync function initPlugins(engine) {\n if (initialized) {\n return;\n }\n if (initializing) {\n return new Promise(resolve => {\n const timeout = 100,\n interval = setInterval(() => {\n if (!initialized) {\n return;\n }\n clearInterval(interval);\n resolve();\n }, timeout);\n });\n }\n initializing = true;\n engine.checkVersion(\"4.0.0-alpha.2\");\n engine.register(async e => {\n const {\n loadEmittersPlugin\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-emitters */ \"@tsparticles/plugin-emitters\", 19)),\n {\n loadEmittersShapeSquare\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-emitters-shape-square */ \"@tsparticles/plugin-emitters-shape-square\", 19)),\n {\n loadSoundsPlugin\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/plugin-sounds */ \"@tsparticles/plugin-sounds\", 19)),\n {\n loadRotateUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-rotate */ \"@tsparticles/updater-rotate\", 19)),\n {\n loadDestroyUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-destroy */ \"@tsparticles/updater-destroy\", 19)),\n {\n loadLifeUpdater\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-life */ \"@tsparticles/updater-life\", 19)),\n {\n loadTrailEffect\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/effect-trail */ \"@tsparticles/effect-trail\", 19)),\n {\n loadBasic\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/basic */ \"@tsparticles/basic\", 19));\n loadEmittersPlugin(e);\n loadEmittersShapeSquare(e);\n loadSoundsPlugin(e);\n loadRotateUpdater(e);\n loadDestroyUpdater(e);\n loadLifeUpdater(e);\n loadTrailEffect(e);\n loadBasic(e);\n });\n initializing = false;\n initialized = true;\n}\nfunction getOptions(options, canvas) {\n const identity = 1;\n return {\n detectRetina: true,\n background: {\n color: options.background\n },\n fullScreen: {\n enable: !!canvas\n },\n fpsLimit: 60,\n emitters: {\n direction: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.MoveDirection.top,\n life: {\n count: 0,\n duration: 0.1,\n delay: 0.1\n },\n rate: {\n delay: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isNumber)(options.rate) ? identity / options.rate : {\n min: identity / (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeMin)(options.rate),\n max: identity / (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeMax)(options.rate)\n },\n quantity: 1\n },\n size: {\n width: 100,\n height: 0\n },\n position: {\n y: 100,\n x: 50\n }\n },\n particles: {\n number: {\n value: 0\n },\n color: {\n value: \"#fff\"\n },\n destroy: {\n mode: \"split\",\n bounds: {\n top: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(options.minHeight)\n },\n split: {\n sizeOffset: false,\n count: 1,\n factor: {\n value: 0.333333\n },\n rate: {\n value: options.splitCount\n },\n colorOffset: {\n s: options.saturation,\n l: options.brightness\n },\n particles: {\n color: {\n value: options.colors\n },\n number: {\n value: 0\n },\n opacity: {\n value: {\n min: 0.1,\n max: 1\n },\n animation: {\n enable: true,\n speed: 1,\n sync: false,\n startValue: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.StartValueType.max,\n destroy: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.DestroyType.min\n }\n },\n effect: {\n type: \"trail\",\n options: {\n trail: {\n length: {\n min: 5,\n max: 10\n }\n }\n }\n },\n shape: {\n type: \"circle\"\n },\n size: {\n value: {\n min: 1,\n max: 2\n },\n animation: {\n enable: true,\n speed: 5,\n count: 1,\n sync: false,\n startValue: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.StartValueType.min,\n destroy: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.DestroyType.none\n }\n },\n life: {\n count: 1,\n duration: {\n value: {\n min: 0.25,\n max: 0.5\n }\n }\n },\n move: {\n decay: {\n min: 0.05,\n max: 0.1\n },\n enable: true,\n gravity: {\n enable: true,\n inverse: false,\n acceleration: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(options.gravity)\n },\n speed: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(options.speed),\n direction: \"none\",\n outModes: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.destroy\n }\n }\n }\n },\n life: {\n count: 1\n },\n effect: {\n type: \"trail\",\n options: {\n trail: {\n length: {\n min: 10,\n max: 30\n },\n minWidth: 1,\n maxWidth: 1\n }\n }\n },\n shape: {\n type: \"circle\"\n },\n size: {\n value: 1\n },\n opacity: {\n value: 0.5\n },\n rotate: {\n path: true\n },\n move: {\n enable: true,\n gravity: {\n acceleration: 15,\n enable: true,\n inverse: true,\n maxSpeed: 100\n },\n speed: {\n min: 10,\n max: 20\n },\n outModes: {\n default: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.destroy,\n top: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.none\n }\n }\n },\n sounds: {\n enable: options.sounds,\n events: [{\n event: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.EventType.particleRemoved,\n filter: explodeSoundCheck,\n audio: [\"https://particles.js.org/audio/explosion0.mp3\", \"https://particles.js.org/audio/explosion1.mp3\", \"https://particles.js.org/audio/explosion2.mp3\"]\n }],\n volume: 50\n }\n };\n}\nasync function getFireworksInstance(id, sourceOptions, canvas) {\n await initPlugins(_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.tsParticles);\n const options = new _FireworkOptions_js__WEBPACK_IMPORTED_MODULE_1__.FireworkOptions();\n options.load(sourceOptions);\n const particlesOptions = getOptions(options, canvas),\n container = await _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.tsParticles.load({\n id,\n element: canvas,\n options: particlesOptions\n });\n if (!container) {\n return;\n }\n return new FireworksInstance(container);\n}\nasync function fireworks(idOrOptions, sourceOptions) {\n let id;\n let options;\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isString)(idOrOptions)) {\n id = idOrOptions;\n options = sourceOptions ?? {};\n } else {\n id = \"fireworks\";\n options = idOrOptions ?? {};\n }\n return getFireworksInstance(id, options);\n}\nfireworks.create = async (canvas, options) => {\n const id = canvas.id || \"fireworks\";\n return getFireworksInstance(id, options ?? {}, canvas);\n};\nfireworks.init = async () => {\n await initPlugins(_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.tsParticles);\n};\nfireworks.version = \"4.0.0-alpha.2\";\nglobalThis.fireworks = fireworks;\n\n//# sourceURL=webpack://@tsparticles/fireworks/./dist/browser/fireworks.js?\n}");
48
48
 
49
49
  /***/ },
50
50
 
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see tsparticles.fireworks.min.js.LICENSE.txt */
2
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/engine"),require("@tsparticles/basic"),require("@tsparticles/effect-trail"),require("@tsparticles/updater-life"),require("@tsparticles/updater-destroy"),require("@tsparticles/updater-rotate"),require("@tsparticles/plugin-sounds"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/plugin-emitters"));else if("function"==typeof define&&define.amd)define(["@tsparticles/engine","@tsparticles/basic","@tsparticles/effect-trail","@tsparticles/updater-life","@tsparticles/updater-destroy","@tsparticles/updater-rotate","@tsparticles/plugin-sounds","@tsparticles/plugin-emitters-shape-square","@tsparticles/plugin-emitters"],t);else{var i="object"==typeof exports?t(require("@tsparticles/engine"),require("@tsparticles/basic"),require("@tsparticles/effect-trail"),require("@tsparticles/updater-life"),require("@tsparticles/updater-destroy"),require("@tsparticles/updater-rotate"),require("@tsparticles/plugin-sounds"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/plugin-emitters")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var r in i)("object"==typeof exports?exports:e)[r]=i[r]}}(this,((e,t,i,r,s,a,o,n,l)=>(()=>{var p,u,c={75(e){e.exports=r},140(e){e.exports=n},145(e){e.exports=t},173(e){e.exports=s},303(t){t.exports=e},526(e){e.exports=l},637(e){e.exports=i},668(e){e.exports=a},933(e){e.exports=o}},d={};function f(e){var t=d[e];if(void 0!==t)return t.exports;var i=d[e]={exports:{}};return c[e](i,i.exports,f),i.exports}u=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,f.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var i=Object.create(null);f.r(i);var r={};p=p||[null,u({}),u([]),u(u)];for(var s=2&t&&e;("object"==typeof s||"function"==typeof s)&&!~p.indexOf(s);s=u(s))Object.getOwnPropertyNames(s).forEach((t=>r[t]=()=>e[t]));return r.default=()=>e,f.d(i,r),i},f.d=(e,t)=>{for(var i in t)f.o(t,i)&&!f.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),f.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var m={};f.r(m),f.d(m,{fireworks:()=>P});var h=f(303);class g{constructor(){this.background="none",this.brightness={min:-30,max:30},this.colors=["#ff595e","#ffca3a","#8ac926","#1982c4","#6a4c93"],this.gravity=5,this.minHeight={min:10,max:30},this.rate=10,this.saturation={min:-30,max:30},this.sounds=!0,this.speed={min:5,max:15},this.splitCount={min:75,max:150}}load(e){(0,h.isNull)(e)||(void 0!==e.background&&(this.background=e.background),void 0!==e.colors&&((0,h.isArray)(e.colors)?this.colors=[...e.colors]:this.colors=e.colors),void 0!==e.brightness&&(this.brightness=(0,h.setRangeValue)(e.brightness)),void 0!==e.gravity&&(this.gravity=(0,h.setRangeValue)(e.gravity)),void 0!==e.minHeight&&(this.minHeight=(0,h.setRangeValue)(e.minHeight)),void 0!==e.rate&&(this.rate=(0,h.setRangeValue)(e.rate)),void 0!==e.saturation&&(this.saturation=(0,h.setRangeValue)(e.saturation)),void 0!==e.sounds&&(this.sounds=e.sounds),void 0!==e.speed&&(this.speed=(0,h.setRangeValue)(e.speed)),void 0!==e.splitCount&&(this.splitCount=(0,h.setRangeValue)(e.splitCount)))}}let y=!1,v=!1;const b=e=>{const t=e.data;return"circle"===t.particle.shape&&!!t.particle.splitCount&&t.particle.splitCount<2};class x{constructor(e){this._container=e}pause(){this._container.pause()}play(){this._container.play()}stop(){this._container.stop()}}async function w(e){if(!y){if(v)return new Promise((e=>{const t=setInterval((()=>{y&&(clearInterval(t),e())}),100)}));v=!0,e.checkVersion("4.0.0-alpha.1"),e.register((async e=>{const{loadEmittersPlugin:t}=await Promise.resolve().then(f.t.bind(f,526,19)),{loadEmittersShapeSquare:i}=await Promise.resolve().then(f.t.bind(f,140,19)),{loadSoundsPlugin:r}=await Promise.resolve().then(f.t.bind(f,933,19)),{loadRotateUpdater:s}=await Promise.resolve().then(f.t.bind(f,668,19)),{loadDestroyUpdater:a}=await Promise.resolve().then(f.t.bind(f,173,19)),{loadLifeUpdater:o}=await Promise.resolve().then(f.t.bind(f,75,19)),{loadTrailEffect:n}=await Promise.resolve().then(f.t.bind(f,637,19)),{loadBasic:l}=await Promise.resolve().then(f.t.bind(f,145,19));t(e),i(e),r(e),s(e),a(e),o(e),n(e),l(e)})),v=!1,y=!0}}async function q(e,t,i){await w(h.tsParticles);const r=new g;r.load(t);const s=function(e,t){return{detectRetina:!0,background:{color:e.background},fullScreen:{enable:!!t},fpsLimit:60,emitters:{direction:h.MoveDirection.top,life:{count:0,duration:.1,delay:.1},rate:{delay:(0,h.isNumber)(e.rate)?1/e.rate:{min:1/(0,h.getRangeMin)(e.rate),max:1/(0,h.getRangeMax)(e.rate)},quantity:1},size:{width:100,height:0},position:{y:100,x:50}},particles:{number:{value:0},color:{value:"#fff"},destroy:{mode:"split",bounds:{top:(0,h.setRangeValue)(e.minHeight)},split:{sizeOffset:!1,count:1,factor:{value:.333333},rate:{value:e.splitCount},colorOffset:{s:e.saturation,l:e.brightness},particles:{color:{value:e.colors},number:{value:0},opacity:{value:{min:.1,max:1},animation:{enable:!0,speed:1,sync:!1,startValue:h.StartValueType.max,destroy:h.DestroyType.min}},effect:{type:"trail",options:{trail:{length:{min:5,max:10}}}},shape:{type:"circle"},size:{value:{min:1,max:2},animation:{enable:!0,speed:5,count:1,sync:!1,startValue:h.StartValueType.min,destroy:h.DestroyType.none}},life:{count:1,duration:{value:{min:.25,max:.5}}},move:{decay:{min:.05,max:.1},enable:!0,gravity:{enable:!0,inverse:!1,acceleration:(0,h.setRangeValue)(e.gravity)},speed:(0,h.setRangeValue)(e.speed),direction:"none",outModes:h.OutMode.destroy}}}},life:{count:1},effect:{type:"trail",options:{trail:{length:{min:10,max:30},minWidth:1,maxWidth:1}}},shape:{type:"circle"},size:{value:1},opacity:{value:.5},rotate:{path:!0},move:{enable:!0,gravity:{acceleration:15,enable:!0,inverse:!0,maxSpeed:100},speed:{min:10,max:20},outModes:{default:h.OutMode.destroy,top:h.OutMode.none}}},sounds:{enable:e.sounds,events:[{event:h.EventType.particleRemoved,filter:b,audio:["https://particles.js.org/audio/explosion0.mp3","https://particles.js.org/audio/explosion1.mp3","https://particles.js.org/audio/explosion2.mp3"]}],volume:50}}}(r,i),a=await h.tsParticles.load({id:e,element:i,options:s});if(a)return new x(a)}async function P(e,t){let i,r;return(0,h.isString)(e)?(i=e,r=t??{}):(i="fireworks",r=e??{}),q(i,r)}return P.create=async(e,t)=>q(e.id||"fireworks",t??{},e),P.init=async()=>{await w(h.tsParticles)},P.version="4.0.0-alpha.1",globalThis.fireworks=P,m})()));
2
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/engine"),require("@tsparticles/basic"),require("@tsparticles/effect-trail"),require("@tsparticles/updater-life"),require("@tsparticles/updater-destroy"),require("@tsparticles/updater-rotate"),require("@tsparticles/plugin-sounds"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/plugin-emitters"));else if("function"==typeof define&&define.amd)define(["@tsparticles/engine","@tsparticles/basic","@tsparticles/effect-trail","@tsparticles/updater-life","@tsparticles/updater-destroy","@tsparticles/updater-rotate","@tsparticles/plugin-sounds","@tsparticles/plugin-emitters-shape-square","@tsparticles/plugin-emitters"],t);else{var i="object"==typeof exports?t(require("@tsparticles/engine"),require("@tsparticles/basic"),require("@tsparticles/effect-trail"),require("@tsparticles/updater-life"),require("@tsparticles/updater-destroy"),require("@tsparticles/updater-rotate"),require("@tsparticles/plugin-sounds"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/plugin-emitters")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var r in i)("object"==typeof exports?exports:e)[r]=i[r]}}(this,((e,t,i,r,s,a,o,n,l)=>(()=>{var p,u,c={75(e){e.exports=r},140(e){e.exports=n},145(e){e.exports=t},173(e){e.exports=s},303(t){t.exports=e},526(e){e.exports=l},637(e){e.exports=i},668(e){e.exports=a},933(e){e.exports=o}},d={};function f(e){var t=d[e];if(void 0!==t)return t.exports;var i=d[e]={exports:{}};return c[e](i,i.exports,f),i.exports}u=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,f.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var i=Object.create(null);f.r(i);var r={};p=p||[null,u({}),u([]),u(u)];for(var s=2&t&&e;("object"==typeof s||"function"==typeof s)&&!~p.indexOf(s);s=u(s))Object.getOwnPropertyNames(s).forEach((t=>r[t]=()=>e[t]));return r.default=()=>e,f.d(i,r),i},f.d=(e,t)=>{for(var i in t)f.o(t,i)&&!f.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),f.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var m={};f.r(m),f.d(m,{fireworks:()=>P});var h=f(303);class g{constructor(){this.background="none",this.brightness={min:-30,max:30},this.colors=["#ff595e","#ffca3a","#8ac926","#1982c4","#6a4c93"],this.gravity=5,this.minHeight={min:10,max:30},this.rate=10,this.saturation={min:-30,max:30},this.sounds=!0,this.speed={min:5,max:15},this.splitCount={min:75,max:150}}load(e){(0,h.isNull)(e)||(void 0!==e.background&&(this.background=e.background),void 0!==e.colors&&((0,h.isArray)(e.colors)?this.colors=[...e.colors]:this.colors=e.colors),void 0!==e.brightness&&(this.brightness=(0,h.setRangeValue)(e.brightness)),void 0!==e.gravity&&(this.gravity=(0,h.setRangeValue)(e.gravity)),void 0!==e.minHeight&&(this.minHeight=(0,h.setRangeValue)(e.minHeight)),void 0!==e.rate&&(this.rate=(0,h.setRangeValue)(e.rate)),void 0!==e.saturation&&(this.saturation=(0,h.setRangeValue)(e.saturation)),void 0!==e.sounds&&(this.sounds=e.sounds),void 0!==e.speed&&(this.speed=(0,h.setRangeValue)(e.speed)),void 0!==e.splitCount&&(this.splitCount=(0,h.setRangeValue)(e.splitCount)))}}let y=!1,v=!1;const b=e=>{const t=e.data;return"circle"===t.particle.shape&&!!t.particle.splitCount&&t.particle.splitCount<2};class x{constructor(e){this._container=e}pause(){this._container.pause()}play(){this._container.play()}stop(){this._container.stop()}}async function w(e){if(!y){if(v)return new Promise((e=>{const t=setInterval((()=>{y&&(clearInterval(t),e())}),100)}));v=!0,e.checkVersion("4.0.0-alpha.2"),e.register((async e=>{const{loadEmittersPlugin:t}=await Promise.resolve().then(f.t.bind(f,526,19)),{loadEmittersShapeSquare:i}=await Promise.resolve().then(f.t.bind(f,140,19)),{loadSoundsPlugin:r}=await Promise.resolve().then(f.t.bind(f,933,19)),{loadRotateUpdater:s}=await Promise.resolve().then(f.t.bind(f,668,19)),{loadDestroyUpdater:a}=await Promise.resolve().then(f.t.bind(f,173,19)),{loadLifeUpdater:o}=await Promise.resolve().then(f.t.bind(f,75,19)),{loadTrailEffect:n}=await Promise.resolve().then(f.t.bind(f,637,19)),{loadBasic:l}=await Promise.resolve().then(f.t.bind(f,145,19));t(e),i(e),r(e),s(e),a(e),o(e),n(e),l(e)})),v=!1,y=!0}}async function q(e,t,i){await w(h.tsParticles);const r=new g;r.load(t);const s=function(e,t){return{detectRetina:!0,background:{color:e.background},fullScreen:{enable:!!t},fpsLimit:60,emitters:{direction:h.MoveDirection.top,life:{count:0,duration:.1,delay:.1},rate:{delay:(0,h.isNumber)(e.rate)?1/e.rate:{min:1/(0,h.getRangeMin)(e.rate),max:1/(0,h.getRangeMax)(e.rate)},quantity:1},size:{width:100,height:0},position:{y:100,x:50}},particles:{number:{value:0},color:{value:"#fff"},destroy:{mode:"split",bounds:{top:(0,h.setRangeValue)(e.minHeight)},split:{sizeOffset:!1,count:1,factor:{value:.333333},rate:{value:e.splitCount},colorOffset:{s:e.saturation,l:e.brightness},particles:{color:{value:e.colors},number:{value:0},opacity:{value:{min:.1,max:1},animation:{enable:!0,speed:1,sync:!1,startValue:h.StartValueType.max,destroy:h.DestroyType.min}},effect:{type:"trail",options:{trail:{length:{min:5,max:10}}}},shape:{type:"circle"},size:{value:{min:1,max:2},animation:{enable:!0,speed:5,count:1,sync:!1,startValue:h.StartValueType.min,destroy:h.DestroyType.none}},life:{count:1,duration:{value:{min:.25,max:.5}}},move:{decay:{min:.05,max:.1},enable:!0,gravity:{enable:!0,inverse:!1,acceleration:(0,h.setRangeValue)(e.gravity)},speed:(0,h.setRangeValue)(e.speed),direction:"none",outModes:h.OutMode.destroy}}}},life:{count:1},effect:{type:"trail",options:{trail:{length:{min:10,max:30},minWidth:1,maxWidth:1}}},shape:{type:"circle"},size:{value:1},opacity:{value:.5},rotate:{path:!0},move:{enable:!0,gravity:{acceleration:15,enable:!0,inverse:!0,maxSpeed:100},speed:{min:10,max:20},outModes:{default:h.OutMode.destroy,top:h.OutMode.none}}},sounds:{enable:e.sounds,events:[{event:h.EventType.particleRemoved,filter:b,audio:["https://particles.js.org/audio/explosion0.mp3","https://particles.js.org/audio/explosion1.mp3","https://particles.js.org/audio/explosion2.mp3"]}],volume:50}}}(r,i),a=await h.tsParticles.load({id:e,element:i,options:s});if(a)return new x(a)}async function P(e,t){let i,r;return(0,h.isString)(e)?(i=e,r=t??{}):(i="fireworks",r=e??{}),q(i,r)}return P.create=async(e,t)=>q(e.id||"fireworks",t??{},e),P.init=async()=>{await w(h.tsParticles)},P.version="4.0.0-alpha.2",globalThis.fireworks=P,m})()));
@@ -1 +1 @@
1
- /*! tsParticles Fireworks v4.0.0-alpha.1 by Matteo Bruni */
1
+ /*! tsParticles Fireworks v4.0.0-alpha.2 by Matteo Bruni */
package/umd/fireworks.js CHANGED
@@ -83,7 +83,7 @@ var __importStar = (this && this.__importStar) || (function () {
83
83
  });
84
84
  }
85
85
  initializing = true;
86
- engine.checkVersion("4.0.0-alpha.1");
86
+ engine.checkVersion("4.0.0-alpha.2");
87
87
  engine.register(async (e) => {
88
88
  const { loadEmittersPlugin } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/plugin-emitters"))) : new Promise((resolve_1, reject_1) => { require(["@tsparticles/plugin-emitters"], resolve_1, reject_1); }).then(__importStar)), { loadEmittersShapeSquare } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/plugin-emitters-shape-square"))) : new Promise((resolve_2, reject_2) => { require(["@tsparticles/plugin-emitters-shape-square"], resolve_2, reject_2); }).then(__importStar)), { loadSoundsPlugin } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/plugin-sounds"))) : new Promise((resolve_3, reject_3) => { require(["@tsparticles/plugin-sounds"], resolve_3, reject_3); }).then(__importStar)), { loadRotateUpdater } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/updater-rotate"))) : new Promise((resolve_4, reject_4) => { require(["@tsparticles/updater-rotate"], resolve_4, reject_4); }).then(__importStar)), { loadDestroyUpdater } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/updater-destroy"))) : new Promise((resolve_5, reject_5) => { require(["@tsparticles/updater-destroy"], resolve_5, reject_5); }).then(__importStar)), { loadLifeUpdater } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/updater-life"))) : new Promise((resolve_6, reject_6) => { require(["@tsparticles/updater-life"], resolve_6, reject_6); }).then(__importStar)), { loadTrailEffect } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/effect-trail"))) : new Promise((resolve_7, reject_7) => { require(["@tsparticles/effect-trail"], resolve_7, reject_7); }).then(__importStar)), { loadBasic } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/basic"))) : new Promise((resolve_8, reject_8) => { require(["@tsparticles/basic"], resolve_8, reject_8); }).then(__importStar));
89
89
  loadEmittersPlugin(e);
@@ -318,6 +318,6 @@ var __importStar = (this && this.__importStar) || (function () {
318
318
  fireworks.init = async () => {
319
319
  await initPlugins(engine_1.tsParticles);
320
320
  };
321
- fireworks.version = "4.0.0-alpha.1";
321
+ fireworks.version = "4.0.0-alpha.2";
322
322
  globalThis.fireworks = fireworks;
323
323
  });
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -23,7 +23,7 @@
23
23
  \**************************************************/
24
24
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
25
 
26
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadColorUpdater: () => (/* binding */ loadColorUpdater)\n/* harmony export */ });\nfunction loadColorUpdater(engine) {\n engine.checkVersion(\"4.0.0-alpha.1\");\n engine.register(e => {\n e.addParticleUpdater(\"color\", async container => {\n const {\n ColorUpdater\n } = await __webpack_require__.e(/*! import() */ \"updaters_color_dist_browser_ColorUpdater_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./ColorUpdater.js */ \"../../updaters/color/dist/browser/ColorUpdater.js\"));\n return new ColorUpdater(e, container);\n });\n });\n}\n\n//# sourceURL=webpack://@tsparticles/fireworks/../../updaters/color/dist/browser/index.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadColorUpdater: () => (/* binding */ loadColorUpdater)\n/* harmony export */ });\nfunction loadColorUpdater(engine) {\n engine.checkVersion(\"4.0.0-alpha.2\");\n engine.register(e => {\n e.addParticleUpdater(\"color\", async container => {\n const {\n ColorUpdater\n } = await __webpack_require__.e(/*! import() */ \"updaters_color_dist_browser_ColorUpdater_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./ColorUpdater.js */ \"../../updaters/color/dist/browser/ColorUpdater.js\"));\n return new ColorUpdater(e, container);\n });\n });\n}\n\n//# sourceURL=webpack://@tsparticles/fireworks/../../updaters/color/dist/browser/index.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -23,7 +23,7 @@
23
23
  \****************************************************/
24
24
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
25
 
26
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadDestroyUpdater: () => (/* binding */ loadDestroyUpdater)\n/* harmony export */ });\nfunction loadDestroyUpdater(engine) {\n engine.checkVersion(\"4.0.0-alpha.1\");\n engine.register(e => {\n e.addParticleUpdater(\"destroy\", async container => {\n const {\n DestroyUpdater\n } = await __webpack_require__.e(/*! import() */ \"updaters_destroy_dist_browser_DestroyUpdater_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./DestroyUpdater.js */ \"../../updaters/destroy/dist/browser/DestroyUpdater.js\"));\n return new DestroyUpdater(e, container);\n });\n });\n}\n\n//# sourceURL=webpack://@tsparticles/fireworks/../../updaters/destroy/dist/browser/index.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadDestroyUpdater: () => (/* binding */ loadDestroyUpdater)\n/* harmony export */ });\nfunction loadDestroyUpdater(engine) {\n engine.checkVersion(\"4.0.0-alpha.2\");\n engine.register(e => {\n e.addParticleUpdater(\"destroy\", async container => {\n const {\n DestroyUpdater\n } = await __webpack_require__.e(/*! import() */ \"updaters_destroy_dist_browser_DestroyUpdater_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./DestroyUpdater.js */ \"../../updaters/destroy/dist/browser/DestroyUpdater.js\"));\n return new DestroyUpdater(e, container);\n });\n });\n}\n\n//# sourceURL=webpack://@tsparticles/fireworks/../../updaters/destroy/dist/browser/index.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -23,7 +23,7 @@
23
23
  \*************************************************/
24
24
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
25
 
26
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadLifeUpdater: () => (/* binding */ loadLifeUpdater)\n/* harmony export */ });\nfunction loadLifeUpdater(engine) {\n engine.checkVersion(\"4.0.0-alpha.1\");\n engine.register(e => {\n e.addParticleUpdater(\"life\", async container => {\n const {\n LifeUpdater\n } = await __webpack_require__.e(/*! import() */ \"updaters_life_dist_browser_LifeUpdater_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./LifeUpdater.js */ \"../../updaters/life/dist/browser/LifeUpdater.js\"));\n return new LifeUpdater(container);\n });\n });\n}\n\n//# sourceURL=webpack://@tsparticles/fireworks/../../updaters/life/dist/browser/index.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadLifeUpdater: () => (/* binding */ loadLifeUpdater)\n/* harmony export */ });\nfunction loadLifeUpdater(engine) {\n engine.checkVersion(\"4.0.0-alpha.2\");\n engine.register(e => {\n e.addParticleUpdater(\"life\", async container => {\n const {\n LifeUpdater\n } = await __webpack_require__.e(/*! import() */ \"updaters_life_dist_browser_LifeUpdater_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./LifeUpdater.js */ \"../../updaters/life/dist/browser/LifeUpdater.js\"));\n return new LifeUpdater(container);\n });\n });\n}\n\n//# sourceURL=webpack://@tsparticles/fireworks/../../updaters/life/dist/browser/index.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.1
7
+ * v4.0.0-alpha.2
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -23,7 +23,7 @@
23
23
  \****************************************************/
24
24
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
25
 
26
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadOpacityUpdater: () => (/* binding */ loadOpacityUpdater)\n/* harmony export */ });\nfunction loadOpacityUpdater(engine) {\n engine.checkVersion(\"4.0.0-alpha.1\");\n engine.register(e => {\n e.addParticleUpdater(\"opacity\", async container => {\n const {\n OpacityUpdater\n } = await __webpack_require__.e(/*! import() */ \"updaters_opacity_dist_browser_OpacityUpdater_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./OpacityUpdater.js */ \"../../updaters/opacity/dist/browser/OpacityUpdater.js\"));\n return new OpacityUpdater(container);\n });\n });\n}\n\n//# sourceURL=webpack://@tsparticles/fireworks/../../updaters/opacity/dist/browser/index.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadOpacityUpdater: () => (/* binding */ loadOpacityUpdater)\n/* harmony export */ });\nfunction loadOpacityUpdater(engine) {\n engine.checkVersion(\"4.0.0-alpha.2\");\n engine.register(e => {\n e.addParticleUpdater(\"opacity\", async container => {\n const {\n OpacityUpdater\n } = await __webpack_require__.e(/*! import() */ \"updaters_opacity_dist_browser_OpacityUpdater_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./OpacityUpdater.js */ \"../../updaters/opacity/dist/browser/OpacityUpdater.js\"));\n return new OpacityUpdater(container);\n });\n });\n}\n\n//# sourceURL=webpack://@tsparticles/fireworks/../../updaters/opacity/dist/browser/index.js?\n}");
27
27
 
28
28
  /***/ }
29
29