@tsparticles/preset-ambient 4.0.0-alpha.4 → 4.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/172.min.js +1 -1
  2. package/{706.min.js → 188.min.js} +1 -1
  3. package/304.min.js +1 -0
  4. package/361.min.js +1 -0
  5. package/392.min.js +1 -0
  6. package/404.min.js +1 -0
  7. package/467.min.js +1 -0
  8. package/48.min.js +1 -0
  9. package/592.min.js +1 -0
  10. package/63.min.js +1 -0
  11. package/632.min.js +1 -0
  12. package/659.min.js +1 -0
  13. package/700.min.js +1 -0
  14. package/714.min.js +1 -0
  15. package/719.min.js +1 -0
  16. package/{104.min.js → 72.min.js} +1 -1
  17. package/74.min.js +1 -0
  18. package/750.min.js +1 -0
  19. package/857.min.js +1 -0
  20. package/86.min.js +1 -0
  21. package/892.min.js +1 -0
  22. package/957.min.js +1 -0
  23. package/README.md +40 -7
  24. package/browser/index.js +6 -6
  25. package/browser/options.js +21 -15
  26. package/cjs/index.js +6 -6
  27. package/cjs/options.js +21 -15
  28. package/dist_browser_options_js.js +2 -2
  29. package/esm/index.js +6 -6
  30. package/esm/options.js +21 -15
  31. package/node_modules_pnpm_tsparticles_basic_4_0_0-beta_11_node_modules_tsparticles_basic_browser_index_js.js +30 -0
  32. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_27_node_modules_tsparticles_plugin-5e1742.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-5e0ff2.js} +7 -7
  33. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_27_node_modules_tsparticles_plugin-f33991.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-b0d0ee.js} +7 -7
  34. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-060416.js +30 -0
  35. package/{node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_27_node_modules_tsparticles_plugin-522221.js → node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-a6d106.js} +7 -7
  36. package/{node_modules_pnpm_tsparticles_plugin-move_4_0_0-alpha_27_node_modules_tsparticles_plugin-move-719efb.js → node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-3a792b.js} +7 -7
  37. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-e1bc4b.js +30 -0
  38. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-d9836d.js +30 -0
  39. package/{node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_27_node_modules_tsparticles_plugin-3ced86.js → node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-f22022.js} +7 -7
  40. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-7552ae.js +40 -0
  41. package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_27_node_modules_tsparticles_shape-circ-ba244d.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-b06fc7.js} +7 -7
  42. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-8f9e09.js +30 -0
  43. package/{node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_27_node_modules_tsparticles_updater-434e81.js → node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-da77ce.js} +7 -7
  44. package/{node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_27_node_modules_tsparticles_updat-bc74f0.js → node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_-df7144.js} +7 -7
  45. package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-589482.js +30 -0
  46. package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-b1f330.js +30 -0
  47. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a47b81.js +30 -0
  48. package/{node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_27_node_modules_tsparticles_updater-si-40ad1f.js → node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-d2508a.js} +7 -7
  49. package/package.json +3 -4
  50. package/report.html +84 -29
  51. package/tsparticles.preset.ambient.bundle.js +324 -304
  52. package/tsparticles.preset.ambient.bundle.min.js +2 -2
  53. package/tsparticles.preset.ambient.js +6 -16
  54. package/tsparticles.preset.ambient.min.js +2 -2
  55. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-beta_11_node_modules_tsparticles_engine_br-ca098e.js +100 -0
  56. package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-bet-5f2b78.js +40 -0
  57. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0-09fa1a.js +80 -0
  58. package/100.min.js +0 -1
  59. package/134.min.js +0 -1
  60. package/204.min.js +0 -1
  61. package/232.min.js +0 -1
  62. package/280.min.js +0 -1
  63. package/318.min.js +0 -1
  64. package/372.min.js +0 -1
  65. package/496.min.js +0 -1
  66. package/497.min.js +0 -1
  67. package/552.min.js +0 -1
  68. package/607.min.js +0 -1
  69. package/644.min.js +0 -1
  70. package/660.min.js +0 -1
  71. package/803.min.js +0 -1
  72. package/822.min.js +0 -1
  73. package/934.min.js +0 -1
  74. package/946.min.js +0 -1
  75. package/948.min.js +0 -1
  76. package/964.min.js +0 -1
  77. package/967.min.js +0 -1
  78. package/989.min.js +0 -1
  79. package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_27_node_modules_tsparticles_basic_browser_index_js.js +0 -30
  80. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_27_node_modules_tsparticles_plugin-876e57.js +0 -30
  81. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-alpha_27_node_modules_tsparticles_plugin-move-98e311.js +0 -30
  82. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_27_node_modules_tsparticles_plugin-aa1c52.js +0 -30
  83. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_27_node_modules_tsparticles_shape-circ-7efda1.js +0 -40
  84. package/node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-alpha_27_node_modules_tsparticles_upda-088bee.js +0 -30
  85. package/node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-alpha_27_node_modules_tsparticles_upda-98be88.js +0 -30
  86. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_27_node_modules_tsparticles_updater-fce93f.js +0 -30
  87. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_27_node_modules_tsparticles_updater-si-df0fa5.js +0 -30
  88. package/node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_27_node_modules_tsparticles_up-41a0dd.js +0 -30
  89. package/node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_27_node_modules_tsparticles_up-859324.js +0 -30
  90. package/umd/bundle.js +0 -17
  91. package/umd/index.js +0 -60
  92. package/umd/options.js +0 -109
  93. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_27_node_modules_tsparticles_engine_b-6aa2dd.js +0 -90
  94. package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-alpha_27_node_modules_tsparticles_plu-fcaeb5.js +0 -40
  95. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_27_node_modules_tsparticl-3a4a31.js +0 -80
