From 64f96b8d1fe911c3151e755beffab2b440f4533e Mon Sep 17 00:00:00 2001 From: rishuraj1 Date: Sun, 19 Nov 2023 07:19:19 +0000 Subject: [PATCH] deploy: 27856d914492eac779db96a7e8fdd08c1d8381ce --- assets/{index-bf44b9ce.js => index-f421d4bd.js} | 10 +++++----- index.html | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) rename assets/{index-bf44b9ce.js => index-f421d4bd.js} (97%) diff --git a/assets/index-bf44b9ce.js b/assets/index-f421d4bd.js similarity index 97% rename from assets/index-bf44b9ce.js rename to assets/index-f421d4bd.js index 6b876b3..86dddd3 100644 --- a/assets/index-bf44b9ce.js +++ b/assets/index-f421d4bd.js @@ -22,7 +22,7 @@ function vm(t,e){for(var n=0;n>>1,ge=E[ue];if(0>>1;uer(Bs,j))Enr(Yr,Bs)?(E[ue]=Yr,E[En]=j,ue=En):(E[ue]=Bs,E[Pn]=j,ue=Pn);else if(Enr(Yr,j))E[ue]=Yr,E[En]=j,ue=En;else break e}}return D}function r(E,D){var j=E.sortIndex-D.sortIndex;return j!==0?j:E.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var a=[],u=[],c=1,d=null,f=3,m=!1,h=!1,y=!1,b=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(E){for(var D=n(u);D!==null;){if(D.callback===null)i(u);else if(D.startTime<=E)i(u),D.sortIndex=D.expirationTime,e(a,D);else break;D=n(u)}}function x(E){if(y=!1,g(E),!h)if(n(a)!==null)h=!0,qn(k);else{var D=n(u);D!==null&&We(x,D.startTime-E)}}function k(E,D){h=!1,y&&(y=!1,v(O),O=-1),m=!0;var j=f;try{for(g(D),d=n(a);d!==null&&(!(d.expirationTime>D)||E&&!J());){var ue=d.callback;if(typeof ue=="function"){d.callback=null,f=d.priorityLevel;var ge=ue(d.expirationTime<=D);D=t.unstable_now(),typeof ge=="function"?d.callback=ge:d===n(a)&&i(a),g(D)}else i(a);d=n(a)}if(d!==null)var Kr=!0;else{var Pn=n(u);Pn!==null&&We(x,Pn.startTime-D),Kr=!1}return Kr}finally{d=null,f=j,m=!1}}var _=!1,S=null,O=-1,N=5,M=-1;function J(){return!(t.unstable_now()-ME||125ue?(E.sortIndex=j,e(u,E),n(a)===null&&E===n(u)&&(y?(v(O),O=-1):y=!0,We(x,j-ue))):(E.sortIndex=ge,e(a,E),h||m||(h=!0,qn(k))),E},t.unstable_shouldYield=J,t.unstable_wrapCallback=function(E){var D=f;return function(){var j=f;f=D;try{return E.apply(this,arguments)}finally{f=j}}}})(af);lf.exports=af;var Fm=lf.exports;/** + */(function(t){function e(E,D){var j=E.length;E.push(D);e:for(;0>>1,ge=E[ue];if(0>>1;uer(Bs,j))Enr(Yr,Bs)?(E[ue]=Yr,E[En]=j,ue=En):(E[ue]=Bs,E[Pn]=j,ue=Pn);else if(Enr(Yr,j))E[ue]=Yr,E[En]=j,ue=En;else break e}}return D}function r(E,D){var j=E.sortIndex-D.sortIndex;return j!==0?j:E.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var a=[],u=[],c=1,d=null,f=3,m=!1,h=!1,y=!1,b=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(E){for(var D=n(u);D!==null;){if(D.callback===null)i(u);else if(D.startTime<=E)i(u),D.sortIndex=D.expirationTime,e(a,D);else break;D=n(u)}}function x(E){if(y=!1,g(E),!h)if(n(a)!==null)h=!0,qn(k);else{var D=n(u);D!==null&&We(x,D.startTime-E)}}function k(E,D){h=!1,y&&(y=!1,v(O),O=-1),m=!0;var j=f;try{for(g(D),d=n(a);d!==null&&(!(d.expirationTime>D)||E&&!J());){var ue=d.callback;if(typeof ue=="function"){d.callback=null,f=d.priorityLevel;var ge=ue(d.expirationTime<=D);D=t.unstable_now(),typeof ge=="function"?d.callback=ge:d===n(a)&&i(a),g(D)}else i(a);d=n(a)}if(d!==null)var Kr=!0;else{var Pn=n(u);Pn!==null&&We(x,Pn.startTime-D),Kr=!1}return Kr}finally{d=null,f=j,m=!1}}var _=!1,S=null,O=-1,N=5,M=-1;function J(){return!(t.unstable_now()-ME||125ue?(E.sortIndex=j,e(u,E),n(a)===null&&E===n(u)&&(y?(v(O),O=-1):y=!0,We(x,j-ue))):(E.sortIndex=ge,e(a,E),h||m||(h=!0,qn(k))),E},t.unstable_shouldYield=J,t.unstable_wrapCallback=function(E){var D=f;return function(){var j=f;f=D;try{return E.apply(this,arguments)}finally{f=j}}}})(af);lf.exports=af;var Fm=lf.exports;/** * @license React * react-dom.production.min.js * @@ -35,9 +35,9 @@ function vm(t,e){for(var n=0;nl||r[s]!==o[l]){var a=` `+r[s].replace(" at new "," at ");return t.displayName&&a.includes("")&&(a=a.replace("",t.displayName)),a}while(1<=s&&0<=l);break}}}finally{Hs=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?Zi(t):""}function Vm(t){switch(t.tag){case 5:return Zi(t.type);case 16:return Zi("Lazy");case 13:return Zi("Suspense");case 19:return Zi("SuspenseList");case 0:case 2:case 15:return t=Vs(t.type,!1),t;case 11:return t=Vs(t.type.render,!1),t;case 1:return t=Vs(t.type,!0),t;default:return""}}function Fl(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case ei:return"Fragment";case Zn:return"Portal";case jl:return"Profiler";case Va:return"StrictMode";case Ll:return"Suspense";case Nl:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case ff:return(t.displayName||"Context")+".Consumer";case df:return(t._context.displayName||"Context")+".Provider";case Wa:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case qa:return e=t.displayName||null,e!==null?e:Fl(t.type)||"Memo";case nn:e=t._payload,t=t._init;try{return Fl(t(e))}catch{}}return null}function Wm(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Fl(e);case 8:return e===Va?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function wn(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function pf(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function qm(t){var e=pf(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),i=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var r=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return r.call(this)},set:function(s){i=""+s,o.call(this,s)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(s){i=""+s},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Zr(t){t._valueTracker||(t._valueTracker=qm(t))}function mf(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),i="";return t&&(i=pf(t)?t.checked?"true":"false":t.value),t=i,t!==n?(e.setValue(t),!0):!1}function Lo(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Bl(t,e){var n=e.checked;return ie({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function rc(t,e){var n=e.defaultValue==null?"":e.defaultValue,i=e.checked!=null?e.checked:e.defaultChecked;n=wn(e.value!=null?e.value:n),t._wrapperState={initialChecked:i,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function vf(t,e){e=e.checked,e!=null&&Ha(t,"checked",e,!1)}function $l(t,e){vf(t,e);var n=wn(e.value),i=e.type;if(n!=null)i==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(i==="submit"||i==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?Ul(t,e.type,n):e.hasOwnProperty("defaultValue")&&Ul(t,e.type,wn(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function oc(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var i=e.type;if(!(i!=="submit"&&i!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function Ul(t,e,n){(e!=="number"||Lo(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var er=Array.isArray;function di(t,e,n,i){if(t=t.options,e){e={};for(var r=0;r"+e.valueOf().toString()+"",e=eo.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function vr(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var ir={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Qm=["Webkit","ms","Moz","O"];Object.keys(ir).forEach(function(t){Qm.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),ir[e]=ir[t]})});function xf(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||ir.hasOwnProperty(t)&&ir[t]?(""+e).trim():e+"px"}function bf(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var i=n.indexOf("--")===0,r=xf(n,e[n],i);n==="float"&&(n="cssFloat"),i?t.setProperty(n,r):t[n]=r}}var Gm=ie({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Wl(t,e){if(e){if(Gm[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(C(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(C(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(C(61))}if(e.style!=null&&typeof e.style!="object")throw Error(C(62))}}function ql(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ql=null;function Qa(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Gl=null,fi=null,hi=null;function ac(t){if(t=$r(t)){if(typeof Gl!="function")throw Error(C(280));var e=t.stateNode;e&&(e=vs(e),Gl(t.stateNode,t.type,e))}}function kf(t){fi?hi?hi.push(t):hi=[t]:fi=t}function _f(){if(fi){var t=fi,e=hi;if(hi=fi=null,ac(t),e)for(t=0;t>>=0,t===0?32:31-(o0(t)/s0|0)|0}var to=64,no=4194304;function tr(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function $o(t,e){var n=t.pendingLanes;if(n===0)return 0;var i=0,r=t.suspendedLanes,o=t.pingedLanes,s=n&268435455;if(s!==0){var l=s&~r;l!==0?i=tr(l):(o&=s,o!==0&&(i=tr(o)))}else s=n&~r,s!==0?i=tr(s):o!==0&&(i=tr(o));if(i===0)return 0;if(e!==0&&e!==i&&!(e&r)&&(r=i&-i,o=e&-e,r>=o||r===16&&(o&4194240)!==0))return e;if(i&4&&(i|=n&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=i;0n;n++)e.push(t);return e}function Fr(t,e,n){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-gt(e),t[e]=n}function c0(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var i=t.eventTimes;for(t=t.expirationTimes;0=or),yc=String.fromCharCode(32),gc=!1;function Hf(t,e){switch(t){case"keyup":return N0.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ti=!1;function B0(t,e){switch(t){case"compositionend":return Vf(e);case"keypress":return e.which!==32?null:(gc=!0,yc);case"textInput":return t=e.data,t===yc&&gc?null:t;default:return null}}function $0(t,e){if(ti)return t==="compositionend"||!tu&&Hf(t,e)?(t=$f(),bo=Ja=an=null,ti=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=kc(n)}}function Gf(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Gf(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Kf(){for(var t=window,e=Lo();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=Lo(t.document)}return e}function nu(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function Y0(t){var e=Kf(),n=t.focusedElem,i=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&Gf(n.ownerDocument.documentElement,n)){if(i!==null&&nu(n)){if(e=i.start,t=i.end,t===void 0&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if(t=(e=n.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var r=n.textContent.length,o=Math.min(i.start,r);i=i.end===void 0?o:Math.min(i.end,r),!t.extend&&o>i&&(r=i,i=o,o=r),r=_c(n,o);var s=_c(n,i);r&&s&&(t.rangeCount!==1||t.anchorNode!==r.node||t.anchorOffset!==r.offset||t.focusNode!==s.node||t.focusOffset!==s.offset)&&(e=e.createRange(),e.setStart(r.node,r.offset),t.removeAllRanges(),o>i?(t.addRange(e),t.extend(s.node,s.offset)):(e.setEnd(s.node,s.offset),t.addRange(e)))}}for(e=[],t=n;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,ni=null,ea=null,lr=null,ta=!1;function Sc(t,e,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ta||ni==null||ni!==Lo(i)||(i=ni,"selectionStart"in i&&nu(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),lr&&kr(lr,i)||(lr=i,i=Vo(ea,"onSelect"),0oi||(t.current=la[oi],la[oi]=null,oi--)}function W(t,e){oi++,la[oi]=t.current,t.current=e}var xn={},Me=_n(xn),Be=_n(!1),Ln=xn;function xi(t,e){var n=t.type.contextTypes;if(!n)return xn;var i=t.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===e)return i.__reactInternalMemoizedMaskedChildContext;var r={},o;for(o in n)r[o]=e[o];return i&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=r),r}function $e(t){return t=t.childContextTypes,t!=null}function qo(){Q(Be),Q(Me)}function Ac(t,e,n){if(Me.current!==xn)throw Error(C(168));W(Me,e),W(Be,n)}function rh(t,e,n){var i=t.stateNode;if(e=e.childContextTypes,typeof i.getChildContext!="function")return n;i=i.getChildContext();for(var r in i)if(!(r in e))throw Error(C(108,Wm(t)||"Unknown",r));return ie({},n,i)}function Qo(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||xn,Ln=Me.current,W(Me,t),W(Be,Be.current),!0}function Tc(t,e,n){var i=t.stateNode;if(!i)throw Error(C(169));n?(t=rh(t,e,Ln),i.__reactInternalMemoizedMergedChildContext=t,Q(Be),Q(Me),W(Me,t)):Q(Be),W(Be,n)}var Nt=null,ys=!1,rl=!1;function oh(t){Nt===null?Nt=[t]:Nt.push(t)}function av(t){ys=!0,oh(t)}function Sn(){if(!rl&&Nt!==null){rl=!0;var t=0,e=H;try{var n=Nt;for(H=1;t>=s,r-=s,Ft=1<<32-gt(e)+r|n<O?(N=S,S=null):N=S.sibling;var M=f(v,S,g[O],x);if(M===null){S===null&&(S=N);break}t&&S&&M.alternate===null&&e(v,S),p=o(M,p,O),_===null?k=M:_.sibling=M,_=M,S=N}if(O===g.length)return n(v,S),X&&On(v,O),k;if(S===null){for(;OO?(N=S,S=null):N=S.sibling;var J=f(v,S,M.value,x);if(J===null){S===null&&(S=N);break}t&&S&&J.alternate===null&&e(v,S),p=o(J,p,O),_===null?k=J:_.sibling=J,_=J,S=N}if(M.done)return n(v,S),X&&On(v,O),k;if(S===null){for(;!M.done;O++,M=g.next())M=d(v,M.value,x),M!==null&&(p=o(M,p,O),_===null?k=M:_.sibling=M,_=M);return X&&On(v,O),k}for(S=i(v,S);!M.done;O++,M=g.next())M=m(S,v,O,M.value,x),M!==null&&(t&&M.alternate!==null&&S.delete(M.key===null?O:M.key),p=o(M,p,O),_===null?k=M:_.sibling=M,_=M);return t&&S.forEach(function(tt){return e(v,tt)}),X&&On(v,O),k}function b(v,p,g,x){if(typeof g=="object"&&g!==null&&g.type===ei&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Jr:e:{for(var k=g.key,_=p;_!==null;){if(_.key===k){if(k=g.type,k===ei){if(_.tag===7){n(v,_.sibling),p=r(_,g.props.children),p.return=v,v=p;break e}}else if(_.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===nn&&Fc(k)===_.type){n(v,_.sibling),p=r(_,g.props),p.ref=$i(v,_,g),p.return=v,v=p;break e}n(v,_);break}else e(v,_);_=_.sibling}g.type===ei?(p=jn(g.props.children,v.mode,x,g.key),p.return=v,v=p):(x=zo(g.type,g.key,g.props,null,v.mode,x),x.ref=$i(v,p,g),x.return=v,v=x)}return s(v);case Zn:e:{for(_=g.key;p!==null;){if(p.key===_)if(p.tag===4&&p.stateNode.containerInfo===g.containerInfo&&p.stateNode.implementation===g.implementation){n(v,p.sibling),p=r(p,g.children||[]),p.return=v,v=p;break e}else{n(v,p);break}else e(v,p);p=p.sibling}p=fl(g,v.mode,x),p.return=v,v=p}return s(v);case nn:return _=g._init,b(v,p,_(g._payload),x)}if(er(g))return h(v,p,g,x);if(ji(g))return y(v,p,g,x);uo(v,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,p!==null&&p.tag===6?(n(v,p.sibling),p=r(p,g),p.return=v,v=p):(n(v,p),p=dl(g,v.mode,x),p.return=v,v=p),s(v)):n(v,p)}return b}var ki=hh(!0),ph=hh(!1),Ur={},Tt=_n(Ur),Pr=_n(Ur),Er=_n(Ur);function Rn(t){if(t===Ur)throw Error(C(174));return t}function du(t,e){switch(W(Er,e),W(Pr,t),W(Tt,Ur),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Vl(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=Vl(e,t)}Q(Tt),W(Tt,e)}function _i(){Q(Tt),Q(Pr),Q(Er)}function mh(t){Rn(Er.current);var e=Rn(Tt.current),n=Vl(e,t.type);e!==n&&(W(Pr,t),W(Tt,n))}function fu(t){Pr.current===t&&(Q(Tt),Q(Pr))}var te=_n(0);function Zo(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var ol=[];function hu(){for(var t=0;tn?n:4,t(!0);var i=sl.transition;sl.transition={};try{t(!1),e()}finally{H=n,sl.transition=i}}function Ah(){return dt().memoizedState}function fv(t,e,n){var i=vn(t);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},Th(t))Rh(e,n);else if(n=uh(t,e,n,i),n!==null){var r=Te();wt(n,t,i,r),Ih(n,e,i)}}function hv(t,e,n){var i=vn(t),r={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Th(t))Rh(e,r);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var s=e.lastRenderedState,l=o(s,n);if(r.hasEagerState=!0,r.eagerState=l,xt(l,s)){var a=e.interleaved;a===null?(r.next=r,uu(e)):(r.next=a.next,a.next=r),e.interleaved=r;return}}catch{}finally{}n=uh(t,e,r,i),n!==null&&(r=Te(),wt(n,t,i,r),Ih(n,e,i))}}function Th(t){var e=t.alternate;return t===ne||e!==null&&e===ne}function Rh(t,e){ar=es=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Ih(t,e,n){if(n&4194240){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,Ka(t,n)}}var ts={readContext:ct,useCallback:Pe,useContext:Pe,useEffect:Pe,useImperativeHandle:Pe,useInsertionEffect:Pe,useLayoutEffect:Pe,useMemo:Pe,useReducer:Pe,useRef:Pe,useState:Pe,useDebugValue:Pe,useDeferredValue:Pe,useTransition:Pe,useMutableSource:Pe,useSyncExternalStore:Pe,useId:Pe,unstable_isNewReconciler:!1},pv={readContext:ct,useCallback:function(t,e){return Ct().memoizedState=[t,e===void 0?null:e],t},useContext:ct,useEffect:$c,useImperativeHandle:function(t,e,n){return n=n!=null?n.concat([t]):null,Co(4194308,4,Ph.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Co(4194308,4,t,e)},useInsertionEffect:function(t,e){return Co(4,2,t,e)},useMemo:function(t,e){var n=Ct();return e=e===void 0?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var i=Ct();return e=n!==void 0?n(e):e,i.memoizedState=i.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},i.queue=t,t=t.dispatch=fv.bind(null,ne,t),[i.memoizedState,t]},useRef:function(t){var e=Ct();return t={current:t},e.memoizedState=t},useState:Bc,useDebugValue:gu,useDeferredValue:function(t){return Ct().memoizedState=t},useTransition:function(){var t=Bc(!1),e=t[0];return t=dv.bind(null,t[1]),Ct().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var i=ne,r=Ct();if(X){if(n===void 0)throw Error(C(407));n=n()}else{if(n=e(),xe===null)throw Error(C(349));Fn&30||gh(i,e,n)}r.memoizedState=n;var o={value:n,getSnapshot:e};return r.queue=o,$c(xh.bind(null,i,o,t),[t]),i.flags|=2048,Mr(9,wh.bind(null,i,o,n,e),void 0,null),n},useId:function(){var t=Ct(),e=xe.identifierPrefix;if(X){var n=Bt,i=Ft;n=(i&~(1<<32-gt(i)-1)).toString(32)+n,e=":"+e+"R"+n,n=Or++,0oi||(t.current=la[oi],la[oi]=null,oi--)}function W(t,e){oi++,la[oi]=t.current,t.current=e}var xn={},Me=_n(xn),Be=_n(!1),Ln=xn;function xi(t,e){var n=t.type.contextTypes;if(!n)return xn;var i=t.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===e)return i.__reactInternalMemoizedMaskedChildContext;var r={},o;for(o in n)r[o]=e[o];return i&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=r),r}function $e(t){return t=t.childContextTypes,t!=null}function qo(){Q(Be),Q(Me)}function Ac(t,e,n){if(Me.current!==xn)throw Error(C(168));W(Me,e),W(Be,n)}function rh(t,e,n){var i=t.stateNode;if(e=e.childContextTypes,typeof i.getChildContext!="function")return n;i=i.getChildContext();for(var r in i)if(!(r in e))throw Error(C(108,Wm(t)||"Unknown",r));return ie({},n,i)}function Qo(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||xn,Ln=Me.current,W(Me,t),W(Be,Be.current),!0}function Tc(t,e,n){var i=t.stateNode;if(!i)throw Error(C(169));n?(t=rh(t,e,Ln),i.__reactInternalMemoizedMergedChildContext=t,Q(Be),Q(Me),W(Me,t)):Q(Be),W(Be,n)}var Nt=null,ys=!1,rl=!1;function oh(t){Nt===null?Nt=[t]:Nt.push(t)}function av(t){ys=!0,oh(t)}function Sn(){if(!rl&&Nt!==null){rl=!0;var t=0,e=H;try{var n=Nt;for(H=1;t>=s,r-=s,Ft=1<<32-gt(e)+r|n<O?(N=S,S=null):N=S.sibling;var M=f(v,S,g[O],x);if(M===null){S===null&&(S=N);break}t&&S&&M.alternate===null&&e(v,S),p=o(M,p,O),_===null?k=M:_.sibling=M,_=M,S=N}if(O===g.length)return n(v,S),X&&On(v,O),k;if(S===null){for(;OO?(N=S,S=null):N=S.sibling;var J=f(v,S,M.value,x);if(J===null){S===null&&(S=N);break}t&&S&&J.alternate===null&&e(v,S),p=o(J,p,O),_===null?k=J:_.sibling=J,_=J,S=N}if(M.done)return n(v,S),X&&On(v,O),k;if(S===null){for(;!M.done;O++,M=g.next())M=d(v,M.value,x),M!==null&&(p=o(M,p,O),_===null?k=M:_.sibling=M,_=M);return X&&On(v,O),k}for(S=i(v,S);!M.done;O++,M=g.next())M=m(S,v,O,M.value,x),M!==null&&(t&&M.alternate!==null&&S.delete(M.key===null?O:M.key),p=o(M,p,O),_===null?k=M:_.sibling=M,_=M);return t&&S.forEach(function(tt){return e(v,tt)}),X&&On(v,O),k}function b(v,p,g,x){if(typeof g=="object"&&g!==null&&g.type===ei&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Jr:e:{for(var k=g.key,_=p;_!==null;){if(_.key===k){if(k=g.type,k===ei){if(_.tag===7){n(v,_.sibling),p=r(_,g.props.children),p.return=v,v=p;break e}}else if(_.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===nn&&Fc(k)===_.type){n(v,_.sibling),p=r(_,g.props),p.ref=$i(v,_,g),p.return=v,v=p;break e}n(v,_);break}else e(v,_);_=_.sibling}g.type===ei?(p=jn(g.props.children,v.mode,x,g.key),p.return=v,v=p):(x=zo(g.type,g.key,g.props,null,v.mode,x),x.ref=$i(v,p,g),x.return=v,v=x)}return s(v);case Zn:e:{for(_=g.key;p!==null;){if(p.key===_)if(p.tag===4&&p.stateNode.containerInfo===g.containerInfo&&p.stateNode.implementation===g.implementation){n(v,p.sibling),p=r(p,g.children||[]),p.return=v,v=p;break e}else{n(v,p);break}else e(v,p);p=p.sibling}p=fl(g,v.mode,x),p.return=v,v=p}return s(v);case nn:return _=g._init,b(v,p,_(g._payload),x)}if(er(g))return h(v,p,g,x);if(ji(g))return y(v,p,g,x);uo(v,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,p!==null&&p.tag===6?(n(v,p.sibling),p=r(p,g),p.return=v,v=p):(n(v,p),p=dl(g,v.mode,x),p.return=v,v=p),s(v)):n(v,p)}return b}var ki=hh(!0),ph=hh(!1),Ur={},Tt=_n(Ur),Pr=_n(Ur),Er=_n(Ur);function Rn(t){if(t===Ur)throw Error(C(174));return t}function du(t,e){switch(W(Er,e),W(Pr,t),W(Tt,Ur),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Vl(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=Vl(e,t)}Q(Tt),W(Tt,e)}function _i(){Q(Tt),Q(Pr),Q(Er)}function mh(t){Rn(Er.current);var e=Rn(Tt.current),n=Vl(e,t.type);e!==n&&(W(Pr,t),W(Tt,n))}function fu(t){Pr.current===t&&(Q(Tt),Q(Pr))}var te=_n(0);function Zo(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var ol=[];function hu(){for(var t=0;tn?n:4,t(!0);var i=sl.transition;sl.transition={};try{t(!1),e()}finally{H=n,sl.transition=i}}function Ah(){return ct().memoizedState}function fv(t,e,n){var i=vn(t);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},Th(t))Rh(e,n);else if(n=uh(t,e,n,i),n!==null){var r=Te();wt(n,t,i,r),Ih(n,e,i)}}function hv(t,e,n){var i=vn(t),r={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Th(t))Rh(e,r);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var s=e.lastRenderedState,l=o(s,n);if(r.hasEagerState=!0,r.eagerState=l,xt(l,s)){var a=e.interleaved;a===null?(r.next=r,uu(e)):(r.next=a.next,a.next=r),e.interleaved=r;return}}catch{}finally{}n=uh(t,e,r,i),n!==null&&(r=Te(),wt(n,t,i,r),Ih(n,e,i))}}function Th(t){var e=t.alternate;return t===ne||e!==null&&e===ne}function Rh(t,e){ar=es=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Ih(t,e,n){if(n&4194240){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,Ka(t,n)}}var ts={readContext:ut,useCallback:Pe,useContext:Pe,useEffect:Pe,useImperativeHandle:Pe,useInsertionEffect:Pe,useLayoutEffect:Pe,useMemo:Pe,useReducer:Pe,useRef:Pe,useState:Pe,useDebugValue:Pe,useDeferredValue:Pe,useTransition:Pe,useMutableSource:Pe,useSyncExternalStore:Pe,useId:Pe,unstable_isNewReconciler:!1},pv={readContext:ut,useCallback:function(t,e){return Ct().memoizedState=[t,e===void 0?null:e],t},useContext:ut,useEffect:$c,useImperativeHandle:function(t,e,n){return n=n!=null?n.concat([t]):null,Co(4194308,4,Ph.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Co(4194308,4,t,e)},useInsertionEffect:function(t,e){return Co(4,2,t,e)},useMemo:function(t,e){var n=Ct();return e=e===void 0?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var i=Ct();return e=n!==void 0?n(e):e,i.memoizedState=i.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},i.queue=t,t=t.dispatch=fv.bind(null,ne,t),[i.memoizedState,t]},useRef:function(t){var e=Ct();return t={current:t},e.memoizedState=t},useState:Bc,useDebugValue:gu,useDeferredValue:function(t){return Ct().memoizedState=t},useTransition:function(){var t=Bc(!1),e=t[0];return t=dv.bind(null,t[1]),Ct().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var i=ne,r=Ct();if(X){if(n===void 0)throw Error(C(407));n=n()}else{if(n=e(),xe===null)throw Error(C(349));Fn&30||gh(i,e,n)}r.memoizedState=n;var o={value:n,getSnapshot:e};return r.queue=o,$c(xh.bind(null,i,o,t),[t]),i.flags|=2048,Mr(9,wh.bind(null,i,o,n,e),void 0,null),n},useId:function(){var t=Ct(),e=xe.identifierPrefix;if(X){var n=Bt,i=Ft;n=(i&~(1<<32-gt(i)-1)).toString(32)+n,e=":"+e+"R"+n,n=Or++,0<\/script>",t=t.removeChild(t.firstChild)):typeof i.is=="string"?t=s.createElement(n,{is:i.is}):(t=s.createElement(n),n==="select"&&(s=t,i.multiple?s.multiple=!0:i.size&&(s.size=i.size))):t=s.createElementNS(t,n),t[Ot]=e,t[Cr]=i,Hh(t,e,!1,!1),e.stateNode=t;e:{switch(s=ql(n,i),n){case"dialog":q("cancel",t),q("close",t),r=i;break;case"iframe":case"object":case"embed":q("load",t),r=i;break;case"video":case"audio":for(r=0;rCi&&(e.flags|=128,i=!0,Ui(o,!1),e.lanes=4194304)}else{if(!i)if(t=Zo(s),t!==null){if(e.flags|=128,i=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),Ui(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!X)return Ee(e),null}else 2*ce()-o.renderingStartTime>Ci&&n!==1073741824&&(e.flags|=128,i=!0,Ui(o,!1),e.lanes=4194304);o.isBackwards?(s.sibling=e.child,e.child=s):(n=o.last,n!==null?n.sibling=s:e.child=s,o.last=s)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=ce(),e.sibling=null,n=te.current,W(te,i?n&1|2:n&1),e):(Ee(e),null);case 22:case 23:return Su(),i=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==i&&(e.flags|=8192),i&&e.mode&1?Qe&1073741824&&(Ee(e),e.subtreeFlags&6&&(e.flags|=8192)):Ee(e),null;case 24:return null;case 25:return null}throw Error(C(156,e.tag))}function kv(t,e){switch(ru(e),e.tag){case 1:return $e(e.type)&&qo(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return _i(),Q(Be),Q(Me),hu(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return fu(e),null;case 13:if(Q(te),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(C(340));bi()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Q(te),null;case 4:return _i(),null;case 10:return au(e.type._context),null;case 22:case 23:return Su(),null;case 24:return null;default:return null}}var fo=!1,ze=!1,_v=typeof WeakSet=="function"?WeakSet:Set,z=null;function ui(t,e){var n=t.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(i){se(t,e,i)}else n.current=null}function wa(t,e,n){try{n()}catch(i){se(t,e,i)}}var Yc=!1;function Sv(t,e){if(na=Uo,t=Kf(),nu(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else e:{n=(n=t.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var r=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,c=0,d=t,f=null;t:for(;;){for(var m;d!==n||r!==0&&d.nodeType!==3||(l=s+r),d!==o||i!==0&&d.nodeType!==3||(a=s+i),d.nodeType===3&&(s+=d.nodeValue.length),(m=d.firstChild)!==null;)f=d,d=m;for(;;){if(d===t)break t;if(f===n&&++u===r&&(l=s),f===o&&++c===i&&(a=s),(m=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=m}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(ia={focusedElem:t,selectionRange:n},Uo=!1,z=e;z!==null;)if(e=z,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,z=t;else for(;z!==null;){e=z;try{var h=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var y=h.memoizedProps,b=h.memoizedState,v=e.stateNode,p=v.getSnapshotBeforeUpdate(e.elementType===e.type?y:mt(e.type,y),b);v.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var g=e.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(x){se(e,e.return,x)}if(t=e.sibling,t!==null){t.return=e.return,z=t;break}z=e.return}return h=Yc,Yc=!1,h}function ur(t,e,n){var i=e.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var r=i=i.next;do{if((r.tag&t)===t){var o=r.destroy;r.destroy=void 0,o!==void 0&&wa(e,n,o)}r=r.next}while(r!==i)}}function xs(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var n=e=e.next;do{if((n.tag&t)===t){var i=n.create;n.destroy=i()}n=n.next}while(n!==e)}}function xa(t){var e=t.ref;if(e!==null){var n=t.stateNode;switch(t.tag){case 5:t=n;break;default:t=n}typeof e=="function"?e(t):e.current=t}}function qh(t){var e=t.alternate;e!==null&&(t.alternate=null,qh(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[Ot],delete e[Cr],delete e[sa],delete e[sv],delete e[lv])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Qh(t){return t.tag===5||t.tag===3||t.tag===4}function Xc(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Qh(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function ba(t,e,n){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=Wo));else if(i!==4&&(t=t.child,t!==null))for(ba(t,e,n),t=t.sibling;t!==null;)ba(t,e,n),t=t.sibling}function ka(t,e,n){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(i!==4&&(t=t.child,t!==null))for(ka(t,e,n),t=t.sibling;t!==null;)ka(t,e,n),t=t.sibling}var ke=null,vt=!1;function tn(t,e,n){for(n=n.child;n!==null;)Gh(t,e,n),n=n.sibling}function Gh(t,e,n){if(At&&typeof At.onCommitFiberUnmount=="function")try{At.onCommitFiberUnmount(fs,n)}catch{}switch(n.tag){case 5:ze||ui(n,e);case 6:var i=ke,r=vt;ke=null,tn(t,e,n),ke=i,vt=r,ke!==null&&(vt?(t=ke,n=n.stateNode,t.nodeType===8?t.parentNode.removeChild(n):t.removeChild(n)):ke.removeChild(n.stateNode));break;case 18:ke!==null&&(vt?(t=ke,n=n.stateNode,t.nodeType===8?il(t.parentNode,n):t.nodeType===1&&il(t,n),xr(t)):il(ke,n.stateNode));break;case 4:i=ke,r=vt,ke=n.stateNode.containerInfo,vt=!0,tn(t,e,n),ke=i,vt=r;break;case 0:case 11:case 14:case 15:if(!ze&&(i=n.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){r=i=i.next;do{var o=r,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&wa(n,e,s),r=r.next}while(r!==i)}tn(t,e,n);break;case 1:if(!ze&&(ui(n,e),i=n.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(l){se(n,e,l)}tn(t,e,n);break;case 21:tn(t,e,n);break;case 22:n.mode&1?(ze=(i=ze)||n.memoizedState!==null,tn(t,e,n),ze=i):tn(t,e,n);break;default:tn(t,e,n)}}function Jc(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var n=t.stateNode;n===null&&(n=t.stateNode=new _v),e.forEach(function(i){var r=Rv.bind(null,t,i);n.has(i)||(n.add(i),i.then(r,r))})}}function pt(t,e){var n=e.deletions;if(n!==null)for(var i=0;ir&&(r=s),i&=~o}if(i=r,i=ce()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Pv(i/1960))-i,10t?16:t,un===null)var i=!1;else{if(t=un,un=null,rs=0,F&6)throw Error(C(331));var r=F;for(F|=4,z=t.current;z!==null;){var o=z,s=o.child;if(z.flags&16){var l=o.deletions;if(l!==null){for(var a=0;ace()-ku?Dn(t,0):bu|=n),Ue(t,e)}function np(t,e){e===0&&(t.mode&1?(e=no,no<<=1,!(no&130023424)&&(no=4194304)):e=1);var n=Te();t=Wt(t,e),t!==null&&(Fr(t,e,n),Ue(t,n))}function Tv(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),np(t,n)}function Rv(t,e){var n=0;switch(t.tag){case 13:var i=t.stateNode,r=t.memoizedState;r!==null&&(n=r.retryLane);break;case 19:i=t.stateNode;break;default:throw Error(C(314))}i!==null&&i.delete(e),np(t,n)}var ip;ip=function(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps||Be.current)Ne=!0;else{if(!(t.lanes&n)&&!(e.flags&128))return Ne=!1,xv(t,e,n);Ne=!!(t.flags&131072)}else Ne=!1,X&&e.flags&1048576&&sh(e,Ko,e.index);switch(e.lanes=0,e.tag){case 2:var i=e.type;Po(t,e),t=e.pendingProps;var r=xi(e,Me.current);mi(e,n),r=mu(null,e,i,t,r,n);var o=vu();return e.flags|=1,typeof r=="object"&&r!==null&&typeof r.render=="function"&&r.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,$e(i)?(o=!0,Qo(e)):o=!1,e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,cu(e),r.updater=gs,e.stateNode=r,r._reactInternals=e,fa(e,i,t,n),e=ma(null,e,i,!0,o,n)):(e.tag=0,X&&o&&iu(e),Ae(null,e,r,n),e=e.child),e;case 16:i=e.elementType;e:{switch(Po(t,e),t=e.pendingProps,r=i._init,i=r(i._payload),e.type=i,r=e.tag=Dv(i),t=mt(i,t),r){case 0:e=pa(null,e,i,t,n);break e;case 1:e=Qc(null,e,i,t,n);break e;case 11:e=Wc(null,e,i,t,n);break e;case 14:e=qc(null,e,i,mt(i.type,t),n);break e}throw Error(C(306,i,""))}return e;case 0:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:mt(i,r),pa(t,e,i,r,n);case 1:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:mt(i,r),Qc(t,e,i,r,n);case 3:e:{if(Bh(e),t===null)throw Error(C(387));i=e.pendingProps,o=e.memoizedState,r=o.element,ch(t,e),Jo(e,i,null,n);var s=e.memoizedState;if(i=s.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){r=Si(Error(C(423)),e),e=Gc(t,e,i,n,r);break e}else if(i!==r){r=Si(Error(C(424)),e),e=Gc(t,e,i,n,r);break e}else for(Ke=hn(e.stateNode.containerInfo.firstChild),Ye=e,X=!0,yt=null,n=ph(e,null,i,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(bi(),i===r){e=qt(t,e,n);break e}Ae(t,e,i,n)}e=e.child}return e;case 5:return mh(e),t===null&&ua(e),i=e.type,r=e.pendingProps,o=t!==null?t.memoizedProps:null,s=r.children,ra(i,r)?s=null:o!==null&&ra(i,o)&&(e.flags|=32),Fh(t,e),Ae(t,e,s,n),e.child;case 6:return t===null&&ua(e),null;case 13:return $h(t,e,n);case 4:return du(e,e.stateNode.containerInfo),i=e.pendingProps,t===null?e.child=ki(e,null,i,n):Ae(t,e,i,n),e.child;case 11:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:mt(i,r),Wc(t,e,i,r,n);case 7:return Ae(t,e,e.pendingProps,n),e.child;case 8:return Ae(t,e,e.pendingProps.children,n),e.child;case 12:return Ae(t,e,e.pendingProps.children,n),e.child;case 10:e:{if(i=e.type._context,r=e.pendingProps,o=e.memoizedProps,s=r.value,W(Yo,i._currentValue),i._currentValue=s,o!==null)if(xt(o.value,s)){if(o.children===r.children&&!Be.current){e=qt(t,e,n);break e}}else for(o=e.child,o!==null&&(o.return=e);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var a=l.firstContext;a!==null;){if(a.context===i){if(o.tag===1){a=$t(-1,n&-n),a.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),ca(o.return,n,e),l.lanes|=n;break}a=a.next}}else if(o.tag===10)s=o.type===e.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(C(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),ca(s,n,e),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===e){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Ae(t,e,r.children,n),e=e.child}return e;case 9:return r=e.type,i=e.pendingProps.children,mi(e,n),r=ct(r),i=i(r),e.flags|=1,Ae(t,e,i,n),e.child;case 14:return i=e.type,r=mt(i,e.pendingProps),r=mt(i.type,r),qc(t,e,i,r,n);case 15:return Lh(t,e,e.type,e.pendingProps,n);case 17:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:mt(i,r),Po(t,e),e.tag=1,$e(i)?(t=!0,Qo(e)):t=!1,mi(e,n),fh(e,i,r),fa(e,i,r,n),ma(null,e,i,!0,t,n);case 19:return Uh(t,e,n);case 22:return Nh(t,e,n)}throw Error(C(156,e.tag))};function rp(t,e){return Mf(t,e)}function Iv(t,e,n,i){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function st(t,e,n,i){return new Iv(t,e,n,i)}function Pu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Dv(t){if(typeof t=="function")return Pu(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Wa)return 11;if(t===qa)return 14}return 2}function yn(t,e){var n=t.alternate;return n===null?(n=st(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&14680064,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function zo(t,e,n,i,r,o){var s=2;if(i=t,typeof t=="function")Pu(t)&&(s=1);else if(typeof t=="string")s=5;else e:switch(t){case ei:return jn(n.children,r,o,e);case Va:s=8,r|=8;break;case jl:return t=st(12,n,e,r|2),t.elementType=jl,t.lanes=o,t;case Ll:return t=st(13,n,e,r),t.elementType=Ll,t.lanes=o,t;case Nl:return t=st(19,n,e,r),t.elementType=Nl,t.lanes=o,t;case hf:return ks(n,r,o,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case df:s=10;break e;case ff:s=9;break e;case Wa:s=11;break e;case qa:s=14;break e;case nn:s=16,i=null;break e}throw Error(C(130,t==null?t:typeof t,""))}return e=st(s,n,e,r),e.elementType=t,e.type=i,e.lanes=o,e}function jn(t,e,n,i){return t=st(7,t,i,e),t.lanes=n,t}function ks(t,e,n,i){return t=st(22,t,i,e),t.elementType=hf,t.lanes=n,t.stateNode={isHidden:!1},t}function dl(t,e,n){return t=st(6,t,null,e),t.lanes=n,t}function fl(t,e,n){return e=st(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function jv(t,e,n,i,r){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=qs(0),this.expirationTimes=qs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qs(0),this.identifierPrefix=i,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function Eu(t,e,n,i,r,o,s,l,a){return t=new jv(t,e,n,l,a),e===1?(e=1,o===!0&&(e|=8)):e=0,o=st(3,null,null,e),t.current=o,o.stateNode=t,o.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},cu(o),t}function Lv(t,e,n){var i=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ap)}catch(t){console.error(t)}}ap(),sf.exports=Ze;var Uv=sf.exports,sd=Uv;Il.createRoot=sd.createRoot,Il.hydrateRoot=sd.hydrateRoot;function Ea(){return Ea=Object.assign?Object.assign.bind():function(t){for(var e=1;e0&&(n.strPos=n.currentElContent.length-1,n.strings.unshift(n.currentElContent)),n.sequence=[],n.strings)n.sequence[a]=a;n.arrayPos=0,n.stopNum=0,n.loop=n.options.loop,n.loopCount=n.options.loopCount,n.curLoop=0,n.shuffle=n.options.shuffle,n.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},n.typingComplete=!1,n.autoInsertCss=n.options.autoInsertCss,n.autoInsertCss&&(this.appendCursorAnimationCss(n),this.appendFadeOutAnimationCss(n))},e.getCurrentElContent=function(n){return n.attr?n.el.getAttribute(n.attr):n.isInput?n.el.value:n.contentType==="html"?n.el.innerHTML:n.el.textContent},e.appendCursorAnimationCss=function(n){var i="data-typed-js-cursor-css";if(n.showCursor&&!document.querySelector("["+i+"]")){var r=document.createElement("style");r.setAttribute(i,"true"),r.innerHTML=` +`+o.stack}return{value:t,source:e,stack:r,digest:null}}function ul(t,e,n){return{value:t,source:null,stack:n??null,digest:e??null}}function ha(t,e){try{console.error(e.value)}catch(n){setTimeout(function(){throw n})}}var yv=typeof WeakMap=="function"?WeakMap:Map;function Dh(t,e,n){n=$t(-1,n),n.tag=3,n.payload={element:null};var i=e.value;return n.callback=function(){is||(is=!0,_a=i),ha(t,e)},n}function jh(t,e,n){n=$t(-1,n),n.tag=3;var i=t.type.getDerivedStateFromError;if(typeof i=="function"){var r=e.value;n.payload=function(){return i(r)},n.callback=function(){ha(t,e)}}var o=t.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){ha(t,e),typeof i!="function"&&(mn===null?mn=new Set([this]):mn.add(this));var s=e.stack;this.componentDidCatch(e.value,{componentStack:s!==null?s:""})}),n}function Uc(t,e,n){var i=t.pingCache;if(i===null){i=t.pingCache=new yv;var r=new Set;i.set(e,r)}else r=i.get(e),r===void 0&&(r=new Set,i.set(e,r));r.has(n)||(r.add(n),t=Av.bind(null,t,e,n),e.then(t,t))}function Hc(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function Vc(t,e,n,i,r){return t.mode&1?(t.flags|=65536,t.lanes=r,t):(t===e?t.flags|=65536:(t.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(e=$t(-1,1),e.tag=2,pn(n,e,1))),n.lanes|=1),t)}var gv=Kt.ReactCurrentOwner,Ne=!1;function Ae(t,e,n,i){e.child=t===null?ph(e,null,n,i):ki(e,t.child,n,i)}function Wc(t,e,n,i,r){n=n.render;var o=e.ref;return mi(e,r),i=mu(t,e,n,i,o,r),n=vu(),t!==null&&!Ne?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~r,qt(t,e,r)):(X&&n&&iu(e),e.flags|=1,Ae(t,e,i,r),e.child)}function qc(t,e,n,i,r){if(t===null){var o=n.type;return typeof o=="function"&&!Pu(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(e.tag=15,e.type=o,Lh(t,e,o,i,r)):(t=zo(n.type,null,i,e,e.mode,r),t.ref=e.ref,t.return=e,e.child=t)}if(o=t.child,!(t.lanes&r)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:kr,n(s,i)&&t.ref===e.ref)return qt(t,e,r)}return e.flags|=1,t=yn(o,i),t.ref=e.ref,t.return=e,e.child=t}function Lh(t,e,n,i,r){if(t!==null){var o=t.memoizedProps;if(kr(o,i)&&t.ref===e.ref)if(Ne=!1,e.pendingProps=i=o,(t.lanes&r)!==0)t.flags&131072&&(Ne=!0);else return e.lanes=t.lanes,qt(t,e,r)}return pa(t,e,n,i,r)}function Nh(t,e,n){var i=e.pendingProps,r=i.children,o=t!==null?t.memoizedState:null;if(i.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},W(ci,Qe),Qe|=n;else{if(!(n&1073741824))return t=o!==null?o.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,W(ci,Qe),Qe|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=o!==null?o.baseLanes:n,W(ci,Qe),Qe|=i}else o!==null?(i=o.baseLanes|n,e.memoizedState=null):i=n,W(ci,Qe),Qe|=i;return Ae(t,e,r,n),e.child}function Fh(t,e){var n=e.ref;(t===null&&n!==null||t!==null&&t.ref!==n)&&(e.flags|=512,e.flags|=2097152)}function pa(t,e,n,i,r){var o=$e(n)?Ln:Me.current;return o=xi(e,o),mi(e,r),n=mu(t,e,n,i,o,r),i=vu(),t!==null&&!Ne?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~r,qt(t,e,r)):(X&&i&&iu(e),e.flags|=1,Ae(t,e,n,r),e.child)}function Qc(t,e,n,i,r){if($e(n)){var o=!0;Qo(e)}else o=!1;if(mi(e,r),e.stateNode===null)Po(t,e),fh(e,n,i),fa(e,n,i,r),i=!0;else if(t===null){var s=e.stateNode,l=e.memoizedProps;s.props=l;var a=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=ut(u):(u=$e(n)?Ln:Me.current,u=xi(e,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==i||a!==u)&&Nc(e,s,i,u),rn=!1;var f=e.memoizedState;s.state=f,Jo(e,i,s,r),a=e.memoizedState,l!==i||f!==a||Be.current||rn?(typeof c=="function"&&(da(e,n,c,i),a=e.memoizedState),(l=rn||Lc(e,n,l,i,f,a,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(e.flags|=4194308)):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=i,e.memoizedState=a),s.props=i,s.state=a,s.context=u,i=l):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),i=!1)}else{s=e.stateNode,ch(t,e),l=e.memoizedProps,u=e.type===e.elementType?l:mt(e.type,l),s.props=u,d=e.pendingProps,f=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=ut(a):(a=$e(n)?Ln:Me.current,a=xi(e,a));var m=n.getDerivedStateFromProps;(c=typeof m=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==d||f!==a)&&Nc(e,s,i,a),rn=!1,f=e.memoizedState,s.state=f,Jo(e,i,s,r);var h=e.memoizedState;l!==d||f!==h||Be.current||rn?(typeof m=="function"&&(da(e,n,m,i),h=e.memoizedState),(u=rn||Lc(e,n,u,i,f,h,a)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(i,h,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(i,h,a)),typeof s.componentDidUpdate=="function"&&(e.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===t.memoizedProps&&f===t.memoizedState||(e.flags|=1024),e.memoizedProps=i,e.memoizedState=h),s.props=i,s.state=h,s.context=a,i=u):(typeof s.componentDidUpdate!="function"||l===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===t.memoizedProps&&f===t.memoizedState||(e.flags|=1024),i=!1)}return ma(t,e,n,i,o,r)}function ma(t,e,n,i,r,o){Fh(t,e);var s=(e.flags&128)!==0;if(!i&&!s)return r&&Tc(e,n,!1),qt(t,e,o);i=e.stateNode,gv.current=e;var l=s&&typeof n.getDerivedStateFromError!="function"?null:i.render();return e.flags|=1,t!==null&&s?(e.child=ki(e,t.child,null,o),e.child=ki(e,null,l,o)):Ae(t,e,l,o),e.memoizedState=i.state,r&&Tc(e,n,!0),e.child}function Bh(t){var e=t.stateNode;e.pendingContext?Ac(t,e.pendingContext,e.pendingContext!==e.context):e.context&&Ac(t,e.context,!1),du(t,e.containerInfo)}function Gc(t,e,n,i,r){return bi(),ou(r),e.flags|=256,Ae(t,e,n,i),e.child}var va={dehydrated:null,treeContext:null,retryLane:0};function ya(t){return{baseLanes:t,cachePool:null,transitions:null}}function $h(t,e,n){var i=e.pendingProps,r=te.current,o=!1,s=(e.flags&128)!==0,l;if((l=s)||(l=t!==null&&t.memoizedState===null?!1:(r&2)!==0),l?(o=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(r|=1),W(te,r&1),t===null)return ua(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(e.mode&1?t.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(s=i.children,t=i.fallback,o?(i=e.mode,o=e.child,s={mode:"hidden",children:s},!(i&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=ks(s,i,0,null),t=jn(t,i,n,null),o.return=e,t.return=e,o.sibling=t,e.child=o,e.child.memoizedState=ya(n),e.memoizedState=va,t):wu(e,s));if(r=t.memoizedState,r!==null&&(l=r.dehydrated,l!==null))return wv(t,e,s,i,l,r,n);if(o){o=i.fallback,s=e.mode,r=t.child,l=r.sibling;var a={mode:"hidden",children:i.children};return!(s&1)&&e.child!==r?(i=e.child,i.childLanes=0,i.pendingProps=a,e.deletions=null):(i=yn(r,a),i.subtreeFlags=r.subtreeFlags&14680064),l!==null?o=yn(l,o):(o=jn(o,s,n,null),o.flags|=2),o.return=e,i.return=e,i.sibling=o,e.child=i,i=o,o=e.child,s=t.child.memoizedState,s=s===null?ya(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=t.childLanes&~n,e.memoizedState=va,i}return o=t.child,t=o.sibling,i=yn(o,{mode:"visible",children:i.children}),!(e.mode&1)&&(i.lanes=n),i.return=e,i.sibling=null,t!==null&&(n=e.deletions,n===null?(e.deletions=[t],e.flags|=16):n.push(t)),e.child=i,e.memoizedState=null,i}function wu(t,e){return e=ks({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function co(t,e,n,i){return i!==null&&ou(i),ki(e,t.child,null,n),t=wu(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function wv(t,e,n,i,r,o,s){if(n)return e.flags&256?(e.flags&=-257,i=ul(Error(C(422))),co(t,e,s,i)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(o=i.fallback,r=e.mode,i=ks({mode:"visible",children:i.children},r,0,null),o=jn(o,r,s,null),o.flags|=2,i.return=e,o.return=e,i.sibling=o,e.child=i,e.mode&1&&ki(e,t.child,null,s),e.child.memoizedState=ya(s),e.memoizedState=va,o);if(!(e.mode&1))return co(t,e,s,null);if(r.data==="$!"){if(i=r.nextSibling&&r.nextSibling.dataset,i)var l=i.dgst;return i=l,o=Error(C(419)),i=ul(o,i,void 0),co(t,e,s,i)}if(l=(s&t.childLanes)!==0,Ne||l){if(i=xe,i!==null){switch(s&-s){case 4:r=2;break;case 16:r=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:r=32;break;case 536870912:r=268435456;break;default:r=0}r=r&(i.suspendedLanes|s)?0:r,r!==0&&r!==o.retryLane&&(o.retryLane=r,Wt(t,r),wt(i,t,r,-1))}return Cu(),i=ul(Error(C(421))),co(t,e,s,i)}return r.data==="$?"?(e.flags|=128,e.child=t.child,e=Tv.bind(null,t),r._reactRetry=e,null):(t=o.treeContext,Ke=hn(r.nextSibling),Ye=e,X=!0,yt=null,t!==null&&(it[rt++]=Ft,it[rt++]=Bt,it[rt++]=Nn,Ft=t.id,Bt=t.overflow,Nn=e),e=wu(e,i.children),e.flags|=4096,e)}function Kc(t,e,n){t.lanes|=e;var i=t.alternate;i!==null&&(i.lanes|=e),ca(t.return,e,n)}function cl(t,e,n,i,r){var o=t.memoizedState;o===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:r}:(o.isBackwards=e,o.rendering=null,o.renderingStartTime=0,o.last=i,o.tail=n,o.tailMode=r)}function Uh(t,e,n){var i=e.pendingProps,r=i.revealOrder,o=i.tail;if(Ae(t,e,i.children,n),i=te.current,i&2)i=i&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Kc(t,n,e);else if(t.tag===19)Kc(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}i&=1}if(W(te,i),!(e.mode&1))e.memoizedState=null;else switch(r){case"forwards":for(n=e.child,r=null;n!==null;)t=n.alternate,t!==null&&Zo(t)===null&&(r=n),n=n.sibling;n=r,n===null?(r=e.child,e.child=null):(r=n.sibling,n.sibling=null),cl(e,!1,r,n,o);break;case"backwards":for(n=null,r=e.child,e.child=null;r!==null;){if(t=r.alternate,t!==null&&Zo(t)===null){e.child=r;break}t=r.sibling,r.sibling=n,n=r,r=t}cl(e,!0,n,null,o);break;case"together":cl(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Po(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function qt(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Bn|=e.lanes,!(n&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(C(153));if(e.child!==null){for(t=e.child,n=yn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=yn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function xv(t,e,n){switch(e.tag){case 3:Bh(e),bi();break;case 5:mh(e);break;case 1:$e(e.type)&&Qo(e);break;case 4:du(e,e.stateNode.containerInfo);break;case 10:var i=e.type._context,r=e.memoizedProps.value;W(Yo,i._currentValue),i._currentValue=r;break;case 13:if(i=e.memoizedState,i!==null)return i.dehydrated!==null?(W(te,te.current&1),e.flags|=128,null):n&e.child.childLanes?$h(t,e,n):(W(te,te.current&1),t=qt(t,e,n),t!==null?t.sibling:null);W(te,te.current&1);break;case 19:if(i=(n&e.childLanes)!==0,t.flags&128){if(i)return Uh(t,e,n);e.flags|=128}if(r=e.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),W(te,te.current),i)break;return null;case 22:case 23:return e.lanes=0,Nh(t,e,n)}return qt(t,e,n)}var Hh,ga,Vh,Wh;Hh=function(t,e){for(var n=e.child;n!==null;){if(n.tag===5||n.tag===6)t.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};ga=function(){};Vh=function(t,e,n,i){var r=t.memoizedProps;if(r!==i){t=e.stateNode,Rn(Tt.current);var o=null;switch(n){case"input":r=Bl(t,r),i=Bl(t,i),o=[];break;case"select":r=ie({},r,{value:void 0}),i=ie({},i,{value:void 0}),o=[];break;case"textarea":r=Hl(t,r),i=Hl(t,i),o=[];break;default:typeof r.onClick!="function"&&typeof i.onClick=="function"&&(t.onclick=Wo)}Wl(n,i);var s;n=null;for(u in r)if(!i.hasOwnProperty(u)&&r.hasOwnProperty(u)&&r[u]!=null)if(u==="style"){var l=r[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(mr.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in i){var a=i[u];if(l=r!=null?r[u]:void 0,i.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(o||(o=[]),o.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(o=o||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(o=o||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(mr.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&q("scroll",t),o||l===a||(o=[])):(o=o||[]).push(u,a))}n&&(o=o||[]).push("style",n);var u=o;(e.updateQueue=u)&&(e.flags|=4)}};Wh=function(t,e,n,i){n!==i&&(e.flags|=4)};function Ui(t,e){if(!X)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:i.sibling=null}}function Ee(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,i=0;if(e)for(var r=t.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags&14680064,i|=r.flags&14680064,r.return=t,r=r.sibling;else for(r=t.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags,i|=r.flags,r.return=t,r=r.sibling;return t.subtreeFlags|=i,t.childLanes=n,e}function bv(t,e,n){var i=e.pendingProps;switch(ru(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ee(e),null;case 1:return $e(e.type)&&qo(),Ee(e),null;case 3:return i=e.stateNode,_i(),Q(Be),Q(Me),hu(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(t===null||t.child===null)&&(ao(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,yt!==null&&(Pa(yt),yt=null))),ga(t,e),Ee(e),null;case 5:fu(e);var r=Rn(Er.current);if(n=e.type,t!==null&&e.stateNode!=null)Vh(t,e,n,i,r),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!i){if(e.stateNode===null)throw Error(C(166));return Ee(e),null}if(t=Rn(Tt.current),ao(e)){i=e.stateNode,n=e.type;var o=e.memoizedProps;switch(i[Ot]=e,i[Cr]=o,t=(e.mode&1)!==0,n){case"dialog":q("cancel",i),q("close",i);break;case"iframe":case"object":case"embed":q("load",i);break;case"video":case"audio":for(r=0;r<\/script>",t=t.removeChild(t.firstChild)):typeof i.is=="string"?t=s.createElement(n,{is:i.is}):(t=s.createElement(n),n==="select"&&(s=t,i.multiple?s.multiple=!0:i.size&&(s.size=i.size))):t=s.createElementNS(t,n),t[Ot]=e,t[Cr]=i,Hh(t,e,!1,!1),e.stateNode=t;e:{switch(s=ql(n,i),n){case"dialog":q("cancel",t),q("close",t),r=i;break;case"iframe":case"object":case"embed":q("load",t),r=i;break;case"video":case"audio":for(r=0;rCi&&(e.flags|=128,i=!0,Ui(o,!1),e.lanes=4194304)}else{if(!i)if(t=Zo(s),t!==null){if(e.flags|=128,i=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),Ui(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!X)return Ee(e),null}else 2*ce()-o.renderingStartTime>Ci&&n!==1073741824&&(e.flags|=128,i=!0,Ui(o,!1),e.lanes=4194304);o.isBackwards?(s.sibling=e.child,e.child=s):(n=o.last,n!==null?n.sibling=s:e.child=s,o.last=s)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=ce(),e.sibling=null,n=te.current,W(te,i?n&1|2:n&1),e):(Ee(e),null);case 22:case 23:return Su(),i=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==i&&(e.flags|=8192),i&&e.mode&1?Qe&1073741824&&(Ee(e),e.subtreeFlags&6&&(e.flags|=8192)):Ee(e),null;case 24:return null;case 25:return null}throw Error(C(156,e.tag))}function kv(t,e){switch(ru(e),e.tag){case 1:return $e(e.type)&&qo(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return _i(),Q(Be),Q(Me),hu(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return fu(e),null;case 13:if(Q(te),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(C(340));bi()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Q(te),null;case 4:return _i(),null;case 10:return au(e.type._context),null;case 22:case 23:return Su(),null;case 24:return null;default:return null}}var fo=!1,ze=!1,_v=typeof WeakSet=="function"?WeakSet:Set,z=null;function ui(t,e){var n=t.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(i){se(t,e,i)}else n.current=null}function wa(t,e,n){try{n()}catch(i){se(t,e,i)}}var Yc=!1;function Sv(t,e){if(na=Uo,t=Kf(),nu(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else e:{n=(n=t.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var r=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,c=0,d=t,f=null;t:for(;;){for(var m;d!==n||r!==0&&d.nodeType!==3||(l=s+r),d!==o||i!==0&&d.nodeType!==3||(a=s+i),d.nodeType===3&&(s+=d.nodeValue.length),(m=d.firstChild)!==null;)f=d,d=m;for(;;){if(d===t)break t;if(f===n&&++u===r&&(l=s),f===o&&++c===i&&(a=s),(m=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=m}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(ia={focusedElem:t,selectionRange:n},Uo=!1,z=e;z!==null;)if(e=z,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,z=t;else for(;z!==null;){e=z;try{var h=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var y=h.memoizedProps,b=h.memoizedState,v=e.stateNode,p=v.getSnapshotBeforeUpdate(e.elementType===e.type?y:mt(e.type,y),b);v.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var g=e.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(x){se(e,e.return,x)}if(t=e.sibling,t!==null){t.return=e.return,z=t;break}z=e.return}return h=Yc,Yc=!1,h}function ur(t,e,n){var i=e.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var r=i=i.next;do{if((r.tag&t)===t){var o=r.destroy;r.destroy=void 0,o!==void 0&&wa(e,n,o)}r=r.next}while(r!==i)}}function xs(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var n=e=e.next;do{if((n.tag&t)===t){var i=n.create;n.destroy=i()}n=n.next}while(n!==e)}}function xa(t){var e=t.ref;if(e!==null){var n=t.stateNode;switch(t.tag){case 5:t=n;break;default:t=n}typeof e=="function"?e(t):e.current=t}}function qh(t){var e=t.alternate;e!==null&&(t.alternate=null,qh(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[Ot],delete e[Cr],delete e[sa],delete e[sv],delete e[lv])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Qh(t){return t.tag===5||t.tag===3||t.tag===4}function Xc(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Qh(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function ba(t,e,n){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=Wo));else if(i!==4&&(t=t.child,t!==null))for(ba(t,e,n),t=t.sibling;t!==null;)ba(t,e,n),t=t.sibling}function ka(t,e,n){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(i!==4&&(t=t.child,t!==null))for(ka(t,e,n),t=t.sibling;t!==null;)ka(t,e,n),t=t.sibling}var ke=null,vt=!1;function tn(t,e,n){for(n=n.child;n!==null;)Gh(t,e,n),n=n.sibling}function Gh(t,e,n){if(At&&typeof At.onCommitFiberUnmount=="function")try{At.onCommitFiberUnmount(fs,n)}catch{}switch(n.tag){case 5:ze||ui(n,e);case 6:var i=ke,r=vt;ke=null,tn(t,e,n),ke=i,vt=r,ke!==null&&(vt?(t=ke,n=n.stateNode,t.nodeType===8?t.parentNode.removeChild(n):t.removeChild(n)):ke.removeChild(n.stateNode));break;case 18:ke!==null&&(vt?(t=ke,n=n.stateNode,t.nodeType===8?il(t.parentNode,n):t.nodeType===1&&il(t,n),xr(t)):il(ke,n.stateNode));break;case 4:i=ke,r=vt,ke=n.stateNode.containerInfo,vt=!0,tn(t,e,n),ke=i,vt=r;break;case 0:case 11:case 14:case 15:if(!ze&&(i=n.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){r=i=i.next;do{var o=r,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&wa(n,e,s),r=r.next}while(r!==i)}tn(t,e,n);break;case 1:if(!ze&&(ui(n,e),i=n.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(l){se(n,e,l)}tn(t,e,n);break;case 21:tn(t,e,n);break;case 22:n.mode&1?(ze=(i=ze)||n.memoizedState!==null,tn(t,e,n),ze=i):tn(t,e,n);break;default:tn(t,e,n)}}function Jc(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var n=t.stateNode;n===null&&(n=t.stateNode=new _v),e.forEach(function(i){var r=Rv.bind(null,t,i);n.has(i)||(n.add(i),i.then(r,r))})}}function ht(t,e){var n=e.deletions;if(n!==null)for(var i=0;ir&&(r=s),i&=~o}if(i=r,i=ce()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Pv(i/1960))-i,10t?16:t,un===null)var i=!1;else{if(t=un,un=null,rs=0,F&6)throw Error(C(331));var r=F;for(F|=4,z=t.current;z!==null;){var o=z,s=o.child;if(z.flags&16){var l=o.deletions;if(l!==null){for(var a=0;ace()-ku?Dn(t,0):bu|=n),Ue(t,e)}function np(t,e){e===0&&(t.mode&1?(e=no,no<<=1,!(no&130023424)&&(no=4194304)):e=1);var n=Te();t=Wt(t,e),t!==null&&(Fr(t,e,n),Ue(t,n))}function Tv(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),np(t,n)}function Rv(t,e){var n=0;switch(t.tag){case 13:var i=t.stateNode,r=t.memoizedState;r!==null&&(n=r.retryLane);break;case 19:i=t.stateNode;break;default:throw Error(C(314))}i!==null&&i.delete(e),np(t,n)}var ip;ip=function(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps||Be.current)Ne=!0;else{if(!(t.lanes&n)&&!(e.flags&128))return Ne=!1,xv(t,e,n);Ne=!!(t.flags&131072)}else Ne=!1,X&&e.flags&1048576&&sh(e,Ko,e.index);switch(e.lanes=0,e.tag){case 2:var i=e.type;Po(t,e),t=e.pendingProps;var r=xi(e,Me.current);mi(e,n),r=mu(null,e,i,t,r,n);var o=vu();return e.flags|=1,typeof r=="object"&&r!==null&&typeof r.render=="function"&&r.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,$e(i)?(o=!0,Qo(e)):o=!1,e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,cu(e),r.updater=gs,e.stateNode=r,r._reactInternals=e,fa(e,i,t,n),e=ma(null,e,i,!0,o,n)):(e.tag=0,X&&o&&iu(e),Ae(null,e,r,n),e=e.child),e;case 16:i=e.elementType;e:{switch(Po(t,e),t=e.pendingProps,r=i._init,i=r(i._payload),e.type=i,r=e.tag=Dv(i),t=mt(i,t),r){case 0:e=pa(null,e,i,t,n);break e;case 1:e=Qc(null,e,i,t,n);break e;case 11:e=Wc(null,e,i,t,n);break e;case 14:e=qc(null,e,i,mt(i.type,t),n);break e}throw Error(C(306,i,""))}return e;case 0:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:mt(i,r),pa(t,e,i,r,n);case 1:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:mt(i,r),Qc(t,e,i,r,n);case 3:e:{if(Bh(e),t===null)throw Error(C(387));i=e.pendingProps,o=e.memoizedState,r=o.element,ch(t,e),Jo(e,i,null,n);var s=e.memoizedState;if(i=s.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){r=Si(Error(C(423)),e),e=Gc(t,e,i,n,r);break e}else if(i!==r){r=Si(Error(C(424)),e),e=Gc(t,e,i,n,r);break e}else for(Ke=hn(e.stateNode.containerInfo.firstChild),Ye=e,X=!0,yt=null,n=ph(e,null,i,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(bi(),i===r){e=qt(t,e,n);break e}Ae(t,e,i,n)}e=e.child}return e;case 5:return mh(e),t===null&&ua(e),i=e.type,r=e.pendingProps,o=t!==null?t.memoizedProps:null,s=r.children,ra(i,r)?s=null:o!==null&&ra(i,o)&&(e.flags|=32),Fh(t,e),Ae(t,e,s,n),e.child;case 6:return t===null&&ua(e),null;case 13:return $h(t,e,n);case 4:return du(e,e.stateNode.containerInfo),i=e.pendingProps,t===null?e.child=ki(e,null,i,n):Ae(t,e,i,n),e.child;case 11:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:mt(i,r),Wc(t,e,i,r,n);case 7:return Ae(t,e,e.pendingProps,n),e.child;case 8:return Ae(t,e,e.pendingProps.children,n),e.child;case 12:return Ae(t,e,e.pendingProps.children,n),e.child;case 10:e:{if(i=e.type._context,r=e.pendingProps,o=e.memoizedProps,s=r.value,W(Yo,i._currentValue),i._currentValue=s,o!==null)if(xt(o.value,s)){if(o.children===r.children&&!Be.current){e=qt(t,e,n);break e}}else for(o=e.child,o!==null&&(o.return=e);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var a=l.firstContext;a!==null;){if(a.context===i){if(o.tag===1){a=$t(-1,n&-n),a.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),ca(o.return,n,e),l.lanes|=n;break}a=a.next}}else if(o.tag===10)s=o.type===e.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(C(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),ca(s,n,e),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===e){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Ae(t,e,r.children,n),e=e.child}return e;case 9:return r=e.type,i=e.pendingProps.children,mi(e,n),r=ut(r),i=i(r),e.flags|=1,Ae(t,e,i,n),e.child;case 14:return i=e.type,r=mt(i,e.pendingProps),r=mt(i.type,r),qc(t,e,i,r,n);case 15:return Lh(t,e,e.type,e.pendingProps,n);case 17:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:mt(i,r),Po(t,e),e.tag=1,$e(i)?(t=!0,Qo(e)):t=!1,mi(e,n),fh(e,i,r),fa(e,i,r,n),ma(null,e,i,!0,t,n);case 19:return Uh(t,e,n);case 22:return Nh(t,e,n)}throw Error(C(156,e.tag))};function rp(t,e){return Mf(t,e)}function Iv(t,e,n,i){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ot(t,e,n,i){return new Iv(t,e,n,i)}function Pu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Dv(t){if(typeof t=="function")return Pu(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Wa)return 11;if(t===qa)return 14}return 2}function yn(t,e){var n=t.alternate;return n===null?(n=ot(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&14680064,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function zo(t,e,n,i,r,o){var s=2;if(i=t,typeof t=="function")Pu(t)&&(s=1);else if(typeof t=="string")s=5;else e:switch(t){case ei:return jn(n.children,r,o,e);case Va:s=8,r|=8;break;case jl:return t=ot(12,n,e,r|2),t.elementType=jl,t.lanes=o,t;case Ll:return t=ot(13,n,e,r),t.elementType=Ll,t.lanes=o,t;case Nl:return t=ot(19,n,e,r),t.elementType=Nl,t.lanes=o,t;case hf:return ks(n,r,o,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case df:s=10;break e;case ff:s=9;break e;case Wa:s=11;break e;case qa:s=14;break e;case nn:s=16,i=null;break e}throw Error(C(130,t==null?t:typeof t,""))}return e=ot(s,n,e,r),e.elementType=t,e.type=i,e.lanes=o,e}function jn(t,e,n,i){return t=ot(7,t,i,e),t.lanes=n,t}function ks(t,e,n,i){return t=ot(22,t,i,e),t.elementType=hf,t.lanes=n,t.stateNode={isHidden:!1},t}function dl(t,e,n){return t=ot(6,t,null,e),t.lanes=n,t}function fl(t,e,n){return e=ot(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function jv(t,e,n,i,r){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=qs(0),this.expirationTimes=qs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qs(0),this.identifierPrefix=i,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function Eu(t,e,n,i,r,o,s,l,a){return t=new jv(t,e,n,l,a),e===1?(e=1,o===!0&&(e|=8)):e=0,o=ot(3,null,null,e),t.current=o,o.stateNode=t,o.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},cu(o),t}function Lv(t,e,n){var i=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ap)}catch(t){console.error(t)}}ap(),sf.exports=Ze;var Uv=sf.exports,sd=Uv;Il.createRoot=sd.createRoot,Il.hydrateRoot=sd.hydrateRoot;function Ea(){return Ea=Object.assign?Object.assign.bind():function(t){for(var e=1;e0&&(n.strPos=n.currentElContent.length-1,n.strings.unshift(n.currentElContent)),n.sequence=[],n.strings)n.sequence[a]=a;n.arrayPos=0,n.stopNum=0,n.loop=n.options.loop,n.loopCount=n.options.loopCount,n.curLoop=0,n.shuffle=n.options.shuffle,n.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},n.typingComplete=!1,n.autoInsertCss=n.options.autoInsertCss,n.autoInsertCss&&(this.appendCursorAnimationCss(n),this.appendFadeOutAnimationCss(n))},e.getCurrentElContent=function(n){return n.attr?n.el.getAttribute(n.attr):n.isInput?n.el.value:n.contentType==="html"?n.el.innerHTML:n.el.textContent},e.appendCursorAnimationCss=function(n){var i="data-typed-js-cursor-css";if(n.showCursor&&!document.querySelector("["+i+"]")){var r=document.createElement("style");r.setAttribute(i,"true"),r.innerHTML=` .typed-cursor{ opacity: 1; } @@ -63,12 +63,12 @@ Error generating stack: `+o.message+` -webkit-animation: 0; animation: 0; } - `,document.body.appendChild(r)}},t}()),ld=new(function(){function t(){}var e=t.prototype;return e.typeHtmlChars=function(n,i,r){if(r.contentType!=="html")return i;var o=n.substring(i).charAt(0);if(o==="<"||o==="&"){var s;for(s=o==="<"?">":";";n.substring(i+1).charAt(0)!==s&&!(1+ ++i>n.length););i++}return i},e.backSpaceHtmlChars=function(n,i,r){if(r.contentType!=="html")return i;var o=n.substring(i).charAt(0);if(o===">"||o===";"){var s;for(s=o===">"?"<":"&";n.substring(i-1).charAt(0)!==s&&!(--i<0););i--}return i},t}()),Wv=function(){function t(n,i){Vv.load(this,i,n),this.begin()}var e=t.prototype;return e.toggle=function(){this.pause.status?this.start():this.stop()},e.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},e.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},e.destroy=function(){this.reset(!1),this.options.onDestroy(this)},e.reset=function(n){n===void 0&&(n=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,n&&(this.insertCursor(),this.options.onReset(this),this.begin())},e.begin=function(){var n=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){n.strPos===0?n.typewrite(n.strings[n.sequence[n.arrayPos]],n.strPos):n.backspace(n.strings[n.sequence[n.arrayPos]],n.strPos)},this.startDelay)},e.typewrite=function(n,i){var r=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var o=this.humanizer(this.typeSpeed),s=1;this.pause.status!==!0?this.timeout=setTimeout(function(){i=ld.typeHtmlChars(n,i,r);var l=0,a=n.substring(i);if(a.charAt(0)==="^"&&/^\^\d+/.test(a)){var u=1;u+=(a=/\d+/.exec(a)[0]).length,l=parseInt(a),r.temporaryPause=!0,r.options.onTypingPaused(r.arrayPos,r),n=n.substring(0,i)+n.substring(i+u),r.toggleBlinking(!0)}if(a.charAt(0)==="`"){for(;n.substring(i+s).charAt(0)!=="`"&&(s++,!(i+s>n.length)););var c=n.substring(0,i),d=n.substring(c.length+1,i+s),f=n.substring(i+s+1);n=c+d+f,s--}r.timeout=setTimeout(function(){r.toggleBlinking(!1),i>=n.length?r.doneTyping(n,i):r.keepTyping(n,i,s),r.temporaryPause&&(r.temporaryPause=!1,r.options.onTypingResumed(r.arrayPos,r))},l)},o):this.setPauseStatus(n,i,!0)},e.keepTyping=function(n,i,r){i===0&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this));var o=n.substring(0,i+=r);this.replaceText(o),this.typewrite(n,i)},e.doneTyping=function(n,i){var r=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),this.loop===!1||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){r.backspace(n,i)},this.backDelay))},e.backspace=function(n,i){var r=this;if(this.pause.status!==!0){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var o=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){i=ld.backSpaceHtmlChars(n,i,r);var s=n.substring(0,i);if(r.replaceText(s),r.smartBackspace){var l=r.strings[r.arrayPos+1];r.stopNum=l&&s===l.substring(0,i)?i:0}i>r.stopNum?(i--,r.backspace(n,i)):i<=r.stopNum&&(r.arrayPos++,r.arrayPos===r.strings.length?(r.arrayPos=0,r.options.onLastStringBackspaced(),r.shuffleStringsIfNeeded(),r.begin()):r.typewrite(r.strings[r.sequence[r.arrayPos]],i))},o)}else this.setPauseStatus(n,i,!1)},e.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},e.setPauseStatus=function(n,i,r){this.pause.typewrite=r,this.pause.curString=n,this.pause.curStrPos=i},e.toggleBlinking=function(n){this.cursor&&(this.pause.status||this.cursorBlinking!==n&&(this.cursorBlinking=n,n?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},e.humanizer=function(n){return Math.round(Math.random()*n/2)+n},e.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},e.initFadeOut=function(){var n=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){n.arrayPos++,n.replaceText(""),n.strings.length>n.arrayPos?n.typewrite(n.strings[n.sequence[n.arrayPos]],0):(n.typewrite(n.strings[0],0),n.arrayPos=0)},this.fadeOutDelay)},e.replaceText=function(n){this.attr?this.el.setAttribute(this.attr,n):this.isInput?this.el.value=n:this.contentType==="html"?this.el.innerHTML=n:this.el.textContent=n},e.bindFocusEvents=function(){var n=this;this.isInput&&(this.el.addEventListener("focus",function(i){n.stop()}),this.el.addEventListener("blur",function(i){n.el.value&&n.el.value.length!==0||n.start()}))},e.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},t}(),up={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ad=Fe.createContext&&Fe.createContext(up),gn=globalThis&&globalThis.__assign||function(){return gn=Object.assign||function(t){for(var e,n=1,i=arguments.length;nw.jsxs("div",{className:"w-full flex flex-col gap-2 justify-center items-center",children:[w.jsxs("div",{className:"flex flex-col justify-center items-center text-center gap-2 p-2",children:[w.jsx("div",{className:"w-[250px]",children:w.jsx("img",{src:n})}),w.jsx("div",{className:"flex justify-center items-center p-2",children:w.jsx("h2",{className:"font-burtons font-semibold text-2xl",children:i})}),w.jsx("div",{className:"flex justify-center items-center",children:w.jsx("p",{children:r})})]}),w.jsx("div",{children:e?w.jsxs("div",{className:"flex gap-2 justify-center items-center",children:[w.jsx("a",{rel:"noreferrer",href:t,target:"_blank",children:w.jsx(Oa,{className:"cursor-pointer text-2xl transition duration-500 hover:scale-125 ease-in-out"})}),w.jsx("a",{rel:"noreferrer",href:e,target:"_blank",children:w.jsx(ey,{className:"cursor-pointer text-2xl transition duration-500 hover:scale-125 ease-in-out hover:fill-purple-600"})})]}):w.jsx("div",{children:w.jsx("a",{rel:"noreferrer",href:t,target:"_blank",children:w.jsx(Oa,{className:"cursor-pointer text-2xl transition duration-500 hover:scale-125 ease-in-out"})})})})]}),by=({image:t,qrCode:e})=>w.jsx("a",{href:"https://www.buymeacoffee.com/rrishu561y",target:"_blank",children:w.jsx("img",{src:t,alt:"Buy me a coffee",className:"w-40"})}),ky=({image:t})=>w.jsx("div",{children:w.jsx("img",{src:t,alt:"buy me a coffee!",width:200})});class _y{constructor(){this._listeners=new Map}addEventListener(e,n){var i;this.removeEventListener(e,n),this._listeners.get(e)||this._listeners.set(e,[]),(i=this._listeners.get(e))===null||i===void 0||i.push(n)}dispatchEvent(e,n){var i;(i=this._listeners.get(e))===null||i===void 0||i.forEach(r=>r(n))}hasEventListener(e){return!!this._listeners.get(e)}removeAllEventListeners(e){e?this._listeners.delete(e):this._listeners=new Map}removeEventListener(e,n){const i=this._listeners.get(e);if(!i)return;const r=i.length,o=i.indexOf(n);o<0||(r===1?this._listeners.delete(e):i.splice(o,1))}}class qe{constructor(e,n,i){if(typeof e!="number"&&e){this.x=e.x,this.y=e.y;const r=e;this.z=r.z?r.z:0}else if(e!==void 0&&n!==void 0)this.x=e,this.y=n,this.z=i??0;else throw new Error("tsParticles - Vector3d not initialized correctly")}static get origin(){return qe.create(0,0,0)}get angle(){return Math.atan2(this.y,this.x)}set angle(e){this.updateFromAngle(e,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(e){this.updateFromAngle(this.angle,e)}static clone(e){return qe.create(e.x,e.y,e.z)}static create(e,n,i){return new qe(e,n,i)}add(e){return qe.create(this.x+e.x,this.y+e.y,this.z+e.z)}addTo(e){this.x+=e.x,this.y+=e.y,this.z+=e.z}copy(){return qe.clone(this)}distanceTo(e){return this.sub(e).length}distanceToSq(e){return this.sub(e).getLengthSq()}div(e){return qe.create(this.x/e,this.y/e,this.z/e)}divTo(e){this.x/=e,this.y/=e,this.z/=e}getLengthSq(){return this.x**2+this.y**2}mult(e){return qe.create(this.x*e,this.y*e,this.z*e)}multTo(e){this.x*=e,this.y*=e,this.z*=e}rotate(e){return qe.create(this.x*Math.cos(e)-this.y*Math.sin(e),this.x*Math.sin(e)+this.y*Math.cos(e),0)}setTo(e){this.x=e.x,this.y=e.y;const n=e;this.z=n.z?n.z:0}sub(e){return qe.create(this.x-e.x,this.y-e.y,this.z-e.z)}subFrom(e){this.x-=e.x,this.y-=e.y,this.z-=e.z}updateFromAngle(e,n){this.x=Math.cos(e)*n,this.y=Math.sin(e)*n}}class V extends qe{constructor(e,n){super(e,n,0)}static get origin(){return V.create(0,0)}static clone(e){return V.create(e.x,e.y)}static create(e,n){return new V(e,n)}}let Sy=Math.random;const Cy=new Map;function dp(t){return Cy.get(t)||(e=>e)}function I(){return bt(Sy(),0,1-1e-16)}function bt(t,e,n){return Math.min(Math.max(t,e),n)}function hl(t,e,n,i){return Math.floor((t*n+e*i)/(n+i))}function ve(t){const e=Mt(t);let n=Tr(t);return e===n&&(n=0),I()*(e-n)+n}function P(t){return typeof t=="number"?t:ve(t)}function Tr(t){return typeof t=="number"?t:t.min}function Mt(t){return typeof t=="number"?t:t.max}function R(t,e){if(t===e||e===void 0&&typeof t=="number")return t;const n=Tr(t),i=Mt(t);return e!==void 0?{min:Math.min(n,e),max:Math.max(i,e)}:R(n,i)}function Qt(t){const e=t.random,{enable:n,minimumValue:i}=typeof e=="boolean"?{enable:e,minimumValue:0}:e;return P(n?R(t.value,i):t.value)}function Re(t,e){const n=t.x-e.x,i=t.y-e.y;return{dx:n,dy:i,distance:Math.sqrt(n**2+i**2)}}function ye(t,e){return Re(t,e).distance}function Py(t,e,n){if(typeof t=="number")return t*Math.PI/180;switch(t){case"top":return-Math.PI/2;case"top-right":return-Math.PI/4;case"right":return 0;case"bottom-right":return Math.PI/4;case"bottom":return Math.PI/2;case"bottom-left":return 3*Math.PI/4;case"left":return Math.PI;case"top-left":return-3*Math.PI/4;case"inside":return Math.atan2(n.y-e.y,n.x-e.x);case"outside":return Math.atan2(e.y-n.y,e.x-n.x);default:return I()*Math.PI*2}}function Ey(t){const e=V.origin;return e.length=1,e.angle=t,e}function ud(t,e,n,i){return V.create(t.x*(n-i)/(n+i)+e.x*2*i/(n+i),t.y)}function Oy(t){return t.position&&t.position.x!==void 0&&t.position.y!==void 0?{x:t.position.x*t.size.width/100,y:t.position.y*t.size.height/100}:void 0}function fp(t){var e,n,i,r;return{x:((n=(e=t.position)===null||e===void 0?void 0:e.x)!==null&&n!==void 0?n:I()*100)*t.size.width/100,y:((r=(i=t.position)===null||i===void 0?void 0:i.y)!==null&&r!==void 0?r:I()*100)*t.size.height/100}}function hp(t){var e,n;const i={x:((e=t.position)===null||e===void 0?void 0:e.x)!==void 0?P(t.position.x):void 0,y:((n=t.position)===null||n===void 0?void 0:n.y)!==void 0?P(t.position.y):void 0};return fp({size:t.size,position:i})}function zy(t){var e,n,i,r;return{x:(n=(e=t.position)===null||e===void 0?void 0:e.x)!==null&&n!==void 0?n:I()*t.size.width,y:(r=(i=t.position)===null||i===void 0?void 0:i.y)!==null&&r!==void 0?r:I()*t.size.height}}function pp(t){return t?t.endsWith("%")?parseFloat(t)/100:parseFloat(t):1}function cd(t,e,n,i,r,o){const s={bounced:!1};return e.mini.max||e.maxi.max||(t.max>=n.min&&t.max<=(n.max+n.min)/2&&r>0||t.min<=n.max&&t.min>(n.max+n.min)/2&&r<0)&&(s.velocity=r*-o,s.bounced=!0),s}function My(t,e){const n=K(e,i=>t.matches(i));return n instanceof Array?n.some(i=>i):n}function Un(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function Ay(){return!Un()&&typeof matchMedia<"u"}function mp(t){if(Ay())return matchMedia(t)}function Ty(){return Un()?t=>setTimeout(t):t=>(requestAnimationFrame||setTimeout)(t)}function Ry(){return Un()?t=>clearTimeout(t):t=>(cancelAnimationFrame||clearTimeout)(t)}function G(t,e){return t===e||e instanceof Array&&e.indexOf(t)>-1}async function Iy(t,e){try{await document.fonts.load(`${e??"400"} 36px '${t??"Verdana"}'`)}catch{}}function vp(t){return Math.floor(I()*t.length)}function Hr(t,e,n=!0){return t[e!==void 0&&n?e%t.length:vp(t)]}function Vr(t,e,n,i,r){return Dy(Wr(t,i??0),e,n,r)}function Dy(t,e,n,i){let r=!0;return(!i||i==="bottom")&&(r=t.topn.x),r&&(!i||i==="right")&&(r=t.leftn.y),r}function Wr(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function de(t,...e){for(const n of e){if(n==null)continue;if(typeof n!="object"){t=n;continue}const i=Array.isArray(n);i&&(typeof t!="object"||!t||!Array.isArray(t))?t=[]:!i&&(typeof t!="object"||!t||Array.isArray(t))&&(t={});for(const r in n){if(r==="__proto__")continue;const o=n,s=o[r],l=typeof s=="object",a=t;a[r]=l&&Array.isArray(s)?s.map(u=>de(a[r],u)):de(a[r],s)}}return t}function Au(t,e){return!!wp(e,n=>n.enable&&G(t,n.mode))}function Tu(t,e,n){K(e,i=>{const r=i.mode;i.enable&&G(t,r)&&jy(i,n)})}function jy(t,e){const n=t.selectors;K(n,i=>{e(i,t)})}function yp(t,e){if(!(!e||!t))return wp(t,n=>My(e,n.selectors))}function za(t){return{position:t.getPosition(),radius:t.getRadius(),mass:t.getMass(),velocity:t.velocity,factor:V.create(Qt(t.options.bounce.horizontal),Qt(t.options.bounce.vertical))}}function gp(t,e){const{x:n,y:i}=t.velocity.sub(e.velocity),[r,o]=[t.position,e.position],{dx:s,dy:l}=Re(o,r);if(n*s+i*l<0)return;const a=-Math.atan2(l,s),u=t.mass,c=e.mass,d=t.velocity.rotate(a),f=e.velocity.rotate(a),m=ud(d,f,u,c),h=ud(f,d,u,c),y=m.rotate(-a),b=h.rotate(-a);t.velocity.x=y.x*t.factor.x,t.velocity.y=y.y*t.factor.y,e.velocity.x=b.x*e.factor.x,e.velocity.y=b.y*e.factor.y}function Ly(t,e){const n=t.getPosition(),i=t.getRadius(),r=Wr(n,i),o=cd({min:r.left,max:r.right},{min:r.top,max:r.bottom},{min:e.left,max:e.right},{min:e.top,max:e.bottom},t.velocity.x,Qt(t.options.bounce.horizontal));o.bounced&&(o.velocity!==void 0&&(t.velocity.x=o.velocity),o.position!==void 0&&(t.position.x=o.position));const s=cd({min:r.top,max:r.bottom},{min:r.left,max:r.right},{min:e.top,max:e.bottom},{min:e.left,max:e.right},t.velocity.y,Qt(t.options.bounce.vertical));s.bounced&&(s.velocity!==void 0&&(t.velocity.y=s.velocity),s.position!==void 0&&(t.position.y=s.position))}function K(t,e){return t instanceof Array?t.map((n,i)=>e(n,i)):e(t,0)}function at(t,e,n){return t instanceof Array?Hr(t,e,n):t}function wp(t,e){return t instanceof Array?t.find((n,i)=>e(n,i)):e(t,0)?t:void 0}const ls="random",Mo="mid",Es=new Map;function xp(t){Es.set(t.key,t)}function pl(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Ny(t){for(const[,o]of Es)if(t.startsWith(o.stringPrefix))return o.parseString(t);const e=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,n=t.replace(e,(o,s,l,a,u)=>s+s+l+l+a+a+(u!==void 0?u+u:"")),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,r=i.exec(n);return r?{a:r[4]!==void 0?parseInt(r[4],16)/255:1,b:parseInt(r[3],16),g:parseInt(r[2],16),r:parseInt(r[1],16)}:void 0}function ut(t,e,n=!0){if(!t)return;const i=typeof t=="string"?{value:t}:t;if(typeof i.value=="string")return bp(i.value,e,n);if(i.value instanceof Array)return ut({value:Hr(i.value,e,n)});for(const[,r]of Es){const o=r.handleRangeColor(i);if(o)return o}}function bp(t,e,n=!0){if(!t)return;const i=typeof t=="string"?{value:t}:t;if(typeof i.value=="string")return i.value===ls?_p():Fy(i.value);if(i.value instanceof Array)return bp({value:Hr(i.value,e,n)});for(const[,r]of Es){const o=r.handleColor(i);if(o)return o}}function bn(t,e,n=!0){const i=ut(t,e,n);return i?kp(i):void 0}function kp(t){const e=t.r/255,n=t.g/255,i=t.b/255,r=Math.max(e,n,i),o=Math.min(e,n,i),s={h:0,l:(r+o)/2,s:0};return r!==o&&(s.s=s.l<.5?(r-o)/(r+o):(r-o)/(2-r-o),s.h=e===r?(n-i)/(r-o):s.h=n===r?2+(i-e)/(r-o):4+(e-n)/(r-o)),s.l*=100,s.s*=100,s.h*=60,s.h<0&&(s.h+=360),s.h>=360&&(s.h-=360),s}function Fy(t){return Ny(t)}function Pi(t){const e={b:0,g:0,r:0},n={h:t.h/360,l:t.l/100,s:t.s/100};if(!n.s)e.b=n.l,e.g=n.l,e.r=n.l;else{const i=n.l<.5?n.l*(1+n.s):n.l+n.s-n.l*n.s,r=2*n.l-i;e.r=pl(r,i,n.h+1/3),e.g=pl(r,i,n.h),e.b=pl(r,i,n.h-1/3)}return e.r=Math.floor(e.r*255),e.g=Math.floor(e.g*255),e.b=Math.floor(e.b*255),e}function By(t){const e=Pi(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}function _p(t){const e=t??0;return{b:Math.floor(ve(R(e,256))),g:Math.floor(ve(R(e,256))),r:Math.floor(ve(R(e,256)))}}function Rt(t,e){return`rgba(${t.r}, ${t.g}, ${t.b}, ${e??1})`}function Ei(t,e){return`hsla(${t.h}, ${t.s}%, ${t.l}%, ${e??1})`}function Ru(t,e,n,i){let r=t,o=e;return r.r===void 0&&(r=Pi(t)),o.r===void 0&&(o=Pi(e)),{b:hl(r.b,o.b,n,i),g:hl(r.g,o.g,n,i),r:hl(r.r,o.r,n,i)}}function Ma(t,e,n){var i,r;if(n===ls)return _p();if(n===Mo){const o=(i=t.getFillColor())!==null&&i!==void 0?i:t.getStrokeColor(),s=(r=e==null?void 0:e.getFillColor())!==null&&r!==void 0?r:e==null?void 0:e.getStrokeColor();if(o&&s&&e)return Ru(o,s,t.getRadius(),e.getRadius());{const l=o??s;if(l)return Pi(l)}}else return n}function Sp(t,e,n){const i=typeof t=="string"?t:t.value;return i===ls?n?ut({value:i}):e?ls:Mo:i===Mo?Mo:ut({value:i})}function dd(t){return t!==void 0?{h:t.h.value,s:t.s.value,l:t.l.value}:void 0}function Cp(t,e,n){const i={h:{enable:!1,value:t.h},s:{enable:!1,value:t.s},l:{enable:!1,value:t.l}};return e&&(ml(i.h,e.h,n),ml(i.s,e.s,n),ml(i.l,e.l,n)),i}function ml(t,e,n){t.enable=e.enable,t.enable?(t.velocity=P(e.speed)/100*n,t.decay=1-P(e.decay),t.status="increasing",t.loops=0,t.maxLoops=P(e.count),e.sync||(t.velocity*=I(),t.value*=I()),t.initialValue=t.value):t.velocity=0}function fr(t,e,n){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(n.x,n.y),t.closePath()}function $y(t,e,n,i){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(n.x,n.y),t.lineTo(i.x,i.y),t.closePath()}function Uy(t,e,n){t.fillStyle=n??"rgba(0,0,0,0)",t.fillRect(0,0,e.width,e.height)}function Hy(t,e,n,i){n&&(t.globalAlpha=i,t.drawImage(n,0,0,e.width,e.height),t.globalAlpha=1)}function vl(t,e){t.clearRect(0,0,e.width,e.height)}function Vy(t){var e,n,i,r,o;const{container:s,context:l,particle:a,delta:u,colorStyles:c,backgroundMask:d,composite:f,radius:m,opacity:h,shadow:y,transform:b}=t,v=a.getPosition(),p=a.rotation+(a.pathRotation?a.velocity.angle:0),g={sin:Math.sin(p),cos:Math.cos(p)},x={a:g.cos*((e=b.a)!==null&&e!==void 0?e:1),b:g.sin*((n=b.b)!==null&&n!==void 0?n:1),c:-g.sin*((i=b.c)!==null&&i!==void 0?i:1),d:g.cos*((r=b.d)!==null&&r!==void 0?r:1)};l.setTransform(x.a,x.b,x.c,x.d,v.x,v.y),l.beginPath(),d&&(l.globalCompositeOperation=f);const k=a.shadowColor;y.enable&&k&&(l.shadowBlur=y.blur,l.shadowColor=Rt(k),l.shadowOffsetX=y.offset.x,l.shadowOffsetY=y.offset.y),c.fill&&(l.fillStyle=c.fill);const _=(o=a.strokeWidth)!==null&&o!==void 0?o:0;l.lineWidth=_,c.stroke&&(l.strokeStyle=c.stroke),Wy(s,l,a,m,h,u),_>0&&l.stroke(),a.close&&l.closePath(),a.fill&&l.fill(),qy(s,l,a,m,h,u),l.globalCompositeOperation="source-over",l.setTransform(1,0,0,1,0,0)}function Wy(t,e,n,i,r,o){if(!n.shape)return;const s=t.drawers.get(n.shape);s&&s.draw(e,n,i,r,o,t.retina.pixelRatio)}function qy(t,e,n,i,r,o){if(!n.shape)return;const s=t.drawers.get(n.shape);s!=null&&s.afterEffect&&s.afterEffect(e,n,i,r,o,t.retina.pixelRatio)}function Qy(t,e,n){e.draw&&e.draw(t,n)}function Gy(t,e,n,i){e.drawParticle&&e.drawParticle(t,n,i)}function Ky(t,e,n){return{h:t.h,s:t.s,l:t.l+(e==="darken"?-1:1)*n}}const hr="generated",fd="touchend",Yy="pointerdown",Xy="pointerup",Hn="pointermove",Jy="touchstart",Zy="touchmove",Aa="pointerleave",eg="pointerout",tg="touchcancel",ng="resize",ig="visibilitychange";function rg(t,e,n){var i;const r=e[n];r!==void 0&&(t[n]=((i=t[n])!==null&&i!==void 0?i:1)*r)}class og{constructor(e){this.container=e,this.size={height:0,width:0},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[],this._mutationObserver=!Un()&&typeof MutationObserver<"u"?new MutationObserver(n=>{for(const i of n)i.type==="attributes"&&i.attributeName==="style"&&this._repairStyle()}):void 0}get _fullScreen(){return this.container.actualOptions.fullScreen.enable}clear(){const e=this.container.actualOptions,n=e.particles.move.trail,i=this._trailFill;e.backgroundMask.enable?this.paint():n.enable&&n.length>0&&i?i.color?this._paintBase(Rt(i.color,i.opacity)):i.image&&this._paintImage(i.image,i.opacity):this.draw(r=>{vl(r,this.size)})}destroy(){var e,n;(e=this._mutationObserver)===null||e===void 0||e.disconnect(),this._generated?(n=this.element)===null||n===void 0||n.remove():this._resetOriginalStyle(),this.stop(),this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(e){if(this._context)return e(this._context)}drawParticle(e,n){var i;if(e.spawning||e.destroyed)return;const r=e.getRadius();if(r<=0)return;const o=e.getFillColor(),s=(i=e.getStrokeColor())!==null&&i!==void 0?i:o;let[l,a]=this._getPluginParticleColors(e);l||(l=o),a||(a=s),!(!l&&!a)&&this.draw(u=>{var c,d,f,m;const h=this.container.actualOptions,y=e.options.zIndex,b=(1-e.zIndexFactor)**y.opacityRate,v=(f=(c=e.bubble.opacity)!==null&&c!==void 0?c:(d=e.opacity)===null||d===void 0?void 0:d.value)!==null&&f!==void 0?f:1,p=(m=e.strokeOpacity)!==null&&m!==void 0?m:v,g=v*b,x=p*b,k={},_={fill:l?Ei(l,g):void 0};_.stroke=a?Ei(a,x):_.fill,this._applyPreDrawUpdaters(u,e,r,g,_,k),Vy({container:this.container,context:u,particle:e,delta:n,colorStyles:_,backgroundMask:h.backgroundMask.enable,composite:h.backgroundMask.composite,radius:r*(1-e.zIndexFactor)**y.sizeRate,opacity:g,shadow:e.options.shadow,transform:k}),this._applyPostDrawUpdaters(e)})}drawParticlePlugin(e,n,i){this.draw(r=>{Gy(r,e,n,i)})}drawPlugin(e,n){this.draw(i=>{Qy(i,e,n)})}async init(){var e;this.resize(),this._initStyle(),this._initCover();try{await this._initTrail()}catch(n){console.error(n)}this.initBackground(),this.element&&((e=this._mutationObserver)===null||e===void 0||e.observe(this.element,{attributes:!0})),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){const e=this.container.actualOptions,n=e.background,i=this.element,r=i==null?void 0:i.style;if(r){if(n.color){const o=ut(n.color);r.backgroundColor=o?Rt(o,n.opacity):""}else r.backgroundColor="";r.backgroundImage=n.image||"",r.backgroundPosition=n.position||"",r.backgroundRepeat=n.repeat||"",r.backgroundSize=n.size||""}}initPlugins(){this._resizePlugins=[];for(const[,e]of this.container.plugins)e.resize&&this._resizePlugins.push(e),(e.particleFillColor||e.particleStrokeColor)&&this._colorPlugins.push(e)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const e of this.container.particles.updaters)e.afterDraw&&this._postDrawUpdaters.push(e),(e.getColorStyles||e.getTransformValues||e.beforeDraw)&&this._preDrawUpdaters.push(e)}loadCanvas(e){var n,i;this._generated&&((n=this.element)===null||n===void 0||n.remove()),this._generated=e.dataset&&hr in e.dataset?e.dataset[hr]==="true":this._generated,this.element=e,this.element.ariaHidden="true",this._originalStyle=de({},this.element.style),this.size.height=e.offsetHeight,this.size.width=e.offsetWidth,this._context=this.element.getContext("2d"),(i=this._mutationObserver)===null||i===void 0||i.observe(this.element,{attributes:!0}),this.container.retina.init(),this.initBackground()}paint(){const e=this.container.actualOptions;this.draw(n=>{e.backgroundMask.enable&&e.backgroundMask.cover?(vl(n,this.size),this._paintBase(this._coverColorStyle)):this._paintBase()})}resize(){if(!this.element)return;const e=this.container,n=e.retina.pixelRatio,i=e.canvas.size,r={width:this.element.offsetWidth*n,height:this.element.offsetHeight*n};if(r.height===i.height&&r.width===i.width&&r.height===this.element.height&&r.width===this.element.width)return;const o=Object.assign({},i);this.element.width=i.width=this.element.offsetWidth*n,this.element.height=i.height=this.element.offsetHeight*n,this.container.started&&(this.resizeFactor={width:i.width/o.width,height:i.height/o.height})}stop(){this.draw(e=>{vl(e,this.size)})}async windowResize(){if(!this.element)return;this.resize();const e=this.container,n=e.updateActualOptions();e.particles.setDensity(),this._applyResizePlugins(),n&&await e.refresh()}_applyPostDrawUpdaters(e){var n;for(const i of this._postDrawUpdaters)(n=i.afterDraw)===null||n===void 0||n.call(i,e)}_applyPreDrawUpdaters(e,n,i,r,o,s){var l;for(const a of this._preDrawUpdaters){if(a.getColorStyles){const{fill:u,stroke:c}=a.getColorStyles(n,e,i,r);u&&(o.fill=u),c&&(o.stroke=c)}if(a.getTransformValues){const u=a.getTransformValues(n);for(const c in u)rg(s,u,c)}(l=a.beforeDraw)===null||l===void 0||l.call(a,n)}}_applyResizePlugins(){for(const e of this._resizePlugins)e.resize&&e.resize()}_getPluginParticleColors(e){let n,i;for(const r of this._colorPlugins)if(!n&&r.particleFillColor&&(n=bn(r.particleFillColor(e))),!i&&r.particleStrokeColor&&(i=bn(r.particleStrokeColor(e))),n&&i)break;return[n,i]}_initCover(){const e=this.container.actualOptions,n=e.backgroundMask.cover,i=n.color,r=ut(i);if(r){const o={r:r.r,g:r.g,b:r.b,a:n.opacity};this._coverColorStyle=Rt(o,o.a)}}_initStyle(){const e=this.element,n=this.container.actualOptions;if(e){this._fullScreen?(this._originalStyle=de({},e.style),this._setFullScreenStyle()):this._resetOriginalStyle();for(const i in n.style){if(!i||!n.style)continue;const r=n.style[i];r&&e.style.setProperty(i,r,"important")}}}async _initTrail(){const e=this.container.actualOptions,n=e.particles.move.trail,i=n.fill;if(n.enable)if(i.color){const r=ut(i.color);if(!r)return;const o=e.particles.move.trail;this._trailFill={color:Object.assign({},r),opacity:1/o.length}}else await new Promise((r,o)=>{if(!i.image)return;const s=document.createElement("img");s.addEventListener("load",()=>{this._trailFill={image:s,opacity:1/n.length},r()}),s.addEventListener("error",l=>{o(l.error)}),s.src=i.image})}_paintBase(e){this.draw(n=>{Uy(n,this.size,e)})}_paintImage(e,n){this.draw(i=>{Hy(i,this.size,e,n)})}_repairStyle(){var e,n;const i=this.element;i&&((e=this._mutationObserver)===null||e===void 0||e.disconnect(),this._initStyle(),this.initBackground(),(n=this._mutationObserver)===null||n===void 0||n.observe(i,{attributes:!0}))}_resetOriginalStyle(){const e=this.element,n=this._originalStyle;e&&n&&(e.style.position=n.position,e.style.zIndex=n.zIndex,e.style.top=n.top,e.style.left=n.left,e.style.width=n.width,e.style.height=n.height)}_setFullScreenStyle(){const e=this.element;if(!e)return;const n="important";e.style.setProperty("position","fixed",n),e.style.setProperty("z-index",this.container.actualOptions.fullScreen.zIndex.toString(10),n),e.style.setProperty("top","0",n),e.style.setProperty("left","0",n),e.style.setProperty("width","100%",n),e.style.setProperty("height","100%",n)}}function nt(t,e,n,i,r){if(i){let o={passive:!0};typeof r=="boolean"?o.capture=r:r!==void 0&&(o=r),t.addEventListener(e,n,o)}else{const o=r;t.removeEventListener(e,n,o)}}class sg{constructor(e){this.container=e,this.canPush=!0,this.handlers={mouseMove:n=>this.mouseTouchMove(n),touchStart:n=>this.mouseTouchMove(n),touchMove:n=>this.mouseTouchMove(n),touchEnd:()=>this.mouseTouchFinish(),mouseLeave:()=>this.mouseTouchFinish(),touchCancel:()=>this.mouseTouchFinish(),touchEndClick:n=>this.mouseTouchClick(n),mouseUp:n=>this.mouseTouchClick(n),mouseDown:()=>this.mouseDown(),visibilityChange:()=>this.handleVisibilityChange(),themeChange:n=>this.handleThemeChange(n),oldThemeChange:n=>this.handleThemeChange(n),resize:()=>this.handleWindowResize()}}addListeners(){this.manageListeners(!0)}removeListeners(){this.manageListeners(!1)}doMouseTouchClick(e){const n=this.container,i=n.actualOptions;if(this.canPush){const r=n.interactivity.mouse,o=r.position;if(!o)return;r.clickPosition=Object.assign({},o),r.clickTime=new Date().getTime();const s=i.interactivity.events.onClick;K(s.mode,l=>this.handleClickMode(l))}e.type==="touchend"&&setTimeout(()=>this.mouseTouchFinish(),500)}handleClickMode(e){this.container.handleClickMode(e)}handleThemeChange(e){const n=e,i=this.container,r=i.options,o=r.defaultThemes,s=n.matches?o.dark:o.light,l=r.themes.find(a=>a.name===s);l&&l.default.auto&&i.loadTheme(s)}handleVisibilityChange(){const e=this.container,n=e.actualOptions;this.mouseTouchFinish(),n.pauseOnBlur&&(document!=null&&document.hidden?(e.pageHidden=!0,e.pause()):(e.pageHidden=!1,e.getAnimationStatus()?e.play(!0):e.draw(!0)))}handleWindowResize(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),delete this.resizeTimeout),this.resizeTimeout=setTimeout(async()=>{var e;return(e=this.container.canvas)===null||e===void 0?void 0:e.windowResize()},this.container.actualOptions.interactivity.events.resize.delay*1e3)}manageListeners(e){var n;const i=this.handlers,r=this.container,o=r.actualOptions,s=o.interactivity.detectsOn;let l=Aa;if(s==="window")r.interactivity.element=window,l=eg;else if(s==="parent"&&r.canvas.element){const d=r.canvas.element;r.interactivity.element=(n=d.parentElement)!==null&&n!==void 0?n:d.parentNode}else r.interactivity.element=r.canvas.element;const a=mp("(prefers-color-scheme: dark)");a&&(a.addEventListener!==void 0?nt(a,"change",i.themeChange,e):a.addListener!==void 0&&(e?a.addListener(i.oldThemeChange):a.removeListener(i.oldThemeChange)));const u=r.interactivity.element;if(!u)return;const c=u;(o.interactivity.events.onHover.enable||o.interactivity.events.onClick.enable)&&(nt(u,Hn,i.mouseMove,e),nt(u,Jy,i.touchStart,e),nt(u,Zy,i.touchMove,e),o.interactivity.events.onClick.enable?(nt(u,fd,i.touchEndClick,e),nt(u,Xy,i.mouseUp,e),nt(u,Yy,i.mouseDown,e)):nt(u,fd,i.touchEnd,e),nt(u,l,i.mouseLeave,e),nt(u,tg,i.touchCancel,e)),r.canvas.element&&(r.canvas.element.style.pointerEvents=c===r.canvas.element?"initial":"none"),o.interactivity.events.resize&&(typeof ResizeObserver<"u"?this.resizeObserver&&!e?(r.canvas.element&&this.resizeObserver.unobserve(r.canvas.element),this.resizeObserver.disconnect(),delete this.resizeObserver):!this.resizeObserver&&e&&r.canvas.element&&(this.resizeObserver=new ResizeObserver(d=>{d.find(m=>m.target===r.canvas.element)&&this.handleWindowResize()}),this.resizeObserver.observe(r.canvas.element)):nt(window,ng,i.resize,e)),document&&nt(document,ig,i.visibilityChange,e,!1)}mouseDown(){const e=this.container.interactivity;if(e){const n=e.mouse;n.clicking=!0,n.downPosition=n.position}}mouseTouchClick(e){const n=this.container,i=n.actualOptions,r=n.interactivity.mouse;r.inside=!0;let o=!1;const s=r.position;if(!(!s||!i.interactivity.events.onClick.enable)){for(const[,l]of n.plugins)if(l.clickPositionValid&&(o=l.clickPositionValid(s),o))break;o||this.doMouseTouchClick(e),r.clicking=!1}}mouseTouchFinish(){const e=this.container.interactivity;if(!e)return;const n=e.mouse;delete n.position,delete n.clickPosition,delete n.downPosition,e.status=Aa,n.inside=!1,n.clicking=!1}mouseTouchMove(e){var n,i,r,o,s,l,a;const u=this.container,c=u.actualOptions;if(!(!((n=u.interactivity)===null||n===void 0)&&n.element))return;u.interactivity.mouse.inside=!0;let d;const f=u.canvas.element;if(e.type.startsWith("pointer")){this.canPush=!0;const h=e;if(u.interactivity.element===window){if(f){const y=f.getBoundingClientRect();d={x:h.clientX-y.left,y:h.clientY-y.top}}}else if(c.interactivity.detectsOn==="parent"){const y=h.target,b=h.currentTarget,v=u.canvas.element;if(y&&b&&v){const p=y.getBoundingClientRect(),g=b.getBoundingClientRect(),x=v.getBoundingClientRect();d={x:h.offsetX+2*p.left-(g.left+x.left),y:h.offsetY+2*p.top-(g.top+x.top)}}else d={x:(i=h.offsetX)!==null&&i!==void 0?i:h.clientX,y:(r=h.offsetY)!==null&&r!==void 0?r:h.clientY}}else h.target===u.canvas.element&&(d={x:(o=h.offsetX)!==null&&o!==void 0?o:h.clientX,y:(s=h.offsetY)!==null&&s!==void 0?s:h.clientY})}else{this.canPush=e.type!=="touchmove";const h=e,y=h.touches[h.touches.length-1],b=f==null?void 0:f.getBoundingClientRect();d={x:y.clientX-((l=b==null?void 0:b.left)!==null&&l!==void 0?l:0),y:y.clientY-((a=b==null?void 0:b.top)!==null&&a!==void 0?a:0)}}const m=u.retina.pixelRatio;d&&(d.x*=m,d.y*=m),u.interactivity.mouse.position=d,u.interactivity.status=Hn}}function lg(t,e=60,n=!1){return{value:t,factor:n?60/e:60*t/1e3}}class ag{constructor(e){this.container=e}async nextFrame(e){var n;try{const i=this.container;if(!i.smooth&&i.lastFrameTime!==void 0&&e1e3){i.draw(!1);return}if(await i.particles.draw(r),i.duration>0&&i.lifeTime>i.duration){i.destroy();return}i.getAnimationStatus()&&i.draw(!1)}catch(i){console.error("tsParticles error in animation loop",i)}}}class ae{constructor(){this.value=""}static create(e,n){const i=new ae;return i.load(e),n!==void 0&&(typeof n=="string"||n instanceof Array?i.load({value:n}):i.load(n)),i}load(e){(e==null?void 0:e.value)!==void 0&&(this.value=e.value)}}class ug{constructor(){this.color=new ae,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(e){e&&(e.color!==void 0&&(this.color=ae.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image),e.position!==void 0&&(this.position=e.position),e.repeat!==void 0&&(this.repeat=e.repeat),e.size!==void 0&&(this.size=e.size),e.opacity!==void 0&&(this.opacity=e.opacity))}}class cg{constructor(){this.color=new ae,this.color.value="#fff",this.opacity=1}load(e){e&&(e.color!==void 0&&(this.color=ae.create(this.color,e.color)),e.opacity!==void 0&&(this.opacity=e.opacity))}}class dg{constructor(){this.composite="destination-out",this.cover=new cg,this.enable=!1}load(e){if(e){if(e.composite!==void 0&&(this.composite=e.composite),e.cover!==void 0){const n=e.cover,i=typeof e.cover=="string"?{color:e.cover}:e.cover;this.cover.load(n.color!==void 0?n:{color:i})}e.enable!==void 0&&(this.enable=e.enable)}}}class fg{constructor(){this.enable=!0,this.zIndex=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.zIndex!==void 0&&(this.zIndex=e.zIndex))}}class hg{constructor(){this.enable=!1,this.mode=[]}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode))}}class hd{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type="circle"}get el(){return this.elementId}set el(e){this.elementId=e}get elementId(){return this.ids}set elementId(e){this.ids=e}get ids(){return K(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=K(e,n=>`#${n}`)}load(e){var n,i;if(!e)return;const r=(i=(n=e.ids)!==null&&n!==void 0?n:e.elementId)!==null&&i!==void 0?i:e.el;r!==void 0&&(this.ids=r),e.selectors!==void 0&&(this.selectors=e.selectors),e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),e.type!==void 0&&(this.type=e.type)}}class pg{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.force!==void 0&&(this.force=e.force),e.smooth!==void 0&&(this.smooth=e.smooth))}}class mg{constructor(){this.enable=!1,this.mode=[],this.parallax=new pg}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),this.parallax.load(e.parallax))}}class vg{constructor(){this.delay=.5,this.enable=!0}load(e){e!==void 0&&(e.delay!==void 0&&(this.delay=e.delay),e.enable!==void 0&&(this.enable=e.enable))}}class yg{constructor(){this.onClick=new hg,this.onDiv=new hd,this.onHover=new mg,this.resize=new vg}get onclick(){return this.onClick}set onclick(e){this.onClick=e}get ondiv(){return this.onDiv}set ondiv(e){this.onDiv=e}get onhover(){return this.onHover}set onhover(e){this.onHover=e}load(e){var n,i,r;if(!e)return;this.onClick.load((n=e.onClick)!==null&&n!==void 0?n:e.onclick);const o=(i=e.onDiv)!==null&&i!==void 0?i:e.ondiv;o!==void 0&&(this.onDiv=K(o,s=>{const l=new hd;return l.load(s),l})),this.onHover.load((r=e.onHover)!==null&&r!==void 0?r:e.onhover),typeof e.resize=="boolean"?this.resize.enable=e.resize:this.resize.load(e.resize)}}class gg{constructor(e,n){this._engine=e,this._container=n}load(e){if(e&&this._container){const n=this._engine.plugins.interactors.get(this._container);if(n)for(const i of n)i.loadModeOptions&&i.loadModeOptions(this,e)}}}class Pp{constructor(e,n){this.detectsOn="window",this.events=new yg,this.modes=new gg(e,n)}get detect_on(){return this.detectsOn}set detect_on(e){this.detectsOn=e}load(e){var n;if(!e)return;const i=(n=e.detectsOn)!==null&&n!==void 0?n:e.detect_on;i!==void 0&&(this.detectsOn=i),this.events.load(e.events),this.modes.load(e.modes)}}class wg{load(e){var n,i;e&&(e.position!==void 0&&(this.position={x:(n=e.position.x)!==null&&n!==void 0?n:50,y:(i=e.position.y)!==null&&i!==void 0?i:50}),e.options!==void 0&&(this.options=de({},e.options)))}}class xg{constructor(){this.maxWidth=1/0,this.options={},this.mode="canvas"}load(e){e&&(e.maxWidth!==void 0&&(this.maxWidth=e.maxWidth),e.mode!==void 0&&(e.mode==="screen"?this.mode="screen":this.mode="canvas"),e.options!==void 0&&(this.options=de({},e.options)))}}class bg{constructor(){this.auto=!1,this.mode="any",this.value=!1}load(e){e&&(e.auto!==void 0&&(this.auto=e.auto),e.mode!==void 0&&(this.mode=e.mode),e.value!==void 0&&(this.value=e.value))}}class kg{constructor(){this.name="",this.default=new bg}load(e){e&&(e.name!==void 0&&(this.name=e.name),this.default.load(e.default),e.options!==void 0&&(this.options=de({},e.options)))}}class yl{constructor(){this.count=0,this.enable=!1,this.offset=0,this.speed=1,this.decay=0,this.sync=!0}load(e){e&&(e.count!==void 0&&(this.count=R(e.count)),e.enable!==void 0&&(this.enable=e.enable),e.offset!==void 0&&(this.offset=R(e.offset)),e.speed!==void 0&&(this.speed=R(e.speed)),e.decay!==void 0&&(this.decay=R(e.decay)),e.sync!==void 0&&(this.sync=e.sync))}}class _g{constructor(){this.h=new yl,this.s=new yl,this.l=new yl}load(e){e&&(this.h.load(e.h),this.s.load(e.s),this.l.load(e.l))}}class Oi extends ae{constructor(){super(),this.animation=new _g}static create(e,n){const i=new Oi;return i.load(e),n!==void 0&&(typeof n=="string"||n instanceof Array?i.load({value:n}):i.load(n)),i}load(e){if(super.load(e),!e)return;const n=e.animation;n!==void 0&&(n.enable!==void 0?this.animation.h.load(n):this.animation.load(e.animation))}}class Sg{constructor(){this.speed=2}load(e){e&&e.speed!==void 0&&(this.speed=e.speed)}}class Cg{constructor(){this.enable=!0,this.retries=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.retries!==void 0&&(this.retries=e.retries))}}class Pg{constructor(){this.enable=!1,this.minimumValue=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.minimumValue!==void 0&&(this.minimumValue=e.minimumValue))}}class ft{constructor(){this.random=new Pg,this.value=0}load(e){e&&(typeof e.random=="boolean"?this.random.enable=e.random:this.random.load(e.random),e.value!==void 0&&(this.value=R(e.value,this.random.enable?this.random.minimumValue:void 0)))}}class pd extends ft{constructor(){super(),this.random.minimumValue=.1,this.value=1}}class Ep{constructor(){this.horizontal=new pd,this.vertical=new pd}load(e){e&&(this.horizontal.load(e.horizontal),this.vertical.load(e.vertical))}}class Eg{constructor(){this.absorb=new Sg,this.bounce=new Ep,this.enable=!1,this.mode="bounce",this.overlap=new Cg}load(e){e&&(this.absorb.load(e.absorb),this.bounce.load(e.bounce),e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),this.overlap.load(e.overlap))}}class Og{constructor(){this.offset=0,this.value=90}load(e){e&&(e.offset!==void 0&&(this.offset=R(e.offset)),e.value!==void 0&&(this.value=R(e.value)))}}class zg{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}get rotateX(){return this.rotate.x}set rotateX(e){this.rotate.x=e}get rotateY(){return this.rotate.y}set rotateY(e){this.rotate.y=e}load(e){var n,i,r,o;if(!e)return;e.distance!==void 0&&(this.distance=R(e.distance)),e.enable!==void 0&&(this.enable=e.enable);const s=(i=(n=e.rotate)===null||n===void 0?void 0:n.x)!==null&&i!==void 0?i:e.rotateX;s!==void 0&&(this.rotate.x=s);const l=(o=(r=e.rotate)===null||r===void 0?void 0:r.y)!==null&&o!==void 0?o:e.rotateY;l!==void 0&&(this.rotate.y=l)}}class Mg{constructor(){this.x=50,this.y=50,this.mode="percent",this.radius=0}load(e){e&&(e.x!==void 0&&(this.x=e.x),e.y!==void 0&&(this.y=e.y),e.mode!==void 0&&(this.mode=e.mode),e.radius!==void 0&&(this.radius=e.radius))}}class Ag{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=R(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.inverse!==void 0&&(this.inverse=e.inverse),e.maxSpeed!==void 0&&(this.maxSpeed=R(e.maxSpeed)))}}class Tg{constructor(){this.clamp=!0,this.delay=new ft,this.enable=!1,this.options={}}load(e){e&&(e.clamp!==void 0&&(this.clamp=e.clamp),this.delay.load(e.delay),e.enable!==void 0&&(this.enable=e.enable),this.generator=e.generator,e.options&&(this.options=de(this.options,e.options)))}}class Rg{load(e){e&&(e.color!==void 0&&(this.color=ae.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image))}}class Ig{constructor(){this.enable=!1,this.length=10,this.fill=new Rg}get fillColor(){return this.fill.color}set fillColor(e){this.fill.load({color:e})}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),(e.fill!==void 0||e.fillColor!==void 0)&&this.fill.load(e.fill||{color:e.fillColor}),e.length!==void 0&&(this.length=e.length))}}class Dg{constructor(){this.default="out"}load(e){var n,i,r,o;e&&(e.default!==void 0&&(this.default=e.default),this.bottom=(n=e.bottom)!==null&&n!==void 0?n:e.default,this.left=(i=e.left)!==null&&i!==void 0?i:e.default,this.right=(r=e.right)!==null&&r!==void 0?r:e.default,this.top=(o=e.top)!==null&&o!==void 0?o:e.default)}}class jg{constructor(){this.acceleration=0,this.enable=!1}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=R(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),this.position=e.position?de({},e.position):void 0)}}class Lg{constructor(){this.angle=new Og,this.attract=new zg,this.center=new Mg,this.decay=0,this.distance={},this.direction="none",this.drift=0,this.enable=!1,this.gravity=new Ag,this.path=new Tg,this.outModes=new Dg,this.random=!1,this.size=!1,this.speed=2,this.spin=new jg,this.straight=!1,this.trail=new Ig,this.vibrate=!1,this.warp=!1}get bounce(){return this.collisions}set bounce(e){this.collisions=e}get collisions(){return!1}set collisions(e){}get noise(){return this.path}set noise(e){this.path=e}get outMode(){return this.outModes.default}set outMode(e){this.outModes.default=e}get out_mode(){return this.outMode}set out_mode(e){this.outMode=e}load(e){var n,i,r;if(!e)return;this.angle.load(typeof e.angle=="number"?{value:e.angle}:e.angle),this.attract.load(e.attract),this.center.load(e.center),e.decay!==void 0&&(this.decay=R(e.decay)),e.direction!==void 0&&(this.direction=e.direction),e.distance!==void 0&&(this.distance=typeof e.distance=="number"?{horizontal:e.distance,vertical:e.distance}:Object.assign({},e.distance)),e.drift!==void 0&&(this.drift=R(e.drift)),e.enable!==void 0&&(this.enable=e.enable),this.gravity.load(e.gravity);const o=(i=(n=e.outModes)!==null&&n!==void 0?n:e.outMode)!==null&&i!==void 0?i:e.out_mode;o!==void 0&&(typeof o=="object"?this.outModes.load(o):this.outModes.load({default:o})),this.path.load((r=e.path)!==null&&r!==void 0?r:e.noise),e.random!==void 0&&(this.random=e.random),e.size!==void 0&&(this.size=e.size),e.speed!==void 0&&(this.speed=R(e.speed)),this.spin.load(e.spin),e.straight!==void 0&&(this.straight=e.straight),this.trail.load(e.trail),e.vibrate!==void 0&&(this.vibrate=e.vibrate),e.warp!==void 0&&(this.warp=e.warp)}}class Op{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.sync=!1}load(e){e&&(e.count!==void 0&&(this.count=R(e.count)),e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=R(e.speed)),e.decay!==void 0&&(this.decay=R(e.decay)),e.sync!==void 0&&(this.sync=e.sync))}}class Ng extends Op{constructor(){super(),this.destroy="none",this.enable=!1,this.speed=2,this.startValue="random",this.sync=!1}get opacity_min(){return this.minimumValue}set opacity_min(e){this.minimumValue=e}load(e){var n;e&&(super.load(e),e.destroy!==void 0&&(this.destroy=e.destroy),e.enable!==void 0&&(this.enable=e.enable),this.minimumValue=(n=e.minimumValue)!==null&&n!==void 0?n:e.opacity_min,e.speed!==void 0&&(this.speed=e.speed),e.startValue!==void 0&&(this.startValue=e.startValue),e.sync!==void 0&&(this.sync=e.sync))}}class Fg extends ft{constructor(){super(),this.animation=new Ng,this.random.minimumValue=.1,this.value=1}get anim(){return this.animation}set anim(e){this.animation=e}load(e){var n;if(!e)return;super.load(e);const i=(n=e.animation)!==null&&n!==void 0?n:e.anim;i!==void 0&&(this.animation.load(i),this.value=R(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}class Bg{constructor(){this.enable=!1,this.width=1920,this.height=1080}get area(){return this.width}set area(e){this.width=e}get factor(){return this.height}set factor(e){this.height=e}get value_area(){return this.area}set value_area(e){this.area=e}load(e){var n,i,r;if(!e)return;e.enable!==void 0&&(this.enable=e.enable);const o=(i=(n=e.width)!==null&&n!==void 0?n:e.area)!==null&&i!==void 0?i:e.value_area;o!==void 0&&(this.width=o);const s=(r=e.height)!==null&&r!==void 0?r:e.factor;s!==void 0&&(this.height=s)}}class $g{constructor(){this.density=new Bg,this.limit=0,this.value=0}get max(){return this.limit}set max(e){this.limit=e}load(e){var n;if(!e)return;this.density.load(e.density);const i=(n=e.limit)!==null&&n!==void 0?n:e.max;i!==void 0&&(this.limit=i),e.value!==void 0&&(this.value=e.value)}}class Ug{constructor(){this.blur=0,this.color=new ae,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(e){e&&(e.blur!==void 0&&(this.blur=e.blur),this.color=ae.create(this.color,e.color),e.enable!==void 0&&(this.enable=e.enable),e.offset!==void 0&&(e.offset.x!==void 0&&(this.offset.x=e.offset.x),e.offset.y!==void 0&&(this.offset.y=e.offset.y)))}}const gl="character",wl="char",xl="image",bl="images",kl="polygon",_l="star";class Hg{constructor(){this.options={},this.type="circle"}get character(){var e;return(e=this.options[gl])!==null&&e!==void 0?e:this.options[wl]}set character(e){this.options[wl]=this.options[gl]=e}get custom(){return this.options}set custom(e){this.options=e}get image(){var e;return(e=this.options[xl])!==null&&e!==void 0?e:this.options[bl]}set image(e){this.options[bl]=this.options[xl]=e}get images(){return this.image}set images(e){this.image=e}get polygon(){var e;return(e=this.options[kl])!==null&&e!==void 0?e:this.options[_l]}set polygon(e){this.options[_l]=this.options[kl]=e}get stroke(){return[]}set stroke(e){}load(e){var n,i,r;if(!e)return;const o=(n=e.options)!==null&&n!==void 0?n:e.custom;if(o!==void 0)for(const s in o){const l=o[s];l&&(this.options[s]=de((i=this.options[s])!==null&&i!==void 0?i:{},l))}this.loadShape(e.character,gl,wl,!0),this.loadShape(e.polygon,kl,_l,!1),this.loadShape((r=e.image)!==null&&r!==void 0?r:e.images,xl,bl,!0),e.type!==void 0&&(this.type=e.type)}loadShape(e,n,i,r){var o,s;if(!e)return;const l=e instanceof Array,a=l?[]:{},u=l!==this.options[n]instanceof Array,c=l!==this.options[i]instanceof Array;u&&(this.options[n]=a),c&&r&&(this.options[i]=a),this.options[n]=de((o=this.options[n])!==null&&o!==void 0?o:a,e),(!this.options[i]||r)&&(this.options[i]=de((s=this.options[i])!==null&&s!==void 0?s:a,e))}}class Vg extends Op{constructor(){super(),this.destroy="none",this.enable=!1,this.speed=5,this.startValue="random",this.sync=!1}get size_min(){return this.minimumValue}set size_min(e){this.minimumValue=e}load(e){var n;super.load(e),e&&(e.destroy!==void 0&&(this.destroy=e.destroy),e.enable!==void 0&&(this.enable=e.enable),this.minimumValue=(n=e.minimumValue)!==null&&n!==void 0?n:e.size_min,e.speed!==void 0&&(this.speed=e.speed),e.startValue!==void 0&&(this.startValue=e.startValue),e.sync!==void 0&&(this.sync=e.sync))}}class Wg extends ft{constructor(){super(),this.animation=new Vg,this.random.minimumValue=1,this.value=3}get anim(){return this.animation}set anim(e){this.animation=e}load(e){var n;if(super.load(e),!e)return;const i=(n=e.animation)!==null&&n!==void 0?n:e.anim;i!==void 0&&(this.animation.load(i),this.value=R(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}class md{constructor(){this.width=0}load(e){e&&(e.color!==void 0&&(this.color=Oi.create(this.color,e.color)),e.width!==void 0&&(this.width=R(e.width)),e.opacity!==void 0&&(this.opacity=R(e.opacity)))}}class qg extends ft{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(e){super.load(e),e&&(e.opacityRate!==void 0&&(this.opacityRate=e.opacityRate),e.sizeRate!==void 0&&(this.sizeRate=e.sizeRate),e.velocityRate!==void 0&&(this.velocityRate=e.velocityRate))}}class Qg{constructor(e,n){this._engine=e,this._container=n,this.bounce=new Ep,this.collisions=new Eg,this.color=new Oi,this.color.value="#fff",this.groups={},this.move=new Lg,this.number=new $g,this.opacity=new Fg,this.reduceDuplicates=!1,this.shadow=new Ug,this.shape=new Hg,this.size=new Wg,this.stroke=new md,this.zIndex=new qg}load(e){var n,i,r,o,s,l;if(!e)return;if(this.bounce.load(e.bounce),this.color.load(Oi.create(this.color,e.color)),e.groups!==void 0)for(const c in e.groups){const d=e.groups[c];d!==void 0&&(this.groups[c]=de((n=this.groups[c])!==null&&n!==void 0?n:{},d))}this.move.load(e.move),this.number.load(e.number),this.opacity.load(e.opacity),e.reduceDuplicates!==void 0&&(this.reduceDuplicates=e.reduceDuplicates),this.shape.load(e.shape),this.size.load(e.size),this.shadow.load(e.shadow),this.zIndex.load(e.zIndex);const a=(r=(i=e.move)===null||i===void 0?void 0:i.collisions)!==null&&r!==void 0?r:(o=e.move)===null||o===void 0?void 0:o.bounce;a!==void 0&&(this.collisions.enable=a),this.collisions.load(e.collisions),e.interactivity!==void 0&&(this.interactivity=de({},e.interactivity));const u=(s=e.stroke)!==null&&s!==void 0?s:(l=e.shape)===null||l===void 0?void 0:l.stroke;if(u&&(this.stroke=K(u,c=>{const d=new md;return d.load(c),d})),this._container){const c=this._engine.plugins.updaters.get(this._container);if(c)for(const f of c)f.loadOptions&&f.loadOptions(this,e);const d=this._engine.plugins.interactors.get(this._container);if(d)for(const f of d)f.loadParticlesOptions&&f.loadParticlesOptions(this,e)}}}function zp(t,...e){for(const n of e)t.load(n)}function Iu(t,e,...n){const i=new Qg(t,e);return zp(i,...n),i}class Gg{constructor(e,n){this._engine=e,this._container=n,this.autoPlay=!0,this.background=new ug,this.backgroundMask=new dg,this.defaultThemes={},this.delay=0,this.fullScreen=new fg,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new Pp(e,n),this.manualParticles=[],this.particles=Iu(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}get backgroundMode(){return this.fullScreen}set backgroundMode(e){this.fullScreen.load(e)}get fps_limit(){return this.fpsLimit}set fps_limit(e){this.fpsLimit=e}get retina_detect(){return this.detectRetina}set retina_detect(e){this.detectRetina=e}load(e){var n,i,r,o,s;if(!e)return;e.preset!==void 0&&K(e.preset,d=>this._importPreset(d)),e.autoPlay!==void 0&&(this.autoPlay=e.autoPlay),e.delay!==void 0&&(this.delay=R(e.delay));const l=(n=e.detectRetina)!==null&&n!==void 0?n:e.retina_detect;l!==void 0&&(this.detectRetina=l),e.duration!==void 0&&(this.duration=R(e.duration));const a=(i=e.fpsLimit)!==null&&i!==void 0?i:e.fps_limit;a!==void 0&&(this.fpsLimit=a),e.pauseOnBlur!==void 0&&(this.pauseOnBlur=e.pauseOnBlur),e.pauseOnOutsideViewport!==void 0&&(this.pauseOnOutsideViewport=e.pauseOnOutsideViewport),e.zLayers!==void 0&&(this.zLayers=e.zLayers),this.background.load(e.background);const u=(r=e.fullScreen)!==null&&r!==void 0?r:e.backgroundMode;typeof u=="boolean"?this.fullScreen.enable=u:this.fullScreen.load(u),this.backgroundMask.load(e.backgroundMask),this.interactivity.load(e.interactivity),e.manualParticles!==void 0&&(this.manualParticles=e.manualParticles.map(d=>{const f=new wg;return f.load(d),f})),this.particles.load(e.particles),this.style=de(this.style,e.style),this._engine.plugins.loadOptions(this,e),e.smooth!==void 0&&(this.smooth=e.smooth);const c=this._engine.plugins.interactors.get(this._container);if(c)for(const d of c)d.loadOptions&&d.loadOptions(this,e);if(e.responsive!==void 0)for(const d of e.responsive){const f=new xg;f.load(d),this.responsive.push(f)}if(this.responsive.sort((d,f)=>d.maxWidth-f.maxWidth),e.themes!==void 0)for(const d of e.themes){const f=this.themes.find(m=>m.name===d.name);if(f)f.load(d);else{const m=new kg;m.load(d),this.themes.push(m)}}this.defaultThemes.dark=(o=this._findDefaultTheme("dark"))===null||o===void 0?void 0:o.name,this.defaultThemes.light=(s=this._findDefaultTheme("light"))===null||s===void 0?void 0:s.name}setResponsive(e,n,i){this.load(i);const r=this.responsive.find(o=>o.mode==="screen"&&screen?o.maxWidth>screen.availWidth:o.maxWidth*n>e);return this.load(r==null?void 0:r.options),r==null?void 0:r.maxWidth}setTheme(e){if(e){const n=this.themes.find(i=>i.name===e);n&&this.load(n.options)}else{const n=mp("(prefers-color-scheme: dark)"),i=n&&n.matches,r=this._findDefaultTheme(i?"dark":"light");r&&this.load(r.options)}}_findDefaultTheme(e){var n;return(n=this.themes.find(i=>i.default.value&&i.default.mode===e))!==null&&n!==void 0?n:this.themes.find(i=>i.default.value&&i.default.mode==="any")}_importPreset(e){this.load(this._engine.plugins.getPreset(e))}}class Kg{constructor(e,n){this.container=n,this._engine=e,this._interactors=this._engine.plugins.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[]}async externalInteract(e){for(const n of this._externalInteractors)n.isEnabled()&&await n.interact(e)}handleClickMode(e){for(const n of this._externalInteractors)n.handleClickMode&&n.handleClickMode(e)}init(){this._externalInteractors=[],this._particleInteractors=[];for(const e of this._interactors){switch(e.type){case"external":this._externalInteractors.push(e);break;case"particles":this._particleInteractors.push(e);break}e.init()}}async particlesInteract(e,n){for(const i of this._externalInteractors)i.clear(e,n);for(const i of this._particleInteractors)i.isEnabled(e)&&await i.interact(e,n)}async reset(e){for(const n of this._externalInteractors)n.isEnabled()&&await n.reset(e);for(const n of this._particleInteractors)n.isEnabled(e)&&await n.reset(e)}}const vd=t=>{G(t.outMode,t.checkModes)&&(t.coord>t.maxCoord-t.radius*2?t.setCb(-t.radius):t.coord=.5?"increasing":"decreasing";break;case"max":default:this.size.value=this.size.max,this.size.status="decreasing";break}this.size.initialValue=this.size.value,this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this.position=this._calcPosition(h,n,bt(S,0,h.zLayers)),this.initialPosition=this.position.copy();const J=h.canvas.size,tt=Object.assign({},this.options.move.center),ht=tt.mode==="percent";switch(this.moveCenter={x:tt.x*(ht?J.width/100:1),y:tt.y*(ht?J.height/100:1),radius:(c=this.options.move.center.radius)!==null&&c!==void 0?c:0,mode:(d=this.options.move.center.mode)!==null&&d!==void 0?d:"percent"},this.direction=Py(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case"inside":this.outType="inside";break;case"outside":this.outType="outside";break}this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy(),this.moveDecay=1-P(this.options.move.decay),this.offset=V.origin;const jt=h.particles;jt.needsSort=jt.needsSort||jt.lastZIndex=-e&&this.position.y>=-e&&this.position.y<=n.height+e&&this.position.x<=n.width+e}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){var e;for(const n of this.container.particles.updaters)(e=n.reset)===null||e===void 0||e.call(n,this)}_calcPosition(e,n,i,r=0){var o,s,l,a;for(const[,b]of e.plugins){const v=b.particlePosition!==void 0?b.particlePosition(n,this):void 0;if(v!==void 0)return qe.create(v.x,v.y,i)}const u=e.canvas.size,c=zy({size:u,position:n}),d=qe.create(c.x,c.y,i),f=this.getRadius(),m=this.options.move.outModes,h=b=>{vd({outMode:b,checkModes:["bounce","bounce-horizontal"],coord:d.x,maxCoord:e.canvas.size.width,setCb:v=>d.x+=v,radius:f})},y=b=>{vd({outMode:b,checkModes:["bounce","bounce-vertical"],coord:d.y,maxCoord:e.canvas.size.height,setCb:v=>d.y+=v,radius:f})};return h((o=m.left)!==null&&o!==void 0?o:m.default),h((s=m.right)!==null&&s!==void 0?s:m.default),y((l=m.top)!==null&&l!==void 0?l:m.default),y((a=m.bottom)!==null&&a!==void 0?a:m.default),this._checkOverlap(d,r)?this._calcPosition(e,void 0,i,r+1):d}_calculateVelocity(){const e=Ey(this.direction),n=e.copy(),i=this.options.move;if(i.direction==="inside"||i.direction==="outside")return n;const r=Math.PI/180*P(i.angle.value),o=Math.PI/180*P(i.angle.offset),s={left:o-r/2,right:o+r/2};return i.straight||(n.angle+=ve(R(s.left,s.right))),i.random&&typeof i.speed=="number"&&(n.length*=I()),n}_checkOverlap(e,n=0){const i=this.options.collisions,r=this.getRadius();if(!i.enable)return!1;const o=i.overlap;if(o.enable)return!1;const s=o.retries;if(s>=0&&n>s)throw new Error("Particle is overlapping and can't be placed");let l=!1;for(const a of this.container.particles.array)if(ye(e,a.position)u}else if(n.size!==void 0){const a=n.size.width,u=n.size.height;return Math.pow(s.x-a,2)+Math.pow(s.y-u,2)<=l**2||s.x<=l+a&&s.y<=l+u||s.x<=a||s.y<=u}return!1}}class Le extends Mp{constructor(e,n,i,r){super(e,n),this.size={height:r,width:i}}contains(e){const n=this.size.width,i=this.size.height,r=this.position;return e.x>=r.x&&e.x<=r.x+n&&e.y>=r.y&&e.y<=r.y+i}intersects(e){e instanceof He&&e.intersects(this);const n=this.size.width,i=this.size.height,r=this.position,o=e.position,s=e instanceof Le?e.size:{width:0,height:0},l=s.width,a=s.height;return o.xr.x&&o.yr.y}}class In{constructor(e,n){this.rectangle=e,this.capacity=n,this._points=[],this._divided=!1}insert(e){var n,i,r,o,s;return this.rectangle.contains(e.position)?this._points.lengthu.particle.getRadius()&&(!n||n(u.particle))||a.push(u.particle);return this._divided&&((r=this._NE)===null||r===void 0||r.query(e,n,a),(o=this._NW)===null||o===void 0||o.query(e,n,a),(s=this._SE)===null||s===void 0||s.query(e,n,a),(l=this._SW)===null||l===void 0||l.query(e,n,a)),a}queryCircle(e,n,i){return this.query(new He(e.x,e.y,n),i)}queryRectangle(e,n,i){return this.query(new Le(e.x,e.y,n.width,n.height),i)}subdivide(){const e=this.rectangle.position.x,n=this.rectangle.position.y,i=this.rectangle.size.width,r=this.rectangle.size.height,o=this.capacity;this._NE=new In(new Le(e,n,i/2,r/2),o),this._NW=new In(new Le(e+i/2,n,i/2,r/2),o),this._SE=new In(new Le(e,n+r/2,i/2,r/2),o),this._SW=new In(new Le(e+i/2,n+r/2,i/2,r/2),o),this._divided=!0}}let Jg=class{constructor(e,n){this.container=n,this._engine=e,this.nextId=0,this.array=[],this.zArray=[],this.pool=[],this.limit=0,this.needsSort=!1,this.lastZIndex=0,this.interactionManager=new Kg(this._engine,n);const i=this.container.canvas.size;this.quadTree=new In(new Le(-i.width/4,-i.height/4,i.width*3/2,i.height*3/2),4),this.movers=this._engine.plugins.getMovers(n,!0),this.updaters=this._engine.plugins.getUpdaters(n,!0)}get count(){return this.array.length}addManualParticles(){const e=this.container,n=e.actualOptions;for(const i of n.manualParticles)this.addParticle(Oy({size:e.canvas.size,position:i.position}),i.options)}addParticle(e,n,i,r){const o=this.container,s=o.actualOptions,l=s.particles.number.limit;if(l>0){const a=this.count+1-l;a>0&&this.removeQuantity(a)}return this._pushParticle(e,n,i,r)}clear(){this.array=[],this.zArray=[]}destroy(){this.array=[],this.zArray=[],this.movers=[],this.updaters=[]}async draw(e){const n=this.container,i=this.container.canvas.size;this.quadTree=new In(new Le(-i.width/4,-i.height/4,i.width*3/2,i.height*3/2),4),n.canvas.clear(),await this.update(e),this.needsSort&&(this.zArray.sort((r,o)=>o.position.z-r.position.z||r.id-o.id),this.lastZIndex=this.zArray[this.zArray.length-1].position.z,this.needsSort=!1);for(const[,r]of n.plugins)n.canvas.drawPlugin(r,e);for(const r of this.zArray)r.draw(e)}handleClickMode(e){this.interactionManager.handleClickMode(e)}init(){var e;const n=this.container,i=n.actualOptions;this.lastZIndex=0,this.needsSort=!1;let r=!1;this.updaters=this._engine.plugins.getUpdaters(n,!0),this.interactionManager.init();for(const[,o]of n.plugins)if(o.particlesInitialization!==void 0&&(r=o.particlesInitialization()),r)break;this.interactionManager.init();for(const[,o]of n.pathGenerators)o.init(n);if(this.addManualParticles(),!r){for(const o in i.particles.groups){const s=i.particles.groups[o];for(let l=this.count,a=0;a<((e=s.number)===null||e===void 0?void 0:e.value)&&lthis.count)return;let o=0;for(let s=e;o0?o.limit:l,u=Math.min(l,a)*s+n,c=Math.min(this.count,this.array.filter(d=>d.group===i).length);this.limit=o.limit*s,cu&&this.removeQuantity(c-u,i)}_initDensityFactor(e){const n=this.container;if(!n.canvas.element||!e.enable)return 1;const i=n.canvas.element,r=n.retina.pixelRatio;return i.width*i.height/(e.factor*r**2*e.area)}_pushParticle(e,n,i,r){try{let o=this.pool.pop();o?o.init(this.nextId,e,n,i):o=new Yg(this._engine,this.nextId,this.container,e,n,i);let s=!0;return r&&(s=r(o)),s?(this.array.push(o),this.zArray.push(o),this.nextId++,this._engine.dispatchEvent("particleAdded",{container:this.container,data:{particle:o}}),o):void 0}catch(o){console.warn(`error adding particle: ${o}`);return}}};class Zg{constructor(e){this.container=e}init(){const e=this.container,n=e.actualOptions;this.pixelRatio=!n.detectRetina||Un()?1:window.devicePixelRatio,this.reduceFactor=1;const i=this.pixelRatio;if(e.canvas.element){const o=e.canvas.element;e.canvas.size.width=o.offsetWidth*i,e.canvas.size.height=o.offsetHeight*i}const r=n.particles;this.attractDistance=P(r.move.attract.distance)*i,this.sizeAnimationSpeed=P(r.size.animation.speed)*i,this.maxSpeed=P(r.move.gravity.maxSpeed)*i}initParticle(e){const n=e.options,i=this.pixelRatio,r=n.move.distance,o=e.retina;o.attractDistance=P(n.move.attract.distance)*i,o.moveDrift=P(n.move.drift)*i,o.moveSpeed=P(n.move.speed)*i,o.sizeAnimationSpeed=P(n.size.animation.speed)*i;const s=o.maxDistance;s.horizontal=r.horizontal!==void 0?r.horizontal*i:void 0,s.vertical=r.vertical!==void 0?r.vertical*i:void 0,o.maxSpeed=P(n.move.gravity.maxSpeed)*i}}function ee(t){return t&&!t.destroyed}function Vi(t,e,...n){const i=new Gg(t,e);return zp(i,...n),i}const e1="default",yd={generate:t=>{const e=t.velocity.copy();return e.angle+=e.length*Math.PI/180,e},init:()=>{},update:()=>{},reset:()=>{}};class t1{constructor(e,n,i){this.id=n,this._engine=e,this.fpsLimit=120,this.smooth=!1,this._delay=0,this.duration=0,this.lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this.lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._sourceOptions=i,this._initialSourceOptions=i,this.retina=new Zg(this),this.canvas=new og(this),this.particles=new Jg(this._engine,this),this.frameManager=new ag(this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.drawers=new Map,this._options=Vi(this._engine,this),this.actualOptions=Vi(this._engine,this),this._eventListeners=new sg(this),typeof IntersectionObserver<"u"&&IntersectionObserver&&(this._intersectionObserver=new IntersectionObserver(r=>this._intersectionManager(r))),this._engine.dispatchEvent("containerBuilt",{container:this})}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(e){if(!ee(this))return;const n=this.interactivity.element;if(!n)return;const i=(d,f,m)=>{if(!ee(this))return;const h=this.retina.pixelRatio,y={x:f.x*h,y:f.y*h},b=this.particles.quadTree.queryCircle(y,m*h);e(d,b)},r=d=>{if(!ee(this))return;const f=d,m={x:f.offsetX||f.clientX,y:f.offsetY||f.clientY};i(d,m,1)},o=()=>{ee(this)&&(u=!0,c=!1)},s=()=>{ee(this)&&(c=!0)},l=d=>{if(ee(this)){if(u&&!c){const f=d;let m=f.touches[f.touches.length-1];if(!m&&(m=f.changedTouches[f.changedTouches.length-1],!m))return;const h=this.canvas.element,y=h?h.getBoundingClientRect():void 0,b={x:m.clientX-(y?y.left:0),y:m.clientY-(y?y.top:0)};i(d,b,Math.max(m.radiusX,m.radiusY))}u=!1,c=!1}},a=()=>{ee(this)&&(u=!1,c=!1)};let u=!1,c=!1;n.addEventListener("click",r),n.addEventListener("touchstart",o),n.addEventListener("touchmove",s),n.addEventListener("touchend",l),n.addEventListener("touchcancel",a)}addPath(e,n,i=!1){return!ee(this)||!i&&this.pathGenerators.has(e)?!1:(this.pathGenerators.set(e,n??yd),!0)}destroy(){if(!ee(this))return;this.stop(),this.particles.destroy(),this.canvas.destroy();for(const[,i]of this.drawers)i.destroy&&i.destroy(this);for(const i of this.drawers.keys())this.drawers.delete(i);this._engine.plugins.destroy(this),this.destroyed=!0;const e=this._engine.dom(),n=e.findIndex(i=>i===this);n>=0&&e.splice(n,1),this._engine.dispatchEvent("containerDestroyed",{container:this})}draw(e){if(!ee(this))return;let n=e;this._drawAnimationFrame=Ty()(async i=>{n&&(this.lastFrameTime=void 0,n=!1),await this.frameManager.nextFrame(i)})}exportConfiguration(){return JSON.stringify(this.actualOptions,(e,n)=>{if(!(e==="_engine"||e==="_container"))return n},2)}exportImage(e,n,i){const r=this.canvas.element;r&&r.toBlob(e,n??"image/png",i)}exportImg(e){this.exportImage(e)}getAnimationStatus(){return!this._paused&&!this.pageHidden&&ee(this)}handleClickMode(e){if(ee(this)){this.particles.handleClickMode(e);for(const[,n]of this.plugins)n.handleClickMode&&n.handleClickMode(e)}}async init(){if(!ee(this))return;const e=this._engine.plugins.getSupportedShapes();for(const i of e){const r=this._engine.plugins.getShapeDrawer(i);r&&this.drawers.set(i,r)}this._options=Vi(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=Vi(this._engine,this,this._options);const n=this._engine.plugins.getAvailablePlugins(this);for(const[i,r]of n)this.plugins.set(i,r);this.retina.init(),await this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize(),this.zLayers=this.actualOptions.zLayers,this.duration=P(this.actualOptions.duration)*1e3,this._delay=P(this.actualOptions.delay)*1e3,this.lifeTime=0,this.fpsLimit=this.actualOptions.fpsLimit>0?this.actualOptions.fpsLimit:120,this.smooth=this.actualOptions.smooth;for(const[,i]of this.drawers)i.init&&await i.init(this);for(const[,i]of this.plugins)i.init&&await i.init();this._engine.dispatchEvent("containerInit",{container:this}),this.particles.init(),this.particles.setDensity();for(const[,i]of this.plugins)i.particlesSetup&&i.particlesSetup();this._engine.dispatchEvent("particlesSetup",{container:this})}async loadTheme(e){ee(this)&&(this._currentTheme=e,await this.refresh())}pause(){if(ee(this)&&(this._drawAnimationFrame!==void 0&&(Ry()(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){for(const[,e]of this.plugins)e.pause&&e.pause();this.pageHidden||(this._paused=!0),this._engine.dispatchEvent("containerPaused",{container:this})}}play(e){if(!ee(this))return;const n=this._paused||e;if(this._firstStart&&!this.actualOptions.autoPlay){this._firstStart=!1;return}if(this._paused&&(this._paused=!1),n)for(const[,i]of this.plugins)i.play&&i.play();this._engine.dispatchEvent("containerPlay",{container:this}),this.draw(n||!1)}async refresh(){if(ee(this))return this.stop(),this.start()}async reset(){if(ee(this))return this._options=Vi(this._engine,this),this.refresh()}setNoise(e,n,i){ee(this)&&this.setPath(e,n,i)}setPath(e,n,i){if(!e||!ee(this))return;const r=Object.assign({},yd);if(typeof e=="function")r.generate=e,n&&(r.init=n),i&&(r.update=i);else{const o=r;r.generate=e.generate||o.generate,r.init=e.init||o.init,r.update=e.update||o.update}this.addPath(e1,r,!0)}async start(){!ee(this)||this.started||(await this.init(),this.started=!0,await new Promise(e=>{this._delayTimeout=setTimeout(async()=>{this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element);for(const[,n]of this.plugins)n.start&&await n.start();this._engine.dispatchEvent("containerStarted",{container:this}),this.play(),e()},this._delay)}))}stop(){if(!(!ee(this)||!this.started)){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element);for(const[,e]of this.plugins)e.stop&&e.stop();for(const e of this.plugins.keys())this.plugins.delete(e);this._sourceOptions=this._options,this._engine.dispatchEvent("containerStopped",{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];const e=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this.responsiveMaxWidth===e?!1:(this.responsiveMaxWidth=e,!0)}_intersectionManager(e){if(!(!ee(this)||!this.actualOptions.pauseOnOutsideViewport))for(const n of e)n.target===this.interactivity.element&&(n.isIntersecting?this.play:this.pause)()}}async function n1(t,e){const n=at(t,e);if(!n)return;const i=await fetch(n);if(i.ok)return i.json();console.error(`tsParticles - Error ${i.status} while retrieving config file`)}class i1{constructor(e){this._engine=e}load(e,n,i){const r={index:i,remote:!1};return typeof e=="string"?r.tagId=e:r.options=e,typeof n=="number"?r.index=n:r.options=n??r.options,this.loadOptions(r)}async loadJSON(e,n,i){let r,o;return typeof n=="number"||n===void 0?r=e:(o=e,r=n),this.loadRemoteOptions({tagId:o,url:r,index:i,remote:!0})}async loadOptions(e){var n,i,r;const o=(n=e.tagId)!==null&&n!==void 0?n:`tsparticles${Math.floor(I()*1e4)}`,{index:s,url:l,remote:a}=e,u=a?await n1(l,s):e.options;let c=(i=e.element)!==null&&i!==void 0?i:document.getElementById(o);c||(c=document.createElement("div"),c.id=o,(r=document.querySelector("body"))===null||r===void 0||r.append(c));const d=at(u,s),f=this._engine.dom(),m=f.findIndex(b=>b.id===o);if(m>=0){const b=this._engine.domItem(m);b&&!b.destroyed&&(b.destroy(),f.splice(m,1))}let h;if(c.tagName.toLowerCase()==="canvas")h=c,h.dataset[hr]="false";else{const b=c.getElementsByTagName("canvas");b.length?(h=b[0],h.dataset[hr]="false"):(h=document.createElement("canvas"),h.dataset[hr]="true",c.appendChild(h))}h.style.width||(h.style.width="100%"),h.style.height||(h.style.height="100%");const y=new t1(this._engine,o,d);return m>=0?f.splice(m,0,y):f.push(y),y.canvas.loadCanvas(h),await y.start(),y}async loadRemoteOptions(e){return this.loadOptions(e)}async set(e,n,i,r){const o={index:r,remote:!1};return typeof e=="string"?o.tagId=e:o.element=e,n instanceof HTMLElement?o.element=n:o.options=n,typeof i=="number"?o.index=i:o.options=i??o.options,this.loadOptions(o)}async setJSON(e,n,i,r){let o,s,l,a;return e instanceof HTMLElement?(a=e,o=n,l=i):(s=e,a=n,o=i,l=r),this.loadRemoteOptions({tagId:s,url:o,index:l,element:a,remote:!0})}}function Sl(t,e,n,i=!1){let r=e.get(t);return(!r||i)&&(r=[...n.values()].map(o=>o(t)),e.set(t,r)),r}class r1{constructor(e){this._engine=e,this.plugins=[],this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.drawers=new Map,this.pathGenerators=new Map}addInteractor(e,n){this._initializers.interactors.set(e,n)}addParticleMover(e,n){this._initializers.movers.set(e,n)}addParticleUpdater(e,n){this._initializers.updaters.set(e,n)}addPathGenerator(e,n){this.getPathGenerator(e)||this.pathGenerators.set(e,n)}addPlugin(e){this.getPlugin(e.id)||this.plugins.push(e)}addPreset(e,n,i=!1){(i||!this.getPreset(e))&&this.presets.set(e,n)}addShapeDrawer(e,n){K(e,i=>{this.getShapeDrawer(i)||this.drawers.set(i,n)})}destroy(e){this.updaters.delete(e),this.movers.delete(e),this.interactors.delete(e)}getAvailablePlugins(e){const n=new Map;for(const i of this.plugins)i.needsPlugin(e.actualOptions)&&n.set(i.id,i.getPlugin(e));return n}getInteractors(e,n=!1){return Sl(e,this.interactors,this._initializers.interactors,n)}getMovers(e,n=!1){return Sl(e,this.movers,this._initializers.movers,n)}getPathGenerator(e){return this.pathGenerators.get(e)}getPlugin(e){return this.plugins.find(n=>n.id===e)}getPreset(e){return this.presets.get(e)}getShapeDrawer(e){return this.drawers.get(e)}getSupportedShapes(){return this.drawers.keys()}getUpdaters(e,n=!1){return Sl(e,this.updaters,this._initializers.updaters,n)}loadOptions(e,n){for(const i of this.plugins)i.loadOptions(e,n)}loadParticlesOptions(e,n,...i){const r=this.updaters.get(e);if(r)for(const o of r)o.loadOptions&&o.loadOptions(n,...i)}}class o1{constructor(){this._domArray=[],this._eventDispatcher=new _y,this._initialized=!1,this._loader=new i1(this),this.plugins=new r1(this)}get version(){return"2.9.3"}addEventListener(e,n){this._eventDispatcher.addEventListener(e,n)}async addInteractor(e,n){this.plugins.addInteractor(e,n),await this.refresh()}async addMover(e,n){this.plugins.addParticleMover(e,n),await this.refresh()}async addParticleUpdater(e,n){this.plugins.addParticleUpdater(e,n),await this.refresh()}async addPathGenerator(e,n){this.plugins.addPathGenerator(e,n),await this.refresh()}async addPlugin(e){this.plugins.addPlugin(e),await this.refresh()}async addPreset(e,n,i=!1){this.plugins.addPreset(e,n,i),await this.refresh()}async addShape(e,n,i,r,o){let s;typeof n=="function"?s={afterEffect:r,destroy:o,draw:n,init:i}:s=n,this.plugins.addShapeDrawer(e,s),await this.refresh()}dispatchEvent(e,n){this._eventDispatcher.dispatchEvent(e,n)}dom(){return this._domArray}domItem(e){const n=this.dom(),i=n[e];if(i&&!i.destroyed)return i;n.splice(e,1)}init(){this._initialized||(this._initialized=!0)}async load(e,n){return this._loader.load(e,n)}async loadFromArray(e,n,i){return this._loader.load(e,n,i)}async loadJSON(e,n,i){return this._loader.loadJSON(e,n,i)}async refresh(){for(const e of this.dom())await e.refresh()}removeEventListener(e,n){this._eventDispatcher.removeEventListener(e,n)}async set(e,n,i){return this._loader.set(e,n,i)}async setJSON(e,n,i,r){return this._loader.setJSON(e,n,i,r)}setOnClickHandler(e){const n=this.dom();if(!n.length)throw new Error("Can only set click handlers after calling tsParticles.load() or tsParticles.loadJSON()");for(const i of n)i.addClickHandler(e)}}class s1{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(e){var n;const i=e.value,r=(n=i.hsl)!==null&&n!==void 0?n:e.value;if(r.h!==void 0&&r.s!==void 0&&r.l!==void 0)return Pi(r)}handleRangeColor(e){var n;const i=e.value,r=(n=i.hsl)!==null&&n!==void 0?n:e.value;if(r.h!==void 0&&r.l!==void 0)return Pi({h:P(r.h),l:P(r.l),s:P(r.s)})}parseString(e){if(!e.startsWith("hsl"))return;const n=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.%]+)\s*)?\)/i,i=n.exec(e);return i?By({a:i.length>4?pp(i[5]):1,h:parseInt(i[1],10),l:parseInt(i[3],10),s:parseInt(i[2],10)}):void 0}}class l1{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(e){var n;const i=e.value,r=(n=i.rgb)!==null&&n!==void 0?n:e.value;if(r.r!==void 0)return r}handleRangeColor(e){var n;const i=e.value,r=(n=i.rgb)!==null&&n!==void 0?n:e.value;if(r.r!==void 0)return{r:P(r.r),g:P(r.g),b:P(r.b)}}parseString(e){if(!e.startsWith(this.stringPrefix))return;const n=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.%]+)\s*)?\)/i,i=n.exec(e);return i?{a:i.length>4?pp(i[5]):1,b:parseInt(i[3],10),g:parseInt(i[2],10),r:parseInt(i[1],10)}:void 0}}class kt{constructor(e){this.container=e,this.type="external"}}class Du{constructor(e){this.container=e,this.type="particles"}}const a1=new l1,u1=new s1;xp(a1);xp(u1);const Ao=new o1;Ao.init();var c1=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var i,r,o;if(Array.isArray(e)){if(i=e.length,i!=n.length)return!1;for(r=i;r--!==0;)if(!t(e[r],n[r]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(o=Object.keys(e),i=o.length,i!==Object.keys(n).length)return!1;for(r=i;r--!==0;)if(!Object.prototype.hasOwnProperty.call(n,o[r]))return!1;for(r=i;r--!==0;){var s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n};const d1=Gd(c1),Ap="tsparticles";class Os extends T.Component{constructor(e){super(e),this.state={init:!1,library:void 0}}destroy(){this.state.library&&(this.state.library.destroy(),this.setState({library:void 0}))}shouldComponentUpdate(e){return!d1(e,this.props)}componentDidUpdate(){this.refresh()}forceUpdate(){this.refresh().then(()=>{super.forceUpdate()})}componentDidMount(){(async()=>(this.props.init&&await this.props.init(Ao),this.setState({init:!0},async()=>{await this.loadParticles()})))()}componentWillUnmount(){this.destroy()}render(){const{width:e,height:n,className:i,canvasClassName:r,id:o}=this.props;return Fe.createElement("div",{className:i,id:o},Fe.createElement("canvas",{className:r,style:Object.assign(Object.assign({},this.props.style),{width:e,height:n})}))}async refresh(){this.destroy(),await this.loadParticles()}async loadParticles(){var e,n,i;if(!this.state.init)return;const r=async l=>{this.props.container&&(this.props.container.current=l),this.setState({library:l}),this.props.loaded&&await this.props.loaded(l)},o=(n=(e=this.props.id)!==null&&e!==void 0?e:Os.defaultProps.id)!==null&&n!==void 0?n:Ap,s=this.props.url?await Ao.loadJSON(o,this.props.url):await Ao.load(o,(i=this.props.params)!==null&&i!==void 0?i:this.props.options);await r(s)}}Os.defaultProps={width:"100%",height:"100%",options:{},style:{},url:void 0,id:Ap};class f1{constructor(){this.radius=0,this.mass=0}load(e){e&&(e.mass!==void 0&&(this.mass=e.mass),e.radius!==void 0&&(this.radius=e.radius))}}class h1 extends ft{constructor(){super(),this.density=5,this.value=50,this.limit=new f1}load(e){e&&(super.load(e),e.density!==void 0&&(this.density=e.density),typeof e.limit=="number"?this.limit.radius=e.limit:this.limit.load(e.limit))}}class as{constructor(){this.color=new ae,this.color.value="#000000",this.draggable=!1,this.opacity=1,this.destroy=!0,this.orbits=!1,this.size=new h1}load(e){e!==void 0&&(e.color!==void 0&&(this.color=ae.create(this.color,e.color)),e.draggable!==void 0&&(this.draggable=e.draggable),this.name=e.name,e.opacity!==void 0&&(this.opacity=e.opacity),e.position!==void 0&&(this.position={},e.position.x!==void 0&&(this.position.x=R(e.position.x)),e.position.y!==void 0&&(this.position.y=R(e.position.y))),e.size!==void 0&&this.size.load(e.size),e.destroy!==void 0&&(this.destroy=e.destroy),e.orbits!==void 0&&(this.orbits=e.orbits))}}class p1{constructor(e,n,i,r){var o,s,l;this.absorbers=e,this.container=n,this.initialPosition=r?V.create(r.x,r.y):void 0,i instanceof as?this.options=i:(this.options=new as,this.options.load(i)),this.dragging=!1,this.name=this.options.name,this.opacity=this.options.opacity,this.size=P(this.options.size.value)*n.retina.pixelRatio,this.mass=this.size*this.options.size.density*n.retina.reduceFactor;const a=this.options.size.limit;this.limit={radius:a.radius*n.retina.pixelRatio*n.retina.reduceFactor,mass:a.mass},this.color=(o=ut(this.options.color))!==null&&o!==void 0?o:{b:0,g:0,r:0},this.position=(l=(s=this.initialPosition)===null||s===void 0?void 0:s.copy())!==null&&l!==void 0?l:this.calcPosition()}attract(e){const n=this.container,i=this.options;if(i.draggable){const u=n.interactivity.mouse;u.clicking&&u.downPosition?ye(this.position,u.downPosition)<=this.size&&(this.dragging=!0):this.dragging=!1,this.dragging&&u.position&&(this.position.x=u.position.x,this.position.y=u.position.y)}const r=e.getPosition(),{dx:o,dy:s,distance:l}=Re(this.position,r),a=V.create(o,s);if(a.length=this.mass/Math.pow(l,2)*n.retina.reduceFactor,le.getRadius()&&l=0?"clockwise":"counter-clockwise");const s=e.absorberOrbit.length,l=e.absorberOrbit.angle,a=e.absorberOrbitDirection;e.velocity.setTo(V.origin);const u={x:a==="clockwise"?Math.cos:Math.sin,y:a==="clockwise"?Math.sin:Math.cos};e.position.x=this.position.x+s*u.x(l),e.position.y=this.position.y+s*u.y(l),e.absorberOrbit.length-=n.length,e.absorberOrbit.angle+=((i=e.retina.moveSpeed)!==null&&i!==void 0?i:0)*r.retina.pixelRatio/100*r.retina.reduceFactor}else{const s=V.origin;s.length=n.length,s.angle=n.angle,e.velocity.addTo(s)}}}class m1{constructor(e){this.container=e,this.array=[],this.absorbers=[],this.interactivityAbsorbers=[],e.getAbsorber=n=>n===void 0||typeof n=="number"?this.array[n||0]:this.array.find(i=>i.name===n),e.addAbsorber=(n,i)=>this.addAbsorber(n,i)}addAbsorber(e,n){const i=new p1(this,this.container,e,n);return this.array.push(i),i}draw(e){for(const n of this.array)n.draw(e)}handleClickMode(e){const n=this.absorbers,i=this.interactivityAbsorbers;if(e==="absorber"){const r=at(i),o=r??at(n),s=this.container.interactivity.mouse.clickPosition;this.addAbsorber(o,s)}}async init(){this.absorbers=this.container.actualOptions.absorbers,this.interactivityAbsorbers=this.container.actualOptions.interactivity.modes.absorbers,K(this.absorbers,e=>{this.addAbsorber(e)})}particleUpdate(e){for(const n of this.array)if(n.attract(e),e.destroyed)break}removeAbsorber(e){const n=this.array.indexOf(e);n>=0&&this.array.splice(n,1)}resize(){for(const e of this.array)e.resize()}stop(){this.array=[]}}class v1{constructor(){this.id="absorbers"}getPlugin(e){return new m1(e)}loadOptions(e,n){var i,r;!this.needsPlugin(e)&&!this.needsPlugin(n)||(n!=null&&n.absorbers&&(e.absorbers=K(n.absorbers,o=>{const s=new as;return s.load(o),s})),e.interactivity.modes.absorbers=K((r=(i=n==null?void 0:n.interactivity)===null||i===void 0?void 0:i.modes)===null||r===void 0?void 0:r.absorbers,o=>{const s=new as;return s.load(o),s}))}needsPlugin(e){var n,i,r;if(!e)return!1;const o=e.absorbers;return o instanceof Array?!!o.length:o?!0:!!(!((r=(i=(n=e.interactivity)===null||n===void 0?void 0:n.events)===null||i===void 0?void 0:i.onClick)===null||r===void 0)&&r.mode&&G("absorber",e.interactivity.events.onClick.mode))}}async function y1(t){const e=new v1;await t.addPlugin(e)}class g1{load(e){e&&(e.bottom!==void 0&&(this.bottom=R(e.bottom)),e.left!==void 0&&(this.left=R(e.left)),e.right!==void 0&&(this.right=R(e.right)),e.top!==void 0&&(this.top=R(e.top)))}}class w1 extends ft{constructor(){super(),this.value=3}}class x1 extends ft{constructor(){super(),this.value={min:4,max:9}}}class b1{constructor(){this.count=1,this.factor=new w1,this.rate=new x1,this.sizeOffset=!0}load(e){var n;e&&(e.color!==void 0&&(this.color=ae.create(this.color,e.color)),e.count!==void 0&&(this.count=e.count),this.factor.load(e.factor),this.rate.load(e.rate),this.particles=K(e.particles,i=>de({},i)),e.sizeOffset!==void 0&&(this.sizeOffset=e.sizeOffset),e.colorOffset&&(this.colorOffset=(n=this.colorOffset)!==null&&n!==void 0?n:{},e.colorOffset.h!==void 0&&(this.colorOffset.h=e.colorOffset.h),e.colorOffset.s!==void 0&&(this.colorOffset.s=e.colorOffset.s),e.colorOffset.l!==void 0&&(this.colorOffset.l=e.colorOffset.l)))}}class k1{constructor(){this.bounds=new g1,this.mode="none",this.split=new b1}load(e){e&&(e.mode&&(this.mode=e.mode),e.bounds&&this.bounds.load(e.bounds),this.split.load(e.split))}}class _1{constructor(e,n){this.engine=e,this.container=n}init(e){const n=this.container,i=e.options,r=i.destroy;if(!r)return;e.splitCount=0;const o=r.bounds;e.destroyBounds||(e.destroyBounds={}),o.bottom&&(e.destroyBounds.bottom=P(o.bottom)*n.canvas.size.height/100),o.left&&(e.destroyBounds.left=P(o.left)*n.canvas.size.width/100),o.right&&(e.destroyBounds.right=P(o.right)*n.canvas.size.width/100),o.top&&(e.destroyBounds.top=P(o.top)*n.canvas.size.height/100)}isEnabled(e){return!e.destroyed}loadOptions(e,...n){e.destroy||(e.destroy=new k1);for(const i of n)e.destroy.load(i==null?void 0:i.destroy)}particleDestroyed(e,n){if(n)return;const i=e.options.destroy;i&&i.mode==="split"&&this.split(e)}update(e){if(!this.isEnabled(e))return;const n=e.getPosition(),i=e.destroyBounds;i&&(i.bottom!==void 0&&n.y>=i.bottom||i.left!==void 0&&n.x<=i.left||i.right!==void 0&&n.x>=i.right||i.top!==void 0&&n.y<=i.top)&&e.destroy()}addSplitParticle(e,n){var i,r,o;const s=e.options.destroy;if(!s)return;const l=s.split,a=Iu(this.engine,this.container,e.options),u=Qt(l.factor),c=e.getFillColor();l.color?a.color.load(l.color):l.colorOffset&&c?a.color.load({value:{hsl:{h:c.h+P((i=l.colorOffset.h)!==null&&i!==void 0?i:0),s:c.s+P((r=l.colorOffset.s)!==null&&r!==void 0?r:0),l:c.l+P((o=l.colorOffset.l)!==null&&o!==void 0?o:0)}}}):a.color.load({value:{hsl:e.getFillColor()}}),a.move.load({center:{x:e.position.x,y:e.position.y,mode:"precise"}}),typeof a.size.value=="number"?a.size.value/=u:(a.size.value.min/=u,a.size.value.max/=u),a.load(n);const d=l.sizeOffset?R(-e.size.value,e.size.value):0,f={x:e.position.x+ve(d),y:e.position.y+ve(d)};return this.container.particles.addParticle(f,a,e.group,m=>{var h;return m.size.value<.5?!1:(m.velocity.length=ve(R(e.velocity.length,m.velocity.length)),m.splitCount=((h=e.splitCount)!==null&&h!==void 0?h:0)+1,m.unbreakable=!0,setTimeout(()=>{m.unbreakable=!1},500),!0)})}split(e){const n=e.options.destroy;if(!n)return;const i=n.split;if(i.count>=0&&(e.splitCount===void 0||e.splitCount++>i.count))return;const r=Qt(i.rate),o=at(i.particles);for(let s=0;snew _1(t,e))}class C1{randomPosition(e,n,i){const r=(d,f)=>{const m=I()/4,h=Math.atan(f/d*Math.tan(2*Math.PI*m)),y=I();return y<.25?h:y<.5?Math.PI-h:y<.75?Math.PI+h:-h},o=(d,f,m)=>d*f/Math.sqrt((f*Math.cos(m))**2+(d*Math.sin(m))**2),[s,l]=[n.width/2,n.height/2],a=r(s,l),u=o(s,l,a),c=i?u*Math.sqrt(I()):u;return{x:e.x+c*Math.cos(a),y:e.y+c*Math.sin(a)}}}class P1{constructor(){this.wait=!1}load(e){e&&(e.count!==void 0&&(this.count=e.count),e.delay!==void 0&&(this.delay=e.delay),e.duration!==void 0&&(this.duration=e.duration),e.wait!==void 0&&(this.wait=e.wait))}}class E1{constructor(){this.quantity=1,this.delay=.1}load(e){e!==void 0&&(e.quantity!==void 0&&(this.quantity=R(e.quantity)),e.delay!==void 0&&(this.delay=R(e.delay)))}}class Tp{constructor(){this.mode="percent",this.height=0,this.width=0}load(e){e!==void 0&&(e.mode!==void 0&&(this.mode=e.mode),e.height!==void 0&&(this.height=e.height),e.width!==void 0&&(this.width=e.width))}}class ln{constructor(){this.autoPlay=!0,this.fill=!0,this.life=new P1,this.rate=new E1,this.shape="square",this.startCount=0}load(e){e&&(e.autoPlay!==void 0&&(this.autoPlay=e.autoPlay),e.size!==void 0&&(this.size||(this.size=new Tp),this.size.load(e.size)),e.direction!==void 0&&(this.direction=e.direction),this.domId=e.domId,e.fill!==void 0&&(this.fill=e.fill),this.life.load(e.life),this.name=e.name,this.particles=K(e.particles,n=>de({},n)),this.rate.load(e.rate),e.shape!==void 0&&(this.shape=e.shape),e.position!==void 0&&(this.position={},e.position.x!==void 0&&(this.position.x=R(e.position.x)),e.position.y!==void 0&&(this.position.y=R(e.position.y))),e.spawnColor!==void 0&&(this.spawnColor===void 0&&(this.spawnColor=new Oi),this.spawnColor.load(e.spawnColor)),e.startCount!==void 0&&(this.startCount=e.startCount))}}class O1{constructor(e,n,i,r,o){var s,l,a,u,c,d,f,m;this.emitters=n,this.container=i,this._engine=e,this._currentDuration=0,this._currentEmitDelay=0,this._currentSpawnDelay=0,this._initialPosition=o,r instanceof ln?this.options=r:(this.options=new ln,this.options.load(r)),this._spawnDelay=((s=this.options.life.delay)!==null&&s!==void 0?s:0)*1e3/this.container.retina.reduceFactor,this.position=(l=this._initialPosition)!==null&&l!==void 0?l:this.calcPosition(),this.name=this.options.name,this._shape=(a=this._engine.emitterShapeManager)===null||a===void 0?void 0:a.getShape(this.options.shape),this.fill=this.options.fill,this._firstSpawn=!this.options.life.wait,this._startParticlesAdded=!1;let h=de({},this.options.particles);h??(h={}),(u=h.move)!==null&&u!==void 0||(h.move={}),(c=(m=h.move).direction)!==null&&c!==void 0||(m.direction=this.options.direction),this.options.spawnColor&&(this.spawnColor=bn(this.options.spawnColor)),this._paused=!this.options.autoPlay,this._particlesOptions=h,this.size=(d=this.options.size)!==null&&d!==void 0?d:(()=>{const y=new Tp;return y.load({height:0,mode:"percent",width:0}),y})(),this._lifeCount=(f=this.options.life.count)!==null&&f!==void 0?f:-1,this._immortal=this._lifeCount<=0,this._engine.dispatchEvent("emitterCreated",{container:i,data:{emitter:this}}),this.play()}externalPause(){this._paused=!0,this.pause()}externalPlay(){this._paused=!1,this.play()}getPosition(){if(this.options.domId){const e=this.container,n=document.getElementById(this.options.domId);if(n){const i=n.getBoundingClientRect();return{x:(i.x+i.width/2)*e.retina.pixelRatio,y:(i.y+i.height/2)*e.retina.pixelRatio}}}return this.position}getSize(){const e=this.container;if(this.options.domId){const n=document.getElementById(this.options.domId);if(n){const i=n.getBoundingClientRect();return{width:i.width*e.retina.pixelRatio,height:i.height*e.retina.pixelRatio}}}return{width:this.size.mode==="percent"?e.canvas.size.width*this.size.width/100:this.size.width,height:this.size.mode==="percent"?e.canvas.size.height*this.size.height/100:this.size.height}}pause(){this._paused||delete this._emitDelay}play(){var e;if(!this._paused&&this.container.retina.reduceFactor&&(this._lifeCount>0||this._immortal||!this.options.life.count)&&(this._firstSpawn||this._currentSpawnDelay>=((e=this._spawnDelay)!==null&&e!==void 0?e:0))){if(this._emitDelay===void 0){const n=P(this.options.rate.delay);this._emitDelay=1e3*n/this.container.retina.reduceFactor}(this._lifeCount>0||this._immortal)&&this.prepareToDie()}}resize(){const e=this._initialPosition;this.position=e&&Vr(e,this.container.canvas.size,V.origin)?e:this.calcPosition()}update(e){var n,i,r;this._paused||(this._firstSpawn&&(this._firstSpawn=!1,this._currentSpawnDelay=(n=this._spawnDelay)!==null&&n!==void 0?n:0,this._currentEmitDelay=(i=this._emitDelay)!==null&&i!==void 0?i:0),this._startParticlesAdded||(this._startParticlesAdded=!0,this.emitParticles(this.options.startCount)),this._duration!==void 0&&(this._currentDuration+=e.value,this._currentDuration>=this._duration&&(this.pause(),this._spawnDelay!==void 0&&delete this._spawnDelay,this._immortal||this._lifeCount--,this._lifeCount>0||this._immortal?(this.position=this.calcPosition(),this._spawnDelay=((r=this.options.life.delay)!==null&&r!==void 0?r:0)*1e3/this.container.retina.reduceFactor):this.destroy(),this._currentDuration-=this._duration,delete this._duration)),this._spawnDelay!==void 0&&(this._currentSpawnDelay+=e.value,this._currentSpawnDelay>=this._spawnDelay&&(this._engine.dispatchEvent("emitterPlay",{container:this.container}),this.play(),this._currentSpawnDelay-=this._currentSpawnDelay,delete this._spawnDelay)),this._emitDelay!==void 0&&(this._currentEmitDelay+=e.value,this._currentEmitDelay>=this._emitDelay&&(this.emit(),this._currentEmitDelay-=this._emitDelay)))}calcPosition(){return hp({size:this.container.canvas.size,position:this.options.position})}destroy(){this.emitters.removeEmitter(this),this._engine.dispatchEvent("emitterDestroyed",{container:this.container,data:{emitter:this}})}emit(){if(this._paused)return;const e=P(this.options.rate.quantity);this.emitParticles(e)}emitParticles(e){var n,i,r;const o=this.getPosition(),s=this.getSize(),l=at(this._particlesOptions);for(let a=0;a0||this._immortal)&&n!==void 0&&n>0&&(this._duration=n*1e3)}setColorAnimation(e,n,i){var r;const o=this.container;if(!e.enable)return n;const s=ve(e.offset),l=P(this.options.rate.delay),a=1e3*l/o.retina.reduceFactor,u=P((r=e.speed)!==null&&r!==void 0?r:0);return(n+u*o.fpsLimit/a+s*3.6)%i}}class z1{constructor(e,n){this.container=n,this._engine=e,this.array=[],this.emitters=[],this.interactivityEmitters={random:{count:1,enable:!1},value:[]},n.getEmitter=i=>i===void 0||typeof i=="number"?this.array[i||0]:this.array.find(r=>r.name===i),n.addEmitter=(i,r)=>this.addEmitter(i,r),n.removeEmitter=i=>{const r=n.getEmitter(i);r&&this.removeEmitter(r)},n.playEmitter=i=>{const r=n.getEmitter(i);r&&r.externalPlay()},n.pauseEmitter=i=>{const r=n.getEmitter(i);r&&r.externalPause()}}addEmitter(e,n){const i=new ln;i.load(e);const r=new O1(this._engine,this,this.container,i,n);return this.array.push(r),r}handleClickMode(e){const n=this.emitters,i=this.interactivityEmitters;if(e!=="emitter")return;let r;if(i&&i.value instanceof Array)if(i.value.length>0&&i.random.enable){r=[];const l=[];for(let a=0;a{this.addEmitter(l,s)})}async init(){if(this.emitters=this.container.actualOptions.emitters,this.interactivityEmitters=this.container.actualOptions.interactivity.modes.emitters,!!this.emitters)if(this.emitters instanceof Array)for(const e of this.emitters)this.addEmitter(e);else this.addEmitter(this.emitters)}pause(){for(const e of this.array)e.pause()}play(){for(const e of this.array)e.play()}removeEmitter(e){const n=this.array.indexOf(e);n>=0&&this.array.splice(n,1)}resize(){for(const e of this.array)e.resize()}stop(){this.array=[]}update(e){for(const n of this.array)n.update(e)}}const Cl=new Map;class M1{constructor(e){this._engine=e}addShape(e,n){this.getShape(e)||Cl.set(e,n)}getShape(e){return Cl.get(e)}getSupportedShapes(){return Cl.keys()}}function gd(t,e){return t+e*(I()-.5)}class A1{randomPosition(e,n,i){if(i)return{x:gd(e.x,n.width),y:gd(e.y,n.height)};{const r=n.width/2,o=n.height/2,s=Math.floor(I()*4),l=(I()-.5)*2;switch(s){case 0:return{x:e.x+l*r,y:e.y-o};case 1:return{x:e.x-r,y:e.y+l*o};case 2:return{x:e.x+l*r,y:e.y+o};case 3:default:return{x:e.x+r,y:e.y+l*o}}}}}class T1{constructor(e){this._engine=e,this.id="emitters"}getPlugin(e){return new z1(this._engine,e)}loadOptions(e,n){var i,r,o,s,l,a;if(!this.needsPlugin(e)&&!this.needsPlugin(n))return;n!=null&&n.emitters&&(e.emitters=K(n.emitters,c=>{const d=new ln;return d.load(c),d}));const u=(r=(i=n==null?void 0:n.interactivity)===null||i===void 0?void 0:i.modes)===null||r===void 0?void 0:r.emitters;if(u)if(u instanceof Array)e.interactivity.modes.emitters={random:{count:1,enable:!0},value:u.map(c=>{const d=new ln;return d.load(c),d})};else{const c=u;if(c.value!==void 0)if(c.value instanceof Array)e.interactivity.modes.emitters={random:{count:(o=c.random.count)!==null&&o!==void 0?o:1,enable:(s=c.random.enable)!==null&&s!==void 0?s:!1},value:c.value.map(d=>{const f=new ln;return f.load(d),f})};else{const d=new ln;d.load(c.value),e.interactivity.modes.emitters={random:{count:(l=c.random.count)!==null&&l!==void 0?l:1,enable:(a=c.random.enable)!==null&&a!==void 0?a:!1},value:d}}else(e.interactivity.modes.emitters={random:{count:1,enable:!1},value:new ln}).value.load(u)}}needsPlugin(e){var n,i,r;if(!e)return!1;const o=e.emitters;return o instanceof Array&&!!o.length||o!==void 0||!!(!((r=(i=(n=e.interactivity)===null||n===void 0?void 0:n.events)===null||i===void 0?void 0:i.onClick)===null||r===void 0)&&r.mode)&&G("emitter",e.interactivity.events.onClick.mode)}}async function R1(t){t.emitterShapeManager||(t.emitterShapeManager=new M1(t)),t.addEmitterShape||(t.addEmitterShape=(n,i)=>{var r;(r=t.emitterShapeManager)===null||r===void 0||r.addShape(n,i)});const e=new T1(t);await t.addPlugin(e),t.addEmitterShape("circle",new C1),t.addEmitterShape("square",new A1)}class I1{constructor(){this.delay=1,this.pauseOnStop=!1,this.quantity=1}load(e){e&&(e.delay!==void 0&&(this.delay=e.delay),e.quantity!==void 0&&(this.quantity=e.quantity),e.particles!==void 0&&(this.particles=de({},e.particles)),e.pauseOnStop!==void 0&&(this.pauseOnStop=e.pauseOnStop))}}class D1 extends kt{constructor(e){super(e),this._delay=0}clear(){}init(){}async interact(e){var n,i,r,o;if(!this.container.retina.reduceFactor)return;const s=this.container,l=s.actualOptions,a=l.interactivity.modes.trail;if(!a)return;const u=a.delay*1e3/this.container.retina.reduceFactor;if(this._delaynew D1(e))}class wd{constructor(){this.enable=!1,this.value=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.value!==void 0&&(this.value=R(e.value)))}}class L1{constructor(){this.darken=new wd,this.enable=!1,this.enlighten=new wd,this.mode="vertical",this.speed=25}load(e){e&&(e.backColor!==void 0&&(this.backColor=ae.create(this.backColor,e.backColor)),this.darken.load(e.darken),e.enable!==void 0&&(this.enable=e.enable),this.enlighten.load(e.enlighten),e.mode!==void 0&&(this.mode=e.mode),e.speed!==void 0&&(this.speed=R(e.speed)))}}function N1(t,e){const n=t.options.roll;if(!t.roll||!(n!=null&&n.enable))return;const i=t.roll.speed*e.factor,r=2*Math.PI;t.roll.angle+=i,t.roll.angle>r&&(t.roll.angle-=r)}class F1{getTransformValues(e){var n;const i=((n=e.roll)===null||n===void 0?void 0:n.enable)&&e.roll,r=i&&i.horizontal,o=i&&i.vertical;return{a:r?Math.cos(i.angle):void 0,d:o?Math.sin(i.angle):void 0}}init(e){const n=e.options.roll;if(n!=null&&n.enable)if(e.roll={enable:n.enable,horizontal:n.mode==="horizontal"||n.mode==="both",vertical:n.mode==="vertical"||n.mode==="both",angle:I()*Math.PI*2,speed:P(n.speed)/360},n.backColor)e.backColor=bn(n.backColor);else if(n.darken.enable&&n.enlighten.enable){const i=I()>=.5?"darken":"enlighten";e.roll.alter={type:i,value:P(i==="darken"?n.darken.value:n.enlighten.value)}}else n.darken.enable?e.roll.alter={type:"darken",value:P(n.darken.value)}:n.enlighten.enable&&(e.roll.alter={type:"enlighten",value:P(n.enlighten.value)});else e.roll={enable:!1,horizontal:!1,vertical:!1,angle:0,speed:0}}isEnabled(e){const n=e.options.roll;return!e.destroyed&&!e.spawning&&!!(n!=null&&n.enable)}loadOptions(e,...n){e.roll||(e.roll=new L1);for(const i of n)e.roll.load(i==null?void 0:i.roll)}update(e,n){this.isEnabled(e)&&N1(e,n)}}async function B1(t){await t.addParticleUpdater("roll",()=>new F1)}const $1=t=>{const e=(i,r)=>t.load(i,r);e.load=(i,r,o)=>{t.loadJSON(i,r).then(s=>{s&&o(s)}).catch(()=>{o(void 0)})},e.setOnClickHandler=i=>{t.setOnClickHandler(i)};const n=t.dom();return{particlesJS:e,pJSDom:n}};class U1{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=R(e.speed)),e.decay!==void 0&&(this.decay=R(e.decay)),e.sync!==void 0&&(this.sync=e.sync))}}class H1 extends ft{constructor(){super(),this.animation=new U1,this.direction="clockwise",this.path=!1,this.value=0}load(e){e&&(super.load(e),e.direction!==void 0&&(this.direction=e.direction),this.animation.load(e.animation),e.path!==void 0&&(this.path=e.path))}}function V1(t,e){var n,i;const r=t.rotate,o=t.options.rotate;if(!r||!o)return;const s=o.animation,l=((n=r.velocity)!==null&&n!==void 0?n:0)*e.factor,a=2*Math.PI,u=(i=r.decay)!==null&&i!==void 0?i:1;if(s.enable){switch(r.status){case"increasing":r.value+=l,r.value>a&&(r.value-=a);break;case"decreasing":default:r.value-=l,r.value<0&&(r.value+=a);break}r.velocity&&u!==1&&(r.velocity*=u)}}class W1{constructor(e){this.container=e}init(e){const n=e.options.rotate;if(!n)return;e.rotate={enable:n.animation.enable,value:P(n.value)*Math.PI/180},e.pathRotation=n.path;let i=n.direction;switch(i==="random"&&(i=Math.floor(I()*2)>0?"counter-clockwise":"clockwise"),i){case"counter-clockwise":case"counterClockwise":e.rotate.status="decreasing";break;case"clockwise":e.rotate.status="increasing";break}const r=n.animation;r.enable&&(e.rotate.decay=1-P(r.decay),e.rotate.velocity=P(r.speed)/360*this.container.retina.reduceFactor,r.sync||(e.rotate.velocity*=I())),e.rotation=e.rotate.value}isEnabled(e){const n=e.options.rotate;return n?!e.destroyed&&!e.spawning&&n.animation.enable&&!n.path:!1}loadOptions(e,...n){e.rotate||(e.rotate=new H1);for(const i of n)e.rotate.load(i==null?void 0:i.rotate)}update(e,n){var i,r;this.isEnabled(e)&&(V1(e,n),e.rotation=(r=(i=e.rotate)===null||i===void 0?void 0:i.value)!==null&&r!==void 0?r:0)}}async function q1(t){await t.addParticleUpdater("rotate",e=>new W1(e))}function Q1(t){const e=t.initialPosition,{dx:n,dy:i}=Re(e,t.position),r=Math.abs(n),o=Math.abs(i),s=t.retina.maxDistance.horizontal,l=t.retina.maxDistance.vertical;if(!(!s&&!l)){if((s&&r>=s||l&&o>=l)&&!t.misplaced)t.misplaced=!!s&&r>s||!!l&&o>l,s&&(t.velocity.x=t.velocity.y/2-t.velocity.x),l&&(t.velocity.y=t.velocity.x/2-t.velocity.y);else if((!s||re.x&&u.x>0)&&(u.x*=-I()),l&&(a.ye.y&&u.y>0)&&(u.y*=-I())}}}function G1(t,e){const n=t.container;if(!t.spin)return;const i={x:t.spin.direction==="clockwise"?Math.cos:Math.sin,y:t.spin.direction==="clockwise"?Math.sin:Math.cos};t.position.x=t.spin.center.x+t.spin.radius*i.x(t.spin.angle),t.position.y=t.spin.center.y+t.spin.radius*i.y(t.spin.angle),t.spin.radius+=t.spin.acceleration;const r=Math.max(n.canvas.size.width,n.canvas.size.height);t.spin.radius>r/2?(t.spin.radius=r/2,t.spin.acceleration*=-1):t.spin.radius<0&&(t.spin.radius=0,t.spin.acceleration*=-1),t.spin.angle+=e/100*(1-t.spin.radius/r)}function K1(t,e){var n;const i=t.options,r=i.move.path;if(!r.enable)return;if(t.lastPathTime<=t.pathDelay){t.lastPathTime+=e.value;return}const s=(n=t.pathGenerator)===null||n===void 0?void 0:n.generate(t);s&&t.velocity.addTo(s),r.clamp&&(t.velocity.x=bt(t.velocity.x,-1,1),t.velocity.y=bt(t.velocity.y,-1,1)),t.lastPathTime-=t.pathDelay}function Y1(t){return t.slow.inRange?t.slow.factor:1}class X1{init(e){var n;const i=e.container,r=e.options,o=r.move.gravity,s=r.move.spin;if(e.gravity={enable:o.enable,acceleration:P(o.acceleration),inverse:o.inverse},s.enable){const l=(n=s.position)!==null&&n!==void 0?n:{x:50,y:50},a={x:l.x/100*i.canvas.size.width,y:l.y/100*i.canvas.size.height},u=e.getPosition(),c=ye(u,a),d=P(s.acceleration);e.retina.spinAcceleration=d*i.retina.pixelRatio,e.spin={center:a,direction:e.velocity.x>=0?"clockwise":"counter-clockwise",angle:e.velocity.angle,radius:c,acceleration:e.retina.spinAcceleration}}}isEnabled(e){return!e.destroyed&&e.options.move.enable}move(e,n){var i,r,o,s,l;const a=e.options,u=a.move;if(!u.enable)return;const c=e.container,d=Y1(e),f=((i=(s=e.retina).moveSpeed)!==null&&i!==void 0?i:s.moveSpeed=P(u.speed)*c.retina.pixelRatio)*c.retina.reduceFactor,m=(r=(l=e.retina).moveDrift)!==null&&r!==void 0?r:l.moveDrift=P(e.options.move.drift)*c.retina.pixelRatio,h=Mt(a.size.value)*c.retina.pixelRatio,y=u.size?e.getRadius()/h:1,b=y*d*(n.factor||1),v=2,p=f*b/v;if(u.spin.enable)G1(e,p);else{K1(e,n);const g=e.gravity,x=g!=null&&g.enable&&g.inverse?-1:1;g!=null&&g.enable&&p&&(e.velocity.y+=x*(g.acceleration*n.factor)/(60*p)),m&&p&&(e.velocity.x+=m*n.factor/(60*p));const k=e.moveDecay;k!=1&&e.velocity.multTo(k);const _=e.velocity.mult(p),S=(o=e.retina.maxSpeed)!==null&&o!==void 0?o:c.retina.maxSpeed;g!=null&&g.enable&&S>0&&(!g.inverse&&_.y>=0&&_.y>=S||g.inverse&&_.y<=0&&_.y<=-S)&&(_.y=x*S,p&&(e.velocity.y=_.y/p));const O=e.options.zIndex,N=(1-e.zIndexFactor)**O.velocityRate;N!=1&&_.multTo(N),e.position.addTo(_),u.vibrate&&(e.position.x+=Math.sin(e.position.x*Math.cos(e.position.y)),e.position.y+=Math.cos(e.position.y*Math.sin(e.position.x)))}Q1(e)}}async function J1(t){t.addMover("base",()=>new X1)}class Z1{draw(e,n,i){n.circleRange||(n.circleRange={min:0,max:Math.PI*2});const r=n.circleRange;e.arc(0,0,i,r.min,r.max,!1)}getSidesCount(){return 12}particleInit(e,n){var i;const r=n.shapeData,o=(i=r==null?void 0:r.angle)!==null&&i!==void 0?i:{max:360,min:0};n.circleRange=typeof o!="object"?{min:0,max:o*Math.PI/180}:{min:o.min*Math.PI/180,max:o.max*Math.PI/180}}}async function ew(t){await t.addShape("circle",new Z1)}function Pl(t,e,n,i,r){var o,s;const l=e;if(!l||!n.enable||l.loops!==void 0&&l.maxLoops!==void 0&&l.maxLoops>0&&l.loops>=l.maxLoops)return;const a=ve(n.offset),u=((o=e.velocity)!==null&&o!==void 0?o:0)*t.factor+a*3.6,c=(s=e.decay)!==null&&s!==void 0?s:1;!r||l.status==="increasing"?(l.value+=u,l.value>i&&(l.loops||(l.loops=0),l.loops++,r&&(l.status="decreasing",l.value-=l.value%i))):(l.value-=u,l.value<0&&(l.loops||(l.loops=0),l.loops++,l.status="increasing",l.value+=l.value)),l.velocity&&c!==1&&(l.velocity*=c),l.value>i&&(l.value%=i)}function tw(t,e){var n,i,r;const o=t.options.color.animation,s=(n=t.color)===null||n===void 0?void 0:n.h,l=(i=t.color)===null||i===void 0?void 0:i.s,a=(r=t.color)===null||r===void 0?void 0:r.l;s&&Pl(e,s,o.h,360,!1),l&&Pl(e,l,o.s,100,!0),a&&Pl(e,a,o.l,100,!0)}class nw{constructor(e){this.container=e}init(e){const n=bn(e.options.color,e.id,e.options.reduceDuplicates);n&&(e.color=Cp(n,e.options.color.animation,this.container.retina.reduceFactor))}isEnabled(e){var n,i,r;const o=e.options.color.animation;return!e.destroyed&&!e.spawning&&(((n=e.color)===null||n===void 0?void 0:n.h.value)!==void 0&&o.h.enable||((i=e.color)===null||i===void 0?void 0:i.s.value)!==void 0&&o.s.enable||((r=e.color)===null||r===void 0?void 0:r.l.value)!==void 0&&o.l.enable)}update(e,n){tw(e,n)}}async function iw(t){await t.addParticleUpdater("color",e=>new nw(e))}class rw{constructor(){this.distance=200,this.duration=.4,this.easing="ease-out-quad",this.factor=1,this.maxSpeed=50,this.speed=1}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed),e.speed!==void 0&&(this.speed=e.speed))}}let ow=class extends kt{constructor(e,n){super(n),this._engine=e,n.attract||(n.attract={particles:[]}),this.handleClickMode=i=>{const r=this.container.actualOptions,o=r.interactivity.modes.attract;if(!(!o||i!=="attract")){n.attract||(n.attract={particles:[]}),n.attract.clicking=!0,n.attract.count=0;for(const s of n.attract.particles)this.isEnabled(s)&&s.velocity.setTo(s.initialVelocity);n.attract.particles=[],n.attract.finish=!1,setTimeout(()=>{n.destroyed||(n.attract||(n.attract={particles:[]}),n.attract.clicking=!1)},o.duration*1e3)}}}clear(){}init(){const e=this.container,n=e.actualOptions.interactivity.modes.attract;n&&(e.retina.attractModeDistance=n.distance*e.retina.pixelRatio)}async interact(){const e=this.container,n=e.actualOptions,i=e.interactivity.status===Hn,r=n.interactivity.events,o=r.onHover.enable,s=r.onHover.mode,l=r.onClick.enable,a=r.onClick.mode;i&&o&&G("attract",s)?this.hoverAttract():l&&G("attract",a)&&this.clickAttract()}isEnabled(e){var n;const i=this.container,r=i.actualOptions,o=i.interactivity.mouse,s=((n=e==null?void 0:e.interactivity)!==null&&n!==void 0?n:r.interactivity).events;if((!o.position||!s.onHover.enable)&&(!o.clickPosition||!s.onClick.enable))return!1;const l=s.onHover.mode,a=s.onClick.mode;return G("attract",l)||G("attract",a)}loadModeOptions(e,...n){e.attract||(e.attract=new rw);for(const i of n)e.attract.load(i==null?void 0:i.attract)}reset(){}clickAttract(){const e=this.container;if(e.attract||(e.attract={particles:[]}),e.attract.finish||(e.attract.count||(e.attract.count=0),e.attract.count++,e.attract.count===e.particles.count&&(e.attract.finish=!0)),e.attract.clicking){const n=e.interactivity.mouse.clickPosition,i=e.retina.attractModeDistance;if(!i||i<0||!n)return;this.processAttract(n,i,new He(n.x,n.y,i))}else e.attract.clicking===!1&&(e.attract.particles=[])}hoverAttract(){const e=this.container,n=e.interactivity.mouse.position,i=e.retina.attractModeDistance;!i||i<0||!n||this.processAttract(n,i,new He(n.x,n.y,i))}processAttract(e,n,i){const r=this.container,o=r.actualOptions.interactivity.modes.attract;if(!o)return;const s=r.particles.quadTree.query(i,l=>this.isEnabled(l));for(const l of s){const{dx:a,dy:u,distance:c}=Re(l.position,e),d=o.speed*o.factor,f=bt(dp(o.easing)(1-c/n)*d,0,o.maxSpeed),m=V.create(c===0?d:a/c*f,c===0?d:u/c*f);l.position.subFrom(m)}}};async function sw(t){await t.addInteractor("externalAttract",e=>new ow(t,e))}class lw{constructor(){this.distance=200}load(e){e&&e.distance!==void 0&&(this.distance=e.distance)}}class aw extends kt{constructor(e){super(e)}clear(){}init(){const e=this.container,n=e.actualOptions.interactivity.modes.bounce;n&&(e.retina.bounceModeDistance=n.distance*e.retina.pixelRatio)}async interact(){const e=this.container,n=e.actualOptions,i=n.interactivity.events,r=e.interactivity.status===Hn,o=i.onHover.enable,s=i.onHover.mode,l=i.onDiv;r&&o&&G("bounce",s)?this.processMouseBounce():Tu("bounce",l,(a,u)=>this.singleSelectorBounce(a,u))}isEnabled(e){var n;const i=this.container,r=i.actualOptions,o=i.interactivity.mouse,s=((n=e==null?void 0:e.interactivity)!==null&&n!==void 0?n:r.interactivity).events,l=s.onDiv;return o.position&&s.onHover.enable&&G("bounce",s.onHover.mode)||Au("bounce",l)}loadModeOptions(e,...n){e.bounce||(e.bounce=new lw);for(const i of n)e.bounce.load(i==null?void 0:i.bounce)}reset(){}processBounce(e,n,i){const r=this.container.particles.quadTree.query(i,o=>this.isEnabled(o));for(const o of r)i instanceof He?gp(za(o),{position:e,radius:n,mass:n**2*Math.PI/2,velocity:V.origin,factor:V.origin}):i instanceof Le&&Ly(o,Wr(e,n))}processMouseBounce(){const e=this.container,n=e.retina.pixelRatio,i=10*n,r=e.interactivity.mouse.position,o=e.retina.bounceModeDistance;!o||o<0||!r||this.processBounce(r,o,new He(r.x,r.y,o+i))}singleSelectorBounce(e,n){const i=this.container,r=document.querySelectorAll(e);r.length&&r.forEach(o=>{const s=o,l=i.retina.pixelRatio,a={x:(s.offsetLeft+s.offsetWidth/2)*l,y:(s.offsetTop+s.offsetHeight/2)*l},u=s.offsetWidth/2*l,c=10*l,d=n.type==="circle"?new He(a.x,a.y,u+c):new Le(s.offsetLeft*l-c,s.offsetTop*l-c,s.offsetWidth*l+c*2,s.offsetHeight*l+c*2);this.processBounce(a,u,d)})}}async function uw(t){await t.addInteractor("externalBounce",e=>new aw(e))}class Rp{constructor(){this.distance=200,this.duration=.4,this.mix=!1}load(e){if(e){if(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.mix!==void 0&&(this.mix=e.mix),e.opacity!==void 0&&(this.opacity=e.opacity),e.color!==void 0){const n=this.color instanceof Array?void 0:this.color;this.color=K(e.color,i=>ae.create(n,i))}e.size!==void 0&&(this.size=e.size)}}}class cw extends Rp{constructor(){super(),this.selectors=[]}get ids(){return K(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=K(e,n=>`#${n}`)}load(e){super.load(e),e&&(e.ids!==void 0&&(this.ids=e.ids),e.selectors!==void 0&&(this.selectors=e.selectors))}}class dw extends Rp{load(e){super.load(e),e&&(this.divs=K(e.divs,n=>{const i=new cw;return i.load(n),i}))}}function xd(t,e,n,i){if(e>=n){const r=t+(e-n)*i;return bt(r,t,e)}else if(e{n==="bubble"&&(e.bubble||(e.bubble={}),e.bubble.clicking=!0)}}clear(e,n,i){e.bubble.inRange&&!i||(delete e.bubble.div,delete e.bubble.opacity,delete e.bubble.radius,delete e.bubble.color)}init(){const e=this.container,n=e.actualOptions.interactivity.modes.bubble;n&&(e.retina.bubbleModeDistance=n.distance*e.retina.pixelRatio,n.size!==void 0&&(e.retina.bubbleModeSize=n.size*e.retina.pixelRatio))}async interact(e){const n=this.container.actualOptions,i=n.interactivity.events,r=i.onHover,o=i.onClick,s=r.enable,l=r.mode,a=o.enable,u=o.mode,c=i.onDiv;s&&G("bubble",l)?this.hoverBubble(e):a&&G("bubble",u)?this.clickBubble(e):Tu("bubble",c,(d,f)=>this.singleSelectorHover(e,d,f))}isEnabled(e){var n;const i=this.container,r=i.actualOptions,o=i.interactivity.mouse,s=((n=e==null?void 0:e.interactivity)!==null&&n!==void 0?n:r.interactivity).events,l=s.onDiv,a=Au("bubble",l);if(!(a||s.onHover.enable&&o.position||s.onClick.enable&&o.clickPosition))return!1;const u=s.onHover.mode,c=s.onClick.mode;return G("bubble",u)||G("bubble",c)||a}loadModeOptions(e,...n){e.bubble||(e.bubble=new dw);for(const i of n)e.bubble.load(i==null?void 0:i.bubble)}reset(e){e.bubble.inRange=!1}clickBubble(e){var n,i;const r=this.container,o=r.actualOptions,s=r.interactivity.mouse.clickPosition,l=o.interactivity.modes.bubble;if(!l||!s)return;r.bubble||(r.bubble={});const a=r.retina.bubbleModeDistance;if(!a||a<0)return;const u=r.particles.quadTree.queryCircle(s,a,c=>this.isEnabled(c));for(const c of u){if(!r.bubble.clicking)continue;c.bubble.inRange=!r.bubble.durationEnd;const d=c.getPosition(),f=ye(d,s),m=(new Date().getTime()-(r.interactivity.mouse.clickTime||0))/1e3;m>l.duration&&(r.bubble.durationEnd=!0),m>l.duration*2&&(r.bubble.clicking=!1,r.bubble.durationEnd=!1);const h={bubbleObj:{optValue:r.retina.bubbleModeSize,value:c.bubble.radius},particlesObj:{optValue:Mt(c.options.size.value)*r.retina.pixelRatio,value:c.size.value},type:"size"};this.process(c,f,m,h);const y={bubbleObj:{optValue:l.opacity,value:c.bubble.opacity},particlesObj:{optValue:Mt(c.options.opacity.value),value:(i=(n=c.opacity)===null||n===void 0?void 0:n.value)!==null&&i!==void 0?i:1},type:"opacity"};this.process(c,f,m,y),r.bubble.durationEnd?delete c.bubble.color:f<=a?this.hoverBubbleColor(c,f):delete c.bubble.color}}hoverBubble(e){const n=this.container,i=n.interactivity.mouse.position,r=n.retina.bubbleModeDistance;if(!r||r<0||i===void 0)return;const o=n.particles.quadTree.queryCircle(i,r,s=>this.isEnabled(s));for(const s of o){s.bubble.inRange=!0;const l=s.getPosition(),a=ye(l,i),u=1-a/r;a<=r?u>=0&&n.interactivity.status===Hn&&(this.hoverBubbleSize(s,u),this.hoverBubbleOpacity(s,u),this.hoverBubbleColor(s,u)):this.reset(s),n.interactivity.status===Aa&&this.reset(s)}}hoverBubbleColor(e,n,i){const r=this.container.actualOptions,o=i??r.interactivity.modes.bubble;if(o){if(!e.bubble.finalColor){const s=o.color;if(!s)return;const l=at(s);e.bubble.finalColor=bn(l)}if(e.bubble.finalColor)if(o.mix){e.bubble.color=void 0;const s=e.getFillColor();e.bubble.color=s?kp(Ru(s,e.bubble.finalColor,1-n,n)):e.bubble.finalColor}else e.bubble.color=e.bubble.finalColor}}hoverBubbleOpacity(e,n,i){var r,o,s,l;const a=this.container,u=a.actualOptions,c=(r=i==null?void 0:i.opacity)!==null&&r!==void 0?r:(o=u.interactivity.modes.bubble)===null||o===void 0?void 0:o.opacity;if(!c)return;const d=e.options.opacity.value,f=(l=(s=e.opacity)===null||s===void 0?void 0:s.value)!==null&&l!==void 0?l:1,m=xd(f,c,Mt(d),n);m!==void 0&&(e.bubble.opacity=m)}hoverBubbleSize(e,n,i){const r=this.container,o=i!=null&&i.size?i.size*r.retina.pixelRatio:r.retina.bubbleModeSize;if(o===void 0)return;const s=Mt(e.options.size.value)*r.retina.pixelRatio,l=e.size.value,a=xd(l,o,s,n);a!==void 0&&(e.bubble.radius=a)}process(e,n,i,r){const o=this.container,s=r.bubbleObj.optValue,l=o.actualOptions,a=l.interactivity.modes.bubble;if(!a||s===void 0)return;const u=a.duration,c=o.retina.bubbleModeDistance,d=r.particlesObj.optValue,f=r.bubbleObj.value,m=r.particlesObj.value||0,h=r.type;if(!(!c||c<0||s===d))if(o.bubble||(o.bubble={}),o.bubble.durationEnd)f&&(h==="size"&&delete e.bubble.radius,h==="opacity"&&delete e.bubble.opacity);else if(n<=c){if((f??m)!==s){const b=m-i*(m-s)/u;h==="size"&&(e.bubble.radius=b),h==="opacity"&&(e.bubble.opacity=b)}}else h==="size"&&delete e.bubble.radius,h==="opacity"&&delete e.bubble.opacity}singleSelectorHover(e,n,i){const r=this.container,o=document.querySelectorAll(n),s=r.actualOptions.interactivity.modes.bubble;!s||!o.length||o.forEach(l=>{const a=l,u=r.retina.pixelRatio,c={x:(a.offsetLeft+a.offsetWidth/2)*u,y:(a.offsetTop+a.offsetHeight/2)*u},d=a.offsetWidth/2*u,f=i.type==="circle"?new He(c.x,c.y,d):new Le(a.offsetLeft*u,a.offsetTop*u,a.offsetWidth*u,a.offsetHeight*u),m=r.particles.quadTree.query(f,h=>this.isEnabled(h));for(const h of m){if(!f.contains(h.getPosition()))continue;h.bubble.inRange=!0;const y=s.divs,b=yp(y,a);(!h.bubble.div||h.bubble.div!==a)&&(this.clear(h,e,!0),h.bubble.div=a),this.hoverBubbleSize(h,1,b),this.hoverBubbleOpacity(h,1,b),this.hoverBubbleColor(h,1,b)}})}}async function hw(t){await t.addInteractor("externalBubble",e=>new fw(e))}class pw{constructor(){this.opacity=.5}load(e){e&&e.opacity!==void 0&&(this.opacity=e.opacity)}}class mw{constructor(){this.distance=80,this.links=new pw,this.radius=60}get lineLinked(){return this.links}set lineLinked(e){this.links=e}get line_linked(){return this.links}set line_linked(e){this.links=e}load(e){var n,i;e&&(e.distance!==void 0&&(this.distance=e.distance),this.links.load((i=(n=e.links)!==null&&n!==void 0?n:e.lineLinked)!==null&&i!==void 0?i:e.line_linked),e.radius!==void 0&&(this.radius=e.radius))}}function vw(t,e,n,i){const r=Math.floor(n.getRadius()/e.getRadius()),o=e.getFillColor(),s=n.getFillColor();if(!o||!s)return;const l=e.getPosition(),a=n.getPosition(),u=Ru(o,s,e.getRadius(),n.getRadius()),c=t.createLinearGradient(l.x,l.y,a.x,a.y);return c.addColorStop(0,Ei(o,i)),c.addColorStop(r>1?1:r,Rt(u,i)),c.addColorStop(1,Ei(s,i)),c}function yw(t,e,n,i,r){fr(t,i,r),t.lineWidth=e,t.strokeStyle=n,t.stroke()}function gw(t,e,n,i){const r=t.actualOptions,o=r.interactivity.modes.connect;if(o)return vw(e,n,i,o.links.opacity)}function ww(t,e,n){t.canvas.draw(i=>{var r;const o=gw(t,i,e,n);if(!o)return;const s=e.getPosition(),l=n.getPosition();yw(i,(r=e.retina.linksWidth)!==null&&r!==void 0?r:0,o,s,l)})}class xw extends kt{constructor(e){super(e)}clear(){}init(){const e=this.container,n=e.actualOptions.interactivity.modes.connect;n&&(e.retina.connectModeDistance=n.distance*e.retina.pixelRatio,e.retina.connectModeRadius=n.radius*e.retina.pixelRatio)}async interact(){const e=this.container;if(e.actualOptions.interactivity.events.onHover.enable&&e.interactivity.status==="pointermove"){const i=e.interactivity.mouse.position;if(!e.retina.connectModeDistance||e.retina.connectModeDistance<0||!e.retina.connectModeRadius||e.retina.connectModeRadius<0||!i)return;const r=Math.abs(e.retina.connectModeRadius),o=e.particles.quadTree.queryCircle(i,r,l=>this.isEnabled(l));let s=0;for(const l of o){const a=l.getPosition();for(const u of o.slice(s+1)){const c=u.getPosition(),d=Math.abs(e.retina.connectModeDistance),f=Math.abs(a.x-c.x),m=Math.abs(a.y-c.y);fnew xw(e))}class kw{constructor(){this.blink=!1,this.consent=!1,this.opacity=1}load(e){e&&(e.blink!==void 0&&(this.blink=e.blink),e.color!==void 0&&(this.color=ae.create(this.color,e.color)),e.consent!==void 0&&(this.consent=e.consent),e.opacity!==void 0&&(this.opacity=e.opacity))}}class _w{constructor(){this.distance=100,this.links=new kw}get lineLinked(){return this.links}set lineLinked(e){this.links=e}get line_linked(){return this.links}set line_linked(e){this.links=e}load(e){var n,i;e&&(e.distance!==void 0&&(this.distance=e.distance),this.links.load((i=(n=e.links)!==null&&n!==void 0?n:e.lineLinked)!==null&&i!==void 0?i:e.line_linked))}}function Sw(t,e,n,i,r,o){fr(t,n,i),t.strokeStyle=Rt(r,o),t.lineWidth=e,t.stroke()}function Cw(t,e,n,i,r){t.canvas.draw(o=>{var s;const l=e.getPosition();Sw(o,(s=e.retina.linksWidth)!==null&&s!==void 0?s:0,l,r,n,i)})}class Pw extends kt{constructor(e){super(e)}clear(){}init(){const e=this.container,n=e.actualOptions.interactivity.modes.grab;n&&(e.retina.grabModeDistance=n.distance*e.retina.pixelRatio)}async interact(){var e,n;const i=this.container,r=i.actualOptions,o=r.interactivity;if(!o.modes.grab||!o.events.onHover.enable||i.interactivity.status!==Hn)return;const s=i.interactivity.mouse.position;if(!s)return;const l=i.retina.grabModeDistance;if(!l||l<0)return;const a=i.particles.quadTree.queryCircle(s,l,u=>this.isEnabled(u));for(const u of a){const c=u.getPosition(),d=ye(c,s);if(d>l)continue;const f=o.modes.grab.links,m=f.opacity,h=m-d*m/l;if(h<=0)continue;const y=(e=f.color)!==null&&e!==void 0?e:(n=u.options.links)===null||n===void 0?void 0:n.color;if(!i.particles.grabLineColor&&y){const v=o.modes.grab.links;i.particles.grabLineColor=Sp(y,v.blink,v.consent)}const b=Ma(u,void 0,i.particles.grabLineColor);if(!b)return;Cw(i,u,b,h,s)}}isEnabled(e){var n;const i=this.container,r=i.interactivity.mouse,o=((n=e==null?void 0:e.interactivity)!==null&&n!==void 0?n:i.actualOptions.interactivity).events;return o.onHover.enable&&!!r.position&&G("grab",o.onHover.mode)}loadModeOptions(e,...n){e.grab||(e.grab=new _w);for(const i of n)e.grab.load(i==null?void 0:i.grab)}reset(){}}async function Ew(t){await t.addInteractor("externalGrab",e=>new Pw(e))}class Ow extends kt{constructor(e){super(e),this.handleClickMode=n=>{if(n!=="pause")return;const i=this.container;i.getAnimationStatus()?i.pause():i.play()}}clear(){}init(){}async interact(){}isEnabled(){return!0}reset(){}}function zw(t){t.addInteractor("externalPause",e=>new Ow(e))}class Mw{constructor(){this.default=!0,this.groups=[],this.quantity=4}get particles_nb(){return this.quantity}set particles_nb(e){this.quantity=e}load(e){var n;if(!e)return;e.default!==void 0&&(this.default=e.default),e.groups!==void 0&&(this.groups=e.groups.map(r=>r)),this.groups.length||(this.default=!0);const i=(n=e.quantity)!==null&&n!==void 0?n:e.particles_nb;i!==void 0&&(this.quantity=i)}}class Aw extends kt{constructor(e){super(e),this.handleClickMode=n=>{if(n!=="push")return;const i=this.container,r=i.actualOptions,o=r.interactivity.modes.push;if(!o)return;const s=o.quantity;if(s<=0)return;const l=Hr([void 0,...o.groups]),a=l!==void 0?i.actualOptions.particles.groups[l]:void 0;i.particles.push(s,i.interactivity.mouse,a,l)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(e,...n){e.push||(e.push=new Mw);for(const i of n)e.push.load(i==null?void 0:i.push)}reset(){}}async function Tw(t){await t.addInteractor("externalPush",e=>new Aw(e))}class Rw{constructor(){this.quantity=2}get particles_nb(){return this.quantity}set particles_nb(e){this.quantity=e}load(e){var n;if(!e)return;const i=(n=e.quantity)!==null&&n!==void 0?n:e.particles_nb;i!==void 0&&(this.quantity=i)}}class Iw extends kt{constructor(e){super(e),this.handleClickMode=n=>{const i=this.container,r=i.actualOptions;if(!r.interactivity.modes.remove||n!=="remove")return;const o=r.interactivity.modes.remove.quantity;i.particles.removeQuantity(o)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(e,...n){e.remove||(e.remove=new Rw);for(const i of n)e.remove.load(i==null?void 0:i.remove)}reset(){}}function Dw(t){t.addInteractor("externalRemove",e=>new Iw(e))}class Ip{constructor(){this.distance=200,this.duration=.4,this.factor=100,this.speed=1,this.maxSpeed=50,this.easing="ease-out-quad"}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.speed!==void 0&&(this.speed=e.speed),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed))}}class jw extends Ip{constructor(){super(),this.selectors=[]}get ids(){return K(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=K(e,n=>`#${n}`)}load(e){super.load(e),e&&(e.ids!==void 0&&(this.ids=e.ids),e.selectors!==void 0&&(this.selectors=e.selectors))}}class Lw extends Ip{load(e){super.load(e),e&&(this.divs=K(e.divs,n=>{const i=new jw;return i.load(n),i}))}}class Nw extends kt{constructor(e,n){super(n),this._engine=e,n.repulse||(n.repulse={particles:[]}),this.handleClickMode=i=>{const r=this.container.actualOptions,o=r.interactivity.modes.repulse;if(!(!o||i!=="repulse")){n.repulse||(n.repulse={particles:[]}),n.repulse.clicking=!0,n.repulse.count=0;for(const s of n.repulse.particles)this.isEnabled(s)&&s.velocity.setTo(s.initialVelocity);n.repulse.particles=[],n.repulse.finish=!1,setTimeout(()=>{n.destroyed||(n.repulse||(n.repulse={particles:[]}),n.repulse.clicking=!1)},o.duration*1e3)}}}clear(){}init(){const e=this.container,n=e.actualOptions.interactivity.modes.repulse;n&&(e.retina.repulseModeDistance=n.distance*e.retina.pixelRatio)}async interact(){const e=this.container,n=e.actualOptions,i=e.interactivity.status===Hn,r=n.interactivity.events,o=r.onHover.enable,s=r.onHover.mode,l=r.onClick.enable,a=r.onClick.mode,u=r.onDiv;i&&o&&G("repulse",s)?this.hoverRepulse():l&&G("repulse",a)?this.clickRepulse():Tu("repulse",u,(c,d)=>this.singleSelectorRepulse(c,d))}isEnabled(e){var n;const i=this.container,r=i.actualOptions,o=i.interactivity.mouse,s=((n=e==null?void 0:e.interactivity)!==null&&n!==void 0?n:r.interactivity).events,l=s.onDiv,a=Au("repulse",l);if(!(a||s.onHover.enable&&o.position||s.onClick.enable&&o.clickPosition))return!1;const u=s.onHover.mode,c=s.onClick.mode;return G("repulse",u)||G("repulse",c)||a}loadModeOptions(e,...n){e.repulse||(e.repulse=new Lw);for(const i of n)e.repulse.load(i==null?void 0:i.repulse)}reset(){}clickRepulse(){const e=this.container,n=e.actualOptions.interactivity.modes.repulse;if(n){if(e.repulse||(e.repulse={particles:[]}),e.repulse.finish||(e.repulse.count||(e.repulse.count=0),e.repulse.count++,e.repulse.count===e.particles.count&&(e.repulse.finish=!0)),e.repulse.clicking){const i=e.retina.repulseModeDistance;if(!i||i<0)return;const r=Math.pow(i/6,3),o=e.interactivity.mouse.clickPosition;if(o===void 0)return;const s=new He(o.x,o.y,r),l=e.particles.quadTree.query(s,a=>this.isEnabled(a));for(const a of l){const{dx:u,dy:c,distance:d}=Re(o,a.position),f=d**2,m=n.speed,h=-r*m/f;if(f<=r){e.repulse.particles.push(a);const y=V.create(u,c);y.length=h,a.velocity.setTo(y)}}}else if(e.repulse.clicking===!1){for(const i of e.repulse.particles)i.velocity.setTo(i.initialVelocity);e.repulse.particles=[]}}}hoverRepulse(){const e=this.container,n=e.interactivity.mouse.position,i=e.retina.repulseModeDistance;!i||i<0||!n||this.processRepulse(n,i,new He(n.x,n.y,i))}processRepulse(e,n,i,r){var o;const s=this.container,l=s.particles.quadTree.query(i,u=>this.isEnabled(u)),a=s.actualOptions.interactivity.modes.repulse;if(a)for(const u of l){const{dx:c,dy:d,distance:f}=Re(u.position,e),m=((o=r==null?void 0:r.speed)!==null&&o!==void 0?o:a.speed)*a.factor,h=bt(dp(a.easing)(1-f/n)*m,0,a.maxSpeed),y=V.create(f===0?m:c/f*h,f===0?m:d/f*h);u.position.addTo(y)}}singleSelectorRepulse(e,n){const i=this.container,r=i.actualOptions.interactivity.modes.repulse;if(!r)return;const o=document.querySelectorAll(e);o.length&&o.forEach(s=>{const l=s,a=i.retina.pixelRatio,u={x:(l.offsetLeft+l.offsetWidth/2)*a,y:(l.offsetTop+l.offsetHeight/2)*a},c=l.offsetWidth/2*a,d=n.type==="circle"?new He(u.x,u.y,c):new Le(l.offsetLeft*a,l.offsetTop*a,l.offsetWidth*a,l.offsetHeight*a),f=r.divs,m=yp(f,l);this.processRepulse(u,c,d,m)})}}async function Fw(t){await t.addInteractor("externalRepulse",e=>new Nw(t,e))}class Bw{constructor(){this.factor=3,this.radius=200}load(e){e&&(e.factor!==void 0&&(this.factor=e.factor),e.radius!==void 0&&(this.radius=e.radius))}}class $w extends kt{constructor(e){super(e)}clear(e,n,i){e.slow.inRange&&!i||(e.slow.factor=1)}init(){const e=this.container,n=e.actualOptions.interactivity.modes.slow;n&&(e.retina.slowModeRadius=n.radius*e.retina.pixelRatio)}async interact(){}isEnabled(e){var n;const i=this.container,r=i.interactivity.mouse,o=((n=e==null?void 0:e.interactivity)!==null&&n!==void 0?n:i.actualOptions.interactivity).events;return o.onHover.enable&&!!r.position&&G("slow",o.onHover.mode)}loadModeOptions(e,...n){e.slow||(e.slow=new Bw);for(const i of n)e.slow.load(i==null?void 0:i.slow)}reset(e){e.slow.inRange=!1;const n=this.container,i=n.actualOptions,r=n.interactivity.mouse.position,o=n.retina.slowModeRadius,s=i.interactivity.modes.slow;if(!s||!o||o<0||!r)return;const l=e.getPosition(),a=ye(r,l),u=a/o,c=s.factor;a<=o&&(e.slow.inRange=!0,e.slow.factor=u/c)}}async function Uw(t){await t.addInteractor("externalSlow",e=>new $w(e))}const Hw=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;function Vw(t,e,n){const{svgData:i}=t;if(!i)return"";const r=Ei(e,n);if(i.includes("fill"))return i.replace(Hw,()=>r);const o=i.indexOf(">");return`${i.substring(0,o)} fill="${r}"${i.substring(o)}`}async function ju(t){return new Promise(e=>{t.loading=!0;const n=new Image;t.element=n,n.addEventListener("load",()=>{t.loading=!1,e()}),n.addEventListener("error",()=>{t.element=void 0,t.error=!0,t.loading=!1,console.error(`Error tsParticles - loading image: ${t.source}`),e()}),n.src=t.source})}async function Ww(t){if(t.type!=="svg"){await ju(t);return}t.loading=!0;const e=await fetch(t.source);e.ok||(console.error("Error tsParticles - Image not found"),t.error=!0),t.error||(t.svgData=await e.text()),t.loading=!1}function qw(t,e,n,i){var r,o,s;const l=Vw(t,n,(o=(r=i.opacity)===null||r===void 0?void 0:r.value)!==null&&o!==void 0?o:1),a={color:n,data:Object.assign(Object.assign({},t),{svgData:l}),loaded:!1,ratio:e.width/e.height,replaceColor:(s=e.replaceColor)!==null&&s!==void 0?s:e.replace_color,source:e.src};return new Promise(u=>{const c=new Blob([l],{type:"image/svg+xml"}),d=URL||window.URL||window.webkitURL||window,f=d.createObjectURL(c),m=new Image;m.addEventListener("load",()=>{a.loaded=!0,a.element=m,u(a),d.revokeObjectURL(f)}),m.addEventListener("error",async()=>{d.revokeObjectURL(f);const h=Object.assign(Object.assign({},t),{error:!1,loading:!0});await ju(h),a.loaded=!0,a.element=h.element,u(a)}),m.src=f})}class Qw{constructor(){this._images=[]}addImage(e,n){const i=this.getImages(e);i==null||i.images.push(n)}destroy(){this._images=[]}draw(e,n,i,r){var o;const s=n.image,l=s==null?void 0:s.element;if(!l)return;const a=(o=s==null?void 0:s.ratio)!==null&&o!==void 0?o:1,u={x:-i,y:-i};e.globalAlpha=r,e.drawImage(l,u.x,u.y,i*2,i*2/a),e.globalAlpha=1}getImages(e){const n=this._images.find(i=>i.id===e.id);return n||(this._images.push({id:e.id,images:[]}),this.getImages(e))}getSidesCount(){return 12}loadShape(e){if(e.shape!=="image"&&e.shape!=="images")return;const n=e.container,i=this.getImages(n).images,r=e.shapeData;i.find(s=>s.source===r.src)||this.loadImageShape(n,r).then(()=>{this.loadShape(e)})}particleInit(e,n){var i;if(n.shape!=="image"&&n.shape!=="images")return;const r=this.getImages(e).images,o=n.shapeData,s=n.getFillColor(),l=(i=o.replaceColor)!==null&&i!==void 0?i:o.replace_color,a=r.find(u=>u.source===o.src);if(a){if(a.loading){setTimeout(()=>{this.particleInit(e,n)});return}(async()=>{var u,c;let d;a.svgData&&s?d=await qw(a,o,s,n):d={color:s,data:a,element:a.element,loaded:!0,ratio:o.width/o.height,replaceColor:l,source:o.src},d.ratio||(d.ratio=1);const f=(u=o.fill)!==null&&u!==void 0?u:n.fill,m=(c=o.close)!==null&&c!==void 0?c:n.close,h={image:d,fill:f,close:m};n.image=h.image,n.fill=h.fill,n.close=h.close})()}}async loadImageShape(e,n){var i;const r=n.src;if(!r)throw new Error("Error tsParticles - No image.src");try{const o={source:r,type:r.substring(r.length-3),error:!1,loading:!0};this.addImage(e,o),await(((i=n.replaceColor)!==null&&i!==void 0?i:n.replace_color)?Ww:ju)(o)}catch{throw new Error(`tsParticles error - ${n.src} not found`)}}}async function Gw(t){await t.addShape(["image","images"],new Qw)}class Kw extends ft{constructor(){super(),this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class Yw extends ft{constructor(){super(),this.random.minimumValue=1e-4,this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class Xw{constructor(){this.count=0,this.delay=new Kw,this.duration=new Yw}load(e){e&&(e.count!==void 0&&(this.count=e.count),this.delay.load(e.delay),this.duration.load(e.duration))}}class Jw{constructor(e){this.container=e}init(e){const n=this.container,i=e.options,r=i.life;r&&(e.life={delay:n.retina.reduceFactor?P(r.delay.value)*(r.delay.sync?1:I())/n.retina.reduceFactor*1e3:0,delayTime:0,duration:n.retina.reduceFactor?P(r.duration.value)*(r.duration.sync?1:I())/n.retina.reduceFactor*1e3:0,time:0,count:r.count},e.life.duration<=0&&(e.life.duration=-1),e.life.count<=0&&(e.life.count=-1),e.life&&(e.spawning=e.life.delay>0))}isEnabled(e){return!e.destroyed}loadOptions(e,...n){e.life||(e.life=new Xw);for(const i of n)e.life.load(i==null?void 0:i.life)}update(e,n){if(!this.isEnabled(e)||!e.life)return;const i=e.life;let r=!1;if(e.spawning)if(i.delayTime+=n.value,i.delayTime>=e.life.delay)r=!0,e.spawning=!1,i.delayTime=0,i.time=0;else return;if(i.duration===-1||e.spawning||(r?i.time=0:i.time+=n.value,i.time0&&e.life.count--,e.life.count===0){e.destroy();return}const o=this.container.canvas.size,s=R(0,o.width),l=R(0,o.width);e.position.x=ve(s),e.position.y=ve(l),e.spawning=!0,i.delayTime=0,i.time=0,e.reset();const a=e.options.life;a&&(i.delay=P(a.delay.value)*1e3,i.duration=P(a.duration.value)*1e3)}}async function Zw(t){await t.addParticleUpdater("life",e=>new Jw(e))}class ex{draw(e,n,i){e.moveTo(-i/2,0),e.lineTo(i/2,0)}getSidesCount(){return 1}}async function tx(t){await t.addShape("line",new ex)}function nx(t,e,n,i){switch(t.options.opacity.animation.destroy){case"max":e>=i&&t.destroy();break;case"min":e<=n&&t.destroy();break}}function ix(t,e){var n,i,r,o,s,l;if(!t.opacity)return;const a=t.opacity.min,u=t.opacity.max,c=(n=t.opacity.decay)!==null&&n!==void 0?n:1;if(!(t.destroyed||!t.opacity.enable||((i=t.opacity.maxLoops)!==null&&i!==void 0?i:0)>0&&((r=t.opacity.loops)!==null&&r!==void 0?r:0)>((o=t.opacity.maxLoops)!==null&&o!==void 0?o:0))){switch(t.opacity.status){case"increasing":t.opacity.value>=u?(t.opacity.status="decreasing",t.opacity.loops||(t.opacity.loops=0),t.opacity.loops++):t.opacity.value+=((s=t.opacity.velocity)!==null&&s!==void 0?s:0)*e.factor;break;case"decreasing":t.opacity.value<=a?(t.opacity.status="increasing",t.opacity.loops||(t.opacity.loops=0),t.opacity.loops++):t.opacity.value-=((l=t.opacity.velocity)!==null&&l!==void 0?l:0)*e.factor;break}t.opacity.velocity&&t.opacity.decay!==1&&(t.opacity.velocity*=c),nx(t,t.opacity.value,a,u),t.destroyed||(t.opacity.value=bt(t.opacity.value,a,u))}}class rx{constructor(e){this.container=e}init(e){const n=e.options.opacity;e.opacity={enable:n.animation.enable,max:Mt(n.value),min:Tr(n.value),value:P(n.value),loops:0,maxLoops:P(n.animation.count)};const i=n.animation;if(i.enable){e.opacity.decay=1-P(i.decay),e.opacity.status="increasing";const r=n.value;switch(e.opacity.min=Tr(r),e.opacity.max=Mt(r),i.startValue){case"min":e.opacity.value=e.opacity.min,e.opacity.status="increasing";break;case"random":e.opacity.value=ve(e.opacity),e.opacity.status=I()>=.5?"increasing":"decreasing";break;case"max":default:e.opacity.value=e.opacity.max,e.opacity.status="decreasing";break}e.opacity.velocity=P(i.speed)/100*this.container.retina.reduceFactor,i.sync||(e.opacity.velocity*=I())}e.opacity.initialValue=e.opacity.value}isEnabled(e){var n,i,r,o;return!e.destroyed&&!e.spawning&&!!e.opacity&&e.opacity.enable&&(((n=e.opacity.maxLoops)!==null&&n!==void 0?n:0)<=0||((i=e.opacity.maxLoops)!==null&&i!==void 0?i:0)>0&&((r=e.opacity.loops)!==null&&r!==void 0?r:0)<((o=e.opacity.maxLoops)!==null&&o!==void 0?o:0))}reset(e){e.opacity&&(e.opacity.loops=0)}update(e,n){this.isEnabled(e)&&ix(e,n)}}async function ox(t){await t.addParticleUpdater("opacity",e=>new rx(e))}function sx(t){if(t.outMode!=="bounce"&&t.outMode!=="bounce-horizontal"&&t.outMode!=="bounceHorizontal"&&t.outMode!=="split")return;t.bounds.right<0?t.particle.position.x=t.size+t.offset.x:t.bounds.left>t.canvasSize.width&&(t.particle.position.x=t.canvasSize.width-t.size-t.offset.x);const e=t.particle.velocity.x;let n=!1;if(t.direction==="right"&&t.bounds.right>=t.canvasSize.width&&e>0||t.direction==="left"&&t.bounds.left<=0&&e<0){const r=Qt(t.particle.options.bounce.horizontal);t.particle.velocity.x*=-r,n=!0}if(!n)return;const i=t.offset.x+t.size;t.bounds.right>=t.canvasSize.width?t.particle.position.x=t.canvasSize.width-i:t.bounds.left<=0&&(t.particle.position.x=i),t.outMode==="split"&&t.particle.destroy()}function lx(t){if(t.outMode!=="bounce"&&t.outMode!=="bounce-vertical"&&t.outMode!=="bounceVertical"&&t.outMode!=="split")return;t.bounds.bottom<0?t.particle.position.y=t.size+t.offset.y:t.bounds.top>t.canvasSize.height&&(t.particle.position.y=t.canvasSize.height-t.size-t.offset.y);const e=t.particle.velocity.y;let n=!1;if(t.direction==="bottom"&&t.bounds.bottom>=t.canvasSize.height&&e>0||t.direction==="top"&&t.bounds.top<=0&&e<0){const r=Qt(t.particle.options.bounce.vertical);t.particle.velocity.y*=-r,n=!0}if(!n)return;const i=t.offset.y+t.size;t.bounds.bottom>=t.canvasSize.height?t.particle.position.y=t.canvasSize.height-i:t.bounds.top<=0&&(t.particle.position.y=i),t.outMode==="split"&&t.particle.destroy()}class ax{constructor(e){this.container=e,this.modes=["bounce","bounce-vertical","bounce-horizontal","bounceVertical","bounceHorizontal","split"]}update(e,n,i,r){if(!this.modes.includes(r))return;const o=this.container;let s=!1;for(const[,f]of o.plugins)if(f.particleBounce!==void 0&&(s=f.particleBounce(e,i,n)),s)break;if(s)return;const l=e.getPosition(),a=e.offset,u=e.getRadius(),c=Wr(l,u),d=o.canvas.size;sx({particle:e,outMode:r,direction:n,bounds:c,canvasSize:d,offset:a,size:u}),lx({particle:e,outMode:r,direction:n,bounds:c,canvasSize:d,offset:a,size:u})}}class ux{constructor(e){this.container=e,this.modes=["destroy"]}update(e,n,i,r){if(!this.modes.includes(r))return;const o=this.container;switch(e.outType){case"normal":case"outside":if(Vr(e.position,o.canvas.size,V.origin,e.getRadius(),n))return;break;case"inside":{const{dx:s,dy:l}=Re(e.position,e.moveCenter),{x:a,y:u}=e.velocity;if(a<0&&s>e.moveCenter.radius||u<0&&l>e.moveCenter.radius||a>=0&&s<-e.moveCenter.radius||u>=0&&l<-e.moveCenter.radius)return;break}}o.particles.remove(e,void 0,!0)}}class cx{constructor(e){this.container=e,this.modes=["none"]}update(e,n,i,r){if(!this.modes.includes(r)||e.options.move.distance.horizontal&&(n==="left"||n==="right")||e.options.move.distance.vertical&&(n==="top"||n==="bottom"))return;const o=e.options.move.gravity,s=this.container,l=s.canvas.size,a=e.getRadius();if(o.enable){const u=e.position;(!o.inverse&&u.y>l.height+a&&n==="bottom"||o.inverse&&u.y<-a&&n==="top")&&s.particles.remove(e)}else{if(e.velocity.y>0&&e.position.y<=l.height+a||e.velocity.y<0&&e.position.y>=-a||e.velocity.x>0&&e.position.x<=l.width+a||e.velocity.x<0&&e.position.x>=-a)return;Vr(e.position,s.canvas.size,V.origin,a,n)||s.particles.remove(e)}}}class dx{constructor(e){this.container=e,this.modes=["out"]}update(e,n,i,r){if(!this.modes.includes(r))return;const o=this.container;switch(e.outType){case"inside":{const{x:s,y:l}=e.velocity,a=V.origin;a.length=e.moveCenter.radius,a.angle=e.velocity.angle+Math.PI,a.addTo(V.create(e.moveCenter));const{dx:u,dy:c}=Re(e.position,a);if(s<=0&&u>=0||l<=0&&c>=0||s>=0&&u<=0||l>=0&&c<=0)return;e.position.x=Math.floor(ve({min:0,max:o.canvas.size.width})),e.position.y=Math.floor(ve({min:0,max:o.canvas.size.height}));const{dx:d,dy:f}=Re(e.position,e.moveCenter);e.direction=Math.atan2(-f,-d),e.velocity.angle=e.direction;break}default:{if(Vr(e.position,o.canvas.size,V.origin,e.getRadius(),n))return;switch(e.outType){case"outside":{e.position.x=Math.floor(ve({min:-e.moveCenter.radius,max:e.moveCenter.radius}))+e.moveCenter.x,e.position.y=Math.floor(ve({min:-e.moveCenter.radius,max:e.moveCenter.radius}))+e.moveCenter.y;const{dx:s,dy:l}=Re(e.position,e.moveCenter);e.moveCenter.radius&&(e.direction=Math.atan2(l,s),e.velocity.angle=e.direction);break}case"normal":{const s=e.options.move.warp,l=o.canvas.size,a={bottom:l.height+e.getRadius()+e.offset.y,left:-e.getRadius()-e.offset.x,right:l.width+e.getRadius()+e.offset.x,top:-e.getRadius()-e.offset.y},u=e.getRadius(),c=Wr(e.position,u);n==="right"&&c.left>l.width+e.offset.x?(e.position.x=a.left,e.initialPosition.x=e.position.x,s||(e.position.y=I()*l.height,e.initialPosition.y=e.position.y)):n==="left"&&c.right<-e.offset.x&&(e.position.x=a.right,e.initialPosition.x=e.position.x,s||(e.position.y=I()*l.height,e.initialPosition.y=e.position.y)),n==="bottom"&&c.top>l.height+e.offset.y?(s||(e.position.x=I()*l.width,e.initialPosition.x=e.position.x),e.position.y=a.top,e.initialPosition.y=e.position.y):n==="top"&&c.bottom<-e.offset.y&&(s||(e.position.x=I()*l.width,e.initialPosition.x=e.position.x),e.position.y=a.bottom,e.initialPosition.y=e.position.y);break}}break}}}}class fx{constructor(e){this.container=e,this.updaters=[new ax(e),new ux(e),new dx(e),new cx(e)]}init(){}isEnabled(e){return!e.destroyed&&!e.spawning}update(e,n){var i,r,o,s;const l=e.options.move.outModes;this.updateOutMode(e,n,(i=l.bottom)!==null&&i!==void 0?i:l.default,"bottom"),this.updateOutMode(e,n,(r=l.left)!==null&&r!==void 0?r:l.default,"left"),this.updateOutMode(e,n,(o=l.right)!==null&&o!==void 0?o:l.default,"right"),this.updateOutMode(e,n,(s=l.top)!==null&&s!==void 0?s:l.default,"top")}updateOutMode(e,n,i,r){for(const o of this.updaters)o.update(e,r,n,i)}}async function hx(t){await t.addParticleUpdater("outModes",e=>new fx(e))}class px{init(){}isEnabled(e){return!Un()&&!e.destroyed&&e.container.actualOptions.interactivity.events.onHover.parallax.enable}move(e){const n=e.container,i=n.actualOptions;if(Un()||!i.interactivity.events.onHover.parallax.enable)return;const r=i.interactivity.events.onHover.parallax.force,o=n.interactivity.mouse.position;if(!o)return;const s={x:n.canvas.size.width/2,y:n.canvas.size.height/2},l=i.interactivity.events.onHover.parallax.smooth,a=e.getRadius()/r,u={x:(o.x-s.x)*a,y:(o.y-s.y)*a};e.offset.x+=(u.x-e.offset.x)/l,e.offset.y+=(u.y-e.offset.y)/l}}async function mx(t){t.addMover("parallax",()=>new px)}class vx extends Du{constructor(e){super(e)}clear(){}init(){}async interact(e){var n;const i=this.container,r=(n=e.retina.attractDistance)!==null&&n!==void 0?n:i.retina.attractDistance,o=e.getPosition(),s=i.particles.quadTree.queryCircle(o,r);for(const l of s){if(e===l||!l.options.move.attract.enable||l.destroyed||l.spawning)continue;const a=l.getPosition(),{dx:u,dy:c}=Re(o,a),d=e.options.move.attract.rotate,f=u/(d.x*1e3),m=c/(d.y*1e3),h=l.size.value/e.size.value,y=1/h;e.velocity.x-=f*h,e.velocity.y-=m*h,l.velocity.x+=f*y,l.velocity.y+=m*y}}isEnabled(e){return e.options.move.attract.enable}reset(){}}async function yx(t){await t.addInteractor("particlesAttract",e=>new vx(e))}function bd(t,e,n,i,r,o){const s=bt(t.options.collisions.absorb.speed*r.factor/10,0,i);t.size.value+=s/2,n.size.value-=s,i<=o&&(n.size.value=0,n.destroy())}function gx(t,e,n,i){const r=t.getRadius(),o=e.getRadius();r===void 0&&o!==void 0?t.destroy():r!==void 0&&o===void 0?e.destroy():r!==void 0&&o!==void 0&&(r>=o?bd(t,r,e,o,n,i):bd(e,o,t,r,n,i))}function Dp(t,e){gp(za(t),za(e))}function wx(t,e){!t.unbreakable&&!e.unbreakable&&Dp(t,e),t.getRadius()===void 0&&e.getRadius()!==void 0?t.destroy():t.getRadius()!==void 0&&e.getRadius()===void 0?e.destroy():t.getRadius()!==void 0&&e.getRadius()!==void 0&&(t.getRadius()>=e.getRadius()?t:e).destroy()}function xx(t,e,n,i){switch(t.options.collisions.mode){case"absorb":{gx(t,e,n,i);break}case"bounce":{Dp(t,e);break}case"destroy":{wx(t,e);break}}}class bx extends Du{constructor(e){super(e)}clear(){}init(){}async interact(e,n){const i=this.container,r=e.getPosition(),o=e.getRadius(),s=i.particles.quadTree.queryCircle(r,o*2);for(const l of s){if(e===l||!l.options.collisions.enable||e.options.collisions.mode!==l.options.collisions.mode||l.destroyed||l.spawning)continue;const a=l.getPosition(),u=l.getRadius();if(Math.abs(Math.round(r.z)-Math.round(a.z))>o+u)continue;const c=ye(r,a),d=o+u;c>d||xx(e,l,n,i.retina.pixelRatio)}}isEnabled(e){return e.options.collisions.enable}reset(){}}async function kx(t){await t.addInteractor("particlesCollisions",e=>new bx(e))}class _x extends He{constructor(e,n,i,r){super(e,n,i),this.canvasSize=r,this.canvasSize=Object.assign({},r)}contains(e){if(super.contains(e))return!0;const n={x:e.x-this.canvasSize.width,y:e.y};if(super.contains(n))return!0;const i={x:e.x-this.canvasSize.width,y:e.y-this.canvasSize.height};if(super.contains(i))return!0;const r={x:e.x,y:e.y-this.canvasSize.height};return super.contains(r)}intersects(e){if(super.intersects(e))return!0;const n=e,i=e,r={x:e.position.x-this.canvasSize.width,y:e.position.y-this.canvasSize.height};if(i.radius!==void 0){const o=new He(r.x,r.y,i.radius*2);return super.intersects(o)}else if(n.size!==void 0){const o=new Le(r.x,r.y,n.size.width*2,n.size.height*2);return super.intersects(o)}return!1}}class Sx{constructor(){this.blur=5,this.color=new ae,this.color.value="#000",this.enable=!1}load(e){e&&(e.blur!==void 0&&(this.blur=e.blur),this.color=ae.create(this.color,e.color),e.enable!==void 0&&(this.enable=e.enable))}}class Cx{constructor(){this.enable=!1,this.frequency=1}load(e){e&&(e.color!==void 0&&(this.color=ae.create(this.color,e.color)),e.enable!==void 0&&(this.enable=e.enable),e.frequency!==void 0&&(this.frequency=e.frequency),e.opacity!==void 0&&(this.opacity=e.opacity))}}class Px{constructor(){this.blink=!1,this.color=new ae,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new Sx,this.triangles=new Cx,this.width=1,this.warp=!1}load(e){e&&(e.id!==void 0&&(this.id=e.id),e.blink!==void 0&&(this.blink=e.blink),this.color=ae.create(this.color,e.color),e.consent!==void 0&&(this.consent=e.consent),e.distance!==void 0&&(this.distance=e.distance),e.enable!==void 0&&(this.enable=e.enable),e.frequency!==void 0&&(this.frequency=e.frequency),e.opacity!==void 0&&(this.opacity=e.opacity),this.shadow.load(e.shadow),this.triangles.load(e.triangles),e.width!==void 0&&(this.width=e.width),e.warp!==void 0&&(this.warp=e.warp))}}function Ex(t,e,n,i,r){let o=ye(t,e);if(!r||o<=n)return o;const s={x:e.x-i.width,y:e.y};if(o=ye(t,s),o<=n)return o;const l={x:e.x-i.width,y:e.y-i.height};if(o=ye(t,l),o<=n)return o;const a={x:e.x,y:e.y-i.height};return o=ye(t,a),o}class Ox extends Du{constructor(e){super(e),this.linkContainer=e}clear(){}init(){this.linkContainer.particles.linksColor=void 0,this.linkContainer.particles.linksColors=new Map}async interact(e){var n;if(!e.options.links)return;e.links=[];const i=e.getPosition(),r=this.container,o=r.canvas.size;if(i.x<0||i.y<0||i.x>o.width||i.y>o.height)return;const s=e.options.links,l=s.opacity,a=(n=e.retina.linksDistance)!==null&&n!==void 0?n:0,u=s.warp,c=u?new _x(i.x,i.y,a,o):new He(i.x,i.y,a),d=r.particles.quadTree.query(c);for(const f of d){const m=f.options.links;if(e===f||!(m!=null&&m.enable)||s.id!==m.id||f.spawning||f.destroyed||!f.links||e.links.map(v=>v.destination).indexOf(f)!==-1||f.links.map(v=>v.destination).indexOf(e)!==-1)continue;const h=f.getPosition();if(h.x<0||h.y<0||h.x>o.width||h.y>o.height)continue;const y=Ex(i,h,a,o,u&&m.warp);if(y>a)return;const b=(1-y/a)*l;this.setColor(e),e.links.push({destination:f,opacity:b})}}isEnabled(e){var n;return!!(!((n=e.options.links)===null||n===void 0)&&n.enable)}loadParticlesOptions(e,...n){var i,r;e.links||(e.links=new Px);for(const o of n)e.links.load((r=(i=o==null?void 0:o.links)!==null&&i!==void 0?i:o==null?void 0:o.lineLinked)!==null&&r!==void 0?r:o==null?void 0:o.line_linked)}reset(){}setColor(e){if(!e.options.links)return;const n=this.linkContainer,i=e.options.links;let r=i.id===void 0?n.particles.linksColor:n.particles.linksColors.get(i.id);if(r)return;const o=i.color;r=Sp(o,i.blink,i.consent),i.id===void 0?n.particles.linksColor=r:n.particles.linksColors.set(i.id,r)}}async function zx(t){await t.addInteractor("particlesLinks",e=>new Ox(e))}function Mx(t,e,n,i,r,o,s,l,a,u,c,d){let f=!1;if(ye(n,i)<=r)fr(t,n,i),f=!0;else if(s){let m,h;const y={x:i.x-o.width,y:i.y},b=Re(n,y);if(b.distance<=r){const v=n.y-b.dy/b.dx*n.x;m={x:0,y:v},h={x:o.width,y:v}}else{const v={x:i.x,y:i.y-o.height},p=Re(n,v);if(p.distance<=r){const x=-(n.y-p.dy/p.dx*n.x)/(p.dy/p.dx);m={x,y:0},h={x,y:o.height}}else{const g={x:i.x-o.width,y:i.y-o.height},x=Re(n,g);if(x.distance<=r){const k=n.y-x.dy/x.dx*n.x;m={x:-k/(x.dy/x.dx),y:k},h={x:m.x+o.width,y:m.y+o.height}}}}m&&h&&(fr(t,n,m),fr(t,i,h),f=!0)}if(f){if(t.lineWidth=e,l&&(t.globalCompositeOperation=a),t.strokeStyle=Rt(u,c),d.enable){const m=ut(d.color);m&&(t.shadowBlur=d.blur,t.shadowColor=Rt(m))}t.stroke()}}function Ax(t,e,n,i,r,o,s,l){$y(t,e,n,i),r&&(t.globalCompositeOperation=o),t.fillStyle=Rt(s,l),t.fill()}function Tx(t){return t.sort((e,n)=>e-n),t.join("_")}function kd(t,e){const n=Tx(t.map(r=>r.id));let i=e.get(n);return i===void 0&&(i=I(),e.set(n,i)),i}class Rx{constructor(e){this.container=e,this._freqs={links:new Map,triangles:new Map}}drawParticle(e,n){var i;const r=n.options;if(!n.links||n.links.length<=0)return;const o=n.links.filter(s=>r.links&&this.getLinkFrequency(n,s.destination)<=r.links.frequency);for(const s of o)this.drawTriangles(r,n,s,o),s.opacity>0&&((i=n.retina.linksWidth)!==null&&i!==void 0?i:0)>0&&this.drawLinkLine(n,s)}async init(){this._freqs.links=new Map,this._freqs.triangles=new Map}particleCreated(e){if(e.links=[],!e.options.links)return;const n=this.container.retina.pixelRatio;e.retina.linksDistance=e.options.links.distance*n,e.retina.linksWidth=e.options.links.width*n}particleDestroyed(e){e.links=[]}drawLinkLine(e,n){const i=this.container,r=i.actualOptions,o=n.destination,s=e.getPosition(),l=o.getPosition();let a=n.opacity;i.canvas.draw(u=>{var c,d,f;if(!e.options.links)return;let m;const h=(c=e.options.twinkle)===null||c===void 0?void 0:c.lines;if(h!=null&&h.enable){const v=h.frequency,p=ut(h.color);I(){var f;const m=e.getPosition(),h=l.getPosition(),y=a.getPosition(),b=(f=e.retina.linksDistance)!==null&&f!==void 0?f:0;if(ye(m,h)>b||ye(y,h)>b||ye(y,m)>b)return;let v=ut(u.color);if(!v){const p=e.options.links,g=(p==null?void 0:p.id)!==void 0?o.particles.linksColors.get(p.id):o.particles.linksColor;v=Ma(e,l,g)}v&&Ax(d,m,h,y,s.backgroundMask.enable,s.backgroundMask.composite,v,c)})}drawTriangles(e,n,i,r){var o,s,l;const a=i.destination;if(!(!((o=e.links)===null||o===void 0)&&o.triangles.enable&&(!((s=a.options.links)===null||s===void 0)&&s.triangles.enable)))return;const u=(l=a.links)===null||l===void 0?void 0:l.filter(c=>{const d=this.getLinkFrequency(a,c.destination);return a.options.links&&d<=a.options.links.frequency&&r.findIndex(f=>f.destination===c.destination)>=0});if(u!=null&&u.length)for(const c of u){const d=c.destination;this.getTriangleFrequency(n,a,d)>e.links.triangles.frequency||this.drawLinkTriangle(n,i,c)}}getLinkFrequency(e,n){return kd([e,n],this._freqs.links)}getTriangleFrequency(e,n,i){return kd([e,n,i],this._freqs.triangles)}}class Ix{constructor(){this.id="links"}getPlugin(e){return new Rx(e)}loadOptions(){}needsPlugin(){return!0}}async function Dx(t){const e=new Ix;await t.addPlugin(e)}async function jx(t){await zx(t),await Dx(t)}class jp{draw(e,n,i){const r=this.getCenter(n,i),o=this.getSidesData(n,i),s=o.count.numerator*o.count.denominator,l=o.count.numerator/o.count.denominator,a=180*(l-2)/l,u=Math.PI-Math.PI*a/180;if(e){e.beginPath(),e.translate(r.x,r.y),e.moveTo(0,0);for(let c=0;c=i&&t.destroy();break;case"min":e<=n&&t.destroy();break}}function Hx(t,e){var n,i,r,o,s;const l=((n=t.size.velocity)!==null&&n!==void 0?n:0)*e.factor,a=t.size.min,u=t.size.max,c=(i=t.size.decay)!==null&&i!==void 0?i:1;if(!(t.destroyed||!t.size.enable||((r=t.size.maxLoops)!==null&&r!==void 0?r:0)>0&&((o=t.size.loops)!==null&&o!==void 0?o:0)>((s=t.size.maxLoops)!==null&&s!==void 0?s:0))){switch(t.size.status){case"increasing":t.size.value>=u?(t.size.status="decreasing",t.size.loops||(t.size.loops=0),t.size.loops++):t.size.value+=l;break;case"decreasing":t.size.value<=a?(t.size.status="increasing",t.size.loops||(t.size.loops=0),t.size.loops++):t.size.value-=l}t.size.velocity&&c!==1&&(t.size.velocity*=c),Ux(t,t.size.value,a,u),t.destroyed||(t.size.value=bt(t.size.value,a,u))}}class Vx{init(e){var n;const i=e.container,r=e.options.size,o=r.animation;o.enable&&(e.size.velocity=((n=e.retina.sizeAnimationSpeed)!==null&&n!==void 0?n:i.retina.sizeAnimationSpeed)/100*i.retina.reduceFactor,o.sync||(e.size.velocity*=I()))}isEnabled(e){var n,i,r,o;return!e.destroyed&&!e.spawning&&e.size.enable&&(((n=e.size.maxLoops)!==null&&n!==void 0?n:0)<=0||((i=e.size.maxLoops)!==null&&i!==void 0?i:0)>0&&((r=e.size.loops)!==null&&r!==void 0?r:0)<((o=e.size.maxLoops)!==null&&o!==void 0?o:0))}reset(e){e.size.loops=0}update(e,n){this.isEnabled(e)&&Hx(e,n)}}async function Wx(t){await t.addParticleUpdater("size",()=>new Vx)}const vo=Math.sqrt(2);class qx{draw(e,n,i){e.rect(-i/vo,-i/vo,i*2/vo,i*2/vo)}getSidesCount(){return 4}}async function Qx(t){const e=new qx;await t.addShape(["edge","square"],e)}class Gx{draw(e,n,i){var r;const o=n.sides,s=(r=n.starInset)!==null&&r!==void 0?r:2;e.moveTo(0,0-i);for(let l=0;l0&&l.loops>=l.maxLoops)return;const a=ve(n.offset),u=((o=e.velocity)!==null&&o!==void 0?o:0)*t.factor+a*3.6,c=(s=e.decay)!==null&&s!==void 0?s:1;!r||l.status==="increasing"?(l.value+=u,l.value>i&&(l.loops||(l.loops=0),l.loops++,r&&(l.status="decreasing",l.value-=l.value%i))):(l.value-=u,l.value<0&&(l.loops||(l.loops=0),l.loops++,l.status="increasing",l.value+=l.value)),l.velocity&&c!==1&&(l.velocity*=c),l.value>i&&(l.value%=i)}function Yx(t,e){if(!t.strokeColor||!t.strokeAnimation)return;const n=t.strokeColor.h;n&&El(e,n,t.strokeAnimation.h,360,!1);const i=t.strokeColor.s;i&&El(e,i,t.strokeAnimation.s,100,!0);const r=t.strokeColor.l;r&&El(e,r,t.strokeAnimation.l,100,!0)}class Xx{constructor(e){this.container=e}init(e){var n,i,r;const o=this.container,s=at(e.options.stroke,e.id,e.options.reduceDuplicates);e.strokeWidth=P(s.width)*o.retina.pixelRatio,e.strokeOpacity=P((n=s.opacity)!==null&&n!==void 0?n:1),e.strokeAnimation=(i=s.color)===null||i===void 0?void 0:i.animation;const l=(r=bn(s.color))!==null&&r!==void 0?r:e.getFillColor();l&&(e.strokeColor=Cp(l,e.strokeAnimation,o.retina.reduceFactor))}isEnabled(e){var n,i,r;const o=e.strokeAnimation;return!e.destroyed&&!e.spawning&&!!o&&(((n=e.strokeColor)===null||n===void 0?void 0:n.h.value)!==void 0&&e.strokeColor.h.enable||((i=e.strokeColor)===null||i===void 0?void 0:i.s.value)!==void 0&&e.strokeColor.s.enable||((r=e.strokeColor)===null||r===void 0?void 0:r.l.value)!==void 0&&e.strokeColor.l.enable)}update(e,n){this.isEnabled(e)&&Yx(e,n)}}async function Jx(t){await t.addParticleUpdater("strokeColor",e=>new Xx(e))}const Ta=["text","character","char"];class Zx{draw(e,n,i,r){var o,s,l;const a=n.shapeData;if(a===void 0)return;const u=a.value;if(u===void 0)return;const c=n;c.text===void 0&&(c.text=at(u,n.randomIndexData));const d=c.text,f=(o=a.style)!==null&&o!==void 0?o:"",m=(s=a.weight)!==null&&s!==void 0?s:"400",h=Math.round(i)*2,y=(l=a.font)!==null&&l!==void 0?l:"Verdana",b=n.fill,v=d.length*i/2;e.font=`${f} ${m} ${h}px "${y}"`;const p={x:-v,y:i/2};e.globalAlpha=r,b?e.fillText(d,p.x,p.y):e.strokeText(d,p.x,p.y),e.globalAlpha=1}getSidesCount(){return 12}async init(e){const n=e.actualOptions;if(Ta.find(i=>G(i,n.particles.shape.type))){const i=Ta.map(o=>n.particles.shape.options[o]).find(o=>!!o),r=[];K(i,o=>{r.push(Iy(o.font,o.weight))}),await Promise.all(r)}}}async function eb(t){await t.addShape(Ta,new Zx)}async function tb(t){await J1(t),await mx(t),await sw(t),await uw(t),await hw(t),await bw(t),await Ew(t),await zw(t),await Tw(t),await Dw(t),await Fw(t),await Uw(t),await yx(t),await kx(t),await jx(t),await ew(t),await Gw(t),await tx(t),await $x(t),await Qx(t),await Kx(t),await eb(t),await Zw(t),await ox(t),await Wx(t),await q1(t),await iw(t),await Jx(t),await hx(t),await $1(t)}class nb{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=R(e.speed)),e.decay!==void 0&&(this.decay=R(e.decay)),e.sync!==void 0&&(this.sync=e.sync))}}class ib extends ft{constructor(){super(),this.animation=new nb,this.direction="clockwise",this.enable=!1,this.value=0}load(e){super.load(e),e&&(this.animation.load(e.animation),e.direction!==void 0&&(this.direction=e.direction),e.enable!==void 0&&(this.enable=e.enable))}}function rb(t,e){var n,i;if(!t.tilt||!t.options.tilt)return;const r=t.options.tilt,o=r.animation,s=((n=t.tilt.velocity)!==null&&n!==void 0?n:0)*e.factor,l=2*Math.PI,a=(i=t.tilt.decay)!==null&&i!==void 0?i:1;if(o.enable){switch(t.tilt.status){case"increasing":t.tilt.value+=s,t.tilt.value>l&&(t.tilt.value-=l);break;case"decreasing":default:t.tilt.value-=s,t.tilt.value<0&&(t.tilt.value+=l);break}t.tilt.velocity&&a!==1&&(t.tilt.velocity*=a)}}class ob{constructor(e){this.container=e}getTransformValues(e){var n;const i=((n=e.tilt)===null||n===void 0?void 0:n.enable)&&e.tilt;return{b:i?Math.cos(i.value)*i.cosDirection:void 0,c:i?Math.sin(i.value)*i.sinDirection:void 0}}init(e){var n;const i=e.options.tilt;if(!i)return;e.tilt={enable:i.enable,value:P(i.value)*Math.PI/180,sinDirection:I()>=.5?1:-1,cosDirection:I()>=.5?1:-1};let r=i.direction;switch(r==="random"&&(r=Math.floor(I()*2)>0?"counter-clockwise":"clockwise"),r){case"counter-clockwise":case"counterClockwise":e.tilt.status="decreasing";break;case"clockwise":e.tilt.status="increasing";break}const o=(n=e.options.tilt)===null||n===void 0?void 0:n.animation;o!=null&&o.enable&&(e.tilt.decay=1-P(o.decay),e.tilt.velocity=P(o.speed)/360*this.container.retina.reduceFactor,o.sync||(e.tilt.velocity*=I()))}isEnabled(e){var n;const i=(n=e.options.tilt)===null||n===void 0?void 0:n.animation;return!e.destroyed&&!e.spawning&&!!(i!=null&&i.enable)}loadOptions(e,...n){e.tilt||(e.tilt=new ib);for(const i of n)e.tilt.load(i==null?void 0:i.tilt)}update(e,n){this.isEnabled(e)&&rb(e,n)}}async function sb(t){await t.addParticleUpdater("tilt",e=>new ob(e))}class _d{constructor(){this.enable=!1,this.frequency=.05,this.opacity=1}load(e){e&&(e.color!==void 0&&(this.color=ae.create(this.color,e.color)),e.enable!==void 0&&(this.enable=e.enable),e.frequency!==void 0&&(this.frequency=e.frequency),e.opacity!==void 0&&(this.opacity=R(e.opacity)))}}class lb{constructor(){this.lines=new _d,this.particles=new _d}load(e){e&&(this.lines.load(e.lines),this.particles.load(e.particles))}}class ab{getColorStyles(e,n,i,r){const o=e.options,s=o.twinkle;if(!s)return{};const l=s.particles,a=l.enable&&I()new ab)}class cb{constructor(){this.angle=50,this.move=10}load(e){e&&(e.angle!==void 0&&(this.angle=R(e.angle)),e.move!==void 0&&(this.move=R(e.move)))}}class db{constructor(){this.distance=5,this.enable=!1,this.speed=new cb}load(e){if(e&&(e.distance!==void 0&&(this.distance=R(e.distance)),e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0))if(typeof e.speed=="number")this.speed.load({angle:e.speed});else{const n=e.speed;n.min!==void 0?this.speed.load({angle:n}):this.speed.load(e.speed)}}}function fb(t,e){var n;const i=t.options.wobble;if(!(i!=null&&i.enable)||!t.wobble)return;const r=t.wobble.angleSpeed*e.factor,o=t.wobble.moveSpeed*e.factor,s=o*(((n=t.retina.wobbleDistance)!==null&&n!==void 0?n:0)*e.factor)/(1e3/60),l=2*Math.PI;t.wobble.angle+=r,t.wobble.angle>l&&(t.wobble.angle-=l),t.position.x+=s*Math.cos(t.wobble.angle),t.position.y+=s*Math.abs(Math.sin(t.wobble.angle))}class hb{constructor(e){this.container=e}init(e){var n;const i=e.options.wobble;i!=null&&i.enable?e.wobble={angle:I()*Math.PI*2,angleSpeed:P(i.speed.angle)/360,moveSpeed:P(i.speed.move)/10}:e.wobble={angle:0,angleSpeed:0,moveSpeed:0},e.retina.wobbleDistance=P((n=i==null?void 0:i.distance)!==null&&n!==void 0?n:0)*this.container.retina.pixelRatio}isEnabled(e){var n;return!e.destroyed&&!e.spawning&&!!(!((n=e.options.wobble)===null||n===void 0)&&n.enable)}loadOptions(e,...n){e.wobble||(e.wobble=new db);for(const i of n)e.wobble.load(i==null?void 0:i.wobble)}update(e,n){this.isEnabled(e)&&fb(e,n)}}async function pb(t){await t.addParticleUpdater("wobble",e=>new hb(e))}async function mb(t){await tb(t),await S1(t),await B1(t),await sb(t),await ub(t),await pb(t),await j1(t),await y1(t),await R1(t)}const vb=({linkColor:t,particleColor:e})=>{const n=T.useCallback(async r=>{console.log(r),await mb(r)},[]),i=T.useCallback(async r=>{console.log(r)},[]);return w.jsx("div",{children:w.jsx(Os,{id:"tsparticles",init:n,loaded:i,options:{background:{},fpsLimit:120,interactivity:{events:{onClick:{enable:!1,mode:"push"},onHover:{enable:!0,mode:"repulse"},resize:!0},modes:{push:{quantity:4},repulse:{distance:150,duration:.4}}},particles:{color:{value:e},links:{color:{value:t},distance:150,enable:!0,opacity:.4,width:1},collisions:{enable:!0},move:{directions:"none",enable:!0,outModes:{default:"bounce"},random:!0,speed:4,straight:!0},number:{density:{enable:!0,area:1500},value:100},opacity:{value:.4},shape:{type:"circle"},size:{value:{min:1,max:4}}},detectRetina:!0}})})},yb=()=>{const[t,e]=T.useState(0),[n,i]=T.useState(!1),r=[{src:ly,alt:"JP Morgan certification"},{src:ay,alt:"IBM certificate"},{src:sy,alt:"Goldman Sachs certificate"},{src:hy,alt:"GSSoC certificate"},{src:"https://d1zpw5mq5bnzyn.cloudfront.net/images/fc000fb8b3b64fccb805d93f09c11cfd.jpeg",alt:"Equitable Hacks certificate"}],o=l=>{e(l)};function s(){i(!n)}return T.useEffect(()=>{let l;return n||(l=setInterval(()=>{e(a=>a===r.length-1?0:a+1)},3e3)),()=>clearInterval(l)},[t,n,r.length]),w.jsxs("div",{className:"mx-5 flex justify-center items-center flex-col object-contain",children:[r.map((l,a)=>w.jsx("img",{src:l.src,alt:l.alt,className:`object-cover w-3xl h-auto flex items-center ${a===t?"opacity-100 transition duration-1000 ease-in-out transform scale-100":"hidden max-w-full opacity-40 transition duration-1000 ease-in-out transform scale-95"}`,onClick:()=>o(a)},a)),w.jsx("div",{className:"flex mt-4 justify-center items-center",children:w.jsxs("button",{className:"mx-2",onClick:s,children:[" ",n?w.jsx(Yv,{className:"transition-all duration-200 ease-in-out text-4xl text-gray-500 hover:text-gray-700 dark:hover:text-white"}):w.jsx(Kv,{className:"transition-all duration-200 ease-in-out text-4xl text-gray-500 hover:text-gray-700 dark:hover:text-white"})," "]})})]})};function A(){return A=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&(n[r]=t[r]);return n}function Lp(t){var e,n,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e{e[n]=Np(t[n])}),e}function Ut(t,e,n={clone:!0}){const i=n.clone?A({},t):t;return Mn(t)&&Mn(e)&&Object.keys(e).forEach(r=>{r!=="__proto__"&&(Mn(e[r])&&r in t&&Mn(t[r])?i[r]=Ut(t[r],e[r],n):n.clone?i[r]=Mn(e[r])?Np(e[r]):e[r]:i[r]=e[r])}),i}function zi(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;nn==null?e:function(...r){e.apply(this,r),n.apply(this,r)},()=>{})}function wb(t,e=166){let n;function i(...r){const o=()=>{t.apply(this,r)};clearTimeout(n),n=setTimeout(o,e)}return i.clear=()=>{clearTimeout(n)},i}function xb(t,e){return()=>null}function Fp(t,e){return T.isValidElement(t)&&e.indexOf(t.type.muiName)!==-1}function Bp(t){return t&&t.ownerDocument||document}function bb(t){return Bp(t).defaultView||window}function kb(t,e){return()=>null}function $p(t,e){typeof t=="function"?t(e):t&&(t.current=e)}const _b=typeof window<"u"?T.useLayoutEffect:T.useEffect,Up=_b;let Sd=0;function Sb(t){const[e,n]=T.useState(t),i=t||e;return T.useEffect(()=>{e==null&&(Sd+=1,n(`mui-${Sd}`))},[e]),i}const Cd=Rl["useId"];function Cb(t){if(Cd!==void 0){const e=Cd();return t??e}return Sb(t)}function Pb(t,e,n,i,r){return null}function Eb({controlled:t,default:e,name:n,state:i="value"}){const{current:r}=T.useRef(t!==void 0),[o,s]=T.useState(e),l=r?t:o,a=T.useCallback(u=>{r||s(u)},[]);return[l,a]}function Ob(t){const e=T.useRef(t);return Up(()=>{e.current=t}),T.useCallback((...n)=>(0,e.current)(...n),[])}function zb(...t){return T.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(n=>{$p(n,e)})},t)}let zs=!0,Ra=!1,Pd;const Mb={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Ab(t){const{type:e,tagName:n}=t;return!!(n==="INPUT"&&Mb[e]&&!t.readOnly||n==="TEXTAREA"&&!t.readOnly||t.isContentEditable)}function Tb(t){t.metaKey||t.altKey||t.ctrlKey||(zs=!0)}function Ol(){zs=!1}function Rb(){this.visibilityState==="hidden"&&Ra&&(zs=!0)}function Ib(t){t.addEventListener("keydown",Tb,!0),t.addEventListener("mousedown",Ol,!0),t.addEventListener("pointerdown",Ol,!0),t.addEventListener("touchstart",Ol,!0),t.addEventListener("visibilitychange",Rb,!0)}function Db(t){const{target:e}=t;try{return e.matches(":focus-visible")}catch{}return zs||Ab(e)}function jb(){const t=T.useCallback(r=>{r!=null&&Ib(r.ownerDocument)},[]),e=T.useRef(!1);function n(){return e.current?(Ra=!0,window.clearTimeout(Pd),Pd=window.setTimeout(()=>{Ra=!1},100),e.current=!1,!0):!1}function i(r){return Db(r)?(e.current=!0,!0):!1}return{isFocusVisibleRef:e,onFocus:i,onBlur:n,ref:t}}function Hp(t,e){const n=A({},e);return Object.keys(t).forEach(i=>{if(i.toString().match(/^(components|slots)$/))n[i]=A({},t[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const r=t[i]||{},o=e[i];n[i]={},!o||!Object.keys(o)?n[i]=r:!r||!Object.keys(r)?n[i]=o:(n[i]=A({},o),Object.keys(r).forEach(s=>{n[i][s]=Hp(r[s],o[s])}))}else n[i]===void 0&&(n[i]=t[i])}),n}function Xt(t,e,n=void 0){const i={};return Object.keys(t).forEach(r=>{i[r]=t[r].reduce((o,s)=>{if(s){const l=e(s);l!==""&&o.push(l),n&&n[s]&&o.push(n[s])}return o},[]).join(" ")}),i}const Ed=t=>t,Lb=()=>{let t=Ed;return{configure(e){t=e},generate(e){return t(e)},reset(){t=Ed}}},Nb=Lb(),Vp=Nb,Fb={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Dt(t,e,n="Mui"){const i=Fb[e];return i?`${n}-${i}`:`${Vp.generate(t)}-${e}`}function Jt(t,e,n="Mui"){const i={};return e.forEach(r=>{i[r]=Dt(t,r,n)}),i}function Wp(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var Bb=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,$b=Wp(function(t){return Bb.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91});function Ub(t){if(t.sheet)return t.sheet;for(var e=0;e0?_e(Di,--Ve):0,Mi--,fe===10&&(Mi=1,As--),fe}function Xe(){return fe=Ve2||Ir(fe)>3?"":" "}function t2(t,e){for(;--e&&Xe()&&!(fe<48||fe>102||fe>57&&fe<65||fe>70&&fe<97););return qr(t,To()+(e<6&&It()==32&&Xe()==32))}function Da(t){for(;Xe();)switch(fe){case t:return Ve;case 34:case 39:t!==34&&t!==39&&Da(fe);break;case 40:t===41&&Da(t);break;case 92:Xe();break}return Ve}function n2(t,e){for(;Xe()&&t+fe!==47+10;)if(t+fe===42+42&&It()===47)break;return"/*"+qr(e,Ve-1)+"*"+Ms(t===47?t:Xe())}function i2(t){for(;!Ir(It());)Xe();return qr(t,Ve)}function r2(t){return Xp(Io("",null,null,null,[""],t=Yp(t),0,[0],t))}function Io(t,e,n,i,r,o,s,l,a){for(var u=0,c=0,d=s,f=0,m=0,h=0,y=1,b=1,v=1,p=0,g="",x=r,k=o,_=i,S=g;b;)switch(h=p,p=Xe()){case 40:if(h!=108&&_e(S,d-1)==58){Ia(S+=$(Ro(p),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:S+=Ro(p);break;case 9:case 10:case 13:case 32:S+=e2(h);break;case 92:S+=t2(To()-1,7);continue;case 47:switch(It()){case 42:case 47:yo(o2(n2(Xe(),To()),e,n),a);break;default:S+="/"}break;case 123*y:l[u++]=Pt(S)*v;case 125*y:case 59:case 0:switch(p){case 0:case 125:b=0;case 59+c:v==-1&&(S=$(S,/\f/g,"")),m>0&&Pt(S)-d&&yo(m>32?zd(S+";",i,n,d-1):zd($(S," ","")+";",i,n,d-2),a);break;case 59:S+=";";default:if(yo(_=Od(S,e,n,u,c,r,l,g,x=[],k=[],d),o),p===123)if(c===0)Io(S,e,_,_,x,o,d,l,k);else switch(f===99&&_e(S,3)===110?100:f){case 100:case 108:case 109:case 115:Io(t,_,_,i&&yo(Od(t,_,_,0,0,r,l,g,r,x=[],d),k),r,k,d,l,i?x:k);break;default:Io(S,_,_,_,[""],k,0,l,k)}}u=c=m=0,y=v=1,g=S="",d=s;break;case 58:d=1+Pt(S),m=h;default:if(y<1){if(p==123)--y;else if(p==125&&y++==0&&Zb()==125)continue}switch(S+=Ms(p),p*y){case 38:v=c>0?1:(S+="\f",-1);break;case 44:l[u++]=(Pt(S)-1)*v,v=1;break;case 64:It()===45&&(S+=Ro(Xe())),f=It(),c=d=Pt(g=S+=i2(To())),p++;break;case 45:h===45&&Pt(S)==2&&(y=0)}}return o}function Od(t,e,n,i,r,o,s,l,a,u,c){for(var d=r-1,f=r===0?o:[""],m=Fu(f),h=0,y=0,b=0;h0?f[v]+" "+p:$(p,/&\f/g,f[v])))&&(a[b++]=g);return Ts(t,e,n,r===0?Lu:l,a,u,c)}function o2(t,e,n){return Ts(t,e,n,qp,Ms(Jb()),Rr(t,2,-2),0)}function zd(t,e,n,i){return Ts(t,e,n,Nu,Rr(t,0,i),Rr(t,i+1,-1),i)}function yi(t,e){for(var n="",i=Fu(t),r=0;r6)switch(_e(t,e+1)){case 109:if(_e(t,e+4)!==45)break;case 102:return $(t,/(.+:)(.+)-([^]+)/,"$1"+B+"$2-$3$1"+us+(_e(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Ia(t,"stretch")?Jp($(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(_e(t,e+1)!==115)break;case 6444:switch(_e(t,Pt(t)-3-(~Ia(t,"!important")&&10))){case 107:return $(t,":",":"+B)+t;case 101:return $(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+B+(_e(t,14)===45?"inline-":"")+"box$3$1"+B+"$2$3$1"+Oe+"$2box$3")+t}break;case 5936:switch(_e(t,e+11)){case 114:return B+t+Oe+$(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return B+t+Oe+$(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return B+t+Oe+$(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return B+t+Oe+t+t}return t}var p2=function(e,n,i,r){if(e.length>-1&&!e.return)switch(e.type){case Nu:e.return=Jp(e.value,e.length);break;case Qp:return yi([Wi(e,{value:$(e.value,"@","@"+B)})],r);case Lu:if(e.length)return Xb(e.props,function(o){switch(Yb(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return yi([Wi(e,{props:[$(o,/:(read-\w+)/,":"+us+"$1")]})],r);case"::placeholder":return yi([Wi(e,{props:[$(o,/:(plac\w+)/,":"+B+"input-$1")]}),Wi(e,{props:[$(o,/:(plac\w+)/,":"+us+"$1")]}),Wi(e,{props:[$(o,/:(plac\w+)/,Oe+"input-$1")]})],r)}return""})}},m2=[p2],v2=function(e){var n=e.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(y){var b=y.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var r=e.stylisPlugins||m2,o={},s,l=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var b=y.getAttribute("data-emotion").split(" "),v=1;v=4;++i,r-=4)n=t.charCodeAt(i)&255|(t.charCodeAt(++i)&255)<<8|(t.charCodeAt(++i)&255)<<16|(t.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(r){case 3:e^=(t.charCodeAt(i+2)&255)<<16;case 2:e^=(t.charCodeAt(i+1)&255)<<8;case 1:e^=t.charCodeAt(i)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var b2={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},k2=/[A-Z]|^ms/g,_2=/_EMO_([^_]+?)_([^]*?)_EMO_/g,em=function(e){return e.charCodeAt(1)===45},Ad=function(e){return e!=null&&typeof e!="boolean"},zl=Wp(function(t){return em(t)?t:t.replace(k2,"-$&").toLowerCase()}),Td=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(_2,function(i,r,o){return Et={name:r,styles:o,next:Et},r})}return b2[e]!==1&&!em(e)&&typeof n=="number"&&n!==0?n+"px":n};function Dr(t,e,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Et={name:n.name,styles:n.styles,next:Et},n.name;if(n.styles!==void 0){var i=n.next;if(i!==void 0)for(;i!==void 0;)Et={name:i.name,styles:i.styles,next:Et},i=i.next;var r=n.styles+";";return r}return S2(t,e,n)}case"function":{if(t!==void 0){var o=Et,s=n(t);return Et=o,Dr(t,e,s)}break}}if(e==null)return n;var l=e[n];return l!==void 0?l:n}function S2(t,e,n){var i="";if(Array.isArray(n))for(var r=0;r96?M2:A2},Dd=function(e,n,i){var r;if(n){var o=n.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(s){return e.__emotion_forwardProp(s)&&o(s)}:o}return typeof r!="function"&&i&&(r=e.__emotion_forwardProp),r},T2=function(e){var n=e.cache,i=e.serialized,r=e.isStringTag;return Zp(n,i,r),O2(function(){return w2(n,i,r)}),null},R2=function t(e,n){var i=e.__emotion_real===e,r=i&&e.__emotion_base||e,o,s;n!==void 0&&(o=n.label,s=n.target);var l=Dd(e,n,i),a=l||Id(r),u=!a("as");return function(){var c=arguments,d=i&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,m=1;m":";";n.substring(i+1).charAt(0)!==s&&!(1+ ++i>n.length););i++}return i},e.backSpaceHtmlChars=function(n,i,r){if(r.contentType!=="html")return i;var o=n.substring(i).charAt(0);if(o===">"||o===";"){var s;for(s=o===">"?"<":"&";n.substring(i-1).charAt(0)!==s&&!(--i<0););i--}return i},t}()),Wv=function(){function t(n,i){Vv.load(this,i,n),this.begin()}var e=t.prototype;return e.toggle=function(){this.pause.status?this.start():this.stop()},e.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},e.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},e.destroy=function(){this.reset(!1),this.options.onDestroy(this)},e.reset=function(n){n===void 0&&(n=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,n&&(this.insertCursor(),this.options.onReset(this),this.begin())},e.begin=function(){var n=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){n.strPos===0?n.typewrite(n.strings[n.sequence[n.arrayPos]],n.strPos):n.backspace(n.strings[n.sequence[n.arrayPos]],n.strPos)},this.startDelay)},e.typewrite=function(n,i){var r=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var o=this.humanizer(this.typeSpeed),s=1;this.pause.status!==!0?this.timeout=setTimeout(function(){i=ld.typeHtmlChars(n,i,r);var l=0,a=n.substring(i);if(a.charAt(0)==="^"&&/^\^\d+/.test(a)){var u=1;u+=(a=/\d+/.exec(a)[0]).length,l=parseInt(a),r.temporaryPause=!0,r.options.onTypingPaused(r.arrayPos,r),n=n.substring(0,i)+n.substring(i+u),r.toggleBlinking(!0)}if(a.charAt(0)==="`"){for(;n.substring(i+s).charAt(0)!=="`"&&(s++,!(i+s>n.length)););var c=n.substring(0,i),d=n.substring(c.length+1,i+s),f=n.substring(i+s+1);n=c+d+f,s--}r.timeout=setTimeout(function(){r.toggleBlinking(!1),i>=n.length?r.doneTyping(n,i):r.keepTyping(n,i,s),r.temporaryPause&&(r.temporaryPause=!1,r.options.onTypingResumed(r.arrayPos,r))},l)},o):this.setPauseStatus(n,i,!0)},e.keepTyping=function(n,i,r){i===0&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this));var o=n.substring(0,i+=r);this.replaceText(o),this.typewrite(n,i)},e.doneTyping=function(n,i){var r=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),this.loop===!1||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){r.backspace(n,i)},this.backDelay))},e.backspace=function(n,i){var r=this;if(this.pause.status!==!0){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var o=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){i=ld.backSpaceHtmlChars(n,i,r);var s=n.substring(0,i);if(r.replaceText(s),r.smartBackspace){var l=r.strings[r.arrayPos+1];r.stopNum=l&&s===l.substring(0,i)?i:0}i>r.stopNum?(i--,r.backspace(n,i)):i<=r.stopNum&&(r.arrayPos++,r.arrayPos===r.strings.length?(r.arrayPos=0,r.options.onLastStringBackspaced(),r.shuffleStringsIfNeeded(),r.begin()):r.typewrite(r.strings[r.sequence[r.arrayPos]],i))},o)}else this.setPauseStatus(n,i,!1)},e.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},e.setPauseStatus=function(n,i,r){this.pause.typewrite=r,this.pause.curString=n,this.pause.curStrPos=i},e.toggleBlinking=function(n){this.cursor&&(this.pause.status||this.cursorBlinking!==n&&(this.cursorBlinking=n,n?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},e.humanizer=function(n){return Math.round(Math.random()*n/2)+n},e.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},e.initFadeOut=function(){var n=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){n.arrayPos++,n.replaceText(""),n.strings.length>n.arrayPos?n.typewrite(n.strings[n.sequence[n.arrayPos]],0):(n.typewrite(n.strings[0],0),n.arrayPos=0)},this.fadeOutDelay)},e.replaceText=function(n){this.attr?this.el.setAttribute(this.attr,n):this.isInput?this.el.value=n:this.contentType==="html"?this.el.innerHTML=n:this.el.textContent=n},e.bindFocusEvents=function(){var n=this;this.isInput&&(this.el.addEventListener("focus",function(i){n.stop()}),this.el.addEventListener("blur",function(i){n.el.value&&n.el.value.length!==0||n.start()}))},e.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},t}(),up={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ad=Fe.createContext&&Fe.createContext(up),gn=globalThis&&globalThis.__assign||function(){return gn=Object.assign||function(t){for(var e,n=1,i=arguments.length;nw.jsxs("div",{className:"w-full flex flex-col gap-2 justify-center items-center",children:[w.jsxs("div",{className:"flex flex-col justify-center items-center text-center gap-2 p-2",children:[w.jsx("div",{className:"w-[250px]",children:w.jsx("img",{src:n})}),w.jsx("div",{className:"flex justify-center items-center p-2",children:w.jsx("h2",{className:"font-burtons font-semibold text-2xl",children:i})}),w.jsx("div",{className:"flex justify-center items-center",children:w.jsx("p",{children:r})})]}),w.jsx("div",{children:e?w.jsxs("div",{className:"flex gap-2 justify-center items-center",children:[w.jsx("a",{rel:"noreferrer",href:t,target:"_blank",children:w.jsx(Oa,{className:"cursor-pointer text-2xl transition duration-500 hover:scale-125 ease-in-out"})}),w.jsx("a",{rel:"noreferrer",href:e,target:"_blank",children:w.jsx(ey,{className:"cursor-pointer text-2xl transition duration-500 hover:scale-125 ease-in-out hover:fill-purple-600"})})]}):w.jsx("div",{children:w.jsx("a",{rel:"noreferrer",href:t,target:"_blank",children:w.jsx(Oa,{className:"cursor-pointer text-2xl transition duration-500 hover:scale-125 ease-in-out"})})})})]}),by=({image:t,qrCode:e})=>w.jsx("a",{href:"https://www.buymeacoffee.com/rrishu561y",target:"_blank",children:w.jsx("img",{src:t,alt:"Buy me a coffee",className:"w-40"})}),ky=({image:t})=>w.jsx("div",{children:w.jsx("img",{src:t,alt:"buy me a coffee!",width:200})});class _y{constructor(){this._listeners=new Map}addEventListener(e,n){var i;this.removeEventListener(e,n),this._listeners.get(e)||this._listeners.set(e,[]),(i=this._listeners.get(e))===null||i===void 0||i.push(n)}dispatchEvent(e,n){var i;(i=this._listeners.get(e))===null||i===void 0||i.forEach(r=>r(n))}hasEventListener(e){return!!this._listeners.get(e)}removeAllEventListeners(e){e?this._listeners.delete(e):this._listeners=new Map}removeEventListener(e,n){const i=this._listeners.get(e);if(!i)return;const r=i.length,o=i.indexOf(n);o<0||(r===1?this._listeners.delete(e):i.splice(o,1))}}class qe{constructor(e,n,i){if(typeof e!="number"&&e){this.x=e.x,this.y=e.y;const r=e;this.z=r.z?r.z:0}else if(e!==void 0&&n!==void 0)this.x=e,this.y=n,this.z=i??0;else throw new Error("tsParticles - Vector3d not initialized correctly")}static get origin(){return qe.create(0,0,0)}get angle(){return Math.atan2(this.y,this.x)}set angle(e){this.updateFromAngle(e,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(e){this.updateFromAngle(this.angle,e)}static clone(e){return qe.create(e.x,e.y,e.z)}static create(e,n,i){return new qe(e,n,i)}add(e){return qe.create(this.x+e.x,this.y+e.y,this.z+e.z)}addTo(e){this.x+=e.x,this.y+=e.y,this.z+=e.z}copy(){return qe.clone(this)}distanceTo(e){return this.sub(e).length}distanceToSq(e){return this.sub(e).getLengthSq()}div(e){return qe.create(this.x/e,this.y/e,this.z/e)}divTo(e){this.x/=e,this.y/=e,this.z/=e}getLengthSq(){return this.x**2+this.y**2}mult(e){return qe.create(this.x*e,this.y*e,this.z*e)}multTo(e){this.x*=e,this.y*=e,this.z*=e}rotate(e){return qe.create(this.x*Math.cos(e)-this.y*Math.sin(e),this.x*Math.sin(e)+this.y*Math.cos(e),0)}setTo(e){this.x=e.x,this.y=e.y;const n=e;this.z=n.z?n.z:0}sub(e){return qe.create(this.x-e.x,this.y-e.y,this.z-e.z)}subFrom(e){this.x-=e.x,this.y-=e.y,this.z-=e.z}updateFromAngle(e,n){this.x=Math.cos(e)*n,this.y=Math.sin(e)*n}}class V extends qe{constructor(e,n){super(e,n,0)}static get origin(){return V.create(0,0)}static clone(e){return V.create(e.x,e.y)}static create(e,n){return new V(e,n)}}let Sy=Math.random;const Cy=new Map;function dp(t){return Cy.get(t)||(e=>e)}function I(){return bt(Sy(),0,1-1e-16)}function bt(t,e,n){return Math.min(Math.max(t,e),n)}function hl(t,e,n,i){return Math.floor((t*n+e*i)/(n+i))}function ve(t){const e=Mt(t);let n=Tr(t);return e===n&&(n=0),I()*(e-n)+n}function P(t){return typeof t=="number"?t:ve(t)}function Tr(t){return typeof t=="number"?t:t.min}function Mt(t){return typeof t=="number"?t:t.max}function R(t,e){if(t===e||e===void 0&&typeof t=="number")return t;const n=Tr(t),i=Mt(t);return e!==void 0?{min:Math.min(n,e),max:Math.max(i,e)}:R(n,i)}function Qt(t){const e=t.random,{enable:n,minimumValue:i}=typeof e=="boolean"?{enable:e,minimumValue:0}:e;return P(n?R(t.value,i):t.value)}function Re(t,e){const n=t.x-e.x,i=t.y-e.y;return{dx:n,dy:i,distance:Math.sqrt(n**2+i**2)}}function ye(t,e){return Re(t,e).distance}function Py(t,e,n){if(typeof t=="number")return t*Math.PI/180;switch(t){case"top":return-Math.PI/2;case"top-right":return-Math.PI/4;case"right":return 0;case"bottom-right":return Math.PI/4;case"bottom":return Math.PI/2;case"bottom-left":return 3*Math.PI/4;case"left":return Math.PI;case"top-left":return-3*Math.PI/4;case"inside":return Math.atan2(n.y-e.y,n.x-e.x);case"outside":return Math.atan2(e.y-n.y,e.x-n.x);default:return I()*Math.PI*2}}function Ey(t){const e=V.origin;return e.length=1,e.angle=t,e}function ud(t,e,n,i){return V.create(t.x*(n-i)/(n+i)+e.x*2*i/(n+i),t.y)}function Oy(t){return t.position&&t.position.x!==void 0&&t.position.y!==void 0?{x:t.position.x*t.size.width/100,y:t.position.y*t.size.height/100}:void 0}function fp(t){var e,n,i,r;return{x:((n=(e=t.position)===null||e===void 0?void 0:e.x)!==null&&n!==void 0?n:I()*100)*t.size.width/100,y:((r=(i=t.position)===null||i===void 0?void 0:i.y)!==null&&r!==void 0?r:I()*100)*t.size.height/100}}function hp(t){var e,n;const i={x:((e=t.position)===null||e===void 0?void 0:e.x)!==void 0?P(t.position.x):void 0,y:((n=t.position)===null||n===void 0?void 0:n.y)!==void 0?P(t.position.y):void 0};return fp({size:t.size,position:i})}function zy(t){var e,n,i,r;return{x:(n=(e=t.position)===null||e===void 0?void 0:e.x)!==null&&n!==void 0?n:I()*t.size.width,y:(r=(i=t.position)===null||i===void 0?void 0:i.y)!==null&&r!==void 0?r:I()*t.size.height}}function pp(t){return t?t.endsWith("%")?parseFloat(t)/100:parseFloat(t):1}function cd(t,e,n,i,r,o){const s={bounced:!1};return e.mini.max||e.maxi.max||(t.max>=n.min&&t.max<=(n.max+n.min)/2&&r>0||t.min<=n.max&&t.min>(n.max+n.min)/2&&r<0)&&(s.velocity=r*-o,s.bounced=!0),s}function My(t,e){const n=K(e,i=>t.matches(i));return n instanceof Array?n.some(i=>i):n}function Un(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function Ay(){return!Un()&&typeof matchMedia<"u"}function mp(t){if(Ay())return matchMedia(t)}function Ty(){return Un()?t=>setTimeout(t):t=>(requestAnimationFrame||setTimeout)(t)}function Ry(){return Un()?t=>clearTimeout(t):t=>(cancelAnimationFrame||clearTimeout)(t)}function G(t,e){return t===e||e instanceof Array&&e.indexOf(t)>-1}async function Iy(t,e){try{await document.fonts.load(`${e??"400"} 36px '${t??"Verdana"}'`)}catch{}}function vp(t){return Math.floor(I()*t.length)}function Hr(t,e,n=!0){return t[e!==void 0&&n?e%t.length:vp(t)]}function Vr(t,e,n,i,r){return Dy(Wr(t,i??0),e,n,r)}function Dy(t,e,n,i){let r=!0;return(!i||i==="bottom")&&(r=t.topn.x),r&&(!i||i==="right")&&(r=t.leftn.y),r}function Wr(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function de(t,...e){for(const n of e){if(n==null)continue;if(typeof n!="object"){t=n;continue}const i=Array.isArray(n);i&&(typeof t!="object"||!t||!Array.isArray(t))?t=[]:!i&&(typeof t!="object"||!t||Array.isArray(t))&&(t={});for(const r in n){if(r==="__proto__")continue;const o=n,s=o[r],l=typeof s=="object",a=t;a[r]=l&&Array.isArray(s)?s.map(u=>de(a[r],u)):de(a[r],s)}}return t}function Au(t,e){return!!wp(e,n=>n.enable&&G(t,n.mode))}function Tu(t,e,n){K(e,i=>{const r=i.mode;i.enable&&G(t,r)&&jy(i,n)})}function jy(t,e){const n=t.selectors;K(n,i=>{e(i,t)})}function yp(t,e){if(!(!e||!t))return wp(t,n=>My(e,n.selectors))}function za(t){return{position:t.getPosition(),radius:t.getRadius(),mass:t.getMass(),velocity:t.velocity,factor:V.create(Qt(t.options.bounce.horizontal),Qt(t.options.bounce.vertical))}}function gp(t,e){const{x:n,y:i}=t.velocity.sub(e.velocity),[r,o]=[t.position,e.position],{dx:s,dy:l}=Re(o,r);if(n*s+i*l<0)return;const a=-Math.atan2(l,s),u=t.mass,c=e.mass,d=t.velocity.rotate(a),f=e.velocity.rotate(a),m=ud(d,f,u,c),h=ud(f,d,u,c),y=m.rotate(-a),b=h.rotate(-a);t.velocity.x=y.x*t.factor.x,t.velocity.y=y.y*t.factor.y,e.velocity.x=b.x*e.factor.x,e.velocity.y=b.y*e.factor.y}function Ly(t,e){const n=t.getPosition(),i=t.getRadius(),r=Wr(n,i),o=cd({min:r.left,max:r.right},{min:r.top,max:r.bottom},{min:e.left,max:e.right},{min:e.top,max:e.bottom},t.velocity.x,Qt(t.options.bounce.horizontal));o.bounced&&(o.velocity!==void 0&&(t.velocity.x=o.velocity),o.position!==void 0&&(t.position.x=o.position));const s=cd({min:r.top,max:r.bottom},{min:r.left,max:r.right},{min:e.top,max:e.bottom},{min:e.left,max:e.right},t.velocity.y,Qt(t.options.bounce.vertical));s.bounced&&(s.velocity!==void 0&&(t.velocity.y=s.velocity),s.position!==void 0&&(t.position.y=s.position))}function K(t,e){return t instanceof Array?t.map((n,i)=>e(n,i)):e(t,0)}function lt(t,e,n){return t instanceof Array?Hr(t,e,n):t}function wp(t,e){return t instanceof Array?t.find((n,i)=>e(n,i)):e(t,0)?t:void 0}const ls="random",Mo="mid",Es=new Map;function xp(t){Es.set(t.key,t)}function pl(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Ny(t){for(const[,o]of Es)if(t.startsWith(o.stringPrefix))return o.parseString(t);const e=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,n=t.replace(e,(o,s,l,a,u)=>s+s+l+l+a+a+(u!==void 0?u+u:"")),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,r=i.exec(n);return r?{a:r[4]!==void 0?parseInt(r[4],16)/255:1,b:parseInt(r[3],16),g:parseInt(r[2],16),r:parseInt(r[1],16)}:void 0}function at(t,e,n=!0){if(!t)return;const i=typeof t=="string"?{value:t}:t;if(typeof i.value=="string")return bp(i.value,e,n);if(i.value instanceof Array)return at({value:Hr(i.value,e,n)});for(const[,r]of Es){const o=r.handleRangeColor(i);if(o)return o}}function bp(t,e,n=!0){if(!t)return;const i=typeof t=="string"?{value:t}:t;if(typeof i.value=="string")return i.value===ls?_p():Fy(i.value);if(i.value instanceof Array)return bp({value:Hr(i.value,e,n)});for(const[,r]of Es){const o=r.handleColor(i);if(o)return o}}function bn(t,e,n=!0){const i=at(t,e,n);return i?kp(i):void 0}function kp(t){const e=t.r/255,n=t.g/255,i=t.b/255,r=Math.max(e,n,i),o=Math.min(e,n,i),s={h:0,l:(r+o)/2,s:0};return r!==o&&(s.s=s.l<.5?(r-o)/(r+o):(r-o)/(2-r-o),s.h=e===r?(n-i)/(r-o):s.h=n===r?2+(i-e)/(r-o):4+(e-n)/(r-o)),s.l*=100,s.s*=100,s.h*=60,s.h<0&&(s.h+=360),s.h>=360&&(s.h-=360),s}function Fy(t){return Ny(t)}function Pi(t){const e={b:0,g:0,r:0},n={h:t.h/360,l:t.l/100,s:t.s/100};if(!n.s)e.b=n.l,e.g=n.l,e.r=n.l;else{const i=n.l<.5?n.l*(1+n.s):n.l+n.s-n.l*n.s,r=2*n.l-i;e.r=pl(r,i,n.h+1/3),e.g=pl(r,i,n.h),e.b=pl(r,i,n.h-1/3)}return e.r=Math.floor(e.r*255),e.g=Math.floor(e.g*255),e.b=Math.floor(e.b*255),e}function By(t){const e=Pi(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}function _p(t){const e=t??0;return{b:Math.floor(ve(R(e,256))),g:Math.floor(ve(R(e,256))),r:Math.floor(ve(R(e,256)))}}function Rt(t,e){return`rgba(${t.r}, ${t.g}, ${t.b}, ${e??1})`}function Ei(t,e){return`hsla(${t.h}, ${t.s}%, ${t.l}%, ${e??1})`}function Ru(t,e,n,i){let r=t,o=e;return r.r===void 0&&(r=Pi(t)),o.r===void 0&&(o=Pi(e)),{b:hl(r.b,o.b,n,i),g:hl(r.g,o.g,n,i),r:hl(r.r,o.r,n,i)}}function Ma(t,e,n){var i,r;if(n===ls)return _p();if(n===Mo){const o=(i=t.getFillColor())!==null&&i!==void 0?i:t.getStrokeColor(),s=(r=e==null?void 0:e.getFillColor())!==null&&r!==void 0?r:e==null?void 0:e.getStrokeColor();if(o&&s&&e)return Ru(o,s,t.getRadius(),e.getRadius());{const l=o??s;if(l)return Pi(l)}}else return n}function Sp(t,e,n){const i=typeof t=="string"?t:t.value;return i===ls?n?at({value:i}):e?ls:Mo:i===Mo?Mo:at({value:i})}function dd(t){return t!==void 0?{h:t.h.value,s:t.s.value,l:t.l.value}:void 0}function Cp(t,e,n){const i={h:{enable:!1,value:t.h},s:{enable:!1,value:t.s},l:{enable:!1,value:t.l}};return e&&(ml(i.h,e.h,n),ml(i.s,e.s,n),ml(i.l,e.l,n)),i}function ml(t,e,n){t.enable=e.enable,t.enable?(t.velocity=P(e.speed)/100*n,t.decay=1-P(e.decay),t.status="increasing",t.loops=0,t.maxLoops=P(e.count),e.sync||(t.velocity*=I(),t.value*=I()),t.initialValue=t.value):t.velocity=0}function fr(t,e,n){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(n.x,n.y),t.closePath()}function $y(t,e,n,i){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(n.x,n.y),t.lineTo(i.x,i.y),t.closePath()}function Uy(t,e,n){t.fillStyle=n??"rgba(0,0,0,0)",t.fillRect(0,0,e.width,e.height)}function Hy(t,e,n,i){n&&(t.globalAlpha=i,t.drawImage(n,0,0,e.width,e.height),t.globalAlpha=1)}function vl(t,e){t.clearRect(0,0,e.width,e.height)}function Vy(t){var e,n,i,r,o;const{container:s,context:l,particle:a,delta:u,colorStyles:c,backgroundMask:d,composite:f,radius:m,opacity:h,shadow:y,transform:b}=t,v=a.getPosition(),p=a.rotation+(a.pathRotation?a.velocity.angle:0),g={sin:Math.sin(p),cos:Math.cos(p)},x={a:g.cos*((e=b.a)!==null&&e!==void 0?e:1),b:g.sin*((n=b.b)!==null&&n!==void 0?n:1),c:-g.sin*((i=b.c)!==null&&i!==void 0?i:1),d:g.cos*((r=b.d)!==null&&r!==void 0?r:1)};l.setTransform(x.a,x.b,x.c,x.d,v.x,v.y),l.beginPath(),d&&(l.globalCompositeOperation=f);const k=a.shadowColor;y.enable&&k&&(l.shadowBlur=y.blur,l.shadowColor=Rt(k),l.shadowOffsetX=y.offset.x,l.shadowOffsetY=y.offset.y),c.fill&&(l.fillStyle=c.fill);const _=(o=a.strokeWidth)!==null&&o!==void 0?o:0;l.lineWidth=_,c.stroke&&(l.strokeStyle=c.stroke),Wy(s,l,a,m,h,u),_>0&&l.stroke(),a.close&&l.closePath(),a.fill&&l.fill(),qy(s,l,a,m,h,u),l.globalCompositeOperation="source-over",l.setTransform(1,0,0,1,0,0)}function Wy(t,e,n,i,r,o){if(!n.shape)return;const s=t.drawers.get(n.shape);s&&s.draw(e,n,i,r,o,t.retina.pixelRatio)}function qy(t,e,n,i,r,o){if(!n.shape)return;const s=t.drawers.get(n.shape);s!=null&&s.afterEffect&&s.afterEffect(e,n,i,r,o,t.retina.pixelRatio)}function Qy(t,e,n){e.draw&&e.draw(t,n)}function Gy(t,e,n,i){e.drawParticle&&e.drawParticle(t,n,i)}function Ky(t,e,n){return{h:t.h,s:t.s,l:t.l+(e==="darken"?-1:1)*n}}const hr="generated",fd="touchend",Yy="pointerdown",Xy="pointerup",Hn="pointermove",Jy="touchstart",Zy="touchmove",Aa="pointerleave",eg="pointerout",tg="touchcancel",ng="resize",ig="visibilitychange";function rg(t,e,n){var i;const r=e[n];r!==void 0&&(t[n]=((i=t[n])!==null&&i!==void 0?i:1)*r)}class og{constructor(e){this.container=e,this.size={height:0,width:0},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[],this._mutationObserver=!Un()&&typeof MutationObserver<"u"?new MutationObserver(n=>{for(const i of n)i.type==="attributes"&&i.attributeName==="style"&&this._repairStyle()}):void 0}get _fullScreen(){return this.container.actualOptions.fullScreen.enable}clear(){const e=this.container.actualOptions,n=e.particles.move.trail,i=this._trailFill;e.backgroundMask.enable?this.paint():n.enable&&n.length>0&&i?i.color?this._paintBase(Rt(i.color,i.opacity)):i.image&&this._paintImage(i.image,i.opacity):this.draw(r=>{vl(r,this.size)})}destroy(){var e,n;(e=this._mutationObserver)===null||e===void 0||e.disconnect(),this._generated?(n=this.element)===null||n===void 0||n.remove():this._resetOriginalStyle(),this.stop(),this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(e){if(this._context)return e(this._context)}drawParticle(e,n){var i;if(e.spawning||e.destroyed)return;const r=e.getRadius();if(r<=0)return;const o=e.getFillColor(),s=(i=e.getStrokeColor())!==null&&i!==void 0?i:o;let[l,a]=this._getPluginParticleColors(e);l||(l=o),a||(a=s),!(!l&&!a)&&this.draw(u=>{var c,d,f,m;const h=this.container.actualOptions,y=e.options.zIndex,b=(1-e.zIndexFactor)**y.opacityRate,v=(f=(c=e.bubble.opacity)!==null&&c!==void 0?c:(d=e.opacity)===null||d===void 0?void 0:d.value)!==null&&f!==void 0?f:1,p=(m=e.strokeOpacity)!==null&&m!==void 0?m:v,g=v*b,x=p*b,k={},_={fill:l?Ei(l,g):void 0};_.stroke=a?Ei(a,x):_.fill,this._applyPreDrawUpdaters(u,e,r,g,_,k),Vy({container:this.container,context:u,particle:e,delta:n,colorStyles:_,backgroundMask:h.backgroundMask.enable,composite:h.backgroundMask.composite,radius:r*(1-e.zIndexFactor)**y.sizeRate,opacity:g,shadow:e.options.shadow,transform:k}),this._applyPostDrawUpdaters(e)})}drawParticlePlugin(e,n,i){this.draw(r=>{Gy(r,e,n,i)})}drawPlugin(e,n){this.draw(i=>{Qy(i,e,n)})}async init(){var e;this.resize(),this._initStyle(),this._initCover();try{await this._initTrail()}catch(n){console.error(n)}this.initBackground(),this.element&&((e=this._mutationObserver)===null||e===void 0||e.observe(this.element,{attributes:!0})),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){const e=this.container.actualOptions,n=e.background,i=this.element,r=i==null?void 0:i.style;if(r){if(n.color){const o=at(n.color);r.backgroundColor=o?Rt(o,n.opacity):""}else r.backgroundColor="";r.backgroundImage=n.image||"",r.backgroundPosition=n.position||"",r.backgroundRepeat=n.repeat||"",r.backgroundSize=n.size||""}}initPlugins(){this._resizePlugins=[];for(const[,e]of this.container.plugins)e.resize&&this._resizePlugins.push(e),(e.particleFillColor||e.particleStrokeColor)&&this._colorPlugins.push(e)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const e of this.container.particles.updaters)e.afterDraw&&this._postDrawUpdaters.push(e),(e.getColorStyles||e.getTransformValues||e.beforeDraw)&&this._preDrawUpdaters.push(e)}loadCanvas(e){var n,i;this._generated&&((n=this.element)===null||n===void 0||n.remove()),this._generated=e.dataset&&hr in e.dataset?e.dataset[hr]==="true":this._generated,this.element=e,this.element.ariaHidden="true",this._originalStyle=de({},this.element.style),this.size.height=e.offsetHeight,this.size.width=e.offsetWidth,this._context=this.element.getContext("2d"),(i=this._mutationObserver)===null||i===void 0||i.observe(this.element,{attributes:!0}),this.container.retina.init(),this.initBackground()}paint(){const e=this.container.actualOptions;this.draw(n=>{e.backgroundMask.enable&&e.backgroundMask.cover?(vl(n,this.size),this._paintBase(this._coverColorStyle)):this._paintBase()})}resize(){if(!this.element)return;const e=this.container,n=e.retina.pixelRatio,i=e.canvas.size,r={width:this.element.offsetWidth*n,height:this.element.offsetHeight*n};if(r.height===i.height&&r.width===i.width&&r.height===this.element.height&&r.width===this.element.width)return;const o=Object.assign({},i);this.element.width=i.width=this.element.offsetWidth*n,this.element.height=i.height=this.element.offsetHeight*n,this.container.started&&(this.resizeFactor={width:i.width/o.width,height:i.height/o.height})}stop(){this.draw(e=>{vl(e,this.size)})}async windowResize(){if(!this.element)return;this.resize();const e=this.container,n=e.updateActualOptions();e.particles.setDensity(),this._applyResizePlugins(),n&&await e.refresh()}_applyPostDrawUpdaters(e){var n;for(const i of this._postDrawUpdaters)(n=i.afterDraw)===null||n===void 0||n.call(i,e)}_applyPreDrawUpdaters(e,n,i,r,o,s){var l;for(const a of this._preDrawUpdaters){if(a.getColorStyles){const{fill:u,stroke:c}=a.getColorStyles(n,e,i,r);u&&(o.fill=u),c&&(o.stroke=c)}if(a.getTransformValues){const u=a.getTransformValues(n);for(const c in u)rg(s,u,c)}(l=a.beforeDraw)===null||l===void 0||l.call(a,n)}}_applyResizePlugins(){for(const e of this._resizePlugins)e.resize&&e.resize()}_getPluginParticleColors(e){let n,i;for(const r of this._colorPlugins)if(!n&&r.particleFillColor&&(n=bn(r.particleFillColor(e))),!i&&r.particleStrokeColor&&(i=bn(r.particleStrokeColor(e))),n&&i)break;return[n,i]}_initCover(){const e=this.container.actualOptions,n=e.backgroundMask.cover,i=n.color,r=at(i);if(r){const o={r:r.r,g:r.g,b:r.b,a:n.opacity};this._coverColorStyle=Rt(o,o.a)}}_initStyle(){const e=this.element,n=this.container.actualOptions;if(e){this._fullScreen?(this._originalStyle=de({},e.style),this._setFullScreenStyle()):this._resetOriginalStyle();for(const i in n.style){if(!i||!n.style)continue;const r=n.style[i];r&&e.style.setProperty(i,r,"important")}}}async _initTrail(){const e=this.container.actualOptions,n=e.particles.move.trail,i=n.fill;if(n.enable)if(i.color){const r=at(i.color);if(!r)return;const o=e.particles.move.trail;this._trailFill={color:Object.assign({},r),opacity:1/o.length}}else await new Promise((r,o)=>{if(!i.image)return;const s=document.createElement("img");s.addEventListener("load",()=>{this._trailFill={image:s,opacity:1/n.length},r()}),s.addEventListener("error",l=>{o(l.error)}),s.src=i.image})}_paintBase(e){this.draw(n=>{Uy(n,this.size,e)})}_paintImage(e,n){this.draw(i=>{Hy(i,this.size,e,n)})}_repairStyle(){var e,n;const i=this.element;i&&((e=this._mutationObserver)===null||e===void 0||e.disconnect(),this._initStyle(),this.initBackground(),(n=this._mutationObserver)===null||n===void 0||n.observe(i,{attributes:!0}))}_resetOriginalStyle(){const e=this.element,n=this._originalStyle;e&&n&&(e.style.position=n.position,e.style.zIndex=n.zIndex,e.style.top=n.top,e.style.left=n.left,e.style.width=n.width,e.style.height=n.height)}_setFullScreenStyle(){const e=this.element;if(!e)return;const n="important";e.style.setProperty("position","fixed",n),e.style.setProperty("z-index",this.container.actualOptions.fullScreen.zIndex.toString(10),n),e.style.setProperty("top","0",n),e.style.setProperty("left","0",n),e.style.setProperty("width","100%",n),e.style.setProperty("height","100%",n)}}function nt(t,e,n,i,r){if(i){let o={passive:!0};typeof r=="boolean"?o.capture=r:r!==void 0&&(o=r),t.addEventListener(e,n,o)}else{const o=r;t.removeEventListener(e,n,o)}}class sg{constructor(e){this.container=e,this.canPush=!0,this.handlers={mouseMove:n=>this.mouseTouchMove(n),touchStart:n=>this.mouseTouchMove(n),touchMove:n=>this.mouseTouchMove(n),touchEnd:()=>this.mouseTouchFinish(),mouseLeave:()=>this.mouseTouchFinish(),touchCancel:()=>this.mouseTouchFinish(),touchEndClick:n=>this.mouseTouchClick(n),mouseUp:n=>this.mouseTouchClick(n),mouseDown:()=>this.mouseDown(),visibilityChange:()=>this.handleVisibilityChange(),themeChange:n=>this.handleThemeChange(n),oldThemeChange:n=>this.handleThemeChange(n),resize:()=>this.handleWindowResize()}}addListeners(){this.manageListeners(!0)}removeListeners(){this.manageListeners(!1)}doMouseTouchClick(e){const n=this.container,i=n.actualOptions;if(this.canPush){const r=n.interactivity.mouse,o=r.position;if(!o)return;r.clickPosition=Object.assign({},o),r.clickTime=new Date().getTime();const s=i.interactivity.events.onClick;K(s.mode,l=>this.handleClickMode(l))}e.type==="touchend"&&setTimeout(()=>this.mouseTouchFinish(),500)}handleClickMode(e){this.container.handleClickMode(e)}handleThemeChange(e){const n=e,i=this.container,r=i.options,o=r.defaultThemes,s=n.matches?o.dark:o.light,l=r.themes.find(a=>a.name===s);l&&l.default.auto&&i.loadTheme(s)}handleVisibilityChange(){const e=this.container,n=e.actualOptions;this.mouseTouchFinish(),n.pauseOnBlur&&(document!=null&&document.hidden?(e.pageHidden=!0,e.pause()):(e.pageHidden=!1,e.getAnimationStatus()?e.play(!0):e.draw(!0)))}handleWindowResize(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),delete this.resizeTimeout),this.resizeTimeout=setTimeout(async()=>{var e;return(e=this.container.canvas)===null||e===void 0?void 0:e.windowResize()},this.container.actualOptions.interactivity.events.resize.delay*1e3)}manageListeners(e){var n;const i=this.handlers,r=this.container,o=r.actualOptions,s=o.interactivity.detectsOn;let l=Aa;if(s==="window")r.interactivity.element=window,l=eg;else if(s==="parent"&&r.canvas.element){const d=r.canvas.element;r.interactivity.element=(n=d.parentElement)!==null&&n!==void 0?n:d.parentNode}else r.interactivity.element=r.canvas.element;const a=mp("(prefers-color-scheme: dark)");a&&(a.addEventListener!==void 0?nt(a,"change",i.themeChange,e):a.addListener!==void 0&&(e?a.addListener(i.oldThemeChange):a.removeListener(i.oldThemeChange)));const u=r.interactivity.element;if(!u)return;const c=u;(o.interactivity.events.onHover.enable||o.interactivity.events.onClick.enable)&&(nt(u,Hn,i.mouseMove,e),nt(u,Jy,i.touchStart,e),nt(u,Zy,i.touchMove,e),o.interactivity.events.onClick.enable?(nt(u,fd,i.touchEndClick,e),nt(u,Xy,i.mouseUp,e),nt(u,Yy,i.mouseDown,e)):nt(u,fd,i.touchEnd,e),nt(u,l,i.mouseLeave,e),nt(u,tg,i.touchCancel,e)),r.canvas.element&&(r.canvas.element.style.pointerEvents=c===r.canvas.element?"initial":"none"),o.interactivity.events.resize&&(typeof ResizeObserver<"u"?this.resizeObserver&&!e?(r.canvas.element&&this.resizeObserver.unobserve(r.canvas.element),this.resizeObserver.disconnect(),delete this.resizeObserver):!this.resizeObserver&&e&&r.canvas.element&&(this.resizeObserver=new ResizeObserver(d=>{d.find(m=>m.target===r.canvas.element)&&this.handleWindowResize()}),this.resizeObserver.observe(r.canvas.element)):nt(window,ng,i.resize,e)),document&&nt(document,ig,i.visibilityChange,e,!1)}mouseDown(){const e=this.container.interactivity;if(e){const n=e.mouse;n.clicking=!0,n.downPosition=n.position}}mouseTouchClick(e){const n=this.container,i=n.actualOptions,r=n.interactivity.mouse;r.inside=!0;let o=!1;const s=r.position;if(!(!s||!i.interactivity.events.onClick.enable)){for(const[,l]of n.plugins)if(l.clickPositionValid&&(o=l.clickPositionValid(s),o))break;o||this.doMouseTouchClick(e),r.clicking=!1}}mouseTouchFinish(){const e=this.container.interactivity;if(!e)return;const n=e.mouse;delete n.position,delete n.clickPosition,delete n.downPosition,e.status=Aa,n.inside=!1,n.clicking=!1}mouseTouchMove(e){var n,i,r,o,s,l,a;const u=this.container,c=u.actualOptions;if(!(!((n=u.interactivity)===null||n===void 0)&&n.element))return;u.interactivity.mouse.inside=!0;let d;const f=u.canvas.element;if(e.type.startsWith("pointer")){this.canPush=!0;const h=e;if(u.interactivity.element===window){if(f){const y=f.getBoundingClientRect();d={x:h.clientX-y.left,y:h.clientY-y.top}}}else if(c.interactivity.detectsOn==="parent"){const y=h.target,b=h.currentTarget,v=u.canvas.element;if(y&&b&&v){const p=y.getBoundingClientRect(),g=b.getBoundingClientRect(),x=v.getBoundingClientRect();d={x:h.offsetX+2*p.left-(g.left+x.left),y:h.offsetY+2*p.top-(g.top+x.top)}}else d={x:(i=h.offsetX)!==null&&i!==void 0?i:h.clientX,y:(r=h.offsetY)!==null&&r!==void 0?r:h.clientY}}else h.target===u.canvas.element&&(d={x:(o=h.offsetX)!==null&&o!==void 0?o:h.clientX,y:(s=h.offsetY)!==null&&s!==void 0?s:h.clientY})}else{this.canPush=e.type!=="touchmove";const h=e,y=h.touches[h.touches.length-1],b=f==null?void 0:f.getBoundingClientRect();d={x:y.clientX-((l=b==null?void 0:b.left)!==null&&l!==void 0?l:0),y:y.clientY-((a=b==null?void 0:b.top)!==null&&a!==void 0?a:0)}}const m=u.retina.pixelRatio;d&&(d.x*=m,d.y*=m),u.interactivity.mouse.position=d,u.interactivity.status=Hn}}function lg(t,e=60,n=!1){return{value:t,factor:n?60/e:60*t/1e3}}class ag{constructor(e){this.container=e}async nextFrame(e){var n;try{const i=this.container;if(!i.smooth&&i.lastFrameTime!==void 0&&e1e3){i.draw(!1);return}if(await i.particles.draw(r),i.duration>0&&i.lifeTime>i.duration){i.destroy();return}i.getAnimationStatus()&&i.draw(!1)}catch(i){console.error("tsParticles error in animation loop",i)}}}class ae{constructor(){this.value=""}static create(e,n){const i=new ae;return i.load(e),n!==void 0&&(typeof n=="string"||n instanceof Array?i.load({value:n}):i.load(n)),i}load(e){(e==null?void 0:e.value)!==void 0&&(this.value=e.value)}}class ug{constructor(){this.color=new ae,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(e){e&&(e.color!==void 0&&(this.color=ae.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image),e.position!==void 0&&(this.position=e.position),e.repeat!==void 0&&(this.repeat=e.repeat),e.size!==void 0&&(this.size=e.size),e.opacity!==void 0&&(this.opacity=e.opacity))}}class cg{constructor(){this.color=new ae,this.color.value="#fff",this.opacity=1}load(e){e&&(e.color!==void 0&&(this.color=ae.create(this.color,e.color)),e.opacity!==void 0&&(this.opacity=e.opacity))}}class dg{constructor(){this.composite="destination-out",this.cover=new cg,this.enable=!1}load(e){if(e){if(e.composite!==void 0&&(this.composite=e.composite),e.cover!==void 0){const n=e.cover,i=typeof e.cover=="string"?{color:e.cover}:e.cover;this.cover.load(n.color!==void 0?n:{color:i})}e.enable!==void 0&&(this.enable=e.enable)}}}class fg{constructor(){this.enable=!0,this.zIndex=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.zIndex!==void 0&&(this.zIndex=e.zIndex))}}class hg{constructor(){this.enable=!1,this.mode=[]}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode))}}class hd{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type="circle"}get el(){return this.elementId}set el(e){this.elementId=e}get elementId(){return this.ids}set elementId(e){this.ids=e}get ids(){return K(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=K(e,n=>`#${n}`)}load(e){var n,i;if(!e)return;const r=(i=(n=e.ids)!==null&&n!==void 0?n:e.elementId)!==null&&i!==void 0?i:e.el;r!==void 0&&(this.ids=r),e.selectors!==void 0&&(this.selectors=e.selectors),e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),e.type!==void 0&&(this.type=e.type)}}class pg{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.force!==void 0&&(this.force=e.force),e.smooth!==void 0&&(this.smooth=e.smooth))}}class mg{constructor(){this.enable=!1,this.mode=[],this.parallax=new pg}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),this.parallax.load(e.parallax))}}class vg{constructor(){this.delay=.5,this.enable=!0}load(e){e!==void 0&&(e.delay!==void 0&&(this.delay=e.delay),e.enable!==void 0&&(this.enable=e.enable))}}class yg{constructor(){this.onClick=new hg,this.onDiv=new hd,this.onHover=new mg,this.resize=new vg}get onclick(){return this.onClick}set onclick(e){this.onClick=e}get ondiv(){return this.onDiv}set ondiv(e){this.onDiv=e}get onhover(){return this.onHover}set onhover(e){this.onHover=e}load(e){var n,i,r;if(!e)return;this.onClick.load((n=e.onClick)!==null&&n!==void 0?n:e.onclick);const o=(i=e.onDiv)!==null&&i!==void 0?i:e.ondiv;o!==void 0&&(this.onDiv=K(o,s=>{const l=new hd;return l.load(s),l})),this.onHover.load((r=e.onHover)!==null&&r!==void 0?r:e.onhover),typeof e.resize=="boolean"?this.resize.enable=e.resize:this.resize.load(e.resize)}}class gg{constructor(e,n){this._engine=e,this._container=n}load(e){if(e&&this._container){const n=this._engine.plugins.interactors.get(this._container);if(n)for(const i of n)i.loadModeOptions&&i.loadModeOptions(this,e)}}}class Pp{constructor(e,n){this.detectsOn="window",this.events=new yg,this.modes=new gg(e,n)}get detect_on(){return this.detectsOn}set detect_on(e){this.detectsOn=e}load(e){var n;if(!e)return;const i=(n=e.detectsOn)!==null&&n!==void 0?n:e.detect_on;i!==void 0&&(this.detectsOn=i),this.events.load(e.events),this.modes.load(e.modes)}}class wg{load(e){var n,i;e&&(e.position!==void 0&&(this.position={x:(n=e.position.x)!==null&&n!==void 0?n:50,y:(i=e.position.y)!==null&&i!==void 0?i:50}),e.options!==void 0&&(this.options=de({},e.options)))}}class xg{constructor(){this.maxWidth=1/0,this.options={},this.mode="canvas"}load(e){e&&(e.maxWidth!==void 0&&(this.maxWidth=e.maxWidth),e.mode!==void 0&&(e.mode==="screen"?this.mode="screen":this.mode="canvas"),e.options!==void 0&&(this.options=de({},e.options)))}}class bg{constructor(){this.auto=!1,this.mode="any",this.value=!1}load(e){e&&(e.auto!==void 0&&(this.auto=e.auto),e.mode!==void 0&&(this.mode=e.mode),e.value!==void 0&&(this.value=e.value))}}class kg{constructor(){this.name="",this.default=new bg}load(e){e&&(e.name!==void 0&&(this.name=e.name),this.default.load(e.default),e.options!==void 0&&(this.options=de({},e.options)))}}class yl{constructor(){this.count=0,this.enable=!1,this.offset=0,this.speed=1,this.decay=0,this.sync=!0}load(e){e&&(e.count!==void 0&&(this.count=R(e.count)),e.enable!==void 0&&(this.enable=e.enable),e.offset!==void 0&&(this.offset=R(e.offset)),e.speed!==void 0&&(this.speed=R(e.speed)),e.decay!==void 0&&(this.decay=R(e.decay)),e.sync!==void 0&&(this.sync=e.sync))}}class _g{constructor(){this.h=new yl,this.s=new yl,this.l=new yl}load(e){e&&(this.h.load(e.h),this.s.load(e.s),this.l.load(e.l))}}class Oi extends ae{constructor(){super(),this.animation=new _g}static create(e,n){const i=new Oi;return i.load(e),n!==void 0&&(typeof n=="string"||n instanceof Array?i.load({value:n}):i.load(n)),i}load(e){if(super.load(e),!e)return;const n=e.animation;n!==void 0&&(n.enable!==void 0?this.animation.h.load(n):this.animation.load(e.animation))}}class Sg{constructor(){this.speed=2}load(e){e&&e.speed!==void 0&&(this.speed=e.speed)}}class Cg{constructor(){this.enable=!0,this.retries=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.retries!==void 0&&(this.retries=e.retries))}}class Pg{constructor(){this.enable=!1,this.minimumValue=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.minimumValue!==void 0&&(this.minimumValue=e.minimumValue))}}class dt{constructor(){this.random=new Pg,this.value=0}load(e){e&&(typeof e.random=="boolean"?this.random.enable=e.random:this.random.load(e.random),e.value!==void 0&&(this.value=R(e.value,this.random.enable?this.random.minimumValue:void 0)))}}class pd extends dt{constructor(){super(),this.random.minimumValue=.1,this.value=1}}class Ep{constructor(){this.horizontal=new pd,this.vertical=new pd}load(e){e&&(this.horizontal.load(e.horizontal),this.vertical.load(e.vertical))}}class Eg{constructor(){this.absorb=new Sg,this.bounce=new Ep,this.enable=!1,this.mode="bounce",this.overlap=new Cg}load(e){e&&(this.absorb.load(e.absorb),this.bounce.load(e.bounce),e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),this.overlap.load(e.overlap))}}class Og{constructor(){this.offset=0,this.value=90}load(e){e&&(e.offset!==void 0&&(this.offset=R(e.offset)),e.value!==void 0&&(this.value=R(e.value)))}}class zg{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}get rotateX(){return this.rotate.x}set rotateX(e){this.rotate.x=e}get rotateY(){return this.rotate.y}set rotateY(e){this.rotate.y=e}load(e){var n,i,r,o;if(!e)return;e.distance!==void 0&&(this.distance=R(e.distance)),e.enable!==void 0&&(this.enable=e.enable);const s=(i=(n=e.rotate)===null||n===void 0?void 0:n.x)!==null&&i!==void 0?i:e.rotateX;s!==void 0&&(this.rotate.x=s);const l=(o=(r=e.rotate)===null||r===void 0?void 0:r.y)!==null&&o!==void 0?o:e.rotateY;l!==void 0&&(this.rotate.y=l)}}class Mg{constructor(){this.x=50,this.y=50,this.mode="percent",this.radius=0}load(e){e&&(e.x!==void 0&&(this.x=e.x),e.y!==void 0&&(this.y=e.y),e.mode!==void 0&&(this.mode=e.mode),e.radius!==void 0&&(this.radius=e.radius))}}class Ag{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=R(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.inverse!==void 0&&(this.inverse=e.inverse),e.maxSpeed!==void 0&&(this.maxSpeed=R(e.maxSpeed)))}}class Tg{constructor(){this.clamp=!0,this.delay=new dt,this.enable=!1,this.options={}}load(e){e&&(e.clamp!==void 0&&(this.clamp=e.clamp),this.delay.load(e.delay),e.enable!==void 0&&(this.enable=e.enable),this.generator=e.generator,e.options&&(this.options=de(this.options,e.options)))}}class Rg{load(e){e&&(e.color!==void 0&&(this.color=ae.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image))}}class Ig{constructor(){this.enable=!1,this.length=10,this.fill=new Rg}get fillColor(){return this.fill.color}set fillColor(e){this.fill.load({color:e})}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),(e.fill!==void 0||e.fillColor!==void 0)&&this.fill.load(e.fill||{color:e.fillColor}),e.length!==void 0&&(this.length=e.length))}}class Dg{constructor(){this.default="out"}load(e){var n,i,r,o;e&&(e.default!==void 0&&(this.default=e.default),this.bottom=(n=e.bottom)!==null&&n!==void 0?n:e.default,this.left=(i=e.left)!==null&&i!==void 0?i:e.default,this.right=(r=e.right)!==null&&r!==void 0?r:e.default,this.top=(o=e.top)!==null&&o!==void 0?o:e.default)}}class jg{constructor(){this.acceleration=0,this.enable=!1}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=R(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),this.position=e.position?de({},e.position):void 0)}}class Lg{constructor(){this.angle=new Og,this.attract=new zg,this.center=new Mg,this.decay=0,this.distance={},this.direction="none",this.drift=0,this.enable=!1,this.gravity=new Ag,this.path=new Tg,this.outModes=new Dg,this.random=!1,this.size=!1,this.speed=2,this.spin=new jg,this.straight=!1,this.trail=new Ig,this.vibrate=!1,this.warp=!1}get bounce(){return this.collisions}set bounce(e){this.collisions=e}get collisions(){return!1}set collisions(e){}get noise(){return this.path}set noise(e){this.path=e}get outMode(){return this.outModes.default}set outMode(e){this.outModes.default=e}get out_mode(){return this.outMode}set out_mode(e){this.outMode=e}load(e){var n,i,r;if(!e)return;this.angle.load(typeof e.angle=="number"?{value:e.angle}:e.angle),this.attract.load(e.attract),this.center.load(e.center),e.decay!==void 0&&(this.decay=R(e.decay)),e.direction!==void 0&&(this.direction=e.direction),e.distance!==void 0&&(this.distance=typeof e.distance=="number"?{horizontal:e.distance,vertical:e.distance}:Object.assign({},e.distance)),e.drift!==void 0&&(this.drift=R(e.drift)),e.enable!==void 0&&(this.enable=e.enable),this.gravity.load(e.gravity);const o=(i=(n=e.outModes)!==null&&n!==void 0?n:e.outMode)!==null&&i!==void 0?i:e.out_mode;o!==void 0&&(typeof o=="object"?this.outModes.load(o):this.outModes.load({default:o})),this.path.load((r=e.path)!==null&&r!==void 0?r:e.noise),e.random!==void 0&&(this.random=e.random),e.size!==void 0&&(this.size=e.size),e.speed!==void 0&&(this.speed=R(e.speed)),this.spin.load(e.spin),e.straight!==void 0&&(this.straight=e.straight),this.trail.load(e.trail),e.vibrate!==void 0&&(this.vibrate=e.vibrate),e.warp!==void 0&&(this.warp=e.warp)}}class Op{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.sync=!1}load(e){e&&(e.count!==void 0&&(this.count=R(e.count)),e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=R(e.speed)),e.decay!==void 0&&(this.decay=R(e.decay)),e.sync!==void 0&&(this.sync=e.sync))}}class Ng extends Op{constructor(){super(),this.destroy="none",this.enable=!1,this.speed=2,this.startValue="random",this.sync=!1}get opacity_min(){return this.minimumValue}set opacity_min(e){this.minimumValue=e}load(e){var n;e&&(super.load(e),e.destroy!==void 0&&(this.destroy=e.destroy),e.enable!==void 0&&(this.enable=e.enable),this.minimumValue=(n=e.minimumValue)!==null&&n!==void 0?n:e.opacity_min,e.speed!==void 0&&(this.speed=e.speed),e.startValue!==void 0&&(this.startValue=e.startValue),e.sync!==void 0&&(this.sync=e.sync))}}class Fg extends dt{constructor(){super(),this.animation=new Ng,this.random.minimumValue=.1,this.value=1}get anim(){return this.animation}set anim(e){this.animation=e}load(e){var n;if(!e)return;super.load(e);const i=(n=e.animation)!==null&&n!==void 0?n:e.anim;i!==void 0&&(this.animation.load(i),this.value=R(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}class Bg{constructor(){this.enable=!1,this.width=1920,this.height=1080}get area(){return this.width}set area(e){this.width=e}get factor(){return this.height}set factor(e){this.height=e}get value_area(){return this.area}set value_area(e){this.area=e}load(e){var n,i,r;if(!e)return;e.enable!==void 0&&(this.enable=e.enable);const o=(i=(n=e.width)!==null&&n!==void 0?n:e.area)!==null&&i!==void 0?i:e.value_area;o!==void 0&&(this.width=o);const s=(r=e.height)!==null&&r!==void 0?r:e.factor;s!==void 0&&(this.height=s)}}class $g{constructor(){this.density=new Bg,this.limit=0,this.value=0}get max(){return this.limit}set max(e){this.limit=e}load(e){var n;if(!e)return;this.density.load(e.density);const i=(n=e.limit)!==null&&n!==void 0?n:e.max;i!==void 0&&(this.limit=i),e.value!==void 0&&(this.value=e.value)}}class Ug{constructor(){this.blur=0,this.color=new ae,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(e){e&&(e.blur!==void 0&&(this.blur=e.blur),this.color=ae.create(this.color,e.color),e.enable!==void 0&&(this.enable=e.enable),e.offset!==void 0&&(e.offset.x!==void 0&&(this.offset.x=e.offset.x),e.offset.y!==void 0&&(this.offset.y=e.offset.y)))}}const gl="character",wl="char",xl="image",bl="images",kl="polygon",_l="star";class Hg{constructor(){this.options={},this.type="circle"}get character(){var e;return(e=this.options[gl])!==null&&e!==void 0?e:this.options[wl]}set character(e){this.options[wl]=this.options[gl]=e}get custom(){return this.options}set custom(e){this.options=e}get image(){var e;return(e=this.options[xl])!==null&&e!==void 0?e:this.options[bl]}set image(e){this.options[bl]=this.options[xl]=e}get images(){return this.image}set images(e){this.image=e}get polygon(){var e;return(e=this.options[kl])!==null&&e!==void 0?e:this.options[_l]}set polygon(e){this.options[_l]=this.options[kl]=e}get stroke(){return[]}set stroke(e){}load(e){var n,i,r;if(!e)return;const o=(n=e.options)!==null&&n!==void 0?n:e.custom;if(o!==void 0)for(const s in o){const l=o[s];l&&(this.options[s]=de((i=this.options[s])!==null&&i!==void 0?i:{},l))}this.loadShape(e.character,gl,wl,!0),this.loadShape(e.polygon,kl,_l,!1),this.loadShape((r=e.image)!==null&&r!==void 0?r:e.images,xl,bl,!0),e.type!==void 0&&(this.type=e.type)}loadShape(e,n,i,r){var o,s;if(!e)return;const l=e instanceof Array,a=l?[]:{},u=l!==this.options[n]instanceof Array,c=l!==this.options[i]instanceof Array;u&&(this.options[n]=a),c&&r&&(this.options[i]=a),this.options[n]=de((o=this.options[n])!==null&&o!==void 0?o:a,e),(!this.options[i]||r)&&(this.options[i]=de((s=this.options[i])!==null&&s!==void 0?s:a,e))}}class Vg extends Op{constructor(){super(),this.destroy="none",this.enable=!1,this.speed=5,this.startValue="random",this.sync=!1}get size_min(){return this.minimumValue}set size_min(e){this.minimumValue=e}load(e){var n;super.load(e),e&&(e.destroy!==void 0&&(this.destroy=e.destroy),e.enable!==void 0&&(this.enable=e.enable),this.minimumValue=(n=e.minimumValue)!==null&&n!==void 0?n:e.size_min,e.speed!==void 0&&(this.speed=e.speed),e.startValue!==void 0&&(this.startValue=e.startValue),e.sync!==void 0&&(this.sync=e.sync))}}class Wg extends dt{constructor(){super(),this.animation=new Vg,this.random.minimumValue=1,this.value=3}get anim(){return this.animation}set anim(e){this.animation=e}load(e){var n;if(super.load(e),!e)return;const i=(n=e.animation)!==null&&n!==void 0?n:e.anim;i!==void 0&&(this.animation.load(i),this.value=R(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}class md{constructor(){this.width=0}load(e){e&&(e.color!==void 0&&(this.color=Oi.create(this.color,e.color)),e.width!==void 0&&(this.width=R(e.width)),e.opacity!==void 0&&(this.opacity=R(e.opacity)))}}class qg extends dt{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(e){super.load(e),e&&(e.opacityRate!==void 0&&(this.opacityRate=e.opacityRate),e.sizeRate!==void 0&&(this.sizeRate=e.sizeRate),e.velocityRate!==void 0&&(this.velocityRate=e.velocityRate))}}class Qg{constructor(e,n){this._engine=e,this._container=n,this.bounce=new Ep,this.collisions=new Eg,this.color=new Oi,this.color.value="#fff",this.groups={},this.move=new Lg,this.number=new $g,this.opacity=new Fg,this.reduceDuplicates=!1,this.shadow=new Ug,this.shape=new Hg,this.size=new Wg,this.stroke=new md,this.zIndex=new qg}load(e){var n,i,r,o,s,l;if(!e)return;if(this.bounce.load(e.bounce),this.color.load(Oi.create(this.color,e.color)),e.groups!==void 0)for(const c in e.groups){const d=e.groups[c];d!==void 0&&(this.groups[c]=de((n=this.groups[c])!==null&&n!==void 0?n:{},d))}this.move.load(e.move),this.number.load(e.number),this.opacity.load(e.opacity),e.reduceDuplicates!==void 0&&(this.reduceDuplicates=e.reduceDuplicates),this.shape.load(e.shape),this.size.load(e.size),this.shadow.load(e.shadow),this.zIndex.load(e.zIndex);const a=(r=(i=e.move)===null||i===void 0?void 0:i.collisions)!==null&&r!==void 0?r:(o=e.move)===null||o===void 0?void 0:o.bounce;a!==void 0&&(this.collisions.enable=a),this.collisions.load(e.collisions),e.interactivity!==void 0&&(this.interactivity=de({},e.interactivity));const u=(s=e.stroke)!==null&&s!==void 0?s:(l=e.shape)===null||l===void 0?void 0:l.stroke;if(u&&(this.stroke=K(u,c=>{const d=new md;return d.load(c),d})),this._container){const c=this._engine.plugins.updaters.get(this._container);if(c)for(const f of c)f.loadOptions&&f.loadOptions(this,e);const d=this._engine.plugins.interactors.get(this._container);if(d)for(const f of d)f.loadParticlesOptions&&f.loadParticlesOptions(this,e)}}}function zp(t,...e){for(const n of e)t.load(n)}function Iu(t,e,...n){const i=new Qg(t,e);return zp(i,...n),i}class Gg{constructor(e,n){this._engine=e,this._container=n,this.autoPlay=!0,this.background=new ug,this.backgroundMask=new dg,this.defaultThemes={},this.delay=0,this.fullScreen=new fg,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new Pp(e,n),this.manualParticles=[],this.particles=Iu(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}get backgroundMode(){return this.fullScreen}set backgroundMode(e){this.fullScreen.load(e)}get fps_limit(){return this.fpsLimit}set fps_limit(e){this.fpsLimit=e}get retina_detect(){return this.detectRetina}set retina_detect(e){this.detectRetina=e}load(e){var n,i,r,o,s;if(!e)return;e.preset!==void 0&&K(e.preset,d=>this._importPreset(d)),e.autoPlay!==void 0&&(this.autoPlay=e.autoPlay),e.delay!==void 0&&(this.delay=R(e.delay));const l=(n=e.detectRetina)!==null&&n!==void 0?n:e.retina_detect;l!==void 0&&(this.detectRetina=l),e.duration!==void 0&&(this.duration=R(e.duration));const a=(i=e.fpsLimit)!==null&&i!==void 0?i:e.fps_limit;a!==void 0&&(this.fpsLimit=a),e.pauseOnBlur!==void 0&&(this.pauseOnBlur=e.pauseOnBlur),e.pauseOnOutsideViewport!==void 0&&(this.pauseOnOutsideViewport=e.pauseOnOutsideViewport),e.zLayers!==void 0&&(this.zLayers=e.zLayers),this.background.load(e.background);const u=(r=e.fullScreen)!==null&&r!==void 0?r:e.backgroundMode;typeof u=="boolean"?this.fullScreen.enable=u:this.fullScreen.load(u),this.backgroundMask.load(e.backgroundMask),this.interactivity.load(e.interactivity),e.manualParticles!==void 0&&(this.manualParticles=e.manualParticles.map(d=>{const f=new wg;return f.load(d),f})),this.particles.load(e.particles),this.style=de(this.style,e.style),this._engine.plugins.loadOptions(this,e),e.smooth!==void 0&&(this.smooth=e.smooth);const c=this._engine.plugins.interactors.get(this._container);if(c)for(const d of c)d.loadOptions&&d.loadOptions(this,e);if(e.responsive!==void 0)for(const d of e.responsive){const f=new xg;f.load(d),this.responsive.push(f)}if(this.responsive.sort((d,f)=>d.maxWidth-f.maxWidth),e.themes!==void 0)for(const d of e.themes){const f=this.themes.find(m=>m.name===d.name);if(f)f.load(d);else{const m=new kg;m.load(d),this.themes.push(m)}}this.defaultThemes.dark=(o=this._findDefaultTheme("dark"))===null||o===void 0?void 0:o.name,this.defaultThemes.light=(s=this._findDefaultTheme("light"))===null||s===void 0?void 0:s.name}setResponsive(e,n,i){this.load(i);const r=this.responsive.find(o=>o.mode==="screen"&&screen?o.maxWidth>screen.availWidth:o.maxWidth*n>e);return this.load(r==null?void 0:r.options),r==null?void 0:r.maxWidth}setTheme(e){if(e){const n=this.themes.find(i=>i.name===e);n&&this.load(n.options)}else{const n=mp("(prefers-color-scheme: dark)"),i=n&&n.matches,r=this._findDefaultTheme(i?"dark":"light");r&&this.load(r.options)}}_findDefaultTheme(e){var n;return(n=this.themes.find(i=>i.default.value&&i.default.mode===e))!==null&&n!==void 0?n:this.themes.find(i=>i.default.value&&i.default.mode==="any")}_importPreset(e){this.load(this._engine.plugins.getPreset(e))}}class Kg{constructor(e,n){this.container=n,this._engine=e,this._interactors=this._engine.plugins.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[]}async externalInteract(e){for(const n of this._externalInteractors)n.isEnabled()&&await n.interact(e)}handleClickMode(e){for(const n of this._externalInteractors)n.handleClickMode&&n.handleClickMode(e)}init(){this._externalInteractors=[],this._particleInteractors=[];for(const e of this._interactors){switch(e.type){case"external":this._externalInteractors.push(e);break;case"particles":this._particleInteractors.push(e);break}e.init()}}async particlesInteract(e,n){for(const i of this._externalInteractors)i.clear(e,n);for(const i of this._particleInteractors)i.isEnabled(e)&&await i.interact(e,n)}async reset(e){for(const n of this._externalInteractors)n.isEnabled()&&await n.reset(e);for(const n of this._particleInteractors)n.isEnabled(e)&&await n.reset(e)}}const vd=t=>{G(t.outMode,t.checkModes)&&(t.coord>t.maxCoord-t.radius*2?t.setCb(-t.radius):t.coord=.5?"increasing":"decreasing";break;case"max":default:this.size.value=this.size.max,this.size.status="decreasing";break}this.size.initialValue=this.size.value,this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this.position=this._calcPosition(h,n,bt(S,0,h.zLayers)),this.initialPosition=this.position.copy();const J=h.canvas.size,tt=Object.assign({},this.options.move.center),ft=tt.mode==="percent";switch(this.moveCenter={x:tt.x*(ft?J.width/100:1),y:tt.y*(ft?J.height/100:1),radius:(c=this.options.move.center.radius)!==null&&c!==void 0?c:0,mode:(d=this.options.move.center.mode)!==null&&d!==void 0?d:"percent"},this.direction=Py(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case"inside":this.outType="inside";break;case"outside":this.outType="outside";break}this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy(),this.moveDecay=1-P(this.options.move.decay),this.offset=V.origin;const jt=h.particles;jt.needsSort=jt.needsSort||jt.lastZIndex=-e&&this.position.y>=-e&&this.position.y<=n.height+e&&this.position.x<=n.width+e}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){var e;for(const n of this.container.particles.updaters)(e=n.reset)===null||e===void 0||e.call(n,this)}_calcPosition(e,n,i,r=0){var o,s,l,a;for(const[,b]of e.plugins){const v=b.particlePosition!==void 0?b.particlePosition(n,this):void 0;if(v!==void 0)return qe.create(v.x,v.y,i)}const u=e.canvas.size,c=zy({size:u,position:n}),d=qe.create(c.x,c.y,i),f=this.getRadius(),m=this.options.move.outModes,h=b=>{vd({outMode:b,checkModes:["bounce","bounce-horizontal"],coord:d.x,maxCoord:e.canvas.size.width,setCb:v=>d.x+=v,radius:f})},y=b=>{vd({outMode:b,checkModes:["bounce","bounce-vertical"],coord:d.y,maxCoord:e.canvas.size.height,setCb:v=>d.y+=v,radius:f})};return h((o=m.left)!==null&&o!==void 0?o:m.default),h((s=m.right)!==null&&s!==void 0?s:m.default),y((l=m.top)!==null&&l!==void 0?l:m.default),y((a=m.bottom)!==null&&a!==void 0?a:m.default),this._checkOverlap(d,r)?this._calcPosition(e,void 0,i,r+1):d}_calculateVelocity(){const e=Ey(this.direction),n=e.copy(),i=this.options.move;if(i.direction==="inside"||i.direction==="outside")return n;const r=Math.PI/180*P(i.angle.value),o=Math.PI/180*P(i.angle.offset),s={left:o-r/2,right:o+r/2};return i.straight||(n.angle+=ve(R(s.left,s.right))),i.random&&typeof i.speed=="number"&&(n.length*=I()),n}_checkOverlap(e,n=0){const i=this.options.collisions,r=this.getRadius();if(!i.enable)return!1;const o=i.overlap;if(o.enable)return!1;const s=o.retries;if(s>=0&&n>s)throw new Error("Particle is overlapping and can't be placed");let l=!1;for(const a of this.container.particles.array)if(ye(e,a.position)u}else if(n.size!==void 0){const a=n.size.width,u=n.size.height;return Math.pow(s.x-a,2)+Math.pow(s.y-u,2)<=l**2||s.x<=l+a&&s.y<=l+u||s.x<=a||s.y<=u}return!1}}class Le extends Mp{constructor(e,n,i,r){super(e,n),this.size={height:r,width:i}}contains(e){const n=this.size.width,i=this.size.height,r=this.position;return e.x>=r.x&&e.x<=r.x+n&&e.y>=r.y&&e.y<=r.y+i}intersects(e){e instanceof He&&e.intersects(this);const n=this.size.width,i=this.size.height,r=this.position,o=e.position,s=e instanceof Le?e.size:{width:0,height:0},l=s.width,a=s.height;return o.xr.x&&o.yr.y}}class In{constructor(e,n){this.rectangle=e,this.capacity=n,this._points=[],this._divided=!1}insert(e){var n,i,r,o,s;return this.rectangle.contains(e.position)?this._points.lengthu.particle.getRadius()&&(!n||n(u.particle))||a.push(u.particle);return this._divided&&((r=this._NE)===null||r===void 0||r.query(e,n,a),(o=this._NW)===null||o===void 0||o.query(e,n,a),(s=this._SE)===null||s===void 0||s.query(e,n,a),(l=this._SW)===null||l===void 0||l.query(e,n,a)),a}queryCircle(e,n,i){return this.query(new He(e.x,e.y,n),i)}queryRectangle(e,n,i){return this.query(new Le(e.x,e.y,n.width,n.height),i)}subdivide(){const e=this.rectangle.position.x,n=this.rectangle.position.y,i=this.rectangle.size.width,r=this.rectangle.size.height,o=this.capacity;this._NE=new In(new Le(e,n,i/2,r/2),o),this._NW=new In(new Le(e+i/2,n,i/2,r/2),o),this._SE=new In(new Le(e,n+r/2,i/2,r/2),o),this._SW=new In(new Le(e+i/2,n+r/2,i/2,r/2),o),this._divided=!0}}let Jg=class{constructor(e,n){this.container=n,this._engine=e,this.nextId=0,this.array=[],this.zArray=[],this.pool=[],this.limit=0,this.needsSort=!1,this.lastZIndex=0,this.interactionManager=new Kg(this._engine,n);const i=this.container.canvas.size;this.quadTree=new In(new Le(-i.width/4,-i.height/4,i.width*3/2,i.height*3/2),4),this.movers=this._engine.plugins.getMovers(n,!0),this.updaters=this._engine.plugins.getUpdaters(n,!0)}get count(){return this.array.length}addManualParticles(){const e=this.container,n=e.actualOptions;for(const i of n.manualParticles)this.addParticle(Oy({size:e.canvas.size,position:i.position}),i.options)}addParticle(e,n,i,r){const o=this.container,s=o.actualOptions,l=s.particles.number.limit;if(l>0){const a=this.count+1-l;a>0&&this.removeQuantity(a)}return this._pushParticle(e,n,i,r)}clear(){this.array=[],this.zArray=[]}destroy(){this.array=[],this.zArray=[],this.movers=[],this.updaters=[]}async draw(e){const n=this.container,i=this.container.canvas.size;this.quadTree=new In(new Le(-i.width/4,-i.height/4,i.width*3/2,i.height*3/2),4),n.canvas.clear(),await this.update(e),this.needsSort&&(this.zArray.sort((r,o)=>o.position.z-r.position.z||r.id-o.id),this.lastZIndex=this.zArray[this.zArray.length-1].position.z,this.needsSort=!1);for(const[,r]of n.plugins)n.canvas.drawPlugin(r,e);for(const r of this.zArray)r.draw(e)}handleClickMode(e){this.interactionManager.handleClickMode(e)}init(){var e;const n=this.container,i=n.actualOptions;this.lastZIndex=0,this.needsSort=!1;let r=!1;this.updaters=this._engine.plugins.getUpdaters(n,!0),this.interactionManager.init();for(const[,o]of n.plugins)if(o.particlesInitialization!==void 0&&(r=o.particlesInitialization()),r)break;this.interactionManager.init();for(const[,o]of n.pathGenerators)o.init(n);if(this.addManualParticles(),!r){for(const o in i.particles.groups){const s=i.particles.groups[o];for(let l=this.count,a=0;a<((e=s.number)===null||e===void 0?void 0:e.value)&&lthis.count)return;let o=0;for(let s=e;o0?o.limit:l,u=Math.min(l,a)*s+n,c=Math.min(this.count,this.array.filter(d=>d.group===i).length);this.limit=o.limit*s,cu&&this.removeQuantity(c-u,i)}_initDensityFactor(e){const n=this.container;if(!n.canvas.element||!e.enable)return 1;const i=n.canvas.element,r=n.retina.pixelRatio;return i.width*i.height/(e.factor*r**2*e.area)}_pushParticle(e,n,i,r){try{let o=this.pool.pop();o?o.init(this.nextId,e,n,i):o=new Yg(this._engine,this.nextId,this.container,e,n,i);let s=!0;return r&&(s=r(o)),s?(this.array.push(o),this.zArray.push(o),this.nextId++,this._engine.dispatchEvent("particleAdded",{container:this.container,data:{particle:o}}),o):void 0}catch(o){console.warn(`error adding particle: ${o}`);return}}};class Zg{constructor(e){this.container=e}init(){const e=this.container,n=e.actualOptions;this.pixelRatio=!n.detectRetina||Un()?1:window.devicePixelRatio,this.reduceFactor=1;const i=this.pixelRatio;if(e.canvas.element){const o=e.canvas.element;e.canvas.size.width=o.offsetWidth*i,e.canvas.size.height=o.offsetHeight*i}const r=n.particles;this.attractDistance=P(r.move.attract.distance)*i,this.sizeAnimationSpeed=P(r.size.animation.speed)*i,this.maxSpeed=P(r.move.gravity.maxSpeed)*i}initParticle(e){const n=e.options,i=this.pixelRatio,r=n.move.distance,o=e.retina;o.attractDistance=P(n.move.attract.distance)*i,o.moveDrift=P(n.move.drift)*i,o.moveSpeed=P(n.move.speed)*i,o.sizeAnimationSpeed=P(n.size.animation.speed)*i;const s=o.maxDistance;s.horizontal=r.horizontal!==void 0?r.horizontal*i:void 0,s.vertical=r.vertical!==void 0?r.vertical*i:void 0,o.maxSpeed=P(n.move.gravity.maxSpeed)*i}}function ee(t){return t&&!t.destroyed}function Vi(t,e,...n){const i=new Gg(t,e);return zp(i,...n),i}const e1="default",yd={generate:t=>{const e=t.velocity.copy();return e.angle+=e.length*Math.PI/180,e},init:()=>{},update:()=>{},reset:()=>{}};class t1{constructor(e,n,i){this.id=n,this._engine=e,this.fpsLimit=120,this.smooth=!1,this._delay=0,this.duration=0,this.lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this.lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._sourceOptions=i,this._initialSourceOptions=i,this.retina=new Zg(this),this.canvas=new og(this),this.particles=new Jg(this._engine,this),this.frameManager=new ag(this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.drawers=new Map,this._options=Vi(this._engine,this),this.actualOptions=Vi(this._engine,this),this._eventListeners=new sg(this),typeof IntersectionObserver<"u"&&IntersectionObserver&&(this._intersectionObserver=new IntersectionObserver(r=>this._intersectionManager(r))),this._engine.dispatchEvent("containerBuilt",{container:this})}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(e){if(!ee(this))return;const n=this.interactivity.element;if(!n)return;const i=(d,f,m)=>{if(!ee(this))return;const h=this.retina.pixelRatio,y={x:f.x*h,y:f.y*h},b=this.particles.quadTree.queryCircle(y,m*h);e(d,b)},r=d=>{if(!ee(this))return;const f=d,m={x:f.offsetX||f.clientX,y:f.offsetY||f.clientY};i(d,m,1)},o=()=>{ee(this)&&(u=!0,c=!1)},s=()=>{ee(this)&&(c=!0)},l=d=>{if(ee(this)){if(u&&!c){const f=d;let m=f.touches[f.touches.length-1];if(!m&&(m=f.changedTouches[f.changedTouches.length-1],!m))return;const h=this.canvas.element,y=h?h.getBoundingClientRect():void 0,b={x:m.clientX-(y?y.left:0),y:m.clientY-(y?y.top:0)};i(d,b,Math.max(m.radiusX,m.radiusY))}u=!1,c=!1}},a=()=>{ee(this)&&(u=!1,c=!1)};let u=!1,c=!1;n.addEventListener("click",r),n.addEventListener("touchstart",o),n.addEventListener("touchmove",s),n.addEventListener("touchend",l),n.addEventListener("touchcancel",a)}addPath(e,n,i=!1){return!ee(this)||!i&&this.pathGenerators.has(e)?!1:(this.pathGenerators.set(e,n??yd),!0)}destroy(){if(!ee(this))return;this.stop(),this.particles.destroy(),this.canvas.destroy();for(const[,i]of this.drawers)i.destroy&&i.destroy(this);for(const i of this.drawers.keys())this.drawers.delete(i);this._engine.plugins.destroy(this),this.destroyed=!0;const e=this._engine.dom(),n=e.findIndex(i=>i===this);n>=0&&e.splice(n,1),this._engine.dispatchEvent("containerDestroyed",{container:this})}draw(e){if(!ee(this))return;let n=e;this._drawAnimationFrame=Ty()(async i=>{n&&(this.lastFrameTime=void 0,n=!1),await this.frameManager.nextFrame(i)})}exportConfiguration(){return JSON.stringify(this.actualOptions,(e,n)=>{if(!(e==="_engine"||e==="_container"))return n},2)}exportImage(e,n,i){const r=this.canvas.element;r&&r.toBlob(e,n??"image/png",i)}exportImg(e){this.exportImage(e)}getAnimationStatus(){return!this._paused&&!this.pageHidden&&ee(this)}handleClickMode(e){if(ee(this)){this.particles.handleClickMode(e);for(const[,n]of this.plugins)n.handleClickMode&&n.handleClickMode(e)}}async init(){if(!ee(this))return;const e=this._engine.plugins.getSupportedShapes();for(const i of e){const r=this._engine.plugins.getShapeDrawer(i);r&&this.drawers.set(i,r)}this._options=Vi(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=Vi(this._engine,this,this._options);const n=this._engine.plugins.getAvailablePlugins(this);for(const[i,r]of n)this.plugins.set(i,r);this.retina.init(),await this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize(),this.zLayers=this.actualOptions.zLayers,this.duration=P(this.actualOptions.duration)*1e3,this._delay=P(this.actualOptions.delay)*1e3,this.lifeTime=0,this.fpsLimit=this.actualOptions.fpsLimit>0?this.actualOptions.fpsLimit:120,this.smooth=this.actualOptions.smooth;for(const[,i]of this.drawers)i.init&&await i.init(this);for(const[,i]of this.plugins)i.init&&await i.init();this._engine.dispatchEvent("containerInit",{container:this}),this.particles.init(),this.particles.setDensity();for(const[,i]of this.plugins)i.particlesSetup&&i.particlesSetup();this._engine.dispatchEvent("particlesSetup",{container:this})}async loadTheme(e){ee(this)&&(this._currentTheme=e,await this.refresh())}pause(){if(ee(this)&&(this._drawAnimationFrame!==void 0&&(Ry()(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){for(const[,e]of this.plugins)e.pause&&e.pause();this.pageHidden||(this._paused=!0),this._engine.dispatchEvent("containerPaused",{container:this})}}play(e){if(!ee(this))return;const n=this._paused||e;if(this._firstStart&&!this.actualOptions.autoPlay){this._firstStart=!1;return}if(this._paused&&(this._paused=!1),n)for(const[,i]of this.plugins)i.play&&i.play();this._engine.dispatchEvent("containerPlay",{container:this}),this.draw(n||!1)}async refresh(){if(ee(this))return this.stop(),this.start()}async reset(){if(ee(this))return this._options=Vi(this._engine,this),this.refresh()}setNoise(e,n,i){ee(this)&&this.setPath(e,n,i)}setPath(e,n,i){if(!e||!ee(this))return;const r=Object.assign({},yd);if(typeof e=="function")r.generate=e,n&&(r.init=n),i&&(r.update=i);else{const o=r;r.generate=e.generate||o.generate,r.init=e.init||o.init,r.update=e.update||o.update}this.addPath(e1,r,!0)}async start(){!ee(this)||this.started||(await this.init(),this.started=!0,await new Promise(e=>{this._delayTimeout=setTimeout(async()=>{this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element);for(const[,n]of this.plugins)n.start&&await n.start();this._engine.dispatchEvent("containerStarted",{container:this}),this.play(),e()},this._delay)}))}stop(){if(!(!ee(this)||!this.started)){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element);for(const[,e]of this.plugins)e.stop&&e.stop();for(const e of this.plugins.keys())this.plugins.delete(e);this._sourceOptions=this._options,this._engine.dispatchEvent("containerStopped",{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];const e=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this.responsiveMaxWidth===e?!1:(this.responsiveMaxWidth=e,!0)}_intersectionManager(e){if(!(!ee(this)||!this.actualOptions.pauseOnOutsideViewport))for(const n of e)n.target===this.interactivity.element&&(n.isIntersecting?this.play:this.pause)()}}async function n1(t,e){const n=lt(t,e);if(!n)return;const i=await fetch(n);if(i.ok)return i.json();console.error(`tsParticles - Error ${i.status} while retrieving config file`)}class i1{constructor(e){this._engine=e}load(e,n,i){const r={index:i,remote:!1};return typeof e=="string"?r.tagId=e:r.options=e,typeof n=="number"?r.index=n:r.options=n??r.options,this.loadOptions(r)}async loadJSON(e,n,i){let r,o;return typeof n=="number"||n===void 0?r=e:(o=e,r=n),this.loadRemoteOptions({tagId:o,url:r,index:i,remote:!0})}async loadOptions(e){var n,i,r;const o=(n=e.tagId)!==null&&n!==void 0?n:`tsparticles${Math.floor(I()*1e4)}`,{index:s,url:l,remote:a}=e,u=a?await n1(l,s):e.options;let c=(i=e.element)!==null&&i!==void 0?i:document.getElementById(o);c||(c=document.createElement("div"),c.id=o,(r=document.querySelector("body"))===null||r===void 0||r.append(c));const d=lt(u,s),f=this._engine.dom(),m=f.findIndex(b=>b.id===o);if(m>=0){const b=this._engine.domItem(m);b&&!b.destroyed&&(b.destroy(),f.splice(m,1))}let h;if(c.tagName.toLowerCase()==="canvas")h=c,h.dataset[hr]="false";else{const b=c.getElementsByTagName("canvas");b.length?(h=b[0],h.dataset[hr]="false"):(h=document.createElement("canvas"),h.dataset[hr]="true",c.appendChild(h))}h.style.width||(h.style.width="100%"),h.style.height||(h.style.height="100%");const y=new t1(this._engine,o,d);return m>=0?f.splice(m,0,y):f.push(y),y.canvas.loadCanvas(h),await y.start(),y}async loadRemoteOptions(e){return this.loadOptions(e)}async set(e,n,i,r){const o={index:r,remote:!1};return typeof e=="string"?o.tagId=e:o.element=e,n instanceof HTMLElement?o.element=n:o.options=n,typeof i=="number"?o.index=i:o.options=i??o.options,this.loadOptions(o)}async setJSON(e,n,i,r){let o,s,l,a;return e instanceof HTMLElement?(a=e,o=n,l=i):(s=e,a=n,o=i,l=r),this.loadRemoteOptions({tagId:s,url:o,index:l,element:a,remote:!0})}}function Sl(t,e,n,i=!1){let r=e.get(t);return(!r||i)&&(r=[...n.values()].map(o=>o(t)),e.set(t,r)),r}class r1{constructor(e){this._engine=e,this.plugins=[],this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.drawers=new Map,this.pathGenerators=new Map}addInteractor(e,n){this._initializers.interactors.set(e,n)}addParticleMover(e,n){this._initializers.movers.set(e,n)}addParticleUpdater(e,n){this._initializers.updaters.set(e,n)}addPathGenerator(e,n){this.getPathGenerator(e)||this.pathGenerators.set(e,n)}addPlugin(e){this.getPlugin(e.id)||this.plugins.push(e)}addPreset(e,n,i=!1){(i||!this.getPreset(e))&&this.presets.set(e,n)}addShapeDrawer(e,n){K(e,i=>{this.getShapeDrawer(i)||this.drawers.set(i,n)})}destroy(e){this.updaters.delete(e),this.movers.delete(e),this.interactors.delete(e)}getAvailablePlugins(e){const n=new Map;for(const i of this.plugins)i.needsPlugin(e.actualOptions)&&n.set(i.id,i.getPlugin(e));return n}getInteractors(e,n=!1){return Sl(e,this.interactors,this._initializers.interactors,n)}getMovers(e,n=!1){return Sl(e,this.movers,this._initializers.movers,n)}getPathGenerator(e){return this.pathGenerators.get(e)}getPlugin(e){return this.plugins.find(n=>n.id===e)}getPreset(e){return this.presets.get(e)}getShapeDrawer(e){return this.drawers.get(e)}getSupportedShapes(){return this.drawers.keys()}getUpdaters(e,n=!1){return Sl(e,this.updaters,this._initializers.updaters,n)}loadOptions(e,n){for(const i of this.plugins)i.loadOptions(e,n)}loadParticlesOptions(e,n,...i){const r=this.updaters.get(e);if(r)for(const o of r)o.loadOptions&&o.loadOptions(n,...i)}}class o1{constructor(){this._domArray=[],this._eventDispatcher=new _y,this._initialized=!1,this._loader=new i1(this),this.plugins=new r1(this)}get version(){return"2.9.3"}addEventListener(e,n){this._eventDispatcher.addEventListener(e,n)}async addInteractor(e,n){this.plugins.addInteractor(e,n),await this.refresh()}async addMover(e,n){this.plugins.addParticleMover(e,n),await this.refresh()}async addParticleUpdater(e,n){this.plugins.addParticleUpdater(e,n),await this.refresh()}async addPathGenerator(e,n){this.plugins.addPathGenerator(e,n),await this.refresh()}async addPlugin(e){this.plugins.addPlugin(e),await this.refresh()}async addPreset(e,n,i=!1){this.plugins.addPreset(e,n,i),await this.refresh()}async addShape(e,n,i,r,o){let s;typeof n=="function"?s={afterEffect:r,destroy:o,draw:n,init:i}:s=n,this.plugins.addShapeDrawer(e,s),await this.refresh()}dispatchEvent(e,n){this._eventDispatcher.dispatchEvent(e,n)}dom(){return this._domArray}domItem(e){const n=this.dom(),i=n[e];if(i&&!i.destroyed)return i;n.splice(e,1)}init(){this._initialized||(this._initialized=!0)}async load(e,n){return this._loader.load(e,n)}async loadFromArray(e,n,i){return this._loader.load(e,n,i)}async loadJSON(e,n,i){return this._loader.loadJSON(e,n,i)}async refresh(){for(const e of this.dom())await e.refresh()}removeEventListener(e,n){this._eventDispatcher.removeEventListener(e,n)}async set(e,n,i){return this._loader.set(e,n,i)}async setJSON(e,n,i,r){return this._loader.setJSON(e,n,i,r)}setOnClickHandler(e){const n=this.dom();if(!n.length)throw new Error("Can only set click handlers after calling tsParticles.load() or tsParticles.loadJSON()");for(const i of n)i.addClickHandler(e)}}class s1{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(e){var n;const i=e.value,r=(n=i.hsl)!==null&&n!==void 0?n:e.value;if(r.h!==void 0&&r.s!==void 0&&r.l!==void 0)return Pi(r)}handleRangeColor(e){var n;const i=e.value,r=(n=i.hsl)!==null&&n!==void 0?n:e.value;if(r.h!==void 0&&r.l!==void 0)return Pi({h:P(r.h),l:P(r.l),s:P(r.s)})}parseString(e){if(!e.startsWith("hsl"))return;const n=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.%]+)\s*)?\)/i,i=n.exec(e);return i?By({a:i.length>4?pp(i[5]):1,h:parseInt(i[1],10),l:parseInt(i[3],10),s:parseInt(i[2],10)}):void 0}}class l1{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(e){var n;const i=e.value,r=(n=i.rgb)!==null&&n!==void 0?n:e.value;if(r.r!==void 0)return r}handleRangeColor(e){var n;const i=e.value,r=(n=i.rgb)!==null&&n!==void 0?n:e.value;if(r.r!==void 0)return{r:P(r.r),g:P(r.g),b:P(r.b)}}parseString(e){if(!e.startsWith(this.stringPrefix))return;const n=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.%]+)\s*)?\)/i,i=n.exec(e);return i?{a:i.length>4?pp(i[5]):1,b:parseInt(i[3],10),g:parseInt(i[2],10),r:parseInt(i[1],10)}:void 0}}class kt{constructor(e){this.container=e,this.type="external"}}class Du{constructor(e){this.container=e,this.type="particles"}}const a1=new l1,u1=new s1;xp(a1);xp(u1);const Ao=new o1;Ao.init();var c1=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var i,r,o;if(Array.isArray(e)){if(i=e.length,i!=n.length)return!1;for(r=i;r--!==0;)if(!t(e[r],n[r]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(o=Object.keys(e),i=o.length,i!==Object.keys(n).length)return!1;for(r=i;r--!==0;)if(!Object.prototype.hasOwnProperty.call(n,o[r]))return!1;for(r=i;r--!==0;){var s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n};const d1=Gd(c1),Ap="tsparticles";class Os extends T.Component{constructor(e){super(e),this.state={init:!1,library:void 0}}destroy(){this.state.library&&(this.state.library.destroy(),this.setState({library:void 0}))}shouldComponentUpdate(e){return!d1(e,this.props)}componentDidUpdate(){this.refresh()}forceUpdate(){this.refresh().then(()=>{super.forceUpdate()})}componentDidMount(){(async()=>(this.props.init&&await this.props.init(Ao),this.setState({init:!0},async()=>{await this.loadParticles()})))()}componentWillUnmount(){this.destroy()}render(){const{width:e,height:n,className:i,canvasClassName:r,id:o}=this.props;return Fe.createElement("div",{className:i,id:o},Fe.createElement("canvas",{className:r,style:Object.assign(Object.assign({},this.props.style),{width:e,height:n})}))}async refresh(){this.destroy(),await this.loadParticles()}async loadParticles(){var e,n,i;if(!this.state.init)return;const r=async l=>{this.props.container&&(this.props.container.current=l),this.setState({library:l}),this.props.loaded&&await this.props.loaded(l)},o=(n=(e=this.props.id)!==null&&e!==void 0?e:Os.defaultProps.id)!==null&&n!==void 0?n:Ap,s=this.props.url?await Ao.loadJSON(o,this.props.url):await Ao.load(o,(i=this.props.params)!==null&&i!==void 0?i:this.props.options);await r(s)}}Os.defaultProps={width:"100%",height:"100%",options:{},style:{},url:void 0,id:Ap};class f1{constructor(){this.radius=0,this.mass=0}load(e){e&&(e.mass!==void 0&&(this.mass=e.mass),e.radius!==void 0&&(this.radius=e.radius))}}class h1 extends dt{constructor(){super(),this.density=5,this.value=50,this.limit=new f1}load(e){e&&(super.load(e),e.density!==void 0&&(this.density=e.density),typeof e.limit=="number"?this.limit.radius=e.limit:this.limit.load(e.limit))}}class as{constructor(){this.color=new ae,this.color.value="#000000",this.draggable=!1,this.opacity=1,this.destroy=!0,this.orbits=!1,this.size=new h1}load(e){e!==void 0&&(e.color!==void 0&&(this.color=ae.create(this.color,e.color)),e.draggable!==void 0&&(this.draggable=e.draggable),this.name=e.name,e.opacity!==void 0&&(this.opacity=e.opacity),e.position!==void 0&&(this.position={},e.position.x!==void 0&&(this.position.x=R(e.position.x)),e.position.y!==void 0&&(this.position.y=R(e.position.y))),e.size!==void 0&&this.size.load(e.size),e.destroy!==void 0&&(this.destroy=e.destroy),e.orbits!==void 0&&(this.orbits=e.orbits))}}class p1{constructor(e,n,i,r){var o,s,l;this.absorbers=e,this.container=n,this.initialPosition=r?V.create(r.x,r.y):void 0,i instanceof as?this.options=i:(this.options=new as,this.options.load(i)),this.dragging=!1,this.name=this.options.name,this.opacity=this.options.opacity,this.size=P(this.options.size.value)*n.retina.pixelRatio,this.mass=this.size*this.options.size.density*n.retina.reduceFactor;const a=this.options.size.limit;this.limit={radius:a.radius*n.retina.pixelRatio*n.retina.reduceFactor,mass:a.mass},this.color=(o=at(this.options.color))!==null&&o!==void 0?o:{b:0,g:0,r:0},this.position=(l=(s=this.initialPosition)===null||s===void 0?void 0:s.copy())!==null&&l!==void 0?l:this.calcPosition()}attract(e){const n=this.container,i=this.options;if(i.draggable){const u=n.interactivity.mouse;u.clicking&&u.downPosition?ye(this.position,u.downPosition)<=this.size&&(this.dragging=!0):this.dragging=!1,this.dragging&&u.position&&(this.position.x=u.position.x,this.position.y=u.position.y)}const r=e.getPosition(),{dx:o,dy:s,distance:l}=Re(this.position,r),a=V.create(o,s);if(a.length=this.mass/Math.pow(l,2)*n.retina.reduceFactor,le.getRadius()&&l=0?"clockwise":"counter-clockwise");const s=e.absorberOrbit.length,l=e.absorberOrbit.angle,a=e.absorberOrbitDirection;e.velocity.setTo(V.origin);const u={x:a==="clockwise"?Math.cos:Math.sin,y:a==="clockwise"?Math.sin:Math.cos};e.position.x=this.position.x+s*u.x(l),e.position.y=this.position.y+s*u.y(l),e.absorberOrbit.length-=n.length,e.absorberOrbit.angle+=((i=e.retina.moveSpeed)!==null&&i!==void 0?i:0)*r.retina.pixelRatio/100*r.retina.reduceFactor}else{const s=V.origin;s.length=n.length,s.angle=n.angle,e.velocity.addTo(s)}}}class m1{constructor(e){this.container=e,this.array=[],this.absorbers=[],this.interactivityAbsorbers=[],e.getAbsorber=n=>n===void 0||typeof n=="number"?this.array[n||0]:this.array.find(i=>i.name===n),e.addAbsorber=(n,i)=>this.addAbsorber(n,i)}addAbsorber(e,n){const i=new p1(this,this.container,e,n);return this.array.push(i),i}draw(e){for(const n of this.array)n.draw(e)}handleClickMode(e){const n=this.absorbers,i=this.interactivityAbsorbers;if(e==="absorber"){const r=lt(i),o=r??lt(n),s=this.container.interactivity.mouse.clickPosition;this.addAbsorber(o,s)}}async init(){this.absorbers=this.container.actualOptions.absorbers,this.interactivityAbsorbers=this.container.actualOptions.interactivity.modes.absorbers,K(this.absorbers,e=>{this.addAbsorber(e)})}particleUpdate(e){for(const n of this.array)if(n.attract(e),e.destroyed)break}removeAbsorber(e){const n=this.array.indexOf(e);n>=0&&this.array.splice(n,1)}resize(){for(const e of this.array)e.resize()}stop(){this.array=[]}}class v1{constructor(){this.id="absorbers"}getPlugin(e){return new m1(e)}loadOptions(e,n){var i,r;!this.needsPlugin(e)&&!this.needsPlugin(n)||(n!=null&&n.absorbers&&(e.absorbers=K(n.absorbers,o=>{const s=new as;return s.load(o),s})),e.interactivity.modes.absorbers=K((r=(i=n==null?void 0:n.interactivity)===null||i===void 0?void 0:i.modes)===null||r===void 0?void 0:r.absorbers,o=>{const s=new as;return s.load(o),s}))}needsPlugin(e){var n,i,r;if(!e)return!1;const o=e.absorbers;return o instanceof Array?!!o.length:o?!0:!!(!((r=(i=(n=e.interactivity)===null||n===void 0?void 0:n.events)===null||i===void 0?void 0:i.onClick)===null||r===void 0)&&r.mode&&G("absorber",e.interactivity.events.onClick.mode))}}async function y1(t){const e=new v1;await t.addPlugin(e)}class g1{load(e){e&&(e.bottom!==void 0&&(this.bottom=R(e.bottom)),e.left!==void 0&&(this.left=R(e.left)),e.right!==void 0&&(this.right=R(e.right)),e.top!==void 0&&(this.top=R(e.top)))}}class w1 extends dt{constructor(){super(),this.value=3}}class x1 extends dt{constructor(){super(),this.value={min:4,max:9}}}class b1{constructor(){this.count=1,this.factor=new w1,this.rate=new x1,this.sizeOffset=!0}load(e){var n;e&&(e.color!==void 0&&(this.color=ae.create(this.color,e.color)),e.count!==void 0&&(this.count=e.count),this.factor.load(e.factor),this.rate.load(e.rate),this.particles=K(e.particles,i=>de({},i)),e.sizeOffset!==void 0&&(this.sizeOffset=e.sizeOffset),e.colorOffset&&(this.colorOffset=(n=this.colorOffset)!==null&&n!==void 0?n:{},e.colorOffset.h!==void 0&&(this.colorOffset.h=e.colorOffset.h),e.colorOffset.s!==void 0&&(this.colorOffset.s=e.colorOffset.s),e.colorOffset.l!==void 0&&(this.colorOffset.l=e.colorOffset.l)))}}class k1{constructor(){this.bounds=new g1,this.mode="none",this.split=new b1}load(e){e&&(e.mode&&(this.mode=e.mode),e.bounds&&this.bounds.load(e.bounds),this.split.load(e.split))}}class _1{constructor(e,n){this.engine=e,this.container=n}init(e){const n=this.container,i=e.options,r=i.destroy;if(!r)return;e.splitCount=0;const o=r.bounds;e.destroyBounds||(e.destroyBounds={}),o.bottom&&(e.destroyBounds.bottom=P(o.bottom)*n.canvas.size.height/100),o.left&&(e.destroyBounds.left=P(o.left)*n.canvas.size.width/100),o.right&&(e.destroyBounds.right=P(o.right)*n.canvas.size.width/100),o.top&&(e.destroyBounds.top=P(o.top)*n.canvas.size.height/100)}isEnabled(e){return!e.destroyed}loadOptions(e,...n){e.destroy||(e.destroy=new k1);for(const i of n)e.destroy.load(i==null?void 0:i.destroy)}particleDestroyed(e,n){if(n)return;const i=e.options.destroy;i&&i.mode==="split"&&this.split(e)}update(e){if(!this.isEnabled(e))return;const n=e.getPosition(),i=e.destroyBounds;i&&(i.bottom!==void 0&&n.y>=i.bottom||i.left!==void 0&&n.x<=i.left||i.right!==void 0&&n.x>=i.right||i.top!==void 0&&n.y<=i.top)&&e.destroy()}addSplitParticle(e,n){var i,r,o;const s=e.options.destroy;if(!s)return;const l=s.split,a=Iu(this.engine,this.container,e.options),u=Qt(l.factor),c=e.getFillColor();l.color?a.color.load(l.color):l.colorOffset&&c?a.color.load({value:{hsl:{h:c.h+P((i=l.colorOffset.h)!==null&&i!==void 0?i:0),s:c.s+P((r=l.colorOffset.s)!==null&&r!==void 0?r:0),l:c.l+P((o=l.colorOffset.l)!==null&&o!==void 0?o:0)}}}):a.color.load({value:{hsl:e.getFillColor()}}),a.move.load({center:{x:e.position.x,y:e.position.y,mode:"precise"}}),typeof a.size.value=="number"?a.size.value/=u:(a.size.value.min/=u,a.size.value.max/=u),a.load(n);const d=l.sizeOffset?R(-e.size.value,e.size.value):0,f={x:e.position.x+ve(d),y:e.position.y+ve(d)};return this.container.particles.addParticle(f,a,e.group,m=>{var h;return m.size.value<.5?!1:(m.velocity.length=ve(R(e.velocity.length,m.velocity.length)),m.splitCount=((h=e.splitCount)!==null&&h!==void 0?h:0)+1,m.unbreakable=!0,setTimeout(()=>{m.unbreakable=!1},500),!0)})}split(e){const n=e.options.destroy;if(!n)return;const i=n.split;if(i.count>=0&&(e.splitCount===void 0||e.splitCount++>i.count))return;const r=Qt(i.rate),o=lt(i.particles);for(let s=0;snew _1(t,e))}class C1{randomPosition(e,n,i){const r=(d,f)=>{const m=I()/4,h=Math.atan(f/d*Math.tan(2*Math.PI*m)),y=I();return y<.25?h:y<.5?Math.PI-h:y<.75?Math.PI+h:-h},o=(d,f,m)=>d*f/Math.sqrt((f*Math.cos(m))**2+(d*Math.sin(m))**2),[s,l]=[n.width/2,n.height/2],a=r(s,l),u=o(s,l,a),c=i?u*Math.sqrt(I()):u;return{x:e.x+c*Math.cos(a),y:e.y+c*Math.sin(a)}}}class P1{constructor(){this.wait=!1}load(e){e&&(e.count!==void 0&&(this.count=e.count),e.delay!==void 0&&(this.delay=e.delay),e.duration!==void 0&&(this.duration=e.duration),e.wait!==void 0&&(this.wait=e.wait))}}class E1{constructor(){this.quantity=1,this.delay=.1}load(e){e!==void 0&&(e.quantity!==void 0&&(this.quantity=R(e.quantity)),e.delay!==void 0&&(this.delay=R(e.delay)))}}class Tp{constructor(){this.mode="percent",this.height=0,this.width=0}load(e){e!==void 0&&(e.mode!==void 0&&(this.mode=e.mode),e.height!==void 0&&(this.height=e.height),e.width!==void 0&&(this.width=e.width))}}class ln{constructor(){this.autoPlay=!0,this.fill=!0,this.life=new P1,this.rate=new E1,this.shape="square",this.startCount=0}load(e){e&&(e.autoPlay!==void 0&&(this.autoPlay=e.autoPlay),e.size!==void 0&&(this.size||(this.size=new Tp),this.size.load(e.size)),e.direction!==void 0&&(this.direction=e.direction),this.domId=e.domId,e.fill!==void 0&&(this.fill=e.fill),this.life.load(e.life),this.name=e.name,this.particles=K(e.particles,n=>de({},n)),this.rate.load(e.rate),e.shape!==void 0&&(this.shape=e.shape),e.position!==void 0&&(this.position={},e.position.x!==void 0&&(this.position.x=R(e.position.x)),e.position.y!==void 0&&(this.position.y=R(e.position.y))),e.spawnColor!==void 0&&(this.spawnColor===void 0&&(this.spawnColor=new Oi),this.spawnColor.load(e.spawnColor)),e.startCount!==void 0&&(this.startCount=e.startCount))}}class O1{constructor(e,n,i,r,o){var s,l,a,u,c,d,f,m;this.emitters=n,this.container=i,this._engine=e,this._currentDuration=0,this._currentEmitDelay=0,this._currentSpawnDelay=0,this._initialPosition=o,r instanceof ln?this.options=r:(this.options=new ln,this.options.load(r)),this._spawnDelay=((s=this.options.life.delay)!==null&&s!==void 0?s:0)*1e3/this.container.retina.reduceFactor,this.position=(l=this._initialPosition)!==null&&l!==void 0?l:this.calcPosition(),this.name=this.options.name,this._shape=(a=this._engine.emitterShapeManager)===null||a===void 0?void 0:a.getShape(this.options.shape),this.fill=this.options.fill,this._firstSpawn=!this.options.life.wait,this._startParticlesAdded=!1;let h=de({},this.options.particles);h??(h={}),(u=h.move)!==null&&u!==void 0||(h.move={}),(c=(m=h.move).direction)!==null&&c!==void 0||(m.direction=this.options.direction),this.options.spawnColor&&(this.spawnColor=bn(this.options.spawnColor)),this._paused=!this.options.autoPlay,this._particlesOptions=h,this.size=(d=this.options.size)!==null&&d!==void 0?d:(()=>{const y=new Tp;return y.load({height:0,mode:"percent",width:0}),y})(),this._lifeCount=(f=this.options.life.count)!==null&&f!==void 0?f:-1,this._immortal=this._lifeCount<=0,this._engine.dispatchEvent("emitterCreated",{container:i,data:{emitter:this}}),this.play()}externalPause(){this._paused=!0,this.pause()}externalPlay(){this._paused=!1,this.play()}getPosition(){if(this.options.domId){const e=this.container,n=document.getElementById(this.options.domId);if(n){const i=n.getBoundingClientRect();return{x:(i.x+i.width/2)*e.retina.pixelRatio,y:(i.y+i.height/2)*e.retina.pixelRatio}}}return this.position}getSize(){const e=this.container;if(this.options.domId){const n=document.getElementById(this.options.domId);if(n){const i=n.getBoundingClientRect();return{width:i.width*e.retina.pixelRatio,height:i.height*e.retina.pixelRatio}}}return{width:this.size.mode==="percent"?e.canvas.size.width*this.size.width/100:this.size.width,height:this.size.mode==="percent"?e.canvas.size.height*this.size.height/100:this.size.height}}pause(){this._paused||delete this._emitDelay}play(){var e;if(!this._paused&&this.container.retina.reduceFactor&&(this._lifeCount>0||this._immortal||!this.options.life.count)&&(this._firstSpawn||this._currentSpawnDelay>=((e=this._spawnDelay)!==null&&e!==void 0?e:0))){if(this._emitDelay===void 0){const n=P(this.options.rate.delay);this._emitDelay=1e3*n/this.container.retina.reduceFactor}(this._lifeCount>0||this._immortal)&&this.prepareToDie()}}resize(){const e=this._initialPosition;this.position=e&&Vr(e,this.container.canvas.size,V.origin)?e:this.calcPosition()}update(e){var n,i,r;this._paused||(this._firstSpawn&&(this._firstSpawn=!1,this._currentSpawnDelay=(n=this._spawnDelay)!==null&&n!==void 0?n:0,this._currentEmitDelay=(i=this._emitDelay)!==null&&i!==void 0?i:0),this._startParticlesAdded||(this._startParticlesAdded=!0,this.emitParticles(this.options.startCount)),this._duration!==void 0&&(this._currentDuration+=e.value,this._currentDuration>=this._duration&&(this.pause(),this._spawnDelay!==void 0&&delete this._spawnDelay,this._immortal||this._lifeCount--,this._lifeCount>0||this._immortal?(this.position=this.calcPosition(),this._spawnDelay=((r=this.options.life.delay)!==null&&r!==void 0?r:0)*1e3/this.container.retina.reduceFactor):this.destroy(),this._currentDuration-=this._duration,delete this._duration)),this._spawnDelay!==void 0&&(this._currentSpawnDelay+=e.value,this._currentSpawnDelay>=this._spawnDelay&&(this._engine.dispatchEvent("emitterPlay",{container:this.container}),this.play(),this._currentSpawnDelay-=this._currentSpawnDelay,delete this._spawnDelay)),this._emitDelay!==void 0&&(this._currentEmitDelay+=e.value,this._currentEmitDelay>=this._emitDelay&&(this.emit(),this._currentEmitDelay-=this._emitDelay)))}calcPosition(){return hp({size:this.container.canvas.size,position:this.options.position})}destroy(){this.emitters.removeEmitter(this),this._engine.dispatchEvent("emitterDestroyed",{container:this.container,data:{emitter:this}})}emit(){if(this._paused)return;const e=P(this.options.rate.quantity);this.emitParticles(e)}emitParticles(e){var n,i,r;const o=this.getPosition(),s=this.getSize(),l=lt(this._particlesOptions);for(let a=0;a0||this._immortal)&&n!==void 0&&n>0&&(this._duration=n*1e3)}setColorAnimation(e,n,i){var r;const o=this.container;if(!e.enable)return n;const s=ve(e.offset),l=P(this.options.rate.delay),a=1e3*l/o.retina.reduceFactor,u=P((r=e.speed)!==null&&r!==void 0?r:0);return(n+u*o.fpsLimit/a+s*3.6)%i}}class z1{constructor(e,n){this.container=n,this._engine=e,this.array=[],this.emitters=[],this.interactivityEmitters={random:{count:1,enable:!1},value:[]},n.getEmitter=i=>i===void 0||typeof i=="number"?this.array[i||0]:this.array.find(r=>r.name===i),n.addEmitter=(i,r)=>this.addEmitter(i,r),n.removeEmitter=i=>{const r=n.getEmitter(i);r&&this.removeEmitter(r)},n.playEmitter=i=>{const r=n.getEmitter(i);r&&r.externalPlay()},n.pauseEmitter=i=>{const r=n.getEmitter(i);r&&r.externalPause()}}addEmitter(e,n){const i=new ln;i.load(e);const r=new O1(this._engine,this,this.container,i,n);return this.array.push(r),r}handleClickMode(e){const n=this.emitters,i=this.interactivityEmitters;if(e!=="emitter")return;let r;if(i&&i.value instanceof Array)if(i.value.length>0&&i.random.enable){r=[];const l=[];for(let a=0;a{this.addEmitter(l,s)})}async init(){if(this.emitters=this.container.actualOptions.emitters,this.interactivityEmitters=this.container.actualOptions.interactivity.modes.emitters,!!this.emitters)if(this.emitters instanceof Array)for(const e of this.emitters)this.addEmitter(e);else this.addEmitter(this.emitters)}pause(){for(const e of this.array)e.pause()}play(){for(const e of this.array)e.play()}removeEmitter(e){const n=this.array.indexOf(e);n>=0&&this.array.splice(n,1)}resize(){for(const e of this.array)e.resize()}stop(){this.array=[]}update(e){for(const n of this.array)n.update(e)}}const Cl=new Map;class M1{constructor(e){this._engine=e}addShape(e,n){this.getShape(e)||Cl.set(e,n)}getShape(e){return Cl.get(e)}getSupportedShapes(){return Cl.keys()}}function gd(t,e){return t+e*(I()-.5)}class A1{randomPosition(e,n,i){if(i)return{x:gd(e.x,n.width),y:gd(e.y,n.height)};{const r=n.width/2,o=n.height/2,s=Math.floor(I()*4),l=(I()-.5)*2;switch(s){case 0:return{x:e.x+l*r,y:e.y-o};case 1:return{x:e.x-r,y:e.y+l*o};case 2:return{x:e.x+l*r,y:e.y+o};case 3:default:return{x:e.x+r,y:e.y+l*o}}}}}class T1{constructor(e){this._engine=e,this.id="emitters"}getPlugin(e){return new z1(this._engine,e)}loadOptions(e,n){var i,r,o,s,l,a;if(!this.needsPlugin(e)&&!this.needsPlugin(n))return;n!=null&&n.emitters&&(e.emitters=K(n.emitters,c=>{const d=new ln;return d.load(c),d}));const u=(r=(i=n==null?void 0:n.interactivity)===null||i===void 0?void 0:i.modes)===null||r===void 0?void 0:r.emitters;if(u)if(u instanceof Array)e.interactivity.modes.emitters={random:{count:1,enable:!0},value:u.map(c=>{const d=new ln;return d.load(c),d})};else{const c=u;if(c.value!==void 0)if(c.value instanceof Array)e.interactivity.modes.emitters={random:{count:(o=c.random.count)!==null&&o!==void 0?o:1,enable:(s=c.random.enable)!==null&&s!==void 0?s:!1},value:c.value.map(d=>{const f=new ln;return f.load(d),f})};else{const d=new ln;d.load(c.value),e.interactivity.modes.emitters={random:{count:(l=c.random.count)!==null&&l!==void 0?l:1,enable:(a=c.random.enable)!==null&&a!==void 0?a:!1},value:d}}else(e.interactivity.modes.emitters={random:{count:1,enable:!1},value:new ln}).value.load(u)}}needsPlugin(e){var n,i,r;if(!e)return!1;const o=e.emitters;return o instanceof Array&&!!o.length||o!==void 0||!!(!((r=(i=(n=e.interactivity)===null||n===void 0?void 0:n.events)===null||i===void 0?void 0:i.onClick)===null||r===void 0)&&r.mode)&&G("emitter",e.interactivity.events.onClick.mode)}}async function R1(t){t.emitterShapeManager||(t.emitterShapeManager=new M1(t)),t.addEmitterShape||(t.addEmitterShape=(n,i)=>{var r;(r=t.emitterShapeManager)===null||r===void 0||r.addShape(n,i)});const e=new T1(t);await t.addPlugin(e),t.addEmitterShape("circle",new C1),t.addEmitterShape("square",new A1)}class I1{constructor(){this.delay=1,this.pauseOnStop=!1,this.quantity=1}load(e){e&&(e.delay!==void 0&&(this.delay=e.delay),e.quantity!==void 0&&(this.quantity=e.quantity),e.particles!==void 0&&(this.particles=de({},e.particles)),e.pauseOnStop!==void 0&&(this.pauseOnStop=e.pauseOnStop))}}class D1 extends kt{constructor(e){super(e),this._delay=0}clear(){}init(){}async interact(e){var n,i,r,o;if(!this.container.retina.reduceFactor)return;const s=this.container,l=s.actualOptions,a=l.interactivity.modes.trail;if(!a)return;const u=a.delay*1e3/this.container.retina.reduceFactor;if(this._delaynew D1(e))}class wd{constructor(){this.enable=!1,this.value=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.value!==void 0&&(this.value=R(e.value)))}}class L1{constructor(){this.darken=new wd,this.enable=!1,this.enlighten=new wd,this.mode="vertical",this.speed=25}load(e){e&&(e.backColor!==void 0&&(this.backColor=ae.create(this.backColor,e.backColor)),this.darken.load(e.darken),e.enable!==void 0&&(this.enable=e.enable),this.enlighten.load(e.enlighten),e.mode!==void 0&&(this.mode=e.mode),e.speed!==void 0&&(this.speed=R(e.speed)))}}function N1(t,e){const n=t.options.roll;if(!t.roll||!(n!=null&&n.enable))return;const i=t.roll.speed*e.factor,r=2*Math.PI;t.roll.angle+=i,t.roll.angle>r&&(t.roll.angle-=r)}class F1{getTransformValues(e){var n;const i=((n=e.roll)===null||n===void 0?void 0:n.enable)&&e.roll,r=i&&i.horizontal,o=i&&i.vertical;return{a:r?Math.cos(i.angle):void 0,d:o?Math.sin(i.angle):void 0}}init(e){const n=e.options.roll;if(n!=null&&n.enable)if(e.roll={enable:n.enable,horizontal:n.mode==="horizontal"||n.mode==="both",vertical:n.mode==="vertical"||n.mode==="both",angle:I()*Math.PI*2,speed:P(n.speed)/360},n.backColor)e.backColor=bn(n.backColor);else if(n.darken.enable&&n.enlighten.enable){const i=I()>=.5?"darken":"enlighten";e.roll.alter={type:i,value:P(i==="darken"?n.darken.value:n.enlighten.value)}}else n.darken.enable?e.roll.alter={type:"darken",value:P(n.darken.value)}:n.enlighten.enable&&(e.roll.alter={type:"enlighten",value:P(n.enlighten.value)});else e.roll={enable:!1,horizontal:!1,vertical:!1,angle:0,speed:0}}isEnabled(e){const n=e.options.roll;return!e.destroyed&&!e.spawning&&!!(n!=null&&n.enable)}loadOptions(e,...n){e.roll||(e.roll=new L1);for(const i of n)e.roll.load(i==null?void 0:i.roll)}update(e,n){this.isEnabled(e)&&N1(e,n)}}async function B1(t){await t.addParticleUpdater("roll",()=>new F1)}const $1=t=>{const e=(i,r)=>t.load(i,r);e.load=(i,r,o)=>{t.loadJSON(i,r).then(s=>{s&&o(s)}).catch(()=>{o(void 0)})},e.setOnClickHandler=i=>{t.setOnClickHandler(i)};const n=t.dom();return{particlesJS:e,pJSDom:n}};class U1{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=R(e.speed)),e.decay!==void 0&&(this.decay=R(e.decay)),e.sync!==void 0&&(this.sync=e.sync))}}class H1 extends dt{constructor(){super(),this.animation=new U1,this.direction="clockwise",this.path=!1,this.value=0}load(e){e&&(super.load(e),e.direction!==void 0&&(this.direction=e.direction),this.animation.load(e.animation),e.path!==void 0&&(this.path=e.path))}}function V1(t,e){var n,i;const r=t.rotate,o=t.options.rotate;if(!r||!o)return;const s=o.animation,l=((n=r.velocity)!==null&&n!==void 0?n:0)*e.factor,a=2*Math.PI,u=(i=r.decay)!==null&&i!==void 0?i:1;if(s.enable){switch(r.status){case"increasing":r.value+=l,r.value>a&&(r.value-=a);break;case"decreasing":default:r.value-=l,r.value<0&&(r.value+=a);break}r.velocity&&u!==1&&(r.velocity*=u)}}class W1{constructor(e){this.container=e}init(e){const n=e.options.rotate;if(!n)return;e.rotate={enable:n.animation.enable,value:P(n.value)*Math.PI/180},e.pathRotation=n.path;let i=n.direction;switch(i==="random"&&(i=Math.floor(I()*2)>0?"counter-clockwise":"clockwise"),i){case"counter-clockwise":case"counterClockwise":e.rotate.status="decreasing";break;case"clockwise":e.rotate.status="increasing";break}const r=n.animation;r.enable&&(e.rotate.decay=1-P(r.decay),e.rotate.velocity=P(r.speed)/360*this.container.retina.reduceFactor,r.sync||(e.rotate.velocity*=I())),e.rotation=e.rotate.value}isEnabled(e){const n=e.options.rotate;return n?!e.destroyed&&!e.spawning&&n.animation.enable&&!n.path:!1}loadOptions(e,...n){e.rotate||(e.rotate=new H1);for(const i of n)e.rotate.load(i==null?void 0:i.rotate)}update(e,n){var i,r;this.isEnabled(e)&&(V1(e,n),e.rotation=(r=(i=e.rotate)===null||i===void 0?void 0:i.value)!==null&&r!==void 0?r:0)}}async function q1(t){await t.addParticleUpdater("rotate",e=>new W1(e))}function Q1(t){const e=t.initialPosition,{dx:n,dy:i}=Re(e,t.position),r=Math.abs(n),o=Math.abs(i),s=t.retina.maxDistance.horizontal,l=t.retina.maxDistance.vertical;if(!(!s&&!l)){if((s&&r>=s||l&&o>=l)&&!t.misplaced)t.misplaced=!!s&&r>s||!!l&&o>l,s&&(t.velocity.x=t.velocity.y/2-t.velocity.x),l&&(t.velocity.y=t.velocity.x/2-t.velocity.y);else if((!s||re.x&&u.x>0)&&(u.x*=-I()),l&&(a.ye.y&&u.y>0)&&(u.y*=-I())}}}function G1(t,e){const n=t.container;if(!t.spin)return;const i={x:t.spin.direction==="clockwise"?Math.cos:Math.sin,y:t.spin.direction==="clockwise"?Math.sin:Math.cos};t.position.x=t.spin.center.x+t.spin.radius*i.x(t.spin.angle),t.position.y=t.spin.center.y+t.spin.radius*i.y(t.spin.angle),t.spin.radius+=t.spin.acceleration;const r=Math.max(n.canvas.size.width,n.canvas.size.height);t.spin.radius>r/2?(t.spin.radius=r/2,t.spin.acceleration*=-1):t.spin.radius<0&&(t.spin.radius=0,t.spin.acceleration*=-1),t.spin.angle+=e/100*(1-t.spin.radius/r)}function K1(t,e){var n;const i=t.options,r=i.move.path;if(!r.enable)return;if(t.lastPathTime<=t.pathDelay){t.lastPathTime+=e.value;return}const s=(n=t.pathGenerator)===null||n===void 0?void 0:n.generate(t);s&&t.velocity.addTo(s),r.clamp&&(t.velocity.x=bt(t.velocity.x,-1,1),t.velocity.y=bt(t.velocity.y,-1,1)),t.lastPathTime-=t.pathDelay}function Y1(t){return t.slow.inRange?t.slow.factor:1}class X1{init(e){var n;const i=e.container,r=e.options,o=r.move.gravity,s=r.move.spin;if(e.gravity={enable:o.enable,acceleration:P(o.acceleration),inverse:o.inverse},s.enable){const l=(n=s.position)!==null&&n!==void 0?n:{x:50,y:50},a={x:l.x/100*i.canvas.size.width,y:l.y/100*i.canvas.size.height},u=e.getPosition(),c=ye(u,a),d=P(s.acceleration);e.retina.spinAcceleration=d*i.retina.pixelRatio,e.spin={center:a,direction:e.velocity.x>=0?"clockwise":"counter-clockwise",angle:e.velocity.angle,radius:c,acceleration:e.retina.spinAcceleration}}}isEnabled(e){return!e.destroyed&&e.options.move.enable}move(e,n){var i,r,o,s,l;const a=e.options,u=a.move;if(!u.enable)return;const c=e.container,d=Y1(e),f=((i=(s=e.retina).moveSpeed)!==null&&i!==void 0?i:s.moveSpeed=P(u.speed)*c.retina.pixelRatio)*c.retina.reduceFactor,m=(r=(l=e.retina).moveDrift)!==null&&r!==void 0?r:l.moveDrift=P(e.options.move.drift)*c.retina.pixelRatio,h=Mt(a.size.value)*c.retina.pixelRatio,y=u.size?e.getRadius()/h:1,b=y*d*(n.factor||1),v=2,p=f*b/v;if(u.spin.enable)G1(e,p);else{K1(e,n);const g=e.gravity,x=g!=null&&g.enable&&g.inverse?-1:1;g!=null&&g.enable&&p&&(e.velocity.y+=x*(g.acceleration*n.factor)/(60*p)),m&&p&&(e.velocity.x+=m*n.factor/(60*p));const k=e.moveDecay;k!=1&&e.velocity.multTo(k);const _=e.velocity.mult(p),S=(o=e.retina.maxSpeed)!==null&&o!==void 0?o:c.retina.maxSpeed;g!=null&&g.enable&&S>0&&(!g.inverse&&_.y>=0&&_.y>=S||g.inverse&&_.y<=0&&_.y<=-S)&&(_.y=x*S,p&&(e.velocity.y=_.y/p));const O=e.options.zIndex,N=(1-e.zIndexFactor)**O.velocityRate;N!=1&&_.multTo(N),e.position.addTo(_),u.vibrate&&(e.position.x+=Math.sin(e.position.x*Math.cos(e.position.y)),e.position.y+=Math.cos(e.position.y*Math.sin(e.position.x)))}Q1(e)}}async function J1(t){t.addMover("base",()=>new X1)}class Z1{draw(e,n,i){n.circleRange||(n.circleRange={min:0,max:Math.PI*2});const r=n.circleRange;e.arc(0,0,i,r.min,r.max,!1)}getSidesCount(){return 12}particleInit(e,n){var i;const r=n.shapeData,o=(i=r==null?void 0:r.angle)!==null&&i!==void 0?i:{max:360,min:0};n.circleRange=typeof o!="object"?{min:0,max:o*Math.PI/180}:{min:o.min*Math.PI/180,max:o.max*Math.PI/180}}}async function ew(t){await t.addShape("circle",new Z1)}function Pl(t,e,n,i,r){var o,s;const l=e;if(!l||!n.enable||l.loops!==void 0&&l.maxLoops!==void 0&&l.maxLoops>0&&l.loops>=l.maxLoops)return;const a=ve(n.offset),u=((o=e.velocity)!==null&&o!==void 0?o:0)*t.factor+a*3.6,c=(s=e.decay)!==null&&s!==void 0?s:1;!r||l.status==="increasing"?(l.value+=u,l.value>i&&(l.loops||(l.loops=0),l.loops++,r&&(l.status="decreasing",l.value-=l.value%i))):(l.value-=u,l.value<0&&(l.loops||(l.loops=0),l.loops++,l.status="increasing",l.value+=l.value)),l.velocity&&c!==1&&(l.velocity*=c),l.value>i&&(l.value%=i)}function tw(t,e){var n,i,r;const o=t.options.color.animation,s=(n=t.color)===null||n===void 0?void 0:n.h,l=(i=t.color)===null||i===void 0?void 0:i.s,a=(r=t.color)===null||r===void 0?void 0:r.l;s&&Pl(e,s,o.h,360,!1),l&&Pl(e,l,o.s,100,!0),a&&Pl(e,a,o.l,100,!0)}class nw{constructor(e){this.container=e}init(e){const n=bn(e.options.color,e.id,e.options.reduceDuplicates);n&&(e.color=Cp(n,e.options.color.animation,this.container.retina.reduceFactor))}isEnabled(e){var n,i,r;const o=e.options.color.animation;return!e.destroyed&&!e.spawning&&(((n=e.color)===null||n===void 0?void 0:n.h.value)!==void 0&&o.h.enable||((i=e.color)===null||i===void 0?void 0:i.s.value)!==void 0&&o.s.enable||((r=e.color)===null||r===void 0?void 0:r.l.value)!==void 0&&o.l.enable)}update(e,n){tw(e,n)}}async function iw(t){await t.addParticleUpdater("color",e=>new nw(e))}class rw{constructor(){this.distance=200,this.duration=.4,this.easing="ease-out-quad",this.factor=1,this.maxSpeed=50,this.speed=1}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed),e.speed!==void 0&&(this.speed=e.speed))}}let ow=class extends kt{constructor(e,n){super(n),this._engine=e,n.attract||(n.attract={particles:[]}),this.handleClickMode=i=>{const r=this.container.actualOptions,o=r.interactivity.modes.attract;if(!(!o||i!=="attract")){n.attract||(n.attract={particles:[]}),n.attract.clicking=!0,n.attract.count=0;for(const s of n.attract.particles)this.isEnabled(s)&&s.velocity.setTo(s.initialVelocity);n.attract.particles=[],n.attract.finish=!1,setTimeout(()=>{n.destroyed||(n.attract||(n.attract={particles:[]}),n.attract.clicking=!1)},o.duration*1e3)}}}clear(){}init(){const e=this.container,n=e.actualOptions.interactivity.modes.attract;n&&(e.retina.attractModeDistance=n.distance*e.retina.pixelRatio)}async interact(){const e=this.container,n=e.actualOptions,i=e.interactivity.status===Hn,r=n.interactivity.events,o=r.onHover.enable,s=r.onHover.mode,l=r.onClick.enable,a=r.onClick.mode;i&&o&&G("attract",s)?this.hoverAttract():l&&G("attract",a)&&this.clickAttract()}isEnabled(e){var n;const i=this.container,r=i.actualOptions,o=i.interactivity.mouse,s=((n=e==null?void 0:e.interactivity)!==null&&n!==void 0?n:r.interactivity).events;if((!o.position||!s.onHover.enable)&&(!o.clickPosition||!s.onClick.enable))return!1;const l=s.onHover.mode,a=s.onClick.mode;return G("attract",l)||G("attract",a)}loadModeOptions(e,...n){e.attract||(e.attract=new rw);for(const i of n)e.attract.load(i==null?void 0:i.attract)}reset(){}clickAttract(){const e=this.container;if(e.attract||(e.attract={particles:[]}),e.attract.finish||(e.attract.count||(e.attract.count=0),e.attract.count++,e.attract.count===e.particles.count&&(e.attract.finish=!0)),e.attract.clicking){const n=e.interactivity.mouse.clickPosition,i=e.retina.attractModeDistance;if(!i||i<0||!n)return;this.processAttract(n,i,new He(n.x,n.y,i))}else e.attract.clicking===!1&&(e.attract.particles=[])}hoverAttract(){const e=this.container,n=e.interactivity.mouse.position,i=e.retina.attractModeDistance;!i||i<0||!n||this.processAttract(n,i,new He(n.x,n.y,i))}processAttract(e,n,i){const r=this.container,o=r.actualOptions.interactivity.modes.attract;if(!o)return;const s=r.particles.quadTree.query(i,l=>this.isEnabled(l));for(const l of s){const{dx:a,dy:u,distance:c}=Re(l.position,e),d=o.speed*o.factor,f=bt(dp(o.easing)(1-c/n)*d,0,o.maxSpeed),m=V.create(c===0?d:a/c*f,c===0?d:u/c*f);l.position.subFrom(m)}}};async function sw(t){await t.addInteractor("externalAttract",e=>new ow(t,e))}class lw{constructor(){this.distance=200}load(e){e&&e.distance!==void 0&&(this.distance=e.distance)}}class aw extends kt{constructor(e){super(e)}clear(){}init(){const e=this.container,n=e.actualOptions.interactivity.modes.bounce;n&&(e.retina.bounceModeDistance=n.distance*e.retina.pixelRatio)}async interact(){const e=this.container,n=e.actualOptions,i=n.interactivity.events,r=e.interactivity.status===Hn,o=i.onHover.enable,s=i.onHover.mode,l=i.onDiv;r&&o&&G("bounce",s)?this.processMouseBounce():Tu("bounce",l,(a,u)=>this.singleSelectorBounce(a,u))}isEnabled(e){var n;const i=this.container,r=i.actualOptions,o=i.interactivity.mouse,s=((n=e==null?void 0:e.interactivity)!==null&&n!==void 0?n:r.interactivity).events,l=s.onDiv;return o.position&&s.onHover.enable&&G("bounce",s.onHover.mode)||Au("bounce",l)}loadModeOptions(e,...n){e.bounce||(e.bounce=new lw);for(const i of n)e.bounce.load(i==null?void 0:i.bounce)}reset(){}processBounce(e,n,i){const r=this.container.particles.quadTree.query(i,o=>this.isEnabled(o));for(const o of r)i instanceof He?gp(za(o),{position:e,radius:n,mass:n**2*Math.PI/2,velocity:V.origin,factor:V.origin}):i instanceof Le&&Ly(o,Wr(e,n))}processMouseBounce(){const e=this.container,n=e.retina.pixelRatio,i=10*n,r=e.interactivity.mouse.position,o=e.retina.bounceModeDistance;!o||o<0||!r||this.processBounce(r,o,new He(r.x,r.y,o+i))}singleSelectorBounce(e,n){const i=this.container,r=document.querySelectorAll(e);r.length&&r.forEach(o=>{const s=o,l=i.retina.pixelRatio,a={x:(s.offsetLeft+s.offsetWidth/2)*l,y:(s.offsetTop+s.offsetHeight/2)*l},u=s.offsetWidth/2*l,c=10*l,d=n.type==="circle"?new He(a.x,a.y,u+c):new Le(s.offsetLeft*l-c,s.offsetTop*l-c,s.offsetWidth*l+c*2,s.offsetHeight*l+c*2);this.processBounce(a,u,d)})}}async function uw(t){await t.addInteractor("externalBounce",e=>new aw(e))}class Rp{constructor(){this.distance=200,this.duration=.4,this.mix=!1}load(e){if(e){if(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.mix!==void 0&&(this.mix=e.mix),e.opacity!==void 0&&(this.opacity=e.opacity),e.color!==void 0){const n=this.color instanceof Array?void 0:this.color;this.color=K(e.color,i=>ae.create(n,i))}e.size!==void 0&&(this.size=e.size)}}}class cw extends Rp{constructor(){super(),this.selectors=[]}get ids(){return K(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=K(e,n=>`#${n}`)}load(e){super.load(e),e&&(e.ids!==void 0&&(this.ids=e.ids),e.selectors!==void 0&&(this.selectors=e.selectors))}}class dw extends Rp{load(e){super.load(e),e&&(this.divs=K(e.divs,n=>{const i=new cw;return i.load(n),i}))}}function xd(t,e,n,i){if(e>=n){const r=t+(e-n)*i;return bt(r,t,e)}else if(e{n==="bubble"&&(e.bubble||(e.bubble={}),e.bubble.clicking=!0)}}clear(e,n,i){e.bubble.inRange&&!i||(delete e.bubble.div,delete e.bubble.opacity,delete e.bubble.radius,delete e.bubble.color)}init(){const e=this.container,n=e.actualOptions.interactivity.modes.bubble;n&&(e.retina.bubbleModeDistance=n.distance*e.retina.pixelRatio,n.size!==void 0&&(e.retina.bubbleModeSize=n.size*e.retina.pixelRatio))}async interact(e){const n=this.container.actualOptions,i=n.interactivity.events,r=i.onHover,o=i.onClick,s=r.enable,l=r.mode,a=o.enable,u=o.mode,c=i.onDiv;s&&G("bubble",l)?this.hoverBubble(e):a&&G("bubble",u)?this.clickBubble(e):Tu("bubble",c,(d,f)=>this.singleSelectorHover(e,d,f))}isEnabled(e){var n;const i=this.container,r=i.actualOptions,o=i.interactivity.mouse,s=((n=e==null?void 0:e.interactivity)!==null&&n!==void 0?n:r.interactivity).events,l=s.onDiv,a=Au("bubble",l);if(!(a||s.onHover.enable&&o.position||s.onClick.enable&&o.clickPosition))return!1;const u=s.onHover.mode,c=s.onClick.mode;return G("bubble",u)||G("bubble",c)||a}loadModeOptions(e,...n){e.bubble||(e.bubble=new dw);for(const i of n)e.bubble.load(i==null?void 0:i.bubble)}reset(e){e.bubble.inRange=!1}clickBubble(e){var n,i;const r=this.container,o=r.actualOptions,s=r.interactivity.mouse.clickPosition,l=o.interactivity.modes.bubble;if(!l||!s)return;r.bubble||(r.bubble={});const a=r.retina.bubbleModeDistance;if(!a||a<0)return;const u=r.particles.quadTree.queryCircle(s,a,c=>this.isEnabled(c));for(const c of u){if(!r.bubble.clicking)continue;c.bubble.inRange=!r.bubble.durationEnd;const d=c.getPosition(),f=ye(d,s),m=(new Date().getTime()-(r.interactivity.mouse.clickTime||0))/1e3;m>l.duration&&(r.bubble.durationEnd=!0),m>l.duration*2&&(r.bubble.clicking=!1,r.bubble.durationEnd=!1);const h={bubbleObj:{optValue:r.retina.bubbleModeSize,value:c.bubble.radius},particlesObj:{optValue:Mt(c.options.size.value)*r.retina.pixelRatio,value:c.size.value},type:"size"};this.process(c,f,m,h);const y={bubbleObj:{optValue:l.opacity,value:c.bubble.opacity},particlesObj:{optValue:Mt(c.options.opacity.value),value:(i=(n=c.opacity)===null||n===void 0?void 0:n.value)!==null&&i!==void 0?i:1},type:"opacity"};this.process(c,f,m,y),r.bubble.durationEnd?delete c.bubble.color:f<=a?this.hoverBubbleColor(c,f):delete c.bubble.color}}hoverBubble(e){const n=this.container,i=n.interactivity.mouse.position,r=n.retina.bubbleModeDistance;if(!r||r<0||i===void 0)return;const o=n.particles.quadTree.queryCircle(i,r,s=>this.isEnabled(s));for(const s of o){s.bubble.inRange=!0;const l=s.getPosition(),a=ye(l,i),u=1-a/r;a<=r?u>=0&&n.interactivity.status===Hn&&(this.hoverBubbleSize(s,u),this.hoverBubbleOpacity(s,u),this.hoverBubbleColor(s,u)):this.reset(s),n.interactivity.status===Aa&&this.reset(s)}}hoverBubbleColor(e,n,i){const r=this.container.actualOptions,o=i??r.interactivity.modes.bubble;if(o){if(!e.bubble.finalColor){const s=o.color;if(!s)return;const l=lt(s);e.bubble.finalColor=bn(l)}if(e.bubble.finalColor)if(o.mix){e.bubble.color=void 0;const s=e.getFillColor();e.bubble.color=s?kp(Ru(s,e.bubble.finalColor,1-n,n)):e.bubble.finalColor}else e.bubble.color=e.bubble.finalColor}}hoverBubbleOpacity(e,n,i){var r,o,s,l;const a=this.container,u=a.actualOptions,c=(r=i==null?void 0:i.opacity)!==null&&r!==void 0?r:(o=u.interactivity.modes.bubble)===null||o===void 0?void 0:o.opacity;if(!c)return;const d=e.options.opacity.value,f=(l=(s=e.opacity)===null||s===void 0?void 0:s.value)!==null&&l!==void 0?l:1,m=xd(f,c,Mt(d),n);m!==void 0&&(e.bubble.opacity=m)}hoverBubbleSize(e,n,i){const r=this.container,o=i!=null&&i.size?i.size*r.retina.pixelRatio:r.retina.bubbleModeSize;if(o===void 0)return;const s=Mt(e.options.size.value)*r.retina.pixelRatio,l=e.size.value,a=xd(l,o,s,n);a!==void 0&&(e.bubble.radius=a)}process(e,n,i,r){const o=this.container,s=r.bubbleObj.optValue,l=o.actualOptions,a=l.interactivity.modes.bubble;if(!a||s===void 0)return;const u=a.duration,c=o.retina.bubbleModeDistance,d=r.particlesObj.optValue,f=r.bubbleObj.value,m=r.particlesObj.value||0,h=r.type;if(!(!c||c<0||s===d))if(o.bubble||(o.bubble={}),o.bubble.durationEnd)f&&(h==="size"&&delete e.bubble.radius,h==="opacity"&&delete e.bubble.opacity);else if(n<=c){if((f??m)!==s){const b=m-i*(m-s)/u;h==="size"&&(e.bubble.radius=b),h==="opacity"&&(e.bubble.opacity=b)}}else h==="size"&&delete e.bubble.radius,h==="opacity"&&delete e.bubble.opacity}singleSelectorHover(e,n,i){const r=this.container,o=document.querySelectorAll(n),s=r.actualOptions.interactivity.modes.bubble;!s||!o.length||o.forEach(l=>{const a=l,u=r.retina.pixelRatio,c={x:(a.offsetLeft+a.offsetWidth/2)*u,y:(a.offsetTop+a.offsetHeight/2)*u},d=a.offsetWidth/2*u,f=i.type==="circle"?new He(c.x,c.y,d):new Le(a.offsetLeft*u,a.offsetTop*u,a.offsetWidth*u,a.offsetHeight*u),m=r.particles.quadTree.query(f,h=>this.isEnabled(h));for(const h of m){if(!f.contains(h.getPosition()))continue;h.bubble.inRange=!0;const y=s.divs,b=yp(y,a);(!h.bubble.div||h.bubble.div!==a)&&(this.clear(h,e,!0),h.bubble.div=a),this.hoverBubbleSize(h,1,b),this.hoverBubbleOpacity(h,1,b),this.hoverBubbleColor(h,1,b)}})}}async function hw(t){await t.addInteractor("externalBubble",e=>new fw(e))}class pw{constructor(){this.opacity=.5}load(e){e&&e.opacity!==void 0&&(this.opacity=e.opacity)}}class mw{constructor(){this.distance=80,this.links=new pw,this.radius=60}get lineLinked(){return this.links}set lineLinked(e){this.links=e}get line_linked(){return this.links}set line_linked(e){this.links=e}load(e){var n,i;e&&(e.distance!==void 0&&(this.distance=e.distance),this.links.load((i=(n=e.links)!==null&&n!==void 0?n:e.lineLinked)!==null&&i!==void 0?i:e.line_linked),e.radius!==void 0&&(this.radius=e.radius))}}function vw(t,e,n,i){const r=Math.floor(n.getRadius()/e.getRadius()),o=e.getFillColor(),s=n.getFillColor();if(!o||!s)return;const l=e.getPosition(),a=n.getPosition(),u=Ru(o,s,e.getRadius(),n.getRadius()),c=t.createLinearGradient(l.x,l.y,a.x,a.y);return c.addColorStop(0,Ei(o,i)),c.addColorStop(r>1?1:r,Rt(u,i)),c.addColorStop(1,Ei(s,i)),c}function yw(t,e,n,i,r){fr(t,i,r),t.lineWidth=e,t.strokeStyle=n,t.stroke()}function gw(t,e,n,i){const r=t.actualOptions,o=r.interactivity.modes.connect;if(o)return vw(e,n,i,o.links.opacity)}function ww(t,e,n){t.canvas.draw(i=>{var r;const o=gw(t,i,e,n);if(!o)return;const s=e.getPosition(),l=n.getPosition();yw(i,(r=e.retina.linksWidth)!==null&&r!==void 0?r:0,o,s,l)})}class xw extends kt{constructor(e){super(e)}clear(){}init(){const e=this.container,n=e.actualOptions.interactivity.modes.connect;n&&(e.retina.connectModeDistance=n.distance*e.retina.pixelRatio,e.retina.connectModeRadius=n.radius*e.retina.pixelRatio)}async interact(){const e=this.container;if(e.actualOptions.interactivity.events.onHover.enable&&e.interactivity.status==="pointermove"){const i=e.interactivity.mouse.position;if(!e.retina.connectModeDistance||e.retina.connectModeDistance<0||!e.retina.connectModeRadius||e.retina.connectModeRadius<0||!i)return;const r=Math.abs(e.retina.connectModeRadius),o=e.particles.quadTree.queryCircle(i,r,l=>this.isEnabled(l));let s=0;for(const l of o){const a=l.getPosition();for(const u of o.slice(s+1)){const c=u.getPosition(),d=Math.abs(e.retina.connectModeDistance),f=Math.abs(a.x-c.x),m=Math.abs(a.y-c.y);fnew xw(e))}class kw{constructor(){this.blink=!1,this.consent=!1,this.opacity=1}load(e){e&&(e.blink!==void 0&&(this.blink=e.blink),e.color!==void 0&&(this.color=ae.create(this.color,e.color)),e.consent!==void 0&&(this.consent=e.consent),e.opacity!==void 0&&(this.opacity=e.opacity))}}class _w{constructor(){this.distance=100,this.links=new kw}get lineLinked(){return this.links}set lineLinked(e){this.links=e}get line_linked(){return this.links}set line_linked(e){this.links=e}load(e){var n,i;e&&(e.distance!==void 0&&(this.distance=e.distance),this.links.load((i=(n=e.links)!==null&&n!==void 0?n:e.lineLinked)!==null&&i!==void 0?i:e.line_linked))}}function Sw(t,e,n,i,r,o){fr(t,n,i),t.strokeStyle=Rt(r,o),t.lineWidth=e,t.stroke()}function Cw(t,e,n,i,r){t.canvas.draw(o=>{var s;const l=e.getPosition();Sw(o,(s=e.retina.linksWidth)!==null&&s!==void 0?s:0,l,r,n,i)})}class Pw extends kt{constructor(e){super(e)}clear(){}init(){const e=this.container,n=e.actualOptions.interactivity.modes.grab;n&&(e.retina.grabModeDistance=n.distance*e.retina.pixelRatio)}async interact(){var e,n;const i=this.container,r=i.actualOptions,o=r.interactivity;if(!o.modes.grab||!o.events.onHover.enable||i.interactivity.status!==Hn)return;const s=i.interactivity.mouse.position;if(!s)return;const l=i.retina.grabModeDistance;if(!l||l<0)return;const a=i.particles.quadTree.queryCircle(s,l,u=>this.isEnabled(u));for(const u of a){const c=u.getPosition(),d=ye(c,s);if(d>l)continue;const f=o.modes.grab.links,m=f.opacity,h=m-d*m/l;if(h<=0)continue;const y=(e=f.color)!==null&&e!==void 0?e:(n=u.options.links)===null||n===void 0?void 0:n.color;if(!i.particles.grabLineColor&&y){const v=o.modes.grab.links;i.particles.grabLineColor=Sp(y,v.blink,v.consent)}const b=Ma(u,void 0,i.particles.grabLineColor);if(!b)return;Cw(i,u,b,h,s)}}isEnabled(e){var n;const i=this.container,r=i.interactivity.mouse,o=((n=e==null?void 0:e.interactivity)!==null&&n!==void 0?n:i.actualOptions.interactivity).events;return o.onHover.enable&&!!r.position&&G("grab",o.onHover.mode)}loadModeOptions(e,...n){e.grab||(e.grab=new _w);for(const i of n)e.grab.load(i==null?void 0:i.grab)}reset(){}}async function Ew(t){await t.addInteractor("externalGrab",e=>new Pw(e))}class Ow extends kt{constructor(e){super(e),this.handleClickMode=n=>{if(n!=="pause")return;const i=this.container;i.getAnimationStatus()?i.pause():i.play()}}clear(){}init(){}async interact(){}isEnabled(){return!0}reset(){}}function zw(t){t.addInteractor("externalPause",e=>new Ow(e))}class Mw{constructor(){this.default=!0,this.groups=[],this.quantity=4}get particles_nb(){return this.quantity}set particles_nb(e){this.quantity=e}load(e){var n;if(!e)return;e.default!==void 0&&(this.default=e.default),e.groups!==void 0&&(this.groups=e.groups.map(r=>r)),this.groups.length||(this.default=!0);const i=(n=e.quantity)!==null&&n!==void 0?n:e.particles_nb;i!==void 0&&(this.quantity=i)}}class Aw extends kt{constructor(e){super(e),this.handleClickMode=n=>{if(n!=="push")return;const i=this.container,r=i.actualOptions,o=r.interactivity.modes.push;if(!o)return;const s=o.quantity;if(s<=0)return;const l=Hr([void 0,...o.groups]),a=l!==void 0?i.actualOptions.particles.groups[l]:void 0;i.particles.push(s,i.interactivity.mouse,a,l)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(e,...n){e.push||(e.push=new Mw);for(const i of n)e.push.load(i==null?void 0:i.push)}reset(){}}async function Tw(t){await t.addInteractor("externalPush",e=>new Aw(e))}class Rw{constructor(){this.quantity=2}get particles_nb(){return this.quantity}set particles_nb(e){this.quantity=e}load(e){var n;if(!e)return;const i=(n=e.quantity)!==null&&n!==void 0?n:e.particles_nb;i!==void 0&&(this.quantity=i)}}class Iw extends kt{constructor(e){super(e),this.handleClickMode=n=>{const i=this.container,r=i.actualOptions;if(!r.interactivity.modes.remove||n!=="remove")return;const o=r.interactivity.modes.remove.quantity;i.particles.removeQuantity(o)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(e,...n){e.remove||(e.remove=new Rw);for(const i of n)e.remove.load(i==null?void 0:i.remove)}reset(){}}function Dw(t){t.addInteractor("externalRemove",e=>new Iw(e))}class Ip{constructor(){this.distance=200,this.duration=.4,this.factor=100,this.speed=1,this.maxSpeed=50,this.easing="ease-out-quad"}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.speed!==void 0&&(this.speed=e.speed),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed))}}class jw extends Ip{constructor(){super(),this.selectors=[]}get ids(){return K(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=K(e,n=>`#${n}`)}load(e){super.load(e),e&&(e.ids!==void 0&&(this.ids=e.ids),e.selectors!==void 0&&(this.selectors=e.selectors))}}class Lw extends Ip{load(e){super.load(e),e&&(this.divs=K(e.divs,n=>{const i=new jw;return i.load(n),i}))}}class Nw extends kt{constructor(e,n){super(n),this._engine=e,n.repulse||(n.repulse={particles:[]}),this.handleClickMode=i=>{const r=this.container.actualOptions,o=r.interactivity.modes.repulse;if(!(!o||i!=="repulse")){n.repulse||(n.repulse={particles:[]}),n.repulse.clicking=!0,n.repulse.count=0;for(const s of n.repulse.particles)this.isEnabled(s)&&s.velocity.setTo(s.initialVelocity);n.repulse.particles=[],n.repulse.finish=!1,setTimeout(()=>{n.destroyed||(n.repulse||(n.repulse={particles:[]}),n.repulse.clicking=!1)},o.duration*1e3)}}}clear(){}init(){const e=this.container,n=e.actualOptions.interactivity.modes.repulse;n&&(e.retina.repulseModeDistance=n.distance*e.retina.pixelRatio)}async interact(){const e=this.container,n=e.actualOptions,i=e.interactivity.status===Hn,r=n.interactivity.events,o=r.onHover.enable,s=r.onHover.mode,l=r.onClick.enable,a=r.onClick.mode,u=r.onDiv;i&&o&&G("repulse",s)?this.hoverRepulse():l&&G("repulse",a)?this.clickRepulse():Tu("repulse",u,(c,d)=>this.singleSelectorRepulse(c,d))}isEnabled(e){var n;const i=this.container,r=i.actualOptions,o=i.interactivity.mouse,s=((n=e==null?void 0:e.interactivity)!==null&&n!==void 0?n:r.interactivity).events,l=s.onDiv,a=Au("repulse",l);if(!(a||s.onHover.enable&&o.position||s.onClick.enable&&o.clickPosition))return!1;const u=s.onHover.mode,c=s.onClick.mode;return G("repulse",u)||G("repulse",c)||a}loadModeOptions(e,...n){e.repulse||(e.repulse=new Lw);for(const i of n)e.repulse.load(i==null?void 0:i.repulse)}reset(){}clickRepulse(){const e=this.container,n=e.actualOptions.interactivity.modes.repulse;if(n){if(e.repulse||(e.repulse={particles:[]}),e.repulse.finish||(e.repulse.count||(e.repulse.count=0),e.repulse.count++,e.repulse.count===e.particles.count&&(e.repulse.finish=!0)),e.repulse.clicking){const i=e.retina.repulseModeDistance;if(!i||i<0)return;const r=Math.pow(i/6,3),o=e.interactivity.mouse.clickPosition;if(o===void 0)return;const s=new He(o.x,o.y,r),l=e.particles.quadTree.query(s,a=>this.isEnabled(a));for(const a of l){const{dx:u,dy:c,distance:d}=Re(o,a.position),f=d**2,m=n.speed,h=-r*m/f;if(f<=r){e.repulse.particles.push(a);const y=V.create(u,c);y.length=h,a.velocity.setTo(y)}}}else if(e.repulse.clicking===!1){for(const i of e.repulse.particles)i.velocity.setTo(i.initialVelocity);e.repulse.particles=[]}}}hoverRepulse(){const e=this.container,n=e.interactivity.mouse.position,i=e.retina.repulseModeDistance;!i||i<0||!n||this.processRepulse(n,i,new He(n.x,n.y,i))}processRepulse(e,n,i,r){var o;const s=this.container,l=s.particles.quadTree.query(i,u=>this.isEnabled(u)),a=s.actualOptions.interactivity.modes.repulse;if(a)for(const u of l){const{dx:c,dy:d,distance:f}=Re(u.position,e),m=((o=r==null?void 0:r.speed)!==null&&o!==void 0?o:a.speed)*a.factor,h=bt(dp(a.easing)(1-f/n)*m,0,a.maxSpeed),y=V.create(f===0?m:c/f*h,f===0?m:d/f*h);u.position.addTo(y)}}singleSelectorRepulse(e,n){const i=this.container,r=i.actualOptions.interactivity.modes.repulse;if(!r)return;const o=document.querySelectorAll(e);o.length&&o.forEach(s=>{const l=s,a=i.retina.pixelRatio,u={x:(l.offsetLeft+l.offsetWidth/2)*a,y:(l.offsetTop+l.offsetHeight/2)*a},c=l.offsetWidth/2*a,d=n.type==="circle"?new He(u.x,u.y,c):new Le(l.offsetLeft*a,l.offsetTop*a,l.offsetWidth*a,l.offsetHeight*a),f=r.divs,m=yp(f,l);this.processRepulse(u,c,d,m)})}}async function Fw(t){await t.addInteractor("externalRepulse",e=>new Nw(t,e))}class Bw{constructor(){this.factor=3,this.radius=200}load(e){e&&(e.factor!==void 0&&(this.factor=e.factor),e.radius!==void 0&&(this.radius=e.radius))}}class $w extends kt{constructor(e){super(e)}clear(e,n,i){e.slow.inRange&&!i||(e.slow.factor=1)}init(){const e=this.container,n=e.actualOptions.interactivity.modes.slow;n&&(e.retina.slowModeRadius=n.radius*e.retina.pixelRatio)}async interact(){}isEnabled(e){var n;const i=this.container,r=i.interactivity.mouse,o=((n=e==null?void 0:e.interactivity)!==null&&n!==void 0?n:i.actualOptions.interactivity).events;return o.onHover.enable&&!!r.position&&G("slow",o.onHover.mode)}loadModeOptions(e,...n){e.slow||(e.slow=new Bw);for(const i of n)e.slow.load(i==null?void 0:i.slow)}reset(e){e.slow.inRange=!1;const n=this.container,i=n.actualOptions,r=n.interactivity.mouse.position,o=n.retina.slowModeRadius,s=i.interactivity.modes.slow;if(!s||!o||o<0||!r)return;const l=e.getPosition(),a=ye(r,l),u=a/o,c=s.factor;a<=o&&(e.slow.inRange=!0,e.slow.factor=u/c)}}async function Uw(t){await t.addInteractor("externalSlow",e=>new $w(e))}const Hw=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;function Vw(t,e,n){const{svgData:i}=t;if(!i)return"";const r=Ei(e,n);if(i.includes("fill"))return i.replace(Hw,()=>r);const o=i.indexOf(">");return`${i.substring(0,o)} fill="${r}"${i.substring(o)}`}async function ju(t){return new Promise(e=>{t.loading=!0;const n=new Image;t.element=n,n.addEventListener("load",()=>{t.loading=!1,e()}),n.addEventListener("error",()=>{t.element=void 0,t.error=!0,t.loading=!1,console.error(`Error tsParticles - loading image: ${t.source}`),e()}),n.src=t.source})}async function Ww(t){if(t.type!=="svg"){await ju(t);return}t.loading=!0;const e=await fetch(t.source);e.ok||(console.error("Error tsParticles - Image not found"),t.error=!0),t.error||(t.svgData=await e.text()),t.loading=!1}function qw(t,e,n,i){var r,o,s;const l=Vw(t,n,(o=(r=i.opacity)===null||r===void 0?void 0:r.value)!==null&&o!==void 0?o:1),a={color:n,data:Object.assign(Object.assign({},t),{svgData:l}),loaded:!1,ratio:e.width/e.height,replaceColor:(s=e.replaceColor)!==null&&s!==void 0?s:e.replace_color,source:e.src};return new Promise(u=>{const c=new Blob([l],{type:"image/svg+xml"}),d=URL||window.URL||window.webkitURL||window,f=d.createObjectURL(c),m=new Image;m.addEventListener("load",()=>{a.loaded=!0,a.element=m,u(a),d.revokeObjectURL(f)}),m.addEventListener("error",async()=>{d.revokeObjectURL(f);const h=Object.assign(Object.assign({},t),{error:!1,loading:!0});await ju(h),a.loaded=!0,a.element=h.element,u(a)}),m.src=f})}class Qw{constructor(){this._images=[]}addImage(e,n){const i=this.getImages(e);i==null||i.images.push(n)}destroy(){this._images=[]}draw(e,n,i,r){var o;const s=n.image,l=s==null?void 0:s.element;if(!l)return;const a=(o=s==null?void 0:s.ratio)!==null&&o!==void 0?o:1,u={x:-i,y:-i};e.globalAlpha=r,e.drawImage(l,u.x,u.y,i*2,i*2/a),e.globalAlpha=1}getImages(e){const n=this._images.find(i=>i.id===e.id);return n||(this._images.push({id:e.id,images:[]}),this.getImages(e))}getSidesCount(){return 12}loadShape(e){if(e.shape!=="image"&&e.shape!=="images")return;const n=e.container,i=this.getImages(n).images,r=e.shapeData;i.find(s=>s.source===r.src)||this.loadImageShape(n,r).then(()=>{this.loadShape(e)})}particleInit(e,n){var i;if(n.shape!=="image"&&n.shape!=="images")return;const r=this.getImages(e).images,o=n.shapeData,s=n.getFillColor(),l=(i=o.replaceColor)!==null&&i!==void 0?i:o.replace_color,a=r.find(u=>u.source===o.src);if(a){if(a.loading){setTimeout(()=>{this.particleInit(e,n)});return}(async()=>{var u,c;let d;a.svgData&&s?d=await qw(a,o,s,n):d={color:s,data:a,element:a.element,loaded:!0,ratio:o.width/o.height,replaceColor:l,source:o.src},d.ratio||(d.ratio=1);const f=(u=o.fill)!==null&&u!==void 0?u:n.fill,m=(c=o.close)!==null&&c!==void 0?c:n.close,h={image:d,fill:f,close:m};n.image=h.image,n.fill=h.fill,n.close=h.close})()}}async loadImageShape(e,n){var i;const r=n.src;if(!r)throw new Error("Error tsParticles - No image.src");try{const o={source:r,type:r.substring(r.length-3),error:!1,loading:!0};this.addImage(e,o),await(((i=n.replaceColor)!==null&&i!==void 0?i:n.replace_color)?Ww:ju)(o)}catch{throw new Error(`tsParticles error - ${n.src} not found`)}}}async function Gw(t){await t.addShape(["image","images"],new Qw)}class Kw extends dt{constructor(){super(),this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class Yw extends dt{constructor(){super(),this.random.minimumValue=1e-4,this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class Xw{constructor(){this.count=0,this.delay=new Kw,this.duration=new Yw}load(e){e&&(e.count!==void 0&&(this.count=e.count),this.delay.load(e.delay),this.duration.load(e.duration))}}class Jw{constructor(e){this.container=e}init(e){const n=this.container,i=e.options,r=i.life;r&&(e.life={delay:n.retina.reduceFactor?P(r.delay.value)*(r.delay.sync?1:I())/n.retina.reduceFactor*1e3:0,delayTime:0,duration:n.retina.reduceFactor?P(r.duration.value)*(r.duration.sync?1:I())/n.retina.reduceFactor*1e3:0,time:0,count:r.count},e.life.duration<=0&&(e.life.duration=-1),e.life.count<=0&&(e.life.count=-1),e.life&&(e.spawning=e.life.delay>0))}isEnabled(e){return!e.destroyed}loadOptions(e,...n){e.life||(e.life=new Xw);for(const i of n)e.life.load(i==null?void 0:i.life)}update(e,n){if(!this.isEnabled(e)||!e.life)return;const i=e.life;let r=!1;if(e.spawning)if(i.delayTime+=n.value,i.delayTime>=e.life.delay)r=!0,e.spawning=!1,i.delayTime=0,i.time=0;else return;if(i.duration===-1||e.spawning||(r?i.time=0:i.time+=n.value,i.time0&&e.life.count--,e.life.count===0){e.destroy();return}const o=this.container.canvas.size,s=R(0,o.width),l=R(0,o.width);e.position.x=ve(s),e.position.y=ve(l),e.spawning=!0,i.delayTime=0,i.time=0,e.reset();const a=e.options.life;a&&(i.delay=P(a.delay.value)*1e3,i.duration=P(a.duration.value)*1e3)}}async function Zw(t){await t.addParticleUpdater("life",e=>new Jw(e))}class ex{draw(e,n,i){e.moveTo(-i/2,0),e.lineTo(i/2,0)}getSidesCount(){return 1}}async function tx(t){await t.addShape("line",new ex)}function nx(t,e,n,i){switch(t.options.opacity.animation.destroy){case"max":e>=i&&t.destroy();break;case"min":e<=n&&t.destroy();break}}function ix(t,e){var n,i,r,o,s,l;if(!t.opacity)return;const a=t.opacity.min,u=t.opacity.max,c=(n=t.opacity.decay)!==null&&n!==void 0?n:1;if(!(t.destroyed||!t.opacity.enable||((i=t.opacity.maxLoops)!==null&&i!==void 0?i:0)>0&&((r=t.opacity.loops)!==null&&r!==void 0?r:0)>((o=t.opacity.maxLoops)!==null&&o!==void 0?o:0))){switch(t.opacity.status){case"increasing":t.opacity.value>=u?(t.opacity.status="decreasing",t.opacity.loops||(t.opacity.loops=0),t.opacity.loops++):t.opacity.value+=((s=t.opacity.velocity)!==null&&s!==void 0?s:0)*e.factor;break;case"decreasing":t.opacity.value<=a?(t.opacity.status="increasing",t.opacity.loops||(t.opacity.loops=0),t.opacity.loops++):t.opacity.value-=((l=t.opacity.velocity)!==null&&l!==void 0?l:0)*e.factor;break}t.opacity.velocity&&t.opacity.decay!==1&&(t.opacity.velocity*=c),nx(t,t.opacity.value,a,u),t.destroyed||(t.opacity.value=bt(t.opacity.value,a,u))}}class rx{constructor(e){this.container=e}init(e){const n=e.options.opacity;e.opacity={enable:n.animation.enable,max:Mt(n.value),min:Tr(n.value),value:P(n.value),loops:0,maxLoops:P(n.animation.count)};const i=n.animation;if(i.enable){e.opacity.decay=1-P(i.decay),e.opacity.status="increasing";const r=n.value;switch(e.opacity.min=Tr(r),e.opacity.max=Mt(r),i.startValue){case"min":e.opacity.value=e.opacity.min,e.opacity.status="increasing";break;case"random":e.opacity.value=ve(e.opacity),e.opacity.status=I()>=.5?"increasing":"decreasing";break;case"max":default:e.opacity.value=e.opacity.max,e.opacity.status="decreasing";break}e.opacity.velocity=P(i.speed)/100*this.container.retina.reduceFactor,i.sync||(e.opacity.velocity*=I())}e.opacity.initialValue=e.opacity.value}isEnabled(e){var n,i,r,o;return!e.destroyed&&!e.spawning&&!!e.opacity&&e.opacity.enable&&(((n=e.opacity.maxLoops)!==null&&n!==void 0?n:0)<=0||((i=e.opacity.maxLoops)!==null&&i!==void 0?i:0)>0&&((r=e.opacity.loops)!==null&&r!==void 0?r:0)<((o=e.opacity.maxLoops)!==null&&o!==void 0?o:0))}reset(e){e.opacity&&(e.opacity.loops=0)}update(e,n){this.isEnabled(e)&&ix(e,n)}}async function ox(t){await t.addParticleUpdater("opacity",e=>new rx(e))}function sx(t){if(t.outMode!=="bounce"&&t.outMode!=="bounce-horizontal"&&t.outMode!=="bounceHorizontal"&&t.outMode!=="split")return;t.bounds.right<0?t.particle.position.x=t.size+t.offset.x:t.bounds.left>t.canvasSize.width&&(t.particle.position.x=t.canvasSize.width-t.size-t.offset.x);const e=t.particle.velocity.x;let n=!1;if(t.direction==="right"&&t.bounds.right>=t.canvasSize.width&&e>0||t.direction==="left"&&t.bounds.left<=0&&e<0){const r=Qt(t.particle.options.bounce.horizontal);t.particle.velocity.x*=-r,n=!0}if(!n)return;const i=t.offset.x+t.size;t.bounds.right>=t.canvasSize.width?t.particle.position.x=t.canvasSize.width-i:t.bounds.left<=0&&(t.particle.position.x=i),t.outMode==="split"&&t.particle.destroy()}function lx(t){if(t.outMode!=="bounce"&&t.outMode!=="bounce-vertical"&&t.outMode!=="bounceVertical"&&t.outMode!=="split")return;t.bounds.bottom<0?t.particle.position.y=t.size+t.offset.y:t.bounds.top>t.canvasSize.height&&(t.particle.position.y=t.canvasSize.height-t.size-t.offset.y);const e=t.particle.velocity.y;let n=!1;if(t.direction==="bottom"&&t.bounds.bottom>=t.canvasSize.height&&e>0||t.direction==="top"&&t.bounds.top<=0&&e<0){const r=Qt(t.particle.options.bounce.vertical);t.particle.velocity.y*=-r,n=!0}if(!n)return;const i=t.offset.y+t.size;t.bounds.bottom>=t.canvasSize.height?t.particle.position.y=t.canvasSize.height-i:t.bounds.top<=0&&(t.particle.position.y=i),t.outMode==="split"&&t.particle.destroy()}class ax{constructor(e){this.container=e,this.modes=["bounce","bounce-vertical","bounce-horizontal","bounceVertical","bounceHorizontal","split"]}update(e,n,i,r){if(!this.modes.includes(r))return;const o=this.container;let s=!1;for(const[,f]of o.plugins)if(f.particleBounce!==void 0&&(s=f.particleBounce(e,i,n)),s)break;if(s)return;const l=e.getPosition(),a=e.offset,u=e.getRadius(),c=Wr(l,u),d=o.canvas.size;sx({particle:e,outMode:r,direction:n,bounds:c,canvasSize:d,offset:a,size:u}),lx({particle:e,outMode:r,direction:n,bounds:c,canvasSize:d,offset:a,size:u})}}class ux{constructor(e){this.container=e,this.modes=["destroy"]}update(e,n,i,r){if(!this.modes.includes(r))return;const o=this.container;switch(e.outType){case"normal":case"outside":if(Vr(e.position,o.canvas.size,V.origin,e.getRadius(),n))return;break;case"inside":{const{dx:s,dy:l}=Re(e.position,e.moveCenter),{x:a,y:u}=e.velocity;if(a<0&&s>e.moveCenter.radius||u<0&&l>e.moveCenter.radius||a>=0&&s<-e.moveCenter.radius||u>=0&&l<-e.moveCenter.radius)return;break}}o.particles.remove(e,void 0,!0)}}class cx{constructor(e){this.container=e,this.modes=["none"]}update(e,n,i,r){if(!this.modes.includes(r)||e.options.move.distance.horizontal&&(n==="left"||n==="right")||e.options.move.distance.vertical&&(n==="top"||n==="bottom"))return;const o=e.options.move.gravity,s=this.container,l=s.canvas.size,a=e.getRadius();if(o.enable){const u=e.position;(!o.inverse&&u.y>l.height+a&&n==="bottom"||o.inverse&&u.y<-a&&n==="top")&&s.particles.remove(e)}else{if(e.velocity.y>0&&e.position.y<=l.height+a||e.velocity.y<0&&e.position.y>=-a||e.velocity.x>0&&e.position.x<=l.width+a||e.velocity.x<0&&e.position.x>=-a)return;Vr(e.position,s.canvas.size,V.origin,a,n)||s.particles.remove(e)}}}class dx{constructor(e){this.container=e,this.modes=["out"]}update(e,n,i,r){if(!this.modes.includes(r))return;const o=this.container;switch(e.outType){case"inside":{const{x:s,y:l}=e.velocity,a=V.origin;a.length=e.moveCenter.radius,a.angle=e.velocity.angle+Math.PI,a.addTo(V.create(e.moveCenter));const{dx:u,dy:c}=Re(e.position,a);if(s<=0&&u>=0||l<=0&&c>=0||s>=0&&u<=0||l>=0&&c<=0)return;e.position.x=Math.floor(ve({min:0,max:o.canvas.size.width})),e.position.y=Math.floor(ve({min:0,max:o.canvas.size.height}));const{dx:d,dy:f}=Re(e.position,e.moveCenter);e.direction=Math.atan2(-f,-d),e.velocity.angle=e.direction;break}default:{if(Vr(e.position,o.canvas.size,V.origin,e.getRadius(),n))return;switch(e.outType){case"outside":{e.position.x=Math.floor(ve({min:-e.moveCenter.radius,max:e.moveCenter.radius}))+e.moveCenter.x,e.position.y=Math.floor(ve({min:-e.moveCenter.radius,max:e.moveCenter.radius}))+e.moveCenter.y;const{dx:s,dy:l}=Re(e.position,e.moveCenter);e.moveCenter.radius&&(e.direction=Math.atan2(l,s),e.velocity.angle=e.direction);break}case"normal":{const s=e.options.move.warp,l=o.canvas.size,a={bottom:l.height+e.getRadius()+e.offset.y,left:-e.getRadius()-e.offset.x,right:l.width+e.getRadius()+e.offset.x,top:-e.getRadius()-e.offset.y},u=e.getRadius(),c=Wr(e.position,u);n==="right"&&c.left>l.width+e.offset.x?(e.position.x=a.left,e.initialPosition.x=e.position.x,s||(e.position.y=I()*l.height,e.initialPosition.y=e.position.y)):n==="left"&&c.right<-e.offset.x&&(e.position.x=a.right,e.initialPosition.x=e.position.x,s||(e.position.y=I()*l.height,e.initialPosition.y=e.position.y)),n==="bottom"&&c.top>l.height+e.offset.y?(s||(e.position.x=I()*l.width,e.initialPosition.x=e.position.x),e.position.y=a.top,e.initialPosition.y=e.position.y):n==="top"&&c.bottom<-e.offset.y&&(s||(e.position.x=I()*l.width,e.initialPosition.x=e.position.x),e.position.y=a.bottom,e.initialPosition.y=e.position.y);break}}break}}}}class fx{constructor(e){this.container=e,this.updaters=[new ax(e),new ux(e),new dx(e),new cx(e)]}init(){}isEnabled(e){return!e.destroyed&&!e.spawning}update(e,n){var i,r,o,s;const l=e.options.move.outModes;this.updateOutMode(e,n,(i=l.bottom)!==null&&i!==void 0?i:l.default,"bottom"),this.updateOutMode(e,n,(r=l.left)!==null&&r!==void 0?r:l.default,"left"),this.updateOutMode(e,n,(o=l.right)!==null&&o!==void 0?o:l.default,"right"),this.updateOutMode(e,n,(s=l.top)!==null&&s!==void 0?s:l.default,"top")}updateOutMode(e,n,i,r){for(const o of this.updaters)o.update(e,r,n,i)}}async function hx(t){await t.addParticleUpdater("outModes",e=>new fx(e))}class px{init(){}isEnabled(e){return!Un()&&!e.destroyed&&e.container.actualOptions.interactivity.events.onHover.parallax.enable}move(e){const n=e.container,i=n.actualOptions;if(Un()||!i.interactivity.events.onHover.parallax.enable)return;const r=i.interactivity.events.onHover.parallax.force,o=n.interactivity.mouse.position;if(!o)return;const s={x:n.canvas.size.width/2,y:n.canvas.size.height/2},l=i.interactivity.events.onHover.parallax.smooth,a=e.getRadius()/r,u={x:(o.x-s.x)*a,y:(o.y-s.y)*a};e.offset.x+=(u.x-e.offset.x)/l,e.offset.y+=(u.y-e.offset.y)/l}}async function mx(t){t.addMover("parallax",()=>new px)}class vx extends Du{constructor(e){super(e)}clear(){}init(){}async interact(e){var n;const i=this.container,r=(n=e.retina.attractDistance)!==null&&n!==void 0?n:i.retina.attractDistance,o=e.getPosition(),s=i.particles.quadTree.queryCircle(o,r);for(const l of s){if(e===l||!l.options.move.attract.enable||l.destroyed||l.spawning)continue;const a=l.getPosition(),{dx:u,dy:c}=Re(o,a),d=e.options.move.attract.rotate,f=u/(d.x*1e3),m=c/(d.y*1e3),h=l.size.value/e.size.value,y=1/h;e.velocity.x-=f*h,e.velocity.y-=m*h,l.velocity.x+=f*y,l.velocity.y+=m*y}}isEnabled(e){return e.options.move.attract.enable}reset(){}}async function yx(t){await t.addInteractor("particlesAttract",e=>new vx(e))}function bd(t,e,n,i,r,o){const s=bt(t.options.collisions.absorb.speed*r.factor/10,0,i);t.size.value+=s/2,n.size.value-=s,i<=o&&(n.size.value=0,n.destroy())}function gx(t,e,n,i){const r=t.getRadius(),o=e.getRadius();r===void 0&&o!==void 0?t.destroy():r!==void 0&&o===void 0?e.destroy():r!==void 0&&o!==void 0&&(r>=o?bd(t,r,e,o,n,i):bd(e,o,t,r,n,i))}function Dp(t,e){gp(za(t),za(e))}function wx(t,e){!t.unbreakable&&!e.unbreakable&&Dp(t,e),t.getRadius()===void 0&&e.getRadius()!==void 0?t.destroy():t.getRadius()!==void 0&&e.getRadius()===void 0?e.destroy():t.getRadius()!==void 0&&e.getRadius()!==void 0&&(t.getRadius()>=e.getRadius()?t:e).destroy()}function xx(t,e,n,i){switch(t.options.collisions.mode){case"absorb":{gx(t,e,n,i);break}case"bounce":{Dp(t,e);break}case"destroy":{wx(t,e);break}}}class bx extends Du{constructor(e){super(e)}clear(){}init(){}async interact(e,n){const i=this.container,r=e.getPosition(),o=e.getRadius(),s=i.particles.quadTree.queryCircle(r,o*2);for(const l of s){if(e===l||!l.options.collisions.enable||e.options.collisions.mode!==l.options.collisions.mode||l.destroyed||l.spawning)continue;const a=l.getPosition(),u=l.getRadius();if(Math.abs(Math.round(r.z)-Math.round(a.z))>o+u)continue;const c=ye(r,a),d=o+u;c>d||xx(e,l,n,i.retina.pixelRatio)}}isEnabled(e){return e.options.collisions.enable}reset(){}}async function kx(t){await t.addInteractor("particlesCollisions",e=>new bx(e))}class _x extends He{constructor(e,n,i,r){super(e,n,i),this.canvasSize=r,this.canvasSize=Object.assign({},r)}contains(e){if(super.contains(e))return!0;const n={x:e.x-this.canvasSize.width,y:e.y};if(super.contains(n))return!0;const i={x:e.x-this.canvasSize.width,y:e.y-this.canvasSize.height};if(super.contains(i))return!0;const r={x:e.x,y:e.y-this.canvasSize.height};return super.contains(r)}intersects(e){if(super.intersects(e))return!0;const n=e,i=e,r={x:e.position.x-this.canvasSize.width,y:e.position.y-this.canvasSize.height};if(i.radius!==void 0){const o=new He(r.x,r.y,i.radius*2);return super.intersects(o)}else if(n.size!==void 0){const o=new Le(r.x,r.y,n.size.width*2,n.size.height*2);return super.intersects(o)}return!1}}class Sx{constructor(){this.blur=5,this.color=new ae,this.color.value="#000",this.enable=!1}load(e){e&&(e.blur!==void 0&&(this.blur=e.blur),this.color=ae.create(this.color,e.color),e.enable!==void 0&&(this.enable=e.enable))}}class Cx{constructor(){this.enable=!1,this.frequency=1}load(e){e&&(e.color!==void 0&&(this.color=ae.create(this.color,e.color)),e.enable!==void 0&&(this.enable=e.enable),e.frequency!==void 0&&(this.frequency=e.frequency),e.opacity!==void 0&&(this.opacity=e.opacity))}}class Px{constructor(){this.blink=!1,this.color=new ae,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new Sx,this.triangles=new Cx,this.width=1,this.warp=!1}load(e){e&&(e.id!==void 0&&(this.id=e.id),e.blink!==void 0&&(this.blink=e.blink),this.color=ae.create(this.color,e.color),e.consent!==void 0&&(this.consent=e.consent),e.distance!==void 0&&(this.distance=e.distance),e.enable!==void 0&&(this.enable=e.enable),e.frequency!==void 0&&(this.frequency=e.frequency),e.opacity!==void 0&&(this.opacity=e.opacity),this.shadow.load(e.shadow),this.triangles.load(e.triangles),e.width!==void 0&&(this.width=e.width),e.warp!==void 0&&(this.warp=e.warp))}}function Ex(t,e,n,i,r){let o=ye(t,e);if(!r||o<=n)return o;const s={x:e.x-i.width,y:e.y};if(o=ye(t,s),o<=n)return o;const l={x:e.x-i.width,y:e.y-i.height};if(o=ye(t,l),o<=n)return o;const a={x:e.x,y:e.y-i.height};return o=ye(t,a),o}class Ox extends Du{constructor(e){super(e),this.linkContainer=e}clear(){}init(){this.linkContainer.particles.linksColor=void 0,this.linkContainer.particles.linksColors=new Map}async interact(e){var n;if(!e.options.links)return;e.links=[];const i=e.getPosition(),r=this.container,o=r.canvas.size;if(i.x<0||i.y<0||i.x>o.width||i.y>o.height)return;const s=e.options.links,l=s.opacity,a=(n=e.retina.linksDistance)!==null&&n!==void 0?n:0,u=s.warp,c=u?new _x(i.x,i.y,a,o):new He(i.x,i.y,a),d=r.particles.quadTree.query(c);for(const f of d){const m=f.options.links;if(e===f||!(m!=null&&m.enable)||s.id!==m.id||f.spawning||f.destroyed||!f.links||e.links.map(v=>v.destination).indexOf(f)!==-1||f.links.map(v=>v.destination).indexOf(e)!==-1)continue;const h=f.getPosition();if(h.x<0||h.y<0||h.x>o.width||h.y>o.height)continue;const y=Ex(i,h,a,o,u&&m.warp);if(y>a)return;const b=(1-y/a)*l;this.setColor(e),e.links.push({destination:f,opacity:b})}}isEnabled(e){var n;return!!(!((n=e.options.links)===null||n===void 0)&&n.enable)}loadParticlesOptions(e,...n){var i,r;e.links||(e.links=new Px);for(const o of n)e.links.load((r=(i=o==null?void 0:o.links)!==null&&i!==void 0?i:o==null?void 0:o.lineLinked)!==null&&r!==void 0?r:o==null?void 0:o.line_linked)}reset(){}setColor(e){if(!e.options.links)return;const n=this.linkContainer,i=e.options.links;let r=i.id===void 0?n.particles.linksColor:n.particles.linksColors.get(i.id);if(r)return;const o=i.color;r=Sp(o,i.blink,i.consent),i.id===void 0?n.particles.linksColor=r:n.particles.linksColors.set(i.id,r)}}async function zx(t){await t.addInteractor("particlesLinks",e=>new Ox(e))}function Mx(t,e,n,i,r,o,s,l,a,u,c,d){let f=!1;if(ye(n,i)<=r)fr(t,n,i),f=!0;else if(s){let m,h;const y={x:i.x-o.width,y:i.y},b=Re(n,y);if(b.distance<=r){const v=n.y-b.dy/b.dx*n.x;m={x:0,y:v},h={x:o.width,y:v}}else{const v={x:i.x,y:i.y-o.height},p=Re(n,v);if(p.distance<=r){const x=-(n.y-p.dy/p.dx*n.x)/(p.dy/p.dx);m={x,y:0},h={x,y:o.height}}else{const g={x:i.x-o.width,y:i.y-o.height},x=Re(n,g);if(x.distance<=r){const k=n.y-x.dy/x.dx*n.x;m={x:-k/(x.dy/x.dx),y:k},h={x:m.x+o.width,y:m.y+o.height}}}}m&&h&&(fr(t,n,m),fr(t,i,h),f=!0)}if(f){if(t.lineWidth=e,l&&(t.globalCompositeOperation=a),t.strokeStyle=Rt(u,c),d.enable){const m=at(d.color);m&&(t.shadowBlur=d.blur,t.shadowColor=Rt(m))}t.stroke()}}function Ax(t,e,n,i,r,o,s,l){$y(t,e,n,i),r&&(t.globalCompositeOperation=o),t.fillStyle=Rt(s,l),t.fill()}function Tx(t){return t.sort((e,n)=>e-n),t.join("_")}function kd(t,e){const n=Tx(t.map(r=>r.id));let i=e.get(n);return i===void 0&&(i=I(),e.set(n,i)),i}class Rx{constructor(e){this.container=e,this._freqs={links:new Map,triangles:new Map}}drawParticle(e,n){var i;const r=n.options;if(!n.links||n.links.length<=0)return;const o=n.links.filter(s=>r.links&&this.getLinkFrequency(n,s.destination)<=r.links.frequency);for(const s of o)this.drawTriangles(r,n,s,o),s.opacity>0&&((i=n.retina.linksWidth)!==null&&i!==void 0?i:0)>0&&this.drawLinkLine(n,s)}async init(){this._freqs.links=new Map,this._freqs.triangles=new Map}particleCreated(e){if(e.links=[],!e.options.links)return;const n=this.container.retina.pixelRatio;e.retina.linksDistance=e.options.links.distance*n,e.retina.linksWidth=e.options.links.width*n}particleDestroyed(e){e.links=[]}drawLinkLine(e,n){const i=this.container,r=i.actualOptions,o=n.destination,s=e.getPosition(),l=o.getPosition();let a=n.opacity;i.canvas.draw(u=>{var c,d,f;if(!e.options.links)return;let m;const h=(c=e.options.twinkle)===null||c===void 0?void 0:c.lines;if(h!=null&&h.enable){const v=h.frequency,p=at(h.color);I(){var f;const m=e.getPosition(),h=l.getPosition(),y=a.getPosition(),b=(f=e.retina.linksDistance)!==null&&f!==void 0?f:0;if(ye(m,h)>b||ye(y,h)>b||ye(y,m)>b)return;let v=at(u.color);if(!v){const p=e.options.links,g=(p==null?void 0:p.id)!==void 0?o.particles.linksColors.get(p.id):o.particles.linksColor;v=Ma(e,l,g)}v&&Ax(d,m,h,y,s.backgroundMask.enable,s.backgroundMask.composite,v,c)})}drawTriangles(e,n,i,r){var o,s,l;const a=i.destination;if(!(!((o=e.links)===null||o===void 0)&&o.triangles.enable&&(!((s=a.options.links)===null||s===void 0)&&s.triangles.enable)))return;const u=(l=a.links)===null||l===void 0?void 0:l.filter(c=>{const d=this.getLinkFrequency(a,c.destination);return a.options.links&&d<=a.options.links.frequency&&r.findIndex(f=>f.destination===c.destination)>=0});if(u!=null&&u.length)for(const c of u){const d=c.destination;this.getTriangleFrequency(n,a,d)>e.links.triangles.frequency||this.drawLinkTriangle(n,i,c)}}getLinkFrequency(e,n){return kd([e,n],this._freqs.links)}getTriangleFrequency(e,n,i){return kd([e,n,i],this._freqs.triangles)}}class Ix{constructor(){this.id="links"}getPlugin(e){return new Rx(e)}loadOptions(){}needsPlugin(){return!0}}async function Dx(t){const e=new Ix;await t.addPlugin(e)}async function jx(t){await zx(t),await Dx(t)}class jp{draw(e,n,i){const r=this.getCenter(n,i),o=this.getSidesData(n,i),s=o.count.numerator*o.count.denominator,l=o.count.numerator/o.count.denominator,a=180*(l-2)/l,u=Math.PI-Math.PI*a/180;if(e){e.beginPath(),e.translate(r.x,r.y),e.moveTo(0,0);for(let c=0;c=i&&t.destroy();break;case"min":e<=n&&t.destroy();break}}function Hx(t,e){var n,i,r,o,s;const l=((n=t.size.velocity)!==null&&n!==void 0?n:0)*e.factor,a=t.size.min,u=t.size.max,c=(i=t.size.decay)!==null&&i!==void 0?i:1;if(!(t.destroyed||!t.size.enable||((r=t.size.maxLoops)!==null&&r!==void 0?r:0)>0&&((o=t.size.loops)!==null&&o!==void 0?o:0)>((s=t.size.maxLoops)!==null&&s!==void 0?s:0))){switch(t.size.status){case"increasing":t.size.value>=u?(t.size.status="decreasing",t.size.loops||(t.size.loops=0),t.size.loops++):t.size.value+=l;break;case"decreasing":t.size.value<=a?(t.size.status="increasing",t.size.loops||(t.size.loops=0),t.size.loops++):t.size.value-=l}t.size.velocity&&c!==1&&(t.size.velocity*=c),Ux(t,t.size.value,a,u),t.destroyed||(t.size.value=bt(t.size.value,a,u))}}class Vx{init(e){var n;const i=e.container,r=e.options.size,o=r.animation;o.enable&&(e.size.velocity=((n=e.retina.sizeAnimationSpeed)!==null&&n!==void 0?n:i.retina.sizeAnimationSpeed)/100*i.retina.reduceFactor,o.sync||(e.size.velocity*=I()))}isEnabled(e){var n,i,r,o;return!e.destroyed&&!e.spawning&&e.size.enable&&(((n=e.size.maxLoops)!==null&&n!==void 0?n:0)<=0||((i=e.size.maxLoops)!==null&&i!==void 0?i:0)>0&&((r=e.size.loops)!==null&&r!==void 0?r:0)<((o=e.size.maxLoops)!==null&&o!==void 0?o:0))}reset(e){e.size.loops=0}update(e,n){this.isEnabled(e)&&Hx(e,n)}}async function Wx(t){await t.addParticleUpdater("size",()=>new Vx)}const vo=Math.sqrt(2);class qx{draw(e,n,i){e.rect(-i/vo,-i/vo,i*2/vo,i*2/vo)}getSidesCount(){return 4}}async function Qx(t){const e=new qx;await t.addShape(["edge","square"],e)}class Gx{draw(e,n,i){var r;const o=n.sides,s=(r=n.starInset)!==null&&r!==void 0?r:2;e.moveTo(0,0-i);for(let l=0;l0&&l.loops>=l.maxLoops)return;const a=ve(n.offset),u=((o=e.velocity)!==null&&o!==void 0?o:0)*t.factor+a*3.6,c=(s=e.decay)!==null&&s!==void 0?s:1;!r||l.status==="increasing"?(l.value+=u,l.value>i&&(l.loops||(l.loops=0),l.loops++,r&&(l.status="decreasing",l.value-=l.value%i))):(l.value-=u,l.value<0&&(l.loops||(l.loops=0),l.loops++,l.status="increasing",l.value+=l.value)),l.velocity&&c!==1&&(l.velocity*=c),l.value>i&&(l.value%=i)}function Yx(t,e){if(!t.strokeColor||!t.strokeAnimation)return;const n=t.strokeColor.h;n&&El(e,n,t.strokeAnimation.h,360,!1);const i=t.strokeColor.s;i&&El(e,i,t.strokeAnimation.s,100,!0);const r=t.strokeColor.l;r&&El(e,r,t.strokeAnimation.l,100,!0)}class Xx{constructor(e){this.container=e}init(e){var n,i,r;const o=this.container,s=lt(e.options.stroke,e.id,e.options.reduceDuplicates);e.strokeWidth=P(s.width)*o.retina.pixelRatio,e.strokeOpacity=P((n=s.opacity)!==null&&n!==void 0?n:1),e.strokeAnimation=(i=s.color)===null||i===void 0?void 0:i.animation;const l=(r=bn(s.color))!==null&&r!==void 0?r:e.getFillColor();l&&(e.strokeColor=Cp(l,e.strokeAnimation,o.retina.reduceFactor))}isEnabled(e){var n,i,r;const o=e.strokeAnimation;return!e.destroyed&&!e.spawning&&!!o&&(((n=e.strokeColor)===null||n===void 0?void 0:n.h.value)!==void 0&&e.strokeColor.h.enable||((i=e.strokeColor)===null||i===void 0?void 0:i.s.value)!==void 0&&e.strokeColor.s.enable||((r=e.strokeColor)===null||r===void 0?void 0:r.l.value)!==void 0&&e.strokeColor.l.enable)}update(e,n){this.isEnabled(e)&&Yx(e,n)}}async function Jx(t){await t.addParticleUpdater("strokeColor",e=>new Xx(e))}const Ta=["text","character","char"];class Zx{draw(e,n,i,r){var o,s,l;const a=n.shapeData;if(a===void 0)return;const u=a.value;if(u===void 0)return;const c=n;c.text===void 0&&(c.text=lt(u,n.randomIndexData));const d=c.text,f=(o=a.style)!==null&&o!==void 0?o:"",m=(s=a.weight)!==null&&s!==void 0?s:"400",h=Math.round(i)*2,y=(l=a.font)!==null&&l!==void 0?l:"Verdana",b=n.fill,v=d.length*i/2;e.font=`${f} ${m} ${h}px "${y}"`;const p={x:-v,y:i/2};e.globalAlpha=r,b?e.fillText(d,p.x,p.y):e.strokeText(d,p.x,p.y),e.globalAlpha=1}getSidesCount(){return 12}async init(e){const n=e.actualOptions;if(Ta.find(i=>G(i,n.particles.shape.type))){const i=Ta.map(o=>n.particles.shape.options[o]).find(o=>!!o),r=[];K(i,o=>{r.push(Iy(o.font,o.weight))}),await Promise.all(r)}}}async function eb(t){await t.addShape(Ta,new Zx)}async function tb(t){await J1(t),await mx(t),await sw(t),await uw(t),await hw(t),await bw(t),await Ew(t),await zw(t),await Tw(t),await Dw(t),await Fw(t),await Uw(t),await yx(t),await kx(t),await jx(t),await ew(t),await Gw(t),await tx(t),await $x(t),await Qx(t),await Kx(t),await eb(t),await Zw(t),await ox(t),await Wx(t),await q1(t),await iw(t),await Jx(t),await hx(t),await $1(t)}class nb{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=R(e.speed)),e.decay!==void 0&&(this.decay=R(e.decay)),e.sync!==void 0&&(this.sync=e.sync))}}class ib extends dt{constructor(){super(),this.animation=new nb,this.direction="clockwise",this.enable=!1,this.value=0}load(e){super.load(e),e&&(this.animation.load(e.animation),e.direction!==void 0&&(this.direction=e.direction),e.enable!==void 0&&(this.enable=e.enable))}}function rb(t,e){var n,i;if(!t.tilt||!t.options.tilt)return;const r=t.options.tilt,o=r.animation,s=((n=t.tilt.velocity)!==null&&n!==void 0?n:0)*e.factor,l=2*Math.PI,a=(i=t.tilt.decay)!==null&&i!==void 0?i:1;if(o.enable){switch(t.tilt.status){case"increasing":t.tilt.value+=s,t.tilt.value>l&&(t.tilt.value-=l);break;case"decreasing":default:t.tilt.value-=s,t.tilt.value<0&&(t.tilt.value+=l);break}t.tilt.velocity&&a!==1&&(t.tilt.velocity*=a)}}class ob{constructor(e){this.container=e}getTransformValues(e){var n;const i=((n=e.tilt)===null||n===void 0?void 0:n.enable)&&e.tilt;return{b:i?Math.cos(i.value)*i.cosDirection:void 0,c:i?Math.sin(i.value)*i.sinDirection:void 0}}init(e){var n;const i=e.options.tilt;if(!i)return;e.tilt={enable:i.enable,value:P(i.value)*Math.PI/180,sinDirection:I()>=.5?1:-1,cosDirection:I()>=.5?1:-1};let r=i.direction;switch(r==="random"&&(r=Math.floor(I()*2)>0?"counter-clockwise":"clockwise"),r){case"counter-clockwise":case"counterClockwise":e.tilt.status="decreasing";break;case"clockwise":e.tilt.status="increasing";break}const o=(n=e.options.tilt)===null||n===void 0?void 0:n.animation;o!=null&&o.enable&&(e.tilt.decay=1-P(o.decay),e.tilt.velocity=P(o.speed)/360*this.container.retina.reduceFactor,o.sync||(e.tilt.velocity*=I()))}isEnabled(e){var n;const i=(n=e.options.tilt)===null||n===void 0?void 0:n.animation;return!e.destroyed&&!e.spawning&&!!(i!=null&&i.enable)}loadOptions(e,...n){e.tilt||(e.tilt=new ib);for(const i of n)e.tilt.load(i==null?void 0:i.tilt)}update(e,n){this.isEnabled(e)&&rb(e,n)}}async function sb(t){await t.addParticleUpdater("tilt",e=>new ob(e))}class _d{constructor(){this.enable=!1,this.frequency=.05,this.opacity=1}load(e){e&&(e.color!==void 0&&(this.color=ae.create(this.color,e.color)),e.enable!==void 0&&(this.enable=e.enable),e.frequency!==void 0&&(this.frequency=e.frequency),e.opacity!==void 0&&(this.opacity=R(e.opacity)))}}class lb{constructor(){this.lines=new _d,this.particles=new _d}load(e){e&&(this.lines.load(e.lines),this.particles.load(e.particles))}}class ab{getColorStyles(e,n,i,r){const o=e.options,s=o.twinkle;if(!s)return{};const l=s.particles,a=l.enable&&I()new ab)}class cb{constructor(){this.angle=50,this.move=10}load(e){e&&(e.angle!==void 0&&(this.angle=R(e.angle)),e.move!==void 0&&(this.move=R(e.move)))}}class db{constructor(){this.distance=5,this.enable=!1,this.speed=new cb}load(e){if(e&&(e.distance!==void 0&&(this.distance=R(e.distance)),e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0))if(typeof e.speed=="number")this.speed.load({angle:e.speed});else{const n=e.speed;n.min!==void 0?this.speed.load({angle:n}):this.speed.load(e.speed)}}}function fb(t,e){var n;const i=t.options.wobble;if(!(i!=null&&i.enable)||!t.wobble)return;const r=t.wobble.angleSpeed*e.factor,o=t.wobble.moveSpeed*e.factor,s=o*(((n=t.retina.wobbleDistance)!==null&&n!==void 0?n:0)*e.factor)/(1e3/60),l=2*Math.PI;t.wobble.angle+=r,t.wobble.angle>l&&(t.wobble.angle-=l),t.position.x+=s*Math.cos(t.wobble.angle),t.position.y+=s*Math.abs(Math.sin(t.wobble.angle))}class hb{constructor(e){this.container=e}init(e){var n;const i=e.options.wobble;i!=null&&i.enable?e.wobble={angle:I()*Math.PI*2,angleSpeed:P(i.speed.angle)/360,moveSpeed:P(i.speed.move)/10}:e.wobble={angle:0,angleSpeed:0,moveSpeed:0},e.retina.wobbleDistance=P((n=i==null?void 0:i.distance)!==null&&n!==void 0?n:0)*this.container.retina.pixelRatio}isEnabled(e){var n;return!e.destroyed&&!e.spawning&&!!(!((n=e.options.wobble)===null||n===void 0)&&n.enable)}loadOptions(e,...n){e.wobble||(e.wobble=new db);for(const i of n)e.wobble.load(i==null?void 0:i.wobble)}update(e,n){this.isEnabled(e)&&fb(e,n)}}async function pb(t){await t.addParticleUpdater("wobble",e=>new hb(e))}async function mb(t){await tb(t),await S1(t),await B1(t),await sb(t),await ub(t),await pb(t),await j1(t),await y1(t),await R1(t)}const vb=({linkColor:t,particleColor:e})=>{const n=T.useCallback(async r=>{console.log(r),await mb(r)},[]),i=T.useCallback(async r=>{console.log(r)},[]);return w.jsx("div",{children:w.jsx(Os,{id:"tsparticles",init:n,loaded:i,options:{background:{},fpsLimit:120,interactivity:{events:{onClick:{enable:!1,mode:"push"},onHover:{enable:!0,mode:"repulse"},resize:!0},modes:{push:{quantity:4},repulse:{distance:150,duration:.4}}},particles:{color:{value:e},links:{color:{value:t},distance:150,enable:!0,opacity:.4,width:1},collisions:{enable:!0},move:{directions:"none",enable:!0,outModes:{default:"bounce"},random:!0,speed:4,straight:!0},number:{density:{enable:!0,area:1500},value:100},opacity:{value:.4},shape:{type:"circle"},size:{value:{min:1,max:4}}},detectRetina:!0}})})},yb=()=>{const[t,e]=T.useState(0),[n,i]=T.useState(!1),r=[{src:ly,alt:"JP Morgan certification"},{src:ay,alt:"IBM certificate"},{src:sy,alt:"Goldman Sachs certificate"},{src:hy,alt:"GSSoC certificate"},{src:"https://d1zpw5mq5bnzyn.cloudfront.net/images/fc000fb8b3b64fccb805d93f09c11cfd.jpeg",alt:"Equitable Hacks certificate"}],o=l=>{e(l)};function s(){i(!n)}return T.useEffect(()=>{let l;return n||(l=setInterval(()=>{e(a=>a===r.length-1?0:a+1)},3e3)),()=>clearInterval(l)},[t,n,r.length]),w.jsxs("div",{className:"mx-5 flex justify-center items-center flex-col object-contain",children:[r.map((l,a)=>w.jsx("img",{src:l.src,alt:l.alt,className:`object-cover w-3xl h-auto flex items-center ${a===t?"opacity-100 transition duration-1000 ease-in-out transform scale-100":"hidden max-w-full opacity-40 transition duration-1000 ease-in-out transform scale-95"}`,onClick:()=>o(a)},a)),w.jsx("div",{className:"flex mt-4 justify-center items-center",children:w.jsxs("button",{className:"mx-2",onClick:s,children:[" ",n?w.jsx(Yv,{className:"transition-all duration-200 ease-in-out text-4xl text-gray-500 hover:text-gray-700 dark:hover:text-white"}):w.jsx(Kv,{className:"transition-all duration-200 ease-in-out text-4xl text-gray-500 hover:text-gray-700 dark:hover:text-white"})," "]})})]})};function A(){return A=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&(n[r]=t[r]);return n}function Lp(t){var e,n,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e{e[n]=Np(t[n])}),e}function Ut(t,e,n={clone:!0}){const i=n.clone?A({},t):t;return Mn(t)&&Mn(e)&&Object.keys(e).forEach(r=>{r!=="__proto__"&&(Mn(e[r])&&r in t&&Mn(t[r])?i[r]=Ut(t[r],e[r],n):n.clone?i[r]=Mn(e[r])?Np(e[r]):e[r]:i[r]=e[r])}),i}function zi(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;nn==null?e:function(...r){e.apply(this,r),n.apply(this,r)},()=>{})}function wb(t,e=166){let n;function i(...r){const o=()=>{t.apply(this,r)};clearTimeout(n),n=setTimeout(o,e)}return i.clear=()=>{clearTimeout(n)},i}function xb(t,e){return()=>null}function Fp(t,e){return T.isValidElement(t)&&e.indexOf(t.type.muiName)!==-1}function Bp(t){return t&&t.ownerDocument||document}function bb(t){return Bp(t).defaultView||window}function kb(t,e){return()=>null}function $p(t,e){typeof t=="function"?t(e):t&&(t.current=e)}const _b=typeof window<"u"?T.useLayoutEffect:T.useEffect,Up=_b;let Sd=0;function Sb(t){const[e,n]=T.useState(t),i=t||e;return T.useEffect(()=>{e==null&&(Sd+=1,n(`mui-${Sd}`))},[e]),i}const Cd=Rl["useId"];function Cb(t){if(Cd!==void 0){const e=Cd();return t??e}return Sb(t)}function Pb(t,e,n,i,r){return null}function Eb({controlled:t,default:e,name:n,state:i="value"}){const{current:r}=T.useRef(t!==void 0),[o,s]=T.useState(e),l=r?t:o,a=T.useCallback(u=>{r||s(u)},[]);return[l,a]}function Ob(t){const e=T.useRef(t);return Up(()=>{e.current=t}),T.useCallback((...n)=>(0,e.current)(...n),[])}function zb(...t){return T.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(n=>{$p(n,e)})},t)}let zs=!0,Ra=!1,Pd;const Mb={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Ab(t){const{type:e,tagName:n}=t;return!!(n==="INPUT"&&Mb[e]&&!t.readOnly||n==="TEXTAREA"&&!t.readOnly||t.isContentEditable)}function Tb(t){t.metaKey||t.altKey||t.ctrlKey||(zs=!0)}function Ol(){zs=!1}function Rb(){this.visibilityState==="hidden"&&Ra&&(zs=!0)}function Ib(t){t.addEventListener("keydown",Tb,!0),t.addEventListener("mousedown",Ol,!0),t.addEventListener("pointerdown",Ol,!0),t.addEventListener("touchstart",Ol,!0),t.addEventListener("visibilitychange",Rb,!0)}function Db(t){const{target:e}=t;try{return e.matches(":focus-visible")}catch{}return zs||Ab(e)}function jb(){const t=T.useCallback(r=>{r!=null&&Ib(r.ownerDocument)},[]),e=T.useRef(!1);function n(){return e.current?(Ra=!0,window.clearTimeout(Pd),Pd=window.setTimeout(()=>{Ra=!1},100),e.current=!1,!0):!1}function i(r){return Db(r)?(e.current=!0,!0):!1}return{isFocusVisibleRef:e,onFocus:i,onBlur:n,ref:t}}function Hp(t,e){const n=A({},e);return Object.keys(t).forEach(i=>{if(i.toString().match(/^(components|slots)$/))n[i]=A({},t[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const r=t[i]||{},o=e[i];n[i]={},!o||!Object.keys(o)?n[i]=r:!r||!Object.keys(r)?n[i]=o:(n[i]=A({},o),Object.keys(r).forEach(s=>{n[i][s]=Hp(r[s],o[s])}))}else n[i]===void 0&&(n[i]=t[i])}),n}function Xt(t,e,n=void 0){const i={};return Object.keys(t).forEach(r=>{i[r]=t[r].reduce((o,s)=>{if(s){const l=e(s);l!==""&&o.push(l),n&&n[s]&&o.push(n[s])}return o},[]).join(" ")}),i}const Ed=t=>t,Lb=()=>{let t=Ed;return{configure(e){t=e},generate(e){return t(e)},reset(){t=Ed}}},Nb=Lb(),Vp=Nb,Fb={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Dt(t,e,n="Mui"){const i=Fb[e];return i?`${n}-${i}`:`${Vp.generate(t)}-${e}`}function Jt(t,e,n="Mui"){const i={};return e.forEach(r=>{i[r]=Dt(t,r,n)}),i}function Wp(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var Bb=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,$b=Wp(function(t){return Bb.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91});function Ub(t){if(t.sheet)return t.sheet;for(var e=0;e0?_e(Di,--Ve):0,Mi--,fe===10&&(Mi=1,As--),fe}function Xe(){return fe=Ve2||Ir(fe)>3?"":" "}function t2(t,e){for(;--e&&Xe()&&!(fe<48||fe>102||fe>57&&fe<65||fe>70&&fe<97););return qr(t,To()+(e<6&&It()==32&&Xe()==32))}function Da(t){for(;Xe();)switch(fe){case t:return Ve;case 34:case 39:t!==34&&t!==39&&Da(fe);break;case 40:t===41&&Da(t);break;case 92:Xe();break}return Ve}function n2(t,e){for(;Xe()&&t+fe!==47+10;)if(t+fe===42+42&&It()===47)break;return"/*"+qr(e,Ve-1)+"*"+Ms(t===47?t:Xe())}function i2(t){for(;!Ir(It());)Xe();return qr(t,Ve)}function r2(t){return Xp(Io("",null,null,null,[""],t=Yp(t),0,[0],t))}function Io(t,e,n,i,r,o,s,l,a){for(var u=0,c=0,d=s,f=0,m=0,h=0,y=1,b=1,v=1,p=0,g="",x=r,k=o,_=i,S=g;b;)switch(h=p,p=Xe()){case 40:if(h!=108&&_e(S,d-1)==58){Ia(S+=$(Ro(p),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:S+=Ro(p);break;case 9:case 10:case 13:case 32:S+=e2(h);break;case 92:S+=t2(To()-1,7);continue;case 47:switch(It()){case 42:case 47:yo(o2(n2(Xe(),To()),e,n),a);break;default:S+="/"}break;case 123*y:l[u++]=Pt(S)*v;case 125*y:case 59:case 0:switch(p){case 0:case 125:b=0;case 59+c:v==-1&&(S=$(S,/\f/g,"")),m>0&&Pt(S)-d&&yo(m>32?zd(S+";",i,n,d-1):zd($(S," ","")+";",i,n,d-2),a);break;case 59:S+=";";default:if(yo(_=Od(S,e,n,u,c,r,l,g,x=[],k=[],d),o),p===123)if(c===0)Io(S,e,_,_,x,o,d,l,k);else switch(f===99&&_e(S,3)===110?100:f){case 100:case 108:case 109:case 115:Io(t,_,_,i&&yo(Od(t,_,_,0,0,r,l,g,r,x=[],d),k),r,k,d,l,i?x:k);break;default:Io(S,_,_,_,[""],k,0,l,k)}}u=c=m=0,y=v=1,g=S="",d=s;break;case 58:d=1+Pt(S),m=h;default:if(y<1){if(p==123)--y;else if(p==125&&y++==0&&Zb()==125)continue}switch(S+=Ms(p),p*y){case 38:v=c>0?1:(S+="\f",-1);break;case 44:l[u++]=(Pt(S)-1)*v,v=1;break;case 64:It()===45&&(S+=Ro(Xe())),f=It(),c=d=Pt(g=S+=i2(To())),p++;break;case 45:h===45&&Pt(S)==2&&(y=0)}}return o}function Od(t,e,n,i,r,o,s,l,a,u,c){for(var d=r-1,f=r===0?o:[""],m=Fu(f),h=0,y=0,b=0;h0?f[v]+" "+p:$(p,/&\f/g,f[v])))&&(a[b++]=g);return Ts(t,e,n,r===0?Lu:l,a,u,c)}function o2(t,e,n){return Ts(t,e,n,qp,Ms(Jb()),Rr(t,2,-2),0)}function zd(t,e,n,i){return Ts(t,e,n,Nu,Rr(t,0,i),Rr(t,i+1,-1),i)}function yi(t,e){for(var n="",i=Fu(t),r=0;r6)switch(_e(t,e+1)){case 109:if(_e(t,e+4)!==45)break;case 102:return $(t,/(.+:)(.+)-([^]+)/,"$1"+B+"$2-$3$1"+us+(_e(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Ia(t,"stretch")?Jp($(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(_e(t,e+1)!==115)break;case 6444:switch(_e(t,Pt(t)-3-(~Ia(t,"!important")&&10))){case 107:return $(t,":",":"+B)+t;case 101:return $(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+B+(_e(t,14)===45?"inline-":"")+"box$3$1"+B+"$2$3$1"+Oe+"$2box$3")+t}break;case 5936:switch(_e(t,e+11)){case 114:return B+t+Oe+$(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return B+t+Oe+$(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return B+t+Oe+$(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return B+t+Oe+t+t}return t}var p2=function(e,n,i,r){if(e.length>-1&&!e.return)switch(e.type){case Nu:e.return=Jp(e.value,e.length);break;case Qp:return yi([Wi(e,{value:$(e.value,"@","@"+B)})],r);case Lu:if(e.length)return Xb(e.props,function(o){switch(Yb(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return yi([Wi(e,{props:[$(o,/:(read-\w+)/,":"+us+"$1")]})],r);case"::placeholder":return yi([Wi(e,{props:[$(o,/:(plac\w+)/,":"+B+"input-$1")]}),Wi(e,{props:[$(o,/:(plac\w+)/,":"+us+"$1")]}),Wi(e,{props:[$(o,/:(plac\w+)/,Oe+"input-$1")]})],r)}return""})}},m2=[p2],v2=function(e){var n=e.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(y){var b=y.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var r=e.stylisPlugins||m2,o={},s,l=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var b=y.getAttribute("data-emotion").split(" "),v=1;v=4;++i,r-=4)n=t.charCodeAt(i)&255|(t.charCodeAt(++i)&255)<<8|(t.charCodeAt(++i)&255)<<16|(t.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(r){case 3:e^=(t.charCodeAt(i+2)&255)<<16;case 2:e^=(t.charCodeAt(i+1)&255)<<8;case 1:e^=t.charCodeAt(i)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var b2={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},k2=/[A-Z]|^ms/g,_2=/_EMO_([^_]+?)_([^]*?)_EMO_/g,em=function(e){return e.charCodeAt(1)===45},Ad=function(e){return e!=null&&typeof e!="boolean"},zl=Wp(function(t){return em(t)?t:t.replace(k2,"-$&").toLowerCase()}),Td=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(_2,function(i,r,o){return Et={name:r,styles:o,next:Et},r})}return b2[e]!==1&&!em(e)&&typeof n=="number"&&n!==0?n+"px":n};function Dr(t,e,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Et={name:n.name,styles:n.styles,next:Et},n.name;if(n.styles!==void 0){var i=n.next;if(i!==void 0)for(;i!==void 0;)Et={name:i.name,styles:i.styles,next:Et},i=i.next;var r=n.styles+";";return r}return S2(t,e,n)}case"function":{if(t!==void 0){var o=Et,s=n(t);return Et=o,Dr(t,e,s)}break}}if(e==null)return n;var l=e[n];return l!==void 0?l:n}function S2(t,e,n){var i="";if(Array.isArray(n))for(var r=0;r96?M2:A2},Dd=function(e,n,i){var r;if(n){var o=n.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(s){return e.__emotion_forwardProp(s)&&o(s)}:o}return typeof r!="function"&&i&&(r=e.__emotion_forwardProp),r},T2=function(e){var n=e.cache,i=e.serialized,r=e.isStringTag;return Zp(n,i,r),O2(function(){return w2(n,i,r)}),null},R2=function t(e,n){var i=e.__emotion_real===e,r=i&&e.__emotion_base||e,o,s;n!==void 0&&(o=n.label,s=n.target);var l=Dd(e,n,i),a=l||Id(r),u=!a("as");return function(){var c=arguments,d=i&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,m=1;m{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))},L2=["values","unit","step"],N2=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,i)=>n.val-i.val),e.reduce((n,i)=>A({},n,{[i.key]:i.val}),{})};function F2(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5}=t,r=be(t,L2),o=N2(e),s=Object.keys(o);function l(f){return`@media (min-width:${typeof e[f]=="number"?e[f]:f}${n})`}function a(f){return`@media (max-width:${(typeof e[f]=="number"?e[f]:f)-i/100}${n})`}function u(f,m){const h=s.indexOf(m);return`@media (min-width:${typeof e[f]=="number"?e[f]:f}${n}) and (max-width:${(h!==-1&&typeof e[s[h]]=="number"?e[s[h]]:m)-i/100}${n})`}function c(f){return s.indexOf(f)+1`@media (min-width:${Bu[t]}px)`};function Gt(t,e,n){const i=t.theme||{};if(Array.isArray(e)){const o=i.breakpoints||jd;return e.reduce((s,l,a)=>(s[o.up(o.keys[a])]=n(e[a]),s),{})}if(typeof e=="object"){const o=i.breakpoints||jd;return Object.keys(e).reduce((s,l)=>{if(Object.keys(o.values||Bu).indexOf(l)!==-1){const a=o.up(l);s[a]=n(e[l],l)}else{const a=l;s[a]=e[a]}return s},{})}return n(e)}function U2(t={}){var e;return((e=t.keys)==null?void 0:e.reduce((i,r)=>{const o=t.up(r);return i[o]={},i},{}))||{}}function H2(t,e){return t.reduce((n,i)=>{const r=n[i];return(!r||Object.keys(r).length===0)&&delete n[i],n},e)}function Rs(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const i=`vars.${e}`.split(".").reduce((r,o)=>r&&r[o]?r[o]:null,t);if(i!=null)return i}return e.split(".").reduce((i,r)=>i&&i[r]!=null?i[r]:null,t)}function cs(t,e,n,i=n){let r;return typeof t=="function"?r=t(n):Array.isArray(t)?r=t[n]||i:r=Rs(t,n)||i,e&&(r=e(r,i,t)),r}function U(t){const{prop:e,cssProperty:n=t.prop,themeKey:i,transform:r}=t,o=s=>{if(s[e]==null)return null;const l=s[e],a=s.theme,u=Rs(a,i)||{};return Gt(s,l,d=>{let f=cs(u,r,d);return d===f&&typeof d=="string"&&(f=cs(u,r,`${e}${d==="default"?"":le(d)}`,d)),n===!1?f:{[n]:f}})};return o.propTypes={},o.filterProps=[e],o}function V2(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const W2={m:"margin",p:"padding"},q2={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ld={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Q2=V2(t=>{if(t.length>2)if(Ld[t])t=Ld[t];else return[t];const[e,n]=t.split(""),i=W2[e],r=q2[n]||"";return Array.isArray(r)?r.map(o=>i+o):[i+r]}),$u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Uu=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...$u,...Uu];function Qr(t,e,n,i){var r;const o=(r=Rs(t,e,!1))!=null?r:n;return typeof o=="number"?s=>typeof s=="string"?s:o*s:Array.isArray(o)?s=>typeof s=="string"?s:o[s]:typeof o=="function"?o:()=>{}}function im(t){return Qr(t,"spacing",8)}function Gr(t,e){if(typeof e=="string"||e==null)return e;const n=Math.abs(e),i=t(n);return e>=0?i:typeof i=="number"?-i:`-${i}`}function G2(t,e){return n=>t.reduce((i,r)=>(i[r]=Gr(e,n),i),{})}function K2(t,e,n,i){if(e.indexOf(n)===-1)return null;const r=Q2(n),o=G2(r,i),s=t[n];return Gt(t,s,o)}function rm(t,e){const n=im(t.theme);return Object.keys(t).map(i=>K2(t,e,i,n)).reduce(pr,{})}function re(t){return rm(t,$u)}re.propTypes={};re.filterProps=$u;function oe(t){return rm(t,Uu)}oe.propTypes={};oe.filterProps=Uu;function Y2(t=8){if(t.mui)return t;const e=im({spacing:t}),n=(...i)=>(i.length===0?[1]:i).map(o=>{const s=e(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Is(...t){const e=t.reduce((i,r)=>(r.filterProps.forEach(o=>{i[o]=r}),i),{}),n=i=>Object.keys(i).reduce((r,o)=>e[o]?pr(r,e[o](i)):r,{});return n.propTypes={},n.filterProps=t.reduce((i,r)=>i.concat(r.filterProps),[]),n}function zt(t){return typeof t!="number"?t:`${t}px solid`}const X2=U({prop:"border",themeKey:"borders",transform:zt}),J2=U({prop:"borderTop",themeKey:"borders",transform:zt}),Z2=U({prop:"borderRight",themeKey:"borders",transform:zt}),ek=U({prop:"borderBottom",themeKey:"borders",transform:zt}),tk=U({prop:"borderLeft",themeKey:"borders",transform:zt}),nk=U({prop:"borderColor",themeKey:"palette"}),ik=U({prop:"borderTopColor",themeKey:"palette"}),rk=U({prop:"borderRightColor",themeKey:"palette"}),ok=U({prop:"borderBottomColor",themeKey:"palette"}),sk=U({prop:"borderLeftColor",themeKey:"palette"}),Ds=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=Qr(t.theme,"shape.borderRadius",4),n=i=>({borderRadius:Gr(e,i)});return Gt(t,t.borderRadius,n)}return null};Ds.propTypes={};Ds.filterProps=["borderRadius"];Is(X2,J2,Z2,ek,tk,nk,ik,rk,ok,sk,Ds);const js=t=>{if(t.gap!==void 0&&t.gap!==null){const e=Qr(t.theme,"spacing",8),n=i=>({gap:Gr(e,i)});return Gt(t,t.gap,n)}return null};js.propTypes={};js.filterProps=["gap"];const Ls=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=Qr(t.theme,"spacing",8),n=i=>({columnGap:Gr(e,i)});return Gt(t,t.columnGap,n)}return null};Ls.propTypes={};Ls.filterProps=["columnGap"];const Ns=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=Qr(t.theme,"spacing",8),n=i=>({rowGap:Gr(e,i)});return Gt(t,t.rowGap,n)}return null};Ns.propTypes={};Ns.filterProps=["rowGap"];const lk=U({prop:"gridColumn"}),ak=U({prop:"gridRow"}),uk=U({prop:"gridAutoFlow"}),ck=U({prop:"gridAutoColumns"}),dk=U({prop:"gridAutoRows"}),fk=U({prop:"gridTemplateColumns"}),hk=U({prop:"gridTemplateRows"}),pk=U({prop:"gridTemplateAreas"}),mk=U({prop:"gridArea"});Is(js,Ls,Ns,lk,ak,uk,ck,dk,fk,hk,pk,mk);function gi(t,e){return e==="grey"?e:t}const vk=U({prop:"color",themeKey:"palette",transform:gi}),yk=U({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:gi}),gk=U({prop:"backgroundColor",themeKey:"palette",transform:gi});Is(vk,yk,gk);function Ge(t){return t<=1&&t!==0?`${t*100}%`:t}const wk=U({prop:"width",transform:Ge}),Hu=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var i,r,o;return{maxWidth:((i=t.theme)==null||(r=i.breakpoints)==null||(o=r.values)==null?void 0:o[n])||Bu[n]||Ge(n)}};return Gt(t,t.maxWidth,e)}return null};Hu.filterProps=["maxWidth"];const xk=U({prop:"minWidth",transform:Ge}),bk=U({prop:"height",transform:Ge}),kk=U({prop:"maxHeight",transform:Ge}),_k=U({prop:"minHeight",transform:Ge});U({prop:"size",cssProperty:"width",transform:Ge});U({prop:"size",cssProperty:"height",transform:Ge});const Sk=U({prop:"boxSizing"});Is(wk,Hu,xk,bk,kk,_k,Sk);const Ck={border:{themeKey:"borders",transform:zt},borderTop:{themeKey:"borders",transform:zt},borderRight:{themeKey:"borders",transform:zt},borderBottom:{themeKey:"borders",transform:zt},borderLeft:{themeKey:"borders",transform:zt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ds},color:{themeKey:"palette",transform:gi},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:gi},backgroundColor:{themeKey:"palette",transform:gi},p:{style:oe},pt:{style:oe},pr:{style:oe},pb:{style:oe},pl:{style:oe},px:{style:oe},py:{style:oe},padding:{style:oe},paddingTop:{style:oe},paddingRight:{style:oe},paddingBottom:{style:oe},paddingLeft:{style:oe},paddingX:{style:oe},paddingY:{style:oe},paddingInline:{style:oe},paddingInlineStart:{style:oe},paddingInlineEnd:{style:oe},paddingBlock:{style:oe},paddingBlockStart:{style:oe},paddingBlockEnd:{style:oe},m:{style:re},mt:{style:re},mr:{style:re},mb:{style:re},ml:{style:re},mx:{style:re},my:{style:re},margin:{style:re},marginTop:{style:re},marginRight:{style:re},marginBottom:{style:re},marginLeft:{style:re},marginX:{style:re},marginY:{style:re},marginInline:{style:re},marginInlineStart:{style:re},marginInlineEnd:{style:re},marginBlock:{style:re},marginBlockStart:{style:re},marginBlockEnd:{style:re},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:js},rowGap:{style:Ns},columnGap:{style:Ls},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ge},maxWidth:{style:Hu},minWidth:{transform:Ge},height:{transform:Ge},maxHeight:{transform:Ge},minHeight:{transform:Ge},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Fs=Ck;function Pk(...t){const e=t.reduce((i,r)=>i.concat(Object.keys(r)),[]),n=new Set(e);return t.every(i=>n.size===Object.keys(i).length)}function Ek(t,e){return typeof t=="function"?t(e):t}function Ok(){function t(n,i,r,o){const s={[n]:i,theme:r},l=o[n];if(!l)return{[n]:i};const{cssProperty:a=n,themeKey:u,transform:c,style:d}=l;if(i==null)return null;if(u==="typography"&&i==="inherit")return{[n]:i};const f=Rs(r,u)||{};return d?d(s):Gt(s,i,h=>{let y=cs(f,c,h);return h===y&&typeof h=="string"&&(y=cs(f,c,`${n}${h==="default"?"":le(h)}`,h)),a===!1?y:{[a]:y}})}function e(n){var i;const{sx:r,theme:o={}}=n||{};if(!r)return null;const s=(i=o.unstable_sxConfig)!=null?i:Fs;function l(a){let u=a;if(typeof a=="function")u=a(o);else if(typeof a!="object")return a;if(!u)return null;const c=U2(o.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(m=>{const h=Ek(u[m],o);if(h!=null)if(typeof h=="object")if(s[m])f=pr(f,t(m,h,o,s));else{const y=Gt({theme:o},h,b=>({[m]:b}));Pk(y,h)?f[m]=e({sx:h,theme:o}):f=pr(f,y)}else f=pr(f,t(m,h,o,s))}),H2(d,f)}return Array.isArray(r)?r.map(l):l(r)}return e}const om=Ok();om.filterProps=["sx"];const Vu=om,zk=["breakpoints","palette","spacing","shape"];function Wu(t={},...e){const{breakpoints:n={},palette:i={},spacing:r,shape:o={}}=t,s=be(t,zk),l=F2(n),a=Y2(r);let u=Ut({breakpoints:l,direction:"ltr",components:{},palette:A({mode:"light"},i),spacing:a,shape:A({},$2,o)},s);return u=e.reduce((c,d)=>Ut(c,d),u),u.unstable_sxConfig=A({},Fs,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Vu({sx:d,theme:this})},u}function Mk(t){return Object.keys(t).length===0}function Ak(t=null){const e=T.useContext(nm);return!e||Mk(e)?t:e}const Tk=Wu();function Rk(t=Tk){return Ak(t)}const Ik=["sx"],Dk=t=>{var e,n;const i={systemProps:{},otherProps:{}},r=(e=t==null||(n=t.theme)==null?void 0:n.unstable_sxConfig)!=null?e:Fs;return Object.keys(t).forEach(o=>{r[o]?i.systemProps[o]=t[o]:i.otherProps[o]=t[o]}),i};function jk(t){const{sx:e}=t,n=be(t,Ik),{systemProps:i,otherProps:r}=Dk(n);let o;return Array.isArray(e)?o=[i,...e]:typeof e=="function"?o=(...s)=>{const l=e(...s);return Mn(l)?A({},i,l):i}:o=A({},i,e),A({},r,{sx:o})}const Lk=["variant"];function Nd(t){return t.length===0}function sm(t){const{variant:e}=t,n=be(t,Lk);let i=e||"";return Object.keys(n).sort().forEach(r=>{r==="color"?i+=Nd(i)?t[r]:le(t[r]):i+=`${Nd(i)?r:le(r)}${le(t[r].toString())}`}),i}const Nk=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Fk(t){return Object.keys(t).length===0}function Bk(t){return typeof t=="string"&&t.charCodeAt(0)>96}const $k=(t,e)=>e.components&&e.components[t]&&e.components[t].styleOverrides?e.components[t].styleOverrides:null,Uk=(t,e)=>{let n=[];e&&e.components&&e.components[t]&&e.components[t].variants&&(n=e.components[t].variants);const i={};return n.forEach(r=>{const o=sm(r.props);i[o]=r.style}),i},Hk=(t,e,n,i)=>{var r,o;const{ownerState:s={}}=t,l=[],a=n==null||(r=n.components)==null||(o=r[i])==null?void 0:o.variants;return a&&a.forEach(u=>{let c=!0;Object.keys(u.props).forEach(d=>{s[d]!==u.props[d]&&t[d]!==u.props[d]&&(c=!1)}),c&&l.push(e[sm(u.props)])}),l};function Do(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const Vk=Wu();function qi({defaultTheme:t,theme:e,themeId:n}){return Fk(e)?t:e[n]||e}function Wk(t={}){const{themeId:e,defaultTheme:n=Vk,rootShouldForwardProp:i=Do,slotShouldForwardProp:r=Do}=t,o=s=>Vu(A({},s,{theme:qi(A({},s,{defaultTheme:n,themeId:e}))}));return o.__mui_systemSx=!0,(s,l={})=>{j2(s,x=>x.filter(k=>!(k!=null&&k.__mui_systemSx)));const{name:a,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f}=l,m=be(l,Nk),h=c!==void 0?c:u&&u!=="Root"||!1,y=d||!1;let b,v=Do;u==="Root"?v=i:u?v=r:Bk(s)&&(v=void 0);const p=D2(s,A({shouldForwardProp:v,label:b},m)),g=(x,...k)=>{const _=k?k.map(M=>typeof M=="function"&&M.__emotion_real!==M?J=>M(A({},J,{theme:qi(A({},J,{defaultTheme:n,themeId:e}))})):M):[];let S=x;a&&f&&_.push(M=>{const J=qi(A({},M,{defaultTheme:n,themeId:e})),tt=$k(a,J);if(tt){const ht={};return Object.entries(tt).forEach(([jt,Z])=>{ht[jt]=typeof Z=="function"?Z(A({},M,{theme:J})):Z}),f(M,ht)}return null}),a&&!h&&_.push(M=>{const J=qi(A({},M,{defaultTheme:n,themeId:e}));return Hk(M,Uk(a,J),J,a)}),y||_.push(o);const O=_.length-k.length;if(Array.isArray(x)&&O>0){const M=new Array(O).fill("");S=[...x,...M],S.raw=[...x.raw,...M]}else typeof x=="function"&&x.__emotion_real!==x&&(S=M=>x(A({},M,{theme:qi(A({},M,{defaultTheme:n,themeId:e}))})));const N=p(S,..._);return s.muiName&&(N.muiName=s.muiName),N};return p.withConfig&&(g.withConfig=p.withConfig),g}}function qk(t){const{theme:e,name:n,props:i}=t;return!e||!e.components||!e.components[n]||!e.components[n].defaultProps?i:Hp(e.components[n].defaultProps,i)}function Qk({props:t,name:e,defaultTheme:n,themeId:i}){let r=Rk(n);return i&&(r=r[i]||r),qk({theme:r,name:e,props:t})}function lm(t,e=0,n=1){return Math.min(Math.max(e,t),n)}function Gk(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(i=>i+i)),n?`rgb${n.length===4?"a":""}(${n.map((i,r)=>r<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function Ai(t){if(t.type)return t;if(t.charAt(0)==="#")return Ai(Gk(t));const e=t.indexOf("("),n=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(zi(9,t));let i=t.substring(e+1,t.length-1),r;if(n==="color"){if(i=i.split(" "),r=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r)===-1)throw new Error(zi(10,r))}else i=i.split(",");return i=i.map(o=>parseFloat(o)),{type:n,values:i,colorSpace:r}}function qu(t){const{type:e,colorSpace:n}=t;let{values:i}=t;return e.indexOf("rgb")!==-1?i=i.map((r,o)=>o<3?parseInt(r,10):r):e.indexOf("hsl")!==-1&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),e.indexOf("color")!==-1?i=`${n} ${i.join(" ")}`:i=`${i.join(", ")}`,`${e}(${i})`}function Kk(t){t=Ai(t);const{values:e}=t,n=e[0],i=e[1]/100,r=e[2]/100,o=i*Math.min(r,1-r),s=(u,c=(u+n/30)%12)=>r-o*Math.max(Math.min(c-3,9-c,1),-1);let l="rgb";const a=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return t.type==="hsla"&&(l+="a",a.push(e[3])),qu({type:l,values:a})}function Fd(t){t=Ai(t);let e=t.type==="hsl"||t.type==="hsla"?Ai(Kk(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function Yk(t,e){const n=Fd(t),i=Fd(e);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)}function Xk(t,e){if(t=Ai(t),e=lm(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]*=1-e;return qu(t)}function Jk(t,e){if(t=Ai(t),e=lm(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return qu(t)}function Zk(t,e){return A({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},e)}const e_={black:"#000",white:"#fff"},jr=e_,t_={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},n_=t_,i_={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Gn=i_,r_={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Kn=r_,o_={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Qi=o_,s_={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Yn=s_,l_={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Xn=l_,a_={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Jn=a_,u_=["mode","contrastThreshold","tonalOffset"],Bd={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:jr.white,default:jr.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Ml={text:{primary:jr.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:jr.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function $d(t,e,n,i){const r=i.light||i,o=i.dark||i*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=Jk(t.main,r):e==="dark"&&(t.dark=Xk(t.main,o)))}function c_(t="light"){return t==="dark"?{main:Yn[200],light:Yn[50],dark:Yn[400]}:{main:Yn[700],light:Yn[400],dark:Yn[800]}}function d_(t="light"){return t==="dark"?{main:Gn[200],light:Gn[50],dark:Gn[400]}:{main:Gn[500],light:Gn[300],dark:Gn[700]}}function f_(t="light"){return t==="dark"?{main:Kn[500],light:Kn[300],dark:Kn[700]}:{main:Kn[700],light:Kn[400],dark:Kn[800]}}function h_(t="light"){return t==="dark"?{main:Xn[400],light:Xn[300],dark:Xn[700]}:{main:Xn[700],light:Xn[500],dark:Xn[900]}}function p_(t="light"){return t==="dark"?{main:Jn[400],light:Jn[300],dark:Jn[700]}:{main:Jn[800],light:Jn[500],dark:Jn[900]}}function m_(t="light"){return t==="dark"?{main:Qi[400],light:Qi[300],dark:Qi[700]}:{main:"#ed6c02",light:Qi[500],dark:Qi[900]}}function v_(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:i=.2}=t,r=be(t,u_),o=t.primary||c_(e),s=t.secondary||d_(e),l=t.error||f_(e),a=t.info||h_(e),u=t.success||p_(e),c=t.warning||m_(e);function d(y){return Yk(y,Ml.text.primary)>=n?Ml.text.primary:Bd.text.primary}const f=({color:y,name:b,mainShade:v=500,lightShade:p=300,darkShade:g=700})=>{if(y=A({},y),!y.main&&y[v]&&(y.main=y[v]),!y.hasOwnProperty("main"))throw new Error(zi(11,b?` (${b})`:"",v));if(typeof y.main!="string")throw new Error(zi(12,b?` (${b})`:"",JSON.stringify(y.main)));return $d(y,"light",p,i),$d(y,"dark",g,i),y.contrastText||(y.contrastText=d(y.main)),y},m={dark:Ml,light:Bd};return Ut(A({common:A({},jr),mode:e,primary:f({color:o,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:l,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:a,name:"info"}),success:f({color:u,name:"success"}),grey:n_,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:i},m[e]),r)}const y_=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function g_(t){return Math.round(t*1e5)/1e5}const Ud={textTransform:"uppercase"},Hd='"Roboto", "Helvetica", "Arial", sans-serif';function w_(t,e){const n=typeof e=="function"?e(t):e,{fontFamily:i=Hd,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:l=500,fontWeightBold:a=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,f=be(n,y_),m=r/14,h=d||(v=>`${v/u*m}rem`),y=(v,p,g,x,k)=>A({fontFamily:i,fontWeight:v,fontSize:h(p),lineHeight:g},i===Hd?{letterSpacing:`${g_(x/p)}em`}:{},k,c),b={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(s,48,1.167,0),h4:y(s,34,1.235,.25),h5:y(s,24,1.334,0),h6:y(l,20,1.6,.15),subtitle1:y(s,16,1.75,.15),subtitle2:y(l,14,1.57,.1),body1:y(s,16,1.5,.15),body2:y(s,14,1.43,.15),button:y(l,14,1.75,.4,Ud),caption:y(s,12,1.66,.4),overline:y(s,12,2.66,1,Ud),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ut(A({htmlFontSize:u,pxToRem:h,fontFamily:i,fontSize:r,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:l,fontWeightBold:a},b),f,{clone:!1})}const x_=.2,b_=.14,k_=.12;function Y(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${x_})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${b_})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${k_})`].join(",")}const __=["none",Y(0,2,1,-1,0,1,1,0,0,1,3,0),Y(0,3,1,-2,0,2,2,0,0,1,5,0),Y(0,3,3,-2,0,3,4,0,0,1,8,0),Y(0,2,4,-1,0,4,5,0,0,1,10,0),Y(0,3,5,-1,0,5,8,0,0,1,14,0),Y(0,3,5,-1,0,6,10,0,0,1,18,0),Y(0,4,5,-2,0,7,10,1,0,2,16,1),Y(0,5,5,-3,0,8,10,1,0,3,14,2),Y(0,5,6,-3,0,9,12,1,0,3,16,2),Y(0,6,6,-3,0,10,14,1,0,4,18,3),Y(0,6,7,-4,0,11,15,1,0,4,20,3),Y(0,7,8,-4,0,12,17,2,0,5,22,4),Y(0,7,8,-4,0,13,19,2,0,5,24,4),Y(0,7,9,-4,0,14,21,2,0,5,26,4),Y(0,8,9,-5,0,15,22,2,0,6,28,5),Y(0,8,10,-5,0,16,24,2,0,6,30,5),Y(0,8,11,-5,0,17,26,2,0,6,32,5),Y(0,9,11,-5,0,18,28,2,0,7,34,6),Y(0,9,12,-6,0,19,29,2,0,7,36,6),Y(0,10,13,-6,0,20,31,3,0,8,38,7),Y(0,10,13,-6,0,21,33,3,0,8,40,7),Y(0,10,14,-6,0,22,35,3,0,8,42,7),Y(0,11,14,-7,0,23,36,3,0,9,44,8),Y(0,11,15,-7,0,24,38,3,0,9,46,8)],S_=__,C_=["duration","easing","delay"],P_={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},E_={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Vd(t){return`${Math.round(t)}ms`}function O_(t){if(!t)return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function z_(t){const e=A({},P_,t.easing),n=A({},E_,t.duration);return A({getAutoHeightDuration:O_,create:(r=["all"],o={})=>{const{duration:s=n.standard,easing:l=e.easeInOut,delay:a=0}=o;return be(o,C_),(Array.isArray(r)?r:[r]).map(u=>`${u} ${typeof s=="string"?s:Vd(s)} ${l} ${typeof a=="string"?a:Vd(a)}`).join(",")}},t,{easing:e,duration:n})}const M_={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},A_=M_,T_=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function R_(t={},...e){const{mixins:n={},palette:i={},transitions:r={},typography:o={}}=t,s=be(t,T_);if(t.vars)throw new Error(zi(18));const l=v_(i),a=Wu(t);let u=Ut(a,{mixins:Zk(a.breakpoints,n),palette:l,shadows:S_.slice(),typography:w_(l,o),transitions:z_(r),zIndex:A({},A_)});return u=Ut(u,s),u=e.reduce((c,d)=>Ut(c,d),u),u.unstable_sxConfig=A({},Fs,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Vu({sx:d,theme:this})},u}const I_=R_(),am=I_,um="$$material";function Zt({props:t,name:e}){return Qk({props:t,name:e,defaultTheme:am,themeId:um})}const D_=t=>Do(t)&&t!=="classes",j_=Wk({themeId:um,defaultTheme:am,rootShouldForwardProp:D_}),en=j_;function L_(t){return Dt("MuiSvgIcon",t)}Jt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const N_=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],F_=t=>{const{color:e,fontSize:n,classes:i}=t,r={root:["root",e!=="inherit"&&`color${le(e)}`,`fontSize${le(n)}`]};return Xt(r,L_,i)},B_=en("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="inherit"&&e[`color${le(n.color)}`],e[`fontSize${le(n.fontSize)}`]]}})(({theme:t,ownerState:e})=>{var n,i,r,o,s,l,a,u,c,d,f,m,h,y,b,v,p;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(n=t.transitions)==null||(i=n.create)==null?void 0:i.call(n,"fill",{duration:(r=t.transitions)==null||(o=r.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((s=t.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,20))||"1.25rem",medium:((a=t.typography)==null||(u=a.pxToRem)==null?void 0:u.call(a,24))||"1.5rem",large:((c=t.typography)==null||(d=c.pxToRem)==null?void 0:d.call(c,35))||"2.1875rem"}[e.fontSize],color:(f=(m=(t.vars||t).palette)==null||(h=m[e.color])==null?void 0:h.main)!=null?f:{action:(y=(t.vars||t).palette)==null||(b=y.action)==null?void 0:b.active,disabled:(v=(t.vars||t).palette)==null||(p=v.action)==null?void 0:p.disabled,inherit:void 0}[e.color]}}),cm=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:s="inherit",component:l="svg",fontSize:a="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:f="0 0 24 24"}=i,m=be(i,N_),h=A({},i,{color:s,component:l,fontSize:a,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:f}),y={};c||(y.viewBox=f);const b=F_(h);return w.jsxs(B_,A({as:l,className:Yt(b.root,o),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n},y,m,{ownerState:h,children:[r,d?w.jsx("title",{children:d}):null]}))});cm.muiName="SvgIcon";const Wd=cm;function $_(t,e){function n(i,r){return w.jsx(Wd,A({"data-testid":`${e}Icon`,ref:r},i,{children:t}))}return n.muiName=Wd.muiName,T.memo(T.forwardRef(n))}const U_={configure:t=>{Vp.configure(t)}},H_=Object.freeze(Object.defineProperty({__proto__:null,capitalize:le,createChainedFunction:gb,createSvgIcon:$_,debounce:wb,deprecatedPropType:xb,isMuiElement:Fp,ownerDocument:Bp,ownerWindow:bb,requirePropFactory:kb,setRef:$p,unstable_ClassNameGenerator:U_,unstable_useEnhancedEffect:Up,unstable_useId:Cb,unsupportedProp:Pb,useControlled:Eb,useEventCallback:Ob,useForkRef:zb,useIsFocusVisible:jb},Symbol.toStringTag,{value:"Module"})),V_=T.createContext({}),Lr=V_;function W_(t){return Dt("MuiTimeline",t)}Jt("MuiTimeline",["root","positionLeft","positionRight","positionAlternate"]);const q_=["position","className"],Q_=t=>{const{position:e,classes:n}=t,i={root:["root",e&&`position${le(e)}`]};return Xt(i,W_,n)},G_=en("ul",{name:"MuiTimeline",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.position&&e[`position${le(n.position)}`]]}})({display:"flex",flexDirection:"column",padding:"6px 16px",flexGrow:1}),K_=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiTimeline"}),{position:r="right",className:o}=i,s=be(i,q_),l=A({},i,{position:r}),a=Q_(l),u=T.useMemo(()=>({position:r}),[r]);return w.jsx(Lr.Provider,{value:u,children:w.jsx(G_,A({className:Yt(a.root,o),ownerState:l,ref:n},s))})}),Y_=K_;function X_(t){return Dt("MuiTypography",t)}Jt("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const J_=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Z_=t=>{const{align:e,gutterBottom:n,noWrap:i,paragraph:r,variant:o,classes:s}=t,l={root:["root",o,t.align!=="inherit"&&`align${le(e)}`,n&&"gutterBottom",i&&"noWrap",r&&"paragraph"]};return Xt(l,X_,s)},eS=en("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.variant&&e[n.variant],n.align!=="inherit"&&e[`align${le(n.align)}`],n.noWrap&&e.noWrap,n.gutterBottom&&e.gutterBottom,n.paragraph&&e.paragraph]}})(({theme:t,ownerState:e})=>A({margin:0},e.variant&&t.typography[e.variant],e.align!=="inherit"&&{textAlign:e.align},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.paragraph&&{marginBottom:16})),qd={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},tS={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},nS=t=>tS[t]||t,iS=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiTypography"}),r=nS(i.color),o=jk(A({},i,{color:r})),{align:s="inherit",className:l,component:a,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:f="body1",variantMapping:m=qd}=o,h=be(o,J_),y=A({},o,{align:s,color:r,className:l,component:a,gutterBottom:u,noWrap:c,paragraph:d,variant:f,variantMapping:m}),b=a||(d?"p":m[f]||qd[f])||"span",v=Z_(y);return w.jsx(eS,A({as:b,ref:n,ownerState:y,className:Yt(v.root,l)},h))}),it=iS;function rS(t){return Dt("MuiTimelineContent",t)}const oS=Jt("MuiTimelineContent",["root","positionLeft","positionRight","positionAlternate"]),sS=oS,lS=["className"],aS=t=>{const{position:e,classes:n}=t,i={root:["root",`position${le(e)}`]};return Xt(i,rS,n)},uS=en(it,{name:"MuiTimelineContent",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${le(n.position)}`]]}})(({ownerState:t})=>A({flex:1,padding:"6px 16px",textAlign:"left"},t.position==="left"&&{textAlign:"right"})),cS=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiTimelineContent"}),{className:r}=i,o=be(i,lS),{position:s}=T.useContext(Lr),l=A({},i,{position:s||"right"}),a=aS(l);return w.jsx(uS,A({component:"div",className:Yt(a.root,r),ownerState:l,ref:n},o))}),Gi=cS;function dS(t){return Dt("MuiTimelineOppositeContent",t)}const fS=Jt("MuiTimelineOppositeContent",["root","positionLeft","positionRight","positionAlternate"]),hS=fS,pS=["className"],mS=t=>{const{position:e,classes:n}=t,i={root:["root",`position${le(e)}`]};return Xt(i,dS,n)},vS=en(it,{name:"MuiTimelineOppositeContent",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${le(n.position)}`]]}})(({ownerState:t})=>A({padding:"6px 16px",marginRight:"auto",textAlign:"right",flex:1},t.position==="left"&&{textAlign:"left"})),dm=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiTimelineOppositeContent"}),{className:r}=i,o=be(i,pS),{position:s}=T.useContext(Lr),l=A({},i,{position:s||"left"}),a=mS(l);return w.jsx(vS,A({component:"div",className:Yt(a.root,r),ownerState:l,ref:n},o))});dm.muiName="TimelineOppositeContent";const Ki=dm;function yS(t){return Dt("MuiTimelineItem",t)}Jt("MuiTimelineItem",["root","positionLeft","positionRight","positionAlternate","missingOppositeContent"]);const gS=["position","className"],wS=t=>{const{position:e,classes:n,hasOppositeContent:i}=t,r={root:["root",`position${le(e)}`,!i&&"missingOppositeContent"]};return Xt(r,yS,n)},xS=en("li",{name:"MuiTimelineItem",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${le(n.position)}`]]}})(({ownerState:t})=>A({listStyle:"none",display:"flex",position:"relative",minHeight:70},t.position==="left"&&{flexDirection:"row-reverse"},t.position==="alternate"&&{"&:nth-of-type(even)":{flexDirection:"row-reverse",[`& .${sS.root}`]:{textAlign:"right"},[`& .${hS.root}`]:{textAlign:"left"}}},!t.hasOppositeContent&&{"&:before":{content:'""',flex:1,padding:"6px 16px"}})),bS=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiTimelineItem"}),{position:r,className:o}=i,s=be(i,gS),{position:l}=T.useContext(Lr);let a=!1;T.Children.forEach(i.children,f=>{Fp(f,["TimelineOppositeContent"])&&(a=!0)});const u=A({},i,{position:r||l||"right",hasOppositeContent:a}),c=wS(u),d=T.useMemo(()=>({position:u.position}),[u.position]);return w.jsx(Lr.Provider,{value:d,children:w.jsx(xS,A({className:Yt(c.root,o),ownerState:u,ref:n},s))})}),Yi=bS;function kS(t){return Dt("MuiTimelineSeparator",t)}Jt("MuiTimelineSeparator",["root"]);const _S=["className"],SS=t=>{const{classes:e}=t;return Xt({root:["root"]},kS,e)},CS=en("div",{name:"MuiTimelineSeparator",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex",flexDirection:"column",flex:0,alignItems:"center"}),PS=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiTimelineSeparator"}),{className:r}=i,o=be(i,_S),s=i,l=SS(s);return w.jsx(CS,A({className:Yt(l.root,r),ownerState:s,ref:n},o))}),Xi=PS;function ES(t){return Dt("MuiTimelineConnector",t)}Jt("MuiTimelineConnector",["root"]);const OS=["className"],zS=t=>{const{classes:e}=t;return Xt({root:["root"]},ES,e)},MS=en("span",{name:"MuiTimelineConnector",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({width:2,backgroundColor:(t.vars||t).palette.grey[400],flexGrow:1})),AS=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiTimelineConnector"}),{className:r}=i,o=be(i,OS),s=i,l=zS(s);return w.jsx(MS,A({className:Yt(l.root,r),ownerState:s,ref:n},o))}),St=AS;function TS(t){return Dt("MuiTimelineDot",t)}Jt("MuiTimelineDot",["root","filled","outlined","filledGrey","outlinedGrey","filledPrimary","outlinedPrimary","filledSecondary","outlinedSecondary"]);const RS=["className","color","variant"],IS=t=>{const{color:e,variant:n,classes:i}=t,r={root:["root",n,e!=="inherit"&&`${n}${le(e)}`]};return Xt(r,TS,i)},DS=en("span",{name:"MuiTimelineDot",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.color!=="inherit"&&`${n.variant}${le(n.color)}`],e[n.variant]]}})(({ownerState:t,theme:e})=>A({display:"flex",alignSelf:"baseline",borderStyle:"solid",borderWidth:2,padding:4,borderRadius:"50%",boxShadow:(e.vars||e).shadows[1],margin:"11.5px 0"},t.variant==="filled"&&A({borderColor:"transparent"},t.color!=="inherit"&&A({},t.color==="grey"?{color:(e.vars||e).palette.grey[50],backgroundColor:(e.vars||e).palette.grey[400]}:{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main})),t.variant==="outlined"&&A({boxShadow:"none",backgroundColor:"transparent"},t.color!=="inherit"&&A({},t.color==="grey"?{borderColor:(e.vars||e).palette.grey[400]}:{borderColor:(e.vars||e).palette[t.color].main})))),jS=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiTimelineDot"}),{className:r,color:o="grey",variant:s="filled"}=i,l=be(i,RS),a=A({},i,{color:o,variant:s}),u=IS(a);return w.jsx(DS,A({className:Yt(u.root,r),ownerState:a,ref:n},l))}),Ji=jS;var Qu={},fm={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(fm);var Gu=fm.exports,Al={};const LS=ym(H_);var Qd;function Ku(){return Qd||(Qd=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e.createSvgIcon}});var e=LS}(Al)),Al}var NS=Gu;Object.defineProperty(Qu,"__esModule",{value:!0});var hm=Qu.default=void 0,FS=NS(Ku()),Tl=w,BS=(0,FS.default)([(0,Tl.jsx)("circle",{cx:"14.5",cy:"10.5",r:"1.25"},"0"),(0,Tl.jsx)("circle",{cx:"9.5",cy:"10.5",r:"1.25"},"1"),(0,Tl.jsx)("path",{d:"M22.94 12.66c.04-.21.06-.43.06-.66s-.02-.45-.06-.66c-.25-1.51-1.36-2.74-2.81-3.17-.53-1.12-1.28-2.1-2.19-2.91C16.36 3.85 14.28 3 12 3s-4.36.85-5.94 2.26c-.92.81-1.67 1.8-2.19 2.91-1.45.43-2.56 1.65-2.81 3.17-.04.21-.06.43-.06.66s.02.45.06.66c.25 1.51 1.36 2.74 2.81 3.17.52 1.11 1.27 2.09 2.17 2.89C7.62 20.14 9.71 21 12 21s4.38-.86 5.97-2.28c.9-.8 1.65-1.79 2.17-2.89 1.44-.43 2.55-1.65 2.8-3.17zM19 14c-.1 0-.19-.02-.29-.03-.2.67-.49 1.29-.86 1.86C16.6 17.74 14.45 19 12 19s-4.6-1.26-5.85-3.17c-.37-.57-.66-1.19-.86-1.86-.1.01-.19.03-.29.03-1.1 0-2-.9-2-2s.9-2 2-2c.1 0 .19.02.29.03.2-.67.49-1.29.86-1.86C7.4 6.26 9.55 5 12 5s4.6 1.26 5.85 3.17c.37.57.66 1.19.86 1.86.1-.01.19-.03.29-.03 1.1 0 2 .9 2 2s-.9 2-2 2zM7.5 14c.76 1.77 2.49 3 4.5 3s3.74-1.23 4.5-3h-9z"},"2")],"ChildCare");hm=Qu.default=BS;var Yu={},$S=Gu;Object.defineProperty(Yu,"__esModule",{value:!0});var jo=Yu.default=void 0,US=$S(Ku()),HS=w,VS=(0,US.default)((0,HS.jsx)("path",{d:"M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3 1 9l11 6 9-4.91V17h2V9L12 3z"}),"School");jo=Yu.default=VS;var Xu={},WS=Gu;Object.defineProperty(Xu,"__esModule",{value:!0});var pm=Xu.default=void 0;GS(T);var qS=WS(Ku()),QS=w;function mm(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(mm=function(i){return i?n:e})(t)}function GS(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=mm(e);if(n&&n.has(t))return n.get(t);var i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var s=r?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}var KS=(0,qS.default)((0,QS.jsx)("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub");pm=Xu.default=KS;const YS=()=>w.jsxs(Y_,{position:"alternate",children:[w.jsxs(Yi,{children:[w.jsx(Ki,{sx:{m:"auto 0"},align:"right",variant:"body2",color:"text.secondary",className:"dark:text-teal-600",children:"05/03/2003"}),w.jsxs(Xi,{children:[w.jsx(St,{}),w.jsx(Ji,{children:w.jsx(hm,{})}),w.jsx(St,{})]}),w.jsxs(Gi,{sx:{py:"12px",px:2},children:[w.jsx(it,{variant:"h6",component:"span",children:"Birth"}),w.jsx(it,{className:"dark:text-teal-400",children:"This is the day, I was born."})]})]}),w.jsxs(Yi,{children:[w.jsx(Ki,{sx:{m:"auto 0"},variant:"body2",color:"text.secondary",className:"dark:text-teal-600",children:"2018"}),w.jsxs(Xi,{children:[w.jsx(St,{}),w.jsx(Ji,{color:"primary",children:w.jsx(jo,{})}),w.jsx(St,{})]}),w.jsxs(Gi,{sx:{py:"12px",px:2},children:[w.jsx(it,{variant:"h6",component:"span",children:"Sacred Heart School"}),w.jsx(it,{className:"dark:text-teal-400",children:"Graduated from high school with 84%"})]})]}),w.jsxs(Yi,{children:[w.jsx(Ki,{sx:{m:"auto 0"},variant:"body2",color:"text.secondary",className:"dark:text-teal-600",children:"2020"}),w.jsxs(Xi,{children:[w.jsx(St,{}),w.jsx(Ji,{color:"primary",variant:"outlined",children:w.jsx(jo,{})}),w.jsx(St,{sx:{bgcolor:"secondary.main"}})]}),w.jsxs(Gi,{sx:{py:"12px",px:2},children:[w.jsx(it,{variant:"h6",component:"span",children:"Mother International Academy"}),w.jsx(it,{className:"dark:text-teal-400",children:"Graduated from senior secondary high school"})]})]}),w.jsxs(Yi,{children:[w.jsx(Ki,{sx:{m:"auto 0"},variant:"body2",color:"text.secondary",className:"dark:text-teal-600",children:"2021-2025"}),w.jsxs(Xi,{children:[w.jsx(St,{sx:{bgcolor:"secondary.main"}}),w.jsx(Ji,{color:"secondary",children:w.jsx(jo,{})}),w.jsx(St,{})]}),w.jsxs(Gi,{sx:{py:"12px",px:2},children:[w.jsx(it,{variant:"h6",component:"span",children:"Dumka Engineering College"}),w.jsx(it,{className:"dark:text-teal-400",children:"Presently a 2nd year student, pursuing B.Tech in Computer Science and Engineering"})]})]}),w.jsxs(Yi,{children:[w.jsx(Ki,{sx:{m:"auto 0"},variant:"body2",color:"text.secondary",className:"dark:text-teal-600",children:"May 2023 - August 2023"}),w.jsxs(Xi,{children:[w.jsx(St,{sx:{bgcolor:"secondary.main"}}),w.jsx(Ji,{color:"secondary",children:w.jsx(pm,{})}),w.jsx(St,{})]}),w.jsxs(Gi,{sx:{py:"12px",px:2},children:[w.jsx(it,{variant:"h6",component:"span",children:"GirlScript Summer of Code 2023"}),w.jsx(it,{className:"dark:text-teal-400",children:"Will be a participant in GSSoC 2023, contributing to develop complex projects and learning new technologies with some of the brightest minds as mentors and co-participants."})]})]})]}),XS=()=>{const[t,e]=T.useState(!1),[n,i]=T.useState(""),[r,o]=T.useState(""),s=Fe.useRef(null),l=Fe.useRef(null);Fe.useEffect(()=>{const u={strings:["Student.","Developer.","Programmer.","History Enthusiast.","Bohemian."],typeSpeed:100,backSpeed:50,showCursor:!1,loop:!0};return l.current=new Wv(s.current,u),()=>{l.current.destroy()}},[]);const a=[{name:"Node.js",image:wy},{name:"Next.js",image:gy},{name:"MongoDB",image:yy},{name:"React.js",image:xy},{name:"Express.js",image:py},{name:"Figma",image:my},{name:"JavaScript",image:vy}];return w.jsxs("div",{className:t?"dark":"",children:[w.jsx(vb,{linkColor:t?"#ffffff":"#000000",particleColor:t?"#ffffff":"#000000"}),w.jsxs("main",{className:"bg-cyan-200 px-10 md:px-20 lg:px-40 dark:bg-gradient-to-t from-black to-gray-900 dark:text-white",children:[w.jsxs("section",{children:[w.jsxs("nav",{className:"py-10 mb-6 flex justify-between",children:[w.jsx("h1",{className:"text-3xl font-burtons",children:w.jsx("a",{href:"#",children:"Rishu Raj"})}),w.jsxs("ul",{className:"flex items-center",children:[w.jsx("li",{children:t?w.jsx(Xv,{onClick:()=>e(!t),className:"cursor-pointer fill-yellow-400 text-2xl transition duration-500 hover:scale-125 ease-in-out"}):w.jsx(Gv,{onClick:()=>e(!t),className:"cursor-pointer fill-slate-900 text-xl transition duration-500 hover:scale-125 ease-in-out"})}),w.jsx("li",{children:w.jsx("a",{rel:"noreferrer",className:`bg-gradient-to-r hover:bg-gradient-to-l from-cyan-500 to-teal-500 text-white px-4 py-2 rounded-md + */function D2(t,e){return ja(t,e)}const j2=(t,e)=>{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))},L2=["values","unit","step"],N2=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,i)=>n.val-i.val),e.reduce((n,i)=>A({},n,{[i.key]:i.val}),{})};function F2(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5}=t,r=be(t,L2),o=N2(e),s=Object.keys(o);function l(f){return`@media (min-width:${typeof e[f]=="number"?e[f]:f}${n})`}function a(f){return`@media (max-width:${(typeof e[f]=="number"?e[f]:f)-i/100}${n})`}function u(f,m){const h=s.indexOf(m);return`@media (min-width:${typeof e[f]=="number"?e[f]:f}${n}) and (max-width:${(h!==-1&&typeof e[s[h]]=="number"?e[s[h]]:m)-i/100}${n})`}function c(f){return s.indexOf(f)+1`@media (min-width:${Bu[t]}px)`};function Gt(t,e,n){const i=t.theme||{};if(Array.isArray(e)){const o=i.breakpoints||jd;return e.reduce((s,l,a)=>(s[o.up(o.keys[a])]=n(e[a]),s),{})}if(typeof e=="object"){const o=i.breakpoints||jd;return Object.keys(e).reduce((s,l)=>{if(Object.keys(o.values||Bu).indexOf(l)!==-1){const a=o.up(l);s[a]=n(e[l],l)}else{const a=l;s[a]=e[a]}return s},{})}return n(e)}function U2(t={}){var e;return((e=t.keys)==null?void 0:e.reduce((i,r)=>{const o=t.up(r);return i[o]={},i},{}))||{}}function H2(t,e){return t.reduce((n,i)=>{const r=n[i];return(!r||Object.keys(r).length===0)&&delete n[i],n},e)}function Rs(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const i=`vars.${e}`.split(".").reduce((r,o)=>r&&r[o]?r[o]:null,t);if(i!=null)return i}return e.split(".").reduce((i,r)=>i&&i[r]!=null?i[r]:null,t)}function cs(t,e,n,i=n){let r;return typeof t=="function"?r=t(n):Array.isArray(t)?r=t[n]||i:r=Rs(t,n)||i,e&&(r=e(r,i,t)),r}function U(t){const{prop:e,cssProperty:n=t.prop,themeKey:i,transform:r}=t,o=s=>{if(s[e]==null)return null;const l=s[e],a=s.theme,u=Rs(a,i)||{};return Gt(s,l,d=>{let f=cs(u,r,d);return d===f&&typeof d=="string"&&(f=cs(u,r,`${e}${d==="default"?"":le(d)}`,d)),n===!1?f:{[n]:f}})};return o.propTypes={},o.filterProps=[e],o}function V2(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const W2={m:"margin",p:"padding"},q2={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ld={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Q2=V2(t=>{if(t.length>2)if(Ld[t])t=Ld[t];else return[t];const[e,n]=t.split(""),i=W2[e],r=q2[n]||"";return Array.isArray(r)?r.map(o=>i+o):[i+r]}),$u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Uu=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...$u,...Uu];function Qr(t,e,n,i){var r;const o=(r=Rs(t,e,!1))!=null?r:n;return typeof o=="number"?s=>typeof s=="string"?s:o*s:Array.isArray(o)?s=>typeof s=="string"?s:o[s]:typeof o=="function"?o:()=>{}}function im(t){return Qr(t,"spacing",8)}function Gr(t,e){if(typeof e=="string"||e==null)return e;const n=Math.abs(e),i=t(n);return e>=0?i:typeof i=="number"?-i:`-${i}`}function G2(t,e){return n=>t.reduce((i,r)=>(i[r]=Gr(e,n),i),{})}function K2(t,e,n,i){if(e.indexOf(n)===-1)return null;const r=Q2(n),o=G2(r,i),s=t[n];return Gt(t,s,o)}function rm(t,e){const n=im(t.theme);return Object.keys(t).map(i=>K2(t,e,i,n)).reduce(pr,{})}function re(t){return rm(t,$u)}re.propTypes={};re.filterProps=$u;function oe(t){return rm(t,Uu)}oe.propTypes={};oe.filterProps=Uu;function Y2(t=8){if(t.mui)return t;const e=im({spacing:t}),n=(...i)=>(i.length===0?[1]:i).map(o=>{const s=e(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Is(...t){const e=t.reduce((i,r)=>(r.filterProps.forEach(o=>{i[o]=r}),i),{}),n=i=>Object.keys(i).reduce((r,o)=>e[o]?pr(r,e[o](i)):r,{});return n.propTypes={},n.filterProps=t.reduce((i,r)=>i.concat(r.filterProps),[]),n}function zt(t){return typeof t!="number"?t:`${t}px solid`}const X2=U({prop:"border",themeKey:"borders",transform:zt}),J2=U({prop:"borderTop",themeKey:"borders",transform:zt}),Z2=U({prop:"borderRight",themeKey:"borders",transform:zt}),ek=U({prop:"borderBottom",themeKey:"borders",transform:zt}),tk=U({prop:"borderLeft",themeKey:"borders",transform:zt}),nk=U({prop:"borderColor",themeKey:"palette"}),ik=U({prop:"borderTopColor",themeKey:"palette"}),rk=U({prop:"borderRightColor",themeKey:"palette"}),ok=U({prop:"borderBottomColor",themeKey:"palette"}),sk=U({prop:"borderLeftColor",themeKey:"palette"}),Ds=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=Qr(t.theme,"shape.borderRadius",4),n=i=>({borderRadius:Gr(e,i)});return Gt(t,t.borderRadius,n)}return null};Ds.propTypes={};Ds.filterProps=["borderRadius"];Is(X2,J2,Z2,ek,tk,nk,ik,rk,ok,sk,Ds);const js=t=>{if(t.gap!==void 0&&t.gap!==null){const e=Qr(t.theme,"spacing",8),n=i=>({gap:Gr(e,i)});return Gt(t,t.gap,n)}return null};js.propTypes={};js.filterProps=["gap"];const Ls=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=Qr(t.theme,"spacing",8),n=i=>({columnGap:Gr(e,i)});return Gt(t,t.columnGap,n)}return null};Ls.propTypes={};Ls.filterProps=["columnGap"];const Ns=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=Qr(t.theme,"spacing",8),n=i=>({rowGap:Gr(e,i)});return Gt(t,t.rowGap,n)}return null};Ns.propTypes={};Ns.filterProps=["rowGap"];const lk=U({prop:"gridColumn"}),ak=U({prop:"gridRow"}),uk=U({prop:"gridAutoFlow"}),ck=U({prop:"gridAutoColumns"}),dk=U({prop:"gridAutoRows"}),fk=U({prop:"gridTemplateColumns"}),hk=U({prop:"gridTemplateRows"}),pk=U({prop:"gridTemplateAreas"}),mk=U({prop:"gridArea"});Is(js,Ls,Ns,lk,ak,uk,ck,dk,fk,hk,pk,mk);function gi(t,e){return e==="grey"?e:t}const vk=U({prop:"color",themeKey:"palette",transform:gi}),yk=U({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:gi}),gk=U({prop:"backgroundColor",themeKey:"palette",transform:gi});Is(vk,yk,gk);function Ge(t){return t<=1&&t!==0?`${t*100}%`:t}const wk=U({prop:"width",transform:Ge}),Hu=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var i,r,o;return{maxWidth:((i=t.theme)==null||(r=i.breakpoints)==null||(o=r.values)==null?void 0:o[n])||Bu[n]||Ge(n)}};return Gt(t,t.maxWidth,e)}return null};Hu.filterProps=["maxWidth"];const xk=U({prop:"minWidth",transform:Ge}),bk=U({prop:"height",transform:Ge}),kk=U({prop:"maxHeight",transform:Ge}),_k=U({prop:"minHeight",transform:Ge});U({prop:"size",cssProperty:"width",transform:Ge});U({prop:"size",cssProperty:"height",transform:Ge});const Sk=U({prop:"boxSizing"});Is(wk,Hu,xk,bk,kk,_k,Sk);const Ck={border:{themeKey:"borders",transform:zt},borderTop:{themeKey:"borders",transform:zt},borderRight:{themeKey:"borders",transform:zt},borderBottom:{themeKey:"borders",transform:zt},borderLeft:{themeKey:"borders",transform:zt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ds},color:{themeKey:"palette",transform:gi},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:gi},backgroundColor:{themeKey:"palette",transform:gi},p:{style:oe},pt:{style:oe},pr:{style:oe},pb:{style:oe},pl:{style:oe},px:{style:oe},py:{style:oe},padding:{style:oe},paddingTop:{style:oe},paddingRight:{style:oe},paddingBottom:{style:oe},paddingLeft:{style:oe},paddingX:{style:oe},paddingY:{style:oe},paddingInline:{style:oe},paddingInlineStart:{style:oe},paddingInlineEnd:{style:oe},paddingBlock:{style:oe},paddingBlockStart:{style:oe},paddingBlockEnd:{style:oe},m:{style:re},mt:{style:re},mr:{style:re},mb:{style:re},ml:{style:re},mx:{style:re},my:{style:re},margin:{style:re},marginTop:{style:re},marginRight:{style:re},marginBottom:{style:re},marginLeft:{style:re},marginX:{style:re},marginY:{style:re},marginInline:{style:re},marginInlineStart:{style:re},marginInlineEnd:{style:re},marginBlock:{style:re},marginBlockStart:{style:re},marginBlockEnd:{style:re},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:js},rowGap:{style:Ns},columnGap:{style:Ls},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ge},maxWidth:{style:Hu},minWidth:{transform:Ge},height:{transform:Ge},maxHeight:{transform:Ge},minHeight:{transform:Ge},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Fs=Ck;function Pk(...t){const e=t.reduce((i,r)=>i.concat(Object.keys(r)),[]),n=new Set(e);return t.every(i=>n.size===Object.keys(i).length)}function Ek(t,e){return typeof t=="function"?t(e):t}function Ok(){function t(n,i,r,o){const s={[n]:i,theme:r},l=o[n];if(!l)return{[n]:i};const{cssProperty:a=n,themeKey:u,transform:c,style:d}=l;if(i==null)return null;if(u==="typography"&&i==="inherit")return{[n]:i};const f=Rs(r,u)||{};return d?d(s):Gt(s,i,h=>{let y=cs(f,c,h);return h===y&&typeof h=="string"&&(y=cs(f,c,`${n}${h==="default"?"":le(h)}`,h)),a===!1?y:{[a]:y}})}function e(n){var i;const{sx:r,theme:o={}}=n||{};if(!r)return null;const s=(i=o.unstable_sxConfig)!=null?i:Fs;function l(a){let u=a;if(typeof a=="function")u=a(o);else if(typeof a!="object")return a;if(!u)return null;const c=U2(o.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(m=>{const h=Ek(u[m],o);if(h!=null)if(typeof h=="object")if(s[m])f=pr(f,t(m,h,o,s));else{const y=Gt({theme:o},h,b=>({[m]:b}));Pk(y,h)?f[m]=e({sx:h,theme:o}):f=pr(f,y)}else f=pr(f,t(m,h,o,s))}),H2(d,f)}return Array.isArray(r)?r.map(l):l(r)}return e}const om=Ok();om.filterProps=["sx"];const Vu=om,zk=["breakpoints","palette","spacing","shape"];function Wu(t={},...e){const{breakpoints:n={},palette:i={},spacing:r,shape:o={}}=t,s=be(t,zk),l=F2(n),a=Y2(r);let u=Ut({breakpoints:l,direction:"ltr",components:{},palette:A({mode:"light"},i),spacing:a,shape:A({},$2,o)},s);return u=e.reduce((c,d)=>Ut(c,d),u),u.unstable_sxConfig=A({},Fs,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Vu({sx:d,theme:this})},u}function Mk(t){return Object.keys(t).length===0}function Ak(t=null){const e=T.useContext(nm);return!e||Mk(e)?t:e}const Tk=Wu();function Rk(t=Tk){return Ak(t)}const Ik=["sx"],Dk=t=>{var e,n;const i={systemProps:{},otherProps:{}},r=(e=t==null||(n=t.theme)==null?void 0:n.unstable_sxConfig)!=null?e:Fs;return Object.keys(t).forEach(o=>{r[o]?i.systemProps[o]=t[o]:i.otherProps[o]=t[o]}),i};function jk(t){const{sx:e}=t,n=be(t,Ik),{systemProps:i,otherProps:r}=Dk(n);let o;return Array.isArray(e)?o=[i,...e]:typeof e=="function"?o=(...s)=>{const l=e(...s);return Mn(l)?A({},i,l):i}:o=A({},i,e),A({},r,{sx:o})}const Lk=["variant"];function Nd(t){return t.length===0}function sm(t){const{variant:e}=t,n=be(t,Lk);let i=e||"";return Object.keys(n).sort().forEach(r=>{r==="color"?i+=Nd(i)?t[r]:le(t[r]):i+=`${Nd(i)?r:le(r)}${le(t[r].toString())}`}),i}const Nk=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Fk(t){return Object.keys(t).length===0}function Bk(t){return typeof t=="string"&&t.charCodeAt(0)>96}const $k=(t,e)=>e.components&&e.components[t]&&e.components[t].styleOverrides?e.components[t].styleOverrides:null,Uk=(t,e)=>{let n=[];e&&e.components&&e.components[t]&&e.components[t].variants&&(n=e.components[t].variants);const i={};return n.forEach(r=>{const o=sm(r.props);i[o]=r.style}),i},Hk=(t,e,n,i)=>{var r,o;const{ownerState:s={}}=t,l=[],a=n==null||(r=n.components)==null||(o=r[i])==null?void 0:o.variants;return a&&a.forEach(u=>{let c=!0;Object.keys(u.props).forEach(d=>{s[d]!==u.props[d]&&t[d]!==u.props[d]&&(c=!1)}),c&&l.push(e[sm(u.props)])}),l};function Do(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const Vk=Wu();function qi({defaultTheme:t,theme:e,themeId:n}){return Fk(e)?t:e[n]||e}function Wk(t={}){const{themeId:e,defaultTheme:n=Vk,rootShouldForwardProp:i=Do,slotShouldForwardProp:r=Do}=t,o=s=>Vu(A({},s,{theme:qi(A({},s,{defaultTheme:n,themeId:e}))}));return o.__mui_systemSx=!0,(s,l={})=>{j2(s,x=>x.filter(k=>!(k!=null&&k.__mui_systemSx)));const{name:a,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f}=l,m=be(l,Nk),h=c!==void 0?c:u&&u!=="Root"||!1,y=d||!1;let b,v=Do;u==="Root"?v=i:u?v=r:Bk(s)&&(v=void 0);const p=D2(s,A({shouldForwardProp:v,label:b},m)),g=(x,...k)=>{const _=k?k.map(M=>typeof M=="function"&&M.__emotion_real!==M?J=>M(A({},J,{theme:qi(A({},J,{defaultTheme:n,themeId:e}))})):M):[];let S=x;a&&f&&_.push(M=>{const J=qi(A({},M,{defaultTheme:n,themeId:e})),tt=$k(a,J);if(tt){const ft={};return Object.entries(tt).forEach(([jt,Z])=>{ft[jt]=typeof Z=="function"?Z(A({},M,{theme:J})):Z}),f(M,ft)}return null}),a&&!h&&_.push(M=>{const J=qi(A({},M,{defaultTheme:n,themeId:e}));return Hk(M,Uk(a,J),J,a)}),y||_.push(o);const O=_.length-k.length;if(Array.isArray(x)&&O>0){const M=new Array(O).fill("");S=[...x,...M],S.raw=[...x.raw,...M]}else typeof x=="function"&&x.__emotion_real!==x&&(S=M=>x(A({},M,{theme:qi(A({},M,{defaultTheme:n,themeId:e}))})));const N=p(S,..._);return s.muiName&&(N.muiName=s.muiName),N};return p.withConfig&&(g.withConfig=p.withConfig),g}}function qk(t){const{theme:e,name:n,props:i}=t;return!e||!e.components||!e.components[n]||!e.components[n].defaultProps?i:Hp(e.components[n].defaultProps,i)}function Qk({props:t,name:e,defaultTheme:n,themeId:i}){let r=Rk(n);return i&&(r=r[i]||r),qk({theme:r,name:e,props:t})}function lm(t,e=0,n=1){return Math.min(Math.max(e,t),n)}function Gk(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(i=>i+i)),n?`rgb${n.length===4?"a":""}(${n.map((i,r)=>r<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function Ai(t){if(t.type)return t;if(t.charAt(0)==="#")return Ai(Gk(t));const e=t.indexOf("("),n=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(zi(9,t));let i=t.substring(e+1,t.length-1),r;if(n==="color"){if(i=i.split(" "),r=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r)===-1)throw new Error(zi(10,r))}else i=i.split(",");return i=i.map(o=>parseFloat(o)),{type:n,values:i,colorSpace:r}}function qu(t){const{type:e,colorSpace:n}=t;let{values:i}=t;return e.indexOf("rgb")!==-1?i=i.map((r,o)=>o<3?parseInt(r,10):r):e.indexOf("hsl")!==-1&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),e.indexOf("color")!==-1?i=`${n} ${i.join(" ")}`:i=`${i.join(", ")}`,`${e}(${i})`}function Kk(t){t=Ai(t);const{values:e}=t,n=e[0],i=e[1]/100,r=e[2]/100,o=i*Math.min(r,1-r),s=(u,c=(u+n/30)%12)=>r-o*Math.max(Math.min(c-3,9-c,1),-1);let l="rgb";const a=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return t.type==="hsla"&&(l+="a",a.push(e[3])),qu({type:l,values:a})}function Fd(t){t=Ai(t);let e=t.type==="hsl"||t.type==="hsla"?Ai(Kk(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function Yk(t,e){const n=Fd(t),i=Fd(e);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)}function Xk(t,e){if(t=Ai(t),e=lm(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]*=1-e;return qu(t)}function Jk(t,e){if(t=Ai(t),e=lm(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return qu(t)}function Zk(t,e){return A({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},e)}const e_={black:"#000",white:"#fff"},jr=e_,t_={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},n_=t_,i_={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Gn=i_,r_={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Kn=r_,o_={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Qi=o_,s_={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Yn=s_,l_={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Xn=l_,a_={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Jn=a_,u_=["mode","contrastThreshold","tonalOffset"],Bd={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:jr.white,default:jr.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Ml={text:{primary:jr.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:jr.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function $d(t,e,n,i){const r=i.light||i,o=i.dark||i*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=Jk(t.main,r):e==="dark"&&(t.dark=Xk(t.main,o)))}function c_(t="light"){return t==="dark"?{main:Yn[200],light:Yn[50],dark:Yn[400]}:{main:Yn[700],light:Yn[400],dark:Yn[800]}}function d_(t="light"){return t==="dark"?{main:Gn[200],light:Gn[50],dark:Gn[400]}:{main:Gn[500],light:Gn[300],dark:Gn[700]}}function f_(t="light"){return t==="dark"?{main:Kn[500],light:Kn[300],dark:Kn[700]}:{main:Kn[700],light:Kn[400],dark:Kn[800]}}function h_(t="light"){return t==="dark"?{main:Xn[400],light:Xn[300],dark:Xn[700]}:{main:Xn[700],light:Xn[500],dark:Xn[900]}}function p_(t="light"){return t==="dark"?{main:Jn[400],light:Jn[300],dark:Jn[700]}:{main:Jn[800],light:Jn[500],dark:Jn[900]}}function m_(t="light"){return t==="dark"?{main:Qi[400],light:Qi[300],dark:Qi[700]}:{main:"#ed6c02",light:Qi[500],dark:Qi[900]}}function v_(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:i=.2}=t,r=be(t,u_),o=t.primary||c_(e),s=t.secondary||d_(e),l=t.error||f_(e),a=t.info||h_(e),u=t.success||p_(e),c=t.warning||m_(e);function d(y){return Yk(y,Ml.text.primary)>=n?Ml.text.primary:Bd.text.primary}const f=({color:y,name:b,mainShade:v=500,lightShade:p=300,darkShade:g=700})=>{if(y=A({},y),!y.main&&y[v]&&(y.main=y[v]),!y.hasOwnProperty("main"))throw new Error(zi(11,b?` (${b})`:"",v));if(typeof y.main!="string")throw new Error(zi(12,b?` (${b})`:"",JSON.stringify(y.main)));return $d(y,"light",p,i),$d(y,"dark",g,i),y.contrastText||(y.contrastText=d(y.main)),y},m={dark:Ml,light:Bd};return Ut(A({common:A({},jr),mode:e,primary:f({color:o,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:l,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:a,name:"info"}),success:f({color:u,name:"success"}),grey:n_,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:i},m[e]),r)}const y_=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function g_(t){return Math.round(t*1e5)/1e5}const Ud={textTransform:"uppercase"},Hd='"Roboto", "Helvetica", "Arial", sans-serif';function w_(t,e){const n=typeof e=="function"?e(t):e,{fontFamily:i=Hd,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:l=500,fontWeightBold:a=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,f=be(n,y_),m=r/14,h=d||(v=>`${v/u*m}rem`),y=(v,p,g,x,k)=>A({fontFamily:i,fontWeight:v,fontSize:h(p),lineHeight:g},i===Hd?{letterSpacing:`${g_(x/p)}em`}:{},k,c),b={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(s,48,1.167,0),h4:y(s,34,1.235,.25),h5:y(s,24,1.334,0),h6:y(l,20,1.6,.15),subtitle1:y(s,16,1.75,.15),subtitle2:y(l,14,1.57,.1),body1:y(s,16,1.5,.15),body2:y(s,14,1.43,.15),button:y(l,14,1.75,.4,Ud),caption:y(s,12,1.66,.4),overline:y(s,12,2.66,1,Ud),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ut(A({htmlFontSize:u,pxToRem:h,fontFamily:i,fontSize:r,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:l,fontWeightBold:a},b),f,{clone:!1})}const x_=.2,b_=.14,k_=.12;function Y(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${x_})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${b_})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${k_})`].join(",")}const __=["none",Y(0,2,1,-1,0,1,1,0,0,1,3,0),Y(0,3,1,-2,0,2,2,0,0,1,5,0),Y(0,3,3,-2,0,3,4,0,0,1,8,0),Y(0,2,4,-1,0,4,5,0,0,1,10,0),Y(0,3,5,-1,0,5,8,0,0,1,14,0),Y(0,3,5,-1,0,6,10,0,0,1,18,0),Y(0,4,5,-2,0,7,10,1,0,2,16,1),Y(0,5,5,-3,0,8,10,1,0,3,14,2),Y(0,5,6,-3,0,9,12,1,0,3,16,2),Y(0,6,6,-3,0,10,14,1,0,4,18,3),Y(0,6,7,-4,0,11,15,1,0,4,20,3),Y(0,7,8,-4,0,12,17,2,0,5,22,4),Y(0,7,8,-4,0,13,19,2,0,5,24,4),Y(0,7,9,-4,0,14,21,2,0,5,26,4),Y(0,8,9,-5,0,15,22,2,0,6,28,5),Y(0,8,10,-5,0,16,24,2,0,6,30,5),Y(0,8,11,-5,0,17,26,2,0,6,32,5),Y(0,9,11,-5,0,18,28,2,0,7,34,6),Y(0,9,12,-6,0,19,29,2,0,7,36,6),Y(0,10,13,-6,0,20,31,3,0,8,38,7),Y(0,10,13,-6,0,21,33,3,0,8,40,7),Y(0,10,14,-6,0,22,35,3,0,8,42,7),Y(0,11,14,-7,0,23,36,3,0,9,44,8),Y(0,11,15,-7,0,24,38,3,0,9,46,8)],S_=__,C_=["duration","easing","delay"],P_={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},E_={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Vd(t){return`${Math.round(t)}ms`}function O_(t){if(!t)return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function z_(t){const e=A({},P_,t.easing),n=A({},E_,t.duration);return A({getAutoHeightDuration:O_,create:(r=["all"],o={})=>{const{duration:s=n.standard,easing:l=e.easeInOut,delay:a=0}=o;return be(o,C_),(Array.isArray(r)?r:[r]).map(u=>`${u} ${typeof s=="string"?s:Vd(s)} ${l} ${typeof a=="string"?a:Vd(a)}`).join(",")}},t,{easing:e,duration:n})}const M_={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},A_=M_,T_=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function R_(t={},...e){const{mixins:n={},palette:i={},transitions:r={},typography:o={}}=t,s=be(t,T_);if(t.vars)throw new Error(zi(18));const l=v_(i),a=Wu(t);let u=Ut(a,{mixins:Zk(a.breakpoints,n),palette:l,shadows:S_.slice(),typography:w_(l,o),transitions:z_(r),zIndex:A({},A_)});return u=Ut(u,s),u=e.reduce((c,d)=>Ut(c,d),u),u.unstable_sxConfig=A({},Fs,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Vu({sx:d,theme:this})},u}const I_=R_(),am=I_,um="$$material";function Zt({props:t,name:e}){return Qk({props:t,name:e,defaultTheme:am,themeId:um})}const D_=t=>Do(t)&&t!=="classes",j_=Wk({themeId:um,defaultTheme:am,rootShouldForwardProp:D_}),en=j_;function L_(t){return Dt("MuiSvgIcon",t)}Jt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const N_=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],F_=t=>{const{color:e,fontSize:n,classes:i}=t,r={root:["root",e!=="inherit"&&`color${le(e)}`,`fontSize${le(n)}`]};return Xt(r,L_,i)},B_=en("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="inherit"&&e[`color${le(n.color)}`],e[`fontSize${le(n.fontSize)}`]]}})(({theme:t,ownerState:e})=>{var n,i,r,o,s,l,a,u,c,d,f,m,h,y,b,v,p;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(n=t.transitions)==null||(i=n.create)==null?void 0:i.call(n,"fill",{duration:(r=t.transitions)==null||(o=r.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((s=t.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,20))||"1.25rem",medium:((a=t.typography)==null||(u=a.pxToRem)==null?void 0:u.call(a,24))||"1.5rem",large:((c=t.typography)==null||(d=c.pxToRem)==null?void 0:d.call(c,35))||"2.1875rem"}[e.fontSize],color:(f=(m=(t.vars||t).palette)==null||(h=m[e.color])==null?void 0:h.main)!=null?f:{action:(y=(t.vars||t).palette)==null||(b=y.action)==null?void 0:b.active,disabled:(v=(t.vars||t).palette)==null||(p=v.action)==null?void 0:p.disabled,inherit:void 0}[e.color]}}),cm=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:s="inherit",component:l="svg",fontSize:a="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:f="0 0 24 24"}=i,m=be(i,N_),h=A({},i,{color:s,component:l,fontSize:a,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:f}),y={};c||(y.viewBox=f);const b=F_(h);return w.jsxs(B_,A({as:l,className:Yt(b.root,o),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n},y,m,{ownerState:h,children:[r,d?w.jsx("title",{children:d}):null]}))});cm.muiName="SvgIcon";const Wd=cm;function $_(t,e){function n(i,r){return w.jsx(Wd,A({"data-testid":`${e}Icon`,ref:r},i,{children:t}))}return n.muiName=Wd.muiName,T.memo(T.forwardRef(n))}const U_={configure:t=>{Vp.configure(t)}},H_=Object.freeze(Object.defineProperty({__proto__:null,capitalize:le,createChainedFunction:gb,createSvgIcon:$_,debounce:wb,deprecatedPropType:xb,isMuiElement:Fp,ownerDocument:Bp,ownerWindow:bb,requirePropFactory:kb,setRef:$p,unstable_ClassNameGenerator:U_,unstable_useEnhancedEffect:Up,unstable_useId:Cb,unsupportedProp:Pb,useControlled:Eb,useEventCallback:Ob,useForkRef:zb,useIsFocusVisible:jb},Symbol.toStringTag,{value:"Module"})),V_=T.createContext({}),Lr=V_;function W_(t){return Dt("MuiTimeline",t)}Jt("MuiTimeline",["root","positionLeft","positionRight","positionAlternate"]);const q_=["position","className"],Q_=t=>{const{position:e,classes:n}=t,i={root:["root",e&&`position${le(e)}`]};return Xt(i,W_,n)},G_=en("ul",{name:"MuiTimeline",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.position&&e[`position${le(n.position)}`]]}})({display:"flex",flexDirection:"column",padding:"6px 16px",flexGrow:1}),K_=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiTimeline"}),{position:r="right",className:o}=i,s=be(i,q_),l=A({},i,{position:r}),a=Q_(l),u=T.useMemo(()=>({position:r}),[r]);return w.jsx(Lr.Provider,{value:u,children:w.jsx(G_,A({className:Yt(a.root,o),ownerState:l,ref:n},s))})}),Y_=K_;function X_(t){return Dt("MuiTypography",t)}Jt("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const J_=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Z_=t=>{const{align:e,gutterBottom:n,noWrap:i,paragraph:r,variant:o,classes:s}=t,l={root:["root",o,t.align!=="inherit"&&`align${le(e)}`,n&&"gutterBottom",i&&"noWrap",r&&"paragraph"]};return Xt(l,X_,s)},eS=en("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.variant&&e[n.variant],n.align!=="inherit"&&e[`align${le(n.align)}`],n.noWrap&&e.noWrap,n.gutterBottom&&e.gutterBottom,n.paragraph&&e.paragraph]}})(({theme:t,ownerState:e})=>A({margin:0},e.variant&&t.typography[e.variant],e.align!=="inherit"&&{textAlign:e.align},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.paragraph&&{marginBottom:16})),qd={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},tS={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},nS=t=>tS[t]||t,iS=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiTypography"}),r=nS(i.color),o=jk(A({},i,{color:r})),{align:s="inherit",className:l,component:a,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:f="body1",variantMapping:m=qd}=o,h=be(o,J_),y=A({},o,{align:s,color:r,className:l,component:a,gutterBottom:u,noWrap:c,paragraph:d,variant:f,variantMapping:m}),b=a||(d?"p":m[f]||qd[f])||"span",v=Z_(y);return w.jsx(eS,A({as:b,ref:n,ownerState:y,className:Yt(v.root,l)},h))}),pt=iS;function rS(t){return Dt("MuiTimelineContent",t)}const oS=Jt("MuiTimelineContent",["root","positionLeft","positionRight","positionAlternate"]),sS=oS,lS=["className"],aS=t=>{const{position:e,classes:n}=t,i={root:["root",`position${le(e)}`]};return Xt(i,rS,n)},uS=en(pt,{name:"MuiTimelineContent",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${le(n.position)}`]]}})(({ownerState:t})=>A({flex:1,padding:"6px 16px",textAlign:"left"},t.position==="left"&&{textAlign:"right"})),cS=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiTimelineContent"}),{className:r}=i,o=be(i,lS),{position:s}=T.useContext(Lr),l=A({},i,{position:s||"right"}),a=aS(l);return w.jsx(uS,A({component:"div",className:Yt(a.root,r),ownerState:l,ref:n},o))}),Gi=cS;function dS(t){return Dt("MuiTimelineOppositeContent",t)}const fS=Jt("MuiTimelineOppositeContent",["root","positionLeft","positionRight","positionAlternate"]),hS=fS,pS=["className"],mS=t=>{const{position:e,classes:n}=t,i={root:["root",`position${le(e)}`]};return Xt(i,dS,n)},vS=en(pt,{name:"MuiTimelineOppositeContent",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${le(n.position)}`]]}})(({ownerState:t})=>A({padding:"6px 16px",marginRight:"auto",textAlign:"right",flex:1},t.position==="left"&&{textAlign:"left"})),dm=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiTimelineOppositeContent"}),{className:r}=i,o=be(i,pS),{position:s}=T.useContext(Lr),l=A({},i,{position:s||"left"}),a=mS(l);return w.jsx(vS,A({component:"div",className:Yt(a.root,r),ownerState:l,ref:n},o))});dm.muiName="TimelineOppositeContent";const Ki=dm;function yS(t){return Dt("MuiTimelineItem",t)}Jt("MuiTimelineItem",["root","positionLeft","positionRight","positionAlternate","missingOppositeContent"]);const gS=["position","className"],wS=t=>{const{position:e,classes:n,hasOppositeContent:i}=t,r={root:["root",`position${le(e)}`,!i&&"missingOppositeContent"]};return Xt(r,yS,n)},xS=en("li",{name:"MuiTimelineItem",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${le(n.position)}`]]}})(({ownerState:t})=>A({listStyle:"none",display:"flex",position:"relative",minHeight:70},t.position==="left"&&{flexDirection:"row-reverse"},t.position==="alternate"&&{"&:nth-of-type(even)":{flexDirection:"row-reverse",[`& .${sS.root}`]:{textAlign:"right"},[`& .${hS.root}`]:{textAlign:"left"}}},!t.hasOppositeContent&&{"&:before":{content:'""',flex:1,padding:"6px 16px"}})),bS=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiTimelineItem"}),{position:r,className:o}=i,s=be(i,gS),{position:l}=T.useContext(Lr);let a=!1;T.Children.forEach(i.children,f=>{Fp(f,["TimelineOppositeContent"])&&(a=!0)});const u=A({},i,{position:r||l||"right",hasOppositeContent:a}),c=wS(u),d=T.useMemo(()=>({position:u.position}),[u.position]);return w.jsx(Lr.Provider,{value:d,children:w.jsx(xS,A({className:Yt(c.root,o),ownerState:u,ref:n},s))})}),Yi=bS;function kS(t){return Dt("MuiTimelineSeparator",t)}Jt("MuiTimelineSeparator",["root"]);const _S=["className"],SS=t=>{const{classes:e}=t;return Xt({root:["root"]},kS,e)},CS=en("div",{name:"MuiTimelineSeparator",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex",flexDirection:"column",flex:0,alignItems:"center"}),PS=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiTimelineSeparator"}),{className:r}=i,o=be(i,_S),s=i,l=SS(s);return w.jsx(CS,A({className:Yt(l.root,r),ownerState:s,ref:n},o))}),Xi=PS;function ES(t){return Dt("MuiTimelineConnector",t)}Jt("MuiTimelineConnector",["root"]);const OS=["className"],zS=t=>{const{classes:e}=t;return Xt({root:["root"]},ES,e)},MS=en("span",{name:"MuiTimelineConnector",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({width:2,backgroundColor:(t.vars||t).palette.grey[400],flexGrow:1})),AS=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiTimelineConnector"}),{className:r}=i,o=be(i,OS),s=i,l=zS(s);return w.jsx(MS,A({className:Yt(l.root,r),ownerState:s,ref:n},o))}),St=AS;function TS(t){return Dt("MuiTimelineDot",t)}Jt("MuiTimelineDot",["root","filled","outlined","filledGrey","outlinedGrey","filledPrimary","outlinedPrimary","filledSecondary","outlinedSecondary"]);const RS=["className","color","variant"],IS=t=>{const{color:e,variant:n,classes:i}=t,r={root:["root",n,e!=="inherit"&&`${n}${le(e)}`]};return Xt(r,TS,i)},DS=en("span",{name:"MuiTimelineDot",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.color!=="inherit"&&`${n.variant}${le(n.color)}`],e[n.variant]]}})(({ownerState:t,theme:e})=>A({display:"flex",alignSelf:"baseline",borderStyle:"solid",borderWidth:2,padding:4,borderRadius:"50%",boxShadow:(e.vars||e).shadows[1],margin:"11.5px 0"},t.variant==="filled"&&A({borderColor:"transparent"},t.color!=="inherit"&&A({},t.color==="grey"?{color:(e.vars||e).palette.grey[50],backgroundColor:(e.vars||e).palette.grey[400]}:{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main})),t.variant==="outlined"&&A({boxShadow:"none",backgroundColor:"transparent"},t.color!=="inherit"&&A({},t.color==="grey"?{borderColor:(e.vars||e).palette.grey[400]}:{borderColor:(e.vars||e).palette[t.color].main})))),jS=T.forwardRef(function(e,n){const i=Zt({props:e,name:"MuiTimelineDot"}),{className:r,color:o="grey",variant:s="filled"}=i,l=be(i,RS),a=A({},i,{color:o,variant:s}),u=IS(a);return w.jsx(DS,A({className:Yt(u.root,r),ownerState:a,ref:n},l))}),Ji=jS;var Qu={},fm={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(fm);var Gu=fm.exports,Al={};const LS=ym(H_);var Qd;function Ku(){return Qd||(Qd=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e.createSvgIcon}});var e=LS}(Al)),Al}var NS=Gu;Object.defineProperty(Qu,"__esModule",{value:!0});var hm=Qu.default=void 0,FS=NS(Ku()),Tl=w,BS=(0,FS.default)([(0,Tl.jsx)("circle",{cx:"14.5",cy:"10.5",r:"1.25"},"0"),(0,Tl.jsx)("circle",{cx:"9.5",cy:"10.5",r:"1.25"},"1"),(0,Tl.jsx)("path",{d:"M22.94 12.66c.04-.21.06-.43.06-.66s-.02-.45-.06-.66c-.25-1.51-1.36-2.74-2.81-3.17-.53-1.12-1.28-2.1-2.19-2.91C16.36 3.85 14.28 3 12 3s-4.36.85-5.94 2.26c-.92.81-1.67 1.8-2.19 2.91-1.45.43-2.56 1.65-2.81 3.17-.04.21-.06.43-.06.66s.02.45.06.66c.25 1.51 1.36 2.74 2.81 3.17.52 1.11 1.27 2.09 2.17 2.89C7.62 20.14 9.71 21 12 21s4.38-.86 5.97-2.28c.9-.8 1.65-1.79 2.17-2.89 1.44-.43 2.55-1.65 2.8-3.17zM19 14c-.1 0-.19-.02-.29-.03-.2.67-.49 1.29-.86 1.86C16.6 17.74 14.45 19 12 19s-4.6-1.26-5.85-3.17c-.37-.57-.66-1.19-.86-1.86-.1.01-.19.03-.29.03-1.1 0-2-.9-2-2s.9-2 2-2c.1 0 .19.02.29.03.2-.67.49-1.29.86-1.86C7.4 6.26 9.55 5 12 5s4.6 1.26 5.85 3.17c.37.57.66 1.19.86 1.86.1-.01.19-.03.29-.03 1.1 0 2 .9 2 2s-.9 2-2 2zM7.5 14c.76 1.77 2.49 3 4.5 3s3.74-1.23 4.5-3h-9z"},"2")],"ChildCare");hm=Qu.default=BS;var Yu={},$S=Gu;Object.defineProperty(Yu,"__esModule",{value:!0});var jo=Yu.default=void 0,US=$S(Ku()),HS=w,VS=(0,US.default)((0,HS.jsx)("path",{d:"M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3 1 9l11 6 9-4.91V17h2V9L12 3z"}),"School");jo=Yu.default=VS;var Xu={},WS=Gu;Object.defineProperty(Xu,"__esModule",{value:!0});var pm=Xu.default=void 0;GS(T);var qS=WS(Ku()),QS=w;function mm(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(mm=function(i){return i?n:e})(t)}function GS(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=mm(e);if(n&&n.has(t))return n.get(t);var i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var s=r?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}var KS=(0,qS.default)((0,QS.jsx)("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub");pm=Xu.default=KS;const YS=()=>w.jsxs(Y_,{position:"alternate",children:[w.jsxs(Yi,{children:[w.jsx(Ki,{sx:{m:"auto 0"},align:"right",variant:"body2",color:"text.secondary",className:"dark:text-teal-600",children:"05/03/2003"}),w.jsxs(Xi,{children:[w.jsx(St,{}),w.jsx(Ji,{children:w.jsx(hm,{})}),w.jsx(St,{})]}),w.jsx(Gi,{sx:{py:"12px",px:2},children:w.jsx(pt,{variant:"h6",component:"span",children:"DOB"})})]}),w.jsxs(Yi,{children:[w.jsx(Ki,{sx:{m:"auto 0"},variant:"body2",color:"text.secondary",className:"dark:text-teal-600",children:"2018"}),w.jsxs(Xi,{children:[w.jsx(St,{}),w.jsx(Ji,{color:"primary",children:w.jsx(jo,{})}),w.jsx(St,{})]}),w.jsxs(Gi,{sx:{py:"12px",px:2},children:[w.jsx(pt,{variant:"h6",component:"span",children:"Sacred Heart School"}),w.jsx(pt,{className:"dark:text-teal-400",children:"Graduated from high school with 84%"})]})]}),w.jsxs(Yi,{children:[w.jsx(Ki,{sx:{m:"auto 0"},variant:"body2",color:"text.secondary",className:"dark:text-teal-600",children:"2020"}),w.jsxs(Xi,{children:[w.jsx(St,{}),w.jsx(Ji,{color:"primary",variant:"outlined",children:w.jsx(jo,{})}),w.jsx(St,{sx:{bgcolor:"secondary.main"}})]}),w.jsxs(Gi,{sx:{py:"12px",px:2},children:[w.jsx(pt,{variant:"h6",component:"span",children:"Mother International Academy"}),w.jsx(pt,{className:"dark:text-teal-400",children:"Graduated from senior secondary high school"})]})]}),w.jsxs(Yi,{children:[w.jsx(Ki,{sx:{m:"auto 0"},variant:"body2",color:"text.secondary",className:"dark:text-teal-600",children:"2021-2025"}),w.jsxs(Xi,{children:[w.jsx(St,{sx:{bgcolor:"secondary.main"}}),w.jsx(Ji,{color:"secondary",children:w.jsx(jo,{})}),w.jsx(St,{})]}),w.jsxs(Gi,{sx:{py:"12px",px:2},children:[w.jsx(pt,{variant:"h6",component:"span",children:"Dumka Engineering College"}),w.jsx(pt,{className:"dark:text-teal-400",children:"Currently in 5th semester, pursuing B.Tech in Computer Science and Engineering"})]})]}),w.jsxs(Yi,{children:[w.jsx(Ki,{sx:{m:"auto 0"},variant:"body2",color:"text.secondary",className:"dark:text-teal-600",children:"May 2023 - August 2023"}),w.jsxs(Xi,{children:[w.jsx(St,{sx:{bgcolor:"secondary.main"}}),w.jsx(Ji,{color:"secondary",children:w.jsx(pm,{})}),w.jsx(St,{})]}),w.jsxs(Gi,{sx:{py:"12px",px:2},children:[w.jsx(pt,{variant:"h6",component:"span",children:"GirlScript Summer of Code 2023"}),w.jsx(pt,{className:"dark:text-teal-400",children:"Participated in GSSoC 2023, contributing to develop complex projects and learn new technologies with some of the brightest minds as mentors and co-participants. Top contributor with more than 30 PRs successfully merged."})]})]})]}),XS=()=>{const[t,e]=T.useState(!1),[n,i]=T.useState(""),[r,o]=T.useState(""),s=Fe.useRef(null),l=Fe.useRef(null);Fe.useEffect(()=>{const u={strings:["Student.","Developer.","Programmer.","History Enthusiast.","Bohemian."],typeSpeed:100,backSpeed:50,showCursor:!1,loop:!0};return l.current=new Wv(s.current,u),()=>{l.current.destroy()}},[]);const a=[{name:"Node.js",image:wy},{name:"Next.js",image:gy},{name:"MongoDB",image:yy},{name:"React.js",image:xy},{name:"Express.js",image:py},{name:"Figma",image:my},{name:"JavaScript",image:vy}];return w.jsxs("div",{className:t?"dark":"",children:[w.jsx(vb,{linkColor:t?"#ffffff":"#000000",particleColor:t?"#ffffff":"#000000"}),w.jsxs("main",{className:"bg-cyan-200 px-10 md:px-20 lg:px-40 dark:bg-gradient-to-t from-black to-gray-900 dark:text-white",children:[w.jsxs("section",{children:[w.jsxs("nav",{className:"py-10 mb-6 flex justify-between",children:[w.jsx("h1",{className:"text-3xl font-burtons",children:w.jsx("a",{href:"#",children:"Rishu Raj"})}),w.jsxs("ul",{className:"flex items-center",children:[w.jsx("li",{children:t?w.jsx(Xv,{onClick:()=>e(!t),className:"cursor-pointer fill-yellow-400 text-2xl transition duration-500 hover:scale-125 ease-in-out"}):w.jsx(Gv,{onClick:()=>e(!t),className:"cursor-pointer fill-slate-900 text-xl transition duration-500 hover:scale-125 ease-in-out"})}),w.jsx("li",{children:w.jsx("a",{rel:"noreferrer",className:`bg-gradient-to-r hover:bg-gradient-to-l from-cyan-500 to-teal-500 text-white px-4 py-2 rounded-md ml-8`,href:uy,target:"_blank",children:"Resume"})})]})]}),w.jsxs("div",{className:"text-center p-8",children:[w.jsx("h2",{className:"text-6xl py-4 text-gray-800 dark:text-teal-300 font-medium mb-4",children:"Rishu Raj"}),w.jsx("span",{className:"text-2xl md:text-3xl sm:text-2xl py-8 m-4 font-pacifico text-gray-600",ref:s}),w.jsx("p",{className:"text-medium md:text-xl max-w-lg dark:text-teal-600 mx-auto leading-8 text-gray-800 mt-8",children:"Hello World! I am Rishu Raj and I am a Computer Science undergrad student from India. I am a frontend developer and a programmer. I love to code and design. I am a self taught developer and I am always learning new things. Here are my socials. Do check them out and thanks for visiting this page."})]}),w.jsxs("div",{className:"flex text-5xl justify-center gap-16 py-3 text-gray-600",children:[w.jsx("a",{rel:"noreferrer",href:"https://twitter.com/rrishu561",target:"_blank",children:w.jsx(Zv,{className:"hover:fill-[#1d9bf0] transform transition duration-500 hover:scale-125 flex justify-center items-center"})}),w.jsx("a",{rel:"noreferrer",href:"https://www.linkedin.com/in/rishu-raj-b380041a1/",target:"_blank",children:w.jsx(Jv,{className:"hover:fill-[#0a66c2] transform transition duration-500 hover:scale-125 flex justify-center items-center"})}),w.jsx("a",{rel:"noreferrer",href:"https://github.com/rishuraj1",target:"_blank",children:w.jsx(Oa,{className:"dark:hover:fill-[#f0f6fc] hover:fill-black transform transition duration-500 hover:scale-125 flex justify-center items-center"})})]}),w.jsx("div",{className:`bg-gradient-to-b from-teal-500 rounded-full mt-16 mx-auto overflow-hidden relative flex cursor-pointer transition duration-500 hover:scale-105 sm:h-52 sm:w-52 md:h-64 md:w-64 lg:h-72 lg:w-72 justify-center items-center`,children:w.jsx("img",{className:"object-cover w-full h-full flex items-center",src:ty})})]}),w.jsxs("section",{className:"shadow-lg mt-5",children:[w.jsxs("div",{className:"flex flex-col items-center",children:[w.jsx("h3",{className:"text-3xl py-1 mt-20 mb-4",children:"Services"}),w.jsx("p",{className:"text-md py-2 leading-8 text-gray-800 dark:text-teal-600 text-md flex text-center",children:"As a front end developer, I can make beautiful, simplistic and minimal frontend designs with maximum functionality to offer. Here are some key features. If you like this, feel free to reach out from the feedback section below."})]}),w.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 pb-10",children:a.map((u,c)=>w.jsx("div",{className:"items-center flex justify-center",children:w.jsx("div",{className:"items-center",children:w.jsx("div",{className:"w-[100px]",children:w.jsx("img",{src:u.image})})})},c))})]}),w.jsxs("section",{className:"shadow-lg mt-5 p-2 flex flex-col",children:[w.jsxs("div",{className:"flex flex-col items-center",children:[w.jsx("h3",{className:"text-3xl py-1 mt-20 mb-3",children:"Projects"}),w.jsx("p",{className:"text-md p-4 leading-8 text-gray-800 dark:text-teal-600 flex text-center",children:"In my projects section, you will find a showcase of my technical abilities and creativity across a diverse range of fields, including AI development, software engineering, web development, and more. Each project represents my passion for innovation and my commitment to pushing the boundaries of what is possible with technology. With a focus on practicality and usefulness, my projects demonstrate my ability to develop intelligent and effective solutions to real-world problems. Browse through my portfolio to discover the range and depth of my technical expertise."})]}),w.jsxs("div",{className:"lg:flex flex-wrap gap-16 md:flex items-start justify-center p-2",children:[w.jsx(mo,{image:ny,githubLink:"https://github.com/rishuraj1/LilBot-Discord-Bot",name:"LilBot - Discord Bot",details:"I created a Discord bot project using ChatGPT AI that I am excited to showcase in my portfolio. The bot is designed to engage users in natural and intelligent conversation, responding to user input with relevant and contextual responses with a bit of sarcasm. It utilizes the powerful Da Vinci model from GPT-3 architecture.",className:"w-1/4"}),w.jsx(mo,{image:cy,githubLink:"https://github.com/rishuraj1/ImageNation--React",projectLink:"https://imagenation.vercel.app/",name:"ImageNation",details:"This is a web app which produces images using AI by taking some input text(prompt) from user. Built using MERN stack and OpenAI API.",className:"w-1/4"}),w.jsx(mo,{image:dy,githubLink:"https://github.com/rishuraj1/PortfolioReact",projectLink:"https://rishuraj1.github.io/PortfolioReact/",name:"My personal portfolio website",details:"I have developed a personalized portfolio using React.js, Tailwind CSS, and Material UI. This portfolio showcases my skills, experiences, and projects in a visually appealing and user-friendly manner. React.js, a popular JavaScript library, serves as the foundation for the portfolio. It enables me to build reusable and modular components, ensuring efficient and maintainable code. With React.js, the portfolio offers a seamless and interactive user experience, allowing smooth navigation and dynamic content updates. Tailwind CSS and Material UI were used to enhance the visual aesthetics of the portfolio.",className:"w-1/4"}),w.jsx(mo,{image:fy,githubLink:"https://github.com/rishuraj1/BleedInk",projectLink:"https://bleedink.vercel.app/",name:"BleedINK - A blogging website with AI",details:"BleedINK is a blogging website with AI. It is a full stack web app built using MERN stack and OpenAI API. It is a blogging website where users can write blogs with help of AI. It is a platform where users can share their thoughts and ideas with the world.",className:"w-1/4"})]})]}),w.jsx("section",{className:"shadow-lg mt-5",children:w.jsxs("div",{className:"lg:flex gap-16 md:flex p-5 flex-col items-center relative",children:[w.jsx("h3",{className:" flex justify-center text-3xl py-1 mt-20 mb-3",children:"My Life"}),w.jsx(YS,{})]})}),w.jsx("section",{className:"shadow-lg mt-5",children:w.jsxs("div",{className:"lg:flex gap-16 md:flex p-5 flex-col items-center relative",children:[w.jsx("h3",{className:" flex justify-center text-3xl py-1 mt-20 mb-3",children:"Certifications"}),w.jsx("p",{className:"text-md p-4 leading-8 text-gray-800 dark:text-teal-600 flex text-center",children:"I have completed many courses and certifications. Here are some of them. I am always learning new things and trying to improve my skills. I am currently learning React js."}),w.jsx(yb,{})]})}),w.jsx("section",{className:"shadow-lg mt-5",children:w.jsxs("div",{className:"lg:flex gap-16 md:flex mt-20 p-5",children:[w.jsxs("div",{className:"flex flex-col items-center mb-5",children:[w.jsx("h3",{className:"font-semibold text-lg p-4",children:"Feedback Form"}),w.jsxs("form",{className:"items-start flex p-4 flex-col",action:"mailto:rrishu561@gmail.com",method:"post",encType:"text/plain",children:["Name:",w.jsx("input",{className:"w-full border border-solid border-black p-2 mb-2 dark:bg-inherit dark:border-white",type:"text",placeholder:"Name",value:n,onChange:u=>i(u.target.value)}),"email:",w.jsx("input",{className:"w-full border border-solid border-black p-2 mb-2 dark:bg-inherit dark:border-white",type:"email",placeholder:"your email address"}),"Messege:",w.jsx("textarea",{className:"w-full border border-black p-2 mb-2 dark:bg-inherit dark:border-white",rows:"4",cols:"50",value:r,onChange:u=>o(u.target.value)}),w.jsx("input",{type:"submit",className:"bg-gradient-to-r hover:bg-gradient-to-l from-cyan-500 to-teal-500 px-4 py-2 rounded-md p-4 cursor-pointer text-white"})]})]}),w.jsx("div",{className:"flex flex-col items-center justify-center",children:w.jsxs("div",{className:"flex flex-col items-center justify-center gap-6",children:[w.jsx("h3",{className:"font-pacifico text-4xl underline items-center flex text-center",children:"Thanks for visiting"}),w.jsx(by,{image:t?iy:ry}),w.jsx(ky,{image:oy})]})})]})}),w.jsx("div",{className:"h-10"})]})]})};Il.createRoot(document.getElementById("root")).render(w.jsx(Fe.StrictMode,{children:w.jsx(XS,{})})); diff --git a/index.html b/index.html index cc41a2b..d3698b3 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Rishu Raj | Portfolio - +