iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
1 lines • 72.1 kB
JavaScript
"use strict";(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[51143],{39469:function(t,e,n){var i=n(46518),o=Math.hypot,s=Math.abs,r=Math.sqrt;i({target:"Math",stat:!0,arity:2,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,i,o=0,a=0,l=arguments.length,c=0;a<l;)c<(n=s(arguments[a++]))?(o=o*(i=c/n)*i+1,c=n):o+=n>0?(i=n/c)*i:n;return c===1/0?1/0:c*r(o)}})},90500:function(t,e,n){n.d(e,{R1:function(){return l},Ug:function(){return a},bo:function(){return r},eb:function(){return i},nK:function(){return s},yj:function(){return o}});const i="generated",o="source-over",s="visibilitychange",r={x:0,y:0,z:0},a={a:1,b:0,c:0,d:1},l=2*Math.PI},52531:function(t,e,n){n.d(e,{jl:function(){return a},M_:function(){return l}});var i,o;n(39469);(o=i||(i={})).circle="circle",o.rectangle="rectangle";var s=n(65746);class r{_resetPosition(t,e){this.position.x=t,this.position.y=e}constructor(t,e,n){this.position={x:t,y:e},this.type=n}}class a extends r{contains(t){return(0,s.gp)(t,this.position,this.radius)}intersects(t){const e=this.position,n=t.position,o=this.radius,s=Math.abs(n.x-e.x),r=Math.abs(n.y-e.y);if(t instanceof a||t.type===i.circle){return o+t.radius>Math.hypot(s,r)}if(t instanceof l||t.type===i.rectangle){const e=t,{width:n,height:i}=e.size;return Math.pow(s-n,2)+Math.pow(r-i,2)<=o**2||s<=o+n&&r<=o+i||s<=n||r<=i}return!1}reset(t,e,n){return this._resetPosition(t,e),this.radius=n,this}constructor(t,e,n){super(t,e,i.circle),this.radius=n}}class l extends r{contains(t){const e=this.size.width,n=this.size.height,i=this.position;return t.x>=i.x&&t.x<=i.x+e&&t.y>=i.y&&t.y<=i.y+n}intersects(t){if(t instanceof a)return t.intersects(this);if(!(t instanceof l))return!1;const e=this.size.width,n=this.size.height,i=this.position,o=t.position,s=t.size,r=s.width,c=s.height;return o.x<i.x+e&&o.x+r>i.x&&o.y<i.y+n&&o.y+c>i.y}reset(t,e,n,i){return this._resetPosition(t,e),this.size.width=n,this.size.height=i,this}constructor(t,e,n,o){super(t,e,i.rectangle),this.size={height:o,width:n}}}},23685:function(t,e,n){n.d(e,{M:function(){return r},p:function(){return s}});var i=n(90500);function o(t){return"z"in t?t.z:i.bo.z}class s{static get origin(){return s.create(i.bo.x,i.bo.y,i.bo.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this._updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this._updateFromAngle(this.angle,t)}static clone(t){return s.create(t.x,t.y,o(t))}static create(t,e,n){return"number"==typeof t?new s(t,null!=e?e:i.bo.y,null!=n?n:i.bo.z):new s(t.x,t.y,o(t))}add(t){return s.create(this.x+t.x,this.y+t.y,this.z+o(t))}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=o(t)}copy(){return s.clone(this)}div(t){return s.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 s.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 s.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),i.bo.z)}setTo(t){this.x=t.x,this.y=t.y,this.z=o(t)}sub(t){return s.create(this.x-t.x,this.y-t.y,this.z-o(t))}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=o(t)}_updateFromAngle(t,e){this.x=Math.cos(t)*e,this.y=Math.sin(t)*e}constructor(t=i.bo.x,e=i.bo.y,n=i.bo.z){this.x=t,this.y=e,this.z=n}}class r extends s{static get origin(){return r.create(i.bo.x,i.bo.y)}static clone(t){return r.create(t.x,t.y)}static create(t,e){return"number"==typeof t?new r(t,null!=e?e:i.bo.y):new r(t.x,t.y)}constructor(t=i.bo.x,e=i.bo.y){super(t,e,i.bo.z)}}},63082:function(t,e,n){var i;n.d(e,{H:function(){return i}}),function(t){t.increasing="increasing",t.decreasing="decreasing"}(i||(i={}))},91519:function(t,e,n){var i;n.d(e,{F:function(){return i}}),function(t){t.bottom="bottom",t.bottomLeft="bottom-left",t.bottomRight="bottom-right",t.left="left",t.none="none",t.right="right",t.top="top",t.topLeft="top-left",t.topRight="top-right",t.outside="outside",t.inside="inside"}(i||(i={}))},54541:function(t,e,n){var i;n.d(e,{v:function(){return i}}),function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(i||(i={}))},86496:function(t,e,n){var i;n.d(e,{g:function(){return i}}),function(t){t.auto="auto",t.increase="increase",t.decrease="decrease",t.random="random"}(i||(i={}))},24881:function(t,e,n){var i;n.d(e,{d:function(){return i}}),function(t){t.delete="delete",t.wait="wait"}(i||(i={}))},39814:function(t,e,n){n.d(e,{Y:function(){return i}});var i;n(27495);!function(t){t.bounce="bounce",t.none="none",t.out="out",t.destroy="destroy",t.split="split"}(i||(i={}))},88366:function(t,e,n){var i;n.d(e,{q:function(){return i}}),function(t){t.precise="precise",t.percent="percent"}(i||(i={}))},4980:function(t,e,n){var i;n.d(e,{H:function(){return i}}),function(t){t.darken="darken",t.enlighten="enlighten"}(i||(i={}))},32122:function(t,e,n){var i;n.d(e,{V:function(){return i}}),function(t){t.none="none",t.max="max",t.min="min"}(i||(i={}))},33904:function(t,e,n){var i;n.d(e,{B:function(){return i}}),function(t){t.configAdded="configAdded",t.containerInit="containerInit",t.particlesSetup="particlesSetup",t.containerStarted="containerStarted",t.containerStopped="containerStopped",t.containerDestroyed="containerDestroyed",t.containerPaused="containerPaused",t.containerPlay="containerPlay",t.containerBuilt="containerBuilt",t.particleAdded="particleAdded",t.particleDestroyed="particleDestroyed",t.particleRemoved="particleRemoved"}(i||(i={}))},46398:function(t,e,n){var i;n.d(e,{x:function(){return i}}),function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(i||(i={}))},15695:function(t,e,n){var i;n.d(e,{S:function(){return i}}),function(t){t.max="max",t.min="min",t.random="random"}(i||(i={}))},48702:function(t,e,n){n.d(e,{A:function(){return r}});var i=n(71784),o=n(64437),s=n(98451);class r extends s.O{static create(t,e){const n=new r;return n.load(t),void 0!==e&&((0,i.Kg)(e)||(0,i.cy)(e)?n.load({value:e}):n.load(e)),n}load(t){if(super.load(t),(0,i.kZ)(t))return;const e=t.animation;void 0!==e&&(void 0===e.enable?this.animation.load(t.animation):this.animation.h.load(e))}constructor(){super(),this.animation=new o.i}}},56209:function(t,e,n){n.d(e,{Q:function(){return l},p:function(){return a}});var i=n(86496),o=n(15695),s=n(71784),r=n(65746);class a{load(t){(0,s.kZ)(t)||(void 0!==t.count&&(this.count=(0,r.DT)(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=(0,r.DT)(t.speed)),void 0!==t.decay&&(this.decay=(0,r.DT)(t.decay)),void 0!==t.delay&&(this.delay=(0,r.DT)(t.delay)),void 0!==t.sync&&(this.sync=t.sync))}constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}}class l extends a{load(t){super.load(t),(0,s.kZ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}constructor(){super(),this.mode=i.g.auto,this.startValue=o.S.random}}},64574:function(t,e,n){n.d(e,{e:function(){return r}});var i=n(56209),o=n(71784),s=n(65746);class r extends i.p{load(t){super.load(t),(0,o.kZ)(t)||(void 0!==t.max&&(this.max=t.max),void 0!==t.min&&(this.min=t.min),void 0!==t.offset&&(this.offset=(0,s.DT)(t.offset)))}constructor(t,e){super(),this.min=t,this.max=e,this.offset=0,this.sync=!0}}},64437:function(t,e,n){n.d(e,{i:function(){return s}});var i=n(64574),o=n(71784);class s{load(t){(0,o.kZ)(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}constructor(){this.h=new i.e(0,360),this.l=new i.e(0,100),this.s=new i.e(0,100)}}},46359:function(t,e,n){n.d(e,{J:function(){return d}});n(18111),n(7588);var i=n(35128),o=n(71784),s=n(98451);class r{load(t){(0,o.kZ)(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))}constructor(){this.color=new s.O,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}}class a{load(t){(0,o.kZ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}constructor(){this.enable=!0,this.zIndex=0}}class l{load(t){(0,o.kZ)(t)||(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.enable&&(this.enable=t.enable))}constructor(){this.delay=.5,this.enable=!0}}var c=n(9310),u=n(65746);class d{load(t){if((0,o.kZ)(t))return;void 0!==t.preset&&(this.preset=t.preset,(0,i.wJ)(this.preset,t=>{this._importPreset(t)})),void 0!==t.palette&&(this.palette=t.palette,this._importPalette(this.palette)),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,u.DT)(t.delay));const e=t.detectRetina;void 0!==e&&(this.detectRetina=e),void 0!==t.duration&&(this.duration=(0,u.DT)(t.duration));const n=t.fpsLimit;void 0!==n&&(this.fpsLimit=n),void 0!==t.hdr&&(this.hdr=t.hdr),void 0!==t.pauseOnBlur&&(this.pauseOnBlur=t.pauseOnBlur),void 0!==t.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=t.pauseOnOutsideViewport),void 0!==t.zLayers&&(this.zLayers=t.zLayers),this.background.load(t.background);const s=t.fullScreen;(0,o.Lm)(s)?this.fullScreen.enable=s:this.fullScreen.load(s),this.particles.load(t.particles),this.resize.load(t.resize),this.style=(0,i.zw)(this.style,t.style),void 0!==t.smooth&&(this.smooth=t.smooth),this._pluginManager.plugins.forEach(e=>{e.loadOptions(this._container,this,t)})}constructor(t,e){this._importPalette=t=>{const e=this._pluginManager.getPalette(t);e&&this.load({background:{color:e.background},blend:{enable:!0,mode:e.blendMode},particles:{palette:t}})},this._importPreset=t=>{this.load(this._pluginManager.getPreset(t))},this._pluginManager=t,this._container=e,this.autoPlay=!0,this.background=new r,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new a,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.hdr=!0,this.particles=(0,c.y)(this._pluginManager,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.resize=new l,this.smooth=!1,this.style={},this.zLayers=100}}},98451:function(t,e,n){n.d(e,{O:function(){return o}});var i=n(71784);class o{static create(t,e){const n=new o;return n.load(t),void 0!==e&&((0,i.Kg)(e)||(0,i.cy)(e)?n.load({value:e}):n.load(e)),n}load(t){(0,i.kZ)(t)||(0,i.kZ)(t.value)||(this.value=t.value)}constructor(){this.value=""}}},98898:function(t,e,n){n.d(e,{w:function(){return s}});var i=n(87662),o=n(71784);class s{load(t){(0,o.kZ)(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}constructor(){this.horizontal=new i.F,this.vertical=new i.F}}},87662:function(t,e,n){n.d(e,{F:function(){return o}});var i=n(14963);class o extends i.PV{constructor(){super(),this.value=1}}},16088:function(t,e,n){n.d(e,{S:function(){return r}});var i=n(48702),o=n(71784),s=n(65746);class r{load(t){(0,o.kZ)(t)||(void 0!==t.color&&(this.color=i.A.create(this.color,t.color)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.opacity&&(this.opacity=(0,s.DT)(t.opacity)))}constructor(){this.enable=!0,this.opacity=1}}},84634:function(t,e,n){n.d(e,{y:function(){return h}});var i=n(91519),o=n(71784),s=n(18155),r=n(99535),a=n(39722),l=n(66573),c=n(45935),u=n(72003),d=n(65746);class h{load(t){if((0,o.kZ)(t))return;this.angle.load((0,o.Et)(t.angle)?{value:t.angle}:t.angle),this.center.load(t.center),void 0!==t.decay&&(this.decay=(0,d.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}:Object.assign({},t.distance)),void 0!==t.drift&&(this.drift=(0,d.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,d.DT)(t.speed)),this.spin.load(t.spin),void 0!==t.straight&&(this.straight=t.straight),void 0!==t.vibrate&&(this.vibrate=t.vibrate),void 0!==t.warp&&(this.warp=t.warp)}constructor(){this.angle=new s.h,this.center=new r.Z,this.decay=0,this.distance={},this.direction=i.F.none,this.drift=0,this.enable=!1,this.gravity=new a.y,this.path=new l.v,this.outModes=new c.j,this.random=!1,this.size=!1,this.speed=2,this.spin=new u.t,this.straight=!1,this.vibrate=!1,this.warp=!1}}},18155:function(t,e,n){n.d(e,{h:function(){return s}});var i=n(71784),o=n(65746);class s{load(t){(0,i.kZ)(t)||(void 0!==t.offset&&(this.offset=(0,o.DT)(t.offset)),void 0!==t.value&&(this.value=(0,o.DT)(t.value)))}constructor(){this.offset=0,this.value=90}}},99535:function(t,e,n){n.d(e,{Z:function(){return s}});var i=n(88366),o=n(71784);class s{load(t){(0,o.kZ)(t)||(void 0!==t.x&&(this.x=t.x),void 0!==t.y&&(this.y=t.y),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.radius&&(this.radius=t.radius))}constructor(){this.x=50,this.y=50,this.mode=i.q.percent,this.radius=0}}},39722:function(t,e,n){n.d(e,{y:function(){return s}});var i=n(71784),o=n(65746);class s{load(t){(0,i.kZ)(t)||(void 0!==t.acceleration&&(this.acceleration=(0,o.DT)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.inverse&&(this.inverse=t.inverse),void 0!==t.maxSpeed&&(this.maxSpeed=(0,o.DT)(t.maxSpeed)))}constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}}},45935:function(t,e,n){n.d(e,{j:function(){return s}});var i=n(39814),o=n(71784);class s{load(t){var e,n,i,s;(0,o.kZ)(t)||(void 0!==t.default&&(this.default=t.default),this.bottom=null!==(e=t.bottom)&&void 0!==e?e:t.default,this.left=null!==(n=t.left)&&void 0!==n?n:t.default,this.right=null!==(i=t.right)&&void 0!==i?i:t.default,this.top=null!==(s=t.top)&&void 0!==s?s:t.default)}constructor(){this.default=i.Y.out}}},66573:function(t,e,n){n.d(e,{v:function(){return r}});var i=n(14963),o=n(35128),s=n(71784);class r{load(t){(0,s.kZ)(t)||(void 0!==t.clamp&&(this.clamp=t.clamp),this.delay.load(t.delay),void 0!==t.enable&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=(0,o.zw)(this.options,t.options)))}constructor(){this.clamp=!0,this.delay=new i.PV,this.enable=!1,this.options={}}}},72003:function(t,e,n){n.d(e,{t:function(){return r}});var i=n(35128),o=n(71784),s=n(65746);class r{load(t){(0,o.kZ)(t)||(void 0!==t.acceleration&&(this.acceleration=(0,s.DT)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),t.position&&(this.position=(0,i.zw)({},t.position)))}constructor(){this.acceleration=0,this.enable=!1}}},18747:function(t,e,n){n.d(e,{N:function(){return r}});var i=n(71784);class o{load(t){if((0,i.kZ)(t))return;void 0!==t.enable&&(this.enable=t.enable);const e=t.width;void 0!==e&&(this.width=e);const n=t.height;void 0!==n&&(this.height=n)}constructor(){this.enable=!1,this.width=1920,this.height=1080}}var s=n(86862);class r{load(t){(0,i.kZ)(t)||(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}constructor(){this.density=new o,this.limit=new s.A,this.value=0}}},86862:function(t,e,n){n.d(e,{A:function(){return s}});var i=n(24881),o=n(71784);class s{load(t){(0,o.kZ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}constructor(){this.mode=i.d.delete,this.value=0}}},51638:function(t,e,n){n.d(e,{Y:function(){return r}});var i=n(31710),o=n(14963),s=n(71784);class r extends o.AI{load(t){if((0,s.kZ)(t))return;super.load(t);const e=t.animation;void 0!==e&&this.animation.load(e)}constructor(){super(),this.animation=new i.I,this.value=1}}},31710:function(t,e,n){n.d(e,{I:function(){return r}});var i=n(32122),o=n(56209),s=n(71784);class r extends o.Q{load(t){super.load(t),(0,s.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}constructor(){super(),this.destroy=i.V.none,this.speed=2}}},11349:function(t,e,n){n.d(e,{P:function(){return a}});var i=n(48702),o=n(16088),s=n(20357),r=n(71784);class a{load(t){if(!(0,r.kZ)(t)){var e,n;if(void 0!==t.color&&(this.color=i.A.create(this.color,t.color)),void 0!==t.fill)null!==(e=this.fill)&&void 0!==e||(this.fill=new o.S),this.fill.load(t.fill);if(void 0!==t.stroke)null!==(n=this.stroke)&&void 0!==n||(this.stroke=new s.t),this.stroke.load(t.stroke)}}}},38947:function(t,e,n){n.d(e,{U:function(){return g}});n(78350),n(30237),n(18111),n(30531),n(62953);var i=n(35128),o=n(71784),s=n(48702);class r{load(t){if((0,o.kZ)(t))return;const e=t.options;if(void 0!==e)for(const o in e){const t=e[o];var n;if(t)this.options[o]=(0,i.zw)(null!==(n=this.options[o])&&void 0!==n?n:{},t)}void 0!==t.close&&(this.close=t.close),void 0!==t.type&&(this.type=t.type)}constructor(){this.close=!0,this.options={},this.type=[]}}var a=n(16088),l=n(84634),c=n(51638),u=n(11349),d=n(98898),h=n(18747),f=n(70818),p=n(33122),v=n(66208);class g{load(t){if((0,o.kZ)(t))return;if(t.palette&&(this.palette=t.palette,this._importPalette(this.palette)),void 0!==t.groups)for(const o of Object.keys(t.groups)){if(!(o in t.groups))continue;const n=t.groups[o];var e;if(void 0!==n)this.groups[o]=(0,i.zw)(null!==(e=this.groups[o])&&void 0!==e?e:{},n)}void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.effect.load(t.effect),this.move.load(t.move),this.number.load(t.number),this.opacity.load(t.opacity);const n=t.paint;if(n&&((0,o.cy)(n)?this.paint=(0,i.wJ)(n,t=>{const e=new u.P;return e.load(t),e}):(0,o.cy)(this.paint)?(this.paint=new u.P,this.paint.load(n)):this.paint.load(n)),this.shape.load(t.shape),this.size.load(t.size),this.zIndex.load(t.zIndex),this._container){for(const n of this._pluginManager.plugins)n.loadParticlesOptions&&n.loadParticlesOptions(this._container,this,t);const e=this._pluginManager.updaters.get(this._container);if(e)for(const n of e)n.loadOptions&&n.loadOptions(this,t)}}constructor(t,e){this._importPalette=t=>{var e;const n=this._pluginManager.getPalette(t);if(!n)return;const i=n.colors,s=((0,o.cy)(i)?i:[i]).flatMap(t=>{const e=t.fill,n=t.stroke,i=e?{color:{value:e.value},enable:e.enable,opacity:e.opacity}:void 0;return n?[{fill:i,stroke:{color:{value:n.value},opacity:n.opacity,width:n.width||0}}]:[{fill:i}]}),r=s.length>1?s:null!==(e=s[0])&&void 0!==e?e:{};this.load({paint:r,blend:{enable:!0,mode:n.blendMode}})},this._pluginManager=t,this._container=e,this.bounce=new d.w,this.effect=new r,this.groups={},this.move=new l.y,this.number=new h.N,this.opacity=new c.Y,this.paint=new u.P,this.paint.color=new s.A,this.paint.color.value="#fff",this.paint.fill=new a.S,this.paint.fill.enable=!0,this.reduceDuplicates=!1,this.shape=new f.y,this.size=new p.o,this.zIndex=new v.P}}},70818:function(t,e,n){n.d(e,{y:function(){return s}});var i=n(35128),o=n(71784);class s{load(t){if((0,o.kZ)(t))return;const e=t.options;if(void 0!==e)for(const o in e){const t=e[o];var n;if(t)this.options[o]=(0,i.zw)(null!==(n=this.options[o])&&void 0!==n?n:{},t)}void 0!==t.close&&(this.close=t.close),void 0!==t.type&&(this.type=t.type)}constructor(){this.close=!0,this.options={},this.type="circle"}}},33122:function(t,e,n){n.d(e,{o:function(){return r}});var i=n(14963),o=n(96730),s=n(71784);class r extends i.AI{load(t){if(super.load(t),(0,s.kZ)(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}constructor(){super(),this.animation=new o.q,this.value=3}}},96730:function(t,e,n){n.d(e,{q:function(){return r}});var i=n(32122),o=n(56209),s=n(71784);class r extends o.Q{load(t){super.load(t),(0,s.kZ)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}constructor(){super(),this.destroy=i.V.none,this.speed=5}}},20357:function(t,e,n){n.d(e,{t:function(){return r}});var i=n(48702),o=n(71784),s=n(65746);class r{load(t){(0,o.kZ)(t)||(void 0!==t.color&&(this.color=i.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)))}constructor(){this.width=0}}},66208:function(t,e,n){n.d(e,{P:function(){return s}});var i=n(14963),o=n(71784);class s extends i.PV{load(t){super.load(t),(0,o.kZ)(t)||(void 0!==t.opacityRate&&(this.opacityRate=t.opacityRate),void 0!==t.sizeRate&&(this.sizeRate=t.sizeRate),void 0!==t.velocityRate&&(this.velocityRate=t.velocityRate))}constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}}},14963:function(t,e,n){n.d(e,{AI:function(){return l},PV:function(){return r}});n(62953);var i=n(56209),o=n(71784),s=n(65746);class r{load(t){(0,o.kZ)(t)||(0,o.kZ)(t.value)||(this.value=(0,s.DT)(t.value))}constructor(){this.value=0}}class a extends r{load(t){if(super.load(t),(0,o.kZ)(t))return;const e=t.animation;void 0!==e&&this.animation.load(e)}constructor(...t){super(...t),this.animation=new i.p}}class l extends a{load(t){super.load(t)}constructor(){super(),this.animation=new i.Q}}},15620:function(t,e,n){n.d(e,{IU:function(){return r},Md:function(){return s},Sn:function(){return o},Wb:function(){return l},p0:function(){return a}});n(62953);var i=n(90500);function o(t,e,n){t.fillStyle=null!=n?n:"rgba(0,0,0,0)",t.fillRect(i.bo.x,i.bo.y,e.width,e.height)}function s(t,e,n,o){if(!n)return;const s=t.globalAlpha;t.globalAlpha=o,t.drawImage(n,i.bo.x,i.bo.y,e.width,e.height),t.globalAlpha=s}function r(t,e){t.clearRect(i.bo.x,i.bo.y,e.width,e.height)}function a(t){var e;const{container:n,context:i,particle:o,delta:s,colorStyles:r,radius:a,opacity:l,transform:c}=t,{effectDrawers:u,shapeDrawers:d}=n,h=o.getPosition(),f=o.getTransformData(c),p={x:h.x,y:h.y};i.setTransform(f.a,f.b,f.c,f.d,h.x,h.y),r.fill&&(i.fillStyle=r.fill);const v=!!o.fillEnabled,g=null!==(e=o.strokeWidth)&&void 0!==e?e:0;i.lineWidth=g,r.stroke&&(i.strokeStyle=r.stroke);const y={context:i,particle:o,radius:a,drawRadius:1*a,opacity:l,delta:s,pixelRatio:n.retina.pixelRatio,fill:v,stroke:g>0,transformData:f,position:Object.assign({},h),drawPosition:p,drawScale:1};for(const x of n.plugins){var m;null===(m=x.drawParticleTransform)||void 0===m||m.call(x,y)}const b=o.effect?u.get(o.effect):void 0,w=o.shape?d.get(o.shape):void 0;!function(t,e){if(null==t||!t.drawBefore)return;const{particle:n}=e;if(!n.effect)return;t.drawBefore(e)}(b,y),function(t,e){if(null==t||!t.beforeDraw)return;const{particle:n}=e;if(!n.shape)return;t.beforeDraw(e)}(w,y),function(t,e){if(!t)return;const{context:n,fill:i,particle:o,stroke:s}=e;if(!o.shape)return;n.beginPath(),t.draw(e),o.shapeClose&&n.closePath();i&&n.fill();s&&n.stroke()}(w,y),function(t,e){if(null==t||!t.afterDraw)return;const{particle:n}=e;if(!n.shape)return;t.afterDraw(e)}(w,y),function(t,e){if(null==t||!t.drawAfter)return;const{particle:n}=e;if(!n.effect)return;t.drawAfter(e)}(b,y),i.resetTransform()}function l(t,e,n,i){e.drawParticle&&e.drawParticle(t,n,i)}},53461:function(t,e,n){n.d(e,{BN:function(){return v},Jv:function(){return C},LC:function(){return z},O_:function(){return S},PG:function(){return P},R5:function(){return y},YL:function(){return b},_h:function(){return _},ay:function(){return w},pz:function(){return O},xx:function(){return k},yx:function(){return A}});n(18111),n(7588),n(45367),n(92731),n(62953);var i=n(65746),o=n(71784),s=n(4980),r=n(63082),a=n(35128);const l=new Map,c=1e3,u=0,d=2,h=2;function f(t,e){let n=l.get(t);if(!n){if(n=e(),l.size>=c){[...l.keys()].slice(u,.5*c).forEach(t=>l.delete(t))}l.set(t,n)}return n}function p(t,e){if(e)for(const n of t.colorManagers.values())if(n.accepts(e))return n.parseString(e)}function v(t,e,n,i=!0){if(!e)return;const s=(0,o.Kg)(e)?{value:e}:e;if((0,o.Kg)(s.value))return g(t,s.value,n,i);if((0,o.cy)(s.value)){const e=(0,a.Vh)(s.value,n,i);if(!e)return;return v(t,{value:e})}for(const o of t.colorManagers.values()){const t=o.handleRangeColor(s);if(t)return t}}function g(t,e,n,i=!0){if(!e)return;const s=(0,o.Kg)(e)?{value:e}:e;if((0,o.Kg)(s.value))return"random"===s.value?x():function(t,e){return p(t,e)}(t,s.value);if((0,o.cy)(s.value)){const e=(0,a.Vh)(s.value,n,i);if(!e)return;return g(t,{value:e})}for(const o of t.colorManagers.values()){const t=o.handleColor(s);if(t)return t}}function y(t,e,n,i=!0){const o=v(t,e,n,i);return o?m(o):void 0}function m(t){const e=t.r/255,n=t.g/255,i=t.b/255,o=Math.max(e,n,i),s=Math.min(e,n,i),r={h:0,l:.5*(o+s),s:0};return o!==s&&(r.s=r.l<.5?(o-s)/(o+s):(o-s)/(2-o-s),r.h=e===o?(n-i)/(o-s):n===o?2+(i-e)/(o-s):4+(e-n)/(o-s)),r.l*=100,r.s*=100,r.h*=60,r.h<0&&(r.h+=360),r.h>=360&&(r.h-=360),r}function b(t){const e=(t.h%360+360)%360,n=Math.max(0,Math.min(100,t.s)),i=e/360,o=n/100,s=Math.max(0,Math.min(100,t.l))/100;if(0===n){const t=Math.round(255*s);return{r:t,g:t,b:t}}const r=(t,e,n)=>{if(n<0&&n++,n>1&&n--,6*n<1)return t+6*(e-t)*n;if(2*n<1)return e;if(3*n<2){return t+(e-t)*(2/3-n)*6}return t},a=s<.5?s*(1+o):s+o-s*o,l=2*s-a,c=1/3,u=Math.min(255,255*r(l,a,i+c)),d=Math.min(255,255*r(l,a,i)),h=Math.min(255,255*r(l,a,i-c));return{r:Math.round(u),g:Math.round(d),b:Math.round(h)}}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=null!=t?t:0,n=()=>Math.floor((0,i.e4)(e,256));return{b:n(),g:n(),r:n()}}function k(t,e,n){const i=null!=n?n:1;return f(`rgb-${t.r.toFixed(d)}-${t.g.toFixed(d)}-${t.b.toFixed(d)}-${e?"hdr":"sdr"}-${i.toString()}`,()=>e?M(t,n):function(t,e){return`rgba(${t.r.toString()}, ${t.g.toString()}, ${t.b.toString()}, ${(null!=e?e:1).toString()})`}(t,n))}function M(t,e){return`color(display-p3 ${(t.r/255).toString()} ${(t.g/255).toString()} ${(t.b/255).toString()} / ${(null!=e?e:1).toString()})`}function z(t,e,n){const i=null!=n?n:1;return f(`hsl-${t.h.toFixed(h)}-${t.s.toFixed(h)}-${t.l.toFixed(h)}-${e?"hdr":"sdr"}-${i.toString()}`,()=>e?function(t,e){return M(b(t),e)}(t,n):function(t,e){return`hsla(${t.h.toString()}, ${t.s.toString()}%, ${t.l.toString()}%, ${(null!=e?e:1).toString()})`}(t,n))}function _(t,e,n){if("random"===n)return x();if("mid"!==n)return n;{var o,s;const n=null!==(o=t.getFillColor())&&void 0!==o?o:t.getStrokeColor(),r=null!==(s=null==e?void 0:e.getFillColor())&&void 0!==s?s:null==e?void 0:e.getStrokeColor();if(n&&r&&e)return function(t,e,n,o){let s=t,r=e;return"r"in s||(s=b(t)),"r"in r||(r=b(e)),{b:(0,i.jh)(s.b,r.b,n,o),g:(0,i.jh)(s.g,r.g,n,o),r:(0,i.jh)(s.r,r.r,n,o)}}(n,r,t.getRadius(),e.getRadius());{const t=null!=n?n:r;if(t)return b(t)}}}function P(t,e,n,i){const s=(0,o.Kg)(e)?e:e.value;return"random"===s?i?v(t,{value:s}):n?"random":"mid":"mid"===s?"mid":v(t,{value:s})}function S(t){return void 0===t?void 0:{h:t.h.value,s:t.s.value,l:t.l.value}}function O(t,e,n){const i={h:{enable:!1,value:t.h,min:0,max:360},s:{enable:!1,value:t.s,min:0,max:100},l:{enable:!1,value:t.l,min:0,max:100}};return e&&(I(i.h,e.h,n),I(i.s,e.s,n),I(i.l,e.l,n)),i}function I(t,e,n){t.enable=e.enable,t.min=e.min,t.max=e.max,t.enable?(t.velocity=(0,i.VG)(e.speed)/100*n,t.decay=1-(0,i.VG)(e.decay),t.status=r.H.increasing,t.loops=0,t.maxLoops=(0,i.VG)(e.count),t.time=0,t.delayTime=1e3*(0,i.VG)(e.delay),e.sync||(t.velocity*=(0,i.G0)(),t.value*=(0,i.G0)()),t.initialValue=t.value,t.offset=(0,i.DT)(e.offset)):t.velocity=0}function E(t,e,n){var o,s,a,l,c,u,d,h,f,p;if(!t.enable||(null!==(o=t.maxLoops)&&void 0!==o?o:0)>0&&(null!==(s=t.loops)&&void 0!==s?s:0)>(null!==(a=t.maxLoops)&&void 0!==a?a:0))return;if(null!==(l=t.time)&&void 0!==l||(t.time=0),(null!==(c=t.delayTime)&&void 0!==c?c:0)>0&&t.time<(null!==(u=t.delayTime)&&void 0!==u?u:0)&&(t.time+=n.value),(null!==(d=t.delayTime)&&void 0!==d?d:0)>0&&t.time<(null!==(h=t.delayTime)&&void 0!==h?h:0))return;const v=t.offset?(0,i.vE)(t.offset):0,g=(null!==(f=t.velocity)&&void 0!==f?f:0)*n.factor+3.6*v,y=null!==(p=t.decay)&&void 0!==p?p:1,m=t.max,b=t.min;var w,x;e&&t.status!==r.H.increasing?(t.value-=g,t.value<b&&(null!==(w=t.loops)&&void 0!==w||(t.loops=0),t.loops++,t.status=r.H.increasing)):(t.value+=g,t.value>m&&(null!==(x=t.loops)&&void 0!==x||(t.loops=0),t.loops++,e?t.status=r.H.decreasing:t.value-=m));t.velocity&&1!==y&&(t.velocity*=y),t.value=(0,i.qE)(t.value,b,m)}function C(t,e){if(!t)return;const{h:n,s:i,l:o}=t;E(n,!1,e),E(i,!0,e),E(o,!0,e)}function A(t,e,n){return{h:t.h,s:t.s,l:t.l+(e===s.H.darken?-1:1)*n}}},13250:function(t,e,n){n.d(e,{t:function(){return s}});n(62953);const i=t=>(...e)=>{t(...e)},o={debug:i(console.debug),error:(t,...e)=>{console.error(`tsParticles - Error - ${t}`,...e)},info:i(console.info),log:i(console.log),trace:i(console.trace),verbose:i(console.log),warning:i(console.warn)};function s(){return o}},65746:function(t,e,n){n.d(e,{$m:function(){return S},DT:function(){return w},G0:function(){return u},JY:function(){return P},M3:function(){return I},Nx:function(){return O},Sg:function(){return m},VG:function(){return y},W9:function(){return b},Yf:function(){return M},e4:function(){return d},gp:function(){return z},i0:function(){return h},jh:function(){return v},pu:function(){return _},px:function(){return f},qE:function(){return p},vE:function(){return g},vr:function(){return x}});n(39469);var i=n(91519),o=n(90500),s=n(23685),r=n(71784);const a=Math.PI/180;let l=Math.random;const c={nextFrame:t=>requestAnimationFrame(t),cancel:t=>{cancelAnimationFrame(t)}};function u(){return p(l(),0,1-Number.EPSILON)}function d(t,e){return u()*(e-t)+t}function h(t){return c.nextFrame(t)}function f(t){c.cancel(t)}function p(t,e,n){return Math.min(Math.max(t,e),n)}function v(t,e,n,i){return Math.floor((t*n+e*i)/(n+i))}function g(t){const e=b(t);let n=m(t);return e===n&&(n=0),d(n,e)}function y(t){return(0,r.Et)(t)?t:g(t)}function m(t){return(0,r.Et)(t)?t:t.min}function b(t){return(0,r.Et)(t)?t:t.max}function w(t,e){if(t===e||void 0===e&&(0,r.Et)(t))return t;const n=m(t),i=b(t);return void 0!==e?{min:Math.min(n,e),max:Math.max(i,e)}:w(n,i)}function x(t,e){const n=t.x-e.x,i=t.y-e.y;return{dx:n,dy:i,distance:Math.hypot(n,i)}}function k(t,e){const n=t.x-e.x,i=t.y-e.y;return n*n+i*i}function M(t,e){return Math.sqrt(k(t,e))}function z(t,e,n){return k(t,e)<=n*n}function _(t){return t*a}function P(t,e,n){if((0,r.Et)(t))return _(t);switch(t){case i.F.top:return.5*-Math.PI;case i.F.topRight:return.25*-Math.PI;case i.F.right:return 0;case i.F.bottomRight:return.25*Math.PI;case i.F.bottom:return.5*Math.PI;case i.F.bottomLeft:return.75*Math.PI;case i.F.left:return Math.PI;case i.F.topLeft:return.75*-Math.PI;case i.F.inside:return Math.atan2(n.y-e.y,n.x-e.x);case i.F.outside:return Math.atan2(e.y-n.y,e.x-n.x);default:return u()*o.R1}}function S(t){const e=s.M.origin;return e.length=1,e.angle=t,e}function O(t){var e,n;const{position:i,size:o}=t;return{x:null!==(e=null==i?void 0:i.x)&&void 0!==e?e:u()*o.width,y:null!==(n=null==i?void 0:i.y)&&void 0!==n?n:u()*o.height}}function I(t){return t?t.endsWith("%")?parseFloat(t)/100:parseFloat(t):1}},9310:function(t,e,n){n.d(e,{Z:function(){return o},y:function(){return s}});n(62953);var i=n(38947);function o(t,...e){for(const n of e)t.load(n)}function s(t,e,...n){const s=new i.U(t,e);return o(s,...n),s}},71784:function(t,e,n){function i(t){return"boolean"==typeof t}function o(t){return"string"==typeof t}function s(t){return"number"==typeof t}function r(t){return"object"==typeof t&&null!==t}function a(t){return Array.isArray(t)}function l(t){return null==t}n.d(e,{Et:function(){return s},Gv:function(){return r},Kg:function(){return o},Lm:function(){return i},cy:function(){return a},kZ:function(){return l}})},35128:function(t,e,n){n.d(e,{AE:function(){return x},BR:function(){return g},E9:function(){return S},HQ:function(){return A},Kp:function(){return C},Ot:function(){return G},T5:function(){return p},TA:function(){return z},Tj:function(){return w},UC:function(){return O},Vh:function(){return b},Xs:function(){return _},hJ:function(){return E},hn:function(){return m},lV:function(){return v},tG:function(){return y},td:function(){return I},wJ:function(){return M},zw:function(){return k}});var i=n(86518),o=(n(74423),n(26910),n(55081),n(18111),n(20116),n(61701),n(13579),n(33110),n(45367),n(92731),n(3362),n(17642),n(58004),n(33853),n(45876),n(32475),n(15024),n(31698),n(62953),n(65746)),s=n(71784),r=n(86496),a=n(63082),l=n(32122),c=n(54541),u=n(88366),d=n(15695);n(23685);const h=["mode"],f=0;function p(){return globalThis.document}function v(t){if("undefined"!=typeof matchMedia)return matchMedia(t)}function g(t){if("undefined"!=typeof IntersectionObserver)return new IntersectionObserver(t)}function y(t){if("undefined"!=typeof MutationObserver)return new MutationObserver(t)}function m(t,e){return t===e||(0,s.cy)(e)&&e.includes(t)}function b(t,e,n=!0){return t[void 0!==e&&n?e%t.length:function(t){return Math.floor((0,o.G0)()*t.length)}(t)]}function w(t,e,n,i,o){return function(t,e,n,i){let o=!0;i&&i!==c.v.bottom||(o=t.top<e.height+n.x);!o||i&&i!==c.v.left||(o=t.right>n.x);!o||i&&i!==c.v.right||(o=t.left<e.width+n.y);!o||i&&i!==c.v.top||(o=t.bottom>n.y);return o}(x(t,null!=i?i:f),e,n,o)}function x(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function k(t,...e){for(const n of e){if((0,s.kZ)(n))continue;if(!(0,s.Gv)(n)){t=n;continue}Array.isArray(n)?Array.isArray(t)||(t=[]):(0,s.Gv)(t)&&!Array.isArray(t)||(t={});const e=Object.keys(n),i=new Set(["__proto__","constructor","prototype"]);if(!e.some(t=>{const e=n[t];return(0,s.Gv)(e)||Array.isArray(e)})){const o=n,s=t;for(const t of e)if(!i.has(t)&&t in o){const e=o[t];void 0!==e&&(s[t]=e)}continue}for(const o of e){if(i.has(o))continue;const e=t,s=n[o];e[o]=Array.isArray(s)?s.map(t=>k(void 0,t)):k(e[o],s)}}return t}function M(t,e){return(0,s.cy)(t)?t.map((t,n)=>e(t,n)):e(t,0)}function z(t,e,n){return(0,s.cy)(t)?b(t,e,n):t}function _(t,e){const n=t.value,i=t.animation,s={delayTime:1e3*(0,o.VG)(i.delay),enable:i.enable,value:(0,o.VG)(t.value)*e,max:(0,o.W9)(n)*e,min:(0,o.Sg)(n)*e,loops:0,maxLoops:(0,o.VG)(i.count),time:0};if(i.enable){switch(s.decay=1-(0,o.VG)(i.decay),i.mode){case r.g.increase:s.status=a.H.increasing;break;case r.g.decrease:s.status=a.H.decreasing;break;case r.g.random:s.status=(0,o.G0)()>=.5?a.H.increasing:a.H.decreasing}const t=i.mode===r.g.auto;switch(i.startValue){case d.S.min:s.value=s.min,t&&(s.status=a.H.increasing);break;case d.S.max:s.value=s.max,t&&(s.status=a.H.decreasing);break;case d.S.random:default:s.value=(0,o.vE)(s),t&&(s.status=(0,o.G0)()>=.5?a.H.increasing:a.H.decreasing)}}return s.initialValue=s.value,s}function P(t,e){if(!(t.mode===u.q.percent)){const{mode:e}=t;return(0,i.A)(t,h)}return"x"in t?{x:t.x/100*e.width,y:t.y/100*e.height}:{width:t.width/100*e.width,height:t.height/100*e.height}}function S(t,e){return P(t,e)}function O(t,e,n,i,s){var r,c,u,d,h,f,p,v,g,y;if(t.destroyed||!e.enable||(null!==(r=e.maxLoops)&&void 0!==r?r:0)>0&&(null!==(c=e.loops)&&void 0!==c?c:0)>(null!==(u=e.maxLoops)&&void 0!==u?u:0))return;const m=(null!==(d=e.velocity)&&void 0!==d?d:0)*s.factor,b=e.min,w=e.max,x=null!==(h=e.decay)&&void 0!==h?h:1;if(null!==(f=e.time)&&void 0!==f||(e.time=0),(null!==(p=e.delayTime)&&void 0!==p?p:0)>0&&e.time<(null!==(v=e.delayTime)&&void 0!==v?v:0)&&(e.time+=s.value),!((null!==(g=e.delayTime)&&void 0!==g?g:0)>0&&e.time<(null!==(y=e.delayTime)&&void 0!==y?y:0))){switch(e.status){case a.H.increasing:e.value+=m;break;case a.H.decreasing:e.value-=m}switch(e.velocity&&1!==x&&(e.velocity*=x),e.status){case a.H.increasing:var k;if(e.value>=w)n?e.status=a.H.decreasing:e.value-=w,null!==(k=e.loops)&&void 0!==k||(e.loops=0),e.loops++;break;case a.H.decreasing:var M;if(e.value<=b)n?e.status=a.H.increasing:e.value+=w,null!==(M=e.loops)&&void 0!==M||(e.loops=0),e.loops++}!function(t,e,n,i,o){switch(e){case l.V.max:n>=o&&t.destroy();break;case l.V.min:n<=i&&t.destroy()}}(t,i,e.value,b,w),t.destroyed||(e.value=(0,o.qE)(e.value,b,w))}}function I(t){const e=p().createElement("div").style;for(const o in t){var n,i;const r=t[o];if(!(o in t)||(0,s.kZ)(r))continue;const a=null===(n=t.getPropertyValue)||void 0===n?void 0:n.call(t,r);if(!a)continue;const l=null===(i=t.getPropertyPriority)||void 0===i?void 0:i.call(t,r);l?e.setProperty(r,a,l):e.setProperty(r,a)}return e}const E=function(t,e){const n=new Map,i=null==e?void 0:e.maxSize,o=null==e?void 0:e.ttlMs,s=null==e?void 0:e.keyFn,r=(t,e=new WeakSet)=>{if(null===t)return"null";const n=typeof t;if("undefined"===n)return"undefined";if("number"===n||"boolean"===n||"string"===n)return JSON.stringify(t);if("function"===n)try{return t.toString()}catch(i){return'"[Function]"'}if("symbol"===n)try{return t.toString()}catch(o){return'"[Symbol]"'}if(Array.isArray(t))return`[${t.map(t=>r(t,e)).join(",")}]`;if(e.has(t))return'"[Circular]"';e.add(t);return`{${Object.keys(t).sort().map(n=>`${JSON.stringify(n)}:${r(t[n],e)}`).join(",")}}`},a=t=>s?s(t):(t=>r(t))(t);return(...e)=>{const s=a(e),r=Date.now(),l=n.get(s);if(void 0!==l){if(!(o&&r-l.ts>o))return n.delete(s),n.set(s,{value:l.value,ts:l.ts}),l.value;n.delete(s)}const c=t(...e);return n.set(s,{value:c,ts:r}),(()=>{if("number"==typeof i&&i>=0)for(;n.size>i;){const t=n.keys().next().value;if(void 0===t)break;n.delete(t)}})(),c}}(function(t){const e=p().createElement("div").style,n={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:t.toString(10),"z-index":t.toString(10),top:"0",left:"0","pointer-events":"none"};for(const i in n){const t=n[i];void 0!==t&&e.setProperty(i,t)}return e});function C(t,e,n,i,o){if(i){let i={passive:!0};(0,s.Lm)(o)?i.capture=o:void 0!==o&&(i=o),t.addEventListener(e,n,i)}else{const i=o;t.removeEventListener(e,n,i)}}async function A(t,e,n,i=!1){let o=e.get(t);return o&&!i||(o=await Promise.all([...n.values()].map(e=>e(t))),e.set(t,o)),o}async function G(t,e,n,i=!1){let o=e.get(t);if(!o||i){const i=await Promise.all([...n.entries()].map(([e,n])=>n(t).then(t=>[e,t])));o=new Map(i),e.set(t,o)}return o}},61688:function(t,e,n){n.d(e,{A9e:function(){return M.A},jlt:function(){return p.jl},Oit:function(){return z.O},Yzx:function(){return b.Y},v5k:function(){return m.v},x_I:function(){return k.x},M_G:function(){return p.M_},pTR:function(){return h},Miz:function(){return v.M},AEc:function(){return o.AE},qE8:function(){return c.qE},WH8:function(){return 1},zwS:function(){return o.zw},yjn:function(){return i.yj},puj:function(){return c.pu},gdl:function(){return 2},R1e:function(){return i.R1},wJ2:function(){return o.wJ},YfF:function(){return c.Yf},vrU:function(){return c.vr},pzy:function(){return _.pz},OtU:function(){return o.Ot},HQK:function(){return o.HQ},_hh:function(){return _._h},PGG:function(){return _.PG},G0i:function(){return c.G0},W9e:function(){return c.W9},VGA:function(){return c.VG},xxz:function(){return _.xx},MXx:function(){return.5},YLU:function(){return _.YL},ayx:function(){return _.ay},XsS:function(){return o.Xs},kZJ:function(){return P.kZ},Gvm:function(){return P.Gv},Tj8:function(){return o.Tj},TA3:function(){return o.TA},K3:function(){return 1},KpY:function(){return o.Kp},XuV:function(){return 1e3},boI:function(){return i.bo},M3Y:function(){return c.M3},a56:function(){return 100},vEz:function(){return c.vE},R5R:function(){return _.R5},BN0:function(){return _.BN},T5G:function(){return o.T5},BRq:function(){return o.BR},$k3:function(){return S},UC0:function(){return o.UC},JvX:function(){return _.Jv},nKi:function(){return i.nK}});n(89463),n(16280),n(44114),n(18111),n(61701),n(3362),n(62953);var i=n(90500),o=n(35128);n(7588),n(45367),n(92731);class s{addEventListener(t,e){this.removeEventListener(t,e);let n=this._listeners.get(t);n||(n=[],this._listeners.set(t,n)),n.push(e)}dispatchEvent(t,e){const n=this._listeners.get(t);null==n||n.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 n=this._listeners.get(t);if(!n)return;const i=n.length,o=n.indexOf(e);o<0||(1===i?this._listeners.delete(t):n.splice(o,1))}constructor(){this._listeners=new Map}}n(20116),n(17642),n(58004),n(33853),n(45876),n(32475),n(15024),n(31698);var r=n(33904);class a{get configs(){const t={};for(const[e,n]of this._configs)t[e]=n;return t}addColorManager(t,e){this.colorManagers.set(t,e)}addConfig(t){var e,n;const i=null!==(e=null!==(n=t.key)&&void 0!==n?n:t.name)&&void 0!==e?e:"default";this._configs.set(i,t),this._engine.dispatchEvent(r.B.configAdded,{data:{name:i,config:t}})}addEasing(t,e){this.easingFunctions.get(t)||this.easingFunctions.set(t,e)}addEffect(t,e){this.initializers.effects.set(t,e)}addPalette(t,e){this.palettes.set(t,e)}addParticleUpdater(t,e){this.initializers.updaters.set(t,e)}addPlugin(t){this.getPlugin(t.id)||this.plugins.push(t)}addPreset(t,e,n=!1){!n&&this.getPreset(t)||this.presets.set(t,e)}addShape(t,e){for(const n of t)this.initializers.shapes.set(n,e)}clearPlugins(t){this.effectDrawers.delete(t),this.shapeDrawers.delete(t),this.updaters.delete(t)}getEasing(t){var e;return null!==(e=this.easingFunctions.get(t))&&void 0!==e?e:t=>t}getEffectDrawers(t,e=!1){return(0,o.Ot)(t,this.effectDrawers,this.initializers.effects,e)}getPalette(t){return this.palettes.get(t)}getPlugin(t){return this.plugins.find(e=>e.id===t)}getPreset(t){return this.presets.get(t)}async getShapeDrawers(t,e=!1){return(0,o.Ot)(t,this.shapeDrawers,this.initializers.shapes,e)}async getUpdaters(t,e=!1){return(0,o.HQ)(t,this.updaters,this.initializers.updaters,e)}async init(){if(!this._initialized&&!this._isRunningLoaders){this._isRunningLoaders=!0,this._executedSet=new Set,this._allLoadersSet=new Set(this._loadPromises);try{for(const t of this._allLoadersSet)await this._runLoader(t,this._executedSet,this._allLoadersSet)}finally{this._loadPromises.clear(),this._isRunningLoaders=!1,this._initialized=!0}}}loadParticlesOptions(t,e,...n){const i=this.updaters.get(t);i&&i.forEach(t=>{var i;return null===(i=t.loadOptions)||void 0===i?void 0:i.call(t,e,...n)})}async register(...t){if(this._initialized)throw new Error("Register plugins can only be done before calling tsParticles.load()");for(const e of t)this._isRunningLoaders?await this._runLoader(e,this._executedSet,this._allLoadersSet):this._loadPromises.add(e)}async _runLoader(t,e,n){e.has(t)||(e.add(t),n.add(t),await t(this._engine))}constructor(t){this.colorManagers=new Map,this.easingFunctions=new Map,this.effectDrawers=new Map,this.initializers={effects:new Map,shapes:new Map,updaters:new Map},this.palettes=new Map,this.plugins=[],this.presets=new Map,this.shapeDrawers=new Map,this.updaters=new Map,this._allLoadersSet=new Set,this._configs=new Map,this._executedSet=new Set,this._initialized=!1,this._isRunningLoaders=!1,this._loadPromises=new Set,this._engine=t}}var l=n(13250),c=n(65746);const u="100%";class d{get items(){return this._domArray}get version(){return"4.0.5"}addEventListener(t,e){this._eventDispatcher.addEventListener(t,e)}checkVersion(t){if(this.version!==t)throw new Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${t}`)}dispatchEvent(t,e){this._eventDispatcher.dispatchEvent(t,e)}async init(){this._initialized||(await this.pluginManager.init(),this._initialized=!0)}item(t){const{items:e}=this,n=e[t];if(null==n||!n.destroyed)return n;e.splice(t,1)}async load(t){var e,s,r;let a;await this.init(),"undefined"!=typeof HTMLElement&&t.element instanceof HTMLElement&&(a=t.element);const{Container:d}=await n.e(92965).then(n.bind(n,13540)),h=null!==(e=null!==(s=t.id)&&void 0!==s?s:null===(r=a)||void 0===r?void 0:r.id)&&void 0!==e?e:`tsparticles${Math.floor(1e4*(0,c.G0)()).toString()}`,{index:f,url:p}=t,v=p?await async function(t){const e=(0,o.TA)(t.url,t.index);if(!e)return t.fallback;const n=await fetch(e);return n.ok?await n.json():((0,l.t)().error(`${n.status.toString()} while retrieving config file`),t.fallback)}({fallback:t.options,url:p,index:f}):t.options,g=(0,o.TA)(v,f),{items:y}=this,m=y.findIndex(t=>t.id.description===h),b=new d({dispatchCallback:(t,e)=>{this.dispatchEvent(t,e)},id:h,onDestroy:t=>{if(!t)return;const e=this.items,n=e.indexOf(b);n>=0&&e.splice(n,1)},pluginManager:this.pluginManager,sourceOptions:g});if(m>=0){const t=this.item(m),e=t?1:0;t&&!t.destroyed&&t.destroy(!1),y.splice(m,e,b)}else y.push(b);const w="undefined"!=typeof OffscreenCanvas&&t.element instanceof OffscreenCanvas?t.element:(t=>{const e=(0,o.T5)();let n;if(t instanceof HTMLCanvasElement||"canvas"===t.tagName.toLowerCase()){var s,r,a,l;n=t,null!==(r=(s=n.dataset)[i.eb])&&void 0!==r||(s[i.eb]="false"),"true"===n.dataset[i.eb]&&((a=n.style).width||(a.width=u),(l=n.style).height||(l.height=u),n.style.pointerEvents="none",n.style.setProperty("pointer-events","none"))}else{var c,d;const o=t.getElementsByTagName("canvas").item(0);o?(n=o,n.dataset[i.eb]="false"):(n=e.createElement("canvas"),n.dataset[i.eb]="true",t.appendChild(n)),(c=n.style).width||(c.width=u),(d=n.style).height||(d.height=u),n.style.pointerEvents="none",n.style.setProperty("pointer-events","none")}return n})(((t,e)=>{const n=(0,o.T5)();let s=null!=e?e:n.getElementById(t);return s||(s=n.createElement("canvas"),s.id=t,s.dataset[i.eb]="true",n.body.append(s),s)})(h,a));return b.canvas.loadCanvas(w),await b.start(),b}async refresh(t=!0){t&&await Promise.all(this.items.map(t=>t.refresh()))}removeEventListener(t,e){this._eventDispatcher.removeEventListener(t,e)}constructor(){this.pluginManager=new a(this),this._domArray=[],this._eventDispatcher=new s,this._initialized=!1}}var h,f,p=n(52531),v=n(23685);n(91519);(f=h||(h={})).clockwise="clockwise",f.counterClockwise="counter-clockwise",f.random="random";var g,y,m=n(54541),b=(n(86496),n(24881),n(39814));n(88366),n(4980),n(32122);(y=g||(g={})).linear="linear",y.radial="radial",y.random="random";var w,x,k=n(46398);n(15695);(x=w||(w={})).easeInBack="ease-in-back",x.easeInBounce="ease-in-bounce",x.easeInCirc="ease-in-circ",x.easeInCubic="ease-in-cubic",x.easeInElastic="ease-in-elastic",x.easeInExpo="ease-in-expo",x.easeInGaussian="ease-in-gaussian",x.easeInLinear="ease-in-linear",x.easeInQuad="ease-in-quad",x.easeInQuart="ease-in-quart",x.easeInQuint="ease-in-quint",x.easeInSigmoid="ease-in-sigmoid",x.easeInSine="ease-in-sine",x.easeInSmoothstep="ease-in-smoothstep",x.easeOutBack="ease-out-back",x.easeOutBounce="ease-out-bounce",x.easeOutCirc="ease-out-circ",x.easeOutCubic="ease-out-cubic",x.easeOutElastic="ease-out-elastic",x.easeOutExpo="ease-out-expo",x.easeOutGaussian="ease-out-gaussian",x.easeOutLinear="ease-out-linear",x.easeOutQuad="ease-out-quad",x.easeOutQuart="ease-out-quart",x.easeOutQuint="ease-out-quint",x.easeOutSigmoid="ease-out-sigmoid",x.easeOutSine="ease-out-sine",x.easeOutSmoothstep="ease-out-smoothstep",x.easeInOutBack="ease-in-out-back",x.easeInOutBounce="ease-in-out-bounce",x.easeInOutCirc="ease-in-out-circ",x.easeInOutCubic="ease-in-out-cubic",x.easeInOutElastic="ease-in-out-elastic",x.easeInOutExpo="ease-in-out-expo",x.easeInOutGaussian="ease-in-out-gaussian",x.easeInOutLinear="ease-in-out-linear",x.easeInOutQuad="ease-in-out-quad",x.easeInOutQuart="ease-in-out-quart",x.easeInOutQuint="ease-in-out-quint",x.easeInOutSigmoid="ease-in-out-sigmoid",x.easeInOutSine="ease-in-out-sine",x.easeInOutSmoothstep="ease-in-out-smoothstep";n(63082);var M=n(48702),z=(n(56209),n(64574),n(64437),n(46359),n(98451)),_=(n(98898),n(87662),n(38947),n(16088),n(11349),n(20357),n(84634),n(18155),n(99535),n(39722),n(45935),n(66573),n(72003),n(18747),n(86862),n(51638),n(31710),n(70818),n(33122),n(96730),n(66208),n(14963),n(15620),n(53461)),P=(n(9310),n(71784));const S=new d},1526:function(t,e,n){var i;n.d(e,{Q:function(){return i}}),function(t){t.circle="circle",t.rectangle="rectangle"}(i||(i={}))},92773:function(t,e,n){var i;n.d(e,{h:function(){return i}}),function(t){t.canvas="canvas",t.parent="parent",t.window="window"}(i||(i={}))},57970:function(t,e,n){var i;n.d(e,{e:function(){return i}}),function(t){t.external="external",t.particles="particles"}(i||(i={}))},21677:function(t,e,n){n.d(e,{G:function(){return s}});var i=n(61688),o=n(1526);class s{load(t){(0,i.kZJ)(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))}constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=o.Q.circle}}},39121:function(t,e,n){n.d(e,{k:function(){return u}});var i=n(61688);class o{load(t){(0,i.kZJ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode))}constructor(){this.enable=!1,this.mode=[]}}var s=n(21677);class r{load(t){(0,i.kZJ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode))}constructor(){this.enable=!1,this.mode=[]}}class a{load(t){if((0,i.kZJ)(t))return;this.onClick.load(t.onClick);const e=t.onDiv;void 0!==e&&(this.onDiv=(0,i.wJ2)(e,t=>{const e=new s.G;return e.load(t),e})),this.onHover.load(t.onHover)}constructor(){this.onClick=new o,this.onDiv=new s.G,this.onHover=new r}}var l=n(92773),c=n(10621);class u{load(t){if((0,i.kZJ)(t))return;const e=t.detectsOn;void 0!==e&&(this.detectsOn=e),this.events.load(t.events),this.modes.load(t.modes)}constructor(t,e){this.detectsOn=l.h.window,this.events=new a,this.modes=new c.d(t,e)}}},10621:function(t,e,n){n.d(e,{d:function(){return o}});n(62953);var i=n(61688);class o{load(t){var e;if((0,i.kZJ)(t))return;if(!this._container)return;const n=null===(e=this._pluginManager.interactors)||void 0===e?void 0:e.get(this._container);if(n)for(const i of n)i.loadModeOptions&&i.loadModeOptions(this,t)}constructor(t,e){this._pluginManager=t,this._container=e}}},23546:function(t,e,n){n.d(e,{p:function(){return tt}});n(3362),n(62953);var i=n(61688);class o{load(t){(0,i.kZJ)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.enable&&(this.enable=t.enable))}constructor(){this.mode="destination-out",this.enable=!1}}class s{async getPlugin(t){const{BlendPluginInstance:e}=await n.e(99176).then(n.bind(n,155));return new e(t)}loadOptions(t,e,n){var i;if(!this.needsPlugin(e)&&!this.needsPlugin(n))return;let s=e.blend;null!==(i=s)&&void 0!==i&&i.load||(e.blend=s=new o),s.load(null==n?void 0:n.blend)}loadParticlesOptions(t,e,n){var i;null!==(i=e.blend)&&void 0!==i||(e.blend=new o),e.blend.load(null==n?void 0:n.blend)}needsPlugin(t){var e,n;return!(null==t||null===(e=t.blend)||void 0===e||!e.enable)||!(null==t||null===(n=t.particles)||void 0===n||null===(n=n.blend)||void 0===n||!n.enable)}constructor(){this.id="blend"}}async function r(t){t.checkVersion("4.0.5"),await t.pluginManager.register(t=>{t.pluginManager.addPlugin(new s)})}class a{draw(t){!function(t){var e;const{context:n,particle:o,radius:s}=t;null!==(e=o.circleRange)&&void 0!==e||(o.circleRange={min:0,max:i.R1e});const r=o.circleRange;n.arc(i.boI.x,i.boI.y,s,r.min,r.max,!1)}(t)}getSidesCount(){return 12}particleInit(t,e){var n;const o=e.shapeData,s=null!==(n=null==o?void 0:o.angle)&&void 0!==n?n:{max:360,min:0};e.circleRange=(0,i.Gvm)(s)?{min:(0,i.puj)(s.min),max:(0,i.puj)(s.max)}:{min:0,max:(0,i.puj)(s)}}}async function l(t){t.checkVersion("4.0.5"),await t.pluginManager.register(t=>{t.pluginManager.addShape(["circle"],()=>Promise.resolve(new a))})}var c,u;n(27495),n(25440);(u=c||(c={}))[u.r=1]="r",u[u.g=2]="g",u[u.b=3]="b",u[u.a=4]="a";const d=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,h=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i;class f{accepts(t){return t.startsWith("#")}handleColor(t){return this._parseString(t.value)}handleRangeColor(t){return this._parseString(t.value)}parseString(t){return this._parseString(t)}_parseString(t){var e,n,i;if("string"!=typeof t||!this.accepts(t))return;const o=t.replace(d,(t,e,n,i,o)=>e+e+n+n+i+i+(void 0===o?"":o+o)),s=h.exec(o);return s?{a:s[c.a]?Number.parseInt(s[c.a],16)/255:1,b:Number.parseInt(null!==(e=s[c.b])&&void 0!==e?e:"0",16),g:Number.parseInt(null!==(n=s[c.g])&&void 0!==n?n:"0",16),r:Number.parseInt(null!==(i=s[c.r])&&void 0!==i?i:"0",16)}:void 0}}async function p(t){t.checkVersion("4.0.5"),await t.pluginManager.register(t=>{t.pluginManager.addColorManager("hex",new f)})}var v,g;(g=v||(v={}))[g.h=1]="h",g[g.s=2]="s",g[g.l=3]="l",g[g.a=5]="a";const y=/hsla?\(\s*(\d+)\s*[\s,]\s*(\d+)%\s*[\s,]\s*(\d+)%\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i;class m{accepts(t){return t.startsWith("hsl")}handleColor(t){var e;const n=null!==(e=t.value.hsl)&&void 0!==e?e:t.value;if("h"in n&&"s"in n&&"l"in n)return(0,i.YLU)(n)}handleRangeColor(t){var e;const n=null!==(e=t.value.hsl)&&void 0!==e?e:t.value;if("h"in n&&"s"in n&&"l"in n)return(0,i.YLU)({h:(0,i.VGA)(n.h),l:(0,i.VGA)(n.l),s:(0,i.VGA)(n.s)})}parseString(t){var e,n,o;if(!this.accepts(t))return;const s=y.exec(t);return s?(0,i.ayx)({a:s.length>4?(0,i.M3Y)(s[v.a]):1,h:Number.parseInt(null!==(e=s[v.h])&&void 0!==e?e:"0",10),l:Number.parseInt(null!==(n=s[v.l])&&void 0!==n?n:"0",10),s:Number.parseInt(null!==(o=s[v.s])&&void 0!==o?o:"0",10)}):void 0}}async function b(t){t.checkVersion("4.0.5"),await t.pluginManager.register(t=>{t.pluginManager.addColorManager("hsl",new m)})}n(16280),n(45367),n(92731);class w{async getPlugin(t){const{MovePluginInstance:e}=await n.e(77989).then(n.bind(n,51300));return new e(this._pluginManager,t)}loadOptions(){}needsPlugin(){return!0}constructor(t){this.id="move",this._pluginManager=t}}async function x(t){t.checkVersion("4.0.5"),await t.pluginManager.register(t=>{var e,n,o;const s=t.pluginManager;null!==(n=(e=s.initializers).pathGenerators)&&void 0!==n||(e.pathGenerators=new Map),null!==(o=s.pathGenerators)&&void 0!==o||(s.pathGenerators=new Map),s.addPathGenerator=(t,e)=>{var n,i;null!==(i=(n=s.initializers).pathGenerators)&&void 0!==i||(n.pathGenerators=new Map),s.initializers.pathGenerators.set(t,e)},s.getPathGenerators=async(t,e=!1)=>{var n,o,r;return null!==(o=(n=s.initializers).pathGenerators)&&void 0!==o||(n.pathGenerators=new Map),null!==(r=s.pathGenerators)&&void 0!==r||(s.pathGenerators=new Map),(0,i.OtU)(t,s.pathGenerators,s.initializers.pathGenerators,e)},t.pluginManager.addPlugin(new w(t.pluginManager))})}class k{init(t){const e=t.options.opacity;t.opacity=(0,i.XsS)(e,1);const n=e.animation;n.enable&&(t.opacity.velocity=(0,i.VGA)(n.speed)/i.a56*this.container.retina.reduceFactor,n.sync||(t.opacity.velocity*=(0,i.G0i)()))}isEnabled(t){var e,n,i,o;return!t.destroyed&&!t.spawning&&!!t.opacity&&t.opacity.enable&&((null!==(e=t.opacity.maxLoops)&&void 0!==e?e:0)<=0||(null!==(n=t.opacity.maxLoops)&&void 0!==n?n:0)>0&&(null!==(i=t.opacity.loops)&&void 0!==i?i:0)<(null!==(o=t.opacity.maxLoops)&&void 0!==o?o:0))}reset(t){t.opacity&&(t.opacity.time=0,t.opacity.loops=0)}update(t,e){this.isEnabled(t)&&t.opacity&&(0,i.UC0)(t,t.opacity,!0,t.options.opacity.animation.destroy,e)}constructor(t){this.container=t}}async function M(t){t.checkVersion("4.0.5"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("opacity",t=>Promise.resolve(new k(t)))})}n(74423),n(18111),n(22489);class z{update(t,e,n,o){if(!this.modes.includes(o))return;const s=this.container;let r=!1;for(const i of this._particleBouncePlugins){var a,l;if(r=null!==(a=null===(l=i.particleBounce)||void 0===l?void 0:l.call(i,t,n,e))&&void 0!==a&&a,r)break}if(r)return;const c=t.getPosition(),u=t.offset,d=t.getRadius(),h=(0,i.AEc)(c,d),f=s.canvas.size;!function(t){if(t.outMode!==i.Yzx.bounce&&t.outMode!==i.Yzx.split||t.direction!==i.v5k.left&&t.direction!==i.v5k.right)return;t.bounds.right<0&&t.direction===i.v5k.left?t.particle.position.x=t.size+t.offset.x:t.bounds.left>t.canvasSize.width&&t.direction===i.v5k.right&&(t.particle.position.x=t.canvasSize.width-t.size-t.offset.x);const e=t.particle.velocity.x;let n=!1;if(t.direction===i.v5k.right&&t.bounds.right>=t.canvasSize.width&&e>0||t.direction===i.v5k.left&&t.bounds.left<=0&&e<0){const e=(0,i.VGA)(t.particle.options.bounce.horizontal.value);t.particle.velocity.x*=-e,n=!0}if(!n)return;const o=t.offset.x+t.size;t.bounds.right>=t.canvasSize.width&&t.direction===i.v5k.right?t.particle.position.x=t.canvasSize.width-o:t.bounds.left<=0&&t.direction===i.v5k.left&&(t.particle.position.x=o),t.outMode===i.Yzx.split&&t.particle.destroy()}({particle:t,outMode:o,direction:e,bounds:h,canvasSize:f,offset:u,size:d}),function(t){if(t.outMode!==i.Yzx.bounce&&t.outMode!==i.Yzx.split||t.direction!==i.v5k.bottom&&t.direction!==i.v5k.top)return;t.bounds.bottom<0&&t.direction===i.v5k.top?t.particle.position.y=t.size+t.offset.y:t.bounds.top>t.canvasSize.height&&t.direction===i.v5k.bottom&&(t.particle.position.y=t.canvasSize.height-t.size-t.offset.y);const e=t.particle.velocity.y;let n=!1;if(t.direction===i.v5k.bottom&&t.bounds.bottom>=t.canvasSize.height&&e>0||t.direction===i.v5k.top&&t.bounds.top<=0&&e<0){const e=(0,i.VGA)(t.particle.options.bounce.vertical.value);t.particle.velocity.y*=-e,n=!0}if(!n)return;const o=t.offset.y+t.size;t.bounds.bottom>=t.canvasSize.height&&t.direction===i.v5k.bottom?t.particle.position.y=t.canvasSize.height-o:t.bounds.top<=0&&t.direction===i.v5k.top&&(t.particle.position.y=o),t.outMode===i.Yzx.split&&t.particle.destroy()}({particle:t,outMode:o,direction:e,bounds:h,canvasSize:f,offset:u,size:d})}constructor(t){this.container=t,this.modes=[i.Yzx.bounce,i.Yzx.split],this._particleBouncePlugins=t.plugins.filter(t=>void 0!==t.particleBounce)}}class _{update(t,e,n,o){if(!this.modes.includes(o))return;const s=this.container;switch(t.outType){case i.x_I.normal:case i.x_I.outside:if((0,i.Tj8)(t.position,s.canvas.size,i.boI,t.getRadius(),e))return;break;case i.x_I.inside:{const{dx:e,dy:n}=(0,i.vrU)(t.position,t.moveCenter),{x:o,y:s}=t.velocity;if(o<0&&e>t.moveCenter.radius||s<0&&n>t.moveCenter.radius||o>=0&&e<-t.moveCenter.radius||s>=0&&n<-t.moveCenter.radius)return;break}}t.destroy(!0)}constructor(t){this.container=t,this.modes=[i.Yzx.destroy]}}class P{update(t,e,n,o){var s;if(!this.modes.includes(o))return;if(null!==(s=t.options.move.distance.horizontal&&(e===i.v5k.left||e===i.v5k.right))&&void 0!==s?s:t.options.move.distance.vertical&&(e===i.v5k.top||e===i.v5k.bottom))return;const r=t.options.move.gravity,a=this.container,l=a.canvas.size,c=t.getRadius();if(r.enable){const n=t.position;(!r.inverse&&n.y>l.height+c&&e===i.v5k.bottom||r.inverse&&n.y<-c&&e===i.v5k.top)&&t.destroy()}else{if(t.velocity.y>0&&t.position.y<=l.height+c||t.velocity.y<0&&t.position.y>=-c||t.velocity.x>0&&t.position.x<=l.width+c||t.velocity.x<0&&t.position.x>=-c)return;(0,i.Tj8)(t.position,a.canvas.size,i.boI,c,e)||t.destroy()}}constructor(t){this.container=t,this.modes=[i.Yzx.none]}}const S=i.Miz.origin;class O{update(t,e,n,o){if(!this.modes.includes(o))return;const s=this.container;switch(t.outType){case i.x_I.inside:{const{x:e,y:n}=t.velocity;S.setTo(i.boI),S.length=t.moveCenter.radius,S.angle=t.velocity.angle+Math.PI,S.addTo(t.moveCenter);const{dx:o,dy:r}=(0,i.vrU)(t.position,S);if(e<=0&&o>=0||n<=0&&r>=0||e>=0&&o<=0||n>=0&&r<=0)return;t.position.x=Math.floor((0,i.vEz)({min:0,max:s.canvas.size.width})),t.position.y=Math.floor((0,i.vEz)({min:0,max:s.canvas.size.height}));const{dx:a,dy:l}=(0,i.vrU)(t.position,t.moveCenter);t.direction=Math.atan2(-l,-a),t.velocity.angle=t.direction,t.justWarped=!0;break}default:if((0,i.Tj8)(t.position,s.canvas.size,i.boI,t.getRadius(),e))return;switch(t.outType){case i.x_I.outside:{t.position.x=Math.floor((0,i.vEz)({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.x,t.position.y=Math.floor((0,i.vEz)({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.y;const{dx:e,dy:n}=(0,i.vrU)(t.position,t.moveCenter);t.moveCenter.radius&&(t.direction=Math.atan2(n,e),t.velocity.angle=t.direction),t.justWarped=!0;break}case i.x_I.normal:{const n=t.options.move.warp,o=s.canvas.size,r={bottom:o.height+t.getRadius()+t.offset.y,left:-t.getRadius()-t.offset.x,right:o.width+t.getRadius()+t.offset.x,top:-t.getRadius()-t.offset.y},a=t.getRadius(),l=(0,i.AEc)(t.position,a);e===i.v5k.right&&l.left>o.width+t.offset.x?(t.position.x=r.left,t.initialPosition.x=t.position.x,n||(t.position.y=(0,i.G0i)()*o.height,t.initialPosition.y=t.position.y),t.justWarped=!0):e===i.v5k.left&&l.right<-t.offset.x&&(t.position.x=r.right,t.initialPosition.x=t.position.x,n||(t.position.y=(0,i.G0i)()*o.height,t.initialPosition.y=t.position.y),t.justWarped=!0),e===i.v5k.bottom&&l.top>o.height+t.offset.y?(n||(t.position.x=(0,i.G0i)()*o.width,t.initialPosition.x=t.position.x),t.position.y=r.top,t.initialPosition.y=t.position.y,t.justWarped=!0):e===i.v5k.top&&l.bottom<-t.offset.y&&(n||(t.position.x=(0,i.G0i)()*o.width,t.initialPosition.x=t.position.x),t.position.y=r.bottom,t.initialPosition.y=t.position.y,t.justWarped=!0);break}}}}constructor(t){this.container=t,this.modes=[i.Yzx.out]}}class I{init(t){this._addUpdaterIfMissing(t,i.Yzx.bounce,t=>new z(t)),this._addUpdaterIfMissing(t,i.Yzx.out,t=>new O(t)),this._addUpdaterIfMissing(t,i.Yzx.destroy,t=>new _(t)),this._addUpdaterIfMissing(t,i.Yzx.none,t=>new P(t))}isEnabled(t){return!t.destroyed&&!t.spawning}update(t,e){var n,o,s,r;const a=t.options.move.outModes;t.justWarped=!1,this._updateOutMode(t,e,null!==(n=a.bottom)&&void 0!==n?n:a.default,i.v5k.bottom),this._updateOutMode(t,e,null!==(o=a.left)&&void 0!==o?o:a.default,i.v5k.left),this._updateOutMode(t,e,null!==(s=a.right)&&void 0!==s?s:a.default,i.v5k.right),this._updateOutMode(t,e,null!==(r=a.top)&&void 0!==r?r:a.default,i.v5k.top)}constructor(t){this._addUpdaterIfMissing=(t,e,n)=>{const i=t.options.move.outModes;!this.updaters.has(e)&&((t,e)=>t.default===e||t.bottom===e||t.left===e||t.right===e||t.top===e)(i,e)&&this.updaters.set(e,n(this.container))},this._updateOutMode=(t,e,n,i)=>{for(const o of this.updaters.values())o.update(t,i,e,n)},this.container=t,this.updaters=new Map}}async function E(t){t.checkVersion("4.0.5"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("outModes",t=>Promise.resolve(new I(t)))})}class C{init(t){const e=this._container,n=t.options,o=(0,i.TA3)(n.paint,t.id,n.reduceDuplicates),s=null==o?void 0:o.color,r=null!=s?s:void 0,a=null==o?void 0:o.fill,l=null==o?void 0:o.stroke;if(a){const n=i.A9e.create(void 0===r?void 0:i.A9e.create(void 0,r),a.color);t.fillEnabled=a.enable,t.fillOpacity=(0,i.VGA)(a.opacity),t.fillAnimation=n.animation;const o=(0,i.R5R)(this._pluginManager,n);o&&(t.fillColor=(0,i.pzy)(o,t.fillAnimation,e.retina.reduceFactor))}else t.fillEnabled=!1,t.fillAnimation=void 0,t.fillColor=void 0,t.fillOpacity=1;if(l){var c,u;const n=i.A9e.create(void 0===r?void 0:i.A9e.create(void 0,r),l.color);t.strokeWidth=(0,i.VGA)(l.width)*e.retina.pixelRatio,t.strokeOpacity=(0,i.VGA)(null!==(c=l.opacity)&&void 0!==c?c:1),t.strokeAnimation=n.animation;const o=null!==(u=(0,i.R5R)(this._pluginManager,n))&&void 0!==u?u:t.getFillColor();o&&(t.strokeColor=(0,i.pzy)(o,t.strokeAnimation,e.retina.reduceFactor))}else t.strokeAnimation=void 0,t.strokeColor=void 0,t.strokeOpacity=1,t.strokeWidth=0}isEnabled(t){const{fillAnimation:e,fillColor:n,strokeAnimation:i,strokeColor:o}=t,s=!!e&&(void 0!==(null==n?void 0:n.h.value)&&n.h.enable||void 0!==(null==n?void 0:n.s.value)&&n.s.enable||void 0!==(null==n?void 0:n.l.value)&&n.l.enable),r=!!i&&(void 0!==(null==o?void 0:o.h.value)&&o.h.enable||void 0!==(null==o?void 0:o.s.value)&&o.s.enable||void 0!==(null==o?void 0:o.l.value)&&o.l.enable);return!t.destroyed&&!t.spawning&&(s||r)}update(t,e){this.isEnabled(t)&&((0,i.JvX)(t.fillColor,e),(0,i.JvX)(t.strokeColor,e))}constructor(t,e){this._container=e,this._pluginManager=t}}async function A(t){t.checkVersion("4.0.5"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("paint",e=>Promise.resolve(new C(t.pluginManager,e)))})}var G;!function(t){t[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=5]="a"}(G||(G={}));const L=/rgba?\(\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i;class T{accepts(t){return t.startsWith("rgb")}handleColor(t){var e;const n=null!==(e=t.value.rgb)&&void 0!==e?e:t.value;if("r"in n&&"g"in n&&"b"in n)return n}handleRangeColor(t){var e;const n=null!==(e=t.value.rgb)&&void 0!==e?e:t.value;if("r"in n&&"g"in n&&"b"in n)return{r:(0,i.VGA)(n.r),g:(0,i.VGA)(n.g),b:(0,i.VGA)(n.b)}}parseString(t){var e,n,o;if(!this.accepts(t))return;const s=L.exec(t);return s?{a:s.length>4?(0,i.M3Y)(s[G.a]):1,b:parseInt(null!==(e=s[G.b])&&void 0!==e?e:"0",10),g:parseInt(null!==(n=s[G.g])&&void 0!==n?n:"0",10),r:parseInt(null!==(o=s[G.r])&&void 0!==o?o:"0",10)}:void 0}}async function R(t){t.checkVersion("4.0.5"),await t.pluginManager.register(t=>{t.pluginManager.addColorManager("rgb",new T)})}class D{init(t){const e=this._container,n=t.options.size.animation;n.enable&&(t.size.velocity=t.retina.sizeAnimationSpeed/i.a56*e.retina.reduceFactor,n.sync||(t.size.velocity*=(0,i.G0i)()))}isEnabled(t){var e,n,i,o;return!t.destroyed&&!t.spawning&&t.size.enable&&((null!==(e=t.size.maxLoops)&&void 0!==e?e:0)<=0||(null!==(n=t.size.maxLoops)&&void 0!==n?n:0)>0&&(null!==(i=t.size.loops)&&void 0!==i?i:0)<(null!==(o=t.size.maxLoops)&&void 0!==o?o:0))}reset(t){t.size.time=0,t.size.loops=0}update(t,e){this.isEnabled(t)&&(0,i.UC0)(t,t.size,!0,t.options.size.animation.destroy,e)}constructor(t){this._container=t}}async function V(t){t.checkVersion("4.0.5"),await t.pluginManager.register(t=>{t.pluginManager.addParticleUpdater("size",t=>Promise.resolve(new D(t)))})}async function Z(t){t.checkVersion("4.0.5"),await t.pluginManager.register(async t=>{await Promise.all([r(t),p(t),b(t),R(t),x(t),l(t),A(t),M(t),E(t),V(t)])})}n(7588);var F=n(39121);class j{async getPlugin(t){const{InteractivityPluginInstance:e}=await n.e(87510).then(n.bind(n,1973));return new e(this._pluginManager,t)}loadOptions(t,e,n){var i,o;if(!this.needsPlugin())return;let s=e.interactivity;null!==(i=s)&&void 0!==i&&i.load||(e.interactivity=s=new F.k(this._pluginManager,t)),s.load(null==n?void 0:n.interactivity);const r=null===(o=this._pluginManager.interactors)||void 0===o?void 0:o.get(t);if(r)for(const a of r)a.loadOptions&&a.loadOptions(e,n)}loadParticlesOptions(t,e,n){var o;null!=n&&n.interactivity&&(e.interactivity=(0,i.zwS)({},n.interactivity));const s=null===(o=this._pluginManager.interactors)||void 0===o?void 0:o.get(t);if(s)for(const i of s){var r;null===(r=i.loadParticlesOptions)||void 0===r||r.call(i,e,n)}}needsPlugin(){return!0}constructor(t){this.id="interactivity",this._pluginManager=t}}var q=n(57970);class H{constructor(t){this.type=q.e.particles,this.container=t}}n(1526),n(92773),n(13579);n(21677),n(10621);n(44114),n(39469);class $ extends i.jlt{contains(t){if(super.contains(t))return!0;const{width:e,height:n}=this.canvasSize,{x:i,y:o}=t;return super.contains({x:i-e,y:o})||super.contains({x:i+e,y:o})||super.contains({x:i,y:o-n})||super.contains({x:i,y:o+n})||super.contains({x:i-e,y:o-n})||super.contains({x:i+e,y:o+n})||super.contains({x:i-e,y:o+n})||super.contains({x:i+e,y:o-n})}intersects(t){if(super.intersects(t))return!0;const{width:e,height:n}=this.canvasSize,o=t.position,s=[{x:-e,y:0},{x:e,y:0},{x:0,y:-n},{x:0,y:n},{x:-e,y:-n},{x:e,y:n},{x:-e,y:n},{x:e,y:-n}];for(const r of s){const e={x:o.x+r.x,y:o.y+r.y};let n;if(t instanceof i.jlt)n=new i.jlt(e.x,e.y,t.radius);else{const o=t;n=new i.M_G(e.x,e.y,o.size.width,o.size.height)}if(super.intersects(n))return!0}return!1}constructor(t,e,n,i){super(t,e,n),this.canvasSize=i}}class Y{load(t){(0,i.kZJ)(t)||(void 0!==t.blur&&(this.blur=t.blur),this.color=i.Oit.create(this.color,t.color),void 0!==t.enable&&(this.enable=t.enable))}constructor(){this.blur=5,this.color=new i.Oit,this.color.value="#000",this.enable=!1}}class U{load(t){(0,i.kZJ)(t)||(void 0!==t.color&&(this.color=i.Oit.create(this.color,t.color)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.frequency&&(this.frequency=t.frequency),void 0!==t.opacity&&(this.opacity=t.opacity))}constructor(){this.enable=!1,this.frequency=1}}class B{load(t){(0,i.kZJ)(t)||(void 0!==t.id&&(this.id=t.id),void 0!==t.blink&&(this.blink=t.blink),this.color=i.Oit.create(this.color,t.color),void 0!==t.consent&&(this.consent=t.consent),void 0!==t.distance&&(this.distance=t.distance),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.frequency&&(this.frequency=t.frequency),void 0!==t.opacity&&(this.opacity=t.opacity),this.shadow.load(t.shadow),this.triangles.load(t.triangles),void 0!==t.width&&(this.width=t.width),void 0!==t.warp&&(this.warp=t.warp))}constructor(){this.blink=!1,this.color=new i.Oit,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new Y,this.triangles=new U,this.width=1,this.warp=!1}}function J(t,e,n){const{dx:o,dy:s}=(0,i.vrU)(t,e),r={x:Math.abs(o),y:Math.abs(s)},a={x:Math.min(r.x,n.width-r.x),y:Math.min(r.y,n.height-r.y)};return Math.hypot(a.x,a.y)}class W extends H{get maxDistance(){return this._maxDistance}clear(){}init(){this.container.particles.linksColor=void 0,this.container.particles.linksColors=new Map}interact(t){var e;if(!t.options.links)return;t.links=[],t.linksDistance&&t.linksDistance>this._maxDistance&&(this._maxDistance=t.linksDistance);const n=t.getPosition(),o=this.container,s=o.canvas.size;if(n.x<i.boI.x||n.y<i.boI.y||n.x>s.width||n.y>s.height)return;const r=t.options.links,a=r.opacity,l=null!==(e=t.retina.linksDistance)&&void 0!==e?e:0,c=r.warp,u=c?new $(n.x,n.y,l,s):new i.jlt(n.x,n.y,l),d=o.particles.grid.query(u);for(const h of d){const e=h.options.links;if(t===h||null==e||!e.enable||r.id!==e.id||h.spawning||h.destroyed||!h.links||t.links.some(t=>t.destination===h)||h.links.some(e=>e.destination===t))continue;const o=h.getPosition();if(o.x<i.boI.x||o.y<i.boI.y||o.x>s.width||o.y>s.height)continue;const u=(0,i.vrU)(n,o).distance,d=c&&e.warp?J(n,o,s):u,f=Math.min(u,d);if(f>l)continue;const p=(1-f/l)*a;this._setColor(t),t.links.push({destination:h,opacity:p,color:this._getLinkColor(t,h),isWarped:d<u})}}isEnabled(t){var e;return!(null===(e=t.options.links)||void 0===e||!e.enable)}loadParticlesOptions(t,...e){var n;null!==(n=t.links)&&void 0!==n||(t.links=new B);for(const i of e)t.links.load(null==i?void 0:i.links)}reset(){}_getLinkColor(t,e){const n=this.container,o=t.options.links;if(!o)return;const s=void 0!==o.id?n.particles.linksColors.get(o.id):n.particles.linksColor;return(0,i._hh)(t,e,s)}_setColor(t){if(!t.options.links)return;const e=this.container,n=t.options.links;let o=void 0===n.id?e.particles.linksColor:e.particles.linksColors.get(n.id);o||(o=(0,i.PGG)(this._pluginManager,n.color,n.blink,n.consent),void 0===n.id?e.particles.linksColor=o:e.particles.linksColors.set(n.id,o))}constructor(t,e){super(e),this._pluginManager=t,this._maxDistance=0}}class N{async getPlugin(t){const{LinkInstance:e}=await n.e(57252).then(n.bind(n,98927));return new e(this._pluginManager,t)}loadOptions(){}needsPlugin(){return!0}constructor(t){this.id="links",this._pluginManager=t}}async function Q(t){t.checkVersion("4.0.5"),await t.pluginManager.register(t=>{var e;const n=t.pluginManager;!function(t){if(!t.pluginManager.addInteractor)throw new Error("tsParticles Interactivity Plugin is not loaded")}(t),n.addPlugin(new N(n)),null===(e=n.addInteractor)||void 0===e||e.call(n,"particlesLinks",t=>Promise.resolve(new W(n,t)))})}const K={background:{color:"#000000"},particles:{number:{value:100},links:{distance:150,enable:!0},move:{enable:!0},paint:{fill:{color:{value:"#ffffff"}}},size:{value:1},shape:{type:"circle"}}},X="links";async function tt(t){await t.pluginManager.register(async t=>{await Promise.all([Z(t),(async()=>{await async function(t){t.checkVersion("4.0.5"),await t.pluginManager.register(t=>{var e,n,o;const s=t,r=s.pluginManager;r.addPlugin(new j(r)),null!==(n=(e=r.initializers).interactors)&&void 0!==n||(e.interactors=new Map),null!==(o=r.interactors)&&void 0!==o||(r.interactors=new Map),r.addInteractor=(t,e)=>{var n,i;null!==(i=(n=r.initializers).interactors)&&void 0!==i||(n.interactors=new Map),r.initializers.interactors.set(t,e)},r.getInteractors=async(t,e=!1)=>{var n,o,s;return null!==(n=r.interactors)&&void 0!==n||(r.interactors=new Map),null!==(s=(o=r.initializers).interactors)&&void 0!==s||(o.interactors=new Map),(0,i.HQK)(t,r.interactors,r.initializers.interactors,e)},r.setOnClickHandler=t=>{const{items:e}=s;if(!e.length)throw new Error("Click handlers can only be set after calling tsParticles.load()");e.forEach(e=>{var n;const i=e;null===(n=i.addClickHandler)||void 0===n||n.call(i,t)})}})}(t),await Q(t)})()]),t.pluginManager.addPreset(X,K)})}}}]);