@tsparticles/preset-fire 4.0.0-alpha.2 → 4.0.0-alpha.5

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 (138) hide show
  1. package/126.min.js +1 -0
  2. package/182.min.js +1 -0
  3. package/204.min.js +1 -0
  4. package/231.min.js +1 -0
  5. package/270.min.js +1 -0
  6. package/278.min.js +1 -0
  7. package/28.min.js +1 -0
  8. package/3.min.js +1 -0
  9. package/302.min.js +1 -0
  10. package/316.min.js +1 -0
  11. package/337.min.js +1 -0
  12. package/382.min.js +1 -0
  13. package/398.min.js +1 -0
  14. package/406.min.js +1 -0
  15. package/463.min.js +1 -0
  16. package/508.min.js +1 -0
  17. package/530.min.js +1 -0
  18. package/596.min.js +1 -0
  19. package/646.min.js +1 -0
  20. package/730.min.js +1 -0
  21. package/731.min.js +1 -0
  22. package/830.min.js +1 -0
  23. package/834.min.js +1 -0
  24. package/844.min.js +1 -0
  25. package/85.min.js +1 -0
  26. package/922.min.js +1 -0
  27. package/930.min.js +1 -0
  28. package/README.md +27 -1
  29. package/browser/index.js +15 -5
  30. package/browser/options.js +5 -2
  31. package/cjs/index.js +15 -5
  32. package/cjs/options.js +5 -2
  33. package/dist_browser_options_js.js +2 -2
  34. package/esm/index.js +15 -5
  35. package/esm/options.js +5 -2
  36. package/node_modules_pnpm_tsparticles_basic_4_0_0-beta_1_node_modules_tsparticles_basic_browser_index_js.js +30 -0
  37. package/node_modules_pnpm_tsparticles_interaction-external-push_4_0_0-beta_1_node_modules_tsparticles-26affc.js +130 -0
  38. package/node_modules_pnpm_tsparticles_interaction-external-push_4_0_0-beta_1_node_modules_tsparticles-d5f96b.js +40 -0
  39. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--7ee633.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-8932d7.js} +7 -7
  40. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--082572.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-a0aea9.js} +7 -7
  41. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-1179c3.js +30 -0
  42. package/{node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--d17710.js → node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-1737bf.js} +7 -7
  43. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_1_node_modules_tsparticles_plug-908f96.js +120 -0
  44. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_1_node_modules_tsparticles_plug-d6e6b1.js +70 -0
  45. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugin-move_b-aa7108.js +30 -0
  46. package/{node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_5_node_modules_tsparticles_updater-co-9b6d65.js → node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugin-move_b-c23e73.js} +5 -5
  47. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_1_node_modules_tsparticles_plugin-r-0f881a.js +30 -0
  48. package/{node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--8050b3.js → node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_1_node_modules_tsparticles_plugin-r-ae3d6b.js} +7 -7
  49. package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_5_node_modules_tsparticles_shape-circl-2a85dc.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_1_node_modules_tsparticles_shape-circle-07826a.js} +12 -12
  50. package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_5_node_modules_tsparticles_shape-circl-d95142.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_1_node_modules_tsparticles_shape-circle-c2187f.js} +7 -7
  51. package/node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-beta_1_node_modules_tsparticles_update-75868d.js +30 -0
  52. package/node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-beta_1_node_modules_tsparticles_update-7cca03.js +30 -0
  53. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_1_node_modules_tsparticles_updater-o-138fb5.js +30 -0
  54. package/{node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_5_node_modules_tsparticles_updater--35fbab.js → node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_1_node_modules_tsparticles_updater-o-8a311f.js} +7 -7
  55. package/{node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_5_node_modules_tsparticles_update-04964a.js → node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_1_node_modules_tsparticles_updater-265a6a.js} +7 -7
  56. package/{node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_5_node_modules_tsparticles_updater-siz-7c3e56.js → node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_1_node_modules_tsparticles_updater-size-124f3f.js} +7 -7
  57. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_1_node_modules_tsparticles_updater-size-cbf46f.js +30 -0
  58. package/package.json +5 -4
  59. package/report.html +84 -29
  60. package/tsparticles.preset.fire.bundle.js +336 -324
  61. package/tsparticles.preset.fire.bundle.min.js +2 -2
  62. package/tsparticles.preset.fire.js +45 -23
  63. package/tsparticles.preset.fire.min.js +2 -2
  64. package/umd/index.js +15 -5
  65. package/umd/options.js +5 -2
  66. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-beta_1_node_modules_tsparticles_engine_bro-0bb20b.js +100 -0
  67. package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_1_node_modules_tspartic-d557a0.js +50 -0
  68. package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugi-2dea06.js +40 -0
  69. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_1_node_modules_tsparticles-a5ec2f.js +80 -0
  70. package/196.min.js +0 -2
  71. package/196.min.js.LICENSE.txt +0 -1
  72. package/202.min.js +0 -2
  73. package/202.min.js.LICENSE.txt +0 -1
  74. package/256.min.js +0 -2
  75. package/256.min.js.LICENSE.txt +0 -1
  76. package/294.min.js +0 -2
  77. package/294.min.js.LICENSE.txt +0 -1
  78. package/352.min.js +0 -2
  79. package/352.min.js.LICENSE.txt +0 -1
  80. package/413.min.js +0 -2
  81. package/413.min.js.LICENSE.txt +0 -1
  82. package/420.min.js +0 -2
  83. package/420.min.js.LICENSE.txt +0 -1
  84. package/426.min.js +0 -2
  85. package/426.min.js.LICENSE.txt +0 -1
  86. package/440.min.js +0 -2
  87. package/440.min.js.LICENSE.txt +0 -1
  88. package/464.min.js +0 -2
  89. package/464.min.js.LICENSE.txt +0 -1
  90. package/473.min.js +0 -2
  91. package/473.min.js.LICENSE.txt +0 -1
  92. package/505.min.js +0 -2
  93. package/505.min.js.LICENSE.txt +0 -1
  94. package/56.min.js +0 -2
  95. package/56.min.js.LICENSE.txt +0 -1
  96. package/60.min.js +0 -2
  97. package/60.min.js.LICENSE.txt +0 -1
  98. package/668.min.js +0 -2
  99. package/668.min.js.LICENSE.txt +0 -1
  100. package/684.min.js +0 -2
  101. package/684.min.js.LICENSE.txt +0 -1
  102. package/685.min.js +0 -2
  103. package/685.min.js.LICENSE.txt +0 -1
  104. package/688.min.js +0 -2
  105. package/688.min.js.LICENSE.txt +0 -1
  106. package/726.min.js +0 -2
  107. package/726.min.js.LICENSE.txt +0 -1
  108. package/778.min.js +0 -2
  109. package/778.min.js.LICENSE.txt +0 -1
  110. package/792.min.js +0 -2
  111. package/792.min.js.LICENSE.txt +0 -1
  112. package/847.min.js +0 -2
  113. package/847.min.js.LICENSE.txt +0 -1
  114. package/864.min.js +0 -2
  115. package/864.min.js.LICENSE.txt +0 -1
  116. package/909.min.js +0 -2
  117. package/909.min.js.LICENSE.txt +0 -1
  118. package/949.min.js +0 -2
  119. package/949.min.js.LICENSE.txt +0 -1
  120. package/990.min.js +0 -2
  121. package/990.min.js.LICENSE.txt +0 -1
  122. package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_5_node_modules_tsparticles_basic_browser_index_js.js +0 -30
  123. package/node_modules_pnpm_tsparticles_interaction-external-push_4_0_0-alpha_5_node_modules_tsparticle-16f1c5.js +0 -40
  124. package/node_modules_pnpm_tsparticles_interaction-external-push_4_0_0-alpha_5_node_modules_tsparticle-56e3cf.js +0 -130
  125. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_5_node_modules_tsparticles_move-base_brow-26eaee.js +0 -40
  126. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_5_node_modules_tsparticles_move-base_brow-29272f.js +0 -30
  127. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--175cc6.js +0 -30
  128. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-4ef54e.js +0 -120
  129. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-c0445f.js +0 -70
  130. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--3fa544.js +0 -30
  131. package/node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_5_node_modules_tsparticles_updater-co-a17be7.js +0 -30
  132. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_5_node_modules_tsparticles_updater--4bc1f3.js +0 -30
  133. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_5_node_modules_tsparticles_updater-siz-547e88.js +0 -30
  134. package/tsparticles.preset.fire.bundle.min.js.LICENSE.txt +0 -1
  135. package/tsparticles.preset.fire.min.js.LICENSE.txt +0 -1
  136. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_5_node_modules_tsparticles_engine_br-85ef38.js +0 -90
  137. package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparti-98de40.js +0 -50
  138. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_5_node_modules_tsparticle-f9a455.js +0 -80
