portfolio/build/static/js/main.3e4ff154.js
2024-09-06 14:36:02 +07:00

3 lines
580 KiB
JavaScript

/*! For license information please see main.3e4ff154.js.LICENSE.txt */
!function(){var e={300:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var i,r,a;if(Array.isArray(t)){if((i=t.length)!=n.length)return!1;for(r=i;0!==r--;)if(!e(t[r],n[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((i=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(r=i;0!==r--;)if(!Object.prototype.hasOwnProperty.call(n,a[r]))return!1;for(r=i;0!==r--;){var o=a[r];if(("_owner"!==o||!t.$$typeof)&&!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}},110:function(e,t,n){"use strict";var i=n(309),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return i.isMemo(e)?o:s[e.$$typeof]||r}s[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[i.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,i){if("string"!==typeof n){if(p){var r=h(n);r&&r!==p&&e(t,r,i)}var o=c(n);d&&(o=o.concat(d(n)));for(var s=l(t),v=l(n),y=0;y<o.length;++y){var m=o[y];if(!a[m]&&(!i||!i[m])&&(!v||!v[m])&&(!s||!s[m])){var g=f(n,m);try{u(t,m,g)}catch(b){}}}}return t}},746:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,r=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116,m=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,k=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case c:case d:case a:case s:case o:case h:return e;default:switch(e=e&&e.$$typeof){case u:case f:case y:case v:case l:return e;default:return t}}case r:return t}}}function x(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=i,t.ForwardRef=f,t.Fragment=a,t.Lazy=y,t.Memo=v,t.Portal=r,t.Profiler=s,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return x(e)||w(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===y},t.isMemo=function(e){return w(e)===v},t.isPortal=function(e){return w(e)===r},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===o},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===d||e===s||e===o||e===h||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===v||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===g||e.$$typeof===b||e.$$typeof===k||e.$$typeof===m)},t.typeOf=w},309:function(e,t,n){"use strict";e.exports=n(746)},463:function(e,t,n){"use strict";var i=n(791),r=n(296);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,s={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)o.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},p={};function v(e,t,n,i,r,a,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=i,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){y[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];y[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){y[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){y[e]=new v(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){y[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){y[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){y[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){y[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){y[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var m=/[\-:]([a-z])/g;function g(e){return e[1].toUpperCase()}function b(e,t,n,i){var r=y.hasOwnProperty(t)?y[t]:null;(null!==r?0!==r.type:i||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,i){if(null===t||"undefined"===typeof t||function(e,t,n,i){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!i&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,i))return!0;if(i)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,r,i)&&(n=null),i||null===r?function(e){return!!d.call(p,e)||!d.call(h,e)&&(f.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,i=r.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(r=r.type)||4===r&&!0===n?"":""+n,i?e.setAttributeNS(i,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(m,g);y[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(m,g);y[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(m,g);y[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),y.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),P=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),R=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var A=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var D=Symbol.iterator;function L(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=D&&e[D]||e["@@iterator"])?e:null}var j,I=Object.assign;function F(e){if(void 0===j)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);j=t&&t[1]||""}return"\n"+j+e}var N=!1;function V(e,t){if(!e||N)return"";N=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var i=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){i=u}e.call(t.prototype)}else{try{throw Error()}catch(u){i=u}e()}}catch(u){if(u&&i&&"string"===typeof u.stack){for(var r=u.stack.split("\n"),a=i.stack.split("\n"),o=r.length-1,s=a.length-1;1<=o&&0<=s&&r[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(r[o]!==a[s]){if(1!==o||1!==s)do{if(o--,0>--s||r[o]!==a[s]){var l="\n"+r[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=o&&0<=s);break}}}finally{N=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function B(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 1:return e=V(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case S:return"Fragment";case x:return"Portal";case E:return"Profiler";case C:return"StrictMode";case O:return"Suspense";case T:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case z:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case M:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case R:t=e._payload,e=e._init;try{return U(e(t))}catch(n){}}return null}function H(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===C?"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("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function $(e){e._valueTracker||(e._valueTracker=function(e){var t=q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var r=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){i=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(e){i=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Y(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=q(e)?e.checked?"true":"false":e.value),(e=i)!==n&&(t.setValue(e),!0)}function K(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function G(e,t){var n=t.checked;return I({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,i=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:i,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function J(e,t){Q(e,t);var n=W(t.value),i=t.type;if(null!=n)"number"===i?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===i||"reset"===i)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Z(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!("submit"!==i&&"reset"!==i||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,i){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&i&&(e[n].defaultSelected=!0)}else{for(n=""+W(n),t=null,r=0;r<e.length;r++){if(e[r].value===n)return e[r].selected=!0,void(i&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function ie(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return I({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function re(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(te(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function ae(e,t){var n=W(t.value),i=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=i&&(e.defaultValue=""+i)}function oe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,i){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={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},pe=["Webkit","ms","Moz","O"];function ve(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function ye(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var i=0===n.indexOf("--"),r=ve(n,t[n],i);"float"===n&&(n="cssFloat"),i?e.setProperty(n,r):e[n]=r}}Object.keys(he).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var me=I({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 ge(e,t){if(t){if(me[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){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 ke=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Se=null,Ce=null;function Ee(e){if(e=br(e)){if("function"!==typeof xe)throw Error(a(280));var t=e.stateNode;t&&(t=wr(t),xe(e.stateNode,e.type,t))}}function _e(e){Se?Ce?Ce.push(e):Ce=[e]:Se=e}function Pe(){if(Se){var e=Se,t=Ce;if(Ce=Se=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function ze(e,t){return e(t)}function Oe(){}var Te=!1;function Me(e,t,n){if(Te)return e(t,n);Te=!0;try{return ze(e,t,n)}finally{Te=!1,(null!==Se||null!==Ce)&&(Oe(),Pe())}}function Re(e,t){var n=e.stateNode;if(null===n)return null;var i=wr(n);if(null===i)return null;n=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(i=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!i;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}var Ae=!1;if(c)try{var De={};Object.defineProperty(De,"passive",{get:function(){Ae=!0}}),window.addEventListener("test",De,De),window.removeEventListener("test",De,De)}catch(ce){Ae=!1}function Le(e,t,n,i,r,a,o,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var je=!1,Ie=null,Fe=!1,Ne=null,Ve={onError:function(e){je=!0,Ie=e}};function Be(e,t,n,i,r,a,o,s,l){je=!1,Ie=null,Le.apply(Ve,arguments)}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function He(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function We(e){if(Ue(e)!==e)throw Error(a(188))}function qe(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,i=t;;){var r=n.return;if(null===r)break;var o=r.alternate;if(null===o){if(null!==(i=r.return)){n=i;continue}break}if(r.child===o.child){for(o=r.child;o;){if(o===n)return We(r),e;if(o===i)return We(r),t;o=o.sibling}throw Error(a(188))}if(n.return!==i.return)n=r,i=o;else{for(var s=!1,l=r.child;l;){if(l===n){s=!0,n=r,i=o;break}if(l===i){s=!0,i=r,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,i=r;break}if(l===i){s=!0,i=o,n=r;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==i)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e))?$e(e):null}function $e(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=$e(e);if(null!==t)return t;e=e.sibling}return null}var Ye=r.unstable_scheduleCallback,Ke=r.unstable_cancelCallback,Ge=r.unstable_shouldYield,Xe=r.unstable_requestPaint,Qe=r.unstable_now,Je=r.unstable_getCurrentPriorityLevel,Ze=r.unstable_ImmediatePriority,et=r.unstable_UserBlockingPriority,tt=r.unstable_NormalPriority,nt=r.unstable_LowPriority,it=r.unstable_IdlePriority,rt=null,at=null;var ot=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var i=0,r=e.suspendedLanes,a=e.pingedLanes,o=268435455&n;if(0!==o){var s=o&~r;0!==s?i=dt(s):0!==(a&=o)&&(i=dt(a))}else 0!==(o=n&~r)?i=dt(o):0!==a&&(i=dt(a));if(0===i)return 0;if(0!==t&&t!==i&&0===(t&r)&&((r=i&-i)>=(a=t&-t)||16===r&&0!==(4194240&a)))return t;if(0!==(4&i)&&(i|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=i;0<t;)r=1<<(n=31-ot(t)),i|=e[n],t&=~r;return i}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 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+5e3;default:return-1}}function pt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function vt(){var e=ut;return 0===(4194240&(ut<<=1))&&(ut=64),e}function yt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function mt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ot(t)]=n}function gt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-ot(n),r=1<<i;r&t|e[i]&t&&(e[i]|=t),n&=~r}}var bt=0;function kt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var wt,xt,St,Ct,Et,_t=!1,Pt=[],zt=null,Ot=null,Tt=null,Mt=new Map,Rt=new Map,At=[],Dt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Lt(e,t){switch(e){case"focusin":case"focusout":zt=null;break;case"dragenter":case"dragleave":Ot=null;break;case"mouseover":case"mouseout":Tt=null;break;case"pointerover":case"pointerout":Mt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rt.delete(t.pointerId)}}function jt(e,t,n,i,r,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:i,nativeEvent:a,targetContainers:[r]},null!==t&&(null!==(t=br(t))&&xt(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,null!==r&&-1===t.indexOf(r)&&t.push(r),e)}function It(e){var t=gr(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void Et(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=br(n))&&xt(t),e.blockedOn=n,!1;var i=new(n=e.nativeEvent).constructor(n.type,n);ke=i,n.target.dispatchEvent(i),ke=null,t.shift()}return!0}function Nt(e,t,n){Ft(e)&&n.delete(t)}function Vt(){_t=!1,null!==zt&&Ft(zt)&&(zt=null),null!==Ot&&Ft(Ot)&&(Ot=null),null!==Tt&&Ft(Tt)&&(Tt=null),Mt.forEach(Nt),Rt.forEach(Nt)}function Bt(e,t){e.blockedOn===t&&(e.blockedOn=null,_t||(_t=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Vt)))}function Ut(e){function t(t){return Bt(t,e)}if(0<Pt.length){Bt(Pt[0],e);for(var n=1;n<Pt.length;n++){var i=Pt[n];i.blockedOn===e&&(i.blockedOn=null)}}for(null!==zt&&Bt(zt,e),null!==Ot&&Bt(Ot,e),null!==Tt&&Bt(Tt,e),Mt.forEach(t),Rt.forEach(t),n=0;n<At.length;n++)(i=At[n]).blockedOn===e&&(i.blockedOn=null);for(;0<At.length&&null===(n=At[0]).blockedOn;)It(n),null===n.blockedOn&&At.shift()}var Ht=k.ReactCurrentBatchConfig,Wt=!0;function qt(e,t,n,i){var r=bt,a=Ht.transition;Ht.transition=null;try{bt=1,Yt(e,t,n,i)}finally{bt=r,Ht.transition=a}}function $t(e,t,n,i){var r=bt,a=Ht.transition;Ht.transition=null;try{bt=4,Yt(e,t,n,i)}finally{bt=r,Ht.transition=a}}function Yt(e,t,n,i){if(Wt){var r=Gt(e,t,n,i);if(null===r)Wi(e,t,i,Kt,n),Lt(e,i);else if(function(e,t,n,i,r){switch(t){case"focusin":return zt=jt(zt,e,t,n,i,r),!0;case"dragenter":return Ot=jt(Ot,e,t,n,i,r),!0;case"mouseover":return Tt=jt(Tt,e,t,n,i,r),!0;case"pointerover":var a=r.pointerId;return Mt.set(a,jt(Mt.get(a)||null,e,t,n,i,r)),!0;case"gotpointercapture":return a=r.pointerId,Rt.set(a,jt(Rt.get(a)||null,e,t,n,i,r)),!0}return!1}(r,e,t,n,i))i.stopPropagation();else if(Lt(e,i),4&t&&-1<Dt.indexOf(e)){for(;null!==r;){var a=br(r);if(null!==a&&wt(a),null===(a=Gt(e,t,n,i))&&Wi(e,t,i,Kt,n),a===r)break;r=a}null!==r&&i.stopPropagation()}else Wi(e,t,i,null,n)}}var Kt=null;function Gt(e,t,n,i){if(Kt=null,null!==(e=gr(e=we(i))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=He(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kt=e,null}function Xt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case it:return 536870912;default:return 16}default:return 16}}var Qt=null,Jt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Jt,i=n.length,r="value"in Qt?Qt.value:Qt.textContent,a=r.length;for(e=0;e<i&&n[e]===r[e];e++);var o=i-e;for(t=1;t<=o&&n[i-t]===r[a-t];t++);return Zt=r.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,i,r,a){for(var o in this._reactName=t,this._targetInst=i,this.type=n,this.nativeEvent=r,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(r):r[o]);return this.isDefaultPrevented=(null!=r.defaultPrevented?r.defaultPrevented:!1===r.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return I(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,sn,ln,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(un),dn=I({},un,{view:0,detail:0}),fn=an(dn),hn=I({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(on=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=on=0,ln=e),on)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),pn=an(hn),vn=an(I({},hn,{dataTransfer:0})),yn=an(I({},dn,{relatedTarget:0})),mn=an(I({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),gn=I({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=an(gn),kn=an(I({},un,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function En(){return Cn}var _n=I({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Pn=an(_n),zn=an(I({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),On=an(I({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),Tn=an(I({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Mn=I({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Rn=an(Mn),An=[9,13,27,32],Dn=c&&"CompositionEvent"in window,Ln=null;c&&"documentMode"in document&&(Ln=document.documentMode);var jn=c&&"TextEvent"in window&&!Ln,In=c&&(!Dn||Ln&&8<Ln&&11>=Ln),Fn=String.fromCharCode(32),Nn=!1;function Vn(e,t){switch(e){case"keyup":return-1!==An.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1;var Hn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hn[e.type]:"textarea"===t}function qn(e,t,n,i){_e(i),0<(t=$i(t,"onChange")).length&&(n=new cn("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var $n=null,Yn=null;function Kn(e){Fi(e,0)}function Gn(e){if(Y(kr(e)))return e}function Xn(e,t){if("change"===e)return t}var Qn=!1;if(c){var Jn;if(c){var Zn="oninput"in document;if(!Zn){var ei=document.createElement("div");ei.setAttribute("oninput","return;"),Zn="function"===typeof ei.oninput}Jn=Zn}else Jn=!1;Qn=Jn&&(!document.documentMode||9<document.documentMode)}function ti(){$n&&($n.detachEvent("onpropertychange",ni),Yn=$n=null)}function ni(e){if("value"===e.propertyName&&Gn(Yn)){var t=[];qn(t,Yn,e,we(e)),Me(Kn,t)}}function ii(e,t,n){"focusin"===e?(ti(),Yn=n,($n=t).attachEvent("onpropertychange",ni)):"focusout"===e&&ti()}function ri(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(Yn)}function ai(e,t){if("click"===e)return Gn(t)}function oi(e,t){if("input"===e||"change"===e)return Gn(t)}var si="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function li(e,t){if(si(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var r=n[i];if(!d.call(t,r)||!si(e[r],t[r]))return!1}return!0}function ui(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ci(e,t){var n,i=ui(e);for(e=0;i;){if(3===i.nodeType){if(n=e+i.textContent.length,e<=t&&n>=t)return{node:i,offset:t-e};e=n}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=ui(i)}}function di(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?di(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fi(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(i){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function hi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pi(e){var t=fi(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&di(n.ownerDocument.documentElement,n)){if(null!==i&&hi(n))if(t=i.start,void 0===(e=i.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var r=n.textContent.length,a=Math.min(i.start,r);i=void 0===i.end?a:Math.min(i.end,r),!e.extend&&a>i&&(r=i,i=a,a=r),r=ci(n,a);var o=ci(n,i);r&&o&&(1!==e.rangeCount||e.anchorNode!==r.node||e.anchorOffset!==r.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(r.node,r.offset),e.removeAllRanges(),a>i?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var vi=c&&"documentMode"in document&&11>=document.documentMode,yi=null,mi=null,gi=null,bi=!1;function ki(e,t,n){var i=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;bi||null==yi||yi!==K(i)||("selectionStart"in(i=yi)&&hi(i)?i={start:i.selectionStart,end:i.selectionEnd}:i={anchorNode:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset},gi&&li(gi,i)||(gi=i,0<(i=$i(mi,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=yi)))}function wi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xi={animationend:wi("Animation","AnimationEnd"),animationiteration:wi("Animation","AnimationIteration"),animationstart:wi("Animation","AnimationStart"),transitionend:wi("Transition","TransitionEnd")},Si={},Ci={};function Ei(e){if(Si[e])return Si[e];if(!xi[e])return e;var t,n=xi[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ci)return Si[e]=n[t];return e}c&&(Ci=document.createElement("div").style,"AnimationEvent"in window||(delete xi.animationend.animation,delete xi.animationiteration.animation,delete xi.animationstart.animation),"TransitionEvent"in window||delete xi.transitionend.transition);var _i=Ei("animationend"),Pi=Ei("animationiteration"),zi=Ei("animationstart"),Oi=Ei("transitionend"),Ti=new Map,Mi="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ri(e,t){Ti.set(e,t),l(t,[e])}for(var Ai=0;Ai<Mi.length;Ai++){var Di=Mi[Ai];Ri(Di.toLowerCase(),"on"+(Di[0].toUpperCase()+Di.slice(1)))}Ri(_i,"onAnimationEnd"),Ri(Pi,"onAnimationIteration"),Ri(zi,"onAnimationStart"),Ri("dblclick","onDoubleClick"),Ri("focusin","onFocus"),Ri("focusout","onBlur"),Ri(Oi,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Li="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ji=new Set("cancel close invalid load scroll toggle".split(" ").concat(Li));function Ii(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,i,r,o,s,l,u){if(Be.apply(this,arguments),je){if(!je)throw Error(a(198));var c=Ie;je=!1,Ie=null,Fe||(Fe=!0,Ne=c)}}(i,t,void 0,e),e.currentTarget=null}function Fi(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var i=e[n],r=i.event;i=i.listeners;e:{var a=void 0;if(t)for(var o=i.length-1;0<=o;o--){var s=i[o],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==a&&r.isPropagationStopped())break e;Ii(r,s,u),a=l}else for(o=0;o<i.length;o++){if(l=(s=i[o]).instance,u=s.currentTarget,s=s.listener,l!==a&&r.isPropagationStopped())break e;Ii(r,s,u),a=l}}}if(Fe)throw e=Ne,Fe=!1,Ne=null,e}function Ni(e,t){var n=t[vr];void 0===n&&(n=t[vr]=new Set);var i=e+"__bubble";n.has(i)||(Hi(t,e,2,!1),n.add(i))}function Vi(e,t,n){var i=0;t&&(i|=4),Hi(n,e,i,t)}var Bi="_reactListening"+Math.random().toString(36).slice(2);function Ui(e){if(!e[Bi]){e[Bi]=!0,o.forEach((function(t){"selectionchange"!==t&&(ji.has(t)||Vi(t,!1,e),Vi(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Bi]||(t[Bi]=!0,Vi("selectionchange",!1,t))}}function Hi(e,t,n,i){switch(Xt(t)){case 1:var r=qt;break;case 4:r=$t;break;default:r=Yt}n=r.bind(null,t,n,e),r=void 0,!Ae||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(r=!0),i?void 0!==r?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):void 0!==r?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function Wi(e,t,n,i,r){var a=i;if(0===(1&t)&&0===(2&t)&&null!==i)e:for(;;){if(null===i)return;var o=i.tag;if(3===o||4===o){var s=i.stateNode.containerInfo;if(s===r||8===s.nodeType&&s.parentNode===r)break;if(4===o)for(o=i.return;null!==o;){var l=o.tag;if((3===l||4===l)&&((l=o.stateNode.containerInfo)===r||8===l.nodeType&&l.parentNode===r))return;o=o.return}for(;null!==s;){if(null===(o=gr(s)))return;if(5===(l=o.tag)||6===l){i=a=o;continue e}s=s.parentNode}}i=i.return}Me((function(){var i=a,r=we(n),o=[];e:{var s=Ti.get(e);if(void 0!==s){var l=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Pn;break;case"focusin":u="focus",l=yn;break;case"focusout":u="blur",l=yn;break;case"beforeblur":case"afterblur":l=yn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=On;break;case _i:case Pi:case zi:l=mn;break;case Oi:l=Tn;break;case"scroll":l=fn;break;case"wheel":l=Rn;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=zn}var c=0!==(4&t),d=!c&&"scroll"===e,f=c?null!==s?s+"Capture":null:s;c=[];for(var h,p=i;null!==p;){var v=(h=p).stateNode;if(5===h.tag&&null!==v&&(h=v,null!==f&&(null!=(v=Re(p,f))&&c.push(qi(p,v,h)))),d)break;p=p.return}0<c.length&&(s=new l(s,u,null,n,r),o.push({event:s,listeners:c}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===ke||!(u=n.relatedTarget||n.fromElement)||!gr(u)&&!u[pr])&&(l||s)&&(s=r.window===r?r:(s=r.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=i,null!==(u=(u=n.relatedTarget||n.toElement)?gr(u):null)&&(u!==(d=Ue(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=i),l!==u)){if(c=pn,v="onMouseLeave",f="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(c=zn,v="onPointerLeave",f="onPointerEnter",p="pointer"),d=null==l?s:kr(l),h=null==u?s:kr(u),(s=new c(v,p+"leave",l,n,r)).target=d,s.relatedTarget=h,v=null,gr(r)===i&&((c=new c(f,p+"enter",u,n,r)).target=h,c.relatedTarget=d,v=c),d=v,l&&u)e:{for(f=u,p=0,h=c=l;h;h=Yi(h))p++;for(h=0,v=f;v;v=Yi(v))h++;for(;0<p-h;)c=Yi(c),p--;for(;0<h-p;)f=Yi(f),h--;for(;p--;){if(c===f||null!==f&&c===f.alternate)break e;c=Yi(c),f=Yi(f)}c=null}else c=null;null!==l&&Ki(o,s,l,c,!1),null!==u&&null!==d&&Ki(o,d,u,c,!0)}if("select"===(l=(s=i?kr(i):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var y=Xn;else if(Wn(s))if(Qn)y=oi;else{y=ri;var m=ii}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(y=ai);switch(y&&(y=y(e,i))?qn(o,y,n,r):(m&&m(e,s,i),"focusout"===e&&(m=s._wrapperState)&&m.controlled&&"number"===s.type&&ee(s,"number",s.value)),m=i?kr(i):window,e){case"focusin":(Wn(m)||"true"===m.contentEditable)&&(yi=m,mi=i,gi=null);break;case"focusout":gi=mi=yi=null;break;case"mousedown":bi=!0;break;case"contextmenu":case"mouseup":case"dragend":bi=!1,ki(o,n,r);break;case"selectionchange":if(vi)break;case"keydown":case"keyup":ki(o,n,r)}var g;if(Dn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Un?Vn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(In&&"ko"!==n.locale&&(Un||"onCompositionStart"!==b?"onCompositionEnd"===b&&Un&&(g=en()):(Jt="value"in(Qt=r)?Qt.value:Qt.textContent,Un=!0)),0<(m=$i(i,b)).length&&(b=new kn(b,e,null,n,r),o.push({event:b,listeners:m}),g?b.data=g:null!==(g=Bn(n))&&(b.data=g))),(g=jn?function(e,t){switch(e){case"compositionend":return Bn(t);case"keypress":return 32!==t.which?null:(Nn=!0,Fn);case"textInput":return(e=t.data)===Fn&&Nn?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!Dn&&Vn(e,t)?(e=en(),Zt=Jt=Qt=null,Un=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return In&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(i=$i(i,"onBeforeInput")).length&&(r=new kn("onBeforeInput","beforeinput",null,n,r),o.push({event:r,listeners:i}),r.data=g))}Fi(o,t)}))}function qi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function $i(e,t){for(var n=t+"Capture",i=[];null!==e;){var r=e,a=r.stateNode;5===r.tag&&null!==a&&(r=a,null!=(a=Re(e,n))&&i.unshift(qi(e,a,r)),null!=(a=Re(e,t))&&i.push(qi(e,a,r))),e=e.return}return i}function Yi(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ki(e,t,n,i,r){for(var a=t._reactName,o=[];null!==n&&n!==i;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===i)break;5===s.tag&&null!==u&&(s=u,r?null!=(l=Re(n,a))&&o.unshift(qi(n,l,s)):r||null!=(l=Re(n,a))&&o.push(qi(n,l,s))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var Gi=/\r\n?/g,Xi=/\u0000|\uFFFD/g;function Qi(e){return("string"===typeof e?e:""+e).replace(Gi,"\n").replace(Xi,"")}function Ji(e,t,n){if(t=Qi(t),Qi(e)!==t&&n)throw Error(a(425))}function Zi(){}var er=null,tr=null;function nr(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ir="function"===typeof setTimeout?setTimeout:void 0,rr="function"===typeof clearTimeout?clearTimeout:void 0,ar="function"===typeof Promise?Promise:void 0,or="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof ar?function(e){return ar.resolve(null).then(e).catch(sr)}:ir;function sr(e){setTimeout((function(){throw e}))}function lr(e,t){var n=t,i=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===i)return e.removeChild(r),void Ut(t);i--}else"$"!==n&&"$?"!==n&&"$!"!==n||i++;n=r}while(n);Ut(t)}function ur(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function cr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var dr=Math.random().toString(36).slice(2),fr="__reactFiber$"+dr,hr="__reactProps$"+dr,pr="__reactContainer$"+dr,vr="__reactEvents$"+dr,yr="__reactListeners$"+dr,mr="__reactHandles$"+dr;function gr(e){var t=e[fr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pr]||n[fr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=cr(e);null!==e;){if(n=e[fr])return n;e=cr(e)}return t}n=(e=n).parentNode}return null}function br(e){return!(e=e[fr]||e[pr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function kr(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function wr(e){return e[hr]||null}var xr=[],Sr=-1;function Cr(e){return{current:e}}function Er(e){0>Sr||(e.current=xr[Sr],xr[Sr]=null,Sr--)}function _r(e,t){Sr++,xr[Sr]=e.current,e.current=t}var Pr={},zr=Cr(Pr),Or=Cr(!1),Tr=Pr;function Mr(e,t){var n=e.type.contextTypes;if(!n)return Pr;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var r,a={};for(r in n)a[r]=t[r];return i&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Rr(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ar(){Er(Or),Er(zr)}function Dr(e,t,n){if(zr.current!==Pr)throw Error(a(168));_r(zr,t),_r(Or,n)}function Lr(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,"function"!==typeof i.getChildContext)return n;for(var r in i=i.getChildContext())if(!(r in t))throw Error(a(108,H(e)||"Unknown",r));return I({},n,i)}function jr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pr,Tr=zr.current,_r(zr,e),_r(Or,Or.current),!0}function Ir(e,t,n){var i=e.stateNode;if(!i)throw Error(a(169));n?(e=Lr(e,t,Tr),i.__reactInternalMemoizedMergedChildContext=e,Er(Or),Er(zr),_r(zr,e)):Er(Or),_r(Or,n)}var Fr=null,Nr=!1,Vr=!1;function Br(e){null===Fr?Fr=[e]:Fr.push(e)}function Ur(){if(!Vr&&null!==Fr){Vr=!0;var e=0,t=bt;try{var n=Fr;for(bt=1;e<n.length;e++){var i=n[e];do{i=i(!0)}while(null!==i)}Fr=null,Nr=!1}catch(r){throw null!==Fr&&(Fr=Fr.slice(e+1)),Ye(Ze,Ur),r}finally{bt=t,Vr=!1}}return null}var Hr=[],Wr=0,qr=null,$r=0,Yr=[],Kr=0,Gr=null,Xr=1,Qr="";function Jr(e,t){Hr[Wr++]=$r,Hr[Wr++]=qr,qr=e,$r=t}function Zr(e,t,n){Yr[Kr++]=Xr,Yr[Kr++]=Qr,Yr[Kr++]=Gr,Gr=e;var i=Xr;e=Qr;var r=32-ot(i)-1;i&=~(1<<r),n+=1;var a=32-ot(t)+r;if(30<a){var o=r-r%5;a=(i&(1<<o)-1).toString(32),i>>=o,r-=o,Xr=1<<32-ot(t)+r|n<<r|i,Qr=a+e}else Xr=1<<a|n<<r|i,Qr=e}function ea(e){null!==e.return&&(Jr(e,1),Zr(e,1,0))}function ta(e){for(;e===qr;)qr=Hr[--Wr],Hr[Wr]=null,$r=Hr[--Wr],Hr[Wr]=null;for(;e===Gr;)Gr=Yr[--Kr],Yr[Kr]=null,Qr=Yr[--Kr],Yr[Kr]=null,Xr=Yr[--Kr],Yr[Kr]=null}var na=null,ia=null,ra=!1,aa=null;function oa(e,t){var n=Ru(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function sa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,na=e,ia=ur(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,na=e,ia=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Gr?{id:Xr,overflow:Qr}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ru(18,null,null,0)).stateNode=t,n.return=e,e.child=n,na=e,ia=null,!0);default:return!1}}function la(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ua(e){if(ra){var t=ia;if(t){var n=t;if(!sa(e,t)){if(la(e))throw Error(a(418));t=ur(n.nextSibling);var i=na;t&&sa(e,t)?oa(i,n):(e.flags=-4097&e.flags|2,ra=!1,na=e)}}else{if(la(e))throw Error(a(418));e.flags=-4097&e.flags|2,ra=!1,na=e}}}function ca(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;na=e}function da(e){if(e!==na)return!1;if(!ra)return ca(e),ra=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!nr(e.type,e.memoizedProps)),t&&(t=ia)){if(la(e))throw fa(),Error(a(418));for(;t;)oa(e,t),t=ur(t.nextSibling)}if(ca(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ia=ur(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ia=null}}else ia=na?ur(e.stateNode.nextSibling):null;return!0}function fa(){for(var e=ia;e;)e=ur(e.nextSibling)}function ha(){ia=na=null,ra=!1}function pa(e){null===aa?aa=[e]:aa.push(e)}var va=k.ReactCurrentBatchConfig;function ya(e,t){if(e&&e.defaultProps){for(var n in t=I({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ma=Cr(null),ga=null,ba=null,ka=null;function wa(){ka=ba=ga=null}function xa(e){var t=ma.current;Er(ma),e._currentValue=t}function Sa(e,t,n){for(;null!==e;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==i&&(i.childLanes|=t)):null!==i&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function Ca(e,t){ga=e,ka=ba=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ks=!0),e.firstContext=null)}function Ea(e){var t=e._currentValue;if(ka!==e)if(e={context:e,memoizedValue:t,next:null},null===ba){if(null===ga)throw Error(a(308));ba=e,ga.dependencies={lanes:0,firstContext:e}}else ba=ba.next=e;return t}var _a=null;function Pa(e){null===_a?_a=[e]:_a.push(e)}function za(e,t,n,i){var r=t.interleaved;return null===r?(n.next=n,Pa(t)):(n.next=r.next,r.next=n),t.interleaved=n,Oa(e,i)}function Oa(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ta=!1;function Ma(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ra(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Aa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Da(e,t,n){var i=e.updateQueue;if(null===i)return null;if(i=i.shared,0!==(2&Ol)){var r=i.pending;return null===r?t.next=t:(t.next=r.next,r.next=t),i.pending=t,Oa(e,n)}return null===(r=i.interleaved)?(t.next=t,Pa(i)):(t.next=r.next,r.next=t),i.interleaved=t,Oa(e,n)}function La(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var i=t.lanes;n|=i&=e.pendingLanes,t.lanes=n,gt(e,n)}}function ja(e,t){var n=e.updateQueue,i=e.alternate;if(null!==i&&n===(i=i.updateQueue)){var r=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?r=a=o:a=a.next=o,n=n.next}while(null!==n);null===a?r=a=t:a=a.next=t}else r=a=t;return n={baseState:i.baseState,firstBaseUpdate:r,lastBaseUpdate:a,shared:i.shared,effects:i.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ia(e,t,n,i){var r=e.updateQueue;Ta=!1;var a=r.firstBaseUpdate,o=r.lastBaseUpdate,s=r.shared.pending;if(null!==s){r.shared.pending=null;var l=s,u=l.next;l.next=null,null===o?a=u:o.next=u,o=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==a){var d=r.baseState;for(o=0,c=u=l=null,s=a;;){var f=s.lane,h=s.eventTime;if((i&f)===f){null!==c&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,v=s;switch(f=t,h=n,v.tag){case 1:if("function"===typeof(p=v.payload)){d=p.call(h,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null===(f="function"===typeof(p=v.payload)?p.call(h,d,f):p)||void 0===f)break e;d=I({},d,f);break e;case 2:Ta=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=r.effects)?r.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=h,l=d):c=c.next=h,o|=f;if(null===(s=s.next)){if(null===(s=r.shared.pending))break;s=(f=s).next,f.next=null,r.lastBaseUpdate=f,r.shared.pending=null}}if(null===c&&(l=d),r.baseState=l,r.firstBaseUpdate=u,r.lastBaseUpdate=c,null!==(t=r.shared.interleaved)){r=t;do{o|=r.lane,r=r.next}while(r!==t)}else null===a&&(r.shared.lanes=0);Il|=o,e.lanes=o,e.memoizedState=d}}function Fa(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var i=e[t],r=i.callback;if(null!==r){if(i.callback=null,i=n,"function"!==typeof r)throw Error(a(191,r));r.call(i)}}}var Na=(new i.Component).refs;function Va(e,t,n,i){n=null===(n=n(i,t=e.memoizedState))||void 0===n?t:I({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ba={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var i=tu(),r=nu(e),a=Aa(i,r);a.payload=t,void 0!==n&&null!==n&&(a.callback=n),null!==(t=Da(e,a,r))&&(iu(t,e,r,i),La(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=tu(),r=nu(e),a=Aa(i,r);a.tag=1,a.payload=t,void 0!==n&&null!==n&&(a.callback=n),null!==(t=Da(e,a,r))&&(iu(t,e,r,i),La(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),i=nu(e),r=Aa(n,i);r.tag=2,void 0!==t&&null!==t&&(r.callback=t),null!==(t=Da(e,r,i))&&(iu(t,e,i,n),La(t,e,i))}};function Ua(e,t,n,i,r,a,o){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(i,a,o):!t.prototype||!t.prototype.isPureReactComponent||(!li(n,i)||!li(r,a))}function Ha(e,t,n){var i=!1,r=Pr,a=t.contextType;return"object"===typeof a&&null!==a?a=Ea(a):(r=Rr(t)?Tr:zr.current,a=(i=null!==(i=t.contextTypes)&&void 0!==i)?Mr(e,r):Pr),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ba,e.stateNode=t,t._reactInternals=e,i&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=a),t}function Wa(e,t,n,i){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,i),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==e&&Ba.enqueueReplaceState(t,t.state,null)}function qa(e,t,n,i){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs=Na,Ma(e);var a=t.contextType;"object"===typeof a&&null!==a?r.context=Ea(a):(a=Rr(t)?Tr:zr.current,r.context=Mr(e,a)),r.state=e.memoizedState,"function"===typeof(a=t.getDerivedStateFromProps)&&(Va(e,t,a,n),r.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof r.getSnapshotBeforeUpdate||"function"!==typeof r.UNSAFE_componentWillMount&&"function"!==typeof r.componentWillMount||(t=r.state,"function"===typeof r.componentWillMount&&r.componentWillMount(),"function"===typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),t!==r.state&&Ba.enqueueReplaceState(r,r.state,null),Ia(e,n,r,i),r.state=e.memoizedState),"function"===typeof r.componentDidMount&&(e.flags|=4194308)}function $a(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var i=n.stateNode}if(!i)throw Error(a(147,e));var r=i,o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===Na&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Ya(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ka(e){return(0,e._init)(e._payload)}function Ga(e){function t(t,n){if(e){var i=t.deletions;null===i?(t.deletions=[n],t.flags|=16):i.push(n)}}function n(n,i){if(!e)return null;for(;null!==i;)t(n,i),i=i.sibling;return null}function i(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function r(e,t){return(e=Du(e,t)).index=0,e.sibling=null,e}function o(t,n,i){return t.index=i,e?null!==(i=t.alternate)?(i=i.index)<n?(t.flags|=2,n):i:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,i){return null===t||6!==t.tag?((t=Fu(n,e.mode,i)).return=e,t):((t=r(t,n)).return=e,t)}function u(e,t,n,i){var a=n.type;return a===S?d(e,t,n.props.children,i,n.key):null!==t&&(t.elementType===a||"object"===typeof a&&null!==a&&a.$$typeof===R&&Ka(a)===t.type)?((i=r(t,n.props)).ref=$a(e,t,n),i.return=e,i):((i=Lu(n.type,n.key,n.props,null,e.mode,i)).ref=$a(e,t,n),i.return=e,i)}function c(e,t,n,i){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Nu(n,e.mode,i)).return=e,t):((t=r(t,n.children||[])).return=e,t)}function d(e,t,n,i,a){return null===t||7!==t.tag?((t=ju(n,e.mode,i,a)).return=e,t):((t=r(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Fu(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Lu(t.type,t.key,t.props,null,e.mode,n)).ref=$a(e,null,t),n.return=e,n;case x:return(t=Nu(t,e.mode,n)).return=e,t;case R:return f(e,(0,t._init)(t._payload),n)}if(te(t)||L(t))return(t=ju(t,e.mode,n,null)).return=e,t;Ya(e,t)}return null}function h(e,t,n,i){var r=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==r?null:l(e,t,""+n,i);if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===r?u(e,t,n,i):null;case x:return n.key===r?c(e,t,n,i):null;case R:return h(e,t,(r=n._init)(n._payload),i)}if(te(n)||L(n))return null!==r?null:d(e,t,n,i,null);Ya(e,n)}return null}function p(e,t,n,i,r){if("string"===typeof i&&""!==i||"number"===typeof i)return l(t,e=e.get(n)||null,""+i,r);if("object"===typeof i&&null!==i){switch(i.$$typeof){case w:return u(t,e=e.get(null===i.key?n:i.key)||null,i,r);case x:return c(t,e=e.get(null===i.key?n:i.key)||null,i,r);case R:return p(e,t,n,(0,i._init)(i._payload),r)}if(te(i)||L(i))return d(t,e=e.get(n)||null,i,r,null);Ya(t,i)}return null}function v(r,a,s,l){for(var u=null,c=null,d=a,v=a=0,y=null;null!==d&&v<s.length;v++){d.index>v?(y=d,d=null):y=d.sibling;var m=h(r,d,s[v],l);if(null===m){null===d&&(d=y);break}e&&d&&null===m.alternate&&t(r,d),a=o(m,a,v),null===c?u=m:c.sibling=m,c=m,d=y}if(v===s.length)return n(r,d),ra&&Jr(r,v),u;if(null===d){for(;v<s.length;v++)null!==(d=f(r,s[v],l))&&(a=o(d,a,v),null===c?u=d:c.sibling=d,c=d);return ra&&Jr(r,v),u}for(d=i(r,d);v<s.length;v++)null!==(y=p(d,r,v,s[v],l))&&(e&&null!==y.alternate&&d.delete(null===y.key?v:y.key),a=o(y,a,v),null===c?u=y:c.sibling=y,c=y);return e&&d.forEach((function(e){return t(r,e)})),ra&&Jr(r,v),u}function y(r,s,l,u){var c=L(l);if("function"!==typeof c)throw Error(a(150));if(null==(l=c.call(l)))throw Error(a(151));for(var d=c=null,v=s,y=s=0,m=null,g=l.next();null!==v&&!g.done;y++,g=l.next()){v.index>y?(m=v,v=null):m=v.sibling;var b=h(r,v,g.value,u);if(null===b){null===v&&(v=m);break}e&&v&&null===b.alternate&&t(r,v),s=o(b,s,y),null===d?c=b:d.sibling=b,d=b,v=m}if(g.done)return n(r,v),ra&&Jr(r,y),c;if(null===v){for(;!g.done;y++,g=l.next())null!==(g=f(r,g.value,u))&&(s=o(g,s,y),null===d?c=g:d.sibling=g,d=g);return ra&&Jr(r,y),c}for(v=i(r,v);!g.done;y++,g=l.next())null!==(g=p(v,r,y,g.value,u))&&(e&&null!==g.alternate&&v.delete(null===g.key?y:g.key),s=o(g,s,y),null===d?c=g:d.sibling=g,d=g);return e&&v.forEach((function(e){return t(r,e)})),ra&&Jr(r,y),c}return function e(i,a,o,l){if("object"===typeof o&&null!==o&&o.type===S&&null===o.key&&(o=o.props.children),"object"===typeof o&&null!==o){switch(o.$$typeof){case w:e:{for(var u=o.key,c=a;null!==c;){if(c.key===u){if((u=o.type)===S){if(7===c.tag){n(i,c.sibling),(a=r(c,o.props.children)).return=i,i=a;break e}}else if(c.elementType===u||"object"===typeof u&&null!==u&&u.$$typeof===R&&Ka(u)===c.type){n(i,c.sibling),(a=r(c,o.props)).ref=$a(i,c,o),a.return=i,i=a;break e}n(i,c);break}t(i,c),c=c.sibling}o.type===S?((a=ju(o.props.children,i.mode,l,o.key)).return=i,i=a):((l=Lu(o.type,o.key,o.props,null,i.mode,l)).ref=$a(i,a,o),l.return=i,i=l)}return s(i);case x:e:{for(c=o.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===o.containerInfo&&a.stateNode.implementation===o.implementation){n(i,a.sibling),(a=r(a,o.children||[])).return=i,i=a;break e}n(i,a);break}t(i,a),a=a.sibling}(a=Nu(o,i.mode,l)).return=i,i=a}return s(i);case R:return e(i,a,(c=o._init)(o._payload),l)}if(te(o))return v(i,a,o,l);if(L(o))return y(i,a,o,l);Ya(i,o)}return"string"===typeof o&&""!==o||"number"===typeof o?(o=""+o,null!==a&&6===a.tag?(n(i,a.sibling),(a=r(a,o)).return=i,i=a):(n(i,a),(a=Fu(o,i.mode,l)).return=i,i=a),s(i)):n(i,a)}}var Xa=Ga(!0),Qa=Ga(!1),Ja={},Za=Cr(Ja),eo=Cr(Ja),to=Cr(Ja);function no(e){if(e===Ja)throw Error(a(174));return e}function io(e,t){switch(_r(to,t),_r(eo,e),_r(Za,Ja),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Er(Za),_r(Za,t)}function ro(){Er(Za),Er(eo),Er(to)}function ao(e){no(to.current);var t=no(Za.current),n=le(t,e.type);t!==n&&(_r(eo,e),_r(Za,n))}function oo(e){eo.current===e&&(Er(Za),Er(eo))}var so=Cr(0);function lo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var uo=[];function co(){for(var e=0;e<uo.length;e++)uo[e]._workInProgressVersionPrimary=null;uo.length=0}var fo=k.ReactCurrentDispatcher,ho=k.ReactCurrentBatchConfig,po=0,vo=null,yo=null,mo=null,go=!1,bo=!1,ko=0,wo=0;function xo(){throw Error(a(321))}function So(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!si(e[n],t[n]))return!1;return!0}function Co(e,t,n,i,r,o){if(po=o,vo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fo.current=null===e||null===e.memoizedState?ss:ls,e=n(i,r),bo){o=0;do{if(bo=!1,ko=0,25<=o)throw Error(a(301));o+=1,mo=yo=null,t.updateQueue=null,fo.current=us,e=n(i,r)}while(bo)}if(fo.current=os,t=null!==yo&&null!==yo.next,po=0,mo=yo=vo=null,go=!1,t)throw Error(a(300));return e}function Eo(){var e=0!==ko;return ko=0,e}function _o(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===mo?vo.memoizedState=mo=e:mo=mo.next=e,mo}function Po(){if(null===yo){var e=vo.alternate;e=null!==e?e.memoizedState:null}else e=yo.next;var t=null===mo?vo.memoizedState:mo.next;if(null!==t)mo=t,yo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(yo=e).memoizedState,baseState:yo.baseState,baseQueue:yo.baseQueue,queue:yo.queue,next:null},null===mo?vo.memoizedState=mo=e:mo=mo.next=e}return mo}function zo(e,t){return"function"===typeof t?t(e):t}function Oo(e){var t=Po(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var i=yo,r=i.baseQueue,o=n.pending;if(null!==o){if(null!==r){var s=r.next;r.next=o.next,o.next=s}i.baseQueue=r=o,n.pending=null}if(null!==r){o=r.next,i=i.baseState;var l=s=null,u=null,c=o;do{var d=c.lane;if((po&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),i=c.hasEagerState?c.eagerState:e(i,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=f,s=i):u=u.next=f,vo.lanes|=d,Il|=d}c=c.next}while(null!==c&&c!==o);null===u?s=i:u.next=l,si(i,t.memoizedState)||(ks=!0),t.memoizedState=i,t.baseState=s,t.baseQueue=u,n.lastRenderedState=i}if(null!==(e=n.interleaved)){r=e;do{o=r.lane,vo.lanes|=o,Il|=o,r=r.next}while(r!==e)}else null===r&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function To(e){var t=Po(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var i=n.dispatch,r=n.pending,o=t.memoizedState;if(null!==r){n.pending=null;var s=r=r.next;do{o=e(o,s.action),s=s.next}while(s!==r);si(o,t.memoizedState)||(ks=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,i]}function Mo(){}function Ro(e,t){var n=vo,i=Po(),r=t(),o=!si(i.memoizedState,r);if(o&&(i.memoizedState=r,ks=!0),i=i.queue,Wo(Lo.bind(null,n,i,e),[e]),i.getSnapshot!==t||o||null!==mo&&1&mo.memoizedState.tag){if(n.flags|=2048,No(9,Do.bind(null,n,i,r,t),void 0,null),null===Tl)throw Error(a(349));0!==(30&po)||Ao(n,t,r)}return r}function Ao(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=vo.updateQueue)?(t={lastEffect:null,stores:null},vo.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Do(e,t,n,i){t.value=n,t.getSnapshot=i,jo(t)&&Io(e)}function Lo(e,t,n){return n((function(){jo(t)&&Io(e)}))}function jo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!si(e,n)}catch(i){return!0}}function Io(e){var t=Oa(e,1);null!==t&&iu(t,e,1,-1)}function Fo(e){var t=_o();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,vo,e),[t.memoizedState,e]}function No(e,t,n,i){return e={tag:e,create:t,destroy:n,deps:i,next:null},null===(t=vo.updateQueue)?(t={lastEffect:null,stores:null},vo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e),e}function Vo(){return Po().memoizedState}function Bo(e,t,n,i){var r=_o();vo.flags|=e,r.memoizedState=No(1|t,n,void 0,void 0===i?null:i)}function Uo(e,t,n,i){var r=Po();i=void 0===i?null:i;var a=void 0;if(null!==yo){var o=yo.memoizedState;if(a=o.destroy,null!==i&&So(i,o.deps))return void(r.memoizedState=No(t,n,a,i))}vo.flags|=e,r.memoizedState=No(1|t,n,a,i)}function Ho(e,t){return Bo(8390656,8,e,t)}function Wo(e,t){return Uo(2048,8,e,t)}function qo(e,t){return Uo(4,2,e,t)}function $o(e,t){return Uo(4,4,e,t)}function Yo(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ko(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Uo(4,4,Yo.bind(null,t,e),n)}function Go(){}function Xo(e,t){var n=Po();t=void 0===t?null:t;var i=n.memoizedState;return null!==i&&null!==t&&So(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function Qo(e,t){var n=Po();t=void 0===t?null:t;var i=n.memoizedState;return null!==i&&null!==t&&So(t,i[1])?i[0]:(e=e(),n.memoizedState=[e,t],e)}function Jo(e,t,n){return 0===(21&po)?(e.baseState&&(e.baseState=!1,ks=!0),e.memoizedState=n):(si(n,t)||(n=vt(),vo.lanes|=n,Il|=n,e.baseState=!0),t)}function Zo(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var i=ho.transition;ho.transition={};try{e(!1),t()}finally{bt=n,ho.transition=i}}function es(){return Po().memoizedState}function ts(e,t,n){var i=nu(e);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},is(e))rs(t,n);else if(null!==(n=za(e,t,n,i))){iu(n,e,i,tu()),as(n,t,i)}}function ns(e,t,n){var i=nu(e),r={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(is(e))rs(t,r);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=a(o,n);if(r.hasEagerState=!0,r.eagerState=s,si(s,o)){var l=t.interleaved;return null===l?(r.next=r,Pa(t)):(r.next=l.next,l.next=r),void(t.interleaved=r)}}catch(u){}null!==(n=za(e,t,r,i))&&(iu(n,e,i,r=tu()),as(n,t,i))}}function is(e){var t=e.alternate;return e===vo||null!==t&&t===vo}function rs(e,t){bo=go=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function as(e,t,n){if(0!==(4194240&n)){var i=t.lanes;n|=i&=e.pendingLanes,t.lanes=n,gt(e,n)}}var os={readContext:Ea,useCallback:xo,useContext:xo,useEffect:xo,useImperativeHandle:xo,useInsertionEffect:xo,useLayoutEffect:xo,useMemo:xo,useReducer:xo,useRef:xo,useState:xo,useDebugValue:xo,useDeferredValue:xo,useTransition:xo,useMutableSource:xo,useSyncExternalStore:xo,useId:xo,unstable_isNewReconciler:!1},ss={readContext:Ea,useCallback:function(e,t){return _o().memoizedState=[e,void 0===t?null:t],e},useContext:Ea,useEffect:Ho,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Bo(4194308,4,Yo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bo(4,2,e,t)},useMemo:function(e,t){var n=_o();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var i=_o();return t=void 0!==n?n(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=ts.bind(null,vo,e),[i.memoizedState,e]},useRef:function(e){return e={current:e},_o().memoizedState=e},useState:Fo,useDebugValue:Go,useDeferredValue:function(e){return _o().memoizedState=e},useTransition:function(){var e=Fo(!1),t=e[0];return e=Zo.bind(null,e[1]),_o().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=vo,r=_o();if(ra){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===Tl)throw Error(a(349));0!==(30&po)||Ao(i,t,n)}r.memoizedState=n;var o={value:n,getSnapshot:t};return r.queue=o,Ho(Lo.bind(null,i,o,e),[e]),i.flags|=2048,No(9,Do.bind(null,i,o,n,t),void 0,null),n},useId:function(){var e=_o(),t=Tl.identifierPrefix;if(ra){var n=Qr;t=":"+t+"R"+(n=(Xr&~(1<<32-ot(Xr)-1)).toString(32)+n),0<(n=ko++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wo++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:Ea,useCallback:Xo,useContext:Ea,useEffect:Wo,useImperativeHandle:Ko,useInsertionEffect:qo,useLayoutEffect:$o,useMemo:Qo,useReducer:Oo,useRef:Vo,useState:function(){return Oo(zo)},useDebugValue:Go,useDeferredValue:function(e){return Jo(Po(),yo.memoizedState,e)},useTransition:function(){return[Oo(zo)[0],Po().memoizedState]},useMutableSource:Mo,useSyncExternalStore:Ro,useId:es,unstable_isNewReconciler:!1},us={readContext:Ea,useCallback:Xo,useContext:Ea,useEffect:Wo,useImperativeHandle:Ko,useInsertionEffect:qo,useLayoutEffect:$o,useMemo:Qo,useReducer:To,useRef:Vo,useState:function(){return To(zo)},useDebugValue:Go,useDeferredValue:function(e){var t=Po();return null===yo?t.memoizedState=e:Jo(t,yo.memoizedState,e)},useTransition:function(){return[To(zo)[0],Po().memoizedState]},useMutableSource:Mo,useSyncExternalStore:Ro,useId:es,unstable_isNewReconciler:!1};function cs(e,t){try{var n="",i=t;do{n+=B(i),i=i.return}while(i);var r=n}catch(a){r="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:r,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var hs="function"===typeof WeakMap?WeakMap:Map;function ps(e,t,n){(n=Aa(-1,n)).tag=3,n.payload={element:null};var i=t.value;return n.callback=function(){ql||(ql=!0,$l=i),fs(0,t)},n}function vs(e,t,n){(n=Aa(-1,n)).tag=3;var i=e.type.getDerivedStateFromError;if("function"===typeof i){var r=t.value;n.payload=function(){return i(r)},n.callback=function(){fs(0,t)}}var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!==typeof i&&(null===Yl?Yl=new Set([this]):Yl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ys(e,t,n){var i=e.pingCache;if(null===i){i=e.pingCache=new hs;var r=new Set;i.set(t,r)}else void 0===(r=i.get(t))&&(r=new Set,i.set(t,r));r.has(n)||(r.add(n),e=_u.bind(null,e,t,n),t.then(e,e))}function ms(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gs(e,t,n,i,r){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Aa(-1,1)).tag=2,Da(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=r,e)}var bs=k.ReactCurrentOwner,ks=!1;function ws(e,t,n,i){t.child=null===e?Qa(t,null,n,i):Xa(t,e.child,n,i)}function xs(e,t,n,i,r){n=n.render;var a=t.ref;return Ca(t,r),i=Co(e,t,n,i,a,r),n=Eo(),null===e||ks?(ra&&n&&ea(t),t.flags|=1,ws(e,t,i,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,qs(e,t,r))}function Ss(e,t,n,i,r){if(null===e){var a=n.type;return"function"!==typeof a||Au(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Lu(n.type,null,i,t,t.mode,r)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Cs(e,t,a,i,r))}if(a=e.child,0===(e.lanes&r)){var o=a.memoizedProps;if((n=null!==(n=n.compare)?n:li)(o,i)&&e.ref===t.ref)return qs(e,t,r)}return t.flags|=1,(e=Du(a,i)).ref=t.ref,e.return=t,t.child=e}function Cs(e,t,n,i,r){if(null!==e){var a=e.memoizedProps;if(li(a,i)&&e.ref===t.ref){if(ks=!1,t.pendingProps=i=a,0===(e.lanes&r))return t.lanes=e.lanes,qs(e,t,r);0!==(131072&e.flags)&&(ks=!0)}}return Ps(e,t,n,i,r)}function Es(e,t,n){var i=t.pendingProps,r=i.children,a=null!==e?e.memoizedState:null;if("hidden"===i.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_r(Dl,Al),Al|=n;else{if(0===(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_r(Dl,Al),Al|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=null!==a?a.baseLanes:n,_r(Dl,Al),Al|=i}else null!==a?(i=a.baseLanes|n,t.memoizedState=null):i=n,_r(Dl,Al),Al|=i;return ws(e,t,r,n),t.child}function _s(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ps(e,t,n,i,r){var a=Rr(n)?Tr:zr.current;return a=Mr(t,a),Ca(t,r),n=Co(e,t,n,i,a,r),i=Eo(),null===e||ks?(ra&&i&&ea(t),t.flags|=1,ws(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,qs(e,t,r))}function zs(e,t,n,i,r){if(Rr(n)){var a=!0;jr(t)}else a=!1;if(Ca(t,r),null===t.stateNode)Ws(e,t),Ha(t,n,i),qa(t,n,i,r),i=!0;else if(null===e){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,u=n.contextType;"object"===typeof u&&null!==u?u=Ea(u):u=Mr(t,u=Rr(n)?Tr:zr.current);var c=n.getDerivedStateFromProps,d="function"===typeof c||"function"===typeof o.getSnapshotBeforeUpdate;d||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(s!==i||l!==u)&&Wa(t,o,i,u),Ta=!1;var f=t.memoizedState;o.state=f,Ia(t,i,o,r),l=t.memoizedState,s!==i||f!==l||Or.current||Ta?("function"===typeof c&&(Va(t,n,c,i),l=t.memoizedState),(s=Ta||Ua(t,n,s,i,f,l,u))?(d||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||("function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"===typeof o.componentDidMount&&(t.flags|=4194308)):("function"===typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=l),o.props=i,o.state=l,o.context=u,i=s):("function"===typeof o.componentDidMount&&(t.flags|=4194308),i=!1)}else{o=t.stateNode,Ra(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:ya(t.type,s),o.props=u,d=t.pendingProps,f=o.context,"object"===typeof(l=n.contextType)&&null!==l?l=Ea(l):l=Mr(t,l=Rr(n)?Tr:zr.current);var h=n.getDerivedStateFromProps;(c="function"===typeof h||"function"===typeof o.getSnapshotBeforeUpdate)||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(s!==d||f!==l)&&Wa(t,o,i,l),Ta=!1,f=t.memoizedState,o.state=f,Ia(t,i,o,r);var p=t.memoizedState;s!==d||f!==p||Or.current||Ta?("function"===typeof h&&(Va(t,n,h,i),p=t.memoizedState),(u=Ta||Ua(t,n,u,i,f,p,l)||!1)?(c||"function"!==typeof o.UNSAFE_componentWillUpdate&&"function"!==typeof o.componentWillUpdate||("function"===typeof o.componentWillUpdate&&o.componentWillUpdate(i,p,l),"function"===typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(i,p,l)),"function"===typeof o.componentDidUpdate&&(t.flags|=4),"function"===typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof o.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=p),o.props=i,o.state=p,o.context=l,i=u):("function"!==typeof o.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),i=!1)}return Os(e,t,n,i,a,r)}function Os(e,t,n,i,r,a){_s(e,t);var o=0!==(128&t.flags);if(!i&&!o)return r&&Ir(t,n,!1),qs(e,t,a);i=t.stateNode,bs.current=t;var s=o&&"function"!==typeof n.getDerivedStateFromError?null:i.render();return t.flags|=1,null!==e&&o?(t.child=Xa(t,e.child,null,a),t.child=Xa(t,null,s,a)):ws(e,t,s,a),t.memoizedState=i.state,r&&Ir(t,n,!0),t.child}function Ts(e){var t=e.stateNode;t.pendingContext?Dr(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Dr(0,t.context,!1),io(e,t.containerInfo)}function Ms(e,t,n,i,r){return ha(),pa(r),t.flags|=256,ws(e,t,n,i),t.child}var Rs,As,Ds,Ls,js={dehydrated:null,treeContext:null,retryLane:0};function Is(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fs(e,t,n){var i,r=t.pendingProps,o=so.current,s=!1,l=0!==(128&t.flags);if((i=l)||(i=(null===e||null!==e.memoizedState)&&0!==(2&o)),i?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),_r(so,1&o),null===e)return ua(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=r.children,e=r.fallback,s?(r=t.mode,s=t.child,l={mode:"hidden",children:l},0===(1&r)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Iu(l,r,0,null),e=ju(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Is(n),t.memoizedState=js,e):Ns(t,l));if(null!==(o=e.memoizedState)&&null!==(i=o.dehydrated))return function(e,t,n,i,r,o,s){if(n)return 256&t.flags?(t.flags&=-257,Vs(e,t,s,i=ds(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=i.fallback,r=t.mode,i=Iu({mode:"visible",children:i.children},r,0,null),(o=ju(o,r,s,null)).flags|=2,i.return=t,o.return=t,i.sibling=o,t.child=i,0!==(1&t.mode)&&Xa(t,e.child,null,s),t.child.memoizedState=Is(s),t.memoizedState=js,o);if(0===(1&t.mode))return Vs(e,t,s,null);if("$!"===r.data){if(i=r.nextSibling&&r.nextSibling.dataset)var l=i.dgst;return i=l,Vs(e,t,s,i=ds(o=Error(a(419)),i,void 0))}if(l=0!==(s&e.childLanes),ks||l){if(null!==(i=Tl)){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}0!==(r=0!==(r&(i.suspendedLanes|s))?0:r)&&r!==o.retryLane&&(o.retryLane=r,Oa(e,r),iu(i,e,r,-1))}return yu(),Vs(e,t,s,i=ds(Error(a(421))))}return"$?"===r.data?(t.flags|=128,t.child=e.child,t=zu.bind(null,e),r._reactRetry=t,null):(e=o.treeContext,ia=ur(r.nextSibling),na=t,ra=!0,aa=null,null!==e&&(Yr[Kr++]=Xr,Yr[Kr++]=Qr,Yr[Kr++]=Gr,Xr=e.id,Qr=e.overflow,Gr=t),t=Ns(t,i.children),t.flags|=4096,t)}(e,t,l,r,i,o,n);if(s){s=r.fallback,l=t.mode,i=(o=e.child).sibling;var u={mode:"hidden",children:r.children};return 0===(1&l)&&t.child!==o?((r=t.child).childLanes=0,r.pendingProps=u,t.deletions=null):(r=Du(o,u)).subtreeFlags=14680064&o.subtreeFlags,null!==i?s=Du(i,s):(s=ju(s,l,n,null)).flags|=2,s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,l=null===(l=e.child.memoizedState)?Is(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=js,r}return e=(s=e.child).sibling,r=Du(s,{mode:"visible",children:r.children}),0===(1&t.mode)&&(r.lanes=n),r.return=t,r.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ns(e,t){return(t=Iu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Vs(e,t,n,i){return null!==i&&pa(i),Xa(t,e.child,null,n),(e=Ns(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bs(e,t,n){e.lanes|=t;var i=e.alternate;null!==i&&(i.lanes|=t),Sa(e.return,t,n)}function Us(e,t,n,i,r){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:r}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=i,a.tail=n,a.tailMode=r)}function Hs(e,t,n){var i=t.pendingProps,r=i.revealOrder,a=i.tail;if(ws(e,t,i.children,n),0!==(2&(i=so.current)))i=1&i|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bs(e,n,t);else if(19===e.tag)Bs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=1}if(_r(so,i),0===(1&t.mode))t.memoizedState=null;else switch(r){case"forwards":for(n=t.child,r=null;null!==n;)null!==(e=n.alternate)&&null===lo(e)&&(r=n),n=n.sibling;null===(n=r)?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),Us(t,!1,r,n,a);break;case"backwards":for(n=null,r=t.child,t.child=null;null!==r;){if(null!==(e=r.alternate)&&null===lo(e)){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}Us(t,!0,n,null,a);break;case"together":Us(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ws(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function qs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Il|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Du(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Du(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function $s(e,t){if(!ra)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var i=null;null!==n;)null!==n.alternate&&(i=n),n=n.sibling;null===i?t||null===e.tail?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Ys(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,i=0;if(t)for(var r=e.child;null!==r;)n|=r.lanes|r.childLanes,i|=14680064&r.subtreeFlags,i|=14680064&r.flags,r.return=e,r=r.sibling;else for(r=e.child;null!==r;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags,i|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function Ks(e,t,n){var i=t.pendingProps;switch(ta(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ys(t),null;case 1:case 17:return Rr(t.type)&&Ar(),Ys(t),null;case 3:return i=t.stateNode,ro(),Er(Or),Er(zr),co(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),null!==e&&null!==e.child||(da(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==aa&&(su(aa),aa=null))),As(e,t),Ys(t),null;case 5:oo(t);var r=no(to.current);if(n=t.type,null!==e&&null!=t.stateNode)Ds(e,t,n,i,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(null===t.stateNode)throw Error(a(166));return Ys(t),null}if(e=no(Za.current),da(t)){i=t.stateNode,n=t.type;var o=t.memoizedProps;switch(i[fr]=t,i[hr]=o,e=0!==(1&t.mode),n){case"dialog":Ni("cancel",i),Ni("close",i);break;case"iframe":case"object":case"embed":Ni("load",i);break;case"video":case"audio":for(r=0;r<Li.length;r++)Ni(Li[r],i);break;case"source":Ni("error",i);break;case"img":case"image":case"link":Ni("error",i),Ni("load",i);break;case"details":Ni("toggle",i);break;case"input":X(i,o),Ni("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!o.multiple},Ni("invalid",i);break;case"textarea":re(i,o),Ni("invalid",i)}for(var l in ge(n,o),r=null,o)if(o.hasOwnProperty(l)){var u=o[l];"children"===l?"string"===typeof u?i.textContent!==u&&(!0!==o.suppressHydrationWarning&&Ji(i.textContent,u,e),r=["children",u]):"number"===typeof u&&i.textContent!==""+u&&(!0!==o.suppressHydrationWarning&&Ji(i.textContent,u,e),r=["children",""+u]):s.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&Ni("scroll",i)}switch(n){case"input":$(i),Z(i,o,!0);break;case"textarea":$(i),oe(i);break;case"select":case"option":break;default:"function"===typeof o.onClick&&(i.onclick=Zi)}i=r,t.updateQueue=i,null!==i&&(t.flags|=4)}else{l=9===r.nodeType?r:r.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof i.is?e=l.createElement(n,{is:i.is}):(e=l.createElement(n),"select"===n&&(l=e,i.multiple?l.multiple=!0:i.size&&(l.size=i.size))):e=l.createElementNS(e,n),e[fr]=t,e[hr]=i,Rs(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,i),n){case"dialog":Ni("cancel",e),Ni("close",e),r=i;break;case"iframe":case"object":case"embed":Ni("load",e),r=i;break;case"video":case"audio":for(r=0;r<Li.length;r++)Ni(Li[r],e);r=i;break;case"source":Ni("error",e),r=i;break;case"img":case"image":case"link":Ni("error",e),Ni("load",e),r=i;break;case"details":Ni("toggle",e),r=i;break;case"input":X(e,i),r=G(e,i),Ni("invalid",e);break;case"option":default:r=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},r=I({},i,{value:void 0}),Ni("invalid",e);break;case"textarea":re(e,i),r=ie(e,i),Ni("invalid",e)}for(o in ge(n,r),u=r)if(u.hasOwnProperty(o)){var c=u[o];"style"===o?ye(e,c):"dangerouslySetInnerHTML"===o?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===o?"string"===typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"===typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(s.hasOwnProperty(o)?null!=c&&"onScroll"===o&&Ni("scroll",e):null!=c&&b(e,o,c,l))}switch(n){case"input":$(e),Z(e,i,!1);break;case"textarea":$(e),oe(e);break;case"option":null!=i.value&&e.setAttribute("value",""+W(i.value));break;case"select":e.multiple=!!i.multiple,null!=(o=i.value)?ne(e,!!i.multiple,o,!1):null!=i.defaultValue&&ne(e,!!i.multiple,i.defaultValue,!0);break;default:"function"===typeof r.onClick&&(e.onclick=Zi)}switch(n){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ys(t),null;case 6:if(e&&null!=t.stateNode)Ls(e,t,e.memoizedProps,i);else{if("string"!==typeof i&&null===t.stateNode)throw Error(a(166));if(n=no(to.current),no(Za.current),da(t)){if(i=t.stateNode,n=t.memoizedProps,i[fr]=t,(o=i.nodeValue!==n)&&null!==(e=na))switch(e.tag){case 3:Ji(i.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Ji(i.nodeValue,n,0!==(1&e.mode))}o&&(t.flags|=4)}else(i=(9===n.nodeType?n:n.ownerDocument).createTextNode(i))[fr]=t,t.stateNode=i}return Ys(t),null;case 13:if(Er(so),i=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ra&&null!==ia&&0!==(1&t.mode)&&0===(128&t.flags))fa(),ha(),t.flags|=98560,o=!1;else if(o=da(t),null!==i&&null!==i.dehydrated){if(null===e){if(!o)throw Error(a(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(a(317));o[fr]=t}else ha(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ys(t),o=!1}else null!==aa&&(su(aa),aa=null),o=!0;if(!o)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((i=null!==i)!==(null!==e&&null!==e.memoizedState)&&i&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&so.current)?0===Ll&&(Ll=3):yu())),null!==t.updateQueue&&(t.flags|=4),Ys(t),null);case 4:return ro(),As(e,t),null===e&&Ui(t.stateNode.containerInfo),Ys(t),null;case 10:return xa(t.type._context),Ys(t),null;case 19:if(Er(so),null===(o=t.memoizedState))return Ys(t),null;if(i=0!==(128&t.flags),null===(l=o.rendering))if(i)$s(o,!1);else{if(0!==Ll||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=lo(e))){for(t.flags|=128,$s(o,!1),null!==(i=l.updateQueue)&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;null!==n;)e=i,(o=n).flags&=14680066,null===(l=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return _r(so,1&so.current|2),t.child}e=e.sibling}null!==o.tail&&Qe()>Hl&&(t.flags|=128,i=!0,$s(o,!1),t.lanes=4194304)}else{if(!i)if(null!==(e=lo(l))){if(t.flags|=128,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),$s(o,!0),null===o.tail&&"hidden"===o.tailMode&&!l.alternate&&!ra)return Ys(t),null}else 2*Qe()-o.renderingStartTime>Hl&&1073741824!==n&&(t.flags|=128,i=!0,$s(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=o.last)?n.sibling=l:t.child=l,o.last=l)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Qe(),t.sibling=null,n=so.current,_r(so,i?1&n|2:1&n),t):(Ys(t),null);case 22:case 23:return fu(),i=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==i&&(t.flags|=8192),i&&0!==(1&t.mode)?0!==(1073741824&Al)&&(Ys(t),6&t.subtreeFlags&&(t.flags|=8192)):Ys(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Gs(e,t){switch(ta(t),t.tag){case 1:return Rr(t.type)&&Ar(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ro(),Er(Or),Er(zr),co(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return oo(t),null;case 13:if(Er(so),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));ha()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Er(so),null;case 4:return ro(),null;case 10:return xa(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}Rs=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},As=function(){},Ds=function(e,t,n,i){var r=e.memoizedProps;if(r!==i){e=t.stateNode,no(Za.current);var a,o=null;switch(n){case"input":r=G(e,r),i=G(e,i),o=[];break;case"select":r=I({},r,{value:void 0}),i=I({},i,{value:void 0}),o=[];break;case"textarea":r=ie(e,r),i=ie(e,i),o=[];break;default:"function"!==typeof r.onClick&&"function"===typeof i.onClick&&(e.onclick=Zi)}for(c in ge(n,i),n=null,r)if(!i.hasOwnProperty(c)&&r.hasOwnProperty(c)&&null!=r[c])if("style"===c){var l=r[c];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in i){var u=i[c];if(l=null!=r?r[c]:void 0,i.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(o||(o=[]),o.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(o=o||[]).push(c,u)):"children"===c?"string"!==typeof u&&"number"!==typeof u||(o=o||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Ni("scroll",e),o||l===u||(o=[])):(o=o||[]).push(c,u))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}},Ls=function(e,t,n,i){n!==i&&(t.flags|=4)};var Xs=!1,Qs=!1,Js="function"===typeof WeakSet?WeakSet:Set,Zs=null;function el(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(i){Eu(e,t,i)}else n.current=null}function tl(e,t,n){try{n()}catch(i){Eu(e,t,i)}}var nl=!1;function il(e,t,n){var i=t.updateQueue;if(null!==(i=null!==i?i.lastEffect:null)){var r=i=i.next;do{if((r.tag&e)===e){var a=r.destroy;r.destroy=void 0,void 0!==a&&tl(t,n,a)}r=r.next}while(r!==i)}}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var i=n.create;n.destroy=i()}n=n.next}while(n!==t)}}function al(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function ol(e){var t=e.alternate;null!==t&&(e.alternate=null,ol(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fr],delete t[hr],delete t[vr],delete t[yr],delete t[mr])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ul(e,t,n){var i=e.tag;if(5===i||6===i)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Zi));else if(4!==i&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}function cl(e,t,n){var i=e.tag;if(5===i||6===i)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==i&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var dl=null,fl=!1;function hl(e,t,n){for(n=n.child;null!==n;)pl(e,t,n),n=n.sibling}function pl(e,t,n){if(at&&"function"===typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(rt,n)}catch(s){}switch(n.tag){case 5:Qs||el(n,t);case 6:var i=dl,r=fl;dl=null,hl(e,t,n),fl=r,null!==(dl=i)&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?lr(e.parentNode,n):1===e.nodeType&&lr(e,n),Ut(e)):lr(dl,n.stateNode));break;case 4:i=dl,r=fl,dl=n.stateNode.containerInfo,fl=!0,hl(e,t,n),dl=i,fl=r;break;case 0:case 11:case 14:case 15:if(!Qs&&(null!==(i=n.updateQueue)&&null!==(i=i.lastEffect))){r=i=i.next;do{var a=r,o=a.destroy;a=a.tag,void 0!==o&&(0!==(2&a)||0!==(4&a))&&tl(n,t,o),r=r.next}while(r!==i)}hl(e,t,n);break;case 1:if(!Qs&&(el(n,t),"function"===typeof(i=n.stateNode).componentWillUnmount))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(s){Eu(n,t,s)}hl(e,t,n);break;case 21:hl(e,t,n);break;case 22:1&n.mode?(Qs=(i=Qs)||null!==n.memoizedState,hl(e,t,n),Qs=i):hl(e,t,n);break;default:hl(e,t,n)}}function vl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Js),t.forEach((function(t){var i=Ou.bind(null,e,t);n.has(t)||(n.add(t),t.then(i,i))}))}}function yl(e,t){var n=t.deletions;if(null!==n)for(var i=0;i<n.length;i++){var r=n[i];try{var o=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,fl=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,fl=!0;break e}l=l.return}if(null===dl)throw Error(a(160));pl(o,s,r),dl=null,fl=!1;var u=r.alternate;null!==u&&(u.return=null),r.return=null}catch(c){Eu(r,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ml(t,e),t=t.sibling}function ml(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(yl(t,e),gl(e),4&i){try{il(3,e,e.return),rl(3,e)}catch(y){Eu(e,e.return,y)}try{il(5,e,e.return)}catch(y){Eu(e,e.return,y)}}break;case 1:yl(t,e),gl(e),512&i&&null!==n&&el(n,n.return);break;case 5:if(yl(t,e),gl(e),512&i&&null!==n&&el(n,n.return),32&e.flags){var r=e.stateNode;try{fe(r,"")}catch(y){Eu(e,e.return,y)}}if(4&i&&null!=(r=e.stateNode)){var o=e.memoizedProps,s=null!==n?n.memoizedProps:o,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===o.type&&null!=o.name&&Q(r,o),be(l,s);var c=be(l,o);for(s=0;s<u.length;s+=2){var d=u[s],f=u[s+1];"style"===d?ye(r,f):"dangerouslySetInnerHTML"===d?de(r,f):"children"===d?fe(r,f):b(r,d,f,c)}switch(l){case"input":J(r,o);break;case"textarea":ae(r,o);break;case"select":var h=r._wrapperState.wasMultiple;r._wrapperState.wasMultiple=!!o.multiple;var p=o.value;null!=p?ne(r,!!o.multiple,p,!1):h!==!!o.multiple&&(null!=o.defaultValue?ne(r,!!o.multiple,o.defaultValue,!0):ne(r,!!o.multiple,o.multiple?[]:"",!1))}r[hr]=o}catch(y){Eu(e,e.return,y)}}break;case 6:if(yl(t,e),gl(e),4&i){if(null===e.stateNode)throw Error(a(162));r=e.stateNode,o=e.memoizedProps;try{r.nodeValue=o}catch(y){Eu(e,e.return,y)}}break;case 3:if(yl(t,e),gl(e),4&i&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(y){Eu(e,e.return,y)}break;case 4:default:yl(t,e),gl(e);break;case 13:yl(t,e),gl(e),8192&(r=e.child).flags&&(o=null!==r.memoizedState,r.stateNode.isHidden=o,!o||null!==r.alternate&&null!==r.alternate.memoizedState||(Ul=Qe())),4&i&&vl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Qs=(c=Qs)||d,yl(t,e),Qs=c):yl(t,e),gl(e),8192&i){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!==(1&e.mode))for(Zs=e,d=e.child;null!==d;){for(f=Zs=d;null!==Zs;){switch(p=(h=Zs).child,h.tag){case 0:case 11:case 14:case 15:il(4,h,h.return);break;case 1:el(h,h.return);var v=h.stateNode;if("function"===typeof v.componentWillUnmount){i=h,n=h.return;try{t=i,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(y){Eu(i,n,y)}}break;case 5:el(h,h.return);break;case 22:if(null!==h.memoizedState){xl(f);continue}}null!==p?(p.return=h,Zs=p):xl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{r=f.stateNode,c?"function"===typeof(o=r.style).setProperty?o.setProperty("display","none","important"):o.display="none":(l=f.stateNode,s=void 0!==(u=f.memoizedProps.style)&&null!==u&&u.hasOwnProperty("display")?u.display:null,l.style.display=ve("display",s))}catch(y){Eu(e,e.return,y)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(y){Eu(e,e.return,y)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:yl(t,e),gl(e),4&i&&vl(e);case 21:}}function gl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var i=n;break e}n=n.return}throw Error(a(160))}switch(i.tag){case 5:var r=i.stateNode;32&i.flags&&(fe(r,""),i.flags&=-33),cl(e,ll(e),r);break;case 3:case 4:var o=i.stateNode.containerInfo;ul(e,ll(e),o);break;default:throw Error(a(161))}}catch(s){Eu(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,n){Zs=e,kl(e,t,n)}function kl(e,t,n){for(var i=0!==(1&e.mode);null!==Zs;){var r=Zs,a=r.child;if(22===r.tag&&i){var o=null!==r.memoizedState||Xs;if(!o){var s=r.alternate,l=null!==s&&null!==s.memoizedState||Qs;s=Xs;var u=Qs;if(Xs=o,(Qs=l)&&!u)for(Zs=r;null!==Zs;)l=(o=Zs).child,22===o.tag&&null!==o.memoizedState?Sl(r):null!==l?(l.return=o,Zs=l):Sl(r);for(;null!==a;)Zs=a,kl(a,t,n),a=a.sibling;Zs=r,Xs=s,Qs=u}wl(e)}else 0!==(8772&r.subtreeFlags)&&null!==a?(a.return=r,Zs=a):wl(e)}}function wl(e){for(;null!==Zs;){var t=Zs;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Qs||rl(5,t);break;case 1:var i=t.stateNode;if(4&t.flags&&!Qs)if(null===n)i.componentDidMount();else{var r=t.elementType===t.type?n.memoizedProps:ya(t.type,n.memoizedProps);i.componentDidUpdate(r,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Fa(t,o,i);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Fa(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Ut(f)}}}break;default:throw Error(a(163))}Qs||512&t.flags&&al(t)}catch(h){Eu(t,t.return,h)}}if(t===e){Zs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Zs=n;break}Zs=t.return}}function xl(e){for(;null!==Zs;){var t=Zs;if(t===e){Zs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zs=n;break}Zs=t.return}}function Sl(e){for(;null!==Zs;){var t=Zs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rl(4,t)}catch(l){Eu(t,n,l)}break;case 1:var i=t.stateNode;if("function"===typeof i.componentDidMount){var r=t.return;try{i.componentDidMount()}catch(l){Eu(t,r,l)}}var a=t.return;try{al(t)}catch(l){Eu(t,a,l)}break;case 5:var o=t.return;try{al(t)}catch(l){Eu(t,o,l)}}}catch(l){Eu(t,t.return,l)}if(t===e){Zs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Zs=s;break}Zs=t.return}}var Cl,El=Math.ceil,_l=k.ReactCurrentDispatcher,Pl=k.ReactCurrentOwner,zl=k.ReactCurrentBatchConfig,Ol=0,Tl=null,Ml=null,Rl=0,Al=0,Dl=Cr(0),Ll=0,jl=null,Il=0,Fl=0,Nl=0,Vl=null,Bl=null,Ul=0,Hl=1/0,Wl=null,ql=!1,$l=null,Yl=null,Kl=!1,Gl=null,Xl=0,Ql=0,Jl=null,Zl=-1,eu=0;function tu(){return 0!==(6&Ol)?Qe():-1!==Zl?Zl:Zl=Qe()}function nu(e){return 0===(1&e.mode)?1:0!==(2&Ol)&&0!==Rl?Rl&-Rl:null!==va.transition?(0===eu&&(eu=vt()),eu):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Xt(e.type)}function iu(e,t,n,i){if(50<Ql)throw Ql=0,Jl=null,Error(a(185));mt(e,n,i),0!==(2&Ol)&&e===Tl||(e===Tl&&(0===(2&Ol)&&(Fl|=n),4===Ll&&lu(e,Rl)),ru(e,i),1===n&&0===Ol&&0===(1&t.mode)&&(Hl=Qe()+500,Nr&&Ur()))}function ru(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,r=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-ot(a),s=1<<o,l=r[o];-1===l?0!==(s&n)&&0===(s&i)||(r[o]=ht(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}(e,t);var i=ft(e,e===Tl?Rl:0);if(0===i)null!==n&&Ke(n),e.callbackNode=null,e.callbackPriority=0;else if(t=i&-i,e.callbackPriority!==t){if(null!=n&&Ke(n),1===t)0===e.tag?function(e){Nr=!0,Br(e)}(uu.bind(null,e)):Br(uu.bind(null,e)),or((function(){0===(6&Ol)&&Ur()})),n=null;else{switch(kt(i)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=it}n=Tu(n,au.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function au(e,t){if(Zl=-1,eu=0,0!==(6&Ol))throw Error(a(327));var n=e.callbackNode;if(Su()&&e.callbackNode!==n)return null;var i=ft(e,e===Tl?Rl:0);if(0===i)return null;if(0!==(30&i)||0!==(i&e.expiredLanes)||t)t=mu(e,i);else{t=i;var r=Ol;Ol|=2;var o=vu();for(Tl===e&&Rl===t||(Wl=null,Hl=Qe()+500,hu(e,t));;)try{bu();break}catch(l){pu(e,l)}wa(),_l.current=o,Ol=r,null!==Ml?t=0:(Tl=null,Rl=0,t=Ll)}if(0!==t){if(2===t&&(0!==(r=pt(e))&&(i=r,t=ou(e,r))),1===t)throw n=jl,hu(e,0),lu(e,i),ru(e,Qe()),n;if(6===t)lu(e,i);else{if(r=e.current.alternate,0===(30&i)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var i=0;i<n.length;i++){var r=n[i],a=r.getSnapshot;r=r.value;try{if(!si(a(),r))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(r)&&(2===(t=mu(e,i))&&(0!==(o=pt(e))&&(i=o,t=ou(e,o))),1===t))throw n=jl,hu(e,0),lu(e,i),ru(e,Qe()),n;switch(e.finishedWork=r,e.finishedLanes=i,t){case 0:case 1:throw Error(a(345));case 2:case 5:xu(e,Bl,Wl);break;case 3:if(lu(e,i),(130023424&i)===i&&10<(t=Ul+500-Qe())){if(0!==ft(e,0))break;if(((r=e.suspendedLanes)&i)!==i){tu(),e.pingedLanes|=e.suspendedLanes&r;break}e.timeoutHandle=ir(xu.bind(null,e,Bl,Wl),t);break}xu(e,Bl,Wl);break;case 4:if(lu(e,i),(4194240&i)===i)break;for(t=e.eventTimes,r=-1;0<i;){var s=31-ot(i);o=1<<s,(s=t[s])>r&&(r=s),i&=~o}if(i=r,10<(i=(120>(i=Qe()-i)?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*El(i/1960))-i)){e.timeoutHandle=ir(xu.bind(null,e,Bl,Wl),i);break}xu(e,Bl,Wl);break;default:throw Error(a(329))}}}return ru(e,Qe()),e.callbackNode===n?au.bind(null,e):null}function ou(e,t){var n=Vl;return e.current.memoizedState.isDehydrated&&(hu(e,t).flags|=256),2!==(e=mu(e,t))&&(t=Bl,Bl=n,null!==t&&su(t)),e}function su(e){null===Bl?Bl=e:Bl.push.apply(Bl,e)}function lu(e,t){for(t&=~Nl,t&=~Fl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ot(t),i=1<<n;e[n]=-1,t&=~i}}function uu(e){if(0!==(6&Ol))throw Error(a(327));Su();var t=ft(e,0);if(0===(1&t))return ru(e,Qe()),null;var n=mu(e,t);if(0!==e.tag&&2===n){var i=pt(e);0!==i&&(t=i,n=ou(e,i))}if(1===n)throw n=jl,hu(e,0),lu(e,t),ru(e,Qe()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xu(e,Bl,Wl),ru(e,Qe()),null}function cu(e,t){var n=Ol;Ol|=1;try{return e(t)}finally{0===(Ol=n)&&(Hl=Qe()+500,Nr&&Ur())}}function du(e){null!==Gl&&0===Gl.tag&&0===(6&Ol)&&Su();var t=Ol;Ol|=1;var n=zl.transition,i=bt;try{if(zl.transition=null,bt=1,e)return e()}finally{bt=i,zl.transition=n,0===(6&(Ol=t))&&Ur()}}function fu(){Al=Dl.current,Er(Dl)}function hu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,rr(n)),null!==Ml)for(n=Ml.return;null!==n;){var i=n;switch(ta(i),i.tag){case 1:null!==(i=i.type.childContextTypes)&&void 0!==i&&Ar();break;case 3:ro(),Er(Or),Er(zr),co();break;case 5:oo(i);break;case 4:ro();break;case 13:case 19:Er(so);break;case 10:xa(i.type._context);break;case 22:case 23:fu()}n=n.return}if(Tl=e,Ml=e=Du(e.current,null),Rl=Al=t,Ll=0,jl=null,Nl=Fl=Il=0,Bl=Vl=null,null!==_a){for(t=0;t<_a.length;t++)if(null!==(i=(n=_a[t]).interleaved)){n.interleaved=null;var r=i.next,a=n.pending;if(null!==a){var o=a.next;a.next=r,i.next=o}n.pending=i}_a=null}return e}function pu(e,t){for(;;){var n=Ml;try{if(wa(),fo.current=os,go){for(var i=vo.memoizedState;null!==i;){var r=i.queue;null!==r&&(r.pending=null),i=i.next}go=!1}if(po=0,mo=yo=vo=null,bo=!1,ko=0,Pl.current=null,null===n||null===n.return){Ll=1,jl=t,Ml=null;break}e:{var o=e,s=n.return,l=n,u=t;if(t=Rl,l.flags|=32768,null!==u&&"object"===typeof u&&"function"===typeof u.then){var c=u,d=l,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=ms(s);if(null!==p){p.flags&=-257,gs(p,s,l,0,t),1&p.mode&&ys(o,c,t),u=c;var v=(t=p).updateQueue;if(null===v){var y=new Set;y.add(u),t.updateQueue=y}else v.add(u);break e}if(0===(1&t)){ys(o,c,t),yu();break e}u=Error(a(426))}else if(ra&&1&l.mode){var m=ms(s);if(null!==m){0===(65536&m.flags)&&(m.flags|=256),gs(m,s,l,0,t),pa(cs(u,l));break e}}o=u=cs(u,l),4!==Ll&&(Ll=2),null===Vl?Vl=[o]:Vl.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,ja(o,ps(0,u,t));break e;case 1:l=u;var g=o.type,b=o.stateNode;if(0===(128&o.flags)&&("function"===typeof g.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Yl||!Yl.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t,ja(o,vs(o,l,t));break e}}o=o.return}while(null!==o)}wu(n)}catch(k){t=k,Ml===n&&null!==n&&(Ml=n=n.return);continue}break}}function vu(){var e=_l.current;return _l.current=os,null===e?os:e}function yu(){0!==Ll&&3!==Ll&&2!==Ll||(Ll=4),null===Tl||0===(268435455&Il)&&0===(268435455&Fl)||lu(Tl,Rl)}function mu(e,t){var n=Ol;Ol|=2;var i=vu();for(Tl===e&&Rl===t||(Wl=null,hu(e,t));;)try{gu();break}catch(r){pu(e,r)}if(wa(),Ol=n,_l.current=i,null!==Ml)throw Error(a(261));return Tl=null,Rl=0,Ll}function gu(){for(;null!==Ml;)ku(Ml)}function bu(){for(;null!==Ml&&!Ge();)ku(Ml)}function ku(e){var t=Cl(e.alternate,e,Al);e.memoizedProps=e.pendingProps,null===t?wu(e):Ml=t,Pl.current=null}function wu(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Ks(n,t,Al)))return void(Ml=n)}else{if(null!==(n=Gs(n,t)))return n.flags&=32767,void(Ml=n);if(null===e)return Ll=6,void(Ml=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ml=t);Ml=t=e}while(null!==t);0===Ll&&(Ll=5)}function xu(e,t,n){var i=bt,r=zl.transition;try{zl.transition=null,bt=1,function(e,t,n,i){do{Su()}while(null!==Gl);if(0!==(6&Ol))throw Error(a(327));n=e.finishedWork;var r=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var i=e.eventTimes;for(e=e.expirationTimes;0<n;){var r=31-ot(n),a=1<<r;t[r]=0,i[r]=-1,e[r]=-1,n&=~a}}(e,o),e===Tl&&(Ml=Tl=null,Rl=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Kl||(Kl=!0,Tu(tt,(function(){return Su(),null}))),o=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||o){o=zl.transition,zl.transition=null;var s=bt;bt=1;var l=Ol;Ol|=4,Pl.current=null,function(e,t){if(er=Wt,hi(e=fi())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var i=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(i&&0!==i.rangeCount){n=i.anchorNode;var r=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{n.nodeType,o.nodeType}catch(w){n=null;break e}var s=0,l=-1,u=-1,c=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||0!==r&&3!==f.nodeType||(l=s+r),f!==o||0!==i&&3!==f.nodeType||(u=s+i),3===f.nodeType&&(s+=f.nodeValue.length),null!==(p=f.firstChild);)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++c===r&&(l=s),h===o&&++d===i&&(u=s),null!==(p=f.nextSibling))break;h=(f=h).parentNode}f=p}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(tr={focusedElem:e,selectionRange:n},Wt=!1,Zs=t;null!==Zs;)if(e=(t=Zs).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Zs=e;else for(;null!==Zs;){t=Zs;try{var v=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==v){var y=v.memoizedProps,m=v.memoizedState,g=t.stateNode,b=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:ya(t.type,y),m);g.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var k=t.stateNode.containerInfo;1===k.nodeType?k.textContent="":9===k.nodeType&&k.documentElement&&k.removeChild(k.documentElement);break;default:throw Error(a(163))}}catch(w){Eu(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Zs=e;break}Zs=t.return}v=nl,nl=!1}(e,n),ml(n,e),pi(tr),Wt=!!er,tr=er=null,e.current=n,bl(n,e,r),Xe(),Ol=l,bt=s,zl.transition=o}else e.current=n;if(Kl&&(Kl=!1,Gl=e,Xl=r),o=e.pendingLanes,0===o&&(Yl=null),function(e){if(at&&"function"===typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(rt,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),ru(e,Qe()),null!==t)for(i=e.onRecoverableError,n=0;n<t.length;n++)r=t[n],i(r.value,{componentStack:r.stack,digest:r.digest});if(ql)throw ql=!1,e=$l,$l=null,e;0!==(1&Xl)&&0!==e.tag&&Su(),o=e.pendingLanes,0!==(1&o)?e===Jl?Ql++:(Ql=0,Jl=e):Ql=0,Ur()}(e,t,n,i)}finally{zl.transition=r,bt=i}return null}function Su(){if(null!==Gl){var e=kt(Xl),t=zl.transition,n=bt;try{if(zl.transition=null,bt=16>e?16:e,null===Gl)var i=!1;else{if(e=Gl,Gl=null,Xl=0,0!==(6&Ol))throw Error(a(331));var r=Ol;for(Ol|=4,Zs=e.current;null!==Zs;){var o=Zs,s=o.child;if(0!==(16&Zs.flags)){var l=o.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Zs=c;null!==Zs;){var d=Zs;switch(d.tag){case 0:case 11:case 15:il(8,d,o)}var f=d.child;if(null!==f)f.return=d,Zs=f;else for(;null!==Zs;){var h=(d=Zs).sibling,p=d.return;if(ol(d),d===c){Zs=null;break}if(null!==h){h.return=p,Zs=h;break}Zs=p}}}var v=o.alternate;if(null!==v){var y=v.child;if(null!==y){v.child=null;do{var m=y.sibling;y.sibling=null,y=m}while(null!==y)}}Zs=o}}if(0!==(2064&o.subtreeFlags)&&null!==s)s.return=o,Zs=s;else e:for(;null!==Zs;){if(0!==(2048&(o=Zs).flags))switch(o.tag){case 0:case 11:case 15:il(9,o,o.return)}var g=o.sibling;if(null!==g){g.return=o.return,Zs=g;break e}Zs=o.return}}var b=e.current;for(Zs=b;null!==Zs;){var k=(s=Zs).child;if(0!==(2064&s.subtreeFlags)&&null!==k)k.return=s,Zs=k;else e:for(s=b;null!==Zs;){if(0!==(2048&(l=Zs).flags))try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(x){Eu(l,l.return,x)}if(l===s){Zs=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,Zs=w;break e}Zs=l.return}}if(Ol=r,Ur(),at&&"function"===typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(rt,e)}catch(x){}i=!0}return i}finally{bt=n,zl.transition=t}}return!1}function Cu(e,t,n){e=Da(e,t=ps(0,t=cs(n,t),1),1),t=tu(),null!==e&&(mt(e,1,t),ru(e,t))}function Eu(e,t,n){if(3===e.tag)Cu(e,e,n);else for(;null!==t;){if(3===t.tag){Cu(t,e,n);break}if(1===t.tag){var i=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof i.componentDidCatch&&(null===Yl||!Yl.has(i))){t=Da(t,e=vs(t,e=cs(n,e),1),1),e=tu(),null!==t&&(mt(t,1,e),ru(t,e));break}}t=t.return}}function _u(e,t,n){var i=e.pingCache;null!==i&&i.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,Tl===e&&(Rl&n)===n&&(4===Ll||3===Ll&&(130023424&Rl)===Rl&&500>Qe()-Ul?hu(e,0):Nl|=n),ru(e,t)}function Pu(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=Oa(e,t))&&(mt(e,t,n),ru(e,n))}function zu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Pu(e,n)}function Ou(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,r=e.memoizedState;null!==r&&(n=r.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(a(314))}null!==i&&i.delete(t),Pu(e,n)}function Tu(e,t){return Ye(e,t)}function Mu(e,t,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,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 Ru(e,t,n,i){return new Mu(e,t,n,i)}function Au(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Du(e,t){var n=e.alternate;return null===n?((n=Ru(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Lu(e,t,n,i,r,o){var s=2;if(i=e,"function"===typeof e)Au(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case S:return ju(n.children,r,o,t);case C:s=8,r|=8;break;case E:return(e=Ru(12,n,t,2|r)).elementType=E,e.lanes=o,e;case O:return(e=Ru(13,n,t,r)).elementType=O,e.lanes=o,e;case T:return(e=Ru(19,n,t,r)).elementType=T,e.lanes=o,e;case A:return Iu(n,r,o,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case _:s=10;break e;case P:s=9;break e;case z:s=11;break e;case M:s=14;break e;case R:s=16,i=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Ru(s,n,t,r)).elementType=e,t.type=i,t.lanes=o,t}function ju(e,t,n,i){return(e=Ru(7,e,i,t)).lanes=n,e}function Iu(e,t,n,i){return(e=Ru(22,e,i,t)).elementType=A,e.lanes=n,e.stateNode={isHidden:!1},e}function Fu(e,t,n){return(e=Ru(6,e,null,t)).lanes=n,e}function Nu(e,t,n){return(t=Ru(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Vu(e,t,n,i,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=yt(0),this.expirationTimes=yt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yt(0),this.identifierPrefix=i,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function Bu(e,t,n,i,r,a,o,s,l){return e=new Vu(e,t,n,s,l),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Ru(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ma(a),e}function Uu(e){if(!e)return Pr;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Rr(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(Rr(n))return Lr(e,n,t)}return t}function Hu(e,t,n,i,r,a,o,s,l){return(e=Bu(n,i,!0,e,0,a,0,s,l)).context=Uu(null),n=e.current,(a=Aa(i=tu(),r=nu(n))).callback=void 0!==t&&null!==t?t:null,Da(n,a,r),e.current.lanes=r,mt(e,r,i),ru(e,i),e}function Wu(e,t,n,i){var r=t.current,a=tu(),o=nu(r);return n=Uu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Aa(a,o)).payload={element:e},null!==(i=void 0===i?null:i)&&(t.callback=i),null!==(e=Da(r,t,o))&&(iu(e,r,o,a),La(e,r,o)),o}function qu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function $u(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Yu(e,t){$u(e,t),(e=e.alternate)&&$u(e,t)}Cl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Or.current)ks=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return ks=!1,function(e,t,n){switch(t.tag){case 3:Ts(t),ha();break;case 5:ao(t);break;case 1:Rr(t.type)&&jr(t);break;case 4:io(t,t.stateNode.containerInfo);break;case 10:var i=t.type._context,r=t.memoizedProps.value;_r(ma,i._currentValue),i._currentValue=r;break;case 13:if(null!==(i=t.memoizedState))return null!==i.dehydrated?(_r(so,1&so.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Fs(e,t,n):(_r(so,1&so.current),null!==(e=qs(e,t,n))?e.sibling:null);_r(so,1&so.current);break;case 19:if(i=0!==(n&t.childLanes),0!==(128&e.flags)){if(i)return Hs(e,t,n);t.flags|=128}if(null!==(r=t.memoizedState)&&(r.rendering=null,r.tail=null,r.lastEffect=null),_r(so,so.current),i)break;return null;case 22:case 23:return t.lanes=0,Es(e,t,n)}return qs(e,t,n)}(e,t,n);ks=0!==(131072&e.flags)}else ks=!1,ra&&0!==(1048576&t.flags)&&Zr(t,$r,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;Ws(e,t),e=t.pendingProps;var r=Mr(t,zr.current);Ca(t,n),r=Co(null,t,i,e,r,n);var o=Eo();return t.flags|=1,"object"===typeof r&&null!==r&&"function"===typeof r.render&&void 0===r.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Rr(i)?(o=!0,jr(t)):o=!1,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,Ma(t),r.updater=Ba,t.stateNode=r,r._reactInternals=t,qa(t,i,e,n),t=Os(null,t,i,!0,o,n)):(t.tag=0,ra&&o&&ea(t),ws(null,t,r,n),t=t.child),t;case 16:i=t.elementType;e:{switch(Ws(e,t),e=t.pendingProps,i=(r=i._init)(i._payload),t.type=i,r=t.tag=function(e){if("function"===typeof e)return Au(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===z)return 11;if(e===M)return 14}return 2}(i),e=ya(i,e),r){case 0:t=Ps(null,t,i,e,n);break e;case 1:t=zs(null,t,i,e,n);break e;case 11:t=xs(null,t,i,e,n);break e;case 14:t=Ss(null,t,i,ya(i.type,e),n);break e}throw Error(a(306,i,""))}return t;case 0:return i=t.type,r=t.pendingProps,Ps(e,t,i,r=t.elementType===i?r:ya(i,r),n);case 1:return i=t.type,r=t.pendingProps,zs(e,t,i,r=t.elementType===i?r:ya(i,r),n);case 3:e:{if(Ts(t),null===e)throw Error(a(387));i=t.pendingProps,r=(o=t.memoizedState).element,Ra(e,t),Ia(t,i,null,n);var s=t.memoizedState;if(i=s.element,o.isDehydrated){if(o={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=Ms(e,t,i,n,r=cs(Error(a(423)),t));break e}if(i!==r){t=Ms(e,t,i,n,r=cs(Error(a(424)),t));break e}for(ia=ur(t.stateNode.containerInfo.firstChild),na=t,ra=!0,aa=null,n=Qa(t,null,i,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ha(),i===r){t=qs(e,t,n);break e}ws(e,t,i,n)}t=t.child}return t;case 5:return ao(t),null===e&&ua(t),i=t.type,r=t.pendingProps,o=null!==e?e.memoizedProps:null,s=r.children,nr(i,r)?s=null:null!==o&&nr(i,o)&&(t.flags|=32),_s(e,t),ws(e,t,s,n),t.child;case 6:return null===e&&ua(t),null;case 13:return Fs(e,t,n);case 4:return io(t,t.stateNode.containerInfo),i=t.pendingProps,null===e?t.child=Xa(t,null,i,n):ws(e,t,i,n),t.child;case 11:return i=t.type,r=t.pendingProps,xs(e,t,i,r=t.elementType===i?r:ya(i,r),n);case 7:return ws(e,t,t.pendingProps,n),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(i=t.type._context,r=t.pendingProps,o=t.memoizedProps,s=r.value,_r(ma,i._currentValue),i._currentValue=s,null!==o)if(si(o.value,s)){if(o.children===r.children&&!Or.current){t=qs(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var l=o.dependencies;if(null!==l){s=o.child;for(var u=l.firstContext;null!==u;){if(u.context===i){if(1===o.tag){(u=Aa(-1,n&-n)).tag=2;var c=o.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}o.lanes|=n,null!==(u=o.alternate)&&(u.lanes|=n),Sa(o.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===o.tag)s=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(s=o.return))throw Error(a(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Sa(s,n,t),s=o.sibling}else s=o.child;if(null!==s)s.return=o;else for(s=o;null!==s;){if(s===t){s=null;break}if(null!==(o=s.sibling)){o.return=s.return,s=o;break}s=s.return}o=s}ws(e,t,r.children,n),t=t.child}return t;case 9:return r=t.type,i=t.pendingProps.children,Ca(t,n),i=i(r=Ea(r)),t.flags|=1,ws(e,t,i,n),t.child;case 14:return r=ya(i=t.type,t.pendingProps),Ss(e,t,i,r=ya(i.type,r),n);case 15:return Cs(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,r=t.pendingProps,r=t.elementType===i?r:ya(i,r),Ws(e,t),t.tag=1,Rr(i)?(e=!0,jr(t)):e=!1,Ca(t,n),Ha(t,i,r),qa(t,i,r,n),Os(null,t,i,!0,e,n);case 19:return Hs(e,t,n);case 22:return Es(e,t,n)}throw Error(a(156,t.tag))};var Ku="function"===typeof reportError?reportError:function(e){console.error(e)};function Gu(e){this._internalRoot=e}function Xu(e){this._internalRoot=e}function Qu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Ju(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zu(){}function ec(e,t,n,i,r){var a=n._reactRootContainer;if(a){var o=a;if("function"===typeof r){var s=r;r=function(){var e=qu(o);s.call(e)}}Wu(t,o,e,r)}else o=function(e,t,n,i,r){if(r){if("function"===typeof i){var a=i;i=function(){var e=qu(o);a.call(e)}}var o=Hu(t,i,e,0,null,!1,0,"",Zu);return e._reactRootContainer=o,e[pr]=o.current,Ui(8===e.nodeType?e.parentNode:e),du(),o}for(;r=e.lastChild;)e.removeChild(r);if("function"===typeof i){var s=i;i=function(){var e=qu(l);s.call(e)}}var l=Bu(e,0,!1,null,0,!1,0,"",Zu);return e._reactRootContainer=l,e[pr]=l.current,Ui(8===e.nodeType?e.parentNode:e),du((function(){Wu(t,l,n,i)})),l}(n,t,e,r,i);return qu(o)}Xu.prototype.render=Gu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Wu(e,t,null,null)},Xu.prototype.unmount=Gu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du((function(){Wu(null,e,null,null)})),t[pr]=null}},Xu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ct();e={blockedOn:null,target:e,priority:t};for(var n=0;n<At.length&&0!==t&&t<At[n].priority;n++);At.splice(n,0,e),0===n&&It(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(gt(t,1|n),ru(t,Qe()),0===(6&Ol)&&(Hl=Qe()+500,Ur()))}break;case 13:du((function(){var t=Oa(e,1);if(null!==t){var n=tu();iu(t,e,1,n)}})),Yu(e,1)}},xt=function(e){if(13===e.tag){var t=Oa(e,134217728);if(null!==t)iu(t,e,134217728,tu());Yu(e,134217728)}},St=function(e){if(13===e.tag){var t=nu(e),n=Oa(e,t);if(null!==n)iu(n,e,t,tu());Yu(e,t)}},Ct=function(){return bt},Et=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},xe=function(e,t,n){switch(t){case"input":if(J(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var r=wr(i);if(!r)throw Error(a(90));Y(i),J(i,r)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},ze=cu,Oe=du;var tc={usingClientEntryPoint:!1,Events:[br,kr,wr,_e,Pe,cu]},nc={findFiberByHostInstance:gr,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ic={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:k.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=qe(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rc.isDisabled&&rc.supportsFiber)try{rt=rc.inject(ic),at=rc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qu(t))throw Error(a(200));return function(e,t,n){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==i?null:""+i,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Qu(e))throw Error(a(299));var n=!1,i="",r=Ku;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(i=t.identifierPrefix),void 0!==t.onRecoverableError&&(r=t.onRecoverableError)),t=Bu(e,1,!1,null,0,n,0,i,r),e[pr]=t.current,Ui(8===e.nodeType?e.parentNode:e),new Gu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=null===(e=qe(t))?null:e.stateNode},t.flushSync=function(e){return du(e)},t.hydrate=function(e,t,n){if(!Ju(t))throw Error(a(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Qu(e))throw Error(a(405));var i=null!=n&&n.hydratedSources||null,r=!1,o="",s=Ku;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Hu(t,null,e,1,null!=n?n:null,r,0,o,s),e[pr]=t.current,Ui(e),i)for(e=0;e<i.length;e++)r=(r=(n=i[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,r]:t.mutableSourceEagerHydrationData.push(n,r);return new Xu(t)},t.render=function(e,t,n){if(!Ju(t))throw Error(a(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Ju(e))throw Error(a(40));return!!e._reactRootContainer&&(du((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[pr]=null}))})),!0)},t.unstable_batchedUpdates=cu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!Ju(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ec(e,t,n,!1,i)},t.version="18.2.0-next-9e3b772b8-20220608"},250:function(e,t,n){"use strict";var i=n(164);t.s=i.createRoot,i.hydrateRoot},164:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(463)},372:function(e,t){"use strict";var n,i=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen");function m(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case a:case s:case o:case f:case h:return e;default:switch(e=e&&e.$$typeof){case c:case u:case d:case v:case p:case l:return e;default:return t}}case r:return t}}}n=Symbol.for("react.module.reference"),t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===s||e===o||e===f||e===h||e===y||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===p||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=m},441:function(e,t,n){"use strict";e.exports=n(372)},374:function(e,t,n){"use strict";var i=n(791),r=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var i,a={},u=null,c=null;for(i in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,i)&&!l.hasOwnProperty(i)&&(a[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===a[i]&&(a[i]=t[i]);return{$$typeof:r,type:e,key:u,ref:c,props:a,_owner:s.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},117:function(e,t){"use strict";var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,y={};function m(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||p}function g(){}function b(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||p}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=m.prototype;var k=b.prototype=new g;k.constructor=b,v(k,m.prototype),k.isPureReactComponent=!0;var w=Array.isArray,x=Object.prototype.hasOwnProperty,S={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,i){var r,a={},o=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)x.call(t,r)&&!C.hasOwnProperty(r)&&(a[r]=t[r]);var l=arguments.length-2;if(1===l)a.children=i;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===a[r]&&(a[r]=l[r]);return{$$typeof:n,type:e,key:o,ref:s,props:a,_owner:S.current}}function _(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var P=/\/+/g;function z(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(e,t,r,a,o){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case i:l=!0}}if(l)return o=o(l=e),e=""===a?"."+z(l,0):a,w(o)?(r="",null!=e&&(r=e.replace(P,"$&/")+"/"),O(o,t,r,"",(function(e){return e}))):null!=o&&(_(o)&&(o=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,r+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(P,"$&/")+"/")+e)),t.push(o)),1;if(l=0,a=""===a?".":a+":",w(e))for(var u=0;u<e.length;u++){var c=a+z(s=e[u],u);l+=O(s,t,r,c,o)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=O(s=s.value,t,r,c=a+z(s,u++),o);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function T(e,t,n){if(null==e)return e;var i=[],r=0;return O(e,i,"","",(function(e){return t.call(n,e,r++)})),i}function M(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R={current:null},A={transition:null},D={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:A,ReactCurrentOwner:S};t.Children={map:T,forEach:function(e,t,n){T(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=m,t.Fragment=r,t.Profiler=o,t.PureComponent=b,t.StrictMode=a,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,t.cloneElement=function(e,t,i){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=v({},e.props),a=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=S.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)x.call(t,u)&&!C.hasOwnProperty(u)&&(r[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)r.children=i;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];r.children=l}return{$$typeof:n,type:e.type,key:a,ref:o,props:r,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:M}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=A.transition;A.transition={};try{e()}finally{A.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return R.current.useCallback(e,t)},t.useContext=function(e){return R.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return R.current.useDeferredValue(e)},t.useEffect=function(e,t){return R.current.useEffect(e,t)},t.useId=function(){return R.current.useId()},t.useImperativeHandle=function(e,t,n){return R.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return R.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return R.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return R.current.useMemo(e,t)},t.useReducer=function(e,t,n){return R.current.useReducer(e,t,n)},t.useRef=function(e){return R.current.useRef(e)},t.useState=function(e){return R.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return R.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return R.current.useTransition()},t.version="18.2.0"},791:function(e,t,n){"use strict";e.exports=n(117)},184:function(e,t,n){"use strict";e.exports=n(374)},813:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var i=n-1>>>1,r=e[i];if(!(0<a(r,t)))break e;e[i]=t,e[n]=r,n=i}}function i(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var i=0,r=e.length,o=r>>>1;i<o;){var s=2*(i+1)-1,l=e[s],u=s+1,c=e[u];if(0>a(l,n))u<r&&0>a(c,l)?(e[i]=c,e[u]=n,i=u):(e[i]=l,e[s]=n,i=s);else{if(!(u<r&&0>a(c,n)))break e;e[i]=c,e[u]=n,i=u}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){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 u=[],c=[],d=1,f=null,h=3,p=!1,v=!1,y=!1,m="function"===typeof setTimeout?setTimeout:null,g="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function k(e){for(var t=i(c);null!==t;){if(null===t.callback)r(c);else{if(!(t.startTime<=e))break;r(c),t.sortIndex=t.expirationTime,n(u,t)}t=i(c)}}function w(e){if(y=!1,k(e),!v)if(null!==i(u))v=!0,A(x);else{var t=i(c);null!==t&&D(w,t.startTime-e)}}function x(e,n){v=!1,y&&(y=!1,g(_),_=-1),p=!0;var a=h;try{for(k(n),f=i(u);null!==f&&(!(f.expirationTime>n)||e&&!O());){var o=f.callback;if("function"===typeof o){f.callback=null,h=f.priorityLevel;var s=o(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?f.callback=s:f===i(u)&&r(u),k(n)}else r(u);f=i(u)}if(null!==f)var l=!0;else{var d=i(c);null!==d&&D(w,d.startTime-n),l=!1}return l}finally{f=null,h=a,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,C=!1,E=null,_=-1,P=5,z=-1;function O(){return!(t.unstable_now()-z<P)}function T(){if(null!==E){var e=t.unstable_now();z=e;var n=!0;try{n=E(!0,e)}finally{n?S():(C=!1,E=null)}}else C=!1}if("function"===typeof b)S=function(){b(T)};else if("undefined"!==typeof MessageChannel){var M=new MessageChannel,R=M.port2;M.port1.onmessage=T,S=function(){R.postMessage(null)}}else S=function(){m(T,0)};function A(e){E=e,C||(C=!0,S())}function D(e,n){_=m((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){v||p||(v=!0,A(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return i(u)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,r,a){var o=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?o+a:o:a=o,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:r,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>o?(e.sortIndex=a,n(c,e),null===i(u)&&e===i(c)&&(y?(g(_),_=-1):y=!0,D(w,a-o))):(e.sortIndex=s,n(u,e),v||p||(v=!0,A(x))),e},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},296:function(e,t,n){"use strict";e.exports=n(813)},613:function(e){e.exports=function(e,t,n,i){var r=n?n.call(i,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<a.length;l++){var u=a[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(r=n?n.call(i,c,d,u):void 0)||void 0===r&&c!==d)return!1}return!0}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var a=t[i]={exports:{}};return e[i](a,a.exports,n),a.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(i,r){if(1&r&&(i=this(i)),8&r)return i;if("object"===typeof i&&i){if(4&r&&i.__esModule)return i;if(16&r&&"function"===typeof i.then)return i}var a=Object.create(null);n.r(a);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&i;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){o[e]=function(){return i[e]}}));return o.default=function(){return i},n.d(a,o),a}}(),n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",n.nc=void 0,function(){"use strict";var e,t=n(791),i=n.t(t,2);function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function a(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function o(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}function s(e){return function(e){if(Array.isArray(e))return r(e)}(e)||a(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==u(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===u(t)?t:String(t)}function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,c(i.key),i)}}function f(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function p(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function m(e,t){if(t&&("object"===u(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function g(e){var t=y();return function(){var n,i=v(e);if(t){var r=v(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return m(this,n)}}function b(e){if(Array.isArray(e))return e}function k(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function w(e,t){return b(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=a.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(c){u=!0,r=c}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw r}}return s}}(e,t)||o(e,t)||k()}function x(e,t,n){return x=y()?Reflect.construct.bind():function(e,t,n){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(e,i));return n&&h(r,n.prototype),r},x.apply(null,arguments)}function S(e){var t="function"===typeof Map?new Map:void 0;return S=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return x(e,arguments,v(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),h(i,e)},S(e)}function C(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=o(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},E.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(e||(e={}));var _,P="popstate";function z(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function O(e,t){return{usr:e.state,key:e.key,idx:t}}function T(e,t,n,i){return void 0===n&&(n=null),E({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?R(t):t,{state:n,key:t&&t.key||i||Math.random().toString(36).substr(2,8)})}function M(e){var t=e.pathname,n=void 0===t?"/":t,i=e.search,r=void 0===i?"":i,a=e.hash,o=void 0===a?"":a;return r&&"?"!==r&&(n+="?"===r.charAt(0)?r:"?"+r),o&&"#"!==o&&(n+="#"===o.charAt(0)?o:"#"+o),n}function R(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}function A(t,n,i,r){void 0===r&&(r={});var a=r,o=a.window,s=void 0===o?document.defaultView:o,l=a.v5Compat,u=void 0!==l&&l,c=s.history,d=e.Pop,f=null,h=p();function p(){return(c.state||{idx:null}).idx}function v(){d=e.Pop;var t=p(),n=null==t?null:t-h;h=t,f&&f({action:d,location:m.location,delta:n})}function y(e){var t="null"!==s.location.origin?s.location.origin:s.location.href,n="string"===typeof e?e:M(e);return z(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==h&&(h=0,c.replaceState(E({},c.state,{idx:h}),""));var m={get action(){return d},get location(){return t(s,c)},listen:function(e){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(P,v),f=e,function(){s.removeEventListener(P,v),f=null}},createHref:function(e){return n(s,e)},createURL:y,encodeLocation:function(e){var t=y(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(t,n){d=e.Push;var r=T(m.location,t,n);i&&i(r,t);var a=O(r,h=p()+1),o=m.createHref(r);try{c.pushState(a,"",o)}catch(l){s.location.assign(o)}u&&f&&f({action:d,location:m.location,delta:1})},replace:function(t,n){d=e.Replace;var r=T(m.location,t,n);i&&i(r,t);var a=O(r,h=p()),o=m.createHref(r);c.replaceState(a,"",o),u&&f&&f({action:d,location:m.location,delta:0})},go:function(e){return c.go(e)}};return m}function D(e,t,n){void 0===n&&(n="/");var i=K(("string"===typeof t?R(t):t).pathname||"/",n);if(null==i)return null;var r=L(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(r);for(var a=null,o=0;null==a&&o<r.length;++o)a=q(r[o],Y(i));return a}function L(e,t,n,i){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===i&&(i="");var r=function(e,r,a){var o={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:r,route:e};o.relativePath.startsWith("/")&&(z(o.relativePath.startsWith(i),'Absolute route path "'+o.relativePath+'" nested under path "'+i+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),o.relativePath=o.relativePath.slice(i.length));var s=Z([i,o.relativePath]),l=n.concat(o);e.children&&e.children.length>0&&(z(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),L(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:W(s,e.index),routesMeta:l})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var i,a=C(j(e.path));try{for(a.s();!(i=a.n()).done;){var o=i.value;r(e,t,o)}}catch(s){a.e(s)}finally{a.f()}}else r(e,t)})),t}function j(e){var t=e.split("/");if(0===t.length)return[];var n,i=b(n=t)||a(n)||o(n)||k(),r=i[0],l=i.slice(1),u=r.endsWith("?"),c=r.replace(/\?$/,"");if(0===l.length)return u?[c,""]:[c];var d=j(l.join("/")),f=[];return f.push.apply(f,s(d.map((function(e){return""===e?c:[c,e].join("/")})))),u&&f.push.apply(f,s(d)),f.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(_||(_={}));var I=/^:\w+$/,F=3,N=2,V=1,B=10,U=-2,H=function(e){return"*"===e};function W(e,t){var n=e.split("/"),i=n.length;return n.some(H)&&(i+=U),t&&(i+=N),n.filter((function(e){return!H(e)})).reduce((function(e,t){return e+(I.test(t)?F:""===t?V:B)}),i)}function q(e,t){for(var n=e.routesMeta,i={},r="/",a=[],o=0;o<n.length;++o){var s=n[o],l=o===n.length-1,u="/"===r?t:t.slice(r.length)||"/",c=$({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},u);if(!c)return null;Object.assign(i,c.params);var d=s.route;a.push({params:i,pathname:Z([r,c.pathname]),pathnameBase:ee(Z([r,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(r=Z([r,c.pathnameBase]))}return a}function $(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var n=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);G("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var i=[],r="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(function(e,t){return i.push(t),"/([^\\/]+)"}));e.endsWith("*")?(i.push("*"),r+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?r+="\\/*$":""!==e&&"/"!==e&&(r+="(?:(?=\\/|$))");var a=new RegExp(r,t?void 0:"i");return[a,i]}(e.path,e.caseSensitive,e.end),i=w(n,2),r=i[0],a=i[1],o=t.match(r);if(!o)return null;var s=o[0],l=s.replace(/(.)\/+$/,"$1"),u=o.slice(1);return{params:a.reduce((function(e,t,n){if("*"===t){var i=u[n]||"";l=s.slice(0,s.length-i.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return G(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(u[n]||"",t),e}),{}),pathname:s,pathnameBase:l,pattern:e}}function Y(e){try{return decodeURI(e)}catch(t){return G(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function K(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&"/"!==i?null:e.slice(n)||"/"}function G(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function X(e,t,n,i){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(i)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function Q(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function J(e,t,n,i){var r;void 0===i&&(i=!1),"string"===typeof e?r=R(e):(z(!(r=E({},e)).pathname||!r.pathname.includes("?"),X("?","pathname","search",r)),z(!r.pathname||!r.pathname.includes("#"),X("#","pathname","hash",r)),z(!r.search||!r.search.includes("#"),X("#","search","hash",r)));var a,o=""===e||""===r.pathname,s=o?"/":r.pathname;if(i||null==s)a=n;else{var l=t.length-1;if(s.startsWith("..")){for(var u=s.split("/");".."===u[0];)u.shift(),l-=1;r.pathname=u.join("/")}a=l>=0?t[l]:"/"}var c=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?R(e):e,i=n.pathname,r=n.search,a=void 0===r?"":r,o=n.hash,s=void 0===o?"":o,l=i?i.startsWith("/")?i:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(i,t):t;return{pathname:l,search:te(a),hash:ne(s)}}(r,a),d=s&&"/"!==s&&s.endsWith("/"),f=(o||"."===s)&&n.endsWith("/");return c.pathname.endsWith("/")||!d&&!f||(c.pathname+="/"),c}var Z=function(e){return e.join("/").replace(/\/\/+/g,"/")},ee=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},te=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},ne=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},ie=function(e){p(n,e);var t=g(n);function n(){return l(this,n),t.apply(this,arguments)}return f(n)}(S(Error));function re(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var ae=["post","put","patch","delete"],oe=(new Set(ae),["get"].concat(ae));new Set(oe),new Set([301,302,303,307,308]),new Set([307,308]),"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;Symbol("deferred");function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},se.apply(this,arguments)}var le="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},ue=t.useState,ce=t.useEffect,de=t.useLayoutEffect,fe=t.useDebugValue;function he(e){var t=e.getSnapshot,n=e.value;try{var i=t();return!le(n,i)}catch(r){return!0}}"undefined"===typeof window||"undefined"===typeof window.document||window.document.createElement,i.useSyncExternalStore;var pe=t.createContext(null);var ve=t.createContext(null);var ye=t.createContext(null);var me=t.createContext(null);var ge=t.createContext(null);var be=t.createContext({outlet:null,matches:[]});var ke=t.createContext(null);function we(){return null!=t.useContext(ge)}function xe(){return we()||z(!1),t.useContext(ge).location}function Se(){we()||z(!1);var e=t.useContext(me),n=e.basename,i=e.navigator,r=t.useContext(be).matches,a=xe().pathname,o=JSON.stringify(Q(r).map((function(e){return e.pathnameBase}))),s=t.useRef(!1);return t.useEffect((function(){s.current=!0})),t.useCallback((function(e,t){if(void 0===t&&(t={}),s.current)if("number"!==typeof e){var r=J(e,JSON.parse(o),a,"path"===t.relative);"/"!==n&&(r.pathname="/"===r.pathname?n:Z([n,r.pathname])),(t.replace?i.replace:i.push)(r,t.state,t)}else i.go(e)}),[n,i,o,a])}function Ce(e,n){var i=(void 0===n?{}:n).relative,r=t.useContext(be).matches,a=xe().pathname,o=JSON.stringify(Q(r).map((function(e){return e.pathnameBase})));return t.useMemo((function(){return J(e,JSON.parse(o),a,"path"===i)}),[e,o,a,i])}function Ee(){var e=function(){var e,n=t.useContext(ke),i=Me(Pe.UseRouteError),r=Re(Pe.UseRouteError);if(n)return n;return null==(e=i.errors)?void 0:e[r]}(),n=re(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r};return t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},n),i?t.createElement("pre",{style:a},i):null,null)}var _e,Pe,ze=function(e){p(i,e);var n=g(i);function i(e){var t;return l(this,i),(t=n.call(this,e)).state={location:e.location,error:e.error},t}return f(i,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return this.state.error?t.createElement(be.Provider,{value:this.props.routeContext},t.createElement(ke.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}}]),i}(t.Component);function Oe(e){var n=e.routeContext,i=e.match,r=e.children,a=t.useContext(pe);return a&&a.static&&a.staticContext&&i.route.errorElement&&(a.staticContext._deepestRenderedBoundaryId=i.route.id),t.createElement(be.Provider,{value:n},r)}function Te(e,n,i){if(void 0===n&&(n=[]),null==e){if(null==i||!i.errors)return null;e=i.matches}var r=e,a=null==i?void 0:i.errors;if(null!=a){var o=r.findIndex((function(e){return e.route.id&&(null==a?void 0:a[e.route.id])}));o>=0||z(!1),r=r.slice(0,Math.min(r.length,o+1))}return r.reduceRight((function(e,o,s){var l=o.route.id?null==a?void 0:a[o.route.id]:null,u=i?o.route.errorElement||t.createElement(Ee,null):null,c=n.concat(r.slice(0,s+1)),d=function(){return t.createElement(Oe,{match:o,routeContext:{outlet:e,matches:c}},l?u:void 0!==o.route.element?o.route.element:e)};return i&&(o.route.errorElement||0===s)?t.createElement(ze,{location:i.location,component:u,error:l,children:d(),routeContext:{outlet:null,matches:c}}):d()}),null)}function Me(e){var n=t.useContext(ve);return n||z(!1),n}function Re(e){var n=function(e){var n=t.useContext(be);return n||z(!1),n}(),i=n.matches[n.matches.length-1];return i.route.id||z(!1),i.route.id}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"}(_e||(_e={})),function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(Pe||(Pe={}));var Ae;function De(e){z(!1)}function Le(n){var i=n.basename,r=void 0===i?"/":i,a=n.children,o=void 0===a?null:a,s=n.location,l=n.navigationType,u=void 0===l?e.Pop:l,c=n.navigator,d=n.static,f=void 0!==d&&d;we()&&z(!1);var h=r.replace(/^\/*/,"/"),p=t.useMemo((function(){return{basename:h,navigator:c,static:f}}),[h,c,f]);"string"===typeof s&&(s=R(s));var v=s,y=v.pathname,m=void 0===y?"/":y,g=v.search,b=void 0===g?"":g,k=v.hash,w=void 0===k?"":k,x=v.state,S=void 0===x?null:x,C=v.key,E=void 0===C?"default":C,_=t.useMemo((function(){var e=K(m,h);return null==e?null:{pathname:e,search:b,hash:w,state:S,key:E}}),[h,m,b,w,S,E]);return null==_?null:t.createElement(me.Provider,{value:p},t.createElement(ge.Provider,{children:o,value:{location:_,navigationType:u}}))}function je(n){var i=n.children,r=n.location,a=t.useContext(pe);return function(n,i){we()||z(!1);var r,a=t.useContext(me).navigator,o=t.useContext(ve),s=t.useContext(be).matches,l=s[s.length-1],u=l?l.params:{},c=(l&&l.pathname,l?l.pathnameBase:"/"),d=(l&&l.route,xe());if(i){var f,h="string"===typeof i?R(i):i;"/"===c||(null==(f=h.pathname)?void 0:f.startsWith(c))||z(!1),r=h}else r=d;var p=r.pathname||"/",v=D(n,{pathname:"/"===c?p:p.slice(c.length)||"/"}),y=Te(v&&v.map((function(e){return Object.assign({},e,{params:Object.assign({},u,e.params),pathname:Z([c,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:Z([c,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})})),s,o||void 0);return i&&y?t.createElement(ge.Provider,{value:{location:se({pathname:"/",search:"",hash:"",state:null,key:"default"},r),navigationType:e.Pop}},y):y}(a&&!i?a.router.routes:Fe(i),r)}!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(Ae||(Ae={}));var Ie=new Promise((function(){}));t.Component;function Fe(e,n){void 0===n&&(n=[]);var i=[];return t.Children.forEach(e,(function(e,r){if(t.isValidElement(e))if(e.type!==t.Fragment){e.type!==De&&z(!1),e.props.index&&e.props.children&&z(!1);var a=[].concat(s(n),[r]),o={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,hasErrorBoundary:null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle};e.props.children&&(o.children=Fe(e.props.children,a)),i.push(o)}else i.push.apply(i,Fe(e.props.children,n))})),i}var Ne=n(441),Ve=n(613),Be=n.n(Ve);var Ue=function(e){function t(e,i,l,u,f){for(var h,p,v,y,k,x=0,S=0,C=0,E=0,_=0,R=0,D=v=h=0,j=0,I=0,F=0,N=0,V=l.length,B=V-1,U="",H="",W="",q="";j<V;){if(p=l.charCodeAt(j),j===B&&0!==S+E+C+x&&(0!==S&&(p=47===S?10:47),E=C=x=0,V++,B++),0===S+E+C+x){if(j===B&&(0<I&&(U=U.replace(d,"")),0<U.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:U+=l.charAt(j)}p=59}switch(p){case 123:for(h=(U=U.trim()).charCodeAt(0),v=1,N=++j;j<V;){switch(p=l.charCodeAt(j)){case 123:v++;break;case 125:v--;break;case 47:switch(p=l.charCodeAt(j+1)){case 42:case 47:e:{for(D=j+1;D<B;++D)switch(l.charCodeAt(D)){case 47:if(42===p&&42===l.charCodeAt(D-1)&&j+2!==D){j=D+1;break e}break;case 10:if(47===p){j=D+1;break e}}j=D}}break;case 91:p++;case 40:p++;case 34:case 39:for(;j++<B&&l.charCodeAt(j)!==p;);}if(0===v)break;j++}if(v=l.substring(N,j),0===h&&(h=(U=U.replace(c,"").trim()).charCodeAt(0)),64===h){switch(0<I&&(U=U.replace(d,"")),p=U.charCodeAt(1)){case 100:case 109:case 115:case 45:I=i;break;default:I=M}if(N=(v=t(i,I,v,p,f+1)).length,0<A&&(k=s(3,v,I=n(M,U,F),i,z,P,N,p,f,u),U=I.join(""),void 0!==k&&0===(N=(v=k.trim()).length)&&(p=0,v="")),0<N)switch(p){case 115:U=U.replace(w,o);case 100:case 109:case 45:v=U+"{"+v+"}";break;case 107:v=(U=U.replace(m,"$1 $2"))+"{"+v+"}",v=1===T||2===T&&a("@"+v,3)?"@-webkit-"+v+"@"+v:"@"+v;break;default:v=U+v,112===u&&(H+=v,v="")}else v=""}else v=t(i,n(i,U,F),v,u,f+1);W+=v,v=F=I=D=h=0,U="",p=l.charCodeAt(++j);break;case 125:case 59:if(1<(N=(U=(0<I?U.replace(d,""):U).trim()).length))switch(0===D&&(h=U.charCodeAt(0),45===h||96<h&&123>h)&&(N=(U=U.replace(" ",":")).length),0<A&&void 0!==(k=s(1,U,i,e,z,P,H.length,u,f,u))&&0===(N=(U=k.trim()).length)&&(U="\0\0"),h=U.charCodeAt(0),p=U.charCodeAt(1),h){case 0:break;case 64:if(105===p||99===p){q+=U+l.charAt(j);break}default:58!==U.charCodeAt(N-1)&&(H+=r(U,h,p,U.charCodeAt(2)))}F=I=D=h=0,U="",p=l.charCodeAt(++j)}}switch(p){case 13:case 10:47===S?S=0:0===1+h&&107!==u&&0<U.length&&(I=1,U+="\0"),0<A*L&&s(0,U,i,e,z,P,H.length,u,f,u),P=1,z++;break;case 59:case 125:if(0===S+E+C+x){P++;break}default:switch(P++,y=l.charAt(j),p){case 9:case 32:if(0===E+x+S)switch(_){case 44:case 58:case 9:case 32:y="";break;default:32!==p&&(y=" ")}break;case 0:y="\\0";break;case 12:y="\\f";break;case 11:y="\\v";break;case 38:0===E+S+x&&(I=F=1,y="\f"+y);break;case 108:if(0===E+S+x+O&&0<D)switch(j-D){case 2:112===_&&58===l.charCodeAt(j-3)&&(O=_);case 8:111===R&&(O=R)}break;case 58:0===E+S+x&&(D=j);break;case 44:0===S+C+E+x&&(I=1,y+="\r");break;case 34:case 39:0===S&&(E=E===p?0:0===E?p:E);break;case 91:0===E+S+C&&x++;break;case 93:0===E+S+C&&x--;break;case 41:0===E+S+x&&C--;break;case 40:if(0===E+S+x){if(0===h)if(2*_+3*R===533);else h=1;C++}break;case 64:0===S+C+E+x+D+v&&(v=1);break;case 42:case 47:if(!(0<E+x+C))switch(S){case 0:switch(2*p+3*l.charCodeAt(j+1)){case 235:S=47;break;case 220:N=j,S=42}break;case 42:47===p&&42===_&&N+2!==j&&(33===l.charCodeAt(N+2)&&(H+=l.substring(N,j+1)),y="",S=0)}}0===S&&(U+=y)}R=_,_=p,j++}if(0<(N=H.length)){if(I=i,0<A&&(void 0!==(k=s(2,H,I,e,z,P,N,u,f,u))&&0===(H=k).length))return q+H+W;if(H=I.join(",")+"{"+H+"}",0!==T*O){switch(2!==T||a(H,2)||(O=0),O){case 111:H=H.replace(b,":-moz-$1")+H;break;case 112:H=H.replace(g,"::-webkit-input-$1")+H.replace(g,"::-moz-$1")+H.replace(g,":-ms-input-$1")+H}O=0}}return q+H+W}function n(e,t,n){var r=t.trim().split(v);t=r;var a=r.length,o=e.length;switch(o){case 0:case 1:var s=0;for(e=0===o?"":e[0]+" ";s<a;++s)t[s]=i(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<a;++s)for(var u=0;u<o;++u)t[l++]=i(e[u]+" ",r[s],n).trim()}return t}function i(e,t,n){var i=t.charCodeAt(0);switch(33>i&&(i=(t=t.trim()).charCodeAt(0)),i){case 38:return t.replace(y,"$1"+e.trim());case 58:return e.trim()+t.replace(y,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(y,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function r(e,t,n,i){var o=e+";",s=2*t+3*n+4*i;if(944===s){e=o.indexOf(":",9)+1;var l=o.substring(e,o.length-1).trim();return l=o.substring(0,e).trim()+l+";",1===T||2===T&&a(l,1)?"-webkit-"+l+l:l}if(0===T||2===T&&!a(o,1))return o;switch(s){case 1015:return 97===o.charCodeAt(10)?"-webkit-"+o+o:o;case 951:return 116===o.charCodeAt(3)?"-webkit-"+o+o:o;case 963:return 110===o.charCodeAt(5)?"-webkit-"+o+o:o;case 1009:if(100!==o.charCodeAt(4))break;case 969:case 942:return"-webkit-"+o+o;case 978:return"-webkit-"+o+"-moz-"+o+o;case 1019:case 983:return"-webkit-"+o+"-moz-"+o+"-ms-"+o+o;case 883:if(45===o.charCodeAt(8))return"-webkit-"+o+o;if(0<o.indexOf("image-set(",11))return o.replace(_,"$1-webkit-$2")+o;break;case 932:if(45===o.charCodeAt(4))switch(o.charCodeAt(5)){case 103:return"-webkit-box-"+o.replace("-grow","")+"-webkit-"+o+"-ms-"+o.replace("grow","positive")+o;case 115:return"-webkit-"+o+"-ms-"+o.replace("shrink","negative")+o;case 98:return"-webkit-"+o+"-ms-"+o.replace("basis","preferred-size")+o}return"-webkit-"+o+"-ms-"+o+o;case 964:return"-webkit-"+o+"-ms-flex-"+o+o;case 1023:if(99!==o.charCodeAt(8))break;return"-webkit-box-pack"+(l=o.substring(o.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+o+"-ms-flex-pack"+l+o;case 1005:return h.test(o)?o.replace(f,":-webkit-")+o.replace(f,":-moz-")+o:o;case 1e3:switch(t=(l=o.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=o.replace(k,"tb");break;case 232:l=o.replace(k,"tb-rl");break;case 220:l=o.replace(k,"lr");break;default:return o}return"-webkit-"+o+"-ms-"+l+o;case 1017:if(-1===o.indexOf("sticky",9))break;case 975:switch(t=(o=e).length-10,s=(l=(33===o.charCodeAt(t)?o.substring(0,t):o).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:o=o.replace(l,"-webkit-"+l)+";"+o;break;case 207:case 102:o=o.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+o.replace(l,"-webkit-"+l)+";"+o.replace(l,"-ms-"+l+"box")+";"+o}return o+";";case 938:if(45===o.charCodeAt(5))switch(o.charCodeAt(6)){case 105:return l=o.replace("-items",""),"-webkit-"+o+"-webkit-box-"+l+"-ms-flex-"+l+o;case 115:return"-webkit-"+o+"-ms-flex-item-"+o.replace(S,"")+o;default:return"-webkit-"+o+"-ms-flex-line-pack"+o.replace("align-content","").replace(S,"")+o}break;case 973:case 989:if(45!==o.charCodeAt(3)||122===o.charCodeAt(4))break;case 931:case 953:if(!0===E.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?r(e.replace("stretch","fill-available"),t,n,i).replace(":fill-available",":stretch"):o.replace(l,"-webkit-"+l)+o.replace(l,"-moz-"+l.replace("fill-",""))+o;break;case 962:if(o="-webkit-"+o+(102===o.charCodeAt(5)?"-ms-"+o:"")+o,211===n+i&&105===o.charCodeAt(13)&&0<o.indexOf("transform",10))return o.substring(0,o.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+o}return o}function a(e,t){var n=e.indexOf(1===t?":":"{"),i=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),D(2!==t?i:i.replace(C,"$1"),n,t)}function o(e,t){var n=r(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(x," or ($1)").substring(4):"("+t+")"}function s(e,t,n,i,r,a,o,s,l,c){for(var d,f=0,h=t;f<A;++f)switch(d=R[f].call(u,e,h,n,i,r,a,o,s,l,c)){case void 0:case!1:case!0:case null:break;default:h=d}if(h!==t)return h}function l(e){return void 0!==(e=e.prefix)&&(D=null,e?"function"!==typeof e?T=1:(T=2,D=e):T=0),l}function u(e,n){var i=e;if(33>i.charCodeAt(0)&&(i=i.trim()),i=[i],0<A){var r=s(-1,n,i,i,z,P,0,0,0,0);void 0!==r&&"string"===typeof r&&(n=r)}var a=t(M,i,n,0,0);return 0<A&&(void 0!==(r=s(-2,a,i,i,z,P,a.length,0,0,0))&&(a=r)),"",O=0,P=z=1,a}var c=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,h=/zoo|gra/,p=/([,: ])(transform)/g,v=/,\r+?/g,y=/([\t\r\n ])*\f?&/g,m=/@(k\w+)\s*(\S*)\s*/,g=/::(place)/g,b=/:(read-only)/g,k=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,S=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,E=/stretch|:\s*\w+\-(?:conte|avail)/,_=/([^-])(image-set\()/,P=1,z=1,O=0,T=1,M=[],R=[],A=0,D=null,L=0;return u.use=function e(t){switch(t){case void 0:case null:A=R.length=0;break;default:if("function"===typeof t)R[A++]=t;else if("object"===typeof t)for(var n=0,i=t.length;n<i;++n)e(t[n]);else L=0|!!t}return e},u.set=l,void 0!==e&&l(e),u},He={animationIterationCount: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};var We=/^((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)-.*))$/,qe=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return We.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),$e=n(110),Ye=n.n($e);function Ke(){return(Ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var Ge=function(e,t){for(var n=[e[0]],i=0,r=t.length;i<r;i+=1)n.push(t[i],e[i+1]);return n},Xe=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,Ne.typeOf)(e)},Qe=Object.freeze([]),Je=Object.freeze({});function Ze(e){return"function"==typeof e}function et(e){return e.displayName||e.name||"Component"}function tt(e){return e&&"string"==typeof e.styledComponentId}var nt="undefined"!=typeof process&&({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_ATTR||{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_ATTR)||"data-styled",it="undefined"!=typeof window&&"HTMLElement"in window,rt=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&("false"!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY)),at={};function ot(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var st=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,i=n.length,r=i;e>=r;)(r<<=1)<0&&ot(16,""+e);this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var a=i;a<r;a++)this.groupSizes[a]=0}for(var o=this.indexOfGroup(e+1),s=0,l=t.length;s<l;s++)this.tag.insertRule(o,t[s])&&(this.groupSizes[e]++,o++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),i=n+t;this.groupSizes[e]=0;for(var r=n;r<i;r++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],i=this.indexOfGroup(e),r=i+n,a=i;a<r;a++)t+=this.tag.getRule(a)+"/*!sc*/\n";return t},e}(),lt=new Map,ut=new Map,ct=1,dt=function(e){if(lt.has(e))return lt.get(e);for(;ut.has(ct);)ct++;var t=ct++;return lt.set(e,t),ut.set(t,e),t},ft=function(e){return ut.get(e)},ht=function(e,t){t>=ct&&(ct=t+1),lt.set(e,t),ut.set(t,e)},pt="style["+nt+'][data-styled-version="5.3.6"]',vt=new RegExp("^"+nt+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),yt=function(e,t,n){for(var i,r=n.split(","),a=0,o=r.length;a<o;a++)(i=r[a])&&e.registerName(t,i)},mt=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),i=[],r=0,a=n.length;r<a;r++){var o=n[r].trim();if(o){var s=o.match(vt);if(s){var l=0|parseInt(s[1],10),u=s[2];0!==l&&(ht(u,l),yt(e,u,s[3]),e.getTag().insertRules(l,i)),i.length=0}else i.push(o)}}},gt=function(){return n.nc},bt=function(e){var t=document.head,n=e||t,i=document.createElement("style"),r=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var i=t[n];if(i&&1===i.nodeType&&i.hasAttribute(nt))return i}}(n),a=void 0!==r?r.nextSibling:null;i.setAttribute(nt,"active"),i.setAttribute("data-styled-version","5.3.6");var o=gt();return o&&i.setAttribute("nonce",o),n.insertBefore(i,a),i},kt=function(){function e(e){var t=this.element=bt(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,i=t.length;n<i;n++){var r=t[n];if(r.ownerNode===e)return r}ot(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),wt=function(){function e(e){var t=this.element=bt(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),i=this.nodes[e];return this.element.insertBefore(n,i||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),xt=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),St=it,Ct={isServer:!it,useCSSOMInjection:!rt},Et=function(){function e(e,t,n){void 0===e&&(e=Je),void 0===t&&(t={}),this.options=Ke({},Ct,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&it&&St&&(St=!1,function(e){for(var t=document.querySelectorAll(pt),n=0,i=t.length;n<i;n++){var r=t[n];r&&"active"!==r.getAttribute(nt)&&(mt(e,r),r.parentNode&&r.parentNode.removeChild(r))}}(this))}e.registerId=function(e){return dt(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(Ke({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,i=t.useCSSOMInjection,r=t.target,e=n?new xt(r):i?new kt(r):new wt(r),new st(e)));var e,t,n,i,r},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(dt(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(dt(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(dt(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,i="",r=0;r<n;r++){var a=ft(r);if(void 0!==a){var o=e.names.get(a),s=t.getGroup(r);if(o&&s&&o.size){var l=nt+".g"+r+'[id="'+a+'"]',u="";void 0!==o&&o.forEach((function(e){e.length>0&&(u+=e+",")})),i+=""+s+l+'{content:"'+u+'"}/*!sc*/\n'}}}return i}(this)},e}(),_t=/(a)(d)/gi,Pt=function(e){return String.fromCharCode(e+(e>25?39:97))};function zt(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Pt(t%52)+n;return(Pt(t%52)+n).replace(_t,"$1-$2")}var Ot=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Tt=function(e){return Ot(5381,e)};function Mt(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Ze(n)&&!tt(n))return!1}return!0}var Rt=Tt("5.3.6"),At=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Mt(e),this.componentId=t,this.baseHash=Ot(Rt,t),this.baseStyle=n,Et.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var i=this.componentId,r=[];if(this.baseStyle&&r.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(i,this.staticRulesId))r.push(this.staticRulesId);else{var a=Qt(this.rules,e,t,n).join(""),o=zt(Ot(this.baseHash,a)>>>0);if(!t.hasNameForId(i,o)){var s=n(a,"."+o,void 0,i);t.insertRules(i,o,s)}r.push(o),this.staticRulesId=o}else{for(var l=this.rules.length,u=Ot(this.baseHash,n.hash),c="",d=0;d<l;d++){var f=this.rules[d];if("string"==typeof f)c+=f;else if(f){var h=Qt(f,e,t,n),p=Array.isArray(h)?h.join(""):h;u=Ot(u,p+d),c+=p}}if(c){var v=zt(u>>>0);if(!t.hasNameForId(i,v)){var y=n(c,"."+v,void 0,i);t.insertRules(i,v,y)}r.push(v)}}return r.join(" ")},e}(),Dt=/^\s*\/\/.*$/gm,Lt=[":","[",".","#"];function jt(e){var t,n,i,r,a=void 0===e?Je:e,o=a.options,s=void 0===o?Je:o,l=a.plugins,u=void 0===l?Qe:l,c=new Ue(s),d=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,i,r,a,o,s,l,u,c,d){switch(n){case 1:if(0===c&&64===i.charCodeAt(0))return e(i+";"),"";break;case 2:if(0===u)return i+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(r[0]+i),"";default:return i+(0===d?"/*|*/":"")}case-2:i.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),h=function(e,i,a){return 0===i&&-1!==Lt.indexOf(a[n.length])||a.match(r)?e:"."+t};function p(e,a,o,s){void 0===s&&(s="&");var l=e.replace(Dt,""),u=a&&o?o+" "+a+" { "+l+" }":l;return t=s,n=a,i=new RegExp("\\"+n+"\\b","g"),r=new RegExp("(\\"+n+"\\b){2,}"),c(o||!a?"":a,u)}return c.use([].concat(u,[function(e,t,r){2===e&&r.length&&r[0].lastIndexOf(n)>0&&(r[0]=r[0].replace(i,h))},f,function(e){if(-2===e){var t=d;return d=[],t}}])),p.hash=u.length?u.reduce((function(e,t){return t.name||ot(15),Ot(e,t.name)}),5381).toString():"",p}var It=t.createContext(),Ft=(It.Consumer,t.createContext()),Nt=(Ft.Consumer,new Et),Vt=jt();function Bt(){return(0,t.useContext)(It)||Nt}function Ut(){return(0,t.useContext)(Ft)||Vt}function Ht(e){var n=(0,t.useState)(e.stylisPlugins),i=n[0],r=n[1],a=Bt(),o=(0,t.useMemo)((function(){var t=a;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),s=(0,t.useMemo)((function(){return jt({options:{prefix:!e.disableVendorPrefixes},plugins:i})}),[e.disableVendorPrefixes,i]);return(0,t.useEffect)((function(){Be()(i,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),t.createElement(It.Provider,{value:o},t.createElement(Ft.Provider,{value:s},e.children))}var Wt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Vt);var i=n.name+t.hash;e.hasNameForId(n.id,i)||e.insertRules(n.id,i,t(n.rules,i,"@keyframes"))},this.toString=function(){return ot(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=Vt),this.name+e.hash},e}(),qt=/([A-Z])/,$t=/([A-Z])/g,Yt=/^ms-/,Kt=function(e){return"-"+e.toLowerCase()};function Gt(e){return qt.test(e)?e.replace($t,Kt).replace(Yt,"-ms-"):e}var Xt=function(e){return null==e||!1===e||""===e};function Qt(e,t,n,i){if(Array.isArray(e)){for(var r,a=[],o=0,s=e.length;o<s;o+=1)""!==(r=Qt(e[o],t,n,i))&&(Array.isArray(r)?a.push.apply(a,r):a.push(r));return a}return Xt(e)?"":tt(e)?"."+e.styledComponentId:Ze(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:Qt(e(t),t,n,i):e instanceof Wt?n?(e.inject(n,i),e.getName(i)):e:Xe(e)?function e(t,n){var i,r,a=[];for(var o in t)t.hasOwnProperty(o)&&!Xt(t[o])&&(Array.isArray(t[o])&&t[o].isCss||Ze(t[o])?a.push(Gt(o)+":",t[o],";"):Xe(t[o])?a.push.apply(a,e(t[o],o)):a.push(Gt(o)+": "+(i=o,(null==(r=t[o])||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||i in He?String(r).trim():r+"px")+";")));return n?[n+" {"].concat(a,["}"]):a}(e):e.toString();var l}var Jt=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Zt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return Ze(e)||Xe(e)?Jt(Qt(Ge(Qe,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:Jt(Qt(Ge(e,n)))}new Set;var en=function(e,t,n){return void 0===n&&(n=Je),e.theme!==n.theme&&e.theme||t||n.theme},tn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,nn=/(^-|-$)/g;function rn(e){return e.replace(tn,"-").replace(nn,"")}var an=function(e){return zt(Tt(e)>>>0)};function on(e){return"string"==typeof e&&!0}var sn=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},ln=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function un(e,t,n){var i=e[n];sn(t)&&sn(i)?cn(i,t):e[n]=t}function cn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];if(sn(o))for(var s in o)ln(s)&&un(e,o[s],s)}return e}var dn=t.createContext();dn.Consumer;function fn(e){var n=(0,t.useContext)(dn),i=(0,t.useMemo)((function(){return function(e,t){return e?Ze(e)?e(t):Array.isArray(e)||"object"!=typeof e?ot(8):t?Ke({},t,{},e):e:ot(14)}(e.theme,n)}),[e.theme,n]);return e.children?t.createElement(dn.Provider,{value:i},e.children):null}var hn={};function pn(e,n,i){var r=tt(e),a=!on(e),o=n.attrs,s=void 0===o?Qe:o,l=n.componentId,u=void 0===l?function(e,t){var n="string"!=typeof e?"sc":rn(e);hn[n]=(hn[n]||0)+1;var i=n+"-"+an("5.3.6"+n+hn[n]);return t?t+"-"+i:i}(n.displayName,n.parentComponentId):l,c=n.displayName,d=void 0===c?function(e){return on(e)?"styled."+e:"Styled("+et(e)+")"}(e):c,f=n.displayName&&n.componentId?rn(n.displayName)+"-"+n.componentId:n.componentId||u,h=r&&e.attrs?Array.prototype.concat(e.attrs,s).filter(Boolean):s,p=n.shouldForwardProp;r&&e.shouldForwardProp&&(p=n.shouldForwardProp?function(t,i,r){return e.shouldForwardProp(t,i,r)&&n.shouldForwardProp(t,i,r)}:e.shouldForwardProp);var v,y=new At(i,f,r?e.componentStyle:void 0),m=y.isStatic&&0===s.length,g=function(e,n){return function(e,n,i,r){var a=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,u=e.shouldForwardProp,c=e.styledComponentId,d=e.target,f=function(e,t,n){void 0===e&&(e=Je);var i=Ke({},t,{theme:e}),r={};return n.forEach((function(e){var t,n,a,o=e;for(t in Ze(o)&&(o=o(i)),o)i[t]=r[t]="className"===t?(n=r[t],a=o[t],n&&a?n+" "+a:n||a):o[t]})),[i,r]}(en(n,(0,t.useContext)(dn),s)||Je,n,a),h=f[0],p=f[1],v=function(e,t,n,i){var r=Bt(),a=Ut();return t?e.generateAndInjectStyles(Je,r,a):e.generateAndInjectStyles(n,r,a)}(o,r,h),y=i,m=p.$as||n.$as||p.as||n.as||d,g=on(m),b=p!==n?Ke({},n,{},p):n,k={};for(var w in b)"$"!==w[0]&&"as"!==w&&("forwardedAs"===w?k.as=b[w]:(u?u(w,qe,m):!g||qe(w))&&(k[w]=b[w]));return n.style&&p.style!==n.style&&(k.style=Ke({},n.style,{},p.style)),k.className=Array.prototype.concat(l,c,v!==c?v:null,n.className,p.className).filter(Boolean).join(" "),k.ref=y,(0,t.createElement)(m,k)}(v,e,n,m)};return g.displayName=d,(v=t.forwardRef(g)).attrs=h,v.componentStyle=y,v.displayName=d,v.shouldForwardProp=p,v.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Qe,v.styledComponentId=f,v.target=r?e.target:e,v.withComponent=function(e){var t=n.componentId,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(n,["componentId"]),a=t&&t+"-"+(on(e)?e:rn(et(e)));return pn(e,Ke({},r,{attrs:h,componentId:a}),i)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?cn({},e.defaultProps,t):t}}),v.toString=function(){return"."+v.styledComponentId},a&&Ye()(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var vn=function(e){return function e(t,n,i){if(void 0===i&&(i=Je),!(0,Ne.isValidElementType)(n))return ot(1,String(n));var r=function(){return t(n,i,Zt.apply(void 0,arguments))};return r.withConfig=function(r){return e(t,n,Ke({},i,{},r))},r.attrs=function(r){return e(t,n,Ke({},i,{attrs:Array.prototype.concat(i.attrs,r).filter(Boolean)}))},r}(pn,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){vn[e]=vn(e)}));var yn=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Mt(e),Et.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,i){var r=i(Qt(this.rules,t,n,i).join(""),""),a=this.componentId+e;n.insertRules(a,a,r)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,i){e>2&&Et.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,i)},e}();function mn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=Zt.apply(void 0,[e].concat(n)).join(""),a=an(r);return new Wt(a,r)}!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=gt();return"<style "+[n&&'nonce="'+n+'"',nt+'="true"','data-styled-version="5.3.6"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?ot(2):e._emitSheetCSS()},this.getStyleElement=function(){var n;if(e.sealed)return ot(2);var i=((n={})[nt]="",n["data-styled-version"]="5.3.6",n.dangerouslySetInnerHTML={__html:e.instance.toString()},n),r=gt();return r&&(i.nonce=r),[t.createElement("style",Ke({},i,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Et({isServer:!0}),this.sealed=!1}var n=e.prototype;n.collectStyles=function(e){return this.sealed?ot(2):t.createElement(Ht,{sheet:this.instance},e)},n.interleaveWithNodeStream=function(e){return ot(3)}}();var gn=vn,bn={body:"#BEBBD6",text:"#000000",fontFamily:"'Source Sans Pro', sans-serif",bodyRgba:"190, 187, 214",textRgba:"0,0,0"},kn={body:"#000000",text:"#BEBBD6",fontFamily:"'Source Sans Pro', sans-serif",textRgba:"190, 187, 214",bodyRgba:"0,0,0"},wn="production",xn=1/60*1e3,Sn="undefined"!==typeof performance?function(){return performance.now()}:function(){return Date.now()},Cn="undefined"!==typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(Sn())}),xn)};var En={delta:0,timestamp:0},_n=!0,Pn=!1,zn=!1,On=["read","update","preRender","render","postRender"],Tn=On.reduce((function(e,t){return e[t]=function(e){var t=[],n=[],i=0,r=!1,a=!1,o=new WeakSet,s={schedule:function(e){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&r,s=a?t:n;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&o.add(e),-1===s.indexOf(e)&&(s.push(e),a&&r&&(i=t.length)),e},cancel:function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1),o.delete(e)},process:function(l){if(r)a=!0;else{r=!0;var u=[n,t];if(t=u[0],(n=u[1]).length=0,i=t.length)for(var c=0;c<i;c++){var d=t[c];d(l),o.has(d)&&(s.schedule(d),e())}r=!1,a&&(a=!1,s.process(l))}}};return s}((function(){return Pn=!0})),e}),{}),Mn=On.reduce((function(e,t){var n=Tn[t];return e[t]=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Pn||jn(),n.schedule(e,t,i)},e}),{}),Rn=On.reduce((function(e,t){return e[t]=Tn[t].cancel,e}),{}),An=On.reduce((function(e,t){return e[t]=function(){return Tn[t].process(En)},e}),{}),Dn=function(e){return Tn[e].process(En)},Ln=function e(t){Pn=!1,En.delta=_n?xn:Math.max(Math.min(t-En.timestamp,40),1),En.timestamp=t,zn=!0,On.forEach(Dn),zn=!1,Pn&&(_n=!1,Cn(e))},jn=function(){Pn=!0,_n=!0,zn||Cn(Ln)},In="undefined"!==typeof document,Fn=In?t.useLayoutEffect:t.useEffect;function Nn(){var e=(0,t.useRef)(!1);return Fn((function(){return e.current=!0,function(){e.current=!1}}),[]),e}var Vn=(0,t.createContext)(null);function Bn(e){var n=(0,t.useRef)(null);return null===n.current&&(n.current=e()),n.current}var Un=function(e){p(n,e);var t=g(n);function n(){return l(this,n),t.apply(this,arguments)}return f(n,[{key:"getSnapshotBeforeUpdate",value:function(e){var t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){var n=this.props.sizeRef.current;n.height=t.offsetHeight||0,n.width=t.offsetWidth||0,n.top=t.offsetTop,n.left=t.offsetLeft}return null}},{key:"componentDidUpdate",value:function(){}},{key:"render",value:function(){return this.props.children}}]),n}(t.Component);function Hn(e){var n=e.children,i=e.isPresent,r=(0,t.useId)(),a=(0,t.useRef)(null),o=(0,t.useRef)({width:0,height:0,top:0,left:0});return(0,t.useInsertionEffect)((function(){var e=o.current,t=e.width,n=e.height,s=e.top,l=e.left;if(!i&&a.current&&t&&n){a.current.dataset.motionPopId=r;var u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule('\n [data-motion-pop-id="'.concat(r,'"] {\n position: absolute !important;\n width: ').concat(t,"px !important;\n height: ").concat(n,"px !important;\n top: ").concat(s,"px !important;\n left: ").concat(l,"px !important;\n }\n ")),function(){document.head.removeChild(u)}}}),[i]),t.createElement(Un,{isPresent:i,childRef:a,sizeRef:o},t.cloneElement(n,{ref:a}))}var Wn=function(e){var n=e.children,i=e.initial,r=e.isPresent,a=e.onExitComplete,o=e.custom,s=e.presenceAffectsLayout,l=e.mode,u=Bn(qn),c=(0,t.useId)(),d=(0,t.useMemo)((function(){return{id:c,initial:i,isPresent:r,custom:o,onExitComplete:function(e){u.set(e,!0);var t,n=C(u.values());try{for(n.s();!(t=n.n()).done;){if(!t.value)return}}catch(i){n.e(i)}finally{n.f()}a&&a()},register:function(e){return u.set(e,!1),function(){return u.delete(e)}}}}),s?void 0:[r]);return(0,t.useMemo)((function(){u.forEach((function(e,t){return u.set(t,!1)}))}),[r]),t.useEffect((function(){!r&&!u.size&&a&&a()}),[r]),"popLayout"===l&&(n=t.createElement(Hn,{isPresent:r},n)),t.createElement(Vn.Provider,{value:d},n)};function qn(){return new Map}var $n=(0,t.createContext)({});function Yn(e){return(0,t.useEffect)((function(){return function(){return e()}}),[])}var Kn=new Set;function Gn(e,t,n){e||Kn.has(t)||(console.warn(t),n&&console.warn(n),Kn.add(t))}var Xn=function(e){return e.key||""};var Qn,Jn=function(e){var n=e.children,i=e.custom,r=e.initial,a=void 0===r||r,o=e.onExitComplete,l=e.exitBeforeEnter,u=e.presenceAffectsLayout,c=void 0===u||u,d=e.mode,f=void 0===d?"sync":d;l&&(f="wait",Gn(!1,"Replace exitBeforeEnter with mode='wait'"));var h=function(){var e=Nn(),n=w((0,t.useState)(0),2),i=n[0],r=n[1],a=(0,t.useCallback)((function(){e.current&&r(i+1)}),[i]);return[(0,t.useCallback)((function(){return Mn.postRender(a)}),[a]),i]}(),p=w(h,1)[0],v=(0,t.useContext)($n).forceRender;v&&(p=v);var y=Nn(),m=function(e){var n=[];return t.Children.forEach(e,(function(e){(0,t.isValidElement)(e)&&n.push(e)})),n}(n),g=m,b=new Set,k=(0,t.useRef)(g),x=(0,t.useRef)(new Map).current,S=(0,t.useRef)(!0);if(Fn((function(){S.current=!1,function(e,t){e.forEach((function(e){var n=Xn(e);t.set(n,e)}))}(m,x),k.current=g})),Yn((function(){S.current=!0,x.clear(),b.clear()})),S.current)return t.createElement(t.Fragment,null,g.map((function(e){return t.createElement(Wn,{key:Xn(e),isPresent:!0,initial:!!a&&void 0,presenceAffectsLayout:c,mode:f},e)})));g=s(g);for(var C=k.current.map(Xn),E=m.map(Xn),_=C.length,P=0;P<_;P++){var z=C[P];-1===E.indexOf(z)&&b.add(z)}return"wait"===f&&b.size&&(g=[]),b.forEach((function(e){if(-1===E.indexOf(e)){var n=x.get(e);if(n){var r=C.indexOf(e);g.splice(r,0,t.createElement(Wn,{key:Xn(n),isPresent:!1,onExitComplete:function(){x.delete(e),b.delete(e);var t=k.current.findIndex((function(t){return t.key===e}));if(k.current.splice(t,1),!b.size){if(k.current=m,!1===y.current)return;p(),o&&o()}},custom:i,presenceAffectsLayout:c,mode:f},n))}}})),g=g.map((function(e){var n=e.key;return b.has(n)?e:t.createElement(Wn,{key:Xn(e),isPresent:!0,presenceAffectsLayout:c,mode:f},e)})),"production"!==wn&&"wait"===f&&g.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),t.createElement(t.Fragment,null,b.size?g:g.map((function(e){return(0,t.cloneElement)(e)})))};function Zn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ei=function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var a=Zt.apply(void 0,[e].concat(i)),o="sc-global-"+an(JSON.stringify(a)),s=new yn(a,o);function l(e){var n=Bt(),i=Ut(),r=(0,t.useContext)(dn),a=(0,t.useRef)(n.allocateGSInstance(o)).current;return n.server&&u(a,e,n,r,i),(0,t.useLayoutEffect)((function(){if(!n.server)return u(a,e,n,r,i),function(){return s.removeStyles(a,n)}}),[a,e,n,r,i]),null}function u(e,t,n,i,r){if(s.isStatic)s.renderStyles(e,at,n,r);else{var a=Ke({},t,{theme:en(t,i,l.defaultProps)});s.renderStyles(e,a,n,r)}}return t.memo(l)}(Qn||(Qn=Zn(["\n\n*,*::before,*::after,h1,h2,h3,h4,h5,h6{\n margin: 0;\n padding: 0;\n}\nh1,h2,h3,h4,h5,h6{\n display: inline-block;\n}\n\n\nbody{\n margin: 0;\n padding: 0;\n overflow-x: hidden;\n font-family: 'Source Sans Pro',sans-serif;\n}\n\n"]))),ti=ei;function ni(e,t,n){return(t=c(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ii(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ri(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ii(Object(n),!0).forEach((function(t){ni(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ii(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ai=(0,t.createContext)({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),oi=(0,t.createContext)({});var si=(0,t.createContext)({strict:!1});function li(e,n,i,r){var a=(0,t.useContext)(oi).visualElement,o=(0,t.useContext)(si),s=(0,t.useContext)(Vn),l=(0,t.useContext)(ai).reducedMotion,u=(0,t.useRef)();r=r||o.renderer,!u.current&&r&&(u.current=r(e,{visualState:n,parent:a,props:i,presenceId:s?s.id:void 0,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:l}));var c=u.current;return Fn((function(){c&&c.render()})),Fn((function(){c&&c.animationState&&c.animationState.animateChanges()})),Fn((function(){return function(){return c&&c.notify("Unmount")}}),[]),c}function ui(e){return"object"===typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function ci(e){return"string"===typeof e||Array.isArray(e)}function di(e){return"object"===typeof e&&"function"===typeof e.start}var fi=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function hi(e){return di(e.animate)||fi.some((function(t){return ci(e[t])}))}function pi(e){return Boolean(hi(e)||e.variants)}function vi(e){var n=function(e,t){if(hi(e)){var n=e.initial,i=e.animate;return{initial:!1===n||ci(n)?n:void 0,animate:ci(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,t.useContext)(oi)),i=n.initial,r=n.animate;return(0,t.useMemo)((function(){return{initial:i,animate:r}}),[yi(i),yi(r)])}function yi(e){return Array.isArray(e)?e.join(" "):e}var mi=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},gi={measureLayout:mi(["layout","layoutId","drag"]),animation:mi(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:mi(["exit"]),drag:mi(["drag","dragControls"]),focus:mi(["whileFocus"]),hover:mi(["whileHover","onHoverStart","onHoverEnd"]),tap:mi(["whileTap","onTap","onTapStart","onTapCancel"]),pan:mi(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:mi(["whileInView","onViewportEnter","onViewportLeave"])};var bi={hasAnimatedSinceResize:!0,hasEverUpdated:!1},ki=1;var wi=function(e){p(n,e);var t=g(n);function n(){return l(this,n),t.apply(this,arguments)}return f(n,[{key:"getSnapshotBeforeUpdate",value:function(){var e=this.props,t=e.visualElement,n=e.props;return t&&t.setProps(n),null}},{key:"componentDidUpdate",value:function(){}},{key:"render",value:function(){return this.props.children}}]),n}(t.Component),xi=(0,t.createContext)({}),Si=Symbol.for("motionComponentSymbol");function Ci(e){var n=e.preloadedFeatures,i=e.createVisualElement,r=e.projectionNodeConstructor,a=e.useRender,o=e.useVisualState,s=e.Component;n&&function(e){for(var t in e)"projectionNodeConstructor"===t?gi.projectionNodeConstructor=e[t]:gi[t].Component=e[t]}(n);var l=(0,t.forwardRef)((function(e,l){var u=ri(ri(ri({},(0,t.useContext)(ai)),e),{},{layoutId:Ei(e)}),c=u.isStatic,d=null,f=vi(e),h=c?void 0:Bn((function(){if(bi.hasEverUpdated)return ki++})),p=o(e,c);if(!c&&In){f.visualElement=li(s,p,u,i);var v=(0,t.useContext)(si).strict,y=(0,t.useContext)(xi);f.visualElement&&(d=f.visualElement.loadFeatures(u,v,n,h,r||gi.projectionNodeConstructor,y))}return t.createElement(wi,{visualElement:f.visualElement,props:u},d,t.createElement(oi.Provider,{value:f},a(s,e,h,function(e,n,i){return(0,t.useCallback)((function(t){t&&e.mount&&e.mount(t),n&&(t?n.mount(t):n.unmount()),i&&("function"===typeof i?i(t):ui(i)&&(i.current=t))}),[n])}(p,f.visualElement,l),p,c,f.visualElement)))}));return l[Si]=s,l}function Ei(e){var n=e.layoutId,i=(0,t.useContext)($n).id;return i&&void 0!==n?i+"-"+n:n}function _i(e){function t(t){return Ci(e(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))}if("undefined"===typeof Proxy)return t;var n=new Map;return new Proxy(t,{get:function(e,i){return n.has(i)||n.set(i,t(i)),n.get(i)}})}var Pi=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function zi(e){return"string"===typeof e&&!e.includes("-")&&!!(Pi.indexOf(e)>-1||/[A-Z]/.test(e))}var Oi={};var Ti=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Mi=new Set(Ti);function Ri(e,t){var n=t.layout,i=t.layoutId;return Mi.has(e)||e.startsWith("origin")||(n||void 0!==i)&&(!!Oi[e]||"opacity"===e)}var Ai=function(e){return!!(null===e||void 0===e?void 0:e.getVelocity)},Di={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Li=function(e,t){return Ti.indexOf(e)-Ti.indexOf(t)};function ji(e){return e.startsWith("--")}var Ii=function(e,t){return t&&"number"===typeof e?t.transform(e):e},Fi=function(e,t,n){return Math.min(Math.max(n,e),t)},Ni={test:function(e){return"number"===typeof e},parse:parseFloat,transform:function(e){return e}},Vi=ri(ri({},Ni),{},{transform:function(e){return Fi(0,1,e)}}),Bi=ri(ri({},Ni),{},{default:1}),Ui=function(e){return Math.round(1e5*e)/1e5},Hi=/(-)?([\d]*\.?[\d])+/g,Wi=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,qi=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function $i(e){return"string"===typeof e}var Yi=function(e){return{test:function(t){return $i(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return"".concat(t).concat(e)}}},Ki=Yi("deg"),Gi=Yi("%"),Xi=Yi("px"),Qi=Yi("vh"),Ji=Yi("vw"),Zi=ri(ri({},Gi),{},{parse:function(e){return Gi.parse(e)/100},transform:function(e){return Gi.transform(100*e)}}),er=ri(ri({},Ni),{},{transform:Math.round}),tr={borderWidth:Xi,borderTopWidth:Xi,borderRightWidth:Xi,borderBottomWidth:Xi,borderLeftWidth:Xi,borderRadius:Xi,radius:Xi,borderTopLeftRadius:Xi,borderTopRightRadius:Xi,borderBottomRightRadius:Xi,borderBottomLeftRadius:Xi,width:Xi,maxWidth:Xi,height:Xi,maxHeight:Xi,size:Xi,top:Xi,right:Xi,bottom:Xi,left:Xi,padding:Xi,paddingTop:Xi,paddingRight:Xi,paddingBottom:Xi,paddingLeft:Xi,margin:Xi,marginTop:Xi,marginRight:Xi,marginBottom:Xi,marginLeft:Xi,rotate:Ki,rotateX:Ki,rotateY:Ki,rotateZ:Ki,scale:Bi,scaleX:Bi,scaleY:Bi,scaleZ:Bi,skew:Ki,skewX:Ki,skewY:Ki,distance:Xi,translateX:Xi,translateY:Xi,translateZ:Xi,x:Xi,y:Xi,z:Xi,perspective:Xi,transformPerspective:Xi,opacity:Vi,originX:Zi,originY:Zi,originZ:Xi,zIndex:er,fillOpacity:Vi,strokeOpacity:Vi,numOctaves:er};function nr(e,t,n,i){var r=e.style,a=e.vars,o=e.transform,s=e.transformKeys,l=e.transformOrigin;s.length=0;var u=!1,c=!1,d=!0;for(var f in t){var h=t[f];if(ji(f))a[f]=h;else{var p=tr[f],v=Ii(h,p);if(Mi.has(f)){if(u=!0,o[f]=v,s.push(f),!d)continue;h!==(p.default||0)&&(d=!1)}else f.startsWith("origin")?(c=!0,l[f]=v):r[f]=v}}if(t.transform||(u||i?r.transform=function(e,t,n,i){var r=e.transform,a=e.transformKeys,o=t.enableHardwareAcceleration,s=void 0===o||o,l=t.allowTransformNone,u=void 0===l||l,c="";a.sort(Li);var d,f=C(a);try{for(f.s();!(d=f.n()).done;){var h=d.value;c+="".concat(Di[h]||h,"(").concat(r[h],") ")}}catch(p){f.e(p)}finally{f.f()}return s&&!r.z&&(c+="translateZ(0)"),c=c.trim(),i?c=i(r,n?"":c):u&&n&&(c="none"),c}(e,n,d,i):r.transform&&(r.transform="none")),c){var y=l.originX,m=void 0===y?"50%":y,g=l.originY,b=void 0===g?"50%":g,k=l.originZ,w=void 0===k?0:k;r.transformOrigin="".concat(m," ").concat(b," ").concat(w)}}var ir=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function rr(e,t,n){for(var i in t)Ai(t[i])||Ri(i,n)||(e[i]=t[i])}function ar(e,n,i){var r={};return rr(r,e.style||{},e),Object.assign(r,function(e,n,i){var r=e.transformTemplate;return(0,t.useMemo)((function(){var e=ir();return nr(e,n,{enableHardwareAcceleration:!i},r),Object.assign({},e.vars,e.style)}),[n])}(e,n,i)),e.transformValues?e.transformValues(r):r}function or(e,t,n){var i={},r=ar(e,t,n);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),i.style=r,i}var sr=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll"].concat(["whileInView","onViewportEnter","onViewportLeave","viewport"],["whileTap","onTap","onTapStart","onTapCancel"],["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"],["onPan","onPanStart","onPanSessionStart","onPanEnd"]));function lr(e){return sr.has(e)}var ur,cr=function(e){return!lr(e)};try{(ur=require("@emotion/is-prop-valid").default)&&(cr=function(e){return e.startsWith("on")?!lr(e):ur(e)})}catch(mk){}function dr(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function fr(e,t,n){return"string"===typeof e?e:Xi.transform(t+n*e)}var hr={offset:"stroke-dashoffset",array:"stroke-dasharray"},pr={offset:"strokeDashoffset",array:"strokeDasharray"};var vr=["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"];function yr(e,t,n,i,r){var a=t.attrX,o=t.attrY,s=t.originX,l=t.originY,u=t.pathLength,c=t.pathSpacing,d=void 0===c?1:c,f=t.pathOffset,h=void 0===f?0:f;if(nr(e,dr(t,vr),n,r),i)e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);else{e.attrs=e.style,e.style={};var p=e.attrs,v=e.style,y=e.dimensions;p.transform&&(y&&(v.transform=p.transform),delete p.transform),y&&(void 0!==s||void 0!==l||v.transform)&&(v.transformOrigin=function(e,t,n){var i=fr(t,e.x,e.width),r=fr(n,e.y,e.height);return"".concat(i," ").concat(r)}(y,void 0!==s?s:.5,void 0!==l?l:.5)),void 0!==a&&(p.x=a),void 0!==o&&(p.y=o),void 0!==u&&function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];e.pathLength=1;var a=r?hr:pr;e[a.offset]=Xi.transform(-i);var o=Xi.transform(t),s=Xi.transform(n);e[a.array]="".concat(o," ").concat(s)}(p,u,d,h,!1)}}var mr=function(){return ri(ri({},ir()),{},{attrs:{}})},gr=function(e){return"string"===typeof e&&"svg"===e.toLowerCase()};function br(e,n,i,r){var a=(0,t.useMemo)((function(){var t=mr();return yr(t,n,{enableHardwareAcceleration:!1},gr(r),e.transformTemplate),ri(ri({},t.attrs),{},{style:ri({},t.style)})}),[n]);if(e.style){var o={};rr(o,e.style,e),a.style=ri(ri({},o),a.style)}return a}function kr(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(n,i,r,a,o,s){var l=o.latestValues,u=(zi(n)?br:or)(i,l,s,n),c=function(e,t,n){var i={};for(var r in e)(cr(r)||!0===n&&lr(r)||!t&&!lr(r)||e.draggable&&r.startsWith("onDrag"))&&(i[r]=e[r]);return i}(i,"string"===typeof n,e),d=ri(ri(ri({},c),u),{},{ref:a});return r&&(d["data-projection-id"]=r),(0,t.createElement)(n,d)}}var wr=function(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()};function xr(e,t,n,i){var r=t.style,a=t.vars;for(var o in Object.assign(e.style,r,i&&i.getProjectionStyles(n)),a)e.style.setProperty(o,a[o])}var Sr=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Cr(e,t,n,i){for(var r in xr(e,t,void 0,i),t.attrs)e.setAttribute(Sr.has(r)?r:wr(r),t.attrs[r])}function Er(e){var t=e.style,n={};for(var i in t)(Ai(t[i])||Ri(i,e))&&(n[i]=t[i]);return n}function _r(e){var t=Er(e);for(var n in e){if(Ai(e[n]))t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]}return t}function Pr(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return"function"===typeof t&&(t=t(void 0!==n?n:e.custom,i,r)),"string"===typeof t&&(t=e.variants&&e.variants[t]),"function"===typeof t&&(t=t(void 0!==n?n:e.custom,i,r)),t}var zr=function(e){return Array.isArray(e)},Or=function(e){return Boolean(e&&"object"===typeof e&&e.mix&&e.toValue)},Tr=function(e){return zr(e)?e[e.length-1]||0:e};function Mr(e){var t=Ai(e)?e.get():e;return Or(t)?t.toValue():t}var Rr=["transitionEnd","transition"];var Ar=function(e){return function(n,i){var r=(0,t.useContext)(oi),a=(0,t.useContext)(Vn),o=function(){return function(e,t,n,i){var r=e.scrapeMotionValuesFromProps,a=e.createRenderState,o=e.onMount,s={latestValues:Dr(t,n,i,r),renderState:a()};return o&&(s.mount=function(e){return o(t,e,s)}),s}(e,n,r,a)};return i?o():Bn(o)}};function Dr(e,t,n,i){var r={},a=i(e);for(var o in a)r[o]=Mr(a[o]);var s=e.initial,l=e.animate,u=hi(e),c=pi(e);t&&c&&!u&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===l&&(l=t.animate));var d=!!n&&!1===n.initial,f=(d=d||!1===s)?l:s;f&&"boolean"!==typeof f&&!di(f)&&(Array.isArray(f)?f:[f]).forEach((function(t){var n=Pr(e,t);if(n){var i=n.transitionEnd,a=(n.transition,dr(n,Rr));for(var o in a){var s=a[o];if(Array.isArray(s))s=s[d?s.length-1:0];null!==s&&(r[o]=s)}for(var l in i)r[l]=i[l]}}));return r}var Lr,jr={useVisualState:Ar({scrapeMotionValuesFromProps:_r,createRenderState:mr,onMount:function(e,t,n){var i=n.renderState,r=n.latestValues;try{i.dimensions="function"===typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(a){i.dimensions={x:0,y:0,width:0,height:0}}yr(i,r,{enableHardwareAcceleration:!1},gr(t.tagName),e.transformTemplate),Cr(t,i)}})},Ir={useVisualState:Ar({scrapeMotionValuesFromProps:Er,createRenderState:ir})};function Fr(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return e.addEventListener(t,n,i),function(){return e.removeEventListener(t,n)}}function Nr(e,n,i,r){(0,t.useEffect)((function(){var t=e.current;if(i&&t)return Fr(t,n,i,r)}),[e,n,i,r])}function Vr(e){return"undefined"!==typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Br(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"}(Lr||(Lr={}));var Ur={pageX:0,pageY:0};function Hr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page",n=e.touches[0]||e.changedTouches[0]||Ur;return{x:n[t+"X"],y:n[t+"Y"]}}function Wr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";return{x:e[t+"X"],y:e[t+"Y"]}}function qr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";return{point:Br(e)?Hr(e,t):Wr(e,t)}}var $r=function(e){var t,n=function(t){return e(t,qr(t))};return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?(t=n,function(e){var n=e instanceof MouseEvent;(!n||n&&0===e.button)&&t(e)}):n},Yr=function(){return In&&null===window.onpointerdown},Kr=function(){return In&&null===window.ontouchstart},Gr=function(){return In&&null===window.onmousedown},Xr={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Qr={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Jr(e){return Yr()?e:Kr()?Qr[e]:Gr()?Xr[e]:e}function Zr(e,t,n,i){return Fr(e,Jr(t),$r(n,"pointerdown"===t),i)}function ea(e,t,n,i){return Nr(e,Jr(t),n&&$r(n,"pointerdown"===t),i)}function ta(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var na=ta("dragHorizontal"),ia=ta("dragVertical");function ra(e){var t=!1;if("y"===e)t=ia();else if("x"===e)t=na();else{var n=na(),i=ia();n&&i?t=function(){n(),i()}:(n&&n(),i&&i())}return t}function aa(){var e=ra(!0);return!e||(e(),!1)}function oa(e,t,n){return function(i,r){Vr(i)&&!aa()&&(e.animationState&&e.animationState.setActive(Lr.Hover,t),n&&n(i,r))}}var sa=function e(t,n){return!!n&&(t===n||e(t,n.parentElement))},la=function(e,t){return function(n){return t(e(n))}},ua=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(la)};var ca=["root"],da=new WeakMap,fa=new WeakMap,ha=function(e){var t=da.get(e.target);t&&t(e)},pa=function(e){e.forEach(ha)};function va(e,t,n){var i=function(e){var t=e.root,n=dr(e,ca),i=t||document;fa.has(i)||fa.set(i,{});var r=fa.get(i),a=JSON.stringify(n);return r[a]||(r[a]=new IntersectionObserver(pa,ri({root:t},n))),r[a]}(t);return da.set(e,n),i.observe(e),function(){da.delete(e),i.unobserve(e)}}var ya={some:0,all:1};function ma(e,n,i,r){var a=r.root,o=r.margin,s=r.amount,l=void 0===s?"some":s,u=r.once;(0,t.useEffect)((function(){if(e&&i.current){var t={root:null===a||void 0===a?void 0:a.current,rootMargin:o,threshold:"number"===typeof l?l:ya[l]};return va(i.current,t,(function(e){var t=e.isIntersecting;if(n.isInView!==t&&(n.isInView=t,!u||t||!n.hasEnteredView)){t&&(n.hasEnteredView=!0),i.animationState&&i.animationState.setActive(Lr.InView,t);var r=i.getProps(),a=t?r.onViewportEnter:r.onViewportLeave;a&&a(e)}}))}}),[e,a,o,l])}function ga(e,n,i,r){var a=r.fallback,o=void 0===a||a;(0,t.useEffect)((function(){e&&o&&("production"!==wn&&Gn(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame((function(){n.hasEnteredView=!0;var e=i.getProps().onViewportEnter;e&&e(null),i.animationState&&i.animationState.setActive(Lr.InView,!0)})))}),[e])}var ba=function(e){return function(t){return e(t),null}},ka={inView:ba((function(e){var n=e.visualElement,i=e.whileInView,r=e.onViewportEnter,a=e.onViewportLeave,o=e.viewport,s=void 0===o?{}:o,l=(0,t.useRef)({hasEnteredView:!1,isInView:!1}),u=Boolean(i||r||a);s.once&&l.current.hasEnteredView&&(u=!1),("undefined"===typeof IntersectionObserver?ga:ma)(u,l.current,n,s)})),tap:ba((function(e){var n=e.onTap,i=e.onTapStart,r=e.onTapCancel,a=e.whileTap,o=e.visualElement,s=n||i||r||a,l=(0,t.useRef)(!1),u=(0,t.useRef)(null),c={passive:!(i||n||r||v)};function d(){u.current&&u.current(),u.current=null}function f(){return d(),l.current=!1,o.animationState&&o.animationState.setActive(Lr.Tap,!1),!aa()}function h(e,t){f()&&(sa(o.current,e.target)?n&&n(e,t):r&&r(e,t))}function p(e,t){f()&&r&&r(e,t)}function v(e,t){d(),l.current||(l.current=!0,u.current=ua(Zr(window,"pointerup",h,c),Zr(window,"pointercancel",p,c)),o.animationState&&o.animationState.setActive(Lr.Tap,!0),i&&i(e,t))}ea(o,"pointerdown",s?v:void 0,c),Yn(d)})),focus:ba((function(e){var t=e.whileFocus,n=e.visualElement,i=n.animationState;Nr(n,"focus",t?function(){i&&i.setActive(Lr.Focus,!0)}:void 0),Nr(n,"blur",t?function(){i&&i.setActive(Lr.Focus,!1)}:void 0)})),hover:ba((function(e){var t=e.onHoverStart,n=e.onHoverEnd,i=e.whileHover,r=e.visualElement;ea(r,"pointerenter",t||i?oa(r,!0,t):void 0,{passive:!t}),ea(r,"pointerleave",n||i?oa(r,!1,n):void 0,{passive:!n})}))};function wa(){var e=(0,t.useContext)(Vn);if(null===e)return[!0,null];var n=e.isPresent,i=e.onExitComplete,r=e.register,a=(0,t.useId)();(0,t.useEffect)((function(){return r(a)}),[]);return!n&&i?[!1,function(){return i&&i(a)}]:[!0]}function xa(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}var Sa=function(e){return/^\-?\d*\.?\d+$/.test(e)},Ca=function(e){return/^0[^.\s]+$/.test(e)};function Ea(e,t){-1===e.indexOf(t)&&e.push(t)}function _a(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Pa=function(){function e(){l(this,e),this.subscriptions=[]}return f(e,[{key:"add",value:function(e){var t=this;return Ea(this.subscriptions,e),function(){return _a(t.subscriptions,e)}}},{key:"notify",value:function(e,t,n){var i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](e,t,n);else for(var r=0;r<i;r++){var a=this.subscriptions[r];a&&a(e,t,n)}}},{key:"getSize",value:function(){return this.subscriptions.length}},{key:"clear",value:function(){this.subscriptions.length=0}}]),e}();function za(e,t){return t?e*(1e3/t):0}var Oa=function(){function e(t){var n,i=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};l(this,e),this.version="7.10.3",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];i.prev=i.current,i.current=e;var n=En.delta,r=En.timestamp;i.lastUpdated!==r&&(i.timeDelta=n,i.lastUpdated=r,Mn.postRender(i.scheduleVelocityCheck)),i.prev!==i.current&&i.events.change&&i.events.change.notify(i.current),i.events.velocityChange&&i.events.velocityChange.notify(i.getVelocity()),t&&i.events.renderRequest&&i.events.renderRequest.notify(i.current)},this.scheduleVelocityCheck=function(){return Mn.postRender(i.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==i.lastUpdated&&(i.prev=i.current,i.events.velocityChange&&i.events.velocityChange.notify(i.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n))),this.owner=r.owner}return f(e,[{key:"onChange",value:function(e){return this.on("change",e)}},{key:"on",value:function(e,t){return this.events[e]||(this.events[e]=new Pa),this.events[e].add(t)}},{key:"clearListeners",value:function(){for(var e in this.events)this.events[e].clear()}},{key:"attach",value:function(e){this.passiveEffect=e}},{key:"set",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}},{key:"setWithVelocity",value:function(e,t,n){this.set(t),this.prev=e,this.timeDelta=n}},{key:"get",value:function(){return this.current}},{key:"getPrevious",value:function(){return this.prev}},{key:"getVelocity",value:function(){return this.canTrackVelocity?za(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}},{key:"start",value:function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n),t.events.animationStart&&t.events.animationStart.notify()})).then((function(){t.events.animationComplete&&t.events.animationComplete.notify(),t.clearAnimation()}))}},{key:"stop",value:function(){this.stopAnimation&&(this.stopAnimation(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}},{key:"isAnimating",value:function(){return!!this.stopAnimation}},{key:"clearAnimation",value:function(){this.stopAnimation=null}},{key:"destroy",value:function(){this.clearListeners(),this.stop()}}]),e}();function Ta(e,t){return new Oa(e,t)}var Ma=function(e,t){return function(n){return Boolean($i(n)&&qi.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},Ra=function(e,t,n){return function(i){var r;if(!$i(i))return i;var a=w(i.match(Hi),4),o=a[0],s=a[1],l=a[2],u=a[3];return ni(r={},e,parseFloat(o)),ni(r,t,parseFloat(s)),ni(r,n,parseFloat(l)),ni(r,"alpha",void 0!==u?parseFloat(u):1),r}},Aa=ri(ri({},Ni),{},{transform:function(e){return Math.round(function(e){return Fi(0,255,e)}(e))}}),Da={test:Ma("rgb","red"),parse:Ra("red","green","blue"),transform:function(e){var t=e.red,n=e.green,i=e.blue,r=e.alpha,a=void 0===r?1:r;return"rgba("+Aa.transform(t)+", "+Aa.transform(n)+", "+Aa.transform(i)+", "+Ui(Vi.transform(a))+")"}};var La={test:Ma("#"),parse:function(e){var t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}},transform:Da.transform},ja={test:Ma("hsl","hue"),parse:Ra("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,i=e.lightness,r=e.alpha,a=void 0===r?1:r;return"hsla("+Math.round(t)+", "+Gi.transform(Ui(n))+", "+Gi.transform(Ui(i))+", "+Ui(Vi.transform(a))+")"}},Ia={test:function(e){return Da.test(e)||La.test(e)||ja.test(e)},parse:function(e){return Da.test(e)?Da.parse(e):ja.test(e)?ja.parse(e):La.parse(e)},transform:function(e){return $i(e)?e:e.hasOwnProperty("red")?Da.transform(e):ja.transform(e)}},Fa="${c}",Na="${n}";function Va(e){"number"===typeof e&&(e="".concat(e));var t=[],n=0,i=0,r=e.match(Wi);r&&(n=r.length,e=e.replace(Wi,Fa),t.push.apply(t,s(r.map(Ia.parse))));var a=e.match(Hi);return a&&(i=a.length,e=e.replace(Hi,Na),t.push.apply(t,s(a.map(Ni.parse)))),{values:t,numColors:n,numNumbers:i,tokenised:e}}function Ba(e){return Va(e).values}function Ua(e){var t=Va(e),n=t.values,i=t.numColors,r=t.tokenised,a=n.length;return function(e){for(var t=r,n=0;n<a;n++)t=t.replace(n<i?Fa:Na,n<i?Ia.transform(e[n]):Ui(e[n]));return t}}var Ha=function(e){return"number"===typeof e?0:e};var Wa={test:function(e){var t,n;return isNaN(e)&&$i(e)&&((null===(t=e.match(Hi))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Wi))||void 0===n?void 0:n.length)||0)>0},parse:Ba,createTransformer:Ua,getAnimatableNone:function(e){var t=Ba(e);return Ua(e)(t.map(Ha))}},qa=new Set(["brightness","contrast","saturate","opacity"]);function $a(e){var t=w(e.slice(0,-1).split("("),2),n=t[0],i=t[1];if("drop-shadow"===n)return e;var r=w(i.match(Hi)||[],1)[0];if(!r)return e;var a=i.replace(r,""),o=qa.has(n)?1:0;return r!==i&&(o*=100),n+"("+o+a+")"}var Ya=/([a-z-]*)\(.*?\)/g,Ka=ri(ri({},Wa),{},{getAnimatableNone:function(e){var t=e.match(Ya);return t?t.map($a).join(" "):e}}),Ga=ri(ri({},tr),{},{color:Ia,backgroundColor:Ia,outlineColor:Ia,fill:Ia,stroke:Ia,borderColor:Ia,borderTopColor:Ia,borderRightColor:Ia,borderBottomColor:Ia,borderLeftColor:Ia,filter:Ka,WebkitFilter:Ka}),Xa=function(e){return Ga[e]};function Qa(e,t){var n,i=Xa(e);return i!==Ka&&(i=Wa),null===(n=i.getAnimatableNone)||void 0===n?void 0:n.call(i,t)}var Ja=function(e){return function(t){return t.test(e)}},Za=[Ni,Xi,Gi,Ki,Ji,Qi,{test:function(e){return"auto"===e},parse:function(e){return e}}],eo=function(e){return Za.find(Ja(e))},to=[].concat(s(Za),[Ia,Wa]),no=function(e){return to.find(Ja(e))};function io(e,t,n){var i=e.getProps();return Pr(i,t,void 0!==n?n:i.custom,function(e){var t={};return e.values.forEach((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.values.forEach((function(e,n){return t[n]=e.getVelocity()})),t}(e))}var ro=["transitionEnd","transition"];function ao(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ta(n))}function oo(e,t){var n=io(e,t),i=n?e.makeTargetAnimatable(n,!1):{},r=i.transitionEnd,a=void 0===r?{}:r,o=(i.transition,dr(i,ro));for(var s in o=ri(ri({},o),a)){ao(e,s,Tr(o[s]))}}function so(e,t){if(t)return(t[e]||t.default||t).from}function lo(e){return Boolean(Ai(e)&&e.add)}var uo=function(e,t){return"".concat(e,": ").concat(t)};var co="data-"+wr("framerAppearId"),fo=function(){},ho=function(){};var po=function(e){return 1e3*e},vo=!1,yo=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},mo=function(e){return function(t){return 1-e(1-t)}},go=function(e){return e*e},bo=mo(go),ko=yo(go),wo=function(e,t,n){return-n*e+n*t+e};function xo(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var So=function(e,t,n){var i=e*e;return Math.sqrt(Math.max(0,n*(t*t-i)+i))},Co=[La,Da,ja];function Eo(e){var t=function(e){return Co.find((function(t){return t.test(e)}))}(e);ho(Boolean(t),"'".concat(e,"' is not an animatable color. Use the equivalent color code instead."));var n=t.parse(e);return t===ja&&(n=function(e){var t=e.hue,n=e.saturation,i=e.lightness,r=e.alpha;t/=360,i/=100;var a=0,o=0,s=0;if(n/=100){var l=i<.5?i*(1+n):i+n-i*n,u=2*i-l;a=xo(u,l,t+1/3),o=xo(u,l,t),s=xo(u,l,t-1/3)}else a=o=s=i;return{red:Math.round(255*a),green:Math.round(255*o),blue:Math.round(255*s),alpha:r}}(n)),n}var _o=function(e,t){var n=Eo(e),i=Eo(t),r=ri({},n);return function(e){return r.red=So(n.red,i.red,e),r.green=So(n.green,i.green,e),r.blue=So(n.blue,i.blue,e),r.alpha=wo(n.alpha,i.alpha,e),Da.transform(r)}};function Po(e,t){return"number"===typeof e?function(n){return wo(e,t,n)}:Ia.test(e)?_o(e,t):To(e,t)}var zo=function(e,t){var n=s(e),i=n.length,r=e.map((function(e,n){return Po(e,t[n])}));return function(e){for(var t=0;t<i;t++)n[t]=r[t](e);return n}},Oo=function(e,t){var n=ri(ri({},e),t),i={};for(var r in n)void 0!==e[r]&&void 0!==t[r]&&(i[r]=Po(e[r],t[r]));return function(e){for(var t in i)n[t]=i[t](e);return n}},To=function(e,t){var n=Wa.createTransformer(t),i=Va(e),r=Va(t);return i.numColors===r.numColors&&i.numNumbers>=r.numNumbers?ua(zo(i.values,r.values),n):(fo(!0,"Complex values '".concat(e,"' and '").concat(t,"' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.")),function(n){return"".concat(n>0?t:e)})},Mo=function(e,t,n){var i=t-e;return 0===i?1:(n-e)/i},Ro=function(e,t){return function(n){return wo(e,t,n)}};function Ao(e,t,n){for(var i=[],r=n||function(e){return"number"===typeof e?Ro:"string"===typeof e?Ia.test(e)?_o:To:Array.isArray(e)?zo:"object"===typeof e?Oo:Ro}(e[0]),a=e.length-1,o=0;o<a;o++){var s=r(e[o],e[o+1]);if(t){var l=Array.isArray(t)?t[o]:t;s=ua(l,s)}i.push(s)}return i}function Do(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.clamp,r=void 0===i||i,a=n.ease,o=n.mixer,l=e.length;ho(l===t.length,"Both input and output ranges must be the same length"),ho(!a||!Array.isArray(a)||a.length===l-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[l-1]&&(e=s(e).reverse(),t=s(t).reverse());var u=Ao(t,a,o),c=u.length,d=function(t){var n=0;if(c>1)for(;n<e.length-2&&!(t<e[n+1]);n++);var i=Mo(e[n],e[n+1],t);return u[n](i)};return r?function(t){return d(Fi(e[0],e[l-1],t))}:d}var Lo=function(e){return e},jo=function(e,t,n){return(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e},Io=1e-7,Fo=12;function No(e,t,n,i){if(e===t&&n===i)return Lo;var r=function(t){return function(e,t,n,i,r){var a,o,s=0;do{(a=jo(o=t+(n-t)/2,i,r)-e)>0?n=o:t=o}while(Math.abs(a)>Io&&++s<Fo);return o}(t,0,1,e,n)};return function(e){return 0===e||1===e?e:jo(r(e),t,i)}}var Vo=function(e){return 1-Math.sin(Math.acos(e))},Bo=mo(Vo),Uo=yo(Bo),Ho=No(.33,1.53,.69,.99),Wo=mo(Ho),qo=yo(Wo),$o={linear:Lo,easeIn:go,easeInOut:ko,easeOut:bo,circIn:Vo,circInOut:Uo,circOut:Bo,backIn:Wo,backInOut:qo,backOut:Ho,anticipate:function(e){return(e*=2)<1?.5*Wo(e):.5*(2-Math.pow(2,-10*(e-1)))}},Yo=function(e){if(Array.isArray(e)){ho(4===e.length,"Cubic bezier arrays must contain four numerical values.");var t=w(e,4);return No(t[0],t[1],t[2],t[3])}return"string"===typeof e?(ho(void 0!==$o[e],"Invalid easing type '".concat(e,"'")),$o[e]):e};function Ko(e){var t=e.keyframes,n=e.ease,i=void 0===n?ko:n,r=e.times,a=e.duration,o=void 0===a?300:a;t=s(t);var l=Ko[0],u=function(e){return Array.isArray(e)&&"number"!==typeof e[0]}(i)?i.map(Yo):Yo(i),c={done:!1,value:l},d=function(e,t){return e.map((function(e){return e*t}))}(r&&r.length===Ko.length?r:function(e){var t=e.length;return e.map((function(e,n){return 0!==n?n/(t-1):0}))}(t),o);function f(){return Do(d,t,{ease:Array.isArray(u)?u:(e=t,n=u,e.map((function(){return n||ko})).splice(0,e.length-1))});var e,n}var h=f();return{next:function(e){return c.value=h(e),c.done=e>=o,c},flipTarget:function(){t.reverse(),h=f()}}}var Go=.001,Xo=.01,Qo=10,Jo=.05,Zo=1;function es(e){var t,n,i=e.duration,r=void 0===i?800:i,a=e.bounce,o=void 0===a?.25:a,s=e.velocity,l=void 0===s?0:s,u=e.mass,c=void 0===u?1:u;fo(r<=1e3*Qo,"Spring duration must be 10 seconds or less");var d=1-o;d=Fi(Jo,Zo,d),r=Fi(Xo,Qo,r/1e3),d<1?(t=function(e){var t=e*d,n=t*r,i=t-l,a=ns(e,d),o=Math.exp(-n);return Go-i/a*o},n=function(e){var n=e*d*r,i=n*l+l,a=Math.pow(d,2)*Math.pow(e,2)*r,o=Math.exp(-n),s=ns(Math.pow(e,2),d);return(-t(e)+Go>0?-1:1)*((i-a)*o)/s}):(t=function(e){return Math.exp(-e*r)*((e-l)*r+1)-Go},n=function(e){return Math.exp(-e*r)*(r*r*(l-e))});var f=function(e,t,n){for(var i=n,r=1;r<ts;r++)i-=e(i)/t(i);return i}(t,n,5/r);if(r*=1e3,isNaN(f))return{stiffness:100,damping:10,duration:r};var h=Math.pow(f,2)*c;return{stiffness:h,damping:2*d*Math.sqrt(c*h),duration:r}}var ts=12;function ns(e,t){return e*Math.sqrt(1-t*t)}var is=["keyframes","restSpeed","restDelta"],rs=["duration","bounce"],as=["stiffness","damping","mass"];function os(e,t){return t.some((function(t){return void 0!==e[t]}))}function ss(e){var t=e.keyframes,n=e.restSpeed,i=void 0===n?2:n,r=e.restDelta,a=void 0===r?.01:r,o=dr(e,is),s=t[0],l=t[t.length-1],u={done:!1,value:s},c=function(e){var t=ri({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!os(e,as)&&os(e,rs)){var n=es(e);(t=ri(ri(ri({},t),n),{},{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(o),d=c.stiffness,f=c.damping,h=c.mass,p=c.velocity,v=c.duration,y=c.isResolvedFromDuration,m=ls,g=p?-p/1e3:0,b=f/(2*Math.sqrt(d*h));function k(){var e=l-s,t=Math.sqrt(d/h)/1e3;if(void 0===a&&(a=Math.min(Math.abs(l-s)/100,.4)),b<1){var n=ns(t,b);m=function(i){var r=Math.exp(-b*t*i);return l-r*((g+b*t*e)/n*Math.sin(n*i)+e*Math.cos(n*i))}}else if(1===b)m=function(n){return l-Math.exp(-t*n)*(e+(g+t*e)*n)};else{var i=t*Math.sqrt(b*b-1);m=function(n){var r=Math.exp(-b*t*n),a=Math.min(i*n,300);return l-r*((g+b*t*e)*Math.sinh(a)+i*e*Math.cosh(a))/i}}}return k(),{next:function(e){var t=m(e);if(y)u.done=e>=v;else{var n=g;if(0!==e)if(b<1){var r=Math.max(0,e-5);n=za(t-m(r),e-r)}else n=0;var o=Math.abs(n)<=i,s=Math.abs(l-t)<=a;u.done=o&&s}return u.value=u.done?l:t,u},flipTarget:function(){g=-g;var e=[l,s];s=e[0],l=e[1],k()}}}ss.needsInterpolation=function(e,t){return"string"===typeof e||"string"===typeof t};var ls=function(e){return 0};var us=["duration","driver","elapsed","repeat","repeatType","repeatDelay","keyframes","autoplay","onPlay","onStop","onComplete","onRepeat","onUpdate","type"],cs={decay:function(e){var t=e.keyframes,n=void 0===t?[0]:t,i=e.velocity,r=void 0===i?0:i,a=e.power,o=void 0===a?.8:a,s=e.timeConstant,l=void 0===s?350:s,u=e.restDelta,c=void 0===u?.5:u,d=e.modifyTarget,f=n[0],h={done:!1,value:f},p=o*r,v=f+p,y=void 0===d?v:d(v);return y!==v&&(p=y-f),{next:function(e){var t=-p*Math.exp(-e/l);return h.done=!(t>c||t<-c),h.value=h.done?y:y+t,h},flipTarget:function(){}}},keyframes:Ko,tween:Ko,spring:ss};function ds(e,t){return e-t-(arguments.length>2&&void 0!==arguments[2]?arguments[2]:0)}var fs=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return Mn.update(t,!0)},stop:function(){return Rn.update(t)}}};function hs(e){var t,n,i,r,a,o=e.duration,s=e.driver,l=void 0===s?fs:s,u=e.elapsed,c=void 0===u?0:u,d=e.repeat,f=void 0===d?0:d,h=e.repeatType,p=void 0===h?"loop":h,v=e.repeatDelay,y=void 0===v?0:v,m=e.keyframes,g=e.autoplay,b=void 0===g||g,k=e.onPlay,w=e.onStop,x=e.onComplete,S=e.onRepeat,C=e.onUpdate,E=e.type,_=void 0===E?"keyframes":E,P=dr(e,us),z=0,O=o,T=!1,M=!0,R=cs[m.length>2?"keyframes":_],A=m[0],D=m[m.length-1];(null===(n=(t=R).needsInterpolation)||void 0===n?void 0:n.call(t,A,D))&&(a=Do([0,100],[A,D],{clamp:!1}),m=[0,100]);var L=R(ri(ri({},P),{},{duration:o,keyframes:m}));function j(){z++,"reverse"===p?c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?t-(e-t)+n:ds(t+-e,t,n)}(c,O,y,M=z%2===0):(c=ds(c,O,y),"mirror"===p&&L.flipTarget()),T=!1,S&&S()}function I(e){if(M||(e=-e),c+=e,!T){var t=L.next(Math.max(0,c));r=t.value,a&&(r=a(r)),T=M?t.done:c<=0}C&&C(r),T&&(0===z&&(O=void 0!==O?O:c),z<f?function(e,t,n,i){return i?e>=t+n:e<=-n}(c,O,y,M)&&j():(i.stop(),x&&x()))}return b&&(k&&k(),(i=l(I)).start()),{stop:function(){w&&w(),i.stop()},sample:function(e){return L.next(Math.max(0,e))}}}var ps=function(e){var t=w(e,4),n=t[0],i=t[1],r=t[2],a=t[3];return"cubic-bezier(".concat(n,", ").concat(i,", ").concat(r,", ").concat(a,")")},vs={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ps([0,.65,.55,1]),circOut:ps([.55,0,1,.45]),backIn:ps([.31,.01,.66,-.59]),backOut:ps([.33,1.53,.69,.99])};function ys(e){if(e)return Array.isArray(e)?ps(e):vs[e]}var ms=["onUpdate","onComplete"];function gs(e,t,n){n.onUpdate;var i,r=n.onComplete,a=dr(n,ms),o=a.keyframes,s=a.duration,l=void 0===s?.3:s,u=a.elapsed,c=void 0===u?0:u,d=a.ease;if("spring"===a.type||!(!(i=a.ease)||Array.isArray(i)||"string"===typeof i&&vs[i])){for(var f=hs(a),h={done:!1,value:o[0]},p=[],v=0;!h.done;)h=f.sample(v),p.push(h.value),v+=10;o=p,l=v-10,d="linear"}var y=function(e,t,n){var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=r.delay,o=void 0===a?0:a,s=r.duration,l=r.repeat,u=void 0===l?0:l,c=r.repeatType,d=void 0===c?"loop":c,f=r.ease,h=r.times;return e.animate((ni(i={},t,n),ni(i,"offset",h),i),{delay:o,duration:s,easing:ys(f),fill:"both",iterations:u+1,direction:"reverse"===d?"alternate":"normal"})}(e.owner.current,t,o,ri(ri({},a),{},{delay:-c,duration:l,ease:d}));return y.onfinish=function(){e.set(o[o.length-1]),r&&r()},function(){var t=y.currentTime;if(t){var n=hs(a);e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}Mn.update((function(){return y.cancel()}))}}function bs(e,t){var n=performance.now(),i=function i(r){var a=r.timestamp-n;a>=t&&(Rn.read(i),e(a-t))};return Mn.read(i,!0),function(){return Rn.read(i)}}function ks(e){var t=e.keyframes,n=e.elapsed,i=e.onUpdate,r=e.onComplete,a=function(){return i&&i(t[t.length-1]),r&&r(),function(){}};return n?bs(a,-n):a()}var ws=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},xs=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},Ss=function(){return{type:"keyframes",ease:"linear",duration:.3}},Cs={type:"keyframes",duration:.8},Es={x:ws,y:ws,z:ws,rotate:ws,rotateX:ws,rotateY:ws,rotateZ:ws,scaleX:xs,scaleY:xs,scale:xs,opacity:Ss,backgroundColor:Ss,color:Ss,default:xs},_s=function(e,t){return"zIndex"!==e&&(!("number"!==typeof t&&!Array.isArray(t))||!("string"!==typeof t||!Wa.test(t)||t.startsWith("url(")))},Ps=["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"];function zs(e){return 0===e||"string"===typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function Os(e){return"number"===typeof e?0:Qa("",e)}function Ts(e,t){return e[t]||e.default||e}var Ms={waapi:function(){return Object.hasOwnProperty.call(Element.prototype,"animate")}},Rs={},As={},Ds=function(e){As[e]=function(){return void 0===Rs[e]&&(Rs[e]=Ms[e]()),Rs[e]}};for(var Ls in Ms)Ds(Ls);var js=new Set(["opacity"]),Is=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return function(r){var a=Ts(i,e)||{},o=a.delay||i.delay||0,s=i.elapsed,l=void 0===s?0:s;l-=po(o);var u=function(e,t,n,i){var r=_s(t,n),a=void 0!==i.from?i.from:e.get();return"none"===a&&r&&"string"===typeof n?a=Qa(t,n):zs(a)&&"string"===typeof n?a=Os(n):!Array.isArray(n)&&zs(n)&&"string"===typeof a&&(n=Os(a)),Array.isArray(n)?(null===n[0]&&(n[0]=a),n):[a,n]}(t,e,n,a),c=u[0],d=u[u.length-1],f=_s(e,c),h=_s(e,d);fo(f===h,"You are trying to animate ".concat(e,' from "').concat(c,'" to "').concat(d,'". ').concat(c," is not an animatable value - to enable this animation set ").concat(c," to a value animatable to ").concat(d," via the `style` property."));var p=ri(ri({keyframes:u,velocity:t.getVelocity()},a),{},{elapsed:l,onUpdate:function(e){t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:function(){r(),a.onComplete&&a.onComplete()}});if(!f||!h||vo||!1===a.type)return ks(p);if("inertia"===a.type){var v=function(e){var t,n=e.keyframes,i=e.velocity,r=void 0===i?0:i,a=e.min,o=e.max,s=e.power,l=void 0===s?.8:s,u=e.timeConstant,c=void 0===u?750:u,d=e.bounceStiffness,f=void 0===d?500:d,h=e.bounceDamping,p=void 0===h?10:h,v=e.restDelta,y=void 0===v?1:v,m=e.modifyTarget,g=e.driver,b=e.onUpdate,k=e.onComplete,w=e.onStop,x=n[0];function S(e){return void 0!==a&&e<a||void 0!==o&&e>o}function C(e){return void 0===a?o:void 0===o||Math.abs(a-e)<Math.abs(o-e)?a:o}function E(e){null===t||void 0===t||t.stop(),t=hs(ri(ri({keyframes:[0,1],velocity:0},e),{},{driver:g,onUpdate:function(t){var n;null===b||void 0===b||b(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:k,onStop:w}))}function _(e){E(ri({type:"spring",stiffness:f,damping:p,restDelta:y},e))}if(S(x))_({velocity:r,keyframes:[x,C(x)]});else{var P=l*r+x;"undefined"!==typeof m&&(P=m(P));var z,O,T=C(P),M=T===a?-1:1;E({type:"decay",keyframes:[x,0],velocity:r,timeConstant:c,power:l,restDelta:y,modifyTarget:m,onUpdate:S(P)?function(e){z=O,O=e,r=za(e-z,En.delta),(1===M&&e>T||-1===M&&e<T)&&_({keyframes:[e,T],velocity:r})}:void 0})}return{stop:function(){return null===t||void 0===t?void 0:t.stop()}}}(p);return function(){return v.stop()}}(function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=dr(e,Ps);return!!Object.keys(t).length})(a)||(p=ri(ri({},p),function(e,t){var n=t.keyframes;return n.length>2?Cs:(Es[e]||Es.default)(n[1])}(e,p))),p.duration&&(p.duration=po(p.duration)),p.repeatDelay&&(p.repeatDelay=po(p.repeatDelay));var y=t.owner,m=y&&y.current;if(As.waapi()&&js.has(e)&&!p.repeatDelay&&"mirror"!==p.repeatType&&0!==p.damping&&y&&m instanceof HTMLElement&&!y.getProps().onUpdate)return gs(t,e,p);var g=hs(p);return function(){return g.stop()}}},Fs=["transition","transitionEnd"];function Ns(e,t){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=io(e,t,i.custom),a=(r||{}).transition,o=void 0===a?e.getDefaultTransition()||{}:a;i.transitionOverride&&(o=i.transitionOverride);var s=r?function(){return Vs(e,r,i)}:function(){return Promise.resolve()},l=(null===(n=e.variantChildren)||void 0===n?void 0:n.size)?function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=o,a=r.delayChildren,s=void 0===a?0:a,l=r.staggerChildren,u=r.staggerDirection;return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=arguments.length>5?arguments[5]:void 0,o=[],s=(e.variantChildren.size-1)*i,l=1===r?function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)*i}:function(){return s-(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)*i};return Array.from(e.variantChildren).sort(Bs).forEach((function(e,i){o.push(Ns(e,t,ri(ri({},a),{},{delay:n+l(i)})).then((function(){return e.notify("AnimationComplete",t)})))})),Promise.all(o)}(e,t,s+n,l,u,i)}:function(){return Promise.resolve()},u=o.when;if(u){var c=w("beforeChildren"===u?[s,l]:[l,s],2),d=c[0],f=c[1];return d().then(f)}return Promise.all([s(),l(i.delay)])}function Vs(e,t){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=i.delay,a=void 0===r?0:r,o=i.transitionOverride,s=i.type,l=e.makeTargetAnimatable(t),u=l.transition,c=void 0===u?e.getDefaultTransition():u,d=l.transitionEnd,f=dr(l,Fs),h=e.getValue("willChange");o&&(c=o);var p=[],v=s&&(null===(n=e.animationState)||void 0===n?void 0:n.getState()[s]),y=function(t){var n=e.getValue(t),i=f[t];if(!n||void 0===i||v&&function(e,t){var n=e.protectedKeys,i=e.needsAnimating,r=n.hasOwnProperty(t)&&!0!==i[t];return i[t]=!1,r}(v,t))return"continue";var r=ri({delay:a,elapsed:0},c);if(e.shouldReduceMotion&&Mi.has(t)&&(r=ri(ri({},r),{},{type:!1,delay:0})),!n.hasAnimated){var o=e.getProps()[co];o&&(r.elapsed=function(e,t){var n=window.MotionAppearAnimations,i=uo(e,Mi.has(t)?"transform":t),r=n&&n.get(i);return r?(Mn.render((function(){try{r.cancel(),n.delete(i)}catch(e){}})),r.currentTime||0):0}(o,t))}var s=n.start(Is(t,n,i,r));lo(h)&&(h.add(t),s=s.then((function(){return h.remove(t)}))),p.push(s)};for(var m in f)y(m);return Promise.all(p).then((function(){d&&oo(e,d)}))}function Bs(e,t){return e.sortNodePosition(t)}var Us=["transition","transitionEnd"],Hs=[Lr.Animate,Lr.InView,Lr.Focus,Lr.Hover,Lr.Tap,Lr.Drag,Lr.Exit],Ws=[].concat(Hs).reverse(),qs=Hs.length;function $s(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,i=t.options;return function(e,t){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e.notify("AnimationStart",t),Array.isArray(t)){var r=t.map((function(t){return Ns(e,t,i)}));n=Promise.all(r)}else if("string"===typeof t)n=Ns(e,t,i);else{var a="function"===typeof t?io(e,t,i.custom):t;n=Vs(e,a,i)}return n.then((function(){return e.notify("AnimationComplete",t)}))}(e,n,i)})))}}function Ys(e){var t=$s(e),n=function(){var e;return ni(e={},Lr.Animate,Ks(!0)),ni(e,Lr.InView,Ks()),ni(e,Lr.Hover,Ks()),ni(e,Lr.Tap,Ks()),ni(e,Lr.Drag,Ks()),ni(e,Lr.Focus,Ks()),ni(e,Lr.Exit,Ks()),e}(),i=!0,r=function(t,n){var i=io(e,n);if(i){i.transition;var r=i.transitionEnd,a=dr(i,Us);t=ri(ri(ri({},t),a),r)}return t};function a(a,o){for(var l=e.getProps(),u=e.getVariantContext(!0)||{},c=[],d=new Set,f={},h=1/0,p=function(){var t=Ws[v],p=n[t],y=void 0!==l[t]?l[t]:u[t],m=ci(y),g=t===o?p.isActive:null;!1===g&&(h=v);var b=y===u[t]&&y!==l[t]&&m;if(b&&i&&e.manuallyAnimateOnMount&&(b=!1),p.protectedKeys=ri({},f),!p.isActive&&null===g||!y&&!p.prevProp||di(y)||"boolean"===typeof y)return"continue";var k=function(e,t){if("string"===typeof t)return t!==e;if(Array.isArray(t))return!xa(t,e);return!1}(p.prevProp,y),w=k||t===o&&p.isActive&&!b&&m||v>h&&m,x=Array.isArray(y)?y:[y],S=x.reduce(r,{});!1===g&&(S={});var C=p.prevResolvedValues,E=void 0===C?{}:C,_=ri(ri({},E),S),P=function(e){w=!0,d.delete(e),p.needsAnimating[e]=!0};for(var z in _){var O=S[z],T=E[z];f.hasOwnProperty(z)||(O!==T?zr(O)&&zr(T)?!xa(O,T)||k?P(z):p.protectedKeys[z]=!0:void 0!==O?P(z):d.add(z):void 0!==O&&d.has(z)?P(z):p.protectedKeys[z]=!0)}p.prevProp=y,p.prevResolvedValues=S,p.isActive&&(f=ri(ri({},f),S)),i&&e.blockInitialAnimation&&(w=!1),w&&!b&&c.push.apply(c,s(x.map((function(e){return{animation:e,options:ri({type:t},a)}}))))},v=0;v<qs;v++)p();if(d.size){var y={};d.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(y[t]=n)})),c.push({animation:y})}var m=Boolean(c.length);return i&&!1===l.initial&&!e.manuallyAnimateOnMount&&(m=!1),i=!1,m?t(c):Promise.resolve()}return{animateChanges:a,setActive:function(t,i,r){var o;if(n[t].isActive===i)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,i)})),n[t].isActive=i;var s=a(r,t);for(var l in n)n[l].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:function(){return n}}}function Ks(){return{isActive:arguments.length>0&&void 0!==arguments[0]&&arguments[0],protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var Gs={animation:ba((function(e){var n=e.visualElement,i=e.animate;n.animationState||(n.animationState=Ys(n)),di(i)&&(0,t.useEffect)((function(){return i.subscribe(n)}),[i])})),exit:ba((function(e){var n=e.custom,i=e.visualElement,r=w(wa(),2),a=r[0],o=r[1],s=(0,t.useContext)(Vn);(0,t.useEffect)((function(){i.isPresent=a;var e=i.animationState&&i.animationState.setActive(Lr.Exit,!a,{custom:s&&s.custom||n});e&&!a&&e.then(o)}),[a])}))},Xs=function(e,t){return Math.abs(e-t)};var Qs=function(){function e(t,n){var i=this,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).transformPagePoint;if(l(this,e),this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(i.lastMoveEvent&&i.lastMoveEventInfo){var e=el(i.lastMoveEventInfo,i.history),t=null!==i.startEvent,n=function(e,t){var n=Xs(e.x,t.x),i=Xs(e.y,t.y);return Math.sqrt(Math.pow(n,2)+Math.pow(i,2))}(e.offset,{x:0,y:0})>=3;if(t||n){var r=e.point,a=En.timestamp;i.history.push(ri(ri({},r),{},{timestamp:a}));var o=i.handlers,s=o.onStart,l=o.onMove;t||(s&&s(i.lastMoveEvent,e),i.startEvent=i.lastMoveEvent),l&&l(i.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){i.lastMoveEvent=e,i.lastMoveEventInfo=Js(t,i.transformPagePoint),Vr(e)&&0===e.buttons?i.handlePointerUp(e,t):Mn.update(i.updatePoint,!0)},this.handlePointerUp=function(e,t){i.end();var n=i.handlers,r=n.onEnd,a=n.onSessionEnd,o=el(Js(t,i.transformPagePoint),i.history);i.startEvent&&r&&r(e,o),a&&a(e,o)},!(Br(t)&&t.touches.length>1)){this.handlers=n,this.transformPagePoint=r;var a=Js(qr(t),this.transformPagePoint),o=a.point,s=En.timestamp;this.history=[ri(ri({},o),{},{timestamp:s})];var u=n.onSessionStart;u&&u(t,el(a,this.history)),this.removeListeners=ua(Zr(window,"pointermove",this.handlePointerMove),Zr(window,"pointerup",this.handlePointerUp),Zr(window,"pointercancel",this.handlePointerUp))}}return f(e,[{key:"updateHandlers",value:function(e){this.handlers=e}},{key:"end",value:function(){this.removeListeners&&this.removeListeners(),Rn.update(this.updatePoint)}}]),e}();function Js(e,t){return t?{point:t(e.point)}:e}function Zs(e,t){return{x:e.x-t.x,y:e.y-t.y}}function el(e,t){var n=e.point;return{point:n,delta:Zs(n,nl(t)),offset:Zs(n,tl(t)),velocity:il(t,.1)}}function tl(e){return e[0]}function nl(e){return e[e.length-1]}function il(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,i=null,r=nl(e);n>=0&&(i=e[n],!(r.timestamp-i.timestamp>po(t)));)n--;if(!i)return{x:0,y:0};var a=(r.timestamp-i.timestamp)/1e3;if(0===a)return{x:0,y:0};var o={x:(r.x-i.x)/a,y:(r.y-i.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function rl(e){return e.max-e.min}function al(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.01;return Math.abs(e-t)<=n}function ol(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;e.origin=i,e.originPoint=wo(t.min,t.max,e.origin),e.scale=rl(n)/rl(t),(al(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=wo(n.min,n.max,e.origin)-e.originPoint,(al(e.translate)||isNaN(e.translate))&&(e.translate=0)}function sl(e,t,n,i){ol(e.x,t.x,n.x,null===i||void 0===i?void 0:i.originX),ol(e.y,t.y,n.y,null===i||void 0===i?void 0:i.originY)}function ll(e,t,n){e.min=n.min+t.min,e.max=e.min+rl(t)}function ul(e,t,n){e.min=t.min-n.min,e.max=e.min+rl(t)}function cl(e,t,n){ul(e.x,t.x,n.x),ul(e.y,t.y,n.y)}function dl(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function fl(e,t){var n=t.min-e.min,i=t.max-e.max;if(t.max-t.min<e.max-e.min){var r=[i,n];n=r[0],i=r[1]}return{min:n,max:i}}var hl=.35;function pl(e,t,n){return{min:vl(e,t),max:vl(e,n)}}function vl(e,t){return"number"===typeof e?e:e[t]||0}var yl=function(){return{x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}},ml=function(){return{x:{min:0,max:0},y:{min:0,max:0}}};function gl(e){return[e("x"),e("y")]}function bl(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function kl(e){return void 0===e||1===e}function wl(e){var t=e.scale,n=e.scaleX,i=e.scaleY;return!kl(t)||!kl(n)||!kl(i)}function xl(e){return wl(e)||Sl(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Sl(e){return Cl(e.x)||Cl(e.y)}function Cl(e){return e&&"0%"!==e}function El(e,t,n){return n+t*(e-n)}function _l(e,t,n,i,r){return void 0!==r&&(e=El(e,r,i)),El(e,n,i)+t}function Pl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0;e.min=_l(e.min,t,n,i,r),e.max=_l(e.max,t,n,i,r)}function zl(e,t){var n=t.x,i=t.y;Pl(e.x,n.translate,n.scale,n.originPoint),Pl(e.y,i.translate,i.scale,i.originPoint)}function Ol(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Tl(e,t){e.min=e.min+t,e.max=e.max+t}function Ml(e,t,n){var i=w(n,3),r=i[0],a=i[1],o=i[2],s=void 0!==t[o]?t[o]:.5,l=wo(e.min,e.max,s);Pl(e,t[r],t[a],l,t.scale)}var Rl=["x","scaleX","originX"],Al=["y","scaleY","originY"];function Dl(e,t){Ml(e.x,t,Rl),Ml(e.y,t,Al)}function Ll(e,t){return bl(function(e,t){if(!t)return e;var n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(e.getBoundingClientRect(),t))}var jl=new WeakMap,Il=function(){function e(t){l(this,e),this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ml(),this.visualElement=t}return f(e,[{key:"start",value:function(e){var t=this,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).snapToCursor,i=void 0!==n&&n;if(!1!==this.visualElement.isPresent){this.panSession=new Qs(e,{onSessionStart:function(e){t.stopAnimation(),i&&t.snapToCursor(qr(e,"page").point)},onStart:function(e,n){var i,r=t.getProps(),a=r.drag,o=r.dragPropagation,s=r.onDragStart;(!a||o||(t.openGlobalLock&&t.openGlobalLock(),t.openGlobalLock=ra(a),t.openGlobalLock))&&(t.isDragging=!0,t.currentDirection=null,t.resolveConstraints(),t.visualElement.projection&&(t.visualElement.projection.isAnimationBlocked=!0,t.visualElement.projection.target=void 0),gl((function(e){var n,i,r=t.getAxisMotionValue(e).get()||0;if(Gi.test(r)){var a=null===(i=null===(n=t.visualElement.projection)||void 0===n?void 0:n.layout)||void 0===i?void 0:i.layoutBox[e];if(a)r=rl(a)*(parseFloat(r)/100)}t.originPoint[e]=r})),null===s||void 0===s||s(e,n),null===(i=t.visualElement.animationState)||void 0===i||i.setActive(Lr.Drag,!0))},onMove:function(e,n){var i=t.getProps(),r=i.dragPropagation,a=i.dragDirectionLock,o=i.onDirectionLock,s=i.onDrag;if(r||t.openGlobalLock){var l=n.offset;if(a&&null===t.currentDirection)return t.currentDirection=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(l),void(null!==t.currentDirection&&(null===o||void 0===o||o(t.currentDirection)));t.updateAxis("x",n.point,l),t.updateAxis("y",n.point,l),t.visualElement.render(),null===s||void 0===s||s(e,n)}},onSessionEnd:function(e,n){return t.stop(e,n)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}}},{key:"stop",value:function(e,t){var n=this.isDragging;if(this.cancel(),n){var i=t.velocity;this.startAnimation(i);var r=this.getProps().onDragEnd;null===r||void 0===r||r(e,t)}}},{key:"cancel",value:function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(Lr.Drag,!1)}},{key:"updateAxis",value:function(e,t,n){var i=this.getProps().drag;if(n&&Fl(e,i,this.currentDirection)){var r=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=function(e,t,n){var i=t.min,r=t.max;return void 0!==i&&e<i?e=n?wo(i,e,n.min):Math.max(e,i):void 0!==r&&e>r&&(e=n?wo(r,e,n.max):Math.min(e,r)),e}(a,this.constraints[e],this.elastic[e])),r.set(a)}}},{key:"resolveConstraints",value:function(){var e=this,t=this.getProps(),n=t.dragConstraints,i=t.dragElastic,r=(this.visualElement.projection||{}).layout,a=this.constraints;n&&ui(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!r)&&function(e,t){var n=t.top,i=t.left,r=t.bottom,a=t.right;return{x:dl(e.x,i,a),y:dl(e.y,n,r)}}(r.layoutBox,n),this.elastic=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:hl;return!1===e?e=0:!0===e&&(e=hl),{x:pl(e,"left","right"),y:pl(e,"top","bottom")}}(i),a!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&gl((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[t],e.constraints[t]))}))}},{key:"resolveRefConstraints",value:function(){var e=this.getProps(),t=e.dragConstraints,n=e.onMeasureDragConstraints;if(!t||!ui(t))return!1;var i=t.current;ho(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var r=this.visualElement.projection;if(!r||!r.layout)return!1;var a=function(e,t,n){var i=Ll(e,n),r=t.scroll;return r&&(Tl(i.x,r.offset.x),Tl(i.y,r.offset.y)),i}(i,r.root,this.visualElement.getTransformPagePoint()),o=function(e,t){return{x:fl(e.x,t.x),y:fl(e.y,t.y)}}(r.layout.layoutBox,a);if(n){var s=n(function(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}(o));this.hasMutatedConstraints=!!s,s&&(o=bl(s))}return o}},{key:"startAnimation",value:function(e){var t=this,n=this.getProps(),i=n.drag,r=n.dragMomentum,a=n.dragElastic,o=n.dragTransition,s=n.dragSnapToOrigin,l=n.onDragTransitionEnd,u=this.constraints||{},c=gl((function(n){if(Fl(n,i,t.currentDirection)){var l=(null===u||void 0===u?void 0:u[n])||{};s&&(l={min:0,max:0});var c=a?200:1e6,d=a?40:1e7,f=ri(ri({type:"inertia",velocity:r?e[n]:0,bounceStiffness:c,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},o),l);return t.startAxisValueAnimation(n,f)}}));return Promise.all(c).then(l)}},{key:"startAxisValueAnimation",value:function(e,t){var n=this.getAxisMotionValue(e);return n.start(Is(e,n,0,t))}},{key:"stopAnimation",value:function(){var e=this;gl((function(t){return e.getAxisMotionValue(t).stop()}))}},{key:"getAxisMotionValue",value:function(e){var t,n="_drag"+e.toUpperCase(),i=this.visualElement.getProps()[n];return i||this.visualElement.getValue(e,(null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])||0)}},{key:"snapToCursor",value:function(e){var t=this;gl((function(n){if(Fl(n,t.getProps().drag,t.currentDirection)){var i=t.visualElement.projection,r=t.getAxisMotionValue(n);if(i&&i.layout){var a=i.layout.layoutBox[n],o=a.min,s=a.max;r.set(e[n]-wo(o,s,.5))}}}))}},{key:"scalePositionWithinConstraints",value:function(){var e,t=this;if(this.visualElement.current){var n=this.getProps(),i=n.drag,r=n.dragConstraints,a=this.visualElement.projection;if(ui(r)&&a&&this.constraints){this.stopAnimation();var o={x:0,y:0};gl((function(e){var n=t.getAxisMotionValue(e);if(n){var i=n.get();o[e]=function(e,t){var n=.5,i=rl(e),r=rl(t);return r>i?n=Mo(t.min,t.max-i,e.min):i>r&&(n=Mo(e.min,e.max-r,t.min)),Fi(0,1,n)}({min:i,max:i},t.constraints[e])}}));var s=this.visualElement.getProps().transformTemplate;this.visualElement.current.style.transform=s?s({},""):"none",null===(e=a.root)||void 0===e||e.updateScroll(),a.updateLayout(),this.resolveConstraints(),gl((function(e){if(Fl(e,i,null)){var n=t.getAxisMotionValue(e),r=t.constraints[e],a=r.min,s=r.max;n.set(wo(a,s,o[e]))}}))}}}},{key:"addListeners",value:function(){var e,t=this;if(this.visualElement.current){jl.set(this.visualElement,this);var n=Zr(this.visualElement.current,"pointerdown",(function(e){var n=t.getProps(),i=n.drag,r=n.dragListener;i&&(void 0===r||r)&&t.start(e)})),i=function(){ui(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},r=this.visualElement.projection,a=r.addEventListener("measure",i);r&&!r.layout&&(null===(e=r.root)||void 0===e||e.updateScroll(),r.updateLayout()),i();var o=Fr(window,"resize",(function(){return t.scalePositionWithinConstraints()})),s=r.addEventListener("didUpdate",(function(e){var n=e.delta,i=e.hasLayoutChanged;t.isDragging&&i&&(gl((function(e){var i=t.getAxisMotionValue(e);i&&(t.originPoint[e]+=n[e].translate,i.set(i.get()+n[e].translate))})),t.visualElement.render())}));return function(){o(),n(),a(),null===s||void 0===s||s()}}}},{key:"getProps",value:function(){var e=this.visualElement.getProps(),t=e.drag,n=void 0!==t&&t,i=e.dragDirectionLock,r=void 0!==i&&i,a=e.dragPropagation,o=void 0!==a&&a,s=e.dragConstraints,l=void 0!==s&&s,u=e.dragElastic,c=void 0===u?hl:u,d=e.dragMomentum,f=void 0===d||d;return ri(ri({},e),{},{drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:l,dragElastic:c,dragMomentum:f})}}]),e}();function Fl(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}var Nl={pan:ba((function(e){var n=e.onPan,i=e.onPanStart,r=e.onPanEnd,a=e.onPanSessionStart,o=e.visualElement,s=n||i||r||a,l=(0,t.useRef)(null),u=(0,t.useContext)(ai).transformPagePoint,c={onSessionStart:a,onStart:i,onMove:n,onEnd:function(e,t){l.current=null,r&&r(e,t)}};(0,t.useEffect)((function(){null!==l.current&&l.current.updateHandlers(c)})),ea(o,"pointerdown",s&&function(e){l.current=new Qs(e,c,{transformPagePoint:u})}),Yn((function(){return l.current&&l.current.end()}))})),drag:ba((function(e){var n=e.dragControls,i=e.visualElement,r=Bn((function(){return new Il(i)}));(0,t.useEffect)((function(){return n&&n.subscribe(r)}),[r,n]),(0,t.useEffect)((function(){return r.addListeners()}),[r])}))};function Vl(e){return"string"===typeof e&&e.startsWith("var(--")}var Bl=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;var Ul=4;function Hl(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;ho(n<=Ul,'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.'));var i=function(e){var t=Bl.exec(e);if(!t)return[,];var n=w(t,3);return[n[1],n[2]]}(e),r=w(i,2),a=r[0],o=r[1];if(a){var s=window.getComputedStyle(t).getPropertyValue(a);return s?s.trim():Vl(o)?Hl(o,t,n+1):o}}function Wl(e,t,n){var i=Object.assign({},(function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),t)),r=e.current;if(!(r instanceof Element))return{target:i,transitionEnd:n};for(var a in n&&(n=ri({},n)),e.values.forEach((function(e){var t=e.get();if(Vl(t)){var n=Hl(t,r);n&&e.set(n)}})),i){var o=i[a];if(Vl(o)){var s=Hl(o,r);s&&(i[a]=s,n&&void 0===n[a]&&(n[a]=o))}}return{target:i,transitionEnd:n}}var ql,$l=new Set(["width","height","top","left","right","bottom","x","y"]),Yl=function(e){return $l.has(e)},Kl=function(e,t){e.set(t,!1),e.set(t)},Gl=function(e){return e===Ni||e===Xi};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(ql||(ql={}));var Xl=function(e,t){return parseFloat(e.split(", ")[t])},Ql=function(e,t){return function(n,i){var r=i.transform;if("none"===r||!r)return 0;var a=r.match(/^matrix3d\((.+)\)$/);if(a)return Xl(a[1],t);var o=r.match(/^matrix\((.+)\)$/);return o?Xl(o[1],e):0}},Jl=new Set(["x","y","z"]),Zl=Ti.filter((function(e){return!Jl.has(e)}));var eu={width:function(e,t){var n=e.x,i=t.paddingLeft,r=void 0===i?"0":i,a=t.paddingRight,o=void 0===a?"0":a;return n.max-n.min-parseFloat(r)-parseFloat(o)},height:function(e,t){var n=e.y,i=t.paddingTop,r=void 0===i?"0":i,a=t.paddingBottom,o=void 0===a?"0":a;return n.max-n.min-parseFloat(r)-parseFloat(o)},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,i=t.top;return parseFloat(i)+(n.max-n.min)},right:function(e,t){var n=e.x,i=t.left;return parseFloat(i)+(n.max-n.min)},x:Ql(4,13),y:Ql(5,14)},tu=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t=ri({},t),i=ri({},i);var r=Object.keys(t).filter(Yl),a=[],o=!1,s=[];if(r.forEach((function(r){var l=e.getValue(r);if(e.hasValue(r)){var u,c=n[r],d=eo(c),f=t[r];if(zr(f)){var h=f.length,p=null===f[0]?1:0;c=f[p],d=eo(c);for(var v=p;v<h;v++)u?ho(eo(f[v])===u,"All keyframes must be of the same type"):(u=eo(f[v]),ho(u===d||Gl(d)&&Gl(u),"Keyframes must be of the same dimension as the current value"))}else u=eo(f);if(d!==u)if(Gl(d)&&Gl(u)){var y=l.get();"string"===typeof y&&l.set(parseFloat(y)),"string"===typeof f?t[r]=parseFloat(f):Array.isArray(f)&&u===Xi&&(t[r]=f.map(parseFloat))}else(null===d||void 0===d?void 0:d.transform)&&(null===u||void 0===u?void 0:u.transform)&&(0===c||0===f)?0===c?l.set(u.transform(c)):t[r]=d.transform(f):(o||(a=function(e){var t=[];return Zl.forEach((function(n){var i=e.getValue(n);void 0!==i&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))})),t.length&&e.render(),t}(e),o=!0),s.push(r),i[r]=void 0!==i[r]?i[r]:t[r],Kl(l,f))}})),s.length){var l=s.indexOf("height")>=0?window.pageYOffset:null,u=function(e,t,n){var i=t.measureViewportBox(),r=t.current,a=getComputedStyle(r),o=a.display,s={};"none"===o&&t.setStaticValue("display",e.display||"block"),n.forEach((function(e){s[e]=eu[e](i,a)})),t.render();var l=t.measureViewportBox();return n.forEach((function(n){var i=t.getValue(n);Kl(i,s[n]),e[n]=eu[n](l,a)})),e}(t,e,s);return a.length&&a.forEach((function(t){var n=w(t,2),i=n[0],r=n[1];e.getValue(i).set(r)})),e.render(),In&&null!==l&&window.scrollTo({top:l}),{target:u,transitionEnd:i}}return{target:t,transitionEnd:i}};function nu(e,t,n,i){return function(e){return Object.keys(e).some(Yl)}(t)?tu(e,t,n,i):{target:t,transitionEnd:i}}var iu={current:null},ru={current:!1};var au=["willChange"],ou=Object.keys(gi),su=ou.length,lu=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],uu=function(){function e(t){var n=this,i=t.parent,r=t.props,a=t.reducedMotionConfig,o=t.visualState,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};l(this,e),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=function(){return n.notify("Update",n.latestValues)},this.render=function(){n.current&&(n.triggerBuild(),n.renderInstance(n.current,n.renderState,n.props.style,n.projection))},this.scheduleRender=function(){return Mn.render(n.render,!1,!0)};var u=o.latestValues,c=o.renderState;this.latestValues=u,this.baseTarget=ri({},u),this.initialValues=r.initial?ri({},u):{},this.renderState=c,this.parent=i,this.props=r,this.depth=i?i.depth+1:0,this.reducedMotionConfig=a,this.options=s,this.isControllingVariants=hi(r),this.isVariantNode=pi(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(i&&i.current);var d=this.scrapeMotionValuesFromProps(r),f=d.willChange,h=dr(d,au);for(var p in h){var v=h[p];void 0!==u[p]&&Ai(v)&&(v.set(u[p],!1),lo(f)&&f.add(p))}}return f(e,[{key:"scrapeMotionValuesFromProps",value:function(e){return{}}},{key:"mount",value:function(e){var t,n=this;this.current=e,this.projection&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=null===(t=this.parent)||void 0===t?void 0:t.addVariantChild(this)),this.values.forEach((function(e,t){return n.bindToMotionValue(t,e)})),ru.current||function(){if(ru.current=!0,In)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return iu.current=e.matches};e.addListener(t),t()}else iu.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||iu.current),this.parent&&this.parent.children.add(this),this.setProps(this.props)}},{key:"unmount",value:function(){var e,t,n;for(var i in null===(e=this.projection)||void 0===e||e.unmount(),Rn.update(this.notifyUpdate),Rn.render(this.render),this.valueSubscriptions.forEach((function(e){return e()})),null===(t=this.removeFromVariantTree)||void 0===t||t.call(this),null===(n=this.parent)||void 0===n||n.children.delete(this),this.events)this.events[i].clear();this.current=null}},{key:"bindToMotionValue",value:function(e,t){var n=this,i=Mi.has(e),r=t.on("change",(function(t){n.latestValues[e]=t,n.props.onUpdate&&Mn.update(n.notifyUpdate,!1,!0),i&&n.projection&&(n.projection.isTransformDirty=!0)})),a=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,(function(){r(),a()}))}},{key:"sortNodePosition",value:function(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}},{key:"loadFeatures",value:function(e,n,i,r,a,o){var s=this,l=[];"production"!==wn&&i&&n&&ho(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var u=0;u<su;u++){var c=ou[u],d=gi[c],f=d.isEnabled,h=d.Component;f(e)&&h&&l.push((0,t.createElement)(h,ri(ri({key:c},e),{},{visualElement:this})))}if(!this.projection&&a){this.projection=new a(r,this.latestValues,this.parent&&this.parent.projection);var p=e.layoutId,v=e.layout,y=e.drag,m=e.dragConstraints,g=e.layoutScroll;this.projection.setOptions({layoutId:p,layout:v,alwaysMeasureLayout:Boolean(y)||m&&ui(m),visualElement:this,scheduleRender:function(){return s.scheduleRender()},animationType:"string"===typeof v?v:"both",initialPromotionConfig:o,layoutScroll:g})}return l}},{key:"triggerBuild",value:function(){this.build(this.renderState,this.latestValues,this.options,this.props)}},{key:"measureViewportBox",value:function(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ml()}},{key:"getStaticValue",value:function(e){return this.latestValues[e]}},{key:"setStaticValue",value:function(e,t){this.latestValues[e]=t}},{key:"makeTargetAnimatable",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.makeTargetAnimatableFromInstance(e,this.props,t)}},{key:"setProps",value:function(e){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=e;for(var t=0;t<lu.length;t++){var n=lu[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);var i=e["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(e,t,n){var i=t.willChange;for(var r in t){var a=t[r],o=n[r];if(Ai(a))e.addValue(r,a),lo(i)&&i.add(r);else if(Ai(o))e.addValue(r,Ta(a,{owner:e})),lo(i)&&i.remove(r);else if(o!==a)if(e.hasValue(r)){var s=e.getValue(r);!s.hasAnimated&&s.set(a)}else{var l=e.getStaticValue(r);e.addValue(r,Ta(void 0!==l?l:a))}}for(var u in n)void 0===t[u]&&e.removeValue(u);return t}(this,this.scrapeMotionValuesFromProps(e),this.prevMotionValues)}},{key:"getProps",value:function(){return this.props}},{key:"getVariant",value:function(e){var t;return null===(t=this.props.variants)||void 0===t?void 0:t[e]}},{key:"getDefaultTransition",value:function(){return this.props.transition}},{key:"getTransformPagePoint",value:function(){return this.props.transformPagePoint}},{key:"getClosestVariantNode",value:function(){var e;return this.isVariantNode?this:null===(e=this.parent)||void 0===e?void 0:e.getClosestVariantNode()}},{key:"getVariantContext",value:function(){var e,t;if(arguments.length>0&&void 0!==arguments[0]&&arguments[0])return null===(e=this.parent)||void 0===e?void 0:e.getVariantContext();if(!this.isControllingVariants){var n=(null===(t=this.parent)||void 0===t?void 0:t.getVariantContext())||{};return void 0!==this.props.initial&&(n.initial=this.props.initial),n}for(var i={},r=0;r<du;r++){var a=cu[r],o=this.props[a];(ci(o)||!1===o)&&(i[a]=o)}return i}},{key:"addVariantChild",value:function(e){var t,n=this.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}}},{key:"addValue",value:function(e,t){this.hasValue(e)&&this.removeValue(e),this.values.set(e,t),this.latestValues[e]=t.get(),this.bindToMotionValue(e,t)}},{key:"removeValue",value:function(e){var t;this.values.delete(e),null===(t=this.valueSubscriptions.get(e))||void 0===t||t(),this.valueSubscriptions.delete(e),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}},{key:"hasValue",value:function(e){return this.values.has(e)}},{key:"getValue",value:function(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];var n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Ta(t,{owner:this}),this.addValue(e,n)),n}},{key:"readValue",value:function(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}},{key:"setBaseTarget",value:function(e,t){this.baseTarget[e]=t}},{key:"getBaseTarget",value:function(e){var t,n=this.props.initial,i="string"===typeof n||"object"===typeof n?null===(t=Pr(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==i)return i;var r=this.getBaseTargetFromProps(this.props,e);return void 0===r||Ai(r)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:r}},{key:"on",value:function(e,t){return this.events[e]||(this.events[e]=new Pa),this.events[e].add(t)}},{key:"notify",value:function(e){for(var t,n,i=arguments.length,r=new Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];null===(n=this.events[e])||void 0===n||(t=n).notify.apply(t,r)}}]),e}(),cu=["initial"].concat(s(Hs)),du=cu.length,fu=["transition","transitionEnd"],hu=function(e){p(n,e);var t=g(n);function n(){return l(this,n),t.apply(this,arguments)}return f(n,[{key:"sortInstanceNodePosition",value:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1}},{key:"getBaseTargetFromProps",value:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]}},{key:"removeValueFromRenderState",value:function(e,t){var n=t.vars,i=t.style;delete n[e],delete i[e]}},{key:"makeTargetAnimatableFromInstance",value:function(e,t,n){var i=e.transition,r=e.transitionEnd,a=dr(e,fu),o=t.transformValues,s=function(e,t,n){var i,r={};for(var a in e){var o=so(a,t);r[a]=void 0!==o?o:null===(i=n.getValue(a))||void 0===i?void 0:i.get()}return r}(a,i||{},this);if(o&&(r&&(r=o(r)),a&&(a=o(a)),s&&(s=o(s))),n){!function(e,t,n){var i,r,a=Object.keys(t).filter((function(t){return!e.hasValue(t)})),o=a.length;if(o)for(var s=0;s<o;s++){var l=a[s],u=t[l],c=null;Array.isArray(u)&&(c=u[0]),null===c&&(c=null!==(r=null!==(i=n[l])&&void 0!==i?i:e.readValue(l))&&void 0!==r?r:t[l]),void 0!==c&&null!==c&&("string"===typeof c&&(Sa(c)||Ca(c))?c=parseFloat(c):!no(c)&&Wa.test(u)&&(c=Qa(l,u)),e.addValue(l,Ta(c,{owner:e})),void 0===n[l]&&(n[l]=c),null!==c&&e.setBaseTarget(l,c))}}(this,a,s);var l=function(e,t,n,i){var r=Wl(e,t,i);return nu(e,t=r.target,n,i=r.transitionEnd)}(this,a,s,r);r=l.transitionEnd,a=l.target}return ri({transition:i,transitionEnd:r},a)}}]),n}(uu);var pu=function(e){p(n,e);var t=g(n);function n(){return l(this,n),t.apply(this,arguments)}return f(n,[{key:"readValueFromInstance",value:function(e,t){if(Mi.has(t)){var n=Xa(t);return n&&n.default||0}var i,r=(i=e,window.getComputedStyle(i)),a=(ji(t)?r.getPropertyValue(t):r[t])||0;return"string"===typeof a?a.trim():a}},{key:"measureInstanceViewportBox",value:function(e,t){return Ll(e,t.transformPagePoint)}},{key:"build",value:function(e,t,n,i){nr(e,t,n,i.transformTemplate)}},{key:"scrapeMotionValuesFromProps",value:function(e){return Er(e)}},{key:"renderInstance",value:function(e,t,n,i){xr(e,t,n,i)}}]),n}(hu);function vu(){return vu="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=v(e)););return e}(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}},vu.apply(this,arguments)}var yu=function(e){p(n,e);var t=g(n);function n(){var e;return l(this,n),(e=t.apply(this,arguments)).isSVGTag=!1,e}return f(n,[{key:"getBaseTargetFromProps",value:function(e,t){return e[t]}},{key:"readValueFromInstance",value:function(e,t){var n;return Mi.has(t)?(null===(n=Xa(t))||void 0===n?void 0:n.default)||0:(t=Sr.has(t)?t:wr(t),e.getAttribute(t))}},{key:"measureInstanceViewportBox",value:function(){return ml()}},{key:"scrapeMotionValuesFromProps",value:function(e){return _r(e)}},{key:"build",value:function(e,t,n,i){yr(e,t,n,this.isSVGTag,i.transformTemplate)}},{key:"renderInstance",value:function(e,t,n,i){Cr(e,t,0,i)}},{key:"mount",value:function(e){this.isSVGTag=gr(e.tagName),vu(v(n.prototype),"mount",this).call(this,e)}}]),n}(hu),mu=function(e,t){return zi(e)?new yu(t,{enableHardwareAcceleration:!1}):new pu(t,{enableHardwareAcceleration:!0})};function gu(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var bu={correct:function(e,t){if(!t.target)return e;if("string"===typeof e){if(!Xi.test(e))return e;e=parseFloat(e)}var n=gu(e,t.target.x),i=gu(e,t.target.y);return"".concat(n,"% ").concat(i,"%")}},ku="_$css",wu={correct:function(e,t){var n=t.treeScale,i=t.projectionDelta,r=e,a=e.includes("var("),o=[];a&&(e=e.replace(Bl,(function(e){return o.push(e),ku})));var s=Wa.parse(e);if(s.length>5)return r;var l=Wa.createTransformer(e),u="number"!==typeof s[0]?1:0,c=i.x.scale*n.x,d=i.y.scale*n.y;s[0+u]/=c,s[1+u]/=d;var f=wo(c,d,.5);"number"===typeof s[2+u]&&(s[2+u]/=f),"number"===typeof s[3+u]&&(s[3+u]/=f);var h=l(s);if(a){var p=0;h=h.replace(ku,(function(){var e=o[p];return p++,e}))}return h}},xu=function(e){p(n,e);var t=g(n);function n(){return l(this,n),t.apply(this,arguments)}return f(n,[{key:"componentDidMount",value:function(){var e,t=this,n=this.props,i=n.visualElement,r=n.layoutGroup,a=n.switchLayoutGroup,o=n.layoutId,s=i.projection;e=Su,Object.assign(Oi,e),s&&(r.group&&r.group.add(s),a&&a.register&&o&&a.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",(function(){t.safeToRemove()})),s.setOptions(ri(ri({},s.options),{},{onExitComplete:function(){return t.safeToRemove()}}))),bi.hasEverUpdated=!0}},{key:"getSnapshotBeforeUpdate",value:function(e){var t=this,n=this.props,i=n.layoutDependency,r=n.visualElement,a=n.drag,o=n.isPresent,s=r.projection;return s?(s.isPresent=o,a||e.layoutDependency!==i||void 0===i?s.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?s.promote():s.relegate()||Mn.postRender((function(){var e;(null===(e=s.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null}},{key:"componentDidUpdate",value:function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.visualElement,n=e.layoutGroup,i=e.switchLayoutGroup,r=t.projection;r&&(r.scheduleCheckAfterUnmount(),(null===n||void 0===n?void 0:n.group)&&n.group.remove(r),(null===i||void 0===i?void 0:i.deregister)&&i.deregister(r))}},{key:"safeToRemove",value:function(){var e=this.props.safeToRemove;null===e||void 0===e||e()}},{key:"render",value:function(){return null}}]),n}(t.Component);var Su={borderRadius:ri(ri({},bu),{},{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:bu,borderTopRightRadius:bu,borderBottomLeftRadius:bu,borderBottomRightRadius:bu,boxShadow:wu},Cu={measureLayout:function(e){var n=w(wa(),2),i=n[0],r=n[1],a=(0,t.useContext)($n);return t.createElement(xu,ri(ri({},e),{},{layoutGroup:a,switchLayoutGroup:(0,t.useContext)(xi),isPresent:i,safeToRemove:r}))}};var Eu=["TopLeft","TopRight","BottomLeft","BottomRight"],_u=Eu.length,Pu=function(e){return"string"===typeof e?parseFloat(e):e},zu=function(e){return"number"===typeof e||Xi.test(e)};function Ou(e,t){return void 0!==e[t]?e[t]:e.borderRadius}var Tu=Ru(0,.5,Bo),Mu=Ru(.5,.95,Lo);function Ru(e,t,n){return function(i){return i<e?0:i>t?1:n(Mo(e,t,i))}}function Au(e,t){e.min=t.min,e.max=t.max}function Du(e,t){Au(e.x,t.x),Au(e.y,t.y)}function Lu(e,t,n,i,r){return e=El(e-=t,1/n,i),void 0!==r&&(e=El(e,1/r,i)),e}function ju(e,t,n,i,r){var a=w(n,3),o=a[0],s=a[1],l=a[2];!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,r=arguments.length>4?arguments[4]:void 0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:e;if(Gi.test(t)&&(t=parseFloat(t),t=wo(o.min,o.max,t/100)-o.min),"number"===typeof t){var s=wo(a.min,a.max,i);e===a&&(s-=t),e.min=Lu(e.min,t,n,s,r),e.max=Lu(e.max,t,n,s,r)}}(e,t[o],t[s],t[l],t.scale,i,r)}var Iu=["x","scaleX","originX"],Fu=["y","scaleY","originY"];function Nu(e,t,n,i){ju(e.x,t,Iu,null===n||void 0===n?void 0:n.x,null===i||void 0===i?void 0:i.x),ju(e.y,t,Fu,null===n||void 0===n?void 0:n.y,null===i||void 0===i?void 0:i.y)}function Vu(e){return 0===e.translate&&1===e.scale}function Bu(e){return Vu(e.x)&&Vu(e.y)}function Uu(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Hu(e){return rl(e.x)/rl(e.y)}var Wu=function(){function e(){l(this,e),this.members=[]}return f(e,[{key:"add",value:function(e){Ea(this.members,e),e.scheduleRender()}},{key:"remove",value:function(e){if(_a(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}}},{key:"relegate",value:function(e){var t,n=this.members.findIndex((function(t){return e===t}));if(0===n)return!1;for(var i=n;i>=0;i--){var r=this.members[i];if(!1!==r.isPresent){t=r;break}}return!!t&&(this.promote(t),!0)}},{key:"promote",value:function(e,t){var n,i=this.lead;e!==i&&(this.prevLead=i,this.lead=e,e.show(),i&&(i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,t&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&i.hide()))}},{key:"exitAnimationComplete",value:function(){this.members.forEach((function(e){var t,n,i,r,a;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(a=null===(i=e.resumingFrom)||void 0===i?void 0:(r=i.options).onExitComplete)||void 0===a||a.call(r)}))}},{key:"scheduleRender",value:function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))}},{key:"removeLeadSnapshot",value:function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}]),e}();function qu(e,t,n){var i="",r=e.x.translate/t.x,a=e.y.translate/t.y;if((r||a)&&(i="translate3d(".concat(r,"px, ").concat(a,"px, 0) ")),1===t.x&&1===t.y||(i+="scale(".concat(1/t.x,", ").concat(1/t.y,") ")),n){var o=n.rotate,s=n.rotateX,l=n.rotateY;o&&(i+="rotate(".concat(o,"deg) ")),s&&(i+="rotateX(".concat(s,"deg) ")),l&&(i+="rotateY(".concat(l,"deg) "))}var u=e.x.scale*t.x,c=e.y.scale*t.y;return 1===u&&1===c||(i+="scale(".concat(u,", ").concat(c,")")),i||"none"}var $u=function(e,t){return e.depth-t.depth},Yu=function(){function e(){l(this,e),this.children=[],this.isDirty=!1}return f(e,[{key:"add",value:function(e){Ea(this.children,e),this.isDirty=!0}},{key:"remove",value:function(e){_a(this.children,e),this.isDirty=!0}},{key:"forEach",value:function(e){this.isDirty&&this.children.sort($u),this.isDirty=!1,this.children.forEach(e)}}]),e}(),Ku=["","X","Y","Z"],Gu=0;function Xu(e){var t=e.attachResizeListener,n=e.defaultParent,i=e.measureScroll,r=e.checkIsScrollRoot,a=e.resetTransform;return function(){function e(t){var i=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null===n||void 0===n?void 0:n();l(this,e),this.id=Gu++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isTransformDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){i.isUpdating&&(i.isUpdating=!1,i.clearAllSnapshots())},this.updateProjection=function(){i.nodes.forEach(Zu),i.nodes.forEach(rc),i.nodes.forEach(ac)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=t,this.latestValues=r,this.root=a?a.root||a:this,this.path=a?[].concat(s(a.path),[a]):[],this.parent=a,this.depth=a?a.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(var o=0;o<this.path.length;o++)this.path[o].shouldResetTransform=!0;this.root===this&&(this.nodes=new Yu)}return f(e,[{key:"addEventListener",value:function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Pa),this.eventHandlers.get(e).add(t)}},{key:"notifyListeners",value:function(e){for(var t=this.eventHandlers.get(e),n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];null===t||void 0===t||t.notify.apply(t,i)}},{key:"hasListeners",value:function(e){return this.eventHandlers.has(e)}},{key:"registerPotentialNode",value:function(e,t){this.potentialNodes.set(e,t)}},{key:"mount",value:function(e){var n,i=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var a=this.options,o=a.layoutId,s=a.layout,l=a.visualElement;if(l&&!l.current&&l.mount(e),this.root.nodes.add(this),null===(n=this.parent)||void 0===n||n.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),r&&(s||o)&&(this.isLayoutDirty=!0),t){var u,c=function(){return i.root.updateBlockedByResize=!1};t(e,(function(){i.root.updateBlockedByResize=!0,u&&u(),u=bs(c,250),bi.hasAnimatedSinceResize&&(bi.hasAnimatedSinceResize=!1,i.nodes.forEach(ic))}))}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&l&&(o||s)&&this.addEventListener("didUpdate",(function(e){var t,n,r,a,o,s=e.delta,u=e.hasLayoutChanged,c=e.hasRelativeTargetChanged,d=e.layout;if(i.isTreeAnimationBlocked())return i.target=void 0,void(i.relativeTarget=void 0);var f=null!==(n=null!==(t=i.options.transition)&&void 0!==t?t:l.getDefaultTransition())&&void 0!==n?n:dc,h=l.getProps(),p=h.onLayoutAnimationStart,v=h.onLayoutAnimationComplete,y=!i.targetLayout||!Uu(i.targetLayout,d)||c,m=!u&&c;if((null===(r=i.resumeFrom)||void 0===r?void 0:r.instance)||m||u&&(y||!i.currentAnimation)){i.resumeFrom&&(i.resumingFrom=i.resumeFrom,i.resumingFrom.resumingFrom=void 0),i.setAnimationOrigin(s,m);var g=ri(ri({},Ts(f,"layout")),{},{onPlay:p,onComplete:v});l.shouldReduceMotion&&(g.delay=0,g.type=!1),i.startAnimation(g)}else u||0!==i.animationProgress||ic(i),i.isLead()&&(null===(o=(a=i.options).onExitComplete)||void 0===o||o.call(a));i.targetLayout=d}))}}},{key:"unmount",value:function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,Rn.preRender(this.updateProjection)}},{key:"blockUpdate",value:function(){this.updateManuallyBlocked=!0}},{key:"unblockUpdate",value:function(){this.updateManuallyBlocked=!1}},{key:"isUpdateBlocked",value:function(){return this.updateManuallyBlocked||this.updateBlockedByResize}},{key:"isTreeAnimationBlocked",value:function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1}},{key:"startUpdate",value:function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(oc),this.animationId++)}},{key:"willUpdate",value:function(){var e,t,n,i=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.root.isUpdateBlocked())null===(t=(e=this.options).onExitComplete)||void 0===t||t.call(e);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var r=0;r<this.path.length;r++){var a=this.path[r];a.shouldResetTransform=!0,a.updateScroll("snapshot")}var o=this.options,s=o.layoutId,l=o.layout;if(void 0!==s||l){var u=null===(n=this.options.visualElement)||void 0===n?void 0:n.getProps().transformTemplate;this.prevTransformTemplateValue=null===u||void 0===u?void 0:u(this.latestValues,""),this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}}}},{key:"didUpdate",value:function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(tc);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(fc),this.potentialNodes.clear()),this.nodes.forEach(nc),this.nodes.forEach(Qu),this.nodes.forEach(Ju),this.clearAllSnapshots(),An.update(),An.preRender(),An.render())}},{key:"clearAllSnapshots",value:function(){this.nodes.forEach(ec),this.sharedNodes.forEach(sc)}},{key:"scheduleUpdateProjection",value:function(){Mn.preRender(this.updateProjection,!1,!0)}},{key:"scheduleCheckAfterUnmount",value:function(){var e=this;Mn.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))}},{key:"updateSnapshot",value:function(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}},{key:"updateLayout",value:function(){var e;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++){this.path[t].updateScroll()}var n=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ml(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox),null===(e=this.options.visualElement)||void 0===e||e.notify("LayoutMeasure",this.layout.layoutBox,null===n||void 0===n?void 0:n.layoutBox)}}},{key:"updateScroll",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:i(this.instance)})}},{key:"resetTransform",value:function(){var e;if(a){var t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!Bu(this.projectionDelta),i=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,r=null===i||void 0===i?void 0:i(this.latestValues,""),o=r!==this.prevTransformTemplateValue;t&&(n||xl(this.latestValues)||o)&&(a(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}}},{key:"measure",value:function(){var e,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=this.measurePageBox(),i=this.removeElementScroll(n);return t&&(i=this.removeTransform(i)),hc((e=i).x),hc(e.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:i,latestValues:{},source:this.id}}},{key:"measurePageBox",value:function(){var e=this.options.visualElement;if(!e)return ml();var t=e.measureViewportBox(),n=this.root.scroll;return n&&(Tl(t.x,n.offset.x),Tl(t.y,n.offset.y)),t}},{key:"removeElementScroll",value:function(e){var t=ml();Du(t,e);for(var n=0;n<this.path.length;n++){var i=this.path[n],r=i.scroll,a=i.options;if(i!==this.root&&r&&a.layoutScroll){if(r.isRoot){Du(t,e);var o=this.root.scroll;o&&(Tl(t.x,-o.offset.x),Tl(t.y,-o.offset.y))}Tl(t.x,r.offset.x),Tl(t.y,r.offset.y)}}return t}},{key:"applyTransform",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=ml();Du(n,e);for(var i=0;i<this.path.length;i++){var r=this.path[i];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Dl(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),xl(r.latestValues)&&Dl(n,r.latestValues)}return xl(this.latestValues)&&Dl(n,this.latestValues),n}},{key:"removeTransform",value:function(e){var t,n=ml();Du(n,e);for(var i=0;i<this.path.length;i++){var r=this.path[i];if(r.instance&&xl(r.latestValues)){wl(r.latestValues)&&r.updateSnapshot();var a=ml();Du(a,r.measurePageBox()),Nu(n,r.latestValues,null===(t=r.snapshot)||void 0===t?void 0:t.layoutBox,a)}}return xl(this.latestValues)&&Nu(n,this.latestValues),n}},{key:"setTargetDelta",value:function(e){this.targetDelta=e,this.isProjectionDirty=!0,this.root.scheduleUpdateProjection()}},{key:"setOptions",value:function(e){this.options=ri(ri(ri({},this.options),e),{},{crossfade:void 0===e.crossfade||e.crossfade})}},{key:"clearMeasurements",value:function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}},{key:"resolveTargetDelta",value:function(){var e,t=this.getLead();if(this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),this.isProjectionDirty||this.attemptToResolveRelativeTarget){var n=this.options,i=n.layout,r=n.layoutId;if(this.layout&&(i||r)){if(!this.targetDelta&&!this.relativeTarget){var a=this.getClosestProjectingParent();a&&a.layout?(this.relativeParent=a,this.relativeTarget=ml(),this.relativeTargetOrigin=ml(),cl(this.relativeTargetOrigin,this.layout.layoutBox,a.layout.layoutBox),Du(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}var o,s,l;if(this.relativeTarget||this.targetDelta)if(this.target||(this.target=ml(),this.targetWithTransforms=ml()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(o=this.target,s=this.relativeTarget,l=this.relativeParent.target,ll(o.x,s.x,l.x),ll(o.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Du(this.target,this.layout.layoutBox),zl(this.target,this.targetDelta)):Du(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;var u=this.getClosestProjectingParent();u&&Boolean(u.resumingFrom)===Boolean(this.resumingFrom)&&!u.options.layoutScroll&&u.target?(this.relativeParent=u,this.relativeTarget=ml(),this.relativeTargetOrigin=ml(),cl(this.relativeTargetOrigin,this.target,u.target),Du(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}}},{key:"getClosestProjectingParent",value:function(){if(this.parent&&!wl(this.parent.latestValues)&&!Sl(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()}},{key:"calcProjection",value:function(){var e,t=this.isProjectionDirty,n=this.isTransformDirty;this.isProjectionDirty=this.isTransformDirty=!1;var i=this.getLead(),r=Boolean(this.resumingFrom)||this!==i,a=!0;if(t&&(a=!1),r&&n&&(a=!1),!a){var o=this.options,s=o.layout,l=o.layoutId;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(s||l)){Du(this.layoutCorrected,this.layout.layoutBox),function(e,t,n){var i,r,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=n.length;if(o){var s,l;t.x=t.y=1;for(var u=0;u<o;u++)l=(s=n[u]).projectionDelta,"contents"!==(null===(r=null===(i=s.instance)||void 0===i?void 0:i.style)||void 0===r?void 0:r.display)&&(a&&s.options.layoutScroll&&s.scroll&&s!==s.root&&Dl(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,zl(e,l)),a&&xl(s.latestValues)&&Dl(e,s.latestValues));t.x=Ol(t.x),t.y=Ol(t.y)}}(this.layoutCorrected,this.treeScale,this.path,r);var u=i.target;if(u){this.projectionDelta||(this.projectionDelta=yl(),this.projectionDeltaWithTransform=yl());var c=this.treeScale.x,d=this.treeScale.y,f=this.projectionTransform;sl(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.projectionTransform=qu(this.projectionDelta,this.treeScale),this.projectionTransform===f&&this.treeScale.x===c&&this.treeScale.y===d||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u))}}}}},{key:"hide",value:function(){this.isVisible=!1}},{key:"show",value:function(){this.isVisible=!0}},{key:"scheduleRender",value:function(){var e,t,n,i=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];null===(t=(e=this.options).scheduleRender)||void 0===t||t.call(e),i&&(null===(n=this.getStack())||void 0===n||n.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}},{key:"setAnimationOrigin",value:function(e){var t,n,i=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=this.snapshot,o=(null===a||void 0===a?void 0:a.latestValues)||{},s=ri({},this.latestValues),l=yl();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!r;var u=ml(),c=(null===a||void 0===a?void 0:a.source)!==(null===(t=this.layout)||void 0===t?void 0:t.source),d=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,f=Boolean(c&&!d&&!0===this.options.crossfade&&!this.path.some(cc));this.animationProgress=0,this.mixTargetDelta=function(t){var n,r,a,h,p,v=t/1e3;lc(l.x,e.x,v),lc(l.y,e.y,v),i.setTargetDelta(l),i.relativeTarget&&i.relativeTargetOrigin&&i.layout&&(null===(n=i.relativeParent)||void 0===n?void 0:n.layout)&&(cl(u,i.layout.layoutBox,i.relativeParent.layout.layoutBox),r=i.relativeTarget,a=i.relativeTargetOrigin,h=u,p=v,uc(r.x,a.x,h.x,p),uc(r.y,a.y,h.y,p)),c&&(i.animationValues=s,function(e,t,n,i,r,a){r?(e.opacity=wo(0,void 0!==n.opacity?n.opacity:1,Tu(i)),e.opacityExit=wo(void 0!==t.opacity?t.opacity:1,0,Mu(i))):a&&(e.opacity=wo(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(var o=0;o<_u;o++){var s="border".concat(Eu[o],"Radius"),l=Ou(t,s),u=Ou(n,s);void 0===l&&void 0===u||(l||(l=0),u||(u=0),0===l||0===u||zu(l)===zu(u)?(e[s]=Math.max(wo(Pu(l),Pu(u),i),0),(Gi.test(u)||Gi.test(l))&&(e[s]+="%")):e[s]=u)}(t.rotate||n.rotate)&&(e.rotate=wo(t.rotate||0,n.rotate||0,i))}(s,o,i.latestValues,v,f,d)),i.root.scheduleUpdateProjection(),i.scheduleRender(),i.animationProgress=v},this.mixTargetDelta(0)}},{key:"startAnimation",value:function(e){var t,n,i=this;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(Rn.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Mn.update((function(){bi.hasAnimatedSinceResize=!0,i.currentAnimation=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Ai(e)?e:Ta(e);return i.start(Is("",i,t,n)),{stop:function(){return i.stop()},isAnimating:function(){return i.isAnimating()}}}(0,1e3,ri(ri({},e),{},{onUpdate:function(t){var n;i.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),i.completeAnimation()}})),i.resumingFrom&&(i.resumingFrom.currentAnimation=i.currentAnimation),i.pendingAnimation=void 0}))}},{key:"completeAnimation",value:function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}},{key:"finishAnimation",value:function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()}},{key:"applyTransformsToTarget",value:function(){var e=this.getLead(),t=e.targetWithTransforms,n=e.target,i=e.layout,r=e.latestValues;if(t&&n&&i){if(this!==e&&this.layout&&i&&pc(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||ml();var a=rl(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+a;var o=rl(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+o}Du(t,n),Dl(t,r),sl(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}},{key:"registerSharedNode",value:function(e,t){var n,i,r;this.sharedNodes.has(e)||this.sharedNodes.set(e,new Wu),this.sharedNodes.get(e).add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(r=null===(i=t.options.initialPromotionConfig)||void 0===i?void 0:i.shouldPreserveFollowOpacity)||void 0===r?void 0:r.call(i,t)})}},{key:"isLead",value:function(){var e=this.getStack();return!e||e.lead===this}},{key:"getLead",value:function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}},{key:"getPrevLead",value:function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}},{key:"getStack",value:function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)}},{key:"promote",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.needsReset,n=e.transition,i=e.preserveFollowOpacity,r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),n&&this.setOptions({transition:n})}},{key:"relegate",value:function(){var e=this.getStack();return!!e&&e.relegate(this)}},{key:"resetRotation",value:function(){var e=this.options.visualElement;if(e){var t=!1,n=e.latestValues;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),t){for(var i={},r=0;r<Ku.length;r++){var a="rotate"+Ku[r];n[a]&&(i[a]=n[a],e.setStaticValue(a,0))}for(var o in null===e||void 0===e||e.render(),i)e.setStaticValue(o,i[o]);e.scheduleRender()}}}},{key:"getProjectionStyles",value:function(){var e,t,n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";var a=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=Mr(i.pointerEvents)||"",r.transform=a?a(this.latestValues,""):"none",r;var o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){var s={};return this.options.layoutId&&(s.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,s.pointerEvents=Mr(i.pointerEvents)||""),this.hasProjected&&!xl(this.latestValues)&&(s.transform=a?a({},""):"none",this.hasProjected=!1),s}var l=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=qu(this.projectionDeltaWithTransform,this.treeScale,l),a&&(r.transform=a(l,r.transform));var u=this.projectionDelta,c=u.x,d=u.y;for(var f in r.transformOrigin="".concat(100*c.origin,"% ").concat(100*d.origin,"% 0"),o.animationValues?r.opacity=o===this?null!==(n=null!==(t=l.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:l.opacityExit:r.opacity=o===this?void 0!==l.opacity?l.opacity:"":void 0!==l.opacityExit?l.opacityExit:0,Oi)if(void 0!==l[f]){var h=Oi[f],p=h.correct,v=h.applyTo,y=p(l[f],o);if(v)for(var m=v.length,g=0;g<m;g++)r[v[g]]=y;else r[f]=y}return this.options.layoutId&&(r.pointerEvents=o===this?Mr(i.pointerEvents)||"":"none"),r}},{key:"clearSnapshot",value:function(){this.resumeFrom=this.snapshot=void 0}},{key:"resetTree",value:function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(tc),this.root.sharedNodes.clear()}}]),e}()}function Qu(e){e.updateLayout()}function Ju(e){var t,n,i,r=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){var a=e.layout,o=a.layoutBox,s=a.measuredBox,l=e.options.animationType,u=r.source!==e.layout.source;"size"===l?gl((function(e){var t=u?r.measuredBox[e]:r.layoutBox[e],n=rl(t);t.min=o[e].min,t.max=t.min+n})):pc(l,r.layoutBox,o)&&gl((function(e){var t=u?r.measuredBox[e]:r.layoutBox[e],n=rl(o[e]);t.max=t.min+n}));var c=yl();sl(c,o,r.layoutBox);var d=yl();u?sl(d,e.applyTransform(s,!0),r.measuredBox):sl(d,o,r.layoutBox);var f=!Bu(c),h=!1;if(!e.resumeFrom){var p=e.getClosestProjectingParent();if(p&&!p.resumeFrom){var v=p.snapshot,y=p.layout;if(v&&y){var m=ml();cl(m,r.layoutBox,v.layoutBox);var g=ml();cl(g,o,y.layoutBox),Uu(m,g)||(h=!0)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:r,delta:d,layoutDelta:c,hasLayoutChanged:f,hasRelativeTargetChanged:h})}else e.isLead()&&(null===(i=(n=e.options).onExitComplete)||void 0===i||i.call(n));e.options.transition=void 0}function Zu(e){e.isProjectionDirty||(e.isProjectionDirty=Boolean(e.parent&&e.parent.isProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=Boolean(e.parent&&e.parent.isTransformDirty))}function ec(e){e.clearSnapshot()}function tc(e){e.clearMeasurements()}function nc(e){var t=e.options.visualElement;(null===t||void 0===t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ic(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function rc(e){e.resolveTargetDelta()}function ac(e){e.calcProjection()}function oc(e){e.resetRotation()}function sc(e){e.removeLeadSnapshot()}function lc(e,t,n){e.translate=wo(t.translate,0,n),e.scale=wo(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function uc(e,t,n,i){e.min=wo(t.min,n.min,i),e.max=wo(t.max,n.max,i)}function cc(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var dc={duration:.45,ease:[.4,0,.1,1]};function fc(e,t){for(var n=e.root,i=e.path.length-1;i>=0;i--)if(Boolean(e.path[i].instance)){n=e.path[i];break}var r=(n&&n!==e.root?n.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));r&&e.mount(r,!0)}function hc(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function pc(e,t,n){return"position"===e||"preserve-aspect"===e&&!al(Hu(t),Hu(n),.2)}var vc=Xu({attachResizeListener:function(e,t){return Fr(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),yc={current:void 0},mc=Xu({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!yc.current){var e=new vc(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),yc.current=e}return yc.current},resetTransform:function(e,t){e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:function(e){return Boolean("fixed"===window.getComputedStyle(e).position)}}),gc=ri(ri(ri(ri({},Gs),ka),Nl),Cu),bc=_i((function(e,t){return function(e,t,n,i,r){var a=t.forwardMotionProps,o=void 0!==a&&a;return ri(ri({},zi(e)?jr:Ir),{},{preloadedFeatures:n,useRender:kr(o),createVisualElement:i,projectionNodeConstructor:r,Component:e})}(e,t,gc,mu,mc)}));function kc(){return kc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},kc.apply(this,arguments)}function wc(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}var xc=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],Sc=["aria-current","caseSensitive","className","end","style","to","children"];function Cc(e){var n,i=e.basename,r=e.children,a=e.window,o=t.useRef();null==o.current&&(o.current=(void 0===(n={window:a,v5Compat:!0})&&(n={}),A((function(e,t){var n=e.location;return T("",{pathname:n.pathname,search:n.search,hash:n.hash},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:M(t)}),null,n)));var s=o.current,l=w(t.useState({action:s.action,location:s.location}),2),u=l[0],c=l[1];return t.useLayoutEffect((function(){return s.listen(c)}),[s]),t.createElement(Le,{basename:i,children:r,location:u.location,navigationType:u.action,navigator:s})}var Ec="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,_c=t.forwardRef((function(e,n){var i=e.onClick,r=e.relative,a=e.reloadDocument,o=e.replace,s=e.state,l=e.target,u=e.to,c=e.preventScrollReset,d=wc(e,xc),f="string"===typeof u?u:M(u),h=/^[a-z+]+:\/\//i.test(f)||f.startsWith("//"),p=f,v=!1;if(Ec&&h){var y=new URL(window.location.href),m=f.startsWith("//")?new URL(y.protocol+f):new URL(f);m.origin===y.origin?p=m.pathname+m.search+m.hash:v=!0}var g=function(e,n){var i=(void 0===n?{}:n).relative;we()||z(!1);var r=t.useContext(me),a=r.basename,o=r.navigator,s=Ce(e,{relative:i}),l=s.hash,u=s.pathname,c=s.search,d=u;return"/"!==a&&(d="/"===u?a:Z([a,u])),o.createHref({pathname:d,search:c,hash:l})}(p,{relative:r}),b=function(e,n){var i=void 0===n?{}:n,r=i.target,a=i.replace,o=i.state,s=i.preventScrollReset,l=i.relative,u=Se(),c=xe(),d=Ce(e,{relative:l});return t.useCallback((function(t){if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,r)){t.preventDefault();var n=void 0!==a?a:M(c)===M(d);u(e,{replace:n,state:o,preventScrollReset:s,relative:l})}}),[c,u,d,a,o,r,e,s,l])}(p,{replace:o,state:s,target:l,preventScrollReset:c,relative:r});return t.createElement("a",kc({},d,{href:h?f:g,onClick:v||a?i:function(e){i&&i(e),e.defaultPrevented||b(e)},ref:n,target:l}))}));var Pc=t.forwardRef((function(e,n){var i=e["aria-current"],r=void 0===i?"page":i,a=e.caseSensitive,o=void 0!==a&&a,s=e.className,l=void 0===s?"":s,u=e.end,c=void 0!==u&&u,d=e.style,f=e.to,h=e.children,p=wc(e,Sc),v=Ce(f,{relative:p.relative}),y=xe(),m=t.useContext(ve),g=t.useContext(me).navigator,b=g.encodeLocation?g.encodeLocation(v).pathname:v.pathname,k=y.pathname,w=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;o||(k=k.toLowerCase(),w=w?w.toLowerCase():null,b=b.toLowerCase());var x,S=k===b||!c&&k.startsWith(b)&&"/"===k.charAt(b.length),C=null!=w&&(w===b||!c&&w.startsWith(b)&&"/"===w.charAt(b.length)),E=S?r:void 0;x="function"===typeof l?l({isActive:S,isPending:C}):[l,S?"active":null,C?"pending":null].filter(Boolean).join(" ");var _="function"===typeof d?d({isActive:S,isPending:C}):d;return t.createElement(_c,kc({},p,{"aria-current":E,className:x,ref:n,style:_,to:f}),"function"===typeof h?h({isActive:S,isPending:C}):h)}));var zc,Oc;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(zc||(zc={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Oc||(Oc={}));var Tc,Mc,Rc,Ac,Dc,Lc,jc,Ic,Fc,Nc,Vc,Bc,Uc,Hc,Wc,qc,$c,Yc,Kc=n(184),Gc=gn.h1(Tc||(Tc=Zn(["\ndisplay: inline-block;\ncolor: ",";\nfont-family: 'Pacifico',cursive;\n\nposition: fixed;\nleft: 2rem;\ntop: 2rem;\nz-index:3;\n"])),(function(e){return"dark"===e.color?kn.text:kn.body})),Xc=function(e){return(0,Kc.jsx)(Gc,{color:e.theme,children:"DSO"})},Qc=function(e){return(0,Kc.jsx)("svg",ri(ri({"aria-hidden":"true","data-prefix":"fas","data-icon":"power-off",className:"prefix__svg-inline--fa prefix__fa-power-off prefix__fa-w-16",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),{},{children:(0,Kc.jsx)("path",{fill:e.fill,d:"M400 54.1c63 45 104 118.6 104 201.9 0 136.8-110.8 247.7-247.5 248C120 504.3 8.2 393 8 256.4 7.9 173.1 48.9 99.3 111.8 54.2c11.7-8.3 28-4.8 35 7.7L162.6 90c5.9 10.5 3.1 23.8-6.6 31-41.5 30.8-68 79.6-68 134.9-.1 92.3 74.5 168.1 168 168.1 91.6 0 168.6-74.2 168-169.1-.3-51.8-24.7-101.8-68.1-134-9.7-7.2-12.4-20.5-6.5-30.9l15.8-28.1c7-12.4 23.2-16.1 34.8-7.8zM296 264V24c0-13.3-10.7-24-24-24h-32c-13.3 0-24 10.7-24 24v240c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24z"})}))},Jc=function(e){return(0,Kc.jsx)("svg",ri(ri({"aria-hidden":"true","data-prefix":"fab","data-icon":"github",className:"prefix__svg-inline--fa prefix__fa-github prefix__fa-w-16",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 496 512"},e),{},{children:(0,Kc.jsx)("path",{fill:e.fill,d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"})}))},Zc=function(e){return(0,Kc.jsx)("svg",ri(ri({"aria-hidden":"true","data-prefix":"fab","data-icon":"twitter",className:"prefix__svg-inline--fa prefix__fa-twitter prefix__fa-w-16",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),{},{children:(0,Kc.jsx)("path",{fill:e.fill,d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"})}))},ed=function(e){return(0,Kc.jsx)("svg",ri(ri({"aria-hidden":"true","data-prefix":"fab","data-icon":"facebook",className:"prefix__svg-inline--fa prefix__fa-facebook prefix__fa-w-16",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),{},{children:(0,Kc.jsx)("path",{fill:e.fill,d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"})}))},td=function(e){return(0,Kc.jsx)("svg",ri(ri({"aria-hidden":"true","data-prefix":"fab","data-icon":"youtube",className:"prefix__svg-inline--fa prefix__fa-youtube prefix__fa-w-18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},e),{},{children:(0,Kc.jsx)("path",{fill:e.fill,d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"})}))},nd=function(e){return(0,Kc.jsx)("svg",ri(ri({"aria-hidden":"true","data-prefix":"fas","data-icon":"yin-yang",className:"prefix__svg-inline--fa prefix__fa-yin-yang prefix__fa-w-16",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 496 512"},e),{},{children:(0,Kc.jsx)("path",{fill:e.fill,d:"M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 376c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-128c-53.02 0-96 42.98-96 96s42.98 96 96 96c-106.04 0-192-85.96-192-192S141.96 64 248 64c53.02 0 96 42.98 96 96s-42.98 96-96 96zm0-128c-17.67 0-32 14.33-32 32s14.33 32 32 32 32-14.33 32-32-14.33-32-32-32z"})}))},id=function(e){return(0,Kc.jsx)("svg",ri(ri({"aria-hidden":"true","data-prefix":"fas","data-icon":"anchor",className:"prefix__svg-inline--fa prefix__fa-anchor prefix__fa-w-18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},e),{},{children:(0,Kc.jsx)("path",{fill:e.fill,d:"M12.971 352h32.394C67.172 454.735 181.944 512 288 512c106.229 0 220.853-57.38 242.635-160h32.394c10.691 0 16.045-12.926 8.485-20.485l-67.029-67.029c-4.686-4.686-12.284-4.686-16.971 0l-67.029 67.029c-7.56 7.56-2.206 20.485 8.485 20.485h35.146c-20.29 54.317-84.963 86.588-144.117 94.015V256h52c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-52v-5.47c37.281-13.178 63.995-48.725 64-90.518C384.005 43.772 341.605.738 289.37.01 235.723-.739 192 42.525 192 96c0 41.798 26.716 77.35 64 90.53V192h-52c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h52v190.015c-58.936-7.399-123.82-39.679-144.117-94.015h35.146c10.691 0 16.045-12.926 8.485-20.485l-67.029-67.029c-4.686-4.686-12.284-4.686-16.971 0L4.485 331.515C-3.074 339.074 2.28 352 12.971 352zM288 64c17.645 0 32 14.355 32 32s-14.355 32-32 32-32-14.355-32-32 14.355-32 32-32z"})}))},rd=function(e){return(0,Kc.jsx)("svg",ri(ri({"aria-hidden":"true","data-prefix":"fas","data-icon":"link",className:"prefix__svg-inline--fa prefix__fa-link prefix__fa-w-16",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),{},{children:(0,Kc.jsx)("path",{fill:e.fill,d:"M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 01-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0120.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0020.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 00-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"})}))},ad=function(e){return(0,Kc.jsx)("svg",ri(ri({"aria-hidden":"true","data-prefix":"fas","data-icon":"laptop-code",className:"prefix__svg-inline--fa prefix__fa-laptop-code prefix__fa-w-20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},e),{},{children:(0,Kc.jsx)("path",{fill:e.fill,d:"M255.03 261.65c6.25 6.25 16.38 6.25 22.63 0l11.31-11.31c6.25-6.25 6.25-16.38 0-22.63L253.25 192l35.71-35.72c6.25-6.25 6.25-16.38 0-22.63l-11.31-11.31c-6.25-6.25-16.38-6.25-22.63 0l-58.34 58.34c-6.25 6.25-6.25 16.38 0 22.63l58.35 58.34zm96.01-11.3l11.31 11.31c6.25 6.25 16.38 6.25 22.63 0l58.34-58.34c6.25-6.25 6.25-16.38 0-22.63l-58.34-58.34c-6.25-6.25-16.38-6.25-22.63 0l-11.31 11.31c-6.25 6.25-6.25 16.38 0 22.63L386.75 192l-35.71 35.72c-6.25 6.25-6.25 16.38 0 22.63zM624 416H381.54c-.74 19.81-14.71 32-32.74 32H288c-18.69 0-33.02-17.47-32.77-32H16c-8.8 0-16 7.2-16 16v16c0 35.2 28.8 64 64 64h512c35.2 0 64-28.8 64-64v-16c0-8.8-7.2-16-16-16zM576 48c0-26.4-21.6-48-48-48H112C85.6 0 64 21.6 64 48v336h512V48zm-64 272H128V64h384v256z"})}))},od=gn.button(Mc||(Mc=Zn(["\nposition: fixed;\ntop: 2rem;\nleft: 50%;\ntransform: translate(-50%, 0);\n\nbackground-color: #FCF6F4;\npadding: 0.3rem;\nborder-radius: 50%;\nborder: 1px solid #000;\nwidth: 2.5rem;\nheight: 2.5rem;\n\ndisplay: flex;\njustify-content: center;\nalign-items:center;\nz-index:3;\n\ncursor: pointer;\n\n&:hover{\n background-color: rgba(0,255,0,0.4);\n box-shadow: 0 0 8px 6px rgba(0,255,0,0.2);\n}\n\n&>*:first-child{\n text-decoration: none;\n color: inherit;\n}\n"]))),sd=function(){return(0,Kc.jsx)(od,{children:(0,Kc.jsx)(Pc,{to:"/",children:(0,Kc.jsx)(Qc,{width:30,height:30,fill:"currentColor"})})})},ld=gn.div(Rc||(Rc=Zn(["\n display: flex;\n flex-direction: column;\n align-items: center;\n\n position: fixed;\n bottom: 0;\n left: 2rem;\n\n z-index: 3;\n\n & > *:not(:last-child) {\n margin: 0.5rem 0;\n }\n"]))),ud=gn(bc.span)(Ac||(Ac=Zn(["\n width: 2px;\n height: 8rem;\n background-color: ",";\n"])),(function(e){return"dark"===e.color?kn.text:kn.body})),cd=function(e){return(0,Kc.jsxs)(ld,{children:[(0,Kc.jsx)(bc.div,{initial:{scale:0},animate:{scale:[0,1,1.5,1]},transition:{type:"spring",duration:1,delay:1},children:(0,Kc.jsx)("a",{style:{color:"inherit"},target:"_blank",href:"https://git.klxhub.com/thanapat.t",children:(0,Kc.jsx)(Jc,{width:25,height:25,fill:"dark"===e.theme?kn.text:kn.body})})}),(0,Kc.jsx)(bc.div,{initial:{scale:0},animate:{scale:[0,1,1.5,1]},transition:{type:"spring",duration:1,delay:1.2},children:(0,Kc.jsx)("a",{style:{color:"inherit"},target:"_blank",href:"https://x.com/NarukCatty",children:(0,Kc.jsx)(Zc,{width:25,height:25,fill:"dark"===e.theme?kn.text:kn.body})})}),(0,Kc.jsx)(bc.div,{initial:{scale:0},animate:{scale:[0,1,1.5,1]},transition:{type:"spring",duration:1,delay:1.4},children:(0,Kc.jsx)("a",{style:{color:"inherit"},target:"_blank",href:"https://www.facebook.com/thanapat.taweerat",children:(0,Kc.jsx)(ed,{width:25,height:25,fill:"dark"===e.theme?kn.text:kn.body})})}),(0,Kc.jsx)(bc.div,{initial:{scale:0},animate:{scale:[0,1,1.5,1]},transition:{type:"spring",duration:1,delay:1.6},children:(0,Kc.jsx)("a",{style:{color:"inherit"},target:"_blank",href:"https://www.youtube.com/@klxhuntz",children:(0,Kc.jsx)(td,{width:25,height:25,fill:"dark"===e.theme?kn.text:kn.body})})}),(0,Kc.jsx)(ud,{color:e.theme,initial:{height:0},animate:{height:"8rem"},transition:{type:"spring",duration:1,delay:.8}})]})},dd=n.p+"static/media/profile-img.5d5f6af9aa98aaa4efc6.png",fd=gn(bc.div)(Dc||(Dc=Zn(["\n\nposition: absolute;\nleft: 50%;\ntop: 50%;\ntransform: translate(-50%, -50%);\n\n\nwidth: 65vw;\nheight:55vh;\ndisplay: flex;\n\n\nbackground: linear-gradient(\n to right,\n "," 50%,\n "," 50%) bottom,\n linear-gradient(\n to right,\n "," 50%,\n "," 50%) top;\n background-repeat: no-repeat;\nbackground-size: 100% 2px;\n border-left: 2px solid ",";\n border-right: 2px solid ",";\n\n\n z-index:1;\n\n"])),(function(e){return e.theme.body}),(function(e){return e.theme.text}),(function(e){return e.theme.body}),(function(e){return e.theme.text}),(function(e){return e.theme.body}),(function(e){return e.theme.text})),hd=gn.div(Lc||(Lc=Zn(["\nwidth: 50%;\nposition: relative;\ndisplay: flex;\n\n.pic{\n position: absolute;\n bottom: 0;\n left: 50%;\n transform: translate(-50%,0%);\n width: 100%;\n height: auto;\n}\n"]))),pd=gn.div(jc||(jc=Zn(["\nfont-size: calc(1em + 1.5vw);\ncolor: ",";\npadding: 2rem;\ncursor: pointer;\n\ndisplay: flex;\nflex-direction: column;\njustify-content: space-evenly;\n\n&>*:last-child{\n color: ",";\n font-size: calc(0.5rem + 1.5vw);\n font-weight:300;\n\n}\n\n\n\n"])),(function(e){return e.theme.body}),(function(e){return"rgba(".concat(e.theme.bodyRgba,",0.6)")})),vd=function(){return(0,Kc.jsxs)(fd,{initial:{height:0},animate:{height:"55vh"},transition:{type:"spring",duration:2,delay:1},children:[(0,Kc.jsx)(hd,{children:(0,Kc.jsxs)(pd,{children:[(0,Kc.jsx)("h1",{children:"Hi,"}),(0,Kc.jsx)("h3",{children:"I'm DevSecOps."}),(0,Kc.jsx)("h6",{children:"I Implement and Design strong Infrastructure."})]})}),(0,Kc.jsx)(hd,{children:(0,Kc.jsx)(bc.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:2},children:(0,Kc.jsx)("img",{className:"pic",src:dd,alt:"Profile Pic"})})})]})},yd=gn.div(Ic||(Ic=Zn(["\nbackground: ",";\nwidth: 100vw;\nheight: 100vh;\noverflow:hidden;\n\nposition: relative;\n\nh2,h3,h4,h5,h6{\n font-family:'Karla', sans-serif ;\n font-weight:500;\n}\n"])),(function(e){return e.theme.body})),md=gn.div(Fc||(Fc=Zn(["\npadding: 2rem;\n"]))),gd=gn.a(Nc||(Nc=Zn(["\ncolor: ",";\nposition: absolute;\ntop: 2rem;\nright: calc(1rem + 2vw);\ntext-decoration: none;\nz-index:1;\n"])),(function(e){return e.theme.text})),bd=gn(Pc)(Vc||(Vc=Zn(["\ncolor: ",";\nposition: absolute;\ntop: 50%;\nright: calc(1rem + 2vw);\ntransform: rotate(90deg) translate(-50%, -50%);\ntext-decoration: none;\nz-index:1;\n"])),(function(e){return e.theme.text})),kd=gn(Pc)(Bc||(Bc=Zn(["\ncolor: ",";\n\nposition: absolute;\ntop: 50%;\nleft: calc(1rem + 2vw);\ntransform: translate(-50%, -50%) rotate(-90deg) ;\ntext-decoration: none;\nz-index:1;\n"])),(function(e){return e.click?e.theme.body:e.theme.text})),wd=gn.div(Uc||(Uc=Zn(["\nposition: absolute;\nbottom: 1rem;\nleft: 0;\nright: 0;\nwidth: 100%;\n\ndisplay: flex;\njustify-content: space-evenly;\n"]))),xd=gn(Pc)(Hc||(Hc=Zn(["\ncolor: ",";\ntext-decoration: none;\nz-index:1;\n"])),(function(e){return e.click?e.theme.body:e.theme.text})),Sd=gn(Pc)(Wc||(Wc=Zn(["\ncolor: ",";\ntext-decoration: none;\nz-index:1;\n"])),(function(e){return e.theme.text})),Cd=mn(qc||(qc=Zn(["\nfrom{\n transform: rotate(0);\n}\nto{\n transform: rotate(360deg);\n}\n"]))),Ed=gn.button($c||($c=Zn(["\nposition: absolute;\ntop: ",";\nleft: ",";\ntransform: translate(-50%,-50%);\nborder: none;\noutline: none;\nbackground-color: transparent;\ncursor: pointer;\n\ndisplay: flex;\nflex-direction: column;\njustify-content: center;\nalign-items: center;\ntransition: all 1s ease;\n\n&>:first-child{\n animation: "," infinite 1.5s linear;\n}\n\n&>:last-child{\n display: ",";\n padding-top: 1rem;\n}\n"])),(function(e){return e.click?"85%":"50%"}),(function(e){return e.click?"92%":"50%"}),Cd,(function(e){return e.click?"none":"inline-block"})),_d=gn.div(Yc||(Yc=Zn(["\nposition: absolute;\ntop: 0;\nbackground-color: #000;\nbottom: 0;\nright: 50%;\nwidth: ",";\nheight: ",";\nz-index:1;\ntransition: height 0.5s ease, width 1s ease 0.5s;\n"])),(function(e){return e.click?"50%":"0%"}),(function(e){return e.click?"100%":"0%"})),Pd=function(){var e=w((0,t.useState)(!1),2),n=e[0],i=e[1];return(0,Kc.jsxs)(yd,{children:[(0,Kc.jsx)(_d,{click:n}),(0,Kc.jsxs)(md,{children:[(0,Kc.jsx)(sd,{}),(0,Kc.jsx)(Xc,{theme:n?"dark":"light"}),(0,Kc.jsx)(cd,{theme:n?"dark":"light"}),(0,Kc.jsxs)(Ed,{click:n,children:[(0,Kc.jsx)(nd,{onClick:function(){return i(!n)},width:n?120:200,height:n?120:200,fill:"currentColor"}),(0,Kc.jsx)("span",{children:"click here"})]}),(0,Kc.jsx)(gd,{target:"_blank",href:"mailto:thanapat@klxhub.com",children:(0,Kc.jsx)(bc.h2,{initial:{y:-200,transition:{type:"spring",duration:1.5,delay:1}},animate:{y:0,transition:{type:"spring",duration:1.5,delay:1}},whileHover:{scale:1.1},whileTap:{scale:.9},children:"KLxWorld"})}),(0,Kc.jsx)(bd,{to:"/experimentation",children:(0,Kc.jsx)(bc.h2,{initial:{y:-200,transition:{type:"spring",duration:1.5,delay:1}},animate:{y:0,transition:{type:"spring",duration:1.5,delay:1}},whileHover:{scale:1.1},whileTap:{scale:.9},children:"Experimentation"})}),(0,Kc.jsx)(kd,{to:"/work",click:+n,children:(0,Kc.jsx)(bc.h2,{initial:{y:-200,transition:{type:"spring",duration:1.5,delay:1}},animate:{y:0,transition:{type:"spring",duration:1.5,delay:1}},whileHover:{scale:1.1},whileTap:{scale:.9},children:"Work"})}),(0,Kc.jsxs)(wd,{children:[(0,Kc.jsx)(xd,{to:"/about",click:+n,children:(0,Kc.jsx)(bc.h2,{initial:{y:200,transition:{type:"spring",duration:1.5,delay:1}},animate:{y:0,transition:{type:"spring",duration:1.5,delay:1}},whileHover:{scale:1.1},whileTap:{scale:.9},children:"About."})}),(0,Kc.jsx)(Sd,{to:"/skills",children:(0,Kc.jsx)(bc.h2,{initial:{y:200,transition:{type:"spring",duration:1.5,delay:1}},animate:{y:0,transition:{type:"spring",duration:1.5,delay:1}},whileHover:{scale:1.1},whileTap:{scale:.9},children:"My Skills."})})]})]}),n?(0,Kc.jsx)(vd,{click:n}):null]})};function zd(){zd=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(O){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var a=t&&t.prototype instanceof h?t:h,o=Object.create(a.prototype),s=new _(r||[]);return i(o,"_invoke",{value:x(e,n,s)}),o}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(O){return{type:"throw",arg:O}}}e.wrap=c;var f={};function h(){}function p(){}function v(){}var y={};l(y,a,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(P([])));g&&g!==t&&n.call(g,a)&&(y=g);var b=v.prototype=h.prototype=Object.create(y);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(i,a,o,s){var l=d(e[i],e,a);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==u(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,o,s)}),(function(e){r("throw",e,o,s)})):t.resolve(f).then((function(e){c.value=e,o(c)}),(function(e){return r("throw",e,o,s)}))}s(l.arg)}var a;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){r(e,n,t,i)}))}return a=a?a.then(i,i):i()}})}function x(e,t,n){var i="suspendedStart";return function(r,a){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw a;return z()}for(n.method=r,n.arg=a;;){var o=n.delegate;if(o){var s=S(o,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=d(e,t,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}function S(e,t){var n=t.method,i=e.iterator[n];if(void 0===i)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var r=d(i,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function P(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,r=function t(){for(;++i<e.length;)if(n.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:z}}function z(){return{value:void 0,done:!0}}return p.prototype=v,i(b,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:p,configurable:!0}),p.displayName=l(v,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,s,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},k(w.prototype),l(w.prototype,o,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,i,r,a){void 0===a&&(a=Promise);var o=new w(c(t,n,i,r),a);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},k(b),l(b,s,"Generator"),l(b,a,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var i in t)n.push(i);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},e.values=P,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function i(n,i){return o.type="throw",o.arg=e,t.next=n,i&&(t.method="next",t.arg=void 0),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r],o=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(s&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;E(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function Od(e,t,n,i,r,a,o){try{var s=e[a](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(i,r)}function Td(e){return function(){var t=this,n=arguments;return new Promise((function(i,r){var a=e.apply(t,n);function o(e){Od(a,i,r,o,s,"next",e)}function s(e){Od(a,i,r,o,s,"throw",e)}o(void 0)}))}}var Md=JSON.parse('{"particles":{"number":{"value":100,"density":{"enable":true,"value_area":800}},"color":{"value":"#fcf6f4"},"shape":{"type":"circle","stroke":{"width":0,"color":"#000000"},"polygon":{"nb_sides":5},"image":{"src":"img/github.svg","width":100,"height":100}},"opacity":{"value":1,"random":true,"anim":{"enable":true,"speed":1,"opacity_min":0,"sync":false}},"size":{"value":3,"random":true,"anim":{"enable":true,"speed":3,"size_min":0.4,"sync":false}},"line_linked":{"enable":false,"distance":150,"color":"#ffffff","opacity":0.4,"width":1},"move":{"enable":true,"speed":3,"direction":"none","random":true,"straight":false,"out_mode":"out","bounce":false,"attract":{"enable":false,"rotateX":600,"rotateY":600}}},"interactivity":{"detect_on":"canvas","events":{"onhover":{"enable":false,"mode":"bubble"},"onclick":{"enable":true,"mode":"repulse"},"resize":true},"modes":{"grab":{"distance":400,"line_linked":{"opacity":1}},"bubble":{"distance":250,"size":0,"duration":2,"opacity":0,"speed":3},"repulse":{"distance":400,"duration":0.4},"push":{"particles_nb":4},"remove":{"particles_nb":2}}},"retina_detect":true}'),Rd=JSON.parse('{"particles":{"number":{"value":80,"density":{"enable":true,"value_area":800}},"color":{"value":"#000000"},"shape":{"type":"circle","stroke":{"width":0,"color":"#000000"},"polygon":{"nb_sides":5},"image":{"src":"img/github.svg","width":100,"height":100}},"opacity":{"value":0.5,"random":false,"anim":{"enable":false,"speed":1,"opacity_min":0.1,"sync":false}},"size":{"value":3,"random":true,"anim":{"enable":false,"speed":40,"size_min":0.1,"sync":false}},"line_linked":{"enable":true,"distance":150,"color":"#000000","opacity":0.4,"width":1},"move":{"enable":true,"speed":6,"direction":"none","random":false,"straight":false,"out_mode":"out","bounce":false,"attract":{"enable":false,"rotateX":600,"rotateY":1200}}},"interactivity":{"detect_on":"canvas","events":{"onhover":{"enable":true,"mode":"repulse"},"onclick":{"enable":true,"mode":"push"},"resize":true},"modes":{"grab":{"distance":400,"line_linked":{"opacity":1}},"bubble":{"distance":400,"size":40,"duration":2,"opacity":8,"speed":3},"repulse":{"distance":200,"duration":0.4},"push":{"particles_nb":4},"remove":{"particles_nb":2}}},"retina_detect":true}'),Ad=function(){function e(){l(this,e),this._listeners=new Map}return f(e,[{key:"addEventListener",value:function(e,t){var n;this.removeEventListener(e,t),this._listeners.get(e)||this._listeners.set(e,[]),null===(n=this._listeners.get(e))||void 0===n||n.push(t)}},{key:"dispatchEvent",value:function(e,t){var n;null===(n=this._listeners.get(e))||void 0===n||n.forEach((function(e){return e(t)}))}},{key:"hasEventListener",value:function(e){return!!this._listeners.get(e)}},{key:"removeAllEventListeners",value:function(e){e?this._listeners.delete(e):this._listeners=new Map}},{key:"removeEventListener",value:function(e,t){var n=this._listeners.get(e);if(n){var i=n.length,r=n.indexOf(t);r<0||(1===i?this._listeners.delete(e):n.splice(r,1))}}}]),e}(),Dd=function(){function e(t,n,i){if(l(this,e),"number"!==typeof t&&t){this.x=t.x,this.y=t.y;var r=t;this.z=r.z?r.z:0}else{if(void 0===t||void 0===n)throw new Error("tsParticles - Vector3d not initialized correctly");this.x=t,this.y=n,this.z=null!==i&&void 0!==i?i:0}}return f(e,[{key:"angle",get:function(){return Math.atan2(this.y,this.x)},set:function(e){this.updateFromAngle(e,this.length)}},{key:"length",get:function(){return Math.sqrt(this.getLengthSq())},set:function(e){this.updateFromAngle(this.angle,e)}},{key:"add",value:function(t){return e.create(this.x+t.x,this.y+t.y,this.z+t.z)}},{key:"addTo",value:function(e){this.x+=e.x,this.y+=e.y,this.z+=e.z}},{key:"copy",value:function(){return e.clone(this)}},{key:"distanceTo",value:function(e){return this.sub(e).length}},{key:"distanceToSq",value:function(e){return this.sub(e).getLengthSq()}},{key:"div",value:function(t){return e.create(this.x/t,this.y/t,this.z/t)}},{key:"divTo",value:function(e){this.x/=e,this.y/=e,this.z/=e}},{key:"getLengthSq",value:function(){return Math.pow(this.x,2)+Math.pow(this.y,2)}},{key:"mult",value:function(t){return e.create(this.x*t,this.y*t,this.z*t)}},{key:"multTo",value:function(e){this.x*=e,this.y*=e,this.z*=e}},{key:"rotate",value:function(t){return e.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),0)}},{key:"setTo",value:function(e){this.x=e.x,this.y=e.y;var t=e;this.z=t.z?t.z:0}},{key:"sub",value:function(t){return e.create(this.x-t.x,this.y-t.y,this.z-t.z)}},{key:"subFrom",value:function(e){this.x-=e.x,this.y-=e.y,this.z-=e.z}},{key:"updateFromAngle",value:function(e,t){this.x=Math.cos(e)*t,this.y=Math.sin(e)*t}}],[{key:"origin",get:function(){return e.create(0,0,0)}},{key:"clone",value:function(t){return e.create(t.x,t.y,t.z)}},{key:"create",value:function(t,n,i){return new e(t,n,i)}}]),e}(),Ld=function(e){p(n,e);var t=g(n);function n(e,i){return l(this,n),t.call(this,e,i,0)}return f(n,null,[{key:"origin",get:function(){return n.create(0,0)}},{key:"clone",value:function(e){return n.create(e.x,e.y)}},{key:"create",value:function(e,t){return new n(e,t)}}]),n}(Dd),jd=Math.random,Id=new Map;function Fd(e){return Id.get(e)||function(e){return e}}function Nd(){return Vd(jd(),0,1-1e-16)}function Vd(e,t,n){return Math.min(Math.max(e,t),n)}function Bd(e,t,n,i){return Math.floor((e*n+t*i)/(n+i))}function Ud(e){var t=qd(e),n=Wd(e);return t===n&&(n=0),Nd()*(t-n)+n}function Hd(e){return"number"===typeof e?e:Ud(e)}function Wd(e){return"number"===typeof e?e:e.min}function qd(e){return"number"===typeof e?e:e.max}function $d(e,t){if(e===t||void 0===t&&"number"===typeof e)return e;var n=Wd(e),i=qd(e);return void 0!==t?{min:Math.min(n,t),max:Math.max(i,t)}:$d(n,i)}function Yd(e){var t=e.random,n="boolean"===typeof t?{enable:t,minimumValue:0}:t,i=n.enable,r=n.minimumValue;return Hd(i?$d(e.value,r):e.value)}function Kd(e,t){var n=e.x-t.x,i=e.y-t.y;return{dx:n,dy:i,distance:Math.sqrt(Math.pow(n,2)+Math.pow(i,2))}}function Gd(e,t){return Kd(e,t).distance}function Xd(e,t,n,i){return Ld.create(e.x*(n-i)/(n+i)+2*t.x*i/(n+i),e.y)}function Qd(e){var t,n,i,r;return{x:(null!==(n=null===(t=e.position)||void 0===t?void 0:t.x)&&void 0!==n?n:100*Nd())*e.size.width/100,y:(null!==(r=null===(i=e.position)||void 0===i?void 0:i.y)&&void 0!==r?r:100*Nd())*e.size.height/100}}function Jd(e){var t,n,i={x:void 0!==(null===(t=e.position)||void 0===t?void 0:t.x)?Hd(e.position.x):void 0,y:void 0!==(null===(n=e.position)||void 0===n?void 0:n.y)?Hd(e.position.y):void 0};return Qd({size:e.size,position:i})}function Zd(e){var t,n,i,r;return{x:null!==(n=null===(t=e.position)||void 0===t?void 0:t.x)&&void 0!==n?n:Nd()*e.size.width,y:null!==(r=null===(i=e.position)||void 0===i?void 0:i.y)&&void 0!==r?r:Nd()*e.size.height}}function ef(e){return e?e.endsWith("%")?parseFloat(e)/100:parseFloat(e):1}function tf(e,t,n,i,r,a){var o={bounced:!1};return t.min<i.min||t.min>i.max||t.max<i.min||t.max>i.max||(e.max>=n.min&&e.max<=(n.max+n.min)/2&&r>0||e.min<=n.max&&e.min>(n.max+n.min)/2&&r<0)&&(o.velocity=r*-a,o.bounced=!0),o}function nf(){return"undefined"===typeof window||!window||"undefined"===typeof window.document||!window.document}function rf(e){if(!nf()&&"undefined"!==typeof matchMedia)return matchMedia(e)}function af(e,t){return e===t||t instanceof Array&&t.indexOf(e)>-1}function of(e,t){return sf.apply(this,arguments)}function sf(){return(sf=Td(zd().mark((function e(t,n){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,document.fonts.load("".concat(null!==n&&void 0!==n?n:"400"," 36px '").concat(null!==t&&void 0!==t?t:"Verdana","'"));case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})))).apply(this,arguments)}function lf(e){return Math.floor(Nd()*e.length)}function uf(e,t){return e[void 0!==t&&(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])?t%e.length:lf(e)]}function cf(e,t,n,i,r){return function(e,t,n,i){var r=!0;i&&"bottom"!==i||(r=e.top<t.height+n.x);!r||i&&"left"!==i||(r=e.right>n.x);!r||i&&"right"!==i||(r=e.left<t.width+n.y);!r||i&&"top"!==i||(r=e.bottom>n.y);return r}(df(e,null!==i&&void 0!==i?i:0),t,n,r)}function df(e,t){return{bottom:e.y+t,left:e.x-t,right:e.x+t,top:e.y-t}}function ff(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];if(void 0!==o&&null!==o)if("object"===typeof o){var s=Array.isArray(o);!s||"object"===typeof e&&e&&Array.isArray(e)?s||"object"===typeof e&&e&&!Array.isArray(e)||(e={}):e=[];var l=function(t){if("__proto__"===t)return"continue";var n=o[t],i="object"===typeof n,r=e;r[t]=i&&Array.isArray(n)?n.map((function(e){return ff(r[t],e)})):ff(r[t],n)};for(var u in o)l(u)}else e=o}return e}function hf(e,t){return!!wf(t,(function(t){return t.enable&&af(e,t.mode)}))}function pf(e,t,n){bf(t,(function(t){var i=t.mode;t.enable&&af(e,i)&&function(e,t){var n=e.selectors;bf(n,(function(n){t(n,e)}))}(t,n)}))}function vf(e,t){if(t&&e)return wf(e,(function(e){return function(e,t){var n=bf(t,(function(t){return e.matches(t)}));return n instanceof Array?n.some((function(e){return e})):n}(t,e.selectors)}))}function yf(e){return{position:e.getPosition(),radius:e.getRadius(),mass:e.getMass(),velocity:e.velocity,factor:Ld.create(Yd(e.options.bounce.horizontal),Yd(e.options.bounce.vertical))}}function mf(e,t){var n=e.velocity.sub(t.velocity),i=n.x,r=n.y,a=[e.position,t.position],o=Kd(a[1],a[0]),s=o.dx,l=o.dy;if(!(i*s+r*l<0)){var u=-Math.atan2(l,s),c=e.mass,d=t.mass,f=e.velocity.rotate(u),h=t.velocity.rotate(u),p=Xd(f,h,c,d),v=Xd(h,f,c,d),y=p.rotate(-u),m=v.rotate(-u);e.velocity.x=y.x*e.factor.x,e.velocity.y=y.y*e.factor.y,t.velocity.x=m.x*t.factor.x,t.velocity.y=m.y*t.factor.y}}function gf(e,t){var n=df(e.getPosition(),e.getRadius()),i=tf({min:n.left,max:n.right},{min:n.top,max:n.bottom},{min:t.left,max:t.right},{min:t.top,max:t.bottom},e.velocity.x,Yd(e.options.bounce.horizontal));i.bounced&&(void 0!==i.velocity&&(e.velocity.x=i.velocity),void 0!==i.position&&(e.position.x=i.position));var r=tf({min:n.top,max:n.bottom},{min:n.left,max:n.right},{min:t.top,max:t.bottom},{min:t.left,max:t.right},e.velocity.y,Yd(e.options.bounce.vertical));r.bounced&&(void 0!==r.velocity&&(e.velocity.y=r.velocity),void 0!==r.position&&(e.position.y=r.position))}function bf(e,t){return e instanceof Array?e.map((function(e,n){return t(e,n)})):t(e,0)}function kf(e,t,n){return e instanceof Array?uf(e,t,n):e}function wf(e,t){return e instanceof Array?e.find((function(e,n){return t(e,n)})):t(e,0)?e:void 0}var xf="random",Sf="mid",Cf=new Map;function Ef(e){Cf.set(e.key,e)}function _f(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Pf(e){var t,n=C(Cf);try{for(n.s();!(t=n.n()).done;){var i=w(t.value,2)[1];if(e.startsWith(i.stringPrefix))return i.parseString(e)}}catch(o){n.e(o)}finally{n.f()}var r=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,(function(e,t,n,i,r){return t+t+n+n+i+i+(void 0!==r?r+r:"")})),a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i.exec(r);return a?{a:void 0!==a[4]?parseInt(a[4],16)/255:1,b:parseInt(a[3],16),g:parseInt(a[2],16),r:parseInt(a[1],16)}:void 0}function zf(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e){var i="string"===typeof e?{value:e}:e;if("string"===typeof i.value)return Of(i.value,t,n);if(i.value instanceof Array)return zf({value:uf(i.value,t,n)});var r,a=C(Cf);try{for(a.s();!(r=a.n()).done;){var o=w(r.value,2)[1].handleRangeColor(i);if(o)return o}}catch(s){a.e(s)}finally{a.f()}}}function Of(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e){var i="string"===typeof e?{value:e}:e;if("string"===typeof i.value)return i.value===xf?Af():function(e){return Pf(e)}(i.value);if(i.value instanceof Array)return Of({value:uf(i.value,t,n)});var r,a=C(Cf);try{for(a.s();!(r=a.n()).done;){var o=w(r.value,2)[1].handleColor(i);if(o)return o}}catch(s){a.e(s)}finally{a.f()}}}function Tf(e,t){var n=zf(e,t,!(arguments.length>2&&void 0!==arguments[2])||arguments[2]);return n?Mf(n):void 0}function Mf(e){var t=e.r/255,n=e.g/255,i=e.b/255,r=Math.max(t,n,i),a=Math.min(t,n,i),o={h:0,l:(r+a)/2,s:0};return r!==a&&(o.s=o.l<.5?(r-a)/(r+a):(r-a)/(2-r-a),o.h=t===r?(n-i)/(r-a):o.h=n===r?2+(i-t)/(r-a):4+(t-n)/(r-a)),o.l*=100,o.s*=100,o.h*=60,o.h<0&&(o.h+=360),o.h>=360&&(o.h-=360),o}function Rf(e){var t={b:0,g:0,r:0},n={h:e.h/360,l:e.l/100,s:e.s/100};if(n.s){var i=n.l<.5?n.l*(1+n.s):n.l+n.s-n.l*n.s,r=2*n.l-i;t.r=_f(r,i,n.h+1/3),t.g=_f(r,i,n.h),t.b=_f(r,i,n.h-1/3)}else t.b=n.l,t.g=n.l,t.r=n.l;return t.r=Math.floor(255*t.r),t.g=Math.floor(255*t.g),t.b=Math.floor(255*t.b),t}function Af(e){var t=null!==e&&void 0!==e?e:0;return{b:Math.floor(Ud($d(t,256))),g:Math.floor(Ud($d(t,256))),r:Math.floor(Ud($d(t,256)))}}function Df(e,t){return"rgba(".concat(e.r,", ").concat(e.g,", ").concat(e.b,", ").concat(null!==t&&void 0!==t?t:1,")")}function Lf(e,t){return"hsla(".concat(e.h,", ").concat(e.s,"%, ").concat(e.l,"%, ").concat(null!==t&&void 0!==t?t:1,")")}function jf(e,t,n,i){var r=e,a=t;return void 0===r.r&&(r=Rf(e)),void 0===a.r&&(a=Rf(t)),{b:Bd(r.b,a.b,n,i),g:Bd(r.g,a.g,n,i),r:Bd(r.r,a.r,n,i)}}function If(e,t,n){var i,r;if(n===xf)return Af();if(n!==Sf)return n;var a=null!==(i=e.getFillColor())&&void 0!==i?i:e.getStrokeColor(),o=null!==(r=null===t||void 0===t?void 0:t.getFillColor())&&void 0!==r?r:null===t||void 0===t?void 0:t.getStrokeColor();if(a&&o&&t)return jf(a,o,e.getRadius(),t.getRadius());var s=null!==a&&void 0!==a?a:o;return s?Rf(s):void 0}function Ff(e,t,n){var i="string"===typeof e?e:e.value;return i===xf?n?zf({value:i}):t?xf:Sf:i===Sf?Sf:zf({value:i})}function Nf(e){return void 0!==e?{h:e.h.value,s:e.s.value,l:e.l.value}:void 0}function Vf(e,t,n){var i={h:{enable:!1,value:e.h},s:{enable:!1,value:e.s},l:{enable:!1,value:e.l}};return t&&(Bf(i.h,t.h,n),Bf(i.s,t.s,n),Bf(i.l,t.l,n)),i}function Bf(e,t,n){e.enable=t.enable,e.enable?(e.velocity=Hd(t.speed)/100*n,e.decay=1-Hd(t.decay),e.status="increasing",e.loops=0,e.maxLoops=Hd(t.count),t.sync||(e.velocity*=Nd(),e.value*=Nd()),e.initialValue=e.value):e.velocity=0}function Uf(e,t,n){e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(n.x,n.y),e.closePath()}function Hf(e,t){e.clearRect(0,0,t.width,t.height)}var Wf="generated",qf="touchend",$f="pointermove",Yf="pointerleave";function Kf(e,t,n){var i,r=t[n];void 0!==r&&(e[n]=(null!==(i=e[n])&&void 0!==i?i:1)*r)}var Gf=function(){function e(t){var n=this;l(this,e),this.container=t,this.size={height:0,width:0},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[],this._mutationObserver=nf()||"undefined"===typeof MutationObserver?void 0:new MutationObserver((function(e){var t,i=C(e);try{for(i.s();!(t=i.n()).done;){var r=t.value;"attributes"===r.type&&"style"===r.attributeName&&n._repairStyle()}}catch(a){i.e(a)}finally{i.f()}}))}return f(e,[{key:"_fullScreen",get:function(){return this.container.actualOptions.fullScreen.enable}},{key:"clear",value:function(){var e=this,t=this.container.actualOptions,n=t.particles.move.trail,i=this._trailFill;t.backgroundMask.enable?this.paint():n.enable&&n.length>0&&i?i.color?this._paintBase(Df(i.color,i.opacity)):i.image&&this._paintImage(i.image,i.opacity):this.draw((function(t){Hf(t,e.size)}))}},{key:"destroy",value:function(){var e,t,n=this;null===(e=this._mutationObserver)||void 0===e||e.disconnect(),this._generated?null===(t=this.element)||void 0===t||t.remove():this._resetOriginalStyle(),this.draw((function(e){Hf(e,n.size)})),this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}},{key:"draw",value:function(e){if(this._context)return e(this._context)}},{key:"drawParticle",value:function(e,t){var n,i=this;if(!e.spawning&&!e.destroyed){var r=e.getRadius();if(!(r<=0)){var a=e.getFillColor(),o=null!==(n=e.getStrokeColor())&&void 0!==n?n:a,s=w(this._getPluginParticleColors(e),2),l=s[0],u=s[1];l||(l=a),u||(u=o),(l||u)&&this.draw((function(n){var a,o,s,c,d=i.container.actualOptions,f=e.options.zIndex,h=Math.pow(1-e.zIndexFactor,f.opacityRate),p=null!==(s=null!==(a=e.bubble.opacity)&&void 0!==a?a:null===(o=e.opacity)||void 0===o?void 0:o.value)&&void 0!==s?s:1,v=p*h,y=(null!==(c=e.strokeOpacity)&&void 0!==c?c:p)*h,m={},g={fill:l?Lf(l,v):void 0};g.stroke=u?Lf(u,y):g.fill,i._applyPreDrawUpdaters(n,e,r,v,g,m),function(e){var t,n,i,r,a,o=e.container,s=e.context,l=e.particle,u=e.delta,c=e.colorStyles,d=e.backgroundMask,f=e.composite,h=e.radius,p=e.opacity,v=e.shadow,y=e.transform,m=l.getPosition(),g=l.rotation+(l.pathRotation?l.velocity.angle:0),b=Math.sin(g),k=Math.cos(g),w={a:k*(null!==(t=y.a)&&void 0!==t?t:1),b:b*(null!==(n=y.b)&&void 0!==n?n:1),c:-b*(null!==(i=y.c)&&void 0!==i?i:1),d:k*(null!==(r=y.d)&&void 0!==r?r:1)};s.setTransform(w.a,w.b,w.c,w.d,m.x,m.y),s.beginPath(),d&&(s.globalCompositeOperation=f);var x=l.shadowColor;v.enable&&x&&(s.shadowBlur=v.blur,s.shadowColor=Df(x),s.shadowOffsetX=v.offset.x,s.shadowOffsetY=v.offset.y),c.fill&&(s.fillStyle=c.fill);var S=null!==(a=l.strokeWidth)&&void 0!==a?a:0;s.lineWidth=S,c.stroke&&(s.strokeStyle=c.stroke),function(e,t,n,i,r,a){if(n.shape){var o=e.drawers.get(n.shape);o&&o.draw(t,n,i,r,a,e.retina.pixelRatio)}}(o,s,l,h,p,u),S>0&&s.stroke(),l.close&&s.closePath(),l.fill&&s.fill(),function(e,t,n,i,r,a){if(n.shape){var o=e.drawers.get(n.shape);(null===o||void 0===o?void 0:o.afterEffect)&&o.afterEffect(t,n,i,r,a,e.retina.pixelRatio)}}(o,s,l,h,p,u),s.globalCompositeOperation="source-over",s.setTransform(1,0,0,1,0,0)}({container:i.container,context:n,particle:e,delta:t,colorStyles:g,backgroundMask:d.backgroundMask.enable,composite:d.backgroundMask.composite,radius:r*Math.pow(1-e.zIndexFactor,f.sizeRate),opacity:v,shadow:e.options.shadow,transform:m}),i._applyPostDrawUpdaters(e)}))}}}},{key:"drawParticlePlugin",value:function(e,t,n){this.draw((function(i){!function(e,t,n,i){t.drawParticle&&t.drawParticle(e,n,i)}(i,e,t,n)}))}},{key:"drawPlugin",value:function(e,t){this.draw((function(n){!function(e,t,n){t.draw&&t.draw(e,n)}(n,e,t)}))}},{key:"init",value:function(){var e=Td(zd().mark((function e(){var t;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.resize(),this._initStyle(),this._initCover(),e.prev=3,e.next=6,this._initTrail();case 6:e.next=11;break;case 8:e.prev=8,e.t0=e.catch(3),console.error(e.t0);case 11:this.initBackground(),this.element&&(null===(t=this._mutationObserver)||void 0===t||t.observe(this.element,{attributes:!0})),this.initUpdaters(),this.initPlugins(),this.paint();case 16:case"end":return e.stop()}}),e,this,[[3,8]])})));return function(){return e.apply(this,arguments)}}()},{key:"initBackground",value:function(){var e=this.container.actualOptions.background,t=this.element,n=null===t||void 0===t?void 0:t.style;if(n){if(e.color){var i=zf(e.color);n.backgroundColor=i?Df(i,e.opacity):""}else n.backgroundColor="";n.backgroundImage=e.image||"",n.backgroundPosition=e.position||"",n.backgroundRepeat=e.repeat||"",n.backgroundSize=e.size||""}}},{key:"initPlugins",value:function(){this._resizePlugins=[];var e,t=C(this.container.plugins);try{for(t.s();!(e=t.n()).done;){var n=w(e.value,2)[1];n.resize&&this._resizePlugins.push(n),(n.particleFillColor||n.particleStrokeColor)&&this._colorPlugins.push(n)}}catch(i){t.e(i)}finally{t.f()}}},{key:"initUpdaters",value:function(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];var e,t=C(this.container.particles.updaters);try{for(t.s();!(e=t.n()).done;){var n=e.value;n.afterDraw&&this._postDrawUpdaters.push(n),(n.getColorStyles||n.getTransformValues||n.beforeDraw)&&this._preDrawUpdaters.push(n)}}catch(i){t.e(i)}finally{t.f()}}},{key:"loadCanvas",value:function(e){var t,n;this._generated&&(null===(t=this.element)||void 0===t||t.remove()),this._generated=e.dataset&&Wf in e.dataset?"true"===e.dataset[Wf]:this._generated,this.element=e,this.element.ariaHidden="true",this._originalStyle=ff({},this.element.style),this.size.height=e.offsetHeight,this.size.width=e.offsetWidth,this._context=this.element.getContext("2d"),null===(n=this._mutationObserver)||void 0===n||n.observe(this.element,{attributes:!0}),this.container.retina.init(),this.initBackground()}},{key:"paint",value:function(){var e=this,t=this.container.actualOptions;this.draw((function(n){t.backgroundMask.enable&&t.backgroundMask.cover?(Hf(n,e.size),e._paintBase(e._coverColorStyle)):e._paintBase()}))}},{key:"resize",value:function(){if(this.element){var e=this.container,t=e.retina.pixelRatio,n=e.canvas.size,i=this.element.offsetWidth*t,r=this.element.offsetHeight*t;if(r!==n.height||i!==n.width||r!==this.element.height||i!==this.element.width){var a=Object.assign({},n);this.element.width=n.width=this.element.offsetWidth*t,this.element.height=n.height=this.element.offsetHeight*t,this.container.started&&(this.resizeFactor={width:n.width/a.width,height:n.height/a.height})}}}},{key:"windowResize",value:function(){var e=Td(zd().mark((function e(){var t,n;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.element){e.next=2;break}return e.abrupt("return");case 2:if(this.resize(),t=this.container,n=t.updateActualOptions(),t.particles.setDensity(),this._applyResizePlugins(),!n){e.next=9;break}return e.next=9,t.refresh();case 9:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"_applyPostDrawUpdaters",value:function(e){var t,n,i=C(this._postDrawUpdaters);try{for(i.s();!(n=i.n()).done;){var r=n.value;null===(t=r.afterDraw)||void 0===t||t.call(r,e)}}catch(a){i.e(a)}finally{i.f()}}},{key:"_applyPreDrawUpdaters",value:function(e,t,n,i,r,a){var o,s,l=C(this._preDrawUpdaters);try{for(l.s();!(s=l.n()).done;){var u=s.value;if(u.getColorStyles){var c=u.getColorStyles(t,e,n,i),d=c.fill,f=c.stroke;d&&(r.fill=d),f&&(r.stroke=f)}if(u.getTransformValues){var h=u.getTransformValues(t);for(var p in h)Kf(a,h,p)}null===(o=u.beforeDraw)||void 0===o||o.call(u,t)}}catch(v){l.e(v)}finally{l.f()}}},{key:"_applyResizePlugins",value:function(){var e,t=C(this._resizePlugins);try{for(t.s();!(e=t.n()).done;){var n=e.value;n.resize&&n.resize()}}catch(i){t.e(i)}finally{t.f()}}},{key:"_getPluginParticleColors",value:function(e){var t,n,i,r=C(this._colorPlugins);try{for(r.s();!(i=r.n()).done;){var a=i.value;if(!t&&a.particleFillColor&&(t=Tf(a.particleFillColor(e))),!n&&a.particleStrokeColor&&(n=Tf(a.particleStrokeColor(e))),t&&n)break}}catch(o){r.e(o)}finally{r.f()}return[t,n]}},{key:"_initCover",value:function(){var e=this.container.actualOptions.backgroundMask.cover,t=zf(e.color);if(t){var n={r:t.r,g:t.g,b:t.b,a:e.opacity};this._coverColorStyle=Df(n,n.a)}}},{key:"_initStyle",value:function(){var e=this.element,t=this.container.actualOptions;if(e)for(var n in this._fullScreen?(this._originalStyle=ff({},e.style),this._setFullScreenStyle()):this._resetOriginalStyle(),t.style)if(n&&t.style){var i=t.style[n];i&&e.style.setProperty(n,i,"important")}}},{key:"_initTrail",value:function(){var e=Td(zd().mark((function e(){var t,n,i,r,a,o=this;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.container.actualOptions,n=t.particles.move.trail,i=n.fill,n.enable){e.next=3;break}return e.abrupt("return");case 3:if(!i.color){e.next=11;break}if(r=zf(i.color)){e.next=7;break}return e.abrupt("return");case 7:a=t.particles.move.trail,this._trailFill={color:Object.assign({},r),opacity:1/a.length},e.next=13;break;case 11:return e.next=13,new Promise((function(e,t){if(i.image){var r=document.createElement("img");r.addEventListener("load",(function(){o._trailFill={image:r,opacity:1/n.length},e()})),r.addEventListener("error",(function(e){t(e.error)})),r.src=i.image}}));case 13:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"_paintBase",value:function(e){var t=this;this.draw((function(n){!function(e,t,n){e.fillStyle=null!==n&&void 0!==n?n:"rgba(0,0,0,0)",e.fillRect(0,0,t.width,t.height)}(n,t.size,e)}))}},{key:"_paintImage",value:function(e,t){var n=this;this.draw((function(i){!function(e,t,n,i){n&&(e.globalAlpha=i,e.drawImage(n,0,0,t.width,t.height),e.globalAlpha=1)}(i,n.size,e,t)}))}},{key:"_repairStyle",value:function(){var e,t,n=this.element;n&&(null===(e=this._mutationObserver)||void 0===e||e.disconnect(),this._initStyle(),this.initBackground(),null===(t=this._mutationObserver)||void 0===t||t.observe(n,{attributes:!0}))}},{key:"_resetOriginalStyle",value:function(){var e=this.element,t=this._originalStyle;e&&t&&(e.style.position=t.position,e.style.zIndex=t.zIndex,e.style.top=t.top,e.style.left=t.left,e.style.width=t.width,e.style.height=t.height)}},{key:"_setFullScreenStyle",value:function(){var e=this.element;if(e){var t="important";e.style.setProperty("position","fixed",t),e.style.setProperty("z-index",this.container.actualOptions.fullScreen.zIndex.toString(10),t),e.style.setProperty("top","0",t),e.style.setProperty("left","0",t),e.style.setProperty("width","100%",t),e.style.setProperty("height","100%",t)}}}]),e}();function Xf(e,t,n,i,r){if(i){var a={passive:!0};"boolean"===typeof r?a.capture=r:void 0!==r&&(a=r),e.addEventListener(t,n,a)}else{var o=r;e.removeEventListener(t,n,o)}}var Qf=function(){function e(t){var n=this;l(this,e),this.container=t,this.canPush=!0,this.handlers={mouseMove:function(e){return n.mouseTouchMove(e)},touchStart:function(e){return n.mouseTouchMove(e)},touchMove:function(e){return n.mouseTouchMove(e)},touchEnd:function(){return n.mouseTouchFinish()},mouseLeave:function(){return n.mouseTouchFinish()},touchCancel:function(){return n.mouseTouchFinish()},touchEndClick:function(e){return n.mouseTouchClick(e)},mouseUp:function(e){return n.mouseTouchClick(e)},mouseDown:function(){return n.mouseDown()},visibilityChange:function(){return n.handleVisibilityChange()},themeChange:function(e){return n.handleThemeChange(e)},oldThemeChange:function(e){return n.handleThemeChange(e)},resize:function(){return n.handleWindowResize()}}}return f(e,[{key:"addListeners",value:function(){this.manageListeners(!0)}},{key:"removeListeners",value:function(){this.manageListeners(!1)}},{key:"doMouseTouchClick",value:function(e){var t=this,n=this.container,i=n.actualOptions;if(this.canPush){var r=n.interactivity.mouse,a=r.position;if(!a)return;r.clickPosition=Object.assign({},a),r.clickTime=(new Date).getTime(),bf(i.interactivity.events.onClick.mode,(function(e){return t.handleClickMode(e)}))}"touchend"===e.type&&setTimeout((function(){return t.mouseTouchFinish()}),500)}},{key:"handleClickMode",value:function(e){this.container.handleClickMode(e)}},{key:"handleThemeChange",value:function(e){var t=e,n=this.container,i=n.options,r=i.defaultThemes,a=t.matches?r.dark:r.light,o=i.themes.find((function(e){return e.name===a}));o&&o.default.auto&&n.loadTheme(a)}},{key:"handleVisibilityChange",value:function(){var e=this.container,t=e.actualOptions;this.mouseTouchFinish(),t.pauseOnBlur&&((null===document||void 0===document?void 0:document.hidden)?(e.pageHidden=!0,e.pause()):(e.pageHidden=!1,e.getAnimationStatus()?e.play(!0):e.draw(!0)))}},{key:"handleWindowResize",value:function(){var e=this;this.resizeTimeout&&(clearTimeout(this.resizeTimeout),delete this.resizeTimeout),this.resizeTimeout=setTimeout(Td(zd().mark((function t(){var n;return zd().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",null===(n=e.container.canvas)||void 0===n?void 0:n.windowResize());case 1:case"end":return t.stop()}}),t)}))),1e3*this.container.actualOptions.interactivity.events.resize.delay)}},{key:"manageListeners",value:function(e){var t,n=this,i=this.handlers,r=this.container,a=r.actualOptions,o=a.interactivity.detectsOn,s=Yf;if("window"===o)r.interactivity.element=window,s="pointerout";else if("parent"===o&&r.canvas.element){var l=r.canvas.element;r.interactivity.element=null!==(t=l.parentElement)&&void 0!==t?t:l.parentNode}else r.interactivity.element=r.canvas.element;var u=rf("(prefers-color-scheme: dark)");u&&(void 0!==u.addEventListener?Xf(u,"change",i.themeChange,e):void 0!==u.addListener&&(e?u.addListener(i.oldThemeChange):u.removeListener(i.oldThemeChange)));var c=r.interactivity.element;if(c){var d=c;(a.interactivity.events.onHover.enable||a.interactivity.events.onClick.enable)&&(Xf(c,$f,i.mouseMove,e),Xf(c,"touchstart",i.touchStart,e),Xf(c,"touchmove",i.touchMove,e),a.interactivity.events.onClick.enable?(Xf(c,qf,i.touchEndClick,e),Xf(c,"pointerup",i.mouseUp,e),Xf(c,"pointerdown",i.mouseDown,e)):Xf(c,qf,i.touchEnd,e),Xf(c,s,i.mouseLeave,e),Xf(c,"touchcancel",i.touchCancel,e)),r.canvas.element&&(r.canvas.element.style.pointerEvents=d===r.canvas.element?"initial":"none"),a.interactivity.events.resize&&("undefined"!==typeof ResizeObserver?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((function(e){e.find((function(e){return e.target===r.canvas.element}))&&n.handleWindowResize()})),this.resizeObserver.observe(r.canvas.element)):Xf(window,"resize",i.resize,e)),document&&Xf(document,"visibilitychange",i.visibilityChange,e,!1)}}},{key:"mouseDown",value:function(){var e=this.container.interactivity;if(e){var t=e.mouse;t.clicking=!0,t.downPosition=t.position}}},{key:"mouseTouchClick",value:function(e){var t=this.container,n=t.actualOptions,i=t.interactivity.mouse;i.inside=!0;var r=!1,a=i.position;if(a&&n.interactivity.events.onClick.enable){var o,s=C(t.plugins);try{for(s.s();!(o=s.n()).done;){var l=w(o.value,2)[1];if(l.clickPositionValid&&(r=l.clickPositionValid(a)))break}}catch(u){s.e(u)}finally{s.f()}r||this.doMouseTouchClick(e),i.clicking=!1}}},{key:"mouseTouchFinish",value:function(){var e=this.container.interactivity;if(e){var t=e.mouse;delete t.position,delete t.clickPosition,delete t.downPosition,e.status=Yf,t.inside=!1,t.clicking=!1}}},{key:"mouseTouchMove",value:function(e){var t,n,i,r,a,o,s,l=this.container,u=l.actualOptions;if(null===(t=l.interactivity)||void 0===t?void 0:t.element){var c;l.interactivity.mouse.inside=!0;var d=l.canvas.element;if(e.type.startsWith("pointer")){this.canPush=!0;var f=e;if(l.interactivity.element===window){if(d){var h=d.getBoundingClientRect();c={x:f.clientX-h.left,y:f.clientY-h.top}}}else if("parent"===u.interactivity.detectsOn){var p=f.target,v=f.currentTarget,y=l.canvas.element;if(p&&v&&y){var m=p.getBoundingClientRect(),g=v.getBoundingClientRect(),b=y.getBoundingClientRect();c={x:f.offsetX+2*m.left-(g.left+b.left),y:f.offsetY+2*m.top-(g.top+b.top)}}else c={x:null!==(n=f.offsetX)&&void 0!==n?n:f.clientX,y:null!==(i=f.offsetY)&&void 0!==i?i:f.clientY}}else f.target===l.canvas.element&&(c={x:null!==(r=f.offsetX)&&void 0!==r?r:f.clientX,y:null!==(a=f.offsetY)&&void 0!==a?a:f.clientY})}else{this.canPush="touchmove"!==e.type;var k=e,w=k.touches[k.touches.length-1],x=null===d||void 0===d?void 0:d.getBoundingClientRect();c={x:w.clientX-(null!==(o=null===x||void 0===x?void 0:x.left)&&void 0!==o?o:0),y:w.clientY-(null!==(s=null===x||void 0===x?void 0:x.top)&&void 0!==s?s:0)}}var S=l.retina.pixelRatio;c&&(c.x*=S,c.y*=S),l.interactivity.mouse.position=c,l.interactivity.status=$f}}}]),e}();function Jf(e){return{value:e,factor:arguments.length>2&&void 0!==arguments[2]&&arguments[2]?60/(arguments.length>1&&void 0!==arguments[1]?arguments[1]:60):60*e/1e3}}var Zf=function(){function e(t){l(this,e),this.container=t}return f(e,[{key:"nextFrame",value:function(){var e=Td(zd().mark((function e(t){var n,i,r;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,(i=this.container).smooth||void 0===i.lastFrameTime||!(t<i.lastFrameTime+1e3/i.fpsLimit)){e.next=5;break}return i.draw(!1),e.abrupt("return");case 5:if(null!==(n=i.lastFrameTime)&&void 0!==n||(i.lastFrameTime=t),r=Jf(t-i.lastFrameTime,i.fpsLimit,i.smooth),i.lifeTime+=r.value,i.lastFrameTime=t,!(r.value>1e3)){e.next=12;break}return i.draw(!1),e.abrupt("return");case 12:return e.next=14,i.particles.draw(r);case 14:if(!(i.duration>0&&i.lifeTime>i.duration)){e.next=17;break}return i.destroy(),e.abrupt("return");case 17:i.getAnimationStatus()&&i.draw(!1),e.next=23;break;case 20:e.prev=20,e.t0=e.catch(0),console.error("tsParticles error in animation loop",e.t0);case 23:case"end":return e.stop()}}),e,this,[[0,20]])})));return function(t){return e.apply(this,arguments)}}()}]),e}(),eh=function(){function e(){l(this,e),this.value=""}return f(e,[{key:"load",value:function(e){void 0!==(null===e||void 0===e?void 0:e.value)&&(this.value=e.value)}}],[{key:"create",value:function(t,n){var i=new e;return i.load(t),void 0!==n&&("string"===typeof n||n instanceof Array?i.load({value:n}):i.load(n)),i}}]),e}(),th=function(){function e(){l(this,e),this.color=new eh,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.color&&(this.color=eh.create(this.color,e.color)),void 0!==e.image&&(this.image=e.image),void 0!==e.position&&(this.position=e.position),void 0!==e.repeat&&(this.repeat=e.repeat),void 0!==e.size&&(this.size=e.size),void 0!==e.opacity&&(this.opacity=e.opacity))}}]),e}(),nh=function(){function e(){l(this,e),this.color=new eh,this.color.value="#fff",this.opacity=1}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.color&&(this.color=eh.create(this.color,e.color)),void 0!==e.opacity&&(this.opacity=e.opacity))}}]),e}(),ih=function(){function e(){l(this,e),this.composite="destination-out",this.cover=new nh,this.enable=!1}return f(e,[{key:"load",value:function(e){if(e){if(void 0!==e.composite&&(this.composite=e.composite),void 0!==e.cover){var t=e.cover,n="string"===typeof e.cover?{color:e.cover}:e.cover;this.cover.load(void 0!==t.color?t:{color:n})}void 0!==e.enable&&(this.enable=e.enable)}}}]),e}(),rh=function(){function e(){l(this,e),this.enable=!0,this.zIndex=0}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.zIndex&&(this.zIndex=e.zIndex))}}]),e}(),ah=function(){function e(){l(this,e),this.enable=!1,this.mode=[]}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.mode&&(this.mode=e.mode))}}]),e}(),oh=function(){function e(){l(this,e),this.selectors=[],this.enable=!1,this.mode=[],this.type="circle"}return f(e,[{key:"el",get:function(){return this.elementId},set:function(e){this.elementId=e}},{key:"elementId",get:function(){return this.ids},set:function(e){this.ids=e}},{key:"ids",get:function(){return bf(this.selectors,(function(e){return e.replace("#","")}))},set:function(e){this.selectors=bf(e,(function(e){return"#".concat(e)}))}},{key:"load",value:function(e){var t,n;if(e){var i=null!==(n=null!==(t=e.ids)&&void 0!==t?t:e.elementId)&&void 0!==n?n:e.el;void 0!==i&&(this.ids=i),void 0!==e.selectors&&(this.selectors=e.selectors),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.mode&&(this.mode=e.mode),void 0!==e.type&&(this.type=e.type)}}}]),e}(),sh=function(){function e(){l(this,e),this.enable=!1,this.force=2,this.smooth=10}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.force&&(this.force=e.force),void 0!==e.smooth&&(this.smooth=e.smooth))}}]),e}(),lh=function(){function e(){l(this,e),this.enable=!1,this.mode=[],this.parallax=new sh}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.mode&&(this.mode=e.mode),this.parallax.load(e.parallax))}}]),e}(),uh=function(){function e(){l(this,e),this.delay=.5,this.enable=!0}return f(e,[{key:"load",value:function(e){void 0!==e&&(void 0!==e.delay&&(this.delay=e.delay),void 0!==e.enable&&(this.enable=e.enable))}}]),e}(),ch=function(){function e(){l(this,e),this.onClick=new ah,this.onDiv=new oh,this.onHover=new lh,this.resize=new uh}return f(e,[{key:"onclick",get:function(){return this.onClick},set:function(e){this.onClick=e}},{key:"ondiv",get:function(){return this.onDiv},set:function(e){this.onDiv=e}},{key:"onhover",get:function(){return this.onHover},set:function(e){this.onHover=e}},{key:"load",value:function(e){var t,n,i;if(e){this.onClick.load(null!==(t=e.onClick)&&void 0!==t?t:e.onclick);var r=null!==(n=e.onDiv)&&void 0!==n?n:e.ondiv;void 0!==r&&(this.onDiv=bf(r,(function(e){var t=new oh;return t.load(e),t}))),this.onHover.load(null!==(i=e.onHover)&&void 0!==i?i:e.onhover),"boolean"===typeof e.resize?this.resize.enable=e.resize:this.resize.load(e.resize)}}}]),e}(),dh=function(){function e(t,n){l(this,e),this._engine=t,this._container=n}return f(e,[{key:"load",value:function(e){if(e&&this._container){var t=this._engine.plugins.interactors.get(this._container);if(t){var n,i=C(t);try{for(i.s();!(n=i.n()).done;){var r=n.value;r.loadModeOptions&&r.loadModeOptions(this,e)}}catch(a){i.e(a)}finally{i.f()}}}}}]),e}(),fh=function(){function e(t,n){l(this,e),this.detectsOn="window",this.events=new ch,this.modes=new dh(t,n)}return f(e,[{key:"detect_on",get:function(){return this.detectsOn},set:function(e){this.detectsOn=e}},{key:"load",value:function(e){var t;if(e){var n=null!==(t=e.detectsOn)&&void 0!==t?t:e.detect_on;void 0!==n&&(this.detectsOn=n),this.events.load(e.events),this.modes.load(e.modes)}}}]),e}(),hh=function(){function e(){l(this,e)}return f(e,[{key:"load",value:function(e){var t,n;e&&(void 0!==e.position&&(this.position={x:null!==(t=e.position.x)&&void 0!==t?t:50,y:null!==(n=e.position.y)&&void 0!==n?n:50}),void 0!==e.options&&(this.options=ff({},e.options)))}}]),e}(),ph=function(){function e(){l(this,e),this.maxWidth=1/0,this.options={},this.mode="canvas"}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.maxWidth&&(this.maxWidth=e.maxWidth),void 0!==e.mode&&("screen"===e.mode?this.mode="screen":this.mode="canvas"),void 0!==e.options&&(this.options=ff({},e.options)))}}]),e}(),vh=function(){function e(){l(this,e),this.auto=!1,this.mode="any",this.value=!1}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.auto&&(this.auto=e.auto),void 0!==e.mode&&(this.mode=e.mode),void 0!==e.value&&(this.value=e.value))}}]),e}(),yh=function(){function e(){l(this,e),this.name="",this.default=new vh}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.name&&(this.name=e.name),this.default.load(e.default),void 0!==e.options&&(this.options=ff({},e.options)))}}]),e}(),mh=function(){function e(){l(this,e),this.count=0,this.enable=!1,this.offset=0,this.speed=1,this.decay=0,this.sync=!0}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.count&&(this.count=$d(e.count)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.offset&&(this.offset=$d(e.offset)),void 0!==e.speed&&(this.speed=$d(e.speed)),void 0!==e.decay&&(this.decay=$d(e.decay)),void 0!==e.sync&&(this.sync=e.sync))}}]),e}(),gh=function(){function e(){l(this,e),this.h=new mh,this.s=new mh,this.l=new mh}return f(e,[{key:"load",value:function(e){e&&(this.h.load(e.h),this.s.load(e.s),this.l.load(e.l))}}]),e}(),bh=function(e){p(n,e);var t=g(n);function n(){var e;return l(this,n),(e=t.call(this)).animation=new gh,e}return f(n,[{key:"load",value:function(e){if(vu(v(n.prototype),"load",this).call(this,e),e){var t=e.animation;void 0!==t&&(void 0!==t.enable?this.animation.h.load(t):this.animation.load(e.animation))}}}],[{key:"create",value:function(e,t){var i=new n;return i.load(e),void 0!==t&&("string"===typeof t||t instanceof Array?i.load({value:t}):i.load(t)),i}}]),n}(eh),kh=function(){function e(){l(this,e),this.speed=2}return f(e,[{key:"load",value:function(e){e&&void 0!==e.speed&&(this.speed=e.speed)}}]),e}(),wh=function(){function e(){l(this,e),this.enable=!0,this.retries=0}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.retries&&(this.retries=e.retries))}}]),e}(),xh=function(){function e(){l(this,e),this.enable=!1,this.minimumValue=0}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.minimumValue&&(this.minimumValue=e.minimumValue))}}]),e}(),Sh=function(){function e(){l(this,e),this.random=new xh,this.value=0}return f(e,[{key:"load",value:function(e){e&&("boolean"===typeof e.random?this.random.enable=e.random:this.random.load(e.random),void 0!==e.value&&(this.value=$d(e.value,this.random.enable?this.random.minimumValue:void 0)))}}]),e}(),Ch=function(e){p(n,e);var t=g(n);function n(){var e;return l(this,n),(e=t.call(this)).random.minimumValue=.1,e.value=1,e}return f(n)}(Sh),Eh=function(){function e(){l(this,e),this.horizontal=new Ch,this.vertical=new Ch}return f(e,[{key:"load",value:function(e){e&&(this.horizontal.load(e.horizontal),this.vertical.load(e.vertical))}}]),e}(),_h=function(){function e(){l(this,e),this.absorb=new kh,this.bounce=new Eh,this.enable=!1,this.mode="bounce",this.overlap=new wh}return f(e,[{key:"load",value:function(e){e&&(this.absorb.load(e.absorb),this.bounce.load(e.bounce),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.mode&&(this.mode=e.mode),this.overlap.load(e.overlap))}}]),e}(),Ph=function(){function e(){l(this,e),this.offset=0,this.value=90}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.offset&&(this.offset=$d(e.offset)),void 0!==e.value&&(this.value=$d(e.value)))}}]),e}(),zh=function(){function e(){l(this,e),this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}return f(e,[{key:"rotateX",get:function(){return this.rotate.x},set:function(e){this.rotate.x=e}},{key:"rotateY",get:function(){return this.rotate.y},set:function(e){this.rotate.y=e}},{key:"load",value:function(e){var t,n,i,r;if(e){void 0!==e.distance&&(this.distance=$d(e.distance)),void 0!==e.enable&&(this.enable=e.enable);var a=null!==(n=null===(t=e.rotate)||void 0===t?void 0:t.x)&&void 0!==n?n:e.rotateX;void 0!==a&&(this.rotate.x=a);var o=null!==(r=null===(i=e.rotate)||void 0===i?void 0:i.y)&&void 0!==r?r:e.rotateY;void 0!==o&&(this.rotate.y=o)}}}]),e}(),Oh=function(){function e(){l(this,e),this.x=50,this.y=50,this.mode="percent",this.radius=0}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.x&&(this.x=e.x),void 0!==e.y&&(this.y=e.y),void 0!==e.mode&&(this.mode=e.mode),void 0!==e.radius&&(this.radius=e.radius))}}]),e}(),Th=function(){function e(){l(this,e),this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.acceleration&&(this.acceleration=$d(e.acceleration)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.inverse&&(this.inverse=e.inverse),void 0!==e.maxSpeed&&(this.maxSpeed=$d(e.maxSpeed)))}}]),e}(),Mh=function(){function e(){l(this,e),this.clamp=!0,this.delay=new Sh,this.enable=!1,this.options={}}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.clamp&&(this.clamp=e.clamp),this.delay.load(e.delay),void 0!==e.enable&&(this.enable=e.enable),this.generator=e.generator,e.options&&(this.options=ff(this.options,e.options)))}}]),e}(),Rh=function(){function e(){l(this,e)}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.color&&(this.color=eh.create(this.color,e.color)),void 0!==e.image&&(this.image=e.image))}}]),e}(),Ah=function(){function e(){l(this,e),this.enable=!1,this.length=10,this.fill=new Rh}return f(e,[{key:"fillColor",get:function(){return this.fill.color},set:function(e){this.fill.load({color:e})}},{key:"load",value:function(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0===e.fill&&void 0===e.fillColor||this.fill.load(e.fill||{color:e.fillColor}),void 0!==e.length&&(this.length=e.length))}}]),e}(),Dh=function(){function e(){l(this,e),this.default="out"}return f(e,[{key:"load",value:function(e){var t,n,i,r;e&&(void 0!==e.default&&(this.default=e.default),this.bottom=null!==(t=e.bottom)&&void 0!==t?t:e.default,this.left=null!==(n=e.left)&&void 0!==n?n:e.default,this.right=null!==(i=e.right)&&void 0!==i?i:e.default,this.top=null!==(r=e.top)&&void 0!==r?r:e.default)}}]),e}(),Lh=function(){function e(){l(this,e),this.acceleration=0,this.enable=!1}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.acceleration&&(this.acceleration=$d(e.acceleration)),void 0!==e.enable&&(this.enable=e.enable),this.position=e.position?ff({},e.position):void 0)}}]),e}(),jh=function(){function e(){l(this,e),this.angle=new Ph,this.attract=new zh,this.center=new Oh,this.decay=0,this.distance={},this.direction="none",this.drift=0,this.enable=!1,this.gravity=new Th,this.path=new Mh,this.outModes=new Dh,this.random=!1,this.size=!1,this.speed=2,this.spin=new Lh,this.straight=!1,this.trail=new Ah,this.vibrate=!1,this.warp=!1}return f(e,[{key:"bounce",get:function(){return this.collisions},set:function(e){this.collisions=e}},{key:"collisions",get:function(){return!1},set:function(e){}},{key:"noise",get:function(){return this.path},set:function(e){this.path=e}},{key:"outMode",get:function(){return this.outModes.default},set:function(e){this.outModes.default=e}},{key:"out_mode",get:function(){return this.outMode},set:function(e){this.outMode=e}},{key:"load",value:function(e){var t,n,i;if(e){this.angle.load("number"===typeof e.angle?{value:e.angle}:e.angle),this.attract.load(e.attract),this.center.load(e.center),void 0!==e.decay&&(this.decay=$d(e.decay)),void 0!==e.direction&&(this.direction=e.direction),void 0!==e.distance&&(this.distance="number"===typeof e.distance?{horizontal:e.distance,vertical:e.distance}:Object.assign({},e.distance)),void 0!==e.drift&&(this.drift=$d(e.drift)),void 0!==e.enable&&(this.enable=e.enable),this.gravity.load(e.gravity);var r=null!==(n=null!==(t=e.outModes)&&void 0!==t?t:e.outMode)&&void 0!==n?n:e.out_mode;void 0!==r&&("object"===typeof r?this.outModes.load(r):this.outModes.load({default:r})),this.path.load(null!==(i=e.path)&&void 0!==i?i:e.noise),void 0!==e.random&&(this.random=e.random),void 0!==e.size&&(this.size=e.size),void 0!==e.speed&&(this.speed=$d(e.speed)),this.spin.load(e.spin),void 0!==e.straight&&(this.straight=e.straight),this.trail.load(e.trail),void 0!==e.vibrate&&(this.vibrate=e.vibrate),void 0!==e.warp&&(this.warp=e.warp)}}}]),e}(),Ih=function(){function e(){l(this,e),this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.sync=!1}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.count&&(this.count=$d(e.count)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.speed&&(this.speed=$d(e.speed)),void 0!==e.decay&&(this.decay=$d(e.decay)),void 0!==e.sync&&(this.sync=e.sync))}}]),e}(),Fh=function(e){p(n,e);var t=g(n);function n(){var e;return l(this,n),(e=t.call(this)).destroy="none",e.enable=!1,e.speed=2,e.startValue="random",e.sync=!1,e}return f(n,[{key:"opacity_min",get:function(){return this.minimumValue},set:function(e){this.minimumValue=e}},{key:"load",value:function(e){var t;e&&(vu(v(n.prototype),"load",this).call(this,e),void 0!==e.destroy&&(this.destroy=e.destroy),void 0!==e.enable&&(this.enable=e.enable),this.minimumValue=null!==(t=e.minimumValue)&&void 0!==t?t:e.opacity_min,void 0!==e.speed&&(this.speed=e.speed),void 0!==e.startValue&&(this.startValue=e.startValue),void 0!==e.sync&&(this.sync=e.sync))}}]),n}(Ih),Nh=function(e){p(n,e);var t=g(n);function n(){var e;return l(this,n),(e=t.call(this)).animation=new Fh,e.random.minimumValue=.1,e.value=1,e}return f(n,[{key:"anim",get:function(){return this.animation},set:function(e){this.animation=e}},{key:"load",value:function(e){var t;if(e){vu(v(n.prototype),"load",this).call(this,e);var i=null!==(t=e.animation)&&void 0!==t?t:e.anim;void 0!==i&&(this.animation.load(i),this.value=$d(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}}]),n}(Sh),Vh=function(){function e(){l(this,e),this.enable=!1,this.width=1920,this.height=1080}return f(e,[{key:"area",get:function(){return this.width},set:function(e){this.width=e}},{key:"factor",get:function(){return this.height},set:function(e){this.height=e}},{key:"value_area",get:function(){return this.area},set:function(e){this.area=e}},{key:"load",value:function(e){var t,n,i;if(e){void 0!==e.enable&&(this.enable=e.enable);var r=null!==(n=null!==(t=e.width)&&void 0!==t?t:e.area)&&void 0!==n?n:e.value_area;void 0!==r&&(this.width=r);var a=null!==(i=e.height)&&void 0!==i?i:e.factor;void 0!==a&&(this.height=a)}}}]),e}(),Bh=function(){function e(){l(this,e),this.density=new Vh,this.limit=0,this.value=100}return f(e,[{key:"max",get:function(){return this.limit},set:function(e){this.limit=e}},{key:"load",value:function(e){var t;if(e){this.density.load(e.density);var n=null!==(t=e.limit)&&void 0!==t?t:e.max;void 0!==n&&(this.limit=n),void 0!==e.value&&(this.value=e.value)}}}]),e}(),Uh=function(){function e(){l(this,e),this.blur=0,this.color=new eh,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.blur&&(this.blur=e.blur),this.color=eh.create(this.color,e.color),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.offset&&(void 0!==e.offset.x&&(this.offset.x=e.offset.x),void 0!==e.offset.y&&(this.offset.y=e.offset.y)))}}]),e}(),Hh="character",Wh="char",qh="image",$h="images",Yh="polygon",Kh="star",Gh=function(){function e(){l(this,e),this.options={},this.type="circle"}return f(e,[{key:"character",get:function(){var e;return null!==(e=this.options[Hh])&&void 0!==e?e:this.options[Wh]},set:function(e){this.options[Wh]=this.options[Hh]=e}},{key:"custom",get:function(){return this.options},set:function(e){this.options=e}},{key:"image",get:function(){var e;return null!==(e=this.options[qh])&&void 0!==e?e:this.options[$h]},set:function(e){this.options[$h]=this.options[qh]=e}},{key:"images",get:function(){return this.image},set:function(e){this.image=e}},{key:"polygon",get:function(){var e;return null!==(e=this.options[Yh])&&void 0!==e?e:this.options[Kh]},set:function(e){this.options[Kh]=this.options[Yh]=e}},{key:"stroke",get:function(){return[]},set:function(e){}},{key:"load",value:function(e){var t,n,i;if(e){var r=null!==(t=e.options)&&void 0!==t?t:e.custom;if(void 0!==r)for(var a in r){var o=r[a];o&&(this.options[a]=ff(null!==(n=this.options[a])&&void 0!==n?n:{},o))}this.loadShape(e.character,Hh,Wh,!0),this.loadShape(e.polygon,Yh,Kh,!1),this.loadShape(null!==(i=e.image)&&void 0!==i?i:e.images,qh,$h,!0),void 0!==e.type&&(this.type=e.type)}}},{key:"loadShape",value:function(e,t,n,i){var r,a;if(e){var o=e instanceof Array,s=o?[]:{},l=o!==this.options[t]instanceof Array,u=o!==this.options[n]instanceof Array;l&&(this.options[t]=s),u&&i&&(this.options[n]=s),this.options[t]=ff(null!==(r=this.options[t])&&void 0!==r?r:s,e),this.options[n]&&!i||(this.options[n]=ff(null!==(a=this.options[n])&&void 0!==a?a:s,e))}}}]),e}(),Xh=function(e){p(n,e);var t=g(n);function n(){var e;return l(this,n),(e=t.call(this)).destroy="none",e.enable=!1,e.speed=5,e.startValue="random",e.sync=!1,e}return f(n,[{key:"size_min",get:function(){return this.minimumValue},set:function(e){this.minimumValue=e}},{key:"load",value:function(e){var t;vu(v(n.prototype),"load",this).call(this,e),e&&(void 0!==e.destroy&&(this.destroy=e.destroy),void 0!==e.enable&&(this.enable=e.enable),this.minimumValue=null!==(t=e.minimumValue)&&void 0!==t?t:e.size_min,void 0!==e.speed&&(this.speed=e.speed),void 0!==e.startValue&&(this.startValue=e.startValue),void 0!==e.sync&&(this.sync=e.sync))}}]),n}(Ih),Qh=function(e){p(n,e);var t=g(n);function n(){var e;return l(this,n),(e=t.call(this)).animation=new Xh,e.random.minimumValue=1,e.value=3,e}return f(n,[{key:"anim",get:function(){return this.animation},set:function(e){this.animation=e}},{key:"load",value:function(e){var t;if(vu(v(n.prototype),"load",this).call(this,e),e){var i=null!==(t=e.animation)&&void 0!==t?t:e.anim;void 0!==i&&(this.animation.load(i),this.value=$d(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}}]),n}(Sh),Jh=function(){function e(){l(this,e),this.width=0}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.color&&(this.color=bh.create(this.color,e.color)),void 0!==e.width&&(this.width=$d(e.width)),void 0!==e.opacity&&(this.opacity=$d(e.opacity)))}}]),e}(),Zh=function(e){p(n,e);var t=g(n);function n(){var e;return l(this,n),(e=t.call(this)).opacityRate=1,e.sizeRate=1,e.velocityRate=1,e}return f(n,[{key:"load",value:function(e){vu(v(n.prototype),"load",this).call(this,e),e&&(void 0!==e.opacityRate&&(this.opacityRate=e.opacityRate),void 0!==e.sizeRate&&(this.sizeRate=e.sizeRate),void 0!==e.velocityRate&&(this.velocityRate=e.velocityRate))}}]),n}(Sh),ep=function(){function e(t,n){l(this,e),this._engine=t,this._container=n,this.bounce=new Eh,this.collisions=new _h,this.color=new bh,this.color.value="#fff",this.groups={},this.move=new jh,this.number=new Bh,this.opacity=new Nh,this.reduceDuplicates=!1,this.shadow=new Uh,this.shape=new Gh,this.size=new Qh,this.stroke=new Jh,this.zIndex=new Zh}return f(e,[{key:"load",value:function(e){var t,n,i,r,a,o;if(e){if(this.bounce.load(e.bounce),this.color.load(bh.create(this.color,e.color)),void 0!==e.groups)for(var s in e.groups){var l=e.groups[s];void 0!==l&&(this.groups[s]=ff(null!==(t=this.groups[s])&&void 0!==t?t:{},l))}this.move.load(e.move),this.number.load(e.number),this.opacity.load(e.opacity),void 0!==e.reduceDuplicates&&(this.reduceDuplicates=e.reduceDuplicates),this.shape.load(e.shape),this.size.load(e.size),this.shadow.load(e.shadow),this.zIndex.load(e.zIndex);var u=null!==(i=null===(n=e.move)||void 0===n?void 0:n.collisions)&&void 0!==i?i:null===(r=e.move)||void 0===r?void 0:r.bounce;void 0!==u&&(this.collisions.enable=u),this.collisions.load(e.collisions),void 0!==e.interactivity&&(this.interactivity=ff({},e.interactivity));var c=null!==(a=e.stroke)&&void 0!==a?a:null===(o=e.shape)||void 0===o?void 0:o.stroke;if(c&&(this.stroke=bf(c,(function(e){var t=new Jh;return t.load(e),t}))),this._container){var d=this._engine.plugins.updaters.get(this._container);if(d){var f,h=C(d);try{for(h.s();!(f=h.n()).done;){var p=f.value;p.loadOptions&&p.loadOptions(this,e)}}catch(b){h.e(b)}finally{h.f()}}var v=this._engine.plugins.interactors.get(this._container);if(v){var y,m=C(v);try{for(m.s();!(y=m.n()).done;){var g=y.value;g.loadParticlesOptions&&g.loadParticlesOptions(this,e)}}catch(b){m.e(b)}finally{m.f()}}}}}}]),e}();function tp(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.load(o)}}function np(e,t){for(var n=new ep(e,t),i=arguments.length,r=new Array(i>2?i-2:0),a=2;a<i;a++)r[a-2]=arguments[a];return tp.apply(void 0,[n].concat(r)),n}var ip=function(){function e(t,n){l(this,e),this._engine=t,this._container=n,this.autoPlay=!0,this.background=new th,this.backgroundMask=new ih,this.defaultThemes={},this.delay=0,this.fullScreen=new rh,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new fh(t,n),this.manualParticles=[],this.particles=np(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}return f(e,[{key:"backgroundMode",get:function(){return this.fullScreen},set:function(e){this.fullScreen.load(e)}},{key:"fps_limit",get:function(){return this.fpsLimit},set:function(e){this.fpsLimit=e}},{key:"retina_detect",get:function(){return this.detectRetina},set:function(e){this.detectRetina=e}},{key:"load",value:function(e){var t,n,i,r,a,o=this;if(e){void 0!==e.preset&&bf(e.preset,(function(e){return o._importPreset(e)})),void 0!==e.autoPlay&&(this.autoPlay=e.autoPlay),void 0!==e.delay&&(this.delay=$d(e.delay));var s=null!==(t=e.detectRetina)&&void 0!==t?t:e.retina_detect;void 0!==s&&(this.detectRetina=s),void 0!==e.duration&&(this.duration=$d(e.duration));var l=null!==(n=e.fpsLimit)&&void 0!==n?n:e.fps_limit;void 0!==l&&(this.fpsLimit=l),void 0!==e.pauseOnBlur&&(this.pauseOnBlur=e.pauseOnBlur),void 0!==e.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=e.pauseOnOutsideViewport),void 0!==e.zLayers&&(this.zLayers=e.zLayers),this.background.load(e.background);var u=null!==(i=e.fullScreen)&&void 0!==i?i:e.backgroundMode;"boolean"===typeof u?this.fullScreen.enable=u:this.fullScreen.load(u),this.backgroundMask.load(e.backgroundMask),this.interactivity.load(e.interactivity),void 0!==e.manualParticles&&(this.manualParticles=e.manualParticles.map((function(e){var t=new hh;return t.load(e),t}))),this.particles.load(e.particles),this.style=ff(this.style,e.style),this._engine.plugins.loadOptions(this,e),void 0!==e.smooth&&(this.smooth=e.smooth);var c=this._engine.plugins.interactors.get(this._container);if(c){var d,f=C(c);try{for(f.s();!(d=f.n()).done;){var h=d.value;h.loadOptions&&h.loadOptions(this,e)}}catch(w){f.e(w)}finally{f.f()}}if(void 0!==e.responsive){var p,v=C(e.responsive);try{for(v.s();!(p=v.n()).done;){var y=p.value,m=new ph;m.load(y),this.responsive.push(m)}}catch(w){v.e(w)}finally{v.f()}}if(this.responsive.sort((function(e,t){return e.maxWidth-t.maxWidth})),void 0!==e.themes){var g,b=C(e.themes);try{var k=function(){var e=g.value,t=o.themes.find((function(t){return t.name===e.name}));if(t)t.load(e);else{var n=new yh;n.load(e),o.themes.push(n)}};for(b.s();!(g=b.n()).done;)k()}catch(w){b.e(w)}finally{b.f()}}this.defaultThemes.dark=null===(r=this._findDefaultTheme("dark"))||void 0===r?void 0:r.name,this.defaultThemes.light=null===(a=this._findDefaultTheme("light"))||void 0===a?void 0:a.name}}},{key:"setResponsive",value:function(e,t,n){this.load(n);var i=this.responsive.find((function(n){return"screen"===n.mode&&screen?n.maxWidth>screen.availWidth:n.maxWidth*t>e}));return this.load(null===i||void 0===i?void 0:i.options),null===i||void 0===i?void 0:i.maxWidth}},{key:"setTheme",value:function(e){if(e){var t=this.themes.find((function(t){return t.name===e}));t&&this.load(t.options)}else{var n=rf("(prefers-color-scheme: dark)"),i=n&&n.matches,r=this._findDefaultTheme(i?"dark":"light");r&&this.load(r.options)}}},{key:"_findDefaultTheme",value:function(e){var t;return null!==(t=this.themes.find((function(t){return t.default.value&&t.default.mode===e})))&&void 0!==t?t:this.themes.find((function(e){return e.default.value&&"any"===e.default.mode}))}},{key:"_importPreset",value:function(e){this.load(this._engine.plugins.getPreset(e))}}]),e}(),rp=function(){function e(t,n){l(this,e),this.container=n,this._engine=t,this._interactors=this._engine.plugins.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[]}return f(e,[{key:"externalInteract",value:function(){var e=Td(zd().mark((function e(t){var n,i,r;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=C(this._externalInteractors),e.prev=1,n.s();case 3:if((i=n.n()).done){e.next=10;break}if(!(r=i.value).isEnabled()){e.next=8;break}return e.next=8,r.interact(t);case 8:e.next=3;break;case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(1),n.e(e.t0);case 15:return e.prev=15,n.f(),e.finish(15);case 18:case"end":return e.stop()}}),e,this,[[1,12,15,18]])})));return function(t){return e.apply(this,arguments)}}()},{key:"handleClickMode",value:function(e){var t,n=C(this._externalInteractors);try{for(n.s();!(t=n.n()).done;){var i=t.value;i.handleClickMode&&i.handleClickMode(e)}}catch(r){n.e(r)}finally{n.f()}}},{key:"init",value:function(){this._externalInteractors=[],this._particleInteractors=[];var e,t=C(this._interactors);try{for(t.s();!(e=t.n()).done;){var n=e.value;switch(n.type){case"external":this._externalInteractors.push(n);break;case"particles":this._particleInteractors.push(n)}n.init()}}catch(i){t.e(i)}finally{t.f()}}},{key:"particlesInteract",value:function(){var e=Td(zd().mark((function e(t,n){var i,r,a,o,s;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=C(this._externalInteractors);try{for(i.s();!(r=i.n()).done;)r.value.clear(t,n)}catch(l){i.e(l)}finally{i.f()}a=C(this._particleInteractors),e.prev=3,a.s();case 5:if((o=a.n()).done){e.next=12;break}if(!(s=o.value).isEnabled(t)){e.next=10;break}return e.next=10,s.interact(t,n);case 10:e.next=5;break;case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(3),a.e(e.t0);case 17:return e.prev=17,a.f(),e.finish(17);case 20:case"end":return e.stop()}}),e,this,[[3,14,17,20]])})));return function(t,n){return e.apply(this,arguments)}}()},{key:"reset",value:function(){var e=Td(zd().mark((function e(t){var n,i,r,a,o,s;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=C(this._externalInteractors),e.prev=1,n.s();case 3:if((i=n.n()).done){e.next=10;break}if(!(r=i.value).isEnabled()){e.next=8;break}return e.next=8,r.reset(t);case 8:e.next=3;break;case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(1),n.e(e.t0);case 15:return e.prev=15,n.f(),e.finish(15);case 18:a=C(this._particleInteractors),e.prev=19,a.s();case 21:if((o=a.n()).done){e.next=28;break}if(!(s=o.value).isEnabled(t)){e.next=26;break}return e.next=26,s.reset(t);case 26:e.next=21;break;case 28:e.next=33;break;case 30:e.prev=30,e.t1=e.catch(19),a.e(e.t1);case 33:return e.prev=33,a.f(),e.finish(33);case 36:case"end":return e.stop()}}),e,this,[[1,12,15,18],[19,30,33,36]])})));return function(t){return e.apply(this,arguments)}}()}]),e}(),ap=function(e){af(e.outMode,e.checkModes)&&(e.coord>e.maxCoord-2*e.radius?e.setCb(-e.radius):e.coord<2*e.radius&&e.setCb(e.radius))},op=function(){function e(t,n,i,r,a,o){l(this,e),this.container=i,this._engine=t,this.init(n,r,a,o)}return f(e,[{key:"destroy",value:function(e){var t;if(!this.unbreakable&&!this.destroyed){this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;var n,i=C(this.container.plugins);try{for(i.s();!(n=i.n()).done;){var r=w(n.value,2)[1];r.particleDestroyed&&r.particleDestroyed(this,e)}}catch(l){i.e(l)}finally{i.f()}var a,o=C(this.container.particles.updaters);try{for(o.s();!(a=o.n()).done;){var s=a.value;s.particleDestroyed&&s.particleDestroyed(this,e)}}catch(l){o.e(l)}finally{o.f()}null===(t=this.pathGenerator)||void 0===t||t.reset(this)}}},{key:"draw",value:function(e){var t,n=this.container,i=C(n.plugins);try{for(i.s();!(t=i.n()).done;){var r=w(t.value,2)[1];n.canvas.drawParticlePlugin(r,this,e)}}catch(a){i.e(a)}finally{i.f()}n.canvas.drawParticle(this,e)}},{key:"getFillColor",value:function(){var e;return this._getRollColor(null!==(e=this.bubble.color)&&void 0!==e?e:Nf(this.color))}},{key:"getMass",value:function(){return Math.pow(this.getRadius(),2)*Math.PI/2}},{key:"getPosition",value:function(){return{x:this.position.x+this.offset.x,y:this.position.y+this.offset.y,z:this.position.z}}},{key:"getRadius",value:function(){var e;return null!==(e=this.bubble.radius)&&void 0!==e?e:this.size.value}},{key:"getStrokeColor",value:function(){var e;return this._getRollColor(null!==(e=this.bubble.color)&&void 0!==e?e:Nf(this.strokeColor))}},{key:"init",value:function(e,t,n,i){var r,a,o,s,l,u,c,d,f,h=this.container,p=this._engine;this.id=e,this.group=i,this.fill=!0,this.pathRotation=!1,this.close=!0,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType="normal",this.ignoresResizeRatio=!0;var v=h.retina.pixelRatio,y=h.actualOptions,m=np(this._engine,h,y.particles),g=m.shape.type,b=m.reduceDuplicates;this.shape=kf(g,this.id,b);var k=m.shape;if(n&&n.shape&&n.shape.type){var x=kf(n.shape.type,this.id,b);x&&(this.shape=x,k.load(n.shape))}this.shapeData=this._loadShapeData(k,b),m.load(n),m.load(null===(r=this.shapeData)||void 0===r?void 0:r.particles),this.interactivity=new fh(p,h),this.interactivity.load(h.actualOptions.interactivity),this.interactivity.load(m.interactivity),this.fill=null!==(o=null===(a=this.shapeData)||void 0===a?void 0:a.fill)&&void 0!==o?o:this.fill,this.close=null!==(l=null===(s=this.shapeData)||void 0===s?void 0:s.close)&&void 0!==l?l:this.close,this.options=m;var S=this.options.move.path;this.pathDelay=1e3*Yd(S.delay),S.generator&&(this.pathGenerator=this._engine.plugins.getPathGenerator(S.generator),this.pathGenerator&&h.addPath(S.generator,this.pathGenerator)&&this.pathGenerator.init(h));var E=Hd(this.options.zIndex.value);h.retina.initParticle(this);var _=this.options.size,P=_.value,z=_.animation;if(this.size={enable:_.animation.enable,value:Hd(_.value)*h.retina.pixelRatio,max:qd(P)*v,min:Wd(P)*v,loops:0,maxLoops:Hd(_.animation.count)},z.enable)switch(this.size.status="increasing",this.size.decay=1-Hd(z.decay),z.startValue){case"min":this.size.value=this.size.min,this.size.status="increasing";break;case"random":this.size.value=Ud(this.size),this.size.status=Nd()>=.5?"increasing":"decreasing";break;default:this.size.value=this.size.max,this.size.status="decreasing"}this.size.initialValue=this.size.value,this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this.position=this._calcPosition(h,t,Vd(E,0,h.zLayers)),this.initialPosition=this.position.copy();var O=h.canvas.size,T=Object.assign({},this.options.move.center),M="percent"===T.mode;switch(this.moveCenter={x:T.x*(M?O.width/100:1),y:T.y*(M?O.height/100:1),radius:null!==(u=this.options.move.center.radius)&&void 0!==u?u:0,mode:null!==(c=this.options.move.center.mode)&&void 0!==c?c:"percent"},this.direction=function(e,t,n){if("number"===typeof e)return e*Math.PI/180;switch(e){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-t.y,n.x-t.x);case"outside":return Math.atan2(t.y-n.y,t.x-n.x);default:return Nd()*Math.PI*2}}(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case"inside":this.outType="inside";break;case"outside":this.outType="outside"}this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy(),this.moveDecay=1-Hd(this.options.move.decay),this.offset=Ld.origin;var R=h.particles;R.needsSort=R.needsSort||R.lastZIndex<this.position.z,R.lastZIndex=this.position.z,this.zIndexFactor=this.position.z/h.zLayers,this.sides=24;var A=h.drawers.get(this.shape);A||(A=this._engine.plugins.getShapeDrawer(this.shape))&&h.drawers.set(this.shape,A),(null===A||void 0===A?void 0:A.loadShape)&&(null===A||void 0===A||A.loadShape(this));var D=null===A||void 0===A?void 0:A.getSidesCount;D&&(this.sides=D(this)),this.spawning=!1,this.shadowColor=zf(this.options.shadow.color);var L,j=C(h.particles.updaters);try{for(j.s();!(L=j.n()).done;){L.value.init(this)}}catch(H){j.e(H)}finally{j.f()}var I,F=C(h.particles.movers);try{for(F.s();!(I=F.n()).done;){var N=I.value;null===(d=N.init)||void 0===d||d.call(N,this)}}catch(H){F.e(H)}finally{F.f()}(null===A||void 0===A?void 0:A.particleInit)&&A.particleInit(h,this);var V,B=C(h.plugins);try{for(B.s();!(V=B.n()).done;){var U=w(V.value,2)[1];null===(f=U.particleCreated)||void 0===f||f.call(U,this)}}catch(H){B.e(H)}finally{B.f()}}},{key:"isInsideCanvas",value:function(){var e=this.getRadius(),t=this.container.canvas.size;return this.position.x>=-e&&this.position.y>=-e&&this.position.y<=t.height+e&&this.position.x<=t.width+e}},{key:"isVisible",value:function(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}},{key:"reset",value:function(){var e,t,n=C(this.container.particles.updaters);try{for(n.s();!(t=n.n()).done;){var i=t.value;null===(e=i.reset)||void 0===e||e.call(i,this)}}catch(r){n.e(r)}finally{n.f()}}},{key:"_calcPosition",value:function(e,t,n){var i,r,a,o,s,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,u=C(e.plugins);try{for(u.s();!(s=u.n()).done;){var c=w(s.value,2)[1],d=void 0!==c.particlePosition?c.particlePosition(t,this):void 0;if(void 0!==d)return Dd.create(d.x,d.y,n)}}catch(g){u.e(g)}finally{u.f()}var f=Zd({size:e.canvas.size,position:t}),h=Dd.create(f.x,f.y,n),p=this.getRadius(),v=this.options.move.outModes,y=function(t){ap({outMode:t,checkModes:["bounce","bounce-horizontal"],coord:h.x,maxCoord:e.canvas.size.width,setCb:function(e){return h.x+=e},radius:p})},m=function(t){ap({outMode:t,checkModes:["bounce","bounce-vertical"],coord:h.y,maxCoord:e.canvas.size.height,setCb:function(e){return h.y+=e},radius:p})};return y(null!==(i=v.left)&&void 0!==i?i:v.default),y(null!==(r=v.right)&&void 0!==r?r:v.default),m(null!==(a=v.top)&&void 0!==a?a:v.default),m(null!==(o=v.bottom)&&void 0!==o?o:v.default),this._checkOverlap(h,l)?this._calcPosition(e,void 0,n,l+1):h}},{key:"_calculateVelocity",value:function(){var e=function(e){var t=Ld.origin;return t.length=1,t.angle=e,t}(this.direction).copy(),t=this.options.move;if("inside"===t.direction||"outside"===t.direction)return e;var n=Math.PI/180*Hd(t.angle.value),i=Math.PI/180*Hd(t.angle.offset),r={left:i-n/2,right:i+n/2};return t.straight||(e.angle+=Ud($d(r.left,r.right))),t.random&&"number"===typeof t.speed&&(e.length*=Nd()),e}},{key:"_checkOverlap",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.options.collisions,i=this.getRadius();if(!n.enable)return!1;var r=n.overlap;if(r.enable)return!1;var a=r.retries;if(a>=0&&t>a)throw new Error("Particle is overlapping and can't be placed");var o,s=!1,l=C(this.container.particles.array);try{for(l.s();!(o=l.n()).done;){var u=o.value;if(Gd(e,u.position)<i+u.getRadius()){s=!0;break}}}catch(c){l.e(c)}finally{l.f()}return s}},{key:"_getRollColor",value:function(e){var t;if(!e||!this.roll||!this.backColor&&!this.roll.alter)return e;var n=this.roll.horizontal&&this.roll.vertical?2:1,i=this.roll.horizontal?Math.PI/2:0;return Math.floor(((null!==(t=this.roll.angle)&&void 0!==t?t:0)+i)/(Math.PI/n))%2?this.backColor?this.backColor:this.roll.alter?function(e,t,n){return{h:e.h,s:e.s,l:e.l+("darken"===t?-1:1)*n}}(e,this.roll.alter.type,this.roll.alter.value):e:e}},{key:"_loadShapeData",value:function(e,t){var n=e.options[this.shape];if(n)return ff({},kf(n,this.id,t))}}]),e}(),sp=f((function e(t,n){l(this,e),this.position=t,this.particle=n})),lp=f((function e(t,n){l(this,e),this.position={x:t,y:n}})),up=function(e){p(n,e);var t=g(n);function n(e,i,r){var a;return l(this,n),(a=t.call(this,e,i)).radius=r,a}return f(n,[{key:"contains",value:function(e){return Gd(e,this.position)<=this.radius}},{key:"intersects",value:function(e){var t=e,n=e,i=this.position,r=e.position,a={x:Math.abs(r.x-i.x),y:Math.abs(r.y-i.y)},o=this.radius;if(void 0!==n.radius)return o+n.radius>Math.sqrt(Math.pow(a.x,2)+Math.pow(a.y,2));if(void 0!==t.size){var s=t.size.width,l=t.size.height;return Math.pow(a.x-s,2)+Math.pow(a.y-l,2)<=Math.pow(o,2)||a.x<=o+s&&a.y<=o+l||a.x<=s||a.y<=l}return!1}}]),n}(lp),cp=function(e){p(n,e);var t=g(n);function n(e,i,r,a){var o;return l(this,n),(o=t.call(this,e,i)).size={height:a,width:r},o}return f(n,[{key:"contains",value:function(e){var t=this.size.width,n=this.size.height,i=this.position;return e.x>=i.x&&e.x<=i.x+t&&e.y>=i.y&&e.y<=i.y+n}},{key:"intersects",value:function(e){e instanceof up&&e.intersects(this);var t=this.size.width,i=this.size.height,r=this.position,a=e.position,o=e instanceof n?e.size:{width:0,height:0},s=o.width,l=o.height;return a.x<r.x+t&&a.x+s>r.x&&a.y<r.y+i&&a.y+l>r.y}}]),n}(lp),dp=function(){function e(t,n){l(this,e),this.rectangle=t,this.capacity=n,this._points=[],this._divided=!1}return f(e,[{key:"insert",value:function(e){var t,n,i,r,a;return!!this.rectangle.contains(e.position)&&(this._points.length<this.capacity?(this._points.push(e),!0):(this._divided||this.subdivide(),null!==(a=(null===(t=this._NE)||void 0===t?void 0:t.insert(e))||(null===(n=this._NW)||void 0===n?void 0:n.insert(e))||(null===(i=this._SE)||void 0===i?void 0:i.insert(e))||(null===(r=this._SW)||void 0===r?void 0:r.insert(e)))&&void 0!==a&&a))}},{key:"query",value:function(e,t,n){var i,r,a,o,s=null!==n&&void 0!==n?n:[];if(!e.intersects(this.rectangle))return[];var l,u=C(this._points);try{for(u.s();!(l=u.n()).done;){var c=l.value;!e.contains(c.position)&&Gd(e.position,c.position)>c.particle.getRadius()&&(!t||t(c.particle))||s.push(c.particle)}}catch(d){u.e(d)}finally{u.f()}return this._divided&&(null===(i=this._NE)||void 0===i||i.query(e,t,s),null===(r=this._NW)||void 0===r||r.query(e,t,s),null===(a=this._SE)||void 0===a||a.query(e,t,s),null===(o=this._SW)||void 0===o||o.query(e,t,s)),s}},{key:"queryCircle",value:function(e,t,n){return this.query(new up(e.x,e.y,t),n)}},{key:"queryRectangle",value:function(e,t,n){return this.query(new cp(e.x,e.y,t.width,t.height),n)}},{key:"subdivide",value:function(){var t=this.rectangle.position.x,n=this.rectangle.position.y,i=this.rectangle.size.width,r=this.rectangle.size.height,a=this.capacity;this._NE=new e(new cp(t,n,i/2,r/2),a),this._NW=new e(new cp(t+i/2,n,i/2,r/2),a),this._SE=new e(new cp(t,n+r/2,i/2,r/2),a),this._SW=new e(new cp(t+i/2,n+r/2,i/2,r/2),a),this._divided=!0}}]),e}(),fp=function(){function e(t,n){l(this,e),this.container=n,this._engine=t,this.nextId=0,this.array=[],this.zArray=[],this.pool=[],this.limit=0,this.needsSort=!1,this.lastZIndex=0,this.interactionManager=new rp(this._engine,n);var i=this.container.canvas.size;this.quadTree=new dp(new cp(-i.width/4,-i.height/4,3*i.width/2,3*i.height/2),4),this.movers=this._engine.plugins.getMovers(n,!0),this.updaters=this._engine.plugins.getUpdaters(n,!0)}return f(e,[{key:"count",get:function(){return this.array.length}},{key:"addManualParticles",value:function(){var e,t,n=this.container,i=C(n.actualOptions.manualParticles);try{for(i.s();!(e=i.n()).done;){var r=e.value;this.addParticle((t={size:n.canvas.size,position:r.position}).position&&void 0!==t.position.x&&void 0!==t.position.y?{x:t.position.x*t.size.width/100,y:t.position.y*t.size.height/100}:void 0,r.options)}}catch(a){i.e(a)}finally{i.f()}}},{key:"addParticle",value:function(e,t,n,i){var r=this.container.actualOptions.particles.number.limit;if(r>0){var a=this.count+1-r;a>0&&this.removeQuantity(a)}return this._pushParticle(e,t,n,i)}},{key:"clear",value:function(){this.array=[],this.zArray=[]}},{key:"destroy",value:function(){this.array=[],this.zArray=[],this.movers=[],this.updaters=[]}},{key:"draw",value:function(){var e=Td(zd().mark((function e(t){var n,i,r,a,o,s,l,u;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.container,i=this.container.canvas.size,this.quadTree=new dp(new cp(-i.width/4,-i.height/4,3*i.width/2,3*i.height/2),4),n.canvas.clear(),e.next=5,this.update(t);case 5:this.needsSort&&(this.zArray.sort((function(e,t){return t.position.z-e.position.z||e.id-t.id})),this.lastZIndex=this.zArray[this.zArray.length-1].position.z,this.needsSort=!1),r=C(n.plugins);try{for(r.s();!(a=r.n()).done;)o=w(a.value,2),s=o[1],n.canvas.drawPlugin(s,t)}catch(c){r.e(c)}finally{r.f()}l=C(this.zArray);try{for(l.s();!(u=l.n()).done;)u.value.draw(t)}catch(c){l.e(c)}finally{l.f()}case 10:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"handleClickMode",value:function(e){this.interactionManager.handleClickMode(e)}},{key:"init",value:function(){var e,t=this.container,n=t.actualOptions;this.lastZIndex=0,this.needsSort=!1;var i=!1;this.updaters=this._engine.plugins.getUpdaters(t,!0),this.interactionManager.init();var r,a=C(t.plugins);try{for(a.s();!(r=a.n()).done;){var o=w(r.value,2)[1];if(void 0!==o.particlesInitialization&&(i=o.particlesInitialization()),i)break}}catch(p){a.e(p)}finally{a.f()}this.interactionManager.init();var s,l=C(t.pathGenerators);try{for(l.s();!(s=l.n()).done;){w(s.value,2)[1].init(t)}}catch(p){l.e(p)}finally{l.f()}if(this.addManualParticles(),!i){for(var u in n.particles.groups)for(var c=n.particles.groups[u],d=this.count,f=0;f<(null===(e=c.number)||void 0===e?void 0:e.value)&&d<n.particles.number.value;d++,f++)this.addParticle(void 0,c,u);for(var h=this.count;h<n.particles.number.value;h++)this.addParticle()}}},{key:"push",value:function(e,t,n,i){this.pushing=!0;for(var r=0;r<e;r++)this.addParticle(null===t||void 0===t?void 0:t.position,n,i);this.pushing=!1}},{key:"redraw",value:function(){var e=Td(zd().mark((function e(){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.clear(),this.init(),e.next=4,this.draw({value:0,factor:0});case 4:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"remove",value:function(e,t,n){this.removeAt(this.array.indexOf(e),void 0,t,n)}},{key:"removeAt",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;if(!(e<0||e>this.count))for(var r=0,a=e;r<t&&a<this.count;a++){var o=this.array[a];if(o&&o.group===n){o.destroy(i),this.array.splice(a--,1);var s=this.zArray.indexOf(o);this.zArray.splice(s,1),this.pool.push(o),r++,this._engine.dispatchEvent("particleRemoved",{container:this.container,data:{particle:o}})}}}},{key:"removeQuantity",value:function(e,t){this.removeAt(0,e,t)}},{key:"setDensity",value:function(){var e=this.container.actualOptions;for(var t in e.particles.groups)this._applyDensity(e.particles.groups[t],0,t);this._applyDensity(e.particles,e.manualParticles.length)}},{key:"update",value:function(){var e=Td(zd().mark((function e(t){var n,i,r,a,o,s,l,u,c,d,f,h,p,v,y,m,g,b,k,x,S,E,_,P,z,O,T,M,R,A;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=this.container,a=[],o=C(r.pathGenerators);try{for(o.s();!(s=o.n()).done;)l=w(s.value,2),l[1].update()}catch(D){o.e(D)}finally{o.f()}u=C(r.plugins);try{for(u.s();!(c=u.n()).done;)d=w(c.value,2),f=d[1],null===(n=f.update)||void 0===n||n.call(f,t)}catch(D){u.e(D)}finally{u.f()}h=C(this.array),e.prev=6,h.s();case 8:if((p=h.n()).done){e.next=41;break}return v=p.value,(y=r.canvas.resizeFactor)&&!v.ignoresResizeRatio&&(v.position.x*=y.width,v.position.y*=y.height,v.initialPosition.x*=y.width,v.initialPosition.y*=y.height),v.ignoresResizeRatio=!1,e.next=15,this.interactionManager.reset(v);case 15:m=C(this.container.plugins),e.prev=16,m.s();case 18:if((g=m.n()).done){e.next=25;break}if(b=w(g.value,2),k=b[1],!v.destroyed){e.next=22;break}return e.abrupt("break",25);case 22:null===(i=k.particleUpdate)||void 0===i||i.call(k,v,t);case 23:e.next=18;break;case 25:e.next=30;break;case 27:e.prev=27,e.t0=e.catch(16),m.e(e.t0);case 30:return e.prev=30,m.f(),e.finish(30);case 33:x=C(this.movers);try{for(x.s();!(S=x.n()).done;)(E=S.value).isEnabled(v)&&E.move(v,t)}catch(D){x.e(D)}finally{x.f()}if(!v.destroyed){e.next=38;break}return a.push(v),e.abrupt("continue",39);case 38:this.quadTree.insert(new sp(v.getPosition(),v));case 39:e.next=8;break;case 41:e.next=46;break;case 43:e.prev=43,e.t1=e.catch(6),h.e(e.t1);case 46:return e.prev=46,h.f(),e.finish(46);case 49:for(_=0,P=a;_<P.length;_++)z=P[_],this.remove(z);return e.next=52,this.interactionManager.externalInteract(t);case 52:O=C(this.array),e.prev=53,O.s();case 55:if((T=O.n()).done){e.next=64;break}M=T.value,R=C(this.updaters);try{for(R.s();!(A=R.n()).done;)A.value.update(M,t)}catch(D){R.e(D)}finally{R.f()}if(M.destroyed||M.spawning){e.next=62;break}return e.next=62,this.interactionManager.particlesInteract(M,t);case 62:e.next=55;break;case 64:e.next=69;break;case 66:e.prev=66,e.t2=e.catch(53),O.e(e.t2);case 69:return e.prev=69,O.f(),e.finish(69);case 72:delete r.canvas.resizeFactor;case 73:case"end":return e.stop()}}),e,this,[[6,43,46,49],[16,27,30,33],[53,66,69,72]])})));return function(t){return e.apply(this,arguments)}}()},{key:"_applyDensity",value:function(e,t,n){var i;if(null===(i=e.number.density)||void 0===i?void 0:i.enable){var r=e.number,a=this._initDensityFactor(r.density),o=r.value,s=r.limit>0?r.limit:o,l=Math.min(o,s)*a+t,u=Math.min(this.count,this.array.filter((function(e){return e.group===n})).length);this.limit=r.limit*a,u<l?this.push(Math.abs(l-u),void 0,e,n):u>l&&this.removeQuantity(u-l,n)}}},{key:"_initDensityFactor",value:function(e){var t=this.container;if(!t.canvas.element||!e.enable)return 1;var n=t.canvas.element,i=t.retina.pixelRatio;return n.width*n.height/(e.factor*Math.pow(i,2)*e.area)}},{key:"_pushParticle",value:function(e,t,n,i){try{var r=this.pool.pop();r?r.init(this.nextId,e,t,n):r=new op(this._engine,this.nextId,this.container,e,t,n);var a=!0;if(i&&(a=i(r)),!a)return;return this.array.push(r),this.zArray.push(r),this.nextId++,this._engine.dispatchEvent("particleAdded",{container:this.container,data:{particle:r}}),r}catch(o){return void console.warn("error adding particle: ".concat(o))}}}]),e}(),hp=function(){function e(t){l(this,e),this.container=t}return f(e,[{key:"init",value:function(){var e=this.container,t=e.actualOptions;this.pixelRatio=!t.detectRetina||nf()?1:window.devicePixelRatio,this.reduceFactor=1;var n=this.pixelRatio;if(e.canvas.element){var i=e.canvas.element;e.canvas.size.width=i.offsetWidth*n,e.canvas.size.height=i.offsetHeight*n}var r=t.particles;this.attractDistance=Hd(r.move.attract.distance)*n,this.sizeAnimationSpeed=Hd(r.size.animation.speed)*n,this.maxSpeed=Hd(r.move.gravity.maxSpeed)*n}},{key:"initParticle",value:function(e){var t=e.options,n=this.pixelRatio,i=t.move.distance,r=e.retina;r.attractDistance=Hd(t.move.attract.distance)*n,r.moveDrift=Hd(t.move.drift)*n,r.moveSpeed=Hd(t.move.speed)*n,r.sizeAnimationSpeed=Hd(t.size.animation.speed)*n;var a=r.maxDistance;a.horizontal=void 0!==i.horizontal?i.horizontal*n:void 0,a.vertical=void 0!==i.vertical?i.vertical*n:void 0,r.maxSpeed=Hd(t.move.gravity.maxSpeed)*n}}]),e}();function pp(e){return e&&!e.destroyed}function vp(e,t){for(var n=new ip(e,t),i=arguments.length,r=new Array(i>2?i-2:0),a=2;a<i;a++)r[a-2]=arguments[a];return tp.apply(void 0,[n].concat(r)),n}var yp={generate:function(e){var t=e.velocity.copy();return t.angle+=t.length*Math.PI/180,t},init:function(){},update:function(){},reset:function(){}},mp=function(){function e(t,n,i){var r=this;l(this,e),this.id=n,this._engine=t,this.fpsLimit=120,this.smooth=!1,this._delay=0,this.duration=0,this.lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this.lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._sourceOptions=i,this._initialSourceOptions=i,this.retina=new hp(this),this.canvas=new Gf(this),this.particles=new fp(this._engine,this),this.frameManager=new Zf(this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.drawers=new Map,this._options=vp(this._engine,this),this.actualOptions=vp(this._engine,this),this._eventListeners=new Qf(this),"undefined"!==typeof IntersectionObserver&&IntersectionObserver&&(this._intersectionObserver=new IntersectionObserver((function(e){return r._intersectionManager(e)}))),this._engine.dispatchEvent("containerBuilt",{container:this})}return f(e,[{key:"options",get:function(){return this._options}},{key:"sourceOptions",get:function(){return this._sourceOptions}},{key:"addClickHandler",value:function(e){var t=this;if(pp(this)){var n=this.interactivity.element;if(n){var i=function(n,i,r){if(pp(t)){var a=t.retina.pixelRatio,o={x:i.x*a,y:i.y*a},s=t.particles.quadTree.queryCircle(o,r*a);e(n,s)}},r=!1,a=!1;n.addEventListener("click",(function(e){if(pp(t)){var n=e,r={x:n.offsetX||n.clientX,y:n.offsetY||n.clientY};i(e,r,1)}})),n.addEventListener("touchstart",(function(){pp(t)&&(r=!0,a=!1)})),n.addEventListener("touchmove",(function(){pp(t)&&(a=!0)})),n.addEventListener("touchend",(function(e){if(pp(t)){if(r&&!a){var n=e,o=n.touches[n.touches.length-1];if(!o&&!(o=n.changedTouches[n.changedTouches.length-1]))return;var s=t.canvas.element,l=s?s.getBoundingClientRect():void 0,u={x:o.clientX-(l?l.left:0),y:o.clientY-(l?l.top:0)};i(e,u,Math.max(o.radiusX,o.radiusY))}r=!1,a=!1}})),n.addEventListener("touchcancel",(function(){pp(t)&&(r=!1,a=!1)}))}}}},{key:"addPath",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!(!pp(this)||!n&&this.pathGenerators.has(e))&&(this.pathGenerators.set(e,null!==t&&void 0!==t?t:yp),!0)}},{key:"destroy",value:function(){var e=this;if(pp(this)){this.stop(),this.particles.destroy(),this.canvas.destroy();var t,n=C(this.drawers);try{for(n.s();!(t=n.n()).done;){var i=w(t.value,2)[1];i.destroy&&i.destroy(this)}}catch(u){n.e(u)}finally{n.f()}var r,a=C(this.drawers.keys());try{for(a.s();!(r=a.n()).done;){var o=r.value;this.drawers.delete(o)}}catch(u){a.e(u)}finally{a.f()}this._engine.plugins.destroy(this),this.destroyed=!0;var s=this._engine.dom(),l=s.findIndex((function(t){return t===e}));l>=0&&s.splice(l,1),this._engine.dispatchEvent("containerDestroyed",{container:this})}}},{key:"draw",value:function(e){var t=this;if(pp(this)){var n=e;this._drawAnimationFrame=(nf()?function(e){return setTimeout(e)}:function(e){return(requestAnimationFrame||setTimeout)(e)})(function(){var e=Td(zd().mark((function e(i){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n&&(t.lastFrameTime=void 0,n=!1),e.next=3,t.frameManager.nextFrame(i);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}}},{key:"exportConfiguration",value:function(){return JSON.stringify(this.actualOptions,(function(e,t){if("_engine"!==e&&"_container"!==e)return t}),2)}},{key:"exportImage",value:function(e,t,n){var i=this.canvas.element;i&&i.toBlob(e,null!==t&&void 0!==t?t:"image/png",n)}},{key:"exportImg",value:function(e){this.exportImage(e)}},{key:"getAnimationStatus",value:function(){return!this._paused&&!this.pageHidden&&pp(this)}},{key:"handleClickMode",value:function(e){if(pp(this)){this.particles.handleClickMode(e);var t,n=C(this.plugins);try{for(n.s();!(t=n.n()).done;){var i=w(t.value,2)[1];i.handleClickMode&&i.handleClickMode(e)}}catch(r){n.e(r)}finally{n.f()}}}},{key:"init",value:function(){var e=Td(zd().mark((function e(){var t,n,i,r,a,o,s,l,u,c,d,f,h,p,v,y,m,g,b,k,x,S,E;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(pp(this)){e.next=2;break}return e.abrupt("return");case 2:t=this._engine.plugins.getSupportedShapes(),n=C(t);try{for(n.s();!(i=n.n()).done;)r=i.value,(a=this._engine.plugins.getShapeDrawer(r))&&this.drawers.set(r,a)}catch(_){n.e(_)}finally{n.f()}this._options=vp(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=vp(this._engine,this,this._options),o=this._engine.plugins.getAvailablePlugins(this),s=C(o);try{for(s.s();!(l=s.n()).done;)u=w(l.value,2),c=u[0],d=u[1],this.plugins.set(c,d)}catch(_){s.e(_)}finally{s.f()}return this.retina.init(),e.next=13,this.canvas.init();case 13:this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize(),this.zLayers=this.actualOptions.zLayers,this.duration=1e3*Hd(this.actualOptions.duration),this._delay=1e3*Hd(this.actualOptions.delay),this.lifeTime=0,this.fpsLimit=this.actualOptions.fpsLimit>0?this.actualOptions.fpsLimit:120,this.smooth=this.actualOptions.smooth,f=C(this.drawers),e.prev=23,f.s();case 25:if((h=f.n()).done){e.next=32;break}if(p=w(h.value,2),!(v=p[1]).init){e.next=30;break}return e.next=30,v.init(this);case 30:e.next=25;break;case 32:e.next=37;break;case 34:e.prev=34,e.t0=e.catch(23),f.e(e.t0);case 37:return e.prev=37,f.f(),e.finish(37);case 40:y=C(this.plugins),e.prev=41,y.s();case 43:if((m=y.n()).done){e.next=50;break}if(g=w(m.value,2),!(b=g[1]).init){e.next=48;break}return e.next=48,b.init();case 48:e.next=43;break;case 50:e.next=55;break;case 52:e.prev=52,e.t1=e.catch(41),y.e(e.t1);case 55:return e.prev=55,y.f(),e.finish(55);case 58:this._engine.dispatchEvent("containerInit",{container:this}),this.particles.init(),this.particles.setDensity(),k=C(this.plugins);try{for(k.s();!(x=k.n()).done;)S=w(x.value,2),(E=S[1]).particlesSetup&&E.particlesSetup()}catch(_){k.e(_)}finally{k.f()}this._engine.dispatchEvent("particlesSetup",{container:this});case 64:case"end":return e.stop()}}),e,this,[[23,34,37,40],[41,52,55,58]])})));return function(){return e.apply(this,arguments)}}()},{key:"loadTheme",value:function(){var e=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(pp(this)){e.next=2;break}return e.abrupt("return");case 2:return this._currentTheme=t,e.next=5,this.refresh();case 5:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"pause",value:function(){if(pp(this)&&(void 0!==this._drawAnimationFrame&&((nf()?function(e){return clearTimeout(e)}:function(e){return(cancelAnimationFrame||clearTimeout)(e)})(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){var e,t=C(this.plugins);try{for(t.s();!(e=t.n()).done;){var n=w(e.value,2)[1];n.pause&&n.pause()}}catch(i){t.e(i)}finally{t.f()}this.pageHidden||(this._paused=!0),this._engine.dispatchEvent("containerPaused",{container:this})}}},{key:"play",value:function(e){if(pp(this)){var t=this._paused||e;if(!this._firstStart||this.actualOptions.autoPlay){if(this._paused&&(this._paused=!1),t){var n,i=C(this.plugins);try{for(i.s();!(n=i.n()).done;){var r=w(n.value,2)[1];r.play&&r.play()}}catch(a){i.e(a)}finally{i.f()}}this._engine.dispatchEvent("containerPlay",{container:this}),this.draw(t||!1)}else this._firstStart=!1}}},{key:"refresh",value:function(){var e=Td(zd().mark((function e(){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(pp(this)){e.next=2;break}return e.abrupt("return");case 2:return this.stop(),e.abrupt("return",this.start());case 4:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"reset",value:function(){var e=Td(zd().mark((function e(){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(pp(this)){e.next=2;break}return e.abrupt("return");case 2:return this._options=vp(this._engine,this),e.abrupt("return",this.refresh());case 4:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setNoise",value:function(e,t,n){pp(this)&&this.setPath(e,t,n)}},{key:"setPath",value:function(e,t,n){if(e&&pp(this)){var i=Object.assign({},yp);if("function"===typeof e)i.generate=e,t&&(i.init=t),n&&(i.update=n);else{var r=i;i.generate=e.generate||r.generate,i.init=e.init||r.init,i.update=e.update||r.update}this.addPath("default",i,!0)}}},{key:"start",value:function(){var e=Td(zd().mark((function e(){var t=this;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(pp(this)&&!this.started){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.init();case 4:return this.started=!0,e.next=7,new Promise((function(e){t._delayTimeout=setTimeout(Td(zd().mark((function n(){var i,r,a,o;return zd().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t._eventListeners.addListeners(),t.interactivity.element instanceof HTMLElement&&t._intersectionObserver&&t._intersectionObserver.observe(t.interactivity.element),i=C(t.plugins),n.prev=3,i.s();case 5:if((r=i.n()).done){n.next=12;break}if(a=w(r.value,2),!(o=a[1]).start){n.next=10;break}return n.next=10,o.start();case 10:n.next=5;break;case 12:n.next=17;break;case 14:n.prev=14,n.t0=n.catch(3),i.e(n.t0);case 17:return n.prev=17,i.f(),n.finish(17);case 20:t._engine.dispatchEvent("containerStarted",{container:t}),t.play(),e();case 23:case"end":return n.stop()}}),n,null,[[3,14,17,20]])}))),t._delay)}));case 7:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"stop",value:function(){if(pp(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.clear(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element);var e,t=C(this.plugins);try{for(t.s();!(e=t.n()).done;){var n=w(e.value,2)[1];n.stop&&n.stop()}}catch(o){t.e(o)}finally{t.f()}var i,r=C(this.plugins.keys());try{for(r.s();!(i=r.n()).done;){var a=i.value;this.plugins.delete(a)}}catch(o){r.e(o)}finally{r.f()}this._sourceOptions=this._options,this._engine.dispatchEvent("containerStopped",{container:this})}}},{key:"updateActualOptions",value:function(){this.actualOptions.responsive=[];var e=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this.responsiveMaxWidth!==e&&(this.responsiveMaxWidth=e,!0)}},{key:"_intersectionManager",value:function(e){if(pp(this)&&this.actualOptions.pauseOnOutsideViewport){var t,n=C(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;i.target===this.interactivity.element&&(i.isIntersecting?this.play:this.pause)()}}catch(r){n.e(r)}finally{n.f()}}}}]),e}();function gp(e,t){return bp.apply(this,arguments)}function bp(){return(bp=Td(zd().mark((function e(t,n){var i,r;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=kf(t,n)){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,fetch(i);case 5:if(!(r=e.sent).ok){e.next=8;break}return e.abrupt("return",r.json());case 8:console.error("tsParticles - Error ".concat(r.status," while retrieving config file"));case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var kp=function(){function e(t){l(this,e),this._engine=t}return f(e,[{key:"load",value:function(e,t,n){var i={index:n,remote:!1};return"string"===typeof e?i.tagId=e:i.options=e,"number"===typeof t?i.index=t:i.options=null!==t&&void 0!==t?t:i.options,this.loadOptions(i)}},{key:"loadJSON",value:function(){var e=Td(zd().mark((function e(t,n,i){var r,a;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"number"===typeof n||void 0===n?r=t:(a=t,r=n),e.abrupt("return",this.loadRemoteOptions({tagId:a,url:r,index:i,remote:!0}));case 2:case"end":return e.stop()}}),e,this)})));return function(t,n,i){return e.apply(this,arguments)}}()},{key:"loadOptions",value:function(){var e=Td(zd().mark((function e(t){var n,i,r,a,o,s,l,u,c,d,f,h,p,v,y;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=null!==(n=t.tagId)&&void 0!==n?n:"tsparticles".concat(Math.floor(1e4*Nd())),o=t.index,s=t.url,!t.remote){e.next=10;break}return e.next=7,gp(s,o);case 7:e.t0=e.sent,e.next=11;break;case 10:e.t0=t.options;case 11:return l=e.t0,(u=null!==(i=t.element)&&void 0!==i?i:document.getElementById(a))||((u=document.createElement("div")).id=a,null===(r=document.querySelector("body"))||void 0===r||r.append(u)),c=kf(l,o),d=this._engine.dom(),f=d.findIndex((function(e){return e.id===a})),f>=0&&(h=this._engine.domItem(f))&&!h.destroyed&&(h.destroy(),d.splice(f,1)),"canvas"===u.tagName.toLowerCase()?(p=u).dataset[Wf]="false":(v=u.getElementsByTagName("canvas")).length?(p=v[0]).dataset[Wf]="false":((p=document.createElement("canvas")).dataset[Wf]="true",u.appendChild(p)),p.style.width||(p.style.width="100%"),p.style.height||(p.style.height="100%"),y=new mp(this._engine,a,c),f>=0?d.splice(f,0,y):d.push(y),y.canvas.loadCanvas(p),e.next=24,y.start();case 24:return e.abrupt("return",y);case 25:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"loadRemoteOptions",value:function(){var e=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.loadOptions(t));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"set",value:function(){var e=Td(zd().mark((function e(t,n,i,r){var a;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a={index:r,remote:!1},"string"===typeof t?a.tagId=t:a.element=t,n instanceof HTMLElement?a.element=n:a.options=n,"number"===typeof i?a.index=i:a.options=null!==i&&void 0!==i?i:a.options,e.abrupt("return",this.loadOptions(a));case 5:case"end":return e.stop()}}),e,this)})));return function(t,n,i,r){return e.apply(this,arguments)}}()},{key:"setJSON",value:function(){var e=Td(zd().mark((function e(t,n,i,r){var a,o,s,l;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t instanceof HTMLElement?(l=t,a=n,s=i):(o=t,l=n,a=i,s=r),e.abrupt("return",this.loadRemoteOptions({tagId:o,url:a,index:s,element:l,remote:!0}));case 2:case"end":return e.stop()}}),e,this)})));return function(t,n,i,r){return e.apply(this,arguments)}}()}]),e}();function wp(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=t.get(e);return r&&!i||(r=s(n.values()).map((function(t){return t(e)})),t.set(e,r)),r}var xp=function(){function e(t){l(this,e),this._engine=t,this.plugins=[],this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.drawers=new Map,this.pathGenerators=new Map}return f(e,[{key:"addInteractor",value:function(e,t){this._initializers.interactors.set(e,t)}},{key:"addParticleMover",value:function(e,t){this._initializers.movers.set(e,t)}},{key:"addParticleUpdater",value:function(e,t){this._initializers.updaters.set(e,t)}},{key:"addPathGenerator",value:function(e,t){this.getPathGenerator(e)||this.pathGenerators.set(e,t)}},{key:"addPlugin",value:function(e){this.getPlugin(e.id)||this.plugins.push(e)}},{key:"addPreset",value:function(e,t){!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])&&this.getPreset(e)||this.presets.set(e,t)}},{key:"addShapeDrawer",value:function(e,t){var n=this;bf(e,(function(e){n.getShapeDrawer(e)||n.drawers.set(e,t)}))}},{key:"destroy",value:function(e){this.updaters.delete(e),this.movers.delete(e),this.interactors.delete(e)}},{key:"getAvailablePlugins",value:function(e){var t,n=new Map,i=C(this.plugins);try{for(i.s();!(t=i.n()).done;){var r=t.value;r.needsPlugin(e.actualOptions)&&n.set(r.id,r.getPlugin(e))}}catch(a){i.e(a)}finally{i.f()}return n}},{key:"getInteractors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return wp(e,this.interactors,this._initializers.interactors,t)}},{key:"getMovers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return wp(e,this.movers,this._initializers.movers,t)}},{key:"getPathGenerator",value:function(e){return this.pathGenerators.get(e)}},{key:"getPlugin",value:function(e){return this.plugins.find((function(t){return t.id===e}))}},{key:"getPreset",value:function(e){return this.presets.get(e)}},{key:"getShapeDrawer",value:function(e){return this.drawers.get(e)}},{key:"getSupportedShapes",value:function(){return this.drawers.keys()}},{key:"getUpdaters",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return wp(e,this.updaters,this._initializers.updaters,t)}},{key:"loadOptions",value:function(e,t){var n,i=C(this.plugins);try{for(i.s();!(n=i.n()).done;){n.value.loadOptions(e,t)}}catch(r){i.e(r)}finally{i.f()}}},{key:"loadParticlesOptions",value:function(e,t){var n=this.updaters.get(e);if(n){for(var i=arguments.length,r=new Array(i>2?i-2:0),a=2;a<i;a++)r[a-2]=arguments[a];var o,s=C(n);try{for(s.s();!(o=s.n()).done;){var l=o.value;l.loadOptions&&l.loadOptions.apply(l,[t].concat(r))}}catch(u){s.e(u)}finally{s.f()}}}}]),e}(),Sp=function(){function e(){l(this,e),this._domArray=[],this._eventDispatcher=new Ad,this._initialized=!1,this._loader=new kp(this),this.plugins=new xp(this)}return f(e,[{key:"addEventListener",value:function(e,t){this._eventDispatcher.addEventListener(e,t)}},{key:"addInteractor",value:function(){var e=Td(zd().mark((function e(t,n){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.plugins.addInteractor(t,n),e.next=3,this.refresh();case 3:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"addMover",value:function(){var e=Td(zd().mark((function e(t,n){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.plugins.addParticleMover(t,n),e.next=3,this.refresh();case 3:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"addParticleUpdater",value:function(){var e=Td(zd().mark((function e(t,n){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.plugins.addParticleUpdater(t,n),e.next=3,this.refresh();case 3:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"addPathGenerator",value:function(){var e=Td(zd().mark((function e(t,n){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.plugins.addPathGenerator(t,n),e.next=3,this.refresh();case 3:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"addPlugin",value:function(){var e=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.plugins.addPlugin(t),e.next=3,this.refresh();case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"addPreset",value:function(){var e=Td(zd().mark((function e(t,n){var i,r=arguments;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.length>2&&void 0!==r[2]&&r[2],this.plugins.addPreset(t,n,i),e.next=4,this.refresh();case 4:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"addShape",value:function(){var e=Td(zd().mark((function e(t,n,i,r,a){var o;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="function"===typeof n?{afterEffect:r,destroy:a,draw:n,init:i}:n,this.plugins.addShapeDrawer(t,o),e.next=4,this.refresh();case 4:case"end":return e.stop()}}),e,this)})));return function(t,n,i,r,a){return e.apply(this,arguments)}}()},{key:"dispatchEvent",value:function(e,t){this._eventDispatcher.dispatchEvent(e,t)}},{key:"dom",value:function(){return this._domArray}},{key:"domItem",value:function(e){var t=this.dom(),n=t[e];if(n&&!n.destroyed)return n;t.splice(e,1)}},{key:"init",value:function(){this._initialized||(this._initialized=!0)}},{key:"load",value:function(){var e=Td(zd().mark((function e(t,n){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this._loader.load(t,n));case 1:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"loadFromArray",value:function(){var e=Td(zd().mark((function e(t,n,i){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this._loader.load(t,n,i));case 1:case"end":return e.stop()}}),e,this)})));return function(t,n,i){return e.apply(this,arguments)}}()},{key:"loadJSON",value:function(){var e=Td(zd().mark((function e(t,n,i){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this._loader.loadJSON(t,n,i));case 1:case"end":return e.stop()}}),e,this)})));return function(t,n,i){return e.apply(this,arguments)}}()},{key:"refresh",value:function(){var e=Td(zd().mark((function e(){var t,n,i;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=C(this.dom()),e.prev=1,t.s();case 3:if((n=t.n()).done){e.next=9;break}return i=n.value,e.next=7,i.refresh();case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),t.e(e.t0);case 14:return e.prev=14,t.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])})));return function(){return e.apply(this,arguments)}}()},{key:"removeEventListener",value:function(e,t){this._eventDispatcher.removeEventListener(e,t)}},{key:"set",value:function(){var e=Td(zd().mark((function e(t,n,i){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this._loader.set(t,n,i));case 1:case"end":return e.stop()}}),e,this)})));return function(t,n,i){return e.apply(this,arguments)}}()},{key:"setJSON",value:function(){var e=Td(zd().mark((function e(t,n,i,r){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this._loader.setJSON(t,n,i,r));case 1:case"end":return e.stop()}}),e,this)})));return function(t,n,i,r){return e.apply(this,arguments)}}()},{key:"setOnClickHandler",value:function(e){var t=this.dom();if(!t.length)throw new Error("Can only set click handlers after calling tsParticles.load() or tsParticles.loadJSON()");var n,i=C(t);try{for(i.s();!(n=i.n()).done;){n.value.addClickHandler(e)}}catch(r){i.e(r)}finally{i.f()}}}]),e}(),Cp=function(){function e(){l(this,e),this.key="hsl",this.stringPrefix="hsl"}return f(e,[{key:"handleColor",value:function(e){var t,n=null!==(t=e.value.hsl)&&void 0!==t?t:e.value;if(void 0!==n.h&&void 0!==n.s&&void 0!==n.l)return Rf(n)}},{key:"handleRangeColor",value:function(e){var t,n=null!==(t=e.value.hsl)&&void 0!==t?t:e.value;if(void 0!==n.h&&void 0!==n.l)return Rf({h:Hd(n.h),l:Hd(n.l),s:Hd(n.s)})}},{key:"parseString",value:function(e){if(e.startsWith("hsl")){var t=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.%]+)\s*)?\)/i.exec(e);return t?function(e){var t=Rf(e);return{a:e.a,b:t.b,g:t.g,r:t.r}}({a:t.length>4?ef(t[5]):1,h:parseInt(t[1],10),l:parseInt(t[3],10),s:parseInt(t[2],10)}):void 0}}}]),e}(),Ep=function(){function e(){l(this,e),this.key="rgb",this.stringPrefix="rgb"}return f(e,[{key:"handleColor",value:function(e){var t,n=null!==(t=e.value.rgb)&&void 0!==t?t:e.value;if(void 0!==n.r)return n}},{key:"handleRangeColor",value:function(e){var t,n=null!==(t=e.value.rgb)&&void 0!==t?t:e.value;if(void 0!==n.r)return{r:Hd(n.r),g:Hd(n.g),b:Hd(n.b)}}},{key:"parseString",value:function(e){if(e.startsWith(this.stringPrefix)){var t=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.%]+)\s*)?\)/i.exec(e);return t?{a:t.length>4?ef(t[5]):1,b:parseInt(t[3],10),g:parseInt(t[2],10),r:parseInt(t[1],10)}:void 0}}}]),e}(),_p=f((function e(t){l(this,e),this.container=t,this.type="external"})),Pp=f((function e(t){l(this,e),this.container=t,this.type="particles"})),zp=new Ep,Op=new Cp;Ef(zp),Ef(Op);var Tp=new Sp;Tp.init();var Mp=n(300),Rp=n.n(Mp),Ap="tsparticles",Dp=function(e){p(i,e);var n=g(i);function i(e){var t;return l(this,i),(t=n.call(this,e)).state={init:!1,library:void 0},t}return f(i,[{key:"destroy",value:function(){this.state.library&&(this.state.library.destroy(),this.setState({library:void 0}))}},{key:"shouldComponentUpdate",value:function(e){return!Rp()(e,this.props)}},{key:"componentDidUpdate",value:function(){this.refresh()}},{key:"forceUpdate",value:function(){var e=this;this.refresh().then((function(){vu(v(i.prototype),"forceUpdate",e).call(e)}))}},{key:"componentDidMount",value:function(){var e=this;Td(zd().mark((function t(){return zd().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.props.init){t.next=3;break}return t.next=3,e.props.init(Tp);case 3:e.setState({init:!0},Td(zd().mark((function t(){return zd().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.loadParticles();case 2:case"end":return t.stop()}}),t)}))));case 4:case"end":return t.stop()}}),t)})))()}},{key:"componentWillUnmount",value:function(){this.destroy()}},{key:"render",value:function(){var e=this.props,n=e.width,i=e.height,r=e.className,a=e.canvasClassName,o=e.id;return t.createElement("div",{className:r,id:o},t.createElement("canvas",{className:a,style:Object.assign(Object.assign({},this.props.style),{width:n,height:i})}))}},{key:"refresh",value:function(){var e=Td(zd().mark((function e(){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.destroy(),e.next=3,this.loadParticles();case 3:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"loadParticles",value:function(){var e=Td(zd().mark((function e(){var t,n,r,a,o,s,l=this;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.state.init){e.next=2;break}return e.abrupt("return");case 2:if(a=function(){var e=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l.props.container&&(l.props.container.current=t),l.setState({library:t}),!l.props.loaded){e.next=5;break}return e.next=5,l.props.loaded(t);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),o=null!==(n=null!==(t=this.props.id)&&void 0!==t?t:i.defaultProps.id)&&void 0!==n?n:Ap,!this.props.url){e.next=10;break}return e.next=7,Tp.loadJSON(o,this.props.url);case 7:e.t0=e.sent,e.next=13;break;case 10:return e.next=12,Tp.load(o,null!==(r=this.props.params)&&void 0!==r?r:this.props.options);case 12:e.t0=e.sent;case 13:return s=e.t0,e.next=16,a(s);case 16:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),i}(t.Component);Dp.defaultProps={width:"100%",height:"100%",options:{},style:{},url:void 0,id:Ap};var Lp=Dp,jp=function(){function e(){l(this,e),this.radius=0,this.mass=0}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.mass&&(this.mass=e.mass),void 0!==e.radius&&(this.radius=e.radius))}}]),e}(),Ip=function(e){p(n,e);var t=g(n);function n(){var e;return l(this,n),(e=t.call(this)).density=5,e.value=50,e.limit=new jp,e}return f(n,[{key:"load",value:function(e){e&&(vu(v(n.prototype),"load",this).call(this,e),void 0!==e.density&&(this.density=e.density),"number"===typeof e.limit?this.limit.radius=e.limit:this.limit.load(e.limit))}}]),n}(Sh),Fp=function(){function e(){l(this,e),this.color=new eh,this.color.value="#000000",this.draggable=!1,this.opacity=1,this.destroy=!0,this.orbits=!1,this.size=new Ip}return f(e,[{key:"load",value:function(e){void 0!==e&&(void 0!==e.color&&(this.color=eh.create(this.color,e.color)),void 0!==e.draggable&&(this.draggable=e.draggable),this.name=e.name,void 0!==e.opacity&&(this.opacity=e.opacity),void 0!==e.position&&(this.position={},void 0!==e.position.x&&(this.position.x=$d(e.position.x)),void 0!==e.position.y&&(this.position.y=$d(e.position.y))),void 0!==e.size&&this.size.load(e.size),void 0!==e.destroy&&(this.destroy=e.destroy),void 0!==e.orbits&&(this.orbits=e.orbits))}}]),e}(),Np=function(){function e(t,n,i,r){var a,o,s;l(this,e),this.absorbers=t,this.container=n,this.initialPosition=r?Ld.create(r.x,r.y):void 0,i instanceof Fp?this.options=i:(this.options=new Fp,this.options.load(i)),this.dragging=!1,this.name=this.options.name,this.opacity=this.options.opacity,this.size=Hd(this.options.size.value)*n.retina.pixelRatio,this.mass=this.size*this.options.size.density*n.retina.reduceFactor;var u=this.options.size.limit;this.limit={radius:u.radius*n.retina.pixelRatio*n.retina.reduceFactor,mass:u.mass},this.color=null!==(a=zf(this.options.color))&&void 0!==a?a:{b:0,g:0,r:0},this.position=null!==(s=null===(o=this.initialPosition)||void 0===o?void 0:o.copy())&&void 0!==s?s:this.calcPosition()}return f(e,[{key:"attract",value:function(e){var t=this.container,n=this.options;if(n.draggable){var i=t.interactivity.mouse;if(i.clicking&&i.downPosition)Gd(this.position,i.downPosition)<=this.size&&(this.dragging=!0);else this.dragging=!1;this.dragging&&i.position&&(this.position.x=i.position.x,this.position.y=i.position.y)}var r=e.getPosition(),a=Kd(this.position,r),o=a.dx,s=a.dy,l=a.distance,u=Ld.create(o,s);if(u.length=this.mass/Math.pow(l,2)*t.retina.reduceFactor,l<this.size+e.getRadius()){var c=.033*e.getRadius()*t.retina.pixelRatio;this.size>e.getRadius()&&l<this.size-e.getRadius()||void 0!==e.absorberOrbit&&e.absorberOrbit.length<0?n.destroy?e.destroy():(e.needsNewPosition=!0,this.updateParticlePosition(e,u)):(n.destroy&&(e.size.value-=c),this.updateParticlePosition(e,u)),(this.limit.radius<=0||this.size<this.limit.radius)&&(this.size+=c),(this.limit.mass<=0||this.mass<this.limit.mass)&&(this.mass+=c*this.options.size.density*t.retina.reduceFactor)}else this.updateParticlePosition(e,u)}},{key:"draw",value:function(e){e.translate(this.position.x,this.position.y),e.beginPath(),e.arc(0,0,this.size,0,2*Math.PI,!1),e.closePath(),e.fillStyle=Df(this.color,this.opacity),e.fill()}},{key:"resize",value:function(){var e=this.initialPosition;this.position=e&&cf(e,this.container.canvas.size,Ld.origin)?e:this.calcPosition()}},{key:"calcPosition",value:function(){var e=Jd({size:this.container.canvas.size,position:this.options.position});return Ld.create(e.x,e.y)}},{key:"updateParticlePosition",value:function(e,t){var n;if(!e.destroyed){var i=this.container,r=i.canvas.size;if(e.needsNewPosition){var a=Qd({size:r});e.position.setTo(a),e.velocity.setTo(e.initialVelocity),e.absorberOrbit=void 0,e.needsNewPosition=!1}if(this.options.orbits){if(void 0===e.absorberOrbit&&(e.absorberOrbit=Ld.create(0,0),e.absorberOrbit.length=Gd(e.getPosition(),this.position),e.absorberOrbit.angle=Nd()*Math.PI*2),e.absorberOrbit.length<=this.size&&!this.options.destroy){var o=Math.min(r.width,r.height);e.absorberOrbit.length=o*(.2*Nd()-.1+1)}void 0===e.absorberOrbitDirection&&(e.absorberOrbitDirection=e.velocity.x>=0?"clockwise":"counter-clockwise");var s=e.absorberOrbit.length,l=e.absorberOrbit.angle,u=e.absorberOrbitDirection;e.velocity.setTo(Ld.origin);var c={x:"clockwise"===u?Math.cos:Math.sin,y:"clockwise"===u?Math.sin:Math.cos};e.position.x=this.position.x+s*c.x(l),e.position.y=this.position.y+s*c.y(l),e.absorberOrbit.length-=t.length,e.absorberOrbit.angle+=(null!==(n=e.retina.moveSpeed)&&void 0!==n?n:0)*i.retina.pixelRatio/100*i.retina.reduceFactor}else{var d=Ld.origin;d.length=t.length,d.angle=t.angle,e.velocity.addTo(d)}}}}]),e}(),Vp=function(){function e(t){var n=this;l(this,e),this.container=t,this.array=[],this.absorbers=[],this.interactivityAbsorbers=[],t.getAbsorber=function(e){return void 0===e||"number"===typeof e?n.array[e||0]:n.array.find((function(t){return t.name===e}))},t.addAbsorber=function(e,t){return n.addAbsorber(e,t)}}return f(e,[{key:"addAbsorber",value:function(e,t){var n=new Np(this,this.container,e,t);return this.array.push(n),n}},{key:"draw",value:function(e){var t,n=C(this.array);try{for(n.s();!(t=n.n()).done;){t.value.draw(e)}}catch(i){n.e(i)}finally{n.f()}}},{key:"handleClickMode",value:function(e){var t=this.absorbers,n=this.interactivityAbsorbers;if("absorber"===e){var i=kf(n),r=null!==i&&void 0!==i?i:kf(t),a=this.container.interactivity.mouse.clickPosition;this.addAbsorber(r,a)}}},{key:"init",value:function(){var e=Td(zd().mark((function e(){var t=this;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.absorbers=this.container.actualOptions.absorbers,this.interactivityAbsorbers=this.container.actualOptions.interactivity.modes.absorbers,bf(this.absorbers,(function(e){t.addAbsorber(e)}));case 3:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"particleUpdate",value:function(e){var t,n=C(this.array);try{for(n.s();!(t=n.n()).done;){if(t.value.attract(e),e.destroyed)break}}catch(i){n.e(i)}finally{n.f()}}},{key:"removeAbsorber",value:function(e){var t=this.array.indexOf(e);t>=0&&this.array.splice(t,1)}},{key:"resize",value:function(){var e,t=C(this.array);try{for(t.s();!(e=t.n()).done;){e.value.resize()}}catch(n){t.e(n)}finally{t.f()}}},{key:"stop",value:function(){this.array=[]}}]),e}(),Bp=function(){function e(){l(this,e),this.id="absorbers"}return f(e,[{key:"getPlugin",value:function(e){return new Vp(e)}},{key:"loadOptions",value:function(e,t){var n,i;(this.needsPlugin(e)||this.needsPlugin(t))&&((null===t||void 0===t?void 0:t.absorbers)&&(e.absorbers=bf(t.absorbers,(function(e){var t=new Fp;return t.load(e),t}))),e.interactivity.modes.absorbers=bf(null===(i=null===(n=null===t||void 0===t?void 0:t.interactivity)||void 0===n?void 0:n.modes)||void 0===i?void 0:i.absorbers,(function(e){var t=new Fp;return t.load(e),t})))}},{key:"needsPlugin",value:function(e){var t,n,i;if(!e)return!1;var r=e.absorbers;return r instanceof Array?!!r.length:!!r||!(!(null===(i=null===(n=null===(t=e.interactivity)||void 0===t?void 0:t.events)||void 0===n?void 0:n.onClick)||void 0===i?void 0:i.mode)||!af("absorber",e.interactivity.events.onClick.mode))}}]),e}();function Up(e){return Hp.apply(this,arguments)}function Hp(){return(Hp=Td(zd().mark((function e(t){var n;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new Bp,e.next=3,t.addPlugin(n);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Wp=function(){function e(){l(this,e)}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.bottom&&(this.bottom=$d(e.bottom)),void 0!==e.left&&(this.left=$d(e.left)),void 0!==e.right&&(this.right=$d(e.right)),void 0!==e.top&&(this.top=$d(e.top)))}}]),e}(),qp=function(e){p(n,e);var t=g(n);function n(){var e;return l(this,n),(e=t.call(this)).value=3,e}return f(n)}(Sh),$p=function(e){p(n,e);var t=g(n);function n(){var e;return l(this,n),(e=t.call(this)).value={min:4,max:9},e}return f(n)}(Sh),Yp=function(){function e(){l(this,e),this.count=1,this.factor=new qp,this.rate=new $p,this.sizeOffset=!0}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.count&&(this.count=e.count),this.factor.load(e.factor),this.rate.load(e.rate),this.particles=bf(e.particles,(function(e){return ff({},e)})),void 0!==e.sizeOffset&&(this.sizeOffset=e.sizeOffset))}}]),e}(),Kp=function(){function e(){l(this,e),this.bounds=new Wp,this.mode="none",this.split=new Yp}return f(e,[{key:"load",value:function(e){e&&(e.mode&&(this.mode=e.mode),e.bounds&&this.bounds.load(e.bounds),this.split.load(e.split))}}]),e}(),Gp=function(){function e(t,n){l(this,e),this.engine=t,this.container=n}return f(e,[{key:"init",value:function(e){var t=this.container,n=e.options.destroy;if(n){e.splitCount=0;var i=n.bounds;e.destroyBounds||(e.destroyBounds={}),i.bottom&&(e.destroyBounds.bottom=Hd(i.bottom)*t.canvas.size.height/100),i.left&&(e.destroyBounds.left=Hd(i.left)*t.canvas.size.width/100),i.right&&(e.destroyBounds.right=Hd(i.right)*t.canvas.size.width/100),i.top&&(e.destroyBounds.top=Hd(i.top)*t.canvas.size.height/100)}}},{key:"isEnabled",value:function(e){return!e.destroyed}},{key:"loadOptions",value:function(e){e.destroy||(e.destroy=new Kp);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.destroy.load(null===o||void 0===o?void 0:o.destroy)}}},{key:"particleDestroyed",value:function(e,t){if(!t){var n=e.options.destroy;n&&"split"===n.mode&&this.split(e)}}},{key:"update",value:function(e){if(this.isEnabled(e)){var t=e.getPosition(),n=e.destroyBounds;n&&(void 0!==n.bottom&&t.y>=n.bottom||void 0!==n.left&&t.x<=n.left||void 0!==n.right&&t.x>=n.right||void 0!==n.top&&t.y<=n.top)&&e.destroy()}}},{key:"addSplitParticle",value:function(e,t){var n=e.options.destroy;if(n){var i=n.split,r=np(this.engine,this.container,e.options),a=Yd(i.factor);r.color.load({value:{hsl:e.getFillColor()}}),r.move.load({center:{x:e.position.x,y:e.position.y,mode:"precise"}}),"number"===typeof r.size.value?r.size.value/=a:(r.size.value.min/=a,r.size.value.max/=a),r.load(t);var o=i.sizeOffset?$d(-e.size.value,e.size.value):0,s={x:e.position.x+Ud(o),y:e.position.y+Ud(o)};return this.container.particles.addParticle(s,r,e.group,(function(t){var n;return!(t.size.value<.5)&&(t.velocity.length=Ud($d(e.velocity.length,t.velocity.length)),t.splitCount=(null!==(n=e.splitCount)&&void 0!==n?n:0)+1,t.unbreakable=!0,setTimeout((function(){t.unbreakable=!1}),500),!0)}))}}},{key:"split",value:function(e){var t=e.options.destroy;if(t){var n=t.split;if(!(n.count>=0&&(void 0===e.splitCount||e.splitCount++>n.count)))for(var i=Yd(n.rate),r=kf(n.particles),a=0;a<i;a++)this.addSplitParticle(e,r)}}}]),e}();function Xp(e){return Qp.apply(this,arguments)}function Qp(){return Qp=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addParticleUpdater("destroy",(function(e){return new Gp(t,e)}));case 2:case"end":return e.stop()}}),e)}))),Qp.apply(this,arguments)}var Jp=function(){function e(){l(this,e)}return f(e,[{key:"randomPosition",value:function(e,t,n){var i=t.width/2,r=t.height/2,a=function(e,t){var n=Nd()/4,i=Math.atan(t/e*Math.tan(2*Math.PI*n)),r=Nd();return r<.25?i:r<.5?Math.PI-i:r<.75?Math.PI+i:-i}(i,r),o=function(e,t,n){return e*t/Math.sqrt(Math.pow(t*Math.cos(n),2)+Math.pow(e*Math.sin(n),2))}(i,r,a),s=n?o*Math.sqrt(Nd()):o;return{x:e.x+s*Math.cos(a),y:e.y+s*Math.sin(a)}}}]),e}(),Zp=function(){function e(){l(this,e),this.wait=!1}return f(e,[{key:"load",value:function(e){void 0!==e&&(void 0!==e.count&&(this.count=e.count),void 0!==e.delay&&(this.delay=e.delay),void 0!==e.duration&&(this.duration=e.duration),void 0!==e.wait&&(this.wait=e.wait))}}]),e}(),ev=function(){function e(){l(this,e),this.quantity=1,this.delay=.1}return f(e,[{key:"load",value:function(e){void 0!==e&&(void 0!==e.quantity&&(this.quantity=$d(e.quantity)),void 0!==e.delay&&(this.delay=$d(e.delay)))}}]),e}(),tv=function(){function e(){l(this,e),this.mode="percent",this.height=0,this.width=0}return f(e,[{key:"load",value:function(e){void 0!==e&&(void 0!==e.mode&&(this.mode=e.mode),void 0!==e.height&&(this.height=e.height),void 0!==e.width&&(this.width=e.width))}}]),e}(),nv=function(){function e(){l(this,e),this.autoPlay=!0,this.fill=!0,this.life=new Zp,this.rate=new ev,this.shape="square",this.startCount=0}return f(e,[{key:"load",value:function(e){void 0!==e&&(void 0!==e.autoPlay&&(this.autoPlay=e.autoPlay),void 0!==e.size&&(void 0===this.size&&(this.size=new tv),this.size.load(e.size)),void 0!==e.direction&&(this.direction=e.direction),this.domId=e.domId,void 0!==e.fill&&(this.fill=e.fill),this.life.load(e.life),this.name=e.name,this.particles=bf(e.particles,(function(e){return ff({},e)})),this.rate.load(e.rate),void 0!==e.shape&&(this.shape=e.shape),void 0!==e.position&&(this.position={},void 0!==e.position.x&&(this.position.x=$d(e.position.x)),void 0!==e.position.y&&(this.position.y=$d(e.position.y))),void 0!==e.spawnColor&&(void 0===this.spawnColor&&(this.spawnColor=new bh),this.spawnColor.load(e.spawnColor)),void 0!==e.startCount&&(this.startCount=e.startCount))}}]),e}(),iv=function(){function e(t,n,i,r,a){var o,s,u,c,d,f,h,p;l(this,e),this.emitters=n,this.container=i,this._engine=t,this._currentDuration=0,this._currentEmitDelay=0,this._currentSpawnDelay=0,this._initialPosition=a,r instanceof nv?this.options=r:(this.options=new nv,this.options.load(r)),this._spawnDelay=1e3*(null!==(o=this.options.life.delay)&&void 0!==o?o:0)/this.container.retina.reduceFactor,this.position=null!==(s=this._initialPosition)&&void 0!==s?s:this.calcPosition(),this.name=this.options.name,this._shape=null===(u=this._engine.emitterShapeManager)||void 0===u?void 0:u.getShape(this.options.shape),this.fill=this.options.fill,this._firstSpawn=!this.options.life.wait,this._startParticlesAdded=!1;var v=ff({},this.options.particles);null!==v&&void 0!==v||(v={}),null!==(c=v.move)&&void 0!==c||(v.move={}),null!==(d=(p=v.move).direction)&&void 0!==d||(p.direction=this.options.direction),this.options.spawnColor&&(this.spawnColor=Tf(this.options.spawnColor)),this._paused=!this.options.autoPlay,this._particlesOptions=v,this.size=null!==(f=this.options.size)&&void 0!==f?f:function(){var e=new tv;return e.load({height:0,mode:"percent",width:0}),e}(),this._lifeCount=null!==(h=this.options.life.count)&&void 0!==h?h:-1,this._immortal=this._lifeCount<=0,this._engine.dispatchEvent("emitterCreated",{container:i,data:{emitter:this}}),this.play()}return f(e,[{key:"externalPause",value:function(){this._paused=!0,this.pause()}},{key:"externalPlay",value:function(){this._paused=!1,this.play()}},{key:"getPosition",value:function(){if(this.options.domId){var e=this.container,t=document.getElementById(this.options.domId);if(t){var n=t.getBoundingClientRect();return{x:(n.x+n.width/2)*e.retina.pixelRatio,y:(n.y+n.height/2)*e.retina.pixelRatio}}}return this.position}},{key:"getSize",value:function(){var e=this.container;if(this.options.domId){var t=document.getElementById(this.options.domId);if(t){var n=t.getBoundingClientRect();return{width:n.width*e.retina.pixelRatio,height:n.height*e.retina.pixelRatio}}}return{width:"percent"===this.size.mode?e.canvas.size.width*this.size.width/100:this.size.width,height:"percent"===this.size.mode?e.canvas.size.height*this.size.height/100:this.size.height}}},{key:"pause",value:function(){this._paused||delete this._emitDelay}},{key:"play",value:function(){var e;if(!this._paused&&this.container.retina.reduceFactor&&(this._lifeCount>0||this._immortal||!this.options.life.count)&&(this._firstSpawn||this._currentSpawnDelay>=(null!==(e=this._spawnDelay)&&void 0!==e?e:0))){if(void 0===this._emitDelay){var t=Hd(this.options.rate.delay);this._emitDelay=1e3*t/this.container.retina.reduceFactor}(this._lifeCount>0||this._immortal)&&this.prepareToDie()}}},{key:"resize",value:function(){var e=this._initialPosition;this.position=e&&cf(e,this.container.canvas.size,Ld.origin)?e:this.calcPosition()}},{key:"update",value:function(e){var t,n,i;this._paused||(this._firstSpawn&&(this._firstSpawn=!1,this._currentSpawnDelay=null!==(t=this._spawnDelay)&&void 0!==t?t:0,this._currentEmitDelay=null!==(n=this._emitDelay)&&void 0!==n?n:0),this._startParticlesAdded||(this._startParticlesAdded=!0,this.emitParticles(this.options.startCount)),void 0!==this._duration&&(this._currentDuration+=e.value,this._currentDuration>=this._duration&&(this.pause(),void 0!==this._spawnDelay&&delete this._spawnDelay,this._immortal||this._lifeCount--,this._lifeCount>0||this._immortal?(this.position=this.calcPosition(),this._spawnDelay=1e3*(null!==(i=this.options.life.delay)&&void 0!==i?i:0)/this.container.retina.reduceFactor):this.destroy(),this._currentDuration-=this._duration,delete this._duration)),void 0!==this._spawnDelay&&(this._currentSpawnDelay+=e.value,this._currentSpawnDelay>=this._spawnDelay&&(this._engine.dispatchEvent("emitterPlay",{container:this.container}),this.play(),this._currentSpawnDelay-=this._currentSpawnDelay,delete this._spawnDelay)),void 0!==this._emitDelay&&(this._currentEmitDelay+=e.value,this._currentEmitDelay>=this._emitDelay&&(this.emit(),this._currentEmitDelay-=this._emitDelay)))}},{key:"calcPosition",value:function(){return Jd({size:this.container.canvas.size,position:this.options.position})}},{key:"destroy",value:function(){this.emitters.removeEmitter(this),this._engine.dispatchEvent("emitterDestroyed",{container:this.container,data:{emitter:this}})}},{key:"emit",value:function(){if(!this._paused){var e=Hd(this.options.rate.quantity);this.emitParticles(e)}}},{key:"emitParticles",value:function(e){for(var t,n,i,r=this.getPosition(),a=this.getSize(),o=kf(this._particlesOptions),s=0;s<e;s++){var l=ff({},o);if(this.spawnColor){var u=null===(t=this.options.spawnColor)||void 0===t?void 0:t.animation;u&&(this.spawnColor.h=this.setColorAnimation(u.h,this.spawnColor.h,360),this.spawnColor.s=this.setColorAnimation(u.s,this.spawnColor.s,100),this.spawnColor.l=this.setColorAnimation(u.l,this.spawnColor.l,100)),l.color?l.color.value=this.spawnColor:l.color={value:this.spawnColor}}if(!r)return;var c=null!==(i=null===(n=this._shape)||void 0===n?void 0:n.randomPosition(r,a,this.fill))&&void 0!==i?i:r;this.container.particles.addParticle(c,l)}}},{key:"prepareToDie",value:function(){var e;if(!this._paused){var t=null===(e=this.options.life)||void 0===e?void 0:e.duration;this.container.retina.reduceFactor&&(this._lifeCount>0||this._immortal)&&void 0!==t&&t>0&&(this._duration=1e3*t)}}},{key:"setColorAnimation",value:function(e,t,n){var i,r=this.container;if(!e.enable)return t;var a=Ud(e.offset),o=1e3*Hd(this.options.rate.delay)/r.retina.reduceFactor;return(t+Hd(null!==(i=e.speed)&&void 0!==i?i:0)*r.fpsLimit/o+3.6*a)%n}}]),e}(),rv=function(){function e(t,n){var i=this;l(this,e),this.container=n,this._engine=t,this.array=[],this.emitters=[],this.interactivityEmitters={random:{count:1,enable:!1},value:[]},n.getEmitter=function(e){return void 0===e||"number"===typeof e?i.array[e||0]:i.array.find((function(t){return t.name===e}))},n.addEmitter=function(e,t){return i.addEmitter(e,t)},n.removeEmitter=function(e){var t=n.getEmitter(e);t&&i.removeEmitter(t)},n.playEmitter=function(e){var t=n.getEmitter(e);t&&t.externalPlay()},n.pauseEmitter=function(e){var t=n.getEmitter(e);t&&t.externalPause()}}return f(e,[{key:"addEmitter",value:function(e,t){var n=new nv;n.load(e);var i=new iv(this._engine,this,this.container,n,t);return this.array.push(i),i}},{key:"handleClickMode",value:function(e){var t=this,n=this.emitters,i=this.interactivityEmitters;if("emitter"===e){var r;if(i&&i.value instanceof Array)if(i.value.length>0&&i.random.enable){r=[];for(var a=[],o=0;o<i.random.count;o++){var s=lf(i.value);a.includes(s)&&a.length<i.value.length?o--:(a.push(s),r.push(uf(i.value,s)))}}else r=i.value;else r=null===i||void 0===i?void 0:i.value;var l=null!==r&&void 0!==r?r:n,u=this.container.interactivity.mouse.clickPosition;bf(l,(function(e){t.addEmitter(e,u)}))}}},{key:"init",value:function(){var e=Td(zd().mark((function e(){var t,n,i;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.emitters=this.container.actualOptions.emitters,this.interactivityEmitters=this.container.actualOptions.interactivity.modes.emitters,this.emitters instanceof Array){t=C(this.emitters);try{for(t.s();!(n=t.n()).done;)i=n.value,this.addEmitter(i)}catch(r){t.e(r)}finally{t.f()}}else this.addEmitter(this.emitters);case 3:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"pause",value:function(){var e,t=C(this.array);try{for(t.s();!(e=t.n()).done;){e.value.pause()}}catch(n){t.e(n)}finally{t.f()}}},{key:"play",value:function(){var e,t=C(this.array);try{for(t.s();!(e=t.n()).done;){e.value.play()}}catch(n){t.e(n)}finally{t.f()}}},{key:"removeEmitter",value:function(e){var t=this.array.indexOf(e);t>=0&&this.array.splice(t,1)}},{key:"resize",value:function(){var e,t=C(this.array);try{for(t.s();!(e=t.n()).done;){e.value.resize()}}catch(n){t.e(n)}finally{t.f()}}},{key:"stop",value:function(){this.array=[]}},{key:"update",value:function(e){var t,n=C(this.array);try{for(n.s();!(t=n.n()).done;){t.value.update(e)}}catch(i){n.e(i)}finally{n.f()}}}]),e}(),av=new Map,ov=function(){function e(t){l(this,e),this._engine=t}return f(e,[{key:"addShape",value:function(e,t){this.getShape(e)||av.set(e,t)}},{key:"getShape",value:function(e){return av.get(e)}},{key:"getSupportedShapes",value:function(){return av.keys()}}]),e}();function sv(e,t){return e+t*(Nd()-.5)}var lv=function(){function e(){l(this,e)}return f(e,[{key:"randomPosition",value:function(e,t,n){if(n)return{x:sv(e.x,t.width),y:sv(e.y,t.height)};var i=t.width/2,r=t.height/2,a=Math.floor(4*Nd()),o=2*(Nd()-.5);switch(a){case 0:return{x:e.x+o*i,y:e.y-r};case 1:return{x:e.x-i,y:e.y+o*r};case 2:return{x:e.x+o*i,y:e.y+r};default:return{x:e.x+i,y:e.y+o*r}}}}]),e}(),uv=function(){function e(t){l(this,e),this._engine=t,this.id="emitters"}return f(e,[{key:"getPlugin",value:function(e){return new rv(this._engine,e)}},{key:"loadOptions",value:function(e,t){var n,i,r,a,o,s;if(this.needsPlugin(e)||this.needsPlugin(t)){(null===t||void 0===t?void 0:t.emitters)&&(e.emitters=bf(t.emitters,(function(e){var t=new nv;return t.load(e),t})));var l=null===(i=null===(n=null===t||void 0===t?void 0:t.interactivity)||void 0===n?void 0:n.modes)||void 0===i?void 0:i.emitters;if(l)if(l instanceof Array)e.interactivity.modes.emitters={random:{count:1,enable:!0},value:l.map((function(e){var t=new nv;return t.load(e),t}))};else{var u=l;if(void 0!==u.value)if(u.value instanceof Array)e.interactivity.modes.emitters={random:{count:null!==(r=u.random.count)&&void 0!==r?r:1,enable:null!==(a=u.random.enable)&&void 0!==a&&a},value:u.value.map((function(e){var t=new nv;return t.load(e),t}))};else{var c=new nv;c.load(u.value),e.interactivity.modes.emitters={random:{count:null!==(o=u.random.count)&&void 0!==o?o:1,enable:null!==(s=u.random.enable)&&void 0!==s&&s},value:c}}else(e.interactivity.modes.emitters={random:{count:1,enable:!1},value:new nv}).value.load(l)}}}},{key:"needsPlugin",value:function(e){var t,n,i;if(!e)return!1;var r=e.emitters;return r instanceof Array&&!!r.length||void 0!==r||!!(null===(i=null===(n=null===(t=e.interactivity)||void 0===t?void 0:t.events)||void 0===n?void 0:n.onClick)||void 0===i?void 0:i.mode)&&af("emitter",e.interactivity.events.onClick.mode)}}]),e}();function cv(e){return dv.apply(this,arguments)}function dv(){return(dv=Td(zd().mark((function e(t){var n;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.emitterShapeManager||(t.emitterShapeManager=new ov(t)),t.addEmitterShape||(t.addEmitterShape=function(e,n){var i;null===(i=t.emitterShapeManager)||void 0===i||i.addShape(e,n)}),n=new uv(t),e.next=5,t.addPlugin(n);case 5:t.addEmitterShape("circle",new Jp),t.addEmitterShape("square",new lv);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var fv=function(){function e(){l(this,e),this.delay=1,this.pauseOnStop=!1,this.quantity=1}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.delay&&(this.delay=e.delay),void 0!==e.quantity&&(this.quantity=e.quantity),void 0!==e.particles&&(this.particles=ff({},e.particles)),void 0!==e.pauseOnStop&&(this.pauseOnStop=e.pauseOnStop))}}]),e}(),hv=function(e){p(n,e);var t=g(n);function n(e){var i;return l(this,n),(i=t.call(this,e))._delay=0,i}return f(n,[{key:"clear",value:function(){}},{key:"init",value:function(){}},{key:"interact",value:function(){var e=Td(zd().mark((function e(t){var n,i,r,a,o,s,l,u,c;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.container.retina.reduceFactor){e.next=2;break}return e.abrupt("return");case 2:if(o=this.container,s=o.actualOptions,l=s.interactivity.modes.trail){e.next=5;break}return e.abrupt("return");case 5:if(u=1e3*l.delay/this.container.retina.reduceFactor,this._delay<u&&(this._delay+=t.value),!(this._delay<u)){e.next=9;break}return e.abrupt("return");case 9:c=!0,l.pauseOnStop&&(o.interactivity.mouse.position===this._lastPosition||(null===(n=o.interactivity.mouse.position)||void 0===n?void 0:n.x)===(null===(i=this._lastPosition)||void 0===i?void 0:i.x)&&(null===(r=o.interactivity.mouse.position)||void 0===r?void 0:r.y)===(null===(a=this._lastPosition)||void 0===a?void 0:a.y))&&(c=!1),o.interactivity.mouse.position?this._lastPosition={x:o.interactivity.mouse.position.x,y:o.interactivity.mouse.position.y}:delete this._lastPosition,c&&o.particles.push(l.quantity,o.interactivity.mouse,l.particles),this._delay-=u;case 14:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"isEnabled",value:function(e){var t,n=this.container,i=n.actualOptions,r=n.interactivity.mouse,a=(null!==(t=null===e||void 0===e?void 0:e.interactivity)&&void 0!==t?t:i.interactivity).events;return r.clicking&&r.inside&&!!r.position&&af("trail",a.onClick.mode)||r.inside&&!!r.position&&af("trail",a.onHover.mode)}},{key:"loadModeOptions",value:function(e){e.trail||(e.trail=new fv);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.trail.load(null===o||void 0===o?void 0:o.trail)}}},{key:"reset",value:function(){}}]),n}(_p);function pv(e){return vv.apply(this,arguments)}function vv(){return vv=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addInteractor("externalTrail",(function(e){return new hv(e)}));case 2:case"end":return e.stop()}}),e)}))),vv.apply(this,arguments)}var yv=function(){function e(){l(this,e),this.enable=!1,this.value=0}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.value&&(this.value=$d(e.value)))}}]),e}(),mv=function(){function e(){l(this,e),this.darken=new yv,this.enable=!1,this.enlighten=new yv,this.mode="vertical",this.speed=25}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.backColor&&(this.backColor=eh.create(this.backColor,e.backColor)),this.darken.load(e.darken),void 0!==e.enable&&(this.enable=e.enable),this.enlighten.load(e.enlighten),void 0!==e.mode&&(this.mode=e.mode),void 0!==e.speed&&(this.speed=$d(e.speed)))}}]),e}();var gv=function(){function e(){l(this,e)}return f(e,[{key:"getTransformValues",value:function(e){var t,n=(null===(t=e.roll)||void 0===t?void 0:t.enable)&&e.roll,i=n&&n.horizontal,r=n&&n.vertical;return{a:i?Math.cos(n.angle):void 0,d:r?Math.sin(n.angle):void 0}}},{key:"init",value:function(e){var t=e.options.roll;if(null===t||void 0===t?void 0:t.enable)if(e.roll={enable:t.enable,horizontal:"horizontal"===t.mode||"both"===t.mode,vertical:"vertical"===t.mode||"both"===t.mode,angle:Nd()*Math.PI*2,speed:Hd(t.speed)/360},t.backColor)e.backColor=Tf(t.backColor);else if(t.darken.enable&&t.enlighten.enable){var n=Nd()>=.5?"darken":"enlighten";e.roll.alter={type:n,value:Hd("darken"===n?t.darken.value:t.enlighten.value)}}else t.darken.enable?e.roll.alter={type:"darken",value:Hd(t.darken.value)}:t.enlighten.enable&&(e.roll.alter={type:"enlighten",value:Hd(t.enlighten.value)});else e.roll={enable:!1,horizontal:!1,vertical:!1,angle:0,speed:0}}},{key:"isEnabled",value:function(e){var t=e.options.roll;return!e.destroyed&&!e.spawning&&!!(null===t||void 0===t?void 0:t.enable)}},{key:"loadOptions",value:function(e){e.roll||(e.roll=new mv);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.roll.load(null===o||void 0===o?void 0:o.roll)}}},{key:"update",value:function(e,t){this.isEnabled(e)&&function(e,t){var n=e.options.roll;if(e.roll&&(null===n||void 0===n?void 0:n.enable)){var i=e.roll.speed*t.factor,r=2*Math.PI;e.roll.angle+=i,e.roll.angle>r&&(e.roll.angle-=r)}}(e,t)}}]),e}();function bv(e){return kv.apply(this,arguments)}function kv(){return(kv=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addParticleUpdater("roll",(function(){return new gv}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var wv=function(e){var t=function(t,n){return e.load(t,n)};return t.load=function(t,n,i){e.loadJSON(t,n).then((function(e){e&&i(e)})).catch((function(){i(void 0)}))},t.setOnClickHandler=function(t){e.setOnClickHandler(t)},{particlesJS:t,pJSDom:e.dom()}},xv=function(){function e(){l(this,e),this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.speed&&(this.speed=$d(e.speed)),void 0!==e.decay&&(this.decay=$d(e.decay)),void 0!==e.sync&&(this.sync=e.sync))}}]),e}(),Sv=function(e){p(n,e);var t=g(n);function n(){var e;return l(this,n),(e=t.call(this)).animation=new xv,e.direction="clockwise",e.path=!1,e.value=0,e}return f(n,[{key:"load",value:function(e){e&&(vu(v(n.prototype),"load",this).call(this,e),void 0!==e.direction&&(this.direction=e.direction),this.animation.load(e.animation),void 0!==e.path&&(this.path=e.path))}}]),n}(Sh);var Cv=function(){function e(t){l(this,e),this.container=t}return f(e,[{key:"init",value:function(e){var t=e.options.rotate;if(t){e.rotate={enable:t.animation.enable,value:Hd(t.value)*Math.PI/180},e.pathRotation=t.path;var n=t.direction;if("random"===n)n=Math.floor(2*Nd())>0?"counter-clockwise":"clockwise";switch(n){case"counter-clockwise":case"counterClockwise":e.rotate.status="decreasing";break;case"clockwise":e.rotate.status="increasing"}var i=t.animation;i.enable&&(e.rotate.decay=1-Hd(i.decay),e.rotate.velocity=Hd(i.speed)/360*this.container.retina.reduceFactor,i.sync||(e.rotate.velocity*=Nd())),e.rotation=e.rotate.value}}},{key:"isEnabled",value:function(e){var t=e.options.rotate;return!!t&&(!e.destroyed&&!e.spawning&&t.animation.enable&&!t.path)}},{key:"loadOptions",value:function(e){e.rotate||(e.rotate=new Sv);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.rotate.load(null===o||void 0===o?void 0:o.rotate)}}},{key:"update",value:function(e,t){var n,i;this.isEnabled(e)&&(!function(e,t){var n,i,r=e.rotate,a=e.options.rotate;if(r&&a){var o=a.animation,s=(null!==(n=r.velocity)&&void 0!==n?n:0)*t.factor,l=2*Math.PI,u=null!==(i=r.decay)&&void 0!==i?i:1;o.enable&&("increasing"===r.status?(r.value+=s,r.value>l&&(r.value-=l)):(r.value-=s,r.value<0&&(r.value+=l)),r.velocity&&1!==u&&(r.velocity*=u))}}(e,t),e.rotation=null!==(i=null===(n=e.rotate)||void 0===n?void 0:n.value)&&void 0!==i?i:0)}}]),e}();function Ev(e){return _v.apply(this,arguments)}function _v(){return _v=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addParticleUpdater("rotate",(function(e){return new Cv(e)}));case 2:case"end":return e.stop()}}),e)}))),_v.apply(this,arguments)}var Pv=function(){function e(){l(this,e)}return f(e,[{key:"init",value:function(e){var t,n=e.container,i=e.options,r=i.move.gravity,a=i.move.spin;if(e.gravity={enable:r.enable,acceleration:Hd(r.acceleration),inverse:r.inverse},a.enable){var o=null!==(t=a.position)&&void 0!==t?t:{x:50,y:50},s={x:o.x/100*n.canvas.size.width,y:o.y/100*n.canvas.size.height},l=Gd(e.getPosition(),s),u=Hd(a.acceleration);e.retina.spinAcceleration=u*n.retina.pixelRatio,e.spin={center:s,direction:e.velocity.x>=0?"clockwise":"counter-clockwise",angle:e.velocity.angle,radius:l,acceleration:e.retina.spinAcceleration}}}},{key:"isEnabled",value:function(e){return!e.destroyed&&e.options.move.enable}},{key:"move",value:function(e,t){var n,i,r,a,o,s=e.options,l=s.move;if(l.enable){var u=e.container,c=function(e){return e.slow.inRange?e.slow.factor:1}(e),d=(null!==(n=(a=e.retina).moveSpeed)&&void 0!==n?n:a.moveSpeed=Hd(l.speed)*u.retina.pixelRatio)*u.retina.reduceFactor,f=null!==(i=(o=e.retina).moveDrift)&&void 0!==i?i:o.moveDrift=Hd(e.options.move.drift)*u.retina.pixelRatio,h=qd(s.size.value)*u.retina.pixelRatio,p=d*((l.size?e.getRadius()/h:1)*c*(t.factor||1))/2;if(l.spin.enable)!function(e,t){var n=e.container;if(e.spin){var i={x:"clockwise"===e.spin.direction?Math.cos:Math.sin,y:"clockwise"===e.spin.direction?Math.sin:Math.cos};e.position.x=e.spin.center.x+e.spin.radius*i.x(e.spin.angle),e.position.y=e.spin.center.y+e.spin.radius*i.y(e.spin.angle),e.spin.radius+=e.spin.acceleration;var r=Math.max(n.canvas.size.width,n.canvas.size.height);e.spin.radius>r/2?(e.spin.radius=r/2,e.spin.acceleration*=-1):e.spin.radius<0&&(e.spin.radius=0,e.spin.acceleration*=-1),e.spin.angle+=t/100*(1-e.spin.radius/r)}}(e,p);else{!function(e,t){var n,i=e.options.move.path;if(i.enable)if(e.lastPathTime<=e.pathDelay)e.lastPathTime+=t.value;else{var r=null===(n=e.pathGenerator)||void 0===n?void 0:n.generate(e);r&&e.velocity.addTo(r),i.clamp&&(e.velocity.x=Vd(e.velocity.x,-1,1),e.velocity.y=Vd(e.velocity.y,-1,1)),e.lastPathTime-=e.pathDelay}}(e,t);var v=e.gravity,y=(null===v||void 0===v?void 0:v.enable)&&v.inverse?-1:1;(null===v||void 0===v?void 0:v.enable)&&p&&(e.velocity.y+=y*(v.acceleration*t.factor)/(60*p)),f&&p&&(e.velocity.x+=f*t.factor/(60*p));var m=e.moveDecay;1!=m&&e.velocity.multTo(m);var g=e.velocity.mult(p),b=null!==(r=e.retina.maxSpeed)&&void 0!==r?r:u.retina.maxSpeed;(null===v||void 0===v?void 0:v.enable)&&b>0&&(!v.inverse&&g.y>=0&&g.y>=b||v.inverse&&g.y<=0&&g.y<=-b)&&(g.y=y*b,p&&(e.velocity.y=g.y/p));var k=e.options.zIndex,w=Math.pow(1-e.zIndexFactor,k.velocityRate);1!=w&&g.multTo(w),e.position.addTo(g),l.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)))}!function(e){var t=e.initialPosition,n=Kd(t,e.position),i=n.dx,r=n.dy,a=Math.abs(i),o=Math.abs(r),s=e.retina.maxDistance.horizontal,l=e.retina.maxDistance.vertical;if(s||l)if((s&&a>=s||l&&o>=l)&&!e.misplaced)e.misplaced=!!s&&a>s||!!l&&o>l,s&&(e.velocity.x=e.velocity.y/2-e.velocity.x),l&&(e.velocity.y=e.velocity.x/2-e.velocity.y);else if((!s||a<s)&&(!l||o<l)&&e.misplaced)e.misplaced=!1;else if(e.misplaced){var u=e.position,c=e.velocity;s&&(u.x<t.x&&c.x<0||u.x>t.x&&c.x>0)&&(c.x*=-Nd()),l&&(u.y<t.y&&c.y<0||u.y>t.y&&c.y>0)&&(c.y*=-Nd())}}(e)}}}]),e}();function zv(e){return Ov.apply(this,arguments)}function Ov(){return(Ov=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.addMover("base",(function(){return new Pv}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Tv=function(){function e(){l(this,e)}return f(e,[{key:"draw",value:function(e,t,n){t.circleRange||(t.circleRange={min:0,max:2*Math.PI});var i=t.circleRange;e.arc(0,0,n,i.min,i.max,!1)}},{key:"getSidesCount",value:function(){return 12}},{key:"particleInit",value:function(e,t){var n,i=t.shapeData,r=null!==(n=null===i||void 0===i?void 0:i.angle)&&void 0!==n?n:{max:360,min:0};t.circleRange="object"!==typeof r?{min:0,max:r*Math.PI/180}:{min:r.min*Math.PI/180,max:r.max*Math.PI/180}}}]),e}();function Mv(e){return Rv.apply(this,arguments)}function Rv(){return(Rv=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addShape("circle",new Tv);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Av(e,t,n,i,r){var a,o,s=t;if(s&&n.enable&&!(void 0!==s.loops&&void 0!==s.maxLoops&&s.maxLoops>0&&s.loops>=s.maxLoops)){var l=Ud(n.offset),u=(null!==(a=t.velocity)&&void 0!==a?a:0)*e.factor+3.6*l,c=null!==(o=t.decay)&&void 0!==o?o:1;r&&"increasing"!==s.status?(s.value-=u,s.value<0&&(s.loops||(s.loops=0),s.loops++,s.status="increasing",s.value+=s.value)):(s.value+=u,s.value>i&&(s.loops||(s.loops=0),s.loops++,r&&(s.status="decreasing",s.value-=s.value%i))),s.velocity&&1!==c&&(s.velocity*=c),s.value>i&&(s.value%=i)}}var Dv=function(){function e(t){l(this,e),this.container=t}return f(e,[{key:"init",value:function(e){var t=Tf(e.options.color,e.id,e.options.reduceDuplicates);t&&(e.color=Vf(t,e.options.color.animation,this.container.retina.reduceFactor))}},{key:"isEnabled",value:function(e){var t,n,i,r=e.options.color.animation;return!e.destroyed&&!e.spawning&&(void 0!==(null===(t=e.color)||void 0===t?void 0:t.h.value)&&r.h.enable||void 0!==(null===(n=e.color)||void 0===n?void 0:n.s.value)&&r.s.enable||void 0!==(null===(i=e.color)||void 0===i?void 0:i.l.value)&&r.l.enable)}},{key:"update",value:function(e,t){!function(e,t){var n,i,r,a=e.options.color.animation,o=null===(n=e.color)||void 0===n?void 0:n.h,s=null===(i=e.color)||void 0===i?void 0:i.s,l=null===(r=e.color)||void 0===r?void 0:r.l;o&&Av(t,o,a.h,360,!1),s&&Av(t,s,a.s,100,!0),l&&Av(t,l,a.l,100,!0)}(e,t)}}]),e}();function Lv(e){return jv.apply(this,arguments)}function jv(){return jv=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addParticleUpdater("color",(function(e){return new Dv(e)}));case 2:case"end":return e.stop()}}),e)}))),jv.apply(this,arguments)}var Iv=function(){function e(){l(this,e),this.distance=200,this.duration=.4,this.easing="ease-out-quad",this.factor=1,this.maxSpeed=50,this.speed=1}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.distance&&(this.distance=e.distance),void 0!==e.duration&&(this.duration=e.duration),void 0!==e.easing&&(this.easing=e.easing),void 0!==e.factor&&(this.factor=e.factor),void 0!==e.maxSpeed&&(this.maxSpeed=e.maxSpeed),void 0!==e.speed&&(this.speed=e.speed))}}]),e}(),Fv=function(e){p(n,e);var t=g(n);function n(e,i){var r;return l(this,n),(r=t.call(this,i))._engine=e,i.attract||(i.attract={particles:[]}),r.handleClickMode=function(e){var t=r.container.actualOptions.interactivity.modes.attract;if(t&&"attract"===e){i.attract||(i.attract={particles:[]}),i.attract.clicking=!0,i.attract.count=0;var n,a=C(i.attract.particles);try{for(a.s();!(n=a.n()).done;){var o=n.value;r.isEnabled(o)&&o.velocity.setTo(o.initialVelocity)}}catch(s){a.e(s)}finally{a.f()}i.attract.particles=[],i.attract.finish=!1,setTimeout((function(){i.destroyed||(i.attract||(i.attract={particles:[]}),i.attract.clicking=!1)}),1e3*t.duration)}},r}return f(n,[{key:"clear",value:function(){}},{key:"init",value:function(){var e=this.container,t=e.actualOptions.interactivity.modes.attract;t&&(e.retina.attractModeDistance=t.distance*e.retina.pixelRatio)}},{key:"interact",value:function(){var e=Td(zd().mark((function e(){var t,n,i,r,a,o,s,l;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.container,n=t.actualOptions,i=t.interactivity.status===$f,r=n.interactivity.events,a=r.onHover.enable,o=r.onHover.mode,s=r.onClick.enable,l=r.onClick.mode,i&&a&&af("attract",o)?this.hoverAttract():s&&af("attract",l)&&this.clickAttract();case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"isEnabled",value:function(e){var t,n=this.container,i=n.actualOptions,r=n.interactivity.mouse,a=(null!==(t=null===e||void 0===e?void 0:e.interactivity)&&void 0!==t?t:i.interactivity).events;if((!r.position||!a.onHover.enable)&&(!r.clickPosition||!a.onClick.enable))return!1;var o=a.onHover.mode,s=a.onClick.mode;return af("attract",o)||af("attract",s)}},{key:"loadModeOptions",value:function(e){e.attract||(e.attract=new Iv);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.attract.load(null===o||void 0===o?void 0:o.attract)}}},{key:"reset",value:function(){}},{key:"clickAttract",value:function(){var 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){var t=e.interactivity.mouse.clickPosition,n=e.retina.attractModeDistance;if(!n||n<0||!t)return;this.processAttract(t,n,new up(t.x,t.y,n))}else!1===e.attract.clicking&&(e.attract.particles=[])}},{key:"hoverAttract",value:function(){var e=this.container,t=e.interactivity.mouse.position,n=e.retina.attractModeDistance;!n||n<0||!t||this.processAttract(t,n,new up(t.x,t.y,n))}},{key:"processAttract",value:function(e,t,n){var i=this,r=this.container,a=r.actualOptions.interactivity.modes.attract;if(a){var o,s=C(r.particles.quadTree.query(n,(function(e){return i.isEnabled(e)})));try{for(s.s();!(o=s.n()).done;){var l=o.value,u=Kd(l.position,e),c=u.dx,d=u.dy,f=u.distance,h=a.speed*a.factor,p=Vd(Fd(a.easing)(1-f/t)*h,0,a.maxSpeed),v=Ld.create(0===f?h:c/f*p,0===f?h:d/f*p);l.position.subFrom(v)}}catch(y){s.e(y)}finally{s.f()}}}}]),n}(_p);function Nv(e){return Vv.apply(this,arguments)}function Vv(){return Vv=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addInteractor("externalAttract",(function(e){return new Fv(t,e)}));case 2:case"end":return e.stop()}}),e)}))),Vv.apply(this,arguments)}var Bv=function(){function e(){l(this,e),this.distance=200}return f(e,[{key:"load",value:function(e){e&&void 0!==e.distance&&(this.distance=e.distance)}}]),e}(),Uv=function(e){p(n,e);var t=g(n);function n(e){return l(this,n),t.call(this,e)}return f(n,[{key:"clear",value:function(){}},{key:"init",value:function(){var e=this.container,t=e.actualOptions.interactivity.modes.bounce;t&&(e.retina.bounceModeDistance=t.distance*e.retina.pixelRatio)}},{key:"interact",value:function(){var e=Td(zd().mark((function e(){var t,n,i,r,a,o,s,l=this;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.container,n=t.actualOptions,i=n.interactivity.events,r=t.interactivity.status===$f,a=i.onHover.enable,o=i.onHover.mode,s=i.onDiv,r&&a&&af("bounce",o)?this.processMouseBounce():pf("bounce",s,(function(e,t){return l.singleSelectorBounce(e,t)}));case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"isEnabled",value:function(e){var t,n=this.container,i=n.actualOptions,r=n.interactivity.mouse,a=(null!==(t=null===e||void 0===e?void 0:e.interactivity)&&void 0!==t?t:i.interactivity).events,o=a.onDiv;return r.position&&a.onHover.enable&&af("bounce",a.onHover.mode)||hf("bounce",o)}},{key:"loadModeOptions",value:function(e){e.bounce||(e.bounce=new Bv);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.bounce.load(null===o||void 0===o?void 0:o.bounce)}}},{key:"reset",value:function(){}},{key:"processBounce",value:function(e,t,n){var i,r=this,a=C(this.container.particles.quadTree.query(n,(function(e){return r.isEnabled(e)})));try{for(a.s();!(i=a.n()).done;){var o=i.value;n instanceof up?mf(yf(o),{position:e,radius:t,mass:Math.pow(t,2)*Math.PI/2,velocity:Ld.origin,factor:Ld.origin}):n instanceof cp&&gf(o,df(e,t))}}catch(s){a.e(s)}finally{a.f()}}},{key:"processMouseBounce",value:function(){var e=this.container,t=10*e.retina.pixelRatio,n=e.interactivity.mouse.position,i=e.retina.bounceModeDistance;!i||i<0||!n||this.processBounce(n,i,new up(n.x,n.y,i+t))}},{key:"singleSelectorBounce",value:function(e,t){var n=this,i=this.container,r=document.querySelectorAll(e);r.length&&r.forEach((function(e){var r=e,a=i.retina.pixelRatio,o={x:(r.offsetLeft+r.offsetWidth/2)*a,y:(r.offsetTop+r.offsetHeight/2)*a},s=r.offsetWidth/2*a,l=10*a,u="circle"===t.type?new up(o.x,o.y,s+l):new cp(r.offsetLeft*a-l,r.offsetTop*a-l,r.offsetWidth*a+2*l,r.offsetHeight*a+2*l);n.processBounce(o,s,u)}))}}]),n}(_p);function Hv(e){return Wv.apply(this,arguments)}function Wv(){return Wv=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addInteractor("externalBounce",(function(e){return new Uv(e)}));case 2:case"end":return e.stop()}}),e)}))),Wv.apply(this,arguments)}var qv=function(){function e(){l(this,e),this.distance=200,this.duration=.4,this.mix=!1}return f(e,[{key:"load",value:function(e){if(e){if(void 0!==e.distance&&(this.distance=e.distance),void 0!==e.duration&&(this.duration=e.duration),void 0!==e.mix&&(this.mix=e.mix),void 0!==e.opacity&&(this.opacity=e.opacity),void 0!==e.color){var t=this.color instanceof Array?void 0:this.color;this.color=bf(e.color,(function(e){return eh.create(t,e)}))}void 0!==e.size&&(this.size=e.size)}}}]),e}(),$v=function(e){p(n,e);var t=g(n);function n(){var e;return l(this,n),(e=t.call(this)).selectors=[],e}return f(n,[{key:"ids",get:function(){return bf(this.selectors,(function(e){return e.replace("#","")}))},set:function(e){this.selectors=bf(e,(function(e){return"#".concat(e)}))}},{key:"load",value:function(e){vu(v(n.prototype),"load",this).call(this,e),e&&(void 0!==e.ids&&(this.ids=e.ids),void 0!==e.selectors&&(this.selectors=e.selectors))}}]),n}(qv),Yv=function(e){p(n,e);var t=g(n);function n(){return l(this,n),t.apply(this,arguments)}return f(n,[{key:"load",value:function(e){vu(v(n.prototype),"load",this).call(this,e),e&&(this.divs=bf(e.divs,(function(e){var t=new $v;return t.load(e),t})))}}]),n}(qv);function Kv(e,t,n,i){return t>=n?Vd(e+(t-n)*i,e,t):t<n?Vd(e-(n-t)*i,t,e):void 0}var Gv=function(e){p(n,e);var t=g(n);function n(e){var i;return l(this,n),i=t.call(this,e),e.bubble||(e.bubble={}),i.handleClickMode=function(t){"bubble"===t&&(e.bubble||(e.bubble={}),e.bubble.clicking=!0)},i}return f(n,[{key:"clear",value:function(e,t,n){e.bubble.inRange&&!n||(delete e.bubble.div,delete e.bubble.opacity,delete e.bubble.radius,delete e.bubble.color)}},{key:"init",value:function(){var e=this.container,t=e.actualOptions.interactivity.modes.bubble;t&&(e.retina.bubbleModeDistance=t.distance*e.retina.pixelRatio,void 0!==t.size&&(e.retina.bubbleModeSize=t.size*e.retina.pixelRatio))}},{key:"interact",value:function(){var e=Td(zd().mark((function e(t){var n,i,r,a,o,s,l,u,c,d=this;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=this.container.actualOptions,i=n.interactivity.events,r=i.onHover,a=i.onClick,o=r.enable,s=r.mode,l=a.enable,u=a.mode,c=i.onDiv,o&&af("bubble",s)?this.hoverBubble(t):l&&af("bubble",u)?this.clickBubble(t):pf("bubble",c,(function(e,n){return d.singleSelectorHover(t,e,n)}));case 2:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"isEnabled",value:function(e){var t,n=this.container,i=n.actualOptions,r=n.interactivity.mouse,a=(null!==(t=null===e||void 0===e?void 0:e.interactivity)&&void 0!==t?t:i.interactivity).events,o=hf("bubble",a.onDiv);if(!(o||a.onHover.enable&&r.position||a.onClick.enable&&r.clickPosition))return!1;var s=a.onHover.mode,l=a.onClick.mode;return af("bubble",s)||af("bubble",l)||o}},{key:"loadModeOptions",value:function(e){e.bubble||(e.bubble=new Yv);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.bubble.load(null===o||void 0===o?void 0:o.bubble)}}},{key:"reset",value:function(e){e.bubble.inRange=!1}},{key:"clickBubble",value:function(e){var t,n,i=this,r=this.container,a=r.actualOptions,o=r.interactivity.mouse.clickPosition,s=a.interactivity.modes.bubble;if(s&&o){r.bubble||(r.bubble={});var l=r.retina.bubbleModeDistance;if(l&&!(l<0)){var u,c=C(r.particles.quadTree.queryCircle(o,l,(function(e){return i.isEnabled(e)})));try{for(c.s();!(u=c.n()).done;){var d=u.value;if(r.bubble.clicking){d.bubble.inRange=!r.bubble.durationEnd;var f=Gd(d.getPosition(),o),h=((new Date).getTime()-(r.interactivity.mouse.clickTime||0))/1e3;h>s.duration&&(r.bubble.durationEnd=!0),h>2*s.duration&&(r.bubble.clicking=!1,r.bubble.durationEnd=!1);var p={bubbleObj:{optValue:r.retina.bubbleModeSize,value:d.bubble.radius},particlesObj:{optValue:qd(d.options.size.value)*r.retina.pixelRatio,value:d.size.value},type:"size"};this.process(d,f,h,p);var v={bubbleObj:{optValue:s.opacity,value:d.bubble.opacity},particlesObj:{optValue:qd(d.options.opacity.value),value:null!==(n=null===(t=d.opacity)||void 0===t?void 0:t.value)&&void 0!==n?n:1},type:"opacity"};this.process(d,f,h,v),r.bubble.durationEnd?delete d.bubble.color:f<=l?this.hoverBubbleColor(d,f):delete d.bubble.color}}}catch(y){c.e(y)}finally{c.f()}}}}},{key:"hoverBubble",value:function(e){var t=this,n=this.container,i=n.interactivity.mouse.position,r=n.retina.bubbleModeDistance;if(r&&!(r<0)&&void 0!==i){var a,o=C(n.particles.quadTree.queryCircle(i,r,(function(e){return t.isEnabled(e)})));try{for(o.s();!(a=o.n()).done;){var s=a.value;s.bubble.inRange=!0;var l=Gd(s.getPosition(),i),u=1-l/r;l<=r?u>=0&&n.interactivity.status===$f&&(this.hoverBubbleSize(s,u),this.hoverBubbleOpacity(s,u),this.hoverBubbleColor(s,u)):this.reset(s),n.interactivity.status===Yf&&this.reset(s)}}catch(c){o.e(c)}finally{o.f()}}}},{key:"hoverBubbleColor",value:function(e,t,n){var i=this.container.actualOptions,r=null!==n&&void 0!==n?n:i.interactivity.modes.bubble;if(r){if(!e.bubble.finalColor){var a=r.color;if(!a)return;var o=kf(a);e.bubble.finalColor=Tf(o)}if(e.bubble.finalColor)if(r.mix){e.bubble.color=void 0;var s=e.getFillColor();e.bubble.color=s?Mf(jf(s,e.bubble.finalColor,1-t,t)):e.bubble.finalColor}else e.bubble.color=e.bubble.finalColor}}},{key:"hoverBubbleOpacity",value:function(e,t,n){var i,r,a,o,s=this.container.actualOptions,l=null!==(i=null===n||void 0===n?void 0:n.opacity)&&void 0!==i?i:null===(r=s.interactivity.modes.bubble)||void 0===r?void 0:r.opacity;if(l){var u=e.options.opacity.value,c=Kv(null!==(o=null===(a=e.opacity)||void 0===a?void 0:a.value)&&void 0!==o?o:1,l,qd(u),t);void 0!==c&&(e.bubble.opacity=c)}}},{key:"hoverBubbleSize",value:function(e,t,n){var i=this.container,r=(null===n||void 0===n?void 0:n.size)?n.size*i.retina.pixelRatio:i.retina.bubbleModeSize;if(void 0!==r){var a=qd(e.options.size.value)*i.retina.pixelRatio,o=Kv(e.size.value,r,a,t);void 0!==o&&(e.bubble.radius=o)}}},{key:"process",value:function(e,t,n,i){var r=this.container,a=i.bubbleObj.optValue,o=r.actualOptions.interactivity.modes.bubble;if(o&&void 0!==a){var s=o.duration,l=r.retina.bubbleModeDistance,u=i.particlesObj.optValue,c=i.bubbleObj.value,d=i.particlesObj.value||0,f=i.type;if(l&&!(l<0)&&a!==u)if(r.bubble||(r.bubble={}),r.bubble.durationEnd)c&&("size"===f&&delete e.bubble.radius,"opacity"===f&&delete e.bubble.opacity);else if(t<=l){if((null!==c&&void 0!==c?c:d)!==a){var h=d-n*(d-a)/s;"size"===f&&(e.bubble.radius=h),"opacity"===f&&(e.bubble.opacity=h)}}else"size"===f&&delete e.bubble.radius,"opacity"===f&&delete e.bubble.opacity}}},{key:"singleSelectorHover",value:function(e,t,n){var i=this,r=this.container,a=document.querySelectorAll(t),o=r.actualOptions.interactivity.modes.bubble;o&&a.length&&a.forEach((function(t){var a,s=t,l=r.retina.pixelRatio,u={x:(s.offsetLeft+s.offsetWidth/2)*l,y:(s.offsetTop+s.offsetHeight/2)*l},c=s.offsetWidth/2*l,d="circle"===n.type?new up(u.x,u.y,c):new cp(s.offsetLeft*l,s.offsetTop*l,s.offsetWidth*l,s.offsetHeight*l),f=C(r.particles.quadTree.query(d,(function(e){return i.isEnabled(e)})));try{for(f.s();!(a=f.n()).done;){var h=a.value;if(d.contains(h.getPosition())){h.bubble.inRange=!0;var p=vf(o.divs,s);h.bubble.div&&h.bubble.div===s||(i.clear(h,e,!0),h.bubble.div=s),i.hoverBubbleSize(h,1,p),i.hoverBubbleOpacity(h,1,p),i.hoverBubbleColor(h,1,p)}}}catch(v){f.e(v)}finally{f.f()}}))}}]),n}(_p);function Xv(e){return Qv.apply(this,arguments)}function Qv(){return Qv=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addInteractor("externalBubble",(function(e){return new Gv(e)}));case 2:case"end":return e.stop()}}),e)}))),Qv.apply(this,arguments)}var Jv=function(){function e(){l(this,e),this.opacity=.5}return f(e,[{key:"load",value:function(e){e&&void 0!==e.opacity&&(this.opacity=e.opacity)}}]),e}(),Zv=function(){function e(){l(this,e),this.distance=80,this.links=new Jv,this.radius=60}return f(e,[{key:"lineLinked",get:function(){return this.links},set:function(e){this.links=e}},{key:"line_linked",get:function(){return this.links},set:function(e){this.links=e}},{key:"load",value:function(e){var t,n;e&&(void 0!==e.distance&&(this.distance=e.distance),this.links.load(null!==(n=null!==(t=e.links)&&void 0!==t?t:e.lineLinked)&&void 0!==n?n:e.line_linked),void 0!==e.radius&&(this.radius=e.radius))}}]),e}();function ey(e,t,n,i){var r=e.actualOptions.interactivity.modes.connect;if(r)return function(e,t,n,i){var r=Math.floor(n.getRadius()/t.getRadius()),a=t.getFillColor(),o=n.getFillColor();if(a&&o){var s=t.getPosition(),l=n.getPosition(),u=jf(a,o,t.getRadius(),n.getRadius()),c=e.createLinearGradient(s.x,s.y,l.x,l.y);return c.addColorStop(0,Lf(a,i)),c.addColorStop(r>1?1:r,Df(u,i)),c.addColorStop(1,Lf(o,i)),c}}(t,n,i,r.links.opacity)}function ty(e,t,n){e.canvas.draw((function(i){var r,a=ey(e,i,t,n);if(a){var o=t.getPosition(),s=n.getPosition();!function(e,t,n,i,r){Uf(e,i,r),e.lineWidth=t,e.strokeStyle=n,e.stroke()}(i,null!==(r=t.retina.linksWidth)&&void 0!==r?r:0,a,o,s)}}))}var ny=function(e){p(n,e);var t=g(n);function n(e){return l(this,n),t.call(this,e)}return f(n,[{key:"clear",value:function(){}},{key:"init",value:function(){var e=this.container,t=e.actualOptions.interactivity.modes.connect;t&&(e.retina.connectModeDistance=t.distance*e.retina.pixelRatio,e.retina.connectModeRadius=t.radius*e.retina.pixelRatio)}},{key:"interact",value:function(){var e=Td(zd().mark((function e(){var t,n,i,r,a,o,s,l,u,c,d,f,h,p,v,y,m=this;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.container,!t.actualOptions.interactivity.events.onHover.enable||"pointermove"!==t.interactivity.status){e.next=9;break}if(n=t.interactivity.mouse.position,!(!t.retina.connectModeDistance||t.retina.connectModeDistance<0||!t.retina.connectModeRadius||t.retina.connectModeRadius<0)&&n){e.next=5;break}return e.abrupt("return");case 5:i=Math.abs(t.retina.connectModeRadius),r=t.particles.quadTree.queryCircle(n,i,(function(e){return m.isEnabled(e)})),a=0,o=C(r);try{for(o.s();!(s=o.n()).done;){l=s.value,u=l.getPosition(),c=C(r.slice(a+1));try{for(c.s();!(d=c.n()).done;)f=d.value,h=f.getPosition(),p=Math.abs(t.retina.connectModeDistance),v=Math.abs(u.x-h.x),y=Math.abs(u.y-h.y),v<p&&y<p&&ty(t,l,f)}catch(g){c.e(g)}finally{c.f()}++a}}catch(g){o.e(g)}finally{o.f()}case 9:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"isEnabled",value:function(e){var t,n=this.container,i=n.interactivity.mouse,r=(null!==(t=null===e||void 0===e?void 0:e.interactivity)&&void 0!==t?t:n.actualOptions.interactivity).events;return!(!r.onHover.enable||!i.position)&&af("connect",r.onHover.mode)}},{key:"loadModeOptions",value:function(e){e.connect||(e.connect=new Zv);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.connect.load(null===o||void 0===o?void 0:o.connect)}}},{key:"reset",value:function(){}}]),n}(_p);function iy(e){return ry.apply(this,arguments)}function ry(){return ry=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addInteractor("externalConnect",(function(e){return new ny(e)}));case 2:case"end":return e.stop()}}),e)}))),ry.apply(this,arguments)}var ay=function(){function e(){l(this,e),this.blink=!1,this.consent=!1,this.opacity=1}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.blink&&(this.blink=e.blink),void 0!==e.color&&(this.color=eh.create(this.color,e.color)),void 0!==e.consent&&(this.consent=e.consent),void 0!==e.opacity&&(this.opacity=e.opacity))}}]),e}(),oy=function(){function e(){l(this,e),this.distance=100,this.links=new ay}return f(e,[{key:"lineLinked",get:function(){return this.links},set:function(e){this.links=e}},{key:"line_linked",get:function(){return this.links},set:function(e){this.links=e}},{key:"load",value:function(e){var t,n;e&&(void 0!==e.distance&&(this.distance=e.distance),this.links.load(null!==(n=null!==(t=e.links)&&void 0!==t?t:e.lineLinked)&&void 0!==n?n:e.line_linked))}}]),e}();function sy(e,t,n,i,r){e.canvas.draw((function(e){var a,o=t.getPosition();!function(e,t,n,i,r,a){Uf(e,n,i),e.strokeStyle=Df(r,a),e.lineWidth=t,e.stroke()}(e,null!==(a=t.retina.linksWidth)&&void 0!==a?a:0,o,r,n,i)}))}var ly=function(e){p(n,e);var t=g(n);function n(e){return l(this,n),t.call(this,e)}return f(n,[{key:"clear",value:function(){}},{key:"init",value:function(){var e=this.container,t=e.actualOptions.interactivity.modes.grab;t&&(e.retina.grabModeDistance=t.distance*e.retina.pixelRatio)}},{key:"interact",value:function(){var e=Td(zd().mark((function e(){var t,n,i,r,a,o,s,l,u,c,d,f,h,p,v,y,m,g,b,k=this;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=this.container,r=i.actualOptions,(a=r.interactivity).modes.grab&&a.events.onHover.enable&&i.interactivity.status===$f){e.next=3;break}return e.abrupt("return");case 3:if(o=i.interactivity.mouse.position){e.next=6;break}return e.abrupt("return");case 6:if((s=i.retina.grabModeDistance)&&!(s<0)){e.next=9;break}return e.abrupt("return");case 9:l=i.particles.quadTree.queryCircle(o,s,(function(e){return k.isEnabled(e)})),u=C(l),e.prev=11,u.s();case 13:if((c=u.n()).done){e.next=29;break}if(d=c.value,f=d.getPosition(),!((h=Gd(f,o))>s)){e.next=18;break}return e.abrupt("continue",27);case 18:if(p=a.modes.grab.links,v=p.opacity,!((y=v-h*v/s)<=0)){e.next=21;break}return e.abrupt("continue",27);case 21:if(m=null!==(t=p.color)&&void 0!==t?t:null===(n=d.options.links)||void 0===n?void 0:n.color,!i.particles.grabLineColor&&m&&(g=a.modes.grab.links,i.particles.grabLineColor=Ff(m,g.blink,g.consent)),b=If(d,void 0,i.particles.grabLineColor)){e.next=26;break}return e.abrupt("return");case 26:sy(i,d,b,y,o);case 27:e.next=13;break;case 29:e.next=34;break;case 31:e.prev=31,e.t0=e.catch(11),u.e(e.t0);case 34:return e.prev=34,u.f(),e.finish(34);case 37:case"end":return e.stop()}}),e,this,[[11,31,34,37]])})));return function(){return e.apply(this,arguments)}}()},{key:"isEnabled",value:function(e){var t,n=this.container,i=n.interactivity.mouse,r=(null!==(t=null===e||void 0===e?void 0:e.interactivity)&&void 0!==t?t:n.actualOptions.interactivity).events;return r.onHover.enable&&!!i.position&&af("grab",r.onHover.mode)}},{key:"loadModeOptions",value:function(e){e.grab||(e.grab=new oy);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.grab.load(null===o||void 0===o?void 0:o.grab)}}},{key:"reset",value:function(){}}]),n}(_p);function uy(e){return cy.apply(this,arguments)}function cy(){return cy=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addInteractor("externalGrab",(function(e){return new ly(e)}));case 2:case"end":return e.stop()}}),e)}))),cy.apply(this,arguments)}var dy=function(e){p(n,e);var t=g(n);function n(e){var i;return l(this,n),(i=t.call(this,e)).handleClickMode=function(e){if("pause"===e){var t=i.container;t.getAnimationStatus()?t.pause():t.play()}},i}return f(n,[{key:"clear",value:function(){}},{key:"init",value:function(){}},{key:"interact",value:function(){var e=Td(zd().mark((function e(){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"isEnabled",value:function(){return!0}},{key:"reset",value:function(){}}]),n}(_p);function fy(e){e.addInteractor("externalPause",(function(e){return new dy(e)}))}var hy=function(){function e(){l(this,e),this.default=!0,this.groups=[],this.quantity=4}return f(e,[{key:"particles_nb",get:function(){return this.quantity},set:function(e){this.quantity=e}},{key:"load",value:function(e){var t;if(e){void 0!==e.default&&(this.default=e.default),void 0!==e.groups&&(this.groups=e.groups.map((function(e){return e}))),this.groups.length||(this.default=!0);var n=null!==(t=e.quantity)&&void 0!==t?t:e.particles_nb;void 0!==n&&(this.quantity=n)}}}]),e}(),py=function(e){p(n,e);var t=g(n);function n(e){var i;return l(this,n),(i=t.call(this,e)).handleClickMode=function(e){if("push"===e){var t=i.container,n=t.actualOptions.interactivity.modes.push;if(n){var r=n.quantity;if(!(r<=0)){var a=uf([void 0].concat(s(n.groups))),o=void 0!==a?t.actualOptions.particles.groups[a]:void 0;t.particles.push(r,t.interactivity.mouse,o,a)}}}},i}return f(n,[{key:"clear",value:function(){}},{key:"init",value:function(){}},{key:"interact",value:function(){var e=Td(zd().mark((function e(){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"isEnabled",value:function(){return!0}},{key:"loadModeOptions",value:function(e){e.push||(e.push=new hy);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.push.load(null===o||void 0===o?void 0:o.push)}}},{key:"reset",value:function(){}}]),n}(_p);function vy(e){return yy.apply(this,arguments)}function yy(){return yy=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addInteractor("externalPush",(function(e){return new py(e)}));case 2:case"end":return e.stop()}}),e)}))),yy.apply(this,arguments)}var my=function(){function e(){l(this,e),this.quantity=2}return f(e,[{key:"particles_nb",get:function(){return this.quantity},set:function(e){this.quantity=e}},{key:"load",value:function(e){var t;if(e){var n=null!==(t=e.quantity)&&void 0!==t?t:e.particles_nb;void 0!==n&&(this.quantity=n)}}}]),e}(),gy=function(e){p(n,e);var t=g(n);function n(e){var i;return l(this,n),(i=t.call(this,e)).handleClickMode=function(e){var t=i.container,n=t.actualOptions;if(n.interactivity.modes.remove&&"remove"===e){var r=n.interactivity.modes.remove.quantity;t.particles.removeQuantity(r)}},i}return f(n,[{key:"clear",value:function(){}},{key:"init",value:function(){}},{key:"interact",value:function(){var e=Td(zd().mark((function e(){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"isEnabled",value:function(){return!0}},{key:"loadModeOptions",value:function(e){e.remove||(e.remove=new my);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.remove.load(null===o||void 0===o?void 0:o.remove)}}},{key:"reset",value:function(){}}]),n}(_p);function by(e){e.addInteractor("externalRemove",(function(e){return new gy(e)}))}var ky=function(){function e(){l(this,e),this.distance=200,this.duration=.4,this.factor=100,this.speed=1,this.maxSpeed=50,this.easing="ease-out-quad"}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.distance&&(this.distance=e.distance),void 0!==e.duration&&(this.duration=e.duration),void 0!==e.easing&&(this.easing=e.easing),void 0!==e.factor&&(this.factor=e.factor),void 0!==e.speed&&(this.speed=e.speed),void 0!==e.maxSpeed&&(this.maxSpeed=e.maxSpeed))}}]),e}(),wy=function(e){p(n,e);var t=g(n);function n(){var e;return l(this,n),(e=t.call(this)).selectors=[],e}return f(n,[{key:"ids",get:function(){return bf(this.selectors,(function(e){return e.replace("#","")}))},set:function(e){this.selectors=bf(e,(function(e){return"#".concat(e)}))}},{key:"load",value:function(e){vu(v(n.prototype),"load",this).call(this,e),e&&(void 0!==e.ids&&(this.ids=e.ids),void 0!==e.selectors&&(this.selectors=e.selectors))}}]),n}(ky),xy=function(e){p(n,e);var t=g(n);function n(){return l(this,n),t.apply(this,arguments)}return f(n,[{key:"load",value:function(e){vu(v(n.prototype),"load",this).call(this,e),e&&(this.divs=bf(e.divs,(function(e){var t=new wy;return t.load(e),t})))}}]),n}(ky),Sy=function(e){p(n,e);var t=g(n);function n(e,i){var r;return l(this,n),(r=t.call(this,i))._engine=e,i.repulse||(i.repulse={particles:[]}),r.handleClickMode=function(e){var t=r.container.actualOptions.interactivity.modes.repulse;if(t&&"repulse"===e){i.repulse||(i.repulse={particles:[]}),i.repulse.clicking=!0,i.repulse.count=0;var n,a=C(i.repulse.particles);try{for(a.s();!(n=a.n()).done;){var o=n.value;r.isEnabled(o)&&o.velocity.setTo(o.initialVelocity)}}catch(s){a.e(s)}finally{a.f()}i.repulse.particles=[],i.repulse.finish=!1,setTimeout((function(){i.destroyed||(i.repulse||(i.repulse={particles:[]}),i.repulse.clicking=!1)}),1e3*t.duration)}},r}return f(n,[{key:"clear",value:function(){}},{key:"init",value:function(){var e=this.container,t=e.actualOptions.interactivity.modes.repulse;t&&(e.retina.repulseModeDistance=t.distance*e.retina.pixelRatio)}},{key:"interact",value:function(){var e=Td(zd().mark((function e(){var t,n,i,r,a,o,s,l,u,c=this;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.container,n=t.actualOptions,i=t.interactivity.status===$f,r=n.interactivity.events,a=r.onHover.enable,o=r.onHover.mode,s=r.onClick.enable,l=r.onClick.mode,u=r.onDiv,i&&a&&af("repulse",o)?this.hoverRepulse():s&&af("repulse",l)?this.clickRepulse():pf("repulse",u,(function(e,t){return c.singleSelectorRepulse(e,t)}));case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"isEnabled",value:function(e){var t,n=this.container,i=n.actualOptions,r=n.interactivity.mouse,a=(null!==(t=null===e||void 0===e?void 0:e.interactivity)&&void 0!==t?t:i.interactivity).events,o=hf("repulse",a.onDiv);if(!(o||a.onHover.enable&&r.position||a.onClick.enable&&r.clickPosition))return!1;var s=a.onHover.mode,l=a.onClick.mode;return af("repulse",s)||af("repulse",l)||o}},{key:"loadModeOptions",value:function(e){e.repulse||(e.repulse=new xy);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.repulse.load(null===o||void 0===o?void 0:o.repulse)}}},{key:"reset",value:function(){}},{key:"clickRepulse",value:function(){var e=this,t=this.container,n=t.actualOptions.interactivity.modes.repulse;if(n)if(t.repulse||(t.repulse={particles:[]}),t.repulse.finish||(t.repulse.count||(t.repulse.count=0),t.repulse.count++,t.repulse.count===t.particles.count&&(t.repulse.finish=!0)),t.repulse.clicking){var i=t.retina.repulseModeDistance;if(!i||i<0)return;var r=Math.pow(i/6,3),a=t.interactivity.mouse.clickPosition;if(void 0===a)return;var o,s=new up(a.x,a.y,r),l=C(t.particles.quadTree.query(s,(function(t){return e.isEnabled(t)})));try{for(l.s();!(o=l.n()).done;){var u=o.value,c=Kd(a,u.position),d=c.dx,f=c.dy,h=c.distance,p=Math.pow(h,2),v=-r*n.speed/p;if(p<=r){t.repulse.particles.push(u);var y=Ld.create(d,f);y.length=v,u.velocity.setTo(y)}}}catch(k){l.e(k)}finally{l.f()}}else if(!1===t.repulse.clicking){var m,g=C(t.repulse.particles);try{for(g.s();!(m=g.n()).done;){var b=m.value;b.velocity.setTo(b.initialVelocity)}}catch(k){g.e(k)}finally{g.f()}t.repulse.particles=[]}}},{key:"hoverRepulse",value:function(){var e=this.container,t=e.interactivity.mouse.position,n=e.retina.repulseModeDistance;!n||n<0||!t||this.processRepulse(t,n,new up(t.x,t.y,n))}},{key:"processRepulse",value:function(e,t,n,i){var r,a=this,o=this.container,s=o.particles.quadTree.query(n,(function(e){return a.isEnabled(e)})),l=o.actualOptions.interactivity.modes.repulse;if(l){var u,c=C(s);try{for(c.s();!(u=c.n()).done;){var d=u.value,f=Kd(d.position,e),h=f.dx,p=f.dy,v=f.distance,y=(null!==(r=null===i||void 0===i?void 0:i.speed)&&void 0!==r?r:l.speed)*l.factor,m=Vd(Fd(l.easing)(1-v/t)*y,0,l.maxSpeed),g=Ld.create(0===v?y:h/v*m,0===v?y:p/v*m);d.position.addTo(g)}}catch(b){c.e(b)}finally{c.f()}}}},{key:"singleSelectorRepulse",value:function(e,t){var n=this,i=this.container,r=i.actualOptions.interactivity.modes.repulse;if(r){var a=document.querySelectorAll(e);a.length&&a.forEach((function(e){var a=e,o=i.retina.pixelRatio,s={x:(a.offsetLeft+a.offsetWidth/2)*o,y:(a.offsetTop+a.offsetHeight/2)*o},l=a.offsetWidth/2*o,u="circle"===t.type?new up(s.x,s.y,l):new cp(a.offsetLeft*o,a.offsetTop*o,a.offsetWidth*o,a.offsetHeight*o),c=vf(r.divs,a);n.processRepulse(s,l,u,c)}))}}}]),n}(_p);function Cy(e){return Ey.apply(this,arguments)}function Ey(){return Ey=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addInteractor("externalRepulse",(function(e){return new Sy(t,e)}));case 2:case"end":return e.stop()}}),e)}))),Ey.apply(this,arguments)}var _y=function(){function e(){l(this,e),this.factor=3,this.radius=200}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.factor&&(this.factor=e.factor),void 0!==e.radius&&(this.radius=e.radius))}}]),e}(),Py=function(e){p(n,e);var t=g(n);function n(e){return l(this,n),t.call(this,e)}return f(n,[{key:"clear",value:function(e,t,n){e.slow.inRange&&!n||(e.slow.factor=1)}},{key:"init",value:function(){var e=this.container,t=e.actualOptions.interactivity.modes.slow;t&&(e.retina.slowModeRadius=t.radius*e.retina.pixelRatio)}},{key:"interact",value:function(){var e=Td(zd().mark((function e(){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"isEnabled",value:function(e){var t,n=this.container,i=n.interactivity.mouse,r=(null!==(t=null===e||void 0===e?void 0:e.interactivity)&&void 0!==t?t:n.actualOptions.interactivity).events;return r.onHover.enable&&!!i.position&&af("slow",r.onHover.mode)}},{key:"loadModeOptions",value:function(e){e.slow||(e.slow=new _y);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.slow.load(null===o||void 0===o?void 0:o.slow)}}},{key:"reset",value:function(e){e.slow.inRange=!1;var t=this.container,n=t.actualOptions,i=t.interactivity.mouse.position,r=t.retina.slowModeRadius,a=n.interactivity.modes.slow;if(a&&r&&!(r<0)&&i){var o=Gd(i,e.getPosition()),s=o/r,l=a.factor;o<=r&&(e.slow.inRange=!0,e.slow.factor=s/l)}}}]),n}(_p);function zy(e){return Oy.apply(this,arguments)}function Oy(){return Oy=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addInteractor("externalSlow",(function(e){return new Py(e)}));case 2:case"end":return e.stop()}}),e)}))),Oy.apply(this,arguments)}var Ty=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;function My(e){return Ry.apply(this,arguments)}function Ry(){return(Ry=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){t.loading=!0;var n=new Image;t.element=n,n.addEventListener("load",(function(){t.loading=!1,e()})),n.addEventListener("error",(function(){t.element=void 0,t.error=!0,t.loading=!1,console.error("Error tsParticles - loading image: ".concat(t.source)),e()})),n.src=t.source})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ay(e){return Dy.apply(this,arguments)}function Dy(){return(Dy=Td(zd().mark((function e(t){var n;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("svg"===t.type){e.next=4;break}return e.next=3,My(t);case 3:return e.abrupt("return");case 4:return t.loading=!0,e.next=7,fetch(t.source);case 7:if((n=e.sent).ok||(console.error("Error tsParticles - Image not found"),t.error=!0),t.error){e.next=13;break}return e.next=12,n.text();case 12:t.svgData=e.sent;case 13:t.loading=!1;case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ly(e,t,n,i){var r,a,o,s=function(e,t,n){var i=e.svgData;if(!i)return"";var r=Lf(t,n);if(i.includes("fill"))return i.replace(Ty,(function(){return r}));var a=i.indexOf(">");return"".concat(i.substring(0,a),' fill="').concat(r,'"').concat(i.substring(a))}(e,n,null!==(a=null===(r=i.opacity)||void 0===r?void 0:r.value)&&void 0!==a?a:1),l={color:n,data:Object.assign(Object.assign({},e),{svgData:s}),loaded:!1,ratio:t.width/t.height,replaceColor:null!==(o=t.replaceColor)&&void 0!==o?o:t.replace_color,source:t.src};return new Promise((function(t){var n=new Blob([s],{type:"image/svg+xml"}),i=URL||window.URL||window.webkitURL||window,r=i.createObjectURL(n),a=new Image;a.addEventListener("load",(function(){l.loaded=!0,l.element=a,t(l),i.revokeObjectURL(r)})),a.addEventListener("error",Td(zd().mark((function n(){var a;return zd().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i.revokeObjectURL(r),a=Object.assign(Object.assign({},e),{error:!1,loading:!0}),n.next=4,My(a);case 4:l.loaded=!0,l.element=a.element,t(l);case 7:case"end":return n.stop()}}),n)})))),a.src=r}))}var jy=function(){function e(){l(this,e),this._images=[]}return f(e,[{key:"addImage",value:function(e,t){var n=this.getImages(e);null===n||void 0===n||n.images.push(t)}},{key:"destroy",value:function(){this._images=[]}},{key:"draw",value:function(e,t,n,i){var r,a=t.image,o=null===a||void 0===a?void 0:a.element;if(o){var s=null!==(r=null===a||void 0===a?void 0:a.ratio)&&void 0!==r?r:1,l={x:-n,y:-n};e.globalAlpha=i,e.drawImage(o,l.x,l.y,2*n,2*n/s),e.globalAlpha=1}}},{key:"getImages",value:function(e){var t=this._images.find((function(t){return t.id===e.id}));return t||(this._images.push({id:e.id,images:[]}),this.getImages(e))}},{key:"getSidesCount",value:function(){return 12}},{key:"loadShape",value:function(e){var t=this;if("image"===e.shape||"images"===e.shape){var n=e.container,i=this.getImages(n).images,r=e.shapeData;i.find((function(e){return e.source===r.src}))||this.loadImageShape(n,r).then((function(){t.loadShape(e)}))}}},{key:"particleInit",value:function(e,t){var n,i=this;if("image"===t.shape||"images"===t.shape){var r=this.getImages(e).images,a=t.shapeData,o=t.getFillColor(),s=null!==(n=a.replaceColor)&&void 0!==n?n:a.replace_color,l=r.find((function(e){return e.source===a.src}));l&&(l.loading?setTimeout((function(){i.particleInit(e,t)})):Td(zd().mark((function e(){var n,i,r,u,c,d;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!l.svgData||!o){e.next=6;break}return e.next=3,Ly(l,a,o,t);case 3:r=e.sent,e.next=7;break;case 6:r={color:o,data:l,element:l.element,loaded:!0,ratio:a.width/a.height,replaceColor:s,source:a.src};case 7:r.ratio||(r.ratio=1),u=null!==(n=a.fill)&&void 0!==n?n:t.fill,c=null!==(i=a.close)&&void 0!==i?i:t.close,d={image:r,fill:u,close:c},t.image=d.image,t.fill=d.fill,t.close=d.close;case 12:case"end":return e.stop()}}),e)})))())}}},{key:"loadImageShape",value:function(){var e=Td(zd().mark((function e(t,n){var i,r,a,o;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.src){e.next=3;break}throw new Error("Error tsParticles - No image.src");case 3:return e.prev=3,a={source:r,type:r.substring(r.length-3),error:!1,loading:!0},this.addImage(t,a),o=(null!==(i=n.replaceColor)&&void 0!==i?i:n.replace_color)?Ay:My,e.next=9,o(a);case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(3),new Error("tsParticles error - ".concat(n.src," not found"));case 14:case"end":return e.stop()}}),e,this,[[3,11]])})));return function(t,n){return e.apply(this,arguments)}}()}]),e}();function Iy(e){return Fy.apply(this,arguments)}function Fy(){return(Fy=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addShape(["image","images"],new jy);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Ny=function(e){p(n,e);var t=g(n);function n(){var e;return l(this,n),(e=t.call(this)).sync=!1,e}return f(n,[{key:"load",value:function(e){e&&(vu(v(n.prototype),"load",this).call(this,e),void 0!==e.sync&&(this.sync=e.sync))}}]),n}(Sh),Vy=function(e){p(n,e);var t=g(n);function n(){var e;return l(this,n),(e=t.call(this)).random.minimumValue=1e-4,e.sync=!1,e}return f(n,[{key:"load",value:function(e){e&&(vu(v(n.prototype),"load",this).call(this,e),void 0!==e.sync&&(this.sync=e.sync))}}]),n}(Sh),By=function(){function e(){l(this,e),this.count=0,this.delay=new Ny,this.duration=new Vy}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.count&&(this.count=e.count),this.delay.load(e.delay),this.duration.load(e.duration))}}]),e}(),Uy=function(){function e(t){l(this,e),this.container=t}return f(e,[{key:"init",value:function(e){var t=this.container,n=e.options.life;n&&(e.life={delay:t.retina.reduceFactor?Hd(n.delay.value)*(n.delay.sync?1:Nd())/t.retina.reduceFactor*1e3:0,delayTime:0,duration:t.retina.reduceFactor?Hd(n.duration.value)*(n.duration.sync?1:Nd())/t.retina.reduceFactor*1e3:0,time:0,count:n.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))}},{key:"isEnabled",value:function(e){return!e.destroyed}},{key:"loadOptions",value:function(e){e.life||(e.life=new By);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.life.load(null===o||void 0===o?void 0:o.life)}}},{key:"update",value:function(e,t){if(this.isEnabled(e)&&e.life){var n=e.life,i=!1;if(e.spawning){if(n.delayTime+=t.value,!(n.delayTime>=e.life.delay))return;i=!0,e.spawning=!1,n.delayTime=0,n.time=0}if(-1!==n.duration&&!e.spawning&&(i?n.time=0:n.time+=t.value,!(n.time<n.duration)))if(n.time=0,e.life.count>0&&e.life.count--,0!==e.life.count){var r=this.container.canvas.size,a=$d(0,r.width),o=$d(0,r.width);e.position.x=Ud(a),e.position.y=Ud(o),e.spawning=!0,n.delayTime=0,n.time=0,e.reset();var s=e.options.life;s&&(n.delay=1e3*Hd(s.delay.value),n.duration=1e3*Hd(s.duration.value))}else e.destroy()}}}]),e}();function Hy(e){return Wy.apply(this,arguments)}function Wy(){return Wy=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addParticleUpdater("life",(function(e){return new Uy(e)}));case 2:case"end":return e.stop()}}),e)}))),Wy.apply(this,arguments)}var qy=function(){function e(){l(this,e)}return f(e,[{key:"draw",value:function(e,t,n){e.moveTo(-n/2,0),e.lineTo(n/2,0)}},{key:"getSidesCount",value:function(){return 1}}]),e}();function $y(e){return Yy.apply(this,arguments)}function Yy(){return(Yy=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addShape("line",new qy);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Ky=function(){function e(t){l(this,e),this.container=t}return f(e,[{key:"init",value:function(e){var t=e.options.opacity;e.opacity={enable:t.animation.enable,max:qd(t.value),min:Wd(t.value),value:Hd(t.value),loops:0,maxLoops:Hd(t.animation.count)};var n=t.animation;if(n.enable){e.opacity.decay=1-Hd(n.decay),e.opacity.status="increasing";var i=t.value;switch(e.opacity.min=Wd(i),e.opacity.max=qd(i),n.startValue){case"min":e.opacity.value=e.opacity.min,e.opacity.status="increasing";break;case"random":e.opacity.value=Ud(e.opacity),e.opacity.status=Nd()>=.5?"increasing":"decreasing";break;default:e.opacity.value=e.opacity.max,e.opacity.status="decreasing"}e.opacity.velocity=Hd(n.speed)/100*this.container.retina.reduceFactor,n.sync||(e.opacity.velocity*=Nd())}e.opacity.initialValue=e.opacity.value}},{key:"isEnabled",value:function(e){var t,n,i,r;return!e.destroyed&&!e.spawning&&!!e.opacity&&e.opacity.enable&&((null!==(t=e.opacity.maxLoops)&&void 0!==t?t:0)<=0||(null!==(n=e.opacity.maxLoops)&&void 0!==n?n:0)>0&&(null!==(i=e.opacity.loops)&&void 0!==i?i:0)<(null!==(r=e.opacity.maxLoops)&&void 0!==r?r:0))}},{key:"reset",value:function(e){e.opacity&&(e.opacity.loops=0)}},{key:"update",value:function(e,t){this.isEnabled(e)&&function(e,t){var n,i,r,a,o,s;if(e.opacity){var l=e.opacity.min,u=e.opacity.max,c=null!==(n=e.opacity.decay)&&void 0!==n?n:1;if(!(e.destroyed||!e.opacity.enable||(null!==(i=e.opacity.maxLoops)&&void 0!==i?i:0)>0&&(null!==(r=e.opacity.loops)&&void 0!==r?r:0)>(null!==(a=e.opacity.maxLoops)&&void 0!==a?a:0))){switch(e.opacity.status){case"increasing":e.opacity.value>=u?(e.opacity.status="decreasing",e.opacity.loops||(e.opacity.loops=0),e.opacity.loops++):e.opacity.value+=(null!==(o=e.opacity.velocity)&&void 0!==o?o:0)*t.factor;break;case"decreasing":e.opacity.value<=l?(e.opacity.status="increasing",e.opacity.loops||(e.opacity.loops=0),e.opacity.loops++):e.opacity.value-=(null!==(s=e.opacity.velocity)&&void 0!==s?s:0)*t.factor}e.opacity.velocity&&1!==e.opacity.decay&&(e.opacity.velocity*=c),function(e,t,n,i){switch(e.options.opacity.animation.destroy){case"max":t>=i&&e.destroy();break;case"min":t<=n&&e.destroy()}}(e,e.opacity.value,l,u),e.destroyed||(e.opacity.value=Vd(e.opacity.value,l,u))}}}(e,t)}}]),e}();function Gy(e){return Xy.apply(this,arguments)}function Xy(){return Xy=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addParticleUpdater("opacity",(function(e){return new Ky(e)}));case 2:case"end":return e.stop()}}),e)}))),Xy.apply(this,arguments)}var Qy=function(){function e(t){l(this,e),this.container=t,this.modes=["bounce","bounce-vertical","bounce-horizontal","bounceVertical","bounceHorizontal","split"]}return f(e,[{key:"update",value:function(e,t,n,i){if(this.modes.includes(i)){var r,a=this.container,o=!1,s=C(a.plugins);try{for(s.s();!(r=s.n()).done;){var l=w(r.value,2)[1];if(void 0!==l.particleBounce&&(o=l.particleBounce(e,n,t)),o)break}}catch(p){s.e(p)}finally{s.f()}if(!o){var u=e.getPosition(),c=e.offset,d=e.getRadius(),f=df(u,d),h=a.canvas.size;!function(e){if("bounce"===e.outMode||"bounce-horizontal"===e.outMode||"bounceHorizontal"===e.outMode||"split"===e.outMode){e.bounds.right<0?e.particle.position.x=e.size+e.offset.x:e.bounds.left>e.canvasSize.width&&(e.particle.position.x=e.canvasSize.width-e.size-e.offset.x);var t=e.particle.velocity.x,n=!1;if("right"===e.direction&&e.bounds.right>=e.canvasSize.width&&t>0||"left"===e.direction&&e.bounds.left<=0&&t<0){var i=Yd(e.particle.options.bounce.horizontal);e.particle.velocity.x*=-i,n=!0}if(n){var r=e.offset.x+e.size;e.bounds.right>=e.canvasSize.width?e.particle.position.x=e.canvasSize.width-r:e.bounds.left<=0&&(e.particle.position.x=r),"split"===e.outMode&&e.particle.destroy()}}}({particle:e,outMode:i,direction:t,bounds:f,canvasSize:h,offset:c,size:d}),function(e){if("bounce"===e.outMode||"bounce-vertical"===e.outMode||"bounceVertical"===e.outMode||"split"===e.outMode){e.bounds.bottom<0?e.particle.position.y=e.size+e.offset.y:e.bounds.top>e.canvasSize.height&&(e.particle.position.y=e.canvasSize.height-e.size-e.offset.y);var t=e.particle.velocity.y,n=!1;if("bottom"===e.direction&&e.bounds.bottom>=e.canvasSize.height&&t>0||"top"===e.direction&&e.bounds.top<=0&&t<0){var i=Yd(e.particle.options.bounce.vertical);e.particle.velocity.y*=-i,n=!0}if(n){var r=e.offset.y+e.size;e.bounds.bottom>=e.canvasSize.height?e.particle.position.y=e.canvasSize.height-r:e.bounds.top<=0&&(e.particle.position.y=r),"split"===e.outMode&&e.particle.destroy()}}}({particle:e,outMode:i,direction:t,bounds:f,canvasSize:h,offset:c,size:d})}}}}]),e}(),Jy=function(){function e(t){l(this,e),this.container=t,this.modes=["destroy"]}return f(e,[{key:"update",value:function(e,t,n,i){if(this.modes.includes(i)){var r=this.container;switch(e.outType){case"normal":case"outside":if(cf(e.position,r.canvas.size,Ld.origin,e.getRadius(),t))return;break;case"inside":var a=Kd(e.position,e.moveCenter),o=a.dx,s=a.dy,l=e.velocity,u=l.x,c=l.y;if(u<0&&o>e.moveCenter.radius||c<0&&s>e.moveCenter.radius||u>=0&&o<-e.moveCenter.radius||c>=0&&s<-e.moveCenter.radius)return}r.particles.remove(e,void 0,!0)}}}]),e}(),Zy=function(){function e(t){l(this,e),this.container=t,this.modes=["none"]}return f(e,[{key:"update",value:function(e,t,n,i){if(this.modes.includes(i)&&(!e.options.move.distance.horizontal||"left"!==t&&"right"!==t)&&(!e.options.move.distance.vertical||"top"!==t&&"bottom"!==t)){var r=e.options.move.gravity,a=this.container,o=a.canvas.size,s=e.getRadius();if(r.enable){var l=e.position;(!r.inverse&&l.y>o.height+s&&"bottom"===t||r.inverse&&l.y<-s&&"top"===t)&&a.particles.remove(e)}else{if(e.velocity.y>0&&e.position.y<=o.height+s||e.velocity.y<0&&e.position.y>=-s||e.velocity.x>0&&e.position.x<=o.width+s||e.velocity.x<0&&e.position.x>=-s)return;cf(e.position,a.canvas.size,Ld.origin,s,t)||a.particles.remove(e)}}}}]),e}(),em=function(){function e(t){l(this,e),this.container=t,this.modes=["out"]}return f(e,[{key:"update",value:function(e,t,n,i){if(this.modes.includes(i)){var r=this.container;if("inside"===e.outType){var a=e.velocity,o=a.x,s=a.y,l=Ld.origin;l.length=e.moveCenter.radius,l.angle=e.velocity.angle+Math.PI,l.addTo(Ld.create(e.moveCenter));var u=Kd(e.position,l),c=u.dx,d=u.dy;if(o<=0&&c>=0||s<=0&&d>=0||o>=0&&c<=0||s>=0&&d<=0)return;e.position.x=Math.floor(Ud({min:0,max:r.canvas.size.width})),e.position.y=Math.floor(Ud({min:0,max:r.canvas.size.height}));var f=Kd(e.position,e.moveCenter),h=f.dx,p=f.dy;e.direction=Math.atan2(-p,-h),e.velocity.angle=e.direction}else{if(cf(e.position,r.canvas.size,Ld.origin,e.getRadius(),t))return;switch(e.outType){case"outside":e.position.x=Math.floor(Ud({min:-e.moveCenter.radius,max:e.moveCenter.radius}))+e.moveCenter.x,e.position.y=Math.floor(Ud({min:-e.moveCenter.radius,max:e.moveCenter.radius}))+e.moveCenter.y;var v=Kd(e.position,e.moveCenter),y=v.dx,m=v.dy;e.moveCenter.radius&&(e.direction=Math.atan2(m,y),e.velocity.angle=e.direction);break;case"normal":var g=e.options.move.warp,b=r.canvas.size,k={bottom:b.height+e.getRadius()+e.offset.y,left:-e.getRadius()-e.offset.x,right:b.width+e.getRadius()+e.offset.x,top:-e.getRadius()-e.offset.y},w=e.getRadius(),x=df(e.position,w);"right"===t&&x.left>b.width+e.offset.x?(e.position.x=k.left,e.initialPosition.x=e.position.x,g||(e.position.y=Nd()*b.height,e.initialPosition.y=e.position.y)):"left"===t&&x.right<-e.offset.x&&(e.position.x=k.right,e.initialPosition.x=e.position.x,g||(e.position.y=Nd()*b.height,e.initialPosition.y=e.position.y)),"bottom"===t&&x.top>b.height+e.offset.y?(g||(e.position.x=Nd()*b.width,e.initialPosition.x=e.position.x),e.position.y=k.top,e.initialPosition.y=e.position.y):"top"===t&&x.bottom<-e.offset.y&&(g||(e.position.x=Nd()*b.width,e.initialPosition.x=e.position.x),e.position.y=k.bottom,e.initialPosition.y=e.position.y)}}}}}]),e}(),tm=function(){function e(t){l(this,e),this.container=t,this.updaters=[new Qy(t),new Jy(t),new em(t),new Zy(t)]}return f(e,[{key:"init",value:function(){}},{key:"isEnabled",value:function(e){return!e.destroyed&&!e.spawning}},{key:"update",value:function(e,t){var n,i,r,a,o=e.options.move.outModes;this.updateOutMode(e,t,null!==(n=o.bottom)&&void 0!==n?n:o.default,"bottom"),this.updateOutMode(e,t,null!==(i=o.left)&&void 0!==i?i:o.default,"left"),this.updateOutMode(e,t,null!==(r=o.right)&&void 0!==r?r:o.default,"right"),this.updateOutMode(e,t,null!==(a=o.top)&&void 0!==a?a:o.default,"top")}},{key:"updateOutMode",value:function(e,t,n,i){var r,a=C(this.updaters);try{for(a.s();!(r=a.n()).done;){r.value.update(e,i,t,n)}}catch(o){a.e(o)}finally{a.f()}}}]),e}();function nm(e){return im.apply(this,arguments)}function im(){return im=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addParticleUpdater("outModes",(function(e){return new tm(e)}));case 2:case"end":return e.stop()}}),e)}))),im.apply(this,arguments)}var rm=function(){function e(){l(this,e)}return f(e,[{key:"init",value:function(){}},{key:"isEnabled",value:function(e){return!nf()&&!e.destroyed&&e.container.actualOptions.interactivity.events.onHover.parallax.enable}},{key:"move",value:function(e){var t=e.container,n=t.actualOptions;if(!nf()&&n.interactivity.events.onHover.parallax.enable){var i=n.interactivity.events.onHover.parallax.force,r=t.interactivity.mouse.position;if(r){var a=t.canvas.size.width/2,o=t.canvas.size.height/2,s=n.interactivity.events.onHover.parallax.smooth,l=e.getRadius()/i,u=(r.x-a)*l,c=(r.y-o)*l;e.offset.x+=(u-e.offset.x)/s,e.offset.y+=(c-e.offset.y)/s}}}}]),e}();function am(e){return om.apply(this,arguments)}function om(){return(om=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.addMover("parallax",(function(){return new rm}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var sm=function(e){p(n,e);var t=g(n);function n(e){return l(this,n),t.call(this,e)}return f(n,[{key:"clear",value:function(){}},{key:"init",value:function(){}},{key:"interact",value:function(){var e=Td(zd().mark((function e(t){var n,i,r,a,o,s,l,u,c,d,f,h,p,v,y,m,g;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=this.container,r=null!==(n=t.retina.attractDistance)&&void 0!==n?n:i.retina.attractDistance,a=t.getPosition(),o=i.particles.quadTree.queryCircle(a,r),s=C(o),e.prev=2,s.s();case 4:if((l=s.n()).done){e.next=15;break}if(u=l.value,t!==u&&u.options.move.attract.enable&&!u.destroyed&&!u.spawning){e.next=8;break}return e.abrupt("continue",13);case 8:c=u.getPosition(),d=Kd(a,c),f=d.dx,h=d.dy,p=t.options.move.attract.rotate,v=f/(1e3*p.x),y=h/(1e3*p.y),m=u.size.value/t.size.value,g=1/m,t.velocity.x-=v*m,t.velocity.y-=y*m,u.velocity.x+=v*g,u.velocity.y+=y*g;case 13:e.next=4;break;case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(2),s.e(e.t0);case 20:return e.prev=20,s.f(),e.finish(20);case 23:case"end":return e.stop()}}),e,this,[[2,17,20,23]])})));return function(t){return e.apply(this,arguments)}}()},{key:"isEnabled",value:function(e){return e.options.move.attract.enable}},{key:"reset",value:function(){}}]),n}(Pp);function lm(e){return um.apply(this,arguments)}function um(){return um=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addInteractor("particlesAttract",(function(e){return new sm(e)}));case 2:case"end":return e.stop()}}),e)}))),um.apply(this,arguments)}function cm(e,t,n,i,r,a){var o=Vd(e.options.collisions.absorb.speed*r.factor/10,0,i);e.size.value+=o/2,n.size.value-=o,i<=a&&(n.size.value=0,n.destroy())}function dm(e,t){mf(yf(e),yf(t))}function fm(e,t,n,i){switch(e.options.collisions.mode){case"absorb":!function(e,t,n,i){var r=e.getRadius(),a=t.getRadius();void 0===r&&void 0!==a?e.destroy():void 0!==r&&void 0===a?t.destroy():void 0!==r&&void 0!==a&&(r>=a?cm(e,0,t,a,n,i):cm(t,0,e,r,n,i))}(e,t,n,i);break;case"bounce":dm(e,t);break;case"destroy":!function(e,t){e.unbreakable||t.unbreakable||dm(e,t),void 0===e.getRadius()&&void 0!==t.getRadius()?e.destroy():void 0!==e.getRadius()&&void 0===t.getRadius()?t.destroy():void 0!==e.getRadius()&&void 0!==t.getRadius()&&(e.getRadius()>=t.getRadius()?e:t).destroy()}(e,t)}}var hm=function(e){p(n,e);var t=g(n);function n(e){return l(this,n),t.call(this,e)}return f(n,[{key:"clear",value:function(){}},{key:"init",value:function(){}},{key:"interact",value:function(){var e=Td(zd().mark((function e(t,n){var i,r,a,o,s,l,u,c,d;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=this.container,r=t.getPosition(),a=t.getRadius(),o=i.particles.quadTree.queryCircle(r,2*a),s=C(o),e.prev=2,s.s();case 4:if((l=s.n()).done){e.next=17;break}if(u=l.value,t!==u&&u.options.collisions.enable&&t.options.collisions.mode===u.options.collisions.mode&&!u.destroyed&&!u.spawning){e.next=8;break}return e.abrupt("continue",15);case 8:if(c=u.getPosition(),d=u.getRadius(),!(Math.abs(Math.round(r.z)-Math.round(c.z))>a+d)){e.next=11;break}return e.abrupt("continue",15);case 11:if(!(Gd(r,c)>a+d)){e.next=14;break}return e.abrupt("continue",15);case 14:fm(t,u,n,i.retina.pixelRatio);case 15:e.next=4;break;case 17:e.next=22;break;case 19:e.prev=19,e.t0=e.catch(2),s.e(e.t0);case 22:return e.prev=22,s.f(),e.finish(22);case 25:case"end":return e.stop()}}),e,this,[[2,19,22,25]])})));return function(t,n){return e.apply(this,arguments)}}()},{key:"isEnabled",value:function(e){return e.options.collisions.enable}},{key:"reset",value:function(){}}]),n}(Pp);function pm(e){return vm.apply(this,arguments)}function vm(){return vm=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addInteractor("particlesCollisions",(function(e){return new hm(e)}));case 2:case"end":return e.stop()}}),e)}))),vm.apply(this,arguments)}var ym=function(e){p(n,e);var t=g(n);function n(e,i,r,a){var o;return l(this,n),(o=t.call(this,e,i,r)).canvasSize=a,o.canvasSize=Object.assign({},a),o}return f(n,[{key:"contains",value:function(e){if(vu(v(n.prototype),"contains",this).call(this,e))return!0;var t={x:e.x-this.canvasSize.width,y:e.y};if(vu(v(n.prototype),"contains",this).call(this,t))return!0;var i={x:e.x-this.canvasSize.width,y:e.y-this.canvasSize.height};if(vu(v(n.prototype),"contains",this).call(this,i))return!0;var r={x:e.x,y:e.y-this.canvasSize.height};return vu(v(n.prototype),"contains",this).call(this,r)}},{key:"intersects",value:function(e){if(vu(v(n.prototype),"intersects",this).call(this,e))return!0;var t=e,i=e,r={x:e.position.x-this.canvasSize.width,y:e.position.y-this.canvasSize.height};if(void 0!==i.radius){var a=new up(r.x,r.y,2*i.radius);return vu(v(n.prototype),"intersects",this).call(this,a)}if(void 0!==t.size){var o=new cp(r.x,r.y,2*t.size.width,2*t.size.height);return vu(v(n.prototype),"intersects",this).call(this,o)}return!1}}]),n}(up),mm=function(){function e(){l(this,e),this.blur=5,this.color=new eh,this.color.value="#000",this.enable=!1}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.blur&&(this.blur=e.blur),this.color=eh.create(this.color,e.color),void 0!==e.enable&&(this.enable=e.enable))}}]),e}(),gm=function(){function e(){l(this,e),this.enable=!1,this.frequency=1}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.color&&(this.color=eh.create(this.color,e.color)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.frequency&&(this.frequency=e.frequency),void 0!==e.opacity&&(this.opacity=e.opacity))}}]),e}(),bm=function(){function e(){l(this,e),this.blink=!1,this.color=new eh,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new mm,this.triangles=new gm,this.width=1,this.warp=!1}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.id&&(this.id=e.id),void 0!==e.blink&&(this.blink=e.blink),this.color=eh.create(this.color,e.color),void 0!==e.consent&&(this.consent=e.consent),void 0!==e.distance&&(this.distance=e.distance),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.frequency&&(this.frequency=e.frequency),void 0!==e.opacity&&(this.opacity=e.opacity),this.shadow.load(e.shadow),this.triangles.load(e.triangles),void 0!==e.width&&(this.width=e.width),void 0!==e.warp&&(this.warp=e.warp))}}]),e}();function km(e,t,n,i,r){var a=Gd(e,t);return!r||a<=n||(a=Gd(e,{x:t.x-i.width,y:t.y}))<=n||(a=Gd(e,{x:t.x-i.width,y:t.y-i.height}))<=n?a:a=Gd(e,{x:t.x,y:t.y-i.height})}var wm=function(e){p(n,e);var t=g(n);function n(e){var i;return l(this,n),(i=t.call(this,e)).linkContainer=e,i}return f(n,[{key:"clear",value:function(){}},{key:"init",value:function(){this.linkContainer.particles.linksColor=void 0,this.linkContainer.particles.linksColors=new Map}},{key:"interact",value:function(){var e=Td(zd().mark((function e(t){var n,i,r,a,o,s,l,u,c,d,f,h,p,v,y,m,g;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.options.links){e.next=2;break}return e.abrupt("return");case 2:if(t.links=[],i=t.getPosition(),r=this.container,a=r.canvas.size,!(i.x<0||i.y<0||i.x>a.width||i.y>a.height)){e.next=6;break}return e.abrupt("return");case 6:o=t.options.links,s=o.opacity,l=null!==(n=t.retina.linksDistance)&&void 0!==n?n:0,u=o.warp,c=u?new ym(i.x,i.y,l,a):new up(i.x,i.y,l),d=r.particles.quadTree.query(c),f=C(d),e.prev=8,f.s();case 10:if((h=f.n()).done){e.next=26;break}if(p=h.value,v=p.options.links,t!==p&&(null===v||void 0===v?void 0:v.enable)&&o.id===v.id&&!p.spawning&&!p.destroyed&&p.links&&-1===t.links.map((function(e){return e.destination})).indexOf(p)&&-1===p.links.map((function(e){return e.destination})).indexOf(t)){e.next=15;break}return e.abrupt("continue",24);case 15:if(!((y=p.getPosition()).x<0||y.y<0||y.x>a.width||y.y>a.height)){e.next=18;break}return e.abrupt("continue",24);case 18:if(!((m=km(i,y,l,a,u&&v.warp))>l)){e.next=21;break}return e.abrupt("return");case 21:g=(1-m/l)*s,this.setColor(t),t.links.push({destination:p,opacity:g});case 24:e.next=10;break;case 26:e.next=31;break;case 28:e.prev=28,e.t0=e.catch(8),f.e(e.t0);case 31:return e.prev=31,f.f(),e.finish(31);case 34:case"end":return e.stop()}}),e,this,[[8,28,31,34]])})));return function(t){return e.apply(this,arguments)}}()},{key:"isEnabled",value:function(e){var t;return!!(null===(t=e.options.links)||void 0===t?void 0:t.enable)}},{key:"loadParticlesOptions",value:function(e){var t,n;e.links||(e.links=new bm);for(var i=arguments.length,r=new Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];for(var o=0,s=r;o<s.length;o++){var l=s[o];e.links.load(null!==(n=null!==(t=null===l||void 0===l?void 0:l.links)&&void 0!==t?t:null===l||void 0===l?void 0:l.lineLinked)&&void 0!==n?n:null===l||void 0===l?void 0:l.line_linked)}}},{key:"reset",value:function(){}},{key:"setColor",value:function(e){if(e.options.links){var t=this.linkContainer,n=e.options.links,i=void 0===n.id?t.particles.linksColor:t.particles.linksColors.get(n.id);if(!i)i=Ff(n.color,n.blink,n.consent),void 0===n.id?t.particles.linksColor=i:t.particles.linksColors.set(n.id,i)}}}]),n}(Pp);function xm(e){return Sm.apply(this,arguments)}function Sm(){return Sm=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addInteractor("particlesLinks",(function(e){return new wm(e)}));case 2:case"end":return e.stop()}}),e)}))),Sm.apply(this,arguments)}function Cm(e,t){var n,i=((n=e.map((function(e){return e.id}))).sort((function(e,t){return e-t})),n.join("_")),r=t.get(i);return void 0===r&&(r=Nd(),t.set(i,r)),r}var Em=function(){function e(t){l(this,e),this.container=t,this._freqs={links:new Map,triangles:new Map}}return f(e,[{key:"drawParticle",value:function(e,t){var n,i=this,r=t.options;if(t.links&&!(t.links.length<=0)){var a,o=t.links.filter((function(e){return r.links&&i.getLinkFrequency(t,e.destination)<=r.links.frequency})),s=C(o);try{for(s.s();!(a=s.n()).done;){var l=a.value;this.drawTriangles(r,t,l,o),l.opacity>0&&(null!==(n=t.retina.linksWidth)&&void 0!==n?n:0)>0&&this.drawLinkLine(t,l)}}catch(u){s.e(u)}finally{s.f()}}}},{key:"init",value:function(){var e=Td(zd().mark((function e(){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this._freqs.links=new Map,this._freqs.triangles=new Map;case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"particleCreated",value:function(e){if(e.links=[],e.options.links){var t=this.container.retina.pixelRatio;e.retina.linksDistance=e.options.links.distance*t,e.retina.linksWidth=e.options.links.width*t}}},{key:"particleDestroyed",value:function(e){e.links=[]}},{key:"drawLinkLine",value:function(e,t){var n=this.container,i=n.actualOptions,r=t.destination,a=e.getPosition(),o=r.getPosition(),s=t.opacity;n.canvas.draw((function(t){var l,u,c;if(e.options.links){var d,f=null===(l=e.options.twinkle)||void 0===l?void 0:l.lines;if(null===f||void 0===f?void 0:f.enable){var h=f.frequency,p=zf(f.color);Nd()<h&&p&&(d=p,s=Hd(f.opacity))}if(!d){var v=e.options.links,y=void 0!==(null===v||void 0===v?void 0:v.id)?n.particles.linksColors.get(v.id):n.particles.linksColor;d=If(e,r,y)}if(d){var m=null!==(u=e.retina.linksWidth)&&void 0!==u?u:0,g=null!==(c=e.retina.linksDistance)&&void 0!==c?c:0;!function(e,t,n,i,r,a,o,s,l,u,c,d){var f=!1;if(Gd(n,i)<=r)Uf(e,n,i),f=!0;else if(o){var h,p,v=Kd(n,{x:i.x-a.width,y:i.y});if(v.distance<=r){var y=n.y-v.dy/v.dx*n.x;h={x:0,y:y},p={x:a.width,y:y}}else{var m=Kd(n,{x:i.x,y:i.y-a.height});if(m.distance<=r){var g=-(n.y-m.dy/m.dx*n.x)/(m.dy/m.dx);h={x:g,y:0},p={x:g,y:a.height}}else{var b=Kd(n,{x:i.x-a.width,y:i.y-a.height});if(b.distance<=r){var k=n.y-b.dy/b.dx*n.x;p={x:(h={x:-k/(b.dy/b.dx),y:k}).x+a.width,y:h.y+a.height}}}}h&&p&&(Uf(e,n,h),Uf(e,i,p),f=!0)}if(f){if(e.lineWidth=t,s&&(e.globalCompositeOperation=l),e.strokeStyle=Df(u,c),d.enable){var w=zf(d.color);w&&(e.shadowBlur=d.blur,e.shadowColor=Df(w))}e.stroke()}}(t,m,a,o,g,n.canvas.size,e.options.links.warp,i.backgroundMask.enable,i.backgroundMask.composite,d,s,e.options.links.shadow)}}}))}},{key:"drawLinkTriangle",value:function(e,t,n){var i;if(e.options.links){var r=this.container,a=r.actualOptions,o=t.destination,s=n.destination,l=e.options.links.triangles,u=null!==(i=l.opacity)&&void 0!==i?i:(t.opacity+n.opacity)/2;u<=0||r.canvas.draw((function(t){var n,i=e.getPosition(),c=o.getPosition(),d=s.getPosition(),f=null!==(n=e.retina.linksDistance)&&void 0!==n?n:0;if(!(Gd(i,c)>f||Gd(d,c)>f||Gd(d,i)>f)){var h=zf(l.color);if(!h){var p=e.options.links,v=void 0!==(null===p||void 0===p?void 0:p.id)?r.particles.linksColors.get(p.id):r.particles.linksColor;h=If(e,o,v)}h&&function(e,t,n,i,r,a,o,s){!function(e,t,n,i){e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(n.x,n.y),e.lineTo(i.x,i.y),e.closePath()}(e,t,n,i),r&&(e.globalCompositeOperation=a),e.fillStyle=Df(o,s),e.fill()}(t,i,c,d,a.backgroundMask.enable,a.backgroundMask.composite,h,u)}}))}}},{key:"drawTriangles",value:function(e,t,n,i){var r,a,o,s=this,l=n.destination;if((null===(r=e.links)||void 0===r?void 0:r.triangles.enable)&&(null===(a=l.options.links)||void 0===a?void 0:a.triangles.enable)){var u=null===(o=l.links)||void 0===o?void 0:o.filter((function(e){var t=s.getLinkFrequency(l,e.destination);return l.options.links&&t<=l.options.links.frequency&&i.findIndex((function(t){return t.destination===e.destination}))>=0}));if(null===u||void 0===u?void 0:u.length){var c,d=C(u);try{for(d.s();!(c=d.n()).done;){var f=c.value,h=f.destination;this.getTriangleFrequency(t,l,h)>e.links.triangles.frequency||this.drawLinkTriangle(t,n,f)}}catch(p){d.e(p)}finally{d.f()}}}}},{key:"getLinkFrequency",value:function(e,t){return Cm([e,t],this._freqs.links)}},{key:"getTriangleFrequency",value:function(e,t,n){return Cm([e,t,n],this._freqs.triangles)}}]),e}(),_m=function(){function e(){l(this,e),this.id="links"}return f(e,[{key:"getPlugin",value:function(e){return new Em(e)}},{key:"loadOptions",value:function(){}},{key:"needsPlugin",value:function(){return!0}}]),e}();function Pm(e){return zm.apply(this,arguments)}function zm(){return(zm=Td(zd().mark((function e(t){var n;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new _m,e.next=3,t.addPlugin(n);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Om(e){return Tm.apply(this,arguments)}function Tm(){return(Tm=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xm(t);case 2:return e.next=4,Pm(t);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Mm=function(){function e(){l(this,e)}return f(e,[{key:"draw",value:function(e,t,n){var i=this.getCenter(t,n),r=this.getSidesData(t,n),a=r.count.numerator*r.count.denominator,o=r.count.numerator/r.count.denominator,s=180*(o-2)/o,l=Math.PI-Math.PI*s/180;if(e){e.beginPath(),e.translate(i.x,i.y),e.moveTo(0,0);for(var u=0;u<a;u++)e.lineTo(r.length,0),e.translate(r.length,0),e.rotate(l)}}},{key:"getSidesCount",value:function(e){var t,n,i=e.shapeData;return Math.round(Hd(null!==(n=null!==(t=null===i||void 0===i?void 0:i.sides)&&void 0!==t?t:null===i||void 0===i?void 0:i.nb_sides)&&void 0!==n?n:5))}}]),e}(),Rm=function(e){p(n,e);var t=g(n);function n(){return l(this,n),t.apply(this,arguments)}return f(n,[{key:"getCenter",value:function(e,t){return{x:-t/(e.sides/3.5),y:-t/.76}}},{key:"getSidesData",value:function(e,t){var n=e.sides;return{count:{denominator:1,numerator:n},length:2.66*t/(n/3)}}}]),n}(Mm),Am=function(e){p(n,e);var t=g(n);function n(){return l(this,n),t.apply(this,arguments)}return f(n,[{key:"getCenter",value:function(e,t){return{x:-t,y:t/1.66}}},{key:"getSidesCount",value:function(){return 3}},{key:"getSidesData",value:function(e,t){return{count:{denominator:2,numerator:3},length:2*t}}}]),n}(Mm);function Dm(e){return Lm.apply(this,arguments)}function Lm(){return(Lm=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addShape("polygon",new Rm);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function jm(e){return Im.apply(this,arguments)}function Im(){return(Im=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addShape("triangle",new Am);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Fm(e){return Nm.apply(this,arguments)}function Nm(){return(Nm=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Dm(t);case 2:return e.next=4,jm(t);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Vm=function(){function e(){l(this,e)}return f(e,[{key:"init",value:function(e){var t,n=e.container,i=e.options.size.animation;i.enable&&(e.size.velocity=(null!==(t=e.retina.sizeAnimationSpeed)&&void 0!==t?t:n.retina.sizeAnimationSpeed)/100*n.retina.reduceFactor,i.sync||(e.size.velocity*=Nd()))}},{key:"isEnabled",value:function(e){var t,n,i,r;return!e.destroyed&&!e.spawning&&e.size.enable&&((null!==(t=e.size.maxLoops)&&void 0!==t?t:0)<=0||(null!==(n=e.size.maxLoops)&&void 0!==n?n:0)>0&&(null!==(i=e.size.loops)&&void 0!==i?i:0)<(null!==(r=e.size.maxLoops)&&void 0!==r?r:0))}},{key:"reset",value:function(e){e.size.loops=0}},{key:"update",value:function(e,t){this.isEnabled(e)&&function(e,t){var n,i,r,a,o,s=(null!==(n=e.size.velocity)&&void 0!==n?n:0)*t.factor,l=e.size.min,u=e.size.max,c=null!==(i=e.size.decay)&&void 0!==i?i:1;if(!(e.destroyed||!e.size.enable||(null!==(r=e.size.maxLoops)&&void 0!==r?r:0)>0&&(null!==(a=e.size.loops)&&void 0!==a?a:0)>(null!==(o=e.size.maxLoops)&&void 0!==o?o:0))){switch(e.size.status){case"increasing":e.size.value>=u?(e.size.status="decreasing",e.size.loops||(e.size.loops=0),e.size.loops++):e.size.value+=s;break;case"decreasing":e.size.value<=l?(e.size.status="increasing",e.size.loops||(e.size.loops=0),e.size.loops++):e.size.value-=s}e.size.velocity&&1!==c&&(e.size.velocity*=c),function(e,t,n,i){switch(e.options.size.animation.destroy){case"max":t>=i&&e.destroy();break;case"min":t<=n&&e.destroy()}}(e,e.size.value,l,u),e.destroyed||(e.size.value=Vd(e.size.value,l,u))}}(e,t)}}]),e}();function Bm(e){return Um.apply(this,arguments)}function Um(){return(Um=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addParticleUpdater("size",(function(){return new Vm}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Hm=Math.sqrt(2),Wm=function(){function e(){l(this,e)}return f(e,[{key:"draw",value:function(e,t,n){e.rect(-n/Hm,-n/Hm,2*n/Hm,2*n/Hm)}},{key:"getSidesCount",value:function(){return 4}}]),e}();function qm(e){return $m.apply(this,arguments)}function $m(){return($m=Td(zd().mark((function e(t){var n;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new Wm,e.next=3,t.addShape(["edge","square"],n);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Ym=function(){function e(){l(this,e)}return f(e,[{key:"draw",value:function(e,t,n){var i,r=t.sides,a=null!==(i=t.starInset)&&void 0!==i?i:2;e.moveTo(0,0-n);for(var o=0;o<r;o++)e.rotate(Math.PI/r),e.lineTo(0,0-n*a),e.rotate(Math.PI/r),e.lineTo(0,0-n)}},{key:"getSidesCount",value:function(e){var t,n,i=e.shapeData;return Math.round(Hd(null!==(n=null!==(t=null===i||void 0===i?void 0:i.sides)&&void 0!==t?t:null===i||void 0===i?void 0:i.nb_sides)&&void 0!==n?n:5))}},{key:"particleInit",value:function(e,t){var n,i=t.shapeData,r=Hd(null!==(n=null===i||void 0===i?void 0:i.inset)&&void 0!==n?n:2);t.starInset=r}}]),e}();function Km(e){return Gm.apply(this,arguments)}function Gm(){return(Gm=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addShape("star",new Ym);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Xm(e,t,n,i,r){var a,o,s=t;if(s&&s.enable&&!(void 0!==s.loops&&void 0!==s.maxLoops&&s.maxLoops>0&&s.loops>=s.maxLoops)){var l=Ud(n.offset),u=(null!==(a=t.velocity)&&void 0!==a?a:0)*e.factor+3.6*l,c=null!==(o=t.decay)&&void 0!==o?o:1;r&&"increasing"!==s.status?(s.value-=u,s.value<0&&(s.loops||(s.loops=0),s.loops++,s.status="increasing",s.value+=s.value)):(s.value+=u,s.value>i&&(s.loops||(s.loops=0),s.loops++,r&&(s.status="decreasing",s.value-=s.value%i))),s.velocity&&1!==c&&(s.velocity*=c),s.value>i&&(s.value%=i)}}var Qm=function(){function e(t){l(this,e),this.container=t}return f(e,[{key:"init",value:function(e){var t,n,i,r=this.container,a=kf(e.options.stroke,e.id,e.options.reduceDuplicates);e.strokeWidth=Hd(a.width)*r.retina.pixelRatio,e.strokeOpacity=Hd(null!==(t=a.opacity)&&void 0!==t?t:1),e.strokeAnimation=null===(n=a.color)||void 0===n?void 0:n.animation;var o=null!==(i=Tf(a.color))&&void 0!==i?i:e.getFillColor();o&&(e.strokeColor=Vf(o,e.strokeAnimation,r.retina.reduceFactor))}},{key:"isEnabled",value:function(e){var t,n,i,r=e.strokeAnimation;return!e.destroyed&&!e.spawning&&!!r&&(void 0!==(null===(t=e.strokeColor)||void 0===t?void 0:t.h.value)&&e.strokeColor.h.enable||void 0!==(null===(n=e.strokeColor)||void 0===n?void 0:n.s.value)&&e.strokeColor.s.enable||void 0!==(null===(i=e.strokeColor)||void 0===i?void 0:i.l.value)&&e.strokeColor.l.enable)}},{key:"update",value:function(e,t){this.isEnabled(e)&&function(e,t){if(e.strokeColor&&e.strokeAnimation){var n=e.strokeColor.h;n&&Xm(t,n,e.strokeAnimation.h,360,!1);var i=e.strokeColor.s;i&&Xm(t,i,e.strokeAnimation.s,100,!0);var r=e.strokeColor.l;r&&Xm(t,r,e.strokeAnimation.l,100,!0)}}(e,t)}}]),e}();function Jm(e){return Zm.apply(this,arguments)}function Zm(){return Zm=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addParticleUpdater("strokeColor",(function(e){return new Qm(e)}));case 2:case"end":return e.stop()}}),e)}))),Zm.apply(this,arguments)}var eg=["text","character","char"],tg=function(){function e(){l(this,e)}return f(e,[{key:"draw",value:function(e,t,n,i){var r,a,o,s=t.shapeData;if(void 0!==s){var l=s.value;if(void 0!==l){var u=t;void 0===u.text&&(u.text=kf(l,t.randomIndexData));var c=u.text,d=null!==(r=s.style)&&void 0!==r?r:"",f=null!==(a=s.weight)&&void 0!==a?a:"400",h=2*Math.round(n),p=null!==(o=s.font)&&void 0!==o?o:"Verdana",v=t.fill,y=c.length*n/2;e.font="".concat(d," ").concat(f," ").concat(h,'px "').concat(p,'"');var m={x:-y,y:n/2};e.globalAlpha=i,v?e.fillText(c,m.x,m.y):e.strokeText(c,m.x,m.y),e.globalAlpha=1}}}},{key:"getSidesCount",value:function(){return 12}},{key:"init",value:function(){var e=Td(zd().mark((function e(t){var n,i,r;return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.actualOptions,!eg.find((function(e){return af(e,n.particles.shape.type)}))){e.next=6;break}return i=eg.map((function(e){return n.particles.shape.options[e]})).find((function(e){return!!e})),r=[],bf(i,(function(e){r.push(of(e.font,e.weight))})),e.next=6,Promise.all(r);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}]),e}();function ng(e){return ig.apply(this,arguments)}function ig(){return(ig=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addShape(eg,new tg);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function rg(e){return ag.apply(this,arguments)}function ag(){return(ag=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,zv(t);case 2:return e.next=4,am(t);case 4:return e.next=6,Nv(t);case 6:return e.next=8,Hv(t);case 8:return e.next=10,Xv(t);case 10:return e.next=12,iy(t);case 12:return e.next=14,uy(t);case 14:return e.next=16,fy(t);case 16:return e.next=18,vy(t);case 18:return e.next=20,by(t);case 20:return e.next=22,Cy(t);case 22:return e.next=24,zy(t);case 24:return e.next=26,lm(t);case 26:return e.next=28,pm(t);case 28:return e.next=30,Om(t);case 30:return e.next=32,Mv(t);case 32:return e.next=34,Iy(t);case 34:return e.next=36,$y(t);case 36:return e.next=38,Fm(t);case 38:return e.next=40,qm(t);case 40:return e.next=42,Km(t);case 42:return e.next=44,ng(t);case 44:return e.next=46,Hy(t);case 46:return e.next=48,Gy(t);case 48:return e.next=50,Bm(t);case 50:return e.next=52,Ev(t);case 52:return e.next=54,Lv(t);case 54:return e.next=56,Jm(t);case 56:return e.next=58,nm(t);case 58:return e.next=60,wv(t);case 60:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var og=function(){function e(){l(this,e),this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.speed&&(this.speed=$d(e.speed)),void 0!==e.decay&&(this.decay=$d(e.decay)),void 0!==e.sync&&(this.sync=e.sync))}}]),e}(),sg=function(e){p(n,e);var t=g(n);function n(){var e;return l(this,n),(e=t.call(this)).animation=new og,e.direction="clockwise",e.enable=!1,e.value=0,e}return f(n,[{key:"load",value:function(e){vu(v(n.prototype),"load",this).call(this,e),e&&(this.animation.load(e.animation),void 0!==e.direction&&(this.direction=e.direction),void 0!==e.enable&&(this.enable=e.enable))}}]),n}(Sh);var lg=function(){function e(t){l(this,e),this.container=t}return f(e,[{key:"getTransformValues",value:function(e){var t,n=(null===(t=e.tilt)||void 0===t?void 0:t.enable)&&e.tilt;return{b:n?Math.cos(n.value)*n.cosDirection:void 0,c:n?Math.sin(n.value)*n.sinDirection:void 0}}},{key:"init",value:function(e){var t,n=e.options.tilt;if(n){e.tilt={enable:n.enable,value:Hd(n.value)*Math.PI/180,sinDirection:Nd()>=.5?1:-1,cosDirection:Nd()>=.5?1:-1};var i=n.direction;if("random"===i)i=Math.floor(2*Nd())>0?"counter-clockwise":"clockwise";switch(i){case"counter-clockwise":case"counterClockwise":e.tilt.status="decreasing";break;case"clockwise":e.tilt.status="increasing"}var r=null===(t=e.options.tilt)||void 0===t?void 0:t.animation;(null===r||void 0===r?void 0:r.enable)&&(e.tilt.decay=1-Hd(r.decay),e.tilt.velocity=Hd(r.speed)/360*this.container.retina.reduceFactor,r.sync||(e.tilt.velocity*=Nd()))}}},{key:"isEnabled",value:function(e){var t,n=null===(t=e.options.tilt)||void 0===t?void 0:t.animation;return!e.destroyed&&!e.spawning&&!!(null===n||void 0===n?void 0:n.enable)}},{key:"loadOptions",value:function(e){e.tilt||(e.tilt=new sg);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.tilt.load(null===o||void 0===o?void 0:o.tilt)}}},{key:"update",value:function(e,t){this.isEnabled(e)&&function(e,t){var n,i;if(e.tilt&&e.options.tilt){var r=e.options.tilt.animation,a=(null!==(n=e.tilt.velocity)&&void 0!==n?n:0)*t.factor,o=2*Math.PI,s=null!==(i=e.tilt.decay)&&void 0!==i?i:1;r.enable&&("increasing"===e.tilt.status?(e.tilt.value+=a,e.tilt.value>o&&(e.tilt.value-=o)):(e.tilt.value-=a,e.tilt.value<0&&(e.tilt.value+=o)),e.tilt.velocity&&1!==s&&(e.tilt.velocity*=s))}}(e,t)}}]),e}();function ug(e){return cg.apply(this,arguments)}function cg(){return cg=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addParticleUpdater("tilt",(function(e){return new lg(e)}));case 2:case"end":return e.stop()}}),e)}))),cg.apply(this,arguments)}var dg=function(){function e(){l(this,e),this.enable=!1,this.frequency=.05,this.opacity=1}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.color&&(this.color=eh.create(this.color,e.color)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.frequency&&(this.frequency=e.frequency),void 0!==e.opacity&&(this.opacity=$d(e.opacity)))}}]),e}(),fg=function(){function e(){l(this,e),this.lines=new dg,this.particles=new dg}return f(e,[{key:"load",value:function(e){e&&(this.lines.load(e.lines),this.particles.load(e.particles))}}]),e}(),hg=function(){function e(){l(this,e)}return f(e,[{key:"getColorStyles",value:function(e,t,n,i){var r=e.options.twinkle;if(!r)return{};var a=r.particles,o=a.enable&&Nd()<a.frequency,s=e.options.zIndex,l=Math.pow(1-e.zIndexFactor,s.opacityRate),u=o?Hd(a.opacity)*l:i,c=Tf(a.color),d=c?Lf(c,u):void 0,f={},h=o&&d;return f.fill=h?d:void 0,f.stroke=h?d:void 0,f}},{key:"init",value:function(){}},{key:"isEnabled",value:function(e){var t=e.options.twinkle;return!!t&&t.particles.enable}},{key:"loadOptions",value:function(e){e.twinkle||(e.twinkle=new fg);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.twinkle.load(null===o||void 0===o?void 0:o.twinkle)}}},{key:"update",value:function(){}}]),e}();function pg(e){return vg.apply(this,arguments)}function vg(){return(vg=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addParticleUpdater("twinkle",(function(){return new hg}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var yg=function(){function e(){l(this,e),this.angle=50,this.move=10}return f(e,[{key:"load",value:function(e){e&&(void 0!==e.angle&&(this.angle=$d(e.angle)),void 0!==e.move&&(this.move=$d(e.move)))}}]),e}(),mg=function(){function e(){l(this,e),this.distance=5,this.enable=!1,this.speed=new yg}return f(e,[{key:"load",value:function(e){if(e&&(void 0!==e.distance&&(this.distance=$d(e.distance)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.speed))if("number"===typeof e.speed)this.speed.load({angle:e.speed});else{var t=e.speed;void 0!==t.min?this.speed.load({angle:t}):this.speed.load(e.speed)}}}]),e}();var gg,bg=function(){function e(t){l(this,e),this.container=t}return f(e,[{key:"init",value:function(e){var t,n=e.options.wobble;(null===n||void 0===n?void 0:n.enable)?e.wobble={angle:Nd()*Math.PI*2,angleSpeed:Hd(n.speed.angle)/360,moveSpeed:Hd(n.speed.move)/10}:e.wobble={angle:0,angleSpeed:0,moveSpeed:0},e.retina.wobbleDistance=Hd(null!==(t=null===n||void 0===n?void 0:n.distance)&&void 0!==t?t:0)*this.container.retina.pixelRatio}},{key:"isEnabled",value:function(e){var t;return!e.destroyed&&!e.spawning&&!!(null===(t=e.options.wobble)||void 0===t?void 0:t.enable)}},{key:"loadOptions",value:function(e){e.wobble||(e.wobble=new mg);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];e.wobble.load(null===o||void 0===o?void 0:o.wobble)}}},{key:"update",value:function(e,t){this.isEnabled(e)&&function(e,t){var n,i=e.options.wobble;if((null===i||void 0===i?void 0:i.enable)&&e.wobble){var r=e.wobble.angleSpeed*t.factor,a=e.wobble.moveSpeed*t.factor*((null!==(n=e.retina.wobbleDistance)&&void 0!==n?n:0)*t.factor)/(1e3/60),o=2*Math.PI;e.wobble.angle+=r,e.wobble.angle>o&&(e.wobble.angle-=o),e.position.x+=a*Math.cos(e.wobble.angle),e.position.y+=a*Math.abs(Math.sin(e.wobble.angle))}}(e,t)}}]),e}();function kg(e){return wg.apply(this,arguments)}function wg(){return wg=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.addParticleUpdater("wobble",(function(e){return new bg(e)}));case 2:case"end":return e.stop()}}),e)}))),wg.apply(this,arguments)}function xg(e){return Sg.apply(this,arguments)}function Sg(){return(Sg=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,rg(t);case 2:return e.next=4,Xp(t);case 4:return e.next=6,bv(t);case 6:return e.next=8,ug(t);case 8:return e.next=10,pg(t);case 10:return e.next=12,kg(t);case 12:return e.next=14,pv(t);case 14:return e.next=16,Up(t);case 16:return e.next=18,cv(t);case 18:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Cg,Eg,_g,Pg,zg,Og,Tg,Mg,Rg,Ag,Dg,Lg,jg,Ig,Fg,Ng,Vg,Bg,Ug,Hg,Wg,qg,$g,Yg,Kg,Gg,Xg,Qg,Jg,Zg,eb,tb,nb,ib,rb,ab,ob,sb,lb,ub=gn.div(gg||(gg=Zn(["\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n z-index: 0;\n"]))),cb=function(e){var t=function(){var e=Td(zd().mark((function e(t){return zd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xg(t);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,Kc.jsx)(ub,{children:(0,Kc.jsx)(Lp,{id:"tsparticles",style:{position:"absolute",top:0},params:"light"===e.theme?Rd:Md,init:t})})},db=gn.h1(Cg||(Cg=Zn(["\nposition: fixed;\ntop: ",";\nleft: ",";\nright: ",";\ncolor:",";\nfont-size: calc(5rem + 5vw);\nz-index:0;\n\n"])),(function(e){return e.top}),(function(e){return e.left}),(function(e){return e.right}),(function(e){return"rgba(".concat(e.theme.textRgba,",0.1)")})),fb=function(e){return(0,Kc.jsx)(db,{top:e.top,left:e.left,right:e.right,children:e.text})},hb=n.p+"static/media/spaceman.5ec7fcfa9a803ead726c.png",pb=gn.div(Eg||(Eg=Zn(["\nbackground-color: ",";\nwidth: 100vw;\nheight:100vh;\nposition: relative;\noverflow: hidden;\n"])),(function(e){return e.theme.body})),vb=mn(_g||(_g=Zn(["\n0% { transform: translateY(-10px) }\n50% { transform: translateY(15px) translateX(15px) }\n100% { transform: translateY(-10px) }\n\n"]))),yb=gn.div(Pg||(Pg=Zn(["\nposition: absolute;\ntop: 10%;\nright: 5%;\nwidth: 20vw;\nanimation: "," 4s ease infinite;\nimg{\n width: 100%;\n height: auto;\n}\n"])),vb),mb=gn.div(zg||(zg=Zn(["\n border: 2px solid ",";\n color: ",";\n padding: 2rem;\n width: 50vw;\n height: 60vh;\n z-index: 3;\n line-height: 1.5;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: calc(0.6rem + 1vw);\n backdrop-filter: blur(4px);\n \n position: absolute;\n left: calc(5rem + 5vw);\n top: 10rem;\n font-family: 'Ubuntu Mono', monospace;\n font-style: italic;\n"])),(function(e){return e.theme.text}),(function(e){return e.theme.text})),gb=function(){return(0,Kc.jsx)(fn,{theme:kn,children:(0,Kc.jsxs)(pb,{children:[(0,Kc.jsx)(Xc,{theme:"dark"}),(0,Kc.jsx)(cd,{theme:"dark"}),(0,Kc.jsx)(sd,{}),(0,Kc.jsx)(cb,{theme:"dark"}),(0,Kc.jsx)(yb,{children:(0,Kc.jsx)("img",{src:hb,alt:"spaceman"})}),(0,Kc.jsxs)(mb,{children:["I'm a DevSecOps Engineer in Thailand. I love to learn and explore any opensource can help me or organize great opertation.",(0,Kc.jsx)("br",{})," ",(0,Kc.jsx)("br",{}),"I have extensive experience in designing and implementing secure CI/CD pipelines using tools like Jenkins and GitLab CI/CD. My expertise in Kubernetes and container security has enabled me to build highly resilient and scalable applications. I'm particularly interested in exploring how we can leverage machine learning to improve our threat detection capabilities.",(0,Kc.jsx)("br",{})," ",(0,Kc.jsx)("br",{}),"I'm interested in the whole opensource Like trying new things and building great solution for optimize projects. I'm an outsource and find more freelance job. I love to read manga and play MOBA sometime."]}),(0,Kc.jsx)(fb,{text:"ABOUT",top:"10%",left:"5%"})]})})},bb=n.p+"static/media/patrick-tomasso-Oaqk7qqNh_c-unsplash.8ca90014fb6ce5980110.jpg",kb=[{id:1,name:"Build Website with ReactJS, Styled-components and GSAP for Scrolling Animations",tags:["react","gsap","styled-components"],date:"13 May, 2021",imgSrc:"https://res.cloudinary.com/practicaldev/image/fetch/s--sBeV06Xc--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2yrzy75q4dzibqz6rf82.png",link:"https://dev.to/codebucks/build-website-with-reactjs-styled-components-and-gsap-for-scrolling-animations-2f10"},{id:2,name:"How to create React Hamburger Menu using Styled-Components",tags:["react","styled-components"],date:"5 July, 2021",imgSrc:"https://codebucks.hashnode.dev/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1625479747640%2F7KzwP9nmj.png%3Fw%3D1600%26h%3D840%26fit%3Dcrop%26crop%3Dentropy%26auto%3Dcompress%2Cformat%26format%3Dwebp&w=1920&q=75",link:"https://codebucks.hashnode.dev/react-hamburger-menu"},{id:3,name:"React Loading Screen: Try these 3 cool loading screens for your app",tags:["react","react-lottie","styled-components"],date:"6 July, 2021",imgSrc:"https://codebucks.hashnode.dev/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1625552344293%2Fegwis0UIX.png%3Fw%3D1600%26h%3D840%26fit%3Dcrop%26crop%3Dentropy%26auto%3Dcompress%2Cformat%26format%3Dwebp&w=1920&q=75",link:"https://codebucks.hashnode.dev/react-loading-screens"},{id:4,name:"How to build a Fabulous Todo App using React, Redux and Framer-Motion",tags:["react","redux","framer-motion"],date:"26 May, 2021",imgSrc:"https://res.cloudinary.com/practicaldev/image/fetch/s--r5oUDhhT--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/036s7j5b73up7455rdth.png",link:"https://dev.to/codebucks/build-redux-react-todo-list-app-with-animations-using-framer-motion-1mp1"},{id:5,name:"What is Higher Order Component (HOC) in React JS?",tags:["react","reactJS","web-development"],date:"3 Feb, 2021",imgSrc:"https://codebucks.hashnode.dev/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1625295480148%2FlyKj8bpHK.jpeg%3Fw%3D1600%26h%3D840%26fit%3Dcrop%26crop%3Dentropy%26auto%3Dcompress%2Cformat%26format%3Dwebp&w=1920&q=75",link:"https://codebucks.hashnode.dev/what-is-higher-order-component"},{id:6,name:"How to implement Pagination Component in React from scratch",tags:["react","css"],date:"5 Jan, 2021",imgSrc:"https://codebucks.hashnode.dev/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1625240050668%2FGAya9b0XK.png%3Fw%3D1600%26h%3D840%26fit%3Dcrop%26crop%3Dentropy%26auto%3Dcompress%2Cformat%26format%3Dwebp&w=1920&q=75",link:"https://codebucks.hashnode.dev/pagination-in-react"},{id:7,name:"What is Redux ? Simply Explained!",tags:["react","redux","javascript"],date:"16 May, 2021",imgSrc:"https://res.cloudinary.com/practicaldev/image/fetch/s--ZY1EK-Eo--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bcz1u90oq3prr5fga3fs.png",link:"https://dev.to/codebucks/what-is-redux-simply-explained-2ch7"},{id:8,name:"How to create Sidebar navigation menu in ReactJS with react router and framer-motion",tags:["react","framer-motion","styled-components"],date:"26 May, 2021",imgSrc:"https://res.cloudinary.com/practicaldev/image/fetch/s--rv4I8UwE--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0a9h50milhlf1us6mn4a.png",link:"https://dev.to/codebucks/build-sidebar-navigation-menu-in-reactjs-with-react-router-and-framer-motion-for-cool-page-transition-effects-4bc3"}],wb=gn(bc.a)(Og||(Og=Zn(["\n width: calc(10rem + 15vw);\n text-decoration: none;\n height: 20rem;\n padding: 1rem;\n color: ",";\n border: 2px solid ",";\n backdrop-filter: blur(2px);\n box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.2);\n cursor: pointer;\n\n display: flex;\n flex-direction: column;\n z-index: 5;\n\n &:hover {\n color: ",";\n background-color: ",";\n transition: all 0.3s ease;\n }\n"])),(function(e){return e.theme.text}),(function(e){return e.theme.text}),(function(e){return e.theme.body}),(function(e){return e.theme.text})),xb=gn.div(Tg||(Tg=Zn(["\n background-image: ",";\n width: 100%;\n height: 60%;\n background-size: cover;\n border: 1px solid transparent;\n background-position: center center;\n\n ",":hover & {\n border: 1px solid ",";\n }\n"])),(function(e){return"url(".concat(e.img,")")}),wb,(function(e){return e.theme.body})),Sb=gn.h3(Mg||(Mg=Zn(['\n color: inherit;\n padding: 0.5rem 0;\n padding-top: 1rem;\n font-family: "Karla", sans-serif;\n font-weight: 700;\n border-bottom: 1px solid ',";\n\n ",":hover & {\n border-bottom: 1px solid ",";\n }\n"])),(function(e){return e.theme.text}),wb,(function(e){return e.theme.body})),Cb=gn.div(Rg||(Rg=Zn(["\n padding: 0.5rem 0;\n"]))),Eb=gn.span(Ag||(Ag=Zn(["\n padding-right: 0.5rem;\n"]))),_b=gn.span(Dg||(Dg=Zn(["\n padding: 0.5rem 0;\n"]))),Pb=gn(bc.div)(Lg||(Lg=Zn([""]))),zb={hidden:{scale:0},show:{scale:1,transition:{type:"spring",duration:.5}}},Ob=function(e){var t=e.experimentation,n=t.name,i=t.tags,r=t.date,a=t.imgSrc,o=t.link;return(0,Kc.jsx)(Pb,{variants:zb,children:(0,Kc.jsxs)(wb,{target:"_blank",href:"".concat(o),children:[(0,Kc.jsx)(xb,{img:a}),(0,Kc.jsx)(Sb,{children:n}),(0,Kc.jsx)(Cb,{children:i.map((function(e,t){return(0,Kc.jsxs)(Eb,{children:["#",e]},t)}))}),(0,Kc.jsx)(_b,{children:r})]})})},Tb=gn.div(jg||(jg=Zn(["\nposition: relative;\n"]))),Mb=gn.div(Ig||(Ig=Zn(["\nposition: fixed;\ntop: 0;\nright: 2rem;\ndisplay: flex;\njustify-content: center;\nalign-items: center;\nflex-direction: column;\ntransform: translateY(-100%);\n\n.chain{\ntransform: rotate(135deg);\n\n}\n\n"]))),Rb=gn.div(Fg||(Fg=Zn(["\nposition: absolute;\ntop:0;\nright: 2rem;\n"]))),Ab=function(e){var n=(0,t.useRef)(null),i=(0,t.useRef)(null);return(0,t.useEffect)((function(){var e=function(){var e=window.pageYOffset,t=window.innerHeight,r=document.body.offsetHeight,a=100*Math.max(r-(e+t))/(r-t);n.current.style.transform="translateY(".concat(-a,"%)"),window.pageYOffset>5?i.current.style.display="none":i.current.style.display="block"};return window.addEventListener("scroll",e),function(){return window.removeEventListener("scroll",e)}}),[]),(0,Kc.jsxs)(Tb,{children:[(0,Kc.jsx)(Rb,{ref:i,className:"hidden",children:(0,Kc.jsx)(id,{width:70,height:70,fill:"currentColor"})}),(0,Kc.jsxs)(Mb,{ref:n,children:[s(Array(e.number)).map((function(e,t){return(0,Kc.jsx)(rd,{width:25,height:25,fill:"currentColor",className:"chain"},t)})),(0,Kc.jsx)(id,{width:70,height:70,fill:"currentColor"})]})]})},Db=gn(bc.div)(Ng||(Ng=Zn(["\nbackground-image: url(",");\nbackground-size: cover;\nbackground-repeat: no-repeat;\nbackground-attachment: fixed;\nbackground-position: center;\n"])),bb),Lb=gn.div(Vg||(Vg=Zn(["\nbackground-color: ",";\nwidth: 100%;\nheight:auto;\n\nposition: relative;\npadding-bottom: 5rem;\n"])),(function(e){return"rgba(".concat(e.theme.bodyRgba,",0.8)")})),jb=gn.div(Bg||(Bg=Zn(["\ndisplay: flex;\njustify-content: center;\nalign-items: center;\npadding-top: 10rem;\n"]))),Ib=gn.div(Ug||(Ug=Zn(["\ndisplay: grid;\ngrid-template-columns: repeat(2, minmax(calc(10rem + 15vw), 1fr));\ngrid-gap: calc(1rem + 2vw);\n"]))),Fb={hidden:{opacity:0},show:{opacity:1,transition:{staggerChildren:.5,duration:.5}}},Nb=function(){var e=w((0,t.useState)(0),2),n=e[0],i=e[1];return(0,t.useEffect)((function(){var e=(window.innerHeight-70)/30;i(parseInt(e))}),[]),(0,Kc.jsx)(Db,{variants:Fb,initial:"hidden",animate:"show",exit:{opacity:0,transition:{duration:.5}},children:(0,Kc.jsxs)(Lb,{children:[(0,Kc.jsx)(Xc,{}),(0,Kc.jsx)(sd,{}),(0,Kc.jsx)(cd,{}),(0,Kc.jsx)(Ab,{number:n}),(0,Kc.jsx)(jb,{children:(0,Kc.jsx)(Ib,{children:kb.map((function(e){return(0,Kc.jsx)(Ob,{experimentation:e},e.id)}))})}),(0,Kc.jsx)(fb,{text:"EXPERIMENTATION",top:"5rem",left:"5rem"})]})})},Vb=[{id:1,name:"DevOps Engineer",subname:"#AzureComputer",description:"Build and configure delivery environments supporting CD/CI tools using an Agile delivery methodology.",tags:["k8s","docker","rancher","harbor","jenkins","monitoring","bash script","sonarqube","elk"],demo:"https://klxhub.com/",github:"https://git.klxhub.com"},{id:2,name:"DevSecOps Engineer",subname:"#Conicle",description:"Ensure compliance with operational risk standard ( Network,Firewall,Logging,Monitoring ).",tags:["k8s","docker","racher","aws","digitalocean","argocd","fail2ban","iptables","freeipa","openvpn","vault","kustomize","helm","ansible","terraform","openvpn","elk","cloudflare","linux"],demo:"https://klxhub.com/",github:"https://git.klxhub.com"},{id:3,name:"Engineer",subname:"#Jasmin 3BB",description:"Monitor,maintenance and install physical server in datacenter.",tags:["html","js","php","radius","pfsense","cacti","datacenter","linux","oracle","iptables","esxi","proxmox","f5","k3d","swarm"],demo:"https://klxhub.com/",github:"https://git.klxhub.com"},{id:4,name:"FullStack Developer",subname:"#Ibusiness Co.,Ltd.",description:"Design and implement project base.",tags:["html","css","js","jquery","php","laravel","iis"],demo:"https://klxhub.com/",github:"https://git.klxhub.com"},{id:5,name:"Backend Developer",subname:"#BRN Enterprise",description:"Design and implement golf platform system product base.",tags:["nginx","pm2","gcp","expressjs","cloudflare"],demo:"https://klxhub.com/",github:"https://git.klxhub.com"}],Bb=gn(bc.li)(Hg||(Hg=Zn(["\nwidth: 16rem;\nheight: 40vh;\nbackground-color: ",";\ncolor:",";\npadding: 1.5rem 2rem;\nmargin-right: 8rem;\nborder-radius: 0 50px 0 50px;\ndisplay: flex;\nflex-direction: column;\njustify-content: space-between;\nborder: 1px solid ",";\ntransition: all 0.2s ease;\n\n&:hover{\nbackground-color: ",";\ncolor:",";\nborder: 1px solid ",";\n\n}\n"])),(function(e){return e.theme.text}),(function(e){return e.theme.body}),(function(e){return e.theme.body}),(function(e){return e.theme.body}),(function(e){return e.theme.text}),(function(e){return e.theme.text})),Ub=gn.div(Wg||(Wg=Zn([""]))),Hb=gn.h2(qg||(qg=Zn(["\nfont-size: calc(1em + 0.5vw);\n"]))),Wb=gn.h4($g||($g=Zn(["\n"]))),qb=gn.h2(Yg||(Yg=Zn(["\nfont-size: calc(0.8em + 0.3vw);\nfont-family: 'Karla',sans-serif;\nfont-weight: 500;\n"]))),$b=gn.div(Kg||(Kg=Zn(["\nborder-top: 2px solid ",";\npadding-top: 0.5rem;\ndisplay:flex;\nflex-wrap:wrap;\n",":hover &{\nborder-top: 2px solid ",";\n}\n"])),(function(e){return e.theme.body}),Bb,(function(e){return e.theme.text})),Yb=gn.span(Gg||(Gg=Zn(["\nmargin-right:1rem;\nfont-size:calc(0.8em + 0.3vw);\n"]))),Kb=gn.footer(Xg||(Xg=Zn(["\ndisplay: flex;\njustify-content: space-between;\n"]))),Gb=gn.a(Qg||(Qg=Zn(["\nbackground-color: ",";\ncolor: ",";\ntext-decoration: none;\npadding:0.5rem calc(2rem + 2vw);\nborder-radius: 0 0 0 50px;\nfont-size:calc(1em + 0.5vw);\n\n",":hover &{\n background-color: ",";\n color: ",";\n\n}\n"])),(function(e){return e.theme.body}),(function(e){return e.theme.text}),Bb,(function(e){return e.theme.text}),(function(e){return e.theme.body})),Xb=gn.a(Jg||(Jg=Zn(["\ncolor: inherit;\ntext-decoration: none;\n",":hover &{\n &>*{\n fill:",";\n }\n}\n\n"])),Bb,(function(e){return e.theme.text})),Qb={hidden:{scale:0},show:{scale:1,transition:{type:"spring",duration:.5}}},Jb=function(e){var t=e.data,n=t.id,i=t.name,r=t.subname,a=t.description,o=t.tags,s=t.demo,l=t.github;return(0,Kc.jsxs)(Bb,{variants:Qb,children:[(0,Kc.jsxs)(Ub,{children:[(0,Kc.jsx)(Hb,{children:i}),(0,Kc.jsx)(Wb,{children:r})]}),(0,Kc.jsx)(qb,{children:a}),(0,Kc.jsx)($b,{children:o.map((function(e,t){return(0,Kc.jsxs)(Yb,{children:["#",e]},t)}))}),(0,Kc.jsxs)(Kb,{children:[(0,Kc.jsx)(Gb,{href:s,target:"_blank",children:"Visit"}),(0,Kc.jsx)(Xb,{href:l,target:"_blank",children:(0,Kc.jsx)(Jc,{width:30,height:30})})]})]},n)},Zb=gn.div(Zg||(Zg=Zn(["\n background-color: ",";\n\n height: 400vh;\n position: relative;\n display: flex;\n align-items: center;\n"])),(function(e){return e.theme.body})),ek=gn(bc.ul)(eb||(eb=Zn(["\n position: fixed;\n top: 12rem;\n left: calc(1rem + 15vw);\n height: 40vh;\n display: flex;\n\n color: white;\n"]))),tk=gn.span(tb||(tb=Zn(["\n display: block;\n position: fixed;\n right: 1rem;\n bottom: 1rem;\n width: 80px;\n height: 80px;\n z-index: 1;\n"]))),nk={hidden:{opacity:0},show:{opacity:1,transition:{staggerChildren:.5,duration:.5}}},ik=function(){var e=(0,t.useRef)(null),n=(0,t.useRef)(null);return(0,t.useEffect)((function(){var t=e.current,i=function(){return t.style.transform="translateX(".concat(-window.pageYOffset,"px)"),n.current.style.transform="rotate("+-window.pageYOffset+"deg)"};return window.addEventListener("scroll",i),function(){window.removeEventListener("scroll",i)}}),[]),(0,Kc.jsx)(fn,{theme:kn,children:(0,Kc.jsxs)(Zb,{children:[(0,Kc.jsx)(Xc,{theme:"dark"}),(0,Kc.jsx)(cd,{theme:"dark"}),(0,Kc.jsx)(sd,{}),(0,Kc.jsx)(ek,{ref:e,variants:nk,initial:"hidden",animate:"show",children:Vb.map((function(e){return(0,Kc.jsx)(Jb,{data:e},e.id)}))}),(0,Kc.jsx)(tk,{ref:n,children:(0,Kc.jsx)(nd,{width:80,height:80,fill:kn.text})}),(0,Kc.jsx)(fb,{text:"WORK",top:"10%",right:"20%"})]})})},rk=gn.div(nb||(nb=Zn(["\nbackground-color: ",";\nwidth: 100vw;\nheight:100vh;\nposition: relative;\ndisplay: flex;\njustify-content: space-evenly;\nalign-items: center;\n\n\n"])),(function(e){return e.theme.body})),ak=gn.div(ib||(ib=Zn(["\nborder: 2px solid ",";\ncolor: ",";\nbackground-color: ",";\npadding: 2rem;\nwidth: 30vw;\nheight: 60vh;\nz-index:3;\nline-height: 1.5;\ncursor: pointer;\n\nfont-family: 'Ubuntu Mono',monospace;\ndisplay: flex;\nflex-direction: column;\njustify-content: space-between;\n\n&:hover{\n color: ",";\n background-color: ",";\n}\n"])),(function(e){return e.theme.text}),(function(e){return e.theme.text}),(function(e){return e.theme.body}),(function(e){return e.theme.body}),(function(e){return e.theme.text})),ok=gn.h2(rb||(rb=Zn(["\ndisplay: flex;\njustify-content: center;\nalign-items: center;\nfont-size: calc(1em + 1vw);\n\n",":hover &{\n &>*{\n fill:",";\n }\n}\n\n&>*:first-child{\nmargin-right: 1rem;\n}\n"])),ak,(function(e){return e.theme.body})),sk=gn.div(ab||(ab=Zn(["\ncolor: ",";\nfont-size: calc(0.6em + 1vw);\npadding: 0.5rem 0;\n\n\n",":hover &{\n \n color:",";\n \n}\n\nstrong{\n margin-bottom: 1rem;\n text-transform: uppercase;\n}\nul,p{\n margin-left: 2rem;\n}\n"])),(function(e){return e.theme.text}),ak,(function(e){return e.theme.body})),lk=function(){return(0,Kc.jsx)(fn,{theme:bn,children:(0,Kc.jsxs)(rk,{children:[(0,Kc.jsx)(Xc,{theme:"light"}),(0,Kc.jsx)(cd,{theme:"light"}),(0,Kc.jsx)(sd,{}),(0,Kc.jsx)(cb,{theme:"light"}),(0,Kc.jsxs)(ak,{children:[(0,Kc.jsxs)(ok,{children:[(0,Kc.jsx)(ad,{width:40,height:40})," DevSecOps"]}),(0,Kc.jsx)(sk,{children:"Responsible for automating security testing and vulnerability scanning."}),(0,Kc.jsxs)(sk,{children:[(0,Kc.jsx)("strong",{children:"Skills"}),(0,Kc.jsx)("p",{children:"K8s, Docker, Bash, CICD, Iptables, Git, LDAP, Radius, Monitoring, Observability, Security, Network, Loadbalancer, Cloudflare"})]}),(0,Kc.jsxs)(sk,{children:[(0,Kc.jsx)("strong",{children:"Tools"}),(0,Kc.jsx)("p",{children:"K3s, Kustomize/Helm, AWS, GCP, DO, Nginx, Apache, IIS, Treafik, Kong, Openresty, ELK, Filebeat, Terraform, Ansible, Rancher, ESXI, Proxmox, Fail2ban, DroneCI, JenkinsCI, RabbitMQ, Pihole, FreeIPA, PFsense, Vaultwarden, Hashicorp Vault, Mailcow, OpenVPN Server, ArgoCD, Sentry, Grafana/Prometheus, Istio, Harbor, Kuma Monitor, N8N, Sonarqube"})]})]}),(0,Kc.jsxs)(ak,{children:[(0,Kc.jsxs)(ok,{children:[(0,Kc.jsx)(ad,{width:40,height:40})," Fullstack Developer"]}),(0,Kc.jsx)(sk,{children:"I value business or brand for which i'm creating, thus i enjoy bringing new ideas to life."}),(0,Kc.jsxs)(sk,{children:[(0,Kc.jsx)("strong",{children:"Skills"}),(0,Kc.jsx)("p",{children:"Html, Css, Js, Bootstrap, ExpressJS, Jquery, Php, Laravel, S3, Database etc."})]}),(0,Kc.jsxs)(sk,{children:[(0,Kc.jsx)("strong",{children:"Tools"}),(0,Kc.jsx)("p",{children:"VScode, Github, Gitlab, Gitea, Bitbucket, MySQL, MariaDB, PostgreSQL, MSSQL, MongoDB, Redis etc."})]})]}),(0,Kc.jsx)(fb,{text:"SKILLS",top:"80%",right:"30%"})]})})},uk=n.p+"static/media/u-said-it-v13-1167.becd66496be9c81ddf9d.mp3",ck=gn.div(ob||(ob=Zn(["\ndisplay:flex;\ncursor:pointer;\nposition:fixed;\nleft:8rem;\ntop:3rem;\nz-index:10;\n\n&>*:nth-child(1){\n animation-delay: 0.2s;\n}\n&>*:nth-child(2){\n animation-delay: 0.3s;\n}\n&>*:nth-child(3){\n animation-delay: 0.4s;\n}\n&>*:nth-child(4){\n animation-delay: 0.5s;\n}\n&>*:nth-child(5){\n animation-delay: 0.8s;\n}\n"]))),dk=mn(sb||(sb=Zn(["\n0%{\n transform:scaleY(1);\n}\n50%{\n transform:scaleY(2);\n}\n100%{\n transform:scaleY(1);\n}\n"]))),fk=gn.span(lb||(lb=Zn(["\nbackground: ",";\nborder: 1px solid ",";\n\nanimation:"," 1s ease infinite;\nanimation-play-state: ",";\nheight: 1rem;\nwidth: 2px;\nmargin:0 0.1rem\n"])),(function(e){return e.theme.text}),(function(e){return e.theme.body}),dk,(function(e){return e.click?"running":"paused"})),hk=function(){var e=(0,t.useRef)(null),n=w((0,t.useState)(!1),2),i=n[0],r=n[1];return(0,Kc.jsxs)(ck,{onClick:function(){return r(!i),void(i?e.current.pause():e.current.play())},children:[(0,Kc.jsx)(fk,{click:i}),(0,Kc.jsx)(fk,{click:i}),(0,Kc.jsx)(fk,{click:i}),(0,Kc.jsx)(fk,{click:i}),(0,Kc.jsx)(fk,{click:i}),(0,Kc.jsx)("audio",{src:uk,ref:e,loop:!0})]})};var pk=function(){var e=xe();return(0,Kc.jsxs)(Kc.Fragment,{children:[(0,Kc.jsx)(ti,{}),(0,Kc.jsxs)(fn,{theme:bn,children:[(0,Kc.jsx)(hk,{}),(0,Kc.jsx)(Jn,{mode:"wait",children:(0,Kc.jsxs)(je,{location:e,children:[(0,Kc.jsx)(De,{path:"/",element:(0,Kc.jsx)(Pd,{})}),(0,Kc.jsx)(De,{path:"/about",element:(0,Kc.jsx)(gb,{})}),(0,Kc.jsx)(De,{path:"/experimentation",element:(0,Kc.jsx)(Nb,{})}),(0,Kc.jsx)(De,{path:"/work",element:(0,Kc.jsx)(ik,{})}),(0,Kc.jsx)(De,{path:"/skills",element:(0,Kc.jsx)(lk,{})}),(0,Kc.jsx)(De,{path:"*",element:(0,Kc.jsx)(Pd,{})})]},e.pathname)})]})]})},vk=n(250),yk=document.getElementById("root");(0,vk.s)(yk).render((0,Kc.jsx)(Cc,{children:(0,Kc.jsx)(pk,{})}))}()}();
//# sourceMappingURL=main.3e4ff154.js.map