landingpage/rootfs/usr/share/www/frontend_es5/590.7823330d42f04ff1.js

2 lines
109 KiB
JavaScript

"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["590"],{20049:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{B:function(){return d}});e(40251);var s=e(79047),o=e(97969),a=e(73826),r=e(45431),c=e(25898),l=e(89895),h=t([s,o,a,r,c,l]);async function d(t,i=!0){await(0,s.p)(t,!1),await(0,o.J)(t,!1),await(0,a.z)(t,!1),await(0,r.h)(t,!1),await(0,c.l)(t,!1),await(0,l.q)(t,!1),await t.refresh(i)}[s,o,a,r,c,l]=h.then?(await h)():h,n()}catch(u){n(u)}}))},42797:function(t,i,e){e.d(i,{X:function(){return c}});e(71695),e(92745),e(19423),e(40251),e(11740),e(47021);var n=e(29907),s=e(90979),o=e(44955),a=e(53968);function r(t,i,e){const n=i[e];var s;void 0!==n&&(t[e]=(null!==(s=t[e])&&void 0!==s?s:1)*n)}class c{constructor(t){this.container=t,this._applyPostDrawUpdaters=t=>{for(const i of this._postDrawUpdaters)i.afterDraw&&i.afterDraw(t)},this._applyPreDrawUpdaters=(t,i,e,n,s,o)=>{for(const a of this._preDrawUpdaters){if(a.getColorStyles){const{fill:o,stroke:r}=a.getColorStyles(i,t,e,n);o&&(s.fill=o),r&&(s.stroke=r)}if(a.getTransformValues){const t=a.getTransformValues(i);for(const i in t)r(o,t,i)}a.beforeDraw&&a.beforeDraw(i)}},this._applyResizePlugins=()=>{for(const t of this._resizePlugins)t.resize&&t.resize()},this._getPluginParticleColors=t=>{let i,e;for(const n of this._colorPlugins)if(!i&&n.particleFillColor&&(i=(0,o.lN)(n.particleFillColor(t))),!e&&n.particleStrokeColor&&(e=(0,o.lN)(n.particleStrokeColor(t))),i&&e)break;return[i,e]},this._initCover=()=>{const t=this.container.actualOptions.backgroundMask.cover,i=t.color,e=(0,o.tX)(i);if(e){const i=Object.assign(Object.assign({},e),{},{a:t.opacity});this._coverColorStyle=(0,o.iz)(i,i.a)}},this._initStyle=()=>{const t=this.element,i=this.container.actualOptions;if(t){this._fullScreen?(this._originalStyle=(0,s.ZB)({},t.style),this._setFullScreenStyle()):this._resetOriginalStyle();for(const e in i.style){if(!e||!i.style)continue;const n=i.style[e];n&&t.style.setProperty(e,n,"important")}}},this._initTrail=async()=>{const t=this.container.actualOptions,i=t.particles.move.trail,e=i.fill;if(i.enable)if(e.color){const i=(0,o.tX)(e.color);if(!i)return;const n=t.particles.move.trail;this._trailFill={color:Object.assign({},i),opacity:1/n.length}}else await new Promise(((t,n)=>{if(!e.image)return;const s=document.createElement("img");s.addEventListener("load",(()=>{this._trailFill={image:s,opacity:1/i.length},t()})),s.addEventListener("error",(t=>{n(t.error)})),s.src=e.image}))},this._paintBase=t=>{this.draw((i=>(0,n.TQ)(i,this.size,t)))},this._paintImage=(t,i)=>{this.draw((e=>(0,n.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=>i.observe(t,{attributes:!0}))))},this._resetOriginalStyle=()=>{const t=this.element,i=this._originalStyle;if(!t||!i)return;const e=t.style;e.position=i.position,e.zIndex=i.zIndex,e.top=i.top,e.left=i.left,e.width=i.width,e.height=i.height},this._safeMutationObserver=t=>{this._mutationObserver&&t(this._mutationObserver)},this._setFullScreenStyle=()=>{const t=this.element;if(!t)return;const i="important",e=t.style;e.setProperty("position","fixed",i),e.setProperty("z-index",this.container.actualOptions.fullScreen.zIndex.toString(10),i),e.setProperty("top","0",i),e.setProperty("left","0",i),e.setProperty("width","100%",i),e.setProperty("height","100%",i)},this.size={height:0,width:0},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>0&&e?e.color?this._paintBase((0,o.iz)(e.color,e.opacity)):e.image&&this._paintImage(e.image,e.opacity):this.draw((t=>{(0,n.ZH)(t,this.size)}))}destroy(){if(this.stop(),this._generated){const t=this.element;t&&t.remove()}else this._resetOriginalStyle();this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(t){const i=this._context;if(i)return t(i)}drawParticle(t,i){var e;if(t.spawning||t.destroyed)return;const s=t.getRadius();if(s<=0)return;const a=t.getFillColor(),r=null!==(e=t.getStrokeColor())&&void 0!==e?e:a;let[c,l]=this._getPluginParticleColors(t);c||(c=a),l||(l=r),(c||l)&&this.draw((e=>{var a,r,h,u;const d=this.container,p=d.actualOptions,f=t.options.zIndex,v=(1-t.zIndexFactor)**f.opacityRate,y=null!==(a=null!==(r=t.bubble.opacity)&&void 0!==r?r:null===(h=t.opacity)||void 0===h?void 0:h.value)&&void 0!==a?a:1,m=y*v,g=(null!==(u=t.strokeOpacity)&&void 0!==u?u:y)*v,w={},b={fill:c?(0,o.vz)(c,m):void 0};b.stroke=l?(0,o.vz)(l,g):b.fill,this._applyPreDrawUpdaters(e,t,s,m,b,w),(0,n.zv)({container:d,context:e,particle:t,delta:i,colorStyles:b,backgroundMask:p.backgroundMask.enable,composite:p.backgroundMask.composite,radius:s*(1-t.zIndexFactor)**f.sizeRate,opacity:m,shadow:t.options.shadow,transform:w}),this._applyPostDrawUpdaters(t)}))}drawParticlePlugin(t,i,e){this.draw((s=>(0,n.$F)(s,t,i,e)))}drawPlugin(t,i){this.draw((e=>(0,n.Zw)(e,t,i)))}async init(){this._safeMutationObserver((t=>t.disconnect())),this._mutationObserver=(0,s.yf)((t=>{for(const i of t)"attributes"===i.type&&"style"===i.attributeName&&this._repairStyle()})),this.resize(),this._initStyle(),this._initCover();try{await this._initTrail()}catch(t){(0,s.jl)().error(t)}this.initBackground(),this._safeMutationObserver((t=>{this.element&&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,o.tX)(t.color);e.backgroundColor=i?(0,o.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[,t]of this.container.plugins)t.resize&&this._resizePlugins.push(t),(t.particleFillColor||t.particleStrokeColor)&&this._colorPlugins.push(t)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const t of this.container.particles.updaters)t.afterDraw&&this._postDrawUpdaters.push(t),(t.getColorStyles||t.getTransformValues||t.beforeDraw)&&this._preDrawUpdaters.push(t)}loadCanvas(t){this._generated&&this.element&&this.element.remove(),this._generated=t.dataset&&a.YU in t.dataset?"true"===t.dataset[a.YU]:this._generated,this.element=t,this.element.ariaHidden="true",this._originalStyle=(0,s.ZB)({},this.element.style),this.size.height=t.offsetHeight,this.size.width=t.offsetWidth,this._context=this.element.getContext("2d"),this._safeMutationObserver((t=>{this.element&&t.observe(this.element,{attributes:!0})})),this.container.retina.init(),this.initBackground()}paint(){const t=this.container.actualOptions;this.draw((i=>{t.backgroundMask.enable&&t.backgroundMask.cover?((0,n.ZH)(i,this.size),this._paintBase(this._coverColorStyle)):this._paintBase()}))}resize(){if(!this.element)return!1;const t=this.container,i=t.retina.pixelRatio,e=t.canvas.size,n=this.element.offsetWidth*i,s=this.element.offsetHeight*i;if(s===e.height&&n===e.width&&s===this.element.height&&n===this.element.width)return!1;const o=Object.assign({},e);return this.element.width=e.width=this.element.offsetWidth*i,this.element.height=e.height=this.element.offsetHeight*i,this.container.started&&(this.resizeFactor={width:e.width/o.width,height:e.height/o.height}),!0}stop(){this._safeMutationObserver((t=>t.disconnect())),this._mutationObserver=void 0,this.draw((t=>(0,n.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()}}},98154:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{W:function(){return b}});e(71695),e(19423),e(40251),e(47021);var s=e(90979),o=e(42797),a=e(54078),r=e(62807),c=e(73020),l=e(94497),h=e(53968),u=e(72098),d=e(66166),p=t([a]);function v(t){return t&&!t.destroyed}function y(t,i=60,e=!1){return{value:t,factor:e?60/i:60*t/1e3}}function m(t,i,...e){const n=new r.E(t,i);return(0,d.h)(n,...e),n}a=(p.then?(await p)():p)[0];const g="default",w={generate:t=>t.velocity,init:()=>{},update:()=>{},reset:()=>{}};class b{constructor(t,i,e){this.id=i,this._intersectionManager=t=>{if(v(this)&&this.actualOptions.pauseOnOutsideViewport)for(const i of t)i.target===this.interactivity.element&&(i.isIntersecting?this.play:this.pause)()},this._nextFrame=async t=>{try{var i;if(!this.smooth&&void 0!==this.lastFrameTime&&t<this.lastFrameTime+1e3/this.fpsLimit)return void this.draw(!1);null!==(i=this.lastFrameTime)&&void 0!==i||(this.lastFrameTime=t);const e=y(t-this.lastFrameTime,this.fpsLimit,this.smooth);if(this.addLifeTime(e.value),this.lastFrameTime=t,e.value>1e3)return void this.draw(!1);if(await this.particles.draw(e),!this.alive())return void this.destroy();this.getAnimationStatus()&&this.draw(!1)}catch(e){(0,s.jl)().error(`${h.gK} in animation loop`,e)}},this._engine=t,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._sourceOptions=e,this._initialSourceOptions=e,this.retina=new l.v(this),this.canvas=new o.X(this),this.particles=new c.D(this._engine,this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.drawers=new Map,this._options=m(this._engine,this),this.actualOptions=m(this._engine,this),this._eventListeners=new a.U(this),"undefined"!=typeof IntersectionObserver&&IntersectionObserver&&(this._intersectionObserver=new IntersectionObserver((t=>this._intersectionManager(t)))),this._engine.dispatchEvent("containerBuilt",{container:this})}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(t){if(!v(this))return;const i=this.interactivity.element;if(!i)return;const e=(i,e,n)=>{if(!v(this))return;const s=this.retina.pixelRatio,o={x:e.x*s,y:e.y*s},a=this.particles.quadTree.queryCircle(o,n*s);t(i,a)};let n=!1,s=!1;i.addEventListener("click",(t=>{if(!v(this))return;const i=t,n={x:i.offsetX||i.clientX,y:i.offsetY||i.clientY};e(t,n,1)})),i.addEventListener("touchstart",(()=>{v(this)&&(n=!0,s=!1)})),i.addEventListener("touchmove",(()=>{v(this)&&(s=!0)})),i.addEventListener("touchend",(t=>{if(v(this)){if(n&&!s){const i=t;let n=i.touches[i.touches.length-1];if(!n&&(n=i.changedTouches[i.changedTouches.length-1],!n))return;const s=this.canvas.element,o=s?s.getBoundingClientRect():void 0,a={x:n.clientX-(o?o.left:0),y:n.clientY-(o?o.top:0)};e(t,a,Math.max(n.radiusX,n.radiusY))}n=!1,s=!1}})),i.addEventListener("touchcancel",(()=>{v(this)&&(n=!1,s=!1)}))}addLifeTime(t){this._lifeTime+=t}addPath(t,i,e=!1){return!(!v(this)||!e&&this.pathGenerators.has(t))&&(this.pathGenerators.set(t,null!=i?i:w),!0)}alive(){return!this._duration||this._lifeTime<=this._duration}destroy(){if(!v(this))return;this.stop(),this.particles.destroy(),this.canvas.destroy();for(const[,e]of this.drawers)e.destroy&&e.destroy(this);for(const e of this.drawers.keys())this.drawers.delete(e);this._engine.plugins.destroy(this),this.destroyed=!0;const t=this._engine.dom(),i=t.findIndex((t=>t===this));i>=0&&t.splice(i,1),this._engine.dispatchEvent("containerDestroyed",{container:this})}draw(t){if(!v(this))return;let i=t;this._drawAnimationFrame=requestAnimationFrame((async t=>{i&&(this.lastFrameTime=void 0,i=!1),await this._nextFrame(t)}))}async export(t,i={}){for(const[,e]of this.plugins){if(!e.export)continue;const n=await e.export(t,i);if(n.supported)return n.blob}(0,s.jl)().error(`${h.gK} - Export plugin with type ${t} not found`)}getAnimationStatus(){return!this._paused&&!this.pageHidden&&v(this)}handleClickMode(t){if(v(this)){this.particles.handleClickMode(t);for(const[,i]of this.plugins)i.handleClickMode&&i.handleClickMode(t)}}async init(){if(!v(this))return;const t=this._engine.plugins.getSupportedShapes();for(const e of t){const t=this._engine.plugins.getShapeDrawer(e);t&&this.drawers.set(e,t)}this._options=m(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=m(this._engine,this,this._options);const i=this._engine.plugins.getAvailablePlugins(this);for(const[e,n]of i)this.plugins.set(e,n);this.retina.init(),await this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize(),this.zLayers=this.actualOptions.zLayers,this._duration=1e3*(0,u.Gu)(this.actualOptions.duration),this._delay=1e3*(0,u.Gu)(this.actualOptions.delay),this._lifeTime=0,this.fpsLimit=this.actualOptions.fpsLimit>0?this.actualOptions.fpsLimit:120,this.smooth=this.actualOptions.smooth;for(const[,e]of this.drawers)e.init&&await e.init(this);for(const[,e]of this.plugins)e.init&&await e.init();this._engine.dispatchEvent("containerInit",{container:this}),this.particles.init(),this.particles.setDensity();for(const[,e]of this.plugins)e.particlesSetup&&e.particlesSetup();this._engine.dispatchEvent("particlesSetup",{container:this})}async loadTheme(t){v(this)&&(this._currentTheme=t,await this.refresh())}pause(){if(v(this)&&(void 0!==this._drawAnimationFrame&&(cancelAnimationFrame(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){for(const[,t]of this.plugins)t.pause&&t.pause();this.pageHidden||(this._paused=!0),this._engine.dispatchEvent("containerPaused",{container:this})}}play(t){if(!v(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)t.play&&t.play();this._engine.dispatchEvent("containerPlay",{container:this}),this.draw(i||!1)}else this._firstStart=!1}async refresh(){if(v(this))return this.stop(),this.start()}async reset(){if(v(this))return this._initialSourceOptions=void 0,this._options=m(this._engine,this),this.actualOptions=m(this._engine,this,this._options),this.refresh()}setNoise(t,i,e){v(this)&&this.setPath(t,i,e)}setPath(t,i,e){if(!t||!v(this))return;const n=Object.assign({},w);if((0,s.mf)(t))n.generate=t,i&&(n.init=i),e&&(n.update=e);else{const i=n;n.generate=t.generate||i.generate,n.init=t.init||i.init,n.update=t.update||i.update}this.addPath(g,n,!0)}async start(){v(this)&&!this.started&&(await this.init(),this.started=!0,await new Promise((t=>{this._delayTimeout=setTimeout((async()=>{this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element);for(const[,t]of this.plugins)t.start&&await t.start();this._engine.dispatchEvent("containerStarted",{container:this}),this.play(),t()}),this._delay)})))}stop(){if(v(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[,t]of this.plugins)t.stop&&t.stop();for(const t of this.plugins.keys())this.plugins.delete(t);this._sourceOptions=this._options,this._engine.dispatchEvent("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)}}n()}catch(f){n(f)}}))},83657:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{D:function(){return f}});e(52247),e(71695),e(92745),e(40251),e(39527),e(41360),e(47021);var s=e(53968),o=e(90979),a=e(98154),r=e(28726),c=e(57279),l=e(72098),h=t([a]);async function d(t){const i=(0,o.wA)(t.url,t.index);if(!i)return t.fallback;const e=await fetch(i);return e.ok?e.json():((0,o.jl)().error(`${s.gK} ${e.status} while retrieving config file`),t.fallback)}function p(t){return!!((i=t).id||i.element||i.url||i.options);var i}a=(h.then?(await h)():h)[0];class f{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new r.p,this._initialized=!1,this.plugins=new c.V(this)}get configs(){const t={};for(const[i,e]of this._configs)t[i]=e;return t}get version(){return"2.12.0"}addConfig(t,i){var e;(0,o.HD)(t)?i&&(i.name=t,this._configs.set(t,i)):this._configs.set(null!==(e=t.name)&&void 0!==e?e:"default",t)}addEventListener(t,i){this._eventDispatcher.addEventListener(t,i)}async addInteractor(t,i,e=!0){this.plugins.addInteractor(t,i),await this.refresh(e)}async addMover(t,i,e=!0){this.plugins.addParticleMover(t,i),await this.refresh(e)}async addParticleUpdater(t,i,e=!0){this.plugins.addParticleUpdater(t,i),await this.refresh(e)}async addPathGenerator(t,i,e=!0){this.plugins.addPathGenerator(t,i),await this.refresh(e)}async addPlugin(t,i=!0){this.plugins.addPlugin(t),await this.refresh(i)}async addPreset(t,i,e=!1,n=!0){this.plugins.addPreset(t,i,e),await this.refresh(n)}async addShape(t,i,e,n,s,a=!0){let r,c,l,h,u=a;(0,o.jn)(e)?(u=e,c=void 0):c=e,(0,o.jn)(n)?(u=n,l=void 0):l=n,(0,o.jn)(s)?(u=s,h=void 0):h=s,r=(0,o.mf)(i)?{afterEffect:l,destroy:h,draw:i,init:c}:i,this.plugins.addShapeDrawer(t,r),await this.refresh(u)}dispatchEvent(t,i){this._eventDispatcher.dispatchEvent(t,i)}dom(){return this._domArray}domItem(t){const i=this.dom(),e=i[t];if(e&&!e.destroyed)return e;i.splice(t,1)}init(){this._initialized||(this._initialized=!0)}async load(t,i){return this.loadFromArray(t,i)}async loadFromArray(t,i,e){let n;return p(t)?n=t:(n={},(0,o.HD)(t)?n.id=t:n.options=t,(0,o.hj)(i)?n.index=i:n.options=null!=i?i:n.options,n.index=null!=e?e:n.index),this._loadParams(n)}async loadJSON(t,i,e){let n,s;return(0,o.hj)(i)||void 0===i?n=t:(s=t,n=i),this._loadParams({id:s,url:n,index:e})}async refresh(t=!0){t&&this.dom().forEach((t=>t.refresh()))}removeEventListener(t,i){this._eventDispatcher.removeEventListener(t,i)}async set(t,i,e,n){const s={index:n};return(0,o.HD)(t)?s.id=t:s.element=t,i instanceof HTMLElement?s.element=i:s.options=i,(0,o.hj)(e)?s.index=e:s.options=null!=e?e:s.options,this._loadParams(s)}async setJSON(t,i,e,n){const s={};return t instanceof HTMLElement?(s.element=t,s.url=i,s.index=e):(s.id=t,s.element=i,s.url=e,s.index=n),this._loadParams(s)}setOnClickHandler(t){const i=this.dom();if(!i.length)throw new Error(`${s.gK} can only set click handlers after calling tsParticles.load()`);for(const e of i)e.addClickHandler(t)}async _loadParams(t){var i,e;const n=null!==(i=t.id)&&void 0!==i?i:`tsparticles${Math.floor(1e4*(0,l.sZ)())}`,{index:r,url:c}=t,h=c?await d({fallback:t.options,url:c,index:r}):t.options;let u=null!==(e=t.element)&&void 0!==e?e:document.getElementById(n);u||(u=document.createElement("div"),u.id=n,document.body.append(u));const p=(0,o.wA)(h,r),f=this.dom(),v=f.findIndex((t=>t.id===n));if(v>=0){const t=this.domItem(v);t&&!t.destroyed&&(t.destroy(),f.splice(v,1))}let y;if("canvas"===u.tagName.toLowerCase())y=u,y.dataset[s.YU]="false";else{const t=u.getElementsByTagName("canvas");t.length?(y=t[0],y.dataset[s.YU]="false"):(y=document.createElement("canvas"),y.dataset[s.YU]="true",u.appendChild(y))}y.style.width||(y.style.width="100%"),y.style.height||(y.style.height="100%");const m=new a.W(this,n,p);return v>=0?f.splice(v,0,m):f.push(m),m.canvas.loadCanvas(y),await m.start(),m}}n()}catch(u){n(u)}}))},73020:function(t,i,e){e.d(i,{D:()=>b});e("71695"),e("92745"),e("61893"),e("40251"),e("92519"),e("42179"),e("89256"),e("24931"),e("88463"),e("57449"),e("19814"),e("22139"),e("39527"),e("99790"),e("67670"),e("47021");var n=e("90979");class s{constructor(t,i){this.container=i,this._engine=t,this._interactors=t.plugins.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[]}async externalInteract(t){for(const i of this._externalInteractors)i.isEnabled()&&await i.interact(t)}handleClickMode(t){for(const i of this._externalInteractors)i.handleClickMode&&i.handleClickMode(t)}init(){this._externalInteractors=[],this._particleInteractors=[];for(const t of this._interactors){switch(t.type){case"external":this._externalInteractors.push(t);break;case"particles":this._particleInteractors.push(t)}t.init()}}async particlesInteract(t,i){for(const e of this._externalInteractors)e.clear(t,i);for(const e of this._particleInteractors)e.isEnabled(t)&&await e.interact(t,i)}async 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)}}e("52247"),e("19423");var o=e("72098"),a=e("44955"),r=e("31334"),c=e("217"),l=e("28249"),h=e("29907"),u=e("53968"),d=e("66166");const p=t=>{if(!(0,n.dB)(t.outMode,t.checkModes))return;const i=2*t.radius;t.coord>t.maxCoord-i?t.setCb(-t.radius):t.coord<i&&t.setCb(t.radius)};class f{constructor(t,i,e,s,a,r){this.container=e,this._calcPosition=(t,i,e,n=0)=>{var s,a,r,c;for(const[,o]of t.plugins){const t=void 0!==o.particlePosition?o.particlePosition(i,this):void 0;if(t)return l.U.create(t.x,t.y,e)}const h=t.canvas.size,u=(0,o.mC)({size:h,position:i}),d=l.U.create(u.x,u.y,e),f=this.getRadius(),v=this.options.move.outModes,y=i=>{p({outMode:i,checkModes:["bounce","bounce-horizontal"],coord:d.x,maxCoord:t.canvas.size.width,setCb:t=>d.x+=t,radius:f})},m=i=>{p({outMode:i,checkModes:["bounce","bounce-vertical"],coord:d.y,maxCoord:t.canvas.size.height,setCb:t=>d.y+=t,radius:f})};return y(null!==(s=v.left)&&void 0!==s?s:v.default),y(null!==(a=v.right)&&void 0!==a?a:v.default),m(null!==(r=v.top)&&void 0!==r?r:v.default),m(null!==(c=v.bottom)&&void 0!==c?c:v.default),this._checkOverlap(d,n)?this._calcPosition(t,void 0,e,n+1):d},this._calculateVelocity=()=>{const t=(0,o.lQ)(this.direction).copy(),i=this.options.move;if("inside"===i.direction||"outside"===i.direction)return t;const e=Math.PI/180*(0,o.Gu)(i.angle.value),n=Math.PI/180*(0,o.Gu)(i.angle.offset),s={left:n-e/2,right:n+e/2};return i.straight||(t.angle+=(0,o.vd)((0,o.Cs)(s.left,s.right))),i.random&&"number"==typeof i.speed&&(t.length*=(0,o.sZ)()),t},this._checkOverlap=(t,i=0)=>{const e=this.options.collisions,n=this.getRadius();if(!e.enable)return!1;const s=e.overlap;if(s.enable)return!1;const a=s.retries;if(a>=0&&i>a)throw new Error(`${u.gK} particle is overlapping and can't be placed`);return!!this.container.particles.find((i=>(0,o.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?2:1,n=this.roll.horizontal?Math.PI/2:0;return Math.floor(((null!==(i=this.roll.angle)&&void 0!==i?i:0)+n)/(Math.PI/e))%2?this.backColor?this.backColor:this.roll.alter?(0,h.PL)(t,this.roll.alter.type,this.roll.alter.value):t:t},this._initPosition=t=>{var i,e;const s=this.container,a=(0,o.Gu)(this.options.zIndex.value);this.position=this._calcPosition(s,t,(0,o.uZ)(a,0,s.zLayers)),this.initialPosition=this.position.copy();const r=s.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:0,mode:null!==(e=this.options.move.center.mode)&&void 0!==e?e:"percent"}),this.direction=(0,o.Gk)(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case"inside":this.outType="inside";break;case"outside":this.outType="outside"}this.offset=c.O.origin},this._loadShapeData=(t,i)=>{const e=t.options[this.shape];if(e)return(0,n.ZB)({close:t.close,fill:t.fill},(0,n.wA)(e,this.id,i))},this._engine=t,this.init(i,s,a,r)}destroy(t){if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const i=this.container,e=this.pathGenerator;for(const[,n]of i.plugins)n.particleDestroyed&&n.particleDestroyed(this,t);for(const n of i.particles.updaters)n.particleDestroyed&&n.particleDestroyed(this,t);e&&e.reset(this)}draw(t){const i=this.container;for(const[,e]of i.plugins)i.canvas.drawParticlePlugin(e,this,t);i.canvas.drawParticle(this,t)}getFillColor(){var t;return this._getRollColor(null!==(t=this.bubble.color)&&void 0!==t?t:(0,a.gW)(this.color))}getMass(){return this.getRadius()**2*Math.PI/2}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,a.gW)(this.strokeColor))}init(t,i,e,s){var c,l,h;const u=this.container,p=this._engine;this.id=t,this.group=s,this.fill=!0,this.pathRotation=!1,this.close=!0,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType="normal",this.ignoresResizeRatio=!0;const f=u.retina.pixelRatio,v=u.actualOptions,y=(0,d.x)(this._engine,u,v.particles),m=y.shape.type,{reduceDuplicates:g}=y;this.shape=(0,n.wA)(m,this.id,g);const w=y.shape;if(e&&e.shape&&e.shape.type){const t=e.shape.type,i=(0,n.wA)(t,this.id,g);i&&(this.shape=i,w.load(e.shape))}this.shapeData=this._loadShapeData(w,g),y.load(e);const b=this.shapeData;b&&y.load(b.particles);const _=new r.o(p,u);_.load(u.actualOptions.interactivity),_.load(y.interactivity),this.interactivity=_,this.fill=null!==(c=null==b?void 0:b.fill)&&void 0!==c?c:y.shape.fill,this.close=null!==(l=null==b?void 0:b.close)&&void 0!==l?l:y.shape.close,this.options=y;const x=this.options.move.path;this.pathDelay=1e3*(0,o.NA)(x.delay),x.generator&&(this.pathGenerator=this._engine.plugins.getPathGenerator(x.generator),this.pathGenerator&&u.addPath(x.generator,this.pathGenerator)&&this.pathGenerator.init(u)),u.retina.initParticle(this),this.size=(0,n.V0)(this.options.size,f),this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this._initPosition(i),this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy(),this.moveDecay=1-(0,o.Gu)(this.options.move.decay);const z=u.particles;z.needsSort=z.needsSort||z.lastZIndex<this.position.z,z.lastZIndex=this.position.z,this.zIndexFactor=this.position.z/u.zLayers,this.sides=24;let k=u.drawers.get(this.shape);k||(k=this._engine.plugins.getShapeDrawer(this.shape),k&&u.drawers.set(this.shape,k)),k&&k.loadShape&&k.loadShape(this);const M=null===(h=k)||void 0===h?void 0:h.getSidesCount;M&&(this.sides=M(this)),this.spawning=!1,this.shadowColor=(0,a.tX)(this.options.shadow.color);for(const n of u.particles.updaters)n.init(this);for(const n of u.particles.movers)n.init&&n.init(this);k&&k.particleInit&&k.particleInit(u,this);for(const[,n]of u.plugins)n.particleCreated&&n.particleCreated(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 t of this.container.particles.updaters)t.reset&&t.reset(this)}}class v{constructor(t,i){this.position=t,this.particle=i}}e("36993");var y=e("33863"),m=e("21415");class g{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:s}=this;for(let o=0;o<4;o++)this._subs.push(new g(new m.A(t+e/2*(o%2),i+n/2*(Math.round(o/2)-o%2),e/2,n/2),s));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,e){const n=e||[];if(!t.intersects(this.rectangle))return[];for(const s of this._points)!t.contains(s.position)&&(0,o.Sp)(t.position,s.position)>s.particle.getRadius()&&(!i||i(s.particle))||n.push(s.particle);if(this._divided)for(const s of this._subs)s.query(t,i,n);return n}queryCircle(t,i,e){return this.query(new y.C(t.x,t.y,i),e)}queryRectangle(t,i,e){return this.query(new m.A(t.x,t.y,i.width,i.height),e)}}const w=t=>new m.A(-t.width/4,-t.height/4,3*t.width/2,3*t.height/2);class b{constructor(t,i){this._applyDensity=(t,i,e)=>{var n;if(null===(n=t.number.density)||void 0===n||!n.enable)return;const s=t.number,o=this._initDensityFactor(s.density),a=s.value,r=s.limit>0?s.limit:a,c=Math.min(a,r)*o+i,l=Math.min(this.count,this.filter((t=>t.group===e)).length);this.limit=s.limit*o,l<c?this.push(Math.abs(c-l),void 0,t,e):l>c&&this.removeQuantity(l-c,e)},this._initDensityFactor=t=>{const i=this._container;if(!i.canvas.element||!t.enable)return 1;const e=i.canvas.element,n=i.retina.pixelRatio;return e.width*e.height/(t.factor*n**2*t.area)},this._pushParticle=(t,i,e,s)=>{try{let n=this.pool.pop();n?n.init(this._nextId,t,i,e):n=new f(this._engine,this._nextId,this._container,t,i,e);let o=!0;if(s&&(o=s(n)),!o)return;return this._array.push(n),this._zArray.push(n),this._nextId++,this._engine.dispatchEvent("particleAdded",{container:this._container,data:{particle:n}}),n}catch(o){return void(0,n.jl)().warning(`${u.gK} adding particle: ${o}`)}},this._removeParticle=(t,i,e)=>{const n=this._array[t];if(!n||n.group!==i)return!1;n.destroy(e);const s=this._zArray.indexOf(n);return this._array.splice(t,1),this._zArray.splice(s,1),this.pool.push(n),this._engine.dispatchEvent("particleRemoved",{container:this._container,data:{particle:n}}),!0},this._engine=t,this._container=i,this._nextId=0,this._array=[],this._zArray=[],this.pool=[],this.limit=0,this.needsSort=!1,this.lastZIndex=0,this._interactionManager=new s(t,i);const e=i.canvas.size;this.quadTree=new g(w(e),4),this.movers=this._engine.plugins.getMovers(i,!0),this.updaters=this._engine.plugins.getUpdaters(i,!0)}get count(){return this._array.length}addManualParticles(){const t=this._container,i=t.actualOptions;for(const e of i.manualParticles)this.addParticle(e.position?(0,n.bt)(e.position,t.canvas.size):void 0,e.options)}addParticle(t,i,e,n){const s=this._container.actualOptions.particles.number.limit;if(s>0){const t=this.count+1-s;t>0&&this.removeQuantity(t)}return this._pushParticle(t,i,e,n)}clear(){this._array=[],this._zArray=[]}destroy(){this._array=[],this._zArray=[],this.movers=[],this.updaters=[]}async draw(t){const i=this._container;i.canvas.clear(),await this.update(t);for(const[,e]of i.plugins)i.canvas.drawPlugin(e,t);for(const e of this._zArray)e.draw(t)}filter(t){return this._array.filter(t)}find(t){return this._array.find(t)}handleClickMode(t){this._interactionManager.handleClickMode(t)}init(){const t=this._container,i=t.actualOptions;this.lastZIndex=0,this.needsSort=!1;let e=!1;this.updaters=this._engine.plugins.getUpdaters(t,!0),this._interactionManager.init();for(const[,s]of t.plugins)if(void 0!==s.particlesInitialization&&(e=s.particlesInitialization()),e)break;this._interactionManager.init();for(const[,s]of t.pathGenerators)s.init(t);if(this.addManualParticles(),!e){for(const t in i.particles.groups){const e=i.particles.groups[t];for(let s=this.count,o=0;o<(null===(n=e.number)||void 0===n?void 0:n.value)&&s<i.particles.number.value;s++,o++){var n;this.addParticle(void 0,e,t)}}for(let t=this.count;t<i.particles.number.value;t++)this.addParticle()}}push(t,i,e,n){this.pushing=!0;for(let s=0;s<t;s++)this.addParticle(null==i?void 0:i.position,e,n);this.pushing=!1}async redraw(){this.clear(),this.init(),await this.draw({value:0,factor:0})}remove(t,i,e){this.removeAt(this._array.indexOf(t),void 0,i,e)}removeAt(t,i=1,e,n){if(t<0||t>this.count)return;let s=0;for(let o=t;s<i&&o<this.count;o++)this._removeParticle(o--,e,n)&&s++}removeQuantity(t,i){this.removeAt(0,t,i)}setDensity(){const t=this._container.actualOptions,i=t.particles.groups;for(const e in i)this._applyDensity(i[e],0,e);this._applyDensity(t.particles,t.manualParticles.length)}async update(t){const i=this._container,e=new Set;this.quadTree=new g(w(i.canvas.size),4);for(const[,n]of i.pathGenerators)n.update();for(const[,n]of i.plugins)n.update&&n.update(t);for(const n of this._array){const s=i.canvas.resizeFactor;s&&!n.ignoresResizeRatio&&(n.position.x*=s.width,n.position.y*=s.height,n.initialPosition.x*=s.width,n.initialPosition.y*=s.height),n.ignoresResizeRatio=!1,await this._interactionManager.reset(n);for(const[,i]of this._container.plugins){if(n.destroyed)break;i.particleUpdate&&i.particleUpdate(n,t)}for(const i of this.movers)i.isEnabled(n)&&i.move(n,t);n.destroyed?e.add(n):this.quadTree.insert(new v(n.getPosition(),n))}if(e.size){const t=t=>!e.has(t);this._array=this.filter(t),this._zArray=this._zArray.filter(t),this.pool.push(...e)}await this._interactionManager.externalInteract(t);for(const n of this._array){for(const i of this.updaters)i.update(n,t);n.destroyed||n.spawning||await this._interactionManager.particlesInteract(n,t)}if(delete i.canvas.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-1].position.z,this.needsSort=!1}}}},94497:function(t,i,e){e.d(i,{v:function(){return o}});var n=e(72098),s=e(90979);class o{constructor(t){this.container=t,this.pixelRatio=1,this.reduceFactor=1}init(){const t=this.container,i=t.actualOptions;this.pixelRatio=!i.detectRetina||(0,s.Kr)()?1:window.devicePixelRatio,this.reduceFactor=1;const e=this.pixelRatio;if(t.canvas.element){const i=t.canvas.element;t.canvas.size.width=i.offsetWidth*e,t.canvas.size.height=i.offsetHeight*e}const o=i.particles,a=o.move;this.attractDistance=(0,n.Gu)(a.attract.distance)*e,this.maxSpeed=(0,n.Gu)(a.gravity.maxSpeed)*e,this.sizeAnimationSpeed=(0,n.Gu)(o.size.animation.speed)*e}initParticle(t){const i=t.options,e=this.pixelRatio,s=i.move,o=s.distance,a=t.retina;a.attractDistance=(0,n.Gu)(s.attract.distance)*e,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}}},33863:function(t,i,e){e.d(i,{C:function(){return a}});var n=e(4229),s=e(21415),o=e(72098);class a extends n.e{constructor(t,i,e){super(t,i),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 a){return r+t.radius>Math.sqrt(n**2+o**2)}if(t instanceof s.A){const{width:i,height:e}=t.size;return Math.pow(n-i,2)+Math.pow(o-e,2)<=r**2||n<=r+i&&o<=r+e||n<=i||o<=e}return!1}}},53968:function(t,i,e){e.d(i,{$o:function(){return h},G1:function(){return r},QL:function(){return f},Re:function(){return l},VH:function(){return d},Wt:function(){return c},YU:function(){return n},ZL:function(){return s},aM:function(){return a},gK:function(){return v},rR:function(){return p},zX:function(){return u},zw:function(){return o}});const n="generated",s="pointerdown",o="pointerup",a="pointerleave",r="pointerout",c="pointermove",l="touchstart",h="touchend",u="touchmove",d="touchcancel",p="resize",f="visibilitychange",v="tsParticles - Error"},54078:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{U:function(){return h}});var s=e(31948),o=(e(71695),e(19423),e(40251),e(88044),e(39527),e(67670),e(47021),e(90979)),a=e(53968),r=t([s]);function l(t,i,e,n,s){if(n){let n={passive:!0};(0,o.jn)(s)?n.capture=s:void 0!==s&&(n=s),t.addEventListener(i,e,n)}else{const n=s;t.removeEventListener(i,e,n)}}s=(r.then?(await r)():r)[0];class h{constructor(t){this.container=t,this._doMouseTouchClick=t=>{const i=this.container,e=i.actualOptions;if(this._canPush){const t=i.interactivity.mouse,n=t.position;if(!n)return;t.clickPosition=Object.assign({},n),t.clickTime=(new Date).getTime();const s=e.interactivity.events.onClick;(0,o.KH)(s.mode,(t=>this.container.handleClickMode(t)))}"touchend"===t.type&&setTimeout((()=>this._mouseTouchFinish()),500)},this._handleThemeChange=t=>{const i=t,e=this.container,n=e.options,s=n.defaultThemes,o=i.matches?s.dark:s.light,a=n.themes.find((t=>t.name===o));a&&a.default.auto&&e.loadTheme(o)},this._handleVisibilityChange=()=>{const t=this.container,i=t.actualOptions;this._mouseTouchFinish(),i.pauseOnBlur&&(document&&document.hidden?(t.pageHidden=!0,t.pause()):(t.pageHidden=!1,t.getAnimationStatus()?t.play(!0):t.draw(!0)))},this._handleWindowResize=async()=>{this._resizeTimeout&&(clearTimeout(this._resizeTimeout),delete this._resizeTimeout),this._resizeTimeout=setTimeout((async()=>{const t=this.container.canvas;t&&await t.windowResize()}),1e3*this.container.actualOptions.interactivity.events.resize.delay)},this._manageInteractivityListeners=(t,i)=>{const e=this._handlers,n=this.container,s=n.actualOptions,o=n.interactivity.element;if(!o)return;const r=o,c=n.canvas.element;c&&(c.style.pointerEvents=r===c?"initial":"none"),(s.interactivity.events.onHover.enable||s.interactivity.events.onClick.enable)&&(l(o,a.Wt,e.mouseMove,i),l(o,a.Re,e.touchStart,i),l(o,a.zX,e.touchMove,i),s.interactivity.events.onClick.enable?(l(o,a.$o,e.touchEndClick,i),l(o,a.zw,e.mouseUp,i),l(o,a.ZL,e.mouseDown,i)):l(o,a.$o,e.touchEnd,i),l(o,t,e.mouseLeave,i),l(o,a.VH,e.touchCancel,i))},this._manageListeners=t=>{const i=this._handlers,e=this.container,n=e.actualOptions.interactivity.detectsOn,s=e.canvas.element;let o=a.aM;if("window"===n)e.interactivity.element=window,o=a.G1;else if("parent"===n&&s){var r;e.interactivity.element=null!==(r=s.parentElement)&&void 0!==r?r:s.parentNode}else e.interactivity.element=s;this._manageMediaMatch(t),this._manageResize(t),this._manageInteractivityListeners(o,t),document&&l(document,a.QL,i.visibilityChange,t,!1)},this._manageMediaMatch=t=>{const i=this._handlers,e=(0,o.HY)("(prefers-color-scheme: dark)");e&&(void 0===e.addEventListener?void 0!==e.addListener&&(t?e.addListener(i.oldThemeChange):e.removeListener(i.oldThemeChange)):l(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 l(window,a.rR,i.resize,t);const n=e.canvas.element;this._resizeObserver&&!t?(n&&this._resizeObserver.unobserve(n),this._resizeObserver.disconnect(),delete this._resizeObserver):!this._resizeObserver&&t&&n&&(this._resizeObserver=new ResizeObserver((async t=>{t.find((t=>t.target===n))&&await this._handleWindowResize()})),this._resizeObserver.observe(n))},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:n}=i.interactivity;n.inside=!0;let s=!1;const o=n.position;if(o&&e.interactivity.events.onClick.enable){for(const[,t]of i.plugins)if(t.clickPositionValid&&(s=t.clickPositionValid(o),s))break;s||this._doMouseTouchClick(t),n.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=a.aM,i.inside=!1,i.clicking=!1},this._mouseTouchMove=t=>{const i=this.container,e=i.actualOptions,n=i.interactivity,s=i.canvas.element;if(!n||!n.element)return;let o;if(n.mouse.inside=!0,t.type.startsWith("pointer")){this._canPush=!0;const i=t;if(n.element===window){if(s){const t=s.getBoundingClientRect();o={x:i.clientX-t.left,y:i.clientY-t.top}}}else if("parent"===e.interactivity.detectsOn){const t=i.target,e=i.currentTarget;if(t&&e&&s){const n=t.getBoundingClientRect(),a=e.getBoundingClientRect(),r=s.getBoundingClientRect();o={x:i.offsetX+2*n.left-(a.left+r.left),y:i.offsetY+2*n.top-(a.top+r.top)}}else{var r,c;o={x:null!==(r=i.offsetX)&&void 0!==r?r:i.clientX,y:null!==(c=i.offsetY)&&void 0!==c?c:i.clientY}}}else if(i.target===s){var l,h;o={x:null!==(l=i.offsetX)&&void 0!==l?l:i.clientX,y:null!==(h=i.offsetY)&&void 0!==h?h:i.clientY}}}else if(this._canPush="touchmove"!==t.type,s){var u,d;const i=t,e=i.touches[i.touches.length-1],n=s.getBoundingClientRect();o={x:e.clientX-(null!==(u=n.left)&&void 0!==u?u:0),y:e.clientY-(null!==(d=n.top)&&void 0!==d?d:0)}}const p=i.retina.pixelRatio;o&&(o.x*=p,o.y*=p),n.mouse.position=o,n.status=a.Wt},this._touchEnd=t=>{const i=t,e=Array.from(i.changedTouches);for(const n of e)this._touches.delete(n.identifier);this._mouseTouchFinish()},this._touchEndClick=t=>{const i=t,e=Array.from(i.changedTouches);for(const n of e)this._touches.delete(n.identifier);this._mouseTouchClick(t)},this._touchStart=t=>{const i=t,e=Array.from(i.changedTouches);for(const n of e)this._touches.set(n.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)}}n()}catch(c){n(c)}}))},88518:function(t,i,e){e.d(i,{$:function(){return n}});class n{constructor(t){this.container=t,this.type="particles"}}},57279:function(t,i,e){e.d(i,{V:function(){return o}});e(71695),e(92745),e(39527),e(67670),e(13334),e(47021);var n=e(90979);function s(t,i,e,n=!1){let s=i.get(t);return s&&!n||(s=[...e.values()].map((i=>i(t))),i.set(t,s)),s}class o{constructor(t){this._engine=t,this.plugins=[],this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.drawers=new Map,this.pathGenerators=new Map}addInteractor(t,i){this._initializers.interactors.set(t,i)}addParticleMover(t,i){this._initializers.movers.set(t,i)}addParticleUpdater(t,i){this._initializers.updaters.set(t,i)}addPathGenerator(t,i){!this.getPathGenerator(t)&&this.pathGenerators.set(t,i)}addPlugin(t){!this.getPlugin(t.id)&&this.plugins.push(t)}addPreset(t,i,e=!1){(e||!this.getPreset(t))&&this.presets.set(t,i)}addShapeDrawer(t,i){(0,n.KH)(t,(t=>{!this.getShapeDrawer(t)&&this.drawers.set(t,i)}))}destroy(t){this.updaters.delete(t),this.movers.delete(t),this.interactors.delete(t)}getAvailablePlugins(t){const i=new Map;for(const e of this.plugins)e.needsPlugin(t.actualOptions)&&i.set(e.id,e.getPlugin(t));return i}getInteractors(t,i=!1){return s(t,this.interactors,this._initializers.interactors,i)}getMovers(t,i=!1){return s(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.drawers.get(t)}getSupportedShapes(){return this.drawers.keys()}getUpdaters(t,i=!1){return s(t,this.updaters,this._initializers.updaters,i)}loadOptions(t,i){for(const e of this.plugins)e.loadOptions(t,i)}loadParticlesOptions(t,i,...e){const n=this.updaters.get(t);if(n)for(const s of n)s.loadOptions&&s.loadOptions(i,...e)}}},4229:function(t,i,e){e.d(i,{e:function(){return n}});class n{constructor(t,i){this.position={x:t,y:i}}}},21415:function(t,i,e){e.d(i,{A:function(){return o}});var n=e(33863),s=e(4229);class o extends s.e{constructor(t,i,e,n){super(t,i),this.size={height:n,width:e}}contains(t){const i=this.size.width,e=this.size.height,n=this.position;return t.x>=n.x&&t.x<=n.x+i&&t.y>=n.y&&t.y<=n.y+e}intersects(t){t instanceof n.C&&t.intersects(this);const i=this.size.width,e=this.size.height,s=this.position,a=t.position,r=t instanceof o?t.size:{width:0,height:0},c=r.width,l=r.height;return a.x<s.x+i&&a.x+c>s.x&&a.y<s.y+e&&a.y+l>s.y}}},217:function(t,i,e){e.d(i,{O:function(){return s}});var n=e(28249);class s extends n.U{constructor(t,i){super(t,i,0)}static get origin(){return s.create(0,0)}static clone(t){return s.create(t.x,t.y)}static create(t,i){return new s(t,i)}}},28249:function(t,i,e){e.d(i,{U:function(){return o}});e(52247);var n=e(53968),s=e(90979);class o{constructor(t,i,e){if(this._updateFromAngle=(t,i)=>{this.x=Math.cos(t)*i,this.y=Math.sin(t)*i},!(0,s.hj)(t)&&t){this.x=t.x,this.y=t.y;const i=t;this.z=i.z?i.z:0}else{if(void 0===t||void 0===i)throw new Error(`${n.gK} Vector3d not initialized correctly`);this.x=t,this.y=i,this.z=null!=e?e:0}}static get origin(){return o.create(0,0,0)}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**2+this.y**2}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;0!=t&&this.multTo(1/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),0)}setTo(t){this.x=t.x,this.y=t.y;const i=t;this.z=i.z?i.z:0}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}}},31334:function(t,i,e){e.d(i,{o:()=>u});var n=e("90979");class s{constructor(){this.enable=!1,this.mode=[]}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode))}}e("19134"),e("97003");class o{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type="circle"}get el(){return this.elementId}set el(t){this.elementId=t}get elementId(){return this.ids}set elementId(t){this.ids=t}get ids(){return(0,n.KH)(this.selectors,(t=>t.replace("#","")))}set ids(t){this.selectors=(0,n.KH)(t,(t=>`#${t}`))}load(t){var i,e;if(!t)return;const n=null!==(i=null!==(e=t.ids)&&void 0!==e?e:t.elementId)&&void 0!==i?i:t.el;void 0!==n&&(this.ids=n),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)}}class a{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.force&&(this.force=t.force),void 0!==t.smooth&&(this.smooth=t.smooth))}}class r{constructor(){this.enable=!1,this.mode=[],this.parallax=new a}load(t){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){void 0!==t&&(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.enable&&(this.enable=t.enable))}}class l{constructor(){this.onClick=new s,this.onDiv=new o,this.onHover=new r,this.resize=new c}get onclick(){return this.onClick}set onclick(t){this.onClick=t}get ondiv(){return this.onDiv}set ondiv(t){this.onDiv=t}get onhover(){return this.onHover}set onhover(t){this.onHover=t}load(t){var i,e,s;if(!t)return;this.onClick.load(null!==(i=t.onClick)&&void 0!==i?i:t.onclick);const a=null!==(e=t.onDiv)&&void 0!==e?e:t.ondiv;void 0!==a&&(this.onDiv=(0,n.KH)(a,(t=>{const i=new o;return i.load(t),i}))),this.onHover.load(null!==(s=t.onHover)&&void 0!==s?s:t.onhover),(0,n.jn)(t.resize)?this.resize.enable=t.resize:this.resize.load(t.resize)}}e("71695"),e("47021");class h{constructor(t,i){this._engine=t,this._container=i}load(t){if(!t)return;if(!this._container)return;const i=this._engine.plugins.interactors.get(this._container);if(i)for(const e of i)e.loadModeOptions&&e.loadModeOptions(this,t)}}class u{constructor(t,i){this.detectsOn="window",this.events=new l,this.modes=new h(t,i)}get detect_on(){return this.detectsOn}set detect_on(t){this.detectsOn=t}load(t){var i;if(!t)return;const e=null!==(i=t.detectsOn)&&void 0!==i?i:t.detect_on;void 0!==e&&(this.detectsOn=e),this.events.load(t.events),this.modes.load(t.modes)}}},62807:function(t,i,e){e.d(i,{E:()=>y});e("71695"),e("92745"),e("61893"),e("39527"),e("67670"),e("13334"),e("47021");var n=e("90979"),s=e("76323");class o{constructor(){this.color=new s.O,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){t&&(void 0!==t.color&&(this.color=s.O.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.position&&(this.position=t.position),void 0!==t.repeat&&(this.repeat=t.repeat),void 0!==t.size&&(this.size=t.size),void 0!==t.opacity&&(this.opacity=t.opacity))}}class a{constructor(){this.color=new s.O,this.color.value="#fff",this.opacity=1}load(t){t&&(void 0!==t.color&&(this.color=s.O.create(this.color,t.color)),void 0!==t.opacity&&(this.opacity=t.opacity))}}class r{constructor(){this.composite="destination-out",this.cover=new a,this.enable=!1}load(t){if(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?i:{color:e})}void 0!==t.enable&&(this.enable=t.enable)}}}class c{constructor(){this.enable=!0,this.zIndex=0}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}}var l=e("31334");class h{load(t){if(t){var i,e,s;if(t.position)this.position={x:null!==(i=t.position.x)&&void 0!==i?i:50,y:null!==(e=t.position.y)&&void 0!==e?e:50,mode:null!==(s=t.position.mode)&&void 0!==s?s:"percent"};t.options&&(this.options=(0,n.ZB)({},t.options))}}}class u{constructor(){this.maxWidth=1/0,this.options={},this.mode="canvas"}load(t){t&&(void 0!==t.maxWidth&&(this.maxWidth=t.maxWidth),void 0!==t.mode&&("screen"===t.mode?this.mode="screen":this.mode="canvas"),void 0!==t.options&&(this.options=(0,n.ZB)({},t.options)))}}class d{constructor(){this.auto=!1,this.mode="any",this.value=!1}load(t){t&&(void 0!==t.auto&&(this.auto=t.auto),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}class p{constructor(){this.name="",this.default=new d}load(t){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)))}}var f=e("66166"),v=e("72098");class y{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&&"any"===t.default.mode))},this._importPreset=t=>{this.load(this._engine.plugins.getPreset(t))},this._engine=t,this._container=i,this.autoPlay=!0,this.background=new o,this.backgroundMask=new r,this.defaultThemes={},this.delay=0,this.fullScreen=new c,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new l.o(t,i),this.manualParticles=[],this.particles=(0,f.x)(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}get backgroundMode(){return this.fullScreen}set backgroundMode(t){this.fullScreen.load(t)}get fps_limit(){return this.fpsLimit}set fps_limit(t){this.fpsLimit=t}get retina_detect(){return this.detectRetina}set retina_detect(t){this.detectRetina=t}load(t){var i,e,s,o,a;if(!t)return;void 0!==t.preset&&(0,n.KH)(t.preset,(t=>this._importPreset(t))),void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.delay&&(this.delay=(0,v.Cs)(t.delay));const r=null!==(i=t.detectRetina)&&void 0!==i?i:t.retina_detect;void 0!==r&&(this.detectRetina=r),void 0!==t.duration&&(this.duration=(0,v.Cs)(t.duration));const c=null!==(e=t.fpsLimit)&&void 0!==e?e:t.fps_limit;void 0!==c&&(this.fpsLimit=c),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 l=null!==(s=t.fullScreen)&&void 0!==s?s:t.backgroundMode;(0,n.jn)(l)?this.fullScreen.enable=l:this.fullScreen.load(l),this.backgroundMask.load(t.backgroundMask),this.interactivity.load(t.interactivity),t.manualParticles&&(this.manualParticles=t.manualParticles.map((t=>{const i=new h;return i.load(t),i}))),this.particles.load(t.particles),this.style=(0,n.ZB)(this.style,t.style),this._engine.plugins.loadOptions(this,t),void 0!==t.smooth&&(this.smooth=t.smooth);const d=this._engine.plugins.interactors.get(this._container);if(d)for(const n of d)n.loadOptions&&n.loadOptions(this,t);if(void 0!==t.responsive)for(const n of t.responsive){const t=new u;t.load(n),this.responsive.push(t)}if(this.responsive.sort(((t,i)=>t.maxWidth-i.maxWidth)),void 0!==t.themes)for(const n of t.themes){const t=this.themes.find((t=>t.name===n.name));if(t)t.load(n);else{const t=new p;t.load(n),this.themes.push(t)}}this.defaultThemes.dark=null===(o=this._findDefaultTheme("dark"))||void 0===o?void 0:o.name,this.defaultThemes.light=null===(a=this._findDefaultTheme("light"))||void 0===a?void 0:a.name}setResponsive(t,i,e){this.load(e);const n=this.responsive.find((e=>"screen"===e.mode&&screen?e.maxWidth>screen.availWidth:e.maxWidth*i>t));return this.load(null==n?void 0:n.options),null==n?void 0:n.maxWidth}setTheme(t){if(t){const i=this.themes.find((i=>i.name===t));i&&this.load(i.options)}else{const t=(0,n.HY)("(prefers-color-scheme: dark)"),i=t&&t.matches,e=this._findDefaultTheme(i?"dark":"light");e&&this.load(e.options)}}}},76323:function(t,i,e){e.d(i,{O:function(){return s}});var n=e(90979);class s{constructor(){this.value=""}static create(t,i){const e=new s;return e.load(t),void 0!==i&&((0,n.HD)(i)||(0,n.kJ)(i)?e.load({value:i}):e.load(i)),e}load(t){void 0!==(null==t?void 0:t.value)&&(this.value=t.value)}}},29907:function(t,i,e){e.d(i,{$F:function(){return u},C3:function(){return r},PL:function(){return d},TQ:function(){return a},Wd:function(){return o},ZH:function(){return c},Zw:function(){return h},pS:function(){return s},zv:function(){return l}});var n=e(44955);function s(t,i,e){t.beginPath(),t.moveTo(i.x,i.y),t.lineTo(e.x,e.y),t.closePath()}function o(t,i,e,n){t.beginPath(),t.moveTo(i.x,i.y),t.lineTo(e.x,e.y),t.lineTo(n.x,n.y),t.closePath()}function a(t,i,e){t.fillStyle=null!=e?e:"rgba(0,0,0,0)",t.fillRect(0,0,i.width,i.height)}function r(t,i,e,n){e&&(t.globalAlpha=n,t.drawImage(e,0,0,i.width,i.height),t.globalAlpha=1)}function c(t,i){t.clearRect(0,0,i.width,i.height)}function l(t){var i,e,s,o,a;const{container:r,context:c,particle:l,delta:h,colorStyles:u,backgroundMask:d,composite:p,radius:f,opacity:v,shadow:y,transform:m}=t,g=l.getPosition(),w=l.rotation+(l.pathRotation?l.velocity.angle:0),b=Math.sin(w),_=Math.cos(w),x={a:_*(null!==(i=m.a)&&void 0!==i?i:1),b:b*(null!==(e=m.b)&&void 0!==e?e:1),c:-b*(null!==(s=m.c)&&void 0!==s?s:1),d:_*(null!==(o=m.d)&&void 0!==o?o:1)};c.setTransform(x.a,x.b,x.c,x.d,g.x,g.y),c.beginPath(),d&&(c.globalCompositeOperation=p);const z=l.shadowColor;y.enable&&z&&(c.shadowBlur=y.blur,c.shadowColor=(0,n.iz)(z),c.shadowOffsetX=y.offset.x,c.shadowOffsetY=y.offset.y),u.fill&&(c.fillStyle=u.fill);const k=null!==(a=l.strokeWidth)&&void 0!==a?a:0;c.lineWidth=k,u.stroke&&(c.strokeStyle=u.stroke),function(t,i,e,n,s,o){if(!e.shape)return;const a=t.drawers.get(e.shape);if(!a)return;a.draw(i,e,n,s,o,t.retina.pixelRatio)}(r,c,l,f,v,h),k>0&&c.stroke(),l.close&&c.closePath(),l.fill&&c.fill(),function(t,i,e,n,s,o){if(!e.shape)return;const a=t.drawers.get(e.shape);if(!a||!a.afterEffect)return;a.afterEffect(i,e,n,s,o,t.retina.pixelRatio)}(r,c,l,f,v,h),c.globalCompositeOperation="source-over",c.setTransform(1,0,0,1,0,0)}function h(t,i,e){i.draw&&i.draw(t,e)}function u(t,i,e,n){i.drawParticle&&i.drawParticle(t,e,n)}function d(t,i,e){return{h:t.h,s:t.s,l:t.l+("darken"===i?-1:1)*e}}},44955:function(t,i,e){e.d(i,{BE:function(){return b},Dt:function(){return _},VI:function(){return c},Y6:function(){return y},bS:function(){return z},gW:function(){return x},iz:function(){return g},lN:function(){return p},tX:function(){return u},ve:function(){return v},vz:function(){return w}});e(71695),e(23669),e(19134),e(97003),e(88044),e(47021);var n=e(72098),s=e(90979);const o="random",a="mid",r=new Map;function c(t){r.set(t.key,t)}function l(t,i,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?t+6*(i-t)*e:e<.5?i:e<2/3?t+(i-t)*(2/3-e)*6:t}function h(t){for(const[,n]of r)if(t.startsWith(n.stringPrefix))return n.parseString(t);const i=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,((t,i,e,n,s)=>i+i+e+e+n+n+(void 0!==s?s+s:""))),e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i.exec(i);return e?{a:void 0!==e[4]?parseInt(e[4],16)/255:1,b:parseInt(e[3],16),g:parseInt(e[2],16),r:parseInt(e[1],16)}:void 0}function u(t,i,e=!0){if(!t)return;const n=(0,s.HD)(t)?{value:t}:t;if((0,s.HD)(n.value))return d(n.value,i,e);if((0,s.kJ)(n.value))return u({value:(0,s.c8)(n.value,i,e)});for(const[,s]of r){const t=s.handleRangeColor(n);if(t)return t}}function d(t,i,e=!0){if(!t)return;const n=(0,s.HD)(t)?{value:t}:t;if((0,s.HD)(n.value))return n.value===o?m():function(t){return h(t)}(n.value);if((0,s.kJ)(n.value))return d({value:(0,s.c8)(n.value,i,e)});for(const[,s]of r){const t=s.handleColor(n);if(t)return t}}function p(t,i,e=!0){const n=u(t,i,e);return n?f(n):void 0}function f(t){const i=t.r/255,e=t.g/255,n=t.b/255,s=Math.max(i,e,n),o=Math.min(i,e,n),a={h:0,l:(s+o)/2,s:0};return s!==o&&(a.s=a.l<.5?(s-o)/(s+o):(s-o)/(2-s-o),a.h=i===s?(e-n)/(s-o):a.h=e===s?2+(n-i)/(s-o):4+(i-e)/(s-o)),a.l*=100,a.s*=100,a.h*=60,a.h<0&&(a.h+=360),a.h>=360&&(a.h-=360),a}function v(t){const i={b:0,g:0,r:0},e={h:t.h/360,l:t.l/100,s:t.s/100};if(e.s){const t=e.l<.5?e.l*(1+e.s):e.l+e.s-e.l*e.s,n=2*e.l-t;i.r=l(n,t,e.h+1/3),i.g=l(n,t,e.h),i.b=l(n,t,e.h-1/3)}else i.r=i.g=i.b=e.l;return i.r=Math.floor(255*i.r),i.g=Math.floor(255*i.g),i.b=Math.floor(255*i.b),i}function y(t){const i=v(t);return{a:t.a,b:i.b,g:i.g,r:i.r}}function m(t){const i=null!=t?t:0;return{b:Math.floor((0,n.vd)((0,n.Cs)(i,256))),g:Math.floor((0,n.vd)((0,n.Cs)(i,256))),r:Math.floor((0,n.vd)((0,n.Cs)(i,256)))}}function g(t,i){return`rgba(${t.r}, ${t.g}, ${t.b}, ${null!=i?i:1})`}function w(t,i){return`hsla(${t.h}, ${t.s}%, ${t.l}%, ${null!=i?i:1})`}function b(t,i,e){if(e===o)return m();if(e!==a)return e;{var s,r;const e=null!==(s=t.getFillColor())&&void 0!==s?s:t.getStrokeColor(),o=null!==(r=null==i?void 0:i.getFillColor())&&void 0!==r?r:null==i?void 0:i.getStrokeColor();if(e&&o&&i)return function(t,i,e,s){let o=t,a=i;return void 0===o.r&&(o=v(t)),void 0===a.r&&(a=v(i)),{b:(0,n.CD)(o.b,a.b,e,s),g:(0,n.CD)(o.g,a.g,e,s),r:(0,n.CD)(o.r,a.r,e,s)}}(e,o,t.getRadius(),i.getRadius());{const t=null!=e?e:o;if(t)return v(t)}}}function _(t,i,e){const n=(0,s.HD)(t)?t:t.value;return n===o?e?u({value:n}):i?o:a:n===a?a:u({value:n})}function x(t){return void 0!==t?{h:t.h.value,s:t.s.value,l:t.l.value}:void 0}function z(t,i,e){const n={h:{enable:!1,value:t.h},s:{enable:!1,value:t.s},l:{enable:!1,value:t.l}};return i&&(k(n.h,i.h,e),k(n.s,i.s,e),k(n.l,i.l,e)),n}function k(t,i,e){t.enable=i.enable,t.enable?(t.velocity=(0,n.Gu)(i.speed)/100*e,t.decay=1-(0,n.Gu)(i.decay),t.status="increasing",t.loops=0,t.maxLoops=(0,n.Gu)(i.count),t.time=0,t.delayTime=1e3*(0,n.Gu)(i.delay),i.sync||(t.velocity*=(0,n.sZ)(),t.value*=(0,n.sZ)()),t.initialValue=t.value):t.velocity=0}},28726:function(t,i,e){e.d(i,{p:function(){return n}});e(71695),e(92745),e(39527),e(41360),e(47021);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);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,s=e.indexOf(i);s<0||(1===n?this._listeners.delete(t):e.splice(s,1))}}},52035:function(t,i,e){e.d(i,{B:function(){return o}});e(23669),e(19134),e(88044);var n=e(72098),s=e(44955);class o{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,s.ve)(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,s.ve)({h:(0,n.Gu)(e.h),l:(0,n.Gu)(e.l),s:(0,n.Gu)(e.s)})}parseString(t){if(!t.startsWith("hsl"))return;const i=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.%]+)\s*)?\)/i.exec(t);return i?(0,s.Y6)({a:i.length>4?(0,n.BV)(i[5]):1,h:parseInt(i[1],10),l:parseInt(i[3],10),s:parseInt(i[2],10)}):void 0}}},72098:function(t,i,e){e.d(i,{BV:function(){return b},CD:function(){return c},Cs:function(){return p},Gk:function(){return m},Gu:function(){return h},KI:function(){return d},NA:function(){return f},Sp:function(){return y},Uv:function(){return u},lQ:function(){return g},mC:function(){return w},oW:function(){return v},sZ:function(){return a},uZ:function(){return r},vd:function(){return l}});e(71695),e(95078),e(97499),e(47021);var n=e(90979),s=e(217);let o=Math.random;new Map;function a(){return r(o(),0,1-1e-16)}function r(t,i,e){return Math.min(Math.max(t,i),e)}function c(t,i,e,n){return Math.floor((t*e+i*n)/(e+n))}function l(t){const i=d(t);let e=u(t);return i===e&&(e=0),a()*(i-e)+e}function h(t){return(0,n.hj)(t)?t:l(t)}function u(t){return(0,n.hj)(t)?t:t.min}function d(t){return(0,n.hj)(t)?t:t.max}function p(t,i){if(t===i||void 0===i&&(0,n.hj)(t))return t;const e=u(t),s=d(t);return void 0!==i?{min:Math.min(e,i),max:Math.max(s,i)}:p(e,s)}function f(t){const i=t.random,{enable:e,minimumValue:s}=(0,n.jn)(i)?{enable:i,minimumValue:0}:i;return h(e?p(t.value,s):t.value)}function v(t,i){const e=t.x-i.x,n=t.y-i.y;return{dx:e,dy:n,distance:Math.sqrt(e**2+n**2)}}function y(t,i){return v(t,i).distance}function m(t,i,e){if((0,n.hj)(t))return t*Math.PI/180;switch(t){case"top":return-Math.PI/2;case"top-right":return-Math.PI/4;case"right":return 0;case"bottom-right":return Math.PI/4;case"bottom":return Math.PI/2;case"bottom-left":return 3*Math.PI/4;case"left":return Math.PI;case"top-left":return-3*Math.PI/4;case"inside":return Math.atan2(e.y-i.y,e.x-i.x);case"outside":return Math.atan2(i.y-e.y,i.x-e.x);default:return a()*Math.PI*2}}function g(t){const i=s.O.origin;return i.length=1,i.angle=t,i}function w(t){var i,e,n,s;return{x:null!==(i=null===(e=t.position)||void 0===e?void 0:e.x)&&void 0!==i?i:a()*t.size.width,y:null!==(n=null===(s=t.position)||void 0===s?void 0:s.y)&&void 0!==n?n:a()*t.size.height}}function b(t){return t?t.endsWith("%")?parseFloat(t)/100:parseFloat(t):1}},66166:function(t,i,e){e.d(i,{h:()=>U,x:()=>j});e("71695"),e("47021");var n=e("90979"),s=e("72098");class o{constructor(){this.count=0,this.enable=!1,this.offset=0,this.speed=1,this.delay=0,this.decay=0,this.sync=!0}load(t){t&&(void 0!==t.count&&(this.count=(0,s.Cs)(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.offset&&(this.offset=(0,s.Cs)(t.offset)),void 0!==t.speed&&(this.speed=(0,s.Cs)(t.speed)),void 0!==t.decay&&(this.decay=(0,s.Cs)(t.decay)),void 0!==t.delay&&(this.delay=(0,s.Cs)(t.delay)),void 0!==t.sync&&(this.sync=t.sync))}}class a{constructor(){this.h=new o,this.s=new o,this.l=new o}load(t){t&&(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}var r=e("76323");class c extends r.O{constructor(){super(),this.animation=new a}static create(t,i){const e=new c;return e.load(t),void 0!==i&&((0,n.HD)(i)||(0,n.kJ)(i)?e.load({value:i}):e.load(i)),e}load(t){if(super.load(t),!t)return;const i=t.animation;void 0!==i&&(void 0!==i.enable?this.animation.h.load(i):this.animation.load(t.animation))}}class l{constructor(){this.speed=2}load(t){t&&void 0!==t.speed&&(this.speed=t.speed)}}class h{constructor(){this.enable=!0,this.retries=0}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.retries&&(this.retries=t.retries))}}class u{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){t&&(void 0!==t.count&&(this.count=(0,s.Cs)(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=(0,s.Cs)(t.speed)),void 0!==t.decay&&(this.decay=(0,s.Cs)(t.decay)),void 0!==t.delay&&(this.delay=(0,s.Cs)(t.delay)),void 0!==t.sync&&(this.sync=t.sync))}}class d extends u{constructor(){super(),this.mode="auto",this.startValue="random"}load(t){super.load(t),t&&(void 0!==t.minimumValue&&(this.minimumValue=t.minimumValue),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}}class p{constructor(){this.enable=!1,this.minimumValue=0}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.minimumValue&&(this.minimumValue=t.minimumValue))}}class f{constructor(){this.random=new p,this.value=0}load(t){t&&((0,n.jn)(t.random)?this.random.enable=t.random:this.random.load(t.random),void 0!==t.value&&(this.value=(0,s.Cs)(t.value,this.random.enable?this.random.minimumValue:void 0)))}}class v extends f{constructor(){super(),this.random.minimumValue=.1,this.value=1}}class y{constructor(){this.horizontal=new v,this.vertical=new v}load(t){t&&(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}class m{constructor(){this.absorb=new l,this.bounce=new y,this.enable=!1,this.maxSpeed=50,this.mode="bounce",this.overlap=new h}load(t){t&&(this.absorb.load(t.absorb),this.bounce.load(t.bounce),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.maxSpeed&&(this.maxSpeed=(0,s.Cs)(t.maxSpeed)),void 0!==t.mode&&(this.mode=t.mode),this.overlap.load(t.overlap))}}e("19423");class g{constructor(){this.offset=0,this.value=90}load(t){t&&(void 0!==t.offset&&(this.offset=(0,s.Cs)(t.offset)),void 0!==t.value&&(this.value=(0,s.Cs)(t.value)))}}class w{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}get rotateX(){return this.rotate.x}set rotateX(t){this.rotate.x=t}get rotateY(){return this.rotate.y}set rotateY(t){this.rotate.y=t}load(t){var i,e,n,o;if(!t)return;void 0!==t.distance&&(this.distance=(0,s.Cs)(t.distance)),void 0!==t.enable&&(this.enable=t.enable);const a=null!==(i=null===(e=t.rotate)||void 0===e?void 0:e.x)&&void 0!==i?i:t.rotateX;void 0!==a&&(this.rotate.x=a);const r=null!==(n=null===(o=t.rotate)||void 0===o?void 0:o.y)&&void 0!==n?n:t.rotateY;void 0!==r&&(this.rotate.y=r)}}class b{constructor(){this.x=50,this.y=50,this.mode="percent",this.radius=0}load(t){t&&(void 0!==t.x&&(this.x=t.x),void 0!==t.y&&(this.y=t.y),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.radius&&(this.radius=t.radius))}}class _{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){t&&(void 0!==t.acceleration&&(this.acceleration=(0,s.Cs)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.inverse&&(this.inverse=t.inverse),void 0!==t.maxSpeed&&(this.maxSpeed=(0,s.Cs)(t.maxSpeed)))}}class x{constructor(){this.clamp=!0,this.delay=new f,this.enable=!1,this.options={}}load(t){t&&(void 0!==t.clamp&&(this.clamp=t.clamp),this.delay.load(t.delay),void 0!==t.enable&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=(0,n.ZB)(this.options,t.options)))}}class z{load(t){t&&(void 0!==t.color&&(this.color=r.O.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image))}}class k{constructor(){this.enable=!1,this.length=10,this.fill=new z}get fillColor(){return this.fill.color}set fillColor(t){this.fill.load({color:t})}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0===t.fill&&void 0===t.fillColor||this.fill.load(t.fill||{color:t.fillColor}),void 0!==t.length&&(this.length=t.length))}}class M{constructor(){this.default="out"}load(t){var i,e,n,s;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!==(n=t.right)&&void 0!==n?n:t.default,this.top=null!==(s=t.top)&&void 0!==s?s:t.default)}}class C{constructor(){this.acceleration=0,this.enable=!1}load(t){t&&(void 0!==t.acceleration&&(this.acceleration=(0,s.Cs)(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),t.position&&(this.position=(0,n.ZB)({},t.position)))}}class P{constructor(){this.angle=new g,this.attract=new w,this.center=new b,this.decay=0,this.distance={},this.direction="none",this.drift=0,this.enable=!1,this.gravity=new _,this.path=new x,this.outModes=new M,this.random=!1,this.size=!1,this.speed=2,this.spin=new C,this.straight=!1,this.trail=new k,this.vibrate=!1,this.warp=!1}get bounce(){return this.collisions}set bounce(t){this.collisions=t}get collisions(){return!1}set collisions(t){}get noise(){return this.path}set noise(t){this.path=t}get outMode(){return this.outModes.default}set outMode(t){this.outModes.default=t}get out_mode(){return this.outMode}set out_mode(t){this.outMode=t}load(t){var i,e,o;if(!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,s.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,s.Cs)(t.drift)),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity);const a=null!==(i=null!==(e=t.outModes)&&void 0!==e?e:t.outMode)&&void 0!==i?i:t.out_mode;void 0!==a&&((0,n.Kn)(a)?this.outModes.load(a):this.outModes.load({default:a})),this.path.load(null!==(o=t.path)&&void 0!==o?o:t.noise),void 0!==t.random&&(this.random=t.random),void 0!==t.size&&(this.size=t.size),void 0!==t.speed&&(this.speed=(0,s.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)}}class O extends d{constructor(){super(),this.destroy="none",this.speed=2}get opacity_min(){return this.minimumValue}set opacity_min(t){this.minimumValue=t}load(t){void 0!==(null==t?void 0:t.opacity_min)&&void 0===t.minimumValue&&(t.minimumValue=t.opacity_min),super.load(t),t&&void 0!==t.destroy&&(this.destroy=t.destroy)}}class S extends f{constructor(){super(),this.animation=new O,this.random.minimumValue=.1,this.value=1}get anim(){return this.animation}set anim(t){this.animation=t}load(t){var i;if(!t)return;super.load(t);const e=null!==(i=t.animation)&&void 0!==i?i:t.anim;void 0!==e&&(this.animation.load(e),this.value=(0,s.Cs)(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}class T{constructor(){this.enable=!1,this.width=1920,this.height=1080}get area(){return this.width}set area(t){this.width=t}get factor(){return this.height}set factor(t){this.height=t}get value_area(){return this.area}set value_area(t){this.area=t}load(t){var i,e,n;if(!t)return;void 0!==t.enable&&(this.enable=t.enable);const s=null!==(i=null!==(e=t.width)&&void 0!==e?e:t.area)&&void 0!==i?i:t.value_area;void 0!==s&&(this.width=s);const o=null!==(n=t.height)&&void 0!==n?n:t.factor;void 0!==o&&(this.height=o)}}class I{constructor(){this.density=new T,this.limit=0,this.value=0}get max(){return this.limit}set max(t){this.limit=t}load(t){var i;if(!t)return;this.density.load(t.density);const e=null!==(i=t.limit)&&void 0!==i?i:t.max;void 0!==e&&(this.limit=e),void 0!==t.value&&(this.value=t.value)}}class D{constructor(){this.blur=0,this.color=new r.O,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(t){t&&(void 0!==t.blur&&(this.blur=t.blur),this.color=r.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)))}}const R="character",L="char",A="image",E="images",F="polygon",G="star";class V{constructor(){this.loadShape=(t,i,e,s)=>{var o;if(!t)return;const a=(0,n.kJ)(t),r=a?[]:{},c=a!==(0,n.kJ)(this.options[i]),l=a!==(0,n.kJ)(this.options[e]);var h;(c&&(this.options[i]=r),l&&s&&(this.options[e]=r),this.options[i]=(0,n.ZB)(null!==(o=this.options[i])&&void 0!==o?o:r,t),!this.options[e]||s)&&(this.options[e]=(0,n.ZB)(null!==(h=this.options[e])&&void 0!==h?h:r,t))},this.close=!0,this.fill=!0,this.options={},this.type="circle"}get character(){var t;return null!==(t=this.options[R])&&void 0!==t?t:this.options[L]}set character(t){this.options[L]=this.options[R]=t}get custom(){return this.options}set custom(t){this.options=t}get image(){var t;return null!==(t=this.options[A])&&void 0!==t?t:this.options[E]}set image(t){this.options[E]=this.options[A]=t}get images(){return this.image}set images(t){this.image=t}get polygon(){var t;return null!==(t=this.options[F])&&void 0!==t?t:this.options[G]}set polygon(t){this.options[G]=this.options[F]=t}get stroke(){return[]}set stroke(t){}load(t){var i,e;if(!t)return;const s=null!==(i=t.options)&&void 0!==i?i:t.custom;if(void 0!==s)for(const a in s){const t=s[a];var o;if(t)this.options[a]=(0,n.ZB)(null!==(o=this.options[a])&&void 0!==o?o:{},t)}this.loadShape(t.character,R,L,!0),this.loadShape(t.polygon,F,G,!1),this.loadShape(null!==(e=t.image)&&void 0!==e?e:t.images,A,E,!0),void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.type=t.type)}}class B extends d{constructor(){super(),this.destroy="none",this.speed=5}get size_min(){return this.minimumValue}set size_min(t){this.minimumValue=t}load(t){void 0!==(null==t?void 0:t.size_min)&&void 0===t.minimumValue&&(t.minimumValue=t.size_min),super.load(t),t&&void 0!==t.destroy&&(this.destroy=t.destroy)}}class H extends f{constructor(){super(),this.animation=new B,this.random.minimumValue=1,this.value=3}get anim(){return this.animation}set anim(t){this.animation=t}load(t){var i;if(super.load(t),!t)return;const e=null!==(i=t.animation)&&void 0!==i?i:t.anim;void 0!==e&&(this.animation.load(e),this.value=(0,s.Cs)(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}class Z{constructor(){this.width=0}load(t){t&&(void 0!==t.color&&(this.color=c.create(this.color,t.color)),void 0!==t.width&&(this.width=(0,s.Cs)(t.width)),void 0!==t.opacity&&(this.opacity=(0,s.Cs)(t.opacity)))}}class W extends f{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),t&&(void 0!==t.opacityRate&&(this.opacityRate=t.opacityRate),void 0!==t.sizeRate&&(this.sizeRate=t.sizeRate),void 0!==t.velocityRate&&(this.velocityRate=t.velocityRate))}}class q{constructor(t,i){this._engine=t,this._container=i,this.bounce=new y,this.collisions=new m,this.color=new c,this.color.value="#fff",this.groups={},this.move=new P,this.number=new I,this.opacity=new S,this.reduceDuplicates=!1,this.shadow=new D,this.shape=new V,this.size=new H,this.stroke=new Z,this.zIndex=new W}load(t){var i,e,s,o,a;if(!t)return;if(this.bounce.load(t.bounce),this.color.load(c.create(this.color,t.color)),void 0!==t.groups)for(const c in t.groups){const i=t.groups[c];var r;if(void 0!==i)this.groups[c]=(0,n.ZB)(null!==(r=this.groups[c])&&void 0!==r?r:{},i)}this.move.load(t.move),this.number.load(t.number),this.opacity.load(t.opacity),void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.shape.load(t.shape),this.size.load(t.size),this.shadow.load(t.shadow),this.zIndex.load(t.zIndex);const l=null!==(i=null===(e=t.move)||void 0===e?void 0:e.collisions)&&void 0!==i?i:null===(s=t.move)||void 0===s?void 0:s.bounce;void 0!==l&&(this.collisions.enable=l),this.collisions.load(t.collisions),void 0!==t.interactivity&&(this.interactivity=(0,n.ZB)({},t.interactivity));const h=null!==(o=t.stroke)&&void 0!==o?o:null===(a=t.shape)||void 0===a?void 0:a.stroke;if(h&&(this.stroke=(0,n.KH)(h,(t=>{const i=new Z;return i.load(t),i}))),this._container){const i=this._engine.plugins.updaters.get(this._container);if(i)for(const n of i)n.loadOptions&&n.loadOptions(this,t);const e=this._engine.plugins.interactors.get(this._container);if(e)for(const n of e)n.loadParticlesOptions&&n.loadParticlesOptions(this,t)}}}function U(t,...i){for(const e of i)t.load(e)}function j(t,i,...e){const n=new q(t,i);return U(n,...e),n}},1070:function(t,i,e){e.d(i,{g:function(){return s}});e(23669),e(19134),e(88044);var n=e(72098);class s{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,n.Gu)(e.r),g:(0,n.Gu)(e.g),b:(0,n.Gu)(e.b)}}parseString(t){if(!t.startsWith(this.stringPrefix))return;const i=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.%]+)\s*)?\)/i.exec(t);return i?{a:i.length>4?(0,n.BV)(i[5]):1,b:parseInt(i[3],10),g:parseInt(i[2],10),r:parseInt(i[1],10)}:void 0}}},90979:function(t,i,e){e.d(i,{Ac:function(){return p},HD:function(){return x},HY:function(){return l},KH:function(){return y},Kn:function(){return M},Kr:function(){return c},M_:function(){return f},V0:function(){return g},ZB:function(){return v},bt:function(){return b},c8:function(){return d},dB:function(){return u},hj:function(){return z},jl:function(){return r},jn:function(){return _},kJ:function(){return C},mf:function(){return k},wA:function(){return m},yf:function(){return h}});var n=e(66374),s=(e(71695),e(40251),e(39527),e(67670),e(13334),e(36993),e(47021),e(72098));const o=["mode"],a={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function r(){return a}function c(){return"undefined"==typeof window||!window||void 0===window.document||!window.document}function l(t){if(!c()&&"undefined"!=typeof matchMedia)return matchMedia(t)}function h(t){if(!c()&&"undefined"!=typeof MutationObserver)return new MutationObserver(t)}function u(t,i){return t===i||C(i)&&i.indexOf(t)>-1}function d(t,i,e=!0){return t[void 0!==i&&e?i%t.length:function(t){return Math.floor((0,s.sZ)()*t.length)}(t)]}function p(t,i,e,n,s){return function(t,i,e,n){let s=!0;n&&"bottom"!==n||(s=t.top<i.height+e.x);!s||n&&"left"!==n||(s=t.right>e.x);!s||n&&"right"!==n||(s=t.left<i.width+e.y);!s||n&&"top"!==n||(s=t.bottom>e.y);return s}(f(t,null!=n?n:0),i,e,s)}function f(t,i){return{bottom:t.y+i,left:t.x-i,right:t.x+i,top:t.y-i}}function v(t,...i){for(const e of i){if(null==e)continue;if(!M(e)){t=e;continue}const i=Array.isArray(e);!i||!M(t)&&t&&Array.isArray(t)?i||!M(t)&&t&&!Array.isArray(t)||(t={}):t=[];for(const n in e){if("__proto__"===n)continue;const i=e[n],s=t;s[n]=M(i)&&Array.isArray(i)?i.map((t=>v(s[n],t))):v(s[n],i)}}return t}function y(t,i){return C(t)?t.map(((t,e)=>i(t,e))):i(t,0)}function m(t,i,e){return C(t)?d(t,i,e):t}function g(t,i){const e=t.value,n=t.animation,o={delayTime:1e3*(0,s.Gu)(n.delay),enable:n.enable,value:(0,s.Gu)(t.value)*i,max:(0,s.KI)(e)*i,min:(0,s.Uv)(e)*i,loops:0,maxLoops:(0,s.Gu)(n.count),time:0};if(n.enable){switch(o.decay=1-(0,s.Gu)(n.decay),n.mode){case"increase":o.status="increasing";break;case"decrease":o.status="decreasing";break;case"random":o.status=(0,s.sZ)()>=.5?"increasing":"decreasing"}const t="auto"===n.mode;switch(n.startValue){case"min":o.value=o.min,t&&(o.status="increasing");break;case"max":o.value=o.max,t&&(o.status="decreasing");break;default:o.value=(0,s.vd)(o),t&&(o.status=(0,s.sZ)()>=.5?"increasing":"decreasing")}}return o.initialValue=o.value,o}function w(t,i){if(!("percent"===t.mode)){const{mode:i}=t;return(0,n.Z)(t,o)}return"x"in t?{x:t.x/100*i.width,y:t.y/100*i.height}:{width:t.width/100*i.width,height:t.height/100*i.height}}function b(t,i){return w(t,i)}function _(t){return"boolean"==typeof t}function x(t){return"string"==typeof t}function z(t){return"number"==typeof t}function k(t){return"function"==typeof t}function M(t){return"object"==typeof t&&null!==t}function C(t){return Array.isArray(t)}},60376:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{S6:function(){return r}});var s=e(75274),o=e(90979),a=t([s]);const r=(0,(s=(a.then?(await a)():a)[0]).S)();(0,o.Kr)()||(window.tsParticles=r),n()}catch(r){n(r)}}))},75274:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{S:function(){return h}});var s=e(83657),o=e(52035),a=e(1070),r=e(44955),c=t([s]);function h(){const t=new a.g,i=new o.B;(0,r.VI)(t),(0,r.VI)(i);const e=new s.D;return e.init(),e}s=(c.then?(await c)():c)[0],n()}catch(l){n(l)}}))},46039:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{e:function(){return t}});e(19423);var s=e(33863),o=e(21415);class t extends s.C{constructor(t,i,e,n){super(t,i,e),this.canvasSize=n,this.canvasSize=Object.assign({},n)}contains(t){const{width:i,height:e}=this.canvasSize,{x:n,y:s}=t;return super.contains(t)||super.contains({x:n-i,y:s})||super.contains({x:n-i,y:s-e})||super.contains({x:n,y:s-e})}intersects(t){if(super.intersects(t))return!0;const i=t,e=t,n={x:t.position.x-this.canvasSize.width,y:t.position.y-this.canvasSize.height};if(void 0!==e.radius){const t=new s.C(n.x,n.y,2*e.radius);return super.intersects(t)}if(void 0!==i.size){const t=new o.A(n.x,n.y,2*i.size.width,2*i.size.height);return super.intersects(t)}return!1}}n()}catch(a){n(a)}}))},3493:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{B:function(){return c}});e(71695),e(40251),e(39527),e(99790),e(47021);var s=e(44955),o=e(72098),a=e(35246),r=t([a]);a=(r.then?(await r)():r)[0];class c{constructor(t){this.container=t,this._drawLinkLine=(t,i)=>{const e=t.options.links;if(null==e||!e.enable)return;const n=this.container,r=n.actualOptions,c=i.destination,l=t.getPosition(),h=c.getPosition();let u=i.opacity;n.canvas.draw((i=>{var d,p,f;let v;const y=null===(d=t.options.twinkle)||void 0===d?void 0:d.lines;if(null!=y&&y.enable){const t=y.frequency,i=(0,s.tX)(y.color);(0,o.sZ)()<t&&i&&(v=i,u=(0,o.Gu)(y.opacity))}if(!v){const i=void 0!==e.id?n.particles.linksColors.get(e.id):n.particles.linksColor;v=(0,s.BE)(t,c,i)}if(!v)return;const m=null!==(p=t.retina.linksWidth)&&void 0!==p?p:0,g=null!==(f=t.retina.linksDistance)&&void 0!==f?f:0,{backgroundMask:w}=r;(0,a.Eb)({context:i,width:m,begin:l,end:h,maxDistance:g,canvasSize:n.canvas.size,links:e,backgroundMask:w,colorLine:v,opacity:u})}))},this._drawLinkTriangle=(t,i,e)=>{var n;const r=t.options.links;if(null==r||!r.enable)return;const c=r.triangles;if(!c.enable)return;const l=this.container,h=l.actualOptions,u=i.destination,d=e.destination,p=null!==(n=c.opacity)&&void 0!==n?n:(i.opacity+e.opacity)/2;p<=0||l.canvas.draw((i=>{var e;const n=t.getPosition(),f=u.getPosition(),v=d.getPosition(),y=null!==(e=t.retina.linksDistance)&&void 0!==e?e:0;if((0,o.Sp)(n,f)>y||(0,o.Sp)(v,f)>y||(0,o.Sp)(v,n)>y)return;let m=(0,s.tX)(c.color);if(!m){const i=void 0!==r.id?l.particles.linksColors.get(r.id):l.particles.linksColor;m=(0,s.BE)(t,u,i)}m&&(0,a.RK)({context:i,pos1:n,pos2:f,pos3:v,backgroundMask:h.backgroundMask,colorTriangle:m,opacityTriangle:p})}))},this._drawTriangles=(t,i,e,n)=>{var s,o,a;const r=e.destination;if(null===(s=t.links)||void 0===s||!s.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&&n.findIndex((i=>i.destination===t.destination))>=0}));if(null!=c&&c.length)for(const l of c){const n=l.destination;this._getTriangleFrequency(i,r,n)>t.links.triangles.frequency||this._drawLinkTriangle(i,e,l)}},this._getLinkFrequency=(t,i)=>(0,a.PH)([t,i],this._freqs.links),this._getTriangleFrequency=(t,i,e)=>(0,a.PH)([t,i,e],this._freqs.triangles),this._freqs={links:new Map,triangles:new Map}}drawParticle(t,i){const{links:e,options:n}=i;if(!e||e.length<=0)return;const s=e.filter((t=>n.links&&this._getLinkFrequency(i,t.destination)<=n.links.frequency));for(const a of s){var o;this._drawTriangles(n,i,a,s),a.opacity>0&&(null!==(o=i.retina.linksWidth)&&void 0!==o?o:0)>0&&this._drawLinkLine(i,a)}}async init(){this._freqs.links=new Map,this._freqs.triangles=new Map}particleCreated(t){if(t.links=[],!t.options.links)return;const i=this.container.retina.pixelRatio,{retina:e}=t,{distance:n,width:s}=t.options.links;e.linksDistance=n*i,e.linksWidth=s*i}particleDestroyed(t){t.links=[]}}n()}catch(c){n(c)}}))},73039:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{h:function(){return p}});e(71695),e(92745),e(40251),e(39527),e(36993),e(47021);var s=e(72098),o=e(88518),a=e(44955),r=e(33863),c=e(46039),l=e(79629),h=t([c,l]);function d(t,i,e,n,o){const{dx:a,dy:r,distance:c}=(0,s.oW)(t,i);if(!o||c<=e)return c;const l={x:Math.abs(a),y:Math.abs(r)},h=Math.min(l.x,n.width-l.x),u=Math.min(l.y,n.height-l.y);return Math.sqrt(h**2+u**2)}[c,l]=h.then?(await h)():h;class p extends o.${constructor(t){super(t),this._setColor=t=>{if(!t.options.links)return;const i=this.linkContainer,e=t.options.links;let n=void 0===e.id?i.particles.linksColor:i.particles.linksColors.get(e.id);if(n)return;const s=e.color;n=(0,a.Dt)(s,e.blink,e.consent),void 0===e.id?i.particles.linksColor=n:i.particles.linksColors.set(e.id,n)},this.linkContainer=t}clear(){}init(){this.linkContainer.particles.linksColor=void 0,this.linkContainer.particles.linksColors=new Map}async interact(t){var i;if(!t.options.links)return;t.links=[];const e=t.getPosition(),n=this.container,s=n.canvas.size;if(e.x<0||e.y<0||e.x>s.width||e.y>s.height)return;const o=t.options.links,a=o.opacity,l=null!==(i=t.retina.linksDistance)&&void 0!==i?i:0,h=o.warp,u=h?new c.e(e.x,e.y,l,s):new r.C(e.x,e.y,l),p=n.particles.quadTree.query(u);for(const r of p){const i=r.options.links;if(t===r||null==i||!i.enable||o.id!==i.id||r.spawning||r.destroyed||!r.links||t.links.some((t=>t.destination===r))||r.links.some((i=>i.destination===t)))continue;const n=r.getPosition();if(n.x<0||n.y<0||n.x>s.width||n.y>s.height)continue;const c=d(e,n,l,s,h&&i.warp);if(c>l)continue;const u=(1-c/l)*a;this._setColor(t),t.links.push({destination:r,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 l.y);for(const s of i){var e,n;t.links.load(null!==(e=null!==(n=null==s?void 0:s.links)&&void 0!==n?n:null==s?void 0:s.lineLinked)&&void 0!==e?e:null==s?void 0:s.line_linked)}}reset(){}}n()}catch(u){n(u)}}))},79629:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{y:function(){return c}});var s=e(76323),o=e(84632),a=e(60445),r=t([o,a]);[o,a]=r.then?(await r)():r;class c{constructor(){this.blink=!1,this.color=new s.O,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){t&&(void 0!==t.id&&(this.id=t.id),void 0!==t.blink&&(this.blink=t.blink),this.color=s.O.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))}}n()}catch(c){n(c)}}))},84632:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{u:function(){return t}});var s=e(76323);class t{constructor(){this.blur=5,this.color=new s.O,this.color.value="#000",this.enable=!1}load(t){t&&(void 0!==t.blur&&(this.blur=t.blur),this.color=s.O.create(this.color,t.color),void 0!==t.enable&&(this.enable=t.enable))}}n()}catch(o){n(o)}}))},60445:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{e:function(){return t}});var s=e(76323);class t{constructor(){this.enable=!1,this.frequency=1}load(t){t&&(void 0!==t.color&&(this.color=s.O.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))}}n()}catch(o){n(o)}}))},35246:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{Eb:function(){return c},PH:function(){return h},RK:function(){return l}});e(61893),e(13334);var s=e(72098),o=e(29907),a=e(44955);function c(t){let i=!1;const{begin:e,end:n,maxDistance:r,context:c,canvasSize:l,width:h,backgroundMask:u,colorLine:d,opacity:p,links:f}=t;if((0,s.Sp)(e,n)<=r)(0,o.pS)(c,e,n),i=!0;else if(f.warp){let t,a;const h={x:n.x-l.width,y:n.y},u=(0,s.oW)(e,h);if(u.distance<=r){const i=e.y-u.dy/u.dx*e.x;t={x:0,y:i},a={x:l.width,y:i}}else{const i={x:n.x,y:n.y-l.height},o=(0,s.oW)(e,i);if(o.distance<=r){const i=-(e.y-o.dy/o.dx*e.x)/(o.dy/o.dx);t={x:i,y:0},a={x:i,y:l.height}}else{const i={x:n.x-l.width,y:n.y-l.height},o=(0,s.oW)(e,i);if(o.distance<=r){const i=e.y-o.dy/o.dx*e.x;t={x:-i/(o.dy/o.dx),y:i},a={x:t.x+l.width,y:t.y+l.height}}}}t&&a&&((0,o.pS)(c,e,t),(0,o.pS)(c,n,a),i=!0)}if(!i)return;c.lineWidth=h,u.enable&&(c.globalCompositeOperation=u.composite),c.strokeStyle=(0,a.iz)(d,p);const{shadow:v}=f;if(v.enable){const t=(0,a.tX)(v.color);t&&(c.shadowBlur=v.blur,c.shadowColor=(0,a.iz)(t))}c.stroke()}function l(t){const{context:i,pos1:e,pos2:n,pos3:s,backgroundMask:r,colorTriangle:c,opacityTriangle:l}=t;(0,o.Wd)(i,e,n,s),r.enable&&(i.globalCompositeOperation=r.composite),i.fillStyle=(0,a.iz)(c,l),i.fill()}function h(t,i){const e=((n=t.map((t=>t.id))).sort(((t,i)=>t-i)),n.join("_"));var n;let o=i.get(e);return void 0===o&&(o=(0,s.sZ)(),i.set(e,o)),o}n()}catch(r){n(r)}}))},4256:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{Xz:function(){return c}});e(40251);var s=e(26047),o=e(15749),a=t([s,o]);async function c(t,i=!0){await(0,s.K)(t,i),await(0,o.d)(t,i)}[s,o]=a.then?(await a)():a,n()}catch(r){n(r)}}))},26047:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{K:function(){return r}});e(40251);var s=e(73039),o=t([s]);async function r(t,i=!0){await t.addInteractor("particlesLinks",(t=>new s.h(t)),i)}s=(o.then?(await o)():o)[0],n()}catch(a){n(a)}}))},15749:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{d:function(){return c}});e(40251);var s=e(3493),o=t([s]);s=(o.then?(await o)():o)[0];class r{constructor(){this.id="links"}getPlugin(t){return new s.B(t)}loadOptions(){}needsPlugin(){return!0}}async function c(t,i=!0){const e=new r;await t.addPlugin(e,i)}n()}catch(a){n(a)}}))},56256:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{G:function(){return c}});var s=e(72098),o=e(86528),a=t([o]);o=(a.then?(await a)():a)[0];const r=2;class c{constructor(){this._initSpin=t=>{var i;const e=t.container,n=t.options.move.spin;if(!n.enable)return;const o=null!==(i=n.position)&&void 0!==i?i:{x:50,y:50},a={x:o.x/100*e.canvas.size.width,y:o.y/100*e.canvas.size.height},r=t.getPosition(),c=(0,s.Sp)(r,a),l=(0,s.Gu)(n.acceleration);t.retina.spinAcceleration=l*e.retina.pixelRatio,t.spin={center:a,direction:t.velocity.x>=0?"clockwise":"counter-clockwise",angle:t.velocity.angle,radius:c,acceleration:t.retina.spinAcceleration}}}init(t){const i=t.options.move.gravity;t.gravity={enable:i.enable,acceleration:(0,s.Gu)(i.acceleration),inverse:i.inverse},this._initSpin(t)}isEnabled(t){return!t.destroyed&&t.options.move.enable}move(t,i){var e,n,a,c,l;const h=t.options,u=h.move;if(!u.enable)return;const d=t.container,p=d.retina.pixelRatio,f=(0,o.mo)(t),v=(null!==(n=(e=t.retina).moveSpeed)&&void 0!==n?n:e.moveSpeed=(0,s.Gu)(u.speed)*p)*d.retina.reduceFactor,y=null!==(c=(a=t.retina).moveDrift)&&void 0!==c?c:a.moveDrift=(0,s.Gu)(t.options.move.drift)*p,m=(0,s.KI)(h.size.value)*p,g=v*(u.size?t.getRadius()/m:1)*f*(i.factor||1)/r,w=null!==(l=t.retina.maxSpeed)&&void 0!==l?l:d.retina.maxSpeed;u.spin.enable?(0,o.O2)(t,g):(0,o.pB)(t,u,g,w,y,i),(0,o.Bk)(t)}}n()}catch(r){n(r)}}))},86528:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{Bk:function(){return a},O2:function(){return c},mo:function(){return h},pB:function(){return r}});var s=e(72098);function a(t){const i=t.initialPosition,{dx:e,dy:n}=(0,s.oW)(i,t.position),o=Math.abs(e),a=Math.abs(n),{maxDistance:r}=t.retina,c=r.horizontal,l=r.vertical;if(c||l)if((c&&o>=c||l&&a>=l)&&!t.misplaced)t.misplaced=!!c&&o>c||!!l&&a>l,c&&(t.velocity.x=t.velocity.y/2-t.velocity.x),l&&(t.velocity.y=t.velocity.x/2-t.velocity.y);else if((!c||o<c)&&(!l||a<l)&&t.misplaced)t.misplaced=!1;else if(t.misplaced){const e=t.position,n=t.velocity;c&&(e.x<i.x&&n.x<0||e.x>i.x&&n.x>0)&&(n.x*=-(0,s.sZ)()),l&&(e.y<i.y&&n.y<0||e.y>i.y&&n.y>0)&&(n.y*=-(0,s.sZ)())}}function r(t,i,e,n,s,o){l(t,o);const a=t.gravity,r=null!=a&&a.enable&&a.inverse?-1:1;s&&e&&(t.velocity.x+=s*o.factor/(60*e)),null!=a&&a.enable&&e&&(t.velocity.y+=r*(a.acceleration*o.factor)/(60*e));const c=t.moveDecay;t.velocity.multTo(c);const h=t.velocity.mult(e);null!=a&&a.enable&&n>0&&(!a.inverse&&h.y>=0&&h.y>=n||a.inverse&&h.y<=0&&h.y<=-n)&&(h.y=r*n,e&&(t.velocity.y=h.y/e));const u=t.options.zIndex,d=(1-t.zIndexFactor)**u.velocityRate;h.multTo(d);const{position:p}=t;p.addTo(h),i.vibrate&&(p.x+=Math.sin(p.x*Math.cos(p.y)),p.y+=Math.cos(p.y*Math.sin(p.x)))}function c(t,i){const e=t.container;if(!t.spin)return;const n={x:"clockwise"===t.spin.direction?Math.cos:Math.sin,y:"clockwise"===t.spin.direction?Math.sin:Math.cos};t.position.x=t.spin.center.x+t.spin.radius*n.x(t.spin.angle),t.position.y=t.spin.center.y+t.spin.radius*n.y(t.spin.angle),t.spin.radius+=t.spin.acceleration;const s=Math.max(e.canvas.size.width,e.canvas.size.height);t.spin.radius>s/2?(t.spin.radius=s/2,t.spin.acceleration*=-1):t.spin.radius<0&&(t.spin.radius=0,t.spin.acceleration*=-1),t.spin.angle+=i/100*(1-t.spin.radius/s)}function l(t,i){var e;const n=t.options.move.path;if(!n.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),n.clamp&&(t.velocity.x=(0,s.uZ)(t.velocity.x,-1,1),t.velocity.y=(0,s.uZ)(t.velocity.y,-1,1)),t.lastPathTime-=t.pathDelay}function h(t){return t.slow.inRange?t.slow.factor:1}n()}catch(o){n(o)}}))},79047:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{p:function(){return r}});e(40251);var s=e(56256),o=t([s]);async function r(t,i=!0){await t.addMover("base",(()=>new s.G),i)}s=(o.then?(await o)():o)[0],n()}catch(a){n(a)}}))},30390:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{U:function(){return l}});e(40251);var s=e(20049),o=e(4256),a=e(80057),r=t([s,o]);async function l(t,i=!0){await(0,s.B)(t,!1),await(0,o.Xz)(t,!1),await t.addPreset("links",a.Y,i)}[s,o]=r.then?(await r)():r,n()}catch(c){n(c)}}))},80057:function(t,i,e){e.d(i,{Y:function(){return n}});const n={background:{color:"#000000"},particles:{number:{value:100},links:{distance:150,enable:!0},move:{enable:!0},size:{value:1},shape:{type:"circle"}}}},88768:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{$:function(){return t}});var s=e(90979);class t{draw(t,i,e){i.circleRange||(i.circleRange={min:0,max:2*Math.PI});const n=i.circleRange;t.arc(0,0,e,n.min,n.max,!1)}getSidesCount(){return 12}particleInit(t,i){var e;const n=i.shapeData,o=null!==(e=null==n?void 0:n.angle)&&void 0!==e?e:{max:360,min:0};i.circleRange=(0,s.Kn)(o)?{min:o.min*Math.PI/180,max:o.max*Math.PI/180}:{min:0,max:o*Math.PI/180}}}n()}catch(o){n(o)}}))},97969:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{J:function(){return r}});e(40251);var s=e(88768),o=t([s]);async function r(t,i=!0){await t.addShape("circle",new s.$,i)}s=(o.then?(await o)():o)[0],n()}catch(a){n(a)}}))},85016:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{G:function(){return r}});var s=e(44955),o=e(48917),a=t([o]);o=(a.then?(await a)():a)[0];class r{constructor(t){this.container=t}init(t){const i=(0,s.lN)(t.options.color,t.id,t.options.reduceDuplicates);i&&(t.color=(0,s.bS)(i,t.options.color.animation,this.container.retina.reduceFactor))}isEnabled(t){const{h:i,s:e,l:n}=t.options.color.animation,{color:s}=t;return!t.destroyed&&!t.spawning&&(void 0!==(null==s?void 0:s.h.value)&&i.enable||void 0!==(null==s?void 0:s.s.value)&&e.enable||void 0!==(null==s?void 0:s.l.value)&&n.enable)}update(t,i){(0,o.P)(t,i)}}n()}catch(r){n(r)}}))},48917:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{P:function(){return r}});var s=e(72098);function a(t,i,e,n,o){var a,r,c,l,h,u,d,p,f;if(!i||!e.enable||(null!==(a=i.maxLoops)&&void 0!==a?a:0)>0&&(null!==(r=i.loops)&&void 0!==r?r:0)>(null!==(c=i.maxLoops)&&void 0!==c?c:0))return;if(i.time||(i.time=0),(null!==(l=i.delayTime)&&void 0!==l?l:0)>0&&i.time<(null!==(h=i.delayTime)&&void 0!==h?h:0)&&(i.time+=t.value),(null!==(u=i.delayTime)&&void 0!==u?u:0)>0&&i.time<(null!==(d=i.delayTime)&&void 0!==d?d:0))return;const v=(0,s.vd)(e.offset),y=(null!==(p=i.velocity)&&void 0!==p?p:0)*t.factor+3.6*v,m=null!==(f=i.decay)&&void 0!==f?f:1;o&&"increasing"!==i.status?(i.value-=y,i.value<0&&(i.loops||(i.loops=0),i.loops++,i.status="increasing",i.value+=i.value)):(i.value+=y,i.value>n&&(i.loops||(i.loops=0),i.loops++,o&&(i.status="decreasing",i.value-=i.value%n))),i.velocity&&1!==m&&(i.velocity*=m),i.value>n&&(i.value%=n)}function r(t,i){const{h:e,s:n,l:s}=t.options.color.animation,{color:o}=t;if(!o)return;const{h:r,s:c,l:l}=o;r&&a(i,r,e,360,!1),c&&a(i,c,n,100,!0),l&&a(i,l,s,100,!0)}n()}catch(o){n(o)}}))},73826:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{z:function(){return r}});e(40251);var s=e(85016),o=t([s]);async function r(t,i=!0){await t.addParticleUpdater("color",(t=>new s.G(t)),i)}s=(o.then?(await o)():o)[0],n()}catch(a){n(a)}}))},62845:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{y:function(){return c}});var s=e(90979),o=e(72098),a=e(45794),r=t([a]);a=(r.then?(await r)():r)[0];class c{constructor(t){this.container=t}init(t){const i=t.options.opacity;t.opacity=(0,s.V0)(i,1);const e=i.animation;e.enable&&(t.opacity.velocity=(0,o.Gu)(e.speed)/100*this.container.retina.reduceFactor,e.sync||(t.opacity.velocity*=(0,o.sZ)()))}isEnabled(t){var i,e,n,s;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!==(n=t.opacity.loops)&&void 0!==n?n:0)<(null!==(s=t.opacity.maxLoops)&&void 0!==s?s:0))}reset(t){t.opacity&&(t.opacity.time=0,t.opacity.loops=0)}update(t,i){this.isEnabled(t)&&(0,a.L)(t,i)}}n()}catch(c){n(c)}}))},45794:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{L:function(){return r}});var s=e(72098);function a(t,i,e,n){switch(t.options.opacity.animation.destroy){case"max":i>=n&&t.destroy();break;case"min":i<=e&&t.destroy()}}function r(t,i){var e,n,o,r,c,l,h,u;const d=t.opacity;if(t.destroyed||null==d||!d.enable||(null!==(e=d.maxLoops)&&void 0!==e?e:0)>0&&(null!==(n=d.loops)&&void 0!==n?n:0)>(null!==(o=d.maxLoops)&&void 0!==o?o:0))return;const p=d.min,f=d.max,v=null!==(r=d.decay)&&void 0!==r?r:1;if(d.time||(d.time=0),(null!==(c=d.delayTime)&&void 0!==c?c:0)>0&&d.time<(null!==(l=d.delayTime)&&void 0!==l?l:0)&&(d.time+=i.value),!((null!==(h=d.delayTime)&&void 0!==h?h:0)>0&&d.time<(null!==(u=d.delayTime)&&void 0!==u?u:0))){switch(d.status){case"increasing":var y;if(d.value>=f)d.status="decreasing",d.loops||(d.loops=0),d.loops++;else d.value+=(null!==(y=d.velocity)&&void 0!==y?y:0)*i.factor;break;case"decreasing":var m;if(d.value<=p)d.status="increasing",d.loops||(d.loops=0),d.loops++;else d.value-=(null!==(m=d.velocity)&&void 0!==m?m:0)*i.factor}d.velocity&&1!==d.decay&&(d.velocity*=v),a(t,d.value,p,f),t.destroyed||(d.value=(0,s.uZ)(d.value,p,f))}}n()}catch(o){n(o)}}))},45431:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{h:function(){return r}});e(40251);var s=e(62845),o=t([s]);async function r(t,i=!0){await t.addParticleUpdater("opacity",(t=>new s.y(t)),i)}s=(o.then?(await o)():o)[0],n()}catch(a){n(a)}}))},50433:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{$:function(){return r}});e(19083),e(71695),e(61006),e(47021);var s=e(90979),o=e(44434),a=t([o]);o=(a.then?(await a)():a)[0];class r{constructor(t){this.container=t,this.modes=["bounce","bounce-vertical","bounce-horizontal","bounceVertical","bounceHorizontal","split"]}update(t,i,e,n){if(!this.modes.includes(n))return;const a=this.container;let r=!1;for(const[,s]of a.plugins)if(void 0!==s.particleBounce&&(r=s.particleBounce(t,e,i)),r)break;if(r)return;const c=t.getPosition(),l=t.offset,h=t.getRadius(),u=(0,s.M_)(c,h),d=a.canvas.size;(0,o.v)({particle:t,outMode:n,direction:i,bounds:u,canvasSize:d,offset:l,size:h}),(0,o.C)({particle:t,outMode:n,direction:i,bounds:u,canvasSize:d,offset:l,size:h})}}n()}catch(r){n(r)}}))},85692:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{X:function(){return t}});e(19083),e(61006);var s=e(90979),o=e(217),a=e(72098);class t{constructor(t){this.container=t,this.modes=["destroy"]}update(t,i,e,n){if(!this.modes.includes(n))return;const r=this.container;switch(t.outType){case"normal":case"outside":if((0,s.Ac)(t.position,r.canvas.size,o.O.origin,t.getRadius(),i))return;break;case"inside":{const{dx:i,dy:e}=(0,a.oW)(t.position,t.moveCenter),{x:n,y:s}=t.velocity;if(n<0&&i>t.moveCenter.radius||s<0&&e>t.moveCenter.radius||n>=0&&i<-t.moveCenter.radius||s>=0&&e<-t.moveCenter.radius)return;break}}r.particles.remove(t,void 0,!0)}}n()}catch(r){n(r)}}))},23946:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{F:function(){return t}});e(19083),e(61006);var s=e(90979),o=e(217);class t{constructor(t){this.container=t,this.modes=["none"]}update(t,i,e,n){if(!this.modes.includes(n))return;if(t.options.move.distance.horizontal&&("left"===i||"right"===i)||t.options.move.distance.vertical&&("top"===i||"bottom"===i))return;const a=t.options.move.gravity,r=this.container,c=r.canvas.size,l=t.getRadius();if(a.enable){const e=t.position;(!a.inverse&&e.y>c.height+l&&"bottom"===i||a.inverse&&e.y<-l&&"top"===i)&&r.particles.remove(t)}else{if(t.velocity.y>0&&t.position.y<=c.height+l||t.velocity.y<0&&t.position.y>=-l||t.velocity.x>0&&t.position.x<=c.width+l||t.velocity.x<0&&t.position.x>=-l)return;(0,s.Ac)(t.position,r.canvas.size,o.O.origin,l,i)||r.particles.remove(t)}}}n()}catch(a){n(a)}}))},44839:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{q:function(){return l}});e(71695),e(47021);var s=e(50433),o=e(85692),a=e(23946),r=e(96268),c=t([s,o,r,a]);[s,o,r,a]=c.then?(await c)():c;class l{constructor(t){this.container=t,this._updateOutMode=(t,i,e,n)=>{for(const s of this.updaters)s.update(t,n,i,e)},this.updaters=[new s.$(t),new o.X(t),new r.T(t),new a.F(t)]}init(){}isEnabled(t){return!t.destroyed&&!t.spawning}update(t,i){var e,n,s,o;const a=t.options.move.outModes;this._updateOutMode(t,i,null!==(e=a.bottom)&&void 0!==e?e:a.default,"bottom"),this._updateOutMode(t,i,null!==(n=a.left)&&void 0!==n?n:a.default,"left"),this._updateOutMode(t,i,null!==(s=a.right)&&void 0!==s?s:a.default,"right"),this._updateOutMode(t,i,null!==(o=a.top)&&void 0!==o?o:a.default,"top")}}n()}catch(l){n(l)}}))},96268:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{T:function(){return t}});e(19083),e(61006);var s=e(217),o=e(72098),a=e(90979);class t{constructor(t){this.container=t,this.modes=["out"]}update(t,i,e,n){if(!this.modes.includes(n))return;const r=this.container;switch(t.outType){case"inside":{const{x:i,y:e}=t.velocity,n=s.O.origin;n.length=t.moveCenter.radius,n.angle=t.velocity.angle+Math.PI,n.addTo(s.O.create(t.moveCenter));const{dx:a,dy:c}=(0,o.oW)(t.position,n);if(i<=0&&a>=0||e<=0&&c>=0||i>=0&&a<=0||e>=0&&c<=0)return;t.position.x=Math.floor((0,o.vd)({min:0,max:r.canvas.size.width})),t.position.y=Math.floor((0,o.vd)({min:0,max:r.canvas.size.height}));const{dx:l,dy:h}=(0,o.oW)(t.position,t.moveCenter);t.direction=Math.atan2(-h,-l),t.velocity.angle=t.direction;break}default:if((0,a.Ac)(t.position,r.canvas.size,s.O.origin,t.getRadius(),i))return;switch(t.outType){case"outside":{t.position.x=Math.floor((0,o.vd)({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.x,t.position.y=Math.floor((0,o.vd)({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.y;const{dx:i,dy:e}=(0,o.oW)(t.position,t.moveCenter);t.moveCenter.radius&&(t.direction=Math.atan2(e,i),t.velocity.angle=t.direction);break}case"normal":{const e=t.options.move.warp,n=r.canvas.size,s={bottom:n.height+t.getRadius()+t.offset.y,left:-t.getRadius()-t.offset.x,right:n.width+t.getRadius()+t.offset.x,top:-t.getRadius()-t.offset.y},c=t.getRadius(),l=(0,a.M_)(t.position,c);"right"===i&&l.left>n.width+t.offset.x?(t.position.x=s.left,t.initialPosition.x=t.position.x,e||(t.position.y=(0,o.sZ)()*n.height,t.initialPosition.y=t.position.y)):"left"===i&&l.right<-t.offset.x&&(t.position.x=s.right,t.initialPosition.x=t.position.x,e||(t.position.y=(0,o.sZ)()*n.height,t.initialPosition.y=t.position.y)),"bottom"===i&&l.top>n.height+t.offset.y?(e||(t.position.x=(0,o.sZ)()*n.width,t.initialPosition.x=t.position.x),t.position.y=s.top,t.initialPosition.y=t.position.y):"top"===i&&l.bottom<-t.offset.y&&(e||(t.position.x=(0,o.sZ)()*n.width,t.initialPosition.x=t.position.x),t.position.y=s.bottom,t.initialPosition.y=t.position.y);break}}}}}n()}catch(r){n(r)}}))},44434:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{C:function(){return r},v:function(){return a}});var s=e(72098);function a(t){if("bounce"!==t.outMode&&"bounce-horizontal"!==t.outMode&&"bounceHorizontal"!==t.outMode&&"split"!==t.outMode||"left"!==t.direction&&"right"!==t.direction)return;t.bounds.right<0&&"left"===t.direction?t.particle.position.x=t.size+t.offset.x:t.bounds.left>t.canvasSize.width&&"right"===t.direction&&(t.particle.position.x=t.canvasSize.width-t.size-t.offset.x);const i=t.particle.velocity.x;let e=!1;if("right"===t.direction&&t.bounds.right>=t.canvasSize.width&&i>0||"left"===t.direction&&t.bounds.left<=0&&i<0){const i=(0,s.NA)(t.particle.options.bounce.horizontal);t.particle.velocity.x*=-i,e=!0}if(!e)return;const n=t.offset.x+t.size;t.bounds.right>=t.canvasSize.width&&"right"===t.direction?t.particle.position.x=t.canvasSize.width-n:t.bounds.left<=0&&"left"===t.direction&&(t.particle.position.x=n),"split"===t.outMode&&t.particle.destroy()}function r(t){if("bounce"!==t.outMode&&"bounce-vertical"!==t.outMode&&"bounceVertical"!==t.outMode&&"split"!==t.outMode||"bottom"!==t.direction&&"top"!==t.direction)return;t.bounds.bottom<0&&"top"===t.direction?t.particle.position.y=t.size+t.offset.y:t.bounds.top>t.canvasSize.height&&"bottom"===t.direction&&(t.particle.position.y=t.canvasSize.height-t.size-t.offset.y);const i=t.particle.velocity.y;let e=!1;if("bottom"===t.direction&&t.bounds.bottom>=t.canvasSize.height&&i>0||"top"===t.direction&&t.bounds.top<=0&&i<0){const i=(0,s.NA)(t.particle.options.bounce.vertical);t.particle.velocity.y*=-i,e=!0}if(!e)return;const n=t.offset.y+t.size;t.bounds.bottom>=t.canvasSize.height&&"bottom"===t.direction?t.particle.position.y=t.canvasSize.height-n:t.bounds.top<=0&&"top"===t.direction&&(t.particle.position.y=n),"split"===t.outMode&&t.particle.destroy()}n()}catch(o){n(o)}}))},25898:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{l:function(){return r}});e(40251);var s=e(44839),o=t([s]);async function r(t,i=!0){await t.addParticleUpdater("outModes",(t=>new s.q(t)),i)}s=(o.then?(await o)():o)[0],n()}catch(a){n(a)}}))},72702:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{Y:function(){return r}});var s=e(72098),o=e(85579),a=t([o]);o=(a.then?(await a)():a)[0];class r{init(t){const i=t.container,e=t.options.size.animation;var n;e.enable&&(t.size.velocity=(null!==(n=t.retina.sizeAnimationSpeed)&&void 0!==n?n:i.retina.sizeAnimationSpeed)/100*i.retina.reduceFactor,e.sync||(t.size.velocity*=(0,s.sZ)()))}isEnabled(t){var i,e,n,s;return!t.destroyed&&!t.spawning&&t.size.enable&&((null!==(i=t.size.maxLoops)&&void 0!==i?i:0)<=0||(null!==(e=t.size.maxLoops)&&void 0!==e?e:0)>0&&(null!==(n=t.size.loops)&&void 0!==n?n:0)<(null!==(s=t.size.maxLoops)&&void 0!==s?s:0))}reset(t){t.size.loops=0}update(t,i){this.isEnabled(t)&&(0,o.x)(t,i)}}n()}catch(r){n(r)}}))},85579:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{x:function(){return r}});var s=e(72098);function a(t,i,e,n){switch(t.options.size.animation.destroy){case"max":i>=n&&t.destroy();break;case"min":i<=e&&t.destroy()}}function r(t,i){var e,n,o,r,c,l,h,u,d;const p=t.size;if(t.destroyed||!p||!p.enable||(null!==(e=p.maxLoops)&&void 0!==e?e:0)>0&&(null!==(n=p.loops)&&void 0!==n?n:0)>(null!==(o=p.maxLoops)&&void 0!==o?o:0))return;const f=(null!==(r=p.velocity)&&void 0!==r?r:0)*i.factor,v=p.min,y=p.max,m=null!==(c=p.decay)&&void 0!==c?c:1;if(p.time||(p.time=0),(null!==(l=p.delayTime)&&void 0!==l?l:0)>0&&p.time<(null!==(h=p.delayTime)&&void 0!==h?h:0)&&(p.time+=i.value),!((null!==(u=p.delayTime)&&void 0!==u?u:0)>0&&p.time<(null!==(d=p.delayTime)&&void 0!==d?d:0))){switch(p.status){case"increasing":p.value>=y?(p.status="decreasing",p.loops||(p.loops=0),p.loops++):p.value+=f;break;case"decreasing":p.value<=v?(p.status="increasing",p.loops||(p.loops=0),p.loops++):p.value-=f}p.velocity&&1!==m&&(p.velocity*=m),a(t,p.value,v,y),t.destroyed||(p.value=(0,s.uZ)(p.value,v,y))}}n()}catch(o){n(o)}}))},89895:function(t,i,e){e.a(t,(async function(t,n){try{e.d(i,{q:function(){return r}});e(40251);var s=e(72702),o=t([s]);async function r(t,i=!0){await t.addParticleUpdater("size",(()=>new s.Y),i)}s=(o.then?(await o)():o)[0],n()}catch(a){n(a)}}))},17743:function(t,i,e){var n=e(13053);t.exports=function(t,i,e){for(var s=0,o=arguments.length>2?e:n(i),a=new t(o);o>s;)a[s]=i[s++];return a}},37595:function(t,i,e){var n=e(31269),s=e(72878),o=e(25091),a=e(12360),r=e(70273),c=e(13053),l=e(72309),h=e(17743),u=Array,d=s([].push);t.exports=function(t,i,e,s){for(var p,f,v,y=a(t),m=o(y),g=n(i,e),w=l(null),b=c(m),_=0;b>_;_++)v=m[_],(f=r(g(v,_,y)))in w?d(w[f],v):w[f]=[v];if(s&&(p=s(y))!==u)for(f in w)w[f]=h(p,w[f]);return w}},4597:function(t,i,e){var n=e(63253).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},66869:function(t,i,e){var n=e(63253);t.exports=/MSIE|Trident/.test(n)},6548:function(t,i,e){var n=e(63253).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},96526:function(t,i,e){var n=e(1569),s=e(29660),o=e(72878),a=e(72616),r=e(36888).trim,c=e(91430),l=o("".charAt),h=n.parseFloat,u=n.Symbol,d=u&&u.iterator,p=1/h(c+"-0")!=-1/0||d&&!s((function(){h(Object(d))}));t.exports=p?function(t){var i=r(a(t)),e=h(i);return 0===e&&"-"===l(i,0)?-0:e}:h},61893:function(t,i,e){var n=e(40810),s=e(72878),o=e(63983),a=e(12360),r=e(13053),c=e(48391),l=e(72616),h=e(29660),u=e(58208),d=e(4371),p=e(4597),f=e(66869),v=e(29565),y=e(6548),m=[],g=s(m.sort),w=s(m.push),b=h((function(){m.sort(void 0)})),_=h((function(){m.sort(null)})),x=d("sort"),z=!h((function(){if(v)return v<70;if(!(p&&p>3)){if(f)return!0;if(y)return y<603;var t,i,e,n,s="";for(t=65;t<76;t++){switch(i=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:e=3;break;case 68:case 71:e=4;break;default:e=2}for(n=0;n<47;n++)m.push({k:i+n,v:e})}for(m.sort((function(t,i){return i.v-t.v})),n=0;n<m.length;n++)i=m[n].k.charAt(0),s.charAt(s.length-1)!==i&&(s+=i);return"DGBEFHACIJK"!==s}}));n({target:"Array",proto:!0,forced:b||!_||!x||!z},{sort:function(t){void 0!==t&&o(t);var i=a(this);if(z)return void 0===t?g(i):g(i,t);var e,n,s=[],h=r(i);for(n=0;n<h;n++)n in i&&w(s,i[n]);for(u(s,function(t){return function(i,e){return void 0===e?-1:void 0===i?1:void 0!==t?+t(i,e)||0:l(i)>l(e)?1:-1}}(t)),e=r(s),n=0;n<e;)i[n]=s[n++];for(;n<h;)c(i,n++);return i}})},95078:function(t,i,e){var n=e(40810),s=e(96526);n({global:!0,forced:parseFloat!==s},{parseFloat:s})},22139:function(t,i,e){var n=e(40810),s=e(37595),o=e(35709);n({target:"Array",proto:!0},{group:function(t){return s(this,t,arguments.length>1?arguments[1]:void 0)}}),o("group")}}]);
//# sourceMappingURL=590.7823330d42f04ff1.js.map