iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
2 lines • 123 kB
JavaScript
"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["44287"],{17743:function(t,i,e){var s=e(13053);t.exports=function(t,i,e){for(var n=0,o=arguments.length>2?e:s(i),a=new t(o);o>n;)a[n]=i[n++];return a}},57145:function(t,i,e){var s=e(31269),n=e(72878),o=e(25091),a=e(12360),r=e(70273),c=e(13053),l=e(72309),h=e(17743),d=Array,u=n([].push);t.exports=function(t,i,e,n){for(var p,f,v,y=a(t),g=o(y),m=s(i,e),w=l(null),_=c(g),b=0;_>b;b++)v=g[b],(f=r(m(v,b,y)))in w?u(w[f],v):w[f]=[v];if(n&&(p=n(y))!==d)for(f in w)w[f]=h(p,w[f]);return w}},39200:function(t,i,e){e(40810)({target:"Object",stat:!0},{hasOwn:e(39129)})},22139:function(t,i,e){var s=e(40810),n=e(57145),o=e(35709);s({target:"Array",proto:!0},{group:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}}),o("group")},44968:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{B:()=>v});e(40251);var n=e(6102),o=e(37885),a=e(83060),r=e(45970),c=e(3853),l=e(80820),h=e(12789),d=e(35371),u=e(605),p=t([c,d,n,o,a,l,h,u]);async function v(t,i=!0){t.checkVersion("3.8.1"),await(0,r.Z)(t,!1),await(0,c.C)(t,!1),await(0,d.T)(t,!1),await(0,n.p)(t,!1),await(0,o.J)(t,!1),await(0,a.z)(t,!1),await(0,l.h)(t,!1),await(0,h.l)(t,!1),await(0,u.q)(t,!1),await t.refresh(i)}[c,d,n,o,a,l,h,u]=p.then?(await p)():p,s()}catch(f){s(f)}}))},39535:function(t,i,e){e.d(i,{X:()=>l});e(71695),e(92745),e(19423),e(40251),e(92519),e(42179),e(89256),e(24931),e(88463),e(57449),e(19814),e(47021);var s=e(66852),n=e(63108),o=e(80786),a=e(7534);function r(t,i,e){const s=i[e];var n;void 0!==s&&(t[e]=(null!==(n=t[e])&&void 0!==n?n:o.E$)*s)}function c(t,i,e=!1){if(!i)return;if(!t)return;const s=t.style;if(!s)return;const n=new Set;for(const o in s)Object.prototype.hasOwnProperty.call(s,o)&&n.add(s[o]);for(const o in i)Object.prototype.hasOwnProperty.call(i,o)&&n.add(i[o]);for(const o of n){const t=i.getPropertyValue(o);t?s.setProperty(o,t,e?"important":""):s.removeProperty(o)}}class l{constructor(t,i){this.container=t,this._applyPostDrawUpdaters=t=>{for(const e of this._postDrawUpdaters){var i;null===(i=e.afterDraw)||void 0===i||i.call(e,t)}},this._applyPreDrawUpdaters=(t,i,e,s,n,o)=>{for(const c of this._preDrawUpdaters){var a;if(c.getColorStyles){const{fill:o,stroke:a}=c.getColorStyles(i,t,e,s);o&&(n.fill=o),a&&(n.stroke=a)}if(c.getTransformValues){const t=c.getTransformValues(i);for(const i in t)r(o,t,i)}null===(a=c.beforeDraw)||void 0===a||a.call(c,i)}},this._applyResizePlugins=()=>{for(const i of this._resizePlugins){var t;null===(t=i.resize)||void 0===t||t.call(i)}},this._getPluginParticleColors=t=>{let i,e;for(const s of this._colorPlugins)if(!i&&s.particleFillColor&&(i=(0,a.lN)(this._engine,s.particleFillColor(t))),!e&&s.particleStrokeColor&&(e=(0,a.lN)(this._engine,s.particleStrokeColor(t))),i&&e)break;return[i,e]},this._initCover=async()=>{const t=this.container.actualOptions.backgroundMask.cover,i=t.color;if(i){const e=(0,a.tX)(this._engine,i);if(e){const i=Object.assign(Object.assign({},e),{},{a:t.opacity});this._coverColorStyle=(0,a.iz)(i,i.a)}}else await new Promise(((i,e)=>{if(!t.image)return;const s=document.createElement("img");s.addEventListener("load",(()=>{this._coverImage={image:s,opacity:t.opacity},i()})),s.addEventListener("error",(t=>{e(t.error)})),s.src=t.image}))},this._initStyle=()=>{const t=this.element,i=this.container.actualOptions;if(t){this._fullScreen?this._setFullScreenStyle():this._resetOriginalStyle();for(const e in i.style){if(!e||!i.style||!Object.prototype.hasOwnProperty.call(i.style,e))continue;const s=i.style[e];s&&t.style.setProperty(e,s,"important")}}},this._initTrail=async()=>{const t=this.container.actualOptions.particles.move.trail,i=t.fill;if(!t.enable)return;const e=o.Kl/t.length;if(i.color){const t=(0,a.tX)(this._engine,i.color);if(!t)return;this._trailFill={color:Object.assign({},t),opacity:e}}else await new Promise(((t,s)=>{if(!i.image)return;const n=document.createElement("img");n.addEventListener("load",(()=>{this._trailFill={image:n,opacity:e},t()})),n.addEventListener("error",(t=>{s(t.error)})),n.src=i.image}))},this._paintBase=t=>{this.draw((i=>(0,s.TQ)(i,this.size,t)))},this._paintImage=(t,i)=>{this.draw((e=>(0,s.C3)(e,this.size,t,i)))},this._repairStyle=()=>{const t=this.element;t&&(this._safeMutationObserver((t=>t.disconnect())),this._initStyle(),this.initBackground(),this._safeMutationObserver((i=>{t&&t instanceof Node&&i.observe(t,{attributes:!0})})))},this._resetOriginalStyle=()=>{const t=this.element,i=this._originalStyle;t&&i&&c(t,i,!0)},this._safeMutationObserver=t=>{this._mutationObserver&&t(this._mutationObserver)},this._setFullScreenStyle=()=>{const t=this.element;t&&c(t,(0,n.bP)(this.container.actualOptions.fullScreen.zIndex),!0)},this._engine=i,this._standardSize={height:0,width:0};const e=t.retina.pixelRatio,l=this._standardSize;this.size={height:l.height*e,width:l.width*e},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}get _fullScreen(){return this.container.actualOptions.fullScreen.enable}clear(){const t=this.container.actualOptions,i=t.particles.move.trail,e=this._trailFill;t.backgroundMask.enable?this.paint():i.enable&&i.length>o.By&&e?e.color?this._paintBase((0,a.iz)(e.color,e.opacity)):e.image&&this._paintImage(e.image,e.opacity):t.clear&&this.draw((t=>{(0,s.ZH)(t,this.size)}))}destroy(){if(this.stop(),this._generated){const t=this.element;null==t||t.remove(),this.element=void 0}else this._resetOriginalStyle();this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(t){const i=this._context;if(i)return t(i)}drawAsync(t){const i=this._context;if(i)return t(i)}drawParticle(t,i){var e;if(t.spawning||t.destroyed)return;const n=t.getRadius();if(n<=o.L2)return;const r=t.getFillColor(),c=null!==(e=t.getStrokeColor())&&void 0!==e?e:r;let[l,h]=this._getPluginParticleColors(t);l||(l=r),h||(h=c),(l||h)&&this.draw((e=>{var r,c,d,u;const p=this.container,f=p.actualOptions,v=t.options.zIndex,y=o.GR-t.zIndexFactor,g=y**v.opacityRate,m=null!==(r=null!==(c=t.bubble.opacity)&&void 0!==c?c:null===(d=t.opacity)||void 0===d?void 0:d.value)&&void 0!==r?r:o.P2,w=m*g,_=(null!==(u=t.strokeOpacity)&&void 0!==u?u:m)*g,b={},x={fill:l?(0,a.vz)(l,w):void 0};x.stroke=h?(0,a.vz)(h,_):x.fill,this._applyPreDrawUpdaters(e,t,n,w,x,b),(0,s.zv)({container:p,context:e,particle:t,delta:i,colorStyles:x,backgroundMask:f.backgroundMask.enable,composite:f.backgroundMask.composite,radius:n*y**v.sizeRate,opacity:w,shadow:t.options.shadow,transform:b}),this._applyPostDrawUpdaters(t)}))}drawParticlePlugin(t,i,e){this.draw((n=>(0,s.$F)(n,t,i,e)))}drawPlugin(t,i){this.draw((e=>(0,s.Zw)(e,t,i)))}async init(){this._safeMutationObserver((t=>t.disconnect())),this._mutationObserver=(0,n.yf)((t=>{for(const i of t)"attributes"===i.type&&"style"===i.attributeName&&this._repairStyle()})),this.resize(),this._initStyle(),await this._initCover();try{await this._initTrail()}catch(t){(0,n.jl)().error(t)}this.initBackground(),this._safeMutationObserver((t=>{this.element&&this.element instanceof Node&&t.observe(this.element,{attributes:!0})})),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){const t=this.container.actualOptions.background,i=this.element;if(!i)return;const e=i.style;if(e){if(t.color){const i=(0,a.tX)(this._engine,t.color);e.backgroundColor=i?(0,a.iz)(i,t.opacity):""}else e.backgroundColor="";e.backgroundImage=t.image||"",e.backgroundPosition=t.position||"",e.backgroundRepeat=t.repeat||"",e.backgroundSize=t.size||""}}initPlugins(){this._resizePlugins=[];for(const i of this.container.plugins.values()){var t;i.resize&&this._resizePlugins.push(i),(null!==(t=i.particleFillColor)&&void 0!==t?t:i.particleStrokeColor)&&this._colorPlugins.push(i)}}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const e of this.container.particles.updaters){var t,i;e.afterDraw&&this._postDrawUpdaters.push(e),(null!==(t=null!==(i=e.getColorStyles)&&void 0!==i?i:e.getTransformValues)&&void 0!==t?t:e.beforeDraw)&&this._preDrawUpdaters.push(e)}}loadCanvas(t){this._generated&&this.element&&this.element.remove(),this._generated=t.dataset&&o.YU in t.dataset?"true"===t.dataset[o.YU]:this._generated,this.element=t,this.element.ariaHidden="true",this._originalStyle=(0,n.fN)(this.element.style);const i=this._standardSize;i.height=t.offsetHeight,i.width=t.offsetWidth;const e=this.container.retina.pixelRatio,s=this.size;t.height=s.height=i.height*e,t.width=s.width=i.width*e,this._context=this.element.getContext("2d"),this._safeMutationObserver((t=>t.disconnect())),this.container.retina.init(),this.initBackground(),this._safeMutationObserver((t=>{this.element&&this.element instanceof Node&&t.observe(this.element,{attributes:!0})}))}paint(){const t=this.container.actualOptions;this.draw((i=>{t.backgroundMask.enable&&t.backgroundMask.cover?((0,s.ZH)(i,this.size),this._coverImage?this._paintImage(this._coverImage.image,this._coverImage.opacity):this._coverColorStyle?this._paintBase(this._coverColorStyle):this._paintBase()):this._paintBase()}))}resize(){if(!this.element)return!1;const t=this.container,i=t.canvas._standardSize,e={width:this.element.offsetWidth,height:this.element.offsetHeight},s=t.retina.pixelRatio,n={width:e.width*s,height:e.height*s};if(e.height===i.height&&e.width===i.width&&n.height===this.element.height&&n.width===this.element.width)return!1;const o=Object.assign({},i);i.height=e.height,i.width=e.width;const a=this.size;return this.element.width=a.width=n.width,this.element.height=a.height=n.height,this.container.started&&t.particles.setResizeFactor({width:i.width/o.width,height:i.height/o.height}),!0}stop(){this._safeMutationObserver((t=>t.disconnect())),this._mutationObserver=void 0,this.draw((t=>(0,s.ZH)(t,this.size)))}async windowResize(){if(!this.element||!this.resize())return;const t=this.container,i=t.updateActualOptions();t.particles.setDensity(),this._applyResizePlugins(),i&&await t.refresh()}}},80237:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{W:()=>w});e(63721),e(71695),e(40251),e(47021);var n=e(32767),o=e(80786),a=e(63108),r=e(39535),c=e(72993),l=e(76413),h=e(30617),d=e(32387),u=e(91564),p=e(84015),f=t([c]);function y(t){return t&&!t.destroyed}function g(t,i=o.NU,e=!1){return{value:t,factor:e?o.NU/i:o.NU*t/o.X5}}function m(t,i,...e){const s=new h.E(t,i);return(0,p.h)(s,...e),s}c=(f.then?(await f)():f)[0];class w{constructor(t,i,e){this._intersectionManager=t=>{if(y(this)&&this.actualOptions.pauseOnOutsideViewport)for(const i of t)i.target===this.interactivity.element&&(i.isIntersecting?this.play():this.pause())},this._nextFrame=t=>{try{var i;if(!this._smooth&&void 0!==this._lastFrameTime&&t<this._lastFrameTime+o.X5/this.fpsLimit)return void this.draw(!1);null!==(i=this._lastFrameTime)&&void 0!==i||(this._lastFrameTime=t);const e=g(t-this._lastFrameTime,this.fpsLimit,this._smooth);if(this.addLifeTime(e.value),this._lastFrameTime=t,e.value>o.X5)return void this.draw(!1);if(this.particles.draw(e),!this.alive())return void this.destroy();this.animationStatus&&this.draw(!1)}catch(e){(0,a.jl)().error(`${o.gK} in animation loop`,e)}},this._engine=t,this.id=Symbol(i),this.fpsLimit=120,this._smooth=!1,this._delay=0,this._duration=0,this._lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this._lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._clickHandlers=new Map,this._sourceOptions=e,this._initialSourceOptions=e,this.retina=new u.v(this),this.canvas=new r.X(this,this._engine),this.particles=new d.D(this._engine,this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this._options=m(this._engine,this),this.actualOptions=m(this._engine,this),this._eventListeners=new c.U(this),this._intersectionObserver=(0,a.NM)((t=>this._intersectionManager(t))),this._engine.dispatchEvent(l.t.containerBuilt,{container:this})}get animationStatus(){return!this._paused&&!this.pageHidden&&y(this)}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(t){if(!y(this))return;const i=this.interactivity.element;if(!i)return;const e=(i,e,s)=>{if(!y(this))return;const n=this.retina.pixelRatio,o={x:e.x*n,y:e.y*n},a=this.particles.quadTree.queryCircle(o,s*n);t(i,a)};let s=!1,n=!1;this._clickHandlers.set("click",(t=>{if(!y(this))return;const i=t,s={x:i.offsetX||i.clientX,y:i.offsetY||i.clientY};e(t,s,o.UK)})),this._clickHandlers.set("touchstart",(()=>{y(this)&&(s=!0,n=!1)})),this._clickHandlers.set("touchmove",(()=>{y(this)&&(n=!0)})),this._clickHandlers.set("touchend",(t=>{if(y(this)){if(s&&!n){const i=t;let s=i.touches[i.touches.length-o.$P];if(!s&&(s=i.changedTouches[i.changedTouches.length-o.$P],!s))return;const n=this.canvas.element,a=n?n.getBoundingClientRect():void 0,r={x:s.clientX-(a?a.left:o.QE),y:s.clientY-(a?a.top:o.QE)};e(t,r,Math.max(s.radiusX,s.radiusY))}s=!1,n=!1}})),this._clickHandlers.set("touchcancel",(()=>{y(this)&&(s=!1,n=!1)}));for(const[o,a]of this._clickHandlers)i.addEventListener(o,a)}addLifeTime(t){this._lifeTime+=t}addPath(t,i,e=!1){return!(!y(this)||!e&&this.pathGenerators.has(t))&&(this.pathGenerators.set(t,i),!0)}alive(){return!this._duration||this._lifeTime<=this._duration}clearClickHandlers(){if(y(this)){for(const[i,e]of this._clickHandlers){var t;null===(t=this.interactivity.element)||void 0===t||t.removeEventListener(i,e)}this._clickHandlers.clear()}}destroy(t=!0){if(y(this)){this.stop(),this.clearClickHandlers(),this.particles.destroy(),this.canvas.destroy();for(const t of this.effectDrawers.values()){var i;null===(i=t.destroy)||void 0===i||i.call(t,this)}for(const t of this.shapeDrawers.values()){var e;null===(e=t.destroy)||void 0===e||e.call(t,this)}for(const t of this.effectDrawers.keys())this.effectDrawers.delete(t);for(const t of this.shapeDrawers.keys())this.shapeDrawers.delete(t);if(this._engine.clearPlugins(this),this.destroyed=!0,t){const t=this._engine.items,i=t.findIndex((t=>t===this));i>=o.j4&&t.splice(i,o.Rg)}this._engine.dispatchEvent(l.t.containerDestroyed,{container:this})}}draw(t){if(!y(this))return;let i=t;const e=t=>{i&&(this._lastFrameTime=void 0,i=!1),this._nextFrame(t)};this._drawAnimationFrame=(0,n.jt)((t=>e(t)))}async export(t,i={}){for(const e of this.plugins.values()){if(!e.export)continue;const s=await e.export(t,i);if(s.supported)return s.blob}(0,a.jl)().error(`${o.gK} - Export plugin with type ${t} not found`)}handleClickMode(t){if(y(this)){this.particles.handleClickMode(t);for(const e of this.plugins.values()){var i;null===(i=e.handleClickMode)||void 0===i||i.call(e,t)}}}async init(){if(!y(this))return;const t=this._engine.getSupportedEffects();for(const n of t){const t=this._engine.getEffectDrawer(n);t&&this.effectDrawers.set(n,t)}const i=this._engine.getSupportedShapes();for(const n of i){const t=this._engine.getShapeDrawer(n);t&&this.shapeDrawers.set(n,t)}await this.particles.initPlugins(),this._options=m(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=m(this._engine,this,this._options);const e=await this._engine.getAvailablePlugins(this);for(const[n,o]of e)this.plugins.set(n,o);this.retina.init(),await this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize();const{zLayers:s,duration:a,delay:r,fpsLimit:c,smooth:h}=this.actualOptions;this.zLayers=s,this._duration=(0,n.Gu)(a)*o.X5,this._delay=(0,n.Gu)(r)*o.X5,this._lifeTime=0,this.fpsLimit=c>o.aL?c:o.li,this._smooth=h;for(const n of this.effectDrawers.values()){var d;await(null===(d=n.init)||void 0===d?void 0:d.call(n,this))}for(const n of this.shapeDrawers.values()){var u;await(null===(u=n.init)||void 0===u?void 0:u.call(n,this))}for(const n of this.plugins.values()){var p;await(null===(p=n.init)||void 0===p?void 0:p.call(n))}this._engine.dispatchEvent(l.t.containerInit,{container:this}),await this.particles.init(),this.particles.setDensity();for(const n of this.plugins.values()){var f;null===(f=n.particlesSetup)||void 0===f||f.call(n)}this._engine.dispatchEvent(l.t.particlesSetup,{container:this})}async loadTheme(t){y(this)&&(this._currentTheme=t,await this.refresh())}pause(){if(y(this)&&(void 0!==this._drawAnimationFrame&&((0,n.RE)(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){for(const i of this.plugins.values()){var t;null===(t=i.pause)||void 0===t||t.call(i)}this.pageHidden||(this._paused=!0),this._engine.dispatchEvent(l.t.containerPaused,{container:this})}}play(t){if(!y(this))return;const i=this._paused||t;if(!this._firstStart||this.actualOptions.autoPlay){if(this._paused&&(this._paused=!1),i)for(const t of this.plugins.values())t.play&&t.play();this._engine.dispatchEvent(l.t.containerPlay,{container:this}),this.draw(null!=i&&i)}else this._firstStart=!1}async refresh(){if(y(this))return this.stop(),this.start()}async reset(t){if(y(this))return this._initialSourceOptions=t,this._sourceOptions=t,this._options=m(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=m(this._engine,this,this._options),this.refresh()}async start(){y(this)&&!this.started&&(await this.init(),this.started=!0,await new Promise((t=>{const i=async()=>{this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element);for(const t of this.plugins.values()){var i;await(null===(i=t.start)||void 0===i?void 0:i.call(t))}this._engine.dispatchEvent(l.t.containerStarted,{container:this}),this.play(),t()};this._delayTimeout=setTimeout((()=>{i()}),this._delay)})))}stop(){if(y(this)&&this.started){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element);for(const i of this.plugins.values()){var t;null===(t=i.stop)||void 0===t||t.call(i)}for(const t of this.plugins.keys())this.plugins.delete(t);this._sourceOptions=this._options,this._engine.dispatchEvent(l.t.containerStopped,{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];const t=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this._responsiveMaxWidth!==t&&(this._responsiveMaxWidth=t,!0)}}s()}catch(v){s(v)}}))},57649:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{D:()=>y});e(63721),e(52247),e(71695),e(92745),e(9359),e(1331),e(31526),e(70104),e(40251),e(47021);var n=e(80786),o=e(63108),a=e(80237),r=e(89201),c=e(76413),l=e(32767),h=t([a]);async function u(t,i,e,s=!1){let n=i.get(t);return n&&!s||(n=await Promise.all([...e.values()].map((i=>i(t)))),i.set(t,n)),n}async function p(t){const i=(0,o.wA)(t.url,t.index);if(!i)return t.fallback;const e=await fetch(i);return e.ok?await e.json():((0,o.jl)().error(`${n.gK} ${e.status} while retrieving config file`),t.fallback)}a=(h.then?(await h)():h)[0];const f=t=>{let i;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===n.jR)i=t,i.dataset[n.YU]||(i.dataset[n.YU]=n.qs);else{const e=t.getElementsByTagName(n.jR);e.length?(i=e[n.dX],i.dataset[n.YU]=n.qs):(i=document.createElement(n.jR),i.dataset[n.YU]=n.oJ,t.appendChild(i))}const e="100%";return i.style.width||(i.style.width=e),i.style.height||(i.style.height=e),i},v=(t,i)=>{let e=null!=i?i:document.getElementById(t);return e||(e=document.createElement("div"),e.id=t,e.dataset[n.YU]=n.oJ,document.body.append(e),e)};class y{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new r.p,this._initialized=!1,this.plugins=[],this.colorManagers=new Map,this.easingFunctions=new Map,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[i,e]of this._configs)t[i]=e;return t}get items(){return this._domArray}get version(){return"3.8.1"}async addColorManager(t,i=!0){this.colorManagers.set(t.key,t),await this.refresh(i)}addConfig(t){var i,e;const s=null!==(i=null!==(e=t.key)&&void 0!==e?e:t.name)&&void 0!==i?i:"default";this._configs.set(s,t),this._eventDispatcher.dispatchEvent(c.t.configAdded,{data:{name:s,config:t}})}async addEasing(t,i,e=!0){this.getEasing(t)||(this.easingFunctions.set(t,i),await this.refresh(e))}async addEffect(t,i,e=!0){(0,o.KH)(t,(t=>{this.getEffectDrawer(t)||this.effectDrawers.set(t,i)})),await this.refresh(e)}addEventListener(t,i){this._eventDispatcher.addEventListener(t,i)}async addInteractor(t,i,e=!0){this._initializers.interactors.set(t,i),await this.refresh(e)}async addMover(t,i,e=!0){this._initializers.movers.set(t,i),await this.refresh(e)}async addParticleUpdater(t,i,e=!0){this._initializers.updaters.set(t,i),await this.refresh(e)}async addPathGenerator(t,i,e=!0){this.getPathGenerator(t)||this.pathGenerators.set(t,i),await this.refresh(e)}async addPlugin(t,i=!0){this.getPlugin(t.id)||this.plugins.push(t),await this.refresh(i)}async addPreset(t,i,e=!1,s=!0){!e&&this.getPreset(t)||this.presets.set(t,i),await this.refresh(s)}async addShape(t,i=!0){for(const e of t.validTypes)this.getShapeDrawer(e)||this.shapeDrawers.set(e,t);await this.refresh(i)}checkVersion(t){if(this.version!==t)throw new Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${t}`)}clearPlugins(t){this.updaters.delete(t),this.movers.delete(t),this.interactors.delete(t)}dispatchEvent(t,i){this._eventDispatcher.dispatchEvent(t,i)}dom(){return this.items}domItem(t){return this.item(t)}async getAvailablePlugins(t){const i=new Map;for(const e of this.plugins)e.needsPlugin(t.actualOptions)&&i.set(e.id,await e.getPlugin(t));return i}getEasing(t){var i;return null!==(i=this.easingFunctions.get(t))&&void 0!==i?i:t=>t}getEffectDrawer(t){return this.effectDrawers.get(t)}async getInteractors(t,i=!1){return u(t,this.interactors,this._initializers.interactors,i)}async getMovers(t,i=!1){return u(t,this.movers,this._initializers.movers,i)}getPathGenerator(t){return this.pathGenerators.get(t)}getPlugin(t){return this.plugins.find((i=>i.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,i=!1){return u(t,this.updaters,this._initializers.updaters,i)}init(){this._initialized||(this._initialized=!0)}item(t){const{items:i}=this,e=i[t];if(e&&!e.destroyed)return e;i.splice(t,n.Rg)}async load(t){var i,e,s;const r=null!==(i=null!==(e=t.id)&&void 0!==e?e:null===(s=t.element)||void 0===s?void 0:s.id)&&void 0!==i?i:`tsparticles${Math.floor((0,l.sZ)()*n.Ql)}`,{index:c,url:h}=t,d=h?await p({fallback:t.options,url:h,index:c}):t.options,u=(0,o.wA)(d,c),{items:y}=this,g=y.findIndex((t=>t.id.description===r)),m=new a.W(this,r,u);if(g>=n.cQ){const t=this.item(g),i=t?n.J_:n.YP;t&&!t.destroyed&&t.destroy(!1),y.splice(g,i,m)}else y.push(m);const w=v(r,t.element),_=f(w);return m.canvas.loadCanvas(_),await m.start(),m}loadOptions(t,i){this.plugins.forEach((e=>{var s;return null===(s=e.loadOptions)||void 0===s?void 0:s.call(e,t,i)}))}loadParticlesOptions(t,i,...e){const s=this.updaters.get(t);s&&s.forEach((t=>{var s;return null===(s=t.loadOptions)||void 0===s?void 0:s.call(t,i,...e)}))}async refresh(t=!0){t&&await Promise.all(this.items.map((t=>t.refresh())))}removeEventListener(t,i){this._eventDispatcher.removeEventListener(t,i)}setOnClickHandler(t){const{items:i}=this;if(!i.length)throw new Error(`${n.gK} can only set click handlers after calling tsParticles.load()`);i.forEach((i=>i.addClickHandler(t)))}}s()}catch(d){s(d)}}))},32387:function(t,i,e){e.d(i,{D:()=>M});e(71695),e(92745),e(61893),e(9359),e(56475),e(1331),e(31526),e(40251),e(92519),e(42179),e(89256),e(24931),e(88463),e(57449),e(19814),e(22139),e(47021);var s=e(80786),n=e(63108),o=e(76413),a=e(68521);class r{constructor(t,i){this.container=i,this._engine=t,this._interactors=[],this._externalInteractors=[],this._particleInteractors=[]}externalInteract(t){for(const i of this._externalInteractors)i.isEnabled()&&i.interact(t)}handleClickMode(t){for(const e of this._externalInteractors){var i;null===(i=e.handleClickMode)||void 0===i||i.call(e,t)}}async init(){this._interactors=await this._engine.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[];for(const t of this._interactors){switch(t.type){case a._.external:this._externalInteractors.push(t);break;case a._.particles:this._particleInteractors.push(t)}t.init()}}particlesInteract(t,i){for(const e of this._externalInteractors)e.clear(t,i);for(const e of this._particleInteractors)e.isEnabled(t)&&e.interact(t,i)}reset(t){for(const i of this._externalInteractors)i.isEnabled()&&i.reset(t);for(const i of this._particleInteractors)i.isEnabled(t)&&i.reset(t)}}var c=e(17388),l=(e(52247),e(19423),e(8009)),h=e(32767),d=e(7534),u=e(69418),p=e(33085),f=e(63620),v=e(49133),y=e(12428),g=e(66852),m=e(84015);function w(t){if(!(0,n.dB)(t.outMode,t.checkModes))return;const i=t.radius*s.tx;t.coord>t.maxCoord-i?t.setCb(-t.radius):t.coord<i&&t.setCb(t.radius)}class _{constructor(t,i){this.container=i,this._calcPosition=(t,i,e,n=s.pG)=>{var o,a,r,c;for(const s of t.plugins.values()){const t=void 0!==s.particlePosition?s.particlePosition(i,this):void 0;if(t)return l.U.create(t.x,t.y,e)}const d=t.canvas.size,u=(0,h.mC)({size:d,position:i}),p=l.U.create(u.x,u.y,e),v=this.getRadius(),y=this.options.move.outModes,g=i=>{w({outMode:i,checkModes:[f.V.bounce],coord:p.x,maxCoord:t.canvas.size.width,setCb:t=>p.x+=t,radius:v})},m=i=>{w({outMode:i,checkModes:[f.V.bounce],coord:p.y,maxCoord:t.canvas.size.height,setCb:t=>p.y+=t,radius:v})};return g(null!==(o=y.left)&&void 0!==o?o:y.default),g(null!==(a=y.right)&&void 0!==a?a:y.default),m(null!==(r=y.top)&&void 0!==r?r:y.default),m(null!==(c=y.bottom)&&void 0!==c?c:y.default),this._checkOverlap(p,n)?this._calcPosition(t,void 0,e,n+s.oy):p},this._calculateVelocity=()=>{const t=(0,h.lQ)(this.direction).copy(),i=this.options.move;if(i.direction===p.p.inside||i.direction===p.p.outside)return t;const e=(0,h.Id)((0,h.Gu)(i.angle.value)),n=(0,h.Id)((0,h.Gu)(i.angle.offset)),o={left:n-e*s.jz,right:n+e*s.jz};return i.straight||(t.angle+=(0,h.vd)((0,h.Cs)(o.left,o.right))),i.random&&"number"==typeof i.speed&&(t.length*=(0,h.sZ)()),t},this._checkOverlap=(t,i=s.pG)=>{const e=this.options.collisions,n=this.getRadius();if(!e.enable)return!1;const o=e.overlap;if(o.enable)return!1;const a=o.retries;if(a>=s._1&&i>a)throw new Error(`${s.gK} particle is overlapping and can't be placed`);return!!this.container.particles.find((i=>(0,h.Sp)(t,i.position)<n+i.getRadius()))},this._getRollColor=t=>{var i;if(!t||!this.roll||!this.backColor&&!this.roll.alter)return t;const e=this.roll.horizontal&&this.roll.vertical?s.tx*s.lG:s.lG,n=this.roll.horizontal?Math.PI*s.jz:s.YP;return Math.floor(((null!==(i=this.roll.angle)&&void 0!==i?i:s.YP)+n)/(Math.PI/e))%s.tx?this.backColor?this.backColor:this.roll.alter?(0,g.PL)(t,this.roll.alter.type,this.roll.alter.value):t:t},this._initPosition=t=>{var i,e;const o=this.container,a=(0,h.Gu)(this.options.zIndex.value);this.position=this._calcPosition(o,t,(0,h.uZ)(a,s.fG,o.zLayers)),this.initialPosition=this.position.copy();const r=o.canvas.size;switch(this.moveCenter=Object.assign(Object.assign({},(0,n.bt)(this.options.move.center,r)),{},{radius:null!==(i=this.options.move.center.radius)&&void 0!==i?i:s.O2,mode:null!==(e=this.options.move.center.mode)&&void 0!==e?e:y.l.percent}),this.direction=(0,h.Gk)(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case p.p.inside:this.outType=v.I.inside;break;case p.p.outside:this.outType=v.I.outside}this.offset=l.O.origin},this._engine=t}destroy(t){var i;if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const e=this.container,s=this.pathGenerator,n=e.shapeDrawers.get(this.shape);null==n||null===(i=n.particleDestroy)||void 0===i||i.call(n,this);for(const o of e.plugins.values()){var a;null===(a=o.particleDestroyed)||void 0===a||a.call(o,this,t)}for(const o of e.particles.updaters){var r;null===(r=o.particleDestroyed)||void 0===r||r.call(o,this,t)}null==s||s.reset(this),this._engine.dispatchEvent(o.t.particleDestroyed,{container:this.container,data:{particle:this}})}draw(t){const i=this.container,e=i.canvas;for(const s of i.plugins.values())e.drawParticlePlugin(s,this,t);e.drawParticle(this,t)}getFillColor(){var t;return this._getRollColor(null!==(t=this.bubble.color)&&void 0!==t?t:(0,d.gW)(this.color))}getMass(){return this.getRadius()**s.Pe*Math.PI*s.jz}getPosition(){return{x:this.position.x+this.offset.x,y:this.position.y+this.offset.y,z:this.position.z}}getRadius(){var t;return null!==(t=this.bubble.radius)&&void 0!==t?t:this.size.value}getStrokeColor(){var t;return this._getRollColor(null!==(t=this.bubble.color)&&void 0!==t?t:(0,d.gW)(this.strokeColor))}init(t,i,e,o){var a,r,c,l,p,f,y,g,w,_,b;const x=this.container,z=this._engine;this.id=t,this.group=o,this.effectClose=!0,this.effectFill=!0,this.shapeClose=!0,this.shapeFill=!0,this.pathRotation=!1,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.isRotating=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType=v.I.normal,this.ignoresResizeRatio=!0;const k=x.retina.pixelRatio,M=x.actualOptions,P=(0,m.x)(this._engine,x,M.particles),{reduceDuplicates:C}=P,O=P.effect.type,S=P.shape.type;this.effect=(0,n.wA)(O,this.id,C),this.shape=(0,n.wA)(S,this.id,C);const D=P.effect,R=P.shape;if(e){var I,F;if(null!==(I=e.effect)&&void 0!==I&&I.type){const t=e.effect.type,i=(0,n.wA)(t,this.id,C);i&&(this.effect=i,D.load(e.effect))}if(null!==(F=e.shape)&&void 0!==F&&F.type){const t=e.shape.type,i=(0,n.wA)(t,this.id,C);i&&(this.shape=i,R.load(e.shape))}}if(this.effect===s.V_){const t=[...this.container.effectDrawers.keys()];this.effect=t[Math.floor(Math.random()*t.length)]}if(this.shape===s.V_){const t=[...this.container.shapeDrawers.keys()];this.shape=t[Math.floor(Math.random()*t.length)]}this.effectData=function(t,i,e,s){const o=i.options[t];if(o)return(0,n.ZB)({close:i.close,fill:i.fill},(0,n.wA)(o,e,s))}(this.effect,D,this.id,C),this.shapeData=function(t,i,e,s){const o=i.options[t];if(o)return(0,n.ZB)({close:i.close,fill:i.fill},(0,n.wA)(o,e,s))}(this.shape,R,this.id,C),P.load(e);const T=this.effectData;T&&P.load(T.particles);const E=this.shapeData;E&&P.load(E.particles);const L=new u.o(z,x);L.load(x.actualOptions.interactivity),L.load(P.interactivity),this.interactivity=L,this.effectFill=null!==(a=null==T?void 0:T.fill)&&void 0!==a?a:P.effect.fill,this.effectClose=null!==(r=null==T?void 0:T.close)&&void 0!==r?r:P.effect.close,this.shapeFill=null!==(c=null==E?void 0:E.fill)&&void 0!==c?c:P.shape.fill,this.shapeClose=null!==(l=null==E?void 0:E.close)&&void 0!==l?l:P.shape.close,this.options=P;const B=this.options.move.path;this.pathDelay=(0,h.Gu)(B.delay.value)*s.X5,B.generator&&(this.pathGenerator=this._engine.getPathGenerator(B.generator),this.pathGenerator&&x.addPath(B.generator,this.pathGenerator)&&this.pathGenerator.init(x)),x.retina.initParticle(this),this.size=(0,n.V0)(this.options.size,k),this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this._initPosition(i),this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy(),this.moveDecay=s.kd-(0,h.Gu)(this.options.move.decay);const V=x.particles;V.setLastZIndex(this.position.z),this.zIndexFactor=this.position.z/x.zLayers,this.sides=24;let Y=x.effectDrawers.get(this.effect);Y||(Y=this._engine.getEffectDrawer(this.effect),Y&&x.effectDrawers.set(this.effect,Y)),null!==(p=Y)&&void 0!==p&&p.loadEffect&&Y.loadEffect(this);let A=x.shapeDrawers.get(this.shape);A||(A=this._engine.getShapeDrawer(this.shape),A&&x.shapeDrawers.set(this.shape,A)),null!==(f=A)&&void 0!==f&&f.loadShape&&A.loadShape(this);const G=null===(y=A)||void 0===y?void 0:y.getSidesCount;G&&(this.sides=G(this)),this.spawning=!1,this.shadowColor=(0,d.tX)(this._engine,this.options.shadow.color);for(const s of V.updaters)s.init(this);for(const s of V.movers){var Z;null===(Z=s.init)||void 0===Z||Z.call(s,this)}null===(g=Y)||void 0===g||null===(w=g.particleInit)||void 0===w||w.call(g,x,this),null===(_=A)||void 0===_||null===(b=_.particleInit)||void 0===b||b.call(_,x,this);for(const s of x.plugins.values()){var W;null===(W=s.particleCreated)||void 0===W||W.call(s,this)}}isInsideCanvas(){const t=this.getRadius(),i=this.container.canvas.size,e=this.position;return e.x>=-t&&e.y>=-t&&e.y<=i.height+t&&e.x<=i.width+t}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){for(const i of this.container.particles.updaters){var t;null===(t=i.reset)||void 0===t||t.call(i,this)}}}class b{constructor(t,i){this.position=t,this.particle=i}}e(52924);var x=e(64007);class z{constructor(t,i){this.rectangle=t,this.capacity=i,this._subdivide=()=>{const{x:t,y:i}=this.rectangle.position,{width:e,height:n}=this.rectangle.size,{capacity:o}=this;for(let a=0;a<s.DL;a++){const r=a%s.tx;this._subs.push(new z(new x.Ae(t+e*s.jz*r,i+n*s.jz*(Math.round(a*s.jz)-r),e*s.jz,n*s.jz),o))}this._divided=!0},this._points=[],this._divided=!1,this._subs=[]}insert(t){return!!this.rectangle.contains(t.position)&&(this._points.length<this.capacity?(this._points.push(t),!0):(this._divided||this._subdivide(),this._subs.some((i=>i.insert(t)))))}query(t,i){const e=[];if(!t.intersects(this.rectangle))return[];for(const s of this._points)!t.contains(s.position)&&(0,h.Sp)(t.position,s.position)>s.particle.getRadius()&&(!i||i(s.particle))||e.push(s.particle);if(this._divided)for(const s of this._subs)e.push(...s.query(t,i));return e}queryCircle(t,i,e){return this.query(new x.Cd(t.x,t.y,i),e)}queryRectangle(t,i,e){return this.query(new x.Ae(t.x,t.y,i.width,i.height),e)}}const k=t=>{const{height:i,width:e}=t;return new x.Ae(s.e*e,s.e*i,s.f3*e,s.f3*i)};class M{constructor(t,i){this._addToPool=(...t)=>{this._pool.push(...t)},this._applyDensity=(t,i,e)=>{var n;const o=t.number;if(null===(n=t.number.density)||void 0===n||!n.enable)return void(void 0===e?this._limit=o.limit.value:o.limit&&this._groupLimits.set(e,o.limit.value));const a=this._initDensityFactor(o.density),r=o.value,c=o.limit.value>s.nE?o.limit.value:r,l=Math.min(r,c)*a+i,h=Math.min(this.count,this.filter((t=>t.group===e)).length);void 0===e?this._limit=o.limit.value*a:this._groupLimits.set(e,o.limit.value*a),h<l?this.push(Math.abs(l-h),void 0,t,e):h>l&&this.removeQuantity(h-l,e)},this._initDensityFactor=t=>{const i=this._container;if(!i.canvas.element||!t.enable)return s.k_;const e=i.canvas.element,n=i.retina.pixelRatio;return e.width*e.height/(t.height*t.width*n**s.Pe)},this._pushParticle=(t,i,e,a)=>{try{let s=this._pool.pop();s||(s=new _(this._engine,this._container)),s.init(this._nextId,t,i,e);let n=!0;if(a&&(n=a(s)),!n)return;return this._array.push(s),this._zArray.push(s),this._nextId++,this._engine.dispatchEvent(o.t.particleAdded,{container:this._container,data:{particle:s}}),s}catch(r){(0,n.jl)().warning(`${s.gK} adding particle: ${r}`)}},this._removeParticle=(t,i,e)=>{const n=this._array[t];if(!n||n.group!==i)return!1;const a=this._zArray.indexOf(n);return this._array.splice(t,s.px),this._zArray.splice(a,s.px),n.destroy(e),this._engine.dispatchEvent(o.t.particleRemoved,{container:this._container,data:{particle:n}}),this._addToPool(n),!0},this._engine=t,this._container=i,this._nextId=0,this._array=[],this._zArray=[],this._pool=[],this._limit=0,this._groupLimits=new Map,this._needsSort=!1,this._lastZIndex=0,this._interactionManager=new r(t,i),this._pluginsInitialized=!1;const e=i.canvas.size;this.quadTree=new z(k(e),s.Bz),this.movers=[],this.updaters=[]}get count(){return this._array.length}addManualParticles(){const t=this._container;t.actualOptions.manualParticles.forEach((i=>this.addParticle(i.position?(0,n.bt)(i.position,t.canvas.size):void 0,i.options)))}addParticle(t,i,e,n){var o;const a=this._container.actualOptions.particles.number.limit.mode,r=void 0===e?this._limit:null!==(o=this._groupLimits.get(e))&&void 0!==o?o:this._limit,l=this.count;if(r>s.nE)switch(a){case c.C.delete:{const t=l+s.IY-r;t>s.w5&&this.removeQuantity(t);break}case c.C.wait:if(l>=r)return}return this._pushParticle(t,i,e,n)}clear(){this._array=[],this._zArray=[],this._pluginsInitialized=!1}destroy(){this._array=[],this._zArray=[],this.movers=[],this.updaters=[]}draw(t){const i=this._container,e=i.canvas;e.clear(),this.update(t);for(const s of i.plugins.values())e.drawPlugin(s,t);for(const s of this._zArray)s.draw(t)}filter(t){return this._array.filter(t)}find(t){return this._array.find(t)}get(t){return this._array[t]}handleClickMode(t){this._interactionManager.handleClickMode(t)}async init(){const t=this._container,i=t.actualOptions;this._lastZIndex=0,this._needsSort=!1,await this.initPlugins();let e=!1;for(const a of t.plugins.values()){var s,n;if(e=null!==(s=null===(n=a.particlesInitialization)||void 0===n?void 0:n.call(a))&&void 0!==s?s:e,e)break}if(this.addManualParticles(),!e){const t=i.particles,e=t.groups;for(const i in e){const s=e[i];for(let e=this.count,n=0;n<(null===(o=s.number)||void 0===o?void 0:o.value)&&e<t.number.value;e++,n++){var o;this.addParticle(void 0,s,i)}}for(let i=this.count;i<t.number.value;i++)this.addParticle()}}async initPlugins(){if(this._pluginsInitialized)return;const t=this._container;this.movers=await this._engine.getMovers(t,!0),this.updaters=await this._engine.getUpdaters(t,!0),await this._interactionManager.init();for(const i of t.pathGenerators.values())i.init(t)}push(t,i,e,s){for(let n=0;n<t;n++)this.addParticle(null==i?void 0:i.position,e,s)}async redraw(){this.clear(),await this.init(),this.draw({value:0,factor:0})}remove(t,i,e){this.removeAt(this._array.indexOf(t),void 0,i,e)}removeAt(t,i=s.OT,e,n){if(t<s._D||t>this.count)return;let o=0;for(let s=t;o<i&&s<this.count;s++)this._removeParticle(s,e,n)&&(s--,o++)}removeQuantity(t,i){this.removeAt(s._D,t,i)}setDensity(){const t=this._container.actualOptions,i=t.particles.groups;for(const e in i)this._applyDensity(i[e],s.RL,e);this._applyDensity(t.particles,t.manualParticles.length)}setLastZIndex(t){this._lastZIndex=t,this._needsSort=this._needsSort||this._lastZIndex<t}setResizeFactor(t){this._resizeFactor=t}update(t){const i=this._container,e=new Set;this.quadTree=new z(k(i.canvas.size),s.Bz);for(const s of i.pathGenerators.values())s.update();for(const s of i.plugins.values()){var n;null===(n=s.update)||void 0===n||n.call(s,t)}const a=this._resizeFactor;for(const s of this._array){a&&!s.ignoresResizeRatio&&(s.position.x*=a.width,s.position.y*=a.height,s.initialPosition.x*=a.width,s.initialPosition.y*=a.height),s.ignoresResizeRatio=!1,this._interactionManager.reset(s);for(const i of this._container.plugins.values()){var r;if(s.destroyed)break;null===(r=i.particleUpdate)||void 0===r||r.call(i,s,t)}for(const i of this.movers)i.isEnabled(s)&&i.move(s,t);s.destroyed?e.add(s):this.quadTree.insert(new b(s.getPosition(),s))}if(e.size){const t=t=>!e.has(t);this._array=this.filter(t),this._zArray=this._zArray.filter(t);for(const i of e)this._engine.dispatchEvent(o.t.particleRemoved,{container:this._container,data:{particle:i}});this._addToPool(...e)}this._interactionManager.externalInteract(t);for(const s of this._array){for(const i of this.updaters)i.update(s,t);s.destroyed||s.spawning||this._interactionManager.particlesInteract(s,t)}if(delete this._resizeFactor,this._needsSort){const t=this._zArray;t.sort(((t,i)=>i.position.z-t.position.z||t.id-i.id)),this._lastZIndex=t[t.length-s.vR].position.z,this._needsSort=!1}}}},91564:function(t,i,e){e.d(i,{v:()=>a});var s=e(80786),n=e(32767),o=e(63108);class a{constructor(t){this.container=t,this.pixelRatio=s.Hx,this.reduceFactor=s.Bd}init(){const t=this.container,i=t.actualOptions;this.pixelRatio=!i.detectRetina||(0,o.Kr)()?s.Hx:window.devicePixelRatio,this.reduceFactor=s.Bd;const e=this.pixelRatio,a=t.canvas;if(a.element){const t=a.element;a.size.width=t.offsetWidth*e,a.size.height=t.offsetHeight*e}const r=i.particles,c=r.move;this.maxSpeed=(0,n.Gu)(c.gravity.maxSpeed)*e,this.sizeAnimationSpeed=(0,n.Gu)(r.size.animation.speed)*e}initParticle(t){const i=t.options,e=this.pixelRatio,s=i.move,o=s.distance,a=t.retina;a.moveDrift=(0,n.Gu)(s.drift)*e,a.moveSpeed=(0,n.Gu)(s.speed)*e,a.sizeAnimationSpeed=(0,n.Gu)(i.size.animation.speed)*e;const r=a.maxDistance;r.horizontal=void 0!==o.horizontal?o.horizontal*e:void 0,r.vertical=void 0!==o.vertical?o.vertical*e:void 0,a.maxSpeed=(0,n.Gu)(s.gravity.maxSpeed)*e}}},80786:function(t,i,e){e.d(i,{$P:()=>J,$e:()=>_,$o:()=>h,Bc:()=>Dt,Bd:()=>T,By:()=>K,Bz:()=>R,C0:()=>Gt,DL:()=>E,E$:()=>U,EY:()=>Y,Eg:()=>Tt,FY:()=>W,G1:()=>r,GR:()=>X,HW:()=>G,Hx:()=>F,IY:()=>wt,JV:()=>Bt,J_:()=>ct,Kl:()=>L,L2:()=>$,Lk:()=>Ft,Mn:()=>k,NU:()=>M,O2:()=>vt,OT:()=>I,P2:()=>N,Pe:()=>D,QE:()=>tt,QL:()=>f,Ql:()=>at,Qt:()=>B,RB:()=>A,RL:()=>xt,Re:()=>l,Rg:()=>it,UK:()=>Q,VH:()=>u,V_:()=>b,Wt:()=>c,Wy:()=>Z,X5:()=>m,YP:()=>lt,YU:()=>s,Yb:()=>V,Yt:()=>Yt,Z7:()=>Vt,Z8:()=>It,ZL:()=>n,_1:()=>ut,_D:()=>bt,aL:()=>nt,aM:()=>a,cQ:()=>rt,cS:()=>H,cV:()=>Lt,dX:()=>ot,e:()=>yt,f3:()=>gt,fG:()=>ft,fM:()=>Et,gK:()=>v,ix:()=>q,j4:()=>et,jR:()=>O,jz:()=>g,k_:()=>kt,kd:()=>ht,lG:()=>pt,li:()=>st,lm:()=>At,mS:()=>j,mb:()=>Pt,nE:()=>mt,nh:()=>Ct,oJ:()=>P,oy:()=>dt,pG:()=>S,px:()=>Mt,qs:()=>C,rR:()=>p,rT:()=>Rt,tZ:()=>y,tx:()=>z,u2:()=>x,us:()=>w,vR:()=>zt,w5:()=>_t,yR:()=>St,zE:()=>Ot,zX:()=>d,zw:()=>o});const s="generated",n="pointerdown",o="pointerup",a="pointerleave",r="pointerout",c="pointermove",l="touchstart",h="touchend",d="touchmove",u="touchcancel",p="resize",f="visibilitychange",v="tsParticles - Error",y=100,g=.5,m=1e3,w={x:0,y:0,z:0},_={a:1,b:0,c:0,d:1},b="random",x="mid",z=2,k=Math.PI*z,M=60,P="true",C="false",O="canvas",S=0,D=2,R=4,I=1,F=1,T=1,E=4,L=1,B=255,V=360,Y=100,A=100,G=0,Z=0,W=60,H=0,j=.25,q=g+j,U=1,$=0,K=0,X=1,N=1,Q=1,J=1,tt=0,it=1,et=0,st=120,nt=0,ot=0,at=1e4,rt=0,ct=1,lt=0,ht=1,dt=1,ut=0,pt=1,ft=0,vt=0,yt=-j,gt=1.5,mt=0,wt=1,_t=0,bt=0,xt=0,zt=1,kt=1,Mt=1,Pt=500,Ct=50,Ot=0,St=1,Dt=0,Rt=1,It=0,Ft=255,Tt=3,Et=6,Lt=1,Bt=1,Vt=0,Yt=0,At=0,Gt=0},72993:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{U:()=>u});var n=e(31948),o=(e(71695),e(9359),e(1331),e(19423),e(40251),e(88044),e(47021),e(80786)),a=e(63108),r=e(70896),c=e(81809),l=t([n]);function d(t,i,e,s,n){if(s){let s={passive:!0};(0,c.jn)(n)?s.capture=n:void 0!==n&&(s=n),t.addEventListener(i,e,s)}else{const s=n;t.removeEventListener(i,e,s)}}n=(l.then?(await l)():l)[0];class u{constructor(t){this.container=t,this._doMouseTouchClick=t=>{const i=this.container,e=i.actualOptions;if(this._canPush){const t=i.interactivity.mouse,s=t.position;if(!s)return;t.clickPosition=Object.assign({},s),t.clickTime=(new Date).getTime();const n=e.interactivity.events.onClick;(0,a.KH)(n.mode,(t=>this.container.handleClickMode(t)))}"touchend"===t.type&&setTimeout((()=>this._mouseTouchFinish()),o.mb)},this._handleThemeChange=t=>{const i=t,e=this.container,s=e.options,n=s.defaultThemes,o=i.matches?n.dark:n.light,a=s.themes.find((t=>t.name===o));null!=a&&a.default.auto&&e.loadTheme(o)},this._handleVisibilityChange=()=>{var t;const i=this.container,e=i.actualOptions;this._mouseTouchFinish(),e.pauseOnBlur&&(null!==(t=document)&&void 0!==t&&t.hidden?(i.pageHidden=!0,i.pause()):(i.pageHidden=!1,i.animationStatus?i.play(!0):i.draw(!0)))},this._handleWindowResize=()=>{this._resizeTimeout&&(clearTimeout(this._resizeTimeout),delete this._resizeTimeout);const t=async()=>{const t=this.container.canvas;await(null==t?void 0:t.windowResize())};this._resizeTimeout=setTimeout((()=>{t()}),this.container.actualOptions.interactivity.events.resize.delay*o.X5)},this._manageInteractivityListeners=(t,i)=>{const e=this._handlers,s=this.container,n=s.actualOptions,a=s.interactivity.element;if(!a)return;const r=a,c=s.canvas.element;c&&(c.style.pointerEvents=r===c?"initial":"none"),(n.interactivity.events.onHover.enable||n.interactivity.events.onClick.enable)&&(d(a,o.Wt,e.mouseMove,i),d(a,o.Re,e.touchStart,i),d(a,o.zX,e.touchMove,i),n.interactivity.events.onClick.enable?(d(a,o.$o,e.touchEndClick,i),d(a,o.zw,e.mouseUp,i),d(a,o.ZL,e.mouseDown,i)):d(a,o.$o,e.touchEnd,i),d(a,t,e.mouseLeave,i),d(a,o.VH,e.touchCancel,i))},this._manageListeners=t=>{const i=this._handlers,e=this.container,s=e.actualOptions.interactivity.detectsOn,n=e.canvas.element;let a=o.aM;if(s===r.z.window)e.interactivity.element=window,a=o.G1;else if(s===r.z.parent&&n){var c;e.interactivity.element=null!==(c=n.parentElement)&&void 0!==c?c:n.parentNode}else e.interactivity.element=n;this._manageMediaMatch(t),this._manageResize(t),this._manageInteractivityListeners(a,t),document&&d(document,o.QL,i.visibilityChange,t,!1)},this._manageMediaMatch=t=>{const i=this._handlers,e=(0,a.HY)("(prefers-color-scheme: dark)");e&&(void 0===e.addEventListener?void 0!==e.addListener&&(t?e.addListener(i.oldThemeChange):e.removeListener(i.oldThemeChange)):d(e,"change",i.themeChange,t))},this._manageResize=t=>{const i=this._handlers,e=this.container;if(!e.actualOptions.interactivity.events.resize)return;if("undefined"==typeof ResizeObserver)return void d(window,o.rR,i.resize,t);const s=e.canvas.element;this._resizeObserver&&!t?(s&&this._resizeObserver.unobserve(s),this._resizeObserver.disconnect(),delete this._resizeObserver):!this._resizeObserver&&t&&s&&(this._resizeObserver=new ResizeObserver((t=>{t.find((t=>t.target===s))&&this._handleWindowResize()})),this._resizeObserver.observe(s))},this._mouseDown=()=>{const{interactivity:t}=this.container;if(!t)return;const{mouse:i}=t;i.clicking=!0,i.downPosition=i.position},this._mouseTouchClick=t=>{const i=this.container,e=i.actualOptions,{mouse:s}=i.interactivity;s.inside=!0;let n=!1;const o=s.position;if(o&&e.interactivity.events.onClick.enable){for(const t of i.plugins.values())if(t.clickPositionValid&&(n=t.clickPositionValid(o),n))break;n||this._doMouseTouchClick(t),s.clicking=!1}},this._mouseTouchFinish=()=>{const t=this.container.interactivity;if(!t)return;const i=t.mouse;delete i.position,delete i.clickPosition,delete i.downPosition,t.status=o.aM,i.inside=!1,i.clicking=!1},this._mouseTouchMove=t=>{const i=this.container,e=i.actualOptions,s=i.interactivity,n=i.canvas.element;if(null==s||!s.element)return;let a;if(s.mouse.inside=!0,t.type.startsWith("pointer")){this._canPush=!0;const i=t;if(s.element===window){if(n){const t=n.getBoundingClientRect();a={x:i.clientX-t.left,y:i.clientY-t.top}}}else if(e.interactivity.detectsOn===r.z.parent){const t=i.target,e=i.currentTarget;if(t&&e&&n){const s=t.getBoundingClientRect(),r=e.getBoundingClientRect(),c=n.getBoundingClientRect();a={x:i.offsetX+o.tx*s.left-(r.left+c.left),y:i.offsetY+o.tx*s.top-(r.top+c.top)}}else{var c,l;a={x:null!==(c=i.offsetX)&&void 0!==c?c:i.clientX,y:null!==(l=i.offsetY)&&void 0!==l?l:i.clientY}}}else if(i.target===n){var h,d;a={x:null!==(h=i.offsetX)&&void 0!==h?h:i.clientX,y:null!==(d=i.offsetY)&&void 0!==d?d:i.clientY}}}else if(this._canPush="touchmove"!==t.type,n){var u,p;const i=t,e=i.touches[i.touches.length-o.vR],s=n.getBoundingClientRect();a={x:e.clientX-(null!==(u=s.left)&&void 0!==u?u:o.QE),y:e.clientY-(null!==(p=s.top)&&void 0!==p?p:o.QE)}}const f=i.retina.pixelRatio;a&&(a.x*=f,a.y*=f),s.mouse.position=a,s.status=o.Wt},this._touchEnd=t=>{const i=t,e=Array.from(i.changedTouches);for(const s of e)this._touches.delete(s.identifier);this._mouseTouchFinish()},this._touchEndClick=t=>{const i=t,e=Array.from(i.changedTouches);for(const s of e)this._touches.delete(s.identifier);this._mouseTouchClick(t)},this._touchStart=t=>{const i=t,e=Array.from(i.changedTouches);for(const s of e)this._touches.set(s.identifier,performance.now());this._mouseTouchMove(t)},this._canPush=!0,this._touches=new Map,this._handlers={mouseDown:()=>this._mouseDown(),mouseLeave:()=>this._mouseTouchFinish(),mouseMove:t=>this._mouseTouchMove(t),mouseUp:t=>this._mouseTouchClick(t),touchStart:t=>this._touchStart(t),touchMove:t=>this._mouseTouchMove(t),touchEnd:t=>this._touchEnd(t),touchCancel:t=>this._touchEnd(t),touchEndClick:t=>this._touchEndClick(t),visibilityChange:()=>this._handleVisibilityChange(),themeChange:t=>this._handleThemeChange(t),oldThemeChange:t=>this._handleThemeChange(t),resize:()=>{this._handleWindowResize()}}}addListeners(){this._manageListeners(!0)}removeListeners(){this._manageListeners(!1)}}s()}catch(h){s(h)}}))},64007:function(t,i,e){var s,n;e.d(i,{Cd:()=>c,Ae:()=>l}),(n=s||(s={})).circle="circle",n.rectangle="rectangle";var o=e(32767),a=e(80786);class r{constructor(t,i,e){this.position={x:t,y:i},this.type=e}}class c extends r{constructor(t,i,e){super(t,i,s.circle),this.radius=e}contains(t){return(0,o.Sp)(t,this.position)<=this.radius}intersects(t){const i=this.position,e=t.position,n=Math.abs(e.x-i.x),o=Math.abs(e.y-i.y),r=this.radius;if(t instanceof c||t.type===s.circle){return r+t.radius>Math.sqrt(n**a.Pe+o**a.Pe)}if(t instanceof l||t.type===s.rectangle){const i=t,{width:e,height:s}=i.size;return Math.pow(n-e,a.Pe)+Math.pow(o-s,a.Pe)<=r**a.Pe||n<=r+e&&o<=r+s||n<=e||o<=s}return!1}}class l extends r{constructor(t,i,e,n){super(t,i,s.rectangle),this.size={height:n,width:e}}contains(t){const i=this.size.width,e=this.size.height,s=this.position;return t.x>=s.x&&t.x<=s.x+i&&t.y>=s.y&&t.y<=s.y+e}intersects(t){if(t instanceof c)return t.intersects(this);const i=this.size.width,e=this.size.height,s=this.position,n=t.position,o=t instanceof l?t.size:{width:0,height:0},a=o.width,r=o.height;return n.x<s.x+i&&n.x+a>s.x&&n.y<s.y+e&&n.y+r>s.y}}},8009:function(t,i,e){e.d(i,{O:()=>a,U:()=>o});e(52247);var s=e(80786),n=e(81809);class o{constructor(t,i,e){if(this._updateFromAngle=(t,i)=>{this.x=Math.cos(t)*i,this.y=Math.sin(t)*i},!(0,n.hj)(t)&&t){this.x=t.x,this.y=t.y;const i=t;this.z=i.z?i.z:s.us.z}else{if(void 0===t||void 0===i)throw new Error(`${s.gK} Vector3d not initialized correctly`);this.x=t,this.y=i,this.z=null!=e?e:s.us.z}}static get origin(){return o.create(s.us.x,s.us.y,s.us.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 o.create(t.x,t.y,t.z)}static create(t,i,e){return new o(t,i,e)}add(t){return o.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 o.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return o.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**s.Pe+this.y**s.Pe}mult(t){return o.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;t!=s.YP&&this.multTo(s.Kl/t)}rotate(t){return o.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),s.us.z)}setTo(t){this.x=t.x,this.y=t.y;const i=t;this.z=i.z?i.z:s.us.z}sub(t){return o.create(this.x-t.x,this.y-t.y,this.z-t.z)}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=t.z}}class a extends o{constructor(t,i){super(t,i,s.us.z)}static get origin(){return a.create(s.us.x,s.us.y)}static clone(t){return a.create(t.x,t.y)}static create(t,i){return new a(t,i)}}},13e3:function(t,i,e){var s;e.d(i,{N:()=>s}),function(t){t.increasing="increasing",t.decreasing="decreasing"}(s||(s={}))},33085:function(t,i,e){var s;e.d(i,{p:()=>s}),function(t){t.bottom="bottom",t.bottomLeft="bottom-left",t.bottomRight="bottom-right",t.left="left",t.none="none",t.right="right",t.top="top",t.topLeft="top-left",t.topRight="top-right",t.outside="outside",t.inside="inside"}(s||(s={}))},1996:function(t,i,e){var s;e.d(i,{D:()=>s}),function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(s||(s={}))},70896:function(t,i,e){var s;e.d(i,{z:()=>s}),function(t){t.canvas="canvas",t.parent="parent",t.window="window"}(s||(s={}))},16350:function(t,i,e){var s;e.d(i,{m:()=>s}),function(t){t.auto="auto",t.increase="increase",t.decrease="decrease",t.random="random"}(s||(s={}))},11271:function(t,i,e){var s;e.d(i,{D:()=>s}),function(t){t.absorb="absorb",t.bounce="bounce",t.destroy="destroy"}(s||(s={}))},17388:function(t,i,e){var s;e.d(i,{C:()=>s}),function(t){t.delete="delete",t.wait="wait"}(s||(s={}))},63620:function(t,i,e){e.d(i,{V:()=>s});var s;e(19134),e(32114);!function(t){t.bounce="bounce",t.none="none",t.out="out",t.destroy="destroy",t.split="split"}(s||(s={}))},12428:function(t,i,e){var s;e.d(i,{l:()=>s}),function(t){t.precise="precise",t.percent="percent"}(s||(s={}))},43530:function(t,i,e){var s;e.d(i,{e:()=>s}),function(t){t.screen="screen",t.canvas="canvas"}(s||(s={}))},84630:function(t,i,e){var s;e.d(i,{h:()=>s}),function(t){t.any="any",t.dark="dark",t.light="light"}(s||(s={}))},29488:function(t,i,e){var s;e.d(i,{q:()=>s}),function(t){t.darken="darken",t.enlighten="enlighten"}(s||(s={}))},56977:function(t,i,e){var s;e.d(i,{H:()=>s}),function(t){t.none="none",t.max="max",t.min="min"}(s||(s={}))},71881:function(t,i,e){var s;e.d(i,{g:()=>s}),function(t){t.circle="circle",t.rectangle="rectangle"}(s||(s={}))},76413:function(t,i,e){var s;e.d(i,{t:()=>s}),function(t){t.configAdded="configAdded",t.containerInit="containerInit",t.particlesSetup="particlesSetup",t.containerStarted="containerStarted",t.containerStopped="containerStopped",t.containerDestroyed="containerDestroyed",t.containerPaused="containerPaused",t.containerPlay="containerPlay",t.containerBuilt="containerBuilt",t.particleAdded="particleAdded",t.particleDestroyed="particleDestroyed",t.particleRemoved="particleRemoved"}(s||(s={}))},68521:function(t,i,e){var s;e.d(i,{_:()=>s}),function(t){t.external="external",t.particles="particles"}(s||(s={}))},49133:function(t,i,e){var s;e.d(i,{I:()=>s}),function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(s||(s={}))},26303:function(t,i,e){var s;e.d(i,{a:()=>s}),function(t){t.max="max",t.min="min",t.random="random"}(s||(s={}))},12808:function(t,i,e){e.d(i,{R:()=>a});var s=e(81809),n=e(62893),o=e(70078);class a extends o.O{constructor(){super(),this.animation=new n.h}static create(t,i){const e=new a;return e.load(t),void 0!==i&&((0,s.HD)(i)||(0,s.kJ)(i)?e.load({value:i}):e.load(i)),e}load(t){if(super.load(t),(0,s.Ft)(t))return;const i=t.animation;void 0!==i&&(void 0!==i.enable?this.animation.h.load(i):this.animation.load(t.animation))}}},56347:function(t,i,e){e.d(i,{B:()=>c,P:()=>r});var s=e(16350),n=e(26303),o=e(81809),a=e(32767);class r{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){(0,o.Ft)(t)||(void 0!==t.count&&(this.count=(0,a.Cs)(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=(0,a.Cs)(t.speed)),void 0!==t.decay&&(this.decay=(0,a.Cs)(t.decay)),void 0!==t.delay&&(this.delay=(0,a.Cs)(t.delay)),void 0!==t.sync&&(this.sync=t.sync))}}class c extends r{constructor(){super(),this.mode=s.m.auto,this.startValue=n.a.random}load(t){super.load(t),(0,o.Ft)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}}},99958:function(t,i,e){e.d(i,{y:()=>a});var s=e(56347),n=e(81809),o=e(32767);class a extends s.P{constructor(){super(),this.offset=0,this.sync=!0}load(t){super.load(t),(0,n.Ft)(t)||void 0!==t.offset&&(this.offset=(0,o.Cs)(t.offset))}}},62893:function(t,i,e){e.d(i,{h:()=>o});var s=e(99958),n=e(81809);class o{constructor(){this.h=new s.y,this.s=new s.y,this.l=new s.y}load(t){(0,n.Ft)(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}},11265:function(t,i,e){e.d(i,{M:()=>o});var s=e(71881),n=e(81809);class o{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=s.g.circle}load(t){(0,n.Ft)(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))}}},42758:function(t,i,e){e.d(i,{z:()=>h});var s=e(81809);class n{constructor(){this.enable=!1,this.mode=[]}load(t){(0,s.Ft)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode))}}var o=e(11265);class a{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(t){(0,s.Ft)(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))}}class r{constructor(){this.enable=!1,this.mode=[],this.parallax=new a}load(t){(0,s.Ft)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),this.parallax.load(t.parallax))}}class c{constructor(){this.delay=.5,this.enable=!0}load(t){(0,s.Ft)(t)||(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.enable&&(this.enable=t.enable))}}var l=e(63108);class h{constructor(){this.onClick=new n,this.onDiv=new o.M,this.onHover=new r,this.resize=new c}load(t){if((0,s.Ft)(t))return;this.onClick.load(t.onClick);const i=t.onDiv;void 0!==i&&(this.onDiv=(0,l.KH)(i,(t=>{const i=new o.M;return i.load(t),i}))),this.onHover.load(t.onHover),this.resize.load(t.resize)}}},69418:function(t,i,e){e.d(i,{o:()=>r});var s=e(42758),n=e(70896),o=e(90786),a=e(81809);class r{constructor(t,i){this.detectsOn=n.z.window,this.events=new s.z,this.modes=new o.n(t,i)}load(t){if((0,a.Ft)(t))return;const i=t.detectsOn;void 0!==i&&(this.detectsOn=i),this.events.load(t.events),this.modes.load(t.modes)}}},90786:function(t,i,e){e.d(i,{n:()=>n});e(71695),e(47021);var s=e(81809);class n{constructor(t,i){this._engine=t,this._container=i}load(t){if((0,s.Ft)(t))return;if(!this._container)return;const i=this._engine.interactors.get(this._container);if(i)for(const e of i)e.loadModeOptions&&e.loadModeOptions(this,t)}}},34812:function(t,i,e){e.d(i,{h:()=>r});var s=e(12428),n=e(63108),o=e(81809),a=e(80786);class r{load(t){if(!(0,o.Ft)(t)){var i,e,r;if(t.position)this.position={x:null!==(i=t.position.x)&&void 0!==i?i:a.nh,y:null!==(e=t.position.y)&&void 0!==e?e:a.nh,mode:null!==(r=t.position.mode)&&void 0!==r?r:s.l.percent};t.options&&(this.options=(0,n.ZB)({},t.options))}}}},30617:function(t,i,e){e.d(i,{E:()=>m});e(71695),e(92745),e(61893),e(9359),e(1331),e(70104),e(47021);var s=e(63108),n=e(81809),o=e(70078);class a{constructor(){this.color=new o.O,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){(0,n.Ft)(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))}}class r{constructor(){this.opacity=1}load(t){(0,n.Ft)(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))}}class c{constructor(){this.composite="destination-out",this.cover=new r,this.enable=!1}load(t){if(!(0,n.Ft)(t)){if(void 0!==t.composite&&(this.composite=t.composite),void 0!==t.cover){const i=t.cover,e=(0,n.HD)(t.cover)?{color:t.cover}:t.cover;this.cover.load(void 0!==i.color||void 0!==i.image?i:{color:e})}void 0!==t.enable&&(this.enable=t.enable)}}}class l{constructor(){this.enable=!0,this.zIndex=0}load(t){(0,n.Ft)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}}var h=e(69418),d=e(34812),u=e(60628),p=e(43530),f=e(81105),v=e(84630),y=e(84015),g=e(32767);class m{constructor(t,i){this._findDefaultTheme=t=>{var i;return null!==(i=this.themes.find((i=>i.default.value&&i.default.mode===t)))&&void 0!==i?i:this.themes.find((t=>t.default.value&&t.default.mode===v.h.any))},this._importPreset=t=>{this.load(this._engine.getPreset(t))},this._engine=t,this._container=i,this.autoPlay=!0,this.background=new a,this.backgroundMask=new c,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new l,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new h.o(t,i),this.manualParticles=[],this.particles=(0,y.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){var i,e;if((0,n.Ft)(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,g.Cs)(t.delay));const o=t.detectRetina;void 0!==o&&(this.detectRetina=o),void 0!==t.duration&&(this.duration=(0,g.Cs)(t.duration));const a=t.fpsLimit;void 0!==a&&(this.fpsLimit=a),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 r=t.fullScreen;(0,n.jn)(r)?this.fullScreen.enable=r:this.fullScreen.load(r),this.backgroundMask.load(t.backgroundMask),this.interactivity.load(t.interactivity),t.manualParticles&&(this.manualParticles=t.manualParticles.map((t=>{const i=new d.h;return i.load(t),i}))),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 c=this._engine.interactors.get(this._container);if(c)for(const s of c)s.loadOptions&&s.loadOptions(this,t);if(void 0!==t.responsive)for(const s of t.responsive){const t=new u.E;t.load(s),this.responsive.push(t)}if(this.responsive.sort(((t,i)=>t.maxWidth-i.maxWidth)),void 0!==t.themes)for(const s of t.themes){const t=this.themes.find((t=>t.name===s.name));if(t)t.load(s);else{const t=new f.Q;t.load(s),this.themes.push(t)}}this.defaultThemes.dark=null===(i=this._findDefaultTheme(v.h.dark))||void 0===i?void 0:i.name,this.defaultThemes.light=null===(e=this._findDefaultTheme(v.h.light))||void 0===e?void 0:e.name}setResponsive(t,i,e){this.load(e);const s=this.responsive.find((e=>e.mode===p.e.screen&&screen?e.maxWidth>screen.availWidth:e.maxWidth*i>t));return this.load(null==s?void 0:s.options),null==s?void 0:s.maxWidth}setTheme(t){if(t){const i=this.themes.find((i=>i.name===t));i&&this.load(i.options)}else{const t=(0,s.HY)("(prefers-color-scheme: dark)"),i=null==t?void 0:t.matches,e=this._findDefaultTheme(i?v.h.dark:v.h.light);e&&this.load(e.options)}}}},70078:function(t,i,e){e.d(i,{O:()=>n});var s=e(81809);class n{constructor(){this.value=""}static create(t,i){const e=new n;return e.load(t),void 0!==i&&((0,s.HD)(i)||(0,s.kJ)(i)?e.load({value:i}):e.load(i)),e}load(t){(0,s.Ft)(t)||(0,s.Ft)(t.value)||(this.value=t.value)}}},63239:function(t,i,e){e.d(i,{b:()=>o});var s=e(46882),n=e(81809);class o{constructor(){this.horizontal=new s.u,this.vertical=new s.u}load(t){(0,n.Ft)(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}},46882:function(t,i,e){e.d(i,{u:()=>n});var s=e(70419);class n extends s.SW{constructor(){super(),this.value=1}}},41932:function(t,i,e){e.d(i,{y:()=>l});var s=e(11271),n=e(81809);class o{constructor(){this.speed=2}load(t){(0,n.Ft)(t)||void 0!==t.speed&&(this.speed=t.speed)}}class a{constructor(){this.enable=!0,this.retries=0}load(t){(0,n.Ft)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.retries&&(this.retries=t.retries))}}var r=e(63239),c=e(32767);class l{constructor(){this.absorb=new o,this.bounce=new r.b,this.enable=!1,this.maxSpeed=50,this.mode=s.D.bounce,this.overlap=new a}load(t){(0,n.Ft)(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,c.Cs)(t.maxSpeed)),void 0!==t.mode&&(this.mode=t.mode),this.overlap.load(t.overlap))}}},4027:function(t,i,e){e.d(i,{A:()=>y});e(19423);var s=e(33085),n=e(81809),o=e(38311),a=e(24514),r=e(62385),c=e(24236),l=e(46793),h=e(70078);class d{load(t){(0,n.Ft)(t)||(void 0!==t.color&&(this.color=h.O.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image))}}class u{constructor(){this.enable=!1,this.length=10,this.fill=new d}load(t){(0,n.Ft)(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))}}var p=e(25787),f=e(15648),v=e(32767);class y{constructor(){this.angle=new o.k,this.attract=new a.k,this.center=new r.a,this.decay=0,this.distance={},this.direction=s.p.none,this.drift=0,this.enable=!1,this.gravity=new c.S,this.path=new l.C,this.outModes=new p.u,this.random=!1,this.size=!1,this.speed=2,this.spin=new f.y,this.straight=!1,this.trail=new u,this.vibrate=!1,this.warp=!1}load(t){if((0,n.Ft)(t))return;this.angle.load((0,n.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,v.Cs)(t.decay)),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=(0,n.hj)(t.distance)?{horizontal:t.distance,vertical:t.distance}:Object.assign({},t.distance)),void 0!==t.drift&&(this.drift=(0,v.Cs)(t.drift)),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity);const i=t.outModes;void 0!==i&&((0,n.Kn)(i)?this.outModes.load(i):this.outModes.load({default:i})),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,v.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)}}},38311:function(t,i,e){e.d(i,{k:()=>o});var s=e(81809),n=e(32767);class o{constructor(){this.offset=0,this.value=90}load(t){(0,s.Ft)(t)||(void 0!==t.offset&&(this.offset=(0,n.Cs)(t.offset)),void 0!==t.value&&(this.value=(0,n.Cs)(t.value)))}}},24514:function(t,i,e){e.d(i,{k:()=>o});var s=e(81809),n=e(32767);class o{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(t){if(!(0,s.Ft)(t)&&(void 0!==t.distance&&(this.distance=(0,n.Cs)(t.distance)),void 0!==t.enable&&(this.enable=t.enable),t.rotate)){const i=t.rotate.x;void 0!==i&&(this.rotate.x=i);const e=t.rotate.y;void 0!==e&&(this.rotate.y=e)}}}},62385:function(t,i,e){e.d(i,{a:()=>o});var s=e(12428),n=e(81809);class o{constructor(){this.x=50,this.y=50,this.mode=s.l.percent,this.radius=0}load(t){(0,n.Ft)(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))}}},24236:function(t,i,e){e.d(i,{S:()=>o});var s=e(81809),n=e(32767);class o{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){(0,s.Ft)(t)||(void 0!==t.acceleration&&(this.acceleration=(0,n.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,n.Cs)(t.maxSpeed)))}}},25787:function(t,i,e){e.d(i,{u:()=>o});var s=e(63620),n=e(81809);class o{constructor(){this.default=s.V.out}load(t){var i,e,s,o;(0,n.Ft)(t)||(void 0!==t.default&&(this.default=t.default),this.bottom=null!==(i=t.bottom)&&void 0!==i?i:t.default,this.left=null!==(e=t.left)&&void 0!==e?e:t.default,this.right=null!==(s=t.right)&&void 0!==s?s:t.default,this.top=null!==(o=t.top)&&void 0!==o?o:t.default)}}},46793:function(t,i,e){e.d(i,{C:()=>a});var s=e(70419),n=e(63108),o=e(81809);class a{constructor(){this.clamp=!0,this.delay=new s.SW,this.enable=!1,this.options={}}load(t){(0,o.Ft)(t)||(void 0!==t.clamp&&(this.clamp=t.clamp),this.delay.load(t.delay),void 0!==t.enable&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=(0,n.ZB)(this.options,t.options)))}}},15648:function(t,i,e){e.d(i,{y:()=>a});var s=e(63108),n=e(81809),o=e(32767);class a{constructor(){this.acceleration=0,this.enable=!1}load(t){(0,n.Ft)(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)))}}},31823:function(t,i,e){e.d(i,{H:()=>a});var s=e(81809);class n{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(t){if((0,s.Ft)(t))return;void 0!==t.enable&&(this.enable=t.enable);const i=t.width;void 0!==i&&(this.width=i);const e=t.height;void 0!==e&&(this.height=e)}}var o=e(35639);class a{constructor(){this.density=new n,this.limit=new o.W,this.value=0}load(t){(0,s.Ft)(t)||(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}}},35639:function(t,i,e){e.d(i,{W:()=>o});var s=e(17388),n=e(81809);class o{constructor(){this.mode=s.C.delete,this.value=0}load(t){(0,n.Ft)(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}},81327:function(t,i,e){e.d(i,{D:()=>a});var s=e(32552),n=e(70419),o=e(81809);class a extends n.md{constructor(){super(),this.animation=new s.O,this.value=1}load(t){if((0,o.Ft)(t))return;super.load(t);const i=t.animation;void 0!==i&&this.animation.load(i)}}},32552:function(t,i,e){e.d(i,{O:()=>a});var s=e(56977),n=e(56347),o=e(81809);class a extends n.B{constructor(){super(),this.destroy=s.H.none,this.speed=2}load(t){super.load(t),(0,o.Ft)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}},26015:function(t,i,e){e.d(i,{B:()=>m});e(71695),e(39200),e(47021);var s=e(63108),n=e(12808),o=e(41932),a=e(81809);class r{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(t){if((0,a.Ft)(t))return;const i=t.options;if(void 0!==i)for(const n in i){const t=i[n];var e;if(t)this.options[n]=(0,s.ZB)(null!==(e=this.options[n])&&void 0!==e?e:{},t)}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 c=e(4027),l=e(81327),h=e(63239),d=e(31823),u=e(70078);class p{constructor(){this.blur=0,this.color=new u.O,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(t){(0,a.Ft)(t)||(void 0!==t.blur&&(this.blur=t.blur),this.color=u.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)))}}var f=e(90980),v=e(21680),y=e(3473),g=e(75984);class m{constructor(t,i){this._engine=t,this._container=i,this.bounce=new h.b,this.collisions=new o.y,this.color=new n.R,this.color.value="#fff",this.effect=new r,this.groups={},this.move=new c.A,this.number=new d.H,this.opacity=new l.D,this.reduceDuplicates=!1,this.shadow=new p,this.shape=new f.b,this.size=new v.$,this.stroke=new y.m,this.zIndex=new g.K}load(t){if((0,a.Ft)(t))return;if(void 0!==t.groups)for(const n of Object.keys(t.groups)){if(!Object.hasOwn(t.groups,n))continue;const e=t.groups[n];var i;if(void 0!==e)this.groups[n]=(0,s.ZB)(null!==(i=this.groups[n])&&void 0!==i?i:{},e)}void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.color.load(n.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 i=new y.m;return i.load(t),i}))),this._container){const i=this._engine.updaters.get(this._container);if(i)for(const s of i)s.loadOptions&&s.loadOptions(this,t);const e=this._engine.interactors.get(this._container);if(e)for(const s of e)s.loadParticlesOptions&&s.loadParticlesOptions(this,t)}}}},90980:function(t,i,e){e.d(i,{b:()=>o});var s=e(63108),n=e(81809);class o{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(t){if((0,n.Ft)(t))return;const i=t.options;if(void 0!==i)for(const n in i){const t=i[n];var e;if(t)this.options[n]=(0,s.ZB)(null!==(e=this.options[n])&&void 0!==e?e:{},t)}void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.type=t.type)}}},21680:function(t,i,e){e.d(i,{$:()=>a});var s=e(70419),n=e(29446),o=e(81809);class a extends s.md{constructor(){super(),this.animation=new n.a,this.value=3}load(t){if(super.load(t),(0,o.Ft)(t))return;const i=t.animation;void 0!==i&&this.animation.load(i)}}},29446:function(t,i,e){e.d(i,{a:()=>a});var s=e(56977),n=e(56347),o=e(81809);class a extends n.B{constructor(){super(),this.destroy=s.H.none,this.speed=5}load(t){super.load(t),(0,o.Ft)(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}},3473:function(t,i,e){e.d(i,{m:()=>a});var s=e(12808),n=e(81809),o=e(32767);class a{constructor(){this.width=0}load(t){(0,n.Ft)(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)))}}},75984:function(t,i,e){e.d(i,{K:()=>o});var s=e(70419),n=e(81809);class o extends s.SW{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),(0,n.Ft)(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))}}},60628:function(t,i,e){e.d(i,{E:()=>a});var s=e(43530),n=e(63108),o=e(81809);class a{constructor(){this.maxWidth=1/0,this.options={},this.mode=s.e.canvas}load(t){(0,o.Ft)(t)||((0,o.Ft)(t.maxWidth)||(this.maxWidth=t.maxWidth),(0,o.Ft)(t.mode)||(t.mode===s.e.screen?this.mode=s.e.screen:this.mode=s.e.canvas),(0,o.Ft)(t.options)||(this.options=(0,n.ZB)({},t.options)))}}},81105:function(t,i,e){e.d(i,{Q:()=>a});var s=e(32378),n=e(63108),o=e(81809);class a{constructor(){this.name="",this.default=new s.C}load(t){(0,o.Ft)(t)||(void 0!==t.name&&(this.name=t.name),this.default.load(t.default),void 0!==t.options&&(this.options=(0,n.ZB)({},t.options)))}}},32378:function(t,i,e){e.d(i,{C:()=>o});var s=e(84630),n=e(81809);class o{constructor(){this.auto=!1,this.mode=s.h.any,this.value=!1}load(t){(0,n.Ft)(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))}}},70419:function(t,i,e){e.d(i,{SW:()=>a,md:()=>c});var s=e(56347),n=e(81809),o=e(32767);class a{constructor(){this.value=0}load(t){(0,n.Ft)(t)||(0,n.Ft)(t.value)||(this.value=(0,o.Cs)(t.value))}}class r extends a{constructor(){super(),this.animation=new s.P}load(t){if(super.load(t),(0,n.Ft)(t))return;const i=t.animation;void 0!==i&&this.animation.load(i)}}class c extends r{constructor(){super(),this.animation=new s.B}load(t){super.load(t)}}},66852:function(t,i,e){e.d(i,{$F:()=>u,C3:()=>c,PL:()=>p,TQ:()=>r,ZH:()=>l,Zw:()=>d,pS:()=>a,zv:()=>h});e(19423);var s=e(80786),n=e(29488),o=e(7534);function a(t,i,e){t.beginPath(),t.moveTo(i.x,i.y),t.lineTo(e.x,e.y),t.closePath()}function r(t,i,e){t.fillStyle=null!=e?e:"rgba(0,0,0,0)",t.fillRect(s.us.x,s.us.y,i.width,i.height)}function c(t,i,e,n){e&&(t.globalAlpha=n,t.drawImage(e,s.us.x,s.us.y,i.width,i.height),t.globalAlpha=1)}function l(t,i){t.clearRect(s.us.x,s.us.y,i.width,i.height)}function h(t){var i,e,n,a,r,c,l;const{container:h,context:d,particle:u,delta:p,colorStyles:f,backgroundMask:v,composite:y,radius:g,opacity:m,shadow:w,transform:_}=t,b=u.getPosition(),x=u.rotation+(u.pathRotation?u.velocity.angle:s.zE),z=Math.sin(x),k=Math.cos(x),M=!!x,P={a:k*(null!==(i=_.a)&&void 0!==i?i:s.$e.a),b:M?z*(null!==(e=_.b)&&void 0!==e?e:s.yR):null!==(n=_.b)&&void 0!==n?n:s.$e.b,c:M?-z*(null!==(a=_.c)&&void 0!==a?a:s.yR):null!==(r=_.c)&&void 0!==r?r:s.$e.c,d:k*(null!==(c=_.d)&&void 0!==c?c:s.$e.d)};d.setTransform(P.a,P.b,P.c,P.d,b.x,b.y),v&&(d.globalCompositeOperation=y);const C=u.shadowColor;w.enable&&C&&(d.shadowBlur=w.blur,d.shadowColor=(0,o.iz)(C),d.shadowOffsetX=w.offset.x,d.shadowOffsetY=w.offset.y),f.fill&&(d.fillStyle=f.fill);const O=null!==(l=u.strokeWidth)&&void 0!==l?l:s.Bc;d.lineWidth=O,f.stroke&&(d.strokeStyle=f.stroke);const S={container:h,context:d,particle:u,radius:g,opacity:m,delta:p,transformData:P,strokeWidth:O};!function(t){const{container:i,context:e,particle:n,radius:o,opacity:a,delta:r,strokeWidth:c,transformData:l}=t;if(!n.shape)return;const h=i.shapeDrawers.get(n.shape);if(!h)return;e.beginPath(),h.draw({context:e,particle:n,radius:o,opacity:a,delta:r,pixelRatio:i.retina.pixelRatio,transformData:Object.assign({},l)}),n.shapeClose&&e.closePath();c>s.Bc&&e.stroke();n.shapeFill&&e.fill()}(S),function(t){const{container:i,context:e,particle:s,radius:n,opacity:o,delta:a,transformData:r}=t;if(!s.shape)return;const c=i.shapeDrawers.get(s.shape);if(null==c||!c.afterDraw)return;c.afterDraw({context:e,particle:s,radius:n,opacity:o,delta:a,pixelRatio:i.retina.pixelRatio,transformData:Object.assign({},r)})}(S),function(t){const{container:i,context:e,particle:s,radius:n,opacity:o,delta:a,transformData:r}=t;if(!s.effect)return;const c=i.effectDrawers.get(s.effect);if(!c)return;c.draw({context:e,particle:s,radius:n,opacity:o,delta:a,pixelRatio:i.retina.pixelRatio,transformData:Object.assign({},r)})}(S),d.globalCompositeOperation="source-over",d.resetTransform()}function d(t,i,e){i.draw&&i.draw(t,e)}function u(t,i,e,s){i.drawParticle&&i.drawParticle(t,e,s)}function p(t,i,e){return{h:t.h,s:t.s,l:t.l+(i===n.q.darken?-s.rT:s.rT)*e}}},7534:function(t,i,e){e.d(i,{BE:()=>m,Dt:()=>w,PB:()=>k,Y6:()=>f,bS:()=>b,gW:()=>_,iz:()=>y,lN:()=>d,tX:()=>l,ve:()=>p,vz:()=>g});e(71695),e(88044),e(47021);var s=e(32767),n=e(80786),o=e(81809),a=e(13e3),r=e(63108);function c(t,i){if(i)for(const e of t.colorManagers.values())if(i.startsWith(e.stringPrefix))return e.parseString(i)}function l(t,i,e,s=!0){if(!i)return;const n=(0,o.HD)(i)?{value:i}:i;if((0,o.HD)(n.value))return h(t,n.value,e,s);if((0,o.kJ)(n.value))return l(t,{value:(0,r.c8)(n.value,e,s)});for(const o of t.colorManagers.values()){const t=o.handleRangeColor(n);if(t)return t}}function h(t,i,e,s=!0){if(!i)return;const a=(0,o.HD)(i)?{value:i}:i;if((0,o.HD)(a.value))return a.value===n.V_?v():function(t,i){return c(t,i)}(t,a.value);if((0,o.kJ)(a.value))return h(t,{value:(0,r.c8)(a.value,e,s)});for(const n of t.colorManagers.values()){const t=n.handleColor(a);if(t)return t}}function d(t,i,e,s=!0){const n=l(t,i,e,s);return n?u(n):void 0}function u(t){const i=t.r/n.Qt,e=t.g/n.Qt,s=t.b/n.Qt,o=Math.max(i,e,s),a=Math.min(i,e,s),r={h:n.HW,l:(o+a)*n.jz,s:n.Wy};return o!==a&&(r.s=r.l<n.jz?(o-a)/(o+a):(o-a)/(n.tx-o-a),r.h=i===o?(e-s)/(o-a):r.h=e===o?n.tx+(s-i)/(o-a):n.tx*n.tx+(i-e)/(o-a)),r.l*=n.RB,r.s*=n.EY,r.h*=n.FY,r.h<n.HW&&(r.h+=n.Yb),r.h>=n.Yb&&(r.h-=n.Yb),r}function p(t){const i=(t.h%n.Yb+n.Yb)%n.Yb,e=Math.max(n.Wy,Math.min(n.EY,t.s)),s=Math.max(n.Z8,Math.min(n.RB,t.l)),o=i/n.Yb,a=e/n.EY,r=s/n.RB;if(e===n.Wy){const t=Math.round(r*n.Lk);return{r:t,g:t,b:t}}const c=(t,i,e)=>{if(e<0&&e++,e>1&&e--,e*n.fM<1)return t+(i-t)*n.fM*e;if(e*n.tx<1)return i;if(e*n.Eg<1*n.tx){return t+(i-t)*(n.tx/n.Eg-e)*n.fM}return t},l=r<n.jz?r*(n.cV+a):r+a-r*a,h=n.tx*r-l,d=n.JV/n.Eg,u=Math.min(n.Lk,n.Lk*c(h,l,o+d)),p=Math.min(n.Lk,n.Lk*c(h,l,o)),f=Math.min(n.Lk,n.Lk*c(h,l,o-d));return{r:Math.round(u),g:Math.round(p),b:Math.round(f)}}function f(t){const i=p(t);return{a:t.a,b:i.b,g:i.g,r:i.r}}function v(t){const i=null!=t?t:n.Z7,e=n.Qt+n.yR;return{b:Math.floor((0,s.vd)((0,s.Cs)(i,e))),g:Math.floor((0,s.vd)((0,s.Cs)(i,e))),r:Math.floor((0,s.vd)((0,s.Cs)(i,e)))}}function y(t,i){return`rgba(${t.r}, ${t.g}, ${t.b}, ${null!=i?i:n.P2})`}function g(t,i){return`hsla(${t.h}, ${t.s}%, ${t.l}%, ${null!=i?i:n.P2})`}function m(t,i,e){if(e===n.V_)return v();if(e!==n.u2)return e;{var o,a;const e=null!==(o=t.getFillColor())&&void 0!==o?o:t.getStrokeColor(),n=null!==(a=null==i?void 0:i.getFillColor())&&void 0!==a?a:null==i?void 0:i.getStrokeColor();if(e&&n&&i)return function(t,i,e,n){let o=t,a=i;return void 0===o.r&&(o=p(t)),void 0===a.r&&(a=p(i)),{b:(0,s.CD)(o.b,a.b,e,n),g:(0,s.CD)(o.g,a.g,e,n),r:(0,s.CD)(o.r,a.r,e,n)}}(e,n,t.getRadius(),i.getRadius());{const t=null!=e?e:n;if(t)return p(t)}}}function w(t,i,e,s){const a=(0,o.HD)(i)?i:i.value;return a===n.V_?s?l(t,{value:a}):e?n.V_:n.u2:a===n.u2?n.u2:l(t,{value:a})}function _(t){return void 0!==t?{h:t.h.value,s:t.s.value,l:t.l.value}:void 0}function b(t,i,e){const s={h:{enable:!1,value:t.h},s:{enable:!1,value:t.s},l:{enable:!1,value:t.l}};return i&&(x(s.h,i.h,e),x(s.s,i.s,e),x(s.l,i.l,e)),s}function x(t,i,e){t.enable=i.enable,t.enable?(t.velocity=(0,s.Gu)(i.speed)/n.tZ*e,t.decay=n.kd-(0,s.Gu)(i.decay),t.status=a.N.increasing,t.loops=n.lm,t.maxLoops=(0,s.Gu)(i.count),t.time=n.C0,t.delayTime=(0,s.Gu)(i.delay)*n.X5,i.sync||(t.velocity*=(0,s.sZ)(),t.value*=(0,s.sZ)()),t.initialValue=t.value,t.offset=(0,s.Cs)(i.offset)):t.velocity=n.Yt}function z(t,i,e,n){var o,r,c,l,h,d,u,p,f;if(!t||!t.enable||(null!==(o=t.maxLoops)&&void 0!==o?o:0)>0&&(null!==(r=t.loops)&&void 0!==r?r:0)>(null!==(c=t.maxLoops)&&void 0!==c?c:0))return;if(t.time||(t.time=0),(null!==(l=t.delayTime)&&void 0!==l?l:0)>0&&t.time<(null!==(h=t.delayTime)&&void 0!==h?h:0)&&(t.time+=n.value),(null!==(d=t.delayTime)&&void 0!==d?d:0)>0&&t.time<(null!==(u=t.delayTime)&&void 0!==u?u:0))return;const v=t.offset?(0,s.vd)(t.offset):0,y=(null!==(p=t.velocity)&&void 0!==p?p:0)*n.factor+3.6*v,g=null!==(f=t.decay)&&void 0!==f?f:1,m=(0,s.KI)(i),w=(0,s.Uv)(i);if(e&&t.status!==a.N.increasing){t.value-=y;const i=0;t.value<i&&(t.loops||(t.loops=0),t.loops++,t.status=a.N.increasing)}else t.value+=y,t.value>m&&(t.loops||(t.loops=0),t.loops++,e?t.status=a.N.decreasing:t.value-=m);t.velocity&&1!==g&&(t.velocity*=g),t.value=(0,s.uZ)(t.value,w,m)}function k(t,i){if(!t)return;const{h:e,s:s,l:n}=t,o={min:0,max:100},a={min:0,max:100};e&&z(e,{min:0,max:360},!1,i),s&&z(s,o,!0,i),n&&z(n,a,!0,i)}},89201:function(t,i,e){e.d(i,{p:()=>n});e(71695),e(92745),e(9359),e(31526),e(47021);var s=e(80786);class n{constructor(){this._listeners=new Map}addEventListener(t,i){this.removeEventListener(t,i);let e=this._listeners.get(t);e||(e=[],this._listeners.set(t,e)),e.push(i)}dispatchEvent(t,i){const e=this._listeners.get(t);null==e||e.forEach((t=>t(i)))}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,i){const e=this._listeners.get(t);if(!e)return;const n=e.length,o=e.indexOf(i);o<s._D||(n===s.px?this._listeners.delete(t):e.splice(o,s.px))}}},32767:function(t,i,e){e.d(i,{BV:()=>M,CD:()=>p,Cs:()=>m,Gk:()=>x,Gu:()=>v,Id:()=>b,KI:()=>g,RE:()=>d,Sp:()=>_,Uv:()=>y,jt:()=>h,lQ:()=>z,mC:()=>k,oW:()=>w,sZ:()=>l,uZ:()=>u,vd:()=>f});e(95078),e(97499);var s=e(33085),n=e(80786),o=e(8009),a=e(81809);let r=Math.random;const c={nextFrame:t=>requestAnimationFrame(t),cancel:t=>cancelAnimationFrame(t)};function l(){return u(r(),0,1-Number.EPSILON)}function h(t){return c.nextFrame(t)}function d(t){c.cancel(t)}function u(t,i,e){return Math.min(Math.max(t,i),e)}function p(t,i,e,s){return Math.floor((t*e+i*s)/(e+s))}function f(t){const i=g(t);let e=y(t);return i===e&&(e=0),l()*(i-e)+e}function v(t){return(0,a.hj)(t)?t:f(t)}function y(t){return(0,a.hj)(t)?t:t.min}function g(t){return(0,a.hj)(t)?t:t.max}function m(t,i){if(t===i||void 0===i&&(0,a.hj)(t))return t;const e=y(t),s=g(t);return void 0!==i?{min:Math.min(e,i),max:Math.max(s,i)}:m(e,s)}function w(t,i){const e=t.x-i.x,s=t.y-i.y;return{dx:e,dy:s,distance:Math.sqrt(e**2+s**2)}}function _(t,i){return w(t,i).distance}function b(t){return t*Math.PI/180}function x(t,i,e){if((0,a.hj)(t))return b(t);switch(t){case s.p.top:return-Math.PI*n.jz;case s.p.topRight:return-Math.PI*n.mS;case s.p.right:return n.cS;case s.p.bottomRight:return Math.PI*n.mS;case s.p.bottom:return Math.PI*n.jz;case s.p.bottomLeft:return Math.PI*n.ix;case s.p.left:return Math.PI;case s.p.topLeft:return-Math.PI*n.ix;case s.p.inside:return Math.atan2(e.y-i.y,e.x-i.x);case s.p.outside:return Math.atan2(i.y-e.y,i.x-e.x);default:return l()*n.Mn}}function z(t){const i=o.O.origin;return i.length=1,i.angle=t,i}function k(t){var i,e,s,n;return{x:null!==(i=null===(e=t.position)||void 0===e?void 0:e.x)&&void 0!==i?i:l()*t.size.width,y:null!==(s=null===(n=t.position)||void 0===n?void 0:n.y)&&void 0!==s?s:l()*t.size.height}}function M(t){return t?t.endsWith("%")?parseFloat(t)/n.tZ:parseFloat(t):1}},84015:function(t,i,e){e.d(i,{h:()=>n,x:()=>o});e(71695),e(47021);var s=e(26015);function n(t,...i){for(const e of i)t.load(e)}function o(t,i,...e){const o=new s.B(t,i);return n(o,...e),o}},81809:function(t,i,e){function s(t){return"boolean"==typeof t}function n(t){return"string"==typeof t}function o(t){return"number"==typeof t}function a(t){return"object"==typeof t&&null!==t}function r(t){return Array.isArray(t)}function c(t){return null==t}e.d(i,{Ft:()=>c,HD:()=>n,Kn:()=>a,hj:()=>o,jn:()=>s,kJ:()=>r})},63108:function(t,i,e){e.d(i,{Ac:()=>x,Cr:()=>D,HY:()=>g,KH:()=>M,Kr:()=>y,M_:()=>z,NM:()=>m,V0:()=>C,ZB:()=>k,bP:()=>I,bt:()=>S,c8:()=>b,dB:()=>_,fN:()=>R,jl:()=>v,wA:()=>P,yf:()=>w});var s=e(58814),n=(e(71695),e(9359),e(1331),e(70104),e(52924),e(77439),e(40251),e(11740),e(47021),e(32767)),o=e(80786),a=e(81809),r=e(16350),c=e(13e3),l=e(56977),h=e(1996),d=e(12428),u=e(26303);e(8009);const p=["mode"],f={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function v(){return f}function y(){return"undefined"==typeof window||!window||void 0===window.document||!window.document}function g(t){if(!y()&&"undefined"!=typeof matchMedia)return matchMedia(t)}function m(t){if(!y()&&"undefined"!=typeof IntersectionObserver)return new IntersectionObserver(t)}function w(t){if(!y()&&"undefined"!=typeof MutationObserver)return new MutationObserver(t)}function _(t,i){return t===i||(0,a.kJ)(i)&&i.indexOf(t)>-1}function b(t,i,e=!0){return t[void 0!==i&&e?i%t.length:function(t){return Math.floor((0,n.sZ)()*t.length)}(t)]}function x(t,i,e,s,n){return function(t,i,e,s){let n=!0;s&&s!==h.D.bottom||(n=t.top<i.height+e.x);!n||s&&s!==h.D.left||(n=t.right>e.x);!n||s&&s!==h.D.right||(n=t.left<i.width+e.y);!n||s&&s!==h.D.top||(n=t.bottom>e.y);return n}(z(t,null!=s?s:0),i,e,n)}function z(t,i){return{bottom:t.y+i,left:t.x-i,right:t.x+i,top:t.y-i}}function k(t,...i){for(const e of i){if(null==e)continue;if(!(0,a.Kn)(e)){t=e;continue}const i=Array.isArray(e);!i||!(0,a.Kn)(t)&&t&&Array.isArray(t)?i||!(0,a.Kn)(t)&&t&&!Array.isArray(t)||(t={}):t=[];for(const s in e){if("__proto__"===s)continue;const i=e[s],n=t;n[s]=(0,a.Kn)(i)&&Array.isArray(i)?i.map((t=>k(n[s],t))):k(n[s],i)}}return t}function M(t,i){return(0,a.kJ)(t)?t.map(((t,e)=>i(t,e))):i(t,0)}function P(t,i,e){return(0,a.kJ)(t)?b(t,i,e):t}function C(t,i){const e=t.value,s=t.animation,a={delayTime:(0,n.Gu)(s.delay)*o.X5,enable:s.enable,value:(0,n.Gu)(t.value)*i,max:(0,n.KI)(e)*i,min:(0,n.Uv)(e)*i,loops:0,maxLoops:(0,n.Gu)(s.count),time:0};if(s.enable){switch(a.decay=1-(0,n.Gu)(s.decay),s.mode){case r.m.increase:a.status=c.N.increasing;break;case r.m.decrease:a.status=c.N.decreasing;break;case r.m.random:a.status=(0,n.sZ)()>=o.jz?c.N.increasing:c.N.decreasing}const t=s.mode===r.m.auto;switch(s.startValue){case u.a.min:a.value=a.min,t&&(a.status=c.N.increasing);break;case u.a.max:a.value=a.max,t&&(a.status=c.N.decreasing);break;case u.a.random:default:a.value=(0,n.vd)(a),t&&(a.status=(0,n.sZ)()>=o.jz?c.N.increasing:c.N.decreasing)}}return a.initialValue=a.value,a}function O(t,i){if(!(t.mode===d.l.percent)){const{mode:i}=t;return(0,s.Z)(t,p)}return"x"in t?{x:t.x/o.tZ*i.width,y:t.y/o.tZ*i.height}:{width:t.width/o.tZ*i.width,height:t.height/o.tZ*i.height}}function S(t,i){return O(t,i)}function D(t,i,e,s,o){var a,r,h,d,u,p,f,v,y;if(t.destroyed||!i||!i.enable||(null!==(a=i.maxLoops)&&void 0!==a?a:0)>0&&(null!==(r=i.loops)&&void 0!==r?r:0)>(null!==(h=i.maxLoops)&&void 0!==h?h:0))return;const g=(null!==(d=i.velocity)&&void 0!==d?d:0)*o.factor,m=i.min,w=i.max,_=null!==(u=i.decay)&&void 0!==u?u:1;if(i.time||(i.time=0),(null!==(p=i.delayTime)&&void 0!==p?p:0)>0&&i.time<(null!==(f=i.delayTime)&&void 0!==f?f:0)&&(i.time+=o.value),!((null!==(v=i.delayTime)&&void 0!==v?v:0)>0&&i.time<(null!==(y=i.delayTime)&&void 0!==y?y:0))){switch(i.status){case c.N.increasing:i.value>=w?(e?i.status=c.N.decreasing:i.value-=w,i.loops||(i.loops=0),i.loops++):i.value+=g;break;case c.N.decreasing:i.value<=m?(e?i.status=c.N.increasing:i.value+=w,i.loops||(i.loops=0),i.loops++):i.value-=g}i.velocity&&1!==_&&(i.velocity*=_),function(t,i,e,s,n){switch(i){case l.H.max:e>=n&&t.destroy();break;case l.H.min:e<=s&&t.destroy()}}(t,s,i.value,m,w),t.destroyed||(i.value=(0,n.uZ)(i.value,m,w))}}function R(t){const i=document.createElement("div").style;if(!t)return i;for(const r in t){var e,s;const c=t[r];if(!Object.prototype.hasOwnProperty.call(t,r)||(0,a.Ft)(c))continue;const l=null===(e=t.getPropertyValue)||void 0===e?void 0:e.call(t,c);if(!l)continue;const h=null===(s=t.getPropertyPriority)||void 0===s?void 0:s.call(t,c);var n,o;if(h)null===(n=i.setProperty)||void 0===n||n.call(i,c,l,h);else null===(o=i.setProperty)||void 0===o||o.call(i,c,l)}return i}const I=function(t){const i=new Map;return(...e)=>{const s=JSON.stringify(e);if(i.has(s))return i.get(s);const n=t(...e);return i.set(s,n),n}}((function(t){const i=document.createElement("div").style,e={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:t.toString(10),"z-index":t.toString(10),top:"0",left:"0"};for(const s in e){const t=e[s];i.setProperty(s,t)}return i}))},6151:function(t,i,e){e.d(i,{BVM:()=>_.BV,V0:()=>b.V0,uZ5:()=>_.uZ,izR:()=>w.iz,PBz:()=>w.PB,RnL:()=>a,CrJ:()=>b.Cr,DYc:()=>u.D,bS$:()=>w.bS,Spd:()=>_.Sp,Voc:()=>p.V,M_G:()=>b.M_,BEi:()=>w.BE,Ft:()=>x.Ft,Gu7:()=>_.Gu,veL:()=>w.ve,Cdc:()=>c.Cd,Dt5:()=>w.Dt,Ac:()=>b.Ac,vdf:()=>_.vd,Kn2:()=>x.Kn,tXk:()=>w.tX,$Sh:()=>o,oW6:()=>_.oW,AeJ:()=>c.Ae,OWs:()=>l.O,sZz:()=>_.sZ,Y6v:()=>w.Y6,KIV:()=>_.KI,pSR:()=>m.pS,Idc:()=>_.Id,Igb:()=>y.I,tZy:()=>s.tZ,lNs:()=>w.lN,OzF:()=>g.O});var s=e(80786),n=e(68521);class o{constructor(t){this.type=n._.particles,this.container=t}}var a,r,c=e(64007),l=e(8009);e(33085);(r=a||(a={})).clockwise="clockwise",r.counterClockwise="counter-clockwise",r.random="random";var h,d,u=e(1996),p=(e(16350),e(11271),e(17388),e(63620));e(12428),e(84630),e(43530),e(29488),e(56977);(d=h||(h={})).linear="linear",d.radial="radial",d.random="random";var f,v,y=e(49133);e(26303),e(71881);(v=f||(f={})).easeInBack="ease-in-back",v.easeInCirc="ease-in-circ",v.easeInCubic="ease-in-cubic",v.easeInLinear="ease-in-linear",v.easeInQuad="ease-in-quad",v.easeInQuart="ease-in-quart",v.easeInQuint="ease-in-quint",v.easeInExpo="ease-in-expo",v.easeInSine="ease-in-sine",v.easeOutBack="ease-out-back",v.easeOutCirc="ease-out-circ",v.easeOutCubic="ease-out-cubic",v.easeOutLinear="ease-out-linear",v.easeOutQuad="ease-out-quad",v.easeOutQuart="ease-out-quart",v.easeOutQuint="ease-out-quint",v.easeOutExpo="ease-out-expo",v.easeOutSine="ease-out-sine",v.easeInOutBack="ease-in-out-back",v.easeInOutCirc="ease-in-out-circ",v.easeInOutCubic="ease-in-out-cubic",v.easeInOutLinear="ease-in-out-linear",v.easeInOutQuad="ease-in-out-quad",v.easeInOutQuart="ease-in-out-quart",v.easeInOutQuint="ease-in-out-quint",v.easeInOutExpo="ease-in-out-expo",v.easeInOutSine="ease-in-out-sine";e(76413),e(13e3),e(70896),e(12808),e(56347),e(99958),e(62893),e(11265),e(42758),e(69418),e(90786),e(34812),e(30617);var g=e(70078),m=(e(63239),e(46882),e(41932),e(26015),e(3473),e(24514),e(4027),e(38311),e(62385),e(24236),e(25787),e(46793),e(15648),e(31823),e(35639),e(81327),e(32552),e(90980),e(21680),e(29446),e(75984),e(60628),e(81105),e(32378),e(70419),e(66852)),w=e(7534),_=e(32767),b=(e(84015),e(63108)),x=e(81809)},76305:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{$Sh:()=>a.$Sh,Ac:()=>a.Ac,AeJ:()=>a.AeJ,BEi:()=>a.BEi,BVM:()=>a.BVM,Cdc:()=>a.Cdc,CrJ:()=>a.CrJ,DYc:()=>a.DYc,Dt5:()=>a.Dt5,Ft:()=>a.Ft,Gu7:()=>a.Gu7,Idc:()=>a.Idc,Igb:()=>a.Igb,KIV:()=>a.KIV,Kn2:()=>a.Kn2,M_G:()=>a.M_G,OWs:()=>a.OWs,OzF:()=>a.OzF,PBz:()=>a.PBz,RnL:()=>a.RnL,S6T:()=>c,Spd:()=>a.Spd,V0:()=>a.V0,Voc:()=>a.Voc,Y6v:()=>a.Y6v,bS$:()=>a.bS$,izR:()=>a.izR,lNs:()=>a.lNs,oW6:()=>a.oW6,pSR:()=>a.pSR,sZz:()=>a.sZz,tXk:()=>a.tXk,tZy:()=>a.tZy,uZ5:()=>a.uZ5,vdf:()=>a.vdf,veL:()=>a.veL});var n=e(47472),o=e(63108),a=e(6151),r=t([n]);const c=(0,(n=(r.then?(await r)():r)[0]).S)();(0,o.Kr)()||(window.tsParticles=c),s()}catch(c){s(c)}}))},47472:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{S:()=>r});var n=e(57649),o=t([n]);function r(){const t=new n.D;return t.init(),t}n=(o.then?(await o)():o)[0],s()}catch(a){s(a)}}))},58680:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{e:()=>r});e(19423);var n=e(76305),o=t([n]);n=(o.then?(await o)():o)[0];const a=2;class r extends n.Cdc{constructor(t,i,e,s){super(t,i,e),this.canvasSize=s,this.canvasSize=Object.assign({},s)}contains(t){const{width:i,height:e}=this.canvasSize,{x:s,y:n}=t;return super.contains(t)||super.contains({x:s-i,y:n})||super.contains({x:s-i,y:n-e})||super.contains({x:s,y:n-e})}intersects(t){if(super.intersects(t))return!0;const i=t,e=t,s={x:t.position.x-this.canvasSize.width,y:t.position.y-this.canvasSize.height};if(void 0!==e.radius){const t=new n.Cdc(s.x,s.y,e.radius*a);return super.intersects(t)}if(void 0!==i.size){const t=new n.AeJ(s.x,s.y,i.size.width*a,i.size.height*a);return super.intersects(t)}return!1}}s()}catch(a){s(a)}}))},56292:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{B:()=>u});e(71695),e(9359),e(56475),e(40251),e(47021);var n=e(76305),o=e(10133),a=t([n,o]);[n,o]=a.then?(await a)():a;const r=0,c=0,l=0,h=.5,d=1;class u{constructor(t,i){this._drawLinkLine=(t,i)=>{const e=t.options.links;if(null==e||!e.enable)return;const s=this._container,a=s.actualOptions,r=i.destination,h=t.getPosition(),d=r.getPosition();let u=i.opacity;s.canvas.draw((i=>{var p,f,v;let y;const g=null===(p=t.options.twinkle)||void 0===p?void 0:p.lines;if(null!=g&&g.enable){const t=g.frequency,i=(0,n.tXk)(this._engine,g.color);(0,n.sZz)()<t&&i&&(y=i,u=(0,n.Gu7)(g.opacity))}if(!y){const i=void 0!==e.id?s.particles.linksColors.get(e.id):s.particles.linksColor;y=(0,n.BEi)(t,r,i)}if(!y)return;const m=null!==(f=t.retina.linksWidth)&&void 0!==f?f:c,w=null!==(v=t.retina.linksDistance)&&void 0!==v?v:l,{backgroundMask:_}=a;(0,o.Eb)({context:i,width:m,begin:h,end:d,engine:this._engine,maxDistance:w,canvasSize:s.canvas.size,links:e,backgroundMask:_,colorLine:y,opacity:u})}))},this._drawLinkTriangle=(t,i,e)=>{var s;const a=t.options.links;if(null==a||!a.enable)return;const c=a.triangles;if(!c.enable)return;const d=this._container,u=d.actualOptions,p=i.destination,f=e.destination,v=null!==(s=c.opacity)&&void 0!==s?s:(i.opacity+e.opacity)*h;v<=r||d.canvas.draw((i=>{var e;const s=t.getPosition(),r=p.getPosition(),h=f.getPosition(),y=null!==(e=t.retina.linksDistance)&&void 0!==e?e:l;if((0,n.Spd)(s,r)>y||(0,n.Spd)(h,r)>y||(0,n.Spd)(h,s)>y)return;let g=(0,n.tXk)(this._engine,c.color);if(!g){const i=void 0!==a.id?d.particles.linksColors.get(a.id):d.particles.linksColor;g=(0,n.BEi)(t,p,i)}g&&(0,o.RK)({context:i,pos1:s,pos2:r,pos3:h,backgroundMask:u.backgroundMask,colorTriangle:g,opacityTriangle:v})}))},this._drawTriangles=(t,i,e,s)=>{var n,o,a;const r=e.destination;if(null===(n=t.links)||void 0===n||!n.triangles.enable||null===(o=r.options.links)||void 0===o||!o.triangles.enable)return;const c=null===(a=r.links)||void 0===a?void 0:a.filter((t=>{const i=this._getLinkFrequency(r,t.destination);return r.options.links&&i<=r.options.links.frequency&&s.findIndex((i=>i.destination===t.destination))>=0}));if(null!=c&&c.length)for(const l of c){const s=l.destination;this._getTriangleFrequency(i,r,s)>t.links.triangles.frequency||this._drawLinkTriangle(i,e,l)}},this._getLinkFrequency=(t,i)=>(0,o.PH)([t,i],this._freqs.links),this._getTriangleFrequency=(t,i,e)=>(0,o.PH)([t,i,e],this._freqs.triangles),this._container=t,this._engine=i,this._freqs={links:new Map,triangles:new Map}}drawParticle(t,i){const{links:e,options:s}=i;if(null==e||!e.length)return;const n=e.filter((t=>s.links&&(s.links.frequency>=d||this._getLinkFrequency(i,t.destination)<=s.links.frequency)));for(const a of n){var o;this._drawTriangles(s,i,a,n),a.opacity>r&&(null!==(o=i.retina.linksWidth)&&void 0!==o?o:c)>c&&this._drawLinkLine(i,a)}}async init(){this._freqs.links=new Map,this._freqs.triangles=new Map,await Promise.resolve()}particleCreated(t){if(t.links=[],!t.options.links)return;const i=this._container.retina.pixelRatio,{retina:e}=t,{distance:s,width:n}=t.options.links;e.linksDistance=s*i,e.linksWidth=n*i}particleDestroyed(t){t.links=[]}}s()}catch(r){s(r)}}))},59311:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{h:()=>f});e(71695),e(92745),e(9359),e(52924),e(47021);var n=e(76305),o=e(58680),a=e(17407),r=t([o,n,a]);[o,n,a]=r.then?(await r)():r;const l=2,h=1,d={x:0,y:0},u=0;function p(t,i,e,s,o){const{dx:a,dy:r,distance:c}=(0,n.oW6)(t,i);if(!o||c<=e)return c;const h={x:Math.abs(a),y:Math.abs(r)},d=Math.min(h.x,s.width-h.x),u=Math.min(h.y,s.height-h.y);return Math.sqrt(d**l+u**l)}class f extends n.$Sh{constructor(t,i){super(t),this._setColor=t=>{if(!t.options.links)return;const i=this._linkContainer,e=t.options.links;let s=void 0===e.id?i.particles.linksColor:i.particles.linksColors.get(e.id);if(s)return;const o=e.color;s=(0,n.Dt5)(this._engine,o,e.blink,e.consent),void 0===e.id?i.particles.linksColor=s:i.particles.linksColors.set(e.id,s)},this._linkContainer=t,this._engine=i}clear(){}init(){this._linkContainer.particles.linksColor=void 0,this._linkContainer.particles.linksColors=new Map}interact(t){var i;if(!t.options.links)return;t.links=[];const e=t.getPosition(),s=this.container,a=s.canvas.size;if(e.x<d.x||e.y<d.y||e.x>a.width||e.y>a.height)return;const r=t.options.links,c=r.opacity,l=null!==(i=t.retina.linksDistance)&&void 0!==i?i:u,f=r.warp;let v;v=f?new o.e(e.x,e.y,l,a):new n.Cdc(e.x,e.y,l);const y=s.particles.quadTree.query(v);for(const n of y){const i=n.options.links;if(t===n||null==i||!i.enable||r.id!==i.id||n.spawning||n.destroyed||!n.links||t.links.some((t=>t.destination===n))||n.links.some((i=>i.destination===t)))continue;const s=n.getPosition();if(s.x<d.x||s.y<d.y||s.x>a.width||s.y>a.height)continue;const o=p(e,s,l,a,f&&i.warp);if(o>l)continue;const u=(h-o/l)*c;this._setColor(t),t.links.push({destination:n,opacity:u})}}isEnabled(t){var i;return!(null===(i=t.options.links)||void 0===i||!i.enable)}loadParticlesOptions(t,...i){t.links||(t.links=new a.y);for(const e of i)t.links.load(null==e?void 0:e.links)}reset(){}}s()}catch(c){s(c)}}))},6528:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{f:()=>a});e(40251);var n=e(56292),o=t([n]);n=(o.then?(await o)():o)[0];class a{constructor(t){this.id="links",this._engine=t}getPlugin(t){return Promise.resolve(new n.B(t,this._engine))}loadOptions(){}needsPlugin(){return!0}}s()}catch(a){s(a)}}))},17407:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{y:()=>c});var n=e(76305),o=e(12629),a=e(21871),r=t([o,a,n]);[o,a,n]=r.then?(await r)():r;class c{constructor(){this.blink=!1,this.color=new n.OzF,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new o.u,this.triangles=new a.e,this.width=1,this.warp=!1}load(t){(0,n.Ft)(t)||(void 0!==t.id&&(this.id=t.id),void 0!==t.blink&&(this.blink=t.blink),this.color=n.OzF.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))}}s()}catch(c){s(c)}}))},12629:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{u:()=>a});var n=e(76305),o=t([n]);n=(o.then?(await o)():o)[0];class a{constructor(){this.blur=5,this.color=new n.OzF,this.color.value="#000",this.enable=!1}load(t){(0,n.Ft)(t)||(void 0!==t.blur&&(this.blur=t.blur),this.color=n.OzF.create(this.color,t.color),void 0!==t.enable&&(this.enable=t.enable))}}s()}catch(a){s(a)}}))},21871:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{e:()=>a});var n=e(76305),o=t([n]);n=(o.then?(await o)():o)[0];class a{constructor(){this.enable=!1,this.frequency=1}load(t){(0,n.Ft)(t)||(void 0!==t.color&&(this.color=n.OzF.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))}}s()}catch(a){s(a)}}))},10133:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{Eb:()=>c,PH:()=>h,RK:()=>l});e(61893),e(9359),e(70104);var n=e(76305),o=t([n]);function r(t,i,e,s){t.beginPath(),t.moveTo(i.x,i.y),t.lineTo(e.x,e.y),t.lineTo(s.x,s.y),t.closePath()}function c(t){let i=!1;const{begin:e,end:s,engine:o,maxDistance:a,context:r,canvasSize:c,width:l,backgroundMask:h,colorLine:d,opacity:u,links:p}=t;if((0,n.Spd)(e,s)<=a)(0,n.pSR)(r,e,s),i=!0;else if(p.warp){let t,o;const l={x:s.x-c.width,y:s.y},h=(0,n.oW6)(e,l);if(h.distance<=a){const i=e.y-h.dy/h.dx*e.x;t={x:0,y:i},o={x:c.width,y:i}}else{const i={x:s.x,y:s.y-c.height},r=(0,n.oW6)(e,i);if(r.distance<=a){const i=-(e.y-r.dy/r.dx*e.x)/(r.dy/r.dx);t={x:i,y:0},o={x:i,y:c.height}}else{const i={x:s.x-c.width,y:s.y-c.height},r=(0,n.oW6)(e,i);if(r.distance<=a){const i=e.y-r.dy/r.dx*e.x;t={x:-i/(r.dy/r.dx),y:i},o={x:t.x+c.width,y:t.y+c.height}}}}t&&o&&((0,n.pSR)(r,e,t),(0,n.pSR)(r,s,o),i=!0)}if(!i)return;r.lineWidth=l,h.enable&&(r.globalCompositeOperation=h.composite),r.strokeStyle=(0,n.izR)(d,u);const{shadow:f}=p;if(f.enable){const t=(0,n.tXk)(o,f.color);t&&(r.shadowBlur=f.blur,r.shadowColor=(0,n.izR)(t))}r.stroke()}function l(t){const{context:i,pos1:e,pos2:s,pos3:o,backgroundMask:a,colorTriangle:c,opacityTriangle:l}=t;r(i,e,s,o),a.enable&&(i.globalCompositeOperation=a.composite),i.fillStyle=(0,n.izR)(c,l),i.fill()}function h(t,i){const e=((s=t.map((t=>t.id))).sort(((t,i)=>t-i)),s.join("_"));var s;let o=i.get(e);return void 0===o&&(o=(0,n.sZz)(),i.set(e,o)),o}n=(o.then?(await o)():o)[0],s()}catch(a){s(a)}}))},24120:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{Xz:()=>d});e(40251);var n=e(27367),o=e(99832),a=e(17407),r=e(12629),c=e(21871),l=t([a,r,c,n,o]);async function d(t,i=!0){t.checkVersion("3.8.1"),await(0,n.K)(t,i),await(0,o.d)(t,i)}[a,r,c,n,o]=l.then?(await l)():l,s()}catch(h){s(h)}}))},27367:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{K:()=>r});e(40251);var n=e(59311),o=t([n]);async function r(t,i=!0){await t.addInteractor("particlesLinks",(async i=>Promise.resolve(new n.h(i,t))),i)}n=(o.then?(await o)():o)[0],s()}catch(a){s(a)}}))},99832:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{d:()=>r});e(40251);var n=e(6528),o=t([n]);async function r(t,i=!0){const e=new n.f(t);await t.addPlugin(e,i)}n=(o.then?(await o)():o)[0],s()}catch(a){s(a)}}))},12804:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{G:()=>h});var n=e(76305),o=e(29420),a=t([n,o]);[n,o]=a.then?(await a)():a;const r=2,c=1,l=1;class h{init(t){const i=t.options.move.gravity;t.gravity={enable:i.enable,acceleration:(0,n.Gu7)(i.acceleration),inverse:i.inverse},(0,o.$w)(t)}isEnabled(t){return!t.destroyed&&t.options.move.enable}move(t,i){var e,s,a,h,d;const u=t.options,p=u.move;if(!p.enable)return;const f=t.container,v=f.retina.pixelRatio;null!==(s=(e=t.retina).moveSpeed)&&void 0!==s||(e.moveSpeed=(0,n.Gu7)(p.speed)*v),null!==(h=(a=t.retina).moveDrift)&&void 0!==h||(a.moveDrift=(0,n.Gu7)(t.options.move.drift)*v);const y=(0,o.mo)(t),g=t.retina.moveSpeed*f.retina.reduceFactor,m=t.retina.moveDrift,w=(0,n.KIV)(u.size.value)*v,_=g*(p.size?t.getRadius()/w:c)*y*(i.factor||l)/r,b=null!==(d=t.retina.maxSpeed)&&void 0!==d?d:f.retina.maxSpeed;p.spin.enable?(0,o.O2)(t,_):(0,o.pB)(t,p,_,b,m,i),(0,o.Bk)(t)}}s()}catch(r){s(r)}}))},29420:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{$w:()=>_,Bk:()=>v,O2:()=>g,mo:()=>w,pB:()=>y});var n=e(76305),o=t([n]);n=(o.then?(await o)():o)[0];const r=.5,c=2,l=0,h=1,d=60,u=0,p=.01,f=Math.PI*c;function v(t){var i,e;const s=t.initialPosition,{dx:o,dy:a}=(0,n.oW6)(s,t.position),c=Math.abs(o),h=Math.abs(a),{maxDistance:d}=t.retina,u=d.horizontal,p=d.vertical;if(!u&&!p)return;const f=null!==(e=p&&h>=p)&&void 0!==e&&e;if(!(null!==(i=u&&c>=u)&&void 0!==i&&i)&&!f||t.misplaced){if((!u||c<u)&&(!p||h<p)&&t.misplaced)t.misplaced=!1;else if(t.misplaced){const i=t.position,e=t.velocity;u&&(i.x<s.x&&e.x<l||i.x>s.x&&e.x>l)&&(e.x*=-(0,n.sZz)()),p&&(i.y<s.y&&e.y<l||i.y>s.y&&e.y>l)&&(e.y*=-(0,n.sZz)())}}else t.misplaced=!!u&&c>u||!!p&&h>p,u&&(t.velocity.x=t.velocity.y*r-t.velocity.x),p&&(t.velocity.y=t.velocity.x*r-t.velocity.y)}function y(t,i,e,s,n,o){m(t,o);const a=t.gravity,r=null!=a&&a.enable&&a.inverse?-h:h;n&&e&&(t.velocity.x+=n*o.factor/(d*e)),null!=a&&a.enable&&e&&(t.velocity.y+=r*(a.acceleration*o.factor)/(d*e));const c=t.moveDecay;t.velocity.multTo(c);const u=t.velocity.mult(e);null!=a&&a.enable&&s>l&&(!a.inverse&&u.y>=l&&u.y>=s||a.inverse&&u.y<=l&&u.y<=-s)&&(u.y=r*s,e&&(t.velocity.y=u.y/e));const p=t.options.zIndex,f=(h-t.zIndexFactor)**p.velocityRate;u.multTo(f);const{position:v}=t;v.addTo(u),i.vibrate&&(v.x+=Math.sin(v.x*Math.cos(v.y)),v.y+=Math.cos(v.y*Math.sin(v.x)))}function g(t,i){const e=t.container;if(!t.spin)return;const s=t.spin.direction===n.RnL.clockwise,o={x:s?Math.cos:Math.sin,y:s?Math.sin:Math.cos};t.position.x=t.spin.center.x+t.spin.radius*o.x(t.spin.angle),t.position.y=t.spin.center.y+t.spin.radius*o.y(t.spin.angle),t.spin.radius+=t.spin.acceleration;const a=Math.max(e.canvas.size.width,e.canvas.size.height),c=a*r;t.spin.radius>c?(t.spin.radius=c,t.spin.acceleration*=-h):t.spin.radius<u&&(t.spin.radius=u,t.spin.acceleration*=-h),t.spin.angle+=i*p*(h-t.spin.radius/a)}function m(t,i){var e;const s=t.options.move.path;if(!s.enable)return;if(t.lastPathTime<=t.pathDelay)return void(t.lastPathTime+=i.value);const o=null===(e=t.pathGenerator)||void 0===e?void 0:e.generate(t,i);o&&t.velocity.addTo(o),s.clamp&&(t.velocity.x=(0,n.uZ5)(t.velocity.x,-h,h),t.velocity.y=(0,n.uZ5)(t.velocity.y,-h,h)),t.lastPathTime-=t.pathDelay}function w(t){return t.slow.inRange?t.slow.factor:h}function _(t){var i;const e=t.container,s=t.options.move.spin;if(!s.enable)return;const o=null!==(i=s.position)&&void 0!==i?i:{x:50,y:50},a={x:.01*o.x*e.canvas.size.width,y:.01*o.y*e.canvas.size.height},r=t.getPosition(),c=(0,n.Spd)(r,a),h=(0,n.Gu7)(s.acceleration);t.retina.spinAcceleration=h*e.retina.pixelRatio,t.spin={center:a,direction:t.velocity.x>=l?n.RnL.clockwise:n.RnL.counterClockwise,angle:(0,n.sZz)()*f,radius:c,acceleration:t.retina.spinAcceleration}}s()}catch(a){s(a)}}))},6102:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{p:()=>r});e(40251);var n=e(12804),o=t([n]);async function r(t,i=!0){t.checkVersion("3.8.1"),await t.addMover("base",(()=>Promise.resolve(new n.G)),i)}n=(o.then?(await o)():o)[0],s()}catch(a){s(a)}}))},45970:function(t,i,e){e.d(i,{Z:()=>c});var s,n;e(40251),e(23669),e(19134),e(97003),e(88044);(n=s||(s={}))[n.r=1]="r",n[n.g=2]="g",n[n.b=3]="b",n[n.a=4]="a";const o=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i;class r{constructor(){this.key="hex",this.stringPrefix="#"}handleColor(t){return this._parseString(t.value)}handleRangeColor(t){return this._parseString(t.value)}parseString(t){return this._parseString(t)}_parseString(t){if("string"!=typeof t)return;if(null==t||!t.startsWith(this.stringPrefix))return;const i=t.replace(o,((t,i,e,s,n)=>i+i+e+e+s+s+(void 0!==n?n+n:""))),e=a.exec(i);return e?{a:void 0!==e[s.a]?parseInt(e[s.a],16)/255:1,b:parseInt(e[s.b],16),g:parseInt(e[s.g],16),r:parseInt(e[s.r],16)}:void 0}}async function c(t,i=!0){t.checkVersion("3.8.1"),await t.addColorManager(new r,i)}},44543:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{B:()=>r});e(23669),e(19134),e(88044);var n,o=e(76305),a=t([o]);o=(a.then?(await a)():a)[0],function(t){t[t.h=1]="h",t[t.s=2]="s",t[t.l=3]="l",t[t.a=5]="a"}(n||(n={}));class r{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(t){var i;const e=null!==(i=t.value.hsl)&&void 0!==i?i:t.value;if(void 0!==e.h&&void 0!==e.s&&void 0!==e.l)return(0,o.veL)(e)}handleRangeColor(t){var i;const e=null!==(i=t.value.hsl)&&void 0!==i?i:t.value;if(void 0!==e.h&&void 0!==e.l)return(0,o.veL)({h:(0,o.Gu7)(e.h),l:(0,o.Gu7)(e.l),s:(0,o.Gu7)(e.s)})}parseString(t){if(!t.startsWith("hsl"))return;const i=/hsla?\(\s*(\d+)\s*[\s,]\s*(\d+)%\s*[\s,]\s*(\d+)%\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i.exec(t);return i?(0,o.Y6v)({a:i.length>4?(0,o.BVM)(i[n.a]):1,h:parseInt(i[n.h],10),l:parseInt(i[n.l],10),s:parseInt(i[n.s],10)}):void 0}}s()}catch(r){s(r)}}))},3853:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{C:()=>r});e(40251);var n=e(44543),o=t([n]);async function r(t,i=!0){t.checkVersion("3.8.1"),await t.addColorManager(new n.B,i)}n=(o.then?(await o)():o)[0],s()}catch(a){s(a)}}))},30507:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{g:()=>r});e(23669),e(19134),e(88044);var n,o=e(76305),a=t([o]);o=(a.then?(await a)():a)[0],function(t){t[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=5]="a"}(n||(n={}));class r{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(t){var i;const e=null!==(i=t.value.rgb)&&void 0!==i?i:t.value;if(void 0!==e.r)return e}handleRangeColor(t){var i;const e=null!==(i=t.value.rgb)&&void 0!==i?i:t.value;if(void 0!==e.r)return{r:(0,o.Gu7)(e.r),g:(0,o.Gu7)(e.g),b:(0,o.Gu7)(e.b)}}parseString(t){if(!t.startsWith(this.stringPrefix))return;const i=/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.exec(t);return i?{a:i.length>4?(0,o.BVM)(i[n.a]):1,b:parseInt(i[n.b],10),g:parseInt(i[n.g],10),r:parseInt(i[n.r],10)}:void 0}}s()}catch(r){s(r)}}))},35371:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{T:()=>r});e(40251);var n=e(30507),o=t([n]);async function r(t,i=!0){t.checkVersion("3.8.1"),await t.addColorManager(new n.g,i)}n=(o.then?(await o)():o)[0],s()}catch(a){s(a)}}))},25914:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{U:()=>l});e(40251);var n=e(44968),o=e(24120),a=e(62758),r=t([n,o]);async function l(t,i=!0){await(0,n.B)(t,!1),await(0,o.Xz)(t,!1),await t.addPreset("links",a.Y,!1),await t.refresh(i)}[n,o]=r.then?(await r)():r,s()}catch(c){s(c)}}))},62758:function(t,i,e){e.d(i,{Y:()=>s});const s={background:{color:"#000000"},particles:{number:{value:100},links:{distance:150,enable:!0},move:{enable:!0},size:{value:1},shape:{type:"circle"}}}},48029:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{$:()=>h});var n=e(76305),o=e(51152),a=t([n]);n=(a.then?(await a)():a)[0];const r=12,c=360,l=0;class h{constructor(){this.validTypes=["circle"]}draw(t){(0,o.x)(t)}getSidesCount(){return r}particleInit(t,i){var e;const s=i.shapeData,o=null!==(e=null==s?void 0:s.angle)&&void 0!==e?e:{max:c,min:l};i.circleRange=(0,n.Kn2)(o)?{min:(0,n.Idc)(o.min),max:(0,n.Idc)(o.max)}:{min:l,max:(0,n.Idc)(o)}}}s()}catch(r){s(r)}}))},51152:function(t,i,e){e.d(i,{x:()=>a});const s=2*Math.PI,n=0,o={x:0,y:0};function a(t){const{context:i,particle:e,radius:a}=t;e.circleRange||(e.circleRange={min:n,max:s});const r=e.circleRange;i.arc(o.x,o.y,a,r.min,r.max,!1)}},37885:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{J:()=>r});e(40251);var n=e(48029),o=t([n]);async function r(t,i=!0){t.checkVersion("3.8.1"),await t.addShape(new n.$,i)}n=(o.then?(await o)():o)[0],s()}catch(a){s(a)}}))},72027:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{G:()=>a});var n=e(76305),o=t([n]);n=(o.then?(await o)():o)[0];class a{constructor(t,i){this._container=t,this._engine=i}init(t){const i=(0,n.lNs)(this._engine,t.options.color,t.id,t.options.reduceDuplicates);i&&(t.color=(0,n.bS$)(i,t.options.color.animation,this._container.retina.reduceFactor))}isEnabled(t){const{h:i,s:e,l:s}=t.options.color.animation,{color:n}=t;return!t.destroyed&&!t.spawning&&(void 0!==(null==n?void 0:n.h.value)&&i.enable||void 0!==(null==n?void 0:n.s.value)&&e.enable||void 0!==(null==n?void 0:n.l.value)&&s.enable)}update(t,i){(0,n.PBz)(t.color,i)}}s()}catch(a){s(a)}}))},83060:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{z:()=>r});e(40251);var n=e(72027),o=t([n]);async function r(t,i=!0){t.checkVersion("3.8.1"),await t.addParticleUpdater("color",(i=>Promise.resolve(new n.G(i,t))),i)}n=(o.then?(await o)():o)[0],s()}catch(a){s(a)}}))},67452:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{y:()=>a});var n=e(76305),o=t([n]);n=(o.then?(await o)():o)[0];class a{constructor(t){this.container=t}init(t){const i=t.options.opacity;t.opacity=(0,n.V0)(i,1);const e=i.animation;e.enable&&(t.opacity.velocity=(0,n.Gu7)(e.speed)/n.tZy*this.container.retina.reduceFactor,e.sync||(t.opacity.velocity*=(0,n.sZz)()))}isEnabled(t){var i,e,s,n;return!t.destroyed&&!t.spawning&&!!t.opacity&&t.opacity.enable&&((null!==(i=t.opacity.maxLoops)&&void 0!==i?i:0)<=0||(null!==(e=t.opacity.maxLoops)&&void 0!==e?e:0)>0&&(null!==(s=t.opacity.loops)&&void 0!==s?s:0)<(null!==(n=t.opacity.maxLoops)&&void 0!==n?n:0))}reset(t){t.opacity&&(t.opacity.time=0,t.opacity.loops=0)}update(t,i){this.isEnabled(t)&&t.opacity&&(0,n.CrJ)(t,t.opacity,!0,t.options.opacity.animation.destroy,i)}}s()}catch(a){s(a)}}))},80820:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{h:()=>r});e(40251);var n=e(67452),o=t([n]);async function r(t,i=!0){t.checkVersion("3.8.1"),await t.addParticleUpdater("opacity",(t=>Promise.resolve(new n.y(t))),i)}n=(o.then?(await o)():o)[0],s()}catch(a){s(a)}}))},59290:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{$:()=>r});e(19083),e(71695),e(19134),e(61006),e(32114),e(47021);var n=e(76305),o=e(29570),a=t([n,o]);[n,o]=a.then?(await a)():a;class r{constructor(t){this.container=t,this.modes=[n.Voc.bounce,n.Voc.split]}update(t,i,e,s){if(!this.modes.includes(s))return;const a=this.container;let r=!1;for(const n of a.plugins.values())if(void 0!==n.particleBounce&&(r=n.particleBounce(t,e,i)),r)break;if(r)return;const c=t.getPosition(),l=t.offset,h=t.getRadius(),d=(0,n.M_G)(c,h),u=a.canvas.size;(0,o.v)({particle:t,outMode:s,direction:i,bounds:d,canvasSize:u,offset:l,size:h}),(0,o.C)({particle:t,outMode:s,direction:i,bounds:d,canvasSize:u,offset:l,size:h})}}s()}catch(r){s(r)}}))},8332:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{X:()=>r});e(19083),e(61006),e(22139);var n=e(76305),o=t([n]);n=(o.then?(await o)():o)[0];const a=0;class r{constructor(t){this.container=t,this.modes=[n.Voc.destroy]}update(t,i,e,s){if(!this.modes.includes(s))return;const o=this.container;switch(t.outType){case n.Igb.normal:case n.Igb.outside:if((0,n.Ac)(t.position,o.canvas.size,n.OWs.origin,t.getRadius(),i))return;break;case n.Igb.inside:{const{dx:i,dy:e}=(0,n.oW6)(t.position,t.moveCenter),{x:s,y:o}=t.velocity;if(s<a&&i>t.moveCenter.radius||o<a&&e>t.moveCenter.radius||s>=a&&i<-t.moveCenter.radius||o>=a&&e<-t.moveCenter.radius)return;break}}o.particles.remove(t,t.group,!0)}}s()}catch(a){s(a)}}))},7577:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{F:()=>r});e(19083),e(61006);var n=e(76305),o=t([n]);n=(o.then?(await o)():o)[0];const a=0;class r{constructor(t){this.container=t,this.modes=[n.Voc.none]}update(t,i,e,s){var o;if(!this.modes.includes(s))return;if(null!==(o=t.options.move.distance.horizontal&&(i===n.DYc.left||i===n.DYc.right))&&void 0!==o?o:t.options.move.distance.vertical&&(i===n.DYc.top||i===n.DYc.bottom))return;const r=t.options.move.gravity,c=this.container,l=c.canvas.size,h=t.getRadius();if(r.enable){const e=t.position;(!r.inverse&&e.y>l.height+h&&i===n.DYc.bottom||r.inverse&&e.y<-h&&i===n.DYc.top)&&c.particles.remove(t)}else{if(t.velocity.y>a&&t.position.y<=l.height+h||t.velocity.y<a&&t.position.y>=-h||t.velocity.x>a&&t.position.x<=l.width+h||t.velocity.x<a&&t.position.x>=-h)return;(0,n.Ac)(t.position,c.canvas.size,n.OWs.origin,h,i)||c.particles.remove(t)}}}s()}catch(a){s(a)}}))},30205:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{q:()=>d});e(71695),e(47021);var n=e(76305),o=e(59290),a=e(8332),r=e(7577),c=e(19061),l=t([o,c,a,r,n]);[o,c,a,r,n]=l.then?(await l)():l;const h=(t,i)=>t.default===i||t.bottom===i||t.left===i||t.right===i||t.top===i;class d{constructor(t){this._addUpdaterIfMissing=(t,i,e)=>{const s=t.options.move.outModes;!this.updaters.has(i)&&h(s,i)&&this.updaters.set(i,e(this.container))},this._updateOutMode=(t,i,e,s)=>{for(const n of this.updaters.values())n.update(t,s,i,e)},this.container=t,this.updaters=new Map}init(t){this._addUpdaterIfMissing(t,n.Voc.bounce,(t=>new o.$(t))),this._addUpdaterIfMissing(t,n.Voc.out,(t=>new c.T(t))),this._addUpdaterIfMissing(t,n.Voc.destroy,(t=>new a.X(t))),this._addUpdaterIfMissing(t,n.Voc.none,(t=>new r.F(t)))}isEnabled(t){return!t.destroyed&&!t.spawning}update(t,i){var e,s,o,a;const r=t.options.move.outModes;this._updateOutMode(t,i,null!==(e=r.bottom)&&void 0!==e?e:r.default,n.DYc.bottom),this._updateOutMode(t,i,null!==(s=r.left)&&void 0!==s?s:r.default,n.DYc.left),this._updateOutMode(t,i,null!==(o=r.right)&&void 0!==o?o:r.default,n.DYc.right),this._updateOutMode(t,i,null!==(a=r.top)&&void 0!==a?a:r.default,n.DYc.top)}}s()}catch(h){s(h)}}))},19061:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{T:()=>c});e(19083),e(61006);var n=e(76305),o=t([n]);n=(o.then?(await o)():o)[0];const a=0,r=0;class c{constructor(t){this.container=t,this.modes=[n.Voc.out]}update(t,i,e,s){if(!this.modes.includes(s))return;const o=this.container;switch(t.outType){case n.Igb.inside:{const{x:i,y:e}=t.velocity,s=n.OWs.origin;s.length=t.moveCenter.radius,s.angle=t.velocity.angle+Math.PI,s.addTo(n.OWs.create(t.moveCenter));const{dx:c,dy:l}=(0,n.oW6)(t.position,s);if(i<=a&&c>=r||e<=a&&l>=r||i>=a&&c<=r||e>=a&&l<=r)return;t.position.x=Math.floor((0,n.vdf)({min:0,max:o.canvas.size.width})),t.position.y=Math.floor((0,n.vdf)({min:0,max:o.canvas.size.height}));const{dx:h,dy:d}=(0,n.oW6)(t.position,t.moveCenter);t.direction=Math.atan2(-d,-h),t.velocity.angle=t.direction;break}default:if((0,n.Ac)(t.position,o.canvas.size,n.OWs.origin,t.getRadius(),i))return;switch(t.outType){case n.Igb.outside:{t.position.x=Math.floor((0,n.vdf)({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.x,t.position.y=Math.floor((0,n.vdf)({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.y;const{dx:i,dy:e}=(0,n.oW6)(t.position,t.moveCenter);t.moveCenter.radius&&(t.direction=Math.atan2(e,i),t.velocity.angle=t.direction);break}case n.Igb.normal:{const e=t.options.move.warp,s=o.canvas.size,a={bottom:s.height+t.getRadius()+t.offset.y,left:-t.getRadius()-t.offset.x,right:s.width+t.getRadius()+t.offset.x,top:-t.getRadius()-t.offset.y},r=t.getRadius(),c=(0,n.M_G)(t.position,r);i===n.DYc.right&&c.left>s.width+t.offset.x?(t.position.x=a.left,t.initialPosition.x=t.position.x,e||(t.position.y=(0,n.sZz)()*s.height,t.initialPosition.y=t.position.y)):i===n.DYc.left&&c.right<-t.offset.x&&(t.position.x=a.right,t.initialPosition.x=t.position.x,e||(t.position.y=(0,n.sZz)()*s.height,t.initialPosition.y=t.position.y)),i===n.DYc.bottom&&c.top>s.height+t.offset.y?(e||(t.position.x=(0,n.sZz)()*s.width,t.initialPosition.x=t.position.x),t.position.y=a.top,t.initialPosition.y=t.position.y):i===n.DYc.top&&c.bottom<-t.offset.y&&(e||(t.position.x=(0,n.sZz)()*s.width,t.initialPosition.x=t.position.x),t.position.y=a.bottom,t.initialPosition.y=t.position.y);break}}}}}s()}catch(a){s(a)}}))},29570:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{C:()=>h,v:()=>l});e(19134),e(32114);var n=e(76305),o=t([n]);n=(o.then?(await o)():o)[0];const r=0,c=0;function l(t){if(t.outMode!==n.Voc.bounce&&t.outMode!==n.Voc.split||t.direction!==n.DYc.left&&t.direction!==n.DYc.right)return;t.bounds.right<c&&t.direction===n.DYc.left?t.particle.position.x=t.size+t.offset.x:t.bounds.left>t.canvasSize.width&&t.direction===n.DYc.right&&(t.particle.position.x=t.canvasSize.width-t.size-t.offset.x);const i=t.particle.velocity.x;let e=!1;if(t.direction===n.DYc.right&&t.bounds.right>=t.canvasSize.width&&i>r||t.direction===n.DYc.left&&t.bounds.left<=c&&i<r){const i=(0,n.Gu7)(t.particle.options.bounce.horizontal.value);t.particle.velocity.x*=-i,e=!0}if(!e)return;const s=t.offset.x+t.size;t.bounds.right>=t.canvasSize.width&&t.direction===n.DYc.right?t.particle.position.x=t.canvasSize.width-s:t.bounds.left<=c&&t.direction===n.DYc.left&&(t.particle.position.x=s),t.outMode===n.Voc.split&&t.particle.destroy()}function h(t){if(t.outMode!==n.Voc.bounce&&t.outMode!==n.Voc.split||t.direction!==n.DYc.bottom&&t.direction!==n.DYc.top)return;t.bounds.bottom<c&&t.direction===n.DYc.top?t.particle.position.y=t.size+t.offset.y:t.bounds.top>t.canvasSize.height&&t.direction===n.DYc.bottom&&(t.particle.position.y=t.canvasSize.height-t.size-t.offset.y);const i=t.particle.velocity.y;let e=!1;if(t.direction===n.DYc.bottom&&t.bounds.bottom>=t.canvasSize.height&&i>r||t.direction===n.DYc.top&&t.bounds.top<=c&&i<r){const i=(0,n.Gu7)(t.particle.options.bounce.vertical.value);t.particle.velocity.y*=-i,e=!0}if(!e)return;const s=t.offset.y+t.size;t.bounds.bottom>=t.canvasSize.height&&t.direction===n.DYc.bottom?t.particle.position.y=t.canvasSize.height-s:t.bounds.top<=c&&t.direction===n.DYc.top&&(t.particle.position.y=s),t.outMode===n.Voc.split&&t.particle.destroy()}s()}catch(a){s(a)}}))},12789:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{l:()=>r});e(40251);var n=e(30205),o=t([n]);async function r(t,i=!0){t.checkVersion("3.8.1"),await t.addParticleUpdater("outModes",(t=>Promise.resolve(new n.q(t))),i)}n=(o.then?(await o)():o)[0],s()}catch(a){s(a)}}))},92011:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{Y:()=>r});var n=e(76305),o=t([n]);n=(o.then?(await o)():o)[0];const a=0;class r{init(t){const i=t.container,e=t.options.size.animation;var s;e.enable&&(t.size.velocity=(null!==(s=t.retina.sizeAnimationSpeed)&&void 0!==s?s:i.retina.sizeAnimationSpeed)/n.tZy*i.retina.reduceFactor,e.sync||(t.size.velocity*=(0,n.sZz)()))}isEnabled(t){var i,e,s,n;return!t.destroyed&&!t.spawning&&t.size.enable&&((null!==(i=t.size.maxLoops)&&void 0!==i?i:a)<=a||(null!==(e=t.size.maxLoops)&&void 0!==e?e:a)>a&&(null!==(s=t.size.loops)&&void 0!==s?s:a)<(null!==(n=t.size.maxLoops)&&void 0!==n?n:a))}reset(t){t.size.loops=a}update(t,i){this.isEnabled(t)&&(0,n.CrJ)(t,t.size,!0,t.options.size.animation.destroy,i)}}s()}catch(a){s(a)}}))},605:function(t,i,e){e.a(t,(async function(t,s){try{e.d(i,{q:()=>r});e(40251);var n=e(92011),o=t([n]);async function r(t,i=!0){t.checkVersion("3.8.1"),await t.addParticleUpdater("size",(()=>Promise.resolve(new n.Y)),i)}n=(o.then?(await o)():o)[0],s()}catch(a){s(a)}}))}}]);
//# sourceMappingURL=44287.a9e6bb5015377908.js.map