@@ -1,2 +1,2 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var a in i)("object"==typeof exports?exports:e)[a]=i[a]}}(this,()=>(()=>{"use strict";var e,t,i,a={5901(e,t,i){i.d(t,{$G:()=>A,$_:()=>O,$v:()=>B,$x:()=>k,BF:()=>ep,DN:()=>j,D_:()=>eo,Dv:()=>er,Eo:()=>W,Fl:()=>ev,Ie:()=>R,JC:()=>G,K3:()=>ei,L1:()=>L,LD:()=>es,MX:()=>l,NF:()=>n,Nu:()=>ec,Nx:()=>H,PZ:()=>X,Pf:()=>eg,R1:()=>v,RF:()=>g,RV:()=>Z,Rq:()=>D,U0:()=>I,Ug:()=>u,WH:()=>Q,X$:()=>m,X_:()=>J,Xu:()=>d,Zp:()=>S,a5:()=>r,aE:()=>eh,bo:()=>c,ce:()=>y,dm:()=>x,dv:()=>U,eb:()=>a,eu:()=>E,gd:()=>p,hB:()=>M,hK:()=>ey,hv:()=>V,i8:()=>C,iU:()=>el,iX:()=>w,jn:()=>ef,lA:()=>ea,mR:()=>h,nK:()=>o,nq:()=>K,oi:()=>_,ou:()=>Y,rq:()=>b,tA:()=>en,tR:()=>em,vF:()=>q,vS:()=>P,vd:()=>ed,w2:()=>F,wM:()=>ee,xH:()=>N,xd:()=>z,yj:()=>s,yx:()=>T,z$:()=>f,z9:()=>et,zg:()=>eu,zs:()=>$});let a="generated",s="source-over",n="resize",o="visibilitychange",r=100,l=.5,d=1e3,c={x:0,y:0,z:0},u={a:1,b:0,c:0,d:1},h="random",p=2,v=2*Math.PI,f=60,y="true",m="false",g="canvas",b=0,x=2,w=100,z=1,k=1,S=1,M=1,_=255,P=360,E=100,O=100,L=0,T=0,I=60,R=0,A=.25,D=.75,$=1,F=0,Z=1,V=1,G=1,q=0,C=120,j=0,H=0,B=1e4,X=0,N=1,U=0,Q=1,W=1,J=0,Y=0,K=1,ee=0,et=0,ei=1,ea=1,es=1,en=0,eo=1,er=0,el=1,ed=0,ec=3,eu=6,eh=1,ep=1,ev=0,ef=0,ey=0,em=0,eg=1},7280(e,t,i){i.d(t,{jl:()=>l,M_:()=>d}),(a=s||(s={})).circle="circle",a.rectangle="rectangle";var a,s,n=i(5989),o=i(5901);class r{position;type;constructor(e,t,i){this.position={x:e,y:t},this.type=i}}class l extends r{radius;constructor(e,t,i){super(e,t,s.circle),this.radius=i}contains(e){return(0,n.gp)(e,this.position,this.radius)}intersects(e){let t=this.position,i=e.position,a={x:Math.abs(i.x-t.x),y:Math.abs(i.y-t.y)},n=this.radius;if(e instanceof l||e.type===s.circle)return n+e.radius>Math.hypot(a.x,a.y);if(e instanceof d||e.type===s.rectangle){let{width:t,height:i}=e.size;return Math.pow(a.x-t,o.dm)+Math.pow(a.y-i,o.dm)<=n**o.dm||a.x<=n+t&&a.y<=n+i||a.x<=t||a.y<=i}return!1}}class d extends r{size;constructor(e,t,i,a){super(e,t,s.rectangle),this.size={height:a,width:i}}contains(e){let t=this.size.width,i=this.size.height,a=this.position;return e.x>=a.x&&e.x<=a.x+t&&e.y>=a.y&&e.y<=a.y+i}intersects(e){if(e instanceof l)return e.intersects(this);let t=this.size.width,i=this.size.height,a=this.position,s=e.position,n=e instanceof d?e.size:{width:0,height:0},o=n.width,r=n.height;return s.x<a.x+t&&s.x+o>a.x&&s.y<a.y+i&&s.y+r>a.y}}},4472(e,t,i){i.d(t,{M:()=>o,p:()=>n});var a=i(5901);function s(e){return"z"in e?e.z:a.bo.z}class n{x;y;z;constructor(e=a.bo.x,t=a.bo.y,i=a.bo.z){this.x=e,this.y=t,this.z=i}static get origin(){return n.create(a.bo.x,a.bo.y,a.bo.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(e){this._updateFromAngle(e,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(e){this._updateFromAngle(this.angle,e)}static clone(e){return n.create(e.x,e.y,s(e))}static create(e,t,i){return"number"==typeof e?new n(e,t??a.bo.y,i??a.bo.z):new n(e.x,e.y,s(e))}add(e){return n.create(this.x+e.x,this.y+e.y,this.z+s(e))}addTo(e){this.x+=e.x,this.y+=e.y,this.z+=s(e)}copy(){return n.clone(this)}div(e){return n.create(this.x/e,this.y/e,this.z/e)}divTo(e){this.x/=e,this.y/=e,this.z/=e}getLengthSq(){return this.x**a.dm+this.y**a.dm}mult(e){return n.create(this.x*e,this.y*e,this.z*e)}multTo(e){this.x*=e,this.y*=e,this.z*=e}normalize(){let e=this.length;e!=a.dv&&this.multTo(a.hB/e)}rotate(e){return n.create(this.x*Math.cos(e)-this.y*Math.sin(e),this.x*Math.sin(e)+this.y*Math.cos(e),a.bo.z)}setTo(e){this.x=e.x,this.y=e.y,this.z=s(e)}sub(e){return n.create(this.x-e.x,this.y-e.y,this.z-s(e))}subFrom(e){this.x-=e.x,this.y-=e.y,this.z-=s(e)}_updateFromAngle(e,t){this.x=Math.cos(e)*t,this.y=Math.sin(e)*t}}class o extends n{constructor(e=a.bo.x,t=a.bo.y){super(e,t,a.bo.z)}static get origin(){return o.create(a.bo.x,a.bo.y)}static clone(e){return o.create(e.x,e.y)}static create(e,t){return"number"==typeof e?new o(e,t??a.bo.y):new o(e.x,e.y)}}},8049(e,t,i){var a,s;i.d(t,{H:()=>a}),(s=a||(a={})).increasing="increasing",s.decreasing="decreasing"},1630(e,t,i){var a,s;i.d(t,{F:()=>a}),(s=a||(a={})).bottom="bottom",s.bottomLeft="bottom-left",s.bottomRight="bottom-right",s.left="left",s.none="none",s.right="right",s.top="top",s.topLeft="top-left",s.topRight="top-right",s.outside="outside",s.inside="inside"},5274(e,t,i){var a,s;i.d(t,{v:()=>a}),(s=a||(a={})).bottom="bottom",s.left="left",s.right="right",s.top="top"},7079(e,t,i){var a,s;i.d(t,{g:()=>a}),(s=a||(a={})).auto="auto",s.increase="increase",s.decrease="decrease",s.random="random"},8066(e,t,i){var a,s;i.d(t,{d:()=>a}),(s=a||(a={})).delete="delete",s.wait="wait"},5201(e,t,i){var a,s;i.d(t,{Y:()=>a}),(s=a||(a={})).bounce="bounce",s.none="none",s.out="out",s.destroy="destroy",s.split="split"},2405(e,t,i){var a,s;i.d(t,{q:()=>a}),(s=a||(a={})).precise="precise",s.percent="percent"},8695(e,t,i){var a,s;i.d(t,{H:()=>a}),(s=a||(a={})).darken="darken",s.enlighten="enlighten"},1421(e,t,i){var a,s;i.d(t,{V:()=>a}),(s=a||(a={})).none="none",s.max="max",s.min="min"},7559(e,t,i){var a,s;i.d(t,{B:()=>a}),(s=a||(a={})).configAdded="configAdded",s.containerInit="containerInit",s.particlesSetup="particlesSetup",s.containerStarted="containerStarted",s.containerStopped="containerStopped",s.containerDestroyed="containerDestroyed",s.containerPaused="containerPaused",s.containerPlay="containerPlay",s.containerBuilt="containerBuilt",s.particleAdded="particleAdded",s.particleDestroyed="particleDestroyed",s.particleRemoved="particleRemoved"},3609(e,t,i){var a,s;i.d(t,{x:()=>a}),(s=a||(a={})).normal="normal",s.inside="inside",s.outside="outside"},4262(e,t,i){var a,s;i.d(t,{S:()=>a}),(s=a||(a={})).max="max",s.min="min",s.random="random"},337(e,t,i){i.d(t,{A:()=>o});var a=i(4743),s=i(3815),n=i(2213);class o extends n.O{animation;constructor(){super(),this.animation=new s.i}static create(e,t){let i=new o;return i.load(e),void 0!==t&&((0,a.Kg)(t)||(0,a.cy)(t)?i.load({value:t}):i.load(t)),i}load(e){if(super.load(e),(0,a.kZ)(e))return;let t=e.animation;void 0!==t&&(void 0===t.enable?this.animation.load(e.animation):this.animation.h.load(t))}}},8144(e,t,i){i.d(t,{Q:()=>l,p:()=>r});var a=i(7079),s=i(4262),n=i(4743),o=i(5989);class r{count;decay;delay;enable;speed;sync;constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(e){(0,n.kZ)(e)||(void 0!==e.count&&(this.count=(0,o.DT)(e.count)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.speed&&(this.speed=(0,o.DT)(e.speed)),void 0!==e.decay&&(this.decay=(0,o.DT)(e.decay)),void 0!==e.delay&&(this.delay=(0,o.DT)(e.delay)),void 0!==e.sync&&(this.sync=e.sync))}}class l extends r{mode;startValue;constructor(){super(),this.mode=a.g.auto,this.startValue=s.S.random}load(e){super.load(e),(0,n.kZ)(e)||(void 0!==e.mode&&(this.mode=e.mode),void 0!==e.startValue&&(this.startValue=e.startValue))}}},7715(e,t,i){i.d(t,{e:()=>o});var a=i(8144),s=i(4743),n=i(5989);class o extends a.p{max;min;offset;constructor(e,t){super(),this.min=e,this.max=t,this.offset=0,this.sync=!0}load(e){super.load(e),(0,s.kZ)(e)||(void 0!==e.max&&(this.max=e.max),void 0!==e.min&&(this.min=e.min),void 0!==e.offset&&(this.offset=(0,n.DT)(e.offset)))}}},3815(e,t,i){i.d(t,{i:()=>o});var a=i(5901),s=i(7715),n=i(4743);class o{h=new s.e(a.L1,a.vS);l=new s.e(a.vd,a.$_);s=new s.e(a.yx,a.eu);load(e){(0,n.kZ)(e)||(this.h.load(e.h),this.s.load(e.s),this.l.load(e.l))}}},5627(e,t,i){i.d(t,{J:()=>u});var a=i(1567),s=i(4743),n=i(2213);class o{color;image;opacity;position;repeat;size;constructor(){this.color=new n.O,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(e){(0,s.kZ)(e)||(void 0!==e.color&&(this.color=n.O.create(this.color,e.color)),void 0!==e.image&&(this.image=e.image),void 0!==e.position&&(this.position=e.position),void 0!==e.repeat&&(this.repeat=e.repeat),void 0!==e.size&&(this.size=e.size),void 0!==e.opacity&&(this.opacity=e.opacity))}}class r{enable;zIndex;constructor(){this.enable=!0,this.zIndex=0}load(e){(0,s.kZ)(e)||(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.zIndex&&(this.zIndex=e.zIndex))}}class l{delay;enable;constructor(){this.delay=.5,this.enable=!0}load(e){(0,s.kZ)(e)||(void 0!==e.delay&&(this.delay=e.delay),void 0!==e.enable&&(this.enable=e.enable))}}var d=i(5179),c=i(5989);class u{autoPlay;background;clear;defaultThemes;delay;detectRetina;duration;fpsLimit;fullScreen;hdr;key;name;palette;particles;pauseOnBlur;pauseOnOutsideViewport;preset;resize;smooth;style;zLayers;_container;_engine;constructor(e,t){this._engine=e,this._container=t,this.autoPlay=!0,this.background=new o,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new r,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.hdr=!0,this.particles=(0,d.y)(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.resize=new l,this.smooth=!1,this.style={},this.zLayers=100}load(e){if((0,s.kZ)(e))return;void 0!==e.preset&&(this.preset=e.preset,(0,a.wJ)(this.preset,e=>{this._importPreset(e)})),void 0!==e.palette&&(this.palette=e.palette,this._importPalette(this.palette)),void 0!==e.autoPlay&&(this.autoPlay=e.autoPlay),void 0!==e.clear&&(this.clear=e.clear),void 0!==e.key&&(this.key=e.key),void 0!==e.name&&(this.name=e.name),void 0!==e.delay&&(this.delay=(0,c.DT)(e.delay));let t=e.detectRetina;void 0!==t&&(this.detectRetina=t),void 0!==e.duration&&(this.duration=(0,c.DT)(e.duration));let i=e.fpsLimit;void 0!==i&&(this.fpsLimit=i),void 0!==e.hdr&&(this.hdr=e.hdr),void 0!==e.pauseOnBlur&&(this.pauseOnBlur=e.pauseOnBlur),void 0!==e.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=e.pauseOnOutsideViewport),void 0!==e.zLayers&&(this.zLayers=e.zLayers),this.background.load(e.background);let n=e.fullScreen;(0,s.Lm)(n)?this.fullScreen.enable=n:this.fullScreen.load(n),this.particles.load(e.particles),this.resize.load(e.resize),this.style=(0,a.zw)(this.style,e.style),void 0!==e.smooth&&(this.smooth=e.smooth),this._engine.plugins.forEach(t=>{t.loadOptions(this._container,this,e)})}_importPalette=e=>{let t=this._engine.getPalette(e);t&&this.load({background:{color:t.background},blend:{enable:!0,mode:t.blendMode},particles:{fill:{color:t.fill?{value:t.colors}:void 0,enable:t.fill},stroke:t.fill?void 0:t.colors.map(e=>({color:{value:e},width:1}))}})};_importPreset=e=>{this.load(this._engine.getPreset(e))}}},2213(e,t,i){i.d(t,{O:()=>s});var a=i(4743);class s{value;constructor(){this.value=""}static create(e,t){let i=new s;return i.load(e),void 0!==t&&((0,a.Kg)(t)||(0,a.cy)(t)?i.load({value:t}):i.load(t)),i}load(e){!(0,a.kZ)(e)&&((0,a.kZ)(e.value)||(this.value=e.value))}}},9124(e,t,i){i.d(t,{w:()=>n});var a=i(6879),s=i(4743);class n{horizontal;vertical;constructor(){this.horizontal=new a.F,this.vertical=new a.F}load(e){(0,s.kZ)(e)||(this.horizontal.load(e.horizontal),this.vertical.load(e.vertical))}}},6879(e,t,i){i.d(t,{F:()=>s});var a=i(5440);class s extends a.PV{constructor(){super(),this.value=1}}},2053(e,t,i){i.d(t,{S:()=>o});var a=i(337),s=i(4743),n=i(5989);class o{color;enable;opacity;constructor(){this.enable=!0,this.color=new a.A,this.color.value="#fff",this.opacity=1}load(e){(0,s.kZ)(e)||(void 0!==e.color&&(this.color=a.A.create(this.color,e.color)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.opacity&&(this.opacity=(0,n.DT)(e.opacity)))}}},7001(e,t,i){i.d(t,{y:()=>h});var a=i(1630),s=i(4743),n=i(7406),o=i(792),r=i(651),l=i(1312),d=i(2388),c=i(2760),u=i(5989);class h{angle;center;decay;direction;distance;drift;enable;gravity;outModes;path;random;size;speed;spin;straight;vibrate;warp;constructor(){this.angle=new n.h,this.center=new o.Z,this.decay=0,this.distance={},this.direction=a.F.none,this.drift=0,this.enable=!1,this.gravity=new r.y,this.path=new l.v,this.outModes=new d.j,this.random=!1,this.size=!1,this.speed=2,this.spin=new c.t,this.straight=!1,this.vibrate=!1,this.warp=!1}load(e){if((0,s.kZ)(e))return;this.angle.load((0,s.Et)(e.angle)?{value:e.angle}:e.angle),this.center.load(e.center),void 0!==e.decay&&(this.decay=(0,u.DT)(e.decay)),void 0!==e.direction&&(this.direction=e.direction),void 0!==e.distance&&(this.distance=(0,s.Et)(e.distance)?{horizontal:e.distance,vertical:e.distance}:{...e.distance}),void 0!==e.drift&&(this.drift=(0,u.DT)(e.drift)),void 0!==e.enable&&(this.enable=e.enable),this.gravity.load(e.gravity);let t=e.outModes;void 0!==t&&((0,s.Gv)(t)?this.outModes.load(t):this.outModes.load({default:t})),this.path.load(e.path),void 0!==e.random&&(this.random=e.random),void 0!==e.size&&(this.size=e.size),void 0!==e.speed&&(this.speed=(0,u.DT)(e.speed)),this.spin.load(e.spin),void 0!==e.straight&&(this.straight=e.straight),void 0!==e.vibrate&&(this.vibrate=e.vibrate),void 0!==e.warp&&(this.warp=e.warp)}}},7406(e,t,i){i.d(t,{h:()=>n});var a=i(4743),s=i(5989);class n{offset;value;constructor(){this.offset=0,this.value=90}load(e){(0,a.kZ)(e)||(void 0!==e.offset&&(this.offset=(0,s.DT)(e.offset)),void 0!==e.value&&(this.value=(0,s.DT)(e.value)))}}},792(e,t,i){i.d(t,{Z:()=>n});var a=i(2405),s=i(4743);class n{mode;radius;x;y;constructor(){this.x=50,this.y=50,this.mode=a.q.percent,this.radius=0}load(e){(0,s.kZ)(e)||(void 0!==e.x&&(this.x=e.x),void 0!==e.y&&(this.y=e.y),void 0!==e.mode&&(this.mode=e.mode),void 0!==e.radius&&(this.radius=e.radius))}}},651(e,t,i){i.d(t,{y:()=>n});var a=i(4743),s=i(5989);class n{acceleration;enable;inverse;maxSpeed;constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(e){(0,a.kZ)(e)||(void 0!==e.acceleration&&(this.acceleration=(0,s.DT)(e.acceleration)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.inverse&&(this.inverse=e.inverse),void 0!==e.maxSpeed&&(this.maxSpeed=(0,s.DT)(e.maxSpeed)))}}},2388(e,t,i){i.d(t,{j:()=>n});var a=i(5201),s=i(4743);class n{bottom;default;left;right;top;constructor(){this.default=a.Y.out}load(e){(0,s.kZ)(e)||(void 0!==e.default&&(this.default=e.default),this.bottom=e.bottom??e.default,this.left=e.left??e.default,this.right=e.right??e.default,this.top=e.top??e.default)}}},1312(e,t,i){i.d(t,{v:()=>o});var a=i(5440),s=i(1567),n=i(4743);class o{clamp;delay;enable;generator;options;constructor(){this.clamp=!0,this.delay=new a.PV,this.enable=!1,this.options={}}load(e){!(0,n.kZ)(e)&&(void 0!==e.clamp&&(this.clamp=e.clamp),this.delay.load(e.delay),void 0!==e.enable&&(this.enable=e.enable),this.generator=e.generator,e.options&&(this.options=(0,s.zw)(this.options,e.options)))}}},2760(e,t,i){i.d(t,{t:()=>o});var a=i(1567),s=i(4743),n=i(5989);class o{acceleration;enable;position;constructor(){this.acceleration=0,this.enable=!1}load(e){!(0,s.kZ)(e)&&(void 0!==e.acceleration&&(this.acceleration=(0,n.DT)(e.acceleration)),void 0!==e.enable&&(this.enable=e.enable),e.position&&(this.position=(0,a.zw)({},e.position)))}}},2138(e,t,i){i.d(t,{N:()=>o});var a=i(4743);class s{enable;height;width;constructor(){this.enable=!1,this.width=1920,this.height=1080}load(e){if((0,a.kZ)(e))return;void 0!==e.enable&&(this.enable=e.enable);let t=e.width;void 0!==t&&(this.width=t);let i=e.height;void 0!==i&&(this.height=i)}}var n=i(2393);class o{density;limit;value;constructor(){this.density=new s,this.limit=new n.A,this.value=0}load(e){(0,a.kZ)(e)||(this.density.load(e.density),this.limit.load(e.limit),void 0!==e.value&&(this.value=e.value))}}},2393(e,t,i){i.d(t,{A:()=>n});var a=i(8066),s=i(4743);class n{mode;value;constructor(){this.mode=a.d.delete,this.value=0}load(e){(0,s.kZ)(e)||(void 0!==e.mode&&(this.mode=e.mode),void 0!==e.value&&(this.value=e.value))}}},9833(e,t,i){i.d(t,{Y:()=>o});var a=i(5907),s=i(5440),n=i(4743);class o extends s.AI{animation;constructor(){super(),this.animation=new a.I,this.value=1}load(e){if((0,n.kZ)(e))return;super.load(e);let t=e.animation;void 0!==t&&this.animation.load(t)}}},5907(e,t,i){i.d(t,{I:()=>o});var a=i(1421),s=i(8144),n=i(4743);class o extends s.Q{destroy;constructor(){super(),this.destroy=a.V.none,this.speed=2}load(e){super.load(e),(0,n.kZ)(e)||void 0!==e.destroy&&(this.destroy=e.destroy)}}},4297(e,t,i){i.d(t,{U:()=>f});var a=i(1567),s=i(4743);class n{close;options;type;constructor(){this.close=!0,this.options={},this.type=[]}load(e){if((0,s.kZ)(e))return;let t=e.options;if(void 0!==t)for(let e in t){let i=t[e];i&&(this.options[e]=(0,a.zw)(this.options[e]??{},i))}void 0!==e.close&&(this.close=e.close),void 0!==e.type&&(this.type=e.type)}}var o=i(2053),r=i(7001),l=i(9833),d=i(9124),c=i(2138),u=i(3141),h=i(1281),p=i(4176),v=i(6779);class f{bounce;effect;fill;groups;move;number;opacity;reduceDuplicates;shape;size;stroke;zIndex;_container;_engine;constructor(e,t){this._engine=e,this._container=t,this.bounce=new d.w,this.effect=new n,this.fill=new o.S,this.groups={},this.move=new r.y,this.number=new c.N,this.opacity=new l.Y,this.reduceDuplicates=!1,this.shape=new u.y,this.size=new h.o,this.stroke=new p.t,this.zIndex=new v.P}load(e){if((0,s.kZ)(e))return;if(void 0!==e.groups)for(let t of Object.keys(e.groups)){if(!(t in e.groups))continue;let i=e.groups[t];void 0!==i&&(this.groups[t]=(0,a.zw)(this.groups[t]??{},i))}void 0!==e.reduceDuplicates&&(this.reduceDuplicates=e.reduceDuplicates),this.bounce.load(e.bounce),this.effect.load(e.effect),this.move.load(e.move),this.number.load(e.number),this.opacity.load(e.opacity),this.shape.load(e.shape),this.size.load(e.size),this.zIndex.load(e.zIndex);let t=e.fill;t&&(this.fill=(0,a.wJ)(t,e=>{let t=new o.S;return t.load(e),t}));let i=e.stroke;if(i&&(this.stroke=(0,a.wJ)(i,e=>{let t=new p.t;return t.load(e),t})),this._container){for(let t of this._engine.plugins)t.loadParticlesOptions&&t.loadParticlesOptions(this._container,this,e);let t=this._engine.updaters.get(this._container);if(t)for(let i of t)i.loadOptions&&i.loadOptions(this,e)}}}},3141(e,t,i){i.d(t,{y:()=>n});var a=i(1567),s=i(4743);class n{close;options;type;constructor(){this.close=!0,this.options={},this.type="circle"}load(e){if((0,s.kZ)(e))return;let t=e.options;if(void 0!==t)for(let e in t){let i=t[e];i&&(this.options[e]=(0,a.zw)(this.options[e]??{},i))}void 0!==e.close&&(this.close=e.close),void 0!==e.type&&(this.type=e.type)}}},1281(e,t,i){i.d(t,{o:()=>o});var a=i(5440),s=i(7867),n=i(4743);class o extends a.AI{animation;constructor(){super(),this.animation=new s.q,this.value=3}load(e){if(super.load(e),(0,n.kZ)(e))return;let t=e.animation;void 0!==t&&this.animation.load(t)}}},7867(e,t,i){i.d(t,{q:()=>o});var a=i(1421),s=i(8144),n=i(4743);class o extends s.Q{destroy;constructor(){super(),this.destroy=a.V.none,this.speed=5}load(e){super.load(e),(0,n.kZ)(e)||void 0!==e.destroy&&(this.destroy=e.destroy)}}},4176(e,t,i){i.d(t,{t:()=>o});var a=i(337),s=i(4743),n=i(5989);class o{color;opacity;width;constructor(){this.width=0}load(e){(0,s.kZ)(e)||(void 0!==e.color&&(this.color=a.A.create(this.color,e.color)),void 0!==e.width&&(this.width=(0,n.DT)(e.width)),void 0!==e.opacity&&(this.opacity=(0,n.DT)(e.opacity)))}}},6779(e,t,i){i.d(t,{P:()=>n});var a=i(5440),s=i(4743);class n extends a.PV{opacityRate;sizeRate;velocityRate;constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(e){super.load(e),(0,s.kZ)(e)||(void 0!==e.opacityRate&&(this.opacityRate=e.opacityRate),void 0!==e.sizeRate&&(this.sizeRate=e.sizeRate),void 0!==e.velocityRate&&(this.velocityRate=e.velocityRate))}}},5440(e,t,i){i.d(t,{AI:()=>l,PV:()=>o});var a=i(8144),s=i(4743),n=i(5989);class o{value;constructor(){this.value=0}load(e){!(0,s.kZ)(e)&&((0,s.kZ)(e.value)||(this.value=(0,n.DT)(e.value)))}}class r extends o{animation=new a.p;load(e){if(super.load(e),(0,s.kZ)(e))return;let t=e.animation;void 0!==t&&this.animation.load(t)}}class l extends r{animation;constructor(){super(),this.animation=new a.Q}load(e){super.load(e)}}},6227(e,t,i){i.d(t,{IU:()=>o,Md:()=>n,Sn:()=>s,Wb:()=>l,p0:()=>r});var a=i(5901);function s(e,t,i){e.fillStyle=i??"rgba(0,0,0,0)",e.fillRect(a.bo.x,a.bo.y,t.width,t.height)}function n(e,t,i,s){if(!i)return;let n=e.globalAlpha;e.globalAlpha=s,e.drawImage(i,a.bo.x,a.bo.y,t.width,t.height),e.globalAlpha=n}function o(e,t){e.clearRect(a.bo.x,a.bo.y,t.width,t.height)}function r(e){let{container:t,context:i,particle:s,delta:n,colorStyles:o,radius:r,opacity:l,transform:d}=e,{effectDrawers:c,shapeDrawers:u}=t.particles,h=s.getPosition(),p=s.getTransformData(d),v=a.Pf,f={x:h.x,y:h.y};i.setTransform(p.a,p.b,p.c,p.d,h.x,h.y),o.fill&&(i.fillStyle=o.fill);let y=!!s.fillEnabled,m=s.strokeWidth??a.Dv;i.lineWidth=m,o.stroke&&(i.strokeStyle=o.stroke);let g={context:i,particle:s,radius:r,drawRadius:r*v,opacity:l,delta:n,pixelRatio:t.retina.pixelRatio,fill:y,stroke:m>a.Dv,transformData:p,position:{...h},drawPosition:f,drawScale:v};for(let e of t.plugins)e.drawParticleTransform?.(g);let b=s.effect?c.get(s.effect):void 0,x=s.shape?u.get(s.shape):void 0;(function(e,t){if(!e?.drawBefore)return;let{particle:i}=t;i.effect&&e.drawBefore(t)})(b,g),function(e,t){if(!e?.beforeDraw)return;let{particle:i}=t;i.shape&&e.beforeDraw(t)}(x,g),function(e,t){if(!e)return;let{context:i,fill:a,particle:s,stroke:n}=t;s.shape&&(i.beginPath(),e.draw(t),s.shapeClose&&i.closePath(),n&&i.stroke(),a&&i.fill())}(x,g),function(e,t){if(!e?.afterDraw)return;let{particle:i}=t;i.shape&&e.afterDraw(t)}(x,g),function(e,t){if(!e?.drawAfter)return;let{particle:i}=t;i.effect&&e.drawAfter(t)}(b,g),i.resetTransform()}function l(e,t,i,a){t.drawParticle&&t.drawParticle(e,i,a)}},5640(e,t,i){i.d(t,{BN:()=>u,Jv:()=>z,LC:()=>m,O_:()=>g,R5:()=>h,YL:()=>p,ay:()=>v,pz:()=>b,xx:()=>f,yx:()=>k});var a=i(5989),s=i(5901),n=i(4743),o=i(8695),r=i(8049),l=i(1567);let d=new Map;function c(e,t){let i=d.get(e);return i||(i=t(),d.size>=1e3&&[...d.keys()].slice(0,1e3*s.MX).forEach(e=>d.delete(e)),d.set(e,i)),i}function u(e,t,i,o=!0){if(!t)return;let r=(0,n.Kg)(t)?{value:t}:t;if((0,n.Kg)(r.value))return function e(t,i,o,r=!0){if(!i)return;let d=(0,n.Kg)(i)?{value:i}:i;if((0,n.Kg)(d.value)){let e,i,n;return d.value===s.mR?(e=(void 0)??s.Fl,i=s.oi+s.D_,{b:(n=()=>Math.floor((0,a.e4)(e,i)))(),g:n(),r:n()}):function(e,t){if(t){for(let i of e.colorManagers.values())if(i.accepts(t))return i.parseString(t)}}(t,d.value)}if((0,n.cy)(d.value)){let i=(0,l.Vh)(d.value,o,r);if(!i)return;return e(t,{value:i})}for(let e of t.colorManagers.values()){let t=e.handleColor(d);if(t)return t}}(e,r.value,i,o);if((0,n.cy)(r.value)){let t=(0,l.Vh)(r.value,i,o);if(!t)return;return u(e,{value:t})}for(let t of e.colorManagers.values()){let e=t.handleRangeColor(r);if(e)return e}}function h(e,t,i,a=!0){var n;let o,r,l,d,c,p,v=u(e,t,i,a);return v?(o=(n=v).r/s.oi,r=n.g/s.oi,d=Math.max(o,r,l=n.b/s.oi),c=Math.min(o,r,l),p={h:s.L1,l:(d+c)*s.MX,s:s.yx},d!==c&&(p.s=p.l<s.MX?(d-c)/(d+c):(d-c)/(s.gd-d-c),o===d?p.h=(r-l)/(d-c):r===d?p.h=s.gd+(l-o)/(d-c):p.h=s.gd*s.gd+(o-r)/(d-c)),p.l*=s.$_,p.s*=s.eu,p.h*=s.U0,p.h<s.L1&&(p.h+=s.vS),p.h>=s.vS&&(p.h-=s.vS),p):void 0}function p(e){let t=(e.h%s.vS+s.vS)%s.vS,i=Math.max(s.yx,Math.min(s.eu,e.s)),a=Math.max(s.vd,Math.min(s.$_,e.l)),n=t/s.vS,o=i/s.eu,r=a/s.$_;if(i===s.yx){let e=Math.round(r*s.oi);return{r:e,g:e,b:e}}let l=(e,t,i)=>(i<0&&i++,i>1&&i--,i*s.zg<1)?e+(t-e)*s.zg*i:i*s.gd<1?t:i*s.Nu<+s.gd?e+(t-e)*(s.gd/s.Nu-i)*s.zg:e,d=r<s.MX?r*(s.aE+o):r+o-r*o,c=s.gd*r-d,u=s.BF/s.Nu;return{r:Math.round(Math.min(s.oi,s.oi*l(c,d,n+u))),g:Math.round(Math.min(s.oi,s.oi*l(c,d,n))),b:Math.round(Math.min(s.oi,s.oi*l(c,d,n-u)))}}function v(e){let t=p(e);return{a:e.a,b:t.b,g:t.g,r:t.r}}function f(e,t,i){let a=i??s.hv;return c(`rgb-${e.r.toFixed(2)}-${e.g.toFixed(2)}-${e.b.toFixed(2)}-${t?"hdr":"sdr"}-${a.toString()}`,()=>{var a,n;return t?y(e,i):(a=e,n=i,`rgba(${a.r.toString()}, ${a.g.toString()}, ${a.b.toString()}, ${(n??s.hv).toString()})`)})}function y(e,t){return`color(display-p3 ${(e.r/s.oi).toString()} ${(e.g/s.oi).toString()} ${(e.b/s.oi).toString()} / ${(t??s.hv).toString()})`}function m(e,t,i){let a=i??s.hv;return c(`hsl-${e.h.toFixed(2)}-${e.s.toFixed(2)}-${e.l.toFixed(2)}-${t?"hdr":"sdr"}-${a.toString()}`,()=>{var a,n,o,r;return t?(a=e,n=i,y(p(a),n)):(o=e,r=i,`hsla(${o.h.toString()}, ${o.s.toString()}%, ${o.l.toString()}%, ${(r??s.hv).toString()})`)})}function g(e){return void 0===e?void 0:{h:e.h.value,s:e.s.value,l:e.l.value}}function b(e,t,i){let a={h:{enable:!1,value:e.h,min:s.L1,max:s.vS},s:{enable:!1,value:e.s,min:s.yx,max:s.eu},l:{enable:!1,value:e.l,min:s.vd,max:s.$_}};return t&&(x(a.h,t.h,i),x(a.s,t.s,i),x(a.l,t.l,i)),a}function x(e,t,i){e.enable=t.enable,e.min=t.min,e.max=t.max,e.enable?(e.velocity=(0,a.VG)(t.speed)/s.a5*i,e.decay=s.WH-(0,a.VG)(t.decay),e.status=r.H.increasing,e.loops=s.hK,e.maxLoops=(0,a.VG)(t.count),e.time=s.tR,e.delayTime=(0,a.VG)(t.delay)*s.Xu,t.sync||(e.velocity*=(0,a.G0)(),e.value*=(0,a.G0)()),e.initialValue=e.value,e.offset=(0,a.DT)(t.offset)):e.velocity=s.jn}function w(e,t,i){if(!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0)||(e.time??=0,(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=i.value),(e.delayTime??0)>0&&e.time<(e.delayTime??0)))return;let s=e.offset?(0,a.vE)(e.offset):0,n=(e.velocity??0)*i.factor+3.6*s,o=e.decay??1,l=e.max,d=e.min;t&&e.status!==r.H.increasing?(e.value-=n,e.value<d&&(e.loops??=0,e.loops++,e.status=r.H.increasing)):(e.value+=n,e.value>l&&(e.loops??=0,e.loops++,t?e.status=r.H.decreasing:e.value-=l)),e.velocity&&1!==o&&(e.velocity*=o),e.value=(0,a.qE)(e.value,d,l)}function z(e,t){if(!e)return;let{h:i,s:a,l:s}=e;w(i,!1,t),w(a,!0,t),w(s,!0,t)}function k(e,t,i){return{h:e.h,s:e.s,l:e.l+(t===o.H.darken?-s.iU:s.iU)*i}}},1423(e,t,i){i.d(t,{t:()=>s});let a={debug:console.debug,error:(e,t)=>{console.error(`tsParticles - Error - ${e}`,t)},info:console.info,log:console.log,verbose:console.log,warning:console.warn};function s(){return a}},5989(e,t,i){i.d(t,{$m:()=>S,DT:()=>function e(t,i){if(t===i||void 0===i&&(0,o.Et)(t))return t;let a=y(t),s=m(t);return void 0!==i?{min:Math.min(a,i),max:Math.max(s,i)}:e(a,s)},G0:()=>d,JY:()=>k,M3:()=>_,Nx:()=>M,Sg:()=>y,VG:()=>f,W9:()=>m,Yf:()=>x,e4:()=>c,gp:()=>w,i0:()=>u,pu:()=>z,px:()=>h,qE:()=>p,vE:()=>v,vr:()=>g});var a=i(1630),s=i(5901),n=i(4472),o=i(4743);let r=Math.PI/180,l=Math.random;function d(){return p(l(),0,1-Number.EPSILON)}function c(e,t){return d()*(t-e)+e}function u(e){return requestAnimationFrame(e)}function h(e){cancelAnimationFrame(e)}function p(e,t,i){return Math.min(Math.max(e,t),i)}function v(e){let t=m(e),i=y(e);return t===i&&(i=0),c(i,t)}function f(e){return(0,o.Et)(e)?e:v(e)}function y(e){return(0,o.Et)(e)?e:e.min}function m(e){return(0,o.Et)(e)?e:e.max}function g(e,t){let i=e.x-t.x,a=e.y-t.y;return{dx:i,dy:a,distance:Math.hypot(i,a)}}function b(e,t){let i=e.x-t.x,a=e.y-t.y;return i*i+a*a}function x(e,t){return Math.sqrt(b(e,t))}function w(e,t,i){return b(e,t)<=i*i}function z(e){return e*r}function k(e,t,i){if((0,o.Et)(e))return e*r;switch(e){case a.F.top:return-Math.PI*s.MX;case a.F.topRight:return-Math.PI*s.$G;case a.F.right:return s.Ie;case a.F.bottomRight:return Math.PI*s.$G;case a.F.bottom:return Math.PI*s.MX;case a.F.bottomLeft:return Math.PI*s.Rq;case a.F.left:return Math.PI;case a.F.topLeft:return-Math.PI*s.Rq;case a.F.inside:return Math.atan2(i.y-t.y,i.x-t.x);case a.F.outside:return Math.atan2(t.y-i.y,t.x-i.x);default:return d()*s.R1}}function S(e){let t=n.M.origin;return t.length=1,t.angle=e,t}function M(e){let{position:t,size:i}=e;return{x:t?.x??d()*i.width,y:t?.y??d()*i.height}}function _(e){return e?e.endsWith("%")?parseFloat(e)/s.a5:parseFloat(e):1}},5179(e,t,i){i.d(t,{Z:()=>s,y:()=>n});var a=i(4297);function s(e,...t){for(let i of t)e.load(i)}function n(e,t,...i){let o=new a.U(e,t);return s(o,...i),o}},4743(e,t,i){function a(e){return"boolean"==typeof e}function s(e){return"string"==typeof e}function n(e){return"number"==typeof e}function o(e){return"object"==typeof e&&null!==e}function r(e){return Array.isArray(e)}function l(e){return null==e}i.d(t,{Et:()=>n,Gv:()=>o,Kg:()=>s,Lm:()=>a,cy:()=>r,kZ:()=>l})},1567(e,t,i){let a,s,n,o,r;i.d(t,{AE:()=>S,E9:()=>E,HQ:()=>R,Kp:()=>I,Ot:()=>A,T5:()=>g,TA:()=>_,Tj:()=>k,UC:()=>O,Vh:()=>z,Xs:()=>P,hJ:()=>T,hn:()=>w,lV:()=>b,tG:()=>x,td:()=>L,wJ:()=>M,zw:()=>function e(t,...i){for(let a of i){if((0,u.kZ)(a))continue;if(!(0,u.Gv)(a)){t=a;continue}Array.isArray(a)?Array.isArray(t)||(t=[]):(!(0,u.Gv)(t)||Array.isArray(t))&&(t={});let i=Object.keys(a),s=new Set(["__proto__","constructor","prototype"]);if(!i.some(e=>{let t=a[e];return(0,u.Gv)(t)||Array.isArray(t)})){let e=t;for(let t of i)if(!s.has(t)&&t in a){let i=a[t];void 0!==i&&(e[t]=i)}continue}for(let n of i){if(s.has(n))continue;let i=t,o=a[n];i[n]=Array.isArray(o)?o.map(t=>e(void 0,t)):e(i[n],o)}}return t}});var l,d=i(5989),c=i(5901),u=i(4743),h=i(7079),p=i(8049),v=i(1421),f=i(5274),y=i(2405),m=i(4262);function g(){return globalThis.document}function b(e){if("u">typeof matchMedia)return matchMedia(e)}function x(e){if("u">typeof MutationObserver)return new MutationObserver(e)}function w(e,t){return e===t||(0,u.cy)(t)&&t.includes(e)}function z(e,t,i=!0){return e[void 0!==t&&i?t%e.length:Math.floor((0,d.G0)()*e.length)]}function k(e,t,i,a,s){var n,o,r,l;let d;return n=S(e,a??0),o=t,r=i,d=!0,(l=s)&&l!==f.v.bottom||(d=n.top<o.height+r.x),d&&(!l||l===f.v.left)&&(d=n.right>r.x),d&&(!l||l===f.v.right)&&(d=n.left<o.width+r.y),d&&(!l||l===f.v.top)&&(d=n.bottom>r.y),d}function S(e,t){return{bottom:e.y+t,left:e.x-t,right:e.x+t,top:e.y-t}}function M(e,t){return(0,u.cy)(e)?e.map((e,i)=>t(e,i)):t(e,0)}function _(e,t,i){return(0,u.cy)(e)?z(e,t,i):e}function P(e,t){let i=e.value,a=e.animation,s={delayTime:(0,d.VG)(a.delay)*c.Xu,enable:a.enable,value:(0,d.VG)(e.value)*t,max:(0,d.W9)(i)*t,min:(0,d.Sg)(i)*t,loops:0,maxLoops:(0,d.VG)(a.count),time:0};if(a.enable){switch(s.decay=1-(0,d.VG)(a.decay),a.mode){case h.g.increase:s.status=p.H.increasing;break;case h.g.decrease:s.status=p.H.decreasing;break;case h.g.random:s.status=(0,d.G0)()>=c.MX?p.H.increasing:p.H.decreasing}let e=a.mode===h.g.auto;switch(a.startValue){case m.S.min:s.value=s.min,e&&(s.status=p.H.increasing);break;case m.S.max:s.value=s.max,e&&(s.status=p.H.decreasing);break;case m.S.random:default:s.value=(0,d.vE)(s),e&&(s.status=(0,d.G0)()>=c.MX?p.H.increasing:p.H.decreasing)}}return s.initialValue=s.value,s}function E(e,t){return function(e,t){if(e.mode!==y.q.percent){let{mode:t,...i}=e;return i}return"x"in e?{x:e.x/c.a5*t.width,y:e.y/c.a5*t.height}:{width:e.width/c.a5*t.width,height:e.height/c.a5*t.height}}(e,t)}function O(e,t,i,a,s){if(e.destroyed||!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;let n=(t.velocity??0)*s.factor,o=t.min,r=t.max,l=t.decay??1;if(t.time??=0,(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=s.value),!((t.delayTime??0)>0)||!(t.time<(t.delayTime??0))){switch(t.status){case p.H.increasing:t.value>=r?(i?t.status=p.H.decreasing:t.value-=r,t.loops??=0,t.loops++):t.value+=n;break;case p.H.decreasing:t.value<=o?(i?t.status=p.H.increasing:t.value+=r,t.loops??=0,t.loops++):t.value-=n}t.velocity&&1!==l&&(t.velocity*=l);var c=t.value;switch(a){case v.V.max:c>=r&&e.destroy();break;case v.V.min:c<=o&&e.destroy()}t.value=(0,d.qE)(t.value,o,r)}}function L(e){let t=g().createElement("div").style;for(let i in e){let a=e[i];if(!(i in e)||(0,u.kZ)(a))continue;let s=e.getPropertyValue?.(a);if(!s)continue;let n=e.getPropertyPriority?.(a);n?t.setProperty(a,s,n):t.setProperty(a,s)}return t}i(4472);let T=(l=function(e){let t=g().createElement("div").style,i={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:e.toString(10),"z-index":e.toString(10),top:"0",left:"0"};for(let e in i){let a=i[e];void 0!==a&&t.setProperty(e,a)}return t},a=new Map,s=void 0,n=void 0,o=void 0,r=(e,t=new WeakSet)=>{if(null===e)return"null";let i=typeof e;if("undefined"===i)return"undefined";if("number"===i||"boolean"===i||"string"===i)return JSON.stringify(e);if("function"===i)try{return e.toString()}catch{return'"[Function]"'}if("symbol"===i)try{return e.toString()}catch{return'"[Symbol]"'}if(Array.isArray(e))return`[${e.map(e=>r(e,t)).join(",")}]`;if(t.has(e))return'"[Circular]"';t.add(e);let a=Object.keys(e).sort();return`{${a.map(i=>`${JSON.stringify(i)}:${r(e[i],t)}`).join(",")}}`},(...e)=>{let t,i=(t=e,o?o(t):r(t)),d=Date.now(),c=a.get(i);if(void 0!==c)if(!n||!(d-c.ts>n))return a.delete(i),a.set(i,{value:c.value,ts:c.ts}),c.value;else a.delete(i);let u=l(...e);if(a.set(i,{value:u,ts:d}),"number"==typeof s&&s>=0)for(;a.size>s;){let e=a.keys().next().value;if(void 0===e)break;a.delete(e)}return u});function I(e,t,i,a,s){if(a){let a={passive:!0};(0,u.Lm)(s)?a.capture=s:void 0!==s&&(a=s),e.addEventListener(t,i,a)}else e.removeEventListener(t,i,s)}async function R(e,t,i,a=!1){let s=t.get(e);return(!s||a)&&(s=await Promise.all([...i.values()].map(t=>t(e))),t.set(e,s)),s}async function A(e,t,i,a=!1){let s=t.get(e);return(!s||a)&&(s=new Map(await Promise.all([...i.entries()].map(([t,i])=>i(e).then(e=>[t,e])))),t.set(e,s)),s}},853(e,t,i){i.d(t,{FWc:()=>b.F,Yzx:()=>w.Y,v5k:()=>x.v,x_I:()=>z.x,pTR:()=>o,Miz:()=>g.M,AEc:()=>c.AE,qE8:()=>v.qE,WH8:()=>d.WH,puj:()=>v.pu,R1e:()=>d.R1,YfF:()=>v.Yf,vrU:()=>v.vr,pzy:()=>k.pz,OtU:()=>c.Ot,G0i:()=>v.G0,W9e:()=>v.W9,VGA:()=>v.VG,MXx:()=>d.MX,YLU:()=>k.YL,ayx:()=>k.ay,XsS:()=>c.Xs,Gvm:()=>S.Gv,Tj8:()=>c.Tj,TA3:()=>c.TA,XuV:()=>d.Xu,boI:()=>d.bo,M3Y:()=>v.M3,a56:()=>d.a5,vEz:()=>v.vE,R5R:()=>k.R5,$k3:()=>M,UC0:()=>c.UC,JvX:()=>k.Jv});var a,s,n,o,r,l,d=i(5901),c=i(1567);class u{_listeners;constructor(){this._listeners=new Map}addEventListener(e,t){this.removeEventListener(e,t);let i=this._listeners.get(e);i||(i=[],this._listeners.set(e,i)),i.push(t)}dispatchEvent(e,t){let i=this._listeners.get(e);i?.forEach(e=>{e(t)})}hasEventListener(e){return!!this._listeners.get(e)}removeAllEventListeners(e){e?this._listeners.delete(e):this._listeners=new Map}removeEventListener(e,t){let i=this._listeners.get(e);if(!i)return;let a=i.length,s=i.indexOf(t);s<d.z9||(a===d.LD?this._listeners.delete(e):i.splice(s,d.LD))}}var h=i(7559),p=i(1423),v=i(5989);let f="100%";async function y(e){let t=(0,c.TA)(e.url,e.index);if(!t)return e.fallback;let i=await fetch(t);return i.ok?await i.json():((0,p.t)().error(`${i.status.toString()} while retrieving config file`),e.fallback)}class m{colorManagers=new Map;easingFunctions=new Map;effectDrawers=new Map;initializers={effects:new Map,shapes:new Map,updaters:new Map};palettes=new Map;plugins=[];presets=new Map;shapeDrawers=new Map;updaters=new Map;_allLoadersSet=new Set;_configs=new Map;_domArray=[];_eventDispatcher=new u;_executedSet=new Set;_initialized=!1;_isRunningLoaders=!1;_loadPromises=new Set;get configs(){let e={};for(let[t,i]of this._configs)e[t]=i;return e}get items(){return this._domArray}get version(){return"4.0.0-alpha.27"}addColorManager(e,t){this.colorManagers.set(e,t)}addConfig(e){let t=e.key??e.name??"default";this._configs.set(t,e),this._eventDispatcher.dispatchEvent(h.B.configAdded,{data:{name:t,config:e}})}addEasing(e,t){this.easingFunctions.get(e)||this.easingFunctions.set(e,t)}addEffect(e,t){this.initializers.effects.set(e,t)}addEventListener(e,t){this._eventDispatcher.addEventListener(e,t)}addPalette(e,t){this.palettes.set(e,t)}addParticleUpdater(e,t){this.initializers.updaters.set(e,t)}addPlugin(e){this.getPlugin(e.id)||this.plugins.push(e)}addPreset(e,t,i=!1){(i||!this.getPreset(e))&&this.presets.set(e,t)}addShape(e,t){for(let i of e)this.initializers.shapes.set(i,t)}checkVersion(e){if(this.version!==e)throw Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${e}`)}clearPlugins(e){this.effectDrawers.delete(e),this.shapeDrawers.delete(e),this.updaters.delete(e)}dispatchEvent(e,t){this._eventDispatcher.dispatchEvent(e,t)}getEasing(e){return this.easingFunctions.get(e)??(e=>e)}getEffectDrawers(e,t=!1){return(0,c.Ot)(e,this.effectDrawers,this.initializers.effects,t)}getPalette(e){return this.palettes.get(e)}getPlugin(e){return this.plugins.find(t=>t.id===e)}getPreset(e){return this.presets.get(e)}async getShapeDrawers(e,t=!1){return(0,c.Ot)(e,this.shapeDrawers,this.initializers.shapes,t)}async getUpdaters(e,t=!1){return(0,c.HQ)(e,this.updaters,this.initializers.updaters,t)}async init(){if(!this._initialized&&!this._isRunningLoaders){this._isRunningLoaders=!0,this._executedSet=new Set,this._allLoadersSet=new Set(this._loadPromises);try{for(let e of this._allLoadersSet)await this._runLoader(e,this._executedSet,this._allLoadersSet)}finally{this._loadPromises.clear(),this._isRunningLoaders=!1,this._initialized=!0}}}item(e){let{items:t}=this,i=t[e];return i?.destroyed?void t.splice(e,d.JC):i}async load(e){var t;let a,s;await this.init();let{Container:n}=await i.e(803).then(i.bind(i,2803)),o=e.id??e.element?.id??`tsparticles${Math.floor((0,v.G0)()*d.$v).toString()}`,{index:r,url:l}=e,u=l?await y({fallback:e.options,url:l,index:r}):e.options,h=(0,c.TA)(u,r),{items:p}=this,m=p.findIndex(e=>e.id.description===o),g=new n(this,o,h);if(m>=d.PZ){let e=this.item(m),t=e?d.xH:d.dv;e&&!e.destroyed&&e.destroy(!1),p.splice(m,t,g)}else p.push(g);let b=(e=>{let t,i=(0,c.T5)();if(e instanceof HTMLCanvasElement||e.tagName.toLowerCase()===d.RF)t=e,t.dataset[d.eb]??=d.X$;else{let a=e.getElementsByTagName(d.RF)[d.Nx];a?(t=a).dataset[d.eb]=d.X$:((t=i.createElement(d.RF)).dataset[d.eb]=d.ce,e.appendChild(t))}return t.style.width||=f,t.style.height||=f,t})((t=e.element,a=(0,c.T5)(),(s=t??a.getElementById(o))||((s=a.createElement("div")).id=o,s.dataset[d.eb]=d.ce,a.body.append(s)),s));return g.canvas.loadCanvas(b),await g.start(),g}loadParticlesOptions(e,t,...i){let a=this.updaters.get(e);a&&a.forEach(e=>e.loadOptions?.(t,...i))}async refresh(e=!0){e&&await Promise.all(this.items.map(e=>e.refresh()))}async register(...e){if(this._initialized)throw Error("Register plugins can only be done before calling tsParticles.load()");for(let t of e)this._isRunningLoaders?await this._runLoader(t,this._executedSet,this._allLoadersSet):this._loadPromises.add(t)}removeEventListener(e,t){this._eventDispatcher.removeEventListener(e,t)}async _runLoader(e,t,i){t.has(e)||(t.add(e),i.add(e),await e(this))}}i(7280);var g=i(4472),b=i(1630);(a=o||(o={})).clockwise="clockwise",a.counterClockwise="counter-clockwise",a.random="random";var x=i(5274);i(7079),i(8066);var w=i(5201);i(2405),i(8695),i(1421),(s=r||(r={})).linear="linear",s.radial="radial",s.random="random";var z=i(3609);i(4262),(n=l||(l={})).easeInBack="ease-in-back",n.easeInBounce="ease-in-bounce",n.easeInCirc="ease-in-circ",n.easeInCubic="ease-in-cubic",n.easeInElastic="ease-in-elastic",n.easeInExpo="ease-in-expo",n.easeInGaussian="ease-in-gaussian",n.easeInLinear="ease-in-linear",n.easeInQuad="ease-in-quad",n.easeInQuart="ease-in-quart",n.easeInQuint="ease-in-quint",n.easeInSigmoid="ease-in-sigmoid",n.easeInSine="ease-in-sine",n.easeInSmoothstep="ease-in-smoothstep",n.easeOutBack="ease-out-back",n.easeOutBounce="ease-out-bounce",n.easeOutCirc="ease-out-circ",n.easeOutCubic="ease-out-cubic",n.easeOutElastic="ease-out-elastic",n.easeOutExpo="ease-out-expo",n.easeOutGaussian="ease-out-gaussian",n.easeOutLinear="ease-out-linear",n.easeOutQuad="ease-out-quad",n.easeOutQuart="ease-out-quart",n.easeOutQuint="ease-out-quint",n.easeOutSigmoid="ease-out-sigmoid",n.easeOutSine="ease-out-sine",n.easeOutSmoothstep="ease-out-smoothstep",n.easeInOutBack="ease-in-out-back",n.easeInOutBounce="ease-in-out-bounce",n.easeInOutCirc="ease-in-out-circ",n.easeInOutCubic="ease-in-out-cubic",n.easeInOutElastic="ease-in-out-elastic",n.easeInOutExpo="ease-in-out-expo",n.easeInOutGaussian="ease-in-out-gaussian",n.easeInOutLinear="ease-in-out-linear",n.easeInOutQuad="ease-in-out-quad",n.easeInOutQuart="ease-in-out-quart",n.easeInOutQuint="ease-in-out-quint",n.easeInOutSigmoid="ease-in-out-sigmoid",n.easeInOutSine="ease-in-out-sine",n.easeInOutSmoothstep="ease-in-out-smoothstep",i(8049),i(337),i(8144),i(7715),i(3815),i(5627),i(9124),i(6879),i(4297),i(2053),i(4176),i(7001),i(7406),i(792),i(651),i(2388),i(1312),i(2760),i(2138),i(2393),i(9833),i(5907),i(3141),i(1281),i(7867),i(6779),i(5440),i(6227);var k=i(5640);i(5179);var S=i(4743);let M=new m;globalThis.tsParticles=M}},s={};function n(e){var t=s[e];if(void 0!==t)return t.exports;var i=s[e]={exports:{}};return a[e](i,i.exports,n),i.exports}n.m=a,n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((t,i)=>(n.f[i](e,t),t),[])),n.u=e=>""+e+".min.js",n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},n.l=(e,t,i,a)=>{if(o[e])return void o[e].push(t);if(void 0!==i)for(var s,r,l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var c=l[d];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")=="@tsparticles/preset-ambient:"+i){s=c;break}}s||(r=!0,(s=document.createElement("script")).charset="utf-8",n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack","@tsparticles/preset-ambient:"+i),s.src=e),o[e]=[t];var u=(t,i)=>{s.onerror=s.onload=null,clearTimeout(h);var a=o[e];if(delete o[e],s.parentNode&&s.parentNode.removeChild(s),a&&a.forEach(e=>e(i)),t)return t(i)},h=setTimeout(u.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=u.bind(null,s.onerror),s.onload=u.bind(null,s.onload),r&&document.head.appendChild(s)},n.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.g.importScripts&&(r=n.g.location+"");var o,r,l=n.g.document;if(!r&&l&&(l.currentScript&&"SCRIPT"===l.currentScript.tagName.toUpperCase()&&(r=l.currentScript.src),!r)){var d=l.getElementsByTagName("script");if(d.length)for(var c=d.length-1;c>-1&&(!r||!/^http(s?):/.test(r));)r=d[c--].src}if(!r)throw Error("Automatic publicPath is not supported in this browser");n.p=r=r.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e={178:0},n.f.j=(t,i)=>{var a=n.o(e,t)?e[t]:void 0;if(0!==a)if(a)i.push(a[2]);else{var s=new Promise((i,s)=>a=e[t]=[i,s]);i.push(a[2]=s);var o=n.p+n.u(t),r=Error();n.l(o,i=>{if(n.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var s=i&&("load"===i.type?"missing":i.type),o=i&&i.target&&i.target.src;r.message="Loading chunk "+t+` failed.
2
- (`+s+": "+o+")",r.name="ChunkLoadError",r.type=s,r.request=o,a[1](r)}},"chunk-"+t,t)}},t=(t,i)=>{var a,s,[o,r,l]=i,d=0;if(o.some(t=>0!==e[t])){for(a in r)n.o(r,a)&&(n.m[a]=r[a]);l&&l(n)}for(t&&t(i);d<o.length;d++)s=o[d],n.o(e,s)&&e[s]&&e[s][0](),e[s]=0},(i=this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i));var u={};async function h(e){await e.register(async e=>{let[{loadBasic:t},{loadStrokeColorUpdater:i},{options:a}]=await Promise.all([n.e(946).then(n.bind(n,1946)),n.e(964).then(n.bind(n,5964)),n.e(552).then(n.bind(n,3552))]);await t(e),await i(e),e.addPreset("ambient",a)})}n.r(u),n.d(u,{loadAmbientPreset:()=>h,tsParticles:()=>p.$k3});var p=n(853);return u})());
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var a in i)("object"==typeof exports?exports:e)[a]=i[a]}}(this,()=>(()=>{"use strict";var e,t,i,a={8660(e,t,i){i.d(t,{$G:()=>A,$_:()=>E,$v:()=>B,$x:()=>z,BF:()=>ep,DN:()=>H,D_:()=>er,Dv:()=>eo,Eo:()=>W,Fl:()=>ev,Ie:()=>R,JC:()=>G,K3:()=>ei,L1:()=>L,LD:()=>es,MX:()=>l,NF:()=>n,Nu:()=>eu,Nx:()=>j,PZ:()=>X,Pf:()=>em,R1:()=>v,RF:()=>m,RV:()=>Z,Rq:()=>D,U0:()=>I,Ug:()=>c,WH:()=>Q,X$:()=>y,X_:()=>J,Xu:()=>d,Zp:()=>k,a5:()=>o,aE:()=>eh,bo:()=>u,ce:()=>g,dm:()=>w,dv:()=>U,eb:()=>a,eu:()=>O,gd:()=>p,hB:()=>_,hK:()=>eg,hv:()=>V,i8:()=>q,iU:()=>el,iX:()=>x,jn:()=>ef,lA:()=>ea,mR:()=>h,nK:()=>r,nq:()=>K,oi:()=>S,ou:()=>Y,rq:()=>b,tA:()=>en,tR:()=>ey,vF:()=>C,vS:()=>P,vd:()=>ed,w2:()=>F,wM:()=>ee,xH:()=>N,xd:()=>M,yj:()=>s,yx:()=>T,z$:()=>f,z9:()=>et,zg:()=>ec,zs:()=>$});let a="generated",s="source-over",n="resize",r="visibilitychange",o=100,l=.5,d=1e3,u={x:0,y:0,z:0},c={a:1,b:0,c:0,d:1},h="random",p=2,v=2*Math.PI,f=60,g="true",y="false",m="canvas",b=0,w=2,x=100,M=1,z=1,k=1,_=1,S=255,P=360,O=100,E=100,L=0,T=0,I=60,R=0,A=.25,D=.75,$=1,F=0,Z=1,V=1,G=1,C=0,q=120,H=0,j=0,B=1e4,X=0,N=1,U=0,Q=1,W=1,J=0,Y=0,K=1,ee=0,et=0,ei=1,ea=1,es=1,en=0,er=1,eo=0,el=1,ed=0,eu=3,ec=6,eh=1,ep=1,ev=0,ef=0,eg=0,ey=0,em=1},6197(e,t,i){i.d(t,{jl:()=>l,M_:()=>d}),(a=s||(s={})).circle="circle",a.rectangle="rectangle";var a,s,n=i(8770),r=i(8660);class o{position;type;constructor(e,t,i){this.position={x:e,y:t},this.type=i}_resetPosition(e,t){this.position.x=e,this.position.y=t}}class l extends o{radius;constructor(e,t,i){super(e,t,s.circle),this.radius=i}contains(e){return(0,n.gp)(e,this.position,this.radius)}intersects(e){let t=this.position,i=e.position,a=this.radius,n=Math.abs(i.x-t.x),o=Math.abs(i.y-t.y);if(e instanceof l||e.type===s.circle)return a+e.radius>Math.hypot(n,o);if(e instanceof d||e.type===s.rectangle){let{width:t,height:i}=e.size;return Math.pow(n-t,r.dm)+Math.pow(o-i,r.dm)<=a**r.dm||n<=a+t&&o<=a+i||n<=t||o<=i}return!1}reset(e,t,i){return this._resetPosition(e,t),this.radius=i,this}}class d extends o{size;constructor(e,t,i,a){super(e,t,s.rectangle),this.size={height:a,width:i}}contains(e){let t=this.size.width,i=this.size.height,a=this.position;return e.x>=a.x&&e.x<=a.x+t&&e.y>=a.y&&e.y<=a.y+i}intersects(e){if(e instanceof l)return e.intersects(this);if(!(e instanceof d))return!1;let t=this.size.width,i=this.size.height,a=this.position,s=e.position,n=e.size,r=n.width,o=n.height;return s.x<a.x+t&&s.x+r>a.x&&s.y<a.y+i&&s.y+o>a.y}reset(e,t,i,a){return this._resetPosition(e,t),this.size.width=i,this.size.height=a,this}}},4037(e,t,i){i.d(t,{M:()=>r,p:()=>n});var a=i(8660);function s(e){return"z"in e?e.z:a.bo.z}class n{x;y;z;constructor(e=a.bo.x,t=a.bo.y,i=a.bo.z){this.x=e,this.y=t,this.z=i}static get origin(){return n.create(a.bo.x,a.bo.y,a.bo.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(e){this._updateFromAngle(e,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(e){this._updateFromAngle(this.angle,e)}static clone(e){return n.create(e.x,e.y,s(e))}static create(e,t,i){return"number"==typeof e?new n(e,t??a.bo.y,i??a.bo.z):new n(e.x,e.y,s(e))}add(e){return n.create(this.x+e.x,this.y+e.y,this.z+s(e))}addTo(e){this.x+=e.x,this.y+=e.y,this.z+=s(e)}copy(){return n.clone(this)}div(e){return n.create(this.x/e,this.y/e,this.z/e)}divTo(e){this.x/=e,this.y/=e,this.z/=e}getLengthSq(){return this.x**a.dm+this.y**a.dm}mult(e){return n.create(this.x*e,this.y*e,this.z*e)}multTo(e){this.x*=e,this.y*=e,this.z*=e}normalize(){let e=this.length;e!=a.dv&&this.multTo(a.hB/e)}rotate(e){return n.create(this.x*Math.cos(e)-this.y*Math.sin(e),this.x*Math.sin(e)+this.y*Math.cos(e),a.bo.z)}setTo(e){this.x=e.x,this.y=e.y,this.z=s(e)}sub(e){return n.create(this.x-e.x,this.y-e.y,this.z-s(e))}subFrom(e){this.x-=e.x,this.y-=e.y,this.z-=s(e)}_updateFromAngle(e,t){this.x=Math.cos(e)*t,this.y=Math.sin(e)*t}}class r extends n{constructor(e=a.bo.x,t=a.bo.y){super(e,t,a.bo.z)}static get origin(){return r.create(a.bo.x,a.bo.y)}static clone(e){return r.create(e.x,e.y)}static create(e,t){return"number"==typeof e?new r(e,t??a.bo.y):new r(e.x,e.y)}}},2314(e,t,i){var a,s;i.d(t,{H:()=>a}),(s=a||(a={})).increasing="increasing",s.decreasing="decreasing"},5327(e,t,i){var a,s;i.d(t,{F:()=>a}),(s=a||(a={})).bottom="bottom",s.bottomLeft="bottom-left",s.bottomRight="bottom-right",s.left="left",s.none="none",s.right="right",s.top="top",s.topLeft="top-left",s.topRight="top-right",s.outside="outside",s.inside="inside"},7341(e,t,i){var a,s;i.d(t,{v:()=>a}),(s=a||(a={})).bottom="bottom",s.left="left",s.right="right",s.top="top"},4992(e,t,i){var a,s;i.d(t,{g:()=>a}),(s=a||(a={})).auto="auto",s.increase="increase",s.decrease="decrease",s.random="random"},7345(e,t,i){var a,s;i.d(t,{d:()=>a}),(s=a||(a={})).delete="delete",s.wait="wait"},3942(e,t,i){var a,s;i.d(t,{Y:()=>a}),(s=a||(a={})).bounce="bounce",s.none="none",s.out="out",s.destroy="destroy",s.split="split"},2702(e,t,i){var a,s;i.d(t,{q:()=>a}),(s=a||(a={})).precise="precise",s.percent="percent"},6932(e,t,i){var a,s;i.d(t,{H:()=>a}),(s=a||(a={})).darken="darken",s.enlighten="enlighten"},202(e,t,i){var a,s;i.d(t,{V:()=>a}),(s=a||(a={})).none="none",s.max="max",s.min="min"},6128(e,t,i){var a,s;i.d(t,{B:()=>a}),(s=a||(a={})).configAdded="configAdded",s.containerInit="containerInit",s.particlesSetup="particlesSetup",s.containerStarted="containerStarted",s.containerStopped="containerStopped",s.containerDestroyed="containerDestroyed",s.containerPaused="containerPaused",s.containerPlay="containerPlay",s.containerBuilt="containerBuilt",s.particleAdded="particleAdded",s.particleDestroyed="particleDestroyed",s.particleRemoved="particleRemoved"},510(e,t,i){var a,s;i.d(t,{x:()=>a}),(s=a||(a={})).normal="normal",s.inside="inside",s.outside="outside"},9983(e,t,i){var a,s;i.d(t,{S:()=>a}),(s=a||(a={})).max="max",s.min="min",s.random="random"},2078(e,t,i){i.d(t,{A:()=>r});var a=i(4920),s=i(3410),n=i(9744);class r extends n.O{animation;constructor(){super(),this.animation=new s.i}static create(e,t){let i=new r;return i.load(e),void 0!==t&&((0,a.Kg)(t)||(0,a.cy)(t)?i.load({value:t}):i.load(t)),i}load(e){if(super.load(e),(0,a.kZ)(e))return;let t=e.animation;void 0!==t&&(void 0===t.enable?this.animation.load(e.animation):this.animation.h.load(t))}}},6753(e,t,i){i.d(t,{Q:()=>l,p:()=>o});var a=i(4992),s=i(9983),n=i(4920),r=i(8770);class o{count;decay;delay;enable;speed;sync;constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(e){(0,n.kZ)(e)||(void 0!==e.count&&(this.count=(0,r.DT)(e.count)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.speed&&(this.speed=(0,r.DT)(e.speed)),void 0!==e.decay&&(this.decay=(0,r.DT)(e.decay)),void 0!==e.delay&&(this.delay=(0,r.DT)(e.delay)),void 0!==e.sync&&(this.sync=e.sync))}}class l extends o{mode;startValue;constructor(){super(),this.mode=a.g.auto,this.startValue=s.S.random}load(e){super.load(e),(0,n.kZ)(e)||(void 0!==e.mode&&(this.mode=e.mode),void 0!==e.startValue&&(this.startValue=e.startValue))}}},3086(e,t,i){i.d(t,{e:()=>r});var a=i(6753),s=i(4920),n=i(8770);class r extends a.p{max;min;offset;constructor(e,t){super(),this.min=e,this.max=t,this.offset=0,this.sync=!0}load(e){super.load(e),(0,s.kZ)(e)||(void 0!==e.max&&(this.max=e.max),void 0!==e.min&&(this.min=e.min),void 0!==e.offset&&(this.offset=(0,n.DT)(e.offset)))}}},3410(e,t,i){i.d(t,{i:()=>r});var a=i(8660),s=i(3086),n=i(4920);class r{h=new s.e(a.L1,a.vS);l=new s.e(a.vd,a.$_);s=new s.e(a.yx,a.eu);load(e){(0,n.kZ)(e)||(this.h.load(e.h),this.s.load(e.s),this.l.load(e.l))}}},8850(e,t,i){i.d(t,{J:()=>c});var a=i(8664),s=i(4920),n=i(9744);class r{color;image;opacity;position;repeat;size;constructor(){this.color=new n.O,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(e){(0,s.kZ)(e)||(void 0!==e.color&&(this.color=n.O.create(this.color,e.color)),void 0!==e.image&&(this.image=e.image),void 0!==e.position&&(this.position=e.position),void 0!==e.repeat&&(this.repeat=e.repeat),void 0!==e.size&&(this.size=e.size),void 0!==e.opacity&&(this.opacity=e.opacity))}}class o{enable;zIndex;constructor(){this.enable=!0,this.zIndex=0}load(e){(0,s.kZ)(e)||(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.zIndex&&(this.zIndex=e.zIndex))}}class l{delay;enable;constructor(){this.delay=.5,this.enable=!0}load(e){(0,s.kZ)(e)||(void 0!==e.delay&&(this.delay=e.delay),void 0!==e.enable&&(this.enable=e.enable))}}var d=i(2222),u=i(8770);class c{autoPlay;background;clear;defaultThemes;delay;detectRetina;duration;fpsLimit;fullScreen;hdr;key;name;palette;particles;pauseOnBlur;pauseOnOutsideViewport;preset;resize;smooth;style;zLayers;_container;_pluginManager;constructor(e,t){this._pluginManager=e,this._container=t,this.autoPlay=!0,this.background=new r,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new o,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.hdr=!0,this.particles=(0,d.y)(this._pluginManager,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.resize=new l,this.smooth=!1,this.style={},this.zLayers=100}load(e){if((0,s.kZ)(e))return;void 0!==e.preset&&(this.preset=e.preset,(0,a.wJ)(this.preset,e=>{this._importPreset(e)})),void 0!==e.palette&&(this.palette=e.palette,this._importPalette(this.palette)),void 0!==e.autoPlay&&(this.autoPlay=e.autoPlay),void 0!==e.clear&&(this.clear=e.clear),void 0!==e.key&&(this.key=e.key),void 0!==e.name&&(this.name=e.name),void 0!==e.delay&&(this.delay=(0,u.DT)(e.delay));let t=e.detectRetina;void 0!==t&&(this.detectRetina=t),void 0!==e.duration&&(this.duration=(0,u.DT)(e.duration));let i=e.fpsLimit;void 0!==i&&(this.fpsLimit=i),void 0!==e.hdr&&(this.hdr=e.hdr),void 0!==e.pauseOnBlur&&(this.pauseOnBlur=e.pauseOnBlur),void 0!==e.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=e.pauseOnOutsideViewport),void 0!==e.zLayers&&(this.zLayers=e.zLayers),this.background.load(e.background);let n=e.fullScreen;(0,s.Lm)(n)?this.fullScreen.enable=n:this.fullScreen.load(n),this.particles.load(e.particles),this.resize.load(e.resize),this.style=(0,a.zw)(this.style,e.style),void 0!==e.smooth&&(this.smooth=e.smooth),this._pluginManager.plugins.forEach(t=>{t.loadOptions(this._container,this,e)})}_importPalette=e=>{let t=this._pluginManager.getPalette(e);t&&this.load({background:{color:t.background},blend:{enable:!0,mode:t.blendMode},particles:{palette:e}})};_importPreset=e=>{this.load(this._pluginManager.getPreset(e))}}},9744(e,t,i){i.d(t,{O:()=>s});var a=i(4920);class s{value;constructor(){this.value=""}static create(e,t){let i=new s;return i.load(e),void 0!==t&&((0,a.Kg)(t)||(0,a.cy)(t)?i.load({value:t}):i.load(t)),i}load(e){!(0,a.kZ)(e)&&((0,a.kZ)(e.value)||(this.value=e.value))}}},8805(e,t,i){i.d(t,{w:()=>n});var a=i(3182),s=i(4920);class n{horizontal;vertical;constructor(){this.horizontal=new a.F,this.vertical=new a.F}load(e){(0,s.kZ)(e)||(this.horizontal.load(e.horizontal),this.vertical.load(e.vertical))}}},3182(e,t,i){i.d(t,{F:()=>s});var a=i(5603);class s extends a.PV{constructor(){super(),this.value=1}}},5240(e,t,i){i.d(t,{S:()=>r});var a=i(2078),s=i(4920),n=i(8770);class r{color;enable;opacity;constructor(){this.enable=!0,this.color=new a.A,this.color.value="#fff",this.opacity=1}load(e){(0,s.kZ)(e)||(void 0!==e.color&&(this.color=a.A.create(this.color,e.color)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.opacity&&(this.opacity=(0,n.DT)(e.opacity)))}}},3690(e,t,i){i.d(t,{y:()=>h});var a=i(5327),s=i(4920),n=i(2379),r=i(5695),o=i(8954),l=i(7677),d=i(495),u=i(7187),c=i(8770);class h{angle;center;decay;direction;distance;drift;enable;gravity;outModes;path;random;size;speed;spin;straight;vibrate;warp;constructor(){this.angle=new n.h,this.center=new r.Z,this.decay=0,this.distance={},this.direction=a.F.none,this.drift=0,this.enable=!1,this.gravity=new o.y,this.path=new l.v,this.outModes=new d.j,this.random=!1,this.size=!1,this.speed=2,this.spin=new u.t,this.straight=!1,this.vibrate=!1,this.warp=!1}load(e){if((0,s.kZ)(e))return;this.angle.load((0,s.Et)(e.angle)?{value:e.angle}:e.angle),this.center.load(e.center),void 0!==e.decay&&(this.decay=(0,c.DT)(e.decay)),void 0!==e.direction&&(this.direction=e.direction),void 0!==e.distance&&(this.distance=(0,s.Et)(e.distance)?{horizontal:e.distance,vertical:e.distance}:{...e.distance}),void 0!==e.drift&&(this.drift=(0,c.DT)(e.drift)),void 0!==e.enable&&(this.enable=e.enable),this.gravity.load(e.gravity);let t=e.outModes;void 0!==t&&((0,s.Gv)(t)?this.outModes.load(t):this.outModes.load({default:t})),this.path.load(e.path),void 0!==e.random&&(this.random=e.random),void 0!==e.size&&(this.size=e.size),void 0!==e.speed&&(this.speed=(0,c.DT)(e.speed)),this.spin.load(e.spin),void 0!==e.straight&&(this.straight=e.straight),void 0!==e.vibrate&&(this.vibrate=e.vibrate),void 0!==e.warp&&(this.warp=e.warp)}}},2379(e,t,i){i.d(t,{h:()=>n});var a=i(4920),s=i(8770);class n{offset;value;constructor(){this.offset=0,this.value=90}load(e){(0,a.kZ)(e)||(void 0!==e.offset&&(this.offset=(0,s.DT)(e.offset)),void 0!==e.value&&(this.value=(0,s.DT)(e.value)))}}},5695(e,t,i){i.d(t,{Z:()=>n});var a=i(2702),s=i(4920);class n{mode;radius;x;y;constructor(){this.x=50,this.y=50,this.mode=a.q.percent,this.radius=0}load(e){(0,s.kZ)(e)||(void 0!==e.x&&(this.x=e.x),void 0!==e.y&&(this.y=e.y),void 0!==e.mode&&(this.mode=e.mode),void 0!==e.radius&&(this.radius=e.radius))}}},8954(e,t,i){i.d(t,{y:()=>n});var a=i(4920),s=i(8770);class n{acceleration;enable;inverse;maxSpeed;constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(e){(0,a.kZ)(e)||(void 0!==e.acceleration&&(this.acceleration=(0,s.DT)(e.acceleration)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.inverse&&(this.inverse=e.inverse),void 0!==e.maxSpeed&&(this.maxSpeed=(0,s.DT)(e.maxSpeed)))}}},495(e,t,i){i.d(t,{j:()=>n});var a=i(3942),s=i(4920);class n{bottom;default;left;right;top;constructor(){this.default=a.Y.out}load(e){(0,s.kZ)(e)||(void 0!==e.default&&(this.default=e.default),this.bottom=e.bottom??e.default,this.left=e.left??e.default,this.right=e.right??e.default,this.top=e.top??e.default)}}},7677(e,t,i){i.d(t,{v:()=>r});var a=i(5603),s=i(8664),n=i(4920);class r{clamp;delay;enable;generator;options;constructor(){this.clamp=!0,this.delay=new a.PV,this.enable=!1,this.options={}}load(e){!(0,n.kZ)(e)&&(void 0!==e.clamp&&(this.clamp=e.clamp),this.delay.load(e.delay),void 0!==e.enable&&(this.enable=e.enable),this.generator=e.generator,e.options&&(this.options=(0,s.zw)(this.options,e.options)))}}},7187(e,t,i){i.d(t,{t:()=>r});var a=i(8664),s=i(4920),n=i(8770);class r{acceleration;enable;position;constructor(){this.acceleration=0,this.enable=!1}load(e){!(0,s.kZ)(e)&&(void 0!==e.acceleration&&(this.acceleration=(0,n.DT)(e.acceleration)),void 0!==e.enable&&(this.enable=e.enable),e.position&&(this.position=(0,a.zw)({},e.position)))}}},6177(e,t,i){i.d(t,{N:()=>r});var a=i(4920);class s{enable;height;width;constructor(){this.enable=!1,this.width=1920,this.height=1080}load(e){if((0,a.kZ)(e))return;void 0!==e.enable&&(this.enable=e.enable);let t=e.width;void 0!==t&&(this.width=t);let i=e.height;void 0!==i&&(this.height=i)}}var n=i(5358);class r{density;limit;value;constructor(){this.density=new s,this.limit=new n.A,this.value=0}load(e){(0,a.kZ)(e)||(this.density.load(e.density),this.limit.load(e.limit),void 0!==e.value&&(this.value=e.value))}}},5358(e,t,i){i.d(t,{A:()=>n});var a=i(7345),s=i(4920);class n{mode;value;constructor(){this.mode=a.d.delete,this.value=0}load(e){(0,s.kZ)(e)||(void 0!==e.mode&&(this.mode=e.mode),void 0!==e.value&&(this.value=e.value))}}},5446(e,t,i){i.d(t,{Y:()=>r});var a=i(1918),s=i(5603),n=i(4920);class r extends s.AI{animation;constructor(){super(),this.animation=new a.I,this.value=1}load(e){if((0,n.kZ)(e))return;super.load(e);let t=e.animation;void 0!==t&&this.animation.load(t)}}},1918(e,t,i){i.d(t,{I:()=>r});var a=i(202),s=i(6753),n=i(4920);class r extends s.Q{destroy;constructor(){super(),this.destroy=a.V.none,this.speed=2}load(e){super.load(e),(0,n.kZ)(e)||void 0!==e.destroy&&(this.destroy=e.destroy)}}},8869(e,t,i){i.d(t,{P:()=>r});var a=i(5240),s=i(7349),n=i(4920);class r{fill;stroke;load(e){(0,n.kZ)(e)||(void 0!==e.fill&&(this.fill??=new a.S,this.fill.load(e.fill)),void 0!==e.stroke&&(this.stroke??=new s.t,this.stroke.load(e.stroke)))}}},6334(e,t,i){i.d(t,{U:()=>v});var a=i(8664),s=i(4920);class n{close;options;type;constructor(){this.close=!0,this.options={},this.type=[]}load(e){if((0,s.kZ)(e))return;let t=e.options;if(void 0!==t)for(let e in t){let i=t[e];i&&(this.options[e]=(0,a.zw)(this.options[e]??{},i))}void 0!==e.close&&(this.close=e.close),void 0!==e.type&&(this.type=e.type)}}var r=i(3690),o=i(5446),l=i(8869),d=i(8805),u=i(6177),c=i(5746),h=i(3442),p=i(6992);class v{bounce;effect;groups;move;number;opacity;paint;palette;reduceDuplicates;shape;size;zIndex;_container;_pluginManager;constructor(e,t){this._pluginManager=e,this._container=t,this.bounce=new d.w,this.effect=new n,this.groups={},this.move=new r.y,this.number=new u.N,this.opacity=new o.Y,this.paint=new l.P,this.reduceDuplicates=!1,this.shape=new c.y,this.size=new h.o,this.zIndex=new p.P}load(e){if((0,s.kZ)(e))return;if(e.palette&&(this.palette=e.palette,this._importPalette(this.palette)),void 0!==e.groups)for(let t of Object.keys(e.groups)){if(!(t in e.groups))continue;let i=e.groups[t];void 0!==i&&(this.groups[t]=(0,a.zw)(this.groups[t]??{},i))}void 0!==e.reduceDuplicates&&(this.reduceDuplicates=e.reduceDuplicates),this.bounce.load(e.bounce),this.effect.load(e.effect),this.move.load(e.move),this.number.load(e.number),this.opacity.load(e.opacity);let t=e.paint;if(t&&(this.paint=(0,a.wJ)(t,e=>{let t=new l.P;return t.load(e),t})),this.shape.load(e.shape),this.size.load(e.size),this.zIndex.load(e.zIndex),this._container){for(let t of this._pluginManager.plugins)t.loadParticlesOptions&&t.loadParticlesOptions(this._container,this,e);let t=this._pluginManager.updaters.get(this._container);if(t)for(let i of t)i.loadOptions&&i.loadOptions(this,e)}}_importPalette=e=>{let t=this._pluginManager.getPalette(e);if(!t)return;let i=t.colors,a=((0,s.cy)(i)?i:[i]).flatMap(e=>{let t=e.fill,i=e.stroke,a=t?{color:{value:t.value},enable:t.enable,opacity:t.opacity}:void 0;return i?[{fill:a,stroke:{color:{value:i.value},opacity:i.opacity,width:i.width||0}}]:[{fill:a}]}),n=a.length>1?a:a[0]??{};this.load({paint:n,blend:{enable:!0,mode:t.blendMode}})}}},5746(e,t,i){i.d(t,{y:()=>n});var a=i(8664),s=i(4920);class n{close;options;type;constructor(){this.close=!0,this.options={},this.type="circle"}load(e){if((0,s.kZ)(e))return;let t=e.options;if(void 0!==t)for(let e in t){let i=t[e];i&&(this.options[e]=(0,a.zw)(this.options[e]??{},i))}void 0!==e.close&&(this.close=e.close),void 0!==e.type&&(this.type=e.type)}}},3442(e,t,i){i.d(t,{o:()=>r});var a=i(5603),s=i(4234),n=i(4920);class r extends a.AI{animation;constructor(){super(),this.animation=new s.q,this.value=3}load(e){if(super.load(e),(0,n.kZ)(e))return;let t=e.animation;void 0!==t&&this.animation.load(t)}}},4234(e,t,i){i.d(t,{q:()=>r});var a=i(202),s=i(6753),n=i(4920);class r extends s.Q{destroy;constructor(){super(),this.destroy=a.V.none,this.speed=5}load(e){super.load(e),(0,n.kZ)(e)||void 0!==e.destroy&&(this.destroy=e.destroy)}}},7349(e,t,i){i.d(t,{t:()=>r});var a=i(2078),s=i(4920),n=i(8770);class r{color;opacity;width;constructor(){this.width=0}load(e){(0,s.kZ)(e)||(void 0!==e.color&&(this.color=a.A.create(this.color,e.color)),void 0!==e.width&&(this.width=(0,n.DT)(e.width)),void 0!==e.opacity&&(this.opacity=(0,n.DT)(e.opacity)))}}},6992(e,t,i){i.d(t,{P:()=>n});var a=i(5603),s=i(4920);class n extends a.PV{opacityRate;sizeRate;velocityRate;constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(e){super.load(e),(0,s.kZ)(e)||(void 0!==e.opacityRate&&(this.opacityRate=e.opacityRate),void 0!==e.sizeRate&&(this.sizeRate=e.sizeRate),void 0!==e.velocityRate&&(this.velocityRate=e.velocityRate))}}},5603(e,t,i){i.d(t,{AI:()=>l,PV:()=>r});var a=i(6753),s=i(4920),n=i(8770);class r{value;constructor(){this.value=0}load(e){!(0,s.kZ)(e)&&((0,s.kZ)(e.value)||(this.value=(0,n.DT)(e.value)))}}class o extends r{animation=new a.p;load(e){if(super.load(e),(0,s.kZ)(e))return;let t=e.animation;void 0!==t&&this.animation.load(t)}}class l extends o{animation;constructor(){super(),this.animation=new a.Q}load(e){super.load(e)}}},3252(e,t,i){i.d(t,{IU:()=>r,Md:()=>n,Sn:()=>s,Wb:()=>l,p0:()=>o});var a=i(8660);function s(e,t,i){e.fillStyle=i??"rgba(0,0,0,0)",e.fillRect(a.bo.x,a.bo.y,t.width,t.height)}function n(e,t,i,s){if(!i)return;let n=e.globalAlpha;e.globalAlpha=s,e.drawImage(i,a.bo.x,a.bo.y,t.width,t.height),e.globalAlpha=n}function r(e,t){e.clearRect(a.bo.x,a.bo.y,t.width,t.height)}function o(e){let{container:t,context:i,particle:s,delta:n,colorStyles:r,radius:o,opacity:l,transform:d}=e,{effectDrawers:u,shapeDrawers:c}=t,h=s.getPosition(),p=s.getTransformData(d),v=a.Pf,f={x:h.x,y:h.y};i.setTransform(p.a,p.b,p.c,p.d,h.x,h.y),r.fill&&(i.fillStyle=r.fill);let g=!!s.fillEnabled,y=s.strokeWidth??a.Dv;i.lineWidth=y,r.stroke&&(i.strokeStyle=r.stroke);let m={context:i,particle:s,radius:o,drawRadius:o*v,opacity:l,delta:n,pixelRatio:t.retina.pixelRatio,fill:g,stroke:y>a.Dv,transformData:p,position:{...h},drawPosition:f,drawScale:v};for(let e of t.plugins)e.drawParticleTransform?.(m);let b=s.effect?u.get(s.effect):void 0,w=s.shape?c.get(s.shape):void 0;(function(e,t){if(!e?.drawBefore)return;let{particle:i}=t;i.effect&&e.drawBefore(t)})(b,m),function(e,t){if(!e?.beforeDraw)return;let{particle:i}=t;i.shape&&e.beforeDraw(t)}(w,m),function(e,t){if(!e)return;let{context:i,fill:a,particle:s,stroke:n}=t;s.shape&&(i.beginPath(),e.draw(t),s.shapeClose&&i.closePath(),a&&i.fill(),n&&i.stroke())}(w,m),function(e,t){if(!e?.afterDraw)return;let{particle:i}=t;i.shape&&e.afterDraw(t)}(w,m),function(e,t){if(!e?.drawAfter)return;let{particle:i}=t;i.effect&&e.drawAfter(t)}(b,m),i.resetTransform()}function l(e,t,i,a){t.drawParticle&&t.drawParticle(e,i,a)}},7621(e,t,i){i.d(t,{BN:()=>c,Jv:()=>M,LC:()=>y,O_:()=>m,R5:()=>h,YL:()=>p,ay:()=>v,pz:()=>b,xx:()=>f,yx:()=>z});var a=i(8770),s=i(8660),n=i(4920),r=i(6932),o=i(2314),l=i(8664);let d=new Map;function u(e,t){let i=d.get(e);return i||(i=t(),d.size>=1e3&&[...d.keys()].slice(0,1e3*s.MX).forEach(e=>d.delete(e)),d.set(e,i)),i}function c(e,t,i,r=!0){if(!t)return;let o=(0,n.Kg)(t)?{value:t}:t;if((0,n.Kg)(o.value))return function e(t,i,r,o=!0){if(!i)return;let d=(0,n.Kg)(i)?{value:i}:i;if((0,n.Kg)(d.value)){let e,i,n;return d.value===s.mR?(e=(void 0)??s.Fl,i=s.oi+s.D_,{b:(n=()=>Math.floor((0,a.e4)(e,i)))(),g:n(),r:n()}):function(e,t){if(t){for(let i of e.colorManagers.values())if(i.accepts(t))return i.parseString(t)}}(t,d.value)}if((0,n.cy)(d.value)){let i=(0,l.Vh)(d.value,r,o);if(!i)return;return e(t,{value:i})}for(let e of t.colorManagers.values()){let t=e.handleColor(d);if(t)return t}}(e,o.value,i,r);if((0,n.cy)(o.value)){let t=(0,l.Vh)(o.value,i,r);if(!t)return;return c(e,{value:t})}for(let t of e.colorManagers.values()){let e=t.handleRangeColor(o);if(e)return e}}function h(e,t,i,a=!0){var n;let r,o,l,d,u,p,v=c(e,t,i,a);return v?(r=(n=v).r/s.oi,o=n.g/s.oi,d=Math.max(r,o,l=n.b/s.oi),u=Math.min(r,o,l),p={h:s.L1,l:(d+u)*s.MX,s:s.yx},d!==u&&(p.s=p.l<s.MX?(d-u)/(d+u):(d-u)/(s.gd-d-u),r===d?p.h=(o-l)/(d-u):o===d?p.h=s.gd+(l-r)/(d-u):p.h=s.gd*s.gd+(r-o)/(d-u)),p.l*=s.$_,p.s*=s.eu,p.h*=s.U0,p.h<s.L1&&(p.h+=s.vS),p.h>=s.vS&&(p.h-=s.vS),p):void 0}function p(e){let t=(e.h%s.vS+s.vS)%s.vS,i=Math.max(s.yx,Math.min(s.eu,e.s)),a=Math.max(s.vd,Math.min(s.$_,e.l)),n=t/s.vS,r=i/s.eu,o=a/s.$_;if(i===s.yx){let e=Math.round(o*s.oi);return{r:e,g:e,b:e}}let l=(e,t,i)=>(i<0&&i++,i>1&&i--,i*s.zg<1)?e+(t-e)*s.zg*i:i*s.gd<1?t:i*s.Nu<+s.gd?e+(t-e)*(s.gd/s.Nu-i)*s.zg:e,d=o<s.MX?o*(s.aE+r):o+r-o*r,u=s.gd*o-d,c=s.BF/s.Nu;return{r:Math.round(Math.min(s.oi,s.oi*l(u,d,n+c))),g:Math.round(Math.min(s.oi,s.oi*l(u,d,n))),b:Math.round(Math.min(s.oi,s.oi*l(u,d,n-c)))}}function v(e){let t=p(e);return{a:e.a,b:t.b,g:t.g,r:t.r}}function f(e,t,i){let a=i??s.hv;return u(`rgb-${e.r.toFixed(2)}-${e.g.toFixed(2)}-${e.b.toFixed(2)}-${t?"hdr":"sdr"}-${a.toString()}`,()=>{var a,n;return t?g(e,i):(a=e,n=i,`rgba(${a.r.toString()}, ${a.g.toString()}, ${a.b.toString()}, ${(n??s.hv).toString()})`)})}function g(e,t){return`color(display-p3 ${(e.r/s.oi).toString()} ${(e.g/s.oi).toString()} ${(e.b/s.oi).toString()} / ${(t??s.hv).toString()})`}function y(e,t,i){let a=i??s.hv;return u(`hsl-${e.h.toFixed(2)}-${e.s.toFixed(2)}-${e.l.toFixed(2)}-${t?"hdr":"sdr"}-${a.toString()}`,()=>{var a,n,r,o;return t?(a=e,n=i,g(p(a),n)):(r=e,o=i,`hsla(${r.h.toString()}, ${r.s.toString()}%, ${r.l.toString()}%, ${(o??s.hv).toString()})`)})}function m(e){return void 0===e?void 0:{h:e.h.value,s:e.s.value,l:e.l.value}}function b(e,t,i){let a={h:{enable:!1,value:e.h,min:s.L1,max:s.vS},s:{enable:!1,value:e.s,min:s.yx,max:s.eu},l:{enable:!1,value:e.l,min:s.vd,max:s.$_}};return t&&(w(a.h,t.h,i),w(a.s,t.s,i),w(a.l,t.l,i)),a}function w(e,t,i){e.enable=t.enable,e.min=t.min,e.max=t.max,e.enable?(e.velocity=(0,a.VG)(t.speed)/s.a5*i,e.decay=s.WH-(0,a.VG)(t.decay),e.status=o.H.increasing,e.loops=s.hK,e.maxLoops=(0,a.VG)(t.count),e.time=s.tR,e.delayTime=(0,a.VG)(t.delay)*s.Xu,t.sync||(e.velocity*=(0,a.G0)(),e.value*=(0,a.G0)()),e.initialValue=e.value,e.offset=(0,a.DT)(t.offset)):e.velocity=s.jn}function x(e,t,i){if(!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0)||(e.time??=0,(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=i.value),(e.delayTime??0)>0&&e.time<(e.delayTime??0)))return;let s=e.offset?(0,a.vE)(e.offset):0,n=(e.velocity??0)*i.factor+3.6*s,r=e.decay??1,l=e.max,d=e.min;t&&e.status!==o.H.increasing?(e.value-=n,e.value<d&&(e.loops??=0,e.loops++,e.status=o.H.increasing)):(e.value+=n,e.value>l&&(e.loops??=0,e.loops++,t?e.status=o.H.decreasing:e.value-=l)),e.velocity&&1!==r&&(e.velocity*=r),e.value=(0,a.qE)(e.value,d,l)}function M(e,t){if(!e)return;let{h:i,s:a,l:s}=e;x(i,!1,t),x(a,!0,t),x(s,!0,t)}function z(e,t,i){return{h:e.h,s:e.s,l:e.l+(t===r.H.darken?-s.iU:s.iU)*i}}},2914(e,t,i){i.d(t,{t:()=>s});let a={debug:console.debug,error:(e,t)=>{console.error(`tsParticles - Error - ${e}`,t)},info:console.info,log:console.log,trace:console.trace,verbose:console.log,warning:console.warn};function s(){return a}},8770(e,t,i){i.d(t,{$m:()=>k,DT:()=>function e(t,i){if(t===i||void 0===i&&(0,r.Et)(t))return t;let a=g(t),s=y(t);return void 0!==i?{min:Math.min(a,i),max:Math.max(s,i)}:e(a,s)},G0:()=>d,JY:()=>z,M3:()=>S,Nx:()=>_,Sg:()=>g,VG:()=>f,W9:()=>y,Yf:()=>w,e4:()=>u,gp:()=>x,i0:()=>c,pu:()=>M,px:()=>h,qE:()=>p,vE:()=>v,vr:()=>m});var a=i(5327),s=i(8660),n=i(4037),r=i(4920);let o=Math.PI/180,l=Math.random;function d(){return p(l(),0,1-Number.EPSILON)}function u(e,t){return d()*(t-e)+e}function c(e){return requestAnimationFrame(e)}function h(e){cancelAnimationFrame(e)}function p(e,t,i){return Math.min(Math.max(e,t),i)}function v(e){let t=y(e),i=g(e);return t===i&&(i=0),u(i,t)}function f(e){return(0,r.Et)(e)?e:v(e)}function g(e){return(0,r.Et)(e)?e:e.min}function y(e){return(0,r.Et)(e)?e:e.max}function m(e,t){let i=e.x-t.x,a=e.y-t.y;return{dx:i,dy:a,distance:Math.hypot(i,a)}}function b(e,t){let i=e.x-t.x,a=e.y-t.y;return i*i+a*a}function w(e,t){return Math.sqrt(b(e,t))}function x(e,t,i){return b(e,t)<=i*i}function M(e){return e*o}function z(e,t,i){if((0,r.Et)(e))return e*o;switch(e){case a.F.top:return-Math.PI*s.MX;case a.F.topRight:return-Math.PI*s.$G;case a.F.right:return s.Ie;case a.F.bottomRight:return Math.PI*s.$G;case a.F.bottom:return Math.PI*s.MX;case a.F.bottomLeft:return Math.PI*s.Rq;case a.F.left:return Math.PI;case a.F.topLeft:return-Math.PI*s.Rq;case a.F.inside:return Math.atan2(i.y-t.y,i.x-t.x);case a.F.outside:return Math.atan2(t.y-i.y,t.x-i.x);default:return d()*s.R1}}function k(e){let t=n.M.origin;return t.length=1,t.angle=e,t}function _(e){let{position:t,size:i}=e;return{x:t?.x??d()*i.width,y:t?.y??d()*i.height}}function S(e){return e?e.endsWith("%")?parseFloat(e)/s.a5:parseFloat(e):1}},2222(e,t,i){i.d(t,{Z:()=>s,y:()=>n});var a=i(6334);function s(e,...t){for(let i of t)e.load(i)}function n(e,t,...i){let r=new a.U(e,t);return s(r,...i),r}},4920(e,t,i){function a(e){return"boolean"==typeof e}function s(e){return"string"==typeof e}function n(e){return"number"==typeof e}function r(e){return"object"==typeof e&&null!==e}function o(e){return Array.isArray(e)}function l(e){return null==e}i.d(t,{Et:()=>n,Gv:()=>r,Kg:()=>s,Lm:()=>a,cy:()=>o,kZ:()=>l})},8664(e,t,i){let a,s,n,r,o;i.d(t,{AE:()=>k,E9:()=>O,HQ:()=>R,Kp:()=>I,Ot:()=>A,T5:()=>m,TA:()=>S,Tj:()=>z,UC:()=>E,Vh:()=>M,Xs:()=>P,hJ:()=>T,hn:()=>x,lV:()=>b,tG:()=>w,td:()=>L,wJ:()=>_,zw:()=>function e(t,...i){for(let a of i){if((0,c.kZ)(a))continue;if(!(0,c.Gv)(a)){t=a;continue}Array.isArray(a)?Array.isArray(t)||(t=[]):(!(0,c.Gv)(t)||Array.isArray(t))&&(t={});let i=Object.keys(a),s=new Set(["__proto__","constructor","prototype"]);if(!i.some(e=>{let t=a[e];return(0,c.Gv)(t)||Array.isArray(t)})){let e=t;for(let t of i)if(!s.has(t)&&t in a){let i=a[t];void 0!==i&&(e[t]=i)}continue}for(let n of i){if(s.has(n))continue;let i=t,r=a[n];i[n]=Array.isArray(r)?r.map(t=>e(void 0,t)):e(i[n],r)}}return t}});var l,d=i(8770),u=i(8660),c=i(4920),h=i(4992),p=i(2314),v=i(202),f=i(7341),g=i(2702),y=i(9983);function m(){return globalThis.document}function b(e){if("u">typeof matchMedia)return matchMedia(e)}function w(e){if("u">typeof MutationObserver)return new MutationObserver(e)}function x(e,t){return e===t||(0,c.cy)(t)&&t.includes(e)}function M(e,t,i=!0){return e[void 0!==t&&i?t%e.length:Math.floor((0,d.G0)()*e.length)]}function z(e,t,i,a,s){var n,r,o,l;let d;return n=k(e,a??0),r=t,o=i,d=!0,(l=s)&&l!==f.v.bottom||(d=n.top<r.height+o.x),d&&(!l||l===f.v.left)&&(d=n.right>o.x),d&&(!l||l===f.v.right)&&(d=n.left<r.width+o.y),d&&(!l||l===f.v.top)&&(d=n.bottom>o.y),d}function k(e,t){return{bottom:e.y+t,left:e.x-t,right:e.x+t,top:e.y-t}}function _(e,t){return(0,c.cy)(e)?e.map((e,i)=>t(e,i)):t(e,0)}function S(e,t,i){return(0,c.cy)(e)?M(e,t,i):e}function P(e,t){let i=e.value,a=e.animation,s={delayTime:(0,d.VG)(a.delay)*u.Xu,enable:a.enable,value:(0,d.VG)(e.value)*t,max:(0,d.W9)(i)*t,min:(0,d.Sg)(i)*t,loops:0,maxLoops:(0,d.VG)(a.count),time:0};if(a.enable){switch(s.decay=1-(0,d.VG)(a.decay),a.mode){case h.g.increase:s.status=p.H.increasing;break;case h.g.decrease:s.status=p.H.decreasing;break;case h.g.random:s.status=(0,d.G0)()>=u.MX?p.H.increasing:p.H.decreasing}let e=a.mode===h.g.auto;switch(a.startValue){case y.S.min:s.value=s.min,e&&(s.status=p.H.increasing);break;case y.S.max:s.value=s.max,e&&(s.status=p.H.decreasing);break;case y.S.random:default:s.value=(0,d.vE)(s),e&&(s.status=(0,d.G0)()>=u.MX?p.H.increasing:p.H.decreasing)}}return s.initialValue=s.value,s}function O(e,t){return function(e,t){if(e.mode!==g.q.percent){let{mode:t,...i}=e;return i}return"x"in e?{x:e.x/u.a5*t.width,y:e.y/u.a5*t.height}:{width:e.width/u.a5*t.width,height:e.height/u.a5*t.height}}(e,t)}function E(e,t,i,a,s){if(e.destroyed||!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;let n=(t.velocity??0)*s.factor,r=t.min,o=t.max,l=t.decay??1;if(t.time??=0,(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=s.value),!((t.delayTime??0)>0)||!(t.time<(t.delayTime??0))){switch(t.status){case p.H.increasing:t.value+=n;break;case p.H.decreasing:t.value-=n}switch(t.velocity&&1!==l&&(t.velocity*=l),t.status){case p.H.increasing:t.value>=o&&(i?t.status=p.H.decreasing:t.value-=o,t.loops??=0,t.loops++);break;case p.H.decreasing:t.value<=r&&(i?t.status=p.H.increasing:t.value+=o,t.loops??=0,t.loops++)}var u=t.value;switch(a){case v.V.max:u>=o&&e.destroy();break;case v.V.min:u<=r&&e.destroy()}e.destroyed||(t.value=(0,d.qE)(t.value,r,o))}}function L(e){let t=m().createElement("div").style;for(let i in e){let a=e[i];if(!(i in e)||(0,c.kZ)(a))continue;let s=e.getPropertyValue?.(a);if(!s)continue;let n=e.getPropertyPriority?.(a);n?t.setProperty(a,s,n):t.setProperty(a,s)}return t}i(4037);let T=(l=function(e){let t=m().createElement("div").style,i={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:e.toString(10),"z-index":e.toString(10),top:"0",left:"0"};for(let e in i){let a=i[e];void 0!==a&&t.setProperty(e,a)}return t},a=new Map,s=void 0,n=void 0,r=void 0,o=(e,t=new WeakSet)=>{if(null===e)return"null";let i=typeof e;if("undefined"===i)return"undefined";if("number"===i||"boolean"===i||"string"===i)return JSON.stringify(e);if("function"===i)try{return e.toString()}catch{return'"[Function]"'}if("symbol"===i)try{return e.toString()}catch{return'"[Symbol]"'}if(Array.isArray(e))return`[${e.map(e=>o(e,t)).join(",")}]`;if(t.has(e))return'"[Circular]"';t.add(e);let a=Object.keys(e).sort();return`{${a.map(i=>`${JSON.stringify(i)}:${o(e[i],t)}`).join(",")}}`},(...e)=>{let t,i=(t=e,r?r(t):o(t)),d=Date.now(),u=a.get(i);if(void 0!==u)if(!n||!(d-u.ts>n))return a.delete(i),a.set(i,{value:u.value,ts:u.ts}),u.value;else a.delete(i);let c=l(...e);if(a.set(i,{value:c,ts:d}),"number"==typeof s&&s>=0)for(;a.size>s;){let e=a.keys().next().value;if(void 0===e)break;a.delete(e)}return c});function I(e,t,i,a,s){if(a){let a={passive:!0};(0,c.Lm)(s)?a.capture=s:void 0!==s&&(a=s),e.addEventListener(t,i,a)}else e.removeEventListener(t,i,s)}async function R(e,t,i,a=!1){let s=t.get(e);return(!s||a)&&(s=await Promise.all([...i.values()].map(t=>t(e))),t.set(e,s)),s}async function A(e,t,i,a=!1){let s=t.get(e);return(!s||a)&&(s=new Map(await Promise.all([...i.entries()].map(([t,i])=>i(e).then(e=>[t,e])))),t.set(e,s)),s}},3227(e,t,i){i.d(t,{FWc:()=>w.F,Yzx:()=>M.Y,v5k:()=>x.v,x_I:()=>z.x,pTR:()=>r,Miz:()=>b.M,AEc:()=>u.AE,qE8:()=>f.qE,WH8:()=>d.WH,puj:()=>f.pu,R1e:()=>d.R1,YfF:()=>f.Yf,vrU:()=>f.vr,pzy:()=>k.pz,OtU:()=>u.Ot,G0i:()=>f.G0,W9e:()=>f.W9,VGA:()=>f.VG,MXx:()=>d.MX,YLU:()=>k.YL,ayx:()=>k.ay,XsS:()=>u.Xs,Gvm:()=>_.Gv,Tj8:()=>u.Tj,TA3:()=>u.TA,XuV:()=>d.Xu,boI:()=>d.bo,M3Y:()=>f.M3,a56:()=>d.a5,vEz:()=>f.vE,R5R:()=>k.R5,$k3:()=>S,UC0:()=>u.UC,JvX:()=>k.Jv});var a,s,n,r,o,l,d=i(8660),u=i(8664);class c{_listeners;constructor(){this._listeners=new Map}addEventListener(e,t){this.removeEventListener(e,t);let i=this._listeners.get(e);i||(i=[],this._listeners.set(e,i)),i.push(t)}dispatchEvent(e,t){let i=this._listeners.get(e);i?.forEach(e=>{e(t)})}hasEventListener(e){return!!this._listeners.get(e)}removeAllEventListeners(e){e?this._listeners.delete(e):this._listeners=new Map}removeEventListener(e,t){let i=this._listeners.get(e);if(!i)return;let a=i.length,s=i.indexOf(t);s<d.z9||(a===d.LD?this._listeners.delete(e):i.splice(s,d.LD))}}var h=i(6128);class p{colorManagers=new Map;easingFunctions=new Map;effectDrawers=new Map;initializers={effects:new Map,shapes:new Map,updaters:new Map};palettes=new Map;plugins=[];presets=new Map;shapeDrawers=new Map;updaters=new Map;_allLoadersSet=new Set;_configs=new Map;_engine;_executedSet=new Set;_initialized=!1;_isRunningLoaders=!1;_loadPromises=new Set;constructor(e){this._engine=e}get configs(){let e={};for(let[t,i]of this._configs)e[t]=i;return e}addColorManager(e,t){this.colorManagers.set(e,t)}addConfig(e){let t=e.key??e.name??"default";this._configs.set(t,e),this._engine.dispatchEvent(h.B.configAdded,{data:{name:t,config:e}})}addEasing(e,t){this.easingFunctions.get(e)||this.easingFunctions.set(e,t)}addEffect(e,t){this.initializers.effects.set(e,t)}addPalette(e,t){this.palettes.set(e,t)}addParticleUpdater(e,t){this.initializers.updaters.set(e,t)}addPlugin(e){this.getPlugin(e.id)||this.plugins.push(e)}addPreset(e,t,i=!1){(i||!this.getPreset(e))&&this.presets.set(e,t)}addShape(e,t){for(let i of e)this.initializers.shapes.set(i,t)}clearPlugins(e){this.effectDrawers.delete(e),this.shapeDrawers.delete(e),this.updaters.delete(e)}getEasing(e){return this.easingFunctions.get(e)??(e=>e)}getEffectDrawers(e,t=!1){return(0,u.Ot)(e,this.effectDrawers,this.initializers.effects,t)}getPalette(e){return this.palettes.get(e)}getPlugin(e){return this.plugins.find(t=>t.id===e)}getPreset(e){return this.presets.get(e)}async getShapeDrawers(e,t=!1){return(0,u.Ot)(e,this.shapeDrawers,this.initializers.shapes,t)}async getUpdaters(e,t=!1){return(0,u.HQ)(e,this.updaters,this.initializers.updaters,t)}async init(){if(!this._initialized&&!this._isRunningLoaders){this._isRunningLoaders=!0,this._executedSet=new Set,this._allLoadersSet=new Set(this._loadPromises);try{for(let e of this._allLoadersSet)await this._runLoader(e,this._executedSet,this._allLoadersSet)}finally{this._loadPromises.clear(),this._isRunningLoaders=!1,this._initialized=!0}}}loadParticlesOptions(e,t,...i){let a=this.updaters.get(e);a&&a.forEach(e=>e.loadOptions?.(t,...i))}async register(...e){if(this._initialized)throw Error("Register plugins can only be done before calling tsParticles.load()");for(let t of e)this._isRunningLoaders?await this._runLoader(t,this._executedSet,this._allLoadersSet):this._loadPromises.add(t)}async _runLoader(e,t,i){t.has(e)||(t.add(e),i.add(e),await e(this._engine))}}var v=i(2914),f=i(8770);let g="100%";async function y(e){let t=(0,u.TA)(e.url,e.index);if(!t)return e.fallback;let i=await fetch(t);return i.ok?await i.json():((0,v.t)().error(`${i.status.toString()} while retrieving config file`),e.fallback)}class m{pluginManager=new p(this);_domArray=[];_eventDispatcher=new c;_initialized=!1;get items(){return this._domArray}get version(){return"4.0.0-beta.11"}addEventListener(e,t){this._eventDispatcher.addEventListener(e,t)}checkVersion(e){if(this.version!==e)throw Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${e}`)}dispatchEvent(e,t){this._eventDispatcher.dispatchEvent(e,t)}async init(){this._initialized||(await this.pluginManager.init(),this._initialized=!0)}item(e){let{items:t}=this,i=t[e];return i?.destroyed?void t.splice(e,d.JC):i}async load(e){var t;let a,s;await this.init();let{Container:n}=await i.e(467).then(i.bind(i,1467)),r=e.id??e.element?.id??`tsparticles${Math.floor((0,f.G0)()*d.$v).toString()}`,{index:o,url:l}=e,c=l?await y({fallback:e.options,url:l,index:o}):e.options,h=(0,u.TA)(c,o),{items:p}=this,v=p.findIndex(e=>e.id.description===r),m=new n({dispatchCallback:(e,t)=>{this.dispatchEvent(e,t)},id:r,onDestroy:e=>{if(!e)return;let t=this.items,i=t.indexOf(m);i>=d.vF&&t.splice(i,d.JC)},pluginManager:this.pluginManager,sourceOptions:h});if(v>=d.PZ){let e=this.item(v),t=e?d.xH:d.dv;e&&!e.destroyed&&e.destroy(!1),p.splice(v,t,m)}else p.push(m);let b=(e=>{let t,i=(0,u.T5)();if(e instanceof HTMLCanvasElement||e.tagName.toLowerCase()===d.RF)t=e,t.dataset[d.eb]??=d.X$;else{let a=e.getElementsByTagName(d.RF)[d.Nx];a?(t=a).dataset[d.eb]=d.X$:((t=i.createElement(d.RF)).dataset[d.eb]=d.ce,e.appendChild(t))}return t.style.width||=g,t.style.height||=g,t})((t=e.element,a=(0,u.T5)(),(s=t??a.getElementById(r))||((s=a.createElement("canvas")).id=r,s.dataset[d.eb]=d.ce,a.body.append(s)),s));return m.canvas.loadCanvas(b),await m.start(),m}async refresh(e=!0){e&&await Promise.all(this.items.map(e=>e.refresh()))}removeEventListener(e,t){this._eventDispatcher.removeEventListener(e,t)}}i(6197);var b=i(4037),w=i(5327);(a=r||(r={})).clockwise="clockwise",a.counterClockwise="counter-clockwise",a.random="random";var x=i(7341);i(4992),i(7345);var M=i(3942);i(2702),i(6932),i(202),(s=o||(o={})).linear="linear",s.radial="radial",s.random="random";var z=i(510);i(9983),(n=l||(l={})).easeInBack="ease-in-back",n.easeInBounce="ease-in-bounce",n.easeInCirc="ease-in-circ",n.easeInCubic="ease-in-cubic",n.easeInElastic="ease-in-elastic",n.easeInExpo="ease-in-expo",n.easeInGaussian="ease-in-gaussian",n.easeInLinear="ease-in-linear",n.easeInQuad="ease-in-quad",n.easeInQuart="ease-in-quart",n.easeInQuint="ease-in-quint",n.easeInSigmoid="ease-in-sigmoid",n.easeInSine="ease-in-sine",n.easeInSmoothstep="ease-in-smoothstep",n.easeOutBack="ease-out-back",n.easeOutBounce="ease-out-bounce",n.easeOutCirc="ease-out-circ",n.easeOutCubic="ease-out-cubic",n.easeOutElastic="ease-out-elastic",n.easeOutExpo="ease-out-expo",n.easeOutGaussian="ease-out-gaussian",n.easeOutLinear="ease-out-linear",n.easeOutQuad="ease-out-quad",n.easeOutQuart="ease-out-quart",n.easeOutQuint="ease-out-quint",n.easeOutSigmoid="ease-out-sigmoid",n.easeOutSine="ease-out-sine",n.easeOutSmoothstep="ease-out-smoothstep",n.easeInOutBack="ease-in-out-back",n.easeInOutBounce="ease-in-out-bounce",n.easeInOutCirc="ease-in-out-circ",n.easeInOutCubic="ease-in-out-cubic",n.easeInOutElastic="ease-in-out-elastic",n.easeInOutExpo="ease-in-out-expo",n.easeInOutGaussian="ease-in-out-gaussian",n.easeInOutLinear="ease-in-out-linear",n.easeInOutQuad="ease-in-out-quad",n.easeInOutQuart="ease-in-out-quart",n.easeInOutQuint="ease-in-out-quint",n.easeInOutSigmoid="ease-in-out-sigmoid",n.easeInOutSine="ease-in-out-sine",n.easeInOutSmoothstep="ease-in-out-smoothstep",i(2314),i(2078),i(6753),i(3086),i(3410),i(8850),i(8805),i(3182),i(6334),i(5240),i(8869),i(7349),i(3690),i(2379),i(5695),i(8954),i(495),i(7677),i(7187),i(6177),i(5358),i(5446),i(1918),i(5746),i(3442),i(4234),i(6992),i(5603),i(3252);var k=i(7621);i(2222);var _=i(4920);let S=new m;globalThis.tsParticles=S}},s={};function n(e){var t=s[e];if(void 0!==t)return t.exports;var i=s[e]={exports:{}};return a[e](i,i.exports,n),i.exports}n.m=a,n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((t,i)=>(n.f[i](e,t),t),[])),n.u=e=>""+e+".min.js",n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n.l=(e,t,i,a)=>{if(r[e])return void r[e].push(t);if(void 0!==i)for(var s,o,l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var u=l[d];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")=="@tsparticles/preset-ambient:"+i){s=u;break}}s||(o=!0,(s=document.createElement("script")).charset="utf-8",n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack","@tsparticles/preset-ambient:"+i),s.src=e),r[e]=[t];var c=(t,i)=>{s.onerror=s.onload=null,clearTimeout(h);var a=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),a&&a.forEach(e=>e(i)),t)return t(i)},h=setTimeout(c.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=c.bind(null,s.onerror),s.onload=c.bind(null,s.onload),o&&document.head.appendChild(s)},n.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.g.importScripts&&(o=n.g.location+"");var r,o,l=n.g.document;if(!o&&l&&(l.currentScript&&"SCRIPT"===l.currentScript.tagName.toUpperCase()&&(o=l.currentScript.src),!o)){var d=l.getElementsByTagName("script");if(d.length)for(var u=d.length-1;u>-1&&(!o||!/^http(s?):/.test(o));)o=d[u--].src}if(!o)throw Error("Automatic publicPath is not supported in this browser");n.p=o=o.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e={178:0},n.f.j=(t,i)=>{var a=n.o(e,t)?e[t]:void 0;if(0!==a)if(a)i.push(a[2]);else{var s=new Promise((i,s)=>a=e[t]=[i,s]);i.push(a[2]=s);var r=n.p+n.u(t),o=Error();n.l(r,i=>{if(n.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var s=i&&("load"===i.type?"missing":i.type),r=i&&i.target&&i.target.src;o.message="Loading chunk "+t+` failed.
2
+ (`+s+": "+r+")",o.name="ChunkLoadError",o.type=s,o.request=r,a[1](o)}},"chunk-"+t,t)}},t=(t,i)=>{var a,s,[r,o,l]=i,d=0;if(r.some(t=>0!==e[t])){for(a in o)n.o(o,a)&&(n.m[a]=o[a]);l&&l(n)}for(t&&t(i);d<r.length;d++)s=r[d],n.o(e,s)&&e[s]&&e[s][0](),e[s]=0},(i=this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i));var c={};async function h(e){await e.pluginManager.register(async e=>{let[{loadBasic:t},{options:i}]=await Promise.all([n.e(719).then(n.bind(n,9719)),n.e(361).then(n.bind(n,1361))]);await Promise.all([t(e)]),e.pluginManager.addPreset("ambient",i)})}n.r(c),n.d(c,{loadAmbientPreset:()=>h,tsParticles:()=>p.$k3});var p=n(3227);return c})());
@@ -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.4
7
+ * v4.0.0-beta.0
8
8
  */
9
9
  /*
10
10
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
@@ -16,14 +16,14 @@
16
16
  */
17
17
  (function webpackUniversalModuleDefinition(root, factory) {
18
18
  if(typeof exports === 'object' && typeof module === 'object')
19
- module.exports = factory(require("@tsparticles/updater-stroke-color"), require("@tsparticles/basic"), require("@tsparticles/engine"));
19
+ module.exports = factory(require("@tsparticles/basic"), require("@tsparticles/engine"));
20
20
  else if(typeof define === 'function' && define.amd)
21
- define(["@tsparticles/updater-stroke-color", "@tsparticles/basic", "@tsparticles/engine"], factory);
21
+ define(["@tsparticles/basic", "@tsparticles/engine"], factory);
22
22
  else {
23
- var a = typeof exports === 'object' ? factory(require("@tsparticles/updater-stroke-color"), require("@tsparticles/basic"), require("@tsparticles/engine")) : factory(root["window"], root["window"], root["window"]);
23
+ var a = typeof exports === 'object' ? factory(require("@tsparticles/basic"), require("@tsparticles/engine")) : factory(root["window"], root["window"]);
24
24
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
25
25
  }
26
- })(this, (__WEBPACK_EXTERNAL_MODULE__tsparticles_updater_stroke_color__, __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__, __WEBPACK_EXTERNAL_MODULE__tsparticles_engine__) => {
26
+ })(this, (__WEBPACK_EXTERNAL_MODULE__tsparticles_basic__, __WEBPACK_EXTERNAL_MODULE__tsparticles_engine__) => {
27
27
  return /******/ (() => { // webpackBootstrap
28
28
  /******/ "use strict";
29
29
  /******/ var __webpack_modules__ = ({
@@ -48,23 +48,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_engine__;
48
48
 
49
49
  /***/ },
50
50
 
51
- /***/ "@tsparticles/updater-stroke-color"
52
- /*!***************************************************************************************************************************************************************************!*\
53
- !*** external {"commonjs":"@tsparticles/updater-stroke-color","commonjs2":"@tsparticles/updater-stroke-color","amd":"@tsparticles/updater-stroke-color","root":"window"} ***!
54
- \***************************************************************************************************************************************************************************/
55
- (module) {
56
-
57
- module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_stroke_color__;
58
-
59
- /***/ },
60
-
61
51
  /***/ "./dist/browser/index.js"
62
52
  /*!*******************************!*\
63
53
  !*** ./dist/browser/index.js ***!
64
54
  \*******************************/
65
55
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
66
56
 
67
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadAmbientPreset: () => (/* binding */ loadAmbientPreset)\n/* harmony export */ });\nconst presetName = \"ambient\";\nasync function loadAmbientPreset(engine) {\n await engine.register(async (e)=>{\n const [{ loadBasic }, { loadStrokeColorUpdater }, { options }] = await Promise.all([\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/basic */ \"@tsparticles/basic\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/updater-stroke-color */ \"@tsparticles/updater-stroke-color\", 19)),\n __webpack_require__.e(/*! import() */ \"dist_browser_options_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./options.js */ \"./dist/browser/options.js\"))\n ]);\n await loadBasic(e);\n await loadStrokeColorUpdater(e);\n e.addPreset(presetName, options);\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-ambient/./dist/browser/index.js?\n}");
57
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadAmbientPreset: () => (/* binding */ loadAmbientPreset)\n/* harmony export */ });\nconst presetName = \"ambient\";\nasync function loadAmbientPreset(engine) {\n await engine.pluginManager.register(async (e)=>{\n const [{ loadBasic }, { options }] = await Promise.all([\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/basic */ \"@tsparticles/basic\", 19)),\n __webpack_require__.e(/*! import() */ \"dist_browser_options_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./options.js */ \"./dist/browser/options.js\"))\n ]);\n await Promise.all([\n loadBasic(e)\n ]);\n e.pluginManager.addPreset(presetName, options);\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-ambient/./dist/browser/index.js?\n}");
68
58
 
69
59
  /***/ }
70
60
 
@@ -1,2 +1,2 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/updater-stroke-color"),require("@tsparticles/basic"),require("@tsparticles/engine"));else if("function"==typeof define&&define.amd)define(["@tsparticles/updater-stroke-color","@tsparticles/basic","@tsparticles/engine"],t);else{var r="object"==typeof exports?t(require("@tsparticles/updater-stroke-color"),require("@tsparticles/basic"),require("@tsparticles/engine")):t(e.window,e.window,e.window);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(this,(e,t,r)=>(()=>{"use strict";var o,i,n,a={145(e){e.exports=t},303(e){e.exports=r},227(t){t.exports=e}},s={};function c(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return a[e](r,r.exports,c),r.exports}c.m=a,l=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var r=Object.create(null);c.r(r);var o={};p=p||[null,l({}),l([]),l(l)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~p.indexOf(i);i=l(i))Object.getOwnPropertyNames(i).forEach(t=>o[t]=()=>e[t]);return o.default=()=>e,c.d(r,o),r},c.d=(e,t)=>{for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce((t,r)=>(c.f[r](e,t),t),[])),c.u=e=>""+e+".min.js",c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u={},c.l=(e,t,r,o)=>{if(u[e])return void u[e].push(t);if(void 0!==r)for(var i,n,a=document.getElementsByTagName("script"),s=0;s<a.length;s++){var p=a[s];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")=="@tsparticles/preset-ambient:"+r){i=p;break}}i||(n=!0,(i=document.createElement("script")).charset="utf-8",c.nc&&i.setAttribute("nonce",c.nc),i.setAttribute("data-webpack","@tsparticles/preset-ambient:"+r),i.src=e),u[e]=[t];var l=(t,r)=>{i.onerror=i.onload=null,clearTimeout(d);var o=u[e];if(delete u[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(r)),t)return t(r)},d=setTimeout(l.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=l.bind(null,i.onerror),i.onload=l.bind(null,i.onload),n&&document.head.appendChild(i)},c.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.g.importScripts&&(d=c.g.location+"");var p,l,u,d,f=c.g.document;if(!d&&f&&(f.currentScript&&"SCRIPT"===f.currentScript.tagName.toUpperCase()&&(d=f.currentScript.src),!d)){var b=f.getElementsByTagName("script");if(b.length)for(var m=b.length-1;m>-1&&(!d||!/^http(s?):/.test(d));)d=b[m--].src}if(!d)throw Error("Automatic publicPath is not supported in this browser");c.p=d=d.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o={916:0},c.f.j=(e,t)=>{var r=c.o(o,e)?o[e]:void 0;if(0!==r)if(r)t.push(r[2]);else{var i=new Promise((t,i)=>r=o[e]=[t,i]);t.push(r[2]=i);var n=c.p+c.u(e),a=Error();c.l(n,t=>{if(c.o(o,e)&&(0!==(r=o[e])&&(o[e]=void 0),r)){var i=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;a.message="Loading chunk "+e+` failed.
2
- (`+i+": "+n+")",a.name="ChunkLoadError",a.type=i,a.request=n,r[1](a)}},"chunk-"+e,e)}},i=(e,t)=>{var r,i,[n,a,s]=t,p=0;if(n.some(e=>0!==o[e])){for(r in a)c.o(a,r)&&(c.m[r]=a[r]);s&&s(c)}for(e&&e(t);p<n.length;p++)i=n[p],c.o(o,i)&&o[i]&&o[i][0](),o[i]=0},(n=this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).forEach(i.bind(null,0)),n.push=i.bind(null,n.push.bind(n));var h={};async function g(e){await e.register(async e=>{let[{loadBasic:t},{loadStrokeColorUpdater:r},{options:o}]=await Promise.all([Promise.resolve().then(c.t.bind(c,145,19)),Promise.resolve().then(c.t.bind(c,227,19)),c.e(552).then(c.bind(c,552))]);await t(e),await r(e),e.addPreset("ambient",o)})}return c.r(h),c.d(h,{loadAmbientPreset:()=>g}),h})());
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/basic"),require("@tsparticles/engine"));else if("function"==typeof define&&define.amd)define(["@tsparticles/basic","@tsparticles/engine"],t);else{var r="object"==typeof exports?t(require("@tsparticles/basic"),require("@tsparticles/engine")):t(e.window,e.window);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(this,(e,t)=>(()=>{"use strict";var r,o,i,n={145(t){t.exports=e},303(e){e.exports=t}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={exports:{}};return n[e](r,r.exports,s),r.exports}s.m=n,p=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var r=Object.create(null);s.r(r);var o={};c=c||[null,p({}),p([]),p(p)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~c.indexOf(i);i=p(i))Object.getOwnPropertyNames(i).forEach(t=>o[t]=()=>e[t]);return o.default=()=>e,s.d(r,o),r},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,r)=>(s.f[r](e,t),t),[])),s.u=e=>""+e+".min.js",s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l={},s.l=(e,t,r,o)=>{if(l[e])return void l[e].push(t);if(void 0!==r)for(var i,n,a=document.getElementsByTagName("script"),c=0;c<a.length;c++){var p=a[c];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")=="@tsparticles/preset-ambient:"+r){i=p;break}}i||(n=!0,(i=document.createElement("script")).charset="utf-8",s.nc&&i.setAttribute("nonce",s.nc),i.setAttribute("data-webpack","@tsparticles/preset-ambient:"+r),i.src=e),l[e]=[t];var u=(t,r)=>{i.onerror=i.onload=null,clearTimeout(f);var o=l[e];if(delete l[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(r)),t)return t(r)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),n&&document.head.appendChild(i)},s.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.g.importScripts&&(u=s.g.location+"");var c,p,l,u,f=s.g.document;if(!u&&f&&(f.currentScript&&"SCRIPT"===f.currentScript.tagName.toUpperCase()&&(u=f.currentScript.src),!u)){var d=f.getElementsByTagName("script");if(d.length)for(var b=d.length-1;b>-1&&(!u||!/^http(s?):/.test(u));)u=d[b--].src}if(!u)throw Error("Automatic publicPath is not supported in this browser");s.p=u=u.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r={916:0},s.f.j=(e,t)=>{var o=s.o(r,e)?r[e]:void 0;if(0!==o)if(o)t.push(o[2]);else{var i=new Promise((t,i)=>o=r[e]=[t,i]);t.push(o[2]=i);var n=s.p+s.u(e),a=Error();s.l(n,t=>{if(s.o(r,e)&&(0!==(o=r[e])&&(r[e]=void 0),o)){var i=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;a.message="Loading chunk "+e+` failed.
2
+ (`+i+": "+n+")",a.name="ChunkLoadError",a.type=i,a.request=n,o[1](a)}},"chunk-"+e,e)}},o=(e,t)=>{var o,i,[n,a,c]=t,p=0;if(n.some(e=>0!==r[e])){for(o in a)s.o(a,o)&&(s.m[o]=a[o]);c&&c(s)}for(e&&e(t);p<n.length;p++)i=n[p],s.o(r,i)&&r[i]&&r[i][0](),r[i]=0},(i=this.webpackChunk_tsparticles_preset_ambient=this.webpackChunk_tsparticles_preset_ambient||[]).forEach(o.bind(null,0)),i.push=o.bind(null,i.push.bind(i));var m={};async function g(e){await e.pluginManager.register(async e=>{let[{loadBasic:t},{options:r}]=await Promise.all([Promise.resolve().then(s.t.bind(s,145,19)),s.e(361).then(s.bind(s,361))]);await Promise.all([t(e)]),e.pluginManager.addPreset("ambient",r)})}return s.r(m),s.d(m,{loadAmbientPreset:()=>g}),m})());