@tsparticles/confetti 3.2.2 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2043.min.js +2 -0
- package/2043.min.js.LICENSE.txt +1 -0
- package/2112.min.js +2 -0
- package/2112.min.js.LICENSE.txt +1 -0
- package/2136.min.js +2 -0
- package/2136.min.js.LICENSE.txt +1 -0
- package/2284.min.js +2 -0
- package/2284.min.js.LICENSE.txt +1 -0
- package/2370.min.js +2 -0
- package/2370.min.js.LICENSE.txt +1 -0
- package/2497.min.js +2 -0
- package/2497.min.js.LICENSE.txt +1 -0
- package/286.min.js +2 -0
- package/286.min.js.LICENSE.txt +1 -0
- package/3237.min.js +2 -0
- package/3237.min.js.LICENSE.txt +1 -0
- package/335.min.js +2 -0
- package/335.min.js.LICENSE.txt +1 -0
- package/3416.min.js +2 -0
- package/3416.min.js.LICENSE.txt +1 -0
- package/344.min.js +2 -0
- package/344.min.js.LICENSE.txt +1 -0
- package/357.min.js +2 -0
- package/357.min.js.LICENSE.txt +1 -0
- package/3622.min.js +2 -0
- package/3622.min.js.LICENSE.txt +1 -0
- package/3632.min.js +2 -0
- package/3632.min.js.LICENSE.txt +1 -0
- package/3695.min.js +2 -0
- package/3695.min.js.LICENSE.txt +1 -0
- package/401.min.js +2 -0
- package/401.min.js.LICENSE.txt +1 -0
- package/4036.min.js +2 -0
- package/4036.min.js.LICENSE.txt +1 -0
- package/4154.min.js +2 -0
- package/4154.min.js.LICENSE.txt +1 -0
- package/4264.min.js +2 -0
- package/4264.min.js.LICENSE.txt +1 -0
- package/4302.min.js +2 -0
- package/4302.min.js.LICENSE.txt +1 -0
- package/439.min.js +2 -0
- package/439.min.js.LICENSE.txt +1 -0
- package/449.min.js +2 -0
- package/449.min.js.LICENSE.txt +1 -0
- package/4512.min.js +2 -0
- package/4512.min.js.LICENSE.txt +1 -0
- package/4924.min.js +2 -0
- package/4924.min.js.LICENSE.txt +1 -0
- package/5201.min.js +2 -0
- package/5201.min.js.LICENSE.txt +1 -0
- package/5369.min.js +2 -0
- package/5369.min.js.LICENSE.txt +1 -0
- package/561.min.js +2 -0
- package/561.min.js.LICENSE.txt +1 -0
- package/5775.min.js +2 -0
- package/5775.min.js.LICENSE.txt +1 -0
- package/5808.min.js +2 -0
- package/5808.min.js.LICENSE.txt +1 -0
- package/5814.min.js +2 -0
- package/5814.min.js.LICENSE.txt +1 -0
- package/6119.min.js +2 -0
- package/6119.min.js.LICENSE.txt +1 -0
- package/6493.min.js +2 -0
- package/6493.min.js.LICENSE.txt +1 -0
- package/6520.min.js +2 -0
- package/6520.min.js.LICENSE.txt +1 -0
- package/66.min.js +2 -0
- package/66.min.js.LICENSE.txt +1 -0
- package/6732.min.js +2 -0
- package/6732.min.js.LICENSE.txt +1 -0
- package/6735.min.js +2 -0
- package/6735.min.js.LICENSE.txt +1 -0
- package/6974.min.js +2 -0
- package/6974.min.js.LICENSE.txt +1 -0
- package/705.min.js +2 -0
- package/705.min.js.LICENSE.txt +1 -0
- package/7306.min.js +2 -0
- package/7306.min.js.LICENSE.txt +1 -0
- package/7528.min.js +2 -0
- package/7528.min.js.LICENSE.txt +1 -0
- package/7774.min.js +2 -0
- package/7774.min.js.LICENSE.txt +1 -0
- package/8125.min.js +2 -0
- package/8125.min.js.LICENSE.txt +1 -0
- package/{3733.min.js → 8155.min.js} +2 -2
- package/8155.min.js.LICENSE.txt +1 -0
- package/823.min.js +2 -0
- package/823.min.js.LICENSE.txt +1 -0
- package/8469.min.js +2 -0
- package/8469.min.js.LICENSE.txt +1 -0
- package/{4595.min.js → 8656.min.js} +2 -2
- package/8656.min.js.LICENSE.txt +1 -0
- package/8746.min.js +2 -0
- package/8746.min.js.LICENSE.txt +1 -0
- package/9151.min.js +2 -0
- package/9151.min.js.LICENSE.txt +1 -0
- package/94.min.js +2 -0
- package/94.min.js.LICENSE.txt +1 -0
- package/9487.min.js +2 -0
- package/9487.min.js.LICENSE.txt +1 -0
- package/{5742.min.js → 9581.min.js} +2 -2
- package/9581.min.js.LICENSE.txt +1 -0
- package/9946.min.js +2 -0
- package/9946.min.js.LICENSE.txt +1 -0
- package/basic_dist_browser_index_js.js +1 -1
- package/cjs/confetti.js +1 -24
- package/engine_dist_browser_Core_Container_js.js +15 -5
- package/move_base_dist_browser_BaseMover_js.js +12 -2
- package/move_base_dist_browser_index_js.js +1 -1
- package/package.json +17 -17
- package/plugins_emitters_dist_browser_EmitterInstance_js.js +2 -2
- package/plugins_emitters_dist_browser_EmittersPlugin_js.js +1 -1
- package/plugins_emitters_dist_browser_Emitters_js.js +2 -2
- package/plugins_emitters_dist_browser_ShapeManager_js.js +1 -1
- package/plugins_emitters_dist_browser_index_js.js +1 -1
- package/plugins_motion_dist_browser_MotionInstance_js.js +1 -1
- package/plugins_motion_dist_browser_MotionPlugin_js.js +1 -1
- package/plugins_motion_dist_browser_index_js.js +1 -1
- package/report.html +1 -1
- package/shapes_cards_dist_browser_ClubDrawer_js.js +12 -2
- package/shapes_cards_dist_browser_DiamondDrawer_js.js +12 -2
- package/shapes_cards_dist_browser_HeartDrawer_js.js +12 -2
- package/shapes_cards_dist_browser_SpadeDrawer_js.js +12 -2
- package/shapes_cards_dist_browser_index_js.js +1 -1
- package/shapes_circle_dist_browser_CircleDrawer_js.js +12 -2
- package/shapes_circle_dist_browser_index_js.js +1 -1
- package/shapes_emoji_dist_browser_EmojiDrawer_js.js +12 -2
- package/shapes_emoji_dist_browser_index_js.js +1 -1
- package/shapes_heart_dist_browser_HeartDrawer_js.js +12 -2
- package/shapes_heart_dist_browser_index_js.js +1 -1
- package/shapes_image_dist_browser_GifUtils_Utils_js.js +1 -1
- package/shapes_image_dist_browser_ImageDrawer_js.js +2 -2
- package/shapes_image_dist_browser_ImagePreloader_js.js +1 -1
- package/shapes_image_dist_browser_index_js.js +2 -2
- package/shapes_polygon_dist_browser_PolygonDrawer_js.js +12 -2
- package/shapes_polygon_dist_browser_TriangleDrawer_js.js +12 -2
- package/shapes_polygon_dist_browser_index_js.js +1 -1
- package/shapes_square_dist_browser_SquareDrawer_js.js +12 -2
- package/shapes_square_dist_browser_index_js.js +1 -1
- package/shapes_star_dist_browser_StarDrawer_js.js +12 -2
- package/shapes_star_dist_browser_index_js.js +1 -1
- package/tsparticles.confetti.bundle.js +4 -4
- package/tsparticles.confetti.bundle.min.js +1 -1
- package/tsparticles.confetti.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.confetti.js +1 -1
- package/tsparticles.confetti.min.js +1 -1
- package/tsparticles.confetti.min.js.LICENSE.txt +1 -1
- package/updaters_color_dist_browser_ColorUpdater_js.js +2 -2
- package/updaters_color_dist_browser_index_js.js +1 -1
- package/updaters_life_dist_browser_LifeUpdater_js.js +12 -2
- package/updaters_life_dist_browser_index_js.js +1 -1
- package/updaters_opacity_dist_browser_OpacityUpdater_js.js +2 -2
- package/updaters_opacity_dist_browser_index_js.js +1 -1
- package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +52 -2
- package/updaters_outModes_dist_browser_index_js.js +1 -1
- package/updaters_roll_dist_browser_RollUpdater_js.js +12 -2
- package/updaters_roll_dist_browser_index_js.js +1 -1
- package/updaters_rotate_dist_browser_RotateUpdater_js.js +2 -2
- package/updaters_rotate_dist_browser_index_js.js +1 -1
- package/updaters_size_dist_browser_SizeUpdater_js.js +2 -2
- package/updaters_size_dist_browser_index_js.js +1 -1
- package/updaters_tilt_dist_browser_TiltUpdater_js.js +2 -2
- package/updaters_tilt_dist_browser_index_js.js +1 -1
- package/updaters_wobble_dist_browser_WobbleUpdater_js.js +12 -2
- package/updaters_wobble_dist_browser_index_js.js +1 -1
- package/1308.min.js +0 -2
- package/1308.min.js.LICENSE.txt +0 -1
- package/1472.min.js +0 -2
- package/1472.min.js.LICENSE.txt +0 -1
- package/1513.min.js +0 -2
- package/1513.min.js.LICENSE.txt +0 -1
- package/1705.min.js +0 -2
- package/1705.min.js.LICENSE.txt +0 -1
- package/1810.min.js +0 -2
- package/1810.min.js.LICENSE.txt +0 -1
- package/196.min.js +0 -2
- package/196.min.js.LICENSE.txt +0 -1
- package/2124.min.js +0 -2
- package/2124.min.js.LICENSE.txt +0 -1
- package/2173.min.js +0 -2
- package/2173.min.js.LICENSE.txt +0 -1
- package/2580.min.js +0 -2
- package/2580.min.js.LICENSE.txt +0 -1
- package/2720.min.js +0 -2
- package/2720.min.js.LICENSE.txt +0 -1
- package/2765.min.js +0 -2
- package/2765.min.js.LICENSE.txt +0 -1
- package/3141.min.js +0 -2
- package/3141.min.js.LICENSE.txt +0 -1
- package/3261.min.js +0 -2
- package/3261.min.js.LICENSE.txt +0 -1
- package/3473.min.js +0 -2
- package/3473.min.js.LICENSE.txt +0 -1
- package/3610.min.js +0 -2
- package/3610.min.js.LICENSE.txt +0 -1
- package/3629.min.js +0 -2
- package/3629.min.js.LICENSE.txt +0 -1
- package/3648.min.js +0 -2
- package/3648.min.js.LICENSE.txt +0 -1
- package/3733.min.js.LICENSE.txt +0 -1
- package/3862.min.js +0 -2
- package/3862.min.js.LICENSE.txt +0 -1
- package/3869.min.js +0 -2
- package/3869.min.js.LICENSE.txt +0 -1
- package/409.min.js +0 -2
- package/409.min.js.LICENSE.txt +0 -1
- package/4245.min.js +0 -2
- package/4245.min.js.LICENSE.txt +0 -1
- package/4328.min.js +0 -2
- package/4328.min.js.LICENSE.txt +0 -1
- package/4396.min.js +0 -2
- package/4396.min.js.LICENSE.txt +0 -1
- package/4547.min.js +0 -2
- package/4547.min.js.LICENSE.txt +0 -1
- package/4595.min.js.LICENSE.txt +0 -1
- package/4794.min.js +0 -2
- package/4794.min.js.LICENSE.txt +0 -1
- package/482.min.js +0 -2
- package/482.min.js.LICENSE.txt +0 -1
- package/4866.min.js +0 -2
- package/4866.min.js.LICENSE.txt +0 -1
- package/4973.min.js +0 -2
- package/4973.min.js.LICENSE.txt +0 -1
- package/4994.min.js +0 -2
- package/4994.min.js.LICENSE.txt +0 -1
- package/5092.min.js +0 -2
- package/5092.min.js.LICENSE.txt +0 -1
- package/5120.min.js +0 -2
- package/5120.min.js.LICENSE.txt +0 -1
- package/5245.min.js +0 -2
- package/5245.min.js.LICENSE.txt +0 -1
- package/5308.min.js +0 -2
- package/5308.min.js.LICENSE.txt +0 -1
- package/5329.min.js +0 -2
- package/5329.min.js.LICENSE.txt +0 -1
- package/5437.min.js +0 -2
- package/5437.min.js.LICENSE.txt +0 -1
- package/5444.min.js +0 -2
- package/5444.min.js.LICENSE.txt +0 -1
- package/5534.min.js +0 -2
- package/5534.min.js.LICENSE.txt +0 -1
- package/560.min.js +0 -2
- package/560.min.js.LICENSE.txt +0 -1
- package/5647.min.js +0 -2
- package/5647.min.js.LICENSE.txt +0 -1
- package/571.min.js +0 -2
- package/571.min.js.LICENSE.txt +0 -1
- package/5742.min.js.LICENSE.txt +0 -1
- package/6004.min.js +0 -2
- package/6004.min.js.LICENSE.txt +0 -1
- package/6132.min.js +0 -2
- package/6132.min.js.LICENSE.txt +0 -1
- package/6551.min.js +0 -2
- package/6551.min.js.LICENSE.txt +0 -1
- package/6772.min.js +0 -2
- package/6772.min.js.LICENSE.txt +0 -1
- package/7031.min.js +0 -2
- package/7031.min.js.LICENSE.txt +0 -1
- package/7049.min.js +0 -2
- package/7049.min.js.LICENSE.txt +0 -1
- package/7108.min.js +0 -2
- package/7108.min.js.LICENSE.txt +0 -1
- package/7331.min.js +0 -2
- package/7331.min.js.LICENSE.txt +0 -1
- package/7517.min.js +0 -2
- package/7517.min.js.LICENSE.txt +0 -1
- package/7687.min.js +0 -2
- package/7687.min.js.LICENSE.txt +0 -1
- package/7725.min.js +0 -2
- package/7725.min.js.LICENSE.txt +0 -1
- package/7757.min.js +0 -2
- package/7757.min.js.LICENSE.txt +0 -1
- package/7835.min.js +0 -2
- package/7835.min.js.LICENSE.txt +0 -1
- package/7859.min.js +0 -2
- package/7859.min.js.LICENSE.txt +0 -1
- package/7886.min.js +0 -2
- package/7886.min.js.LICENSE.txt +0 -1
- package/7890.min.js +0 -2
- package/7890.min.js.LICENSE.txt +0 -1
- package/8060.min.js +0 -2
- package/8060.min.js.LICENSE.txt +0 -1
- package/9062.min.js +0 -2
- package/9062.min.js.LICENSE.txt +0 -1
- package/9126.min.js +0 -2
- package/9126.min.js.LICENSE.txt +0 -1
- package/9331.min.js +0 -2
- package/9331.min.js.LICENSE.txt +0 -1
- package/9376.min.js +0 -2
- package/9376.min.js.LICENSE.txt +0 -1
- package/95.min.js +0 -2
- package/95.min.js.LICENSE.txt +0 -1
- package/9530.min.js +0 -2
- package/9530.min.js.LICENSE.txt +0 -1
- package/9532.min.js +0 -2
- package/9532.min.js.LICENSE.txt +0 -1
- package/9836.min.js +0 -2
- package/9836.min.js.LICENSE.txt +0 -1
- package/9921.min.js +0 -2
- package/9921.min.js.LICENSE.txt +0 -1
- package/engine_dist_browser_Core_Particle_js.js +0 -30
- package/move_base_dist_browser_Utils_js.js +0 -30
- package/shapes_cards_dist_browser_Utils_js.js +0 -30
- package/shapes_circle_dist_browser_Utils_js.js +0 -30
- package/shapes_emoji_dist_browser_Utils_js.js +0 -30
- package/shapes_heart_dist_browser_Utils_js.js +0 -30
- package/shapes_polygon_dist_browser_Utils_js.js +0 -30
- package/shapes_square_dist_browser_Utils_js.js +0 -30
- package/shapes_star_dist_browser_Utils_js.js +0 -30
- package/updaters_life_dist_browser_Utils_js.js +0 -30
- package/updaters_outModes_dist_browser_BounceOutMode_js.js +0 -30
- package/updaters_outModes_dist_browser_DestroyOutMode_js.js +0 -30
- package/updaters_outModes_dist_browser_NoneOutMode_js.js +0 -30
- package/updaters_outModes_dist_browser_OutOutMode_js.js +0 -30
- package/updaters_outModes_dist_browser_Utils_js.js +0 -30
- package/updaters_roll_dist_browser_Utils_js.js +0 -30
- package/updaters_wobble_dist_browser_Utils_js.js +0 -30
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see tsparticles.confetti.bundle.min.js.LICENSE.txt */
|
|
2
|
-
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var i=e();for(var s in i)("object"==typeof exports?exports:t)[s]=i[s]}}(this,(()=>(()=>{var t,e,i={6830:(t,e,i)=>{i.d(e,{$o:()=>d,G1:()=>r,QL:()=>p,Re:()=>c,VH:()=>u,Wt:()=>l,X5:()=>g,YU:()=>s,ZL:()=>o,aM:()=>n,gK:()=>f,rR:()=>v,tZ:()=>m,vq:()=>y,zX:()=>h,zw:()=>a});const s="generated",o="pointerdown",a="pointerup",n="pointerleave",r="pointerout",l="pointermove",c="touchstart",d="touchend",h="touchmove",u="touchcancel",v="resize",p="visibilitychange",f="tsParticles - Error",m=100,y=.5,g=1e3},4158:(t,e,i)=>{i.d(e,{E:()=>s});class s{constructor(t,e){this.position=t,this.particle=e}}},7212:(t,e,i)=>{i.d(e,{Ae:()=>n,Cd:()=>a,W7:()=>o});var s=i(2358);class o{constructor(t,e,i){this.position={x:t,y:e},this.type=i}}class a extends o{constructor(t,e,i){super(t,e,"circle"),this.radius=i}contains(t){return(0,s.Sp)(t,this.position)<=this.radius}intersects(t){const e=this.position,i=t.position,s=Math.abs(i.x-e.x),o=Math.abs(i.y-e.y),r=this.radius;if(t instanceof a||"circle"===t.type){return r+t.radius>Math.sqrt(s**2+o**2)}if(t instanceof n||"rectangle"===t.type){const e=t,{width:i,height:a}=e.size;return Math.pow(s-i,2)+Math.pow(o-a,2)<=r**2||s<=r+i&&o<=r+a||s<=i||o<=a}return!1}}class n extends o{constructor(t,e,i,s){super(t,e,"rectangle"),this.size={height:s,width:i}}contains(t){const e=this.size.width,i=this.size.height,s=this.position;return t.x>=s.x&&t.x<=s.x+e&&t.y>=s.y&&t.y<=s.y+i}intersects(t){if(t instanceof a)return t.intersects(this);const e=this.size.width,i=this.size.height,s=this.position,o=t.position,r=t instanceof n?t.size:{width:0,height:0},l=r.width,c=r.height;return o.x<s.x+e&&o.x+l>s.x&&o.y<s.y+i&&o.y+c>s.y}}},6888:(t,e,i)=>{i.d(e,{O:()=>c,U:()=>l});var s=i(6830),o=i(3853);const a=0,n=0,r=0;class l{constructor(t,e,i){if(this._updateFromAngle=(t,e)=>{this.x=Math.cos(t)*e,this.y=Math.sin(t)*e},!(0,o.hj)(t)&&t){this.x=t.x,this.y=t.y;const e=t;this.z=e.z?e.z:r}else{if(void 0===t||void 0===e)throw new Error(`${s.gK} Vector3d not initialized correctly`);this.x=t,this.y=e,this.z=i??r}}static get origin(){return l.create(a,n,r)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this._updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this._updateFromAngle(this.angle,t)}static clone(t){return l.create(t.x,t.y,t.z)}static create(t,e,i){return new l(t,e,i)}add(t){return l.create(this.x+t.x,this.y+t.y,this.z+t.z)}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=t.z}copy(){return l.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return l.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**2+this.y**2}mult(t){return l.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;0!=t&&this.multTo(1/t)}rotate(t){return l.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),r)}setTo(t){this.x=t.x,this.y=t.y;const e=t;this.z=e.z?e.z:r}sub(t){return l.create(this.x-t.x,this.y-t.y,this.z-t.z)}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=t.z}}class c extends l{constructor(t,e){super(t,e,r)}static get origin(){return c.create(a,n)}static clone(t){return c.create(t.x,t.y)}static create(t,e){return new c(t,e)}}},1470:(t,e,i)=>{i.d(e,{R:()=>n});var s=i(3853),o=i(5992),a=i(3312);class n extends a.O{constructor(){super(),this.animation=new o.h}static create(t,e){const i=new n;return i.load(t),void 0!==e&&((0,s.HD)(e)||(0,s.kJ)(e)?i.load({value:e}):i.load(e)),i}load(t){if(super.load(t),!t)return;const e=t.animation;void 0!==e&&(void 0!==e.enable?this.animation.h.load(e):this.animation.load(t.animation))}}},8152:(t,e,i)=>{i.d(e,{B:()=>a,P:()=>o});var s=i(2358);class o{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){t&&(void 0!==t.count&&(this.count=(0,s.Cs)(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=(0,s.Cs)(t.speed)),void 0!==t.decay&&(this.decay=(0,s.Cs)(t.decay)),void 0!==t.delay&&(this.delay=(0,s.Cs)(t.delay)),void 0!==t.sync&&(this.sync=t.sync))}}class a extends o{constructor(){super(),this.mode="auto",this.startValue="random"}load(t){super.load(t),t&&(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}}},1429:(t,e,i)=>{i.d(e,{A:()=>o});var s=i(3312);class o{constructor(){this.color=new s.O,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){t&&(void 0!==t.color&&(this.color=s.O.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.position&&(this.position=t.position),void 0!==t.repeat&&(this.repeat=t.repeat),void 0!==t.size&&(this.size=t.size),void 0!==t.opacity&&(this.opacity=t.opacity))}}},9311:(t,e,i)=>{i.d(e,{g:()=>a});var s=i(76),o=i(3853);class a{constructor(){this.composite="destination-out",this.cover=new s.F,this.enable=!1}load(t){if(t){if(void 0!==t.composite&&(this.composite=t.composite),void 0!==t.cover){const e=t.cover,i=(0,o.HD)(t.cover)?{color:t.cover}:t.cover;this.cover.load(void 0!==e.color||void 0!==e.image?e:{color:i})}void 0!==t.enable&&(this.enable=t.enable)}}}},76:(t,e,i)=>{i.d(e,{F:()=>o});var s=i(3312);class o{constructor(){this.opacity=1}load(t){t&&(void 0!==t.color&&(this.color=s.O.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.opacity&&(this.opacity=t.opacity))}}},2793:(t,e,i)=>{i.d(e,{y:()=>a});var s=i(8152),o=i(2358);class a extends s.P{constructor(){super(),this.offset=0,this.sync=!0}load(t){super.load(t),t&&void 0!==t.offset&&(this.offset=(0,o.Cs)(t.offset))}}},8569:(t,e,i)=>{i.d(e,{I:()=>s});class s{constructor(){this.enable=!0,this.zIndex=0}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}}},5992:(t,e,i)=>{i.d(e,{h:()=>o});var s=i(2793);class o{constructor(){this.h=new s.y,this.s=new s.y,this.l=new s.y}load(t){t&&(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}},5053:(t,e,i)=>{i.d(e,{R:()=>s});class s{constructor(){this.enable=!1,this.mode=[]}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode))}}},2935:(t,e,i)=>{i.d(e,{M:()=>s});class s{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type="circle"}load(t){t&&(void 0!==t.selectors&&(this.selectors=t.selectors),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.type&&(this.type=t.type))}}},1778:(t,e,i)=>{i.d(e,{z:()=>l});var s=i(5053),o=i(2935),a=i(5701),n=i(6755),r=i(1271);class l{constructor(){this.onClick=new s.R,this.onDiv=new o.M,this.onHover=new a.z,this.resize=new n.C}load(t){if(!t)return;this.onClick.load(t.onClick);const e=t.onDiv;void 0!==e&&(this.onDiv=(0,r.KH)(e,(t=>{const e=new o.M;return e.load(t),e}))),this.onHover.load(t.onHover),this.resize.load(t.resize)}}},5701:(t,e,i)=>{i.d(e,{z:()=>o});var s=i(6571);class o{constructor(){this.enable=!1,this.mode=[],this.parallax=new s.V}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),this.parallax.load(t.parallax))}}},6571:(t,e,i)=>{i.d(e,{V:()=>s});class s{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.force&&(this.force=t.force),void 0!==t.smooth&&(this.smooth=t.smooth))}}},6755:(t,e,i)=>{i.d(e,{C:()=>s});class s{constructor(){this.delay=.5,this.enable=!0}load(t){void 0!==t&&(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.enable&&(this.enable=t.enable))}}},8461:(t,e,i)=>{i.d(e,{o:()=>a});var s=i(1778),o=i(5542);class a{constructor(t,e){this.detectsOn="window",this.events=new s.z,this.modes=new o.n(t,e)}load(t){if(!t)return;const e=t.detectsOn;void 0!==e&&(this.detectsOn=e),this.events.load(t.events),this.modes.load(t.modes)}}},5542:(t,e,i)=>{i.d(e,{n:()=>s});class s{constructor(t,e){this._engine=t,this._container=e}load(t){if(!t)return;if(!this._container)return;const e=this._engine.interactors.get(this._container);if(e)for(const i of e)i.loadModeOptions&&i.loadModeOptions(this,t)}}},5632:(t,e,i)=>{i.d(e,{h:()=>o});var s=i(1271);class o{load(t){t&&(t.position&&(this.position={x:t.position.x??50,y:t.position.y??50,mode:t.position.mode??"percent"}),t.options&&(this.options=(0,s.ZB)({},t.options)))}}},7327:(t,e,i)=>{i.d(e,{E:()=>p});var s=i(1271),o=i(1429),a=i(9311),n=i(8569),r=i(8461),l=i(5632),c=i(3442),d=i(9556),h=i(3853),u=i(8853),v=i(2358);class p{constructor(t,e){this._findDefaultTheme=t=>this.themes.find((e=>e.default.value&&e.default.mode===t))??this.themes.find((t=>t.default.value&&"any"===t.default.mode)),this._importPreset=t=>{this.load(this._engine.getPreset(t))},this._engine=t,this._container=e,this.autoPlay=!0,this.background=new o.A,this.backgroundMask=new a.g,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new n.I,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new r.o(t,e),this.manualParticles=[],this.particles=(0,u.x)(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}load(t){if(!t)return;void 0!==t.preset&&(0,s.KH)(t.preset,(t=>this._importPreset(t))),void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.clear&&(this.clear=t.clear),void 0!==t.key&&(this.key=t.key),void 0!==t.name&&(this.name=t.name),void 0!==t.delay&&(this.delay=(0,v.Cs)(t.delay));const e=t.detectRetina;void 0!==e&&(this.detectRetina=e),void 0!==t.duration&&(this.duration=(0,v.Cs)(t.duration));const i=t.fpsLimit;void 0!==i&&(this.fpsLimit=i),void 0!==t.pauseOnBlur&&(this.pauseOnBlur=t.pauseOnBlur),void 0!==t.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=t.pauseOnOutsideViewport),void 0!==t.zLayers&&(this.zLayers=t.zLayers),this.background.load(t.background);const o=t.fullScreen;(0,h.jn)(o)?this.fullScreen.enable=o:this.fullScreen.load(o),this.backgroundMask.load(t.backgroundMask),this.interactivity.load(t.interactivity),t.manualParticles&&(this.manualParticles=t.manualParticles.map((t=>{const e=new l.h;return e.load(t),e}))),this.particles.load(t.particles),this.style=(0,s.ZB)(this.style,t.style),this._engine.loadOptions(this,t),void 0!==t.smooth&&(this.smooth=t.smooth);const a=this._engine.interactors.get(this._container);if(a)for(const e of a)e.loadOptions&&e.loadOptions(this,t);if(void 0!==t.responsive)for(const e of t.responsive){const t=new c.E;t.load(e),this.responsive.push(t)}if(this.responsive.sort(((t,e)=>t.maxWidth-e.maxWidth)),void 0!==t.themes)for(const e of t.themes){const t=this.themes.find((t=>t.name===e.name));if(t)t.load(e);else{const t=new d.Q;t.load(e),this.themes.push(t)}}this.defaultThemes.dark=this._findDefaultTheme("dark")?.name,this.defaultThemes.light=this._findDefaultTheme("light")?.name}setResponsive(t,e,i){this.load(i);const s=this.responsive.find((i=>"screen"===i.mode&&screen?i.maxWidth>screen.availWidth:i.maxWidth*e>t));return this.load(s?.options),s?.maxWidth}setTheme(t){if(t){const e=this.themes.find((e=>e.name===t));e&&this.load(e.options)}else{const t=(0,s.HY)("(prefers-color-scheme: dark)"),e=t&&t.matches,i=this._findDefaultTheme(e?"dark":"light");i&&this.load(i.options)}}}},3312:(t,e,i)=>{i.d(e,{O:()=>o});var s=i(3853);class o{constructor(){this.value=""}static create(t,e){const i=new o;return i.load(t),void 0!==e&&((0,s.HD)(e)||(0,s.kJ)(e)?i.load({value:e}):i.load(e)),i}load(t){void 0!==t?.value&&(this.value=t.value)}}},1357:(t,e,i)=>{i.d(e,{b:()=>o});var s=i(9141);class o{constructor(){this.horizontal=new s.u,this.vertical=new s.u}load(t){t&&(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}},9141:(t,e,i)=>{i.d(e,{u:()=>o});var s=i(9569);class o extends s.SW{constructor(){super(),this.value=1}}},2631:(t,e,i)=>{i.d(e,{y:()=>r});var s=i(5447),o=i(3964),a=i(1357),n=i(2358);class r{constructor(){this.absorb=new s.h,this.bounce=new a.b,this.enable=!1,this.maxSpeed=50,this.mode="bounce",this.overlap=new o.t}load(t){t&&(this.absorb.load(t.absorb),this.bounce.load(t.bounce),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.maxSpeed&&(this.maxSpeed=(0,n.Cs)(t.maxSpeed)),void 0!==t.mode&&(this.mode=t.mode),this.overlap.load(t.overlap))}}},5447:(t,e,i)=>{i.d(e,{h:()=>s});class s{constructor(){this.speed=2}load(t){t&&void 0!==t.speed&&(this.speed=t.speed)}}},3964:(t,e,i)=>{i.d(e,{t:()=>s});class s{constructor(){this.enable=!0,this.retries=0}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.retries&&(this.retries=t.retries))}}},8097:(t,e,i)=>{i.d(e,{A:()=>v});var s=i(3853),o=i(7056),a=i(4169),n=i(7897),r=i(3843),l=i(457),c=i(8481),d=i(3534),h=i(7805),u=i(2358);class v{constructor(){this.angle=new o.k,this.attract=new a.k,this.center=new n.a,this.decay=0,this.distance={},this.direction="none",this.drift=0,this.enable=!1,this.gravity=new r.S,this.path=new l.C,this.outModes=new d.u,this.random=!1,this.size=!1,this.speed=2,this.spin=new h.y,this.straight=!1,this.trail=new c.S,this.vibrate=!1,this.warp=!1}load(t){if(!t)return;this.angle.load((0,s.hj)(t.angle)?{value:t.angle}:t.angle),this.attract.load(t.attract),this.center.load(t.center),void 0!==t.decay&&(this.decay=(0,u.Cs)(t.decay)),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=(0,s.hj)(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),void 0!==t.drift&&(this.drift=(0,u.Cs)(t.drift)),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity);const e=t.outModes;void 0!==e&&((0,s.Kn)(e)?this.outModes.load(e):this.outModes.load({default:e})),this.path.load(t.path),void 0!==t.random&&(this.random=t.random),void 0!==t.size&&(this.size=t.size),void 0!==t.speed&&(this.speed=(0,u.Cs)(t.speed)),this.spin.load(t.spin),void 0!==t.straight&&(this.straight=t.straight),this.trail.load(t.trail),void 0!==t.vibrate&&(this.vibrate=t.vibrate),void 0!==t.warp&&(this.warp=t.warp)}}},7056:(t,e,i)=>{i.d(e,{k:()=>o});var s=i(2358);class o{constructor(){this.offset=0,this.value=90}load(t){t&&(void 0!==t.offset&&(this.offset=(0,s.Cs)(t.offset)),void 0!==t.value&&(this.value=(0,s.Cs)(t.value)))}}},4169:(t,e,i)=>{i.d(e,{k:()=>o});var s=i(2358);class o{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(t){if(t&&(void 0!==t.distance&&(this.distance=(0,s.Cs)(t.distance)),void 0!==t.enable&&(this.enable=t.enable),t.rotate)){const e=t.rotate.x;void 0!==e&&(this.rotate.x=e);const i=t.rotate.y;void 0!==i&&(this.rotate.y=i)}}}},7897:(t,e,i)=>{i.d(e,{a:()=>s});class s{constructor(){this.x=50,this.y=50,this.mode="percent",this.radius=0}load(t){t&&(void 0!==t.x&&(this.x=t.x),void 0!==t.y&&(this.y=t.y),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.radius&&(this.radius=t.radius))}}},3843:(t,e,i)=>{i.d(e,{S:()=>o});var s=i(2358);class o{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){t&&(void 0!==t.acceleration&&(this.acceleration=(0,s.Cs)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.inverse&&(this.inverse=t.inverse),void 0!==t.maxSpeed&&(this.maxSpeed=(0,s.Cs)(t.maxSpeed)))}}},8481:(t,e,i)=>{i.d(e,{S:()=>a});var s=i(3312);class o{load(t){t&&(void 0!==t.color&&(this.color=s.O.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image))}}class a{constructor(){this.enable=!1,this.length=10,this.fill=new o}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.fill&&this.fill.load(t.fill),void 0!==t.length&&(this.length=t.length))}}},3534:(t,e,i)=>{i.d(e,{u:()=>s});class s{constructor(){this.default="out"}load(t){t&&(void 0!==t.default&&(this.default=t.default),this.bottom=t.bottom??t.default,this.left=t.left??t.default,this.right=t.right??t.default,this.top=t.top??t.default)}}},457:(t,e,i)=>{i.d(e,{C:()=>a});var s=i(9569),o=i(1271);class a{constructor(){this.clamp=!0,this.delay=new s.SW,this.enable=!1,this.options={}}load(t){t&&(void 0!==t.clamp&&(this.clamp=t.clamp),this.delay.load(t.delay),void 0!==t.enable&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=(0,o.ZB)(this.options,t.options)))}}},7805:(t,e,i)=>{i.d(e,{y:()=>a});var s=i(1271),o=i(2358);class a{constructor(){this.acceleration=0,this.enable=!1}load(t){t&&(void 0!==t.acceleration&&(this.acceleration=(0,o.Cs)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),t.position&&(this.position=(0,s.ZB)({},t.position)))}}},5574:(t,e,i)=>{i.d(e,{l:()=>s});class s{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(t){if(!t)return;void 0!==t.enable&&(this.enable=t.enable);const e=t.width;void 0!==e&&(this.width=e);const i=t.height;void 0!==i&&(this.height=i)}}},9262:(t,e,i)=>{i.d(e,{H:()=>a});var s=i(5574),o=i(8760);class a{constructor(){this.density=new s.l,this.limit=new o.W,this.value=0}load(t){t&&(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}}},8760:(t,e,i)=>{i.d(e,{W:()=>s});class s{constructor(){this.mode="delete",this.value=0}load(t){t&&(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}},5555:(t,e,i)=>{i.d(e,{D:()=>a});var s=i(1174),o=i(9569);class a extends o.md{constructor(){super(),this.animation=new s.O,this.value=1}load(t){if(!t)return;super.load(t);const e=t.animation;void 0!==e&&this.animation.load(e)}}},1174:(t,e,i)=>{i.d(e,{O:()=>o});var s=i(8152);class o extends s.B{constructor(){super(),this.destroy="none",this.speed=2}load(t){super.load(t),t&&void 0!==t.destroy&&(this.destroy=t.destroy)}}},9115:(t,e,i)=>{i.d(e,{B:()=>m});var s=i(1271),o=i(1470),a=i(2631);class n{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(t){if(!t)return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=(0,s.ZB)(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.type=t.type)}}var r=i(8097),l=i(5555),c=i(1357),d=i(9262),h=i(2467),u=i(578),v=i(1293),p=i(4962),f=i(6151);class m{constructor(t,e){this._engine=t,this._container=e,this.bounce=new c.b,this.collisions=new a.y,this.color=new o.R,this.color.value="#fff",this.effect=new n,this.groups={},this.move=new r.A,this.number=new d.H,this.opacity=new l.D,this.reduceDuplicates=!1,this.shadow=new h.j,this.shape=new u.b,this.size=new v.$,this.stroke=new p.m,this.zIndex=new f.K}load(t){if(!t)return;if(void 0!==t.groups)for(const e of Object.keys(t.groups)){if(!Object.hasOwn(t.groups,e))continue;const i=t.groups[e];void 0!==i&&(this.groups[e]=(0,s.ZB)(this.groups[e]??{},i))}void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.color.load(o.R.create(this.color,t.color)),this.effect.load(t.effect),this.move.load(t.move),this.number.load(t.number),this.opacity.load(t.opacity),this.shape.load(t.shape),this.size.load(t.size),this.shadow.load(t.shadow),this.zIndex.load(t.zIndex),this.collisions.load(t.collisions),void 0!==t.interactivity&&(this.interactivity=(0,s.ZB)({},t.interactivity));const e=t.stroke;if(e&&(this.stroke=(0,s.KH)(e,(t=>{const e=new p.m;return e.load(t),e}))),this._container){const e=this._engine.updaters.get(this._container);if(e)for(const i of e)i.loadOptions&&i.loadOptions(this,t);const i=this._engine.interactors.get(this._container);if(i)for(const e of i)e.loadParticlesOptions&&e.loadParticlesOptions(this,t)}}}},2467:(t,e,i)=>{i.d(e,{j:()=>o});var s=i(3312);class o{constructor(){this.blur=0,this.color=new s.O,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(t){t&&(void 0!==t.blur&&(this.blur=t.blur),this.color=s.O.create(this.color,t.color),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.offset&&(void 0!==t.offset.x&&(this.offset.x=t.offset.x),void 0!==t.offset.y&&(this.offset.y=t.offset.y)))}}},578:(t,e,i)=>{i.d(e,{b:()=>o});var s=i(1271);class o{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(t){if(!t)return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=(0,s.ZB)(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.type=t.type)}}},1293:(t,e,i)=>{i.d(e,{$:()=>a});var s=i(9569),o=i(4376);class a extends s.md{constructor(){super(),this.animation=new o.a,this.value=3}load(t){if(super.load(t),!t)return;const e=t.animation;void 0!==e&&this.animation.load(e)}}},4376:(t,e,i)=>{i.d(e,{a:()=>o});var s=i(8152);class o extends s.B{constructor(){super(),this.destroy="none",this.speed=5}load(t){super.load(t),t&&void 0!==t.destroy&&(this.destroy=t.destroy)}}},4962:(t,e,i)=>{i.d(e,{m:()=>a});var s=i(1470),o=i(2358);class a{constructor(){this.width=0}load(t){t&&(void 0!==t.color&&(this.color=s.R.create(this.color,t.color)),void 0!==t.width&&(this.width=(0,o.Cs)(t.width)),void 0!==t.opacity&&(this.opacity=(0,o.Cs)(t.opacity)))}}},6151:(t,e,i)=>{i.d(e,{K:()=>o});var s=i(9569);class o extends s.SW{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),t&&(void 0!==t.opacityRate&&(this.opacityRate=t.opacityRate),void 0!==t.sizeRate&&(this.sizeRate=t.sizeRate),void 0!==t.velocityRate&&(this.velocityRate=t.velocityRate))}}},3442:(t,e,i)=>{i.d(e,{E:()=>o});var s=i(1271);class o{constructor(){this.maxWidth=1/0,this.options={},this.mode="canvas"}load(t){t&&(void 0!==t.maxWidth&&(this.maxWidth=t.maxWidth),void 0!==t.mode&&("screen"===t.mode?this.mode="screen":this.mode="canvas"),void 0!==t.options&&(this.options=(0,s.ZB)({},t.options)))}}},9556:(t,e,i)=>{i.d(e,{Q:()=>a});var s=i(5295),o=i(1271);class a{constructor(){this.name="",this.default=new s.C}load(t){t&&(void 0!==t.name&&(this.name=t.name),this.default.load(t.default),void 0!==t.options&&(this.options=(0,o.ZB)({},t.options)))}}},5295:(t,e,i)=>{i.d(e,{C:()=>s});class s{constructor(){this.auto=!1,this.mode="any",this.value=!1}load(t){t&&(void 0!==t.auto&&(this.auto=t.auto),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}},9569:(t,e,i)=>{i.d(e,{I9:()=>n,SW:()=>a,md:()=>r});var s=i(8152),o=i(2358);class a{constructor(){this.value=0}load(t){t&&void 0!==t.value&&(this.value=(0,o.Cs)(t.value))}}class n extends a{constructor(){super(),this.animation=new s.P}load(t){if(super.load(t),!t)return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class r extends n{constructor(){super(),this.animation=new s.B}load(t){super.load(t)}}},4150:(t,e,i)=>{i.d(e,{$F:()=>p,C3:()=>r,Ch:()=>h,Dd:()=>u,PL:()=>f,TQ:()=>n,ZH:()=>l,Zw:()=>v,lV:()=>d,pS:()=>a,zv:()=>c});var s=i(5063);const o={x:0,y:0};function a(t,e,i){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(i.x,i.y),t.closePath()}function n(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(o.x,o.y,e.width,e.height)}function r(t,e,i,s){i&&(t.globalAlpha=s,t.drawImage(i,o.x,o.y,e.width,e.height),t.globalAlpha=1)}function l(t,e){t.clearRect(o.x,o.y,e.width,e.height)}async function c(t){const{container:e,context:i,particle:o,delta:a,colorStyles:n,backgroundMask:r,composite:l,radius:c,opacity:v,shadow:p,transform:f}=t,m=o.getPosition(),y=o.rotation+(o.pathRotation?o.velocity.angle:0),g=Math.sin(y),b=Math.cos(y),w={a:b*(f.a??1),b:g*(f.b??1),c:-g*(f.c??1),d:b*(f.d??1)};i.setTransform(w.a,w.b,w.c,w.d,m.x,m.y),r&&(i.globalCompositeOperation=l);const x=o.shadowColor;p.enable&&x&&(i.shadowBlur=p.blur,i.shadowColor=(0,s.iz)(x),i.shadowOffsetX=p.offset.x,i.shadowOffsetY=p.offset.y),n.fill&&(i.fillStyle=n.fill);const M=o.strokeWidth??0;i.lineWidth=M,n.stroke&&(i.strokeStyle=n.stroke);const z={container:e,context:i,particle:o,radius:c,opacity:v,delta:a,transformData:w,strokeWidth:M};await h(z),await u(z),await d(z),i.globalCompositeOperation="source-over",i.resetTransform()}async function d(t){const{container:e,context:i,particle:s,radius:o,opacity:a,delta:n,transformData:r}=t;if(!s.effect)return;const l=e.effectDrawers.get(s.effect);l&&await l.draw({context:i,particle:s,radius:o,opacity:a,delta:n,pixelRatio:e.retina.pixelRatio,transformData:{...r}})}async function h(t){const{container:e,context:i,particle:s,radius:o,opacity:a,delta:n,strokeWidth:r,transformData:l}=t;if(!s.shape)return;const c=e.shapeDrawers.get(s.shape);c&&(i.beginPath(),await c.draw({context:i,particle:s,radius:o,opacity:a,delta:n,pixelRatio:e.retina.pixelRatio,transformData:{...l}}),s.shapeClose&&i.closePath(),r>0&&i.stroke(),s.shapeFill&&i.fill())}async function u(t){const{container:e,context:i,particle:s,radius:o,opacity:a,delta:n,transformData:r}=t;if(!s.shape)return;const l=e.shapeDrawers.get(s.shape);l?.afterDraw&&await l.afterDraw({context:i,particle:s,radius:o,opacity:a,delta:n,pixelRatio:e.retina.pixelRatio,transformData:{...r}})}async function v(t,e,i){e.draw&&await e.draw(t,i)}async function p(t,e,i,s){e.drawParticle&&await e.drawParticle(t,i,s)}function f(t,e,i){return{h:t.h,s:t.s,l:t.l+("darken"===e?-1:1)*i}}},5063:(t,e,i)=>{i.d(e,{BE:()=>S,DS:()=>g,Dt:()=>P,J9:()=>x,PB:()=>E,VI:()=>d,Y6:()=>w,ZC:()=>D,_g:()=>p,bS:()=>R,gE:()=>y,gW:()=>k,iz:()=>M,lC:()=>m,lN:()=>f,oc:()=>C,sS:()=>v,tX:()=>u,ve:()=>b,vz:()=>z});var s=i(2358),o=i(3853),a=i(6830),n=i(1271);const r="random",l="mid",c=new Map;function d(t){c.set(t.key,t)}function h(t){for(const[,e]of c)if(t.startsWith(e.stringPrefix))return e.parseString(t);const e=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,((t,e,i,s,o)=>e+e+i+i+s+s+(void 0!==o?o+o:""))),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i.exec(e);return i?{a:void 0!==i[4]?parseInt(i[4],16)/255:1,b:parseInt(i[3],16),g:parseInt(i[2],16),r:parseInt(i[1],16)}:void 0}function u(t,e,i=!0){if(!t)return;const s=(0,o.HD)(t)?{value:t}:t;if((0,o.HD)(s.value))return v(s.value,e,i);if((0,o.kJ)(s.value))return u({value:(0,n.c8)(s.value,e,i)});for(const[,t]of c){const e=t.handleRangeColor(s);if(e)return e}}function v(t,e,i=!0){if(!t)return;const s=(0,o.HD)(t)?{value:t}:t;if((0,o.HD)(s.value))return s.value===r?x():g(s.value);if((0,o.kJ)(s.value))return v({value:(0,n.c8)(s.value,e,i)});for(const[,t]of c){const e=t.handleColor(s);if(e)return e}}function p(t,e,i=!0){const s=v(t,e,i);return s?m(s):void 0}function f(t,e,i=!0){const s=u(t,e,i);return s?m(s):void 0}function m(t){const e=t.r/255,i=t.g/255,s=t.b/255,o=Math.max(e,i,s),a=Math.min(e,i,s),n={h:0,l:.5*(o+a),s:0};return o!==a&&(n.s=n.l<.5?(o-a)/(o+a):(o-a)/(2-o-a),n.h=e===o?(i-s)/(o-a):n.h=i===o?2+(s-e)/(o-a):4+(e-i)/(o-a)),n.l*=100,n.s*=100,n.h*=60,n.h<0&&(n.h+=360),n.h>=360&&(n.h-=360),n}function y(t){return h(t)?.a}function g(t){return h(t)}function b(t){const e=360,i=(t.h%e+e)%e,s=Math.max(0,Math.min(100,t.s)),o=i/e,a=s/100,n=Math.max(0,Math.min(100,t.l))/100,r=255;if(0===s){const t=Math.round(n*r);return{r:t,g:t,b:t}}const l=(t,e,i)=>{if(i<0&&i++,i>1&&i--,6*i<1)return t+6*(e-t)*i;if(2*i<1)return e;if(3*i<2){return t+(e-t)*(2/3-i)*6}return t},c=n<.5?n*(1+a):n+a-n*a,d=2*n-c,h=1/3,u=Math.min(r,r*l(d,c,o+h)),v=Math.min(r,r*l(d,c,o)),p=Math.min(r,r*l(d,c,o-h));return{r:Math.round(u),g:Math.round(v),b:Math.round(p)}}function w(t){const e=b(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}function x(t){const e=t??0;return{b:Math.floor((0,s.vd)((0,s.Cs)(e,256))),g:Math.floor((0,s.vd)((0,s.Cs)(e,256))),r:Math.floor((0,s.vd)((0,s.Cs)(e,256)))}}function M(t,e){return`rgba(${t.r}, ${t.g}, ${t.b}, ${e??1})`}function z(t,e){return`hsla(${t.h}, ${t.s}%, ${t.l}%, ${e??1})`}function C(t,e,i,o){let a=t,n=e;return void 0===a.r&&(a=b(t)),void 0===n.r&&(n=b(e)),{b:(0,s.CD)(a.b,n.b,i,o),g:(0,s.CD)(a.g,n.g,i,o),r:(0,s.CD)(a.r,n.r,i,o)}}function S(t,e,i){if(i===r)return x();if(i!==l)return i;{const i=t.getFillColor()??t.getStrokeColor(),s=e?.getFillColor()??e?.getStrokeColor();if(i&&s&&e)return C(i,s,t.getRadius(),e.getRadius());{const t=i??s;if(t)return b(t)}}}function P(t,e,i){const s=(0,o.HD)(t)?t:t.value;return s===r?i?u({value:s}):e?r:l:s===l?l:u({value:s})}function k(t){return void 0!==t?{h:t.h.value,s:t.s.value,l:t.l.value}:void 0}function R(t,e,i){const s={h:{enable:!1,value:t.h},s:{enable:!1,value:t.s},l:{enable:!1,value:t.l}};return e&&(O(s.h,e.h,i),O(s.s,e.s,i),O(s.l,e.l,i)),s}function O(t,e,i){t.enable=e.enable;t.enable?(t.velocity=(0,s.Gu)(e.speed)/a.tZ*i,t.decay=1-(0,s.Gu)(e.decay),t.status="increasing",t.loops=0,t.maxLoops=(0,s.Gu)(e.count),t.time=0,t.delayTime=(0,s.Gu)(e.delay)*a.X5,e.sync||(t.velocity*=(0,s.sZ)(),t.value*=(0,s.sZ)()),t.initialValue=t.value,t.offset=(0,s.Cs)(e.offset)):t.velocity=0}function D(t,e,i,o){if(!t||!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;if(t.time||(t.time=0),(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=o.value),(t.delayTime??0)>0&&t.time<(t.delayTime??0))return;const a=t.offset?(0,s.vd)(t.offset):0,n=(t.velocity??0)*o.factor+3.6*a,r=t.decay??1,l=(0,s.KI)(e),c=(0,s.Uv)(e);if(i&&"increasing"!==t.status){t.value-=n;const e=0;t.value<e&&(t.loops||(t.loops=0),t.loops++,t.status="increasing")}else t.value+=n,t.value>l&&(t.loops||(t.loops=0),t.loops++,i?t.status="decreasing":t.value-=l);t.velocity&&1!==r&&(t.velocity*=r),t.value=(0,s.uZ)(t.value,c,l)}function E(t,e){if(!t)return;const{h:i,s,l:o}=t,a={min:0,max:100},n={min:0,max:100};i&&D(i,{min:0,max:360},!1,e),s&&D(s,a,!0,e),o&&D(o,n,!0,e)}},2358:(t,e,i)=>{i.d(e,{BV:()=>E,CD:()=>p,Cs:()=>b,Gk:()=>z,Gu:()=>m,Gz:()=>R,Id:()=>M,KD:()=>D,KI:()=>g,Ry:()=>P,Sp:()=>x,Uv:()=>y,_X:()=>d,bx:()=>c,hA:()=>S,lQ:()=>C,mC:()=>O,oW:()=>w,p:()=>k,sR:()=>h,sZ:()=>u,uZ:()=>v,vd:()=>f});var s=i(6888),o=i(3853),a=i(6830);let n=Math.random;const r=new Map,l=2*Math.PI;function c(t,e){r.get(t)||r.set(t,e)}function d(t){return r.get(t)??(t=>t)}function h(t=Math.random){n=t}function u(){return v(n(),0,1-Number.EPSILON)}function v(t,e,i){return Math.min(Math.max(t,e),i)}function p(t,e,i,s){return Math.floor((t*i+e*s)/(i+s))}function f(t){const e=g(t);let i=y(t);return e===i&&(i=0),u()*(e-i)+i}function m(t){return(0,o.hj)(t)?t:f(t)}function y(t){return(0,o.hj)(t)?t:t.min}function g(t){return(0,o.hj)(t)?t:t.max}function b(t,e){if(t===e||void 0===e&&(0,o.hj)(t))return t;const i=y(t),s=g(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(s,e)}:b(i,s)}function w(t,e){const i=t.x-e.x,s=t.y-e.y;return{dx:i,dy:s,distance:Math.sqrt(i**2+s**2)}}function x(t,e){return w(t,e).distance}function M(t){return t*Math.PI/180}function z(t,e,i){if((0,o.hj)(t))return M(t);const s=.25;switch(t){case"top":return.5*-Math.PI;case"top-right":return-Math.PI*s;case"right":return 0;case"bottom-right":return Math.PI*s;case"bottom":return.5*Math.PI;case"bottom-left":return.75*Math.PI;case"left":return Math.PI;case"top-left":return.75*-Math.PI;case"inside":return Math.atan2(i.y-e.y,i.x-e.x);case"outside":return Math.atan2(e.y-i.y,e.x-i.x);default:return u()*l}}function C(t){const e=s.O.origin;return e.length=1,e.angle=t,e}function S(t,e,i,o){return s.O.create(t.x*(i-o)/(i+o)+2*e.x*o/(i+o),t.y)}function P(t){return void 0!==t.position?.x&&void 0!==t.position.y?{x:t.position.x*t.size.width/a.tZ,y:t.position.y*t.size.height/a.tZ}:void 0}function k(t){return{x:(t.position?.x??u()*a.tZ)*t.size.width/a.tZ,y:(t.position?.y??u()*a.tZ)*t.size.height/a.tZ}}function R(t){const e={x:void 0!==t.position?.x?m(t.position.x):void 0,y:void 0!==t.position?.y?m(t.position.y):void 0};return k({size:t.size,position:e})}function O(t){return{x:t.position?.x??u()*t.size.width,y:t.position?.y??u()*t.size.height}}function D(t){const e={x:void 0!==t.position?.x?m(t.position.x):void 0,y:void 0!==t.position?.y?m(t.position.y):void 0};return O({size:t.size,position:e})}function E(t){return t?t.endsWith("%")?parseFloat(t)/a.tZ:parseFloat(t):1}},8853:(t,e,i)=>{i.d(e,{h:()=>o,x:()=>a});var s=i(9115);function o(t,...e){for(const i of e)t.load(i)}function a(t,e,...i){const a=new s.B(t,e);return o(a,...i),a}},3853:(t,e,i)=>{function s(t){return"boolean"==typeof t}function o(t){return"string"==typeof t}function a(t){return"number"==typeof t}function n(t){return"function"==typeof t}function r(t){return"object"==typeof t&&null!==t}function l(t){return Array.isArray(t)}i.d(e,{HD:()=>o,Kn:()=>r,hj:()=>a,jn:()=>s,kJ:()=>l,mf:()=>n})},1271:(t,e,i)=>{i.d(e,{Ac:()=>w,Cr:()=>V,EK:()=>l,Gt:()=>P,HY:()=>v,KH:()=>E,Kr:()=>h,M_:()=>M,NM:()=>p,Rs:()=>I,V0:()=>_,XD:()=>S,ZB:()=>z,ap:()=>T,bt:()=>Z,c8:()=>b,dB:()=>m,dU:()=>g,dp:()=>D,gy:()=>R,iC:()=>k,jl:()=>c,kR:()=>O,lL:()=>u,mx:()=>y,wA:()=>A,wm:()=>C,xq:()=>x,yf:()=>f});var s=i(2358),o=i(6830),a=i(3853),n=i(6888);const r={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function l(t){r.debug=t.debug||r.debug,r.error=t.error||r.error,r.info=t.info||r.info,r.log=t.log||r.log,r.verbose=t.verbose||r.verbose,r.warning=t.warning||r.warning}function c(){return r}function d(t){const e={bounced:!1},{pSide:i,pOtherSide:s,rectSide:o,rectOtherSide:a,velocity:n,factor:r}=t;return s.min<a.min||s.min>a.max||s.max<a.min||s.max>a.max||(i.max>=o.min&&i.max<=.5*(o.max+o.min)&&n>0||i.min<=o.max&&i.min>.5*(o.max+o.min)&&n<0)&&(e.velocity=n*-r,e.bounced=!0),e}function h(){return"undefined"==typeof window||!window||void 0===window.document||!window.document}function u(){return!h()&&"undefined"!=typeof matchMedia}function v(t){if(u())return matchMedia(t)}function p(t){if(!h()&&"undefined"!=typeof IntersectionObserver)return new IntersectionObserver(t)}function f(t){if(!h()&&"undefined"!=typeof MutationObserver)return new MutationObserver(t)}function m(t,e){return t===e||(0,a.kJ)(e)&&e.indexOf(t)>-1}async function y(t,e){try{await document.fonts.load(`${e??"400"} 36px '${t??"Verdana"}'`)}catch{}}function g(t){return Math.floor((0,s.sZ)()*t.length)}function b(t,e,i=!0){return t[void 0!==e&&i?e%t.length:g(t)]}function w(t,e,i,s,o){return x(M(t,s??0),e,i,o)}function x(t,e,i,s){let o=!0;return s&&"bottom"!==s||(o=t.top<e.height+i.x),!o||s&&"left"!==s||(o=t.right>i.x),!o||s&&"right"!==s||(o=t.left<e.width+i.y),!o||s&&"top"!==s||(o=t.bottom>i.y),o}function M(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function z(t,...e){for(const i of e){if(null==i)continue;if(!(0,a.Kn)(i)){t=i;continue}const e=Array.isArray(i);!e||!(0,a.Kn)(t)&&t&&Array.isArray(t)?e||!(0,a.Kn)(t)&&t&&!Array.isArray(t)||(t={}):t=[];for(const e in i){if("__proto__"===e)continue;const s=i[e],o=t;o[e]=(0,a.Kn)(s)&&Array.isArray(s)?s.map((t=>z(o[e],t))):z(o[e],s)}}return t}function C(t,e){return!!I(e,(e=>e.enable&&m(t,e.mode)))}function S(t,e,i){E(e,(e=>{const s=e.mode;e.enable&&m(t,s)&&P(e,i)}))}function P(t,e){E(t.selectors,(i=>{e(i,t)}))}function k(t,e){if(e&&t)return I(t,(t=>function(t,e){const i=E(e,(e=>t.matches(e)));return(0,a.kJ)(i)?i.some((t=>t)):i}(e,t.selectors)))}function R(t){return{position:t.getPosition(),radius:t.getRadius(),mass:t.getMass(),velocity:t.velocity,factor:n.O.create((0,s.Gu)(t.options.bounce.horizontal.value),(0,s.Gu)(t.options.bounce.vertical.value))}}function O(t,e){const{x:i,y:o}=t.velocity.sub(e.velocity),[a,n]=[t.position,e.position],{dx:r,dy:l}=(0,s.oW)(n,a);if(i*r+o*l<0)return;const c=-Math.atan2(l,r),d=t.mass,h=e.mass,u=t.velocity.rotate(c),v=e.velocity.rotate(c),p=(0,s.hA)(u,v,d,h),f=(0,s.hA)(v,u,d,h),m=p.rotate(-c),y=f.rotate(-c);t.velocity.x=m.x*t.factor.x,t.velocity.y=m.y*t.factor.y,e.velocity.x=y.x*e.factor.x,e.velocity.y=y.y*e.factor.y}function D(t,e){const i=M(t.getPosition(),t.getRadius()),o=t.options.bounce,a=d({pSide:{min:i.left,max:i.right},pOtherSide:{min:i.top,max:i.bottom},rectSide:{min:e.left,max:e.right},rectOtherSide:{min:e.top,max:e.bottom},velocity:t.velocity.x,factor:(0,s.Gu)(o.horizontal.value)});a.bounced&&(void 0!==a.velocity&&(t.velocity.x=a.velocity),void 0!==a.position&&(t.position.x=a.position));const n=d({pSide:{min:i.top,max:i.bottom},pOtherSide:{min:i.left,max:i.right},rectSide:{min:e.top,max:e.bottom},rectOtherSide:{min:e.left,max:e.right},velocity:t.velocity.y,factor:(0,s.Gu)(o.vertical.value)});n.bounced&&(void 0!==n.velocity&&(t.velocity.y=n.velocity),void 0!==n.position&&(t.position.y=n.position))}function E(t,e){return(0,a.kJ)(t)?t.map(((t,i)=>e(t,i))):e(t,0)}function A(t,e,i){return(0,a.kJ)(t)?b(t,e,i):t}function I(t,e){if((0,a.kJ)(t))return t.find(((t,i)=>e(t,i)));return e(t,0)?t:void 0}function _(t,e){const i=t.value,a=t.animation,n={delayTime:(0,s.Gu)(a.delay)*o.X5,enable:a.enable,value:(0,s.Gu)(t.value)*e,max:(0,s.KI)(i)*e,min:(0,s.Uv)(i)*e,loops:0,maxLoops:(0,s.Gu)(a.count),time:0};if(a.enable){switch(n.decay=1-(0,s.Gu)(a.decay),a.mode){case"increase":n.status="increasing";break;case"decrease":n.status="decreasing";break;case"random":n.status=(0,s.sZ)()>=o.vq?"increasing":"decreasing"}const t="auto"===a.mode;switch(a.startValue){case"min":n.value=n.min,t&&(n.status="increasing");break;case"max":n.value=n.max,t&&(n.status="decreasing");break;default:n.value=(0,s.vd)(n),t&&(n.status=(0,s.sZ)()>=o.vq?"increasing":"decreasing")}}return n.initialValue=n.value,n}function B(t,e){if(!("percent"===t.mode)){const{mode:e,...i}=t;return i}return"x"in t?{x:t.x/o.tZ*e.width,y:t.y/o.tZ*e.height}:{width:t.width/o.tZ*e.width,height:t.height/o.tZ*e.height}}function Z(t,e){return B(t,e)}function T(t,e){return B(t,e)}function V(t,e,i,o,a){if(t.destroyed||!e||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;const n=(e.velocity??0)*a.factor,r=e.min,l=e.max,c=e.decay??1;if(e.time||(e.time=0),(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=a.value),!((e.delayTime??0)>0&&e.time<(e.delayTime??0))){switch(e.status){case"increasing":e.value>=l?(i?e.status="decreasing":e.value-=l,e.loops||(e.loops=0),e.loops++):e.value+=n;break;case"decreasing":e.value<=r?(i?e.status="increasing":e.value+=l,e.loops||(e.loops=0),e.loops++):e.value-=n}e.velocity&&1!==c&&(e.velocity*=c),function(t,e,i,s,o){switch(e){case"max":i>=o&&t.destroy();break;case"min":i<=s&&t.destroy()}}(t,o,e.value,r,l),t.destroyed||(e.value=(0,s.uZ)(e.value,r,l))}}},3624:(t,e,i)=>{i.d(e,{RC:()=>y.R,Pp:()=>g.P,I9:()=>ht.I9,Aq:()=>b.A,g5:()=>w.g,F0:()=>x.F,W7:()=>f.W7,Cd:()=>f.Cd,Rd:()=>S.R,yW:()=>V.y,hK:()=>H.h,tm:()=>W.t,yQ:()=>M.y,Mo:()=>P.M,zW:()=>k.z,L8:()=>u,IT:()=>z.I,zP:()=>R.z,hz:()=>C.h,BY:()=>d,o7:()=>E.o,ht:()=>I.h,nl:()=>A.n,A6:()=>F.A,kZ:()=>$.k,kS:()=>G.k,aP:()=>U.a,Sb:()=>X.S,Cl:()=>N.C,SF:()=>Q.S,Dd:()=>it.D,OQ:()=>st.O,Ei:()=>_.E,Oz:()=>B.O,uy:()=>q.u,VS:()=>O.V,bD:()=>Z.b,uR:()=>T.u,ld:()=>et.l,$S:()=>v,Hb:()=>Y.H,Wf:()=>tt.W,Bm:()=>L.B,E9:()=>p.E,Br:()=>g.B,md:()=>ht.md,Ae:()=>f.Ae,Cf:()=>D.C,Et:()=>lt.E,g1:()=>h,jX:()=>K.j,bn:()=>ot.b,$u:()=>at.$,aA:()=>nt.a,yC:()=>J.y,mP:()=>j.m,Q2:()=>ct.Q,Cm:()=>dt.C,SW:()=>ht.SW,OW:()=>m.O,UJ:()=>m.U,KN:()=>rt.K,VI:()=>c.VI,bx:()=>n.bx,PL:()=>ut.PL,xq:()=>o.xq,dU:()=>o.dU,mC:()=>n.mC,KD:()=>n.KD,Ry:()=>n.Ry,p:()=>n.p,Gz:()=>n.Gz,M_:()=>o.M_,kR:()=>o.kR,gy:()=>o.gy,uZ:()=>n.uZ,ZH:()=>ut.ZH,hA:()=>n.hA,oc:()=>c.oc,_g:()=>c._g,sS:()=>c.sS,ZB:()=>o.ZB,Id:()=>n.Id,iC:()=>o.iC,XD:()=>o.XD,lV:()=>ut.lV,pS:()=>ut.pS,zv:()=>ut.zv,$F:()=>ut.$F,Zw:()=>ut.Zw,Ch:()=>ut.Ch,m:()=>ut.Dd,gK:()=>s.gK,KH:()=>o.KH,Rs:()=>o.Rs,YU:()=>s.YU,Sp:()=>n.Sp,oW:()=>n.oW,_X:()=>n._X,bS:()=>c.bS,gW:()=>c.gW,BE:()=>c.BE,Dt:()=>c.Dt,jl:()=>o.jl,lQ:()=>n.lQ,Gk:()=>n.Gk,bt:()=>o.bt,sZ:()=>n.sZ,J9:()=>c.J9,KI:()=>n.KI,Uv:()=>n.Uv,Gu:()=>n.Gu,ap:()=>o.ap,vz:()=>c.vz,iz:()=>c.iz,vq:()=>s.vq,lL:()=>o.lL,ve:()=>c.ve,Y6:()=>c.Y6,V0:()=>o.V0,kJ:()=>pt.kJ,jn:()=>pt.jn,wm:()=>o.wm,mf:()=>pt.mf,dB:()=>o.dB,hj:()=>pt.hj,Kn:()=>pt.Kn,Ac:()=>o.Ac,Kr:()=>o.Kr,HD:()=>pt.HD,c8:()=>o.c8,wA:()=>o.wA,mx:()=>o.mx,hS:()=>vt.h,hT:()=>vt.x,X5:()=>s.X5,CD:()=>n.CD,ZL:()=>s.ZL,aM:()=>s.aM,Wt:()=>s.Wt,G1:()=>s.G1,zw:()=>s.zw,TQ:()=>ut.TQ,C3:()=>ut.C3,BV:()=>n.BV,tZ:()=>s.tZ,vd:()=>n.vd,lN:()=>c.lN,tX:()=>c.tX,dp:()=>o.dp,rR:()=>s.rR,lC:()=>c.lC,NM:()=>o.NM,HY:()=>o.HY,yf:()=>o.yf,EK:()=>o.EK,sR:()=>n.sR,Cs:()=>n.Cs,Gt:()=>o.Gt,gE:()=>c.gE,DS:()=>c.DS,VH:()=>s.VH,$o:()=>s.$o,zX:()=>s.zX,Re:()=>s.Re,S6:()=>ft,Cr:()=>o.Cr,PB:()=>c.PB,ZC:()=>c.ZC,QL:()=>s.QL});var s=i(6830),o=i(1271);class a{constructor(){this._listeners=new Map}addEventListener(t,e){this.removeEventListener(t,e);let i=this._listeners.get(t);i||(i=[],this._listeners.set(t,i)),i.push(e)}dispatchEvent(t,e){const i=this._listeners.get(t);i?.forEach((t=>t(e)))}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,e){const i=this._listeners.get(t);if(!i)return;const s=i.length,o=i.indexOf(e);if(o<0)return;1===s?this._listeners.delete(t):i.splice(o,1)}}var n=i(2358);async function r(t,e,i,s=!1){let o=e.get(t);return o&&!s||(o=await Promise.all([...i.values()].map((e=>e(t)))),e.set(t,o)),o}class l{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new a,this._initialized=!1,this.plugins=[],this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.pathGenerators=new Map}get configs(){const t={};for(const[e,i]of this._configs)t[e]=i;return t}get version(){return"3.2.2"}addConfig(t){const e=t.key??t.name??"default";this._configs.set(e,t),this._eventDispatcher.dispatchEvent("configAdded",{data:{name:e,config:t}})}async addEffect(t,e,i=!0){(0,o.KH)(t,(t=>{this.getEffectDrawer(t)||this.effectDrawers.set(t,e)})),await this.refresh(i)}addEventListener(t,e){this._eventDispatcher.addEventListener(t,e)}async addInteractor(t,e,i=!0){this._initializers.interactors.set(t,e),await this.refresh(i)}async addMover(t,e,i=!0){this._initializers.movers.set(t,e),await this.refresh(i)}async addParticleUpdater(t,e,i=!0){this._initializers.updaters.set(t,e),await this.refresh(i)}async addPathGenerator(t,e,i=!0){this.getPathGenerator(t)||this.pathGenerators.set(t,e),await this.refresh(i)}async addPlugin(t,e=!0){this.getPlugin(t.id)||this.plugins.push(t),await this.refresh(e)}async addPreset(t,e,i=!1,s=!0){!i&&this.getPreset(t)||this.presets.set(t,e),await this.refresh(s)}async addShape(t,e,i=!0){(0,o.KH)(t,(t=>{this.getShapeDrawer(t)||this.shapeDrawers.set(t,e)})),await this.refresh(i)}clearPlugins(t){this.updaters.delete(t),this.movers.delete(t),this.interactors.delete(t)}dispatchEvent(t,e){this._eventDispatcher.dispatchEvent(t,e)}dom(){return this._domArray}domItem(t){const e=this.dom(),i=e[t];if(i&&!i.destroyed)return i;{const i=1;e.splice(t,i)}}async getAvailablePlugins(t){const e=new Map;for(const i of this.plugins)i.needsPlugin(t.actualOptions)&&e.set(i.id,await i.getPlugin(t));return e}getEffectDrawer(t){return this.effectDrawers.get(t)}async getInteractors(t,e=!1){return await r(t,this.interactors,this._initializers.interactors,e)}async getMovers(t,e=!1){return await r(t,this.movers,this._initializers.movers,e)}getPathGenerator(t){return this.pathGenerators.get(t)}getPlugin(t){return this.plugins.find((e=>e.id===t))}getPreset(t){return this.presets.get(t)}getShapeDrawer(t){return this.shapeDrawers.get(t)}getSupportedEffects(){return this.effectDrawers.keys()}getSupportedShapes(){return this.shapeDrawers.keys()}async getUpdaters(t,e=!1){return await r(t,this.updaters,this._initializers.updaters,e)}init(){this._initialized||(this._initialized=!0)}async load(t){const e=t.id??t.element?.id??`tsparticles${Math.floor(1e4*(0,n.sZ)())}`,{index:a,url:r}=t,l=r?await async function(t){const e=(0,o.wA)(t.url,t.index);if(!e)return t.fallback;const i=await fetch(e);return i.ok?await i.json():((0,o.jl)().error(`${s.gK} ${i.status} while retrieving config file`),t.fallback)}({fallback:t.options,url:r,index:a}):t.options;let c=t.element??document.getElementById(e);c||(c=document.createElement("div"),c.id=e,document.body.append(c));const d=(0,o.wA)(l,a),h=this.dom(),u=h.findIndex((t=>t.id.description===e));if(u>=0){const t=this.domItem(u);if(t&&!t.destroyed){t.destroy();const e=1;h.splice(u,e)}}let v;if("canvas"===c.tagName.toLowerCase())v=c,v.dataset[s.YU]="false";else{const t=c.getElementsByTagName("canvas");if(t.length){v=t[0],v.dataset[s.YU]="false"}else v=document.createElement("canvas"),v.dataset[s.YU]="true",c.appendChild(v)}v.style.width||(v.style.width="100%"),v.style.height||(v.style.height="100%");const{Container:p}=await i.e(2720).then(i.bind(i,2720)),f=new p(this,e,d);if(u>=0){const t=0;h.splice(u,t,f)}else h.push(f);return f.canvas.loadCanvas(v),await f.start(),f}loadOptions(t,e){for(const i of this.plugins)i.loadOptions(t,e)}loadParticlesOptions(t,e,...i){const s=this.updaters.get(t);if(s)for(const t of s)t.loadOptions?.(e,...i)}async refresh(t=!0){t&&await Promise.all(this.dom().map((t=>t.refresh())))}removeEventListener(t,e){this._eventDispatcher.removeEventListener(t,e)}setOnClickHandler(t){const e=this.dom();if(!e.length)throw new Error(`${s.gK} can only set click handlers after calling tsParticles.load()`);for(const i of e)i.addClickHandler(t)}}var c=i(5063);class d{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(t){const e=t.value.hsl??t.value;if(void 0!==e.h&&void 0!==e.s&&void 0!==e.l)return(0,c.ve)(e)}handleRangeColor(t){const e=t.value.hsl??t.value;if(void 0!==e.h&&void 0!==e.l)return(0,c.ve)({h:(0,n.Gu)(e.h),l:(0,n.Gu)(e.l),s:(0,n.Gu)(e.s)})}parseString(t){if(!t.startsWith("hsl"))return;const e=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.%]+)\s*)?\)/i.exec(t);return e?(0,c.Y6)({a:e.length>4?(0,n.BV)(e[5]):1,h:parseInt(e[1],10),l:parseInt(e[3],10),s:parseInt(e[2],10)}):void 0}}class h{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(t){const e=t.value.rgb??t.value;if(void 0!==e.r)return e}handleRangeColor(t){const e=t.value.rgb??t.value;if(void 0!==e.r)return{r:(0,n.Gu)(e.r),g:(0,n.Gu)(e.g),b:(0,n.Gu)(e.b)}}parseString(t){if(!t.startsWith(this.stringPrefix))return;const e=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.%]+)\s*)?\)/i.exec(t);return e?{a:e.length>4?(0,n.BV)(e[5]):1,b:parseInt(e[3],10),g:parseInt(e[2],10),r:parseInt(e[1],10)}:void 0}}class u{constructor(t){this.type="external",this.container=t}}class v{constructor(t){this.type="particles",this.container=t}}var p=i(4158),f=i(7212),m=i(6888),y=i(1470),g=i(8152),b=i(1429),w=i(9311),x=i(76),M=i(2793),z=i(8569),C=i(5992),S=i(5053),P=i(2935),k=i(1778),R=i(5701),O=i(6571),D=i(6755),E=i(8461),A=i(5542),I=i(5632),_=i(7327),B=i(3312),Z=i(1357),T=i(9141),V=i(2631),H=i(5447),W=i(3964),L=i(9115),K=i(2467),j=i(4962),G=i(4169),F=i(8097),$=i(7056),U=i(7897),X=i(3843),q=i(3534),N=i(457),J=i(7805),Q=i(8481),Y=i(9262),tt=i(8760),et=i(5574),it=i(5555),st=i(1174),ot=i(578),at=i(1293),nt=i(4376),rt=i(6151),lt=i(3442),ct=i(9556),dt=i(5295),ht=i(9569),ut=i(4150),vt=i(8853),pt=i(3853);const ft=function(){const t=new h,e=new d;(0,c.VI)(t),(0,c.VI)(e);const i=new l;return i.init(),i}();(0,o.Kr)()||(window.tsParticles=ft)}},s={};function o(t){var e=s[t];if(void 0!==e)return e.exports;var a=s[t]={exports:{}};return i[t](a,a.exports,o),a.exports}o.m=i,o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.f={},o.e=t=>Promise.all(Object.keys(o.f).reduce(((e,i)=>(o.f[i](t,e),e)),[])),o.u=t=>t+".min.js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="@tsparticles/confetti:",o.l=(i,s,a,n)=>{if(t[i])t[i].push(s);else{var r,l;if(void 0!==a)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var h=c[d];if(h.getAttribute("src")==i||h.getAttribute("data-webpack")==e+a){r=h;break}}r||(l=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,o.nc&&r.setAttribute("nonce",o.nc),r.setAttribute("data-webpack",e+a),r.src=i),t[i]=[s];var u=(e,s)=>{r.onerror=r.onload=null,clearTimeout(v);var o=t[i];if(delete t[i],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach((t=>t(s))),e)return e(s)},v=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),l&&document.head.appendChild(r)}},o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;o.g.importScripts&&(t=o.g.location+"");var e=o.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var i=e.getElementsByTagName("script");if(i.length)for(var s=i.length-1;s>-1&&!t;)t=i[s--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=t})(),(()=>{var t={2417:0};o.f.j=(e,i)=>{var s=o.o(t,e)?t[e]:void 0;if(0!==s)if(s)i.push(s[2]);else{var a=new Promise(((i,o)=>s=t[e]=[i,o]));i.push(s[2]=a);var n=o.p+o.u(e),r=new Error;o.l(n,(i=>{if(o.o(t,e)&&(0!==(s=t[e])&&(t[e]=void 0),s)){var a=i&&("load"===i.type?"missing":i.type),n=i&&i.target&&i.target.src;r.message="Loading chunk "+e+" failed.\n("+a+": "+n+")",r.name="ChunkLoadError",r.type=a,r.request=n,s[1](r)}}),"chunk-"+e,e)}};var e=(e,i)=>{var s,a,n=i[0],r=i[1],l=i[2],c=0;if(n.some((e=>0!==t[e]))){for(s in r)o.o(r,s)&&(o.m[s]=r[s]);if(l)l(o)}for(e&&e(i);c<n.length;c++)a=n[c],o.o(t,a)&&t[a]&&t[a][0](),t[a]=0},i=this.webpackChunk_tsparticles_confetti=this.webpackChunk_tsparticles_confetti||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var a={};return(()=>{o.r(a),o.d(a,{AnimatableColor:()=>t.RC,AnimationOptions:()=>t.Pp,AnimationValueWithRandom:()=>t.I9,Background:()=>t.Aq,BackgroundMask:()=>t.g5,BackgroundMaskCover:()=>t.F0,BaseRange:()=>t.W7,Circle:()=>t.Cd,ClickEvent:()=>t.Rd,Collisions:()=>t.yW,CollisionsAbsorb:()=>t.hK,CollisionsOverlap:()=>t.tm,ColorAnimation:()=>t.yQ,DivEvent:()=>t.Mo,Events:()=>t.zW,ExternalInteractorBase:()=>t.L8,FullScreen:()=>t.IT,HoverEvent:()=>t.zP,HslAnimation:()=>t.hz,HslColorManager:()=>t.BY,Interactivity:()=>t.o7,ManualParticle:()=>t.ht,Modes:()=>t.nl,Move:()=>t.A6,MoveAngle:()=>t.kZ,MoveAttract:()=>t.kS,MoveCenter:()=>t.aP,MoveGravity:()=>t.Sb,MovePath:()=>t.Cl,MoveTrail:()=>t.SF,Opacity:()=>t.Dd,OpacityAnimation:()=>t.OQ,Options:()=>t.Ei,OptionsColor:()=>t.Oz,OutModes:()=>t.uy,Parallax:()=>t.VS,ParticlesBounce:()=>t.bD,ParticlesBounceFactor:()=>t.uR,ParticlesDensity:()=>t.ld,ParticlesInteractorBase:()=>t.$S,ParticlesNumber:()=>t.Hb,ParticlesNumberLimit:()=>t.Wf,ParticlesOptions:()=>t.Bm,Point:()=>t.E9,RangedAnimationOptions:()=>t.Br,RangedAnimationValueWithRandom:()=>t.md,Rectangle:()=>t.Ae,ResizeEvent:()=>t.Cf,Responsive:()=>t.Et,RgbColorManager:()=>t.g1,Shadow:()=>t.jX,Shape:()=>t.bn,Size:()=>t.$u,SizeAnimation:()=>t.aA,Spin:()=>t.yC,Stroke:()=>t.mP,Theme:()=>t.Q2,ThemeDefault:()=>t.Cm,ValueWithRandom:()=>t.SW,Vector:()=>t.OW,Vector3d:()=>t.UJ,ZIndex:()=>t.KN,addColorManager:()=>t.VI,addEasing:()=>t.bx,alterHsl:()=>t.PL,areBoundsInside:()=>t.xq,arrayRandomIndex:()=>t.dU,calcExactPositionOrRandomFromSize:()=>t.mC,calcExactPositionOrRandomFromSizeRanged:()=>t.KD,calcPositionFromSize:()=>t.Ry,calcPositionOrRandomFromSize:()=>t.p,calcPositionOrRandomFromSizeRanged:()=>t.Gz,calculateBounds:()=>t.M_,circleBounce:()=>t.kR,circleBounceDataFromParticle:()=>t.gy,clamp:()=>t.uZ,clear:()=>t.ZH,collisionVelocity:()=>t.hA,colorMix:()=>t.oc,colorToHsl:()=>t._g,colorToRgb:()=>t.sS,confetti:()=>f,deepExtend:()=>t.ZB,degToRad:()=>t.Id,divMode:()=>t.iC,divModeExecute:()=>t.XD,drawEffect:()=>t.lV,drawLine:()=>t.pS,drawParticle:()=>t.zv,drawParticlePlugin:()=>t.$F,drawPlugin:()=>t.Zw,drawShape:()=>t.Ch,drawShapeAfterDraw:()=>t.m,errorPrefix:()=>t.gK,executeOnSingleOrMultiple:()=>t.KH,findItemFromSingleOrMultiple:()=>t.Rs,generatedAttribute:()=>t.YU,getDistance:()=>t.Sp,getDistances:()=>t.oW,getEasing:()=>t._X,getHslAnimationFromHsl:()=>t.bS,getHslFromAnimation:()=>t.gW,getLinkColor:()=>t.BE,getLinkRandomColor:()=>t.Dt,getLogger:()=>t.jl,getParticleBaseVelocity:()=>t.lQ,getParticleDirectionAngle:()=>t.Gk,getPosition:()=>t.bt,getRandom:()=>t.sZ,getRandomRgbColor:()=>t.J9,getRangeMax:()=>t.KI,getRangeMin:()=>t.Uv,getRangeValue:()=>t.Gu,getSize:()=>t.ap,getStyleFromHsl:()=>t.vz,getStyleFromRgb:()=>t.iz,halfRandom:()=>t.vq,hasMatchMedia:()=>t.lL,hslToRgb:()=>t.ve,hslaToRgba:()=>t.Y6,initParticleNumericAnimationValue:()=>t.V0,isArray:()=>t.kJ,isBoolean:()=>t.jn,isDivModeEnabled:()=>t.wm,isFunction:()=>t.mf,isInArray:()=>t.dB,isNumber:()=>t.hj,isObject:()=>t.Kn,isPointInside:()=>t.Ac,isSsr:()=>t.Kr,isString:()=>t.HD,itemFromArray:()=>t.c8,itemFromSingleOrMultiple:()=>t.wA,loadFont:()=>t.mx,loadOptions:()=>t.hS,loadParticlesOptions:()=>t.hT,millisecondsToSeconds:()=>t.X5,mix:()=>t.CD,mouseDownEvent:()=>t.ZL,mouseLeaveEvent:()=>t.aM,mouseMoveEvent:()=>t.Wt,mouseOutEvent:()=>t.G1,mouseUpEvent:()=>t.zw,paintBase:()=>t.TQ,paintImage:()=>t.C3,parseAlpha:()=>t.BV,percentDenominator:()=>t.tZ,randomInRange:()=>t.vd,rangeColorToHsl:()=>t.lN,rangeColorToRgb:()=>t.tX,rectBounce:()=>t.dp,resizeEvent:()=>t.rR,rgbToHsl:()=>t.lC,safeIntersectionObserver:()=>t.NM,safeMatchMedia:()=>t.HY,safeMutationObserver:()=>t.yf,setLogger:()=>t.EK,setRandom:()=>t.sR,setRangeValue:()=>t.Cs,singleDivModeExecute:()=>t.Gt,stringToAlpha:()=>t.gE,stringToRgb:()=>t.DS,touchCancelEvent:()=>t.VH,touchEndEvent:()=>t.$o,touchMoveEvent:()=>t.zX,touchStartEvent:()=>t.Re,tsParticles:()=>t.S6,updateAnimation:()=>t.Cr,updateColor:()=>t.PB,updateColorValue:()=>t.ZC,visibilityChangeEvent:()=>t.QL});var t=o(3624);class e{constructor(){this.angle=90,this.count=50,this.spread=45,this.startVelocity=45,this.decay=.9,this.gravity=1,this.drift=0,this.ticks=200,this.position={x:50,y:50},this.colors=["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],this.shapes=["square","circle"],this.scalar=1,this.zIndex=100,this.disableForReducedMotion=!0,this.flat=!1,this.shapeOptions={}}get origin(){return{x:this.position.x/t.tZ,y:this.position.y/t.tZ}}set origin(e){this.position.x=e.x*t.tZ,this.position.y=e.y*t.tZ}get particleCount(){return this.count}set particleCount(t){this.count=t}load(e){if(!e)return;void 0!==e.angle&&(this.angle=e.angle);const i=e.count??e.particleCount;void 0!==i&&(this.count=i),void 0!==e.spread&&(this.spread=e.spread),void 0!==e.startVelocity&&(this.startVelocity=e.startVelocity),void 0!==e.decay&&(this.decay=e.decay),void 0!==e.flat&&(this.flat=e.flat),void 0!==e.gravity&&(this.gravity=e.gravity),void 0!==e.drift&&(this.drift=e.drift),void 0!==e.ticks&&(this.ticks=e.ticks);const s=e.origin;s&&!e.position&&(e.position={x:void 0!==s.x?s.x*t.tZ:void 0,y:void 0!==s.y?s.y*t.tZ:void 0});const o=e.position;o&&(void 0!==o.x&&(this.position.x=o.x),void 0!==o.y&&(this.position.y=o.y)),void 0!==e.colors&&((0,t.kJ)(e.colors)?this.colors=[...e.colors]:this.colors=e.colors);const a=e.shapeOptions;if(void 0!==a)for(const e in a){const i=a[e];i&&(this.shapeOptions[e]=(0,t.ZB)(this.shapeOptions[e]??{},i))}void 0!==e.shapes&&((0,t.kJ)(e.shapes)?this.shapes=[...e.shapes]:this.shapes=e.shapes),void 0!==e.scalar&&(this.scalar=e.scalar),void 0!==e.zIndex&&(this.zIndex=e.zIndex),void 0!==e.disableForReducedMotion&&(this.disableForReducedMotion=e.disableForReducedMotion)}}const i=9.81,s=5,n=3,r=1,l=0,c=0;let d=!1,h=!1;const u=new Map;async function v(t){if(d)return;if(h)return new Promise((t=>{const e=setInterval((()=>{d&&(clearInterval(e),t())}),100)}));h=!0;const{loadEmittersPlugin:e}=await o.e(3610).then(o.bind(o,3610)),{loadMotionPlugin:i}=await o.e(3862).then(o.bind(o,3862)),{loadCardsShape:s}=await o.e(8060).then(o.bind(o,8060)),{loadHeartShape:a}=await o.e(3473).then(o.bind(o,3473)),{loadImageShape:n}=await o.e(1472).then(o.bind(o,1472)),{loadPolygonShape:r}=await o.e(7890).then(o.bind(o,7890)),{loadSquareShape:l}=await o.e(9530).then(o.bind(o,9530)),{loadStarShape:c}=await o.e(9532).then(o.bind(o,9532)),{loadEmojiShape:u}=await o.e(5444).then(o.bind(o,5444)),{loadRotateUpdater:v}=await o.e(9376).then(o.bind(o,9376)),{loadLifeUpdater:p}=await o.e(9921).then(o.bind(o,9921)),{loadRollUpdater:f}=await o.e(571).then(o.bind(o,571)),{loadTiltUpdater:m}=await o.e(6004).then(o.bind(o,6004)),{loadWobbleUpdater:y}=await o.e(3629).then(o.bind(o,3629)),{loadBasic:g}=await o.e(5120).then(o.bind(o,5120));await e(t,!1),await i(t,!1),await s(t,!1),await a(t,!1),await n(t,!1),await r(t,!1),await l(t,!1),await c(t,!1),await u(t,!1),await v(t,!1),await p(t,!1),await f(t,!1),await m(t,!1),await y(t,!1),await g(t),h=!1,d=!0}async function p(o){const a=new e;let d;a.load(o.options);const h=a.ticks*t.X5/(3.6*t.X5*120);if(u.has(o.id)&&(d=u.get(o.id),d&&!d.destroyed)){const t=d;if(t.addEmitter)return void await t.addEmitter({startCount:a.count,position:a.position,size:{width:0,height:0},rate:{delay:0,quantity:0},life:{duration:.1,count:1},particles:{color:{value:a.colors},shape:{type:a.shapes,options:a.shapeOptions},life:{count:1},opacity:{value:{min:0,max:1},animation:{enable:!0,sync:!0,speed:h,startValue:"max",destroy:"min"}},size:{value:s*a.scalar},move:{angle:{value:a.spread,offset:0},drift:{min:-a.drift,max:a.drift},gravity:{acceleration:a.gravity*i},speed:a.startVelocity*n,decay:r-a.decay,direction:-a.angle}}})}const v={fullScreen:{enable:!o.canvas,zIndex:a.zIndex},fpsLimit:120,particles:{number:{value:0},color:{value:a.colors},shape:{type:a.shapes,options:a.shapeOptions},opacity:{value:{min:0,max:1},animation:{enable:!0,sync:!0,speed:h,startValue:"max",destroy:"min"}},size:{value:s*a.scalar},links:{enable:!1},life:{count:1},move:{angle:{value:a.spread,offset:0},drift:{min:-a.drift,max:a.drift},enable:!0,gravity:{enable:!0,acceleration:a.gravity*i},speed:a.startVelocity*n,decay:r-a.decay,direction:-a.angle,random:!0,straight:!1,outModes:{default:"none",bottom:"destroy"}},rotate:{value:a.flat?l:{min:0,max:360},direction:"random",animation:{enable:!a.flat,speed:60}},tilt:{direction:"random",enable:!a.flat,value:a.flat?c:{min:0,max:360},animation:{enable:!0,speed:60}},roll:{darken:{enable:!0,value:25},enable:!a.flat,speed:{min:15,max:25}},wobble:{distance:30,enable:!a.flat,speed:{min:-15,max:15}}},detectRetina:!0,motion:{disable:a.disableForReducedMotion},emitters:{name:"confetti",startCount:a.count,position:a.position,size:{width:0,height:0},rate:{delay:0,quantity:0},life:{duration:.1,count:1}}};return d=await t.S6.load({id:o.id,element:o.canvas,options:v}),u.set(o.id,d),d}async function f(e,i){let s,o;return await v(t.S6),(0,t.HD)(e)?(o=e,s=i??{}):(o="confetti",s=e),p({id:o,options:s})}f.create=async(e,i)=>{if(!e)return f;await v(t.S6);const s=e.getAttribute("id")??"confetti";return e.setAttribute("id",s),async(o,a)=>{let n,r;return(0,t.HD)(o)?(r=o,n=a??i):(r=s,n=o),p({id:r,canvas:e,options:n})}},f.version=t.S6.version,(0,t.Kr)()||(window.confetti=f)})(),a})()));
|
|
2
|
+
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var i=e();for(var o in i)("object"==typeof exports?exports:t)[o]=i[o]}}(this,(()=>(()=>{var t,e,i={751:(t,e,i)=>{i.d(e,{Bp:()=>d,DG:()=>h,G3:()=>u,N3:()=>y,NF:()=>p,Rb:()=>l,Xu:()=>g,Z0:()=>n,a5:()=>m,dI:()=>f,eb:()=>o,ms:()=>s,nK:()=>v,s7:()=>c,sf:()=>r,vo:()=>a});const o="generated",s="pointerdown",a="pointerup",n="pointerleave",r="pointerout",l="pointermove",c="touchstart",d="touchend",h="touchmove",u="touchcancel",p="resize",v="visibilitychange",f="tsParticles - Error",m=100,y=.5,g=1e3},2284:(t,e,i)=>{i.d(e,{b:()=>o});class o{constructor(t,e){this.position=t,this.particle=e}}},694:(t,e,i)=>{i.d(e,{M_:()=>n,dg:()=>s,jl:()=>a});var o=i(2646);class s{constructor(t,e,i){this.position={x:t,y:e},this.type=i}}class a extends s{constructor(t,e,i){super(t,e,"circle"),this.radius=i}contains(t){return(0,o.Yf)(t,this.position)<=this.radius}intersects(t){const e=this.position,i=t.position,o=Math.abs(i.x-e.x),s=Math.abs(i.y-e.y),r=this.radius;if(t instanceof a||"circle"===t.type){return r+t.radius>Math.sqrt(o**2+s**2)}if(t instanceof n||"rectangle"===t.type){const e=t,{width:i,height:a}=e.size;return Math.pow(o-i,2)+Math.pow(s-a,2)<=r**2||o<=r+i&&s<=r+a||o<=i||s<=a}return!1}}class n extends s{constructor(t,e,i,o){super(t,e,"rectangle"),this.size={height:o,width:i}}contains(t){const e=this.size.width,i=this.size.height,o=this.position;return t.x>=o.x&&t.x<=o.x+e&&t.y>=o.y&&t.y<=o.y+i}intersects(t){if(t instanceof a)return t.intersects(this);const e=this.size.width,i=this.size.height,o=this.position,s=t.position,r=t instanceof n?t.size:{width:0,height:0},l=r.width,c=r.height;return s.x<o.x+e&&s.x+l>o.x&&s.y<o.y+i&&s.y+c>o.y}}},4798:(t,e,i)=>{i.d(e,{M:()=>c,p:()=>l});var o=i(751),s=i(2457);const a=0,n=0,r=0;class l{constructor(t,e,i){if(this._updateFromAngle=(t,e)=>{this.x=Math.cos(t)*e,this.y=Math.sin(t)*e},!(0,s.Et)(t)&&t){this.x=t.x,this.y=t.y;const e=t;this.z=e.z?e.z:r}else{if(void 0===t||void 0===e)throw new Error(`${o.dI} Vector3d not initialized correctly`);this.x=t,this.y=e,this.z=i??r}}static get origin(){return l.create(a,n,r)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this._updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this._updateFromAngle(this.angle,t)}static clone(t){return l.create(t.x,t.y,t.z)}static create(t,e,i){return new l(t,e,i)}add(t){return l.create(this.x+t.x,this.y+t.y,this.z+t.z)}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=t.z}copy(){return l.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return l.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**2+this.y**2}mult(t){return l.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;0!=t&&this.multTo(1/t)}rotate(t){return l.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),r)}setTo(t){this.x=t.x,this.y=t.y;const e=t;this.z=e.z?e.z:r}sub(t){return l.create(this.x-t.x,this.y-t.y,this.z-t.z)}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=t.z}}class c extends l{constructor(t,e){super(t,e,r)}static get origin(){return c.create(a,n)}static clone(t){return c.create(t.x,t.y)}static create(t,e){return new c(t,e)}}},2655:(t,e,i)=>{i.d(e,{A:()=>n});var o=i(2457),s=i(1657),a=i(6719);class n extends a.O{constructor(){super(),this.animation=new s.i}static create(t,e){const i=new n;return i.load(t),void 0!==e&&((0,o.Kg)(e)||(0,o.cy)(e)?i.load({value:e}):i.load(e)),i}load(t){if(super.load(t),!t)return;const e=t.animation;void 0!==e&&(void 0!==e.enable?this.animation.h.load(e):this.animation.load(t.animation))}}},9190:(t,e,i)=>{i.d(e,{Q:()=>a,p:()=>s});var o=i(2646);class s{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){t&&(void 0!==t.count&&(this.count=(0,o.DT)(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=(0,o.DT)(t.speed)),void 0!==t.decay&&(this.decay=(0,o.DT)(t.decay)),void 0!==t.delay&&(this.delay=(0,o.DT)(t.delay)),void 0!==t.sync&&(this.sync=t.sync))}}class a extends s{constructor(){super(),this.mode="auto",this.startValue="random"}load(t){super.load(t),t&&(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}}},1897:(t,e,i)=>{i.d(e,{V:()=>s});var o=i(6719);class s{constructor(){this.color=new o.O,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){t&&(void 0!==t.color&&(this.color=o.O.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.position&&(this.position=t.position),void 0!==t.repeat&&(this.repeat=t.repeat),void 0!==t.size&&(this.size=t.size),void 0!==t.opacity&&(this.opacity=t.opacity))}}},3829:(t,e,i)=>{i.d(e,{T:()=>a});var o=i(490),s=i(2457);class a{constructor(){this.composite="destination-out",this.cover=new o.y,this.enable=!1}load(t){if(t){if(void 0!==t.composite&&(this.composite=t.composite),void 0!==t.cover){const e=t.cover,i=(0,s.Kg)(t.cover)?{color:t.cover}:t.cover;this.cover.load(void 0!==e.color||void 0!==e.image?e:{color:i})}void 0!==t.enable&&(this.enable=t.enable)}}}},490:(t,e,i)=>{i.d(e,{y:()=>s});var o=i(6719);class s{constructor(){this.opacity=1}load(t){t&&(void 0!==t.color&&(this.color=o.O.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.opacity&&(this.opacity=t.opacity))}}},6865:(t,e,i)=>{i.d(e,{e:()=>a});var o=i(9190),s=i(2646);class a extends o.p{constructor(){super(),this.offset=0,this.sync=!0}load(t){super.load(t),t&&void 0!==t.offset&&(this.offset=(0,s.DT)(t.offset))}}},9943:(t,e,i)=>{i.d(e,{m:()=>o});class o{constructor(){this.enable=!0,this.zIndex=0}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}}},1657:(t,e,i)=>{i.d(e,{i:()=>s});var o=i(6865);class s{constructor(){this.h=new o.e,this.s=new o.e,this.l=new o.e}load(t){t&&(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}},2562:(t,e,i)=>{i.d(e,{r:()=>o});class o{constructor(){this.enable=!1,this.mode=[]}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode))}}},5907:(t,e,i)=>{i.d(e,{G:()=>o});class o{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type="circle"}load(t){t&&(void 0!==t.selectors&&(this.selectors=t.selectors),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.type&&(this.type=t.type))}}},7023:(t,e,i)=>{i.d(e,{s:()=>l});var o=i(2562),s=i(5907),a=i(1864),n=i(3492),r=i(3393);class l{constructor(){this.onClick=new o.r,this.onDiv=new s.G,this.onHover=new a.L,this.resize=new n.z}load(t){if(!t)return;this.onClick.load(t.onClick);const e=t.onDiv;void 0!==e&&(this.onDiv=(0,r.wJ)(e,(t=>{const e=new s.G;return e.load(t),e}))),this.onHover.load(t.onHover),this.resize.load(t.resize)}}},1864:(t,e,i)=>{i.d(e,{L:()=>s});var o=i(1753);class s{constructor(){this.enable=!1,this.mode=[],this.parallax=new o.k}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),this.parallax.load(t.parallax))}}},1753:(t,e,i)=>{i.d(e,{k:()=>o});class o{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.force&&(this.force=t.force),void 0!==t.smooth&&(this.smooth=t.smooth))}}},3492:(t,e,i)=>{i.d(e,{z:()=>o});class o{constructor(){this.delay=.5,this.enable=!0}load(t){void 0!==t&&(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.enable&&(this.enable=t.enable))}}},7287:(t,e,i)=>{i.d(e,{k:()=>a});var o=i(7023),s=i(699);class a{constructor(t,e){this.detectsOn="window",this.events=new o.s,this.modes=new s.d(t,e)}load(t){if(!t)return;const e=t.detectsOn;void 0!==e&&(this.detectsOn=e),this.events.load(t.events),this.modes.load(t.modes)}}},699:(t,e,i)=>{i.d(e,{d:()=>o});class o{constructor(t,e){this._engine=t,this._container=e}load(t){if(!t)return;if(!this._container)return;const e=this._engine.interactors.get(this._container);if(e)for(const i of e)i.loadModeOptions&&i.loadModeOptions(this,t)}}},9638:(t,e,i)=>{i.d(e,{j:()=>s});var o=i(3393);class s{load(t){t&&(t.position&&(this.position={x:t.position.x??50,y:t.position.y??50,mode:t.position.mode??"percent"}),t.options&&(this.options=(0,o.zw)({},t.options)))}}},4126:(t,e,i)=>{i.d(e,{J:()=>v});var o=i(3393),s=i(1897),a=i(3829),n=i(9943),r=i(7287),l=i(9638),c=i(376),d=i(3863),h=i(2457),u=i(8761),p=i(2646);class v{constructor(t,e){this._findDefaultTheme=t=>this.themes.find((e=>e.default.value&&e.default.mode===t))??this.themes.find((t=>t.default.value&&"any"===t.default.mode)),this._importPreset=t=>{this.load(this._engine.getPreset(t))},this._engine=t,this._container=e,this.autoPlay=!0,this.background=new s.V,this.backgroundMask=new a.T,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new n.m,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new r.k(t,e),this.manualParticles=[],this.particles=(0,u.y)(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}load(t){if(!t)return;void 0!==t.preset&&(0,o.wJ)(t.preset,(t=>this._importPreset(t))),void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.clear&&(this.clear=t.clear),void 0!==t.key&&(this.key=t.key),void 0!==t.name&&(this.name=t.name),void 0!==t.delay&&(this.delay=(0,p.DT)(t.delay));const e=t.detectRetina;void 0!==e&&(this.detectRetina=e),void 0!==t.duration&&(this.duration=(0,p.DT)(t.duration));const i=t.fpsLimit;void 0!==i&&(this.fpsLimit=i),void 0!==t.pauseOnBlur&&(this.pauseOnBlur=t.pauseOnBlur),void 0!==t.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=t.pauseOnOutsideViewport),void 0!==t.zLayers&&(this.zLayers=t.zLayers),this.background.load(t.background);const s=t.fullScreen;(0,h.Lm)(s)?this.fullScreen.enable=s:this.fullScreen.load(s),this.backgroundMask.load(t.backgroundMask),this.interactivity.load(t.interactivity),t.manualParticles&&(this.manualParticles=t.manualParticles.map((t=>{const e=new l.j;return e.load(t),e}))),this.particles.load(t.particles),this.style=(0,o.zw)(this.style,t.style),this._engine.loadOptions(this,t),void 0!==t.smooth&&(this.smooth=t.smooth);const a=this._engine.interactors.get(this._container);if(a)for(const e of a)e.loadOptions&&e.loadOptions(this,t);if(void 0!==t.responsive)for(const e of t.responsive){const t=new c.F;t.load(e),this.responsive.push(t)}if(this.responsive.sort(((t,e)=>t.maxWidth-e.maxWidth)),void 0!==t.themes)for(const e of t.themes){const t=this.themes.find((t=>t.name===e.name));if(t)t.load(e);else{const t=new d.S;t.load(e),this.themes.push(t)}}this.defaultThemes.dark=this._findDefaultTheme("dark")?.name,this.defaultThemes.light=this._findDefaultTheme("light")?.name}setResponsive(t,e,i){this.load(i);const o=this.responsive.find((i=>"screen"===i.mode&&screen?i.maxWidth>screen.availWidth:i.maxWidth*e>t));return this.load(o?.options),o?.maxWidth}setTheme(t){if(t){const e=this.themes.find((e=>e.name===t));e&&this.load(e.options)}else{const t=(0,o.lV)("(prefers-color-scheme: dark)"),e=t&&t.matches,i=this._findDefaultTheme(e?"dark":"light");i&&this.load(i.options)}}}},6719:(t,e,i)=>{i.d(e,{O:()=>s});var o=i(2457);class s{constructor(){this.value=""}static create(t,e){const i=new s;return i.load(t),void 0!==e&&((0,o.Kg)(e)||(0,o.cy)(e)?i.load({value:e}):i.load(e)),i}load(t){void 0!==t?.value&&(this.value=t.value)}}},1494:(t,e,i)=>{i.d(e,{w:()=>s});var o=i(8745);class s{constructor(){this.horizontal=new o.F,this.vertical=new o.F}load(t){t&&(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}},8745:(t,e,i)=>{i.d(e,{F:()=>s});var o=i(2034);class s extends o.PV{constructor(){super(),this.value=1}}},4907:(t,e,i)=>{i.d(e,{c:()=>r});var o=i(8362),s=i(108),a=i(1494),n=i(2646);class r{constructor(){this.absorb=new o.N,this.bounce=new a.w,this.enable=!1,this.maxSpeed=50,this.mode="bounce",this.overlap=new s.F}load(t){t&&(this.absorb.load(t.absorb),this.bounce.load(t.bounce),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.maxSpeed&&(this.maxSpeed=(0,n.DT)(t.maxSpeed)),void 0!==t.mode&&(this.mode=t.mode),this.overlap.load(t.overlap))}}},8362:(t,e,i)=>{i.d(e,{N:()=>o});class o{constructor(){this.speed=2}load(t){t&&void 0!==t.speed&&(this.speed=t.speed)}}},108:(t,e,i)=>{i.d(e,{F:()=>o});class o{constructor(){this.enable=!0,this.retries=0}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.retries&&(this.retries=t.retries))}}},7299:(t,e,i)=>{i.d(e,{y:()=>p});var o=i(2457),s=i(2748),a=i(9326),n=i(2662),r=i(1917),l=i(4802),c=i(5271),d=i(9978),h=i(5794),u=i(2646);class p{constructor(){this.angle=new s.h,this.attract=new a.R,this.center=new n.Z,this.decay=0,this.distance={},this.direction="none",this.drift=0,this.enable=!1,this.gravity=new r.y,this.path=new l.v,this.outModes=new d.j,this.random=!1,this.size=!1,this.speed=2,this.spin=new h.t,this.straight=!1,this.trail=new c.O,this.vibrate=!1,this.warp=!1}load(t){if(!t)return;this.angle.load((0,o.Et)(t.angle)?{value:t.angle}:t.angle),this.attract.load(t.attract),this.center.load(t.center),void 0!==t.decay&&(this.decay=(0,u.DT)(t.decay)),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=(0,o.Et)(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),void 0!==t.drift&&(this.drift=(0,u.DT)(t.drift)),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity);const e=t.outModes;void 0!==e&&((0,o.Gv)(e)?this.outModes.load(e):this.outModes.load({default:e})),this.path.load(t.path),void 0!==t.random&&(this.random=t.random),void 0!==t.size&&(this.size=t.size),void 0!==t.speed&&(this.speed=(0,u.DT)(t.speed)),this.spin.load(t.spin),void 0!==t.straight&&(this.straight=t.straight),this.trail.load(t.trail),void 0!==t.vibrate&&(this.vibrate=t.vibrate),void 0!==t.warp&&(this.warp=t.warp)}}},2748:(t,e,i)=>{i.d(e,{h:()=>s});var o=i(2646);class s{constructor(){this.offset=0,this.value=90}load(t){t&&(void 0!==t.offset&&(this.offset=(0,o.DT)(t.offset)),void 0!==t.value&&(this.value=(0,o.DT)(t.value)))}}},9326:(t,e,i)=>{i.d(e,{R:()=>s});var o=i(2646);class s{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(t){if(t&&(void 0!==t.distance&&(this.distance=(0,o.DT)(t.distance)),void 0!==t.enable&&(this.enable=t.enable),t.rotate)){const e=t.rotate.x;void 0!==e&&(this.rotate.x=e);const i=t.rotate.y;void 0!==i&&(this.rotate.y=i)}}}},2662:(t,e,i)=>{i.d(e,{Z:()=>o});class o{constructor(){this.x=50,this.y=50,this.mode="percent",this.radius=0}load(t){t&&(void 0!==t.x&&(this.x=t.x),void 0!==t.y&&(this.y=t.y),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.radius&&(this.radius=t.radius))}}},1917:(t,e,i)=>{i.d(e,{y:()=>s});var o=i(2646);class s{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){t&&(void 0!==t.acceleration&&(this.acceleration=(0,o.DT)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.inverse&&(this.inverse=t.inverse),void 0!==t.maxSpeed&&(this.maxSpeed=(0,o.DT)(t.maxSpeed)))}}},5271:(t,e,i)=>{i.d(e,{O:()=>a});var o=i(6719);class s{load(t){t&&(void 0!==t.color&&(this.color=o.O.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image))}}class a{constructor(){this.enable=!1,this.length=10,this.fill=new s}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.fill&&this.fill.load(t.fill),void 0!==t.length&&(this.length=t.length))}}},9978:(t,e,i)=>{i.d(e,{j:()=>o});class o{constructor(){this.default="out"}load(t){t&&(void 0!==t.default&&(this.default=t.default),this.bottom=t.bottom??t.default,this.left=t.left??t.default,this.right=t.right??t.default,this.top=t.top??t.default)}}},4802:(t,e,i)=>{i.d(e,{v:()=>a});var o=i(2034),s=i(3393);class a{constructor(){this.clamp=!0,this.delay=new o.PV,this.enable=!1,this.options={}}load(t){t&&(void 0!==t.clamp&&(this.clamp=t.clamp),this.delay.load(t.delay),void 0!==t.enable&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=(0,s.zw)(this.options,t.options)))}}},5794:(t,e,i)=>{i.d(e,{t:()=>a});var o=i(3393),s=i(2646);class a{constructor(){this.acceleration=0,this.enable=!1}load(t){t&&(void 0!==t.acceleration&&(this.acceleration=(0,s.DT)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),t.position&&(this.position=(0,o.zw)({},t.position)))}}},6207:(t,e,i)=>{i.d(e,{M:()=>o});class o{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(t){if(!t)return;void 0!==t.enable&&(this.enable=t.enable);const e=t.width;void 0!==e&&(this.width=e);const i=t.height;void 0!==i&&(this.height=i)}}},3730:(t,e,i)=>{i.d(e,{N:()=>a});var o=i(6207),s=i(6407);class a{constructor(){this.density=new o.M,this.limit=new s.A,this.value=0}load(t){t&&(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}}},6407:(t,e,i)=>{i.d(e,{A:()=>o});class o{constructor(){this.mode="delete",this.value=0}load(t){t&&(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}},6659:(t,e,i)=>{i.d(e,{Y:()=>a});var o=i(9245),s=i(2034);class a extends s.AI{constructor(){super(),this.animation=new o.I,this.value=1}load(t){if(!t)return;super.load(t);const e=t.animation;void 0!==e&&this.animation.load(e)}}},9245:(t,e,i)=>{i.d(e,{I:()=>s});var o=i(9190);class s extends o.Q{constructor(){super(),this.destroy="none",this.speed=2}load(t){super.load(t),t&&void 0!==t.destroy&&(this.destroy=t.destroy)}}},9944:(t,e,i)=>{i.d(e,{U:()=>m});var o=i(3393),s=i(2655),a=i(4907);class n{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(t){if(!t)return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=(0,o.zw)(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.type=t.type)}}var r=i(7299),l=i(6659),c=i(1494),d=i(3730),h=i(286),u=i(47),p=i(6955),v=i(1754),f=i(9725);class m{constructor(t,e){this._engine=t,this._container=e,this.bounce=new c.w,this.collisions=new a.c,this.color=new s.A,this.color.value="#fff",this.effect=new n,this.groups={},this.move=new r.y,this.number=new d.N,this.opacity=new l.Y,this.reduceDuplicates=!1,this.shadow=new h.V,this.shape=new u.y,this.size=new p.o,this.stroke=new v.t,this.zIndex=new f.P}load(t){if(!t)return;if(void 0!==t.groups)for(const e of Object.keys(t.groups)){if(!Object.hasOwn(t.groups,e))continue;const i=t.groups[e];void 0!==i&&(this.groups[e]=(0,o.zw)(this.groups[e]??{},i))}void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.color.load(s.A.create(this.color,t.color)),this.effect.load(t.effect),this.move.load(t.move),this.number.load(t.number),this.opacity.load(t.opacity),this.shape.load(t.shape),this.size.load(t.size),this.shadow.load(t.shadow),this.zIndex.load(t.zIndex),this.collisions.load(t.collisions),void 0!==t.interactivity&&(this.interactivity=(0,o.zw)({},t.interactivity));const e=t.stroke;if(e&&(this.stroke=(0,o.wJ)(e,(t=>{const e=new v.t;return e.load(t),e}))),this._container){const e=this._engine.updaters.get(this._container);if(e)for(const i of e)i.loadOptions&&i.loadOptions(this,t);const i=this._engine.interactors.get(this._container);if(i)for(const e of i)e.loadParticlesOptions&&e.loadParticlesOptions(this,t)}}}},286:(t,e,i)=>{i.d(e,{V:()=>s});var o=i(6719);class s{constructor(){this.blur=0,this.color=new o.O,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(t){t&&(void 0!==t.blur&&(this.blur=t.blur),this.color=o.O.create(this.color,t.color),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.offset&&(void 0!==t.offset.x&&(this.offset.x=t.offset.x),void 0!==t.offset.y&&(this.offset.y=t.offset.y)))}}},47:(t,e,i)=>{i.d(e,{y:()=>s});var o=i(3393);class s{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(t){if(!t)return;const e=t.options;if(void 0!==e)for(const t in e){const i=e[t];i&&(this.options[t]=(0,o.zw)(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.type=t.type)}}},6955:(t,e,i)=>{i.d(e,{o:()=>a});var o=i(2034),s=i(7685);class a extends o.AI{constructor(){super(),this.animation=new s.q,this.value=3}load(t){if(super.load(t),!t)return;const e=t.animation;void 0!==e&&this.animation.load(e)}}},7685:(t,e,i)=>{i.d(e,{q:()=>s});var o=i(9190);class s extends o.Q{constructor(){super(),this.destroy="none",this.speed=5}load(t){super.load(t),t&&void 0!==t.destroy&&(this.destroy=t.destroy)}}},1754:(t,e,i)=>{i.d(e,{t:()=>a});var o=i(2655),s=i(2646);class a{constructor(){this.width=0}load(t){t&&(void 0!==t.color&&(this.color=o.A.create(this.color,t.color)),void 0!==t.width&&(this.width=(0,s.DT)(t.width)),void 0!==t.opacity&&(this.opacity=(0,s.DT)(t.opacity)))}}},9725:(t,e,i)=>{i.d(e,{P:()=>s});var o=i(2034);class s extends o.PV{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),t&&(void 0!==t.opacityRate&&(this.opacityRate=t.opacityRate),void 0!==t.sizeRate&&(this.sizeRate=t.sizeRate),void 0!==t.velocityRate&&(this.velocityRate=t.velocityRate))}}},376:(t,e,i)=>{i.d(e,{F:()=>s});var o=i(3393);class s{constructor(){this.maxWidth=1/0,this.options={},this.mode="canvas"}load(t){t&&(void 0!==t.maxWidth&&(this.maxWidth=t.maxWidth),void 0!==t.mode&&("screen"===t.mode?this.mode="screen":this.mode="canvas"),void 0!==t.options&&(this.options=(0,o.zw)({},t.options)))}}},3863:(t,e,i)=>{i.d(e,{S:()=>a});var o=i(9262),s=i(3393);class a{constructor(){this.name="",this.default=new o.f}load(t){t&&(void 0!==t.name&&(this.name=t.name),this.default.load(t.default),void 0!==t.options&&(this.options=(0,s.zw)({},t.options)))}}},9262:(t,e,i)=>{i.d(e,{f:()=>o});class o{constructor(){this.auto=!1,this.mode="any",this.value=!1}load(t){t&&(void 0!==t.auto&&(this.auto=t.auto),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}},2034:(t,e,i)=>{i.d(e,{AI:()=>r,Jm:()=>n,PV:()=>a});var o=i(9190),s=i(2646);class a{constructor(){this.value=0}load(t){t&&void 0!==t.value&&(this.value=(0,s.DT)(t.value))}}class n extends a{constructor(){super(),this.animation=new o.p}load(t){if(super.load(t),!t)return;const e=t.animation;void 0!==e&&this.animation.load(e)}}class r extends n{constructor(){super(),this.animation=new o.Q}load(t){super.load(t)}}},1813:(t,e,i)=>{i.d(e,{IU:()=>l,KG:()=>h,Md:()=>r,QC:()=>d,Sn:()=>n,V6:()=>a,Wb:()=>v,e_:()=>p,gF:()=>u,p0:()=>c,yx:()=>f});var o=i(7422);const s={x:0,y:0};function a(t,e,i){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(i.x,i.y),t.closePath()}function n(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(s.x,s.y,e.width,e.height)}function r(t,e,i,o){i&&(t.globalAlpha=o,t.drawImage(i,s.x,s.y,e.width,e.height),t.globalAlpha=1)}function l(t,e){t.clearRect(s.x,s.y,e.width,e.height)}function c(t){const{container:e,context:i,particle:s,delta:a,colorStyles:n,backgroundMask:r,composite:l,radius:c,opacity:p,shadow:v,transform:f}=t,m=s.getPosition(),y=s.rotation+(s.pathRotation?s.velocity.angle:0),g=Math.sin(y),b=Math.cos(y),w={a:b*(f.a??1),b:g*(f.b??1),c:-g*(f.c??1),d:b*(f.d??1)};i.setTransform(w.a,w.b,w.c,w.d,m.x,m.y),r&&(i.globalCompositeOperation=l);const x=s.shadowColor;v.enable&&x&&(i.shadowBlur=v.blur,i.shadowColor=(0,o.xx)(x),i.shadowOffsetX=v.offset.x,i.shadowOffsetY=v.offset.y),n.fill&&(i.fillStyle=n.fill);const M=s.strokeWidth??0;i.lineWidth=M,n.stroke&&(i.strokeStyle=n.stroke);const z={container:e,context:i,particle:s,radius:c,opacity:p,delta:a,transformData:w,strokeWidth:M};h(z),u(z),d(z),i.globalCompositeOperation="source-over",i.resetTransform()}function d(t){const{container:e,context:i,particle:o,radius:s,opacity:a,delta:n,transformData:r}=t;if(!o.effect)return;const l=e.effectDrawers.get(o.effect);l&&l.draw({context:i,particle:o,radius:s,opacity:a,delta:n,pixelRatio:e.retina.pixelRatio,transformData:{...r}})}function h(t){const{container:e,context:i,particle:o,radius:s,opacity:a,delta:n,strokeWidth:r,transformData:l}=t;if(!o.shape)return;const c=e.shapeDrawers.get(o.shape);c&&(i.beginPath(),c.draw({context:i,particle:o,radius:s,opacity:a,delta:n,pixelRatio:e.retina.pixelRatio,transformData:{...l}}),o.shapeClose&&i.closePath(),r>0&&i.stroke(),o.shapeFill&&i.fill())}function u(t){const{container:e,context:i,particle:o,radius:s,opacity:a,delta:n,transformData:r}=t;if(!o.shape)return;const l=e.shapeDrawers.get(o.shape);l?.afterDraw&&l.afterDraw({context:i,particle:o,radius:s,opacity:a,delta:n,pixelRatio:e.retina.pixelRatio,transformData:{...r}})}function p(t,e,i){e.draw&&e.draw(t,i)}function v(t,e,i,o){e.drawParticle&&e.drawParticle(t,i,o)}function f(t,e,i){return{h:t.h,s:t.s,l:t.l+("darken"===e?-1:1)*i}}},7422:(t,e,i)=>{i.d(e,{BN:()=>u,EY:()=>O,Jv:()=>R,K6:()=>m,Ko:()=>V,LC:()=>z,OH:()=>x,O_:()=>T,PG:()=>S,R5:()=>f,YL:()=>b,_h:()=>P,a9:()=>d,ay:()=>w,eg:()=>g,mK:()=>v,pz:()=>E,qe:()=>p,xx:()=>M,zI:()=>y});var o=i(2646),s=i(2457),a=i(751),n=i(3393);const r="random",l="mid",c=new Map;function d(t){c.set(t.key,t)}function h(t){for(const[,e]of c)if(t.startsWith(e.stringPrefix))return e.parseString(t);const e=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,((t,e,i,o,s)=>e+e+i+i+o+o+(void 0!==s?s+s:""))),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i.exec(e);return i?{a:void 0!==i[4]?parseInt(i[4],16)/255:1,b:parseInt(i[3],16),g:parseInt(i[2],16),r:parseInt(i[1],16)}:void 0}function u(t,e,i=!0){if(!t)return;const o=(0,s.Kg)(t)?{value:t}:t;if((0,s.Kg)(o.value))return p(o.value,e,i);if((0,s.cy)(o.value))return u({value:(0,n.Vh)(o.value,e,i)});for(const[,t]of c){const e=t.handleRangeColor(o);if(e)return e}}function p(t,e,i=!0){if(!t)return;const o=(0,s.Kg)(t)?{value:t}:t;if((0,s.Kg)(o.value))return o.value===r?x():g(o.value);if((0,s.cy)(o.value))return p({value:(0,n.Vh)(o.value,e,i)});for(const[,t]of c){const e=t.handleColor(o);if(e)return e}}function v(t,e,i=!0){const o=p(t,e,i);return o?m(o):void 0}function f(t,e,i=!0){const o=u(t,e,i);return o?m(o):void 0}function m(t){const e=t.r/255,i=t.g/255,o=t.b/255,s=Math.max(e,i,o),a=Math.min(e,i,o),n={h:0,l:.5*(s+a),s:0};return s!==a&&(n.s=n.l<.5?(s-a)/(s+a):(s-a)/(2-s-a),n.h=e===s?(i-o)/(s-a):n.h=i===s?2+(o-e)/(s-a):4+(e-i)/(s-a)),n.l*=100,n.s*=100,n.h*=60,n.h<0&&(n.h+=360),n.h>=360&&(n.h-=360),n}function y(t){return h(t)?.a}function g(t){return h(t)}function b(t){const e=360,i=(t.h%e+e)%e,o=Math.max(0,Math.min(100,t.s)),s=i/e,a=o/100,n=Math.max(0,Math.min(100,t.l))/100,r=255;if(0===o){const t=Math.round(n*r);return{r:t,g:t,b:t}}const l=(t,e,i)=>{if(i<0&&i++,i>1&&i--,6*i<1)return t+6*(e-t)*i;if(2*i<1)return e;if(3*i<2){return t+(e-t)*(2/3-i)*6}return t},c=n<.5?n*(1+a):n+a-n*a,d=2*n-c,h=1/3,u=Math.min(r,r*l(d,c,s+h)),p=Math.min(r,r*l(d,c,s)),v=Math.min(r,r*l(d,c,s-h));return{r:Math.round(u),g:Math.round(p),b:Math.round(v)}}function w(t){const e=b(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}function x(t){const e=t??0;return{b:Math.floor((0,o.U4)((0,o.DT)(e,256))),g:Math.floor((0,o.U4)((0,o.DT)(e,256))),r:Math.floor((0,o.U4)((0,o.DT)(e,256)))}}function M(t,e){return`rgba(${t.r}, ${t.g}, ${t.b}, ${e??1})`}function z(t,e){return`hsla(${t.h}, ${t.s}%, ${t.l}%, ${e??1})`}function O(t,e,i,s){let a=t,n=e;return void 0===a.r&&(a=b(t)),void 0===n.r&&(n=b(e)),{b:(0,o.jh)(a.b,n.b,i,s),g:(0,o.jh)(a.g,n.g,i,s),r:(0,o.jh)(a.r,n.r,i,s)}}function P(t,e,i){if(i===r)return x();if(i!==l)return i;{const i=t.getFillColor()??t.getStrokeColor(),o=e?.getFillColor()??e?.getStrokeColor();if(i&&o&&e)return O(i,o,t.getRadius(),e.getRadius());{const t=i??o;if(t)return b(t)}}}function S(t,e,i){const o=(0,s.Kg)(t)?t:t.value;return o===r?i?u({value:o}):e?r:l:o===l?l:u({value:o})}function T(t){return void 0!==t?{h:t.h.value,s:t.s.value,l:t.l.value}:void 0}function E(t,e,i){const o={h:{enable:!1,value:t.h},s:{enable:!1,value:t.s},l:{enable:!1,value:t.l}};return e&&(k(o.h,e.h,i),k(o.s,e.s,i),k(o.l,e.l,i)),o}function k(t,e,i){t.enable=e.enable;t.enable?(t.velocity=(0,o.VG)(e.speed)/a.a5*i,t.decay=1-(0,o.VG)(e.decay),t.status="increasing",t.loops=0,t.maxLoops=(0,o.VG)(e.count),t.time=0,t.delayTime=(0,o.VG)(e.delay)*a.Xu,e.sync||(t.velocity*=(0,o.G0)(),t.value*=(0,o.G0)()),t.initialValue=t.value,t.offset=(0,o.DT)(e.offset)):t.velocity=0}function V(t,e,i,s){if(!t||!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;if(t.time||(t.time=0),(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=s.value),(t.delayTime??0)>0&&t.time<(t.delayTime??0))return;const a=t.offset?(0,o.U4)(t.offset):0,n=(t.velocity??0)*s.factor+3.6*a,r=t.decay??1,l=(0,o.W9)(e),c=(0,o.Sg)(e);if(i&&"increasing"!==t.status){t.value-=n;const e=0;t.value<e&&(t.loops||(t.loops=0),t.loops++,t.status="increasing")}else t.value+=n,t.value>l&&(t.loops||(t.loops=0),t.loops++,i?t.status="decreasing":t.value-=l);t.velocity&&1!==r&&(t.velocity*=r),t.value=(0,o.qE)(t.value,c,l)}function R(t,e){if(!t)return;const{h:i,s:o,l:s}=t,a={min:0,max:100},n={min:0,max:100};i&&V(i,{min:0,max:360},!1,e),o&&V(o,a,!0,e),s&&V(s,n,!0,e)}},2646:(t,e,i)=>{i.d(e,{$m:()=>O,DT:()=>b,G0:()=>u,JY:()=>z,M3:()=>R,Mh:()=>T,Nx:()=>k,OE:()=>h,OW:()=>P,Sg:()=>y,U4:()=>f,VG:()=>m,W9:()=>g,Yf:()=>x,eh:()=>S,il:()=>d,jh:()=>v,l1:()=>E,nL:()=>c,pu:()=>M,qE:()=>p,qM:()=>V,vr:()=>w});var o=i(4798),s=i(2457),a=i(751);let n=Math.random;const r=new Map,l=2*Math.PI;function c(t,e){r.get(t)||r.set(t,e)}function d(t){return r.get(t)??(t=>t)}function h(t=Math.random){n=t}function u(){return p(n(),0,1-Number.EPSILON)}function p(t,e,i){return Math.min(Math.max(t,e),i)}function v(t,e,i,o){return Math.floor((t*i+e*o)/(i+o))}function f(t){const e=g(t);let i=y(t);return e===i&&(i=0),u()*(e-i)+i}function m(t){return(0,s.Et)(t)?t:f(t)}function y(t){return(0,s.Et)(t)?t:t.min}function g(t){return(0,s.Et)(t)?t:t.max}function b(t,e){if(t===e||void 0===e&&(0,s.Et)(t))return t;const i=y(t),o=g(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(o,e)}:b(i,o)}function w(t,e){const i=t.x-e.x,o=t.y-e.y;return{dx:i,dy:o,distance:Math.sqrt(i**2+o**2)}}function x(t,e){return w(t,e).distance}function M(t){return t*Math.PI/180}function z(t,e,i){if((0,s.Et)(t))return M(t);const o=.25;switch(t){case"top":return.5*-Math.PI;case"top-right":return-Math.PI*o;case"right":return 0;case"bottom-right":return Math.PI*o;case"bottom":return.5*Math.PI;case"bottom-left":return.75*Math.PI;case"left":return Math.PI;case"top-left":return.75*-Math.PI;case"inside":return Math.atan2(i.y-e.y,i.x-e.x);case"outside":return Math.atan2(e.y-i.y,e.x-i.x);default:return u()*l}}function O(t){const e=o.M.origin;return e.length=1,e.angle=t,e}function P(t,e,i,s){return o.M.create(t.x*(i-s)/(i+s)+2*e.x*s/(i+s),t.y)}function S(t){return void 0!==t.position?.x&&void 0!==t.position.y?{x:t.position.x*t.size.width/a.a5,y:t.position.y*t.size.height/a.a5}:void 0}function T(t){return{x:(t.position?.x??u()*a.a5)*t.size.width/a.a5,y:(t.position?.y??u()*a.a5)*t.size.height/a.a5}}function E(t){const e={x:void 0!==t.position?.x?m(t.position.x):void 0,y:void 0!==t.position?.y?m(t.position.y):void 0};return T({size:t.size,position:e})}function k(t){return{x:t.position?.x??u()*t.size.width,y:t.position?.y??u()*t.size.height}}function V(t){const e={x:void 0!==t.position?.x?m(t.position.x):void 0,y:void 0!==t.position?.y?m(t.position.y):void 0};return k({size:t.size,position:e})}function R(t){return t?t.endsWith("%")?parseFloat(t)/a.a5:parseFloat(t):1}},8761:(t,e,i)=>{i.d(e,{Z:()=>s,y:()=>a});var o=i(9944);function s(t,...e){for(const i of e)t.load(i)}function a(t,e,...i){const a=new o.U(t,e);return s(a,...i),a}},2457:(t,e,i)=>{function o(t){return"boolean"==typeof t}function s(t){return"string"==typeof t}function a(t){return"number"==typeof t}function n(t){return"function"==typeof t}function r(t){return"object"==typeof t&&null!==t}function l(t){return Array.isArray(t)}i.d(e,{Et:()=>a,Gv:()=>r,Kg:()=>s,Lm:()=>o,Tn:()=>n,cy:()=>l})},3393:(t,e,i)=>{i.d(e,{AE:()=>M,Al:()=>y,B9:()=>h,BR:()=>v,Br:()=>l,E9:()=>G,NV:()=>T,O2:()=>x,S7:()=>S,TA:()=>_,Tg:()=>E,Tj:()=>w,U6:()=>P,UC:()=>L,Vh:()=>b,Xs:()=>A,YC:()=>C,hn:()=>m,iK:()=>O,jo:()=>V,lV:()=>p,n0:()=>g,pE:()=>k,q8:()=>u,tG:()=>f,tZ:()=>c,w3:()=>D,wJ:()=>R,zw:()=>z});var o=i(2646),s=i(751),a=i(2457),n=i(4798);const r={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function l(t){r.debug=t.debug||r.debug,r.error=t.error||r.error,r.info=t.info||r.info,r.log=t.log||r.log,r.verbose=t.verbose||r.verbose,r.warning=t.warning||r.warning}function c(){return r}function d(t){const e={bounced:!1},{pSide:i,pOtherSide:o,rectSide:s,rectOtherSide:a,velocity:n,factor:r}=t;return o.min<a.min||o.min>a.max||o.max<a.min||o.max>a.max||(i.max>=s.min&&i.max<=.5*(s.max+s.min)&&n>0||i.min<=s.max&&i.min>.5*(s.max+s.min)&&n<0)&&(e.velocity=n*-r,e.bounced=!0),e}function h(){return"undefined"==typeof window||!window||void 0===window.document||!window.document}function u(){return!h()&&"undefined"!=typeof matchMedia}function p(t){if(u())return matchMedia(t)}function v(t){if(!h()&&"undefined"!=typeof IntersectionObserver)return new IntersectionObserver(t)}function f(t){if(!h()&&"undefined"!=typeof MutationObserver)return new MutationObserver(t)}function m(t,e){return t===e||(0,a.cy)(e)&&e.indexOf(t)>-1}async function y(t,e){try{await document.fonts.load(`${e??"400"} 36px '${t??"Verdana"}'`)}catch{}}function g(t){return Math.floor((0,o.G0)()*t.length)}function b(t,e,i=!0){return t[void 0!==e&&i?e%t.length:g(t)]}function w(t,e,i,o,s){return x(M(t,o??0),e,i,s)}function x(t,e,i,o){let s=!0;return o&&"bottom"!==o||(s=t.top<e.height+i.x),!s||o&&"left"!==o||(s=t.right>i.x),!s||o&&"right"!==o||(s=t.left<e.width+i.y),!s||o&&"top"!==o||(s=t.bottom>i.y),s}function M(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function z(t,...e){for(const i of e){if(null==i)continue;if(!(0,a.Gv)(i)){t=i;continue}const e=Array.isArray(i);!e||!(0,a.Gv)(t)&&t&&Array.isArray(t)?e||!(0,a.Gv)(t)&&t&&!Array.isArray(t)||(t={}):t=[];for(const e in i){if("__proto__"===e)continue;const o=i[e],s=t;s[e]=(0,a.Gv)(o)&&Array.isArray(o)?o.map((t=>z(s[e],t))):z(s[e],o)}}return t}function O(t,e){return!!D(e,(e=>e.enable&&m(t,e.mode)))}function P(t,e,i){R(e,(e=>{const o=e.mode;e.enable&&m(t,o)&&S(e,i)}))}function S(t,e){R(t.selectors,(i=>{e(i,t)}))}function T(t,e){if(e&&t)return D(t,(t=>function(t,e){const i=R(e,(e=>t.matches(e)));return(0,a.cy)(i)?i.some((t=>t)):i}(e,t.selectors)))}function E(t){return{position:t.getPosition(),radius:t.getRadius(),mass:t.getMass(),velocity:t.velocity,factor:n.M.create((0,o.VG)(t.options.bounce.horizontal.value),(0,o.VG)(t.options.bounce.vertical.value))}}function k(t,e){const{x:i,y:s}=t.velocity.sub(e.velocity),[a,n]=[t.position,e.position],{dx:r,dy:l}=(0,o.vr)(n,a);if(i*r+s*l<0)return;const c=-Math.atan2(l,r),d=t.mass,h=e.mass,u=t.velocity.rotate(c),p=e.velocity.rotate(c),v=(0,o.OW)(u,p,d,h),f=(0,o.OW)(p,u,d,h),m=v.rotate(-c),y=f.rotate(-c);t.velocity.x=m.x*t.factor.x,t.velocity.y=m.y*t.factor.y,e.velocity.x=y.x*e.factor.x,e.velocity.y=y.y*e.factor.y}function V(t,e){const i=M(t.getPosition(),t.getRadius()),s=t.options.bounce,a=d({pSide:{min:i.left,max:i.right},pOtherSide:{min:i.top,max:i.bottom},rectSide:{min:e.left,max:e.right},rectOtherSide:{min:e.top,max:e.bottom},velocity:t.velocity.x,factor:(0,o.VG)(s.horizontal.value)});a.bounced&&(void 0!==a.velocity&&(t.velocity.x=a.velocity),void 0!==a.position&&(t.position.x=a.position));const n=d({pSide:{min:i.top,max:i.bottom},pOtherSide:{min:i.left,max:i.right},rectSide:{min:e.top,max:e.bottom},rectOtherSide:{min:e.left,max:e.right},velocity:t.velocity.y,factor:(0,o.VG)(s.vertical.value)});n.bounced&&(void 0!==n.velocity&&(t.velocity.y=n.velocity),void 0!==n.position&&(t.position.y=n.position))}function R(t,e){return(0,a.cy)(t)?t.map(((t,i)=>e(t,i))):e(t,0)}function _(t,e,i){return(0,a.cy)(t)?b(t,e,i):t}function D(t,e){if((0,a.cy)(t))return t.find(((t,i)=>e(t,i)));return e(t,0)?t:void 0}function A(t,e){const i=t.value,a=t.animation,n={delayTime:(0,o.VG)(a.delay)*s.Xu,enable:a.enable,value:(0,o.VG)(t.value)*e,max:(0,o.W9)(i)*e,min:(0,o.Sg)(i)*e,loops:0,maxLoops:(0,o.VG)(a.count),time:0};if(a.enable){switch(n.decay=1-(0,o.VG)(a.decay),a.mode){case"increase":n.status="increasing";break;case"decrease":n.status="decreasing";break;case"random":n.status=(0,o.G0)()>=s.N3?"increasing":"decreasing"}const t="auto"===a.mode;switch(a.startValue){case"min":n.value=n.min,t&&(n.status="increasing");break;case"max":n.value=n.max,t&&(n.status="decreasing");break;default:n.value=(0,o.U4)(n),t&&(n.status=(0,o.G0)()>=s.N3?"increasing":"decreasing")}}return n.initialValue=n.value,n}function I(t,e){if(!("percent"===t.mode)){const{mode:e,...i}=t;return i}return"x"in t?{x:t.x/s.a5*e.width,y:t.y/s.a5*e.height}:{width:t.width/s.a5*e.width,height:t.height/s.a5*e.height}}function G(t,e){return I(t,e)}function C(t,e){return I(t,e)}function L(t,e,i,s,a){if(t.destroyed||!e||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;const n=(e.velocity??0)*a.factor,r=e.min,l=e.max,c=e.decay??1;if(e.time||(e.time=0),(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=a.value),!((e.delayTime??0)>0&&e.time<(e.delayTime??0))){switch(e.status){case"increasing":e.value>=l?(i?e.status="decreasing":e.value-=l,e.loops||(e.loops=0),e.loops++):e.value+=n;break;case"decreasing":e.value<=r?(i?e.status="increasing":e.value+=l,e.loops||(e.loops=0),e.loops++):e.value-=n}e.velocity&&1!==c&&(e.velocity*=c),function(t,e,i,o,s){switch(e){case"max":i>=s&&t.destroy();break;case"min":i<=o&&t.destroy()}}(t,s,e.value,r,l),t.destroyed||(e.value=(0,o.qE)(e.value,r,l))}}},5540:(t,e,i)=>{i.d(e,{A9:()=>y.A,pK:()=>g.p,Jm:()=>ht.Jm,VS:()=>b.V,TH:()=>w.T,ys:()=>x.y,dg:()=>f.dg,jl:()=>f.jl,rX:()=>P.r,cV:()=>L.c,N_:()=>F.N,Fr:()=>B.F,ev:()=>M.e,GW:()=>S.G,sV:()=>T.s,sJ:()=>u,mc:()=>z.m,LO:()=>E.L,i7:()=>O.i,kG:()=>d,kf:()=>R.k,jL:()=>D.j,dX:()=>_.d,yU:()=>U.y,hz:()=>q.h,RE:()=>W.R,Zg:()=>$.Z,y1:()=>Y.y,vU:()=>J.v,OG:()=>X.O,Y4:()=>it.Y,Ih:()=>ot.I,JY:()=>A.J,Oi:()=>I.O,j$:()=>H.j,kQ:()=>k.k,wv:()=>G.w,F5:()=>C.F,M1:()=>et.M,U4:()=>p,Ne:()=>Q.N,Ad:()=>tt.A,UO:()=>j.U,bR:()=>v.b,Q4:()=>g.Q,AI:()=>ht.AI,M_:()=>f.M_,z0:()=>V.z,Ft:()=>lt.F,OT:()=>h,Vo:()=>K.V,yp:()=>st.y,or:()=>at.o,qv:()=>nt.q,tK:()=>Z.t,tc:()=>N.t,Sx:()=>ct.S,fK:()=>dt.f,PV:()=>ht.PV,Mi:()=>m.M,pG:()=>m.p,Py:()=>rt.P,a9:()=>c.a9,nL:()=>n.nL,yx:()=>ut.yx,O2:()=>s.O2,n0:()=>s.n0,Nx:()=>n.Nx,qM:()=>n.qM,eh:()=>n.eh,Mh:()=>n.Mh,l1:()=>n.l1,AE:()=>s.AE,pE:()=>s.pE,Tg:()=>s.Tg,qE:()=>n.qE,IU:()=>ut.IU,OW:()=>n.OW,EY:()=>c.EY,mK:()=>c.mK,qe:()=>c.qe,zw:()=>s.zw,pu:()=>n.pu,NV:()=>s.NV,U6:()=>s.U6,QC:()=>ut.QC,V6:()=>ut.V6,p0:()=>ut.p0,Wb:()=>ut.Wb,e_:()=>ut.e_,KG:()=>ut.KG,gF:()=>ut.gF,dI:()=>o.dI,wJ:()=>s.wJ,w3:()=>s.w3,eb:()=>o.eb,Yf:()=>n.Yf,vr:()=>n.vr,il:()=>n.il,pz:()=>c.pz,O_:()=>c.O_,_h:()=>c._h,PG:()=>c.PG,tZ:()=>s.tZ,$m:()=>n.$m,ak:()=>n.JY,E9:()=>s.E9,G0:()=>n.G0,OH:()=>c.OH,W9:()=>n.W9,Sg:()=>n.Sg,VG:()=>n.VG,YC:()=>s.YC,LC:()=>c.LC,xx:()=>c.xx,N3:()=>o.N3,q8:()=>s.q8,YL:()=>c.YL,ay:()=>c.ay,Xs:()=>s.Xs,cy:()=>vt.cy,Lm:()=>vt.Lm,iK:()=>s.iK,Tn:()=>vt.Tn,hn:()=>s.hn,Et:()=>vt.Et,Gv:()=>vt.Gv,Tj:()=>s.Tj,B9:()=>s.B9,Kg:()=>vt.Kg,Vh:()=>s.Vh,TA:()=>s.TA,Al:()=>s.Al,ZG:()=>pt.Z,yV:()=>pt.y,Xu:()=>o.Xu,jh:()=>n.jh,ms:()=>o.ms,Z0:()=>o.Z0,Rb:()=>o.Rb,sf:()=>o.sf,vo:()=>o.vo,Sn:()=>ut.Sn,Md:()=>ut.Md,M3:()=>n.M3,a5:()=>o.a5,BH:()=>n.U4,R5:()=>c.R5,BN:()=>c.BN,jo:()=>s.jo,NF:()=>o.NF,K6:()=>c.K6,BR:()=>s.BR,lV:()=>s.lV,tG:()=>s.tG,Br:()=>s.Br,OE:()=>n.OE,DT:()=>n.DT,S7:()=>s.S7,zI:()=>c.zI,eg:()=>c.eg,G3:()=>o.G3,Bp:()=>o.Bp,DG:()=>o.DG,s7:()=>o.s7,$k:()=>ft,UC:()=>s.UC,Jv:()=>c.Jv,Ko:()=>c.Ko,nK:()=>o.nK});var o=i(751),s=i(3393);class a{constructor(){this._listeners=new Map}addEventListener(t,e){this.removeEventListener(t,e);let i=this._listeners.get(t);i||(i=[],this._listeners.set(t,i)),i.push(e)}dispatchEvent(t,e){const i=this._listeners.get(t);i?.forEach((t=>t(e)))}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,e){const i=this._listeners.get(t);if(!i)return;const o=i.length,s=i.indexOf(e);if(s<0)return;1===o?this._listeners.delete(t):i.splice(s,1)}}var n=i(2646);async function r(t,e,i,o=!1){let s=e.get(t);return s&&!o||(s=await Promise.all([...i.values()].map((e=>e(t)))),e.set(t,s)),s}class l{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new a,this._initialized=!1,this.plugins=[],this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.pathGenerators=new Map}get configs(){const t={};for(const[e,i]of this._configs)t[e]=i;return t}get version(){return"3.3.0"}addConfig(t){const e=t.key??t.name??"default";this._configs.set(e,t),this._eventDispatcher.dispatchEvent("configAdded",{data:{name:e,config:t}})}async addEffect(t,e,i=!0){(0,s.wJ)(t,(t=>{this.getEffectDrawer(t)||this.effectDrawers.set(t,e)})),await this.refresh(i)}addEventListener(t,e){this._eventDispatcher.addEventListener(t,e)}async addInteractor(t,e,i=!0){this._initializers.interactors.set(t,e),await this.refresh(i)}async addMover(t,e,i=!0){this._initializers.movers.set(t,e),await this.refresh(i)}async addParticleUpdater(t,e,i=!0){this._initializers.updaters.set(t,e),await this.refresh(i)}async addPathGenerator(t,e,i=!0){this.getPathGenerator(t)||this.pathGenerators.set(t,e),await this.refresh(i)}async addPlugin(t,e=!0){this.getPlugin(t.id)||this.plugins.push(t),await this.refresh(e)}async addPreset(t,e,i=!1,o=!0){!i&&this.getPreset(t)||this.presets.set(t,e),await this.refresh(o)}async addShape(t,e,i=!0){(0,s.wJ)(t,(t=>{this.getShapeDrawer(t)||this.shapeDrawers.set(t,e)})),await this.refresh(i)}clearPlugins(t){this.updaters.delete(t),this.movers.delete(t),this.interactors.delete(t)}dispatchEvent(t,e){this._eventDispatcher.dispatchEvent(t,e)}dom(){return this._domArray}domItem(t){const e=this.dom(),i=e[t];if(i&&!i.destroyed)return i;{const i=1;e.splice(t,i)}}async getAvailablePlugins(t){const e=new Map;for(const i of this.plugins)i.needsPlugin(t.actualOptions)&&e.set(i.id,await i.getPlugin(t));return e}getEffectDrawer(t){return this.effectDrawers.get(t)}async getInteractors(t,e=!1){return await r(t,this.interactors,this._initializers.interactors,e)}async getMovers(t,e=!1){return await r(t,this.movers,this._initializers.movers,e)}getPathGenerator(t){return this.pathGenerators.get(t)}getPlugin(t){return this.plugins.find((e=>e.id===t))}getPreset(t){return this.presets.get(t)}getShapeDrawer(t){return this.shapeDrawers.get(t)}getSupportedEffects(){return this.effectDrawers.keys()}getSupportedShapes(){return this.shapeDrawers.keys()}async getUpdaters(t,e=!1){return await r(t,this.updaters,this._initializers.updaters,e)}init(){this._initialized||(this._initialized=!0)}async load(t){const e=t.id??t.element?.id??`tsparticles${Math.floor(1e4*(0,n.G0)())}`,{index:a,url:r}=t,l=r?await async function(t){const e=(0,s.TA)(t.url,t.index);if(!e)return t.fallback;const i=await fetch(e);return i.ok?await i.json():((0,s.tZ)().error(`${o.dI} ${i.status} while retrieving config file`),t.fallback)}({fallback:t.options,url:r,index:a}):t.options;let c=t.element??document.getElementById(e);c||(c=document.createElement("div"),c.id=e,document.body.append(c));const d=(0,s.TA)(l,a),h=this.dom(),u=h.findIndex((t=>t.id.description===e));if(u>=0){const t=this.domItem(u);if(t&&!t.destroyed){t.destroy();const e=1;h.splice(u,e)}}let p;if("canvas"===c.tagName.toLowerCase())p=c,p.dataset[o.eb]="false";else{const t=c.getElementsByTagName("canvas");if(t.length){p=t[0],p.dataset[o.eb]="false"}else p=document.createElement("canvas"),p.dataset[o.eb]="true",c.appendChild(p)}p.style.width||(p.style.width="100%"),p.style.height||(p.style.height="100%");const{Container:v}=await i.e(2043).then(i.bind(i,2043)),f=new v(this,e,d);if(u>=0){const t=0;h.splice(u,t,f)}else h.push(f);return f.canvas.loadCanvas(p),await f.start(),f}loadOptions(t,e){for(const i of this.plugins)i.loadOptions(t,e)}loadParticlesOptions(t,e,...i){const o=this.updaters.get(t);if(o)for(const t of o)t.loadOptions?.(e,...i)}async refresh(t=!0){t&&await Promise.all(this.dom().map((t=>t.refresh())))}removeEventListener(t,e){this._eventDispatcher.removeEventListener(t,e)}setOnClickHandler(t){const e=this.dom();if(!e.length)throw new Error(`${o.dI} can only set click handlers after calling tsParticles.load()`);for(const i of e)i.addClickHandler(t)}}var c=i(7422);class d{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(t){const e=t.value.hsl??t.value;if(void 0!==e.h&&void 0!==e.s&&void 0!==e.l)return(0,c.YL)(e)}handleRangeColor(t){const e=t.value.hsl??t.value;if(void 0!==e.h&&void 0!==e.l)return(0,c.YL)({h:(0,n.VG)(e.h),l:(0,n.VG)(e.l),s:(0,n.VG)(e.s)})}parseString(t){if(!t.startsWith("hsl"))return;const e=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.%]+)\s*)?\)/i.exec(t);return e?(0,c.ay)({a:e.length>4?(0,n.M3)(e[5]):1,h:parseInt(e[1],10),l:parseInt(e[3],10),s:parseInt(e[2],10)}):void 0}}class h{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(t){const e=t.value.rgb??t.value;if(void 0!==e.r)return e}handleRangeColor(t){const e=t.value.rgb??t.value;if(void 0!==e.r)return{r:(0,n.VG)(e.r),g:(0,n.VG)(e.g),b:(0,n.VG)(e.b)}}parseString(t){if(!t.startsWith(this.stringPrefix))return;const e=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.%]+)\s*)?\)/i.exec(t);return e?{a:e.length>4?(0,n.M3)(e[5]):1,b:parseInt(e[3],10),g:parseInt(e[2],10),r:parseInt(e[1],10)}:void 0}}class u{constructor(t){this.type="external",this.container=t}}class p{constructor(t){this.type="particles",this.container=t}}var v=i(2284),f=i(694),m=i(4798),y=i(2655),g=i(9190),b=i(1897),w=i(3829),x=i(490),M=i(6865),z=i(9943),O=i(1657),P=i(2562),S=i(5907),T=i(7023),E=i(1864),k=i(1753),V=i(3492),R=i(7287),_=i(699),D=i(9638),A=i(4126),I=i(6719),G=i(1494),C=i(8745),L=i(4907),F=i(8362),B=i(108),j=i(9944),K=i(286),N=i(1754),W=i(9326),U=i(7299),q=i(2748),$=i(2662),Y=i(1917),H=i(9978),J=i(4802),Z=i(5794),X=i(5271),Q=i(3730),tt=i(6407),et=i(6207),it=i(6659),ot=i(9245),st=i(47),at=i(6955),nt=i(7685),rt=i(9725),lt=i(376),ct=i(3863),dt=i(9262),ht=i(2034),ut=i(1813),pt=i(8761),vt=i(2457);const ft=function(){const t=new h,e=new d;(0,c.a9)(t),(0,c.a9)(e);const i=new l;return i.init(),i}();(0,s.B9)()||(window.tsParticles=ft)}},o={};function s(t){var e=o[t];if(void 0!==e)return e.exports;var a=o[t]={exports:{}};return i[t](a,a.exports,s),a.exports}s.m=i,s.d=(t,e)=>{for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.f={},s.e=t=>Promise.all(Object.keys(s.f).reduce(((e,i)=>(s.f[i](t,e),e)),[])),s.u=t=>t+".min.js",s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="@tsparticles/confetti:",s.l=(i,o,a,n)=>{if(t[i])t[i].push(o);else{var r,l;if(void 0!==a)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var h=c[d];if(h.getAttribute("src")==i||h.getAttribute("data-webpack")==e+a){r=h;break}}r||(l=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,s.nc&&r.setAttribute("nonce",s.nc),r.setAttribute("data-webpack",e+a),r.src=i),t[i]=[o];var u=(e,o)=>{r.onerror=r.onload=null,clearTimeout(p);var s=t[i];if(delete t[i],r.parentNode&&r.parentNode.removeChild(r),s&&s.forEach((t=>t(o))),e)return e(o)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),l&&document.head.appendChild(r)}},s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;s.g.importScripts&&(t=s.g.location+"");var e=s.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var i=e.getElementsByTagName("script");if(i.length)for(var o=i.length-1;o>-1&&(!t||!/^http(s?):/.test(t));)t=i[o--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=t})(),(()=>{var t={1483:0};s.f.j=(e,i)=>{var o=s.o(t,e)?t[e]:void 0;if(0!==o)if(o)i.push(o[2]);else{var a=new Promise(((i,s)=>o=t[e]=[i,s]));i.push(o[2]=a);var n=s.p+s.u(e),r=new Error;s.l(n,(i=>{if(s.o(t,e)&&(0!==(o=t[e])&&(t[e]=void 0),o)){var a=i&&("load"===i.type?"missing":i.type),n=i&&i.target&&i.target.src;r.message="Loading chunk "+e+" failed.\n("+a+": "+n+")",r.name="ChunkLoadError",r.type=a,r.request=n,o[1](r)}}),"chunk-"+e,e)}};var e=(e,i)=>{var o,a,n=i[0],r=i[1],l=i[2],c=0;if(n.some((e=>0!==t[e]))){for(o in r)s.o(r,o)&&(s.m[o]=r[o]);if(l)l(s)}for(e&&e(i);c<n.length;c++)a=n[c],s.o(t,a)&&t[a]&&t[a][0](),t[a]=0},i=this.webpackChunk_tsparticles_confetti=this.webpackChunk_tsparticles_confetti||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var a={};return(()=>{s.r(a),s.d(a,{AnimatableColor:()=>t.A9,AnimationOptions:()=>t.pK,AnimationValueWithRandom:()=>t.Jm,Background:()=>t.VS,BackgroundMask:()=>t.TH,BackgroundMaskCover:()=>t.ys,BaseRange:()=>t.dg,Circle:()=>t.jl,ClickEvent:()=>t.rX,Collisions:()=>t.cV,CollisionsAbsorb:()=>t.N_,CollisionsOverlap:()=>t.Fr,ColorAnimation:()=>t.ev,DivEvent:()=>t.GW,Events:()=>t.sV,ExternalInteractorBase:()=>t.sJ,FullScreen:()=>t.mc,HoverEvent:()=>t.LO,HslAnimation:()=>t.i7,HslColorManager:()=>t.kG,Interactivity:()=>t.kf,ManualParticle:()=>t.jL,Modes:()=>t.dX,Move:()=>t.yU,MoveAngle:()=>t.hz,MoveAttract:()=>t.RE,MoveCenter:()=>t.Zg,MoveGravity:()=>t.y1,MovePath:()=>t.vU,MoveTrail:()=>t.OG,Opacity:()=>t.Y4,OpacityAnimation:()=>t.Ih,Options:()=>t.JY,OptionsColor:()=>t.Oi,OutModes:()=>t.j$,Parallax:()=>t.kQ,ParticlesBounce:()=>t.wv,ParticlesBounceFactor:()=>t.F5,ParticlesDensity:()=>t.M1,ParticlesInteractorBase:()=>t.U4,ParticlesNumber:()=>t.Ne,ParticlesNumberLimit:()=>t.Ad,ParticlesOptions:()=>t.UO,Point:()=>t.bR,RangedAnimationOptions:()=>t.Q4,RangedAnimationValueWithRandom:()=>t.AI,Rectangle:()=>t.M_,ResizeEvent:()=>t.z0,Responsive:()=>t.Ft,RgbColorManager:()=>t.OT,Shadow:()=>t.Vo,Shape:()=>t.yp,Size:()=>t.or,SizeAnimation:()=>t.qv,Spin:()=>t.tK,Stroke:()=>t.tc,Theme:()=>t.Sx,ThemeDefault:()=>t.fK,ValueWithRandom:()=>t.PV,Vector:()=>t.Mi,Vector3d:()=>t.pG,ZIndex:()=>t.Py,addColorManager:()=>t.a9,addEasing:()=>t.nL,alterHsl:()=>t.yx,areBoundsInside:()=>t.O2,arrayRandomIndex:()=>t.n0,calcExactPositionOrRandomFromSize:()=>t.Nx,calcExactPositionOrRandomFromSizeRanged:()=>t.qM,calcPositionFromSize:()=>t.eh,calcPositionOrRandomFromSize:()=>t.Mh,calcPositionOrRandomFromSizeRanged:()=>t.l1,calculateBounds:()=>t.AE,circleBounce:()=>t.pE,circleBounceDataFromParticle:()=>t.Tg,clamp:()=>t.qE,clear:()=>t.IU,collisionVelocity:()=>t.OW,colorMix:()=>t.EY,colorToHsl:()=>t.mK,colorToRgb:()=>t.qe,confetti:()=>f,deepExtend:()=>t.zw,degToRad:()=>t.pu,divMode:()=>t.NV,divModeExecute:()=>t.U6,drawEffect:()=>t.QC,drawLine:()=>t.V6,drawParticle:()=>t.p0,drawParticlePlugin:()=>t.Wb,drawPlugin:()=>t.e_,drawShape:()=>t.KG,drawShapeAfterDraw:()=>t.gF,errorPrefix:()=>t.dI,executeOnSingleOrMultiple:()=>t.wJ,findItemFromSingleOrMultiple:()=>t.w3,generatedAttribute:()=>t.eb,getDistance:()=>t.Yf,getDistances:()=>t.vr,getEasing:()=>t.il,getHslAnimationFromHsl:()=>t.pz,getHslFromAnimation:()=>t.O_,getLinkColor:()=>t._h,getLinkRandomColor:()=>t.PG,getLogger:()=>t.tZ,getParticleBaseVelocity:()=>t.$m,getParticleDirectionAngle:()=>t.ak,getPosition:()=>t.E9,getRandom:()=>t.G0,getRandomRgbColor:()=>t.OH,getRangeMax:()=>t.W9,getRangeMin:()=>t.Sg,getRangeValue:()=>t.VG,getSize:()=>t.YC,getStyleFromHsl:()=>t.LC,getStyleFromRgb:()=>t.xx,halfRandom:()=>t.N3,hasMatchMedia:()=>t.q8,hslToRgb:()=>t.YL,hslaToRgba:()=>t.ay,initParticleNumericAnimationValue:()=>t.Xs,isArray:()=>t.cy,isBoolean:()=>t.Lm,isDivModeEnabled:()=>t.iK,isFunction:()=>t.Tn,isInArray:()=>t.hn,isNumber:()=>t.Et,isObject:()=>t.Gv,isPointInside:()=>t.Tj,isSsr:()=>t.B9,isString:()=>t.Kg,itemFromArray:()=>t.Vh,itemFromSingleOrMultiple:()=>t.TA,loadFont:()=>t.Al,loadOptions:()=>t.ZG,loadParticlesOptions:()=>t.yV,millisecondsToSeconds:()=>t.Xu,mix:()=>t.jh,mouseDownEvent:()=>t.ms,mouseLeaveEvent:()=>t.Z0,mouseMoveEvent:()=>t.Rb,mouseOutEvent:()=>t.sf,mouseUpEvent:()=>t.vo,paintBase:()=>t.Sn,paintImage:()=>t.Md,parseAlpha:()=>t.M3,percentDenominator:()=>t.a5,randomInRange:()=>t.BH,rangeColorToHsl:()=>t.R5,rangeColorToRgb:()=>t.BN,rectBounce:()=>t.jo,resizeEvent:()=>t.NF,rgbToHsl:()=>t.K6,safeIntersectionObserver:()=>t.BR,safeMatchMedia:()=>t.lV,safeMutationObserver:()=>t.tG,setLogger:()=>t.Br,setRandom:()=>t.OE,setRangeValue:()=>t.DT,singleDivModeExecute:()=>t.S7,stringToAlpha:()=>t.zI,stringToRgb:()=>t.eg,touchCancelEvent:()=>t.G3,touchEndEvent:()=>t.Bp,touchMoveEvent:()=>t.DG,touchStartEvent:()=>t.s7,tsParticles:()=>t.$k,updateAnimation:()=>t.UC,updateColor:()=>t.Jv,updateColorValue:()=>t.Ko,visibilityChangeEvent:()=>t.nK});var t=s(5540);class e{constructor(){this.angle=90,this.count=50,this.spread=45,this.startVelocity=45,this.decay=.9,this.gravity=1,this.drift=0,this.ticks=200,this.position={x:50,y:50},this.colors=["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],this.shapes=["square","circle"],this.scalar=1,this.zIndex=100,this.disableForReducedMotion=!0,this.flat=!1,this.shapeOptions={}}get origin(){return{x:this.position.x/t.a5,y:this.position.y/t.a5}}set origin(e){this.position.x=e.x*t.a5,this.position.y=e.y*t.a5}get particleCount(){return this.count}set particleCount(t){this.count=t}load(e){if(!e)return;void 0!==e.angle&&(this.angle=e.angle);const i=e.count??e.particleCount;void 0!==i&&(this.count=i),void 0!==e.spread&&(this.spread=e.spread),void 0!==e.startVelocity&&(this.startVelocity=e.startVelocity),void 0!==e.decay&&(this.decay=e.decay),void 0!==e.flat&&(this.flat=e.flat),void 0!==e.gravity&&(this.gravity=e.gravity),void 0!==e.drift&&(this.drift=e.drift),void 0!==e.ticks&&(this.ticks=e.ticks);const o=e.origin;o&&!e.position&&(e.position={x:void 0!==o.x?o.x*t.a5:void 0,y:void 0!==o.y?o.y*t.a5:void 0});const s=e.position;s&&(void 0!==s.x&&(this.position.x=s.x),void 0!==s.y&&(this.position.y=s.y)),void 0!==e.colors&&((0,t.cy)(e.colors)?this.colors=[...e.colors]:this.colors=e.colors);const a=e.shapeOptions;if(void 0!==a)for(const e in a){const i=a[e];i&&(this.shapeOptions[e]=(0,t.zw)(this.shapeOptions[e]??{},i))}void 0!==e.shapes&&((0,t.cy)(e.shapes)?this.shapes=[...e.shapes]:this.shapes=e.shapes),void 0!==e.scalar&&(this.scalar=e.scalar),void 0!==e.zIndex&&(this.zIndex=e.zIndex),void 0!==e.disableForReducedMotion&&(this.disableForReducedMotion=e.disableForReducedMotion)}}const i=9.81,o=5,n=3,r=1,l=0,c=0;let d=!1,h=!1;const u=new Map;async function p(t){if(d)return;if(h)return new Promise((t=>{const e=setInterval((()=>{d&&(clearInterval(e),t())}),100)}));h=!0;const{loadEmittersPlugin:e}=await s.e(2370).then(s.bind(s,2370)),{loadMotionPlugin:i}=await s.e(2497).then(s.bind(s,2497)),{loadCardsShape:o}=await s.e(3622).then(s.bind(s,3622)),{loadHeartShape:a}=await s.e(439).then(s.bind(s,439)),{loadImageShape:n}=await s.e(2136).then(s.bind(s,2136)),{loadPolygonShape:r}=await s.e(705).then(s.bind(s,705)),{loadSquareShape:l}=await s.e(2284).then(s.bind(s,9903)),{loadStarShape:c}=await s.e(401).then(s.bind(s,401)),{loadEmojiShape:u}=await s.e(8125).then(s.bind(s,8125)),{loadRotateUpdater:p}=await s.e(4036).then(s.bind(s,4036)),{loadLifeUpdater:v}=await s.e(5775).then(s.bind(s,5775)),{loadRollUpdater:f}=await s.e(3632).then(s.bind(s,3632)),{loadTiltUpdater:m}=await s.e(3416).then(s.bind(s,3416)),{loadWobbleUpdater:y}=await s.e(5814).then(s.bind(s,5814)),{loadBasic:g}=await s.e(357).then(s.bind(s,357));await e(t,!1),await i(t,!1),await o(t,!1),await a(t,!1),await n(t,!1),await r(t,!1),await l(t,!1),await c(t,!1),await u(t,!1),await p(t,!1),await v(t,!1),await f(t,!1),await m(t,!1),await y(t,!1),await g(t),h=!1,d=!0}async function v(s){const a=new e;let d;a.load(s.options);const h=a.ticks*t.Xu/(3.6*t.Xu*120);if(u.has(s.id)&&(d=u.get(s.id),d&&!d.destroyed)){const t=d;if(t.addEmitter)return void await t.addEmitter({startCount:a.count,position:a.position,size:{width:0,height:0},rate:{delay:0,quantity:0},life:{duration:.1,count:1},particles:{color:{value:a.colors},shape:{type:a.shapes,options:a.shapeOptions},life:{count:1},opacity:{value:{min:0,max:1},animation:{enable:!0,sync:!0,speed:h,startValue:"max",destroy:"min"}},size:{value:o*a.scalar},move:{angle:{value:a.spread,offset:0},drift:{min:-a.drift,max:a.drift},gravity:{acceleration:a.gravity*i},speed:a.startVelocity*n,decay:r-a.decay,direction:-a.angle}}})}const p={fullScreen:{enable:!s.canvas,zIndex:a.zIndex},fpsLimit:120,particles:{number:{value:0},color:{value:a.colors},shape:{type:a.shapes,options:a.shapeOptions},opacity:{value:{min:0,max:1},animation:{enable:!0,sync:!0,speed:h,startValue:"max",destroy:"min"}},size:{value:o*a.scalar},links:{enable:!1},life:{count:1},move:{angle:{value:a.spread,offset:0},drift:{min:-a.drift,max:a.drift},enable:!0,gravity:{enable:!0,acceleration:a.gravity*i},speed:a.startVelocity*n,decay:r-a.decay,direction:-a.angle,random:!0,straight:!1,outModes:{default:"none",bottom:"destroy"}},rotate:{value:a.flat?l:{min:0,max:360},direction:"random",animation:{enable:!a.flat,speed:60}},tilt:{direction:"random",enable:!a.flat,value:a.flat?c:{min:0,max:360},animation:{enable:!0,speed:60}},roll:{darken:{enable:!0,value:25},enable:!a.flat,speed:{min:15,max:25}},wobble:{distance:30,enable:!a.flat,speed:{min:-15,max:15}}},detectRetina:!0,motion:{disable:a.disableForReducedMotion},emitters:{name:"confetti",startCount:a.count,position:a.position,size:{width:0,height:0},rate:{delay:0,quantity:0},life:{duration:.1,count:1}}};return d=await t.$k.load({id:s.id,element:s.canvas,options:p}),u.set(s.id,d),d}async function f(e,i){let o,s;return await p(t.$k),(0,t.Kg)(e)?(s=e,o=i??{}):(s="confetti",o=e),v({id:s,options:o})}f.create=async(e,i)=>{if(!e)return f;await p(t.$k);const o=e.getAttribute("id")??"confetti";return e.setAttribute("id",o),async(s,a)=>{let n,r;return(0,t.Kg)(s)?(r=s,n=a??i):(r=o,n=s),v({id:r,canvas:e,options:n})}},f.version=t.$k.version,(0,t.B9)()||(window.confetti=f)})(),a})()));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tsParticles Confetti v3.
|
|
1
|
+
/*! tsParticles Confetti v3.3.0 by Matteo Bruni */
|
package/tsparticles.confetti.js
CHANGED
|
@@ -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
|
-
* v3.
|
|
7
|
+
* v3.3.0
|
|
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
|
/*! For license information please see tsparticles.confetti.min.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/engine"),require("@tsparticles/basic"),require("@tsparticles/updater-wobble"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-roll"),require("@tsparticles/updater-life"),require("@tsparticles/updater-rotate"),require("@tsparticles/shape-emoji"),require("@tsparticles/shape-star"),require("@tsparticles/shape-square"),require("@tsparticles/shape-polygon"),require("@tsparticles/shape-image"),require("@tsparticles/shape-heart"),require("@tsparticles/shape-cards"),require("@tsparticles/plugin-motion"),require("@tsparticles/plugin-emitters"));else if("function"==typeof define&&define.amd)define(["@tsparticles/engine","@tsparticles/basic","@tsparticles/updater-wobble","@tsparticles/updater-tilt","@tsparticles/updater-roll","@tsparticles/updater-life","@tsparticles/updater-rotate","@tsparticles/shape-emoji","@tsparticles/shape-star","@tsparticles/shape-square","@tsparticles/shape-polygon","@tsparticles/shape-image","@tsparticles/shape-heart","@tsparticles/shape-cards","@tsparticles/plugin-motion","@tsparticles/plugin-emitters"],t);else{var i="object"==typeof exports?t(require("@tsparticles/engine"),require("@tsparticles/basic"),require("@tsparticles/updater-wobble"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-roll"),require("@tsparticles/updater-life"),require("@tsparticles/updater-rotate"),require("@tsparticles/shape-emoji"),require("@tsparticles/shape-star"),require("@tsparticles/shape-square"),require("@tsparticles/shape-polygon"),require("@tsparticles/shape-image"),require("@tsparticles/shape-heart"),require("@tsparticles/shape-cards"),require("@tsparticles/plugin-motion"),require("@tsparticles/plugin-emitters")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var a in i)("object"==typeof exports?exports:e)[a]=i[a]}}(this,((e,t,i,a,s,r,o,n,l,p,d,c,u,h,f,m)=>(()=>{var v,w,y={
|
|
2
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/engine"),require("@tsparticles/basic"),require("@tsparticles/updater-wobble"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-roll"),require("@tsparticles/updater-life"),require("@tsparticles/updater-rotate"),require("@tsparticles/shape-emoji"),require("@tsparticles/shape-star"),require("@tsparticles/shape-square"),require("@tsparticles/shape-polygon"),require("@tsparticles/shape-image"),require("@tsparticles/shape-heart"),require("@tsparticles/shape-cards"),require("@tsparticles/plugin-motion"),require("@tsparticles/plugin-emitters"));else if("function"==typeof define&&define.amd)define(["@tsparticles/engine","@tsparticles/basic","@tsparticles/updater-wobble","@tsparticles/updater-tilt","@tsparticles/updater-roll","@tsparticles/updater-life","@tsparticles/updater-rotate","@tsparticles/shape-emoji","@tsparticles/shape-star","@tsparticles/shape-square","@tsparticles/shape-polygon","@tsparticles/shape-image","@tsparticles/shape-heart","@tsparticles/shape-cards","@tsparticles/plugin-motion","@tsparticles/plugin-emitters"],t);else{var i="object"==typeof exports?t(require("@tsparticles/engine"),require("@tsparticles/basic"),require("@tsparticles/updater-wobble"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-roll"),require("@tsparticles/updater-life"),require("@tsparticles/updater-rotate"),require("@tsparticles/shape-emoji"),require("@tsparticles/shape-star"),require("@tsparticles/shape-square"),require("@tsparticles/shape-polygon"),require("@tsparticles/shape-image"),require("@tsparticles/shape-heart"),require("@tsparticles/shape-cards"),require("@tsparticles/plugin-motion"),require("@tsparticles/plugin-emitters")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var a in i)("object"==typeof exports?exports:e)[a]=i[a]}}(this,((e,t,i,a,s,r,o,n,l,p,d,c,u,h,f,m)=>(()=>{var v,w,y={145:e=>{e.exports=t},303:t=>{t.exports=e},526:e=>{e.exports=m},235:e=>{e.exports=f},720:e=>{e.exports=h},109:e=>{e.exports=n},899:e=>{e.exports=u},162:e=>{e.exports=c},73:e=>{e.exports=d},400:e=>{e.exports=p},29:e=>{e.exports=l},75:e=>{e.exports=r},544:e=>{e.exports=s},668:e=>{e.exports=o},844:e=>{e.exports=a},238:e=>{e.exports=i}},b={};function g(e){var t=b[e];if(void 0!==t)return t.exports;var i=b[e]={exports:{}};return y[e](i,i.exports,g),i.exports}w=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,g.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var i=Object.create(null);g.r(i);var a={};v=v||[null,w({}),w([]),w(w)];for(var s=2&t&&e;"object"==typeof s&&!~v.indexOf(s);s=w(s))Object.getOwnPropertyNames(s).forEach((t=>a[t]=()=>e[t]));return a.default=()=>e,g.d(i,a),i},g.d=(e,t)=>{for(var i in t)g.o(t,i)&&!g.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},g.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),g.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var x={};return(()=>{g.r(x),g.d(x,{confetti:()=>h});var e=g(303);class t{constructor(){this.angle=90,this.count=50,this.spread=45,this.startVelocity=45,this.decay=.9,this.gravity=1,this.drift=0,this.ticks=200,this.position={x:50,y:50},this.colors=["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],this.shapes=["square","circle"],this.scalar=1,this.zIndex=100,this.disableForReducedMotion=!0,this.flat=!1,this.shapeOptions={}}get origin(){return{x:this.position.x/e.percentDenominator,y:this.position.y/e.percentDenominator}}set origin(t){this.position.x=t.x*e.percentDenominator,this.position.y=t.y*e.percentDenominator}get particleCount(){return this.count}set particleCount(e){this.count=e}load(t){if(!t)return;void 0!==t.angle&&(this.angle=t.angle);const i=t.count??t.particleCount;void 0!==i&&(this.count=i),void 0!==t.spread&&(this.spread=t.spread),void 0!==t.startVelocity&&(this.startVelocity=t.startVelocity),void 0!==t.decay&&(this.decay=t.decay),void 0!==t.flat&&(this.flat=t.flat),void 0!==t.gravity&&(this.gravity=t.gravity),void 0!==t.drift&&(this.drift=t.drift),void 0!==t.ticks&&(this.ticks=t.ticks);const a=t.origin;a&&!t.position&&(t.position={x:void 0!==a.x?a.x*e.percentDenominator:void 0,y:void 0!==a.y?a.y*e.percentDenominator:void 0});const s=t.position;s&&(void 0!==s.x&&(this.position.x=s.x),void 0!==s.y&&(this.position.y=s.y)),void 0!==t.colors&&((0,e.isArray)(t.colors)?this.colors=[...t.colors]:this.colors=t.colors);const r=t.shapeOptions;if(void 0!==r)for(const t in r){const i=r[t];i&&(this.shapeOptions[t]=(0,e.deepExtend)(this.shapeOptions[t]??{},i))}void 0!==t.shapes&&((0,e.isArray)(t.shapes)?this.shapes=[...t.shapes]:this.shapes=t.shapes),void 0!==t.scalar&&(this.scalar=t.scalar),void 0!==t.zIndex&&(this.zIndex=t.zIndex),void 0!==t.disableForReducedMotion&&(this.disableForReducedMotion=t.disableForReducedMotion)}}const i=9.81,a=5,s=3,r=1,o=0,n=0;let l=!1,p=!1;const d=new Map;async function c(e){if(l)return;if(p)return new Promise((e=>{const t=setInterval((()=>{l&&(clearInterval(t),e())}),100)}));p=!0;const{loadEmittersPlugin:t}=await Promise.resolve().then(g.t.bind(g,526,23)),{loadMotionPlugin:i}=await Promise.resolve().then(g.t.bind(g,235,23)),{loadCardsShape:a}=await Promise.resolve().then(g.t.bind(g,720,23)),{loadHeartShape:s}=await Promise.resolve().then(g.t.bind(g,899,23)),{loadImageShape:r}=await Promise.resolve().then(g.t.bind(g,162,23)),{loadPolygonShape:o}=await Promise.resolve().then(g.t.bind(g,73,23)),{loadSquareShape:n}=await Promise.resolve().then(g.t.bind(g,400,23)),{loadStarShape:d}=await Promise.resolve().then(g.t.bind(g,29,23)),{loadEmojiShape:c}=await Promise.resolve().then(g.t.bind(g,109,23)),{loadRotateUpdater:u}=await Promise.resolve().then(g.t.bind(g,668,23)),{loadLifeUpdater:h}=await Promise.resolve().then(g.t.bind(g,75,23)),{loadRollUpdater:f}=await Promise.resolve().then(g.t.bind(g,544,23)),{loadTiltUpdater:m}=await Promise.resolve().then(g.t.bind(g,844,23)),{loadWobbleUpdater:v}=await Promise.resolve().then(g.t.bind(g,238,23)),{loadBasic:w}=await Promise.resolve().then(g.t.bind(g,145,23));await t(e,!1),await i(e,!1),await a(e,!1),await s(e,!1),await r(e,!1),await o(e,!1),await n(e,!1),await d(e,!1),await c(e,!1),await u(e,!1),await h(e,!1),await f(e,!1),await m(e,!1),await v(e,!1),await w(e),p=!1,l=!0}async function u(l){const p=new t;let c;p.load(l.options);const u=p.ticks*e.millisecondsToSeconds/(3.6*e.millisecondsToSeconds*120);if(d.has(l.id)&&(c=d.get(l.id),c&&!c.destroyed)){const e=c;if(e.addEmitter)return void await e.addEmitter({startCount:p.count,position:p.position,size:{width:0,height:0},rate:{delay:0,quantity:0},life:{duration:.1,count:1},particles:{color:{value:p.colors},shape:{type:p.shapes,options:p.shapeOptions},life:{count:1},opacity:{value:{min:0,max:1},animation:{enable:!0,sync:!0,speed:u,startValue:"max",destroy:"min"}},size:{value:a*p.scalar},move:{angle:{value:p.spread,offset:0},drift:{min:-p.drift,max:p.drift},gravity:{acceleration:p.gravity*i},speed:p.startVelocity*s,decay:r-p.decay,direction:-p.angle}}})}const h={fullScreen:{enable:!l.canvas,zIndex:p.zIndex},fpsLimit:120,particles:{number:{value:0},color:{value:p.colors},shape:{type:p.shapes,options:p.shapeOptions},opacity:{value:{min:0,max:1},animation:{enable:!0,sync:!0,speed:u,startValue:"max",destroy:"min"}},size:{value:a*p.scalar},links:{enable:!1},life:{count:1},move:{angle:{value:p.spread,offset:0},drift:{min:-p.drift,max:p.drift},enable:!0,gravity:{enable:!0,acceleration:p.gravity*i},speed:p.startVelocity*s,decay:r-p.decay,direction:-p.angle,random:!0,straight:!1,outModes:{default:"none",bottom:"destroy"}},rotate:{value:p.flat?o:{min:0,max:360},direction:"random",animation:{enable:!p.flat,speed:60}},tilt:{direction:"random",enable:!p.flat,value:p.flat?n:{min:0,max:360},animation:{enable:!0,speed:60}},roll:{darken:{enable:!0,value:25},enable:!p.flat,speed:{min:15,max:25}},wobble:{distance:30,enable:!p.flat,speed:{min:-15,max:15}}},detectRetina:!0,motion:{disable:p.disableForReducedMotion},emitters:{name:"confetti",startCount:p.count,position:p.position,size:{width:0,height:0},rate:{delay:0,quantity:0},life:{duration:.1,count:1}}};return c=await e.tsParticles.load({id:l.id,element:l.canvas,options:h}),d.set(l.id,c),c}async function h(t,i){let a,s;return await c(e.tsParticles),(0,e.isString)(t)?(s=t,a=i??{}):(s="confetti",a=t),u({id:s,options:a})}h.create=async(t,i)=>{if(!t)return h;await c(e.tsParticles);const a=t.getAttribute("id")??"confetti";return t.setAttribute("id",a),async(s,r)=>{let o,n;return(0,e.isString)(s)?(n=s,o=r??i):(n=a,o=s),u({id:n,canvas:t,options:o})}},h.version=e.tsParticles.version,(0,e.isSsr)()||(window.confetti=h)})(),x})()));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tsParticles Confetti v3.
|
|
1
|
+
/*! tsParticles Confetti v3.3.0 by Matteo Bruni */
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Demo / Generator : https://particles.js.org/
|
|
5
5
|
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
6
|
* How to use? : Check the GitHub README
|
|
7
|
-
* v3.
|
|
7
|
+
* v3.3.0
|
|
8
8
|
*/
|
|
9
9
|
"use strict";
|
|
10
10
|
/*
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
\*********************************************************/
|
|
24
24
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25
25
|
|
|
26
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ColorUpdater: () => (/* binding */ ColorUpdater)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nclass ColorUpdater {\n constructor(container) {\n this.container = container;\n }\n
|
|
26
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ColorUpdater: () => (/* binding */ ColorUpdater)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nclass ColorUpdater {\n constructor(container) {\n this.container = container;\n }\n init(particle) {\n const hslColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.rangeColorToHsl)(particle.options.color, particle.id, particle.options.reduceDuplicates);\n if (hslColor) {\n particle.color = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getHslAnimationFromHsl)(hslColor, particle.options.color.animation, this.container.retina.reduceFactor);\n }\n }\n isEnabled(particle) {\n const {\n h: hAnimation,\n s: sAnimation,\n l: lAnimation\n } = particle.options.color.animation,\n {\n color\n } = particle;\n return !particle.destroyed && !particle.spawning && (color?.h.value !== undefined && hAnimation.enable || color?.s.value !== undefined && sAnimation.enable || color?.l.value !== undefined && lAnimation.enable);\n }\n update(particle, delta) {\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.updateColor)(particle.color, delta);\n }\n}\n\n//# sourceURL=webpack://@tsparticles/confetti/../../updaters/color/dist/browser/ColorUpdater.js?");
|
|
27
27
|
|
|
28
28
|
/***/ })
|
|
29
29
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Demo / Generator : https://particles.js.org/
|
|
5
5
|
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
6
|
* How to use? : Check the GitHub README
|
|
7
|
-
* v3.
|
|
7
|
+
* v3.3.0
|
|
8
8
|
*/
|
|
9
9
|
"use strict";
|
|
10
10
|
/*
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
\*******************************************************/
|
|
24
24
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25
25
|
|
|
26
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ LifeUpdater: () => (/* binding */ LifeUpdater)\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 _Options_Classes_Life_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Options/Classes/Life.js */ \"../../updaters/life/dist/browser/Options/Classes/Life.js\");\n\n\nconst noTime = 0,\n identity = 1,\n infiniteValue = -1;\nclass LifeUpdater {\n constructor(container) {\n this.container = container;\n }\n
|
|
26
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ LifeUpdater: () => (/* binding */ LifeUpdater)\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 _Options_Classes_Life_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Options/Classes/Life.js */ \"../../updaters/life/dist/browser/Options/Classes/Life.js\");\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Utils.js */ \"../../updaters/life/dist/browser/Utils.js\");\n\n\n\nconst noTime = 0,\n identity = 1,\n infiniteValue = -1;\nclass LifeUpdater {\n constructor(container) {\n this.container = container;\n }\n init(particle) {\n const container = this.container,\n particlesOptions = particle.options,\n lifeOptions = particlesOptions.life;\n if (!lifeOptions) {\n return;\n }\n particle.life = {\n delay: container.retina.reduceFactor ? (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(lifeOptions.delay.value) * (lifeOptions.delay.sync ? identity : (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)()) / container.retina.reduceFactor * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.millisecondsToSeconds : noTime,\n delayTime: noTime,\n duration: container.retina.reduceFactor ? (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(lifeOptions.duration.value) * (lifeOptions.duration.sync ? identity : (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)()) / container.retina.reduceFactor * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.millisecondsToSeconds : noTime,\n time: noTime,\n count: lifeOptions.count\n };\n if (particle.life.duration <= noTime) {\n particle.life.duration = infiniteValue;\n }\n if (particle.life.count <= noTime) {\n particle.life.count = infiniteValue;\n }\n if (particle.life) {\n particle.spawning = particle.life.delay > noTime;\n }\n }\n isEnabled(particle) {\n return !particle.destroyed;\n }\n loadOptions(options, ...sources) {\n if (!options.life) {\n options.life = new _Options_Classes_Life_js__WEBPACK_IMPORTED_MODULE_1__.Life();\n }\n for (const source of sources) {\n options.life.load(source?.life);\n }\n }\n update(particle, delta) {\n if (!this.isEnabled(particle) || !particle.life) {\n return;\n }\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_2__.updateLife)(particle, delta, this.container.canvas.size);\n }\n}\n\n//# sourceURL=webpack://@tsparticles/confetti/../../updaters/life/dist/browser/LifeUpdater.js?");
|
|
27
27
|
|
|
28
28
|
/***/ }),
|
|
29
29
|
|
|
@@ -55,6 +55,16 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
55
55
|
|
|
56
56
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ LifeDuration: () => (/* binding */ LifeDuration)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nclass LifeDuration extends _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ValueWithRandom {\n constructor() {\n super();\n this.sync = false;\n }\n load(data) {\n if (!data) {\n return;\n }\n super.load(data);\n if (data.sync !== undefined) {\n this.sync = data.sync;\n }\n }\n}\n\n//# sourceURL=webpack://@tsparticles/confetti/../../updaters/life/dist/browser/Options/Classes/LifeDuration.js?");
|
|
57
57
|
|
|
58
|
+
/***/ }),
|
|
59
|
+
|
|
60
|
+
/***/ "../../updaters/life/dist/browser/Utils.js":
|
|
61
|
+
/*!*************************************************!*\
|
|
62
|
+
!*** ../../updaters/life/dist/browser/Utils.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 */ updateLife: () => (/* binding */ updateLife)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst noTime = 0,\n infiniteValue = -1,\n noLife = 0,\n minCanvasSize = 0;\nfunction updateLife(particle, delta, canvasSize) {\n if (!particle.life) {\n return;\n }\n const life = particle.life;\n let justSpawned = false;\n if (particle.spawning) {\n life.delayTime += delta.value;\n if (life.delayTime >= particle.life.delay) {\n justSpawned = true;\n particle.spawning = false;\n life.delayTime = noTime;\n life.time = noTime;\n } else {\n return;\n }\n }\n if (life.duration === infiniteValue) {\n return;\n }\n if (particle.spawning) {\n return;\n }\n if (justSpawned) {\n life.time = noTime;\n } else {\n life.time += delta.value;\n }\n if (life.time < life.duration) {\n return;\n }\n life.time = noTime;\n if (particle.life.count > noLife) {\n particle.life.count--;\n }\n if (particle.life.count === noLife) {\n particle.destroy();\n return;\n }\n const widthRange = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(minCanvasSize, canvasSize.width),\n heightRange = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(minCanvasSize, canvasSize.width);\n particle.position.x = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.randomInRange)(widthRange);\n particle.position.y = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.randomInRange)(heightRange);\n particle.spawning = true;\n life.delayTime = noTime;\n life.time = noTime;\n particle.reset();\n const lifeOptions = particle.options.life;\n if (lifeOptions) {\n life.delay = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(lifeOptions.delay.value) * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.millisecondsToSeconds;\n life.duration = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(lifeOptions.duration.value) * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.millisecondsToSeconds;\n }\n}\n\n//# sourceURL=webpack://@tsparticles/confetti/../../updaters/life/dist/browser/Utils.js?");
|
|
67
|
+
|
|
58
68
|
/***/ })
|
|
59
69
|
|
|
60
70
|
}]);
|
|
@@ -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
|
-
* v3.
|
|
7
|
+
* v3.3.0
|
|
8
8
|
*/
|
|
9
9
|
"use strict";
|
|
10
10
|
/*
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
\*************************************************************/
|
|
24
24
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25
25
|
|
|
26
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ 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 constructor(container) {\n this.container = container;\n }\n
|
|
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 constructor(container) {\n this.container = container;\n }\n init(particle) {\n const opacityOptions = particle.options.opacity,\n 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 particle.opacity.time = 0;\n particle.opacity.loops = 0;\n }\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//# sourceURL=webpack://@tsparticles/confetti/../../updaters/opacity/dist/browser/OpacityUpdater.js?");
|
|
27
27
|
|
|
28
28
|
/***/ })
|
|
29
29
|
|