/*! tsParticles v1.18.12 by Matteo Bruni */
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var i=e();for(var o in i)("object"==typeof exports?exports:t)[o]=i[o]}}(this,(function(){return(()=>{"use strict";var t={964:(t,e,i)=>{i.r(e),i.d(e,{AnimationStatus:()=>f,CanvasUtils:()=>I,Circle:()=>A,CircleWarp:()=>F,ClickMode:()=>l,CollisionMode:()=>h,ColorUtils:()=>P,Constants:()=>C,Container:()=>Xe,DestroyType:()=>y,DivMode:()=>c,DivType:()=>w,HoverMode:()=>d,InteractivityDetect:()=>x,MoveDirection:()=>n,OutMode:()=>u,Point:()=>W,ProcessBubbleType:()=>m,Rectangle:()=>E,RotateDirection:()=>a,ShapeType:()=>g,SizeMode:()=>v,StartValueType:()=>b,ThemeMode:()=>p,Utils:()=>S,pJSDom:()=>ti,particlesJS:()=>Ze,tsParticles:()=>Ke});class o{getSidesCount(){return 4}draw(t,e,i){t.rect(-i,-i,2*i,2*i)}}var s,n,a;!function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(s||(s={})),function(t){t.bottom="bottom",t.bottomLeft="bottom-left",t.bottomRight="bottom-right",t.left="left",t.none="none",t.right="right",t.top="top",t.topLeft="top-left",t.topRight="top-right"}(n||(n={})),function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(a||(a={}));class r{static clamp(t,e,i){return Math.min(Math.max(t,e),i)}static mix(t,e,i,o){return Math.floor((t*i+e*o)/(i+o))}static randomInRange(t,e){const i=Math.max(t,e),o=Math.min(t,e);return Math.random()*(i-o)+o}static getValue(t){const e=t.random,{enable:i,minimumValue:o}="boolean"==typeof e?{enable:e,minimumValue:0}:e;return i?r.randomInRange(o,t.value):t.value}static getDistances(t,e){const i=t.x-e.x,o=t.y-e.y;return{dx:i,dy:o,distance:Math.sqrt(i*i+o*o)}}static getDistance(t,e){return r.getDistances(t,e).distance}static getParticleBaseVelocity(t){let e;switch(t.direction){case n.top:e={x:0,y:-1};break;case n.topRight:e={x:.5,y:-.5};break;case n.right:e={x:1,y:-0};break;case n.bottomRight:e={x:.5,y:.5};break;case n.bottom:e={x:0,y:1};break;case n.bottomLeft:e={x:-.5,y:1};break;case n.left:e={x:-1,y:0};break;case n.topLeft:e={x:-.5,y:-.5};break;default:e={x:0,y:0}}return e}static rotateVelocity(t,e){return{horizontal:t.horizontal*Math.cos(e)-t.vertical*Math.sin(e),vertical:t.horizontal*Math.sin(e)+t.vertical*Math.cos(e)}}static collisionVelocity(t,e,i,o){return{horizontal:t.horizontal*(i-o)/(i+o)+2*e.horizontal*o/(i+o),vertical:t.vertical}}}var l,c,d,h,u,v,p,f,y,m,g,b,w,x,k=function(t,e,i,o){return new(i||(i=Promise))((function(s,n){function a(t){try{l(o.next(t))}catch(t){n(t)}}function r(t){try{l(o.throw(t))}catch(t){n(t)}}function l(t){var e;t.done?s(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(a,r)}l((o=o.apply(t,e||[])).next())}))};function z(t,e,i,o,s,n){const a={bounced:!1};return e.min>=o.min&&e.min<=o.max&&e.max>=o.min&&e.max<=o.max&&(t.max>=i.min&&t.max<=(i.max+i.min)/2&&s>0||t.min<=i.max&&t.min>(i.max+i.min)/2&&s<0)&&(a.velocity=s*-n,a.bounced=!0),a}function M(t,e){if(e instanceof Array){for(const i of e)if(t.matches(i))return!0;return!1}return t.matches(e)}class S{static isSsr(){return"undefined"==typeof window||!window}static get animate(){return S.isSsr()?t=>setTimeout(t):t=>(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||window.setTimeout)(t)}static get cancelAnimation(){return S.isSsr()?t=>clearTimeout(t):t=>(window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||window.clearTimeout)(t)}static isInArray(t,e){return t===e||e instanceof Array&&e.indexOf(t)>-1}static loadFont(t){return k(this,void 0,void 0,(function*(){try{yield document.fonts.load(`${t.weight} 36px '${t.font}'`)}catch(t){}}))}static arrayRandomIndex(t){return Math.floor(Math.random()*t.length)}static itemFromArray(t,e,i=!0){return t[void 0!==e&&i?e%t.length:S.arrayRandomIndex(t)]}static isPointInside(t,e,i,o){return S.areBoundsInside(S.calculateBounds(t,null!=i?i:0),e,o)}static areBoundsInside(t,e,i){let o=!0;return i&&i!==s.bottom||(o=t.top<e.height),!o||i&&i!==s.left||(o=t.right>0),!o||i&&i!==s.right||(o=t.left<e.width),!o||i&&i!==s.top||(o=t.bottom>0),o}static calculateBounds(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}static loadImage(t){return new Promise(((e,i)=>{if(!t)return void i("Error tsParticles - No image.src");const o={source:t,type:t.substr(t.length-3)},s=new Image;s.addEventListener("load",(()=>{o.element=s,e(o)})),s.addEventListener("error",(()=>{i("Error tsParticles - loading image: "+t)})),s.src=t}))}static downloadSvgImage(t){return k(this,void 0,void 0,(function*(){if(!t)throw new Error("Error tsParticles - No image.src");const e={source:t,type:t.substr(t.length-3)};if("svg"!==e.type)return S.loadImage(t);const i=yield fetch(e.source);if(!i.ok)throw new Error("Error tsParticles - Image not found");return e.svgData=yield i.text(),e}))}static deepExtend(t,...e){for(const i of e){if(null==i)continue;if("object"!=typeof i){t=i;continue}const e=Array.isArray(i);!e||"object"==typeof t&&t&&Array.isArray(t)?e||"object"==typeof t&&t&&!Array.isArray(t)||(t={}):t=[];for(const e in i){if("__proto__"===e)continue;const o=i[e],s="object"==typeof o,n=t;n[e]=s&&Array.isArray(o)?o.map((t=>S.deepExtend(n[e],t))):S.deepExtend(n[e],o)}}return t}static isDivModeEnabled(t,e){return e instanceof Array?!!e.find((e=>e.enable&&S.isInArray(t,e.mode))):S.isInArray(t,e.mode)}static divModeExecute(t,e,i){if(e instanceof Array)for(const o of e){const e=o.mode;o.enable&&S.isInArray(t,e)&&S.singleDivModeExecute(o,i)}else{const o=e.mode;e.enable&&S.isInArray(t,o)&&S.singleDivModeExecute(e,i)}}static singleDivModeExecute(t,e){const i=t.selectors;if(i instanceof Array)for(const o of i)e(o,t);else e(i,t)}static divMode(t,e){if(e&&t)return t instanceof Array?t.find((t=>M(e,t.selectors))):M(e,t.selectors)?t:void 0}static circleBounceDataFromParticle(t){return{position:t.getPosition(),radius:t.getRadius(),velocity:t.velocity,factor:{horizontal:r.getValue(t.particlesOptions.bounce.horizontal),vertical:r.getValue(t.particlesOptions.bounce.vertical)}}}static circleBounce(t,e){const i=t.velocity.horizontal,o=t.velocity.vertical,s=t.position,n=e.position;if(i*(n.x-s.x)+o*(n.y-s.y)>=0){const i=-Math.atan2(n.y-s.y,n.x-s.x),o=t.radius,a=e.radius,l=r.rotateVelocity(t.velocity,i),c=r.rotateVelocity(e.velocity,i),d=r.collisionVelocity(l,c,o,a),h=r.collisionVelocity(c,l,o,a),u=r.rotateVelocity(d,-i),v=r.rotateVelocity(h,-i);t.velocity.horizontal=u.horizontal*t.factor.horizontal,t.velocity.vertical=u.vertical*t.factor.vertical,e.velocity.horizontal=v.horizontal*e.factor.horizontal,e.velocity.vertical=v.vertical*e.factor.vertical}}static rectBounce(t,e){const i=t.getPosition(),o=t.getRadius(),s=S.calculateBounds(i,o),n=z({min:s.left,max:s.right},{min:s.top,max:s.bottom},{min:e.left,max:e.right},{min:e.top,max:e.bottom},t.velocity.horizontal,r.getValue(t.particlesOptions.bounce.horizontal));n.bounced&&(void 0!==n.velocity&&(t.velocity.horizontal=n.velocity),void 0!==n.position&&(t.position.x=n.position));const a=z({min:s.top,max:s.bottom},{min:s.left,max:s.right},{min:e.top,max:e.bottom},{min:e.left,max:e.right},t.velocity.vertical,r.getValue(t.particlesOptions.bounce.vertical));a.bounced&&(void 0!==a.velocity&&(t.velocity.vertical=a.velocity),void 0!==a.position&&(t.position.y=a.position))}}class C{}function R(t,e,i){let o=i;return o<0&&(o+=1),o>1&&(o-=1),o<1/6?t+6*(e-t)*o:o<.5?e:o<2/3?t+(e-t)*(2/3-o)*6:t}function D(t){if(t.startsWith("rgb")){const e=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.]+)\s*)?\)/i.exec(t);return e?{a:e.length>4?parseFloat(e[5]):1,b:parseInt(e[3],10),g:parseInt(e[2],10),r:parseInt(e[1],10)}:void 0}if(t.startsWith("hsl")){const e=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.]+)\s*)?\)/i.exec(t);return e?P.hslaToRgba({a:e.length>4?parseFloat(e[5]):1,h:parseInt(e[1],10),l:parseInt(e[3],10),s:parseInt(e[2],10)}):void 0}if(t.startsWith("hsv")){const e=/hsva?\(\s*(\d+)°\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.]+)\s*)?\)/i.exec(t);return e?P.hsvaToRgba({a:e.length>4?parseFloat(e[5]):1,h:parseInt(e[1],10),s:parseInt(e[2],10),v:parseInt(e[3],10)}):void 0}{const e=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,i=t.replace(e,((t,e,i,o,s)=>e+e+i+i+o+o+(void 0!==s?s+s:""))),o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i.exec(i);return o?{a:void 0!==o[4]?parseInt(o[4],16)/255:1,b:parseInt(o[3],16),g:parseInt(o[2],16),r:parseInt(o[1],16)}:void 0}}C.canvasClass="tsparticles-canvas-el",C.randomColorValue="random",C.midColorValue="mid",C.touchEndEvent="touchend",C.mouseDownEvent="mousedown",C.mouseUpEvent="mouseup",C.mouseMoveEvent="mousemove",C.touchStartEvent="touchstart",C.touchMoveEvent="touchmove",C.mouseLeaveEvent="mouseleave",C.mouseOutEvent="mouseout",C.touchCancelEvent="touchcancel",C.resizeEvent="resize",C.visibilityChangeEvent="visibilitychange",C.noPolygonDataLoaded="No polygon data loaded.",C.noPolygonFound="No polygon found, you need to specify SVG url in config.";class P{static colorToRgb(t,e,i=!0){var o,s,n;if(void 0===t)return;const a="string"==typeof t?{value:t}:t;let r;if("string"==typeof a.value)r=a.value===C.randomColorValue?P.getRandomRgbColor():P.stringToRgb(a.value);else if(a.value instanceof Array){const t=S.itemFromArray(a.value,e,i);r=P.colorToRgb({value:t})}else{const t=a.value,e=null!==(o=t.rgb)&&void 0!==o?o:a.value;if(void 0!==e.r)r=e;else{const e=null!==(s=t.hsl)&&void 0!==s?s:a.value;if(void 0!==e.h&&void 0!==e.l)r=P.hslToRgb(e);else{const e=null!==(n=t.hsv)&&void 0!==n?n:a.value;void 0!==e.h&&void 0!==e.v&&(r=P.hsvToRgb(e))}}}return r}static colorToHsl(t,e,i=!0){const o=P.colorToRgb(t,e,i);return void 0!==o?P.rgbToHsl(o):void 0}static rgbToHsl(t){const e=t.r/255,i=t.g/255,o=t.b/255,s=Math.max(e,i,o),n=Math.min(e,i,o),a={h:0,l:(s+n)/2,s:0};return s!=n&&(a.s=a.l<.5?(s-n)/(s+n):(s-n)/(2-s-n),a.h=e===s?(i-o)/(s-n):a.h=i===s?2+(o-e)/(s-n):4+(e-i)/(s-n)),a.l*=100,a.s*=100,a.h*=60,a.h<0&&(a.h+=360),a}static stringToAlpha(t){var e;return null===(e=D(t))||void 0===e?void 0:e.a}static stringToRgb(t){return D(t)}static hslToRgb(t){const e={b:0,g:0,r:0},i={h:t.h/360,l:t.l/100,s:t.s/100};if(0===i.s)e.b=i.l,e.g=i.l,e.r=i.l;else{const t=i.l<.5?i.l*(1+i.s):i.l+i.s-i.l*i.s,o=2*i.l-t;e.r=R(o,t,i.h+1/3),e.g=R(o,t,i.h),e.b=R(o,t,i.h-1/3)}return e.r=Math.floor(255*e.r),e.g=Math.floor(255*e.g),e.b=Math.floor(255*e.b),e}static hslaToRgba(t){const e=P.hslToRgb(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}static hslToHsv(t){const e=t.l/100,i=e+t.s/100*Math.min(e,1-e),o=i?2*(1-e/i):0;return{h:t.h,s:100*o,v:100*i}}static hslaToHsva(t){const e=P.hslToHsv(t);return{a:t.a,h:e.h,s:e.s,v:e.v}}static hsvToHsl(t){const e=t.v/100,i=e*(1-t.s/100/2),o=0===i||1===i?0:(e-i)/Math.min(i,1-i);return{h:t.h,l:100*i,s:100*o}}static hsvaToHsla(t){const e=P.hsvToHsl(t);return{a:t.a,h:e.h,l:e.l,s:e.s}}static hsvToRgb(t){const e={b:0,g:0,r:0},i=t.h/60,o=t.s/100,s=t.v/100,n=s*o,a=n*(1-Math.abs(i%2-1));let r;if(i>=0&&i<=1?r={r:n,g:a,b:0}:i>1&&i<=2?r={r:a,g:n,b:0}:i>2&&i<=3?r={r:0,g:n,b:a}:i>3&&i<=4?r={r:0,g:a,b:n}:i>4&&i<=5?r={r:a,g:0,b:n}:i>5&&i<=6&&(r={r:n,g:0,b:a}),r){const t=s-n;e.r=Math.floor(255*(r.r+t)),e.g=Math.floor(255*(r.g+t)),e.b=Math.floor(255*(r.b+t))}return e}static hsvaToRgba(t){const e=P.hsvToRgb(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}static rgbToHsv(t){const e={r:t.r/255,g:t.g/255,b:t.b/255},i=Math.max(e.r,e.g,e.b),o=i-Math.min(e.r,e.g,e.b);let s=0;i===e.r?s=(e.g-e.b)/o*60:i===e.g?s=60*(2+(e.b-e.r)/o):i===e.b&&(s=60*(4+(e.r-e.g)/o));return{h:s,s:100*(i?o/i:0),v:100*i}}static rgbaToHsva(t){const e=P.rgbToHsv(t);return{a:t.a,h:e.h,s:e.s,v:e.v}}static getRandomRgbColor(t){const e=null!=t?t:0;return{b:Math.floor(r.randomInRange(e,256)),g:Math.floor(r.randomInRange(e,256)),r:Math.floor(r.randomInRange(e,256))}}static getStyleFromRgb(t,e){return`rgba(${t.r}, ${t.g}, ${t.b}, ${null!=e?e:1})`}static getStyleFromHsl(t,e){return`hsla(${t.h}, ${t.s}%, ${t.l}%, ${null!=e?e:1})`}static getStyleFromHsv(t,e){return P.getStyleFromHsl(P.hsvToHsl(t),e)}static mix(t,e,i,o){let s=t,n=e;return void 0===s.r&&(s=P.hslToRgb(t)),void 0===n.r&&(n=P.hslToRgb(e)),{b:r.mix(s.b,n.b,i,o),g:r.mix(s.g,n.g,i,o),r:r.mix(s.r,n.r,i,o)}}static replaceColorSvg(t,e,i){if(!t.svgData)return"";return t.svgData.replace(/#([0-9A-F]{3,6})/gi,(()=>P.getStyleFromHsl(e,i)))}static getLinkColor(t,e,i){var o,s;if(i===C.randomColorValue)return P.getRandomRgbColor();if("mid"!==i)return i;{const i=null!==(o=t.getFillColor())&&void 0!==o?o:t.getStrokeColor(),n=null!==(s=null==e?void 0:e.getFillColor())&&void 0!==s?s:null==e?void 0:e.getStrokeColor();if(i&&n&&e)return P.mix(i,n,t.getRadius(),e.getRadius());{const t=null!=i?i:n;if(t)return P.hslToRgb(t)}}}static getLinkRandomColor(t,e,i){const o="string"==typeof t?t:t.value;return o===C.randomColorValue?i?P.colorToRgb({value:o}):e?C.randomColorValue:C.midColorValue:P.colorToRgb({value:o})}}function T(t,e,i){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(i.x,i.y),t.closePath()}class I{static paintBase(t,e,i){t.save(),t.fillStyle=null!=i?i:"rgba(0,0,0,0)",t.fillRect(0,0,e.width,e.height),t.restore()}static clear(t,e){t.clearRect(0,0,e.width,e.height)}static drawLinkLine(t,e,i,o,s,n,a,l,c,d,h,u){let v=!1;if(r.getDistance(i,o)<=s)T(t,i,o),v=!0;else if(a){let e,a;const l={x:o.x-n.width,y:o.y},c=r.getDistances(i,l);if(c.distance<=s){const t=i.y-c.dy/c.dx*i.x;e={x:0,y:t},a={x:n.width,y:t}}else{const t={x:o.x,y:o.y-n.height},l=r.getDistances(i,t);if(l.distance<=s){const t=-(i.y-l.dy/l.dx*i.x)/(l.dy/l.dx);e={x:t,y:0},a={x:t,y:n.height}}else{const t={x:o.x-n.width,y:o.y-n.height},l=r.getDistances(i,t);if(l.distance<=s){const t=i.y-l.dy/l.dx*i.x;e={x:-t/(l.dy/l.dx),y:t},a={x:e.x+n.width,y:e.y+n.height}}}}e&&a&&(T(t,i,e),T(t,o,a),v=!0)}if(v){if(t.lineWidth=e,l&&(t.globalCompositeOperation=c),t.strokeStyle=P.getStyleFromRgb(d,h),u.enable){const e=P.colorToRgb(u.color);e&&(t.shadowBlur=u.blur,t.shadowColor=P.getStyleFromRgb(e))}t.stroke()}}static drawLinkTriangle(t,e,i,o,s,n,a,r){!function(t,e,i,o){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(i.x,i.y),t.lineTo(o.x,o.y),t.closePath()}(t,e,i,o),s&&(t.globalCompositeOperation=n),t.fillStyle=P.getStyleFromRgb(a,r),t.fill()}static drawConnectLine(t,e,i,o,s){t.save(),T(t,o,s),t.lineWidth=e,t.strokeStyle=i,t.stroke(),t.restore()}static gradient(t,e,i,o){const s=Math.floor(i.getRadius()/e.getRadius()),n=e.getFillColor(),a=i.getFillColor();if(!n||!a)return;const r=e.getPosition(),l=i.getPosition(),c=P.mix(n,a,e.getRadius(),i.getRadius()),d=t.createLinearGradient(r.x,r.y,l.x,l.y);return d.addColorStop(0,P.getStyleFromHsl(n,o)),d.addColorStop(s>1?1:s,P.getStyleFromRgb(c,o)),d.addColorStop(1,P.getStyleFromHsl(a,o)),d}static drawGrabLine(t,e,i,o,s,n){t.save(),T(t,i,o),t.strokeStyle=P.getStyleFromRgb(s,n),t.lineWidth=e,t.stroke(),t.restore()}static drawLight(t,e,i){const o=t.options.interactivity.modes.light.area;e.beginPath(),e.arc(i.x,i.y,o.radius,0,2*Math.PI);const s=e.createRadialGradient(i.x,i.y,0,i.x,i.y,o.radius),n=o.gradient,a={start:P.colorToRgb(n.start),stop:P.colorToRgb(n.stop)};a.start&&a.stop&&(s.addColorStop(0,P.getStyleFromRgb(a.start)),s.addColorStop(1,P.getStyleFromRgb(a.stop)),e.fillStyle=s,e.fill())}static drawParticleShadow(t,e,i,o){const s=i.getPosition(),n=t.options.interactivity.modes.light.shadow;e.save();const a=i.getRadius(),r=i.sides,l=2*Math.PI/r,c=-i.rotate.value+Math.PI/4,d=[];for(let t=0;t<r;t++)d.push({x:s.x+a*Math.sin(c+l*t)*1,y:s.y+a*Math.cos(c+l*t)*1});const h=[],u=n.length;for(const t of d){const e=Math.atan2(o.y-t.y,o.x-t.x),i=t.x+u*Math.sin(-e-Math.PI/2),s=t.y+u*Math.cos(-e-Math.PI/2);h.push({endX:i,endY:s,startX:t.x,startY:t.y})}const v=P.colorToRgb(n.color);if(!v)return;const p=P.getStyleFromRgb(v);for(let t=h.length-1;t>=0;t--){const i=t==h.length-1?0:t+1;e.beginPath(),e.moveTo(h[t].startX,h[t].startY),e.lineTo(h[i].startX,h[i].startY),e.lineTo(h[i].endX,h[i].endY),e.lineTo(h[t].endX,h[t].endY),e.fillStyle=p,e.fill()}e.restore()}static drawParticle(t,e,i,o,s,n,a,r,l,c,d){const h=i.getPosition();e.save(),e.translate(h.x,h.y),e.beginPath();const u=i.rotate.value+(i.particlesOptions.rotate.path?i.pathAngle:0);0!==u&&e.rotate(u),a&&(e.globalCompositeOperation=r);const v=i.shadowColor;d.enable&&v&&(e.shadowBlur=d.blur,e.shadowColor=P.getStyleFromRgb(v),e.shadowOffsetX=d.offset.x,e.shadowOffsetY=d.offset.y),s&&(e.fillStyle=s);const p=i.stroke;e.lineWidth=i.strokeWidth,n&&(e.strokeStyle=n),I.drawShape(t,e,i,l,c,o),p.width>0&&e.stroke(),i.close&&e.closePath(),i.fill&&e.fill(),e.restore(),e.save(),e.translate(h.x,h.y),0!==u&&e.rotate(u),a&&(e.globalCompositeOperation=r),I.drawShapeAfterEffect(t,e,i,l,c,o),e.restore()}static drawShape(t,e,i,o,s,n){if(!i.shape)return;const a=t.drawers.get(i.shape);a&&a.draw(e,i,o,s,n.value,t.retina.pixelRatio)}static drawShapeAfterEffect(t,e,i,o,s,n){if(!i.shape)return;const a=t.drawers.get(i.shape);(null==a?void 0:a.afterEffect)&&a.afterEffect(e,i,o,s,n.value,t.retina.pixelRatio)}static drawPlugin(t,e,i){void 0!==e.draw&&(t.save(),e.draw(t,i),t.restore())}}class O{constructor(t,e){this.position={x:t,y:e}}}class A extends O{constructor(t,e,i){super(t,e),this.radius=i}contains(t){return Math.pow(t.x-this.position.x,2)+Math.pow(t.y-this.position.y,2)<=this.radius*this.radius}intersects(t){const e=t,i=t,o=this.position,s=t.position,n=Math.abs(s.x-o.x),a=Math.abs(s.y-o.y),r=this.radius;if(void 0!==i.radius){return r+i.radius>Math.sqrt(n*n+a+a)}if(void 0!==e.size){const t=e.size.width,i=e.size.height,o=Math.pow(n-t,2)+Math.pow(a-i,2);return!(n>r+t||a>r+i)&&(n<=t||a<=i||o<=r*r)}return!1}}class E extends O{constructor(t,e,i,o){super(t,e),this.size={height:o,width:i}}contains(t){const e=this.size.width,i=this.size.height,o=this.position;return t.x>=o.x&&t.x<=o.x+e&&t.y>=o.y&&t.y<=o.y+i}intersects(t){const e=t,i=t,o=this.size.width,s=this.size.height,n=this.position,a=t.position;if(void 0!==i.radius)return i.intersects(this);if(void 0!==e.size){const t=e.size,i=t.width,r=t.height;return a.x<n.x+o&&a.x+i>n.x&&a.y<n.y+s&&a.y+r>n.y}return!1}}class F extends A{constructor(t,e,i,o){super(t,e,i),this.canvasSize=o,this.canvasSize={height:o.height,width:o.width}}contains(t){if(super.contains(t))return!0;const e={x:t.x-this.canvasSize.width,y:t.y};if(super.contains(e))return!0;const i={x:t.x-this.canvasSize.width,y:t.y-this.canvasSize.height};if(super.contains(i))return!0;const o={x:t.x,y:t.y-this.canvasSize.height};return super.contains(o)}intersects(t){if(super.intersects(t))return!0;const e=t,i=t,o={x:t.position.x-this.canvasSize.width,y:t.position.y-this.canvasSize.height};if(void 0!==i.radius){const t=new A(o.x,o.y,2*i.radius);return super.intersects(t)}if(void 0!==e.size){const t=new E(o.x,o.y,2*e.size.width,2*e.size.height);return super.intersects(t)}return!1}}function H(t,e,i,o,s){if(o){let o={passive:!0};"boolean"==typeof s?o.capture=s:void 0!==s&&(o=s),t.addEventListener(e,i,o)}else{const o=s;t.removeEventListener(e,i,o)}}!function(t){t.attract="attract",t.bubble="bubble",t.push="push",t.remove="remove",t.repulse="repulse",t.pause="pause",t.trail="trail"}(l||(l={})),function(t){t.bounce="bounce",t.bubble="bubble",t.repulse="repulse"}(c||(c={})),function(t){t.attract="attract",t.bounce="bounce",t.bubble="bubble",t.connect="connect",t.grab="grab",t.light="light",t.repulse="repulse",t.slow="slow",t.trail="trail"}(d||(d={})),function(t){t.absorb="absorb",t.bounce="bounce",t.destroy="destroy"}(h||(h={})),function(t){t.bounce="bounce",t.bounceHorizontal="bounce-horizontal",t.bounceVertical="bounce-vertical",t.none="none",t.out="out",t.destroy="destroy"}(u||(u={})),function(t){t.precise="precise",t.percent="percent"}(v||(v={})),function(t){t.any="any",t.dark="dark",t.light="light"}(p||(p={})),function(t){t[t.increasing=0]="increasing",t[t.decreasing=1]="decreasing"}(f||(f={})),function(t){t.none="none",t.max="max",t.min="min"}(y||(y={})),function(t){t.color="color",t.opacity="opacity",t.size="size"}(m||(m={})),function(t){t.char="char",t.character="character",t.circle="circle",t.edge="edge",t.image="image",t.images="images",t.line="line",t.polygon="polygon",t.square="square",t.star="star",t.triangle="triangle"}(g||(g={})),function(t){t.max="max",t.min="min",t.random="random"}(b||(b={})),function(t){t.circle="circle",t.rectangle="rectangle"}(w||(w={})),function(t){t.canvas="canvas",t.parent="parent",t.window="window"}(x||(x={}));class L{constructor(t){this.container=t,this.canPush=!0,this.mouseMoveHandler=t=>this.mouseTouchMove(t),this.touchStartHandler=t=>this.mouseTouchMove(t),this.touchMoveHandler=t=>this.mouseTouchMove(t),this.touchEndHandler=()=>this.mouseTouchFinish(),this.mouseLeaveHandler=()=>this.mouseTouchFinish(),this.touchCancelHandler=()=>this.mouseTouchFinish(),this.touchEndClickHandler=t=>this.mouseTouchClick(t),this.mouseUpHandler=t=>this.mouseTouchClick(t),this.mouseDownHandler=()=>this.mouseDown(),this.visibilityChangeHandler=()=>this.handleVisibilityChange(),this.resizeHandler=()=>this.handleWindowResize()}addListeners(){this.manageListeners(!0)}removeListeners(){this.manageListeners(!1)}manageListeners(t){var e;const i=this.container,o=i.options,s=o.interactivity.detectsOn;let n=C.mouseLeaveEvent;if(s===x.window)i.interactivity.element=window,n=C.mouseOutEvent;else if(s===x.parent&&i.canvas.element){const t=i.canvas.element;i.interactivity.element=null!==(e=t.parentElement)&&void 0!==e?e:t.parentNode}else i.interactivity.element=i.canvas.element;const a=i.interactivity.element;if(!a)return;const r=a;(o.interactivity.events.onHover.enable||o.interactivity.events.onClick.enable)&&(H(a,C.mouseMoveEvent,this.mouseMoveHandler,t),H(a,C.touchStartEvent,this.touchStartHandler,t),H(a,C.touchMoveEvent,this.touchMoveHandler,t),o.interactivity.events.onClick.enable?(H(a,C.touchEndEvent,this.touchEndClickHandler,t),H(a,C.mouseUpEvent,this.mouseUpHandler,t),H(a,C.mouseDownEvent,this.mouseDownHandler,t)):H(a,C.touchEndEvent,this.touchEndHandler,t),H(a,n,this.mouseLeaveHandler,t),H(a,C.touchCancelEvent,this.touchCancelHandler,t)),i.canvas.element&&(i.canvas.element.style.pointerEvents=r===i.canvas.element?"initial":"none"),o.interactivity.events.resize&&H(window,C.resizeEvent,this.resizeHandler,t),document&&H(document,C.visibilityChangeEvent,this.visibilityChangeHandler,t,!1)}handleWindowResize(){var t;null===(t=this.container.canvas)||void 0===t||t.windowResize()}handleVisibilityChange(){const t=this.container,e=t.options;this.mouseTouchFinish(),e.pauseOnBlur&&((null===document||void 0===document?void 0:document.hidden)?(t.pageHidden=!0,t.pause()):(t.pageHidden=!1,t.getAnimationStatus()?t.play(!0):t.draw()))}mouseDown(){const t=this.container.interactivity;if(t){const e=t.mouse;e.clicking=!0,e.downPosition=e.position}}mouseTouchMove(t){var e,i,o,s,n,a,r;const l=this.container,c=l.options;if(void 0===(null===(e=l.interactivity)||void 0===e?void 0:e.element))return;let d;l.interactivity.mouse.inside=!0;const h=l.canvas.element;if(t.type.startsWith("mouse")){this.canPush=!0;const e=t;if(l.interactivity.element===window){if(h){const t=h.getBoundingClientRect();d={x:e.clientX-t.left,y:e.clientY-t.top}}}else if(c.interactivity.detectsOn===x.parent){const t=e.target,s=e.currentTarget,n=l.canvas.element;if(t&&s&&n){const i=t.getBoundingClientRect(),o=s.getBoundingClientRect(),a=n.getBoundingClientRect();d={x:e.offsetX+2*i.left-(o.left+a.left),y:e.offsetY+2*i.top-(o.top+a.top)}}else d={x:null!==(i=e.offsetX)&&void 0!==i?i:e.clientX,y:null!==(o=e.offsetY)&&void 0!==o?o:e.clientY}}else e.target===l.canvas.element&&(d={x:null!==(s=e.offsetX)&&void 0!==s?s:e.clientX,y:null!==(n=e.offsetY)&&void 0!==n?n:e.clientY})}else{this.canPush="touchmove"!==t.type;const e=t,i=e.touches[e.touches.length-1],o=null==h?void 0:h.getBoundingClientRect();d={x:i.clientX-(null!==(a=null==o?void 0:o.left)&&void 0!==a?a:0),y:i.clientY-(null!==(r=null==o?void 0:o.top)&&void 0!==r?r:0)}}const u=l.retina.pixelRatio;d&&(d.x*=u,d.y*=u),l.interactivity.mouse.position=d,l.interactivity.status=C.mouseMoveEvent}mouseTouchFinish(){const t=this.container.interactivity;if(void 0===t)return;const e=t.mouse;delete e.position,delete e.clickPosition,delete e.downPosition,t.status=C.mouseLeaveEvent,e.inside=!1,e.clicking=!1}mouseTouchClick(t){const e=this.container,i=e.options,o=e.interactivity.mouse;o.inside=!0;let s=!1;const n=o.position;if(void 0!==n&&i.interactivity.events.onClick.enable){for(const[,t]of e.plugins)if(void 0!==t.clickPositionValid&&(s=t.clickPositionValid(n),s))break;s||this.doMouseTouchClick(t),o.clicking=!1}}doMouseTouchClick(t){const e=this.container,i=e.options;if(this.canPush){const t=e.interactivity.mouse.position;if(!t)return;e.interactivity.mouse.clickPosition={x:t.x,y:t.y},e.interactivity.mouse.clickTime=(new Date).getTime();const o=i.interactivity.events.onClick;if(o.mode instanceof Array)for(const t of o.mode)this.handleClickMode(t);else this.handleClickMode(o.mode)}"touchend"===t.type&&setTimeout((()=>this.mouseTouchFinish()),500)}handleClickMode(t){const e=this.container,i=e.options,o=i.interactivity.modes.push.quantity,s=i.interactivity.modes.remove.quantity;switch(t){case l.push:o>0&&e.particles.push(o,e.interactivity.mouse);break;case l.remove:e.particles.removeQuantity(s);break;case l.bubble:e.bubble.clicking=!0;break;case l.repulse:e.repulse.clicking=!0,e.repulse.count=0;for(const t of e.repulse.particles)t.velocity.horizontal=t.initialVelocity.horizontal,t.velocity.vertical=t.initialVelocity.vertical;e.repulse.particles=[],e.repulse.finish=!1,setTimeout((()=>{e.destroyed||(e.repulse.clicking=!1)}),1e3*i.interactivity.modes.repulse.duration);break;case l.attract:e.attract.clicking=!0,e.attract.count=0;for(const t of e.attract.particles)t.velocity.horizontal=t.initialVelocity.horizontal,t.velocity.vertical=t.initialVelocity.vertical;e.attract.particles=[],e.attract.finish=!1,setTimeout((()=>{e.destroyed||(e.attract.clicking=!1)}),1e3*i.interactivity.modes.attract.duration);break;case l.pause:e.getAnimationStatus()?e.pause():e.play()}for(const[,i]of e.plugins)i.handleClickMode&&i.handleClickMode(t)}}const V=[],q=new Map,B=new Map;class _{static getPlugin(t){return V.find((e=>e.id===t))}static addPlugin(t){_.getPlugin(t.id)||V.push(t)}static getAvailablePlugins(t){const e=new Map;for(const i of V)i.needsPlugin(t.options)&&e.set(i.id,i.getPlugin(t));return e}static loadOptions(t,e){for(const i of V)i.loadOptions(t,e)}static getPreset(t){return q.get(t)}static addPreset(t,e){_.getPreset(t)||q.set(t,e)}static addShapeDrawer(t,e){_.getShapeDrawer(t)||B.set(t,e)}static getShapeDrawer(t){return B.get(t)}static getSupportedShapes(){return B.keys()}}class W{constructor(t,e){this.position=t,this.particle=e}}class N{constructor(t,e){this.rectangle=t,this.capacity=e,this.points=[],this.divided=!1}subdivide(){const t=this.rectangle.position.x,e=this.rectangle.position.y,i=this.rectangle.size.width,o=this.rectangle.size.height,s=this.capacity;this.northEast=new N(new E(t,e,i/2,o/2),s),this.northWest=new N(new E(t+i/2,e,i/2,o/2),s),this.southEast=new N(new E(t,e+o/2,i/2,o/2),s),this.southWest=new N(new E(t+i/2,e+o/2,i/2,o/2),s),this.divided=!0}insert(t){var e,i,o,s,n;return!!this.rectangle.contains(t.position)&&(this.points.length<this.capacity?(this.points.push(t),!0):(this.divided||this.subdivide(),null!==(n=(null===(e=this.northEast)||void 0===e?void 0:e.insert(t))||(null===(i=this.northWest)||void 0===i?void 0:i.insert(t))||(null===(o=this.southEast)||void 0===o?void 0:o.insert(t))||(null===(s=this.southWest)||void 0===s?void 0:s.insert(t)))&&void 0!==n&&n))}queryCircle(t,e){return this.query(new A(t.x,t.y,e))}queryCircleWarp(t,e,i){const o=i,s=i;return this.query(new F(t.x,t.y,e,void 0!==o.canvas?o.canvas.size:s))}queryRectangle(t,e){return this.query(new E(t.x,t.y,e.width,e.height))}query(t,e){var i,o,s,n;const a=null!=e?e:[];if(!t.intersects(this.rectangle))return[];for(const e of this.points)t.contains(e.position)&&a.push(e.particle);return this.divided&&(null===(i=this.northEast)||void 0===i||i.query(t,a),null===(o=this.northWest)||void 0===o||o.query(t,a),null===(s=this.southEast)||void 0===s||s.query(t,a),null===(n=this.southWest)||void 0===n||n.query(t,a)),a}}var j=function(t,e,i,o){return new(i||(i=Promise))((function(s,n){function a(t){try{l(o.next(t))}catch(t){n(t)}}function r(t){try{l(o.throw(t))}catch(t){n(t)}}function l(t){var e;t.done?s(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(a,r)}l((o=o.apply(t,e||[])).next())}))};class ${getSidesCount(){return 12}init(t){var e;return j(this,void 0,void 0,(function*(){const i=t.options;if(S.isInArray(g.char,i.particles.shape.type)||S.isInArray(g.character,i.particles.shape.type)){const t=null!==(e=i.particles.shape.options[g.character])&&void 0!==e?e:i.particles.shape.options[g.char];if(t instanceof Array)for(const e of t)yield S.loadFont(e);else void 0!==t&&(yield S.loadFont(t))}}))}draw(t,e,i){const o=e.shapeData;if(void 0===o)return;const s=o.value;if(void 0===s)return;const n=e;void 0===n.text&&(n.text=s instanceof Array?S.itemFromArray(s,e.randomIndexData):s);const a=n.text,r=o.style,l=o.weight,c=2*Math.round(i),d=o.font,h=e.fill,u=a.length*i/2;t.font=`${r} ${l} ${c}px "${d}"`;const v={x:-u,y:i/2};h?t.fillText(a,v.x,v.y):t.strokeText(a,v.x,v.y)}}var X=function(t,e,i,o){return new(i||(i=Promise))((function(s,n){function a(t){try{l(o.next(t))}catch(t){n(t)}}function r(t){try{l(o.throw(t))}catch(t){n(t)}}function l(t){var e;t.done?s(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(a,r)}l((o=o.apply(t,e||[])).next())}))};class Y{constructor(){this.images=[]}getSidesCount(){return 12}getImages(t){const e=this.images.filter((e=>e.id===t.id));return e.length?e[0]:(this.images.push({id:t.id,images:[]}),this.getImages(t))}addImage(t,e){const i=this.getImages(t);null==i||i.images.push(e)}init(t){var e;return X(this,void 0,void 0,(function*(){const i=t.options.particles.shape;if(!S.isInArray(g.image,i.type)&&!S.isInArray(g.images,i.type))return;const o=null!==(e=i.options[g.images])&&void 0!==e?e:i.options[g.image];if(o instanceof Array)for(const e of o)yield this.loadImageShape(t,e);else yield this.loadImageShape(t,o)}))}destroy(){this.images=[]}loadImageShape(t,e){return X(this,void 0,void 0,(function*(){try{const i=e.replaceColor?yield S.downloadSvgImage(e.src):yield S.loadImage(e.src);this.addImage(t,i)}catch(t){console.warn(`tsParticles error - ${e.src} not found`)}}))}draw(t,e,i,o){var s,n;if(!t)return;const a=e.image,r=null===(s=null==a?void 0:a.data)||void 0===s?void 0:s.element;if(!r)return;const l=null!==(n=null==a?void 0:a.ratio)&&void 0!==n?n:1,c={x:-i,y:-i};(null==a?void 0:a.data.svgData)&&(null==a?void 0:a.replaceColor)||(t.globalAlpha=o),t.drawImage(r,c.x,c.y,2*i,2*i/l),(null==a?void 0:a.data.svgData)&&(null==a?void 0:a.replaceColor)||(t.globalAlpha=1)}}class U{getSidesCount(){return 1}draw(t,e,i){t.moveTo(0,-i/2),t.lineTo(0,i/2)}}class J{getSidesCount(){return 12}draw(t,e,i){t.arc(0,0,i,0,2*Math.PI,!1)}}class G{getSidesCount(t){var e,i;const o=t.shapeData;return null!==(i=null!==(e=null==o?void 0:o.sides)&&void 0!==e?e:null==o?void 0:o.nb_sides)&&void 0!==i?i:5}draw(t,e,i){const o=this.getCenter(e,i),s=this.getSidesData(e,i),n=s.count.numerator*s.count.denominator,a=s.count.numerator/s.count.denominator,r=180*(a-2)/a,l=Math.PI-Math.PI*r/180;if(t){t.beginPath(),t.translate(o.x,o.y),t.moveTo(0,0);for(let e=0;e<n;e++)t.lineTo(s.length,0),t.translate(s.length,0),t.rotate(l)}}}class Q extends G{getSidesCount(){return 3}getSidesData(t,e){return{count:{denominator:2,numerator:3},length:2*e}}getCenter(t,e){return{x:-e,y:e/1.66}}}class K{getSidesCount(t){var e,i;const o=t.shapeData;return null!==(i=null!==(e=null==o?void 0:o.sides)&&void 0!==e?e:null==o?void 0:o.nb_sides)&&void 0!==i?i:5}draw(t,e,i){var o;const s=e.shapeData,n=this.getSidesCount(e),a=null!==(o=null==s?void 0:s.inset)&&void 0!==o?o:2;t.moveTo(0,0-i);for(let e=0;e<n;e++)t.rotate(Math.PI/n),t.lineTo(0,0-i*a),t.rotate(Math.PI/n),t.lineTo(0,0-i)}}class Z extends G{getSidesData(t,e){var i,o;const s=t.shapeData,n=null!==(o=null!==(i=null==s?void 0:s.sides)&&void 0!==i?i:null==s?void 0:s.nb_sides)&&void 0!==o?o:5;return{count:{denominator:1,numerator:n},length:2.66*e/(n/3)}}getCenter(t,e){return{x:-e/(this.getSidesCount(t)/3.5),y:-e/.76}}}class tt{constructor(t){this.container=t,this.size={height:0,width:0},this.context=null,this.generatedCanvas=!1}init(){var t,e,i,o,s,n,a,r,l,c,d,h;this.resize();const u=this.container.options,v=this.element;v&&(u.backgroundMode.enable?(this.originalStyle=S.deepExtend({},v.style),v.style.position="fixed",v.style.zIndex=u.backgroundMode.zIndex.toString(10),v.style.top="0",v.style.left="0",v.style.width="100%",v.style.height="100%"):(v.style.position=null!==(e=null===(t=this.originalStyle)||void 0===t?void 0:t.position)&&void 0!==e?e:"",v.style.zIndex=null!==(o=null===(i=this.originalStyle)||void 0===i?void 0:i.zIndex)&&void 0!==o?o:"",v.style.top=null!==(n=null===(s=this.originalStyle)||void 0===s?void 0:s.top)&&void 0!==n?n:"",v.style.left=null!==(r=null===(a=this.originalStyle)||void 0===a?void 0:a.left)&&void 0!==r?r:"",v.style.width=null!==(c=null===(l=this.originalStyle)||void 0===l?void 0:l.width)&&void 0!==c?c:"",v.style.height=null!==(h=null===(d=this.originalStyle)||void 0===d?void 0:d.height)&&void 0!==h?h:""));const p=u.backgroundMask.cover,f=p.color,y=u.particles.move.trail,m=P.colorToRgb(f);this.coverColor=void 0!==m?{r:m.r,g:m.g,b:m.b,a:p.opacity}:void 0,this.trailFillColor=P.colorToRgb(y.fillColor),this.initBackground(),this.paint()}loadCanvas(t,e){var i;t.className||(t.className=C.canvasClass),this.generatedCanvas&&(null===(i=this.element)||void 0===i||i.remove()),this.generatedCanvas=null!=e?e:this.generatedCanvas,this.element=t,this.originalStyle=S.deepExtend({},this.element.style),this.size.height=t.offsetHeight,this.size.width=t.offsetWidth,this.context=this.element.getContext("2d"),this.container.retina.init(),this.initBackground()}destroy(){var t;this.generatedCanvas&&(null===(t=this.element)||void 0===t||t.remove()),this.context&&I.clear(this.context,this.size)}resize(){this.element&&(this.element.width=this.size.width,this.element.height=this.size.height)}paint(){const t=this.container.options;this.context&&(t.backgroundMask.enable&&t.backgroundMask.cover&&this.coverColor?(I.clear(this.context,this.size),this.paintBase(P.getStyleFromRgb(this.coverColor,this.coverColor.a))):this.paintBase())}clear(){const t=this.container.options,e=t.particles.move.trail;t.backgroundMask.enable?this.paint():e.enable&&e.length>0&&this.trailFillColor?this.paintBase(P.getStyleFromRgb(this.trailFillColor,1/e.length)):this.context&&I.clear(this.context,this.size)}windowResize(){if(!this.element)return;const t=this.container;t.canvas.initSize(),t.particles.setDensity();for(const[,e]of t.plugins)void 0!==e.resize&&e.resize()}initSize(){if(!this.element)return;const t=this.container,e=t.retina.pixelRatio;t.canvas.size.width=this.element.offsetWidth*e,t.canvas.size.height=this.element.offsetHeight*e,this.element.width=t.canvas.size.width,this.element.height=t.canvas.size.height}drawConnectLine(t,e){var i;const o=this.lineStyle(t,e);if(!o)return;const s=this.context;if(!s)return;const n=t.getPosition(),a=e.getPosition();I.drawConnectLine(s,null!==(i=t.linksWidth)&&void 0!==i?i:this.container.retina.linksWidth,o,n,a)}drawGrabLine(t,e,i,o){var s;const n=this.container,a=n.canvas.context;if(!a)return;const r=t.getPosition();I.drawGrabLine(a,null!==(s=t.linksWidth)&&void 0!==s?s:n.retina.linksWidth,r,o,e,i)}drawParticleShadow(t,e){this.context&&I.drawParticleShadow(this.container,this.context,t,e)}drawLinkTriangle(t,e,i){var o;const s=this.container,n=s.options,a=e.destination,l=i.destination,c=t.particlesOptions.links.triangles,d=null!==(o=c.opacity)&&void 0!==o?o:(e.opacity+i.opacity)/2;if(d<=0)return;const h=t.getPosition(),u=a.getPosition(),v=l.getPosition(),p=this.context;if(!p)return;if(r.getDistance(h,u)>s.retina.linksDistance||r.getDistance(v,u)>s.retina.linksDistance||r.getDistance(v,h)>s.retina.linksDistance)return;let f=P.colorToRgb(c.color);if(!f){const e=t.particlesOptions.links,i=void 0!==e.id?s.particles.linksColors.get(e.id):s.particles.linksColor;f=P.getLinkColor(t,a,i)}f&&I.drawLinkTriangle(p,h,u,v,n.backgroundMask.enable,n.backgroundMask.composite,f,d)}drawLinkLine(t,e){var i,o;const s=this.container,n=s.options,a=e.destination;let r=e.opacity;const l=t.getPosition(),c=a.getPosition(),d=this.context;if(!d)return;let h;const u=t.particlesOptions.twinkle.lines;if(u.enable){const t=u.frequency,e=P.colorToRgb(u.color);Math.random()<t&&void 0!==e&&(h=e,r=u.opacity)}if(!h){const e=t.particlesOptions.links,i=void 0!==e.id?s.particles.linksColors.get(e.id):s.particles.linksColor;h=P.getLinkColor(t,a,i)}if(!h)return;const v=null!==(i=t.linksWidth)&&void 0!==i?i:s.retina.linksWidth,p=null!==(o=t.linksDistance)&&void 0!==o?o:s.retina.linksDistance;I.drawLinkLine(d,v,l,c,p,s.canvas.size,t.particlesOptions.links.warp,n.backgroundMask.enable,n.backgroundMask.composite,h,r,t.particlesOptions.links.shadow)}drawParticle(t,e){var i,o,s,n;if(!1===(null===(i=t.image)||void 0===i?void 0:i.loaded)||t.spawning||t.destroyed)return;const a=t.getFillColor(),r=null!==(o=t.getStrokeColor())&&void 0!==o?o:a;if(!a&&!r)return;const l=this.container.options,c=t.particlesOptions.twinkle.particles,d=c.frequency,h=P.colorToRgb(c.color),u=c.enable&&Math.random()<d,v=t.getRadius(),p=u?c.opacity:null!==(s=t.bubble.opacity)&&void 0!==s?s:t.opacity.value,f=t.infecter.infectionStage,y=l.infection.stages,m=void 0!==f?y[f].color:void 0,g=P.colorToRgb(m),b=u&&void 0!==h?h:null!=g?g:a?P.hslToRgb(a):void 0,w=u&&void 0!==h?h:null!=g?g:r?P.hslToRgb(r):void 0,x=void 0!==b?P.getStyleFromRgb(b,p):void 0;if(!this.context||!x&&!w)return;const k=void 0!==w?P.getStyleFromRgb(w,null!==(n=t.stroke.opacity)&&void 0!==n?n:p):x;this.drawParticleLinks(t),v>0&&I.drawParticle(this.container,this.context,t,e,x,k,l.backgroundMask.enable,l.backgroundMask.composite,v,p,t.particlesOptions.shadow)}drawParticleLinks(t){if(!this.context)return;const e=this.container,i=e.particles,o=t.particlesOptions;if(t.links.length>0){this.context.save();const s=t.links.filter((i=>e.particles.getLinkFrequency(t,i.destination)<=o.links.frequency));for(const n of s){const a=n.destination;if(o.links.triangles.enable){const r=s.map((t=>t.destination)),l=a.links.filter((t=>e.particles.getLinkFrequency(a,t.destination)<=a.particlesOptions.links.frequency&&r.indexOf(t.destination)>=0));if(l.length)for(const e of l){const s=e.destination;i.getTriangleFrequency(t,a,s)>o.links.triangles.frequency||this.drawLinkTriangle(t,n,e)}}n.opacity>0&&e.retina.linksWidth>0&&this.drawLinkLine(t,n)}this.context.restore()}}drawPlugin(t,e){this.context&&I.drawPlugin(this.context,t,e)}drawLight(t){this.context&&I.drawLight(this.container,this.context,t)}paintBase(t){this.context&&I.paintBase(this.context,this.size,t)}lineStyle(t,e){const i=this.container.options.interactivity.modes.connect;if(this.context)return I.gradient(this.context,t,e,i.links.opacity)}initBackground(){const t=this.container.options.background,e=this.element;if(!e)return;const i=e.style;if(t.color){const e=P.colorToRgb(t.color);e&&(i.backgroundColor=P.getStyleFromRgb(e,t.opacity))}t.image&&(i.backgroundImage=t.image),t.position&&(i.backgroundPosition=t.position),t.repeat&&(i.backgroundRepeat=t.repeat),t.size&&(i.backgroundSize=t.size)}}function et(t,e,i,o,s){switch(e){case y.max:i>=s&&t.destroy();break;case y.min:i<=o&&t.destroy()}}class it{constructor(t,e){this.container=t,this.particle=e}update(t){this.particle.destroyed||(this.updateLife(t),this.particle.destroyed||this.particle.spawning||(this.updateOpacity(t),this.updateSize(t),this.updateAngle(t),this.updateColor(t),this.updateStrokeColor(t),this.updateOutModes(t)))}updateLife(t){const e=this.particle;let i=!1;if(e.spawning&&(e.lifeDelayTime+=t.value,e.lifeDelayTime>=e.lifeDelay&&(i=!0,e.spawning=!1,e.lifeDelayTime=0,e.lifeTime=0)),-1!==e.lifeDuration&&!e.spawning&&(i?e.lifeTime=0:e.lifeTime+=t.value,e.lifeTime>=e.lifeDuration)){if(e.lifeTime=0,e.livesRemaining>0&&e.livesRemaining--,0===e.livesRemaining)return void e.destroy();const t=this.container.canvas.size;e.position.x=r.randomInRange(0,t.width),e.position.y=r.randomInRange(0,t.height),e.spawning=!0,e.lifeDelayTime=0,e.lifeTime=0;const i=e.particlesOptions.life;e.lifeDelay=1e3*r.getValue(i.delay),e.lifeDuration=1e3*r.getValue(i.duration)}}updateOpacity(t){var e,i;const o=this.particle,s=o.particlesOptions.opacity.anim,n=s.minimumValue,a=o.particlesOptions.opacity.value;if(s.enable){switch(o.opacity.status){case f.increasing:o.opacity.value>=a?o.opacity.status=f.decreasing:o.opacity.value+=(null!==(e=o.opacity.velocity)&&void 0!==e?e:0)*t.factor;break;case f.decreasing:o.opacity.value<=n?o.opacity.status=f.increasing:o.opacity.value-=(null!==(i=o.opacity.velocity)&&void 0!==i?i:0)*t.factor}et(o,s.destroy,o.opacity.value,n,a),o.destroyed||(o.opacity.value=r.clamp(o.opacity.value,n,a))}}updateSize(t){var e,i;const o=this.container,s=this.particle,n=s.particlesOptions.size.animation,a=(null!==(e=s.size.velocity)&&void 0!==e?e:0)*t.factor,l=null!==(i=s.sizeValue)&&void 0!==i?i:o.retina.sizeValue,c=n.minimumValue*o.retina.pixelRatio;if(n.enable){switch(s.size.status){case f.increasing:s.size.value>=l?s.size.status=f.decreasing:s.size.value+=a;break;case f.decreasing:s.size.value<=c?s.size.status=f.increasing:s.size.value-=a}et(s,n.destroy,s.size.value,c,l),s.destroyed||(s.size.value=r.clamp(s.size.value,c,l))}}updateAngle(t){var e;const i=this.particle,o=i.particlesOptions.rotate,s=o.animation,n=(null!==(e=i.rotate.velocity)&&void 0!==e?e:0)*t.factor,a=2*Math.PI;if(o.path)i.pathAngle=Math.atan2(i.velocity.vertical,i.velocity.horizontal);else if(s.enable)switch(i.rotate.status){case f.increasing:i.rotate.value+=n,i.rotate.value>a&&(i.rotate.value-=a);break;case f.decreasing:default:i.rotate.value-=n,i.rotate.value<0&&(i.rotate.value+=a)}}updateColor(t){var e;const i=this.particle;void 0!==i.color.value&&i.particlesOptions.color.animation.enable&&(i.color.value.h+=(null!==(e=i.color.velocity)&&void 0!==e?e:0)*t.factor,i.color.value.h>360&&(i.color.value.h-=360))}updateStrokeColor(t){var e,i;const o=this.particle,s=o.stroke.color;"string"!=typeof s&&void 0!==s&&void 0!==o.strokeColor.value&&s.animation.enable&&(o.strokeColor.value.h+=(null!==(i=null!==(e=o.strokeColor.velocity)&&void 0!==e?e:o.color.velocity)&&void 0!==i?i:0)*t.factor,o.strokeColor.value.h>360&&(o.strokeColor.value.h-=360))}updateOutModes(t){var e,i,o,n;const a=this.particle.particlesOptions.move.outModes;this.updateOutMode(t,null!==(e=a.bottom)&&void 0!==e?e:a.default,s.bottom),this.updateOutMode(t,null!==(i=a.left)&&void 0!==i?i:a.default,s.left),this.updateOutMode(t,null!==(o=a.right)&&void 0!==o?o:a.default,s.right),this.updateOutMode(t,null!==(n=a.top)&&void 0!==n?n:a.default,s.top)}updateOutMode(t,e,i){const o=this.container,s=this.particle;switch(e){case u.bounce:case u.bounceVertical:case u.bounceHorizontal:case"bounceVertical":case"bounceHorizontal":this.updateBounce(t,i,e);break;case u.destroy:S.isPointInside(s.position,o.canvas.size,s.getRadius(),i)||o.particles.remove(s);break;case u.out:S.isPointInside(s.position,o.canvas.size,s.getRadius(),i)||this.fixOutOfCanvasPosition(i);break;case u.none:this.bounceNone(i)}}fixOutOfCanvasPosition(t){const e=this.container,i=this.particle,o=i.particlesOptions.move.warp,n=e.canvas.size,a={bottom:n.height+i.getRadius()-i.offset.y,left:-i.getRadius()-i.offset.x,right:n.width+i.getRadius()+i.offset.x,top:-i.getRadius()-i.offset.y},r=i.getRadius(),l=S.calculateBounds(i.position,r);t===s.right&&l.left>n.width-i.offset.x?(i.position.x=a.left,o||(i.position.y=Math.random()*n.height)):t===s.left&&l.right<-i.offset.x&&(i.position.x=a.right,o||(i.position.y=Math.random()*n.height)),t===s.bottom&&l.top>n.height-i.offset.y?(o||(i.position.x=Math.random()*n.width),i.position.y=a.top):t===s.top&&l.bottom<-i.offset.y&&(o||(i.position.x=Math.random()*n.width),i.position.y=a.bottom)}updateBounce(t,e,i){const o=this.container,n=this.particle;let a=!1;for(const[,i]of o.plugins)if(void 0!==i.particleBounce&&(a=i.particleBounce(n,t,e)),a)break;if(a)return;const l=n.getPosition(),c=n.offset,d=n.getRadius(),h=S.calculateBounds(l,d),v=o.canvas.size;!function(t){if(t.outMode===u.bounce||t.outMode===u.bounceHorizontal||"bounceHorizontal"===t.outMode){const e=t.particle.velocity.horizontal;let i=!1;if(t.direction===s.right&&t.bounds.right>=t.canvasSize.width&&e>0||t.direction===s.left&&t.bounds.left<=0&&e<0){const e=r.getValue(t.particle.particlesOptions.bounce.horizontal);t.particle.velocity.horizontal*=-e,i=!0}if(i){const e=t.offset.x+t.size;t.bounds.right>=t.canvasSize.width?t.particle.position.x=t.canvasSize.width-e:t.bounds.left<=0&&(t.particle.position.x=e)}}}({particle:n,outMode:i,direction:e,bounds:h,canvasSize:v,offset:c,size:d}),function(t){if(t.outMode===u.bounce||t.outMode===u.bounceVertical||"bounceVertical"===t.outMode){const e=t.particle.velocity.vertical;let i=!1;if(t.direction===s.bottom&&t.bounds.bottom>=t.canvasSize.height&&e>0||t.direction===s.top&&t.bounds.top<=0&&e<0){const e=r.getValue(t.particle.particlesOptions.bounce.vertical);t.particle.velocity.vertical*=-e,i=!0}if(i){const e=t.offset.y+t.size;t.bounds.bottom>=t.canvasSize.height?t.particle.position.y=t.canvasSize.height-e:t.bounds.top<=0&&(t.particle.position.y=e)}}}({particle:n,outMode:i,direction:e,bounds:h,canvasSize:v,offset:c,size:d})}bounceNone(t){const e=this.particle;if(e.particlesOptions.move.distance)return;const i=e.particlesOptions.move.gravity,o=this.container;if(i.enable){const n=e.position;(i.acceleration>=0&&n.y>o.canvas.size.height&&t===s.bottom||i.acceleration<0&&n.y<0&&t===s.top)&&o.particles.remove(e)}else S.isPointInside(e.position,o.canvas.size,e.getRadius(),t)||o.particles.remove(e)}}class ot{constructor(){this.value="#fff"}static create(t,e){const i=null!=t?t:new ot;return void 0!==e&&i.load("string"==typeof e?{value:e}:e),i}load(t){void 0!==(null==t?void 0:t.value)&&(this.value=t.value)}}class st{constructor(){this.blur=5,this.color=new ot,this.enable=!1,this.color.value="#00ff00"}load(t){void 0!==t&&(void 0!==t.blur&&(this.blur=t.blur),this.color=ot.create(this.color,t.color),void 0!==t.enable&&(this.enable=t.enable))}}class nt{constructor(){this.enable=!1,this.frequency=1}load(t){void 0!==t&&(void 0!==t.color&&(this.color=ot.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))}}class at{constructor(){this.blink=!1,this.color=new ot,this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new st,this.triangles=new nt,this.width=1,this.warp=!1}load(t){void 0!==t&&(void 0!==t.id&&(this.id=t.id),void 0!==t.blink&&(this.blink=t.blink),this.color=ot.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))}}class rt{constructor(){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 e,i,o,s;if(void 0===t)return;void 0!==t.enable&&(this.enable=t.enable);const n=null!==(i=null===(e=t.rotate)||void 0===e?void 0:e.x)&&void 0!==i?i:t.rotateX;void 0!==n&&(this.rotate.x=n);const a=null!==(s=null===(o=t.rotate)||void 0===o?void 0:o.y)&&void 0!==s?s:t.rotateY;void 0!==a&&(this.rotate.y=a)}}class lt{constructor(){this.enable=!1,this.length=10,this.fillColor=new ot,this.fillColor.value="#000000"}load(t){void 0!==t&&(void 0!==t.enable&&(this.enable=t.enable),this.fillColor=ot.create(this.fillColor,t.fillColor),void 0!==t.length&&(this.length=t.length))}}class ct{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 dt{constructor(){this.random=new ct,this.value=0}load(t){t&&("boolean"==typeof t.random?this.random.enable=t.random:this.random.load(t.random),void 0!==t.value&&(this.value=t.value))}}class ht extends dt{constructor(){super()}}class ut{constructor(){this.delay=new ht,this.enable=!1}load(t){void 0!==t&&(this.delay.load(t.delay),void 0!==t.enable&&(this.enable=t.enable))}}class vt{constructor(){this.offset=45,this.value=90}load(t){void 0!==t&&(void 0!==t.offset&&(this.offset=t.offset),void 0!==t.value&&(this.value=t.value))}}class pt{constructor(){this.acceleration=9.81,this.enable=!1,this.maxSpeed=50}load(t){t&&(void 0!==t.acceleration&&(this.acceleration=t.acceleration),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.maxSpeed&&(this.maxSpeed=t.maxSpeed))}}class ft{constructor(){this.default=u.out}load(t){var e,i,o,s;t&&(void 0!==t.default&&(this.default=t.default),this.bottom=null!==(e=t.bottom)&&void 0!==e?e:t.default,this.left=null!==(i=t.left)&&void 0!==i?i:t.default,this.right=null!==(o=t.right)&&void 0!==o?o:t.default,this.top=null!==(s=t.top)&&void 0!==s?s:t.default)}}class yt{constructor(){this.angle=new vt,this.attract=new rt,this.direction=n.none,this.distance=0,this.enable=!1,this.gravity=new pt,this.noise=new ut,this.outModes=new ft,this.random=!1,this.size=!1,this.speed=2,this.straight=!1,this.trail=new lt,this.vibrate=!1,this.warp=!1}get collisions(){return!1}set collisions(t){}get bounce(){return this.collisions}set bounce(t){this.collisions=t}get out_mode(){return this.outMode}set out_mode(t){this.outMode=t}get outMode(){return this.outModes.default}set outMode(t){this.outModes.default=t}load(t){var e,i;if(void 0===t)return;void 0!==t.angle&&("number"==typeof t.angle?this.angle.value=t.angle:this.angle.load(t.angle)),this.attract.load(t.attract),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=t.distance),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity),this.noise.load(t.noise);const o=null!==(e=t.outMode)&&void 0!==e?e:t.out_mode;void 0===t.outModes&&void 0===o||("string"==typeof t.outModes||void 0===t.outModes&&void 0!==o?this.outModes.load({default:null!==(i=t.outModes)&&void 0!==i?i:o}):this.outModes.load(t.outModes)),void 0!==t.random&&(this.random=t.random),void 0!==t.size&&(this.size=t.size),void 0!==t.speed&&(this.speed=t.speed),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 mt{constructor(){this.enable=!1,this.area=800,this.factor=1e3}get value_area(){return this.area}set value_area(t){this.area=t}load(t){var e;if(void 0===t)return;void 0!==t.enable&&(this.enable=t.enable);const i=null!==(e=t.area)&&void 0!==e?e:t.value_area;void 0!==i&&(this.area=i),void 0!==t.factor&&(this.factor=t.factor)}}class gt{constructor(){this.density=new mt,this.limit=0,this.value=100}get max(){return this.limit}set max(t){this.limit=t}load(t){var e;if(void 0===t)return;this.density.load(t.density);const i=null!==(e=t.limit)&&void 0!==e?e:t.max;void 0!==i&&(this.limit=i),void 0!==t.value&&(this.value=t.value)}}class bt{constructor(){this.destroy=y.none,this.enable=!1,this.minimumValue=0,this.speed=2,this.startValue=b.random,this.sync=!1}get opacity_min(){return this.minimumValue}set opacity_min(t){this.minimumValue=t}load(t){var e;if(void 0===t)return;void 0!==t.destroy&&(this.destroy=t.destroy),void 0!==t.enable&&(this.enable=t.enable);const i=null!==(e=t.minimumValue)&&void 0!==e?e:t.opacity_min;void 0!==i&&(this.minimumValue=i),void 0!==t.speed&&(this.speed=t.speed),void 0!==t.startValue&&(this.startValue=t.startValue),void 0!==t.sync&&(this.sync=t.sync)}}class wt extends dt{constructor(){super(),this.animation=new bt,this.random.minimumValue=.1,this.value=1}get anim(){return this.animation}set anim(t){this.animation=t}load(t){var e;t&&(super.load(t),this.animation.load(null!==(e=t.animation)&&void 0!==e?e:t.anim))}}class xt{constructor(){this.options={},this.type=g.circle}get image(){var t;return null!==(t=this.options[g.image])&&void 0!==t?t:this.options[g.images]}set image(t){this.options[g.image]=t,this.options[g.images]=t}get custom(){return this.options}set custom(t){this.options=t}get images(){return this.image instanceof Array?this.image:[this.image]}set images(t){this.image=t}get stroke(){return[]}set stroke(t){}get character(){var t;return null!==(t=this.options[g.character])&&void 0!==t?t:this.options[g.char]}set character(t){this.options[g.character]=t,this.options[g.char]=t}get polygon(){var t;return null!==(t=this.options[g.polygon])&&void 0!==t?t:this.options[g.star]}set polygon(t){this.options[g.polygon]=t,this.options[g.star]=t}load(t){var e,i,o;if(void 0===t)return;const s=null!==(e=t.options)&&void 0!==e?e:t.custom;if(void 0!==s)for(const t in s){const e=s[t];void 0!==e&&(this.options[t]=S.deepExtend(null!==(i=this.options[t])&&void 0!==i?i:{},e))}this.loadShape(t.character,g.character,g.char,!0),this.loadShape(t.polygon,g.polygon,g.star,!1),this.loadShape(null!==(o=t.image)&&void 0!==o?o:t.images,g.image,g.images,!0),void 0!==t.type&&(this.type=t.type)}loadShape(t,e,i,o){var s,n,a,r;void 0!==t&&(t instanceof Array?(this.options[e]instanceof Array||(this.options[e]=[],this.options[i]&&!o||(this.options[i]=[])),this.options[e]=S.deepExtend(null!==(s=this.options[e])&&void 0!==s?s:[],t),this.options[i]&&!o||(this.options[i]=S.deepExtend(null!==(n=this.options[i])&&void 0!==n?n:[],t))):(this.options[e]instanceof Array&&(this.options[e]={},this.options[i]&&!o||(this.options[i]={})),this.options[e]=S.deepExtend(null!==(a=this.options[e])&&void 0!==a?a:{},t),this.options[i]&&!o||(this.options[i]=S.deepExtend(null!==(r=this.options[i])&&void 0!==r?r:{},t))))}}class kt{constructor(){this.destroy=y.none,this.enable=!1,this.minimumValue=0,this.speed=5,this.startValue=b.random,this.sync=!1}get size_min(){return this.minimumValue}set size_min(t){this.minimumValue=t}load(t){var e;if(void 0===t)return;void 0!==t.destroy&&(this.destroy=t.destroy),void 0!==t.enable&&(this.enable=t.enable);const i=null!==(e=t.minimumValue)&&void 0!==e?e:t.size_min;void 0!==i&&(this.minimumValue=i),void 0!==t.speed&&(this.speed=t.speed),void 0!==t.startValue&&(this.startValue=t.startValue),void 0!==t.sync&&(this.sync=t.sync)}}class zt extends dt{constructor(){super(),this.animation=new kt,this.random.minimumValue=1,this.value=3}get anim(){return this.animation}set anim(t){this.animation=t}load(t){var e;if(!t)return;super.load(t);const i=null!==(e=t.animation)&&void 0!==e?e:t.anim;void 0!==i&&this.animation.load(i)}}class Mt{constructor(){this.enable=!1,this.speed=0,this.sync=!1}load(t){void 0!==t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=t.speed),void 0!==t.sync&&(this.sync=t.sync))}}class St extends dt{constructor(){super(),this.animation=new Mt,this.direction=a.clockwise,this.path=!1}load(t){t&&(super.load(t),void 0!==t.direction&&(this.direction=t.direction),this.animation.load(t.animation),void 0!==t.path&&(this.path=t.path))}}class Ct{constructor(){this.blur=0,this.color=new ot,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000000"}load(t){void 0!==t&&(void 0!==t.blur&&(this.blur=t.blur),this.color=ot.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)))}}class Rt{constructor(){this.enable=!1,this.speed=1,this.sync=!0}load(t){void 0!==t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=t.speed),void 0!==t.sync&&(this.sync=t.sync))}}class Dt extends ot{constructor(){super(),this.animation=new Rt}static create(t,e){const i=null!=t?t:new Dt;return void 0!==e&&i.load("string"==typeof e?{value:e}:e),i}load(t){super.load(t),this.animation.load(null==t?void 0:t.animation)}}class Pt{constructor(){this.width=0}load(t){void 0!==t&&(void 0!==t.color&&(this.color=Dt.create(this.color,t.color)),void 0!==t.width&&(this.width=t.width),void 0!==t.opacity&&(this.opacity=t.opacity))}}class Tt extends dt{constructor(){super(),this.random.minimumValue=.1,this.value=1}}class It{constructor(){this.horizontal=new Tt,this.vertical=new Tt}load(t){t&&(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}class Ot{constructor(){this.bounce=new It,this.enable=!1,this.mode=h.bounce}load(t){void 0!==t&&(this.bounce.load(t.bounce),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode))}}class At{constructor(){this.enable=!1,this.frequency=.05,this.opacity=1}load(t){void 0!==t&&(void 0!==t.color&&(this.color=ot.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))}}class Et{constructor(){this.lines=new At,this.particles=new At}load(t){void 0!==t&&(this.lines.load(t.lines),this.particles.load(t.particles))}}class Ft extends dt{constructor(){super(),this.sync=!1}load(t){t&&(super.load(t),void 0!==t.sync&&(this.sync=t.sync))}}class Ht extends dt{constructor(){super(),this.random.minimumValue=1e-4,this.sync=!1}load(t){void 0!==t&&(super.load(t),void 0!==t.sync&&(this.sync=t.sync))}}class Lt{constructor(){this.count=0,this.delay=new Ft,this.duration=new Ht}load(t){void 0!==t&&(void 0!==t.count&&(this.count=t.count),this.delay.load(t.delay),this.duration.load(t.duration))}}class Vt{constructor(){this.bounce=new It,this.collisions=new Ot,this.color=new Dt,this.life=new Lt,this.links=new at,this.move=new yt,this.number=new gt,this.opacity=new wt,this.reduceDuplicates=!1,this.rotate=new St,this.shadow=new Ct,this.shape=new xt,this.size=new zt,this.stroke=new Pt,this.twinkle=new Et}get line_linked(){return this.links}set line_linked(t){this.links=t}get lineLinked(){return this.links}set lineLinked(t){this.links=t}load(t){var e,i,o,s,n,a,r;if(void 0===t)return;this.bounce.load(t.bounce),this.color=Dt.create(this.color,t.color),this.life.load(t.life);const l=null!==(i=null!==(e=t.links)&&void 0!==e?e:t.lineLinked)&&void 0!==i?i:t.line_linked;void 0!==l&&this.links.load(l),this.move.load(t.move),this.number.load(t.number),this.opacity.load(t.opacity),void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.rotate.load(t.rotate),this.shape.load(t.shape),this.size.load(t.size),this.shadow.load(t.shadow),this.twinkle.load(t.twinkle);const c=null!==(s=null===(o=t.move)||void 0===o?void 0:o.collisions)&&void 0!==s?s:null===(n=t.move)||void 0===n?void 0:n.bounce;void 0!==c&&(this.collisions.enable=c),this.collisions.load(t.collisions);const d=null!==(a=t.stroke)&&void 0!==a?a:null===(r=t.shape)||void 0===r?void 0:r.stroke;void 0!==d&&(d instanceof Array?this.stroke=d.map((t=>{const e=new Pt;return e.load(t),e})):(this.stroke instanceof Array&&(this.stroke=new Pt),this.stroke.load(d)))}}class qt{constructor(t){this.container=t}startInfection(t){t>this.container.options.infection.stages.length||t<0||(this.infectionDelay=0,this.infectionDelayStage=t)}updateInfectionStage(t){t>this.container.options.infection.stages.length||t<0||void 0!==this.infectionStage&&this.infectionStage>t||(this.infectionStage=t,this.infectionTime=0)}updateInfection(t){const e=this.container.options,i=e.infection,o=e.infection.stages,s=o.length;if(void 0!==this.infectionDelay&&void 0!==this.infectionDelayStage){const e=this.infectionDelayStage;if(e>s||e<0)return;this.infectionDelay>1e3*i.delay?(this.infectionStage=e,this.infectionTime=0,delete this.infectionDelay,delete this.infectionDelayStage):this.infectionDelay+=t}else delete this.infectionDelay,delete this.infectionDelayStage;if(void 0!==this.infectionStage&&void 0!==this.infectionTime){const e=o[this.infectionStage];void 0!==e.duration&&e.duration>=0&&this.infectionTime>1e3*e.duration?this.nextInfectionStage():this.infectionTime+=t}else delete this.infectionStage,delete this.infectionTime}nextInfectionStage(){const t=this.container.options,e=t.infection.stages.length;if(!(e<=0||void 0===this.infectionStage)&&(this.infectionTime=0,e<=++this.infectionStage)){if(t.infection.cure)return delete this.infectionStage,void delete this.infectionTime;this.infectionStage=0,this.infectionTime=0}}}class Bt{constructor(t,e){this.container=t,this.particle=e}move(t){const e=this.particle;e.bubble.inRange=!1,e.links=[];for(const[,i]of this.container.plugins){if(e.destroyed)break;i.particleUpdate&&i.particleUpdate(e,t)}e.destroyed||(this.moveParticle(t),this.moveParallax())}moveParticle(t){var e,i;const o=this.particle,s=o.particlesOptions;if(!s.move.enable)return;const n=this.container,a=this.getProximitySpeedFactor(),l=(null!==(e=o.moveSpeed)&&void 0!==e?e:n.retina.moveSpeed)*n.retina.reduceFactor,c=null!==(i=o.sizeValue)&&void 0!==i?i:n.retina.sizeValue,d=l/2*(s.move.size?o.getRadius()/c:1)*a*t.factor;this.applyNoise(t);const h=s.move.gravity;h.enable&&(o.velocity.vertical+=h.acceleration*t.factor/(60*d));const u={horizontal:o.velocity.horizontal*d,vertical:o.velocity.vertical*d};h.enable&&u.vertical>=h.maxSpeed&&h.maxSpeed>0&&(u.vertical=h.maxSpeed,o.velocity.vertical=u.vertical/d),o.position.x+=u.horizontal,o.position.y+=u.vertical,s.move.vibrate&&(o.position.x+=Math.sin(o.position.x*Math.cos(o.position.y)),o.position.y+=Math.cos(o.position.y*Math.sin(o.position.x)));const v=o.initialPosition,p=r.getDistance(v,o.position);o.maxDistance&&(p>=o.maxDistance&&!o.misplaced?(o.misplaced=p>o.maxDistance,o.velocity.horizontal=o.velocity.vertical/2-o.velocity.horizontal,o.velocity.vertical=o.velocity.horizontal/2-o.velocity.vertical):p<o.maxDistance&&o.misplaced?o.misplaced=!1:o.misplaced&&((o.position.x<v.x&&o.velocity.horizontal<0||o.position.x>v.x&&o.velocity.horizontal>0)&&(o.velocity.horizontal*=-Math.random()),(o.position.y<v.y&&o.velocity.vertical<0||o.position.y>v.y&&o.velocity.vertical>0)&&(o.velocity.vertical*=-Math.random())))}applyNoise(t){const e=this.particle;if(!e.particlesOptions.move.noise.enable)return;const i=this.container;if(e.lastNoiseTime<=e.noiseDelay)return void(e.lastNoiseTime+=t.value);const o=i.noise.generate(e);e.velocity.horizontal+=Math.cos(o.angle)*o.length,e.velocity.horizontal=r.clamp(e.velocity.horizontal,-1,1),e.velocity.vertical+=Math.sin(o.angle)*o.length,e.velocity.vertical=r.clamp(e.velocity.vertical,-1,1),e.lastNoiseTime-=e.noiseDelay}moveParallax(){const t=this.container,e=t.options;if(S.isSsr()||!e.interactivity.events.onHover.parallax.enable)return;const i=this.particle,o=e.interactivity.events.onHover.parallax.force,s=t.interactivity.mouse.position;if(!s)return;const n=t.canvas.size.width/2,a=t.canvas.size.height/2,r=e.interactivity.events.onHover.parallax.smooth,l=i.getRadius()/o,c=(s.x-n)*l,d=(s.y-a)*l;i.offset.x+=(c-i.offset.x)/r,i.offset.y+=(d-i.offset.y)/r}getProximitySpeedFactor(){const t=this.container,e=t.options;if(!S.isInArray(d.slow,e.interactivity.events.onHover.mode))return 1;const i=this.container.interactivity.mouse.position;if(!i)return 1;const o=this.particle.getPosition(),s=r.getDistance(i,o),n=t.retina.slowModeRadius;if(s>n)return 1;return(s/n||0)/e.interactivity.modes.slow.factor}}class _t{constructor(t,e,i,o){var s,n,l,c,d,h,u,v,p;this.id=t,this.container=e,this.links=[],this.fill=!0,this.close=!0,this.lastNoiseTime=0,this.destroyed=!1,this.misplaced=!1;const y=e.retina.pixelRatio,m=e.options,g=new Vt;g.load(m.particles);const w=g.shape.type,x=g.reduceDuplicates;if(this.shape=w instanceof Array?S.itemFromArray(w,this.id,x):w,null==o?void 0:o.shape){if(o.shape.type){const t=o.shape.type;this.shape=t instanceof Array?S.itemFromArray(t,this.id,x):t}const t=new xt;if(t.load(o.shape),this.shape){const e=t.options[this.shape];e&&(this.shapeData=S.deepExtend({},e instanceof Array?S.itemFromArray(e,this.id,x):e))}}else{const t=g.shape.options[this.shape];t&&(this.shapeData=S.deepExtend({},t instanceof Array?S.itemFromArray(t,this.id,x):t))}void 0!==o&&g.load(o),void 0!==(null===(s=this.shapeData)||void 0===s?void 0:s.particles)&&g.load(null===(n=this.shapeData)||void 0===n?void 0:n.particles),this.fill=null!==(c=null===(l=this.shapeData)||void 0===l?void 0:l.fill)&&void 0!==c?c:this.fill,this.close=null!==(h=null===(d=this.shapeData)||void 0===d?void 0:d.close)&&void 0!==h?h:this.close,this.particlesOptions=g,this.noiseDelay=1e3*r.getValue(this.particlesOptions.move.noise.delay),e.retina.initParticle(this);const k=this.particlesOptions.color,z=this.particlesOptions.size,M=r.getValue(z)*e.retina.pixelRatio,C="boolean"==typeof z.random?z.random:z.random.enable;this.size={value:M},this.direction=this.particlesOptions.move.direction,this.bubble={inRange:!1},this.initialVelocity=this.calculateVelocity(),this.velocity={horizontal:this.initialVelocity.horizontal,vertical:this.initialVelocity.vertical},this.pathAngle=Math.atan2(this.initialVelocity.vertical,this.initialVelocity.horizontal);const R=this.particlesOptions.rotate;this.rotate={value:(R.random.enable?360*Math.random():R.value)*Math.PI/180};let D=R.direction;if(D===a.random){D=Math.floor(2*Math.random())>0?a.counterClockwise:a.clockwise}switch(D){case a.counterClockwise:case"counterClockwise":this.rotate.status=f.decreasing;break;case a.clockwise:this.rotate.status=f.increasing}const T=this.particlesOptions.rotate.animation;T.enable&&(this.rotate.velocity=T.speed/360*e.retina.reduceFactor,T.sync||(this.rotate.velocity*=Math.random()));const I=this.particlesOptions.size.animation;if(I.enable){if(this.size.status=f.increasing,!C)switch(I.startValue){case b.min:this.size.value=I.minimumValue*y;break;case b.random:this.size.value=r.randomInRange(I.minimumValue*y,this.size.value);break;case b.max:default:this.size.status=f.decreasing}this.size.velocity=(null!==(u=this.sizeAnimationSpeed)&&void 0!==u?u:e.retina.sizeAnimationSpeed)/100*e.retina.reduceFactor,I.sync||(this.size.velocity*=Math.random())}this.color={value:P.colorToHsl(k,this.id,x)};const O=this.particlesOptions.color.animation;O.enable&&(this.color.velocity=O.speed/100*e.retina.reduceFactor,O.sync||(this.color.velocity*=Math.random())),this.position=this.calcPosition(this.container,i),this.initialPosition={x:this.position.x,y:this.position.y},this.offset={x:0,y:0};const A=this.particlesOptions.opacity,E="boolean"==typeof A.random?A.random:A.random.enable;this.opacity={value:r.getValue(A)};const F=A.animation;if(F.enable){if(this.opacity.status=f.increasing,!E)switch(F.startValue){case b.min:this.opacity.value=F.minimumValue;break;case b.random:this.opacity.value=r.randomInRange(F.minimumValue,this.opacity.value);break;case b.max:default:this.opacity.status=f.decreasing}this.opacity.velocity=F.speed/100*e.retina.reduceFactor,F.sync||(this.opacity.velocity*=Math.random())}this.sides=24;let H=e.drawers.get(this.shape);H||(H=_.getShapeDrawer(this.shape),H&&e.drawers.set(this.shape,H));const L=null==H?void 0:H.getSidesCount;L&&(this.sides=L(this));const V=this.loadImageShape(e,H);if(V&&(this.image=V.image,this.fill=V.fill,this.close=V.close),this.stroke=this.particlesOptions.stroke instanceof Array?S.itemFromArray(this.particlesOptions.stroke,this.id,x):this.particlesOptions.stroke,this.strokeWidth=this.stroke.width*e.retina.pixelRatio,this.strokeColor={value:null!==(v=P.colorToHsl(this.stroke.color))&&void 0!==v?v:this.color.value},"string"!=typeof this.stroke.color){const t=null===(p=this.stroke.color)||void 0===p?void 0:p.animation;t&&this.strokeColor&&(t.enable?(this.strokeColor.velocity=t.speed/100*e.retina.reduceFactor,t.sync||(this.strokeColor.velocity=this.strokeColor.velocity*Math.random())):this.strokeColor.velocity=0,t.enable&&!t.sync&&this.strokeColor.value&&(this.strokeColor.value.h=360*Math.random()))}const q=g.life;this.lifeDelay=e.retina.reduceFactor?r.getValue(q.delay)*(q.delay.sync?1:Math.random())/e.retina.reduceFactor*1e3:0,this.lifeDelayTime=0,this.lifeDuration=e.retina.reduceFactor?r.getValue(q.duration)*(q.duration.sync?1:Math.random())/e.retina.reduceFactor*1e3:0,this.lifeTime=0,this.livesRemaining=g.life.count,this.spawning=this.lifeDelay>0,this.lifeDuration<=0&&(this.lifeDuration=-1),this.livesRemaining<=0&&(this.livesRemaining=-1),this.shadowColor=P.colorToRgb(this.particlesOptions.shadow.color),this.updater=new it(e,this),this.infecter=new qt(e),this.mover=new Bt(e,this)}move(t){this.mover.move(t)}update(t){this.updater.update(t)}draw(t){this.container.canvas.drawParticle(this,t)}getPosition(){return{x:this.position.x+this.offset.x,y:this.position.y+this.offset.y}}getRadius(){return this.bubble.radius||this.size.value}getFillColor(){var t;return null!==(t=this.bubble.color)&&void 0!==t?t:this.color.value}getStrokeColor(){var t,e;return null!==(e=null!==(t=this.bubble.color)&&void 0!==t?t:this.strokeColor.value)&&void 0!==e?e:this.color.value}destroy(){this.destroyed=!0,this.bubble.inRange=!1,this.links=[]}calcPosition(t,e){var i,o;for(const[,i]of t.plugins){const t=void 0!==i.particlePosition?i.particlePosition(e,this):void 0;if(void 0!==t)return S.deepExtend({},t)}const s={x:null!==(i=null==e?void 0:e.x)&&void 0!==i?i:Math.random()*t.canvas.size.width,y:null!==(o=null==e?void 0:e.y)&&void 0!==o?o:Math.random()*t.canvas.size.height},n=this.particlesOptions.move.outMode;return(S.isInArray(n,u.bounce)||S.isInArray(n,u.bounceHorizontal))&&(s.x>t.canvas.size.width-2*this.size.value?s.x-=this.size.value:s.x<2*this.size.value&&(s.x+=this.size.value)),(S.isInArray(n,u.bounce)||S.isInArray(n,u.bounceVertical))&&(s.y>t.canvas.size.height-2*this.size.value?s.y-=this.size.value:s.y<2*this.size.value&&(s.y+=this.size.value)),s}calculateVelocity(){const t=r.getParticleBaseVelocity(this),e={horizontal:0,vertical:0},i=this.particlesOptions.move;let o,s=Math.PI/4;"number"==typeof i.angle?o=Math.PI/180*i.angle:(o=Math.PI/180*i.angle.value,s=Math.PI/180*i.angle.offset);const n={left:Math.sin(s+o/2)-Math.sin(s-o/2),right:Math.cos(s+o/2)-Math.cos(s-o/2)};return i.straight?(e.horizontal=t.x,e.vertical=t.y,i.random&&(e.horizontal+=r.randomInRange(n.left,n.right)/2,e.vertical+=r.randomInRange(n.left,n.right)/2)):(e.horizontal=t.x+r.randomInRange(n.left,n.right)/2,e.vertical=t.y+r.randomInRange(n.left,n.right)/2),e}loadImageShape(t,e){var i,o,s,n,a;if(this.shape!==g.image&&this.shape!==g.images)return;const r=e.getImages(t).images,l=this.shapeData,c=null!==(i=r.find((t=>t.source===l.src)))&&void 0!==i?i:r[0],d=this.getFillColor();let h;if(!c)return;if(void 0!==c.svgData&&l.replaceColor&&d){const t=P.replaceColorSvg(c,d,this.opacity.value),e=new Blob([t],{type:"image/svg+xml"}),i=URL||window.URL||window.webkitURL||window,s=i.createObjectURL(e),n=new Image;h={data:c,loaded:!1,ratio:l.width/l.height,replaceColor:null!==(o=l.replaceColor)&&void 0!==o?o:l.replace_color,source:l.src},n.addEventListener("load",(()=>{this.image&&(this.image.loaded=!0,c.element=n),i.revokeObjectURL(s)})),n.addEventListener("error",(()=>{i.revokeObjectURL(s),S.loadImage(l.src).then((t=>{this.image&&(c.element=t.element,this.image.loaded=!0)}))})),n.src=s}else h={data:c,loaded:!0,ratio:l.width/l.height,replaceColor:null!==(s=l.replaceColor)&&void 0!==s?s:l.replace_color,source:l.src};h.ratio||(h.ratio=1);return{image:h,fill:null!==(n=l.fill)&&void 0!==n?n:this.fill,close:null!==(a=l.close)&&void 0!==a?a:this.close}}}class Wt{constructor(t){this.container=t}isEnabled(){const t=this.container,e=t.interactivity.mouse,i=t.options.interactivity.events;if(!i.onHover.enable||!e.position)return!1;const o=i.onHover.mode;return S.isInArray(d.grab,o)}reset(){}interact(){var t;const e=this.container,i=e.options.interactivity;if(i.events.onHover.enable&&e.interactivity.status===C.mouseMoveEvent){const o=e.interactivity.mouse.position;if(void 0===o)return;const s=e.retina.grabModeDistance,n=e.particles.quadTree.queryCircle(o,s);for(const a of n){const n=a.getPosition(),l=r.getDistance(n,o);if(l<=s){const n=i.modes.grab.links,r=n.opacity,c=r-l*r/s;if(c>0){const i=null!==(t=n.color)&&void 0!==t?t:a.particlesOptions.links.color;if(!e.particles.grabLineColor){const t=e.options.interactivity.modes.grab.links;e.particles.grabLineColor=P.getLinkRandomColor(i,t.blink,t.consent)}const s=P.getLinkColor(a,void 0,e.particles.grabLineColor);if(void 0===s)return;e.canvas.drawGrabLine(a,s,c,o)}}}}}}class Nt{constructor(t){this.container=t}isEnabled(){const t=this.container,e=t.options,i=t.interactivity.mouse,o=e.interactivity.events,s=o.onDiv,n=S.isDivModeEnabled(c.repulse,s);if(!(n||o.onHover.enable&&i.position||o.onClick.enable&&i.clickPosition))return!1;const a=o.onHover.mode,r=o.onClick.mode;return S.isInArray(d.repulse,a)||S.isInArray(l.repulse,r)||n}reset(){}interact(){const t=this.container,e=t.options,i=t.interactivity.status===C.mouseMoveEvent,o=e.interactivity.events,s=o.onHover.enable,n=o.onHover.mode,a=o.onClick.enable,r=o.onClick.mode,h=o.onDiv;i&&s&&S.isInArray(d.repulse,n)?this.hoverRepulse():a&&S.isInArray(l.repulse,r)?this.clickRepulse():S.divModeExecute(c.repulse,h,((t,e)=>this.singleSelectorRepulse(t,e)))}singleSelectorRepulse(t,e){const i=this.container,o=document.querySelectorAll(t);o.length&&o.forEach((t=>{const o=t,s=i.retina.pixelRatio,n={x:(o.offsetLeft+o.offsetWidth/2)*s,y:(o.offsetTop+o.offsetHeight/2)*s},a=o.offsetWidth/2*s,r=e.type===w.circle?new A(n.x,n.y,a):new E(o.offsetLeft*s,o.offsetTop*s,o.offsetWidth*s,o.offsetHeight*s),l=i.options.interactivity.modes.repulse.divs,c=S.divMode(l,o);this.processRepulse(n,a,r,c)}))}hoverRepulse(){const t=this.container,e=t.interactivity.mouse.position;if(!e)return;const i=t.retina.repulseModeDistance;this.processRepulse(e,i,new A(e.x,e.y,i))}processRepulse(t,e,i,o){var s;const n=this.container,a=n.particles.quadTree.query(i);for(const i of a){const{dx:a,dy:l,distance:c}=r.getDistances(i.position,t),d={x:a/c,y:l/c},h=100*(null!==(s=null==o?void 0:o.speed)&&void 0!==s?s:n.options.interactivity.modes.repulse.speed),u=r.clamp((1-Math.pow(c/e,2))*h,0,50);i.position.x=i.position.x+d.x*u,i.position.y=i.position.y+d.y*u}}clickRepulse(){const t=this.container;if(t.repulse.finish||(t.repulse.count||(t.repulse.count=0),t.repulse.count++,t.repulse.count===t.particles.count&&(t.repulse.finish=!0)),t.repulse.clicking){const e=t.retina.repulseModeDistance,i=Math.pow(e/6,3),o=t.interactivity.mouse.clickPosition;if(void 0===o)return;const s=new A(o.x,o.y,i),n=t.particles.quadTree.query(s);for(const e of n){const{dx:s,dy:n,distance:a}=r.getDistances(o,e.position),l=a*a,c=t.options.interactivity.modes.repulse.speed,d=-i*c/l;if(l<=i){t.repulse.particles.push(e);const i=Math.atan2(n,s);e.velocity.horizontal=d*Math.cos(i),e.velocity.vertical=d*Math.sin(i)}}}else if(!1===t.repulse.clicking){for(const e of t.repulse.particles)e.velocity.horizontal=e.initialVelocity.horizontal,e.velocity.vertical=e.initialVelocity.vertical;t.repulse.particles=[]}}}function jt(t,e,i,o){if(e>i){const s=t+(e-i)*o;return r.clamp(s,t,e)}if(e<i){const s=t-(i-e)*o;return r.clamp(s,e,t)}}class $t{constructor(t){this.container=t}isEnabled(){const t=this.container,e=t.options,i=t.interactivity.mouse,o=e.interactivity.events,s=o.onDiv,n=S.isDivModeEnabled(c.bubble,s);if(!(n||o.onHover.enable&&i.position||o.onClick.enable&&i.clickPosition))return!1;const a=o.onHover.mode,r=o.onClick.mode;return S.isInArray(d.bubble,a)||S.isInArray(l.bubble,r)||n}reset(t,e){t.bubble.inRange&&!e||(delete t.bubble.div,delete t.bubble.opacity,delete t.bubble.radius,delete t.bubble.color)}interact(){const t=this.container.options.interactivity.events,e=t.onHover,i=t.onClick,o=e.enable,s=e.mode,n=i.enable,a=i.mode,r=t.onDiv;o&&S.isInArray(d.bubble,s)?this.hoverBubble():n&&S.isInArray(l.bubble,a)?this.clickBubble():S.divModeExecute(c.bubble,r,((t,e)=>this.singleSelectorHover(t,e)))}singleSelectorHover(t,e){const i=this.container,o=document.querySelectorAll(t);o.length&&o.forEach((t=>{const o=t,s=i.retina.pixelRatio,n={x:(o.offsetLeft+o.offsetWidth/2)*s,y:(o.offsetTop+o.offsetHeight/2)*s},a=o.offsetWidth/2*s,r=e.type===w.circle?new A(n.x,n.y,a):new E(o.offsetLeft*s,o.offsetTop*s,o.offsetWidth*s,o.offsetHeight*s),l=i.particles.quadTree.query(r);for(const t of l){if(!r.contains(t.getPosition()))continue;t.bubble.inRange=!0;const e=i.options.interactivity.modes.bubble.divs,s=S.divMode(e,o);t.bubble.div&&t.bubble.div===o||(this.reset(t,!0),t.bubble.div=o),this.hoverBubbleSize(t,1,s),this.hoverBubbleOpacity(t,1,s),this.hoverBubbleColor(t,s)}}))}process(t,e,i,o){const s=this.container,n=o.bubbleObj.optValue;if(void 0===n)return;const a=s.options.interactivity.modes.bubble.duration,r=s.retina.bubbleModeDistance,l=o.particlesObj.optValue,c=o.bubbleObj.value,d=o.particlesObj.value||0,h=o.type;if(n!==l)if(s.bubble.durationEnd)c&&(h===m.size&&delete t.bubble.radius,h===m.opacity&&delete t.bubble.opacity);else if(e<=r){if((null!=c?c:d)!==n){const e=d-i*(d-n)/a;h===m.size&&(t.bubble.radius=e),h===m.opacity&&(t.bubble.opacity=e)}}else h===m.size&&delete t.bubble.radius,h===m.opacity&&delete t.bubble.opacity}clickBubble(){var t;const e=this.container,i=e.options,o=e.interactivity.mouse.clickPosition;if(void 0===o)return;const s=e.retina.bubbleModeDistance,n=e.particles.quadTree.queryCircle(o,s);for(const s of n){if(!e.bubble.clicking)continue;s.bubble.inRange=!e.bubble.durationEnd;const n=s.getPosition(),a=r.getDistance(n,o),l=((new Date).getTime()-(e.interactivity.mouse.clickTime||0))/1e3;l>i.interactivity.modes.bubble.duration&&(e.bubble.durationEnd=!0),l>2*i.interactivity.modes.bubble.duration&&(e.bubble.clicking=!1,e.bubble.durationEnd=!1);const c={bubbleObj:{optValue:e.retina.bubbleModeSize,value:s.bubble.radius},particlesObj:{optValue:null!==(t=s.sizeValue)&&void 0!==t?t:e.retina.sizeValue,value:s.size.value},type:m.size};this.process(s,a,l,c);const d={bubbleObj:{optValue:i.interactivity.modes.bubble.opacity,value:s.bubble.opacity},particlesObj:{optValue:s.particlesOptions.opacity.value,value:s.opacity.value},type:m.opacity};this.process(s,a,l,d),e.bubble.durationEnd?delete s.bubble.color:a<=e.retina.bubbleModeDistance?this.hoverBubbleColor(s):delete s.bubble.color}}hoverBubble(){const t=this.container,e=t.interactivity.mouse.position;if(void 0===e)return;const i=t.retina.bubbleModeDistance,o=t.particles.quadTree.queryCircle(e,i);for(const s of o){s.bubble.inRange=!0;const o=s.getPosition(),n=r.getDistance(o,e),a=1-n/i;n<=i?a>=0&&t.interactivity.status===C.mouseMoveEvent&&(this.hoverBubbleSize(s,a),this.hoverBubbleOpacity(s,a),this.hoverBubbleColor(s)):this.reset(s),t.interactivity.status===C.mouseLeaveEvent&&this.reset(s)}}hoverBubbleSize(t,e,i){var o;const s=this.container,n=(null==i?void 0:i.size)?i.size*s.retina.pixelRatio:s.retina.bubbleModeSize;if(void 0===n)return;const a=null!==(o=t.sizeValue)&&void 0!==o?o:s.retina.sizeValue,r=jt(t.size.value,n,a,e);void 0!==r&&(t.bubble.radius=r)}hoverBubbleOpacity(t,e,i){var o;const s=this.container.options,n=null!==(o=null==i?void 0:i.opacity)&&void 0!==o?o:s.interactivity.modes.bubble.opacity;if(void 0===n)return;const a=t.particlesOptions.opacity.value,r=jt(t.opacity.value,n,a,e);void 0!==r&&(t.bubble.opacity=r)}hoverBubbleColor(t,e){var i;const o=this.container.options;if(void 0===t.bubble.color){const s=null!==(i=null==e?void 0:e.color)&&void 0!==i?i:o.interactivity.modes.bubble.color;if(void 0===s)return;const n=s instanceof Array?S.itemFromArray(s):s;t.bubble.color=P.colorToHsl(n)}}}class Xt{constructor(t){this.container=t}isEnabled(){const t=this.container,e=t.interactivity.mouse,i=t.options.interactivity.events;if(!i.onHover.enable||!e.position)return!1;const o=i.onHover.mode;return S.isInArray(d.connect,o)}reset(){}interact(){const t=this.container;if(t.options.interactivity.events.onHover.enable&&"mousemove"===t.interactivity.status){const e=t.interactivity.mouse.position;if(!e)return;const i=Math.abs(t.retina.connectModeRadius),o=t.particles.quadTree.queryCircle(e,i);let s=0;for(const e of o){const i=e.getPosition();for(const n of o.slice(s+1)){const o=n.getPosition(),s=Math.abs(t.retina.connectModeDistance),a=Math.abs(i.x-o.x),r=Math.abs(i.y-o.y);a<s&&r<s&&t.canvas.drawConnectLine(e,n)}++s}}}}class Yt{constructor(t){this.container=t}isEnabled(t){return t.particlesOptions.links.enable}reset(){}interact(t){var e;const i=this.container,o=t.particlesOptions.links,s=o.opacity,n=null!==(e=t.linksDistance)&&void 0!==e?e:i.retina.linksDistance,a=i.canvas.size,l=o.warp,c=t.getPosition(),d=l?new F(c.x,c.y,n,a):new A(c.x,c.y,n),h=i.particles.quadTree.query(d);for(const e of h){const d=e.particlesOptions.links;if(t===e||!d.enable||o.id!==d.id||e.spawning||e.destroyed)continue;const h=e.getPosition();let u=r.getDistance(c,h);if(l&&u>n){const t={x:h.x-a.width,y:h.y};if(u=r.getDistance(c,t),u>n){const t={x:h.x-a.width,y:h.y-a.height};if(u=r.getDistance(c,t),u>n){const t={x:h.x,y:h.y-a.height};u=r.getDistance(c,t)}}}if(u>n)return;const v=(1-u/n)*s,p=t.particlesOptions.links;let f=void 0!==p.id?i.particles.linksColors.get(p.id):i.particles.linksColor;if(!f){const t=p.color;f=P.getLinkRandomColor(t,p.blink,p.consent),void 0!==p.id?i.particles.linksColors.set(p.id,f):i.particles.linksColor=f}-1===e.links.map((t=>t.destination)).indexOf(t)&&-1===t.links.map((t=>t.destination)).indexOf(e)&&t.links.push({destination:e,opacity:v})}}}class Ut{constructor(t){this.container=t}interact(t){var e;const i=this.container,o=null!==(e=t.linksDistance)&&void 0!==e?e:i.retina.linksDistance,s=t.getPosition(),n=i.particles.quadTree.queryCircle(s,o);for(const e of n){if(t===e||!e.particlesOptions.move.attract.enable||e.destroyed||e.spawning)continue;const i=e.getPosition(),{dx:o,dy:n}=r.getDistances(s,i),a=t.particlesOptions.move.attract.rotate,l=o/(1e3*a.x),c=n/(1e3*a.y);t.velocity.horizontal-=l,t.velocity.vertical-=c,e.velocity.horizontal+=l,e.velocity.vertical+=c}}isEnabled(t){return t.particlesOptions.move.attract.enable}reset(){}}class Jt{constructor(t){this.container=t}isEnabled(t){return t.particlesOptions.collisions.enable}reset(){}interact(t){const e=this.container,i=t.getPosition(),o=e.particles.quadTree.queryCircle(i,2*t.getRadius());for(const e of o){if(t===e||!e.particlesOptions.collisions.enable||t.particlesOptions.collisions.mode!==e.particlesOptions.collisions.mode||e.destroyed||e.spawning)continue;const o=e.getPosition();r.getDistance(i,o)<=t.getRadius()+e.getRadius()&&this.resolveCollision(t,e)}}resolveCollision(t,e){switch(t.particlesOptions.collisions.mode){case h.absorb:this.absorb(t,e);break;case h.bounce:!function(t,e){S.circleBounce(S.circleBounceDataFromParticle(t),S.circleBounceDataFromParticle(e))}(t,e);break;case h.destroy:!function(t,e){void 0===t.getRadius()&&void 0!==e.getRadius()?t.destroy():void 0!==t.getRadius()&&void 0===e.getRadius()?e.destroy():void 0!==t.getRadius()&&void 0!==e.getRadius()&&(t.getRadius()>=e.getRadius()?e.destroy():t.destroy())}(t,e)}}absorb(t,e){const i=this.container,o=i.options.fpsLimit/1e3;if(void 0===t.getRadius()&&void 0!==e.getRadius())t.destroy();else if(void 0!==t.getRadius()&&void 0===e.getRadius())e.destroy();else if(void 0!==t.getRadius()&&void 0!==e.getRadius())if(t.getRadius()>=e.getRadius()){const s=r.clamp(t.getRadius()/e.getRadius(),0,e.getRadius())*o;t.size.value+=s,e.size.value-=s,e.getRadius()<=i.retina.pixelRatio&&(e.size.value=0,e.destroy())}else{const s=r.clamp(e.getRadius()/t.getRadius(),0,t.getRadius())*o;t.size.value-=s,e.size.value+=s,t.getRadius()<=i.retina.pixelRatio&&(t.size.value=0,t.destroy())}}}class Gt{constructor(t){this.container=t}isEnabled(){return this.container.options.infection.enable}reset(){}interact(t,e){var i,o;const s=t.infecter;if(s.updateInfection(e.value),void 0===s.infectionStage)return;const n=this.container,a=n.options.infection;if(!a.enable||a.stages.length<1)return;const r=a.stages[s.infectionStage],l=n.retina.pixelRatio,c=2*t.getRadius()+r.radius*l,d=t.getPosition(),h=null!==(i=r.infectedStage)&&void 0!==i?i:s.infectionStage,u=n.particles.quadTree.queryCircle(d,c),v=r.rate,p=u.length;for(const e of u){if(e===t||e.destroyed||e.spawning||void 0!==e.infecter.infectionStage&&e.infecter.infectionStage===s.infectionStage)continue;const i=e.infecter;if(Math.random()<v/p)if(void 0===i.infectionStage)i.startInfection(h);else if(i.infectionStage<s.infectionStage)i.updateInfectionStage(h);else if(i.infectionStage>s.infectionStage){const t=a.stages[i.infectionStage],e=null!==(o=null==t?void 0:t.infectedStage)&&void 0!==o?o:i.infectionStage;s.updateInfectionStage(e)}}}}class Qt{constructor(t){this.container=t,this.delay=0}interact(t){if(!this.container.retina.reduceFactor)return;const e=this.container,i=e.options.interactivity.modes.trail,o=1e3*i.delay/this.container.retina.reduceFactor;this.delay<o&&(this.delay+=t.value),this.delay>=o&&(e.particles.push(i.quantity,e.interactivity.mouse,i.particles),this.delay-=o)}isEnabled(){const t=this.container,e=t.options,i=t.interactivity.mouse,o=e.interactivity.events;return i.clicking&&i.inside&&!!i.position&&S.isInArray(l.trail,o.onClick.mode)||i.inside&&!!i.position&&S.isInArray(d.trail,o.onHover.mode)}reset(){}}class Kt{constructor(t){this.container=t}isEnabled(){const t=this.container,e=t.options,i=t.interactivity.mouse,o=e.interactivity.events;if(!(o.onHover.enable&&i.position||o.onClick.enable&&i.clickPosition))return!1;const s=o.onHover.mode,n=o.onClick.mode;return S.isInArray(d.attract,s)||S.isInArray(l.attract,n)}reset(){}interact(){const t=this.container,e=t.options,i=t.interactivity.status===C.mouseMoveEvent,o=e.interactivity.events,s=o.onHover.enable,n=o.onHover.mode,a=o.onClick.enable,r=o.onClick.mode;i&&s&&S.isInArray(d.attract,n)?this.hoverAttract():a&&S.isInArray(l.attract,r)&&this.clickAttract()}hoverAttract(){const t=this.container,e=t.interactivity.mouse.position;if(!e)return;const i=t.retina.attractModeDistance;this.processAttract(e,i,new A(e.x,e.y,i))}processAttract(t,e,i){const o=this.container,s=o.particles.quadTree.query(i);for(const i of s){const{dx:s,dy:n,distance:a}=r.getDistances(i.position,t),l={x:s/a,y:n/a},c=o.options.interactivity.modes.attract.speed,d=r.clamp((1-Math.pow(a/e,2))*c,0,50);i.position.x=i.position.x-l.x*d,i.position.y=i.position.y-l.y*d}}clickAttract(){const t=this.container;if(t.attract.finish||(t.attract.count||(t.attract.count=0),t.attract.count++,t.attract.count===t.particles.count&&(t.attract.finish=!0)),t.attract.clicking){const e=t.interactivity.mouse.clickPosition;if(!e)return;const i=t.retina.attractModeDistance;this.processAttract(e,i,new A(e.x,e.y,i))}else!1===t.attract.clicking&&(t.attract.particles=[])}}class Zt{constructor(t){this.container=t}interact(t){const e=this.container;if(e.options.interactivity.events.onHover.enable&&"mousemove"===e.interactivity.status){const i=this.container.interactivity.mouse.position;i&&e.canvas.drawParticleShadow(t,i)}}isEnabled(){const t=this.container,e=t.interactivity.mouse,i=t.options.interactivity.events;if(!i.onHover.enable||!e.position)return!1;const o=i.onHover.mode;return S.isInArray(d.light,o)}reset(){}}class te{constructor(t){this.container=t}interact(){const t=this.container;if(t.options.interactivity.events.onHover.enable&&"mousemove"===t.interactivity.status){const e=t.interactivity.mouse.position;if(!e)return;t.canvas.drawLight(e)}}isEnabled(){const t=this.container,e=t.interactivity.mouse,i=t.options.interactivity.events;if(!i.onHover.enable||!e.position)return!1;const o=i.onHover.mode;return S.isInArray(d.light,o)}reset(){}}class ee{constructor(t){this.container=t}isEnabled(){const t=this.container,e=t.options,i=t.interactivity.mouse,o=e.interactivity.events,s=o.onDiv;return i.position&&o.onHover.enable&&S.isInArray(d.bounce,o.onHover.mode)||S.isDivModeEnabled(c.bounce,s)}interact(){const t=this.container,e=t.options.interactivity.events,i=t.interactivity.status===C.mouseMoveEvent,o=e.onHover.enable,s=e.onHover.mode,n=e.onDiv;i&&o&&S.isInArray(d.bounce,s)?this.processMouseBounce():S.divModeExecute(c.bounce,n,((t,e)=>this.singleSelectorBounce(t,e)))}reset(){}processMouseBounce(){const t=this.container,e=10*t.retina.pixelRatio,i=t.interactivity.mouse.position,o=t.retina.bounceModeDistance;i&&this.processBounce(i,o,new A(i.x,i.y,o+e))}singleSelectorBounce(t,e){const i=this.container,o=document.querySelectorAll(t);o.length&&o.forEach((t=>{const o=t,s=i.retina.pixelRatio,n={x:(o.offsetLeft+o.offsetWidth/2)*s,y:(o.offsetTop+o.offsetHeight/2)*s},a=o.offsetWidth/2*s,r=10*s,l=e.type===w.circle?new A(n.x,n.y,a+r):new E(o.offsetLeft*s-r,o.offsetTop*s-r,o.offsetWidth*s+2*r,o.offsetHeight*s+2*r);this.processBounce(n,a,l)}))}processBounce(t,e,i){const o=this.container.particles.quadTree.query(i);for(const s of o)i instanceof A?S.circleBounce(S.circleBounceDataFromParticle(s),{position:t,radius:e,velocity:{horizontal:0,vertical:0},factor:{horizontal:0,vertical:0}}):i instanceof E&&S.rectBounce(s,S.calculateBounds(t,e))}}class ie{constructor(t){this.container=t,this.externalInteractors=[new ee(t),new $t(t),new Xt(t),new Wt(t),new te(t),new Kt(t),new Nt(t),new Qt(t)],this.particleInteractors=[new Ut(t),new Zt(t),new Jt(t),new Gt(t),new Yt(t)]}init(){}externalInteract(t){for(const e of this.externalInteractors)e.isEnabled()&&e.interact(t)}particlesInteract(t,e){for(const e of this.externalInteractors)e.reset(t);for(const i of this.particleInteractors)i.isEnabled(t)&&i.interact(t,e)}}class oe{constructor(t){this.container=t,this.nextId=0,this.array=[],this.limit=0,this.linksFreq=new Map,this.trianglesFreq=new Map,this.interactionManager=new ie(t);const e=this.container.canvas.size;this.linksColors=new Map,this.quadTree=new N(new E(-e.width/4,-e.height/4,3*e.width/2,3*e.height/2),4)}get count(){return this.array.length}init(){const t=this.container,e=t.options;this.linksFreq=new Map,this.trianglesFreq=new Map;let i=!1;for(const i of e.manualParticles){const e=i.position?{x:i.position.x*t.canvas.size.width/100,y:i.position.y*t.canvas.size.height/100}:void 0;this.addParticle(e,i.options)}for(const[,e]of t.plugins)if(void 0!==e.particlesInitialization&&(i=e.particlesInitialization()),i)break;if(!i)for(let t=this.count;t<e.particles.number.value;t++)this.addParticle();if(e.infection.enable)for(let t=0;t<e.infection.infections;t++){const t=this.array.filter((t=>void 0===t.infecter.infectionStage));S.itemFromArray(t).infecter.startInfection(0)}this.interactionManager.init(),t.noise.init()}redraw(){this.clear(),this.init(),this.draw({value:0,factor:0})}removeAt(t,e){if(t>=0&&t<=this.count)for(const i of this.array.splice(t,null!=e?e:1))i.destroy()}remove(t){this.removeAt(this.array.indexOf(t))}update(t){const e=[];this.container.noise.update();for(const i of this.array)i.move(t),i.destroyed?e.push(i):this.quadTree.insert(new W(i.getPosition(),i));for(const t of e)this.remove(t);this.interactionManager.externalInteract(t);for(const e of this.container.particles.array)e.update(t),e.destroyed||e.spawning||this.interactionManager.particlesInteract(e,t)}draw(t){const e=this.container;e.canvas.clear();const i=this.container.canvas.size;this.quadTree=new N(new E(-i.width/4,-i.height/4,3*i.width/2,3*i.height/2),4),this.update(t);for(const[,i]of e.plugins)e.canvas.drawPlugin(i,t);for(const e of this.array)e.draw(t)}clear(){this.array=[]}push(t,e,i){const o=this.container,s=o.options.particles.number.limit*o.density;if(this.pushing=!0,s>0){const e=this.count+t-s;e>0&&this.removeQuantity(e)}for(let o=0;o<t;o++)this.addParticle(null==e?void 0:e.position,i);this.pushing=!1}addParticle(t,e){try{const i=new _t(this.nextId,this.container,t,e);return this.array.push(i),this.nextId++,i}catch(t){return void console.warn("error adding particle")}}removeQuantity(t){this.removeAt(0,t)}getLinkFrequency(t,e){const i=`${Math.min(t.id,e.id)}_${Math.max(t.id,e.id)}`;let o=this.linksFreq.get(i);return void 0===o&&(o=Math.random(),this.linksFreq.set(i,o)),o}getTriangleFrequency(t,e,i){let[o,s,n]=[t.id,e.id,i.id];o>s&&([s,o]=[o,s]),s>n&&([n,s]=[s,n]),o>n&&([n,o]=[o,n]);const a=`${o}_${s}_${n}`;let r=this.trianglesFreq.get(a);return void 0===r&&(r=Math.random(),this.trianglesFreq.set(a,r)),r}setDensity(){const t=this.container.options;this.applyDensity(t.particles)}applyDensity(t){var e;if(!(null===(e=t.number.density)||void 0===e?void 0:e.enable))return;const i=t.number,o=this.initDensityFactor(i.density),s=i.value,n=i.limit>0?i.limit:s,a=Math.min(s,n)*o,r=this.count;this.limit=i.limit*o,r<a?this.push(Math.abs(a-r),void 0,t):r>a&&this.removeQuantity(r-a)}initDensityFactor(t){const e=this.container;if(!e.canvas.element||!t.enable)return 1;const i=e.canvas.element,o=e.retina.pixelRatio;return i.width*i.height/(t.factor*o*o*t.area)}}class se{constructor(t){this.container=t}init(){const t=this.container,e=t.options;e.detectRetina?this.pixelRatio=S.isSsr()?1:window.devicePixelRatio:this.pixelRatio=1;const i=this.container.options.motion;if(i&&(i.disable||i.reduce.value))if(S.isSsr()||"undefined"==typeof matchMedia||!matchMedia)this.reduceFactor=1;else{const e=matchMedia("(prefers-reduced-motion: reduce)");if(e){this.handleMotionChange(e);const i=()=>{this.handleMotionChange(e),t.refresh().catch((()=>{}))};void 0!==e.addEventListener?e.addEventListener("change",i):void 0!==e.addListener&&e.addListener(i)}}else this.reduceFactor=1;const o=this.pixelRatio;if(t.canvas.element){const e=t.canvas.element;t.canvas.size.width=e.offsetWidth*o,t.canvas.size.height=e.offsetHeight*o}const s=e.particles;this.linksDistance=s.links.distance*o,this.linksWidth=s.links.width*o,this.moveSpeed=s.move.speed*o,this.sizeValue=s.size.value*o,this.sizeAnimationSpeed=s.size.animation.speed*o;const n=e.interactivity.modes;this.connectModeDistance=n.connect.distance*o,this.connectModeRadius=n.connect.radius*o,this.grabModeDistance=n.grab.distance*o,this.repulseModeDistance=n.repulse.distance*o,this.bounceModeDistance=n.bounce.distance*o,this.attractModeDistance=n.attract.distance*o,this.slowModeRadius=n.slow.radius*o,this.bubbleModeDistance=n.bubble.distance*o,n.bubble.size&&(this.bubbleModeSize=n.bubble.size*o)}initParticle(t){const e=t.particlesOptions,i=this.pixelRatio;t.linksDistance=e.links.distance*i,t.linksWidth=e.links.width*i,t.moveSpeed=e.move.speed*i,t.sizeValue=e.size.value*i,t.sizeAnimationSpeed=e.size.animation.speed*i,t.maxDistance=e.move.distance*i}handleMotionChange(t){const e=this.container.options;if(t.matches){const t=e.motion;this.reduceFactor=t.disable?0:t.reduce.value?1/t.reduce.factor:1}else this.reduceFactor=1}}class ne{constructor(t){this.container=t}nextFrame(t){try{const e=this.container;if(void 0!==e.lastFrameTime&&t<e.lastFrameTime+1e3/e.fpsLimit)return void e.draw();const i=t-e.lastFrameTime,o={value:i,factor:60*i/1e3};e.lastFrameTime=t,e.particles.draw(o),e.getAnimationStatus()&&e.draw()}catch(t){console.error("tsParticles error in animation loop",t)}}}class ae{constructor(){this.enable=!1,this.mode=[]}load(t){void 0!==t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode))}}class re{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=w.circle}get elementId(){return this.ids}set elementId(t){this.ids=t}get el(){return this.elementId}set el(t){this.elementId=t}get ids(){return this.selectors instanceof Array?this.selectors.map((t=>t.replace("#",""))):this.selectors.replace("#","")}set ids(t){this.selectors=t instanceof Array?t.map((t=>"#"+t)):"#"+t}load(t){var e,i;if(void 0===t)return;const o=null!==(i=null!==(e=t.ids)&&void 0!==e?e:t.elementId)&&void 0!==i?i:t.el;void 0!==o&&(this.ids=o),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 le{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(t){void 0!==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 ce{constructor(){this.enable=!1,this.mode=[],this.parallax=new le}load(t){void 0!==t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),this.parallax.load(t.parallax))}}class de{constructor(){this.onClick=new ae,this.onDiv=new re,this.onHover=new ce,this.resize=!0}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 e,i,o;if(void 0===t)return;this.onClick.load(null!==(e=t.onClick)&&void 0!==e?e:t.onclick);const s=null!==(i=t.onDiv)&&void 0!==i?i:t.ondiv;void 0!==s&&(s instanceof Array?this.onDiv=s.map((t=>{const e=new re;return e.load(t),e})):(this.onDiv=new re,this.onDiv.load(s))),this.onHover.load(null!==(o=t.onHover)&&void 0!==o?o:t.onhover),void 0!==t.resize&&(this.resize=t.resize)}}class he{constructor(){this.distance=200,this.duration=.4}load(t){void 0!==t&&(void 0!==t.distance&&(this.distance=t.distance),void 0!==t.duration&&(this.duration=t.duration),void 0!==t.opacity&&(this.opacity=t.opacity),void 0!==t.color&&(t.color instanceof Array?this.color=t.color.map((t=>ot.create(void 0,t))):(this.color instanceof Array&&(this.color=new ot),this.color=ot.create(this.color,t.color))),void 0!==t.size&&(this.size=t.size))}}class ue extends he{constructor(){super(),this.selectors=[]}get ids(){return this.selectors instanceof Array?this.selectors.map((t=>t.replace("#",""))):this.selectors.replace("#","")}set ids(t){this.selectors=t instanceof Array?t.map((t=>"#"+t)):"#"+t}load(t){super.load(t),void 0!==t&&(void 0!==t.ids&&(this.ids=t.ids),void 0!==t.selectors&&(this.selectors=t.selectors))}}class ve extends he{load(t){super.load(t),void 0!==t&&void 0!==t.divs&&(t.divs instanceof Array?this.divs=t.divs.map((t=>{const e=new ue;return e.load(t),e})):((this.divs instanceof Array||!this.divs)&&(this.divs=new ue),this.divs.load(t.divs)))}}class pe{constructor(){this.opacity=.5}load(t){void 0!==t&&void 0!==t.opacity&&(this.opacity=t.opacity)}}class fe{constructor(){this.distance=80,this.links=new pe,this.radius=60}get line_linked(){return this.links}set line_linked(t){this.links=t}get lineLinked(){return this.links}set lineLinked(t){this.links=t}load(t){var e,i;void 0!==t&&(void 0!==t.distance&&(this.distance=t.distance),this.links.load(null!==(i=null!==(e=t.links)&&void 0!==e?e:t.lineLinked)&&void 0!==i?i:t.line_linked),void 0!==t.radius&&(this.radius=t.radius))}}class ye{constructor(){this.blink=!1,this.consent=!1,this.opacity=1}load(t){void 0!==t&&(void 0!==t.blink&&(this.blink=t.blink),void 0!==t.color&&(this.color=ot.create(this.color,t.color)),void 0!==t.consent&&(this.consent=t.consent),void 0!==t.opacity&&(this.opacity=t.opacity))}}class me{constructor(){this.distance=100,this.links=new ye}get line_linked(){return this.links}set line_linked(t){this.links=t}get lineLinked(){return this.links}set lineLinked(t){this.links=t}load(t){var e,i;void 0!==t&&(void 0!==t.distance&&(this.distance=t.distance),this.links.load(null!==(i=null!==(e=t.links)&&void 0!==e?e:t.lineLinked)&&void 0!==i?i:t.line_linked))}}class ge{constructor(){this.quantity=2}get particles_nb(){return this.quantity}set particles_nb(t){this.quantity=t}load(t){var e;if(void 0===t)return;const i=null!==(e=t.quantity)&&void 0!==e?e:t.particles_nb;void 0!==i&&(this.quantity=i)}}class be{constructor(){this.quantity=4}get particles_nb(){return this.quantity}set particles_nb(t){this.quantity=t}load(t){var e;if(void 0===t)return;const i=null!==(e=t.quantity)&&void 0!==e?e:t.particles_nb;void 0!==i&&(this.quantity=i)}}class we{constructor(){this.distance=200,this.duration=.4,this.speed=1}load(t){void 0!==t&&(void 0!==t.distance&&(this.distance=t.distance),void 0!==t.duration&&(this.duration=t.duration),void 0!==t.speed&&(this.speed=t.speed))}}class xe extends we{constructor(){super(),this.selectors=[]}get ids(){return this.selectors instanceof Array?this.selectors.map((t=>t.replace("#",""))):this.selectors.replace("#","")}set ids(t){this.selectors=t instanceof Array?t.map((()=>"#"+t)):"#"+t}load(t){super.load(t),void 0!==t&&(void 0!==t.ids&&(this.ids=t.ids),void 0!==t.selectors&&(this.selectors=t.selectors))}}class ke extends we{load(t){super.load(t),void 0!==(null==t?void 0:t.divs)&&(t.divs instanceof Array?this.divs=t.divs.map((t=>{const e=new xe;return e.load(t),e})):((this.divs instanceof Array||!this.divs)&&(this.divs=new xe),this.divs.load(t.divs)))}}class ze{constructor(){this.factor=3,this.radius=200}get active(){return!1}set active(t){}load(t){void 0!==t&&(void 0!==t.factor&&(this.factor=t.factor),void 0!==t.radius&&(this.radius=t.radius))}}class Me{constructor(){this.delay=1,this.quantity=1}load(t){void 0!==t&&(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.quantity&&(this.quantity=t.quantity),void 0!==t.particles&&(this.particles=S.deepExtend({},t.particles)))}}class Se{constructor(){this.distance=200,this.duration=.4,this.speed=1}load(t){void 0!==t&&(void 0!==t.distance&&(this.distance=t.distance),void 0!==t.duration&&(this.duration=t.duration),void 0!==t.speed&&(this.speed=t.speed))}}class Ce{constructor(){this.start=new ot,this.stop=new ot,this.start.value="#ffffff",this.stop.value="#000000"}load(t){void 0!==t&&(this.start=ot.create(this.start,t.start),this.stop=ot.create(this.stop,t.stop))}}class Re{constructor(){this.gradient=new Ce,this.radius=1e3}load(t){void 0!==t&&(this.gradient.load(t.gradient),void 0!==t.radius&&(this.radius=t.radius))}}class De{constructor(){this.color=new ot,this.color.value="#000000",this.length=2e3}load(t){void 0!==t&&(this.color=ot.create(this.color,t.color),void 0!==t.length&&(this.length=t.length))}}class Pe{constructor(){this.area=new Re,this.shadow=new De}load(t){void 0!==t&&(this.area.load(t.area),this.shadow.load(t.shadow))}}class Te{constructor(){this.distance=200}load(t){t&&void 0!==t.distance&&(this.distance=t.distance)}}class Ie{constructor(){this.attract=new Se,this.bounce=new Te,this.bubble=new ve,this.connect=new fe,this.grab=new me,this.light=new Pe,this.push=new be,this.remove=new ge,this.repulse=new ke,this.slow=new ze,this.trail=new Me}load(t){void 0!==t&&(this.attract.load(t.attract),this.bubble.load(t.bubble),this.connect.load(t.connect),this.grab.load(t.grab),this.light.load(t.light),this.push.load(t.push),this.remove.load(t.remove),this.repulse.load(t.repulse),this.slow.load(t.slow),this.trail.load(t.trail))}}class Oe{constructor(){this.detectsOn=x.canvas,this.events=new de,this.modes=new Ie}get detect_on(){return this.detectsOn}set detect_on(t){this.detectsOn=t}load(t){var e,i,o;if(void 0===t)return;const s=null!==(e=t.detectsOn)&&void 0!==e?e:t.detect_on;void 0!==s&&(this.detectsOn=s),this.events.load(t.events),this.modes.load(t.modes),!0===(null===(o=null===(i=t.modes)||void 0===i?void 0:i.slow)||void 0===o?void 0:o.active)&&(this.events.onHover.mode instanceof Array?this.events.onHover.mode.indexOf(d.slow)<0&&this.events.onHover.mode.push(d.slow):this.events.onHover.mode!==d.slow&&(this.events.onHover.mode=[this.events.onHover.mode,d.slow]))}}class Ae{constructor(){this.color=new ot,this.opacity=1}load(t){void 0!==t&&(void 0!==t.color&&(this.color=ot.create(this.color,t.color)),void 0!==t.opacity&&(this.opacity=t.opacity))}}class Ee{constructor(){this.composite="destination-out",this.cover=new Ae,this.enable=!1}load(t){if(void 0!==t){if(void 0!==t.composite&&(this.composite=t.composite),void 0!==t.cover){const e=t.cover,i="string"==typeof t.cover?{color:t.cover}:t.cover;this.cover.load(void 0!==e.color?e:{color:i})}void 0!==t.enable&&(this.enable=t.enable)}}}class Fe{constructor(){this.color=new ot,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){void 0!==t&&(void 0!==t.color&&(this.color=ot.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 He{constructor(){this.color=new ot,this.color.value="#ff0000",this.radius=0,this.rate=1}load(t){void 0!==t&&(void 0!==t.color&&(this.color=ot.create(this.color,t.color)),this.duration=t.duration,this.infectedStage=t.infectedStage,void 0!==t.radius&&(this.radius=t.radius),void 0!==t.rate&&(this.rate=t.rate))}}class Le{constructor(){this.cure=!1,this.delay=0,this.enable=!1,this.infections=0,this.stages=[]}load(t){void 0!==t&&(void 0!==t.cure&&(this.cure=t.cure),void 0!==t.delay&&(this.delay=t.delay),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.infections&&(this.infections=t.infections),void 0!==t.stages&&(this.stages=t.stages.map((t=>{const e=new He;return e.load(t),e}))))}}class Ve{constructor(){this.mode=p.any,this.value=!1}load(t){void 0!==t&&(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}class qe{constructor(){this.name="",this.default=new Ve}load(t){void 0!==t&&(void 0!==t.name&&(this.name=t.name),this.default.load(t.default),void 0!==t.options&&(this.options=S.deepExtend({},t.options)))}}class Be{constructor(){this.enable=!1,this.zIndex=-1}load(t){t&&(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}}class _e{constructor(){this.factor=4,this.value=!1}load(t){t&&(void 0!==t.factor&&(this.factor=t.factor),void 0!==t.value&&(this.value=t.value))}}class We{constructor(){this.disable=!1,this.reduce=new _e}load(t){t&&(void 0!==t.disable&&(this.disable=t.disable),this.reduce.load(t.reduce))}}class Ne{load(t){var e,i;t&&(void 0!==t.position&&(this.position={x:null!==(e=t.position.x)&&void 0!==e?e:50,y:null!==(i=t.position.y)&&void 0!==i?i:50}),void 0!==t.options&&(this.options=S.deepExtend({},t.options)))}}class je{constructor(){this.autoPlay=!0,this.background=new Fe,this.backgroundMask=new Ee,this.backgroundMode=new Be,this.detectRetina=!0,this.fpsLimit=30,this.infection=new Le,this.interactivity=new Oe,this.manualParticles=[],this.motion=new We,this.particles=new Vt,this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!1,this.themes=[]}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 e,i;if(void 0===t)return;if(void 0!==t.preset)if(t.preset instanceof Array)for(const e of t.preset)this.importPreset(e);else this.importPreset(t.preset);void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay);const o=null!==(e=t.detectRetina)&&void 0!==e?e:t.retina_detect;void 0!==o&&(this.detectRetina=o);const s=null!==(i=t.fpsLimit)&&void 0!==i?i:t.fps_limit;if(void 0!==s&&(this.fpsLimit=s),void 0!==t.pauseOnBlur&&(this.pauseOnBlur=t.pauseOnBlur),void 0!==t.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=t.pauseOnOutsideViewport),this.background.load(t.background),this.backgroundMode.load(t.backgroundMode),this.backgroundMask.load(t.backgroundMask),this.infection.load(t.infection),this.interactivity.load(t.interactivity),void 0!==t.manualParticles&&(this.manualParticles=t.manualParticles.map((t=>{const e=new Ne;return e.load(t),e}))),this.motion.load(t.motion),this.particles.load(t.particles),_.loadOptions(this,t),void 0!==t.themes)for(const e of t.themes){const t=new qe;t.load(e),this.themes.push(t)}}setTheme(t){if(t){const e=this.themes.find((e=>e.name===t));e&&this.load(e.options)}else{const t="undefined"!=typeof matchMedia&&matchMedia("(prefers-color-scheme: dark)").matches;let e=this.themes.find((e=>e.default.value&&(e.default.mode===p.dark&&t||e.default.mode===p.light&&!t)));e||(e=this.themes.find((t=>t.default.value&&t.default.mode===p.any))),e&&this.load(e.options)}}importPreset(t){this.load(_.getPreset(t))}}var $e=function(t,e,i,o){return new(i||(i=Promise))((function(s,n){function a(t){try{l(o.next(t))}catch(t){n(t)}}function r(t){try{l(o.throw(t))}catch(t){n(t)}}function l(t){var e;t.done?s(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(a,r)}l((o=o.apply(t,e||[])).next())}))};class Xe{constructor(t,e,...i){this.id=t,this.sourceOptions=e,this.firstStart=!0,this.started=!1,this.destroyed=!1,this.paused=!0,this.lastFrameTime=0,this.pageHidden=!1,this.retina=new se(this),this.canvas=new tt(this),this.particles=new oe(this),this.drawer=new ne(this),this.noise={generate:()=>({angle:Math.random()*Math.PI*2,length:Math.random()}),init:()=>{},update:()=>{}},this.interactivity={mouse:{clicking:!1,inside:!1}},this.bubble={},this.repulse={particles:[]},this.attract={particles:[]},this.plugins=new Map,this.drawers=new Map,this.density=1,this.options=new je;for(const t of i)this.options.load(_.getPreset(t));const o=_.getSupportedShapes();for(const t of o){const e=_.getShapeDrawer(t);e&&this.drawers.set(t,e)}this.sourceOptions&&this.options.load(this.sourceOptions),this.fpsLimit=this.options.fpsLimit>0?this.options.fpsLimit:60,this.options.setTheme(void 0),this.eventListeners=new L(this),"undefined"!=typeof IntersectionObserver&&IntersectionObserver&&(this.intersectionObserver=new IntersectionObserver((t=>this.intersectionManager(t))))}play(t){const e=this.paused||t;if(!this.firstStart||this.options.autoPlay){if(this.paused&&(this.paused=!1),e){for(const[,t]of this.plugins)t.play&&t.play();this.lastFrameTime=performance.now()}this.draw()}else this.firstStart=!1}pause(){if(void 0!==this.drawAnimationFrame&&(S.cancelAnimation(this.drawAnimationFrame),delete this.drawAnimationFrame),!this.paused){for(const[,t]of this.plugins)t.pause&&t.pause();this.pageHidden||(this.paused=!0)}}draw(){this.drawAnimationFrame=S.animate((t=>this.drawer.nextFrame(t)))}getAnimationStatus(){return!this.paused}setNoise(t,e,i){t&&("function"==typeof t?(this.noise.generate=t,e&&(this.noise.init=e),i&&(this.noise.update=i)):(t.generate&&(this.noise.generate=t.generate),t.init&&(this.noise.init=t.init),t.update&&(this.noise.update=t.update)))}destroy(){this.stop(),this.canvas.destroy();for(const[,t]of this.drawers)t.destroy&&t.destroy(this);for(const t of this.drawers.keys())this.drawers.delete(t);this.destroyed=!0}exportImg(t){this.exportImage(t)}exportImage(t,e,i){var o;return null===(o=this.canvas.element)||void 0===o?void 0:o.toBlob(t,null!=e?e:"image/png",i)}exportConfiguration(){return JSON.stringify(this.options,void 0,2)}refresh(){return $e(this,void 0,void 0,(function*(){this.stop(),yield this.start()}))}stop(){if(this.started){this.firstStart=!0,this.started=!1,this.eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.clear(),this.interactivity.element instanceof HTMLElement&&this.intersectionObserver&&this.intersectionObserver.observe(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.particles.linksColors=new Map,delete this.particles.grabLineColor,delete this.particles.linksColor}}loadTheme(t){return $e(this,void 0,void 0,(function*(){this.options.setTheme(t),yield this.refresh()}))}start(){return $e(this,void 0,void 0,(function*(){if(!this.started){yield this.init(),this.started=!0,this.eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this.intersectionObserver&&this.intersectionObserver.observe(this.interactivity.element);for(const[,t]of this.plugins)void 0!==t.startAsync?yield t.startAsync():void 0!==t.start&&t.start();this.play()}}))}init(){return $e(this,void 0,void 0,(function*(){this.retina.init(),this.canvas.init(),this.fpsLimit=this.options.fpsLimit>0?this.options.fpsLimit:60;const t=_.getAvailablePlugins(this);for(const[e,i]of t)this.plugins.set(e,i);for(const[,t]of this.drawers)t.init&&(yield t.init(this));for(const[,t]of this.plugins)t.init?t.init(this.options):void 0!==t.initAsync&&(yield t.initAsync(this.options));this.canvas.initSize(),this.particles.init(),this.particles.setDensity()}))}intersectionManager(t){if(this.options.pauseOnOutsideViewport)for(const e of t)e.target===this.interactivity.element&&(e.isIntersecting?this.play():this.pause())}}var Ye=function(t,e,i,o){return new(i||(i=Promise))((function(s,n){function a(t){try{l(o.next(t))}catch(t){n(t)}}function r(t){try{l(o.throw(t))}catch(t){n(t)}}function l(t){var e;t.done?s(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(a,r)}l((o=o.apply(t,e||[])).next())}))};const Ue=[];function Je(t){console.error("Error tsParticles - fetch status: "+t),console.error("Error tsParticles - File config not found")}class Ge{static dom(){return Ue}static domItem(t){const e=Ge.dom(),i=e[t];if(i&&!i.destroyed)return i;e.splice(t,1)}static load(t,e,i){return Ye(this,void 0,void 0,(function*(){const o=document.getElementById(t);if(o)return Ge.set(t,o,e,i)}))}static set(t,e,i,o){return Ye(this,void 0,void 0,(function*(){const s=i instanceof Array?S.itemFromArray(i,o):i,n=Ge.dom(),a=n.findIndex((e=>e.id===t));if(a>=0){const t=Ge.domItem(a);t&&!t.destroyed&&(t.destroy(),n.splice(a,1))}let r,l;if("canvas"===e.tagName.toLowerCase())r=e,l=!1;else{const t=e.getElementsByTagName("canvas");t.length?(r=t[0],r.className||(r.className=C.canvasClass),l=!1):(l=!0,r=document.createElement("canvas"),r.className=C.canvasClass,r.style.width="100%",r.style.height="100%",e.appendChild(r))}const c=new Xe(t,s);return a>=0?n.splice(a,0,c):n.push(c),c.canvas.loadCanvas(r,l),yield c.start(),c}))}static loadJSON(t,e,i){return Ye(this,void 0,void 0,(function*(){const o=e instanceof Array?S.itemFromArray(e,i):e,s=yield fetch(o);if(s.ok)return Ge.load(t,yield s.json());Je(s.status)}))}static setJSON(t,e,i){return Ye(this,void 0,void 0,(function*(){const o=yield fetch(i);if(o.ok){const i=yield o.json();return Ge.set(t,e,i)}Je(o.status)}))}static setOnClickHandler(t){const e=Ge.dom();if(0===e.length)throw new Error("Can only set click handlers after calling tsParticles.load() or tsParticles.loadJSON()");for(const i of e){const e=i.interactivity.element;if(!e)continue;const o=(e,o)=>{if(i.destroyed)return;const s=i.retina.pixelRatio,n={x:o.x*s,y:o.y*s},a=i.particles.quadTree.queryCircle(n,i.retina.sizeValue);t(e,a)},s=t=>{if(i.destroyed)return;const e=t,s={x:e.offsetX||e.clientX,y:e.offsetY||e.clientY};o(t,s)},n=()=>{i.destroyed||(c=!0,d=!1)},a=()=>{i.destroyed||(d=!0)},r=t=>{var e,s,n;if(!i.destroyed){if(c&&!d){const a=t,r=a.touches[a.touches.length-1],l=null===(e=i.canvas.element)||void 0===e?void 0:e.getBoundingClientRect(),c={x:r.clientX-(null!==(s=null==l?void 0:l.left)&&void 0!==s?s:0),y:r.clientY-(null!==(n=null==l?void 0:l.top)&&void 0!==n?n:0)};o(t,c)}c=!1,d=!1}},l=()=>{i.destroyed||(c=!1,d=!1)};let c=!1,d=!1;e.addEventListener("click",s),e.addEventListener("touchstart",n),e.addEventListener("touchmove",a),e.addEventListener("touchend",r),e.addEventListener("touchcancel",l)}}}var Qe=function(t,e,i,o){return new(i||(i=Promise))((function(s,n){function a(t){try{l(o.next(t))}catch(t){n(t)}}function r(t){try{l(o.throw(t))}catch(t){n(t)}}function l(t){var e;t.done?s(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(a,r)}l((o=o.apply(t,e||[])).next())}))};const Ke=new class{constructor(){this.initialized=!1;const t=new o,e=new $,i=new Y;_.addShapeDrawer(g.line,new U),_.addShapeDrawer(g.circle,new J),_.addShapeDrawer(g.edge,t),_.addShapeDrawer(g.square,t),_.addShapeDrawer(g.triangle,new Q),_.addShapeDrawer(g.star,new K),_.addShapeDrawer(g.polygon,new Z),_.addShapeDrawer(g.char,e),_.addShapeDrawer(g.character,e),_.addShapeDrawer(g.image,i),_.addShapeDrawer(g.images,i)}init(){this.initialized||(this.initialized=!0)}loadFromArray(t,e,i){return Qe(this,void 0,void 0,(function*(){return Ge.load(t,e,i)}))}load(t,e){return Qe(this,void 0,void 0,(function*(){return Ge.load(t,e)}))}set(t,e,i){return Qe(this,void 0,void 0,(function*(){return Ge.set(t,e,i)}))}loadJSON(t,e,i){return Ge.loadJSON(t,e,i)}setOnClickHandler(t){Ge.setOnClickHandler(t)}dom(){return Ge.dom()}domItem(t){return Ge.domItem(t)}addShape(t,e,i,o,s){let n;n="function"==typeof e?{afterEffect:o,destroy:s,draw:e,init:i}:e,_.addShapeDrawer(t,n)}addPreset(t,e){_.addPreset(t,e)}addPlugin(t){_.addPlugin(t)}};Ke.init();const{particlesJS:Ze,pJSDom:ti}=(t=>{const e=(e,i)=>t.load(e,i);e.load=(e,i,o)=>{t.loadJSON(e,i).then((t=>{t&&o(t)}))},e.setOnClickHandler=e=>{t.setOnClickHandler(e)};return{particlesJS:e,pJSDom:t.dom()}})(Ke)}},e={};function i(o){if(e[o])return e[o].exports;var s=e[o]={exports:{}};return t[o](s,s.exports,i),s.exports}return i.d=(t,e)=>{for(var o in e)i.o(e,o)&&!i.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i(964)})()}));