@@ -1,2 +1,2 @@
1
- /*! For license information please see tsparticles.preset.fire.bundle.min.js.LICENSE.txt */
2
- !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var i=e();for(var s in i)("object"==typeof exports?exports:t)[s]=i[s]}}(this,()=>(()=>{var t,e,i={214(t,e,i){i.d(e,{t:()=>o});var s=i(1211),n=i(5933),a=i(9395);class o{constructor(){this.width=0}load(t){(0,n.kZ)(t)||(void 0!==t.color&&(this.color=s.A.create(this.color,t.color)),void 0!==t.width&&(this.width=(0,a.DT)(t.width)),void 0!==t.opacity&&(this.opacity=(0,a.DT)(t.opacity)))}}},248(t,e,i){i.d(e,{h:()=>a});var s=i(5933),n=i(9395);class a{constructor(){this.offset=0,this.value=90}load(t){(0,s.kZ)(t)||(void 0!==t.offset&&(this.offset=(0,n.DT)(t.offset)),void 0!==t.value&&(this.value=(0,n.DT)(t.value)))}}},304(t,e,i){i.d(e,{N:()=>o});var s=i(5933);class n{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(t){if((0,s.kZ)(t))return;void 0!==t.enable&&(this.enable=t.enable);const e=t.width;void 0!==e&&(this.width=e);const i=t.height;void 0!==i&&(this.height=i)}}var a=i(8427);class o{constructor(){this.density=new n,this.limit=new a.A,this.value=0}load(t){(0,s.kZ)(t)||(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}}},411(t,e,i){var s;i.d(e,{H:()=>s}),function(t){t.increasing="increasing",t.decreasing="decreasing"}(s||(s={}))},595(t,e,i){i.d(e,{$G:()=>I,$_:()=>T,$v:()=>X,$x:()=>z,BF:()=>wt,DN:()=>K,D_:()=>ft,Dv:()=>pt,Eo:()=>W,FS:()=>G,Fl:()=>xt,Ie:()=>R,JC:()=>C,K3:()=>ct,KZ:()=>q,Kw:()=>w,L1:()=>D,LD:()=>dt,MX:()=>r,NF:()=>n,Nu:()=>yt,Nx:()=>N,PZ:()=>Q,Pg:()=>k,R1:()=>f,RF:()=>y,RV:()=>$,Rh:()=>st,Rq:()=>F,TL:()=>H,U0:()=>O,Ug:()=>d,WH:()=>J,X$:()=>g,X_:()=>et,Xu:()=>c,Zp:()=>M,a5:()=>o,aE:()=>bt,bo:()=>l,ce:()=>v,dm:()=>b,dv:()=>Y,eb:()=>s,eu:()=>E,gd:()=>u,hB:()=>S,hK:()=>Mt,hv:()=>V,i8:()=>j,iU:()=>vt,jn:()=>zt,l:()=>tt,lA:()=>lt,mR:()=>h,nK:()=>a,nq:()=>at,oi:()=>_,ou:()=>nt,pH:()=>ht,rq:()=>m,tA:()=>ut,tR:()=>kt,un:()=>it,vF:()=>B,vS:()=>P,vd:()=>gt,w2:()=>Z,wM:()=>ot,xH:()=>U,xd:()=>x,yx:()=>L,z$:()=>p,z9:()=>rt,zg:()=>mt,zs:()=>A});const s="generated",n="resize",a="visibilitychange",o=100,r=.5,c=1e3,l={x:0,y:0,z:0},d={a:1,b:0,c:0,d:1},h="random",u=2,f=Math.PI*u,p=60,v="true",g="false",y="canvas",m=0,b=2,w=4,x=1,z=1,M=1,k=4,S=1,_=255,P=360,E=100,T=100,D=0,L=0,O=60,R=0,I=.25,F=r+I,A=1,Z=0,$=1,V=1,G=1,q=1,H=0,C=1,B=0,j=120,K=0,N=0,X=1e4,Q=0,U=1,Y=0,J=1,W=1,tt=1,et=0,it=-I,st=1.5,nt=0,at=1,ot=0,rt=0,ct=1,lt=1,dt=1,ht=500,ut=0,ft=1,pt=0,vt=1,gt=0,yt=3,mt=6,bt=1,wt=1,xt=0,zt=0,Mt=0,kt=0},1045(t,e,i){i.d(e,{e:()=>o});var s=i(3970),n=i(5933),a=i(9395);class o extends s.p{constructor(){super(),this.offset=0,this.sync=!0}load(t){super.load(t),(0,n.kZ)(t)||void 0!==t.offset&&(this.offset=(0,a.DT)(t.offset))}}},1118(t,e,i){i.d(e,{AI:()=>c,PV:()=>o});var s=i(3970),n=i(5933),a=i(9395);class o{constructor(){this.value=0}load(t){(0,n.kZ)(t)||(0,n.kZ)(t.value)||(this.value=(0,a.DT)(t.value))}}class r extends o{constructor(){super(),this.animation=new s.p}load(t){if(super.load(t),(0,n.kZ)(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class c extends r{constructor(){super(),this.animation=new s.Q}load(t){super.load(t)}}},1211(t,e,i){i.d(e,{A:()=>o});var s=i(5933),n=i(6285),a=i(1755);class o extends a.O{constructor(){super(),this.animation=new n.i}static create(t,e){const i=new o;return i.load(t),void 0!==e&&((0,s.Kg)(e)||(0,s.cy)(e)?i.load({value:e}):i.load(e)),i}load(t){if(super.load(t),(0,s.kZ)(t))return;const e=t.animation;void 0!==e&&(void 0===e.enable?this.animation.load(t.animation):this.animation.h.load(e))}}},1512(t,e,i){var s;i.d(e,{d:()=>s}),function(t){t.delete="delete",t.wait="wait"}(s||(s={}))},1755(t,e,i){i.d(e,{O:()=>n});var s=i(5933);class n{constructor(){this.value=""}static create(t,e){const i=new n;return i.load(t),void 0!==e&&((0,s.Kg)(e)||(0,s.cy)(e)?i.load({value:e}):i.load(e)),i}load(t){(0,s.kZ)(t)||(0,s.kZ)(t.value)||(this.value=t.value)}}},1786(t,e,i){i.d(e,{w:()=>a});var s=i(7541),n=i(5933);class a{constructor(){this.horizontal=new s.F,this.vertical=new s.F}load(t){(0,n.kZ)(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}},2264(t,e,i){var s;i.d(e,{v:()=>s}),function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(s||(s={}))},2930(t,e,i){i.d(e,{R:()=>a});var s=i(5933),n=i(9395);class a{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(t){if(!(0,s.kZ)(t)&&(void 0!==t.distance&&(this.distance=(0,n.DT)(t.distance)),void 0!==t.enable&&(this.enable=t.enable),t.rotate)){const e=t.rotate.x;void 0!==e&&(this.rotate.x=e);const i=t.rotate.y;void 0!==i&&(this.rotate.y=i)}}}},3019(t,e,i){var s;i.d(e,{x:()=>s}),function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(s||(s={}))},3057(t,e,i){var s;i.d(e,{g:()=>s}),function(t){t.auto="auto",t.increase="increase",t.decrease="decrease",t.random="random"}(s||(s={}))},3233(t,e,i){i.d(e,{y:()=>a});var s=i(5933),n=i(9395);class a{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){(0,s.kZ)(t)||(void 0!==t.acceleration&&(this.acceleration=(0,n.DT)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.inverse&&(this.inverse=t.inverse),void 0!==t.maxSpeed&&(this.maxSpeed=(0,n.DT)(t.maxSpeed)))}}},3269(t,e,i){i.d(e,{AE:()=>b,BR:()=>p,E9:()=>S,HQ:()=>D,Kp:()=>T,T5:()=>u,TA:()=>z,Tj:()=>m,UC:()=>_,Vh:()=>y,Xs:()=>M,hJ:()=>E,hn:()=>g,lV:()=>f,tG:()=>v,td:()=>P,wJ:()=>x,zw:()=>w});var s=i(9395),n=i(595),a=i(5933),o=i(3057),r=i(411),c=i(5647),l=i(2264),d=i(5235),h=i(4116);i(5450);function u(){return globalThis.document}function f(t){if("undefined"!=typeof matchMedia)return matchMedia(t)}function p(t){if("undefined"!=typeof IntersectionObserver)return new IntersectionObserver(t)}function v(t){if("undefined"!=typeof MutationObserver)return new MutationObserver(t)}function g(t,e){return t===e||(0,a.cy)(e)&&e.includes(t)}function y(t,e,i=!0){return t[void 0!==e&&i?e%t.length:function(t){return Math.floor((0,s.G0)()*t.length)}(t)]}function m(t,e,i,s,n){return function(t,e,i,s){let n=!0;s&&s!==l.v.bottom||(n=t.top<e.height+i.x);!n||s&&s!==l.v.left||(n=t.right>i.x);!n||s&&s!==l.v.right||(n=t.left<e.width+i.y);!n||s&&s!==l.v.top||(n=t.bottom>i.y);return n}(b(t,s??0),e,i,n)}function b(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function w(t,...e){for(const i of e){if(null==i)continue;if(!(0,a.Gv)(i)){t=i;continue}Array.isArray(i)?Array.isArray(t)||(t=[]):(0,a.Gv)(t)&&!Array.isArray(t)||(t={});for(const e in i){if("__proto__"===e)continue;const s=i[e],n=t;n[e]=(0,a.Gv)(s)&&Array.isArray(s)?s.map(t=>w(n[e],t)):w(n[e],s)}}return t}function x(t,e){return(0,a.cy)(t)?t.map((t,i)=>e(t,i)):e(t,0)}function z(t,e,i){return(0,a.cy)(t)?y(t,e,i):t}function M(t,e){const i=t.value,a=t.animation,c={delayTime:(0,s.VG)(a.delay)*n.Xu,enable:a.enable,value:(0,s.VG)(t.value)*e,max:(0,s.W9)(i)*e,min:(0,s.Sg)(i)*e,loops:0,maxLoops:(0,s.VG)(a.count),time:0};if(a.enable){switch(c.decay=1-(0,s.VG)(a.decay),a.mode){case o.g.increase:c.status=r.H.increasing;break;case o.g.decrease:c.status=r.H.decreasing;break;case o.g.random:c.status=(0,s.G0)()>=n.MX?r.H.increasing:r.H.decreasing}const t=a.mode===o.g.auto;switch(a.startValue){case h.S.min:c.value=c.min,t&&(c.status=r.H.increasing);break;case h.S.max:c.value=c.max,t&&(c.status=r.H.decreasing);break;case h.S.random:default:c.value=(0,s.vE)(c),t&&(c.status=(0,s.G0)()>=n.MX?r.H.increasing:r.H.decreasing)}}return c.initialValue=c.value,c}function k(t,e){if(!(t.mode===d.q.percent)){const{mode:e,...i}=t;return i}return"x"in t?{x:t.x/n.a5*e.width,y:t.y/n.a5*e.height}:{width:t.width/n.a5*e.width,height:t.height/n.a5*e.height}}function S(t,e){return k(t,e)}function _(t,e,i,n,a){if(t.destroyed||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;const o=(e.velocity??0)*a.factor,l=e.min,d=e.max,h=e.decay??1;if(e.time??=0,(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=a.value),!((e.delayTime??0)>0&&e.time<(e.delayTime??0))){switch(e.status){case r.H.increasing:e.value>=d?(i?e.status=r.H.decreasing:e.value-=d,e.loops??=0,e.loops++):e.value+=o;break;case r.H.decreasing:e.value<=l?(i?e.status=r.H.increasing:e.value+=d,e.loops??=0,e.loops++):e.value-=o}e.velocity&&1!==h&&(e.velocity*=h),function(t,e,i,s,n){switch(e){case c.V.max:i>=n&&t.destroy();break;case c.V.min:i<=s&&t.destroy()}}(t,n,e.value,l,d),e.value=(0,s.qE)(e.value,l,d)}}function P(t){const e=u().createElement("div").style;for(const i in t){const s=t[i];if(!Object.hasOwn(t,i)||(0,a.kZ)(s))continue;const n=t.getPropertyValue?.(s);if(!n)continue;const o=t.getPropertyPriority?.(s);o?e.setProperty(s,n,o):e.setProperty(s,n)}return e}const E=function(t){const e=new Map;return(...i)=>{const s=JSON.stringify(i);if(e.has(s))return e.get(s);const n=t(...i);return e.set(s,n),n}}(function(t){const e=u().createElement("div").style,i={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:t.toString(10),"z-index":t.toString(10),top:"0",left:"0"};for(const t in i){const s=i[t];void 0!==s&&e.setProperty(t,s)}return e});function T(t,e,i,s,n){if(s){let s={passive:!0};(0,a.Lm)(n)?s.capture=n:void 0!==n&&(s=n),t.addEventListener(e,i,s)}else{const s=n;t.removeEventListener(e,i,s)}}async function D(t,e,i,s=!1){let n=e.get(t);return n&&!s||(n=await Promise.all([...i.values()].map(e=>e(t))),e.set(t,n)),n}},3398(t,e,i){i.d(e,{j:()=>a});var s=i(6827),n=i(5933);class a{constructor(){this.default=s.Y.out}load(t){(0,n.kZ)(t)||(void 0!==t.default&&(this.default=t.default),this.bottom=t.bottom??t.default,this.left=t.left??t.default,this.right=t.right??t.default,this.top=t.top??t.default)}}},3511(t,e,i){i.d(e,{Yzx:()=>v.Y,v5k:()=>p.v,x_I:()=>y.x,pTR:()=>h,Miz:()=>u.M,AEc:()=>n.AE,qE8:()=>c.qE,FSi:()=>s.FS,zwS:()=>n.zw,puj:()=>c.pu,gdl:()=>s.gd,R1e:()=>s.R1,wJ2:()=>n.wJ,YfF:()=>c.Yf,vrU:()=>c.vr,pzy:()=>m.pz,HQK:()=>n.HQ,G0i:()=>c.G0,W9e:()=>c.W9,VGA:()=>c.VG,MXx:()=>s.MX,YLU:()=>m.YL,ayx:()=>m.ay,XsS:()=>n.Xs,kZJ:()=>b.kZ,Gvm:()=>b.Gv,Tj8:()=>n.Tj,Vh1:()=>n.Vh,TA3:()=>n.TA,K3:()=>s.K3,KpY:()=>n.Kp,TLE:()=>s.TL,boI:()=>s.bo,M3Y:()=>c.M3,a56:()=>s.a5,vEz:()=>c.vE,R5R:()=>m.R5,BRq:()=>n.BR,DT4:()=>c.DT,pHD:()=>s.pH,KZx:()=>s.KZ,$k3:()=>w,UC0:()=>n.UC,JvX:()=>m.Jv,nKi:()=>s.nK});var s=i(595),n=i(3269);class a{constructor(){this._listeners=new Map}addEventListener(t,e){this.removeEventListener(t,e);let i=this._listeners.get(t);i||(i=[],this._listeners.set(t,i)),i.push(e)}dispatchEvent(t,e){const i=this._listeners.get(t);i?.forEach(t=>{t(e)})}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,e){const i=this._listeners.get(t);if(!i)return;const n=i.length,a=i.indexOf(e);a<s.z9||(n===s.LD?this._listeners.delete(t):i.splice(a,s.LD))}}var o=i(5805),r=i(9385),c=i(9395);const l="100%";class d{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new a,this._initialized=!1,this._isRunningLoaders=!1,this._loadPromises=new Set,this._allLoadersSet=new Set,this._executedSet=new Set,this.plugins=[],this.colorManagers=new Map,this.easingFunctions=new Map,this._initializers={movers:new Map,updaters:new Map},this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.pathGenerators=new Map}get configs(){const t={};for(const[e,i]of this._configs)t[e]=i;return t}get items(){return this._domArray}get version(){return"4.0.0-alpha.5"}addColorManager(t){this.colorManagers.set(t.key,t)}addConfig(t){const e=t.key??t.name??"default";this._configs.set(e,t),this._eventDispatcher.dispatchEvent(o.B.configAdded,{data:{name:e,config:t}})}addEasing(t,e){this.easingFunctions.get(t)||this.easingFunctions.set(t,e)}addEffect(t,e){this.getEffectDrawer(t)||this.effectDrawers.set(t,e)}addEventListener(t,e){this._eventDispatcher.addEventListener(t,e)}addMover(t,e){this._initializers.movers.set(t,e)}addParticleUpdater(t,e){this._initializers.updaters.set(t,e)}addPathGenerator(t,e){this.getPathGenerator(t)||this.pathGenerators.set(t,e)}addPlugin(t){this.getPlugin(t.id)||this.plugins.push(t)}addPreset(t,e,i=!1){!i&&this.getPreset(t)||this.presets.set(t,e)}addShape(t){for(const e of t.validTypes)this.getShapeDrawer(e)||this.shapeDrawers.set(e,t)}checkVersion(t){if(this.version!==t)throw new Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${t}`)}clearPlugins(t){this.updaters.delete(t),this.movers.delete(t)}dispatchEvent(t,e){this._eventDispatcher.dispatchEvent(t,e)}getEasing(t){return this.easingFunctions.get(t)??(t=>t)}getEffectDrawer(t){return this.effectDrawers.get(t)}async getMovers(t,e=!1){return(0,n.HQ)(t,this.movers,this._initializers.movers,e)}getPathGenerator(t){return this.pathGenerators.get(t)}getPlugin(t){return this.plugins.find(e=>e.id===t)}getPreset(t){return this.presets.get(t)}getShapeDrawer(t){return this.shapeDrawers.get(t)}getSupportedEffects(){return this.effectDrawers.keys()}getSupportedShapes(){return this.shapeDrawers.keys()}async getUpdaters(t,e=!1){return(0,n.HQ)(t,this.updaters,this._initializers.updaters,e)}async init(){if(!this._initialized&&!this._isRunningLoaders){this._isRunningLoaders=!0,this._executedSet=new Set,this._allLoadersSet=new Set(this._loadPromises);try{for(const t of this._allLoadersSet)await this._runLoader(t,this._executedSet,this._allLoadersSet)}finally{this._loadPromises.clear(),this._isRunningLoaders=!1,this._initialized=!0}}}item(t){const{items:e}=this,i=e[t];if(!i?.destroyed)return i;e.splice(t,s.JC)}async load(t){await this.init();const{Container:e}=await i.e(990).then(i.bind(i,1990)),a=t.id??t.element?.id??`tsparticles${Math.floor((0,c.G0)()*s.$v).toString()}`,{index:o,url:d}=t,h=d?await async function(t){const e=(0,n.TA)(t.url,t.index);if(!e)return t.fallback;const i=await fetch(e);return i.ok?await i.json():((0,r.t)().error(`${i.status.toString()} while retrieving config file`),t.fallback)}({fallback:t.options,url:d,index:o}):t.options,u=(0,n.TA)(h,o),{items:f}=this,p=f.findIndex(t=>t.id.description===a),v=new e(this,a,u);if(p>=s.PZ){const t=this.item(p),e=t?s.xH:s.dv;t&&!t.destroyed&&t.destroy(!1),f.splice(p,e,v)}else f.push(v);const g=((t,e)=>{const i=(0,n.T5)();let a=e??i.getElementById(t);return a||(a=i.createElement("div"),a.id=t,a.dataset[s.eb]=s.ce,i.body.append(a),a)})(a,t.element),y=(t=>{const e=(0,n.T5)();let i;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===s.RF)i=t,i.dataset[s.eb]??=s.X$;else{const n=t.getElementsByTagName(s.RF)[s.Nx];n?(i=n,i.dataset[s.eb]=s.X$):(i=e.createElement(s.RF),i.dataset[s.eb]=s.ce,t.appendChild(i))}return i.style.width||=l,i.style.height||=l,i})(g);return v.canvas.loadCanvas(y),await v.start(),v}loadParticlesOptions(t,e,...i){const s=this.updaters.get(t);s&&s.forEach(t=>t.loadOptions?.(e,...i))}async refresh(t=!0){t&&await Promise.all(this.items.map(t=>t.refresh()))}async register(...t){if(this._initialized)throw new Error("Register plugins can only be done before calling tsParticles.load()");for(const e of t)this._isRunningLoaders?await this._runLoader(e,this._executedSet,this._allLoadersSet):this._loadPromises.add(e)}removeEventListener(t,e){this._eventDispatcher.removeEventListener(t,e)}async _runLoader(t,e,i){e.has(t)||(e.add(t),i.add(t),await t(this))}}i(7962);var h,u=i(5450);i(8096);!function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(h||(h={}));var f,p=i(2264),v=(i(3057),i(1512),i(6827));i(5235),i(5681),i(5647);!function(t){t.linear="linear",t.radial="radial",t.random="random"}(f||(f={}));var g,y=i(3019);i(4116);!function(t){t.easeInBack="ease-in-back",t.easeInCirc="ease-in-circ",t.easeInCubic="ease-in-cubic",t.easeInLinear="ease-in-linear",t.easeInQuad="ease-in-quad",t.easeInQuart="ease-in-quart",t.easeInQuint="ease-in-quint",t.easeInExpo="ease-in-expo",t.easeInSine="ease-in-sine",t.easeOutBack="ease-out-back",t.easeOutCirc="ease-out-circ",t.easeOutCubic="ease-out-cubic",t.easeOutLinear="ease-out-linear",t.easeOutQuad="ease-out-quad",t.easeOutQuart="ease-out-quart",t.easeOutQuint="ease-out-quint",t.easeOutExpo="ease-out-expo",t.easeOutSine="ease-out-sine",t.easeInOutBack="ease-in-out-back",t.easeInOutCirc="ease-in-out-circ",t.easeInOutCubic="ease-in-out-cubic",t.easeInOutLinear="ease-in-out-linear",t.easeInOutQuad="ease-in-out-quad",t.easeInOutQuart="ease-in-out-quart",t.easeInOutQuint="ease-in-out-quint",t.easeInOutExpo="ease-in-out-expo",t.easeInOutSine="ease-in-out-sine"}(g||(g={}));i(411),i(1211),i(3970),i(1045),i(6285),i(4045),i(1786),i(7541),i(9967),i(214),i(2930),i(3751),i(248),i(4378),i(3233),i(3398),i(9030),i(9550),i(304),i(8427),i(4055),i(7521),i(4339),i(6847),i(6073),i(4865),i(1118),i(8473);var m=i(4338),b=(i(9029),i(5933));const w=new d;globalThis.tsParticles=w},3751(t,e,i){i.d(e,{y:()=>f});var s=i(8096),n=i(5933),a=i(248),o=i(2930),r=i(4378),c=i(3233),l=i(9030),d=i(3398),h=i(9550),u=i(9395);class f{constructor(){this.angle=new a.h,this.attract=new o.R,this.center=new r.Z,this.decay=0,this.distance={},this.direction=s.F.none,this.drift=0,this.enable=!1,this.gravity=new c.y,this.path=new l.v,this.outModes=new d.j,this.random=!1,this.size=!1,this.speed=2,this.spin=new h.t,this.straight=!1,this.vibrate=!1,this.warp=!1}load(t){if((0,n.kZ)(t))return;this.angle.load((0,n.Et)(t.angle)?{value:t.angle}:t.angle),this.attract.load(t.attract),this.center.load(t.center),void 0!==t.decay&&(this.decay=(0,u.DT)(t.decay)),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=(0,n.Et)(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),void 0!==t.drift&&(this.drift=(0,u.DT)(t.drift)),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity);const e=t.outModes;void 0!==e&&((0,n.Gv)(e)?this.outModes.load(e):this.outModes.load({default:e})),this.path.load(t.path),void 0!==t.random&&(this.random=t.random),void 0!==t.size&&(this.size=t.size),void 0!==t.speed&&(this.speed=(0,u.DT)(t.speed)),this.spin.load(t.spin),void 0!==t.straight&&(this.straight=t.straight),void 0!==t.vibrate&&(this.vibrate=t.vibrate),void 0!==t.warp&&(this.warp=t.warp)}}},3970(t,e,i){i.d(e,{Q:()=>c,p:()=>r});var s=i(3057),n=i(4116),a=i(5933),o=i(9395);class r{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){(0,a.kZ)(t)||(void 0!==t.count&&(this.count=(0,o.DT)(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=(0,o.DT)(t.speed)),void 0!==t.decay&&(this.decay=(0,o.DT)(t.decay)),void 0!==t.delay&&(this.delay=(0,o.DT)(t.delay)),void 0!==t.sync&&(this.sync=t.sync))}}class c extends r{constructor(){super(),this.mode=s.g.auto,this.startValue=n.S.random}load(t){super.load(t),(0,a.kZ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}}},4045(t,e,i){i.d(e,{J:()=>h});var s=i(3269),n=i(5933),a=i(1755);class o{constructor(){this.color=new a.O,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){(0,n.kZ)(t)||(void 0!==t.color&&(this.color=a.O.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.position&&(this.position=t.position),void 0!==t.repeat&&(this.repeat=t.repeat),void 0!==t.size&&(this.size=t.size),void 0!==t.opacity&&(this.opacity=t.opacity))}}class r{constructor(){this.enable=!0,this.zIndex=0}load(t){(0,n.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}}class c{constructor(){this.delay=.5,this.enable=!0}load(t){(0,n.kZ)(t)||(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.enable&&(this.enable=t.enable))}}var l=i(9029),d=i(9395);class h{constructor(t,e){this._importPreset=t=>{this.load(this._engine.getPreset(t))},this._engine=t,this._container=e,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,l.y)(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.resize=new c,this.smooth=!1,this.style={},this.zLayers=100}load(t){if((0,n.kZ)(t))return;void 0!==t.preset&&(0,s.wJ)(t.preset,t=>{this._importPreset(t)}),void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.clear&&(this.clear=t.clear),void 0!==t.key&&(this.key=t.key),void 0!==t.name&&(this.name=t.name),void 0!==t.delay&&(this.delay=(0,d.DT)(t.delay));const e=t.detectRetina;void 0!==e&&(this.detectRetina=e),void 0!==t.duration&&(this.duration=(0,d.DT)(t.duration));const i=t.fpsLimit;void 0!==i&&(this.fpsLimit=i),void 0!==t.hdr&&(this.hdr=t.hdr),void 0!==t.pauseOnBlur&&(this.pauseOnBlur=t.pauseOnBlur),void 0!==t.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=t.pauseOnOutsideViewport),void 0!==t.zLayers&&(this.zLayers=t.zLayers),this.background.load(t.background);const a=t.fullScreen;(0,n.Lm)(a)?this.fullScreen.enable=a:this.fullScreen.load(a),this.particles.load(t.particles),this.resize.load(t.resize),this.style=(0,s.zw)(this.style,t.style),void 0!==t.smooth&&(this.smooth=t.smooth),this._engine.plugins.forEach(e=>{e.loadOptions(this._container,this,t)})}}},4055(t,e,i){i.d(e,{Y:()=>o});var s=i(7521),n=i(1118),a=i(5933);class o extends n.AI{constructor(){super(),this.animation=new s.I,this.value=1}load(t){if((0,a.kZ)(t))return;super.load(t);const e=t.animation;void 0!==e&&this.animation.load(e)}}},4116(t,e,i){var s;i.d(e,{S:()=>s}),function(t){t.max="max",t.min="min",t.random="random"}(s||(s={}))},4338(t,e,i){i.d(e,{BN:()=>h,Jv:()=>S,LC:()=>w,O_:()=>x,R5:()=>f,YL:()=>v,ay:()=>g,pz:()=>z,xx:()=>m});var s=i(9395),n=i(595),a=i(5933),o=i(411),r=i(3269);const c=new Map;function l(t,e){let i=c.get(t);if(!i){if(i=e(),c.size>=1e3){[...c.keys()].slice(0,1e3*n.MX).forEach(t=>c.delete(t))}c.set(t,i)}return i}function d(t,e){if(e)for(const i of t.colorManagers.values())if(i.accepts(e))return i.parseString(e)}function h(t,e,i,s=!0){if(!e)return;const n=(0,a.Kg)(e)?{value:e}:e;if((0,a.Kg)(n.value))return u(t,n.value,i,s);if((0,a.cy)(n.value)){const e=(0,r.Vh)(n.value,i,s);if(!e)return;return h(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleRangeColor(n);if(t)return t}}function u(t,e,i,s=!0){if(!e)return;const o=(0,a.Kg)(e)?{value:e}:e;if((0,a.Kg)(o.value))return o.value===n.mR?y():function(t,e){return d(t,e)}(t,o.value);if((0,a.cy)(o.value)){const e=(0,r.Vh)(o.value,i,s);if(!e)return;return u(t,{value:e})}for(const e of t.colorManagers.values()){const t=e.handleColor(o);if(t)return t}}function f(t,e,i,s=!0){const n=h(t,e,i,s);return n?p(n):void 0}function p(t){const e=t.r/n.oi,i=t.g/n.oi,s=t.b/n.oi,a=Math.max(e,i,s),o=Math.min(e,i,s),r={h:n.L1,l:(a+o)*n.MX,s:n.yx};return a!==o&&(r.s=r.l<n.MX?(a-o)/(a+o):(a-o)/(n.gd-a-o),r.h=e===a?(i-s)/(a-o):i===a?n.gd+(s-e)/(a-o):n.gd*n.gd+(e-i)/(a-o)),r.l*=n.$_,r.s*=n.eu,r.h*=n.U0,r.h<n.L1&&(r.h+=n.vS),r.h>=n.vS&&(r.h-=n.vS),r}function v(t){const e=(t.h%n.vS+n.vS)%n.vS,i=Math.max(n.yx,Math.min(n.eu,t.s)),s=Math.max(n.vd,Math.min(n.$_,t.l)),a=e/n.vS,o=i/n.eu,r=s/n.$_;if(i===n.yx){const t=Math.round(r*n.oi);return{r:t,g:t,b:t}}const c=(t,e,i)=>{if(i<0&&i++,i>1&&i--,i*n.zg<1)return t+(e-t)*n.zg*i;if(i*n.gd<1)return e;if(i*n.Nu<1*n.gd){return t+(e-t)*(n.gd/n.Nu-i)*n.zg}return t},l=r<n.MX?r*(n.aE+o):r+o-r*o,d=n.gd*r-l,h=n.BF/n.Nu,u=Math.min(n.oi,n.oi*c(d,l,a+h)),f=Math.min(n.oi,n.oi*c(d,l,a)),p=Math.min(n.oi,n.oi*c(d,l,a-h));return{r:Math.round(u),g:Math.round(f),b:Math.round(p)}}function g(t){const e=v(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}function y(t){const e=t??n.Fl,i=n.oi+n.D_,a=()=>Math.floor((0,s.e4)(e,i));return{b:a(),g:a(),r:a()}}function m(t,e,i){const s=i??n.hv;return l(`rgb-${t.r.toFixed(2)}-${t.g.toFixed(2)}-${t.b.toFixed(2)}-${e?"hdr":"sdr"}-${s.toString()}`,()=>e?b(t,i):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(e??n.hv).toString()})`}(t,i))}function b(t,e){return`color(display-p3 ${(t.r/n.oi).toString()} ${(t.g/n.oi).toString()} ${(t.b/n.oi).toString()} / ${(e??n.hv).toString()})`}function w(t,e,i){const s=i??n.hv;return l(`hsl-${t.h.toFixed(2)}-${t.s.toFixed(2)}-${t.l.toFixed(2)}-${e?"hdr":"sdr"}-${s.toString()}`,()=>e?function(t,e){return b(v(t),e)}(t,i):function(t,e){return`hsla(${t.h.toString()}, ${t.s.toString()}%, ${t.l.toString()}%, ${(e??n.hv).toString()})`}(t,i))}function x(t){return void 0!==t?{h:t.h.value,s:t.s.value,l:t.l.value}:void 0}function z(t,e,i){const s={h:{enable:!1,value:t.h},s:{enable:!1,value:t.s},l:{enable:!1,value:t.l}};return e&&(M(s.h,e.h,i),M(s.s,e.s,i),M(s.l,e.l,i)),s}function M(t,e,i){t.enable=e.enable,t.enable?(t.velocity=(0,s.VG)(e.speed)/n.a5*i,t.decay=n.WH-(0,s.VG)(e.decay),t.status=o.H.increasing,t.loops=n.hK,t.maxLoops=(0,s.VG)(e.count),t.time=n.tR,t.delayTime=(0,s.VG)(e.delay)*n.Xu,e.sync||(t.velocity*=(0,s.G0)(),t.value*=(0,s.G0)()),t.initialValue=t.value,t.offset=(0,s.DT)(e.offset)):t.velocity=n.jn}function k(t,e,i,n){if(!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;if(t.time??=0,(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=n.value),(t.delayTime??0)>0&&t.time<(t.delayTime??0))return;const a=t.offset?(0,s.vE)(t.offset):0,r=(t.velocity??0)*n.factor+3.6*a,c=t.decay??1,l=(0,s.W9)(e),d=(0,s.Sg)(e);if(i&&t.status!==o.H.increasing){t.value-=r;const e=0;t.value<e&&(t.loops??=0,t.loops++,t.status=o.H.increasing)}else t.value+=r,t.value>l&&(t.loops??=0,t.loops++,i?t.status=o.H.decreasing:t.value-=l);t.velocity&&1!==c&&(t.velocity*=c),t.value=(0,s.qE)(t.value,d,l)}function S(t,e){if(!t)return;const{h:i,s,l:a}=t,o={h:{min:n.L1,max:n.vS},s:{min:n.yx,max:n.eu},l:{min:n.vd,max:n.$_}};k(i,o.h,!1,e),k(s,o.s,!0,e),k(a,o.l,!0,e)}},4339(t,e,i){i.d(e,{y:()=>a});var s=i(3269),n=i(5933);class a{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(t){if((0,n.kZ)(t))return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=(0,s.zw)(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.type=t.type)}}},4378(t,e,i){i.d(e,{Z:()=>a});var s=i(5235),n=i(5933);class a{constructor(){this.x=50,this.y=50,this.mode=s.q.percent,this.radius=0}load(t){(0,n.kZ)(t)||(void 0!==t.x&&(this.x=t.x),void 0!==t.y&&(this.y=t.y),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.radius&&(this.radius=t.radius))}}},4865(t,e,i){i.d(e,{P:()=>a});var s=i(1118),n=i(5933);class a extends s.PV{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),(0,n.kZ)(t)||(void 0!==t.opacityRate&&(this.opacityRate=t.opacityRate),void 0!==t.sizeRate&&(this.sizeRate=t.sizeRate),void 0!==t.velocityRate&&(this.velocityRate=t.velocityRate))}}},5235(t,e,i){var s;i.d(e,{q:()=>s}),function(t){t.precise="precise",t.percent="percent"}(s||(s={}))},5450(t,e,i){i.d(e,{M:()=>a,p:()=>n});var s=i(595);class n{constructor(t=s.bo.x,e=s.bo.y,i=s.bo.z){this._updateFromAngle=(t,e)=>{this.x=Math.cos(t)*e,this.y=Math.sin(t)*e},this.x=t,this.y=e,this.z=i}static get origin(){return n.create(s.bo.x,s.bo.y,s.bo.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this._updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this._updateFromAngle(this.angle,t)}static clone(t){return n.create(t.x,t.y,t.z)}static create(t,e,i){return"number"==typeof t?new n(t,e??s.bo.y,i??s.bo.z):new n(t.x,t.y,Object.hasOwn(t,"z")?t.z:s.bo.z)}add(t){return n.create(this.x+t.x,this.y+t.y,this.z+t.z)}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=t.z}copy(){return n.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return n.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**s.dm+this.y**s.dm}mult(t){return n.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;t!=s.dv&&this.multTo(s.hB/t)}rotate(t){return n.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),s.bo.z)}setTo(t){this.x=t.x,this.y=t.y;const e=t;this.z=e.z?e.z:s.bo.z}sub(t){return n.create(this.x-t.x,this.y-t.y,this.z-t.z)}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=t.z}}class a extends n{constructor(t=s.bo.x,e=s.bo.y){super(t,e,s.bo.z)}static get origin(){return a.create(s.bo.x,s.bo.y)}static clone(t){return a.create(t.x,t.y)}static create(t,e){return"number"==typeof t?new a(t,e??s.bo.y):new a(t.x,t.y)}}},5647(t,e,i){var s;i.d(e,{V:()=>s}),function(t){t.none="none",t.max="max",t.min="min"}(s||(s={}))},5681(t,e,i){var s;i.d(e,{H:()=>s}),function(t){t.darken="darken",t.enlighten="enlighten"}(s||(s={}))},5805(t,e,i){var s;i.d(e,{B:()=>s}),function(t){t.configAdded="configAdded",t.containerInit="containerInit",t.particlesSetup="particlesSetup",t.containerStarted="containerStarted",t.containerStopped="containerStopped",t.containerDestroyed="containerDestroyed",t.containerPaused="containerPaused",t.containerPlay="containerPlay",t.containerBuilt="containerBuilt",t.particleAdded="particleAdded",t.particleDestroyed="particleDestroyed",t.particleRemoved="particleRemoved"}(s||(s={}))},5933(t,e,i){function s(t){return"boolean"==typeof t}function n(t){return"string"==typeof t}function a(t){return"number"==typeof t}function o(t){return"object"==typeof t&&null!==t}function r(t){return Array.isArray(t)}function c(t){return null==t}i.d(e,{Et:()=>a,Gv:()=>o,Kg:()=>n,Lm:()=>s,cy:()=>r,kZ:()=>c})},6073(t,e,i){i.d(e,{q:()=>o});var s=i(5647),n=i(3970),a=i(5933);class o extends n.Q{constructor(){super(),this.destroy=s.V.none,this.speed=5}load(t){super.load(t),(0,a.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}},6285(t,e,i){i.d(e,{i:()=>a});var s=i(1045),n=i(5933);class a{constructor(){this.h=new s.e,this.s=new s.e,this.l=new s.e}load(t){(0,n.kZ)(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}},6827(t,e,i){var s;i.d(e,{Y:()=>s}),function(t){t.bounce="bounce",t.none="none",t.out="out",t.destroy="destroy",t.split="split"}(s||(s={}))},6847(t,e,i){i.d(e,{o:()=>o});var s=i(1118),n=i(6073),a=i(5933);class o extends s.AI{constructor(){super(),this.animation=new n.q,this.value=3}load(t){if(super.load(t),(0,a.kZ)(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}}},7521(t,e,i){i.d(e,{I:()=>o});var s=i(5647),n=i(3970),a=i(5933);class o extends n.Q{constructor(){super(),this.destroy=s.V.none,this.speed=2}load(t){super.load(t),(0,a.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}},7541(t,e,i){i.d(e,{F:()=>n});var s=i(1118);class n extends s.PV{constructor(){super(),this.value=1}}},7962(t,e,i){var s;i.d(e,{jl:()=>r,M_:()=>c}),function(t){t.circle="circle",t.rectangle="rectangle"}(s||(s={}));var n=i(9395),a=i(595);class o{constructor(t,e,i){this.position={x:t,y:e},this.type=i}}class r extends o{constructor(t,e,i){super(t,e,s.circle),this.radius=i}contains(t){return(0,n.Yf)(t,this.position)<=this.radius}intersects(t){const e=this.position,i=t.position,n=Math.abs(i.x-e.x),o=Math.abs(i.y-e.y),l=this.radius;if(t instanceof r||t.type===s.circle){return l+t.radius>Math.sqrt(n**a.dm+o**a.dm)}if(t instanceof c||t.type===s.rectangle){const e=t,{width:i,height:s}=e.size;return Math.pow(n-i,a.dm)+Math.pow(o-s,a.dm)<=l**a.dm||n<=l+i&&o<=l+s||n<=i||o<=s}return!1}}class c extends o{constructor(t,e,i,n){super(t,e,s.rectangle),this.size={height:n,width:i}}contains(t){const e=this.size.width,i=this.size.height,s=this.position;return t.x>=s.x&&t.x<=s.x+e&&t.y>=s.y&&t.y<=s.y+i}intersects(t){if(t instanceof r)return t.intersects(this);const e=this.size.width,i=this.size.height,s=this.position,n=t.position,a=t instanceof c?t.size:{width:0,height:0},o=a.width,l=a.height;return n.x<s.x+e&&n.x+o>s.x&&n.y<s.y+i&&n.y+l>s.y}}},8096(t,e,i){var s;i.d(e,{F:()=>s}),function(t){t.bottom="bottom",t.bottomLeft="bottom-left",t.bottomRight="bottom-right",t.left="left",t.none="none",t.right="right",t.top="top",t.topLeft="top-left",t.topRight="top-right",t.outside="outside",t.inside="inside"}(s||(s={}))},8427(t,e,i){i.d(e,{A:()=>a});var s=i(1512),n=i(5933);class a{constructor(){this.mode=s.d.delete,this.value=0}load(t){(0,n.kZ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}},8473(t,e,i){i.d(e,{IU:()=>c,Md:()=>r,Sn:()=>o,Wb:()=>h,e_:()=>d,l7:()=>a,p0:()=>l,yx:()=>u});var s=i(595),n=i(5681);function a(t,e,i){e.clearDraw&&e.clearDraw(t,i)}function o(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(s.bo.x,s.bo.y,e.width,e.height)}function r(t,e,i,n){i&&(t.globalAlpha=n,t.drawImage(i,s.bo.x,s.bo.y,e.width,e.height),t.globalAlpha=1)}function c(t,e){t.clearRect(s.bo.x,s.bo.y,e.width,e.height)}function l(t){const{container:e,context:i,particle:n,delta:a,colorStyles:o,radius:r,opacity:c,transform:l}=t,d=n.getPosition(),h=n.getTransformData(l);i.setTransform(h.a,h.b,h.c,h.d,d.x,d.y),o.fill&&(i.fillStyle=o.fill);const u=n.strokeWidth??s.Dv;i.lineWidth=u,o.stroke&&(i.strokeStyle=o.stroke);const f={context:i,particle:n,radius:r,opacity:c,delta:a,pixelRatio:e.retina.pixelRatio,fill:n.shapeFill,stroke:u>s.Dv||!n.shapeFill,transformData:h};!function(t,e){const{particle:i}=e;if(!i.effect)return;const s=t.effectDrawers.get(i.effect);if(!s?.drawBefore)return;s.drawBefore(e)}(e,f),function(t,e){const{particle:i}=e;if(!i.shape)return;const s=t.shapeDrawers.get(i.shape);if(!s?.beforeDraw)return;s.beforeDraw(e)}(e,f),function(t,e){const{context:i,particle:s,stroke:n}=e;if(!s.shape)return;const a=t.shapeDrawers.get(s.shape);if(!a)return;i.beginPath(),a.draw(e),s.shapeClose&&i.closePath();n&&i.stroke();s.shapeFill&&i.fill()}(e,f),function(t,e){const{particle:i}=e;if(!i.shape)return;const s=t.shapeDrawers.get(i.shape);if(!s?.afterDraw)return;s.afterDraw(e)}(e,f),function(t,e){const{particle:i}=e;if(!i.effect)return;const s=t.effectDrawers.get(i.effect),n=s?.drawAfter;if(!n)return;n(e)}(e,f),i.resetTransform()}function d(t,e,i){e.draw&&e.draw(t,i)}function h(t,e,i,s){e.drawParticle&&e.drawParticle(t,i,s)}function u(t,e,i){return{h:t.h,s:t.s,l:t.l+(e===n.H.darken?-s.iU:s.iU)*i}}},9029(t,e,i){i.d(e,{Z:()=>n,y:()=>a});var s=i(9967);function n(t,...e){for(const i of e)t.load(i)}function a(t,e,...i){const a=new s.U(t,e);return n(a,...i),a}},9030(t,e,i){i.d(e,{v:()=>o});var s=i(1118),n=i(3269),a=i(5933);class o{constructor(){this.clamp=!0,this.delay=new s.PV,this.enable=!1,this.options={}}load(t){(0,a.kZ)(t)||(void 0!==t.clamp&&(this.clamp=t.clamp),this.delay.load(t.delay),void 0!==t.enable&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=(0,n.zw)(this.options,t.options)))}}},9385(t,e,i){i.d(e,{t:()=>n});const s={debug:console.debug,error:(t,e)=>{console.error(`tsParticles - Error - ${t}`,e)},info:console.info,log:console.log,verbose:console.log,warning:console.warn};function n(){return s}},9395(t,e,i){i.d(e,{$m:()=>k,DT:()=>b,G0:()=>d,JY:()=>M,M3:()=>_,Nx:()=>S,Sg:()=>y,VG:()=>g,W9:()=>m,Yf:()=>x,e4:()=>h,i0:()=>u,pu:()=>z,px:()=>f,qE:()=>p,vE:()=>v,vr:()=>w});var s=i(8096),n=i(595),a=i(5450),o=i(5933);const r=Math.PI/180;let c=Math.random;const l={nextFrame:t=>requestAnimationFrame(t),cancel:t=>{cancelAnimationFrame(t)}};function d(){return p(c(),0,1-Number.EPSILON)}function h(t,e){return d()*(e-t)+t}function u(t){return l.nextFrame(t)}function f(t){l.cancel(t)}function p(t,e,i){return Math.min(Math.max(t,e),i)}function v(t){const e=m(t);let i=y(t);return e===i&&(i=0),h(i,e)}function g(t){return(0,o.Et)(t)?t:v(t)}function y(t){return(0,o.Et)(t)?t:t.min}function m(t){return(0,o.Et)(t)?t:t.max}function b(t,e){if(t===e||void 0===e&&(0,o.Et)(t))return t;const i=y(t),s=m(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(s,e)}:b(i,s)}function w(t,e){const i=t.x-e.x,s=t.y-e.y;return{dx:i,dy:s,distance:Math.sqrt(i**2+s**2)}}function x(t,e){return w(t,e).distance}function z(t){return t*r}function M(t,e,i){if((0,o.Et)(t))return z(t);switch(t){case s.F.top:return-Math.PI*n.MX;case s.F.topRight:return-Math.PI*n.$G;case s.F.right:return n.Ie;case s.F.bottomRight:return Math.PI*n.$G;case s.F.bottom:return Math.PI*n.MX;case s.F.bottomLeft:return Math.PI*n.Rq;case s.F.left:return Math.PI;case s.F.topLeft:return-Math.PI*n.Rq;case s.F.inside:return Math.atan2(i.y-e.y,i.x-e.x);case s.F.outside:return Math.atan2(e.y-i.y,e.x-i.x);default:return d()*n.R1}}function k(t){const e=a.M.origin;return e.length=1,e.angle=t,e}function S(t){const{position:e,size:i}=t;return{x:e?.x??d()*i.width,y:e?.y??d()*i.height}}function _(t){return t?t.endsWith("%")?parseFloat(t)/n.a5:parseFloat(t):1}},9550(t,e,i){i.d(e,{t:()=>o});var s=i(3269),n=i(5933),a=i(9395);class o{constructor(){this.acceleration=0,this.enable=!1}load(t){(0,n.kZ)(t)||(void 0!==t.acceleration&&(this.acceleration=(0,a.DT)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),t.position&&(this.position=(0,s.zw)({},t.position)))}}},9967(t,e,i){i.d(e,{U:()=>v});var s=i(3269),n=i(1211),a=i(5933);class o{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(t){if((0,a.kZ)(t))return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=(0,s.zw)(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.type=t.type)}}var r=i(3751),c=i(4055),l=i(1786),d=i(304),h=i(4339),u=i(6847),f=i(214),p=i(4865);class v{constructor(t,e){this._engine=t,this._container=e,this.bounce=new l.w,this.color=new n.A,this.color.value="#fff",this.effect=new o,this.groups={},this.move=new r.y,this.number=new d.N,this.opacity=new c.Y,this.reduceDuplicates=!1,this.shape=new h.y,this.size=new u.o,this.stroke=new f.t,this.zIndex=new p.P}load(t){if((0,a.kZ)(t))return;if(void 0!==t.groups)for(const e of Object.keys(t.groups)){if(!Object.hasOwn(t.groups,e))continue;const i=t.groups[e];void 0!==i&&(this.groups[e]=(0,s.zw)(this.groups[e]??{},i))}void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.color.load(n.A.create(this.color,t.color)),this.effect.load(t.effect),this.move.load(t.move),this.number.load(t.number),this.opacity.load(t.opacity),this.shape.load(t.shape),this.size.load(t.size),this.zIndex.load(t.zIndex);const e=t.stroke;if(e&&(this.stroke=(0,s.wJ)(e,t=>{const e=new f.t;return e.load(t),e})),this._container){for(const e of this._engine.plugins)e.loadParticlesOptions&&e.loadParticlesOptions(this._container,this,t);const e=this._engine.updaters.get(this._container);if(e)for(const i of e)i.loadOptions&&i.loadOptions(this,t)}}}}},s={};function n(t){var e=s[t];if(void 0!==e)return e.exports;var a=s[t]={exports:{}};return i[t](a,a.exports,n),a.exports}n.m=i,n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.f={},n.e=t=>Promise.all(Object.keys(n.f).reduce((e,i)=>(n.f[i](t,e),e),[])),n.u=t=>t+".min.js",n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="@tsparticles/preset-fire:",n.l=(i,s,a,o)=>{if(t[i])t[i].push(s);else{var r,c;if(void 0!==a)for(var l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var h=l[d];if(h.getAttribute("src")==i||h.getAttribute("data-webpack")==e+a){r=h;break}}r||(c=!0,(r=document.createElement("script")).charset="utf-8",n.nc&&r.setAttribute("nonce",n.nc),r.setAttribute("data-webpack",e+a),r.src=i),t[i]=[s];var u=(e,s)=>{r.onerror=r.onload=null,clearTimeout(f);var n=t[i];if(delete t[i],r.parentNode&&r.parentNode.removeChild(r),n&&n.forEach(t=>t(s)),e)return e(s)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),c&&document.head.appendChild(r)}},n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;globalThis.importScripts&&(t=globalThis.location+"");var e=globalThis.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var i=e.getElementsByTagName("script");if(i.length)for(var s=i.length-1;s>-1&&(!t||!/^http(s?):/.test(t));)t=i[s--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=t})(),(()=>{var t={178:0};n.f.j=(e,i)=>{var s=n.o(t,e)?t[e]:void 0;if(0!==s)if(s)i.push(s[2]);else{var a=new Promise((i,n)=>s=t[e]=[i,n]);i.push(s[2]=a);var o=n.p+n.u(e),r=new Error;n.l(o,i=>{if(n.o(t,e)&&(0!==(s=t[e])&&(t[e]=void 0),s)){var a=i&&("load"===i.type?"missing":i.type),o=i&&i.target&&i.target.src;r.message="Loading chunk "+e+" failed.\n("+a+": "+o+")",r.name="ChunkLoadError",r.type=a,r.request=o,s[1](r)}},"chunk-"+e,e)}};var e=(e,i)=>{var s,a,[o,r,c]=i,l=0;if(o.some(e=>0!==t[e])){for(s in r)n.o(r,s)&&(n.m[s]=r[s]);if(c)c(n)}for(e&&e(i);l<o.length;l++)a=o[l],n.o(t,a)&&t[a]&&t[a][0](),t[a]=0},i=this.webpackChunk_tsparticles_preset_fire=this.webpackChunk_tsparticles_preset_fire||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var a={};n.r(a),n.d(a,{loadFirePreset:()=>r,tsParticles:()=>c.$k3});const o="fire";async function r(t){await t.register(async t=>{const{loadBasic:e}=await n.e(196).then(n.bind(n,1196)),{loadExternalPushInteraction:i}=await n.e(256).then(n.bind(n,4256)),{options:s}=await n.e(778).then(n.bind(n,8778));await e(t),await i(t),t.addPreset(o,s)})}var c=n(3511);return a})());
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={6027(e,t,i){i.d(t,{$G:()=>D,$_:()=>E,$v:()=>B,$x:()=>z,BF:()=>ep,DN:()=>H,D_:()=>er,Dv:()=>eo,Eo:()=>U,Fl:()=>ev,Ie:()=>R,JC:()=>G,K3:()=>ei,L1:()=>T,LD:()=>es,MX:()=>l,NF:()=>n,Nu:()=>eu,Nx:()=>j,PZ:()=>X,Pf:()=>em,R1:()=>v,RF:()=>m,RV:()=>Z,Rq:()=>A,U0:()=>I,Ug:()=>c,WH:()=>J,X$:()=>y,X_:()=>Q,Xu:()=>d,Zp:()=>k,a5:()=>o,aE:()=>eh,bo:()=>u,ce:()=>g,dm:()=>w,dv:()=>K,eb:()=>a,eu:()=>O,gd:()=>p,hB:()=>S,hK:()=>eg,hv:()=>V,i8:()=>q,iU:()=>el,iX:()=>x,jn:()=>ef,lA:()=>ea,mR:()=>h,nK:()=>r,nq:()=>W,oi:()=>_,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:()=>L,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,S=1,_=255,P=360,O=100,E=100,T=0,L=0,I=60,R=0,D=.25,A=.75,$=1,F=0,Z=1,V=1,G=1,C=0,q=120,H=0,j=0,B=1e4,X=0,N=1,K=0,J=1,U=1,Q=0,Y=0,W=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},2130(e,t,i){i.d(t,{jl:()=>l,M_:()=>d}),(a=s||(s={})).circle="circle",a.rectangle="rectangle";var a,s,n=i(1451),r=i(6027);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}}},5186(e,t,i){i.d(t,{M:()=>r,p:()=>n});var a=i(6027);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)}}},1187(e,t,i){var a,s;i.d(t,{H:()=>a}),(s=a||(a={})).increasing="increasing",s.decreasing="decreasing"},4840(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"},5248(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"},9993(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"},6192(e,t,i){var a,s;i.d(t,{d:()=>a}),(s=a||(a={})).delete="delete",s.wait="wait"},4435(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"},9563(e,t,i){var a,s;i.d(t,{q:()=>a}),(s=a||(a={})).precise="precise",s.percent="percent"},4393(e,t,i){var a,s;i.d(t,{H:()=>a}),(s=a||(a={})).darken="darken",s.enlighten="enlighten"},9319(e,t,i){var a,s;i.d(t,{V:()=>a}),(s=a||(a={})).none="none",s.max="max",s.min="min"},4085(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"},9827(e,t,i){var a,s;i.d(t,{x:()=>a}),(s=a||(a={})).normal="normal",s.inside="inside",s.outside="outside"},1004(e,t,i){var a,s;i.d(t,{S:()=>a}),(s=a||(a={})).max="max",s.min="min",s.random="random"},4179(e,t,i){i.d(t,{A:()=>r});var a=i(3829),s=i(5365),n=i(4899);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))}}},4570(e,t,i){i.d(t,{Q:()=>l,p:()=>o});var a=i(9993),s=i(1004),n=i(3829),r=i(1451);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))}}},2845(e,t,i){i.d(t,{e:()=>r});var a=i(4570),s=i(3829),n=i(1451);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)))}}},5365(e,t,i){i.d(t,{i:()=>r});var a=i(6027),s=i(2845),n=i(3829);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))}}},4757(e,t,i){i.d(t,{J:()=>c});var a=i(4477),s=i(3829),n=i(4899);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(9725),u=i(1451);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:{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._pluginManager.getPreset(e))}}},4899(e,t,i){i.d(t,{O:()=>s});var a=i(3829);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))}}},5122(e,t,i){i.d(t,{w:()=>n});var a=i(2109),s=i(3829);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))}}},2109(e,t,i){i.d(t,{F:()=>s});var a=i(598);class s extends a.PV{constructor(){super(),this.value=1}}},3823(e,t,i){i.d(t,{S:()=>r});var a=i(4179),s=i(3829),n=i(1451);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)))}}},3551(e,t,i){i.d(t,{y:()=>h});var a=i(4840),s=i(3829),n=i(704),r=i(7602),o=i(4809),l=i(4238),d=i(4110),u=i(454),c=i(1451);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)}}},704(e,t,i){i.d(t,{h:()=>n});var a=i(3829),s=i(1451);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)))}}},7602(e,t,i){i.d(t,{Z:()=>n});var a=i(9563),s=i(3829);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))}}},4809(e,t,i){i.d(t,{y:()=>n});var a=i(3829),s=i(1451);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)))}}},4110(e,t,i){i.d(t,{j:()=>n});var a=i(4435),s=i(3829);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)}}},4238(e,t,i){i.d(t,{v:()=>r});var a=i(598),s=i(4477),n=i(3829);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)))}}},454(e,t,i){i.d(t,{t:()=>r});var a=i(4477),s=i(3829),n=i(1451);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)))}}},3432(e,t,i){i.d(t,{N:()=>r});var a=i(3829);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(547);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))}}},547(e,t,i){i.d(t,{A:()=>n});var a=i(6192),s=i(3829);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))}}},6575(e,t,i){i.d(t,{Y:()=>r});var a=i(2921),s=i(598),n=i(3829);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)}}},2921(e,t,i){i.d(t,{I:()=>r});var a=i(9319),s=i(4570),n=i(3829);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)}}},6951(e,t,i){i.d(t,{U:()=>f});var a=i(4477),s=i(3829);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(3823),o=i(3551),l=i(6575),d=i(5122),u=i(3432),c=i(2827),h=i(1415),p=i(6078),v=i(2617);class f{bounce;effect;fill;groups;move;number;opacity;reduceDuplicates;shape;size;stroke;zIndex;_container;_pluginManager;constructor(e,t){this._pluginManager=e,this._container=t,this.bounce=new d.w,this.effect=new n,this.fill=new r.S,this.groups={},this.move=new o.y,this.number=new u.N,this.opacity=new l.Y,this.reduceDuplicates=!1,this.shape=new c.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 r.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._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)}}}},2827(e,t,i){i.d(t,{y:()=>n});var a=i(4477),s=i(3829);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)}}},1415(e,t,i){i.d(t,{o:()=>r});var a=i(598),s=i(6305),n=i(3829);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)}}},6305(e,t,i){i.d(t,{q:()=>r});var a=i(9319),s=i(4570),n=i(3829);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)}}},6078(e,t,i){i.d(t,{t:()=>r});var a=i(4179),s=i(3829),n=i(1451);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)))}}},2617(e,t,i){i.d(t,{P:()=>n});var a=i(598),s=i(3829);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))}}},598(e,t,i){i.d(t,{AI:()=>l,PV:()=>r});var a=i(4570),s=i(3829),n=i(1451);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)}}},9297(e,t,i){i.d(t,{IU:()=>r,Md:()=>n,Sn:()=>s,Wb:()=>l,p0:()=>o});var a=i(6027);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(),n&&i.stroke(),a&&i.fill())}(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)}},5482(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(1451),s=i(6027),n=i(3829),r=i(4393),o=i(1187),l=i(4477);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}}},9281(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}},1451(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:()=>_,Nx:()=>S,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(4840),s=i(6027),n=i(5186),r=i(3829);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 S(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}},9725(e,t,i){i.d(t,{Z:()=>s,y:()=>n});var a=i(6951);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}},3829(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})},4477(e,t,i){let a,s,n,r,o;i.d(t,{AE:()=>S,BR:()=>w,E9:()=>T,HQ:()=>A,Kp:()=>D,Ot:()=>$,T5:()=>m,TA:()=>P,Tj:()=>k,UC:()=>L,Vh:()=>z,Xs:()=>E,hJ:()=>R,hn:()=>M,lV:()=>b,tG:()=>x,td:()=>I,w3:()=>O,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(1451),u=i(6027),c=i(3829),h=i(9993),p=i(1187),v=i(9319),f=i(5248),g=i(9563),y=i(1004);function m(){return globalThis.document}function b(e){if("u">typeof matchMedia)return matchMedia(e)}function w(e){if("u">typeof IntersectionObserver)return new IntersectionObserver(e)}function x(e){if("u">typeof MutationObserver)return new MutationObserver(e)}function M(e,t){return e===t||(0,c.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,r,o,l;let d;return n=S(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 S(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 P(e,t,i){return(0,c.cy)(e)?z(e,t,i):e}function O(e,t){return(0,c.cy)(e)?e.find((e,i)=>t(e,i)):t(e,0)?e:void 0}function E(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 T(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 L(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>=o?(i?t.status=p.H.decreasing:t.value-=o,t.loops??=0,t.loops++):t.value+=n;break;case p.H.decreasing:t.value<=r?(i?t.status=p.H.increasing:t.value+=o,t.loops??=0,t.loops++):t.value-=n}t.velocity&&1!==l&&(t.velocity*=l);var u=t.value;switch(a){case v.V.max:u>=o&&e.destroy();break;case v.V.min:u<=r&&e.destroy()}t.value=(0,d.qE)(t.value,r,o)}}function I(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(5186);let R=(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 D(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 A(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 $(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}},3360(e,t,i){i.d(t,{Yzx:()=>x.Y,v5k:()=>w.v,x_I:()=>M.x,pTR:()=>r,Miz:()=>b.M,AEc:()=>u.AE,qE8:()=>f.qE,WH8:()=>d.WH,zwS:()=>u.zw,puj:()=>f.pu,gdl:()=>d.gd,R1e:()=>d.R1,wJ2:()=>u.wJ,w3Z:()=>u.w3,YfF:()=>f.Yf,vrU:()=>f.vr,pzy:()=>z.pz,OtU:()=>u.Ot,HQK:()=>u.HQ,G0i:()=>f.G0,W9e:()=>f.W9,VGA:()=>f.VG,MXx:()=>d.MX,YLU:()=>z.YL,ayx:()=>z.ay,XsS:()=>u.Xs,cyL:()=>k.cy,hnD:()=>u.hn,kZJ:()=>k.kZ,Gvm:()=>k.Gv,Tj8:()=>u.Tj,Vh1:()=>u.Vh,TA3:()=>u.TA,K3:()=>d.K3,KpY:()=>u.Kp,XuV:()=>d.Xu,boI:()=>d.bo,M3Y:()=>f.M3,a56:()=>d.a5,vEz:()=>f.vE,R5R:()=>z.R5,T5G:()=>u.T5,BRq:()=>u.BR,DT4:()=>f.DT,$k3:()=>S,UC0:()=>u.UC,JvX:()=>z.Jv,nKi:()=>d.nK});var a,s,n,r,o,l,d=i(6027),u=i(4477);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(4085);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(9281),f=i(1451);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.1"}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(930).then(i.bind(i,4930)),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(2130);var b=i(5186);i(4840),(a=r||(r={})).clockwise="clockwise",a.counterClockwise="counter-clockwise",a.random="random";var w=i(5248);i(9993),i(6192);var x=i(4435);i(9563),i(4393),i(9319),(s=o||(o={})).linear="linear",s.radial="radial",s.random="random";var M=i(9827);i(1004),(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(1187),i(4179),i(4570),i(2845),i(5365),i(4757),i(5122),i(2109),i(6951),i(3823),i(6078),i(3551),i(704),i(7602),i(4809),i(4110),i(4238),i(454),i(3432),i(547),i(6575),i(2921),i(2827),i(1415),i(6305),i(2617),i(598),i(9297);var z=i(5482);i(9725);var k=i(3829);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-fire:"+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-fire:"+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_fire=this.webpackChunk_tsparticles_preset_fire||[]).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},{loadInteractivityPlugin:i},{loadExternalPushInteraction:a},{options:s}]=await Promise.all([n.e(316).then(n.bind(n,316)),n.e(731).then(n.bind(n,8731)),n.e(398).then(n.bind(n,5398)),n.e(28).then(n.bind(n,5028))]);await Promise.all([t(e),(async()=>{await i(e),await a(e)})()]),e.pluginManager.addPreset("fire",s)})}n.r(c),n.d(c,{loadFirePreset:()=>h,tsParticles:()=>p.$k3});var p=n(3360);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.2
7
+ * v4.0.0-alpha.5
8
8
  */
9
9
  /*
10
10
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
@@ -16,28 +16,18 @@
16
16
  */
17
17
  (function webpackUniversalModuleDefinition(root, factory) {
18
18
  if(typeof exports === 'object' && typeof module === 'object')
19
- module.exports = factory(require("@tsparticles/interaction-external-push"), require("@tsparticles/basic"));
19
+ module.exports = factory(require("@tsparticles/interaction-external-push"), require("@tsparticles/plugin-interactivity"), require("@tsparticles/basic"));
20
20
  else if(typeof define === 'function' && define.amd)
21
- define(["@tsparticles/interaction-external-push", "@tsparticles/basic"], factory);
21
+ define(["@tsparticles/interaction-external-push", "@tsparticles/plugin-interactivity", "@tsparticles/basic"], factory);
22
22
  else {
23
- var a = typeof exports === 'object' ? factory(require("@tsparticles/interaction-external-push"), require("@tsparticles/basic")) : factory(root["window"], root["window"]);
23
+ var a = typeof exports === 'object' ? factory(require("@tsparticles/interaction-external-push"), require("@tsparticles/plugin-interactivity"), require("@tsparticles/basic")) : factory(root["window"], 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_interaction_external_push__, __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__) => {
26
+ })(this, (__WEBPACK_EXTERNAL_MODULE__tsparticles_interaction_external_push__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_interactivity__, __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__) => {
27
27
  return /******/ (() => { // webpackBootstrap
28
28
  /******/ "use strict";
29
29
  /******/ var __webpack_modules__ = ({
30
30
 
31
- /***/ "./dist/browser/index.js"
32
- /*!*******************************!*\
33
- !*** ./dist/browser/index.js ***!
34
- \*******************************/
35
- (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36
-
37
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadFirePreset: () => (/* binding */ loadFirePreset)\n/* harmony export */ });\nconst presetName = \"fire\";\nasync function loadFirePreset(engine) {\n await engine.register(async e => {\n const {\n loadBasic\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/basic */ \"@tsparticles/basic\", 19)),\n {\n loadExternalPushInteraction\n } = await Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/interaction-external-push */ \"@tsparticles/interaction-external-push\", 19)),\n {\n options\n } = await __webpack_require__.e(/*! import() */ \"dist_browser_options_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./options.js */ \"./dist/browser/options.js\"));\n await loadBasic(e);\n await loadExternalPushInteraction(e);\n e.addPreset(presetName, options);\n });\n}\n\n//# sourceURL=webpack://@tsparticles/preset-fire/./dist/browser/index.js?\n}");
38
-
39
- /***/ },
40
-
41
31
  /***/ "@tsparticles/basic"
42
32
  /*!******************************************************************************************************************************!*\
43
33
  !*** external {"commonjs":"@tsparticles/basic","commonjs2":"@tsparticles/basic","amd":"@tsparticles/basic","root":"window"} ***!
@@ -56,6 +46,26 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__;
56
46
 
57
47
  module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_interaction_external_push__;
58
48
 
49
+ /***/ },
50
+
51
+ /***/ "@tsparticles/plugin-interactivity"
52
+ /*!***************************************************************************************************************************************************************************!*\
53
+ !*** external {"commonjs":"@tsparticles/plugin-interactivity","commonjs2":"@tsparticles/plugin-interactivity","amd":"@tsparticles/plugin-interactivity","root":"window"} ***!
54
+ \***************************************************************************************************************************************************************************/
55
+ (module) {
56
+
57
+ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_interactivity__;
58
+
59
+ /***/ },
60
+
61
+ /***/ "./dist/browser/index.js"
62
+ /*!*******************************!*\
63
+ !*** ./dist/browser/index.js ***!
64
+ \*******************************/
65
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
66
+
67
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadFirePreset: () => (/* binding */ loadFirePreset)\n/* harmony export */ });\nconst presetName = \"fire\";\nasync function loadFirePreset(engine) {\n await engine.pluginManager.register(async (e)=>{\n const [{ loadBasic }, { loadInteractivityPlugin }, { loadExternalPushInteraction }, { 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/plugin-interactivity */ \"@tsparticles/plugin-interactivity\", 19)),\n Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(__webpack_require__, /*! @tsparticles/interaction-external-push */ \"@tsparticles/interaction-external-push\", 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 (async ()=>{\n await loadInteractivityPlugin(e);\n await loadExternalPushInteraction(e);\n })()\n ]);\n e.pluginManager.addPreset(presetName, options);\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fire/./dist/browser/index.js?\n}");
68
+
59
69
  /***/ }
60
70
 
61
71
  /******/ });
@@ -70,12 +80,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_interaction_external_pus
70
80
  /******/ if (cachedModule !== undefined) {
71
81
  /******/ return cachedModule.exports;
72
82
  /******/ }
73
- /******/ // Check if module exists (development only)
74
- /******/ if (__webpack_modules__[moduleId] === undefined) {
75
- /******/ var e = new Error("Cannot find module '" + moduleId + "'");
76
- /******/ e.code = 'MODULE_NOT_FOUND';
77
- /******/ throw e;
78
- /******/ }
79
83
  /******/ // Create a new module (and put it into the cache)
80
84
  /******/ var module = __webpack_module_cache__[moduleId] = {
81
85
  /******/ // no module.id needed
@@ -84,6 +88,12 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_interaction_external_pus
84
88
  /******/ };
85
89
  /******/
86
90
  /******/ // Execute the module function
91
+ /******/ if (!(moduleId in __webpack_modules__)) {
92
+ /******/ delete __webpack_module_cache__[moduleId];
93
+ /******/ var e = new Error("Cannot find module '" + moduleId + "'");
94
+ /******/ e.code = 'MODULE_NOT_FOUND';
95
+ /******/ throw e;
96
+ /******/ }
87
97
  /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
88
98
  /******/
89
99
  /******/ // Return the exports of the module
@@ -158,6 +168,18 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_interaction_external_pus
158
168
  /******/ };
159
169
  /******/ })();
