@tsparticles/preset-triangles 4.0.0-beta.0 → 4.0.0-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{215.min.js → 110.min.js} +1 -1
- package/155.min.js +1 -0
- package/{659.min.js → 181.min.js} +1 -1
- package/{512.min.js → 212.min.js} +1 -1
- package/318.min.js +1 -0
- package/349.min.js +1 -0
- package/4.min.js +1 -0
- package/415.min.js +1 -0
- package/425.min.js +1 -0
- package/483.min.js +1 -0
- package/5.min.js +1 -0
- package/{153.min.js → 586.min.js} +1 -1
- package/623.min.js +1 -0
- package/646.min.js +1 -0
- package/662.min.js +1 -0
- package/663.min.js +1 -0
- package/69.min.js +1 -0
- package/748.min.js +1 -0
- package/779.min.js +1 -0
- package/794.min.js +1 -0
- package/{714.min.js → 807.min.js} +1 -1
- package/{857.min.js → 819.min.js} +1 -1
- package/{361.min.js → 837.min.js} +1 -1
- package/{220.min.js → 874.min.js} +1 -1
- package/904.min.js +1 -0
- package/935.min.js +1 -0
- package/938.min.js +1 -0
- package/94.min.js +1 -0
- package/{467.min.js → 979.min.js} +1 -1
- package/bundles_basic_dist_browser_index_js.js +30 -0
- package/dist_browser_options_js.js +1 -1
- package/engine_dist_browser_Core_Container_js.js +100 -0
- package/interactions_particles_links_dist_browser_LinkInstance_js.js +40 -0
- package/interactions_particles_links_dist_browser_Linker_js.js +140 -0
- package/interactions_particles_links_dist_browser_LinksPlugin_js.js +30 -0
- package/interactions_particles_links_dist_browser_index_js.js +60 -0
- package/package.json +6 -6
- package/plugins_colors_hex_dist_browser_HexColorManager_js.js +30 -0
- package/plugins_colors_hex_dist_browser_index_js.js +30 -0
- package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +30 -0
- package/plugins_colors_hsl_dist_browser_index_js.js +30 -0
- package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +30 -0
- package/plugins_colors_rgb_dist_browser_index_js.js +30 -0
- package/plugins_interactivity_dist_browser_InteractivityPluginInstance_js.js +50 -0
- package/plugins_interactivity_dist_browser_InteractivityPlugin_js.js +70 -0
- package/plugins_interactivity_dist_browser_index_js.js +120 -0
- package/plugins_move_dist_browser_MovePluginInstance_js.js +40 -0
- package/plugins_move_dist_browser_MovePlugin_js.js +30 -0
- package/plugins_move_dist_browser_index_js.js +30 -0
- package/report.html +1 -1
- package/shapes_circle_dist_browser_CircleDrawer_js.js +40 -0
- package/shapes_circle_dist_browser_index_js.js +30 -0
- package/tsparticles.preset.triangles.bundle.js +328 -328
- package/tsparticles.preset.triangles.bundle.min.js +2 -2
- package/tsparticles.preset.triangles.js +1 -1
- package/tsparticles.preset.triangles.min.js +1 -1
- package/updaters_opacity_dist_browser_OpacityUpdater_js.js +30 -0
- package/updaters_opacity_dist_browser_index_js.js +30 -0
- package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +80 -0
- package/updaters_outModes_dist_browser_index_js.js +30 -0
- package/updaters_paint_dist_browser_PaintUpdater_js.js +30 -0
- package/updaters_paint_dist_browser_index_js.js +30 -0
- package/updaters_size_dist_browser_SizeUpdater_js.js +30 -0
- package/updaters_size_dist_browser_index_js.js +30 -0
- package/170.min.js +0 -1
- package/172.min.js +0 -1
- package/188.min.js +0 -1
- package/260.min.js +0 -1
- package/304.min.js +0 -1
- package/392.min.js +0 -1
- package/404.min.js +0 -1
- package/48.min.js +0 -1
- package/592.min.js +0 -1
- package/63.min.js +0 -1
- package/632.min.js +0 -1
- package/700.min.js +0 -1
- package/719.min.js +0 -1
- package/72.min.js +0 -1
- package/74.min.js +0 -1
- package/750.min.js +0 -1
- package/86.min.js +0 -1
- package/892.min.js +0 -1
- package/929.min.js +0 -1
- package/957.min.js +0 -1
- package/node_modules_pnpm_tsparticles_basic_4_0_0-beta_11_node_modules_tsparticles_basic_browser_index_js.js +0 -30
- package/node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-beta_11__tsparticles_canvas-u-806af0.js +0 -60
- package/node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-beta_11__tsparticles_canvas-u-9987aa.js +0 -30
- package/node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-beta_11__tsparticles_canvas-u-e325aa.js +0 -40
- package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-5e0ff2.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-b0d0ee.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-060416.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-a6d106.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_4_0_0-be-47e198.js +0 -120
- package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_4_0_0-be-710e43.js +0 -70
- package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-3a792b.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-e1bc4b.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-d9836d.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-f22022.js +0 -30
- package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-7552ae.js +0 -40
- package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-b06fc7.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-8f9e09.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-da77ce.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_-df7144.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-589482.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-b1f330.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a47b81.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-d2508a.js +0 -30
- package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-beta_11_node_modules_tsparticles_engine_br-ca098e.js +0 -100
- package/vendors-node_modules_pnpm_tsparticles_interaction-particles-links_4_0_0-beta_11__tsparticles_-ecbc0d.js +0 -140
- package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_-32e86c.js +0 -50
- package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-bet-5f2b78.js +0 -40
- package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0-09fa1a.js +0 -80
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var a in i)("object"==typeof exports?exports:e)[a]=i[a]}}(this,()=>(()=>{"use strict";var e,t,i,a={8660(e,t,i){i.d(t,{$G:()=>A,$_:()=>T,$v:()=>N,$x:()=>k,BF:()=>ev,BW:()=>p,DN:()=>H,D_:()=>eo,Dv:()=>el,Eo:()=>J,Fl:()=>ef,Ie:()=>D,JC:()=>B,K3:()=>ea,L1:()=>L,LD:()=>en,MX:()=>l,NF:()=>n,Nu:()=>ec,Nx:()=>q,PZ:()=>X,Pf:()=>eb,R1:()=>f,RF:()=>b,RV:()=>V,Rq:()=>$,U0:()=>I,Ug:()=>c,WH:()=>U,X$:()=>m,X_:()=>Q,Xu:()=>d,Zp:()=>_,a5:()=>o,aE:()=>ep,bo:()=>u,ce:()=>y,dm:()=>x,dv:()=>W,eb:()=>a,eu:()=>E,gd:()=>v,hB:()=>S,hK:()=>ey,hv:()=>G,i8:()=>j,iU:()=>ed,iX:()=>M,jn:()=>eg,lA:()=>es,mR:()=>h,nK:()=>r,nq:()=>ee,oi:()=>P,ou:()=>Y,rq:()=>w,tA:()=>er,tR:()=>em,vF:()=>C,vS:()=>O,vd:()=>eu,w2:()=>Z,wM:()=>et,xH:()=>K,xd:()=>z,yj:()=>s,yx:()=>R,z$:()=>g,z9:()=>ei,zg:()=>eh,zs:()=>F});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="mid",v=2,f=2*Math.PI,g=60,y="true",m="false",b="canvas",w=0,x=2,M=100,z=1,k=1,_=1,S=1,P=255,O=360,E=100,T=100,L=0,R=0,I=60,D=0,A=.25,$=.75,F=1,Z=0,V=1,G=1,B=1,C=0,j=120,H=0,q=0,N=1e4,X=0,K=1,W=0,U=1,J=1,Q=0,Y=0,ee=1,et=0,ei=0,ea=1,es=1,en=1,er=0,eo=1,el=0,ed=1,eu=0,ec=3,eh=6,ep=1,ev=1,ef=0,eg=0,ey=0,em=0,eb=1},6197(e,t,i){i.d(t,{jl:()=>l,M_:()=>d}),(a=s||(s={})).circle="circle",a.rectangle="rectangle";var a,s,n=i(8770),r=i(8660);class o{position;type;constructor(e,t,i){this.position={x:e,y:t},this.type=i}_resetPosition(e,t){this.position.x=e,this.position.y=t}}class l extends o{radius;constructor(e,t,i){super(e,t,s.circle),this.radius=i}contains(e){return(0,n.gp)(e,this.position,this.radius)}intersects(e){let t=this.position,i=e.position,a=this.radius,n=Math.abs(i.x-t.x),o=Math.abs(i.y-t.y);if(e instanceof l||e.type===s.circle)return a+e.radius>Math.hypot(n,o);if(e instanceof d||e.type===s.rectangle){let{width:t,height:i}=e.size;return Math.pow(n-t,r.dm)+Math.pow(o-i,r.dm)<=a**r.dm||n<=a+t&&o<=a+i||n<=t||o<=i}return!1}reset(e,t,i){return this._resetPosition(e,t),this.radius=i,this}}class d extends o{size;constructor(e,t,i,a){super(e,t,s.rectangle),this.size={height:a,width:i}}contains(e){let t=this.size.width,i=this.size.height,a=this.position;return e.x>=a.x&&e.x<=a.x+t&&e.y>=a.y&&e.y<=a.y+i}intersects(e){if(e instanceof l)return e.intersects(this);if(!(e instanceof d))return!1;let t=this.size.width,i=this.size.height,a=this.position,s=e.position,n=e.size,r=n.width,o=n.height;return s.x<a.x+t&&s.x+r>a.x&&s.y<a.y+i&&s.y+o>a.y}reset(e,t,i,a){return this._resetPosition(e,t),this.size.width=i,this.size.height=a,this}}},4037(e,t,i){i.d(t,{M:()=>r,p:()=>n});var a=i(8660);function s(e){return"z"in e?e.z:a.bo.z}class n{x;y;z;constructor(e=a.bo.x,t=a.bo.y,i=a.bo.z){this.x=e,this.y=t,this.z=i}static get origin(){return n.create(a.bo.x,a.bo.y,a.bo.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(e){this._updateFromAngle(e,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(e){this._updateFromAngle(this.angle,e)}static clone(e){return n.create(e.x,e.y,s(e))}static create(e,t,i){return"number"==typeof e?new n(e,t??a.bo.y,i??a.bo.z):new n(e.x,e.y,s(e))}add(e){return n.create(this.x+e.x,this.y+e.y,this.z+s(e))}addTo(e){this.x+=e.x,this.y+=e.y,this.z+=s(e)}copy(){return n.clone(this)}div(e){return n.create(this.x/e,this.y/e,this.z/e)}divTo(e){this.x/=e,this.y/=e,this.z/=e}getLengthSq(){return this.x**a.dm+this.y**a.dm}mult(e){return n.create(this.x*e,this.y*e,this.z*e)}multTo(e){this.x*=e,this.y*=e,this.z*=e}normalize(){let e=this.length;e!=a.dv&&this.multTo(a.hB/e)}rotate(e){return n.create(this.x*Math.cos(e)-this.y*Math.sin(e),this.x*Math.sin(e)+this.y*Math.cos(e),a.bo.z)}setTo(e){this.x=e.x,this.y=e.y,this.z=s(e)}sub(e){return n.create(this.x-e.x,this.y-e.y,this.z-s(e))}subFrom(e){this.x-=e.x,this.y-=e.y,this.z-=s(e)}_updateFromAngle(e,t){this.x=Math.cos(e)*t,this.y=Math.sin(e)*t}}class r extends n{constructor(e=a.bo.x,t=a.bo.y){super(e,t,a.bo.z)}static get origin(){return r.create(a.bo.x,a.bo.y)}static clone(e){return r.create(e.x,e.y)}static create(e,t){return"number"==typeof e?new r(e,t??a.bo.y):new r(e.x,e.y)}}},2314(e,t,i){var a,s;i.d(t,{H:()=>a}),(s=a||(a={})).increasing="increasing",s.decreasing="decreasing"},5327(e,t,i){var a,s;i.d(t,{F:()=>a}),(s=a||(a={})).bottom="bottom",s.bottomLeft="bottom-left",s.bottomRight="bottom-right",s.left="left",s.none="none",s.right="right",s.top="top",s.topLeft="top-left",s.topRight="top-right",s.outside="outside",s.inside="inside"},7341(e,t,i){var a,s;i.d(t,{v:()=>a}),(s=a||(a={})).bottom="bottom",s.left="left",s.right="right",s.top="top"},4992(e,t,i){var a,s;i.d(t,{g:()=>a}),(s=a||(a={})).auto="auto",s.increase="increase",s.decrease="decrease",s.random="random"},7345(e,t,i){var a,s;i.d(t,{d:()=>a}),(s=a||(a={})).delete="delete",s.wait="wait"},3942(e,t,i){var a,s;i.d(t,{Y:()=>a}),(s=a||(a={})).bounce="bounce",s.none="none",s.out="out",s.destroy="destroy",s.split="split"},2702(e,t,i){var a,s;i.d(t,{q:()=>a}),(s=a||(a={})).precise="precise",s.percent="percent"},6932(e,t,i){var a,s;i.d(t,{H:()=>a}),(s=a||(a={})).darken="darken",s.enlighten="enlighten"},202(e,t,i){var a,s;i.d(t,{V:()=>a}),(s=a||(a={})).none="none",s.max="max",s.min="min"},6128(e,t,i){var a,s;i.d(t,{B:()=>a}),(s=a||(a={})).configAdded="configAdded",s.containerInit="containerInit",s.particlesSetup="particlesSetup",s.containerStarted="containerStarted",s.containerStopped="containerStopped",s.containerDestroyed="containerDestroyed",s.containerPaused="containerPaused",s.containerPlay="containerPlay",s.containerBuilt="containerBuilt",s.particleAdded="particleAdded",s.particleDestroyed="particleDestroyed",s.particleRemoved="particleRemoved"},510(e,t,i){var a,s;i.d(t,{x:()=>a}),(s=a||(a={})).normal="normal",s.inside="inside",s.outside="outside"},9983(e,t,i){var a,s;i.d(t,{S:()=>a}),(s=a||(a={})).max="max",s.min="min",s.random="random"},2078(e,t,i){i.d(t,{A:()=>r});var a=i(4920),s=i(3410),n=i(9744);class r extends n.O{animation;constructor(){super(),this.animation=new s.i}static create(e,t){let i=new r;return i.load(e),void 0!==t&&((0,a.Kg)(t)||(0,a.cy)(t)?i.load({value:t}):i.load(t)),i}load(e){if(super.load(e),(0,a.kZ)(e))return;let t=e.animation;void 0!==t&&(void 0===t.enable?this.animation.load(e.animation):this.animation.h.load(t))}}},6753(e,t,i){i.d(t,{Q:()=>l,p:()=>o});var a=i(4992),s=i(9983),n=i(4920),r=i(8770);class o{count;decay;delay;enable;speed;sync;constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(e){(0,n.kZ)(e)||(void 0!==e.count&&(this.count=(0,r.DT)(e.count)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.speed&&(this.speed=(0,r.DT)(e.speed)),void 0!==e.decay&&(this.decay=(0,r.DT)(e.decay)),void 0!==e.delay&&(this.delay=(0,r.DT)(e.delay)),void 0!==e.sync&&(this.sync=e.sync))}}class l extends o{mode;startValue;constructor(){super(),this.mode=a.g.auto,this.startValue=s.S.random}load(e){super.load(e),(0,n.kZ)(e)||(void 0!==e.mode&&(this.mode=e.mode),void 0!==e.startValue&&(this.startValue=e.startValue))}}},3086(e,t,i){i.d(t,{e:()=>r});var a=i(6753),s=i(4920),n=i(8770);class r extends a.p{max;min;offset;constructor(e,t){super(),this.min=e,this.max=t,this.offset=0,this.sync=!0}load(e){super.load(e),(0,s.kZ)(e)||(void 0!==e.max&&(this.max=e.max),void 0!==e.min&&(this.min=e.min),void 0!==e.offset&&(this.offset=(0,n.DT)(e.offset)))}}},3410(e,t,i){i.d(t,{i:()=>r});var a=i(8660),s=i(3086),n=i(4920);class r{h=new s.e(a.L1,a.vS);l=new s.e(a.vd,a.$_);s=new s.e(a.yx,a.eu);load(e){(0,n.kZ)(e)||(this.h.load(e.h),this.s.load(e.s),this.l.load(e.l))}}},8850(e,t,i){i.d(t,{J:()=>c});var a=i(8664),s=i(4920),n=i(9744);class r{color;image;opacity;position;repeat;size;constructor(){this.color=new n.O,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(e){(0,s.kZ)(e)||(void 0!==e.color&&(this.color=n.O.create(this.color,e.color)),void 0!==e.image&&(this.image=e.image),void 0!==e.position&&(this.position=e.position),void 0!==e.repeat&&(this.repeat=e.repeat),void 0!==e.size&&(this.size=e.size),void 0!==e.opacity&&(this.opacity=e.opacity))}}class o{enable;zIndex;constructor(){this.enable=!0,this.zIndex=0}load(e){(0,s.kZ)(e)||(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.zIndex&&(this.zIndex=e.zIndex))}}class l{delay;enable;constructor(){this.delay=.5,this.enable=!0}load(e){(0,s.kZ)(e)||(void 0!==e.delay&&(this.delay=e.delay),void 0!==e.enable&&(this.enable=e.enable))}}var d=i(2222),u=i(8770);class c{autoPlay;background;clear;defaultThemes;delay;detectRetina;duration;fpsLimit;fullScreen;hdr;key;name;palette;particles;pauseOnBlur;pauseOnOutsideViewport;preset;resize;smooth;style;zLayers;_container;_pluginManager;constructor(e,t){this._pluginManager=e,this._container=t,this.autoPlay=!0,this.background=new r,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new o,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.hdr=!0,this.particles=(0,d.y)(this._pluginManager,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.resize=new l,this.smooth=!1,this.style={},this.zLayers=100}load(e){if((0,s.kZ)(e))return;void 0!==e.preset&&(this.preset=e.preset,(0,a.wJ)(this.preset,e=>{this._importPreset(e)})),void 0!==e.palette&&(this.palette=e.palette,this._importPalette(this.palette)),void 0!==e.autoPlay&&(this.autoPlay=e.autoPlay),void 0!==e.clear&&(this.clear=e.clear),void 0!==e.key&&(this.key=e.key),void 0!==e.name&&(this.name=e.name),void 0!==e.delay&&(this.delay=(0,u.DT)(e.delay));let t=e.detectRetina;void 0!==t&&(this.detectRetina=t),void 0!==e.duration&&(this.duration=(0,u.DT)(e.duration));let i=e.fpsLimit;void 0!==i&&(this.fpsLimit=i),void 0!==e.hdr&&(this.hdr=e.hdr),void 0!==e.pauseOnBlur&&(this.pauseOnBlur=e.pauseOnBlur),void 0!==e.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=e.pauseOnOutsideViewport),void 0!==e.zLayers&&(this.zLayers=e.zLayers),this.background.load(e.background);let n=e.fullScreen;(0,s.Lm)(n)?this.fullScreen.enable=n:this.fullScreen.load(n),this.particles.load(e.particles),this.resize.load(e.resize),this.style=(0,a.zw)(this.style,e.style),void 0!==e.smooth&&(this.smooth=e.smooth),this._pluginManager.plugins.forEach(t=>{t.loadOptions(this._container,this,e)})}_importPalette=e=>{let t=this._pluginManager.getPalette(e);t&&this.load({background:{color:t.background},blend:{enable:!0,mode:t.blendMode},particles:{palette:e}})};_importPreset=e=>{this.load(this._pluginManager.getPreset(e))}}},9744(e,t,i){i.d(t,{O:()=>s});var a=i(4920);class s{value;constructor(){this.value=""}static create(e,t){let i=new s;return i.load(e),void 0!==t&&((0,a.Kg)(t)||(0,a.cy)(t)?i.load({value:t}):i.load(t)),i}load(e){!(0,a.kZ)(e)&&((0,a.kZ)(e.value)||(this.value=e.value))}}},8805(e,t,i){i.d(t,{w:()=>n});var a=i(3182),s=i(4920);class n{horizontal;vertical;constructor(){this.horizontal=new a.F,this.vertical=new a.F}load(e){(0,s.kZ)(e)||(this.horizontal.load(e.horizontal),this.vertical.load(e.vertical))}}},3182(e,t,i){i.d(t,{F:()=>s});var a=i(5603);class s extends a.PV{constructor(){super(),this.value=1}}},5240(e,t,i){i.d(t,{S:()=>r});var a=i(2078),s=i(4920),n=i(8770);class r{color;enable;opacity;constructor(){this.enable=!0,this.color=new a.A,this.color.value="#fff",this.opacity=1}load(e){(0,s.kZ)(e)||(void 0!==e.color&&(this.color=a.A.create(this.color,e.color)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.opacity&&(this.opacity=(0,n.DT)(e.opacity)))}}},3690(e,t,i){i.d(t,{y:()=>h});var a=i(5327),s=i(4920),n=i(2379),r=i(5695),o=i(8954),l=i(7677),d=i(495),u=i(7187),c=i(8770);class h{angle;center;decay;direction;distance;drift;enable;gravity;outModes;path;random;size;speed;spin;straight;vibrate;warp;constructor(){this.angle=new n.h,this.center=new r.Z,this.decay=0,this.distance={},this.direction=a.F.none,this.drift=0,this.enable=!1,this.gravity=new o.y,this.path=new l.v,this.outModes=new d.j,this.random=!1,this.size=!1,this.speed=2,this.spin=new u.t,this.straight=!1,this.vibrate=!1,this.warp=!1}load(e){if((0,s.kZ)(e))return;this.angle.load((0,s.Et)(e.angle)?{value:e.angle}:e.angle),this.center.load(e.center),void 0!==e.decay&&(this.decay=(0,c.DT)(e.decay)),void 0!==e.direction&&(this.direction=e.direction),void 0!==e.distance&&(this.distance=(0,s.Et)(e.distance)?{horizontal:e.distance,vertical:e.distance}:{...e.distance}),void 0!==e.drift&&(this.drift=(0,c.DT)(e.drift)),void 0!==e.enable&&(this.enable=e.enable),this.gravity.load(e.gravity);let t=e.outModes;void 0!==t&&((0,s.Gv)(t)?this.outModes.load(t):this.outModes.load({default:t})),this.path.load(e.path),void 0!==e.random&&(this.random=e.random),void 0!==e.size&&(this.size=e.size),void 0!==e.speed&&(this.speed=(0,c.DT)(e.speed)),this.spin.load(e.spin),void 0!==e.straight&&(this.straight=e.straight),void 0!==e.vibrate&&(this.vibrate=e.vibrate),void 0!==e.warp&&(this.warp=e.warp)}}},2379(e,t,i){i.d(t,{h:()=>n});var a=i(4920),s=i(8770);class n{offset;value;constructor(){this.offset=0,this.value=90}load(e){(0,a.kZ)(e)||(void 0!==e.offset&&(this.offset=(0,s.DT)(e.offset)),void 0!==e.value&&(this.value=(0,s.DT)(e.value)))}}},5695(e,t,i){i.d(t,{Z:()=>n});var a=i(2702),s=i(4920);class n{mode;radius;x;y;constructor(){this.x=50,this.y=50,this.mode=a.q.percent,this.radius=0}load(e){(0,s.kZ)(e)||(void 0!==e.x&&(this.x=e.x),void 0!==e.y&&(this.y=e.y),void 0!==e.mode&&(this.mode=e.mode),void 0!==e.radius&&(this.radius=e.radius))}}},8954(e,t,i){i.d(t,{y:()=>n});var a=i(4920),s=i(8770);class n{acceleration;enable;inverse;maxSpeed;constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(e){(0,a.kZ)(e)||(void 0!==e.acceleration&&(this.acceleration=(0,s.DT)(e.acceleration)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.inverse&&(this.inverse=e.inverse),void 0!==e.maxSpeed&&(this.maxSpeed=(0,s.DT)(e.maxSpeed)))}}},495(e,t,i){i.d(t,{j:()=>n});var a=i(3942),s=i(4920);class n{bottom;default;left;right;top;constructor(){this.default=a.Y.out}load(e){(0,s.kZ)(e)||(void 0!==e.default&&(this.default=e.default),this.bottom=e.bottom??e.default,this.left=e.left??e.default,this.right=e.right??e.default,this.top=e.top??e.default)}}},7677(e,t,i){i.d(t,{v:()=>r});var a=i(5603),s=i(8664),n=i(4920);class r{clamp;delay;enable;generator;options;constructor(){this.clamp=!0,this.delay=new a.PV,this.enable=!1,this.options={}}load(e){!(0,n.kZ)(e)&&(void 0!==e.clamp&&(this.clamp=e.clamp),this.delay.load(e.delay),void 0!==e.enable&&(this.enable=e.enable),this.generator=e.generator,e.options&&(this.options=(0,s.zw)(this.options,e.options)))}}},7187(e,t,i){i.d(t,{t:()=>r});var a=i(8664),s=i(4920),n=i(8770);class r{acceleration;enable;position;constructor(){this.acceleration=0,this.enable=!1}load(e){!(0,s.kZ)(e)&&(void 0!==e.acceleration&&(this.acceleration=(0,n.DT)(e.acceleration)),void 0!==e.enable&&(this.enable=e.enable),e.position&&(this.position=(0,a.zw)({},e.position)))}}},6177(e,t,i){i.d(t,{N:()=>r});var a=i(4920);class s{enable;height;width;constructor(){this.enable=!1,this.width=1920,this.height=1080}load(e){if((0,a.kZ)(e))return;void 0!==e.enable&&(this.enable=e.enable);let t=e.width;void 0!==t&&(this.width=t);let i=e.height;void 0!==i&&(this.height=i)}}var n=i(5358);class r{density;limit;value;constructor(){this.density=new s,this.limit=new n.A,this.value=0}load(e){(0,a.kZ)(e)||(this.density.load(e.density),this.limit.load(e.limit),void 0!==e.value&&(this.value=e.value))}}},5358(e,t,i){i.d(t,{A:()=>n});var a=i(7345),s=i(4920);class n{mode;value;constructor(){this.mode=a.d.delete,this.value=0}load(e){(0,s.kZ)(e)||(void 0!==e.mode&&(this.mode=e.mode),void 0!==e.value&&(this.value=e.value))}}},5446(e,t,i){i.d(t,{Y:()=>r});var a=i(1918),s=i(5603),n=i(4920);class r extends s.AI{animation;constructor(){super(),this.animation=new a.I,this.value=1}load(e){if((0,n.kZ)(e))return;super.load(e);let t=e.animation;void 0!==t&&this.animation.load(t)}}},1918(e,t,i){i.d(t,{I:()=>r});var a=i(202),s=i(6753),n=i(4920);class r extends s.Q{destroy;constructor(){super(),this.destroy=a.V.none,this.speed=2}load(e){super.load(e),(0,n.kZ)(e)||void 0!==e.destroy&&(this.destroy=e.destroy)}}},8869(e,t,i){i.d(t,{P:()=>r});var a=i(5240),s=i(7349),n=i(4920);class r{fill;stroke;load(e){(0,n.kZ)(e)||(void 0!==e.fill&&(this.fill??=new a.S,this.fill.load(e.fill)),void 0!==e.stroke&&(this.stroke??=new s.t,this.stroke.load(e.stroke)))}}},6334(e,t,i){i.d(t,{U:()=>v});var a=i(8664),s=i(4920);class n{close;options;type;constructor(){this.close=!0,this.options={},this.type=[]}load(e){if((0,s.kZ)(e))return;let t=e.options;if(void 0!==t)for(let e in t){let i=t[e];i&&(this.options[e]=(0,a.zw)(this.options[e]??{},i))}void 0!==e.close&&(this.close=e.close),void 0!==e.type&&(this.type=e.type)}}var r=i(3690),o=i(5446),l=i(8869),d=i(8805),u=i(6177),c=i(5746),h=i(3442),p=i(6992);class v{bounce;effect;groups;move;number;opacity;paint;palette;reduceDuplicates;shape;size;zIndex;_container;_pluginManager;constructor(e,t){this._pluginManager=e,this._container=t,this.bounce=new d.w,this.effect=new n,this.groups={},this.move=new r.y,this.number=new u.N,this.opacity=new o.Y,this.paint=new l.P,this.reduceDuplicates=!1,this.shape=new c.y,this.size=new h.o,this.zIndex=new p.P}load(e){if((0,s.kZ)(e))return;if(e.palette&&(this.palette=e.palette,this._importPalette(this.palette)),void 0!==e.groups)for(let t of Object.keys(e.groups)){if(!(t in e.groups))continue;let i=e.groups[t];void 0!==i&&(this.groups[t]=(0,a.zw)(this.groups[t]??{},i))}void 0!==e.reduceDuplicates&&(this.reduceDuplicates=e.reduceDuplicates),this.bounce.load(e.bounce),this.effect.load(e.effect),this.move.load(e.move),this.number.load(e.number),this.opacity.load(e.opacity);let t=e.paint;if(t&&(this.paint=(0,a.wJ)(t,e=>{let t=new l.P;return t.load(e),t})),this.shape.load(e.shape),this.size.load(e.size),this.zIndex.load(e.zIndex),this._container){for(let t of this._pluginManager.plugins)t.loadParticlesOptions&&t.loadParticlesOptions(this._container,this,e);let t=this._pluginManager.updaters.get(this._container);if(t)for(let i of t)i.loadOptions&&i.loadOptions(this,e)}}_importPalette=e=>{let t=this._pluginManager.getPalette(e);if(!t)return;let i=t.colors,a=((0,s.cy)(i)?i:[i]).flatMap(e=>{let t=e.fill,i=e.stroke,a=t?{color:{value:t.value},enable:t.enable,opacity:t.opacity}:void 0;return i?[{fill:a,stroke:{color:{value:i.value},opacity:i.opacity,width:i.width||0}}]:[{fill:a}]}),n=a.length>1?a:a[0]??{};this.load({paint:n,blend:{enable:!0,mode:t.blendMode}})}}},5746(e,t,i){i.d(t,{y:()=>n});var a=i(8664),s=i(4920);class n{close;options;type;constructor(){this.close=!0,this.options={},this.type="circle"}load(e){if((0,s.kZ)(e))return;let t=e.options;if(void 0!==t)for(let e in t){let i=t[e];i&&(this.options[e]=(0,a.zw)(this.options[e]??{},i))}void 0!==e.close&&(this.close=e.close),void 0!==e.type&&(this.type=e.type)}}},3442(e,t,i){i.d(t,{o:()=>r});var a=i(5603),s=i(4234),n=i(4920);class r extends a.AI{animation;constructor(){super(),this.animation=new s.q,this.value=3}load(e){if(super.load(e),(0,n.kZ)(e))return;let t=e.animation;void 0!==t&&this.animation.load(t)}}},4234(e,t,i){i.d(t,{q:()=>r});var a=i(202),s=i(6753),n=i(4920);class r extends s.Q{destroy;constructor(){super(),this.destroy=a.V.none,this.speed=5}load(e){super.load(e),(0,n.kZ)(e)||void 0!==e.destroy&&(this.destroy=e.destroy)}}},7349(e,t,i){i.d(t,{t:()=>r});var a=i(2078),s=i(4920),n=i(8770);class r{color;opacity;width;constructor(){this.width=0}load(e){(0,s.kZ)(e)||(void 0!==e.color&&(this.color=a.A.create(this.color,e.color)),void 0!==e.width&&(this.width=(0,n.DT)(e.width)),void 0!==e.opacity&&(this.opacity=(0,n.DT)(e.opacity)))}}},6992(e,t,i){i.d(t,{P:()=>n});var a=i(5603),s=i(4920);class n extends a.PV{opacityRate;sizeRate;velocityRate;constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(e){super.load(e),(0,s.kZ)(e)||(void 0!==e.opacityRate&&(this.opacityRate=e.opacityRate),void 0!==e.sizeRate&&(this.sizeRate=e.sizeRate),void 0!==e.velocityRate&&(this.velocityRate=e.velocityRate))}}},5603(e,t,i){i.d(t,{AI:()=>l,PV:()=>r});var a=i(6753),s=i(4920),n=i(8770);class r{value;constructor(){this.value=0}load(e){!(0,s.kZ)(e)&&((0,s.kZ)(e.value)||(this.value=(0,n.DT)(e.value)))}}class o extends r{animation=new a.p;load(e){if(super.load(e),(0,s.kZ)(e))return;let t=e.animation;void 0!==t&&this.animation.load(t)}}class l extends o{animation;constructor(){super(),this.animation=new a.Q}load(e){super.load(e)}}},3252(e,t,i){i.d(t,{IU:()=>r,Md:()=>n,Sn:()=>s,Wb:()=>l,p0:()=>o});var a=i(8660);function s(e,t,i){e.fillStyle=i??"rgba(0,0,0,0)",e.fillRect(a.bo.x,a.bo.y,t.width,t.height)}function n(e,t,i,s){if(!i)return;let n=e.globalAlpha;e.globalAlpha=s,e.drawImage(i,a.bo.x,a.bo.y,t.width,t.height),e.globalAlpha=n}function r(e,t){e.clearRect(a.bo.x,a.bo.y,t.width,t.height)}function o(e){let{container:t,context:i,particle:s,delta:n,colorStyles:r,radius:o,opacity:l,transform:d}=e,{effectDrawers:u,shapeDrawers:c}=t,h=s.getPosition(),p=s.getTransformData(d),v=a.Pf,f={x:h.x,y:h.y};i.setTransform(p.a,p.b,p.c,p.d,h.x,h.y),r.fill&&(i.fillStyle=r.fill);let g=!!s.fillEnabled,y=s.strokeWidth??a.Dv;i.lineWidth=y,r.stroke&&(i.strokeStyle=r.stroke);let m={context:i,particle:s,radius:o,drawRadius:o*v,opacity:l,delta:n,pixelRatio:t.retina.pixelRatio,fill:g,stroke:y>a.Dv,transformData:p,position:{...h},drawPosition:f,drawScale:v};for(let e of t.plugins)e.drawParticleTransform?.(m);let b=s.effect?u.get(s.effect):void 0,w=s.shape?c.get(s.shape):void 0;(function(e,t){if(!e?.drawBefore)return;let{particle:i}=t;i.effect&&e.drawBefore(t)})(b,m),function(e,t){if(!e?.beforeDraw)return;let{particle:i}=t;i.shape&&e.beforeDraw(t)}(w,m),function(e,t){if(!e)return;let{context:i,fill:a,particle:s,stroke:n}=t;s.shape&&(i.beginPath(),e.draw(t),s.shapeClose&&i.closePath(),a&&i.fill(),n&&i.stroke())}(w,m),function(e,t){if(!e?.afterDraw)return;let{particle:i}=t;i.shape&&e.afterDraw(t)}(w,m),function(e,t){if(!e?.drawAfter)return;let{particle:i}=t;i.effect&&e.drawAfter(t)}(b,m),i.resetTransform()}function l(e,t,i,a){t.drawParticle&&t.drawParticle(e,i,a)}},7621(e,t,i){i.d(t,{BN:()=>c,Jv:()=>_,LC:()=>m,O_:()=>x,PG:()=>w,R5:()=>h,YL:()=>p,_h:()=>b,ay:()=>v,pz:()=>M,xx:()=>g,yx:()=>S});var a=i(8770),s=i(8660),n=i(4920),r=i(6932),o=i(2314),l=i(8664);let d=new Map;function u(e,t){let i=d.get(e);return i||(i=t(),d.size>=1e3&&[...d.keys()].slice(0,1e3*s.MX).forEach(e=>d.delete(e)),d.set(e,i)),i}function c(e,t,i,a=!0){if(!t)return;let r=(0,n.Kg)(t)?{value:t}:t;if((0,n.Kg)(r.value))return function e(t,i,a,r=!0){if(!i)return;let o=(0,n.Kg)(i)?{value:i}:i;if((0,n.Kg)(o.value))return o.value===s.mR?f():function(e,t){if(t){for(let i of e.colorManagers.values())if(i.accepts(t))return i.parseString(t)}}(t,o.value);if((0,n.cy)(o.value)){let i=(0,l.Vh)(o.value,a,r);if(!i)return;return e(t,{value:i})}for(let e of t.colorManagers.values()){let t=e.handleColor(o);if(t)return t}}(e,r.value,i,a);if((0,n.cy)(r.value)){let t=(0,l.Vh)(r.value,i,a);if(!t)return;return c(e,{value:t})}for(let t of e.colorManagers.values()){let e=t.handleRangeColor(r);if(e)return e}}function h(e,t,i,a=!0){var n;let 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){let t=e??s.Fl,i=s.oi+s.D_,n=()=>Math.floor((0,a.e4)(t,i));return{b:n(),g:n(),r:n()}}function g(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?y(e,i):(a=e,n=i,`rgba(${a.r.toString()}, ${a.g.toString()}, ${a.b.toString()}, ${(n??s.hv).toString()})`)})}function y(e,t){return`color(display-p3 ${(e.r/s.oi).toString()} ${(e.g/s.oi).toString()} ${(e.b/s.oi).toString()} / ${(t??s.hv).toString()})`}function m(e,t,i){let a=i??s.hv;return 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,y(p(a),n)):(r=e,o=i,`hsla(${r.h.toString()}, ${r.s.toString()}%, ${r.l.toString()}%, ${(o??s.hv).toString()})`)})}function b(e,t,i){if(i===s.mR)return f();if(i!==s.BW)return i;{let i=e.getFillColor()??e.getStrokeColor(),s=t?.getFillColor()??t?.getStrokeColor();if(i&&s&&t){var n,r;let o,l;return n=e.getRadius(),r=t.getRadius(),o=i,l=s,"r"in o||(o=p(i)),"r"in l||(l=p(s)),{b:(0,a.jh)(o.b,l.b,n,r),g:(0,a.jh)(o.g,l.g,n,r),r:(0,a.jh)(o.r,l.r,n,r)}}{let e=i??s;if(e)return p(e)}}}function w(e,t,i,a){let r=(0,n.Kg)(t)?t:t.value;return r===s.mR?a?c(e,{value:r}):i?s.mR:s.BW:r===s.BW?s.BW:c(e,{value:r})}function x(e){return void 0===e?void 0:{h:e.h.value,s:e.s.value,l:e.l.value}}function M(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&&(z(a.h,t.h,i),z(a.s,t.s,i),z(a.l,t.l,i)),a}function z(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 k(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 _(e,t){if(!e)return;let{h:i,s:a,l:s}=e;k(i,!1,t),k(a,!0,t),k(s,!0,t)}function S(e,t,i){return{h:e.h,s:e.s,l:e.l+(t===r.H.darken?-s.iU:s.iU)*i}}},2914(e,t,i){i.d(t,{t:()=>s});let a={debug:console.debug,error:(e,t)=>{console.error(`tsParticles - Error - ${e}`,t)},info:console.info,log:console.log,trace:console.trace,verbose:console.log,warning:console.warn};function s(){return a}},8770(e,t,i){i.d(t,{$m:()=>_,DT:()=>function e(t,i){if(t===i||void 0===i&&(0,r.Et)(t))return t;let a=y(t),s=m(t);return void 0!==i?{min:Math.min(a,i),max:Math.max(s,i)}:e(a,s)},G0:()=>d,JY:()=>k,M3:()=>P,Nx:()=>S,Sg:()=>y,VG:()=>g,W9:()=>m,Yf:()=>x,e4:()=>u,gp:()=>M,i0:()=>c,jh:()=>v,pu:()=>z,px:()=>h,qE:()=>p,vE:()=>f,vr:()=>b});var a=i(5327),s=i(8660),n=i(4037),r=i(4920);let o=Math.PI/180,l=Math.random;function d(){return p(l(),0,1-Number.EPSILON)}function u(e,t){return d()*(t-e)+e}function c(e){return requestAnimationFrame(e)}function h(e){cancelAnimationFrame(e)}function p(e,t,i){return Math.min(Math.max(e,t),i)}function v(e,t,i,a){return Math.floor((e*i+t*a)/(i+a))}function f(e){let t=m(e),i=y(e);return t===i&&(i=0),u(i,t)}function g(e){return(0,r.Et)(e)?e:f(e)}function y(e){return(0,r.Et)(e)?e:e.min}function m(e){return(0,r.Et)(e)?e:e.max}function b(e,t){let i=e.x-t.x,a=e.y-t.y;return{dx:i,dy:a,distance:Math.hypot(i,a)}}function w(e,t){let i=e.x-t.x,a=e.y-t.y;return i*i+a*a}function x(e,t){return Math.sqrt(w(e,t))}function M(e,t,i){return w(e,t)<=i*i}function z(e){return e*o}function k(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 _(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 P(e){return e?e.endsWith("%")?parseFloat(e)/s.a5:parseFloat(e):1}},2222(e,t,i){i.d(t,{Z:()=>s,y:()=>n});var a=i(6334);function s(e,...t){for(let i of t)e.load(i)}function n(e,t,...i){let r=new a.U(e,t);return s(r,...i),r}},4920(e,t,i){function a(e){return"boolean"==typeof e}function s(e){return"string"==typeof e}function n(e){return"number"==typeof e}function r(e){return"object"==typeof e&&null!==e}function o(e){return Array.isArray(e)}function l(e){return null==e}i.d(t,{Et:()=>n,Gv:()=>r,Kg:()=>s,Lm:()=>a,cy:()=>o,kZ:()=>l})},8664(e,t,i){let a,s,n,r,o;i.d(t,{AE:()=>_,BR:()=>w,E9:()=>T,HQ:()=>A,Kp:()=>D,Ot:()=>$,T5:()=>m,TA:()=>P,Tj:()=>k,UC:()=>L,Vh:()=>z,Xs:()=>E,hJ:()=>I,hn:()=>M,lV:()=>b,tG:()=>x,td:()=>R,w3:()=>O,wJ:()=>S,zw:()=>function e(t,...i){for(let a of i){if((0,c.kZ)(a))continue;if(!(0,c.Gv)(a)){t=a;continue}Array.isArray(a)?Array.isArray(t)||(t=[]):(!(0,c.Gv)(t)||Array.isArray(t))&&(t={});let i=Object.keys(a),s=new Set(["__proto__","constructor","prototype"]);if(!i.some(e=>{let t=a[e];return(0,c.Gv)(t)||Array.isArray(t)})){let e=t;for(let t of i)if(!s.has(t)&&t in a){let i=a[t];void 0!==i&&(e[t]=i)}continue}for(let n of i){if(s.has(n))continue;let i=t,r=a[n];i[n]=Array.isArray(r)?r.map(t=>e(void 0,t)):e(i[n],r)}}return t}});var l,d=i(8770),u=i(8660),c=i(4920),h=i(4992),p=i(2314),v=i(202),f=i(7341),g=i(2702),y=i(9983);function m(){return globalThis.document}function b(e){if("u">typeof matchMedia)return matchMedia(e)}function w(e){if("u">typeof 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=_(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 _(e,t){return{bottom:e.y+t,left:e.x-t,right:e.x+t,top:e.y-t}}function S(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+=n;break;case p.H.decreasing:t.value-=n}switch(t.velocity&&1!==l&&(t.velocity*=l),t.status){case p.H.increasing:t.value>=o&&(i?t.status=p.H.decreasing:t.value-=o,t.loops??=0,t.loops++);break;case p.H.decreasing:t.value<=r&&(i?t.status=p.H.increasing:t.value+=o,t.loops??=0,t.loops++)}var u=t.value;switch(a){case v.V.max:u>=o&&e.destroy();break;case v.V.min:u<=r&&e.destroy()}e.destroyed||(t.value=(0,d.qE)(t.value,r,o))}}function R(e){let t=m().createElement("div").style;for(let i in e){let a=e[i];if(!(i in e)||(0,c.kZ)(a))continue;let s=e.getPropertyValue?.(a);if(!s)continue;let n=e.getPropertyPriority?.(a);n?t.setProperty(a,s,n):t.setProperty(a,s)}return t}i(4037);let I=(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}},3227(e,t,i){i.d(t,{jlt:()=>b.jl,Oit:()=>k.O,Yzx:()=>M.Y,v5k:()=>x.v,x_I:()=>z.x,M_G:()=>b.M_,pTR:()=>r,Miz:()=>w.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:()=>_.pz,OtU:()=>u.Ot,HQK:()=>u.HQ,_hh:()=>_._h,PGG:()=>_.PG,G0i:()=>f.G0,W9e:()=>f.W9,VGA:()=>f.VG,xxz:()=>_.xx,MXx:()=>d.MX,YLU:()=>_.YL,ayx:()=>_.ay,XsS:()=>u.Xs,cyL:()=>S.cy,hnD:()=>u.hn,kZJ:()=>S.kZ,Gvm:()=>S.Gv,Tj8:()=>u.Tj,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:()=>_.R5,BN0:()=>_.BN,T5G:()=>u.T5,BRq:()=>u.BR,$k3:()=>P,UC0:()=>u.UC,JvX:()=>_.Jv,nKi:()=>d.nK});var a,s,n,r,o,l,d=i(8660),u=i(8664);class c{_listeners;constructor(){this._listeners=new Map}addEventListener(e,t){this.removeEventListener(e,t);let i=this._listeners.get(e);i||(i=[],this._listeners.set(e,i)),i.push(t)}dispatchEvent(e,t){let i=this._listeners.get(e);i?.forEach(e=>{e(t)})}hasEventListener(e){return!!this._listeners.get(e)}removeAllEventListeners(e){e?this._listeners.delete(e):this._listeners=new Map}removeEventListener(e,t){let i=this._listeners.get(e);if(!i)return;let a=i.length,s=i.indexOf(t);s<d.z9||(a===d.LD?this._listeners.delete(e):i.splice(s,d.LD))}}var h=i(6128);class p{colorManagers=new Map;easingFunctions=new Map;effectDrawers=new Map;initializers={effects:new Map,shapes:new Map,updaters:new Map};palettes=new Map;plugins=[];presets=new Map;shapeDrawers=new Map;updaters=new Map;_allLoadersSet=new Set;_configs=new Map;_engine;_executedSet=new Set;_initialized=!1;_isRunningLoaders=!1;_loadPromises=new Set;constructor(e){this._engine=e}get configs(){let e={};for(let[t,i]of this._configs)e[t]=i;return e}addColorManager(e,t){this.colorManagers.set(e,t)}addConfig(e){let t=e.key??e.name??"default";this._configs.set(t,e),this._engine.dispatchEvent(h.B.configAdded,{data:{name:t,config:e}})}addEasing(e,t){this.easingFunctions.get(e)||this.easingFunctions.set(e,t)}addEffect(e,t){this.initializers.effects.set(e,t)}addPalette(e,t){this.palettes.set(e,t)}addParticleUpdater(e,t){this.initializers.updaters.set(e,t)}addPlugin(e){this.getPlugin(e.id)||this.plugins.push(e)}addPreset(e,t,i=!1){(i||!this.getPreset(e))&&this.presets.set(e,t)}addShape(e,t){for(let i of e)this.initializers.shapes.set(i,t)}clearPlugins(e){this.effectDrawers.delete(e),this.shapeDrawers.delete(e),this.updaters.delete(e)}getEasing(e){return this.easingFunctions.get(e)??(e=>e)}getEffectDrawers(e,t=!1){return(0,u.Ot)(e,this.effectDrawers,this.initializers.effects,t)}getPalette(e){return this.palettes.get(e)}getPlugin(e){return this.plugins.find(t=>t.id===e)}getPreset(e){return this.presets.get(e)}async getShapeDrawers(e,t=!1){return(0,u.Ot)(e,this.shapeDrawers,this.initializers.shapes,t)}async getUpdaters(e,t=!1){return(0,u.HQ)(e,this.updaters,this.initializers.updaters,t)}async init(){if(!this._initialized&&!this._isRunningLoaders){this._isRunningLoaders=!0,this._executedSet=new Set,this._allLoadersSet=new Set(this._loadPromises);try{for(let e of this._allLoadersSet)await this._runLoader(e,this._executedSet,this._allLoadersSet)}finally{this._loadPromises.clear(),this._isRunningLoaders=!1,this._initialized=!0}}}loadParticlesOptions(e,t,...i){let a=this.updaters.get(e);a&&a.forEach(e=>e.loadOptions?.(t,...i))}async register(...e){if(this._initialized)throw Error("Register plugins can only be done before calling tsParticles.load()");for(let t of e)this._isRunningLoaders?await this._runLoader(t,this._executedSet,this._allLoadersSet):this._loadPromises.add(t)}async _runLoader(e,t,i){t.has(e)||(t.add(e),i.add(e),await e(this._engine))}}var v=i(2914),f=i(8770);let g="100%";async function y(e){let t=(0,u.TA)(e.url,e.index);if(!t)return e.fallback;let i=await fetch(t);return i.ok?await i.json():((0,v.t)().error(`${i.status.toString()} while retrieving config file`),e.fallback)}class m{pluginManager=new p(this);_domArray=[];_eventDispatcher=new c;_initialized=!1;get items(){return this._domArray}get version(){return"4.0.0-beta.11"}addEventListener(e,t){this._eventDispatcher.addEventListener(e,t)}checkVersion(e){if(this.version!==e)throw Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${e}`)}dispatchEvent(e,t){this._eventDispatcher.dispatchEvent(e,t)}async init(){this._initialized||(await this.pluginManager.init(),this._initialized=!0)}item(e){let{items:t}=this,i=t[e];return i?.destroyed?void t.splice(e,d.JC):i}async load(e){var t;let a,s;await this.init();let{Container:n}=await i.e(467).then(i.bind(i,1467)),r=e.id??e.element?.id??`tsparticles${Math.floor((0,f.G0)()*d.$v).toString()}`,{index:o,url:l}=e,c=l?await y({fallback:e.options,url:l,index:o}):e.options,h=(0,u.TA)(c,o),{items:p}=this,v=p.findIndex(e=>e.id.description===r),m=new n({dispatchCallback:(e,t)=>{this.dispatchEvent(e,t)},id:r,onDestroy:e=>{if(!e)return;let t=this.items,i=t.indexOf(m);i>=d.vF&&t.splice(i,d.JC)},pluginManager:this.pluginManager,sourceOptions:h});if(v>=d.PZ){let e=this.item(v),t=e?d.xH:d.dv;e&&!e.destroyed&&e.destroy(!1),p.splice(v,t,m)}else p.push(m);let b=(e=>{let t,i=(0,u.T5)();if(e instanceof HTMLCanvasElement||e.tagName.toLowerCase()===d.RF)t=e,t.dataset[d.eb]??=d.X$;else{let a=e.getElementsByTagName(d.RF)[d.Nx];a?(t=a).dataset[d.eb]=d.X$:((t=i.createElement(d.RF)).dataset[d.eb]=d.ce,e.appendChild(t))}return t.style.width||=g,t.style.height||=g,t})((t=e.element,a=(0,u.T5)(),(s=t??a.getElementById(r))||((s=a.createElement("canvas")).id=r,s.dataset[d.eb]=d.ce,a.body.append(s)),s));return m.canvas.loadCanvas(b),await m.start(),m}async refresh(e=!0){e&&await Promise.all(this.items.map(e=>e.refresh()))}removeEventListener(e,t){this._eventDispatcher.removeEventListener(e,t)}}var b=i(6197),w=i(4037);i(5327),(a=r||(r={})).clockwise="clockwise",a.counterClockwise="counter-clockwise",a.random="random";var x=i(7341);i(4992),i(7345);var M=i(3942);i(2702),i(6932),i(202),(s=o||(o={})).linear="linear",s.radial="radial",s.random="random";var z=i(510);i(9983),(n=l||(l={})).easeInBack="ease-in-back",n.easeInBounce="ease-in-bounce",n.easeInCirc="ease-in-circ",n.easeInCubic="ease-in-cubic",n.easeInElastic="ease-in-elastic",n.easeInExpo="ease-in-expo",n.easeInGaussian="ease-in-gaussian",n.easeInLinear="ease-in-linear",n.easeInQuad="ease-in-quad",n.easeInQuart="ease-in-quart",n.easeInQuint="ease-in-quint",n.easeInSigmoid="ease-in-sigmoid",n.easeInSine="ease-in-sine",n.easeInSmoothstep="ease-in-smoothstep",n.easeOutBack="ease-out-back",n.easeOutBounce="ease-out-bounce",n.easeOutCirc="ease-out-circ",n.easeOutCubic="ease-out-cubic",n.easeOutElastic="ease-out-elastic",n.easeOutExpo="ease-out-expo",n.easeOutGaussian="ease-out-gaussian",n.easeOutLinear="ease-out-linear",n.easeOutQuad="ease-out-quad",n.easeOutQuart="ease-out-quart",n.easeOutQuint="ease-out-quint",n.easeOutSigmoid="ease-out-sigmoid",n.easeOutSine="ease-out-sine",n.easeOutSmoothstep="ease-out-smoothstep",n.easeInOutBack="ease-in-out-back",n.easeInOutBounce="ease-in-out-bounce",n.easeInOutCirc="ease-in-out-circ",n.easeInOutCubic="ease-in-out-cubic",n.easeInOutElastic="ease-in-out-elastic",n.easeInOutExpo="ease-in-out-expo",n.easeInOutGaussian="ease-in-out-gaussian",n.easeInOutLinear="ease-in-out-linear",n.easeInOutQuad="ease-in-out-quad",n.easeInOutQuart="ease-in-out-quart",n.easeInOutQuint="ease-in-out-quint",n.easeInOutSigmoid="ease-in-out-sigmoid",n.easeInOutSine="ease-in-out-sine",n.easeInOutSmoothstep="ease-in-out-smoothstep",i(2314),i(2078),i(6753),i(3086),i(3410),i(8850);var k=i(9744);i(8805),i(3182),i(6334),i(5240),i(8869),i(7349),i(3690),i(2379),i(5695),i(8954),i(495),i(7677),i(7187),i(6177),i(5358),i(5446),i(1918),i(5746),i(3442),i(4234),i(6992),i(5603),i(3252);var _=i(7621);i(2222);var S=i(4920);let P=new m;globalThis.tsParticles=P}},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-triangles:"+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-triangles:"+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={327: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_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).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},{loadParticlesLinksInteraction:i},{loadInteractivityPlugin:a},{options:s}]=await Promise.all([n.e(
|
|
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={9236(e,t,i){i.d(t,{$G:()=>A,$_:()=>T,$v:()=>N,$x:()=>k,BF:()=>ev,BW:()=>p,DN:()=>H,D_:()=>eo,Dv:()=>el,Eo:()=>J,Fl:()=>ef,Ie:()=>D,JC:()=>B,K3:()=>ea,L1:()=>L,LD:()=>en,MX:()=>l,NF:()=>n,Nu:()=>ec,Nx:()=>q,PZ:()=>X,Pf:()=>eb,R1:()=>f,RF:()=>b,RV:()=>V,Rq:()=>$,U0:()=>I,Ug:()=>c,WH:()=>U,X$:()=>m,X_:()=>Q,Xu:()=>d,Zp:()=>_,a5:()=>o,aE:()=>ep,bo:()=>u,ce:()=>y,dm:()=>x,dv:()=>W,eb:()=>a,eu:()=>E,gd:()=>v,hB:()=>S,hK:()=>ey,hv:()=>G,i8:()=>j,iU:()=>ed,iX:()=>M,jn:()=>eg,lA:()=>es,mR:()=>h,nK:()=>r,nq:()=>ee,oi:()=>P,ou:()=>Y,rq:()=>w,tA:()=>er,tR:()=>em,vF:()=>C,vS:()=>O,vd:()=>eu,w2:()=>Z,wM:()=>et,xH:()=>K,xd:()=>z,yj:()=>s,yx:()=>R,z$:()=>g,z9:()=>ei,zg:()=>eh,zs:()=>F});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="mid",v=2,f=2*Math.PI,g=60,y="true",m="false",b="canvas",w=0,x=2,M=100,z=1,k=1,_=1,S=1,P=255,O=360,E=100,T=100,L=0,R=0,I=60,D=0,A=.25,$=.75,F=1,Z=0,V=1,G=1,B=1,C=0,j=120,H=0,q=0,N=1e4,X=0,K=1,W=0,U=1,J=1,Q=0,Y=0,ee=1,et=0,ei=0,ea=1,es=1,en=1,er=0,eo=1,el=0,ed=1,eu=0,ec=3,eh=6,ep=1,ev=1,ef=0,eg=0,ey=0,em=0,eb=1},1252(e,t,i){i.d(t,{jl:()=>l,M_:()=>d}),(a=s||(s={})).circle="circle",a.rectangle="rectangle";var a,s,n=i(4594),r=i(9236);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}}},2597(e,t,i){i.d(t,{M:()=>r,p:()=>n});var a=i(9236);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)}}},9242(e,t,i){var a,s;i.d(t,{H:()=>a}),(s=a||(a={})).increasing="increasing",s.decreasing="decreasing"},9663(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"},77(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"},5376(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"},2929(e,t,i){var a,s;i.d(t,{d:()=>a}),(s=a||(a={})).delete="delete",s.wait="wait"},2918(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"},9246(e,t,i){var a,s;i.d(t,{q:()=>a}),(s=a||(a={})).precise="precise",s.percent="percent"},820(e,t,i){var a,s;i.d(t,{H:()=>a}),(s=a||(a={})).darken="darken",s.enlighten="enlighten"},1549(e,t,i){var a,s;i.d(t,{V:()=>a}),(s=a||(a={})).none="none",s.max="max",s.min="min"},304(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"},7854(e,t,i){var a,s;i.d(t,{x:()=>a}),(s=a||(a={})).normal="normal",s.inside="inside",s.outside="outside"},8703(e,t,i){var a,s;i.d(t,{S:()=>a}),(s=a||(a={})).max="max",s.min="min",s.random="random"},3390(e,t,i){i.d(t,{A:()=>r});var a=i(7896),s=i(8098),n=i(8208);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))}}},9889(e,t,i){i.d(t,{Q:()=>l,p:()=>o});var a=i(5376),s=i(8703),n=i(7896),r=i(4594);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))}}},3662(e,t,i){i.d(t,{e:()=>r});var a=i(9889),s=i(7896),n=i(4594);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)))}}},8098(e,t,i){i.d(t,{i:()=>r});var a=i(9236),s=i(3662),n=i(7896);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))}}},8787(e,t,i){i.d(t,{J:()=>c});var a=i(4824),s=i(7896),n=i(8208);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(1998),u=i(4594);class c{autoPlay;background;clear;defaultThemes;delay;detectRetina;duration;fpsLimit;fullScreen;hdr;key;name;palette;particles;pauseOnBlur;pauseOnOutsideViewport;preset;resize;smooth;style;zLayers;_container;_pluginManager;constructor(e,t){this._pluginManager=e,this._container=t,this.autoPlay=!0,this.background=new r,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new o,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.hdr=!0,this.particles=(0,d.y)(this._pluginManager,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.resize=new l,this.smooth=!1,this.style={},this.zLayers=100}load(e){if((0,s.kZ)(e))return;void 0!==e.preset&&(this.preset=e.preset,(0,a.wJ)(this.preset,e=>{this._importPreset(e)})),void 0!==e.palette&&(this.palette=e.palette,this._importPalette(this.palette)),void 0!==e.autoPlay&&(this.autoPlay=e.autoPlay),void 0!==e.clear&&(this.clear=e.clear),void 0!==e.key&&(this.key=e.key),void 0!==e.name&&(this.name=e.name),void 0!==e.delay&&(this.delay=(0,u.DT)(e.delay));let t=e.detectRetina;void 0!==t&&(this.detectRetina=t),void 0!==e.duration&&(this.duration=(0,u.DT)(e.duration));let i=e.fpsLimit;void 0!==i&&(this.fpsLimit=i),void 0!==e.hdr&&(this.hdr=e.hdr),void 0!==e.pauseOnBlur&&(this.pauseOnBlur=e.pauseOnBlur),void 0!==e.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=e.pauseOnOutsideViewport),void 0!==e.zLayers&&(this.zLayers=e.zLayers),this.background.load(e.background);let n=e.fullScreen;(0,s.Lm)(n)?this.fullScreen.enable=n:this.fullScreen.load(n),this.particles.load(e.particles),this.resize.load(e.resize),this.style=(0,a.zw)(this.style,e.style),void 0!==e.smooth&&(this.smooth=e.smooth),this._pluginManager.plugins.forEach(t=>{t.loadOptions(this._container,this,e)})}_importPalette=e=>{let t=this._pluginManager.getPalette(e);t&&this.load({background:{color:t.background},blend:{enable:!0,mode:t.blendMode},particles:{palette:e}})};_importPreset=e=>{this.load(this._pluginManager.getPreset(e))}}},8208(e,t,i){i.d(t,{O:()=>s});var a=i(7896);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))}}},7445(e,t,i){i.d(t,{w:()=>n});var a=i(4878),s=i(7896);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))}}},4878(e,t,i){i.d(t,{F:()=>s});var a=i(611);class s extends a.PV{constructor(){super(),this.value=1}}},7352(e,t,i){i.d(t,{S:()=>r});var a=i(3390),s=i(7896),n=i(4594);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)))}}},9274(e,t,i){i.d(t,{y:()=>h});var a=i(9663),s=i(7896),n=i(491),r=i(7919),o=i(5002),l=i(6749),d=i(7023),u=i(6067),c=i(4594);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)}}},491(e,t,i){i.d(t,{h:()=>n});var a=i(7896),s=i(4594);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)))}}},7919(e,t,i){i.d(t,{Z:()=>n});var a=i(9246),s=i(7896);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))}}},5002(e,t,i){i.d(t,{y:()=>n});var a=i(7896),s=i(4594);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)))}}},7023(e,t,i){i.d(t,{j:()=>n});var a=i(2918),s=i(7896);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)}}},6749(e,t,i){i.d(t,{v:()=>r});var a=i(611),s=i(4824),n=i(7896);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)))}}},6067(e,t,i){i.d(t,{t:()=>r});var a=i(4824),s=i(7896),n=i(4594);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)))}}},6840(e,t,i){i.d(t,{N:()=>r});var a=i(7896);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(7246);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))}}},7246(e,t,i){i.d(t,{A:()=>n});var a=i(2929),s=i(7896);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))}}},2550(e,t,i){i.d(t,{Y:()=>r});var a=i(14),s=i(611),n=i(7896);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)}}},14(e,t,i){i.d(t,{I:()=>r});var a=i(1549),s=i(9889),n=i(7896);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)}}},7253(e,t,i){i.d(t,{P:()=>r});var a=i(7352),s=i(3269),n=i(7896);class r{fill;stroke;load(e){(0,n.kZ)(e)||(void 0!==e.fill&&(this.fill??=new a.S,this.fill.load(e.fill)),void 0!==e.stroke&&(this.stroke??=new s.t,this.stroke.load(e.stroke)))}}},7449(e,t,i){i.d(t,{U:()=>v});var a=i(4824),s=i(7896);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(9274),o=i(2550),l=i(7253),d=i(7445),u=i(6840),c=i(5586),h=i(930),p=i(8096);class v{bounce;effect;groups;move;number;opacity;paint;palette;reduceDuplicates;shape;size;zIndex;_container;_pluginManager;constructor(e,t){this._pluginManager=e,this._container=t,this.bounce=new d.w,this.effect=new n,this.groups={},this.move=new r.y,this.number=new u.N,this.opacity=new o.Y,this.paint=new l.P,this.reduceDuplicates=!1,this.shape=new c.y,this.size=new h.o,this.zIndex=new p.P}load(e){if((0,s.kZ)(e))return;if(e.palette&&(this.palette=e.palette,this._importPalette(this.palette)),void 0!==e.groups)for(let t of Object.keys(e.groups)){if(!(t in e.groups))continue;let i=e.groups[t];void 0!==i&&(this.groups[t]=(0,a.zw)(this.groups[t]??{},i))}void 0!==e.reduceDuplicates&&(this.reduceDuplicates=e.reduceDuplicates),this.bounce.load(e.bounce),this.effect.load(e.effect),this.move.load(e.move),this.number.load(e.number),this.opacity.load(e.opacity);let t=e.paint;if(t&&(this.paint=(0,a.wJ)(t,e=>{let t=new l.P;return t.load(e),t})),this.shape.load(e.shape),this.size.load(e.size),this.zIndex.load(e.zIndex),this._container){for(let t of this._pluginManager.plugins)t.loadParticlesOptions&&t.loadParticlesOptions(this._container,this,e);let t=this._pluginManager.updaters.get(this._container);if(t)for(let i of t)i.loadOptions&&i.loadOptions(this,e)}}_importPalette=e=>{let t=this._pluginManager.getPalette(e);if(!t)return;let i=t.colors,a=((0,s.cy)(i)?i:[i]).flatMap(e=>{let t=e.fill,i=e.stroke,a=t?{color:{value:t.value},enable:t.enable,opacity:t.opacity}:void 0;return i?[{fill:a,stroke:{color:{value:i.value},opacity:i.opacity,width:i.width||0}}]:[{fill:a}]}),n=a.length>1?a:a[0]??{};this.load({paint:n,blend:{enable:!0,mode:t.blendMode}})}}},5586(e,t,i){i.d(t,{y:()=>n});var a=i(4824),s=i(7896);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)}}},930(e,t,i){i.d(t,{o:()=>r});var a=i(611),s=i(970),n=i(7896);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)}}},970(e,t,i){i.d(t,{q:()=>r});var a=i(1549),s=i(9889),n=i(7896);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)}}},3269(e,t,i){i.d(t,{t:()=>r});var a=i(3390),s=i(7896),n=i(4594);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)))}}},8096(e,t,i){i.d(t,{P:()=>n});var a=i(611),s=i(7896);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))}}},611(e,t,i){i.d(t,{AI:()=>l,PV:()=>r});var a=i(9889),s=i(7896),n=i(4594);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)}}},7300(e,t,i){i.d(t,{IU:()=>r,Md:()=>n,Sn:()=>s,Wb:()=>l,p0:()=>o});var a=i(9236);function s(e,t,i){e.fillStyle=i??"rgba(0,0,0,0)",e.fillRect(a.bo.x,a.bo.y,t.width,t.height)}function n(e,t,i,s){if(!i)return;let n=e.globalAlpha;e.globalAlpha=s,e.drawImage(i,a.bo.x,a.bo.y,t.width,t.height),e.globalAlpha=n}function r(e,t){e.clearRect(a.bo.x,a.bo.y,t.width,t.height)}function o(e){let{container:t,context:i,particle:s,delta:n,colorStyles:r,radius:o,opacity:l,transform:d}=e,{effectDrawers:u,shapeDrawers:c}=t,h=s.getPosition(),p=s.getTransformData(d),v=a.Pf,f={x:h.x,y:h.y};i.setTransform(p.a,p.b,p.c,p.d,h.x,h.y),r.fill&&(i.fillStyle=r.fill);let g=!!s.fillEnabled,y=s.strokeWidth??a.Dv;i.lineWidth=y,r.stroke&&(i.strokeStyle=r.stroke);let m={context:i,particle:s,radius:o,drawRadius:o*v,opacity:l,delta:n,pixelRatio:t.retina.pixelRatio,fill:g,stroke:y>a.Dv,transformData:p,position:{...h},drawPosition:f,drawScale:v};for(let e of t.plugins)e.drawParticleTransform?.(m);let b=s.effect?u.get(s.effect):void 0,w=s.shape?c.get(s.shape):void 0;(function(e,t){if(!e?.drawBefore)return;let{particle:i}=t;i.effect&&e.drawBefore(t)})(b,m),function(e,t){if(!e?.beforeDraw)return;let{particle:i}=t;i.shape&&e.beforeDraw(t)}(w,m),function(e,t){if(!e)return;let{context:i,fill:a,particle:s,stroke:n}=t;s.shape&&(i.beginPath(),e.draw(t),s.shapeClose&&i.closePath(),a&&i.fill(),n&&i.stroke())}(w,m),function(e,t){if(!e?.afterDraw)return;let{particle:i}=t;i.shape&&e.afterDraw(t)}(w,m),function(e,t){if(!e?.drawAfter)return;let{particle:i}=t;i.effect&&e.drawAfter(t)}(b,m),i.resetTransform()}function l(e,t,i,a){t.drawParticle&&t.drawParticle(e,i,a)}},9221(e,t,i){i.d(t,{BN:()=>c,Jv:()=>_,LC:()=>m,O_:()=>x,PG:()=>w,R5:()=>h,YL:()=>p,_h:()=>b,ay:()=>v,pz:()=>M,xx:()=>g,yx:()=>S});var a=i(4594),s=i(9236),n=i(7896),r=i(820),o=i(9242),l=i(4824);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,a=!0){if(!t)return;let r=(0,n.Kg)(t)?{value:t}:t;if((0,n.Kg)(r.value))return function e(t,i,a,r=!0){if(!i)return;let o=(0,n.Kg)(i)?{value:i}:i;if((0,n.Kg)(o.value))return o.value===s.mR?f():function(e,t){if(t){for(let i of e.colorManagers.values())if(i.accepts(t))return i.parseString(t)}}(t,o.value);if((0,n.cy)(o.value)){let i=(0,l.Vh)(o.value,a,r);if(!i)return;return e(t,{value:i})}for(let e of t.colorManagers.values()){let t=e.handleColor(o);if(t)return t}}(e,r.value,i,a);if((0,n.cy)(r.value)){let t=(0,l.Vh)(r.value,i,a);if(!t)return;return c(e,{value:t})}for(let t of e.colorManagers.values()){let e=t.handleRangeColor(r);if(e)return e}}function h(e,t,i,a=!0){var n;let 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){let t=e??s.Fl,i=s.oi+s.D_,n=()=>Math.floor((0,a.e4)(t,i));return{b:n(),g:n(),r:n()}}function g(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?y(e,i):(a=e,n=i,`rgba(${a.r.toString()}, ${a.g.toString()}, ${a.b.toString()}, ${(n??s.hv).toString()})`)})}function y(e,t){return`color(display-p3 ${(e.r/s.oi).toString()} ${(e.g/s.oi).toString()} ${(e.b/s.oi).toString()} / ${(t??s.hv).toString()})`}function m(e,t,i){let a=i??s.hv;return 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,y(p(a),n)):(r=e,o=i,`hsla(${r.h.toString()}, ${r.s.toString()}%, ${r.l.toString()}%, ${(o??s.hv).toString()})`)})}function b(e,t,i){if(i===s.mR)return f();if(i!==s.BW)return i;{let i=e.getFillColor()??e.getStrokeColor(),s=t?.getFillColor()??t?.getStrokeColor();if(i&&s&&t){var n,r;let o,l;return n=e.getRadius(),r=t.getRadius(),o=i,l=s,"r"in o||(o=p(i)),"r"in l||(l=p(s)),{b:(0,a.jh)(o.b,l.b,n,r),g:(0,a.jh)(o.g,l.g,n,r),r:(0,a.jh)(o.r,l.r,n,r)}}{let e=i??s;if(e)return p(e)}}}function w(e,t,i,a){let r=(0,n.Kg)(t)?t:t.value;return r===s.mR?a?c(e,{value:r}):i?s.mR:s.BW:r===s.BW?s.BW:c(e,{value:r})}function x(e){return void 0===e?void 0:{h:e.h.value,s:e.s.value,l:e.l.value}}function M(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&&(z(a.h,t.h,i),z(a.s,t.s,i),z(a.l,t.l,i)),a}function z(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 k(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 _(e,t){if(!e)return;let{h:i,s:a,l:s}=e;k(i,!1,t),k(a,!0,t),k(s,!0,t)}function S(e,t,i){return{h:e.h,s:e.s,l:e.l+(t===r.H.darken?-s.iU:s.iU)*i}}},674(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}},4594(e,t,i){i.d(t,{$m:()=>_,DT:()=>function e(t,i){if(t===i||void 0===i&&(0,r.Et)(t))return t;let a=y(t),s=m(t);return void 0!==i?{min:Math.min(a,i),max:Math.max(s,i)}:e(a,s)},G0:()=>d,JY:()=>k,M3:()=>P,Nx:()=>S,Sg:()=>y,VG:()=>g,W9:()=>m,Yf:()=>x,e4:()=>u,gp:()=>M,i0:()=>c,jh:()=>v,pu:()=>z,px:()=>h,qE:()=>p,vE:()=>f,vr:()=>b});var a=i(9663),s=i(9236),n=i(2597),r=i(7896);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,t,i,a){return Math.floor((e*i+t*a)/(i+a))}function f(e){let t=m(e),i=y(e);return t===i&&(i=0),u(i,t)}function g(e){return(0,r.Et)(e)?e:f(e)}function y(e){return(0,r.Et)(e)?e:e.min}function m(e){return(0,r.Et)(e)?e:e.max}function b(e,t){let i=e.x-t.x,a=e.y-t.y;return{dx:i,dy:a,distance:Math.hypot(i,a)}}function w(e,t){let i=e.x-t.x,a=e.y-t.y;return i*i+a*a}function x(e,t){return Math.sqrt(w(e,t))}function M(e,t,i){return w(e,t)<=i*i}function z(e){return e*o}function k(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 _(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 P(e){return e?e.endsWith("%")?parseFloat(e)/s.a5:parseFloat(e):1}},1998(e,t,i){i.d(t,{Z:()=>s,y:()=>n});var a=i(7449);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}},7896(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})},4824(e,t,i){let a,s,n,r,o;i.d(t,{AE:()=>_,BR:()=>w,E9:()=>T,HQ:()=>A,Kp:()=>D,Ot:()=>$,T5:()=>m,TA:()=>P,Tj:()=>k,UC:()=>L,Vh:()=>z,Xs:()=>E,hJ:()=>I,hn:()=>M,lV:()=>b,tG:()=>x,td:()=>R,w3:()=>O,wJ:()=>S,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(4594),u=i(9236),c=i(7896),h=i(5376),p=i(9242),v=i(1549),f=i(77),g=i(9246),y=i(8703);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=_(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 _(e,t){return{bottom:e.y+t,left:e.x-t,right:e.x+t,top:e.y-t}}function S(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+=n;break;case p.H.decreasing:t.value-=n}switch(t.velocity&&1!==l&&(t.velocity*=l),t.status){case p.H.increasing:t.value>=o&&(i?t.status=p.H.decreasing:t.value-=o,t.loops??=0,t.loops++);break;case p.H.decreasing:t.value<=r&&(i?t.status=p.H.increasing:t.value+=o,t.loops??=0,t.loops++)}var u=t.value;switch(a){case v.V.max:u>=o&&e.destroy();break;case v.V.min:u<=r&&e.destroy()}e.destroyed||(t.value=(0,d.qE)(t.value,r,o))}}function R(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(2597);let I=(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}},7279(e,t,i){i.d(t,{jlt:()=>b.jl,Oit:()=>k.O,Yzx:()=>M.Y,v5k:()=>x.v,x_I:()=>z.x,M_G:()=>b.M_,pTR:()=>r,Miz:()=>w.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:()=>_.pz,OtU:()=>u.Ot,HQK:()=>u.HQ,_hh:()=>_._h,PGG:()=>_.PG,G0i:()=>f.G0,W9e:()=>f.W9,VGA:()=>f.VG,xxz:()=>_.xx,MXx:()=>d.MX,YLU:()=>_.YL,ayx:()=>_.ay,XsS:()=>u.Xs,cyL:()=>S.cy,hnD:()=>u.hn,kZJ:()=>S.kZ,Gvm:()=>S.Gv,Tj8:()=>u.Tj,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:()=>_.R5,BN0:()=>_.BN,T5G:()=>u.T5,BRq:()=>u.BR,$k3:()=>P,UC0:()=>u.UC,JvX:()=>_.Jv,nKi:()=>d.nK});var a,s,n,r,o,l,d=i(9236),u=i(4824);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(304);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(674),f=i(4594);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.12"}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(979).then(i.bind(i,1979)),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)}}var b=i(1252),w=i(2597);i(9663),(a=r||(r={})).clockwise="clockwise",a.counterClockwise="counter-clockwise",a.random="random";var x=i(77);i(5376),i(2929);var M=i(2918);i(9246),i(820),i(1549),(s=o||(o={})).linear="linear",s.radial="radial",s.random="random";var z=i(7854);i(8703),(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(9242),i(3390),i(9889),i(3662),i(8098),i(8787);var k=i(8208);i(7445),i(4878),i(7449),i(7352),i(7253),i(3269),i(9274),i(491),i(7919),i(5002),i(7023),i(6749),i(6067),i(6840),i(7246),i(2550),i(14),i(5586),i(930),i(970),i(8096),i(611),i(7300);var _=i(9221);i(1998);var S=i(7896);let P=new m;globalThis.tsParticles=P}},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-triangles:"+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-triangles:"+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={327: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_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).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},{loadParticlesLinksInteraction:i},{loadInteractivityPlugin:a},{options:s}]=await Promise.all([n.e(623).then(n.bind(n,4623)),n.e(212).then(n.bind(n,1212)),n.e(586).then(n.bind(n,4586)),n.e(837).then(n.bind(n,5837))]),r=async e=>{await a(e),await i(e)};await Promise.all([t(e),r(e)]),e.pluginManager.addPreset("triangles",s)})}n.r(c),n.d(c,{loadTrianglesPreset:()=>h,tsParticles:()=>p.$k3});var p=n(7279);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-beta.
|
|
7
|
+
* v4.0.0-beta.12
|
|
8
8
|
*/
|
|
9
9
|
/*
|
|
10
10
|
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/plugin-interactivity"),require("@tsparticles/interaction-particles-links"),require("@tsparticles/basic"));else if("function"==typeof define&&define.amd)define(["@tsparticles/plugin-interactivity","@tsparticles/interaction-particles-links","@tsparticles/basic"],t);else{var r="object"==typeof exports?t(require("@tsparticles/plugin-interactivity"),require("@tsparticles/interaction-particles-links"),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},613(e){e.exports=t},702(t){t.exports=e}},s={};function l(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return a[e](r,r.exports,l),r.exports}l.m=a,p=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l.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);l.r(r);var i={};c=c||[null,p({}),p([]),p(p)];for(var o=2&t&&e;("object"==typeof o||"function"==typeof o)&&!~c.indexOf(o);o=p(o))Object.getOwnPropertyNames(o).forEach(t=>i[t]=()=>e[t]);return i.default=()=>e,l.d(r,i),r},l.d=(e,t)=>{for(var r in t)l.o(t,r)&&!l.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce((t,r)=>(l.f[r](e,t),t),[])),l.u=e=>""+e+".min.js",l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u={},l.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 c=a[s];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")=="@tsparticles/preset-triangles:"+r){o=c;break}}o||(n=!0,(o=document.createElement("script")).charset="utf-8",l.nc&&o.setAttribute("nonce",l.nc),o.setAttribute("data-webpack","@tsparticles/preset-triangles:"+r),o.src=e),u[e]=[t];var p=(t,r)=>{o.onerror=o.onload=null,clearTimeout(d);var i=u[e];if(delete u[e],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach(e=>e(r)),t)return t(r)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=p.bind(null,o.onerror),o.onload=p.bind(null,o.onload),n&&document.head.appendChild(o)},l.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.g.importScripts&&(d=l.g.location+"");var c,p,u,d,f=l.g.document;if(!d&&f&&(f.currentScript&&"SCRIPT"===f.currentScript.tagName.toUpperCase()&&(d=f.currentScript.src),!d)){var b=f.getElementsByTagName("script");if(b.length)for(var g=b.length-1;g>-1&&(!d||!/^http(s?):/.test(d));)d=b[g--].src}if(!d)throw Error("Automatic publicPath is not supported in this browser");l.p=d=d.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i={859:0},l.f.j=(e,t)=>{var r=l.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=l.p+l.u(e),a=Error();l.l(n,t=>{if(l.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,c=0;if(n.some(e=>0!==i[e])){for(r in a)l.o(a,r)&&(l.m[r]=a[r]);s&&s(l)}for(e&&e(t);c<n.length;c++)o=n[c],l.o(i,o)&&i[o]&&i[o][0](),i[o]=0},(n=this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).forEach(o.bind(null,0)),n.push=o.bind(null,n.push.bind(n));var h={};async function m(e){await e.pluginManager.register(async e=>{let[{loadBasic:t},{loadParticlesLinksInteraction:r},{loadInteractivityPlugin:i},{options:o}]=await Promise.all([Promise.resolve().then(l.t.bind(l,145,19)),Promise.resolve().then(l.t.bind(l,613,19)),Promise.resolve().then(l.t.bind(l,702,19)),l.e(
|
|
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,c=0;if(n.some(e=>0!==i[e])){for(r in a)l.o(a,r)&&(l.m[r]=a[r]);s&&s(l)}for(e&&e(t);c<n.length;c++)o=n[c],l.o(i,o)&&i[o]&&i[o][0](),i[o]=0},(n=this.webpackChunk_tsparticles_preset_triangles=this.webpackChunk_tsparticles_preset_triangles||[]).forEach(o.bind(null,0)),n.push=o.bind(null,n.push.bind(n));var h={};async function m(e){await e.pluginManager.register(async e=>{let[{loadBasic:t},{loadParticlesLinksInteraction:r},{loadInteractivityPlugin:i},{options:o}]=await Promise.all([Promise.resolve().then(l.t.bind(l,145,19)),Promise.resolve().then(l.t.bind(l,613,19)),Promise.resolve().then(l.t.bind(l,702,19)),l.e(837).then(l.bind(l,837))]),n=async e=>{await i(e),await r(e)};await Promise.all([t(e),n(e)]),e.pluginManager.addPreset("triangles",o)})}return l.r(h),l.d(h,{loadTrianglesPreset:()=>m}),h})());
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v4.0.0-beta.12
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_preset_triangles"] = this["webpackChunk_tsparticles_preset_triangles"] || []).push([["updaters_opacity_dist_browser_OpacityUpdater_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../updaters/opacity/dist/browser/OpacityUpdater.js"
|
|
21
|
+
/*!*************************************************************!*\
|
|
22
|
+
!*** ../../updaters/opacity/dist/browser/OpacityUpdater.js ***!
|
|
23
|
+
\*************************************************************/
|
|
24
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
25
|
+
|
|
26
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ OpacityUpdater: () => (/* binding */ OpacityUpdater)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nclass OpacityUpdater {\n container;\n constructor(container){\n this.container = container;\n }\n init(particle) {\n const opacityOptions = particle.options.opacity, pxRatio = 1;\n particle.opacity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.initParticleNumericAnimationValue)(opacityOptions, pxRatio);\n const opacityAnimation = opacityOptions.animation;\n if (opacityAnimation.enable) {\n particle.opacity.velocity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(opacityAnimation.speed) / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator * this.container.retina.reduceFactor;\n if (!opacityAnimation.sync) {\n particle.opacity.velocity *= (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)();\n }\n }\n }\n isEnabled(particle) {\n const none = 0;\n return !particle.destroyed && !particle.spawning && !!particle.opacity && particle.opacity.enable && ((particle.opacity.maxLoops ?? none) <= none || (particle.opacity.maxLoops ?? none) > none && (particle.opacity.loops ?? none) < (particle.opacity.maxLoops ?? none));\n }\n reset(particle) {\n if (!particle.opacity) {\n return;\n }\n particle.opacity.time = 0;\n particle.opacity.loops = 0;\n }\n update(particle, delta) {\n if (!this.isEnabled(particle) || !particle.opacity) {\n return;\n }\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.updateAnimation)(particle, particle.opacity, true, particle.options.opacity.animation.destroy, delta);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-triangles/../../updaters/opacity/dist/browser/OpacityUpdater.js?\n}");
|
|
27
|
+
|
|
28
|
+
/***/ }
|
|
29
|
+
|
|
30
|
+
}]);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v4.0.0-beta.12
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_preset_triangles"] = this["webpackChunk_tsparticles_preset_triangles"] || []).push([["updaters_opacity_dist_browser_index_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../updaters/opacity/dist/browser/index.js"
|
|
21
|
+
/*!****************************************************!*\
|
|
22
|
+
!*** ../../updaters/opacity/dist/browser/index.js ***!
|
|
23
|
+
\****************************************************/
|
|
24
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
25
|
+
|
|
26
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadOpacityUpdater: () => (/* binding */ loadOpacityUpdater)\n/* harmony export */ });\nasync function loadOpacityUpdater(engine) {\n engine.checkVersion(\"4.0.0-beta.12\");\n await engine.pluginManager.register((e)=>{\n e.pluginManager.addParticleUpdater(\"opacity\", async (container)=>{\n const { OpacityUpdater } = await __webpack_require__.e(/*! import() */ \"updaters_opacity_dist_browser_OpacityUpdater_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./OpacityUpdater.js */ \"../../updaters/opacity/dist/browser/OpacityUpdater.js\"));\n return new OpacityUpdater(container);\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-triangles/../../updaters/opacity/dist/browser/index.js?\n}");
|
|
27
|
+
|
|
28
|
+
/***/ }
|
|
29
|
+
|
|
30
|
+
}]);
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v4.0.0-beta.12
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_preset_triangles"] = this["webpackChunk_tsparticles_preset_triangles"] || []).push([["updaters_outModes_dist_browser_OutOfCanvasUpdater_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../updaters/outModes/dist/browser/BounceOutMode.js"
|
|
21
|
+
/*!*************************************************************!*\
|
|
22
|
+
!*** ../../updaters/outModes/dist/browser/BounceOutMode.js ***!
|
|
23
|
+
\*************************************************************/
|
|
24
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
25
|
+
|
|
26
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BounceOutMode: () => (/* binding */ BounceOutMode)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utils.js */ \"../../updaters/outModes/dist/browser/Utils.js\");\n\n\nclass BounceOutMode {\n container;\n modes;\n _particleBouncePlugins;\n constructor(container){\n this.container = container;\n this.modes = [\n _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.bounce,\n _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.split\n ];\n this._particleBouncePlugins = container.plugins.filter((p)=>p.particleBounce !== undefined);\n }\n update(particle, direction, delta, outMode) {\n if (!this.modes.includes(outMode)) {\n return;\n }\n const container = this.container;\n let handled = false;\n for (const plugin of this._particleBouncePlugins){\n handled = plugin.particleBounce?.(particle, delta, direction) ?? false;\n if (handled) {\n break;\n }\n }\n if (handled) {\n return;\n }\n const pos = particle.getPosition(), offset = particle.offset, size = particle.getRadius(), bounds = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.calculateBounds)(pos, size), canvasSize = container.canvas.size;\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.bounceHorizontal)({\n particle,\n outMode,\n direction,\n bounds,\n canvasSize,\n offset,\n size\n });\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.bounceVertical)({\n particle,\n outMode,\n direction,\n bounds,\n canvasSize,\n offset,\n size\n });\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-triangles/../../updaters/outModes/dist/browser/BounceOutMode.js?\n}");
|
|
27
|
+
|
|
28
|
+
/***/ },
|
|
29
|
+
|
|
30
|
+
/***/ "../../updaters/outModes/dist/browser/DestroyOutMode.js"
|
|
31
|
+
/*!**************************************************************!*\
|
|
32
|
+
!*** ../../updaters/outModes/dist/browser/DestroyOutMode.js ***!
|
|
33
|
+
\**************************************************************/
|
|
34
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
35
|
+
|
|
36
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ DestroyOutMode: () => (/* binding */ DestroyOutMode)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst minVelocity = 0;\nclass DestroyOutMode {\n container;\n modes;\n constructor(container){\n this.container = container;\n this.modes = [\n _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.destroy\n ];\n }\n update(particle, direction, _delta, outMode) {\n if (!this.modes.includes(outMode)) {\n return;\n }\n const container = this.container;\n switch(particle.outType){\n case _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ParticleOutType.normal:\n case _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ParticleOutType.outside:\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isPointInside)(particle.position, container.canvas.size, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.originPoint, particle.getRadius(), direction)) {\n return;\n }\n break;\n case _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ParticleOutType.inside:\n {\n const { dx, dy } = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistances)(particle.position, particle.moveCenter), { x: vx, y: vy } = particle.velocity;\n if (vx < minVelocity && dx > particle.moveCenter.radius || vy < minVelocity && dy > particle.moveCenter.radius || vx >= minVelocity && dx < -particle.moveCenter.radius || vy >= minVelocity && dy < -particle.moveCenter.radius) {\n return;\n }\n break;\n }\n }\n particle.destroy(true);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-triangles/../../updaters/outModes/dist/browser/DestroyOutMode.js?\n}");
|
|
37
|
+
|
|
38
|
+
/***/ },
|
|
39
|
+
|
|
40
|
+
/***/ "../../updaters/outModes/dist/browser/NoneOutMode.js"
|
|
41
|
+
/*!***********************************************************!*\
|
|
42
|
+
!*** ../../updaters/outModes/dist/browser/NoneOutMode.js ***!
|
|
43
|
+
\***********************************************************/
|
|
44
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
45
|
+
|
|
46
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ NoneOutMode: () => (/* binding */ NoneOutMode)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst minVelocity = 0;\nclass NoneOutMode {\n container;\n modes;\n constructor(container){\n this.container = container;\n this.modes = [\n _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.none\n ];\n }\n update(particle, direction, _delta, outMode) {\n if (!this.modes.includes(outMode)) {\n return;\n }\n if ((particle.options.move.distance.horizontal && (direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.left || direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.right)) ?? (particle.options.move.distance.vertical && (direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.top || direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.bottom))) {\n return;\n }\n const gravityOptions = particle.options.move.gravity, container = this.container, canvasSize = container.canvas.size, pRadius = particle.getRadius();\n if (!gravityOptions.enable) {\n if (particle.velocity.y > minVelocity && particle.position.y <= canvasSize.height + pRadius || particle.velocity.y < minVelocity && particle.position.y >= -pRadius || particle.velocity.x > minVelocity && particle.position.x <= canvasSize.width + pRadius || particle.velocity.x < minVelocity && particle.position.x >= -pRadius) {\n return;\n }\n if (!(0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isPointInside)(particle.position, container.canvas.size, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.originPoint, pRadius, direction)) {\n particle.destroy();\n }\n } else {\n const position = particle.position;\n if (!gravityOptions.inverse && position.y > canvasSize.height + pRadius && direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.bottom || gravityOptions.inverse && position.y < -pRadius && direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.top) {\n particle.destroy();\n }\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-triangles/../../updaters/outModes/dist/browser/NoneOutMode.js?\n}");
|
|
47
|
+
|
|
48
|
+
/***/ },
|
|
49
|
+
|
|
50
|
+
/***/ "../../updaters/outModes/dist/browser/OutOfCanvasUpdater.js"
|
|
51
|
+
/*!******************************************************************!*\
|
|
52
|
+
!*** ../../updaters/outModes/dist/browser/OutOfCanvasUpdater.js ***!
|
|
53
|
+
\******************************************************************/
|
|
54
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
55
|
+
|
|
56
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ OutOfCanvasUpdater: () => (/* binding */ OutOfCanvasUpdater)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n/* harmony import */ var _BounceOutMode_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BounceOutMode.js */ \"../../updaters/outModes/dist/browser/BounceOutMode.js\");\n/* harmony import */ var _DestroyOutMode_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./DestroyOutMode.js */ \"../../updaters/outModes/dist/browser/DestroyOutMode.js\");\n/* harmony import */ var _NoneOutMode_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./NoneOutMode.js */ \"../../updaters/outModes/dist/browser/NoneOutMode.js\");\n/* harmony import */ var _OutOutMode_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./OutOutMode.js */ \"../../updaters/outModes/dist/browser/OutOutMode.js\");\n\n\n\n\n\nconst checkOutMode = (outModes, outMode)=>{\n return outModes.default === outMode || outModes.bottom === outMode || outModes.left === outMode || outModes.right === outMode || outModes.top === outMode;\n};\nclass OutOfCanvasUpdater {\n updaters;\n container;\n constructor(container){\n this.container = container;\n this.updaters = new Map();\n }\n init(particle) {\n this._addUpdaterIfMissing(particle, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.bounce, (container)=>new _BounceOutMode_js__WEBPACK_IMPORTED_MODULE_1__.BounceOutMode(container));\n this._addUpdaterIfMissing(particle, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.out, (container)=>new _OutOutMode_js__WEBPACK_IMPORTED_MODULE_4__.OutOutMode(container));\n this._addUpdaterIfMissing(particle, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.destroy, (container)=>new _DestroyOutMode_js__WEBPACK_IMPORTED_MODULE_2__.DestroyOutMode(container));\n this._addUpdaterIfMissing(particle, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.none, (container)=>new _NoneOutMode_js__WEBPACK_IMPORTED_MODULE_3__.NoneOutMode(container));\n }\n isEnabled(particle) {\n return !particle.destroyed && !particle.spawning;\n }\n update(particle, delta) {\n const outModes = particle.options.move.outModes;\n this._updateOutMode(particle, delta, outModes.bottom ?? outModes.default, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.bottom);\n this._updateOutMode(particle, delta, outModes.left ?? outModes.default, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.left);\n this._updateOutMode(particle, delta, outModes.right ?? outModes.default, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.right);\n this._updateOutMode(particle, delta, outModes.top ?? outModes.default, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.top);\n }\n _addUpdaterIfMissing = (particle, outMode, getUpdater)=>{\n const outModes = particle.options.move.outModes;\n if (!this.updaters.has(outMode) && checkOutMode(outModes, outMode)) {\n this.updaters.set(outMode, getUpdater(this.container));\n }\n };\n _updateOutMode = (particle, delta, outMode, direction)=>{\n for (const updater of this.updaters.values()){\n updater.update(particle, direction, delta, outMode);\n }\n };\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-triangles/../../updaters/outModes/dist/browser/OutOfCanvasUpdater.js?\n}");
|
|
57
|
+
|
|
58
|
+
/***/ },
|
|
59
|
+
|
|
60
|
+
/***/ "../../updaters/outModes/dist/browser/OutOutMode.js"
|
|
61
|
+
/*!**********************************************************!*\
|
|
62
|
+
!*** ../../updaters/outModes/dist/browser/OutOutMode.js ***!
|
|
63
|
+
\**********************************************************/
|
|
64
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
65
|
+
|
|
66
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ OutOutMode: () => (/* binding */ OutOutMode)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst minVelocity = 0, minDistance = 0, updateVector = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.Vector.origin;\nclass OutOutMode {\n container;\n modes;\n constructor(container){\n this.container = container;\n this.modes = [\n _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.out\n ];\n }\n update(particle, direction, _delta, outMode) {\n if (!this.modes.includes(outMode)) {\n return;\n }\n const container = this.container;\n switch(particle.outType){\n case _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ParticleOutType.inside:\n {\n const { x: vx, y: vy } = particle.velocity;\n updateVector.setTo(_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.originPoint);\n updateVector.length = particle.moveCenter.radius;\n updateVector.angle = particle.velocity.angle + Math.PI;\n updateVector.addTo(particle.moveCenter);\n const { dx, dy } = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistances)(particle.position, updateVector);\n if (vx <= minVelocity && dx >= minDistance || vy <= minVelocity && dy >= minDistance || vx >= minVelocity && dx <= minDistance || vy >= minVelocity && dy <= minDistance) {\n return;\n }\n particle.position.x = Math.floor((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.randomInRangeValue)({\n min: 0,\n max: container.canvas.size.width\n }));\n particle.position.y = Math.floor((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.randomInRangeValue)({\n min: 0,\n max: container.canvas.size.height\n }));\n const { dx: newDx, dy: newDy } = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistances)(particle.position, particle.moveCenter);\n particle.direction = Math.atan2(-newDy, -newDx);\n particle.velocity.angle = particle.direction;\n break;\n }\n default:\n {\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isPointInside)(particle.position, container.canvas.size, _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.originPoint, particle.getRadius(), direction)) {\n return;\n }\n switch(particle.outType){\n case _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ParticleOutType.outside:\n {\n particle.position.x = Math.floor((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.randomInRangeValue)({\n min: -particle.moveCenter.radius,\n max: particle.moveCenter.radius\n })) + particle.moveCenter.x;\n particle.position.y = Math.floor((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.randomInRangeValue)({\n min: -particle.moveCenter.radius,\n max: particle.moveCenter.radius\n })) + particle.moveCenter.y;\n const { dx, dy } = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistances)(particle.position, particle.moveCenter);\n if (particle.moveCenter.radius) {\n particle.direction = Math.atan2(dy, dx);\n particle.velocity.angle = particle.direction;\n }\n break;\n }\n case _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ParticleOutType.normal:\n {\n const warp = particle.options.move.warp, canvasSize = container.canvas.size, newPos = {\n bottom: canvasSize.height + particle.getRadius() + particle.offset.y,\n left: -particle.getRadius() - particle.offset.x,\n right: canvasSize.width + particle.getRadius() + particle.offset.x,\n top: -particle.getRadius() - particle.offset.y\n }, sizeValue = particle.getRadius(), nextBounds = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.calculateBounds)(particle.position, sizeValue);\n if (direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.right && nextBounds.left > canvasSize.width + particle.offset.x) {\n particle.position.x = newPos.left;\n particle.initialPosition.x = particle.position.x;\n if (!warp) {\n particle.position.y = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() * canvasSize.height;\n particle.initialPosition.y = particle.position.y;\n }\n } else if (direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.left && nextBounds.right < -particle.offset.x) {\n particle.position.x = newPos.right;\n particle.initialPosition.x = particle.position.x;\n if (!warp) {\n particle.position.y = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() * canvasSize.height;\n particle.initialPosition.y = particle.position.y;\n }\n }\n if (direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.bottom && nextBounds.top > canvasSize.height + particle.offset.y) {\n if (!warp) {\n particle.position.x = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() * canvasSize.width;\n particle.initialPosition.x = particle.position.x;\n }\n particle.position.y = newPos.top;\n particle.initialPosition.y = particle.position.y;\n } else if (direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.top && nextBounds.bottom < -particle.offset.y) {\n if (!warp) {\n particle.position.x = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() * canvasSize.width;\n particle.initialPosition.x = particle.position.x;\n }\n particle.position.y = newPos.bottom;\n particle.initialPosition.y = particle.position.y;\n }\n break;\n }\n }\n break;\n }\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-triangles/../../updaters/outModes/dist/browser/OutOutMode.js?\n}");
|
|
67
|
+
|
|
68
|
+
/***/ },
|
|
69
|
+
|
|
70
|
+
/***/ "../../updaters/outModes/dist/browser/Utils.js"
|
|
71
|
+
/*!*****************************************************!*\
|
|
72
|
+
!*** ../../updaters/outModes/dist/browser/Utils.js ***!
|
|
73
|
+
\*****************************************************/
|
|
74
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
75
|
+
|
|
76
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ bounceHorizontal: () => (/* binding */ bounceHorizontal),\n/* harmony export */ bounceVertical: () => (/* binding */ bounceVertical)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst minVelocity = 0, boundsMin = 0;\nfunction bounceHorizontal(data) {\n if (data.outMode !== _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.bounce && data.outMode !== _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.split || data.direction !== _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.left && data.direction !== _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.right) {\n return;\n }\n if (data.bounds.right < boundsMin && data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.left) {\n data.particle.position.x = data.size + data.offset.x;\n } else if (data.bounds.left > data.canvasSize.width && data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.right) {\n data.particle.position.x = data.canvasSize.width - data.size - data.offset.x;\n }\n const velocity = data.particle.velocity.x;\n let bounced = false;\n if (data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.right && data.bounds.right >= data.canvasSize.width && velocity > minVelocity || data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.left && data.bounds.left <= boundsMin && velocity < minVelocity) {\n const newVelocity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(data.particle.options.bounce.horizontal.value);\n data.particle.velocity.x *= -newVelocity;\n bounced = true;\n }\n if (!bounced) {\n return;\n }\n const minPos = data.offset.x + data.size;\n if (data.bounds.right >= data.canvasSize.width && data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.right) {\n data.particle.position.x = data.canvasSize.width - minPos;\n } else if (data.bounds.left <= boundsMin && data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.left) {\n data.particle.position.x = minPos;\n }\n if (data.outMode === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.split) {\n data.particle.destroy();\n }\n}\nfunction bounceVertical(data) {\n if (data.outMode !== _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.bounce && data.outMode !== _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.split || data.direction !== _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.bottom && data.direction !== _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.top) {\n return;\n }\n if (data.bounds.bottom < boundsMin && data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.top) {\n data.particle.position.y = data.size + data.offset.y;\n } else if (data.bounds.top > data.canvasSize.height && data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.bottom) {\n data.particle.position.y = data.canvasSize.height - data.size - data.offset.y;\n }\n const velocity = data.particle.velocity.y;\n let bounced = false;\n if (data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.bottom && data.bounds.bottom >= data.canvasSize.height && velocity > minVelocity || data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.top && data.bounds.top <= boundsMin && velocity < minVelocity) {\n const newVelocity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(data.particle.options.bounce.vertical.value);\n data.particle.velocity.y *= -newVelocity;\n bounced = true;\n }\n if (!bounced) {\n return;\n }\n const minPos = data.offset.y + data.size;\n if (data.bounds.bottom >= data.canvasSize.height && data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.bottom) {\n data.particle.position.y = data.canvasSize.height - minPos;\n } else if (data.bounds.top <= boundsMin && data.direction === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutModeDirection.top) {\n data.particle.position.y = minPos;\n }\n if (data.outMode === _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.split) {\n data.particle.destroy();\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-triangles/../../updaters/outModes/dist/browser/Utils.js?\n}");
|
|
77
|
+
|
|
78
|
+
/***/ }
|
|
79
|
+
|
|
80
|
+
}]);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v4.0.0-beta.12
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_preset_triangles"] = this["webpackChunk_tsparticles_preset_triangles"] || []).push([["updaters_outModes_dist_browser_index_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../updaters/outModes/dist/browser/index.js"
|
|
21
|
+
/*!*****************************************************!*\
|
|
22
|
+
!*** ../../updaters/outModes/dist/browser/index.js ***!
|
|
23
|
+
\*****************************************************/
|
|
24
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
25
|
+
|
|
26
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadOutModesUpdater: () => (/* binding */ loadOutModesUpdater)\n/* harmony export */ });\nasync function loadOutModesUpdater(engine) {\n engine.checkVersion(\"4.0.0-beta.12\");\n await engine.pluginManager.register((e)=>{\n e.pluginManager.addParticleUpdater(\"outModes\", async (container)=>{\n const { OutOfCanvasUpdater } = await __webpack_require__.e(/*! import() */ \"updaters_outModes_dist_browser_OutOfCanvasUpdater_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./OutOfCanvasUpdater.js */ \"../../updaters/outModes/dist/browser/OutOfCanvasUpdater.js\"));\n return new OutOfCanvasUpdater(container);\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-triangles/../../updaters/outModes/dist/browser/index.js?\n}");
|
|
27
|
+
|
|
28
|
+
/***/ }
|
|
29
|
+
|
|
30
|
+
}]);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v4.0.0-beta.12
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_preset_triangles"] = this["webpackChunk_tsparticles_preset_triangles"] || []).push([["updaters_paint_dist_browser_PaintUpdater_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../updaters/paint/dist/browser/PaintUpdater.js"
|
|
21
|
+
/*!*********************************************************!*\
|
|
22
|
+
!*** ../../updaters/paint/dist/browser/PaintUpdater.js ***!
|
|
23
|
+
\*********************************************************/
|
|
24
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
25
|
+
|
|
26
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ PaintUpdater: () => (/* binding */ PaintUpdater)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst defaultOpacity = 1;\nclass PaintUpdater {\n _container;\n _pluginManager;\n constructor(pluginManager, container){\n this._container = container;\n this._pluginManager = pluginManager;\n }\n init(particle) {\n const container = this._container, options = particle.options, paint = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.itemFromSingleOrMultiple)(options.paint, particle.id, options.reduceDuplicates), fill = paint?.fill, stroke = paint?.stroke;\n if (fill) {\n particle.fillEnabled = fill.enable;\n particle.fillOpacity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(fill.opacity);\n particle.fillAnimation = fill.color.animation;\n const fillHslColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.rangeColorToHsl)(this._pluginManager, fill.color);\n if (fillHslColor) {\n particle.fillColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getHslAnimationFromHsl)(fillHslColor, particle.fillAnimation, container.retina.reduceFactor);\n }\n } else {\n particle.fillEnabled = false;\n particle.fillAnimation = undefined;\n particle.fillColor = undefined;\n particle.fillOpacity = defaultOpacity;\n }\n if (stroke) {\n particle.strokeWidth = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(stroke.width) * container.retina.pixelRatio;\n particle.strokeOpacity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(stroke.opacity ?? defaultOpacity);\n particle.strokeAnimation = stroke.color?.animation;\n const strokeHslColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.rangeColorToHsl)(this._pluginManager, stroke.color) ?? particle.getFillColor();\n if (strokeHslColor) {\n particle.strokeColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getHslAnimationFromHsl)(strokeHslColor, particle.strokeAnimation, container.retina.reduceFactor);\n }\n } else {\n particle.strokeAnimation = undefined;\n particle.strokeColor = undefined;\n particle.strokeOpacity = defaultOpacity;\n particle.strokeWidth = 0;\n }\n }\n isEnabled(particle) {\n const { fillAnimation, fillColor, strokeAnimation, strokeColor } = particle, fillEnabled = !!fillAnimation && (fillColor?.h.value !== undefined && fillColor.h.enable || fillColor?.s.value !== undefined && fillColor.s.enable || fillColor?.l.value !== undefined && fillColor.l.enable), strokeEnabled = !!strokeAnimation && (strokeColor?.h.value !== undefined && strokeColor.h.enable || strokeColor?.s.value !== undefined && strokeColor.s.enable || strokeColor?.l.value !== undefined && strokeColor.l.enable);\n return !particle.destroyed && !particle.spawning && (fillEnabled || strokeEnabled);\n }\n update(particle, delta) {\n if (!this.isEnabled(particle)) {\n return;\n }\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.updateColor)(particle.fillColor, delta);\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.updateColor)(particle.strokeColor, delta);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-triangles/../../updaters/paint/dist/browser/PaintUpdater.js?\n}");
|
|
27
|
+
|
|
28
|
+
/***/ }
|
|
29
|
+
|
|
30
|
+
}]);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v4.0.0-beta.12
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_preset_triangles"] = this["webpackChunk_tsparticles_preset_triangles"] || []).push([["updaters_paint_dist_browser_index_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../updaters/paint/dist/browser/index.js"
|
|
21
|
+
/*!**************************************************!*\
|
|
22
|
+
!*** ../../updaters/paint/dist/browser/index.js ***!
|
|
23
|
+
\**************************************************/
|
|
24
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
25
|
+
|
|
26
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadPaintUpdater: () => (/* binding */ loadPaintUpdater)\n/* harmony export */ });\nasync function loadPaintUpdater(engine) {\n engine.checkVersion(\"4.0.0-beta.12\");\n await engine.pluginManager.register((e)=>{\n e.pluginManager.addParticleUpdater(\"paint\", async (container)=>{\n const { PaintUpdater } = await __webpack_require__.e(/*! import() */ \"updaters_paint_dist_browser_PaintUpdater_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./PaintUpdater.js */ \"../../updaters/paint/dist/browser/PaintUpdater.js\"));\n return new PaintUpdater(e.pluginManager, container);\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-triangles/../../updaters/paint/dist/browser/index.js?\n}");
|
|
27
|
+
|
|
28
|
+
/***/ }
|
|
29
|
+
|
|
30
|
+
}]);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v4.0.0-beta.12
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_preset_triangles"] = this["webpackChunk_tsparticles_preset_triangles"] || []).push([["updaters_size_dist_browser_SizeUpdater_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../updaters/size/dist/browser/SizeUpdater.js"
|
|
21
|
+
/*!*******************************************************!*\
|
|
22
|
+
!*** ../../updaters/size/dist/browser/SizeUpdater.js ***!
|
|
23
|
+
\*******************************************************/
|
|
24
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
25
|
+
|
|
26
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SizeUpdater: () => (/* binding */ SizeUpdater)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst minLoops = 0;\nclass SizeUpdater {\n _container;\n constructor(container){\n this._container = container;\n }\n init(particle) {\n const container = this._container, sizeOptions = particle.options.size, sizeAnimation = sizeOptions.animation;\n if (sizeAnimation.enable) {\n particle.size.velocity = particle.retina.sizeAnimationSpeed / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator * container.retina.reduceFactor;\n if (!sizeAnimation.sync) {\n particle.size.velocity *= (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)();\n }\n }\n }\n isEnabled(particle) {\n return !particle.destroyed && !particle.spawning && particle.size.enable && ((particle.size.maxLoops ?? minLoops) <= minLoops || (particle.size.maxLoops ?? minLoops) > minLoops && (particle.size.loops ?? minLoops) < (particle.size.maxLoops ?? minLoops));\n }\n reset(particle) {\n particle.size.time = 0;\n particle.size.loops = 0;\n }\n update(particle, delta) {\n if (!this.isEnabled(particle)) {\n return;\n }\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.updateAnimation)(particle, particle.size, true, particle.options.size.animation.destroy, delta);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-triangles/../../updaters/size/dist/browser/SizeUpdater.js?\n}");
|
|
27
|
+
|
|
28
|
+
/***/ }
|
|
29
|
+
|
|
30
|
+
}]);
|