160
170
  /******/
171
+ /******/ /* webpack/runtime/global */
172
+ /******/ (() => {
173
+ /******/ __webpack_require__.g = (function() {
174
+ /******/ if (typeof globalThis === 'object') return globalThis;
175
+ /******/ try {
176
+ /******/ return this || new Function('return this')();
177
+ /******/ } catch (e) {
178
+ /******/ if (typeof window === 'object') return window;
179
+ /******/ }
180
+ /******/ })();
181
+ /******/ })();
182
+ /******/
161
183
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
162
184
  /******/ (() => {
163
185
  /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
@@ -222,8 +244,8 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_interaction_external_pus
222
244
  /******/ /* webpack/runtime/publicPath */
223
245
  /******/ (() => {
224
246
  /******/ var scriptUrl;
225
- /******/ if (globalThis.importScripts) scriptUrl = globalThis.location + "";
226
- /******/ var document = globalThis.document;
247
+ /******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
248
+ /******/ var document = __webpack_require__.g.document;
227
249
  /******/ if (!scriptUrl && document) {
228
250
  /******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
229
251
  /******/ scriptUrl = document.currentScript.src;
@@ -1,2 +1,2 @@
1
- /*! For license information please see tsparticles.preset.fire.min.js.LICENSE.txt */
2
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/interaction-external-push"),require("@tsparticles/basic"));else if("function"==typeof define&&define.amd)define(["@tsparticles/interaction-external-push","@tsparticles/basic"],t);else{var r="object"==typeof exports?t(require("@tsparticles/interaction-external-push"),require("@tsparticles/basic")):t(e.window,e.window);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(this,(e,t)=>(()=>{var r,o,i,a,n={145(e){e.exports=t},184(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 n[e](r,r.exports,c),r.exports}c.m=n,o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var i=Object.create(null);c.r(i);var a={};r=r||[null,o({}),o([]),o(o)];for(var n=2&t&&e;("object"==typeof n||"function"==typeof n)&&!~r.indexOf(n);n=o(n))Object.getOwnPropertyNames(n).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,c.d(i,a),i},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.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i={},a="@tsparticles/preset-fire:",c.l=(e,t,r,o)=>{if(i[e])i[e].push(t);else{var n,s;if(void 0!==r)for(var l=document.getElementsByTagName("script"),p=0;p<l.length;p++){var u=l[p];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==a+r){n=u;break}}n||(s=!0,(n=document.createElement("script")).charset="utf-8",c.nc&&n.setAttribute("nonce",c.nc),n.setAttribute("data-webpack",a+r),n.src=e),i[e]=[t];var f=(t,r)=>{n.onerror=n.onload=null,clearTimeout(d);var o=i[e];if(delete i[e],n.parentNode&&n.parentNode.removeChild(n),o&&o.forEach(e=>e(r)),t)return t(r)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=f.bind(null,n.onerror),n.onload=f.bind(null,n.onload),s&&document.head.appendChild(n)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var t=globalThis.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),c.p=e})(),(()=>{var e={860:0};c.f.j=(t,r)=>{var o=c.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise((r,i)=>o=e[t]=[r,i]);r.push(o[2]=i);var a=c.p+c.u(t),n=new Error;c.l(a,r=>{if(c.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;n.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",n.name="ChunkLoadError",n.type=i,n.request=a,o[1](n)}},"chunk-"+t,t)}};var t=(t,r)=>{var o,i,[a,n,s]=r,l=0;if(a.some(t=>0!==e[t])){for(o in n)c.o(n,o)&&(c.m[o]=n[o]);if(s)s(c)}for(t&&t(r);l<a.length;l++)i=a[l],c.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=this.webpackChunk_tsparticles_preset_fire=this.webpackChunk_tsparticles_preset_fire||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var l={};c.r(l),c.d(l,{loadFirePreset:()=>u});const p="fire";async function u(e){await e.register(async e=>{const{loadBasic:t}=await Promise.resolve().then(c.t.bind(c,145,19)),{loadExternalPushInteraction:r}=await Promise.resolve().then(c.t.bind(c,184,19)),{options:o}=await c.e(778).then(c.bind(c,778));await t(e),await r(e),e.addPreset(p,o)})}return l})());
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/interaction-external-push"),require("@tsparticles/plugin-interactivity"),require("@tsparticles/basic"));else if("function"==typeof define&&define.amd)define(["@tsparticles/interaction-external-push","@tsparticles/plugin-interactivity","@tsparticles/basic"],t);else{var r="object"==typeof exports?t(require("@tsparticles/interaction-external-push"),require("@tsparticles/plugin-interactivity"),require("@tsparticles/basic")):t(e.window,e.window,e.window);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(this,(e,t,r)=>(()=>{"use strict";var i,o,n,a={145(e){e.exports=r},184(t){t.exports=e},702(e){e.exports=t}},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 i={};p=p||[null,l({}),l([]),l(l)];for(var o=2&t&&e;("object"==typeof o||"function"==typeof o)&&!~p.indexOf(o);o=l(o))Object.getOwnPropertyNames(o).forEach(t=>i[t]=()=>e[t]);return i.default=()=>e,c.d(r,i),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,i)=>{if(u[e])return void u[e].push(t);if(void 0!==r)for(var o,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-fire:"+r){o=p;break}}o||(n=!0,(o=document.createElement("script")).charset="utf-8",c.nc&&o.setAttribute("nonce",c.nc),o.setAttribute("data-webpack","@tsparticles/preset-fire:"+r),o.src=e),u[e]=[t];var l=(t,r)=>{o.onerror=o.onload=null,clearTimeout(f);var i=u[e];if(delete u[e],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach(e=>e(r)),t)return t(r)},f=setTimeout(l.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=l.bind(null,o.onerror),o.onload=l.bind(null,o.onload),n&&document.head.appendChild(o)},c.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.g.importScripts&&(f=c.g.location+"");var p,l,u,f,d=c.g.document;if(!f&&d&&(d.currentScript&&"SCRIPT"===d.currentScript.tagName.toUpperCase()&&(f=d.currentScript.src),!f)){var b=d.getElementsByTagName("script");if(b.length)for(var h=b.length-1;h>-1&&(!f||!/^http(s?):/.test(f));)f=b[h--].src}if(!f)throw Error("Automatic publicPath is not supported in this browser");c.p=f=f.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i={860:0},c.f.j=(e,t)=>{var r=c.o(i,e)?i[e]:void 0;if(0!==r)if(r)t.push(r[2]);else{var o=new Promise((t,o)=>r=i[e]=[t,o]);t.push(r[2]=o);var n=c.p+c.u(e),a=Error();c.l(n,t=>{if(c.o(i,e)&&(0!==(r=i[e])&&(i[e]=void 0),r)){var o=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;a.message="Loading chunk "+e+` failed.
2
+ (`+o+": "+n+")",a.name="ChunkLoadError",a.type=o,a.request=n,r[1](a)}},"chunk-"+e,e)}},o=(e,t)=>{var r,o,[n,a,s]=t,p=0;if(n.some(e=>0!==i[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++)o=n[p],c.o(i,o)&&i[o]&&i[o][0](),i[o]=0},(n=this.webpackChunk_tsparticles_preset_fire=this.webpackChunk_tsparticles_preset_fire||[]).forEach(o.bind(null,0)),n.push=o.bind(null,n.push.bind(n));var g={};async function m(e){await e.pluginManager.register(async e=>{let[{loadBasic:t},{loadInteractivityPlugin:r},{loadExternalPushInteraction:i},{options:o}]=await Promise.all([Promise.resolve().then(c.t.bind(c,145,19)),Promise.resolve().then(c.t.bind(c,702,19)),Promise.resolve().then(c.t.bind(c,184,19)),c.e(28).then(c.bind(c,28))]);await Promise.all([t(e),(async()=>{await r(e),await i(e)})()]),e.pluginManager.addPreset("fire",o)})}return c.r(g),c.d(g,{loadFirePreset:()=>m}),g})());
package/umd/index.js CHANGED
@@ -46,11 +46,21 @@ var __importStar = (this && this.__importStar) || (function () {
46
46
  exports.loadFirePreset = loadFirePreset;
47
47
  const presetName = "fire";
48
48
  async function loadFirePreset(engine) {
49
- await engine.register(async (e) => {
50
- const { loadBasic } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/basic"))) : new Promise((resolve_1, reject_1) => { require(["@tsparticles/basic"], resolve_1, reject_1); }).then(__importStar)), { loadExternalPushInteraction } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/interaction-external-push"))) : new Promise((resolve_2, reject_2) => { require(["@tsparticles/interaction-external-push"], resolve_2, reject_2); }).then(__importStar)), { options } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("./options.js"))) : new Promise((resolve_3, reject_3) => { require(["./options.js"], resolve_3, reject_3); }).then(__importStar));
51
- await loadBasic(e);
52
- await loadExternalPushInteraction(e);
53
- e.addPreset(presetName, options);
49
+ await engine.pluginManager.register(async (e) => {
50
+ const [{ loadBasic }, { loadInteractivityPlugin }, { loadExternalPushInteraction }, { options }] = await Promise.all([
51
+ __syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/basic"))) : new Promise((resolve_1, reject_1) => { require(["@tsparticles/basic"], resolve_1, reject_1); }).then(__importStar),
52
+ __syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/plugin-interactivity"))) : new Promise((resolve_2, reject_2) => { require(["@tsparticles/plugin-interactivity"], resolve_2, reject_2); }).then(__importStar),
53
+ __syncRequire ? Promise.resolve().then(() => __importStar(require("@tsparticles/interaction-external-push"))) : new Promise((resolve_3, reject_3) => { require(["@tsparticles/interaction-external-push"], resolve_3, reject_3); }).then(__importStar),
54
+ __syncRequire ? Promise.resolve().then(() => __importStar(require("./options.js"))) : new Promise((resolve_4, reject_4) => { require(["./options.js"], resolve_4, reject_4); }).then(__importStar),
55
+ ]);
56
+ await Promise.all([
57
+ loadBasic(e),
58
+ (async () => {
59
+ await loadInteractivityPlugin(e);
60
+ await loadExternalPushInteraction(e);
61
+ })(),
62
+ ]);
63
+ e.pluginManager.addPreset(presetName, options);
54
64
  });
55
65
  }
56
66
  });
package/umd/options.js CHANGED
@@ -19,8 +19,11 @@
19
19
  enable: true,
20
20
  },
21
21
  },
22
- color: {
23
- value: ["#fdcf58", "#757676", "#f27d0c", "#800909", "#f07f13"],
22
+ fill: {
23
+ color: {
24
+ value: ["#fdcf58", "#757676", "#f27d0c", "#800909", "#f07f13"],
25
+ },
26
+ enable: true,
24
27
  },
25
28
  opacity: {
26
29
  value: { min: 0.1, max: 0.5 },